@kya-os/consent 0.1.36 → 0.1.37

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.
@@ -76,15 +76,12 @@ export declare const ConsentApprovalRequestSchema: z.ZodObject<{
76
76
  }, "strip", z.ZodTypeAny, {
77
77
  tool: string;
78
78
  scopes: string[];
79
- termsAccepted: boolean;
80
79
  agent_did: string;
81
80
  session_id: string;
82
81
  project_id: string;
83
82
  auth_mode: "consent-only" | "credentials" | "oauth" | "magic-link" | "otp" | "qr-code" | "passkey" | "idv";
84
83
  provider_type: string;
85
- user_did?: string | undefined;
86
- credential_user_email?: string | undefined;
87
- credential_provider_user_id?: string | undefined;
84
+ termsAccepted: boolean;
88
85
  customFields?: Record<string, string | boolean> | undefined;
89
86
  termsVersion?: string | undefined;
90
87
  oauth_identity?: {
@@ -93,19 +90,19 @@ export declare const ConsentApprovalRequestSchema: z.ZodObject<{
93
90
  email?: string | undefined;
94
91
  name?: string | undefined;
95
92
  } | null | undefined;
93
+ user_did?: string | undefined;
94
+ credential_user_email?: string | undefined;
95
+ credential_provider_user_id?: string | undefined;
96
96
  }, {
97
97
  tool: string;
98
98
  scopes: string[];
99
- termsAccepted: boolean;
100
99
  agent_did: string;
101
100
  session_id: string;
102
101
  project_id: string;
102
+ termsAccepted: boolean;
103
+ customFields?: Record<string, string | boolean> | undefined;
103
104
  auth_mode?: "consent-only" | "credentials" | "oauth" | "magic-link" | "otp" | "qr-code" | "passkey" | "idv" | undefined;
104
105
  provider_type?: string | undefined;
105
- user_did?: string | undefined;
106
- credential_user_email?: string | undefined;
107
- credential_provider_user_id?: string | undefined;
108
- customFields?: Record<string, string | boolean> | undefined;
109
106
  termsVersion?: string | undefined;
110
107
  oauth_identity?: {
111
108
  provider: string;
@@ -113,6 +110,9 @@ export declare const ConsentApprovalRequestSchema: z.ZodObject<{
113
110
  email?: string | undefined;
114
111
  name?: string | undefined;
115
112
  } | null | undefined;
113
+ user_did?: string | undefined;
114
+ credential_user_email?: string | undefined;
115
+ credential_provider_user_id?: string | undefined;
116
116
  }>;
117
117
  export type ConsentApprovalRequestSchemaType = z.infer<typeof ConsentApprovalRequestSchema>;
118
118
  /**
@@ -126,27 +126,27 @@ export declare const ConsentApprovalResponseSchema: z.ZodEffects<z.ZodObject<{
126
126
  error_code: z.ZodOptional<z.ZodString>;
127
127
  }, "strip", z.ZodTypeAny, {
128
128
  success: boolean;
129
- error?: string | undefined;
130
129
  delegation_id?: string | undefined;
131
130
  delegation_token?: string | undefined;
131
+ error?: string | undefined;
132
132
  error_code?: string | undefined;
133
133
  }, {
134
134
  success: boolean;
135
- error?: string | undefined;
136
135
  delegation_id?: string | undefined;
137
136
  delegation_token?: string | undefined;
137
+ error?: string | undefined;
138
138
  error_code?: string | undefined;
139
139
  }>, {
140
140
  success: boolean;
141
- error?: string | undefined;
142
141
  delegation_id?: string | undefined;
143
142
  delegation_token?: string | undefined;
143
+ error?: string | undefined;
144
144
  error_code?: string | undefined;
145
145
  }, {
146
146
  success: boolean;
147
- error?: string | undefined;
148
147
  delegation_id?: string | undefined;
149
148
  delegation_token?: string | undefined;
149
+ error?: string | undefined;
150
150
  error_code?: string | undefined;
151
151
  }>;
152
152
  export type ConsentApprovalResponseSchemaType = z.infer<typeof ConsentApprovalResponseSchema>;
@@ -227,17 +227,17 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
227
227
  redirectDelay: z.ZodOptional<z.ZodNumber>;
228
228
  continueButtonText: z.ZodOptional<z.ZodString>;
229
229
  }, "strip", z.ZodTypeAny, {
230
- redirectUrl?: string | undefined;
231
230
  title?: string | undefined;
232
231
  description?: string | undefined;
233
232
  showCredential?: boolean | undefined;
233
+ redirectUrl?: string | undefined;
234
234
  redirectDelay?: number | undefined;
235
235
  continueButtonText?: string | undefined;
236
236
  }, {
237
- redirectUrl?: string | undefined;
238
237
  title?: string | undefined;
239
238
  description?: string | undefined;
240
239
  showCredential?: boolean | undefined;
240
+ redirectUrl?: string | undefined;
241
241
  redirectDelay?: number | undefined;
242
242
  continueButtonText?: string | undefined;
243
243
  }>>;
@@ -259,7 +259,7 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
259
259
  }>, "many">>;
260
260
  pattern: z.ZodOptional<z.ZodString>;
261
261
  }, "strip", z.ZodTypeAny, {
262
- type: "email" | "text" | "textarea" | "checkbox" | "select";
262
+ type: "text" | "textarea" | "checkbox" | "select" | "email";
263
263
  required: boolean;
264
264
  label: string;
265
265
  name: string;
@@ -270,7 +270,7 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
270
270
  placeholder?: string | undefined;
271
271
  pattern?: string | undefined;
272
272
  }, {
273
- type: "email" | "text" | "textarea" | "checkbox" | "select";
273
+ type: "text" | "textarea" | "checkbox" | "select" | "email";
274
274
  required: boolean;
275
275
  label: string;
276
276
  name: string;
@@ -281,7 +281,7 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
281
281
  placeholder?: string | undefined;
282
282
  pattern?: string | undefined;
283
283
  }>, {
284
- type: "email" | "text" | "textarea" | "checkbox" | "select";
284
+ type: "text" | "textarea" | "checkbox" | "select" | "email";
285
285
  required: boolean;
286
286
  label: string;
287
287
  name: string;
@@ -292,7 +292,7 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
292
292
  placeholder?: string | undefined;
293
293
  pattern?: string | undefined;
294
294
  }, {
295
- type: "email" | "text" | "textarea" | "checkbox" | "select";
295
+ type: "text" | "textarea" | "checkbox" | "select" | "email";
296
296
  required: boolean;
297
297
  label: string;
298
298
  name: string;
@@ -312,21 +312,21 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
312
312
  showForgotPassword: z.ZodOptional<z.ZodBoolean>;
313
313
  forgotPasswordUrl: z.ZodOptional<z.ZodString>;
314
314
  }, "strip", z.ZodTypeAny, {
315
- showForgotPassword?: boolean | undefined;
316
- forgotPasswordUrl?: string | undefined;
317
315
  usernameLabel?: string | undefined;
318
316
  usernamePlaceholder?: string | undefined;
319
317
  passwordLabel?: string | undefined;
320
318
  passwordPlaceholder?: string | undefined;
321
319
  showRememberMe?: boolean | undefined;
322
- }, {
323
320
  showForgotPassword?: boolean | undefined;
324
321
  forgotPasswordUrl?: string | undefined;
322
+ }, {
325
323
  usernameLabel?: string | undefined;
326
324
  usernamePlaceholder?: string | undefined;
327
325
  passwordLabel?: string | undefined;
328
326
  passwordPlaceholder?: string | undefined;
329
327
  showRememberMe?: boolean | undefined;
328
+ showForgotPassword?: boolean | undefined;
329
+ forgotPasswordUrl?: string | undefined;
330
330
  }>>;
331
331
  oauth: z.ZodOptional<z.ZodObject<{
332
332
  providerId: z.ZodOptional<z.ZodString>;
@@ -348,17 +348,17 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
348
348
  buttonText: z.ZodOptional<z.ZodString>;
349
349
  resendCooldown: z.ZodOptional<z.ZodNumber>;
350
350
  }, "strip", z.ZodTypeAny, {
351
- resendCooldown?: number | undefined;
352
351
  buttonText?: string | undefined;
353
352
  enabled?: boolean | undefined;
354
353
  emailLabel?: string | undefined;
355
354
  emailPlaceholder?: string | undefined;
356
- }, {
357
355
  resendCooldown?: number | undefined;
356
+ }, {
358
357
  buttonText?: string | undefined;
359
358
  enabled?: boolean | undefined;
360
359
  emailLabel?: string | undefined;
361
360
  emailPlaceholder?: string | undefined;
361
+ resendCooldown?: number | undefined;
362
362
  }>>;
363
363
  otp: z.ZodOptional<z.ZodObject<{
364
364
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -368,19 +368,19 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
368
368
  digits: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<8>]>>;
369
369
  resendCooldown: z.ZodOptional<z.ZodNumber>;
370
370
  }, "strip", z.ZodTypeAny, {
371
- resendCooldown?: number | undefined;
372
371
  enabled?: boolean | undefined;
372
+ resendCooldown?: number | undefined;
373
373
  phoneLabel?: string | undefined;
374
374
  phonePlaceholder?: string | undefined;
375
375
  instructions?: string | undefined;
376
- digits?: 4 | 6 | 8 | undefined;
376
+ digits?: 8 | 4 | 6 | undefined;
377
377
  }, {
378
- resendCooldown?: number | undefined;
379
378
  enabled?: boolean | undefined;
379
+ resendCooldown?: number | undefined;
380
380
  phoneLabel?: string | undefined;
381
381
  phonePlaceholder?: string | undefined;
382
382
  instructions?: string | undefined;
383
- digits?: 4 | 6 | 8 | undefined;
383
+ digits?: 8 | 4 | 6 | undefined;
384
384
  }>>;
385
385
  qrCode: z.ZodOptional<z.ZodObject<{
386
386
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -450,13 +450,13 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
450
450
  }>>;
451
451
  }, "strip", z.ZodTypeAny, {
452
452
  credentials?: {
453
- showForgotPassword?: boolean | undefined;
454
- forgotPasswordUrl?: string | undefined;
455
453
  usernameLabel?: string | undefined;
456
454
  usernamePlaceholder?: string | undefined;
457
455
  passwordLabel?: string | undefined;
458
456
  passwordPlaceholder?: string | undefined;
459
457
  showRememberMe?: boolean | undefined;
458
+ showForgotPassword?: boolean | undefined;
459
+ forgotPasswordUrl?: string | undefined;
460
460
  } | undefined;
461
461
  oauth?: {
462
462
  providerId?: string | undefined;
@@ -464,12 +464,12 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
464
464
  buttonText?: string | undefined;
465
465
  } | undefined;
466
466
  otp?: {
467
- resendCooldown?: number | undefined;
468
467
  enabled?: boolean | undefined;
468
+ resendCooldown?: number | undefined;
469
469
  phoneLabel?: string | undefined;
470
470
  phonePlaceholder?: string | undefined;
471
471
  instructions?: string | undefined;
472
- digits?: 4 | 6 | 8 | undefined;
472
+ digits?: 8 | 4 | 6 | undefined;
473
473
  } | undefined;
474
474
  passkey?: {
475
475
  buttonText?: string | undefined;
@@ -484,26 +484,12 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
484
484
  verificationType?: "document" | "selfie" | "both" | undefined;
485
485
  estimatedTime?: string | undefined;
486
486
  } | undefined;
487
- success?: {
488
- redirectUrl?: string | undefined;
489
- title?: string | undefined;
490
- description?: string | undefined;
491
- showCredential?: boolean | undefined;
492
- redirectDelay?: number | undefined;
493
- continueButtonText?: string | undefined;
494
- } | undefined;
495
- terms?: {
496
- text?: string | undefined;
497
- url?: string | undefined;
498
- version?: string | undefined;
499
- required?: boolean | undefined;
500
- } | undefined;
501
487
  magicLink?: {
502
- resendCooldown?: number | undefined;
503
488
  buttonText?: string | undefined;
504
489
  enabled?: boolean | undefined;
505
490
  emailLabel?: string | undefined;
506
491
  emailPlaceholder?: string | undefined;
492
+ resendCooldown?: number | undefined;
507
493
  } | undefined;
508
494
  qrCode?: {
509
495
  enabled?: boolean | undefined;
@@ -528,8 +514,22 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
528
514
  popupEnabled?: boolean | undefined;
529
515
  theme?: "light" | "dark" | "auto" | undefined;
530
516
  } | undefined;
517
+ terms?: {
518
+ text?: string | undefined;
519
+ url?: string | undefined;
520
+ version?: string | undefined;
521
+ required?: boolean | undefined;
522
+ } | undefined;
523
+ success?: {
524
+ title?: string | undefined;
525
+ description?: string | undefined;
526
+ showCredential?: boolean | undefined;
527
+ redirectUrl?: string | undefined;
528
+ redirectDelay?: number | undefined;
529
+ continueButtonText?: string | undefined;
530
+ } | undefined;
531
531
  customFields?: {
532
- type: "email" | "text" | "textarea" | "checkbox" | "select";
532
+ type: "text" | "textarea" | "checkbox" | "select" | "email";
533
533
  required: boolean;
534
534
  label: string;
535
535
  name: string;
@@ -548,13 +548,13 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
548
548
  } | undefined;
549
549
  }, {
550
550
  credentials?: {
551
- showForgotPassword?: boolean | undefined;
552
- forgotPasswordUrl?: string | undefined;
553
551
  usernameLabel?: string | undefined;
554
552
  usernamePlaceholder?: string | undefined;
555
553
  passwordLabel?: string | undefined;
556
554
  passwordPlaceholder?: string | undefined;
557
555
  showRememberMe?: boolean | undefined;
556
+ showForgotPassword?: boolean | undefined;
557
+ forgotPasswordUrl?: string | undefined;
558
558
  } | undefined;
559
559
  oauth?: {
560
560
  providerId?: string | undefined;
@@ -562,12 +562,12 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
562
562
  buttonText?: string | undefined;
563
563
  } | undefined;
564
564
  otp?: {
565
- resendCooldown?: number | undefined;
566
565
  enabled?: boolean | undefined;
566
+ resendCooldown?: number | undefined;
567
567
  phoneLabel?: string | undefined;
568
568
  phonePlaceholder?: string | undefined;
569
569
  instructions?: string | undefined;
570
- digits?: 4 | 6 | 8 | undefined;
570
+ digits?: 8 | 4 | 6 | undefined;
571
571
  } | undefined;
572
572
  passkey?: {
573
573
  buttonText?: string | undefined;
@@ -582,26 +582,12 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
582
582
  verificationType?: "document" | "selfie" | "both" | undefined;
583
583
  estimatedTime?: string | undefined;
584
584
  } | undefined;
585
- success?: {
586
- redirectUrl?: string | undefined;
587
- title?: string | undefined;
588
- description?: string | undefined;
589
- showCredential?: boolean | undefined;
590
- redirectDelay?: number | undefined;
591
- continueButtonText?: string | undefined;
592
- } | undefined;
593
- terms?: {
594
- text?: string | undefined;
595
- url?: string | undefined;
596
- version?: string | undefined;
597
- required?: boolean | undefined;
598
- } | undefined;
599
585
  magicLink?: {
600
- resendCooldown?: number | undefined;
601
586
  buttonText?: string | undefined;
602
587
  enabled?: boolean | undefined;
603
588
  emailLabel?: string | undefined;
604
589
  emailPlaceholder?: string | undefined;
590
+ resendCooldown?: number | undefined;
605
591
  } | undefined;
606
592
  qrCode?: {
607
593
  enabled?: boolean | undefined;
@@ -626,8 +612,22 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
626
612
  popupEnabled?: boolean | undefined;
627
613
  theme?: "light" | "dark" | "auto" | undefined;
628
614
  } | undefined;
615
+ terms?: {
616
+ text?: string | undefined;
617
+ url?: string | undefined;
618
+ version?: string | undefined;
619
+ required?: boolean | undefined;
620
+ } | undefined;
621
+ success?: {
622
+ title?: string | undefined;
623
+ description?: string | undefined;
624
+ showCredential?: boolean | undefined;
625
+ redirectUrl?: string | undefined;
626
+ redirectDelay?: number | undefined;
627
+ continueButtonText?: string | undefined;
628
+ } | undefined;
629
629
  customFields?: {
630
- type: "email" | "text" | "textarea" | "checkbox" | "select";
630
+ type: "text" | "textarea" | "checkbox" | "select" | "email";
631
631
  required: boolean;
632
632
  label: string;
633
633
  name: string;
@@ -651,13 +651,13 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
651
651
  error?: string | undefined;
652
652
  data?: {
653
653
  credentials?: {
654
- showForgotPassword?: boolean | undefined;
655
- forgotPasswordUrl?: string | undefined;
656
654
  usernameLabel?: string | undefined;
657
655
  usernamePlaceholder?: string | undefined;
658
656
  passwordLabel?: string | undefined;
659
657
  passwordPlaceholder?: string | undefined;
660
658
  showRememberMe?: boolean | undefined;
659
+ showForgotPassword?: boolean | undefined;
660
+ forgotPasswordUrl?: string | undefined;
661
661
  } | undefined;
662
662
  oauth?: {
663
663
  providerId?: string | undefined;
@@ -665,12 +665,12 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
665
665
  buttonText?: string | undefined;
666
666
  } | undefined;
667
667
  otp?: {
668
- resendCooldown?: number | undefined;
669
668
  enabled?: boolean | undefined;
669
+ resendCooldown?: number | undefined;
670
670
  phoneLabel?: string | undefined;
671
671
  phonePlaceholder?: string | undefined;
672
672
  instructions?: string | undefined;
673
- digits?: 4 | 6 | 8 | undefined;
673
+ digits?: 8 | 4 | 6 | undefined;
674
674
  } | undefined;
675
675
  passkey?: {
676
676
  buttonText?: string | undefined;
@@ -685,26 +685,12 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
685
685
  verificationType?: "document" | "selfie" | "both" | undefined;
686
686
  estimatedTime?: string | undefined;
687
687
  } | undefined;
688
- success?: {
689
- redirectUrl?: string | undefined;
690
- title?: string | undefined;
691
- description?: string | undefined;
692
- showCredential?: boolean | undefined;
693
- redirectDelay?: number | undefined;
694
- continueButtonText?: string | undefined;
695
- } | undefined;
696
- terms?: {
697
- text?: string | undefined;
698
- url?: string | undefined;
699
- version?: string | undefined;
700
- required?: boolean | undefined;
701
- } | undefined;
702
688
  magicLink?: {
703
- resendCooldown?: number | undefined;
704
689
  buttonText?: string | undefined;
705
690
  enabled?: boolean | undefined;
706
691
  emailLabel?: string | undefined;
707
692
  emailPlaceholder?: string | undefined;
693
+ resendCooldown?: number | undefined;
708
694
  } | undefined;
709
695
  qrCode?: {
710
696
  enabled?: boolean | undefined;
@@ -729,8 +715,22 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
729
715
  popupEnabled?: boolean | undefined;
730
716
  theme?: "light" | "dark" | "auto" | undefined;
731
717
  } | undefined;
718
+ terms?: {
719
+ text?: string | undefined;
720
+ url?: string | undefined;
721
+ version?: string | undefined;
722
+ required?: boolean | undefined;
723
+ } | undefined;
724
+ success?: {
725
+ title?: string | undefined;
726
+ description?: string | undefined;
727
+ showCredential?: boolean | undefined;
728
+ redirectUrl?: string | undefined;
729
+ redirectDelay?: number | undefined;
730
+ continueButtonText?: string | undefined;
731
+ } | undefined;
732
732
  customFields?: {
733
- type: "email" | "text" | "textarea" | "checkbox" | "select";
733
+ type: "text" | "textarea" | "checkbox" | "select" | "email";
734
734
  required: boolean;
735
735
  label: string;
736
736
  name: string;
@@ -753,13 +753,13 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
753
753
  error?: string | undefined;
754
754
  data?: {
755
755
  credentials?: {
756
- showForgotPassword?: boolean | undefined;
757
- forgotPasswordUrl?: string | undefined;
758
756
  usernameLabel?: string | undefined;
759
757
  usernamePlaceholder?: string | undefined;
760
758
  passwordLabel?: string | undefined;
761
759
  passwordPlaceholder?: string | undefined;
762
760
  showRememberMe?: boolean | undefined;
761
+ showForgotPassword?: boolean | undefined;
762
+ forgotPasswordUrl?: string | undefined;
763
763
  } | undefined;
764
764
  oauth?: {
765
765
  providerId?: string | undefined;
@@ -767,12 +767,12 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
767
767
  buttonText?: string | undefined;
768
768
  } | undefined;
769
769
  otp?: {
770
- resendCooldown?: number | undefined;
771
770
  enabled?: boolean | undefined;
771
+ resendCooldown?: number | undefined;
772
772
  phoneLabel?: string | undefined;
773
773
  phonePlaceholder?: string | undefined;
774
774
  instructions?: string | undefined;
775
- digits?: 4 | 6 | 8 | undefined;
775
+ digits?: 8 | 4 | 6 | undefined;
776
776
  } | undefined;
777
777
  passkey?: {
778
778
  buttonText?: string | undefined;
@@ -787,26 +787,12 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
787
787
  verificationType?: "document" | "selfie" | "both" | undefined;
788
788
  estimatedTime?: string | undefined;
789
789
  } | undefined;
790
- success?: {
791
- redirectUrl?: string | undefined;
792
- title?: string | undefined;
793
- description?: string | undefined;
794
- showCredential?: boolean | undefined;
795
- redirectDelay?: number | undefined;
796
- continueButtonText?: string | undefined;
797
- } | undefined;
798
- terms?: {
799
- text?: string | undefined;
800
- url?: string | undefined;
801
- version?: string | undefined;
802
- required?: boolean | undefined;
803
- } | undefined;
804
790
  magicLink?: {
805
- resendCooldown?: number | undefined;
806
791
  buttonText?: string | undefined;
807
792
  enabled?: boolean | undefined;
808
793
  emailLabel?: string | undefined;
809
794
  emailPlaceholder?: string | undefined;
795
+ resendCooldown?: number | undefined;
810
796
  } | undefined;
811
797
  qrCode?: {
812
798
  enabled?: boolean | undefined;
@@ -831,8 +817,22 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
831
817
  popupEnabled?: boolean | undefined;
832
818
  theme?: "light" | "dark" | "auto" | undefined;
833
819
  } | undefined;
820
+ terms?: {
821
+ text?: string | undefined;
822
+ url?: string | undefined;
823
+ version?: string | undefined;
824
+ required?: boolean | undefined;
825
+ } | undefined;
826
+ success?: {
827
+ title?: string | undefined;
828
+ description?: string | undefined;
829
+ showCredential?: boolean | undefined;
830
+ redirectUrl?: string | undefined;
831
+ redirectDelay?: number | undefined;
832
+ continueButtonText?: string | undefined;
833
+ } | undefined;
834
834
  customFields?: {
835
- type: "email" | "text" | "textarea" | "checkbox" | "select";
835
+ type: "text" | "textarea" | "checkbox" | "select" | "email";
836
836
  required: boolean;
837
837
  label: string;
838
838
  name: string;
@@ -865,22 +865,22 @@ export declare const CredentialAuthRequestSchema: z.ZodObject<{
865
865
  provider: z.ZodString;
866
866
  remember_me: z.ZodOptional<z.ZodBoolean>;
867
867
  }, "strip", z.ZodTypeAny, {
868
- provider: string;
869
868
  password: string;
869
+ provider: string;
870
870
  agent_did: string;
871
871
  session_id: string;
872
872
  project_id: string;
873
- csrf_token: string;
874
873
  username: string;
874
+ csrf_token: string;
875
875
  remember_me?: boolean | undefined;
876
876
  }, {
877
- provider: string;
878
877
  password: string;
878
+ provider: string;
879
879
  agent_did: string;
880
880
  session_id: string;
881
881
  project_id: string;
882
- csrf_token: string;
883
882
  username: string;
883
+ csrf_token: string;
884
884
  remember_me?: boolean | undefined;
885
885
  }>;
886
886
  export type CredentialAuthRequestSchemaType = z.infer<typeof CredentialAuthRequestSchema>;
@@ -909,23 +909,23 @@ export declare const CredentialAuthResponseSchema: z.ZodObject<{
909
909
  error_code: z.ZodOptional<z.ZodString>;
910
910
  }, "strip", z.ZodTypeAny, {
911
911
  success: boolean;
912
- error?: string | undefined;
913
912
  oauth_identity?: {
914
913
  provider: string;
915
914
  subject: string;
916
915
  email?: string | undefined;
917
916
  name?: string | undefined;
918
917
  } | undefined;
918
+ error?: string | undefined;
919
919
  error_code?: string | undefined;
920
920
  }, {
921
921
  success: boolean;
922
- error?: string | undefined;
923
922
  oauth_identity?: {
924
923
  provider: string;
925
924
  subject: string;
926
925
  email?: string | undefined;
927
926
  name?: string | undefined;
928
927
  } | undefined;
928
+ error?: string | undefined;
929
929
  error_code?: string | undefined;
930
930
  }>;
931
931
  export type CredentialAuthResponseSchemaType = z.infer<typeof CredentialAuthResponseSchema>;
@@ -947,51 +947,51 @@ export declare const ConsentPageConfigSchema: z.ZodEffects<z.ZodObject<{
947
947
  }, "strip", z.ZodTypeAny, {
948
948
  tool: string;
949
949
  scopes: string[];
950
+ toolDescription: string;
950
951
  agentDid: string;
951
952
  sessionId: string;
952
953
  projectId: string;
953
954
  serverUrl: string;
954
- toolDescription: string;
955
- provider?: string | undefined;
956
- oauthUrl?: string | undefined;
957
955
  autoClose?: boolean | undefined;
956
+ provider?: string | undefined;
958
957
  oauthRequired?: boolean | undefined;
958
+ oauthUrl?: string | undefined;
959
959
  }, {
960
960
  tool: string;
961
961
  scopes: string[];
962
+ toolDescription: string;
962
963
  agentDid: string;
963
964
  sessionId: string;
964
965
  projectId: string;
965
966
  serverUrl: string;
966
- toolDescription: string;
967
- provider?: string | undefined;
968
- oauthUrl?: string | undefined;
969
967
  autoClose?: boolean | undefined;
968
+ provider?: string | undefined;
970
969
  oauthRequired?: boolean | undefined;
970
+ oauthUrl?: string | undefined;
971
971
  }>, {
972
972
  tool: string;
973
973
  scopes: string[];
974
+ toolDescription: string;
974
975
  agentDid: string;
975
976
  sessionId: string;
976
977
  projectId: string;
977
978
  serverUrl: string;
978
- toolDescription: string;
979
- provider?: string | undefined;
980
- oauthUrl?: string | undefined;
981
979
  autoClose?: boolean | undefined;
980
+ provider?: string | undefined;
982
981
  oauthRequired?: boolean | undefined;
982
+ oauthUrl?: string | undefined;
983
983
  }, {
984
984
  tool: string;
985
985
  scopes: string[];
986
+ toolDescription: string;
986
987
  agentDid: string;
987
988
  sessionId: string;
988
989
  projectId: string;
989
990
  serverUrl: string;
990
- toolDescription: string;
991
- provider?: string | undefined;
992
- oauthUrl?: string | undefined;
993
991
  autoClose?: boolean | undefined;
992
+ provider?: string | undefined;
994
993
  oauthRequired?: boolean | undefined;
994
+ oauthUrl?: string | undefined;
995
995
  }>;
996
996
  export type ConsentPageConfigSchemaType = z.infer<typeof ConsentPageConfigSchema>;
997
997
  /**