@kya-os/consent 0.1.3 → 0.1.6

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.
@@ -69,8 +69,8 @@ export declare const ConsentApprovalRequestSchema: z.ZodObject<{
69
69
  auth_mode: "consent-only" | "credentials" | "oauth" | "magic-link" | "otp" | "qr-code" | "passkey" | "idv";
70
70
  provider_type: string;
71
71
  termsAccepted: boolean;
72
- customFields?: Record<string, string | boolean> | undefined;
73
72
  termsVersion?: string | undefined;
73
+ customFields?: Record<string, string | boolean> | undefined;
74
74
  oauth_identity?: {
75
75
  provider: string;
76
76
  subject: string;
@@ -85,10 +85,10 @@ export declare const ConsentApprovalRequestSchema: z.ZodObject<{
85
85
  session_id: string;
86
86
  project_id: string;
87
87
  termsAccepted: boolean;
88
- customFields?: Record<string, string | boolean> | undefined;
89
88
  auth_mode?: "consent-only" | "credentials" | "oauth" | "magic-link" | "otp" | "qr-code" | "passkey" | "idv" | undefined;
90
89
  provider_type?: string | undefined;
91
90
  termsVersion?: string | undefined;
91
+ customFields?: Record<string, string | boolean> | undefined;
92
92
  oauth_identity?: {
93
93
  provider: string;
94
94
  subject: string;
@@ -242,10 +242,10 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
242
242
  }>, "many">>;
243
243
  pattern: z.ZodOptional<z.ZodString>;
244
244
  }, "strip", z.ZodTypeAny, {
245
- type: "text" | "textarea" | "checkbox" | "select" | "email";
245
+ type: "email" | "text" | "textarea" | "checkbox" | "select";
246
+ name: string;
246
247
  required: boolean;
247
248
  label: string;
248
- name: string;
249
249
  options?: {
250
250
  value: string;
251
251
  label: string;
@@ -253,10 +253,10 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
253
253
  placeholder?: string | undefined;
254
254
  pattern?: string | undefined;
255
255
  }, {
256
- type: "text" | "textarea" | "checkbox" | "select" | "email";
256
+ type: "email" | "text" | "textarea" | "checkbox" | "select";
257
+ name: string;
257
258
  required: boolean;
258
259
  label: string;
259
- name: string;
260
260
  options?: {
261
261
  value: string;
262
262
  label: string;
@@ -264,10 +264,10 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
264
264
  placeholder?: string | undefined;
265
265
  pattern?: string | undefined;
266
266
  }>, {
267
- type: "text" | "textarea" | "checkbox" | "select" | "email";
267
+ type: "email" | "text" | "textarea" | "checkbox" | "select";
268
+ name: string;
268
269
  required: boolean;
269
270
  label: string;
270
- name: string;
271
271
  options?: {
272
272
  value: string;
273
273
  label: string;
@@ -275,10 +275,10 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
275
275
  placeholder?: string | undefined;
276
276
  pattern?: string | undefined;
277
277
  }, {
278
- type: "text" | "textarea" | "checkbox" | "select" | "email";
278
+ type: "email" | "text" | "textarea" | "checkbox" | "select";
279
+ name: string;
279
280
  required: boolean;
280
281
  label: string;
281
- name: string;
282
282
  options?: {
283
283
  value: string;
284
284
  label: string;
@@ -480,6 +480,26 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
480
480
  size?: number | undefined;
481
481
  showManualEntry?: boolean | undefined;
482
482
  } | undefined;
483
+ customFields?: {
484
+ type: "email" | "text" | "textarea" | "checkbox" | "select";
485
+ name: string;
486
+ required: boolean;
487
+ label: string;
488
+ options?: {
489
+ value: string;
490
+ label: string;
491
+ }[] | undefined;
492
+ placeholder?: string | undefined;
493
+ pattern?: string | undefined;
494
+ }[] | undefined;
495
+ success?: {
496
+ title?: string | undefined;
497
+ description?: string | undefined;
498
+ showCredential?: boolean | undefined;
499
+ redirectUrl?: string | undefined;
500
+ redirectDelay?: number | undefined;
501
+ continueButtonText?: string | undefined;
502
+ } | undefined;
483
503
  branding?: {
484
504
  primaryColor?: string | undefined;
485
505
  secondaryColor?: string | undefined;
@@ -503,26 +523,6 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
503
523
  version?: string | undefined;
504
524
  required?: boolean | undefined;
505
525
  } | undefined;
506
- success?: {
507
- title?: string | undefined;
508
- description?: string | undefined;
509
- showCredential?: boolean | undefined;
510
- redirectUrl?: string | undefined;
511
- redirectDelay?: number | undefined;
512
- continueButtonText?: string | undefined;
513
- } | undefined;
514
- customFields?: {
515
- type: "text" | "textarea" | "checkbox" | "select" | "email";
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
526
  expirationDays?: number | undefined;
527
527
  metadata?: {
528
528
  version?: number | undefined;
@@ -578,6 +578,26 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
578
578
  size?: number | undefined;
579
579
  showManualEntry?: boolean | undefined;
580
580
  } | undefined;
581
+ customFields?: {
582
+ type: "email" | "text" | "textarea" | "checkbox" | "select";
583
+ name: string;
584
+ required: boolean;
585
+ label: string;
586
+ options?: {
587
+ value: string;
588
+ label: string;
589
+ }[] | undefined;
590
+ placeholder?: string | undefined;
591
+ pattern?: string | undefined;
592
+ }[] | undefined;
593
+ success?: {
594
+ title?: string | undefined;
595
+ description?: string | undefined;
596
+ showCredential?: boolean | undefined;
597
+ redirectUrl?: string | undefined;
598
+ redirectDelay?: number | undefined;
599
+ continueButtonText?: string | undefined;
600
+ } | undefined;
581
601
  branding?: {
582
602
  primaryColor?: string | undefined;
583
603
  secondaryColor?: string | undefined;
@@ -601,26 +621,6 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
601
621
  version?: string | undefined;
602
622
  required?: boolean | undefined;
603
623
  } | undefined;
604
- success?: {
605
- title?: string | undefined;
606
- description?: string | undefined;
607
- showCredential?: boolean | undefined;
608
- redirectUrl?: string | undefined;
609
- redirectDelay?: number | undefined;
610
- continueButtonText?: string | undefined;
611
- } | undefined;
612
- customFields?: {
613
- type: "text" | "textarea" | "checkbox" | "select" | "email";
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
624
  expirationDays?: number | undefined;
625
625
  metadata?: {
626
626
  version?: number | undefined;
@@ -681,6 +681,26 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
681
681
  size?: number | undefined;
682
682
  showManualEntry?: boolean | undefined;
683
683
  } | undefined;
684
+ customFields?: {
685
+ type: "email" | "text" | "textarea" | "checkbox" | "select";
686
+ name: string;
687
+ required: boolean;
688
+ label: string;
689
+ options?: {
690
+ value: string;
691
+ label: string;
692
+ }[] | undefined;
693
+ placeholder?: string | undefined;
694
+ pattern?: string | undefined;
695
+ }[] | undefined;
696
+ success?: {
697
+ title?: string | undefined;
698
+ description?: string | undefined;
699
+ showCredential?: boolean | undefined;
700
+ redirectUrl?: string | undefined;
701
+ redirectDelay?: number | undefined;
702
+ continueButtonText?: string | undefined;
703
+ } | undefined;
684
704
  branding?: {
685
705
  primaryColor?: string | undefined;
686
706
  secondaryColor?: string | undefined;
@@ -704,26 +724,6 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
704
724
  version?: string | undefined;
705
725
  required?: boolean | undefined;
706
726
  } | undefined;
707
- success?: {
708
- title?: string | undefined;
709
- description?: string | undefined;
710
- showCredential?: boolean | undefined;
711
- redirectUrl?: string | undefined;
712
- redirectDelay?: number | undefined;
713
- continueButtonText?: string | undefined;
714
- } | undefined;
715
- customFields?: {
716
- type: "text" | "textarea" | "checkbox" | "select" | "email";
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
727
  expirationDays?: number | undefined;
728
728
  metadata?: {
729
729
  version?: number | undefined;
@@ -783,6 +783,26 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
783
783
  size?: number | undefined;
784
784
  showManualEntry?: boolean | undefined;
785
785
  } | undefined;
786
+ customFields?: {
787
+ type: "email" | "text" | "textarea" | "checkbox" | "select";
788
+ name: string;
789
+ required: boolean;
790
+ label: string;
791
+ options?: {
792
+ value: string;
793
+ label: string;
794
+ }[] | undefined;
795
+ placeholder?: string | undefined;
796
+ pattern?: string | undefined;
797
+ }[] | undefined;
798
+ success?: {
799
+ title?: string | undefined;
800
+ description?: string | undefined;
801
+ showCredential?: boolean | undefined;
802
+ redirectUrl?: string | undefined;
803
+ redirectDelay?: number | undefined;
804
+ continueButtonText?: string | undefined;
805
+ } | undefined;
786
806
  branding?: {
787
807
  primaryColor?: string | undefined;
788
808
  secondaryColor?: string | undefined;
@@ -806,26 +826,6 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
806
826
  version?: string | undefined;
807
827
  required?: boolean | undefined;
808
828
  } | undefined;
809
- success?: {
810
- title?: string | undefined;
811
- description?: string | undefined;
812
- showCredential?: boolean | undefined;
813
- redirectUrl?: string | undefined;
814
- redirectDelay?: number | undefined;
815
- continueButtonText?: string | undefined;
816
- } | undefined;
817
- customFields?: {
818
- type: "text" | "textarea" | "checkbox" | "select" | "email";
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
829
  expirationDays?: number | undefined;
830
830
  metadata?: {
831
831
  version?: number | undefined;
@@ -935,8 +935,8 @@ export declare const ConsentPageConfigSchema: z.ZodEffects<z.ZodObject<{
935
935
  sessionId: string;
936
936
  projectId: string;
937
937
  serverUrl: string;
938
- autoClose?: boolean | undefined;
939
938
  provider?: string | undefined;
939
+ autoClose?: boolean | undefined;
940
940
  oauthRequired?: boolean | undefined;
941
941
  oauthUrl?: string | undefined;
942
942
  }, {
@@ -947,8 +947,8 @@ export declare const ConsentPageConfigSchema: z.ZodEffects<z.ZodObject<{
947
947
  sessionId: string;
948
948
  projectId: string;
949
949
  serverUrl: string;
950
- autoClose?: boolean | undefined;
951
950
  provider?: string | undefined;
951
+ autoClose?: boolean | undefined;
952
952
  oauthRequired?: boolean | undefined;
953
953
  oauthUrl?: string | undefined;
954
954
  }>, {
@@ -959,8 +959,8 @@ export declare const ConsentPageConfigSchema: z.ZodEffects<z.ZodObject<{
959
959
  sessionId: string;
960
960
  projectId: string;
961
961
  serverUrl: string;
962
- autoClose?: boolean | undefined;
963
962
  provider?: string | undefined;
963
+ autoClose?: boolean | undefined;
964
964
  oauthRequired?: boolean | undefined;
965
965
  oauthUrl?: string | undefined;
966
966
  }, {
@@ -971,8 +971,8 @@ export declare const ConsentPageConfigSchema: z.ZodEffects<z.ZodObject<{
971
971
  sessionId: string;
972
972
  projectId: string;
973
973
  serverUrl: string;
974
- autoClose?: boolean | undefined;
975
974
  provider?: string | undefined;
975
+ autoClose?: boolean | undefined;
976
976
  oauthRequired?: boolean | undefined;
977
977
  oauthUrl?: string | undefined;
978
978
  }>;
@@ -122,10 +122,10 @@ export declare const ConsentCustomFieldSchema: z.ZodEffects<z.ZodObject<{
122
122
  }>, "many">>;
123
123
  pattern: z.ZodOptional<z.ZodString>;
124
124
  }, "strip", z.ZodTypeAny, {
125
- type: "text" | "textarea" | "checkbox" | "select" | "email";
125
+ type: "email" | "text" | "textarea" | "checkbox" | "select";
126
+ name: string;
126
127
  required: boolean;
127
128
  label: string;
128
- name: string;
129
129
  options?: {
130
130
  value: string;
131
131
  label: string;
@@ -133,10 +133,10 @@ export declare const ConsentCustomFieldSchema: z.ZodEffects<z.ZodObject<{
133
133
  placeholder?: string | undefined;
134
134
  pattern?: string | undefined;
135
135
  }, {
136
- type: "text" | "textarea" | "checkbox" | "select" | "email";
136
+ type: "email" | "text" | "textarea" | "checkbox" | "select";
137
+ name: string;
137
138
  required: boolean;
138
139
  label: string;
139
- name: string;
140
140
  options?: {
141
141
  value: string;
142
142
  label: string;
@@ -144,10 +144,10 @@ export declare const ConsentCustomFieldSchema: z.ZodEffects<z.ZodObject<{
144
144
  placeholder?: string | undefined;
145
145
  pattern?: string | undefined;
146
146
  }>, {
147
- type: "text" | "textarea" | "checkbox" | "select" | "email";
147
+ type: "email" | "text" | "textarea" | "checkbox" | "select";
148
+ name: string;
148
149
  required: boolean;
149
150
  label: string;
150
- name: string;
151
151
  options?: {
152
152
  value: string;
153
153
  label: string;
@@ -155,10 +155,10 @@ export declare const ConsentCustomFieldSchema: z.ZodEffects<z.ZodObject<{
155
155
  placeholder?: string | undefined;
156
156
  pattern?: string | undefined;
157
157
  }, {
158
- type: "text" | "textarea" | "checkbox" | "select" | "email";
158
+ type: "email" | "text" | "textarea" | "checkbox" | "select";
159
+ name: string;
159
160
  required: boolean;
160
161
  label: string;
161
- name: string;
162
162
  options?: {
163
163
  value: string;
164
164
  label: string;
@@ -293,10 +293,10 @@ export declare const ConsentConfigSchema: z.ZodObject<{
293
293
  }>, "many">>;
294
294
  pattern: z.ZodOptional<z.ZodString>;
295
295
  }, "strip", z.ZodTypeAny, {
296
- type: "text" | "textarea" | "checkbox" | "select" | "email";
296
+ type: "email" | "text" | "textarea" | "checkbox" | "select";
297
+ name: string;
297
298
  required: boolean;
298
299
  label: string;
299
- name: string;
300
300
  options?: {
301
301
  value: string;
302
302
  label: string;
@@ -304,10 +304,10 @@ export declare const ConsentConfigSchema: z.ZodObject<{
304
304
  placeholder?: string | undefined;
305
305
  pattern?: string | undefined;
306
306
  }, {
307
- type: "text" | "textarea" | "checkbox" | "select" | "email";
307
+ type: "email" | "text" | "textarea" | "checkbox" | "select";
308
+ name: string;
308
309
  required: boolean;
309
310
  label: string;
310
- name: string;
311
311
  options?: {
312
312
  value: string;
313
313
  label: string;
@@ -315,10 +315,10 @@ export declare const ConsentConfigSchema: z.ZodObject<{
315
315
  placeholder?: string | undefined;
316
316
  pattern?: string | undefined;
317
317
  }>, {
318
- type: "text" | "textarea" | "checkbox" | "select" | "email";
318
+ type: "email" | "text" | "textarea" | "checkbox" | "select";
319
+ name: string;
319
320
  required: boolean;
320
321
  label: string;
321
- name: string;
322
322
  options?: {
323
323
  value: string;
324
324
  label: string;
@@ -326,10 +326,10 @@ export declare const ConsentConfigSchema: z.ZodObject<{
326
326
  placeholder?: string | undefined;
327
327
  pattern?: string | undefined;
328
328
  }, {
329
- type: "text" | "textarea" | "checkbox" | "select" | "email";
329
+ type: "email" | "text" | "textarea" | "checkbox" | "select";
330
+ name: string;
330
331
  required: boolean;
331
332
  label: string;
332
- name: string;
333
333
  options?: {
334
334
  value: string;
335
335
  label: string;
@@ -530,6 +530,26 @@ export declare const ConsentConfigSchema: z.ZodObject<{
530
530
  size?: number | undefined;
531
531
  showManualEntry?: boolean | undefined;
532
532
  } | undefined;
533
+ customFields?: {
534
+ type: "email" | "text" | "textarea" | "checkbox" | "select";
535
+ name: string;
536
+ required: boolean;
537
+ label: string;
538
+ options?: {
539
+ value: string;
540
+ label: string;
541
+ }[] | undefined;
542
+ placeholder?: string | undefined;
543
+ pattern?: string | undefined;
544
+ }[] | undefined;
545
+ success?: {
546
+ title?: string | undefined;
547
+ description?: string | undefined;
548
+ showCredential?: boolean | undefined;
549
+ redirectUrl?: string | undefined;
550
+ redirectDelay?: number | undefined;
551
+ continueButtonText?: string | undefined;
552
+ } | undefined;
533
553
  branding?: {
534
554
  primaryColor?: string | undefined;
535
555
  secondaryColor?: string | undefined;
@@ -553,26 +573,6 @@ export declare const ConsentConfigSchema: z.ZodObject<{
553
573
  version?: string | undefined;
554
574
  required?: boolean | undefined;
555
575
  } | undefined;
556
- success?: {
557
- title?: string | undefined;
558
- description?: string | undefined;
559
- showCredential?: boolean | undefined;
560
- redirectUrl?: string | undefined;
561
- redirectDelay?: number | undefined;
562
- continueButtonText?: string | undefined;
563
- } | undefined;
564
- customFields?: {
565
- type: "text" | "textarea" | "checkbox" | "select" | "email";
566
- required: boolean;
567
- label: string;
568
- name: string;
569
- options?: {
570
- value: string;
571
- label: string;
572
- }[] | undefined;
573
- placeholder?: string | undefined;
574
- pattern?: string | undefined;
575
- }[] | undefined;
576
576
  expirationDays?: number | undefined;
577
577
  metadata?: {
578
578
  version?: number | undefined;
@@ -628,6 +628,26 @@ export declare const ConsentConfigSchema: z.ZodObject<{
628
628
  size?: number | undefined;
629
629
  showManualEntry?: boolean | undefined;
630
630
  } | undefined;
631
+ customFields?: {
632
+ type: "email" | "text" | "textarea" | "checkbox" | "select";
633
+ name: string;
634
+ required: boolean;
635
+ label: string;
636
+ options?: {
637
+ value: string;
638
+ label: string;
639
+ }[] | undefined;
640
+ placeholder?: string | undefined;
641
+ pattern?: string | undefined;
642
+ }[] | undefined;
643
+ success?: {
644
+ title?: string | undefined;
645
+ description?: string | undefined;
646
+ showCredential?: boolean | undefined;
647
+ redirectUrl?: string | undefined;
648
+ redirectDelay?: number | undefined;
649
+ continueButtonText?: string | undefined;
650
+ } | undefined;
631
651
  branding?: {
632
652
  primaryColor?: string | undefined;
633
653
  secondaryColor?: string | undefined;
@@ -651,26 +671,6 @@ export declare const ConsentConfigSchema: z.ZodObject<{
651
671
  version?: string | undefined;
652
672
  required?: boolean | undefined;
653
673
  } | undefined;
654
- success?: {
655
- title?: string | undefined;
656
- description?: string | undefined;
657
- showCredential?: boolean | undefined;
658
- redirectUrl?: string | undefined;
659
- redirectDelay?: number | undefined;
660
- continueButtonText?: string | undefined;
661
- } | undefined;
662
- customFields?: {
663
- type: "text" | "textarea" | "checkbox" | "select" | "email";
664
- required: boolean;
665
- label: string;
666
- name: string;
667
- options?: {
668
- value: string;
669
- label: string;
670
- }[] | undefined;
671
- placeholder?: string | undefined;
672
- pattern?: string | undefined;
673
- }[] | undefined;
674
674
  expirationDays?: number | undefined;
675
675
  metadata?: {
676
676
  version?: number | undefined;
@@ -786,10 +786,10 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
786
786
  }>, "many">>;
787
787
  pattern: z.ZodOptional<z.ZodString>;
788
788
  }, "strip", z.ZodTypeAny, {
789
- type: "text" | "textarea" | "checkbox" | "select" | "email";
789
+ type: "email" | "text" | "textarea" | "checkbox" | "select";
790
+ name: string;
790
791
  required: boolean;
791
792
  label: string;
792
- name: string;
793
793
  options?: {
794
794
  value: string;
795
795
  label: string;
@@ -797,10 +797,10 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
797
797
  placeholder?: string | undefined;
798
798
  pattern?: string | undefined;
799
799
  }, {
800
- type: "text" | "textarea" | "checkbox" | "select" | "email";
800
+ type: "email" | "text" | "textarea" | "checkbox" | "select";
801
+ name: string;
801
802
  required: boolean;
802
803
  label: string;
803
- name: string;
804
804
  options?: {
805
805
  value: string;
806
806
  label: string;
@@ -808,10 +808,10 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
808
808
  placeholder?: string | undefined;
809
809
  pattern?: string | undefined;
810
810
  }>, {
811
- type: "text" | "textarea" | "checkbox" | "select" | "email";
811
+ type: "email" | "text" | "textarea" | "checkbox" | "select";
812
+ name: string;
812
813
  required: boolean;
813
814
  label: string;
814
- name: string;
815
815
  options?: {
816
816
  value: string;
817
817
  label: string;
@@ -819,10 +819,10 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
819
819
  placeholder?: string | undefined;
820
820
  pattern?: string | undefined;
821
821
  }, {
822
- type: "text" | "textarea" | "checkbox" | "select" | "email";
822
+ type: "email" | "text" | "textarea" | "checkbox" | "select";
823
+ name: string;
823
824
  required: boolean;
824
825
  label: string;
825
- name: string;
826
826
  options?: {
827
827
  value: string;
828
828
  label: string;
@@ -1024,6 +1024,26 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
1024
1024
  size?: number | undefined;
1025
1025
  showManualEntry?: boolean | undefined;
1026
1026
  } | undefined;
1027
+ customFields?: {
1028
+ type: "email" | "text" | "textarea" | "checkbox" | "select";
1029
+ name: string;
1030
+ required: boolean;
1031
+ label: string;
1032
+ options?: {
1033
+ value: string;
1034
+ label: string;
1035
+ }[] | undefined;
1036
+ placeholder?: string | undefined;
1037
+ pattern?: string | undefined;
1038
+ }[] | undefined;
1039
+ success?: {
1040
+ title?: string | undefined;
1041
+ description?: string | undefined;
1042
+ showCredential?: boolean | undefined;
1043
+ redirectUrl?: string | undefined;
1044
+ redirectDelay?: number | undefined;
1045
+ continueButtonText?: string | undefined;
1046
+ } | undefined;
1027
1047
  branding?: {
1028
1048
  primaryColor?: string | undefined;
1029
1049
  secondaryColor?: string | undefined;
@@ -1047,26 +1067,6 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
1047
1067
  version?: string | undefined;
1048
1068
  required?: boolean | undefined;
1049
1069
  } | undefined;
1050
- success?: {
1051
- title?: string | undefined;
1052
- description?: string | undefined;
1053
- showCredential?: boolean | undefined;
1054
- redirectUrl?: string | undefined;
1055
- redirectDelay?: number | undefined;
1056
- continueButtonText?: string | undefined;
1057
- } | undefined;
1058
- customFields?: {
1059
- type: "text" | "textarea" | "checkbox" | "select" | "email";
1060
- required: boolean;
1061
- label: string;
1062
- name: string;
1063
- options?: {
1064
- value: string;
1065
- label: string;
1066
- }[] | undefined;
1067
- placeholder?: string | undefined;
1068
- pattern?: string | undefined;
1069
- }[] | undefined;
1070
1070
  expirationDays?: number | undefined;
1071
1071
  metadata?: {
1072
1072
  version?: number | undefined;
@@ -1122,6 +1122,26 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
1122
1122
  size?: number | undefined;
1123
1123
  showManualEntry?: boolean | undefined;
1124
1124
  } | undefined;
1125
+ customFields?: {
1126
+ type: "email" | "text" | "textarea" | "checkbox" | "select";
1127
+ name: string;
1128
+ required: boolean;
1129
+ label: string;
1130
+ options?: {
1131
+ value: string;
1132
+ label: string;
1133
+ }[] | undefined;
1134
+ placeholder?: string | undefined;
1135
+ pattern?: string | undefined;
1136
+ }[] | undefined;
1137
+ success?: {
1138
+ title?: string | undefined;
1139
+ description?: string | undefined;
1140
+ showCredential?: boolean | undefined;
1141
+ redirectUrl?: string | undefined;
1142
+ redirectDelay?: number | undefined;
1143
+ continueButtonText?: string | undefined;
1144
+ } | undefined;
1125
1145
  branding?: {
1126
1146
  primaryColor?: string | undefined;
1127
1147
  secondaryColor?: string | undefined;
@@ -1145,26 +1165,6 @@ export declare const ConsentConfigWithMetaSchema: z.ZodObject<{
1145
1165
  version?: string | undefined;
1146
1166
  required?: boolean | undefined;
1147
1167
  } | undefined;
1148
- success?: {
1149
- title?: string | undefined;
1150
- description?: string | undefined;
1151
- showCredential?: boolean | undefined;
1152
- redirectUrl?: string | undefined;
1153
- redirectDelay?: number | undefined;
1154
- continueButtonText?: string | undefined;
1155
- } | undefined;
1156
- customFields?: {
1157
- type: "text" | "textarea" | "checkbox" | "select" | "email";
1158
- required: boolean;
1159
- label: string;
1160
- name: string;
1161
- options?: {
1162
- value: string;
1163
- label: string;
1164
- }[] | undefined;
1165
- placeholder?: string | undefined;
1166
- pattern?: string | undefined;
1167
- }[] | undefined;
1168
1168
  expirationDays?: number | undefined;
1169
1169
  metadata?: {
1170
1170
  version?: number | undefined;