hrUserAccountEvents
@mineflow/contracts / hrUserAccountEvents
Variable: hrUserAccountEvents
const hrUserAccountEvents: object;
Defined in: events/hr/user-account.ts:177
Записи каталога HR/User-accounts: имя события → { version, schema }.
Type Declaration
| Name | Type | Default value | Defined in |
|---|---|---|---|
hr.user-account.created | object | - | events/hr/user-account.ts:178 |
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:178 |
hr.user-account.created.version | "1.0" | '1.0' | events/hr/user-account.ts:178 |
hr.user-account.deactivated | object | - | events/hr/user-account.ts:179 |
hr.user-account.deactivated.schema | ZodObject<{ actorId: ZodUUID; deactivatedAt: ZodISODateTime; keycloakSubject: ZodNullable<ZodString>; login: ZodString; personnelId: ZodUUID; reason: ZodString; systemRoleCodes: ZodArray<ZodString>; triggerSource: ZodEnum<{ directory_disabled: "directory_disabled"; manual: "manual"; personnel_terminated: "personnel_terminated"; }>; userAccountId: ZodUUID; }, $strip> | userAccountDeactivatedDataSchema | events/hr/user-account.ts:179 |
hr.user-account.deactivated.version | "1.0" | '1.0' | events/hr/user-account.ts:179 |
hr.user-account.iam-provisioning-requested | object | - | events/hr/user-account.ts:192 |
hr.user-account.iam-provisioning-requested.schema | ZodObject<{ actorId: ZodUUID; login: ZodString; personnelId: ZodUUID; userAccountId: ZodUUID; }, $strip> | userAccountIamProvisioningRequestedDataSchema | events/hr/user-account.ts:194 |
hr.user-account.iam-provisioning-requested.version | "1.0" | '1.0' | events/hr/user-account.ts:193 |
hr.user-account.identity-linked | object | - | events/hr/user-account.ts:180 |
hr.user-account.identity-linked.schema | ZodObject<{ actorId: ZodUUID; directoryUid: ZodString; keycloakSubject: ZodString; personnelId: ZodUUID; userAccountId: ZodUUID; }, $strip> | userAccountIdentityLinkedDataSchema | events/hr/user-account.ts:182 |
hr.user-account.identity-linked.version | "1.0" | '1.0' | events/hr/user-account.ts:181 |
hr.user-account.locked | object | - | events/hr/user-account.ts:184 |
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:184 |
hr.user-account.locked.version | "1.0" | '1.0' | events/hr/user-account.ts:184 |
hr.user-account.login-changed | object | - | events/hr/user-account.ts:187 |
hr.user-account.login-changed.schema | ZodObject<{ actorId: ZodUUID; keycloakSubject: ZodNullable<ZodString>; newLogin: ZodString; oldLogin: ZodString; personnelId: ZodUUID; reason: ZodString; userAccountId: ZodUUID; }, $strip> | userAccountLoginChangedDataSchema | events/hr/user-account.ts:187 |
hr.user-account.login-changed.version | "1.0" | '1.0' | events/hr/user-account.ts:187 |
hr.user-account.password-reset-issued | object | - | events/hr/user-account.ts:188 |
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:190 |
hr.user-account.password-reset-issued.version | "1.0" | '1.0' | events/hr/user-account.ts:189 |
hr.user-account.roles-changed | object | - | events/hr/user-account.ts:186 |
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:186 |
hr.user-account.roles-changed.version | "1.0" | '1.0' | events/hr/user-account.ts:186 |
hr.user-account.unlocked | object | - | events/hr/user-account.ts:185 |
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:185 |
hr.user-account.unlocked.version | "1.0" | '1.0' | events/hr/user-account.ts:185 |