feat(api): add invitation, terms version, acceptance, and contact grant contract
This commit is contained in:
1 parent
b856d4ff54
commit
d2c6f1375a
140 files changed
+39767
-303
No files matched your search
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* 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>;
|
||||
Reference in new issue
Block a user