Перейти к основному содержимому

hrUserAccountEvents

@mineflow/contracts


@mineflow/contracts / hrUserAccountEvents

Variable: hrUserAccountEvents

const hrUserAccountEvents: object;

Defined in: events/hr/user-account.ts:119

Записи каталога HR/User-accounts: имя события → { version, schema }.

Type Declaration

NameTypeDefault valueDefined in
hr.user-account.createdobject-events/hr/user-account.ts:120
hr.user-account.created.schemaZodObject<{ actorId: ZodUUID; login: ZodString; objectId: ZodNullable<ZodUUID>; personnelId: ZodUUID; systemRoleCodes: ZodArray<ZodString>; systemRoleIds: ZodArray<ZodUUID>; userAccountId: ZodUUID; }, $strip>userAccountCreatedDataSchemaevents/hr/user-account.ts:120
hr.user-account.created.version"1.0"'1.0'events/hr/user-account.ts:120
hr.user-account.deactivatedobject-events/hr/user-account.ts:121
hr.user-account.deactivated.schemaZodObject<{ actorId: ZodUUID; deactivatedAt: ZodISODateTime; keycloakSubject: ZodNullable<ZodString>; login: ZodString; personnelId: ZodUUID; reason: ZodString; systemRoleCodes: ZodArray<ZodString>; triggerSource: ZodEnum<{ manual: "manual"; personnel_terminated: "personnel_terminated"; }>; userAccountId: ZodUUID; }, $strip>userAccountDeactivatedDataSchemaevents/hr/user-account.ts:121
hr.user-account.deactivated.version"1.0"'1.0'events/hr/user-account.ts:121
hr.user-account.lockedobject-events/hr/user-account.ts:122
hr.user-account.locked.schemaZodObject<{ actorId: ZodUUID; lockedUntil: ZodNullable<ZodISODateTime>; reason: ZodString; triggerSource: ZodEnum<{ auto_failed_attempts: "auto_failed_attempts"; manual: "manual"; }>; userAccountId: ZodUUID; }, $strip>userAccountLockedDataSchemaevents/hr/user-account.ts:122
hr.user-account.locked.version"1.0"'1.0'events/hr/user-account.ts:122
hr.user-account.password-reset-issuedobject-events/hr/user-account.ts:125
hr.user-account.password-reset-issued.schemaZodObject<{ actorId: ZodUUID; deliveryChannel: ZodEnum<{ admin_display: "admin_display"; email: "email"; sms: "sms"; }>; expiresAt: ZodISODateTime; userAccountId: ZodUUID; }, $strip>userAccountPasswordResetIssuedDataSchemaevents/hr/user-account.ts:127
hr.user-account.password-reset-issued.version"1.0"'1.0'events/hr/user-account.ts:126
hr.user-account.roles-changedobject-events/hr/user-account.ts:124
hr.user-account.roles-changed.schemaZodObject<{ actorId: ZodUUID; addedRoleCodes: ZodArray<ZodString>; newRoleCodes: ZodArray<ZodString>; newRoleIds: ZodArray<ZodUUID>; oldRoleCodes: ZodArray<ZodString>; oldRoleIds: ZodArray<ZodUUID>; personnelId: ZodUUID; reason: ZodString; removedRoleCodes: ZodArray<ZodString>; userAccountId: ZodUUID; }, $strip>userAccountRolesChangedDataSchemaevents/hr/user-account.ts:124
hr.user-account.roles-changed.version"1.0"'1.0'events/hr/user-account.ts:124
hr.user-account.unlockedobject-events/hr/user-account.ts:123
hr.user-account.unlocked.schemaZodObject<{ actorId: ZodUUID; triggerSource: ZodEnum<{ auto_locked_until_passed: "auto_locked_until_passed"; manual: "manual"; }>; userAccountId: ZodUUID; }, $strip>userAccountUnlockedDataSchemaevents/hr/user-account.ts:123
hr.user-account.unlocked.version"1.0"'1.0'events/hr/user-account.ts:123