13 lines
1.1 KiB
TypeScript
13 lines
1.1 KiB
TypeScript
/**
|
|
* Generated by orval 🍺
|
|
* Do not edit manually.
|
|
* Lincodex API
|
|
* OpenAPI spec version: 0.1.0
|
|
*/
|
|
import * as zod from 'zod';
|
|
|
|
export const ContactRevocationReason = zod.enum(['consent_revoked', 'participation_cancelled', 'visibility_closed']).describe('Why a contact grant was revoked, shown only to the candidate.\n\n- consent_revoked: the candidate revoked the consent C4 for the organization; every grant under it is closed.\n- participation_cancelled: the candidate cancelled the participation in this invitation; only the grant of this invitation is closed.\n- visibility_closed: the candidate revoked the publication C2 or hid the profile from the organization after the grant existed. A grant created while the visibility already did not allow a read stays active with `blocked_by` `visibility` instead.\n\nThe withdrawal of an invitation by the organization, a no deal, and a negotiation timeout never revoke a grant.')
|
|
|
|
export type ContactRevocationReason = zod.input<typeof ContactRevocationReason>;
|
|
export type ContactRevocationReasonOutput = zod.output<typeof ContactRevocationReason>;
|