File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 4949from workos .types .user_management .password_reset import PasswordResetCommon
5050
5151
52+ # README
53+ # When adding a new event type, ensure the new event class is
54+ # added to the Event union type at the bottom of this file, and
55+ # the event name is added to the EventType union type in event_type.py.
56+
57+
5258class AuthenticationEmailVerificationSucceededEvent (
5359 EventModel [AuthenticationEmailVerificationSucceededPayload ,]
5460):
@@ -264,6 +270,9 @@ class UserUpdatedEvent(EventModel[User]):
264270 OrganizationUpdatedEvent ,
265271 OrganizationDomainVerificationFailedEvent ,
266272 OrganizationDomainVerifiedEvent ,
273+ OrganizationMembershipCreatedEvent ,
274+ OrganizationMembershipDeletedEvent ,
275+ OrganizationMembershipUpdatedEvent ,
267276 PasswordResetCreatedEvent ,
268277 RoleCreatedEvent ,
269278 RoleDeletedEvent ,
Original file line number Diff line number Diff line change 11from typing import Literal , TypeVar
22
3+ # README
4+ # When adding a new event type, ensure a new event class is created
5+ # and added to the Event class union type in event.py.
36
47EventType = Literal [
58 "authentication.email_verification_succeeded" ,
You can’t perform that action at this time.
0 commit comments