@kya-os/consent 0.1.8 → 0.1.9

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.
@@ -63,12 +63,12 @@ export declare const ConsentApprovalRequestSchema: z.ZodObject<{
63
63
  }, "strip", z.ZodTypeAny, {
64
64
  tool: string;
65
65
  scopes: string[];
66
+ termsAccepted: boolean;
66
67
  agent_did: string;
67
68
  session_id: string;
68
69
  project_id: string;
69
70
  auth_mode: "consent-only" | "credentials" | "oauth" | "magic-link" | "otp" | "qr-code" | "passkey" | "idv";
70
71
  provider_type: string;
71
- termsAccepted: boolean;
72
72
  customFields?: Record<string, string | boolean> | undefined;
73
73
  termsVersion?: string | undefined;
74
74
  oauth_identity?: {
@@ -81,13 +81,13 @@ export declare const ConsentApprovalRequestSchema: z.ZodObject<{
81
81
  }, {
82
82
  tool: string;
83
83
  scopes: string[];
84
+ termsAccepted: boolean;
84
85
  agent_did: string;
85
86
  session_id: string;
86
87
  project_id: string;
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;
90
+ customFields?: Record<string, string | boolean> | undefined;
91
91
  termsVersion?: string | undefined;
92
92
  oauth_identity?: {
93
93
  provider: string;
@@ -109,27 +109,27 @@ export declare const ConsentApprovalResponseSchema: z.ZodEffects<z.ZodObject<{
109
109
  error_code: z.ZodOptional<z.ZodString>;
110
110
  }, "strip", z.ZodTypeAny, {
111
111
  success: boolean;
112
+ error?: string | undefined;
112
113
  delegation_id?: string | undefined;
113
114
  delegation_token?: string | undefined;
114
- error?: string | undefined;
115
115
  error_code?: string | undefined;
116
116
  }, {
117
117
  success: boolean;
118
+ error?: string | undefined;
118
119
  delegation_id?: string | undefined;
119
120
  delegation_token?: string | undefined;
120
- error?: string | undefined;
121
121
  error_code?: string | undefined;
122
122
  }>, {
123
123
  success: boolean;
124
+ error?: string | undefined;
124
125
  delegation_id?: string | undefined;
125
126
  delegation_token?: string | undefined;
126
- error?: string | undefined;
127
127
  error_code?: string | undefined;
128
128
  }, {
129
129
  success: boolean;
130
+ error?: string | undefined;
130
131
  delegation_id?: string | undefined;
131
132
  delegation_token?: string | undefined;
132
- error?: string | undefined;
133
133
  error_code?: string | undefined;
134
134
  }>;
135
135
  export type ConsentApprovalResponseSchemaType = z.infer<typeof ConsentApprovalResponseSchema>;
@@ -210,17 +210,17 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
210
210
  redirectDelay: z.ZodOptional<z.ZodNumber>;
211
211
  continueButtonText: z.ZodOptional<z.ZodString>;
212
212
  }, "strip", z.ZodTypeAny, {
213
+ redirectUrl?: string | undefined;
213
214
  title?: string | undefined;
214
215
  description?: string | undefined;
215
216
  showCredential?: boolean | undefined;
216
- redirectUrl?: string | undefined;
217
217
  redirectDelay?: number | undefined;
218
218
  continueButtonText?: string | undefined;
219
219
  }, {
220
+ redirectUrl?: string | undefined;
220
221
  title?: string | undefined;
221
222
  description?: string | undefined;
222
223
  showCredential?: boolean | undefined;
223
- redirectUrl?: string | undefined;
224
224
  redirectDelay?: number | undefined;
225
225
  continueButtonText?: string | undefined;
226
226
  }>>;
@@ -242,7 +242,7 @@ 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
246
  required: boolean;
247
247
  label: string;
248
248
  name: string;
@@ -253,7 +253,7 @@ 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
257
  required: boolean;
258
258
  label: string;
259
259
  name: string;
@@ -264,7 +264,7 @@ 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
268
  required: boolean;
269
269
  label: string;
270
270
  name: string;
@@ -275,7 +275,7 @@ 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
279
  required: boolean;
280
280
  label: string;
281
281
  name: string;
@@ -295,21 +295,21 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
295
295
  showForgotPassword: z.ZodOptional<z.ZodBoolean>;
296
296
  forgotPasswordUrl: z.ZodOptional<z.ZodString>;
297
297
  }, "strip", z.ZodTypeAny, {
298
+ showForgotPassword?: boolean | undefined;
299
+ forgotPasswordUrl?: string | undefined;
298
300
  usernameLabel?: string | undefined;
299
301
  usernamePlaceholder?: string | undefined;
300
302
  passwordLabel?: string | undefined;
301
303
  passwordPlaceholder?: string | undefined;
302
304
  showRememberMe?: boolean | undefined;
305
+ }, {
303
306
  showForgotPassword?: boolean | undefined;
304
307
  forgotPasswordUrl?: string | undefined;
305
- }, {
306
308
  usernameLabel?: string | undefined;
307
309
  usernamePlaceholder?: string | undefined;
308
310
  passwordLabel?: string | undefined;
309
311
  passwordPlaceholder?: string | undefined;
310
312
  showRememberMe?: boolean | undefined;
311
- showForgotPassword?: boolean | undefined;
312
- forgotPasswordUrl?: string | undefined;
313
313
  }>>;
314
314
  oauth: z.ZodOptional<z.ZodObject<{
315
315
  providerId: z.ZodOptional<z.ZodString>;
@@ -331,17 +331,17 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
331
331
  buttonText: z.ZodOptional<z.ZodString>;
332
332
  resendCooldown: z.ZodOptional<z.ZodNumber>;
333
333
  }, "strip", z.ZodTypeAny, {
334
+ resendCooldown?: number | undefined;
334
335
  buttonText?: string | undefined;
335
336
  enabled?: boolean | undefined;
336
337
  emailLabel?: string | undefined;
337
338
  emailPlaceholder?: string | undefined;
338
- resendCooldown?: number | undefined;
339
339
  }, {
340
+ resendCooldown?: number | undefined;
340
341
  buttonText?: string | undefined;
341
342
  enabled?: boolean | undefined;
342
343
  emailLabel?: string | undefined;
343
344
  emailPlaceholder?: string | undefined;
344
- resendCooldown?: number | undefined;
345
345
  }>>;
346
346
  otp: z.ZodOptional<z.ZodObject<{
347
347
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -351,19 +351,19 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
351
351
  digits: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<8>]>>;
352
352
  resendCooldown: z.ZodOptional<z.ZodNumber>;
353
353
  }, "strip", z.ZodTypeAny, {
354
- enabled?: boolean | undefined;
355
354
  resendCooldown?: number | undefined;
355
+ enabled?: boolean | undefined;
356
356
  phoneLabel?: string | undefined;
357
357
  phonePlaceholder?: string | undefined;
358
358
  instructions?: string | undefined;
359
- digits?: 8 | 4 | 6 | undefined;
359
+ digits?: 4 | 6 | 8 | undefined;
360
360
  }, {
361
- enabled?: boolean | undefined;
362
361
  resendCooldown?: number | undefined;
362
+ enabled?: boolean | undefined;
363
363
  phoneLabel?: string | undefined;
364
364
  phonePlaceholder?: string | undefined;
365
365
  instructions?: string | undefined;
366
- digits?: 8 | 4 | 6 | undefined;
366
+ digits?: 4 | 6 | 8 | undefined;
367
367
  }>>;
368
368
  qrCode: z.ZodOptional<z.ZodObject<{
369
369
  enabled: z.ZodOptional<z.ZodBoolean>;
@@ -433,13 +433,13 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
433
433
  }>>;
434
434
  }, "strip", z.ZodTypeAny, {
435
435
  credentials?: {
436
+ showForgotPassword?: boolean | undefined;
437
+ forgotPasswordUrl?: string | undefined;
436
438
  usernameLabel?: string | undefined;
437
439
  usernamePlaceholder?: string | undefined;
438
440
  passwordLabel?: string | undefined;
439
441
  passwordPlaceholder?: string | undefined;
440
442
  showRememberMe?: boolean | undefined;
441
- showForgotPassword?: boolean | undefined;
442
- forgotPasswordUrl?: string | undefined;
443
443
  } | undefined;
444
444
  oauth?: {
445
445
  providerId?: string | undefined;
@@ -447,12 +447,12 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
447
447
  buttonText?: string | undefined;
448
448
  } | undefined;
449
449
  otp?: {
450
- enabled?: boolean | undefined;
451
450
  resendCooldown?: number | undefined;
451
+ enabled?: boolean | undefined;
452
452
  phoneLabel?: string | undefined;
453
453
  phonePlaceholder?: string | undefined;
454
454
  instructions?: string | undefined;
455
- digits?: 8 | 4 | 6 | undefined;
455
+ digits?: 4 | 6 | 8 | undefined;
456
456
  } | undefined;
457
457
  passkey?: {
458
458
  buttonText?: string | undefined;
@@ -467,12 +467,26 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
467
467
  verificationType?: "document" | "selfie" | "both" | undefined;
468
468
  estimatedTime?: string | undefined;
469
469
  } | undefined;
470
+ success?: {
471
+ redirectUrl?: string | undefined;
472
+ title?: string | undefined;
473
+ description?: string | undefined;
474
+ showCredential?: boolean | undefined;
475
+ redirectDelay?: number | undefined;
476
+ continueButtonText?: string | undefined;
477
+ } | undefined;
478
+ terms?: {
479
+ text?: string | undefined;
480
+ url?: string | undefined;
481
+ version?: string | undefined;
482
+ required?: boolean | undefined;
483
+ } | undefined;
470
484
  magicLink?: {
485
+ resendCooldown?: number | undefined;
471
486
  buttonText?: string | undefined;
472
487
  enabled?: boolean | undefined;
473
488
  emailLabel?: string | undefined;
474
489
  emailPlaceholder?: string | undefined;
475
- resendCooldown?: number | undefined;
476
490
  } | undefined;
477
491
  qrCode?: {
478
492
  enabled?: boolean | undefined;
@@ -497,22 +511,8 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
497
511
  popupEnabled?: boolean | undefined;
498
512
  theme?: "light" | "dark" | "auto" | undefined;
499
513
  } | undefined;
500
- terms?: {
501
- text?: string | undefined;
502
- url?: string | undefined;
503
- version?: string | undefined;
504
- required?: boolean | undefined;
505
- } | 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
514
  customFields?: {
515
- type: "text" | "textarea" | "checkbox" | "select" | "email";
515
+ type: "email" | "text" | "textarea" | "checkbox" | "select";
516
516
  required: boolean;
517
517
  label: string;
518
518
  name: string;
@@ -531,13 +531,13 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
531
531
  } | undefined;
532
532
  }, {
533
533
  credentials?: {
534
+ showForgotPassword?: boolean | undefined;
535
+ forgotPasswordUrl?: string | undefined;
534
536
  usernameLabel?: string | undefined;
535
537
  usernamePlaceholder?: string | undefined;
536
538
  passwordLabel?: string | undefined;
537
539
  passwordPlaceholder?: string | undefined;
538
540
  showRememberMe?: boolean | undefined;
539
- showForgotPassword?: boolean | undefined;
540
- forgotPasswordUrl?: string | undefined;
541
541
  } | undefined;
542
542
  oauth?: {
543
543
  providerId?: string | undefined;
@@ -545,12 +545,12 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
545
545
  buttonText?: string | undefined;
546
546
  } | undefined;
547
547
  otp?: {
548
- enabled?: boolean | undefined;
549
548
  resendCooldown?: number | undefined;
549
+ enabled?: boolean | undefined;
550
550
  phoneLabel?: string | undefined;
551
551
  phonePlaceholder?: string | undefined;
552
552
  instructions?: string | undefined;
553
- digits?: 8 | 4 | 6 | undefined;
553
+ digits?: 4 | 6 | 8 | undefined;
554
554
  } | undefined;
555
555
  passkey?: {
556
556
  buttonText?: string | undefined;
@@ -565,12 +565,26 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
565
565
  verificationType?: "document" | "selfie" | "both" | undefined;
566
566
  estimatedTime?: string | undefined;
567
567
  } | undefined;
568
+ success?: {
569
+ redirectUrl?: string | undefined;
570
+ title?: string | undefined;
571
+ description?: string | undefined;
572
+ showCredential?: boolean | undefined;
573
+ redirectDelay?: number | undefined;
574
+ continueButtonText?: string | undefined;
575
+ } | undefined;
576
+ terms?: {
577
+ text?: string | undefined;
578
+ url?: string | undefined;
579
+ version?: string | undefined;
580
+ required?: boolean | undefined;
581
+ } | undefined;
568
582
  magicLink?: {
583
+ resendCooldown?: number | undefined;
569
584
  buttonText?: string | undefined;
570
585
  enabled?: boolean | undefined;
571
586
  emailLabel?: string | undefined;
572
587
  emailPlaceholder?: string | undefined;
573
- resendCooldown?: number | undefined;
574
588
  } | undefined;
575
589
  qrCode?: {
576
590
  enabled?: boolean | undefined;
@@ -595,22 +609,8 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
595
609
  popupEnabled?: boolean | undefined;
596
610
  theme?: "light" | "dark" | "auto" | undefined;
597
611
  } | undefined;
598
- terms?: {
599
- text?: string | undefined;
600
- url?: string | undefined;
601
- version?: string | undefined;
602
- required?: boolean | undefined;
603
- } | 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
612
  customFields?: {
613
- type: "text" | "textarea" | "checkbox" | "select" | "email";
613
+ type: "email" | "text" | "textarea" | "checkbox" | "select";
614
614
  required: boolean;
615
615
  label: string;
616
616
  name: string;
@@ -634,13 +634,13 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
634
634
  error?: string | undefined;
635
635
  data?: {
636
636
  credentials?: {
637
+ showForgotPassword?: boolean | undefined;
638
+ forgotPasswordUrl?: string | undefined;
637
639
  usernameLabel?: string | undefined;
638
640
  usernamePlaceholder?: string | undefined;
639
641
  passwordLabel?: string | undefined;
640
642
  passwordPlaceholder?: string | undefined;
641
643
  showRememberMe?: boolean | undefined;
642
- showForgotPassword?: boolean | undefined;
643
- forgotPasswordUrl?: string | undefined;
644
644
  } | undefined;
645
645
  oauth?: {
646
646
  providerId?: string | undefined;
@@ -648,12 +648,12 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
648
648
  buttonText?: string | undefined;
649
649
  } | undefined;
650
650
  otp?: {
651
- enabled?: boolean | undefined;
652
651
  resendCooldown?: number | undefined;
652
+ enabled?: boolean | undefined;
653
653
  phoneLabel?: string | undefined;
654
654
  phonePlaceholder?: string | undefined;
655
655
  instructions?: string | undefined;
656
- digits?: 8 | 4 | 6 | undefined;
656
+ digits?: 4 | 6 | 8 | undefined;
657
657
  } | undefined;
658
658
  passkey?: {
659
659
  buttonText?: string | undefined;
@@ -668,12 +668,26 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
668
668
  verificationType?: "document" | "selfie" | "both" | undefined;
669
669
  estimatedTime?: string | undefined;
670
670
  } | undefined;
671
+ success?: {
672
+ redirectUrl?: string | undefined;
673
+ title?: string | undefined;
674
+ description?: string | undefined;
675
+ showCredential?: boolean | undefined;
676
+ redirectDelay?: number | undefined;
677
+ continueButtonText?: string | undefined;
678
+ } | undefined;
679
+ terms?: {
680
+ text?: string | undefined;
681
+ url?: string | undefined;
682
+ version?: string | undefined;
683
+ required?: boolean | undefined;
684
+ } | undefined;
671
685
  magicLink?: {
686
+ resendCooldown?: number | undefined;
672
687
  buttonText?: string | undefined;
673
688
  enabled?: boolean | undefined;
674
689
  emailLabel?: string | undefined;
675
690
  emailPlaceholder?: string | undefined;
676
- resendCooldown?: number | undefined;
677
691
  } | undefined;
678
692
  qrCode?: {
679
693
  enabled?: boolean | undefined;
@@ -698,22 +712,8 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
698
712
  popupEnabled?: boolean | undefined;
699
713
  theme?: "light" | "dark" | "auto" | undefined;
700
714
  } | undefined;
701
- terms?: {
702
- text?: string | undefined;
703
- url?: string | undefined;
704
- version?: string | undefined;
705
- required?: boolean | undefined;
706
- } | 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
715
  customFields?: {
716
- type: "text" | "textarea" | "checkbox" | "select" | "email";
716
+ type: "email" | "text" | "textarea" | "checkbox" | "select";
717
717
  required: boolean;
718
718
  label: string;
719
719
  name: string;
@@ -736,13 +736,13 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
736
736
  error?: string | undefined;
737
737
  data?: {
738
738
  credentials?: {
739
+ showForgotPassword?: boolean | undefined;
740
+ forgotPasswordUrl?: string | undefined;
739
741
  usernameLabel?: string | undefined;
740
742
  usernamePlaceholder?: string | undefined;
741
743
  passwordLabel?: string | undefined;
742
744
  passwordPlaceholder?: string | undefined;
743
745
  showRememberMe?: boolean | undefined;
744
- showForgotPassword?: boolean | undefined;
745
- forgotPasswordUrl?: string | undefined;
746
746
  } | undefined;
747
747
  oauth?: {
748
748
  providerId?: string | undefined;
@@ -750,12 +750,12 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
750
750
  buttonText?: string | undefined;
751
751
  } | undefined;
752
752
  otp?: {
753
- enabled?: boolean | undefined;
754
753
  resendCooldown?: number | undefined;
754
+ enabled?: boolean | undefined;
755
755
  phoneLabel?: string | undefined;
756
756
  phonePlaceholder?: string | undefined;
757
757
  instructions?: string | undefined;
758
- digits?: 8 | 4 | 6 | undefined;
758
+ digits?: 4 | 6 | 8 | undefined;
759
759
  } | undefined;
760
760
  passkey?: {
761
761
  buttonText?: string | undefined;
@@ -770,12 +770,26 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
770
770
  verificationType?: "document" | "selfie" | "both" | undefined;
771
771
  estimatedTime?: string | undefined;
772
772
  } | undefined;
773
+ success?: {
774
+ redirectUrl?: string | undefined;
775
+ title?: string | undefined;
776
+ description?: string | undefined;
777
+ showCredential?: boolean | undefined;
778
+ redirectDelay?: number | undefined;
779
+ continueButtonText?: string | undefined;
780
+ } | undefined;
781
+ terms?: {
782
+ text?: string | undefined;
783
+ url?: string | undefined;
784
+ version?: string | undefined;
785
+ required?: boolean | undefined;
786
+ } | undefined;
773
787
  magicLink?: {
788
+ resendCooldown?: number | undefined;
774
789
  buttonText?: string | undefined;
775
790
  enabled?: boolean | undefined;
776
791
  emailLabel?: string | undefined;
777
792
  emailPlaceholder?: string | undefined;
778
- resendCooldown?: number | undefined;
779
793
  } | undefined;
780
794
  qrCode?: {
781
795
  enabled?: boolean | undefined;
@@ -800,22 +814,8 @@ export declare const ConsentConfigAPIResponseSchema: z.ZodObject<{
800
814
  popupEnabled?: boolean | undefined;
801
815
  theme?: "light" | "dark" | "auto" | undefined;
802
816
  } | undefined;
803
- terms?: {
804
- text?: string | undefined;
805
- url?: string | undefined;
806
- version?: string | undefined;
807
- required?: boolean | undefined;
808
- } | 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
817
  customFields?: {
818
- type: "text" | "textarea" | "checkbox" | "select" | "email";
818
+ type: "email" | "text" | "textarea" | "checkbox" | "select";
819
819
  required: boolean;
820
820
  label: string;
821
821
  name: string;
@@ -892,23 +892,23 @@ export declare const CredentialAuthResponseSchema: z.ZodObject<{
892
892
  error_code: z.ZodOptional<z.ZodString>;
893
893
  }, "strip", z.ZodTypeAny, {
894
894
  success: boolean;
895
+ error?: string | undefined;
895
896
  oauth_identity?: {
896
897
  provider: string;
897
898
  subject: string;
898
899
  email?: string | undefined;
899
900
  name?: string | undefined;
900
901
  } | undefined;
901
- error?: string | undefined;
902
902
  error_code?: string | undefined;
903
903
  }, {
904
904
  success: boolean;
905
+ error?: string | undefined;
905
906
  oauth_identity?: {
906
907
  provider: string;
907
908
  subject: string;
908
909
  email?: string | undefined;
909
910
  name?: string | undefined;
910
911
  } | undefined;
911
- error?: string | undefined;
912
912
  error_code?: string | undefined;
913
913
  }>;
914
914
  export type CredentialAuthResponseSchemaType = z.infer<typeof CredentialAuthResponseSchema>;
@@ -930,49 +930,49 @@ export declare const ConsentPageConfigSchema: z.ZodEffects<z.ZodObject<{
930
930
  }, "strip", z.ZodTypeAny, {
931
931
  tool: string;
932
932
  scopes: string[];
933
- toolDescription: string;
934
933
  agentDid: string;
935
934
  sessionId: string;
936
935
  projectId: string;
937
936
  serverUrl: string;
938
- autoClose?: boolean | undefined;
937
+ toolDescription: string;
939
938
  provider?: string | undefined;
939
+ autoClose?: boolean | undefined;
940
940
  oauthRequired?: boolean | undefined;
941
941
  oauthUrl?: string | undefined;
942
942
  }, {
943
943
  tool: string;
944
944
  scopes: string[];
945
- toolDescription: string;
946
945
  agentDid: string;
947
946
  sessionId: string;
948
947
  projectId: string;
949
948
  serverUrl: string;
950
- autoClose?: boolean | undefined;
949
+ toolDescription: string;
951
950
  provider?: string | undefined;
951
+ autoClose?: boolean | undefined;
952
952
  oauthRequired?: boolean | undefined;
953
953
  oauthUrl?: string | undefined;
954
954
  }>, {
955
955
  tool: string;
956
956
  scopes: string[];
957
- toolDescription: string;
958
957
  agentDid: string;
959
958
  sessionId: string;
960
959
  projectId: string;
961
960
  serverUrl: string;
962
- autoClose?: boolean | undefined;
961
+ toolDescription: string;
963
962
  provider?: string | undefined;
963
+ autoClose?: boolean | undefined;
964
964
  oauthRequired?: boolean | undefined;
965
965
  oauthUrl?: string | undefined;
966
966
  }, {
967
967
  tool: string;
968
968
  scopes: string[];
969
- toolDescription: string;
970
969
  agentDid: string;
971
970
  sessionId: string;
972
971
  projectId: string;
973
972
  serverUrl: string;
974
- autoClose?: boolean | undefined;
973
+ toolDescription: string;
975
974
  provider?: string | undefined;
975
+ autoClose?: boolean | undefined;
976
976
  oauthRequired?: boolean | undefined;
977
977
  oauthUrl?: string | undefined;
978
978
  }>;