feat(consent): add versioned append-only consent ledger C1-C5
This commit is contained in:
1 parent
008254e44a
commit
de49f93b0b
64 files changed
+9244
-132
No files matched your search
@@ -1,12 +0,0 @@
|
||||
/**
|
||||
* Generated by orval 🍺
|
||||
* Do not edit manually.
|
||||
* Lincodex API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import * as zod from 'zod';
|
||||
|
||||
export const ContactFieldKind = zod.enum(['full_name', 'email', 'phone', 'telegram']).describe('Kind of personal data that the consent C4 can disclose to one organization (PRD FR01 and FR12). The candidate selects each kind separately; one kind never implies another.\n\n- full_name: the full name from the profile.\n- email: the contact email address from the profile.\n- phone: the contact phone number from the profile.\n- telegram: the Telegram username from the profile.\n\nThe value formats are those of ContactDisclosure: a single-line full name of up to 200 characters, an E.164 phone number, and a Telegram username with the leading @. The profile contract (FR02, TASK-066) must store contacts in the same formats, so a disclosure never has to convert or drop a stored value. The FSP results of FR14, which need their own explicit permission, are planned as additional kinds. Adding a value is a contract change.')
|
||||
|
||||
export type ContactFieldKind = zod.input<typeof ContactFieldKind>;
|
||||
export type ContactFieldKindOutput = zod.output<typeof ContactFieldKind>;
|
||||
@@ -18,7 +18,6 @@ export * from './contactConsentAcceptance.zod';
|
||||
export * from './contactConsentOffer.zod';
|
||||
export * from './contactConsentText.zod';
|
||||
export * from './contactDisclosure.zod';
|
||||
export * from './contactFieldKind.zod';
|
||||
export * from './contactFullName.zod';
|
||||
export * from './contactGrant.zod';
|
||||
export * from './contactGrantState.zod';
|
||||
@@ -56,7 +55,6 @@ export * from './invitationSalaryRaise.zod';
|
||||
export * from './invitationState.zod';
|
||||
export * from './invitationTeamDescription.zod';
|
||||
export * from './invitationTerms.zod';
|
||||
export * from './invitationTermsVersion.zod';
|
||||
export * from './invitationVersion.zod';
|
||||
export * from './listMyInvitationsParams.zod';
|
||||
export * from './listOrganizationInvitationsParams.zod';
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
/**
|
||||
* Generated by orval 🍺
|
||||
* Do not edit manually.
|
||||
* Lincodex API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import * as zod from 'zod';
|
||||
|
||||
|
||||
|
||||
export const InvitationTermsVersion = zod.int().min(1).describe('Version of the terms of an invitation. The terms of a version are an immutable snapshot: every committed change of the terms, in the draft or by the one raise of the upper salary bound after sending, creates the next terms version, and a change of anything else keeps it. An acceptance names the terms version it accepts, and the consent C4 and the contact grant record it.')
|
||||
|
||||
export type InvitationTermsVersion = zod.input<typeof InvitationTermsVersion>;
|
||||
export type InvitationTermsVersionOutput = zod.output<typeof InvitationTermsVersion>;
|
||||
Reference in new issue
Block a user