@kya-os/consent 0.1.13 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle/inline.d.ts.map +1 -1
- package/dist/bundle/inline.js +2 -2
- package/dist/bundle/inline.js.map +1 -1
- package/dist/bundle/shell.d.ts +5 -0
- package/dist/bundle/shell.d.ts.map +1 -1
- package/dist/bundle/shell.js +3 -1
- package/dist/bundle/shell.js.map +1 -1
- package/dist/cjs/bundle/index.js +57 -0
- package/dist/cjs/bundle/index.js.map +1 -0
- package/dist/cjs/bundle/inline.js +22 -0
- package/dist/cjs/bundle/inline.js.map +1 -0
- package/dist/cjs/bundle/shell.js +291 -0
- package/dist/cjs/bundle/shell.js.map +1 -0
- package/dist/cjs/components/consent-button.js +180 -0
- package/dist/cjs/components/consent-button.js.map +1 -0
- package/dist/cjs/components/consent-checkbox.js +223 -0
- package/dist/cjs/components/consent-checkbox.js.map +1 -0
- package/dist/cjs/components/consent-input.js +335 -0
- package/dist/cjs/components/consent-input.js.map +1 -0
- package/dist/cjs/components/consent-oauth-button.js +392 -0
- package/dist/cjs/components/consent-oauth-button.js.map +1 -0
- package/dist/cjs/components/consent-otp-input.js +388 -0
- package/dist/cjs/components/consent-otp-input.js.map +1 -0
- package/dist/cjs/components/consent-permissions.js +433 -0
- package/dist/cjs/components/consent-permissions.js.map +1 -0
- package/dist/cjs/components/consent-shell.js +234 -0
- package/dist/cjs/components/consent-shell.js.map +1 -0
- package/dist/cjs/components/consent-terms.js +287 -0
- package/dist/cjs/components/consent-terms.js.map +1 -0
- package/dist/cjs/components/index.js +37 -0
- package/dist/cjs/components/index.js.map +1 -0
- package/dist/cjs/components/mcp-consent.js +1034 -0
- package/dist/cjs/components/mcp-consent.js.map +1 -0
- package/dist/cjs/constants/auth-modes.js +128 -0
- package/dist/cjs/constants/auth-modes.js.map +1 -0
- package/dist/cjs/constants/colors.js +40 -0
- package/dist/cjs/constants/colors.js.map +1 -0
- package/dist/cjs/constants/defaults.js +146 -0
- package/dist/cjs/constants/defaults.js.map +1 -0
- package/dist/cjs/constants/index.js +40 -0
- package/dist/cjs/constants/index.js.map +1 -0
- package/dist/cjs/index.js +49 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/package.json +1 -0
- package/dist/cjs/react/index.js +190 -0
- package/dist/cjs/react/index.js.map +1 -0
- package/dist/cjs/resolution/index.js +28 -0
- package/dist/cjs/resolution/index.js.map +1 -0
- package/dist/cjs/resolution/resolve-branding.js +159 -0
- package/dist/cjs/resolution/resolve-branding.js.map +1 -0
- package/dist/cjs/resolution/resolve-config.js +270 -0
- package/dist/cjs/resolution/resolve-config.js.map +1 -0
- package/dist/cjs/resolution/resolve-copy.js +136 -0
- package/dist/cjs/resolution/resolve-copy.js.map +1 -0
- package/dist/cjs/schemas/api.schemas.js +162 -0
- package/dist/cjs/schemas/api.schemas.js.map +1 -0
- package/dist/cjs/schemas/branding.schemas.js +57 -0
- package/dist/cjs/schemas/branding.schemas.js.map +1 -0
- package/dist/cjs/schemas/config.schemas.js +147 -0
- package/dist/cjs/schemas/config.schemas.js.map +1 -0
- package/dist/cjs/schemas/index.js +29 -0
- package/dist/cjs/schemas/index.js.map +1 -0
- package/dist/cjs/schemas/modes.schemas.js +107 -0
- package/dist/cjs/schemas/modes.schemas.js.map +1 -0
- package/dist/cjs/security/escape.js +206 -0
- package/dist/cjs/security/escape.js.map +1 -0
- package/dist/cjs/security/index.js +26 -0
- package/dist/cjs/security/index.js.map +1 -0
- package/dist/cjs/security/validators.js +210 -0
- package/dist/cjs/security/validators.js.map +1 -0
- package/dist/cjs/styles/css-variables.js +129 -0
- package/dist/cjs/styles/css-variables.js.map +1 -0
- package/dist/cjs/styles/index.js +28 -0
- package/dist/cjs/styles/index.js.map +1 -0
- package/dist/cjs/styles/stylesheet.js +204 -0
- package/dist/cjs/styles/stylesheet.js.map +1 -0
- package/dist/cjs/styles/tokens.js +183 -0
- package/dist/cjs/styles/tokens.js.map +1 -0
- package/dist/cjs/templates/base/base-template.js +282 -0
- package/dist/cjs/templates/base/base-template.js.map +1 -0
- package/dist/cjs/templates/base/components.js +295 -0
- package/dist/cjs/templates/base/components.js.map +1 -0
- package/dist/cjs/templates/base/index.js +26 -0
- package/dist/cjs/templates/base/index.js.map +1 -0
- package/dist/cjs/templates/index.js +34 -0
- package/dist/cjs/templates/index.js.map +1 -0
- package/dist/cjs/templates/modes/consent-only.template.js +74 -0
- package/dist/cjs/templates/modes/consent-only.template.js.map +1 -0
- package/dist/cjs/templates/modes/credentials.template.js +414 -0
- package/dist/cjs/templates/modes/credentials.template.js.map +1 -0
- package/dist/cjs/templates/modes/index.js +24 -0
- package/dist/cjs/templates/modes/index.js.map +1 -0
- package/dist/cjs/templates/modes/magic-link.template.js +196 -0
- package/dist/cjs/templates/modes/magic-link.template.js.map +1 -0
- package/dist/cjs/templates/modes/oauth.template.js +153 -0
- package/dist/cjs/templates/modes/oauth.template.js.map +1 -0
- package/dist/cjs/templates/modes/otp.template.js +316 -0
- package/dist/cjs/templates/modes/otp.template.js.map +1 -0
- package/dist/cjs/templates/modes/success.template.js +140 -0
- package/dist/cjs/templates/modes/success.template.js.map +1 -0
- package/dist/cjs/templates/registry.js +133 -0
- package/dist/cjs/templates/registry.js.map +1 -0
- package/dist/cjs/types/api.types.js +10 -0
- package/dist/cjs/types/api.types.js.map +1 -0
- package/dist/cjs/types/branding.types.js +10 -0
- package/dist/cjs/types/branding.types.js.map +1 -0
- package/dist/cjs/types/config.types.js +10 -0
- package/dist/cjs/types/config.types.js.map +1 -0
- package/dist/cjs/types/copy.types.js +10 -0
- package/dist/cjs/types/copy.types.js.map +1 -0
- package/dist/cjs/types/index.js +31 -0
- package/dist/cjs/types/index.js.map +1 -0
- package/dist/cjs/types/modes.types.js +140 -0
- package/dist/cjs/types/modes.types.js.map +1 -0
- package/dist/cjs/types/page.types.js +10 -0
- package/dist/cjs/types/page.types.js.map +1 -0
- package/dist/components/mcp-consent.d.ts +6 -0
- package/dist/components/mcp-consent.d.ts.map +1 -1
- package/dist/components/mcp-consent.js +14 -0
- package/dist/components/mcp-consent.js.map +1 -1
- package/dist/consent.js +7 -0
- package/dist/consent.min.js +2 -2
- package/dist/schemas/api.schemas.d.ts +177 -169
- package/dist/schemas/api.schemas.d.ts.map +1 -1
- package/dist/schemas/api.schemas.js +6 -0
- package/dist/schemas/api.schemas.js.map +1 -1
- package/dist/schemas/config.schemas.d.ts +116 -116
- package/dist/schemas/modes.schemas.d.ts +28 -28
- package/dist/types/api.types.d.ts +6 -0
- package/dist/types/api.types.d.ts.map +1 -1
- package/package.json +29 -15
|
@@ -60,17 +60,23 @@ export declare const ConsentApprovalRequestSchema: z.ZodObject<{
|
|
|
60
60
|
name?: string | undefined;
|
|
61
61
|
}>>>;
|
|
62
62
|
user_did: z.ZodOptional<z.ZodString>;
|
|
63
|
+
/**
|
|
64
|
+
* Human-readable user identifier from credential authentication.
|
|
65
|
+
* This is separate from user_did (cryptographic identity) and used for UX display.
|
|
66
|
+
* Examples: email address, username, or other provider-specific identifier.
|
|
67
|
+
*/
|
|
68
|
+
credential_user_id: z.ZodOptional<z.ZodString>;
|
|
63
69
|
}, "strip", z.ZodTypeAny, {
|
|
64
70
|
tool: string;
|
|
65
71
|
scopes: string[];
|
|
66
|
-
termsAccepted: boolean;
|
|
67
72
|
agent_did: string;
|
|
68
73
|
session_id: string;
|
|
69
74
|
project_id: string;
|
|
70
75
|
auth_mode: "consent-only" | "credentials" | "oauth" | "magic-link" | "otp" | "qr-code" | "passkey" | "idv";
|
|
71
76
|
provider_type: string;
|
|
72
|
-
|
|
77
|
+
termsAccepted: boolean;
|
|
73
78
|
termsVersion?: string | undefined;
|
|
79
|
+
customFields?: Record<string, string | boolean> | undefined;
|
|
74
80
|
oauth_identity?: {
|
|
75
81
|
provider: string;
|
|
76
82
|
subject: string;
|
|
@@ -78,17 +84,18 @@ export declare const ConsentApprovalRequestSchema: z.ZodObject<{
|
|
|
78
84
|
name?: string | undefined;
|
|
79
85
|
} | null | undefined;
|
|
80
86
|
user_did?: string | undefined;
|
|
87
|
+
credential_user_id?: string | undefined;
|
|
81
88
|
}, {
|
|
82
89
|
tool: string;
|
|
83
90
|
scopes: string[];
|
|
84
|
-
termsAccepted: boolean;
|
|
85
91
|
agent_did: string;
|
|
86
92
|
session_id: string;
|
|
87
93
|
project_id: string;
|
|
94
|
+
termsAccepted: boolean;
|
|
88
95
|
auth_mode?: "consent-only" | "credentials" | "oauth" | "magic-link" | "otp" | "qr-code" | "passkey" | "idv" | undefined;
|
|
89
96
|
provider_type?: string | undefined;
|
|
90
|
-
customFields?: Record<string, string | boolean> | undefined;
|
|
91
97
|
termsVersion?: string | undefined;
|
|
98
|
+
customFields?: Record<string, string | boolean> | undefined;
|
|
92
99
|
oauth_identity?: {
|
|
93
100
|
provider: string;
|
|
94
101
|
subject: string;
|
|
@@ -96,6 +103,7 @@ export declare const ConsentApprovalRequestSchema: z.ZodObject<{
|
|
|
96
103
|
name?: string | undefined;
|
|
97
104
|
} | null | undefined;
|
|
98
105
|
user_did?: string | undefined;
|
|
106
|
+
credential_user_id?: string | undefined;
|
|
99
107
|
}>;
|
|
100
108
|
export type ConsentApprovalRequestSchemaType = z.infer<typeof ConsentApprovalRequestSchema>;
|
|
101
109
|
/**
|
|
@@ -109,27 +117,27 @@ export declare const ConsentApprovalResponseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
109
117
|
error_code: z.ZodOptional<z.ZodString>;
|
|
110
118
|
}, "strip", z.ZodTypeAny, {
|
|
111
119
|
success: boolean;
|
|
112
|
-
error?: string | undefined;
|
|
113
120
|
delegation_id?: string | undefined;
|
|
114
121
|
delegation_token?: string | undefined;
|
|
122
|
+
error?: string | undefined;
|
|
115
123
|
error_code?: string | undefined;
|
|
116
124
|
}, {
|
|
117
125
|
success: boolean;
|
|
118
|
-
error?: string | undefined;
|
|
119
126
|
delegation_id?: string | undefined;
|
|
120
127
|
delegation_token?: string | undefined;
|
|
128
|
+
error?: string | undefined;
|
|
121
129
|
error_code?: string | undefined;
|
|
122
130
|
}>, {
|
|
123
131
|
success: boolean;
|
|
124
|
-
error?: string | undefined;
|
|
125
132
|
delegation_id?: string | undefined;
|
|
126
133
|
delegation_token?: string | undefined;
|
|
134
|
+
error?: string | undefined;
|
|
127
135
|
error_code?: string | undefined;
|
|
128
136
|
}, {
|
|
129
137
|
success: boolean;
|
|
130
|
-
error?: string | undefined;
|
|
131
138
|
delegation_id?: string | undefined;
|
|
132
139
|
delegation_token?: string | undefined;
|
|
140
|
+
error?: string | undefined;
|
|
133
141
|
error_code?: string | undefined;
|
|
134
142
|
}>;
|
|
135
143
|
export type ConsentApprovalResponseSchemaType = z.infer<typeof ConsentApprovalResponseSchema>;
|
|
@@ -210,17 +218,17 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
210
218
|
redirectDelay: z.ZodOptional<z.ZodNumber>;
|
|
211
219
|
continueButtonText: z.ZodOptional<z.ZodString>;
|
|
212
220
|
}, "strip", z.ZodTypeAny, {
|
|
213
|
-
redirectUrl?: string | undefined;
|
|
214
221
|
title?: string | undefined;
|
|
215
222
|
description?: string | undefined;
|
|
216
223
|
showCredential?: boolean | undefined;
|
|
224
|
+
redirectUrl?: string | undefined;
|
|
217
225
|
redirectDelay?: number | undefined;
|
|
218
226
|
continueButtonText?: string | undefined;
|
|
219
227
|
}, {
|
|
220
|
-
redirectUrl?: string | undefined;
|
|
221
228
|
title?: string | undefined;
|
|
222
229
|
description?: string | undefined;
|
|
223
230
|
showCredential?: boolean | undefined;
|
|
231
|
+
redirectUrl?: string | undefined;
|
|
224
232
|
redirectDelay?: number | undefined;
|
|
225
233
|
continueButtonText?: string | undefined;
|
|
226
234
|
}>>;
|
|
@@ -242,10 +250,10 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
242
250
|
}>, "many">>;
|
|
243
251
|
pattern: z.ZodOptional<z.ZodString>;
|
|
244
252
|
}, "strip", z.ZodTypeAny, {
|
|
253
|
+
name: string;
|
|
245
254
|
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
246
255
|
required: boolean;
|
|
247
256
|
label: string;
|
|
248
|
-
name: string;
|
|
249
257
|
options?: {
|
|
250
258
|
value: string;
|
|
251
259
|
label: string;
|
|
@@ -253,10 +261,10 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
253
261
|
placeholder?: string | undefined;
|
|
254
262
|
pattern?: string | undefined;
|
|
255
263
|
}, {
|
|
264
|
+
name: string;
|
|
256
265
|
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
257
266
|
required: boolean;
|
|
258
267
|
label: string;
|
|
259
|
-
name: string;
|
|
260
268
|
options?: {
|
|
261
269
|
value: string;
|
|
262
270
|
label: string;
|
|
@@ -264,10 +272,10 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
264
272
|
placeholder?: string | undefined;
|
|
265
273
|
pattern?: string | undefined;
|
|
266
274
|
}>, {
|
|
275
|
+
name: string;
|
|
267
276
|
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
268
277
|
required: boolean;
|
|
269
278
|
label: string;
|
|
270
|
-
name: string;
|
|
271
279
|
options?: {
|
|
272
280
|
value: string;
|
|
273
281
|
label: string;
|
|
@@ -275,10 +283,10 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
275
283
|
placeholder?: string | undefined;
|
|
276
284
|
pattern?: string | undefined;
|
|
277
285
|
}, {
|
|
286
|
+
name: string;
|
|
278
287
|
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
279
288
|
required: boolean;
|
|
280
289
|
label: string;
|
|
281
|
-
name: string;
|
|
282
290
|
options?: {
|
|
283
291
|
value: string;
|
|
284
292
|
label: string;
|
|
@@ -295,21 +303,21 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
295
303
|
showForgotPassword: z.ZodOptional<z.ZodBoolean>;
|
|
296
304
|
forgotPasswordUrl: z.ZodOptional<z.ZodString>;
|
|
297
305
|
}, "strip", z.ZodTypeAny, {
|
|
298
|
-
showForgotPassword?: boolean | undefined;
|
|
299
|
-
forgotPasswordUrl?: string | undefined;
|
|
300
306
|
usernameLabel?: string | undefined;
|
|
301
307
|
usernamePlaceholder?: string | undefined;
|
|
302
308
|
passwordLabel?: string | undefined;
|
|
303
309
|
passwordPlaceholder?: string | undefined;
|
|
304
310
|
showRememberMe?: boolean | undefined;
|
|
305
|
-
}, {
|
|
306
311
|
showForgotPassword?: boolean | undefined;
|
|
307
312
|
forgotPasswordUrl?: string | undefined;
|
|
313
|
+
}, {
|
|
308
314
|
usernameLabel?: string | undefined;
|
|
309
315
|
usernamePlaceholder?: string | undefined;
|
|
310
316
|
passwordLabel?: string | undefined;
|
|
311
317
|
passwordPlaceholder?: string | undefined;
|
|
312
318
|
showRememberMe?: boolean | undefined;
|
|
319
|
+
showForgotPassword?: boolean | undefined;
|
|
320
|
+
forgotPasswordUrl?: string | undefined;
|
|
313
321
|
}>>;
|
|
314
322
|
oauth: z.ZodOptional<z.ZodObject<{
|
|
315
323
|
providerId: z.ZodOptional<z.ZodString>;
|
|
@@ -331,17 +339,17 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
331
339
|
buttonText: z.ZodOptional<z.ZodString>;
|
|
332
340
|
resendCooldown: z.ZodOptional<z.ZodNumber>;
|
|
333
341
|
}, "strip", z.ZodTypeAny, {
|
|
334
|
-
resendCooldown?: number | undefined;
|
|
335
342
|
buttonText?: string | undefined;
|
|
336
343
|
enabled?: boolean | undefined;
|
|
337
344
|
emailLabel?: string | undefined;
|
|
338
345
|
emailPlaceholder?: string | undefined;
|
|
339
|
-
}, {
|
|
340
346
|
resendCooldown?: number | undefined;
|
|
347
|
+
}, {
|
|
341
348
|
buttonText?: string | undefined;
|
|
342
349
|
enabled?: boolean | undefined;
|
|
343
350
|
emailLabel?: string | undefined;
|
|
344
351
|
emailPlaceholder?: string | undefined;
|
|
352
|
+
resendCooldown?: number | undefined;
|
|
345
353
|
}>>;
|
|
346
354
|
otp: z.ZodOptional<z.ZodObject<{
|
|
347
355
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -351,19 +359,19 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
351
359
|
digits: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<8>]>>;
|
|
352
360
|
resendCooldown: z.ZodOptional<z.ZodNumber>;
|
|
353
361
|
}, "strip", z.ZodTypeAny, {
|
|
354
|
-
resendCooldown?: number | undefined;
|
|
355
362
|
enabled?: boolean | undefined;
|
|
363
|
+
resendCooldown?: number | undefined;
|
|
356
364
|
phoneLabel?: string | undefined;
|
|
357
365
|
phonePlaceholder?: string | undefined;
|
|
358
366
|
instructions?: string | undefined;
|
|
359
|
-
digits?:
|
|
367
|
+
digits?: 8 | 4 | 6 | undefined;
|
|
360
368
|
}, {
|
|
361
|
-
resendCooldown?: number | undefined;
|
|
362
369
|
enabled?: boolean | undefined;
|
|
370
|
+
resendCooldown?: number | undefined;
|
|
363
371
|
phoneLabel?: string | undefined;
|
|
364
372
|
phonePlaceholder?: string | undefined;
|
|
365
373
|
instructions?: string | undefined;
|
|
366
|
-
digits?:
|
|
374
|
+
digits?: 8 | 4 | 6 | undefined;
|
|
367
375
|
}>>;
|
|
368
376
|
qrCode: z.ZodOptional<z.ZodObject<{
|
|
369
377
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -433,13 +441,13 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
433
441
|
}>>;
|
|
434
442
|
}, "strip", z.ZodTypeAny, {
|
|
435
443
|
credentials?: {
|
|
436
|
-
showForgotPassword?: boolean | undefined;
|
|
437
|
-
forgotPasswordUrl?: string | undefined;
|
|
438
444
|
usernameLabel?: string | undefined;
|
|
439
445
|
usernamePlaceholder?: string | undefined;
|
|
440
446
|
passwordLabel?: string | undefined;
|
|
441
447
|
passwordPlaceholder?: string | undefined;
|
|
442
448
|
showRememberMe?: boolean | undefined;
|
|
449
|
+
showForgotPassword?: boolean | undefined;
|
|
450
|
+
forgotPasswordUrl?: string | undefined;
|
|
443
451
|
} | undefined;
|
|
444
452
|
oauth?: {
|
|
445
453
|
providerId?: string | undefined;
|
|
@@ -447,12 +455,12 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
447
455
|
buttonText?: string | undefined;
|
|
448
456
|
} | undefined;
|
|
449
457
|
otp?: {
|
|
450
|
-
resendCooldown?: number | undefined;
|
|
451
458
|
enabled?: boolean | undefined;
|
|
459
|
+
resendCooldown?: number | undefined;
|
|
452
460
|
phoneLabel?: string | undefined;
|
|
453
461
|
phonePlaceholder?: string | undefined;
|
|
454
462
|
instructions?: string | undefined;
|
|
455
|
-
digits?:
|
|
463
|
+
digits?: 8 | 4 | 6 | undefined;
|
|
456
464
|
} | undefined;
|
|
457
465
|
passkey?: {
|
|
458
466
|
buttonText?: string | undefined;
|
|
@@ -467,14 +475,43 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
467
475
|
verificationType?: "document" | "selfie" | "both" | undefined;
|
|
468
476
|
estimatedTime?: string | undefined;
|
|
469
477
|
} | undefined;
|
|
478
|
+
customFields?: {
|
|
479
|
+
name: string;
|
|
480
|
+
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
481
|
+
required: boolean;
|
|
482
|
+
label: string;
|
|
483
|
+
options?: {
|
|
484
|
+
value: string;
|
|
485
|
+
label: string;
|
|
486
|
+
}[] | undefined;
|
|
487
|
+
placeholder?: string | undefined;
|
|
488
|
+
pattern?: string | undefined;
|
|
489
|
+
}[] | undefined;
|
|
470
490
|
success?: {
|
|
471
|
-
redirectUrl?: string | undefined;
|
|
472
491
|
title?: string | undefined;
|
|
473
492
|
description?: string | undefined;
|
|
474
493
|
showCredential?: boolean | undefined;
|
|
494
|
+
redirectUrl?: string | undefined;
|
|
475
495
|
redirectDelay?: number | undefined;
|
|
476
496
|
continueButtonText?: string | undefined;
|
|
477
497
|
} | undefined;
|
|
498
|
+
branding?: {
|
|
499
|
+
primaryColor?: string | undefined;
|
|
500
|
+
secondaryColor?: string | undefined;
|
|
501
|
+
logoUrl?: string | undefined;
|
|
502
|
+
companyName?: string | undefined;
|
|
503
|
+
} | undefined;
|
|
504
|
+
ui?: {
|
|
505
|
+
title?: string | undefined;
|
|
506
|
+
description?: string | undefined;
|
|
507
|
+
expirationText?: string | undefined;
|
|
508
|
+
cancelButtonText?: string | undefined;
|
|
509
|
+
submitButtonText?: string | undefined;
|
|
510
|
+
permissionsHeader?: string | undefined;
|
|
511
|
+
autoClose?: boolean | undefined;
|
|
512
|
+
popupEnabled?: boolean | undefined;
|
|
513
|
+
theme?: "light" | "dark" | "auto" | undefined;
|
|
514
|
+
} | undefined;
|
|
478
515
|
terms?: {
|
|
479
516
|
text?: string | undefined;
|
|
480
517
|
url?: string | undefined;
|
|
@@ -482,11 +519,11 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
482
519
|
required?: boolean | undefined;
|
|
483
520
|
} | undefined;
|
|
484
521
|
magicLink?: {
|
|
485
|
-
resendCooldown?: number | undefined;
|
|
486
522
|
buttonText?: string | undefined;
|
|
487
523
|
enabled?: boolean | undefined;
|
|
488
524
|
emailLabel?: string | undefined;
|
|
489
525
|
emailPlaceholder?: string | undefined;
|
|
526
|
+
resendCooldown?: number | undefined;
|
|
490
527
|
} | undefined;
|
|
491
528
|
qrCode?: {
|
|
492
529
|
enabled?: boolean | undefined;
|
|
@@ -494,35 +531,6 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
494
531
|
size?: number | undefined;
|
|
495
532
|
showManualEntry?: boolean | undefined;
|
|
496
533
|
} | undefined;
|
|
497
|
-
branding?: {
|
|
498
|
-
primaryColor?: string | undefined;
|
|
499
|
-
secondaryColor?: string | undefined;
|
|
500
|
-
logoUrl?: string | undefined;
|
|
501
|
-
companyName?: string | undefined;
|
|
502
|
-
} | undefined;
|
|
503
|
-
ui?: {
|
|
504
|
-
title?: string | undefined;
|
|
505
|
-
description?: string | undefined;
|
|
506
|
-
expirationText?: string | undefined;
|
|
507
|
-
cancelButtonText?: string | undefined;
|
|
508
|
-
submitButtonText?: string | undefined;
|
|
509
|
-
permissionsHeader?: string | undefined;
|
|
510
|
-
autoClose?: boolean | undefined;
|
|
511
|
-
popupEnabled?: boolean | undefined;
|
|
512
|
-
theme?: "light" | "dark" | "auto" | undefined;
|
|
513
|
-
} | undefined;
|
|
514
|
-
customFields?: {
|
|
515
|
-
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
516
|
-
required: boolean;
|
|
517
|
-
label: string;
|
|
518
|
-
name: string;
|
|
519
|
-
options?: {
|
|
520
|
-
value: string;
|
|
521
|
-
label: string;
|
|
522
|
-
}[] | undefined;
|
|
523
|
-
placeholder?: string | undefined;
|
|
524
|
-
pattern?: string | undefined;
|
|
525
|
-
}[] | undefined;
|
|
526
534
|
expirationDays?: number | undefined;
|
|
527
535
|
metadata?: {
|
|
528
536
|
version?: number | undefined;
|
|
@@ -531,13 +539,13 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
531
539
|
} | undefined;
|
|
532
540
|
}, {
|
|
533
541
|
credentials?: {
|
|
534
|
-
showForgotPassword?: boolean | undefined;
|
|
535
|
-
forgotPasswordUrl?: string | undefined;
|
|
536
542
|
usernameLabel?: string | undefined;
|
|
537
543
|
usernamePlaceholder?: string | undefined;
|
|
538
544
|
passwordLabel?: string | undefined;
|
|
539
545
|
passwordPlaceholder?: string | undefined;
|
|
540
546
|
showRememberMe?: boolean | undefined;
|
|
547
|
+
showForgotPassword?: boolean | undefined;
|
|
548
|
+
forgotPasswordUrl?: string | undefined;
|
|
541
549
|
} | undefined;
|
|
542
550
|
oauth?: {
|
|
543
551
|
providerId?: string | undefined;
|
|
@@ -545,12 +553,12 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
545
553
|
buttonText?: string | undefined;
|
|
546
554
|
} | undefined;
|
|
547
555
|
otp?: {
|
|
548
|
-
resendCooldown?: number | undefined;
|
|
549
556
|
enabled?: boolean | undefined;
|
|
557
|
+
resendCooldown?: number | undefined;
|
|
550
558
|
phoneLabel?: string | undefined;
|
|
551
559
|
phonePlaceholder?: string | undefined;
|
|
552
560
|
instructions?: string | undefined;
|
|
553
|
-
digits?:
|
|
561
|
+
digits?: 8 | 4 | 6 | undefined;
|
|
554
562
|
} | undefined;
|
|
555
563
|
passkey?: {
|
|
556
564
|
buttonText?: string | undefined;
|
|
@@ -565,14 +573,43 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
565
573
|
verificationType?: "document" | "selfie" | "both" | undefined;
|
|
566
574
|
estimatedTime?: string | undefined;
|
|
567
575
|
} | undefined;
|
|
576
|
+
customFields?: {
|
|
577
|
+
name: string;
|
|
578
|
+
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
579
|
+
required: boolean;
|
|
580
|
+
label: string;
|
|
581
|
+
options?: {
|
|
582
|
+
value: string;
|
|
583
|
+
label: string;
|
|
584
|
+
}[] | undefined;
|
|
585
|
+
placeholder?: string | undefined;
|
|
586
|
+
pattern?: string | undefined;
|
|
587
|
+
}[] | undefined;
|
|
568
588
|
success?: {
|
|
569
|
-
redirectUrl?: string | undefined;
|
|
570
589
|
title?: string | undefined;
|
|
571
590
|
description?: string | undefined;
|
|
572
591
|
showCredential?: boolean | undefined;
|
|
592
|
+
redirectUrl?: string | undefined;
|
|
573
593
|
redirectDelay?: number | undefined;
|
|
574
594
|
continueButtonText?: string | undefined;
|
|
575
595
|
} | undefined;
|
|
596
|
+
branding?: {
|
|
597
|
+
primaryColor?: string | undefined;
|
|
598
|
+
secondaryColor?: string | undefined;
|
|
599
|
+
logoUrl?: string | undefined;
|
|
600
|
+
companyName?: string | undefined;
|
|
601
|
+
} | undefined;
|
|
602
|
+
ui?: {
|
|
603
|
+
title?: string | undefined;
|
|
604
|
+
description?: string | undefined;
|
|
605
|
+
expirationText?: string | undefined;
|
|
606
|
+
cancelButtonText?: string | undefined;
|
|
607
|
+
submitButtonText?: string | undefined;
|
|
608
|
+
permissionsHeader?: string | undefined;
|
|
609
|
+
autoClose?: boolean | undefined;
|
|
610
|
+
popupEnabled?: boolean | undefined;
|
|
611
|
+
theme?: "light" | "dark" | "auto" | undefined;
|
|
612
|
+
} | undefined;
|
|
576
613
|
terms?: {
|
|
577
614
|
text?: string | undefined;
|
|
578
615
|
url?: string | undefined;
|
|
@@ -580,11 +617,11 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
580
617
|
required?: boolean | undefined;
|
|
581
618
|
} | undefined;
|
|
582
619
|
magicLink?: {
|
|
583
|
-
resendCooldown?: number | undefined;
|
|
584
620
|
buttonText?: string | undefined;
|
|
585
621
|
enabled?: boolean | undefined;
|
|
586
622
|
emailLabel?: string | undefined;
|
|
587
623
|
emailPlaceholder?: string | undefined;
|
|
624
|
+
resendCooldown?: number | undefined;
|
|
588
625
|
} | undefined;
|
|
589
626
|
qrCode?: {
|
|
590
627
|
enabled?: boolean | undefined;
|
|
@@ -592,35 +629,6 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
592
629
|
size?: number | undefined;
|
|
593
630
|
showManualEntry?: boolean | undefined;
|
|
594
631
|
} | undefined;
|
|
595
|
-
branding?: {
|
|
596
|
-
primaryColor?: string | undefined;
|
|
597
|
-
secondaryColor?: string | undefined;
|
|
598
|
-
logoUrl?: string | undefined;
|
|
599
|
-
companyName?: string | undefined;
|
|
600
|
-
} | undefined;
|
|
601
|
-
ui?: {
|
|
602
|
-
title?: string | undefined;
|
|
603
|
-
description?: string | undefined;
|
|
604
|
-
expirationText?: string | undefined;
|
|
605
|
-
cancelButtonText?: string | undefined;
|
|
606
|
-
submitButtonText?: string | undefined;
|
|
607
|
-
permissionsHeader?: string | undefined;
|
|
608
|
-
autoClose?: boolean | undefined;
|
|
609
|
-
popupEnabled?: boolean | undefined;
|
|
610
|
-
theme?: "light" | "dark" | "auto" | undefined;
|
|
611
|
-
} | undefined;
|
|
612
|
-
customFields?: {
|
|
613
|
-
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
614
|
-
required: boolean;
|
|
615
|
-
label: string;
|
|
616
|
-
name: string;
|
|
617
|
-
options?: {
|
|
618
|
-
value: string;
|
|
619
|
-
label: string;
|
|
620
|
-
}[] | undefined;
|
|
621
|
-
placeholder?: string | undefined;
|
|
622
|
-
pattern?: string | undefined;
|
|
623
|
-
}[] | undefined;
|
|
624
632
|
expirationDays?: number | undefined;
|
|
625
633
|
metadata?: {
|
|
626
634
|
version?: number | undefined;
|
|
@@ -634,13 +642,13 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
634
642
|
error?: string | undefined;
|
|
635
643
|
data?: {
|
|
636
644
|
credentials?: {
|
|
637
|
-
showForgotPassword?: boolean | undefined;
|
|
638
|
-
forgotPasswordUrl?: string | undefined;
|
|
639
645
|
usernameLabel?: string | undefined;
|
|
640
646
|
usernamePlaceholder?: string | undefined;
|
|
641
647
|
passwordLabel?: string | undefined;
|
|
642
648
|
passwordPlaceholder?: string | undefined;
|
|
643
649
|
showRememberMe?: boolean | undefined;
|
|
650
|
+
showForgotPassword?: boolean | undefined;
|
|
651
|
+
forgotPasswordUrl?: string | undefined;
|
|
644
652
|
} | undefined;
|
|
645
653
|
oauth?: {
|
|
646
654
|
providerId?: string | undefined;
|
|
@@ -648,12 +656,12 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
648
656
|
buttonText?: string | undefined;
|
|
649
657
|
} | undefined;
|
|
650
658
|
otp?: {
|
|
651
|
-
resendCooldown?: number | undefined;
|
|
652
659
|
enabled?: boolean | undefined;
|
|
660
|
+
resendCooldown?: number | undefined;
|
|
653
661
|
phoneLabel?: string | undefined;
|
|
654
662
|
phonePlaceholder?: string | undefined;
|
|
655
663
|
instructions?: string | undefined;
|
|
656
|
-
digits?:
|
|
664
|
+
digits?: 8 | 4 | 6 | undefined;
|
|
657
665
|
} | undefined;
|
|
658
666
|
passkey?: {
|
|
659
667
|
buttonText?: string | undefined;
|
|
@@ -668,14 +676,43 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
668
676
|
verificationType?: "document" | "selfie" | "both" | undefined;
|
|
669
677
|
estimatedTime?: string | undefined;
|
|
670
678
|
} | undefined;
|
|
679
|
+
customFields?: {
|
|
680
|
+
name: string;
|
|
681
|
+
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
682
|
+
required: boolean;
|
|
683
|
+
label: string;
|
|
684
|
+
options?: {
|
|
685
|
+
value: string;
|
|
686
|
+
label: string;
|
|
687
|
+
}[] | undefined;
|
|
688
|
+
placeholder?: string | undefined;
|
|
689
|
+
pattern?: string | undefined;
|
|
690
|
+
}[] | undefined;
|
|
671
691
|
success?: {
|
|
672
|
-
redirectUrl?: string | undefined;
|
|
673
692
|
title?: string | undefined;
|
|
674
693
|
description?: string | undefined;
|
|
675
694
|
showCredential?: boolean | undefined;
|
|
695
|
+
redirectUrl?: string | undefined;
|
|
676
696
|
redirectDelay?: number | undefined;
|
|
677
697
|
continueButtonText?: string | undefined;
|
|
678
698
|
} | undefined;
|
|
699
|
+
branding?: {
|
|
700
|
+
primaryColor?: string | undefined;
|
|
701
|
+
secondaryColor?: string | undefined;
|
|
702
|
+
logoUrl?: string | undefined;
|
|
703
|
+
companyName?: string | undefined;
|
|
704
|
+
} | undefined;
|
|
705
|
+
ui?: {
|
|
706
|
+
title?: string | undefined;
|
|
707
|
+
description?: string | undefined;
|
|
708
|
+
expirationText?: string | undefined;
|
|
709
|
+
cancelButtonText?: string | undefined;
|
|
710
|
+
submitButtonText?: string | undefined;
|
|
711
|
+
permissionsHeader?: string | undefined;
|
|
712
|
+
autoClose?: boolean | undefined;
|
|
713
|
+
popupEnabled?: boolean | undefined;
|
|
714
|
+
theme?: "light" | "dark" | "auto" | undefined;
|
|
715
|
+
} | undefined;
|
|
679
716
|
terms?: {
|
|
680
717
|
text?: string | undefined;
|
|
681
718
|
url?: string | undefined;
|
|
@@ -683,11 +720,11 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
683
720
|
required?: boolean | undefined;
|
|
684
721
|
} | undefined;
|
|
685
722
|
magicLink?: {
|
|
686
|
-
resendCooldown?: number | undefined;
|
|
687
723
|
buttonText?: string | undefined;
|
|
688
724
|
enabled?: boolean | undefined;
|
|
689
725
|
emailLabel?: string | undefined;
|
|
690
726
|
emailPlaceholder?: string | undefined;
|
|
727
|
+
resendCooldown?: number | undefined;
|
|
691
728
|
} | undefined;
|
|
692
729
|
qrCode?: {
|
|
693
730
|
enabled?: boolean | undefined;
|
|
@@ -695,35 +732,6 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
695
732
|
size?: number | undefined;
|
|
696
733
|
showManualEntry?: boolean | undefined;
|
|
697
734
|
} | undefined;
|
|
698
|
-
branding?: {
|
|
699
|
-
primaryColor?: string | undefined;
|
|
700
|
-
secondaryColor?: string | undefined;
|
|
701
|
-
logoUrl?: string | undefined;
|
|
702
|
-
companyName?: string | undefined;
|
|
703
|
-
} | undefined;
|
|
704
|
-
ui?: {
|
|
705
|
-
title?: string | undefined;
|
|
706
|
-
description?: string | undefined;
|
|
707
|
-
expirationText?: string | undefined;
|
|
708
|
-
cancelButtonText?: string | undefined;
|
|
709
|
-
submitButtonText?: string | undefined;
|
|
710
|
-
permissionsHeader?: string | undefined;
|
|
711
|
-
autoClose?: boolean | undefined;
|
|
712
|
-
popupEnabled?: boolean | undefined;
|
|
713
|
-
theme?: "light" | "dark" | "auto" | undefined;
|
|
714
|
-
} | undefined;
|
|
715
|
-
customFields?: {
|
|
716
|
-
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
717
|
-
required: boolean;
|
|
718
|
-
label: string;
|
|
719
|
-
name: string;
|
|
720
|
-
options?: {
|
|
721
|
-
value: string;
|
|
722
|
-
label: string;
|
|
723
|
-
}[] | undefined;
|
|
724
|
-
placeholder?: string | undefined;
|
|
725
|
-
pattern?: string | undefined;
|
|
726
|
-
}[] | undefined;
|
|
727
735
|
expirationDays?: number | undefined;
|
|
728
736
|
metadata?: {
|
|
729
737
|
version?: number | undefined;
|
|
@@ -736,13 +744,13 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
736
744
|
error?: string | undefined;
|
|
737
745
|
data?: {
|
|
738
746
|
credentials?: {
|
|
739
|
-
showForgotPassword?: boolean | undefined;
|
|
740
|
-
forgotPasswordUrl?: string | undefined;
|
|
741
747
|
usernameLabel?: string | undefined;
|
|
742
748
|
usernamePlaceholder?: string | undefined;
|
|
743
749
|
passwordLabel?: string | undefined;
|
|
744
750
|
passwordPlaceholder?: string | undefined;
|
|
745
751
|
showRememberMe?: boolean | undefined;
|
|
752
|
+
showForgotPassword?: boolean | undefined;
|
|
753
|
+
forgotPasswordUrl?: string | undefined;
|
|
746
754
|
} | undefined;
|
|
747
755
|
oauth?: {
|
|
748
756
|
providerId?: string | undefined;
|
|
@@ -750,12 +758,12 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
750
758
|
buttonText?: string | undefined;
|
|
751
759
|
} | undefined;
|
|
752
760
|
otp?: {
|
|
753
|
-
resendCooldown?: number | undefined;
|
|
754
761
|
enabled?: boolean | undefined;
|
|
762
|
+
resendCooldown?: number | undefined;
|
|
755
763
|
phoneLabel?: string | undefined;
|
|
756
764
|
phonePlaceholder?: string | undefined;
|
|
757
765
|
instructions?: string | undefined;
|
|
758
|
-
digits?:
|
|
766
|
+
digits?: 8 | 4 | 6 | undefined;
|
|
759
767
|
} | undefined;
|
|
760
768
|
passkey?: {
|
|
761
769
|
buttonText?: string | undefined;
|
|
@@ -770,14 +778,43 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
770
778
|
verificationType?: "document" | "selfie" | "both" | undefined;
|
|
771
779
|
estimatedTime?: string | undefined;
|
|
772
780
|
} | undefined;
|
|
781
|
+
customFields?: {
|
|
782
|
+
name: string;
|
|
783
|
+
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
784
|
+
required: boolean;
|
|
785
|
+
label: string;
|
|
786
|
+
options?: {
|
|
787
|
+
value: string;
|
|
788
|
+
label: string;
|
|
789
|
+
}[] | undefined;
|
|
790
|
+
placeholder?: string | undefined;
|
|
791
|
+
pattern?: string | undefined;
|
|
792
|
+
}[] | undefined;
|
|
773
793
|
success?: {
|
|
774
|
-
redirectUrl?: string | undefined;
|
|
775
794
|
title?: string | undefined;
|
|
776
795
|
description?: string | undefined;
|
|
777
796
|
showCredential?: boolean | undefined;
|
|
797
|
+
redirectUrl?: string | undefined;
|
|
778
798
|
redirectDelay?: number | undefined;
|
|
779
799
|
continueButtonText?: string | undefined;
|
|
780
800
|
} | undefined;
|
|
801
|
+
branding?: {
|
|
802
|
+
primaryColor?: string | undefined;
|
|
803
|
+
secondaryColor?: string | undefined;
|
|
804
|
+
logoUrl?: string | undefined;
|
|
805
|
+
companyName?: string | undefined;
|
|
806
|
+
} | undefined;
|
|
807
|
+
ui?: {
|
|
808
|
+
title?: string | undefined;
|
|
809
|
+
description?: string | undefined;
|
|
810
|
+
expirationText?: string | undefined;
|
|
811
|
+
cancelButtonText?: string | undefined;
|
|
812
|
+
submitButtonText?: string | undefined;
|
|
813
|
+
permissionsHeader?: string | undefined;
|
|
814
|
+
autoClose?: boolean | undefined;
|
|
815
|
+
popupEnabled?: boolean | undefined;
|
|
816
|
+
theme?: "light" | "dark" | "auto" | undefined;
|
|
817
|
+
} | undefined;
|
|
781
818
|
terms?: {
|
|
782
819
|
text?: string | undefined;
|
|
783
820
|
url?: string | undefined;
|
|
@@ -785,11 +822,11 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
785
822
|
required?: boolean | undefined;
|
|
786
823
|
} | undefined;
|
|
787
824
|
magicLink?: {
|
|
788
|
-
resendCooldown?: number | undefined;
|
|
789
825
|
buttonText?: string | undefined;
|
|
790
826
|
enabled?: boolean | undefined;
|
|
791
827
|
emailLabel?: string | undefined;
|
|
792
828
|
emailPlaceholder?: string | undefined;
|
|
829
|
+
resendCooldown?: number | undefined;
|
|
793
830
|
} | undefined;
|
|
794
831
|
qrCode?: {
|
|
795
832
|
enabled?: boolean | undefined;
|
|
@@ -797,35 +834,6 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
|
|
|
797
834
|
size?: number | undefined;
|
|
798
835
|
showManualEntry?: boolean | undefined;
|
|
799
836
|
} | undefined;
|
|
800
|
-
branding?: {
|
|
801
|
-
primaryColor?: string | undefined;
|
|
802
|
-
secondaryColor?: string | undefined;
|
|
803
|
-
logoUrl?: string | undefined;
|
|
804
|
-
companyName?: string | undefined;
|
|
805
|
-
} | undefined;
|
|
806
|
-
ui?: {
|
|
807
|
-
title?: string | undefined;
|
|
808
|
-
description?: string | undefined;
|
|
809
|
-
expirationText?: string | undefined;
|
|
810
|
-
cancelButtonText?: string | undefined;
|
|
811
|
-
submitButtonText?: string | undefined;
|
|
812
|
-
permissionsHeader?: string | undefined;
|
|
813
|
-
autoClose?: boolean | undefined;
|
|
814
|
-
popupEnabled?: boolean | undefined;
|
|
815
|
-
theme?: "light" | "dark" | "auto" | undefined;
|
|
816
|
-
} | undefined;
|
|
817
|
-
customFields?: {
|
|
818
|
-
type: "email" | "text" | "textarea" | "checkbox" | "select";
|
|
819
|
-
required: boolean;
|
|
820
|
-
label: string;
|
|
821
|
-
name: string;
|
|
822
|
-
options?: {
|
|
823
|
-
value: string;
|
|
824
|
-
label: string;
|
|
825
|
-
}[] | undefined;
|
|
826
|
-
placeholder?: string | undefined;
|
|
827
|
-
pattern?: string | undefined;
|
|
828
|
-
}[] | undefined;
|
|
829
837
|
expirationDays?: number | undefined;
|
|
830
838
|
metadata?: {
|
|
831
839
|
version?: number | undefined;
|
|
@@ -849,21 +857,21 @@ export declare const CredentialAuthRequestSchema: z.ZodObject<{
|
|
|
849
857
|
remember_me: z.ZodOptional<z.ZodBoolean>;
|
|
850
858
|
}, "strip", z.ZodTypeAny, {
|
|
851
859
|
provider: string;
|
|
852
|
-
password: string;
|
|
853
860
|
agent_did: string;
|
|
854
861
|
session_id: string;
|
|
855
862
|
project_id: string;
|
|
856
|
-
csrf_token: string;
|
|
857
863
|
username: string;
|
|
864
|
+
password: string;
|
|
865
|
+
csrf_token: string;
|
|
858
866
|
remember_me?: boolean | undefined;
|
|
859
867
|
}, {
|
|
860
868
|
provider: string;
|
|
861
|
-
password: string;
|
|
862
869
|
agent_did: string;
|
|
863
870
|
session_id: string;
|
|
864
871
|
project_id: string;
|
|
865
|
-
csrf_token: string;
|
|
866
872
|
username: string;
|
|
873
|
+
password: string;
|
|
874
|
+
csrf_token: string;
|
|
867
875
|
remember_me?: boolean | undefined;
|
|
868
876
|
}>;
|
|
869
877
|
export type CredentialAuthRequestSchemaType = z.infer<typeof CredentialAuthRequestSchema>;
|
|
@@ -892,23 +900,23 @@ export declare const CredentialAuthResponseSchema: z.ZodObject<{
|
|
|
892
900
|
error_code: z.ZodOptional<z.ZodString>;
|
|
893
901
|
}, "strip", z.ZodTypeAny, {
|
|
894
902
|
success: boolean;
|
|
895
|
-
error?: string | undefined;
|
|
896
903
|
oauth_identity?: {
|
|
897
904
|
provider: string;
|
|
898
905
|
subject: string;
|
|
899
906
|
email?: string | undefined;
|
|
900
907
|
name?: string | undefined;
|
|
901
908
|
} | undefined;
|
|
909
|
+
error?: string | undefined;
|
|
902
910
|
error_code?: string | undefined;
|
|
903
911
|
}, {
|
|
904
912
|
success: boolean;
|
|
905
|
-
error?: string | undefined;
|
|
906
913
|
oauth_identity?: {
|
|
907
914
|
provider: string;
|
|
908
915
|
subject: string;
|
|
909
916
|
email?: string | undefined;
|
|
910
917
|
name?: string | undefined;
|
|
911
918
|
} | undefined;
|
|
919
|
+
error?: string | undefined;
|
|
912
920
|
error_code?: string | undefined;
|
|
913
921
|
}>;
|
|
914
922
|
export type CredentialAuthResponseSchemaType = z.infer<typeof CredentialAuthResponseSchema>;
|