feat(api): declare identity contract for registration, verification, and sessions
This commit is contained in:
1 parent
197661145e
commit
653f3775f8
86 files changed
+11826
-148
No files matched your search
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Generated by orval 🍺
|
||||
* Do not edit manually.
|
||||
* Lincodex API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import * as zod from 'zod';
|
||||
|
||||
export const registerAccountHeadersIdempotencyKeyMax = 255;
|
||||
|
||||
|
||||
export const registerAccountHeadersIdempotencyKeyRegExp = new RegExp('^[A-Za-z0-9._:-]+$');
|
||||
|
||||
export const RegisterAccountHeaders = zod.object({
|
||||
"Idempotency-Key": zod.string().min(1).max(registerAccountHeadersIdempotencyKeyMax).regex(registerAccountHeadersIdempotencyKeyRegExp)
|
||||
})
|
||||
|
||||
export type RegisterAccountHeaders = zod.input<typeof RegisterAccountHeaders>;
|
||||
export type RegisterAccountHeadersOutput = zod.output<typeof RegisterAccountHeaders>;
|
||||
Reference in new issue
Block a user