@kya-os/contracts 1.5.3-canary.14 → 1.5.3-canary.16
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/config/identity.d.ts +205 -2
- package/dist/config/identity.js +28 -0
- package/dist/config/index.d.ts +2 -1
- package/dist/config/tool-context.d.ts +34 -0
- package/dist/config/tool-context.js +13 -0
- package/dist/consent/schemas.d.ts +64 -59
- package/dist/consent/schemas.js +1 -0
- package/dist/dashboard-config/schemas.d.ts +964 -912
- package/dist/tool-protection/index.d.ts +24 -6
- package/dist/tool-protection/index.js +2 -1
- package/package.json +1 -1
|
@@ -37,14 +37,14 @@ export declare const consentTermsSchema: z.ZodObject<{
|
|
|
37
37
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
39
|
required: boolean;
|
|
40
|
+
version?: string | undefined;
|
|
40
41
|
text?: string | undefined;
|
|
41
42
|
url?: string | undefined;
|
|
42
|
-
version?: string | undefined;
|
|
43
43
|
}, {
|
|
44
|
+
required?: boolean | undefined;
|
|
45
|
+
version?: string | undefined;
|
|
44
46
|
text?: string | undefined;
|
|
45
47
|
url?: string | undefined;
|
|
46
|
-
version?: string | undefined;
|
|
47
|
-
required?: boolean | undefined;
|
|
48
48
|
}>;
|
|
49
49
|
export type ConsentTerms = z.infer<typeof consentTermsSchema>;
|
|
50
50
|
/**
|
|
@@ -83,8 +83,8 @@ export declare const consentCustomFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
83
83
|
}, "strip", z.ZodTypeAny, {
|
|
84
84
|
type: "text" | "textarea" | "checkbox" | "select";
|
|
85
85
|
required: boolean;
|
|
86
|
-
label: string;
|
|
87
86
|
name: string;
|
|
87
|
+
label: string;
|
|
88
88
|
options?: {
|
|
89
89
|
value: string;
|
|
90
90
|
label: string;
|
|
@@ -94,8 +94,8 @@ export declare const consentCustomFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
94
94
|
}, {
|
|
95
95
|
type: "text" | "textarea" | "checkbox" | "select";
|
|
96
96
|
required: boolean;
|
|
97
|
-
label: string;
|
|
98
97
|
name: string;
|
|
98
|
+
label: string;
|
|
99
99
|
options?: {
|
|
100
100
|
value: string;
|
|
101
101
|
label: string;
|
|
@@ -105,8 +105,8 @@ export declare const consentCustomFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
105
105
|
}>, {
|
|
106
106
|
type: "text" | "textarea" | "checkbox" | "select";
|
|
107
107
|
required: boolean;
|
|
108
|
-
label: string;
|
|
109
108
|
name: string;
|
|
109
|
+
label: string;
|
|
110
110
|
options?: {
|
|
111
111
|
value: string;
|
|
112
112
|
label: string;
|
|
@@ -116,8 +116,8 @@ export declare const consentCustomFieldSchema: z.ZodEffects<z.ZodObject<{
|
|
|
116
116
|
}, {
|
|
117
117
|
type: "text" | "textarea" | "checkbox" | "select";
|
|
118
118
|
required: boolean;
|
|
119
|
-
label: string;
|
|
120
119
|
name: string;
|
|
120
|
+
label: string;
|
|
121
121
|
options?: {
|
|
122
122
|
value: string;
|
|
123
123
|
label: string;
|
|
@@ -172,6 +172,7 @@ export declare const consentPageConfigSchema: z.ZodObject<{
|
|
|
172
172
|
agentDid: z.ZodString;
|
|
173
173
|
sessionId: z.ZodString;
|
|
174
174
|
projectId: z.ZodString;
|
|
175
|
+
provider: z.ZodOptional<z.ZodString>;
|
|
175
176
|
branding: z.ZodOptional<z.ZodObject<{
|
|
176
177
|
primaryColor: z.ZodOptional<z.ZodString>;
|
|
177
178
|
logoUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -195,14 +196,14 @@ export declare const consentPageConfigSchema: z.ZodObject<{
|
|
|
195
196
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
196
197
|
}, "strip", z.ZodTypeAny, {
|
|
197
198
|
required: boolean;
|
|
199
|
+
version?: string | undefined;
|
|
198
200
|
text?: string | undefined;
|
|
199
201
|
url?: string | undefined;
|
|
200
|
-
version?: string | undefined;
|
|
201
202
|
}, {
|
|
203
|
+
required?: boolean | undefined;
|
|
204
|
+
version?: string | undefined;
|
|
202
205
|
text?: string | undefined;
|
|
203
206
|
url?: string | undefined;
|
|
204
|
-
version?: string | undefined;
|
|
205
|
-
required?: boolean | undefined;
|
|
206
207
|
}>>;
|
|
207
208
|
customFields: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
208
209
|
name: z.ZodString;
|
|
@@ -224,8 +225,8 @@ export declare const consentPageConfigSchema: z.ZodObject<{
|
|
|
224
225
|
}, "strip", z.ZodTypeAny, {
|
|
225
226
|
type: "text" | "textarea" | "checkbox" | "select";
|
|
226
227
|
required: boolean;
|
|
227
|
-
label: string;
|
|
228
228
|
name: string;
|
|
229
|
+
label: string;
|
|
229
230
|
options?: {
|
|
230
231
|
value: string;
|
|
231
232
|
label: string;
|
|
@@ -235,8 +236,8 @@ export declare const consentPageConfigSchema: z.ZodObject<{
|
|
|
235
236
|
}, {
|
|
236
237
|
type: "text" | "textarea" | "checkbox" | "select";
|
|
237
238
|
required: boolean;
|
|
238
|
-
label: string;
|
|
239
239
|
name: string;
|
|
240
|
+
label: string;
|
|
240
241
|
options?: {
|
|
241
242
|
value: string;
|
|
242
243
|
label: string;
|
|
@@ -246,8 +247,8 @@ export declare const consentPageConfigSchema: z.ZodObject<{
|
|
|
246
247
|
}>, {
|
|
247
248
|
type: "text" | "textarea" | "checkbox" | "select";
|
|
248
249
|
required: boolean;
|
|
249
|
-
label: string;
|
|
250
250
|
name: string;
|
|
251
|
+
label: string;
|
|
251
252
|
options?: {
|
|
252
253
|
value: string;
|
|
253
254
|
label: string;
|
|
@@ -257,8 +258,8 @@ export declare const consentPageConfigSchema: z.ZodObject<{
|
|
|
257
258
|
}, {
|
|
258
259
|
type: "text" | "textarea" | "checkbox" | "select";
|
|
259
260
|
required: boolean;
|
|
260
|
-
label: string;
|
|
261
261
|
name: string;
|
|
262
|
+
label: string;
|
|
262
263
|
options?: {
|
|
263
264
|
value: string;
|
|
264
265
|
label: string;
|
|
@@ -269,13 +270,14 @@ export declare const consentPageConfigSchema: z.ZodObject<{
|
|
|
269
270
|
serverUrl: z.ZodString;
|
|
270
271
|
autoClose: z.ZodOptional<z.ZodBoolean>;
|
|
271
272
|
}, "strip", z.ZodTypeAny, {
|
|
273
|
+
agentDid: string;
|
|
274
|
+
serverUrl: string;
|
|
275
|
+
projectId: string;
|
|
272
276
|
tool: string;
|
|
273
277
|
toolDescription: string;
|
|
274
278
|
scopes: string[];
|
|
275
|
-
agentDid: string;
|
|
276
279
|
sessionId: string;
|
|
277
|
-
|
|
278
|
-
serverUrl: string;
|
|
280
|
+
provider?: string | undefined;
|
|
279
281
|
branding?: {
|
|
280
282
|
primaryColor?: string | undefined;
|
|
281
283
|
logoUrl?: string | undefined;
|
|
@@ -284,15 +286,15 @@ export declare const consentPageConfigSchema: z.ZodObject<{
|
|
|
284
286
|
} | undefined;
|
|
285
287
|
terms?: {
|
|
286
288
|
required: boolean;
|
|
289
|
+
version?: string | undefined;
|
|
287
290
|
text?: string | undefined;
|
|
288
291
|
url?: string | undefined;
|
|
289
|
-
version?: string | undefined;
|
|
290
292
|
} | undefined;
|
|
291
293
|
customFields?: {
|
|
292
294
|
type: "text" | "textarea" | "checkbox" | "select";
|
|
293
295
|
required: boolean;
|
|
294
|
-
label: string;
|
|
295
296
|
name: string;
|
|
297
|
+
label: string;
|
|
296
298
|
options?: {
|
|
297
299
|
value: string;
|
|
298
300
|
label: string;
|
|
@@ -302,13 +304,14 @@ export declare const consentPageConfigSchema: z.ZodObject<{
|
|
|
302
304
|
}[] | undefined;
|
|
303
305
|
autoClose?: boolean | undefined;
|
|
304
306
|
}, {
|
|
307
|
+
agentDid: string;
|
|
308
|
+
serverUrl: string;
|
|
309
|
+
projectId: string;
|
|
305
310
|
tool: string;
|
|
306
311
|
toolDescription: string;
|
|
307
312
|
scopes: string[];
|
|
308
|
-
agentDid: string;
|
|
309
313
|
sessionId: string;
|
|
310
|
-
|
|
311
|
-
serverUrl: string;
|
|
314
|
+
provider?: string | undefined;
|
|
312
315
|
branding?: {
|
|
313
316
|
primaryColor?: string | undefined;
|
|
314
317
|
logoUrl?: string | undefined;
|
|
@@ -316,16 +319,16 @@ export declare const consentPageConfigSchema: z.ZodObject<{
|
|
|
316
319
|
theme?: "light" | "dark" | "auto" | undefined;
|
|
317
320
|
} | undefined;
|
|
318
321
|
terms?: {
|
|
322
|
+
required?: boolean | undefined;
|
|
323
|
+
version?: string | undefined;
|
|
319
324
|
text?: string | undefined;
|
|
320
325
|
url?: string | undefined;
|
|
321
|
-
version?: string | undefined;
|
|
322
|
-
required?: boolean | undefined;
|
|
323
326
|
} | undefined;
|
|
324
327
|
customFields?: {
|
|
325
328
|
type: "text" | "textarea" | "checkbox" | "select";
|
|
326
329
|
required: boolean;
|
|
327
|
-
label: string;
|
|
328
330
|
name: string;
|
|
331
|
+
label: string;
|
|
329
332
|
options?: {
|
|
330
333
|
value: string;
|
|
331
334
|
label: string;
|
|
@@ -441,27 +444,27 @@ export declare const consentApprovalResponseSchema: z.ZodEffects<z.ZodObject<{
|
|
|
441
444
|
error_code: z.ZodOptional<z.ZodString>;
|
|
442
445
|
}, "strip", z.ZodTypeAny, {
|
|
443
446
|
success: boolean;
|
|
447
|
+
error?: string | undefined;
|
|
444
448
|
delegation_id?: string | undefined;
|
|
445
449
|
delegation_token?: string | undefined;
|
|
446
|
-
error?: string | undefined;
|
|
447
450
|
error_code?: string | undefined;
|
|
448
451
|
}, {
|
|
449
452
|
success: boolean;
|
|
453
|
+
error?: string | undefined;
|
|
450
454
|
delegation_id?: string | undefined;
|
|
451
455
|
delegation_token?: string | undefined;
|
|
452
|
-
error?: string | undefined;
|
|
453
456
|
error_code?: string | undefined;
|
|
454
457
|
}>, {
|
|
455
458
|
success: boolean;
|
|
459
|
+
error?: string | undefined;
|
|
456
460
|
delegation_id?: string | undefined;
|
|
457
461
|
delegation_token?: string | undefined;
|
|
458
|
-
error?: string | undefined;
|
|
459
462
|
error_code?: string | undefined;
|
|
460
463
|
}, {
|
|
461
464
|
success: boolean;
|
|
465
|
+
error?: string | undefined;
|
|
462
466
|
delegation_id?: string | undefined;
|
|
463
467
|
delegation_token?: string | undefined;
|
|
464
|
-
error?: string | undefined;
|
|
465
468
|
error_code?: string | undefined;
|
|
466
469
|
}>;
|
|
467
470
|
export type ConsentApprovalResponse = z.infer<typeof consentApprovalResponseSchema>;
|
|
@@ -492,14 +495,14 @@ export declare const consentConfigSchema: z.ZodObject<{
|
|
|
492
495
|
required: z.ZodDefault<z.ZodBoolean>;
|
|
493
496
|
}, "strip", z.ZodTypeAny, {
|
|
494
497
|
required: boolean;
|
|
498
|
+
version?: string | undefined;
|
|
495
499
|
text?: string | undefined;
|
|
496
500
|
url?: string | undefined;
|
|
497
|
-
version?: string | undefined;
|
|
498
501
|
}, {
|
|
502
|
+
required?: boolean | undefined;
|
|
503
|
+
version?: string | undefined;
|
|
499
504
|
text?: string | undefined;
|
|
500
505
|
url?: string | undefined;
|
|
501
|
-
version?: string | undefined;
|
|
502
|
-
required?: boolean | undefined;
|
|
503
506
|
}>>;
|
|
504
507
|
customFields: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
505
508
|
name: z.ZodString;
|
|
@@ -521,8 +524,8 @@ export declare const consentConfigSchema: z.ZodObject<{
|
|
|
521
524
|
}, "strip", z.ZodTypeAny, {
|
|
522
525
|
type: "text" | "textarea" | "checkbox" | "select";
|
|
523
526
|
required: boolean;
|
|
524
|
-
label: string;
|
|
525
527
|
name: string;
|
|
528
|
+
label: string;
|
|
526
529
|
options?: {
|
|
527
530
|
value: string;
|
|
528
531
|
label: string;
|
|
@@ -532,8 +535,8 @@ export declare const consentConfigSchema: z.ZodObject<{
|
|
|
532
535
|
}, {
|
|
533
536
|
type: "text" | "textarea" | "checkbox" | "select";
|
|
534
537
|
required: boolean;
|
|
535
|
-
label: string;
|
|
536
538
|
name: string;
|
|
539
|
+
label: string;
|
|
537
540
|
options?: {
|
|
538
541
|
value: string;
|
|
539
542
|
label: string;
|
|
@@ -543,8 +546,8 @@ export declare const consentConfigSchema: z.ZodObject<{
|
|
|
543
546
|
}>, {
|
|
544
547
|
type: "text" | "textarea" | "checkbox" | "select";
|
|
545
548
|
required: boolean;
|
|
546
|
-
label: string;
|
|
547
549
|
name: string;
|
|
550
|
+
label: string;
|
|
548
551
|
options?: {
|
|
549
552
|
value: string;
|
|
550
553
|
label: string;
|
|
@@ -554,8 +557,8 @@ export declare const consentConfigSchema: z.ZodObject<{
|
|
|
554
557
|
}, {
|
|
555
558
|
type: "text" | "textarea" | "checkbox" | "select";
|
|
556
559
|
required: boolean;
|
|
557
|
-
label: string;
|
|
558
560
|
name: string;
|
|
561
|
+
label: string;
|
|
559
562
|
options?: {
|
|
560
563
|
value: string;
|
|
561
564
|
label: string;
|
|
@@ -588,15 +591,15 @@ export declare const consentConfigSchema: z.ZodObject<{
|
|
|
588
591
|
} | undefined;
|
|
589
592
|
terms?: {
|
|
590
593
|
required: boolean;
|
|
594
|
+
version?: string | undefined;
|
|
591
595
|
text?: string | undefined;
|
|
592
596
|
url?: string | undefined;
|
|
593
|
-
version?: string | undefined;
|
|
594
597
|
} | undefined;
|
|
595
598
|
customFields?: {
|
|
596
599
|
type: "text" | "textarea" | "checkbox" | "select";
|
|
597
600
|
required: boolean;
|
|
598
|
-
label: string;
|
|
599
601
|
name: string;
|
|
602
|
+
label: string;
|
|
600
603
|
options?: {
|
|
601
604
|
value: string;
|
|
602
605
|
label: string;
|
|
@@ -618,16 +621,16 @@ export declare const consentConfigSchema: z.ZodObject<{
|
|
|
618
621
|
theme?: "light" | "dark" | "auto" | undefined;
|
|
619
622
|
} | undefined;
|
|
620
623
|
terms?: {
|
|
624
|
+
required?: boolean | undefined;
|
|
625
|
+
version?: string | undefined;
|
|
621
626
|
text?: string | undefined;
|
|
622
627
|
url?: string | undefined;
|
|
623
|
-
version?: string | undefined;
|
|
624
|
-
required?: boolean | undefined;
|
|
625
628
|
} | undefined;
|
|
626
629
|
customFields?: {
|
|
627
630
|
type: "text" | "textarea" | "checkbox" | "select";
|
|
628
631
|
required: boolean;
|
|
629
|
-
label: string;
|
|
630
632
|
name: string;
|
|
633
|
+
label: string;
|
|
631
634
|
options?: {
|
|
632
635
|
value: string;
|
|
633
636
|
label: string;
|
|
@@ -653,13 +656,14 @@ export type ConsentConfig = z.infer<typeof consentConfigSchema>;
|
|
|
653
656
|
* @returns Validation result
|
|
654
657
|
*/
|
|
655
658
|
export declare function validateConsentPageConfig(config: unknown): z.SafeParseReturnType<{
|
|
659
|
+
agentDid: string;
|
|
660
|
+
serverUrl: string;
|
|
661
|
+
projectId: string;
|
|
656
662
|
tool: string;
|
|
657
663
|
toolDescription: string;
|
|
658
664
|
scopes: string[];
|
|
659
|
-
agentDid: string;
|
|
660
665
|
sessionId: string;
|
|
661
|
-
|
|
662
|
-
serverUrl: string;
|
|
666
|
+
provider?: string | undefined;
|
|
663
667
|
branding?: {
|
|
664
668
|
primaryColor?: string | undefined;
|
|
665
669
|
logoUrl?: string | undefined;
|
|
@@ -667,16 +671,16 @@ export declare function validateConsentPageConfig(config: unknown): z.SafeParseR
|
|
|
667
671
|
theme?: "light" | "dark" | "auto" | undefined;
|
|
668
672
|
} | undefined;
|
|
669
673
|
terms?: {
|
|
674
|
+
required?: boolean | undefined;
|
|
675
|
+
version?: string | undefined;
|
|
670
676
|
text?: string | undefined;
|
|
671
677
|
url?: string | undefined;
|
|
672
|
-
version?: string | undefined;
|
|
673
|
-
required?: boolean | undefined;
|
|
674
678
|
} | undefined;
|
|
675
679
|
customFields?: {
|
|
676
680
|
type: "text" | "textarea" | "checkbox" | "select";
|
|
677
681
|
required: boolean;
|
|
678
|
-
label: string;
|
|
679
682
|
name: string;
|
|
683
|
+
label: string;
|
|
680
684
|
options?: {
|
|
681
685
|
value: string;
|
|
682
686
|
label: string;
|
|
@@ -686,13 +690,14 @@ export declare function validateConsentPageConfig(config: unknown): z.SafeParseR
|
|
|
686
690
|
}[] | undefined;
|
|
687
691
|
autoClose?: boolean | undefined;
|
|
688
692
|
}, {
|
|
693
|
+
agentDid: string;
|
|
694
|
+
serverUrl: string;
|
|
695
|
+
projectId: string;
|
|
689
696
|
tool: string;
|
|
690
697
|
toolDescription: string;
|
|
691
698
|
scopes: string[];
|
|
692
|
-
agentDid: string;
|
|
693
699
|
sessionId: string;
|
|
694
|
-
|
|
695
|
-
serverUrl: string;
|
|
700
|
+
provider?: string | undefined;
|
|
696
701
|
branding?: {
|
|
697
702
|
primaryColor?: string | undefined;
|
|
698
703
|
logoUrl?: string | undefined;
|
|
@@ -701,15 +706,15 @@ export declare function validateConsentPageConfig(config: unknown): z.SafeParseR
|
|
|
701
706
|
} | undefined;
|
|
702
707
|
terms?: {
|
|
703
708
|
required: boolean;
|
|
709
|
+
version?: string | undefined;
|
|
704
710
|
text?: string | undefined;
|
|
705
711
|
url?: string | undefined;
|
|
706
|
-
version?: string | undefined;
|
|
707
712
|
} | undefined;
|
|
708
713
|
customFields?: {
|
|
709
714
|
type: "text" | "textarea" | "checkbox" | "select";
|
|
710
715
|
required: boolean;
|
|
711
|
-
label: string;
|
|
712
716
|
name: string;
|
|
717
|
+
label: string;
|
|
713
718
|
options?: {
|
|
714
719
|
value: string;
|
|
715
720
|
label: string;
|
|
@@ -766,15 +771,15 @@ export declare function validateConsentApprovalRequest(request: unknown): z.Safe
|
|
|
766
771
|
*/
|
|
767
772
|
export declare function validateConsentApprovalResponse(response: unknown): z.SafeParseReturnType<{
|
|
768
773
|
success: boolean;
|
|
774
|
+
error?: string | undefined;
|
|
769
775
|
delegation_id?: string | undefined;
|
|
770
776
|
delegation_token?: string | undefined;
|
|
771
|
-
error?: string | undefined;
|
|
772
777
|
error_code?: string | undefined;
|
|
773
778
|
}, {
|
|
774
779
|
success: boolean;
|
|
780
|
+
error?: string | undefined;
|
|
775
781
|
delegation_id?: string | undefined;
|
|
776
782
|
delegation_token?: string | undefined;
|
|
777
|
-
error?: string | undefined;
|
|
778
783
|
error_code?: string | undefined;
|
|
779
784
|
}>;
|
|
780
785
|
/**
|
|
@@ -791,16 +796,16 @@ export declare function validateConsentConfig(config: unknown): z.SafeParseRetur
|
|
|
791
796
|
theme?: "light" | "dark" | "auto" | undefined;
|
|
792
797
|
} | undefined;
|
|
793
798
|
terms?: {
|
|
799
|
+
required?: boolean | undefined;
|
|
800
|
+
version?: string | undefined;
|
|
794
801
|
text?: string | undefined;
|
|
795
802
|
url?: string | undefined;
|
|
796
|
-
version?: string | undefined;
|
|
797
|
-
required?: boolean | undefined;
|
|
798
803
|
} | undefined;
|
|
799
804
|
customFields?: {
|
|
800
805
|
type: "text" | "textarea" | "checkbox" | "select";
|
|
801
806
|
required: boolean;
|
|
802
|
-
label: string;
|
|
803
807
|
name: string;
|
|
808
|
+
label: string;
|
|
804
809
|
options?: {
|
|
805
810
|
value: string;
|
|
806
811
|
label: string;
|
|
@@ -823,15 +828,15 @@ export declare function validateConsentConfig(config: unknown): z.SafeParseRetur
|
|
|
823
828
|
} | undefined;
|
|
824
829
|
terms?: {
|
|
825
830
|
required: boolean;
|
|
831
|
+
version?: string | undefined;
|
|
826
832
|
text?: string | undefined;
|
|
827
833
|
url?: string | undefined;
|
|
828
|
-
version?: string | undefined;
|
|
829
834
|
} | undefined;
|
|
830
835
|
customFields?: {
|
|
831
836
|
type: "text" | "textarea" | "checkbox" | "select";
|
|
832
837
|
required: boolean;
|
|
833
|
-
label: string;
|
|
834
838
|
name: string;
|
|
839
|
+
label: string;
|
|
835
840
|
options?: {
|
|
836
841
|
value: string;
|
|
837
842
|
label: string;
|
package/dist/consent/schemas.js
CHANGED
|
@@ -141,6 +141,7 @@ exports.consentPageConfigSchema = zod_1.z.object({
|
|
|
141
141
|
agentDid: zod_1.z.string().min(1, "Agent DID is required"),
|
|
142
142
|
sessionId: zod_1.z.string().min(1, "Session ID is required"),
|
|
143
143
|
projectId: zod_1.z.string().min(1, "Project ID is required"),
|
|
144
|
+
provider: zod_1.z.string().optional(), // Phase 2: OAuth provider name (e.g., "github", "google")
|
|
144
145
|
branding: exports.consentBrandingSchema.optional(),
|
|
145
146
|
terms: exports.consentTermsSchema.optional(),
|
|
146
147
|
customFields: zod_1.z
|