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,17 @@
|
||||
/**
|
||||
* Generated by orval 🍺
|
||||
* Do not edit manually.
|
||||
* Lincodex API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import * as zod from 'zod';
|
||||
|
||||
export const ConsentTextVersionMax = 64;
|
||||
|
||||
|
||||
export const ConsentTextVersionRegExp = new RegExp('^[A-Za-z0-9._-]+$');
|
||||
|
||||
export const ConsentTextVersion = zod.string().min(1).max(ConsentTextVersionMax).regex(ConsentTextVersionRegExp).describe('Identifier of the published consent text that the user saw and accepted. The server stores the acceptance with this version and the hash of its text; the client never sends or receives the hash.')
|
||||
|
||||
export type ConsentTextVersion = zod.input<typeof ConsentTextVersion>;
|
||||
export type ConsentTextVersionOutput = zod.output<typeof ConsentTextVersion>;
|
||||
Reference in new issue
Block a user