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

personnelOrderRevokedDataSchema

@mineflow/contracts


@mineflow/contracts / personnelOrderRevokedDataSchema

Variable: personnelOrderRevokedDataSchema

const personnelOrderRevokedDataSchema: ZodObject<{
actorId: ZodUUID;
effect: ZodEnum<{
amend: "amend";
conclude: "conclude";
discipline: "discipline";
discipline_remove: "discipline_remove";
leave: "leave";
military: "military";
none: "none";
note: "note";
recall: "recall";
suspend: "suspend";
terminate: "terminate";
update: "update";
}>;
orderId: ZodUUID;
personnelId: ZodUUID;
revokeReason: ZodString;
}, $strip>;

Defined in: events/hr/personnel-order.ts:53

hr.personnel-order.revoked — выпущенный приказ сторнирован. Если у приказа был применён эффект — потребители выполняют компенсацию. Подписчики: hr/personnel (компенсация эффекта), ana/*, notifications.