* refactor: get event types * chore * test: add team and managed team event types * perf: use Promise.all * fix: type err