hrUserAccountEvents
@mineflow/contracts / hrUserAccountEvents
Variable: hrUserAccountEvents
const hrUserAccountEvents: object;
Defined in: events/hr/user-account.ts:119
Записи каталога HR/User-accounts: имя события → { version, schema }.
Type Declaration
| Name | Type | Default value | Defined in |
|---|---|---|---|
hr.user-account.created | object | - | events/hr/user-account.ts:120 |
hr.user-account.created.schema | ZodObject<{ actorId: ZodUUID; login: ZodString; objectId: ZodNullable<ZodUUID>; personnelId: ZodUUID; systemRoleCodes: ZodArray<ZodString>; systemRoleIds: ZodArray<ZodUUID>; userAccountId: ZodUUID; }, $strip> | userAccountCreatedDataSchema | events/hr/user-account.ts:120 |
hr.user-account.created.version | "1.0" | '1.0' | events/hr/user-account.ts:120 |
hr.user-account.deactivated | object | - | events/hr/user-account.ts:121 |
hr.user-account.deactivated.schema | ZodObject<{ 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> | userAccountDeactivatedDataSchema | events/hr/user-account.ts:121 |
hr.user-account.deactivated.version | "1.0" | '1.0' | events/hr/user-account.ts:121 |
hr.user-account.locked | object | - | events/hr/user-account.ts:122 |
hr.user-account.locked.schema | ZodObject<{ actorId: ZodUUID; lockedUntil: ZodNullable<ZodISODateTime>; reason: ZodString; triggerSource: ZodEnum<{ auto_failed_attempts: "auto_failed_attempts"; manual: "manual"; }>; userAccountId: ZodUUID; }, $strip> | userAccountLockedDataSchema | events/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-issued | object | - | events/hr/user-account.ts:125 |
hr.user-account.password-reset-issued.schema | ZodObject<{ actorId: ZodUUID; deliveryChannel: ZodEnum<{ admin_display: "admin_display"; email: "email"; sms: "sms"; }>; expiresAt: ZodISODateTime; userAccountId: ZodUUID; }, $strip> | userAccountPasswordResetIssuedDataSchema | events/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-changed | object | - | events/hr/user-account.ts:124 |
hr.user-account.roles-changed.schema | ZodObject<{ 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> | userAccountRolesChangedDataSchema | events/hr/user-account.ts:124 |
hr.user-account.roles-changed.version | "1.0" | '1.0' | events/hr/user-account.ts:124 |
hr.user-account.unlocked | object | - | events/hr/user-account.ts:123 |
hr.user-account.unlocked.schema | ZodObject<{ actorId: ZodUUID; triggerSource: ZodEnum<{ auto_locked_until_passed: "auto_locked_until_passed"; manual: "manual"; }>; userAccountId: ZodUUID; }, $strip> | userAccountUnlockedDataSchema | events/hr/user-account.ts:123 |
hr.user-account.unlocked.version | "1.0" | '1.0' | events/hr/user-account.ts:123 |