UNPKG

@kenniy/godeye-event-contracts

Version:

Shared event schemas and stream definitions for 8Medical microservices architecture

33 lines 1.94 kB
export * from './registration'; export { RegistrationEvents } from './registration'; export declare const UserServiceEvents: { readonly CUSTOMER_REGISTERED: "user.customer.registered"; readonly BUSINESS_REGISTERED: "user.business.registered"; readonly ADMIN_CREATED: "user.admin.created"; readonly AGENT_INVITED: "user.agent.invited"; readonly AGENT_ACCEPTED: "user.agent.accepted"; readonly AGENT_REJECTED: "user.agent.rejected"; readonly AGENT_ACTIVATED: "user.agent.activated"; readonly CUSTOMER_LOGGED_IN: "user.customer.logged_in"; readonly CUSTOMER_LOGGED_OUT: "user.customer.logged_out"; readonly BUSINESS_LOGGED_IN: "user.business.logged_in"; readonly BUSINESS_LOGGED_OUT: "user.business.logged_out"; readonly ADMIN_LOGGED_IN: "user.admin.logged_in"; readonly ADMIN_LOGGED_OUT: "user.admin.logged_out"; readonly PASSWORD_RESET_REQUESTED: "user.password.reset_requested"; readonly PASSWORD_CHANGED: "user.password.changed"; readonly EMAIL_VERIFIED: "user.email.verified"; readonly PHONE_VERIFIED: "user.phone.verified"; readonly BUSINESS_VERIFIED: "user.business.verified"; readonly BUSINESS_REJECTED: "user.business.rejected"; readonly BUSINESS_VERIFICATION: "user.business.verification"; readonly BUSINESS_VERIFICATION_APPROVED_INTERNAL: "business.verification.approved"; readonly BUSINESS_VERIFICATION_REJECTED_INTERNAL: "business.verification.rejected"; readonly BUSINESS_DOCUMENTS_SUBMITTED_INTERNAL: "business.documents.submitted"; readonly PROFILE_UPDATED: "user.profile.updated"; readonly PREFERENCES_UPDATED: "user.preferences.updated"; readonly HOSPITAL_READY_FOR_APPROVAL: "user.hospital.ready_for_approval"; readonly HOSPITAL_APPROVAL_DECISION: "user.hospital.approval_decision"; }; export type UserServiceEventType = typeof UserServiceEvents[keyof typeof UserServiceEvents]; //# sourceMappingURL=index.d.ts.map