@openid4vc/openid4vci 0.3.0-alpha-20251120111954 → 0.3.0-alpha-20251121092537
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/index.cjs +189 -181
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +93 -361
- package/dist/index.d.mts +93 -361
- package/dist/index.mjs +190 -182
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -54,13 +54,13 @@ declare const zCredentialConfigurationSupportedCommon: z.ZodObject<{
|
|
|
54
54
|
name: z.ZodString;
|
|
55
55
|
locale: z.ZodOptional<z.ZodString>;
|
|
56
56
|
logo: z.ZodOptional<z.ZodObject<{
|
|
57
|
-
uri: z.ZodOptional<z.ZodString
|
|
57
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
58
58
|
alt_text: z.ZodOptional<z.ZodString>;
|
|
59
59
|
}, z.core.$loose>>;
|
|
60
60
|
description: z.ZodOptional<z.ZodString>;
|
|
61
61
|
background_color: z.ZodOptional<z.ZodString>;
|
|
62
62
|
background_image: z.ZodOptional<z.ZodObject<{
|
|
63
|
-
uri: z.ZodOptional<z.ZodString
|
|
63
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
64
64
|
}, z.core.$loose>>;
|
|
65
65
|
text_color: z.ZodOptional<z.ZodString>;
|
|
66
66
|
}, z.core.$loose>>>;
|
|
@@ -96,13 +96,13 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
96
96
|
name: z.ZodString;
|
|
97
97
|
locale: z.ZodOptional<z.ZodString>;
|
|
98
98
|
logo: z.ZodOptional<z.ZodObject<{
|
|
99
|
-
uri: z.ZodOptional<z.ZodString
|
|
99
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
100
100
|
alt_text: z.ZodOptional<z.ZodString>;
|
|
101
101
|
}, z.core.$loose>>;
|
|
102
102
|
description: z.ZodOptional<z.ZodString>;
|
|
103
103
|
background_color: z.ZodOptional<z.ZodString>;
|
|
104
104
|
background_image: z.ZodOptional<z.ZodObject<{
|
|
105
|
-
uri: z.ZodOptional<z.ZodString
|
|
105
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
106
106
|
}, z.core.$loose>>;
|
|
107
107
|
text_color: z.ZodOptional<z.ZodString>;
|
|
108
108
|
}, z.core.$loose>>>;
|
|
@@ -143,13 +143,13 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
143
143
|
name: z.ZodString;
|
|
144
144
|
locale: z.ZodOptional<z.ZodString>;
|
|
145
145
|
logo: z.ZodOptional<z.ZodObject<{
|
|
146
|
-
uri: z.ZodOptional<z.ZodString
|
|
146
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
147
147
|
alt_text: z.ZodOptional<z.ZodString>;
|
|
148
148
|
}, z.core.$loose>>;
|
|
149
149
|
description: z.ZodOptional<z.ZodString>;
|
|
150
150
|
background_color: z.ZodOptional<z.ZodString>;
|
|
151
151
|
background_image: z.ZodOptional<z.ZodObject<{
|
|
152
|
-
uri: z.ZodOptional<z.ZodString
|
|
152
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
153
153
|
}, z.core.$loose>>;
|
|
154
154
|
text_color: z.ZodOptional<z.ZodString>;
|
|
155
155
|
}, z.core.$loose>>>;
|
|
@@ -193,13 +193,13 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
193
193
|
name: z.ZodString;
|
|
194
194
|
locale: z.ZodOptional<z.ZodString>;
|
|
195
195
|
logo: z.ZodOptional<z.ZodObject<{
|
|
196
|
-
uri: z.ZodOptional<z.ZodString
|
|
196
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
197
197
|
alt_text: z.ZodOptional<z.ZodString>;
|
|
198
198
|
}, z.core.$loose>>;
|
|
199
199
|
description: z.ZodOptional<z.ZodString>;
|
|
200
200
|
background_color: z.ZodOptional<z.ZodString>;
|
|
201
201
|
background_image: z.ZodOptional<z.ZodObject<{
|
|
202
|
-
uri: z.ZodOptional<z.ZodString
|
|
202
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
203
203
|
}, z.core.$loose>>;
|
|
204
204
|
text_color: z.ZodOptional<z.ZodString>;
|
|
205
205
|
}, z.core.$loose>>>;
|
|
@@ -243,13 +243,13 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
243
243
|
name: z.ZodString;
|
|
244
244
|
locale: z.ZodOptional<z.ZodString>;
|
|
245
245
|
logo: z.ZodOptional<z.ZodObject<{
|
|
246
|
-
uri: z.ZodOptional<z.ZodString
|
|
246
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
247
247
|
alt_text: z.ZodOptional<z.ZodString>;
|
|
248
248
|
}, z.core.$loose>>;
|
|
249
249
|
description: z.ZodOptional<z.ZodString>;
|
|
250
250
|
background_color: z.ZodOptional<z.ZodString>;
|
|
251
251
|
background_image: z.ZodOptional<z.ZodObject<{
|
|
252
|
-
uri: z.ZodOptional<z.ZodString
|
|
252
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
253
253
|
}, z.core.$loose>>;
|
|
254
254
|
text_color: z.ZodOptional<z.ZodString>;
|
|
255
255
|
}, z.core.$loose>>>;
|
|
@@ -292,13 +292,13 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
292
292
|
name: z.ZodString;
|
|
293
293
|
locale: z.ZodOptional<z.ZodString>;
|
|
294
294
|
logo: z.ZodOptional<z.ZodObject<{
|
|
295
|
-
uri: z.ZodOptional<z.ZodString
|
|
295
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
296
296
|
alt_text: z.ZodOptional<z.ZodString>;
|
|
297
297
|
}, z.core.$loose>>;
|
|
298
298
|
description: z.ZodOptional<z.ZodString>;
|
|
299
299
|
background_color: z.ZodOptional<z.ZodString>;
|
|
300
300
|
background_image: z.ZodOptional<z.ZodObject<{
|
|
301
|
-
uri: z.ZodOptional<z.ZodString
|
|
301
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
302
302
|
}, z.core.$loose>>;
|
|
303
303
|
text_color: z.ZodOptional<z.ZodString>;
|
|
304
304
|
}, z.core.$loose>>>;
|
|
@@ -341,13 +341,13 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
341
341
|
name: z.ZodString;
|
|
342
342
|
locale: z.ZodOptional<z.ZodString>;
|
|
343
343
|
logo: z.ZodOptional<z.ZodObject<{
|
|
344
|
-
uri: z.ZodOptional<z.ZodString
|
|
344
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
345
345
|
alt_text: z.ZodOptional<z.ZodString>;
|
|
346
346
|
}, z.core.$loose>>;
|
|
347
347
|
description: z.ZodOptional<z.ZodString>;
|
|
348
348
|
background_color: z.ZodOptional<z.ZodString>;
|
|
349
349
|
background_image: z.ZodOptional<z.ZodObject<{
|
|
350
|
-
uri: z.ZodOptional<z.ZodString
|
|
350
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
351
351
|
}, z.core.$loose>>;
|
|
352
352
|
text_color: z.ZodOptional<z.ZodString>;
|
|
353
353
|
}, z.core.$loose>>>;
|
|
@@ -386,13 +386,13 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
386
386
|
name: z.ZodString;
|
|
387
387
|
locale: z.ZodOptional<z.ZodString>;
|
|
388
388
|
logo: z.ZodOptional<z.ZodObject<{
|
|
389
|
-
uri: z.ZodOptional<z.ZodString
|
|
389
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
390
390
|
alt_text: z.ZodOptional<z.ZodString>;
|
|
391
391
|
}, z.core.$loose>>;
|
|
392
392
|
description: z.ZodOptional<z.ZodString>;
|
|
393
393
|
background_color: z.ZodOptional<z.ZodString>;
|
|
394
394
|
background_image: z.ZodOptional<z.ZodObject<{
|
|
395
|
-
uri: z.ZodOptional<z.ZodString
|
|
395
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
396
396
|
}, z.core.$loose>>;
|
|
397
397
|
text_color: z.ZodOptional<z.ZodString>;
|
|
398
398
|
}, z.core.$loose>>>;
|
|
@@ -439,13 +439,13 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
439
439
|
name: z.ZodString;
|
|
440
440
|
locale: z.ZodOptional<z.ZodString>;
|
|
441
441
|
logo: z.ZodOptional<z.ZodObject<{
|
|
442
|
-
uri: z.ZodOptional<z.ZodString
|
|
442
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
443
443
|
alt_text: z.ZodOptional<z.ZodString>;
|
|
444
444
|
}, z.core.$loose>>;
|
|
445
445
|
description: z.ZodOptional<z.ZodString>;
|
|
446
446
|
background_color: z.ZodOptional<z.ZodString>;
|
|
447
447
|
background_image: z.ZodOptional<z.ZodObject<{
|
|
448
|
-
uri: z.ZodOptional<z.ZodString
|
|
448
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
449
449
|
}, z.core.$loose>>;
|
|
450
450
|
text_color: z.ZodOptional<z.ZodString>;
|
|
451
451
|
}, z.core.$loose>>>;
|
|
@@ -484,13 +484,13 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
484
484
|
name: z.ZodString;
|
|
485
485
|
locale: z.ZodOptional<z.ZodString>;
|
|
486
486
|
logo: z.ZodOptional<z.ZodObject<{
|
|
487
|
-
uri: z.ZodOptional<z.ZodString
|
|
487
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
488
488
|
alt_text: z.ZodOptional<z.ZodString>;
|
|
489
489
|
}, z.core.$loose>>;
|
|
490
490
|
description: z.ZodOptional<z.ZodString>;
|
|
491
491
|
background_color: z.ZodOptional<z.ZodString>;
|
|
492
492
|
background_image: z.ZodOptional<z.ZodObject<{
|
|
493
|
-
uri: z.ZodOptional<z.ZodString
|
|
493
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
494
494
|
}, z.core.$loose>>;
|
|
495
495
|
text_color: z.ZodOptional<z.ZodString>;
|
|
496
496
|
}, z.core.$loose>>>;
|
|
@@ -530,13 +530,13 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
530
530
|
name: z.ZodString;
|
|
531
531
|
locale: z.ZodOptional<z.ZodString>;
|
|
532
532
|
logo: z.ZodOptional<z.ZodObject<{
|
|
533
|
-
uri: z.ZodOptional<z.ZodString
|
|
533
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
534
534
|
alt_text: z.ZodOptional<z.ZodString>;
|
|
535
535
|
}, z.core.$loose>>;
|
|
536
536
|
description: z.ZodOptional<z.ZodString>;
|
|
537
537
|
background_color: z.ZodOptional<z.ZodString>;
|
|
538
538
|
background_image: z.ZodOptional<z.ZodObject<{
|
|
539
|
-
uri: z.ZodOptional<z.ZodString
|
|
539
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
540
540
|
}, z.core.$loose>>;
|
|
541
541
|
text_color: z.ZodOptional<z.ZodString>;
|
|
542
542
|
}, z.core.$loose>>>;
|
|
@@ -576,13 +576,13 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
576
576
|
name: z.ZodString;
|
|
577
577
|
locale: z.ZodOptional<z.ZodString>;
|
|
578
578
|
logo: z.ZodOptional<z.ZodObject<{
|
|
579
|
-
uri: z.ZodOptional<z.ZodString
|
|
579
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
580
580
|
alt_text: z.ZodOptional<z.ZodString>;
|
|
581
581
|
}, z.core.$loose>>;
|
|
582
582
|
description: z.ZodOptional<z.ZodString>;
|
|
583
583
|
background_color: z.ZodOptional<z.ZodString>;
|
|
584
584
|
background_image: z.ZodOptional<z.ZodObject<{
|
|
585
|
-
uri: z.ZodOptional<z.ZodString
|
|
585
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
586
586
|
}, z.core.$loose>>;
|
|
587
587
|
text_color: z.ZodOptional<z.ZodString>;
|
|
588
588
|
}, z.core.$loose>>>;
|
|
@@ -625,13 +625,13 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
625
625
|
name: z.ZodString;
|
|
626
626
|
locale: z.ZodOptional<z.ZodString>;
|
|
627
627
|
logo: z.ZodOptional<z.ZodObject<{
|
|
628
|
-
uri: z.ZodOptional<z.ZodString
|
|
628
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
629
629
|
alt_text: z.ZodOptional<z.ZodString>;
|
|
630
630
|
}, z.core.$loose>>;
|
|
631
631
|
description: z.ZodOptional<z.ZodString>;
|
|
632
632
|
background_color: z.ZodOptional<z.ZodString>;
|
|
633
633
|
background_image: z.ZodOptional<z.ZodObject<{
|
|
634
|
-
uri: z.ZodOptional<z.ZodString
|
|
634
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
635
635
|
}, z.core.$loose>>;
|
|
636
636
|
text_color: z.ZodOptional<z.ZodString>;
|
|
637
637
|
}, z.core.$loose>>>;
|
|
@@ -674,13 +674,13 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
674
674
|
name: z.ZodString;
|
|
675
675
|
locale: z.ZodOptional<z.ZodString>;
|
|
676
676
|
logo: z.ZodOptional<z.ZodObject<{
|
|
677
|
-
uri: z.ZodOptional<z.ZodString
|
|
677
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
678
678
|
alt_text: z.ZodOptional<z.ZodString>;
|
|
679
679
|
}, z.core.$loose>>;
|
|
680
680
|
description: z.ZodOptional<z.ZodString>;
|
|
681
681
|
background_color: z.ZodOptional<z.ZodString>;
|
|
682
682
|
background_image: z.ZodOptional<z.ZodObject<{
|
|
683
|
-
uri: z.ZodOptional<z.ZodString
|
|
683
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
684
684
|
}, z.core.$loose>>;
|
|
685
685
|
text_color: z.ZodOptional<z.ZodString>;
|
|
686
686
|
}, z.core.$loose>>>;
|
|
@@ -722,13 +722,13 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
722
722
|
name: z.ZodString;
|
|
723
723
|
locale: z.ZodOptional<z.ZodString>;
|
|
724
724
|
logo: z.ZodOptional<z.ZodObject<{
|
|
725
|
-
uri: z.ZodOptional<z.ZodString
|
|
725
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
726
726
|
alt_text: z.ZodOptional<z.ZodString>;
|
|
727
727
|
}, z.core.$loose>>;
|
|
728
728
|
description: z.ZodOptional<z.ZodString>;
|
|
729
729
|
background_color: z.ZodOptional<z.ZodString>;
|
|
730
730
|
background_image: z.ZodOptional<z.ZodObject<{
|
|
731
|
-
uri: z.ZodOptional<z.ZodString
|
|
731
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
732
732
|
}, z.core.$loose>>;
|
|
733
733
|
text_color: z.ZodOptional<z.ZodString>;
|
|
734
734
|
}, z.core.$loose>>>;
|
|
@@ -762,13 +762,13 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
762
762
|
name: z.ZodString;
|
|
763
763
|
locale: z.ZodOptional<z.ZodString>;
|
|
764
764
|
logo: z.ZodOptional<z.ZodObject<{
|
|
765
|
-
uri: z.ZodOptional<z.ZodString
|
|
765
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
766
766
|
alt_text: z.ZodOptional<z.ZodString>;
|
|
767
767
|
}, z.core.$loose>>;
|
|
768
768
|
description: z.ZodOptional<z.ZodString>;
|
|
769
769
|
background_color: z.ZodOptional<z.ZodString>;
|
|
770
770
|
background_image: z.ZodOptional<z.ZodObject<{
|
|
771
|
-
uri: z.ZodOptional<z.ZodString
|
|
771
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
772
772
|
}, z.core.$loose>>;
|
|
773
773
|
text_color: z.ZodOptional<z.ZodString>;
|
|
774
774
|
}, z.core.$loose>>>;
|
|
@@ -803,13 +803,13 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
803
803
|
name: z.ZodString;
|
|
804
804
|
locale: z.ZodOptional<z.ZodString>;
|
|
805
805
|
logo: z.ZodOptional<z.ZodObject<{
|
|
806
|
-
uri: z.ZodOptional<z.ZodString
|
|
806
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
807
807
|
alt_text: z.ZodOptional<z.ZodString>;
|
|
808
808
|
}, z.core.$loose>>;
|
|
809
809
|
description: z.ZodOptional<z.ZodString>;
|
|
810
810
|
background_color: z.ZodOptional<z.ZodString>;
|
|
811
811
|
background_image: z.ZodOptional<z.ZodObject<{
|
|
812
|
-
uri: z.ZodOptional<z.ZodString
|
|
812
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
813
813
|
}, z.core.$loose>>;
|
|
814
814
|
text_color: z.ZodOptional<z.ZodString>;
|
|
815
815
|
}, z.core.$loose>>>;
|
|
@@ -853,13 +853,13 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
853
853
|
name: z.ZodString;
|
|
854
854
|
locale: z.ZodOptional<z.ZodString>;
|
|
855
855
|
logo: z.ZodOptional<z.ZodObject<{
|
|
856
|
-
uri: z.ZodOptional<z.ZodString
|
|
856
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
857
857
|
alt_text: z.ZodOptional<z.ZodString>;
|
|
858
858
|
}, z.core.$loose>>;
|
|
859
859
|
description: z.ZodOptional<z.ZodString>;
|
|
860
860
|
background_color: z.ZodOptional<z.ZodString>;
|
|
861
861
|
background_image: z.ZodOptional<z.ZodObject<{
|
|
862
|
-
uri: z.ZodOptional<z.ZodString
|
|
862
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
863
863
|
}, z.core.$loose>>;
|
|
864
864
|
text_color: z.ZodOptional<z.ZodString>;
|
|
865
865
|
}, z.core.$loose>>>;
|
|
@@ -903,13 +903,13 @@ declare const allCredentialIssuerMetadataFormats: readonly [z.ZodObject<{
|
|
|
903
903
|
name: z.ZodString;
|
|
904
904
|
locale: z.ZodOptional<z.ZodString>;
|
|
905
905
|
logo: z.ZodOptional<z.ZodObject<{
|
|
906
|
-
uri: z.ZodOptional<z.ZodString
|
|
906
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
907
907
|
alt_text: z.ZodOptional<z.ZodString>;
|
|
908
908
|
}, z.core.$loose>>;
|
|
909
909
|
description: z.ZodOptional<z.ZodString>;
|
|
910
910
|
background_color: z.ZodOptional<z.ZodString>;
|
|
911
911
|
background_image: z.ZodOptional<z.ZodObject<{
|
|
912
|
-
uri: z.ZodOptional<z.ZodString
|
|
912
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
913
913
|
}, z.core.$loose>>;
|
|
914
914
|
text_color: z.ZodOptional<z.ZodString>;
|
|
915
915
|
}, z.core.$loose>>>;
|
|
@@ -955,13 +955,13 @@ declare const zCredentialConfigurationSupportedWithFormats: z.ZodPipe<z.ZodUnion
|
|
|
955
955
|
name: z.ZodString;
|
|
956
956
|
locale: z.ZodOptional<z.ZodString>;
|
|
957
957
|
logo: z.ZodOptional<z.ZodObject<{
|
|
958
|
-
uri: z.ZodOptional<z.ZodString
|
|
958
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
959
959
|
alt_text: z.ZodOptional<z.ZodString>;
|
|
960
960
|
}, z.core.$loose>>;
|
|
961
961
|
description: z.ZodOptional<z.ZodString>;
|
|
962
962
|
background_color: z.ZodOptional<z.ZodString>;
|
|
963
963
|
background_image: z.ZodOptional<z.ZodObject<{
|
|
964
|
-
uri: z.ZodOptional<z.ZodString
|
|
964
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
965
965
|
}, z.core.$loose>>;
|
|
966
966
|
text_color: z.ZodOptional<z.ZodString>;
|
|
967
967
|
}, z.core.$loose>>>;
|
|
@@ -992,13 +992,13 @@ declare const zCredentialConfigurationSupportedWithFormats: z.ZodPipe<z.ZodUnion
|
|
|
992
992
|
name: z.ZodString;
|
|
993
993
|
locale: z.ZodOptional<z.ZodString>;
|
|
994
994
|
logo: z.ZodOptional<z.ZodObject<{
|
|
995
|
-
uri: z.ZodOptional<z.ZodString
|
|
995
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
996
996
|
alt_text: z.ZodOptional<z.ZodString>;
|
|
997
997
|
}, z.core.$loose>>;
|
|
998
998
|
description: z.ZodOptional<z.ZodString>;
|
|
999
999
|
background_color: z.ZodOptional<z.ZodString>;
|
|
1000
1000
|
background_image: z.ZodOptional<z.ZodObject<{
|
|
1001
|
-
uri: z.ZodOptional<z.ZodString
|
|
1001
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
1002
1002
|
}, z.core.$loose>>;
|
|
1003
1003
|
text_color: z.ZodOptional<z.ZodString>;
|
|
1004
1004
|
}, z.core.$loose>>>;
|
|
@@ -1114,19 +1114,19 @@ declare const zCredentialIssuerMetadataDisplayEntry: z.ZodObject<{
|
|
|
1114
1114
|
name: z.ZodOptional<z.ZodString>;
|
|
1115
1115
|
locale: z.ZodOptional<z.ZodString>;
|
|
1116
1116
|
logo: z.ZodOptional<z.ZodObject<{
|
|
1117
|
-
uri: z.ZodOptional<z.ZodString
|
|
1117
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
1118
1118
|
alt_text: z.ZodOptional<z.ZodString>;
|
|
1119
1119
|
}, z.core.$loose>>;
|
|
1120
1120
|
}, z.core.$loose>;
|
|
1121
1121
|
type CredentialIssuerMetadataDisplayEntry = z.infer<typeof zCredentialIssuerMetadataDisplayEntry>;
|
|
1122
1122
|
type CredentialIssuerMetadata = z.infer<typeof zCredentialIssuerMetadataDraft14Draft15V1>;
|
|
1123
1123
|
declare const zCredentialIssuerMetadataDraft14Draft15V1: z.ZodObject<{
|
|
1124
|
-
credential_issuer: z.
|
|
1125
|
-
authorization_servers: z.ZodOptional<z.ZodArray<z.
|
|
1126
|
-
credential_endpoint: z.
|
|
1127
|
-
deferred_credential_endpoint: z.ZodOptional<z.
|
|
1128
|
-
notification_endpoint: z.ZodOptional<z.
|
|
1129
|
-
nonce_endpoint: z.ZodOptional<z.
|
|
1124
|
+
credential_issuer: z.ZodURL;
|
|
1125
|
+
authorization_servers: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
1126
|
+
credential_endpoint: z.ZodURL;
|
|
1127
|
+
deferred_credential_endpoint: z.ZodOptional<z.ZodURL>;
|
|
1128
|
+
notification_endpoint: z.ZodOptional<z.ZodURL>;
|
|
1129
|
+
nonce_endpoint: z.ZodOptional<z.ZodURL>;
|
|
1130
1130
|
credential_response_encryption: z.ZodOptional<z.ZodObject<{
|
|
1131
1131
|
alg_values_supported: z.ZodArray<z.ZodString>;
|
|
1132
1132
|
enc_values_supported: z.ZodArray<z.ZodString>;
|
|
@@ -1139,11 +1139,11 @@ declare const zCredentialIssuerMetadataDraft14Draft15V1: z.ZodObject<{
|
|
|
1139
1139
|
name: z.ZodOptional<z.ZodString>;
|
|
1140
1140
|
locale: z.ZodOptional<z.ZodString>;
|
|
1141
1141
|
logo: z.ZodOptional<z.ZodObject<{
|
|
1142
|
-
uri: z.ZodOptional<z.ZodString
|
|
1142
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
1143
1143
|
alt_text: z.ZodOptional<z.ZodString>;
|
|
1144
1144
|
}, z.core.$loose>>;
|
|
1145
1145
|
}, z.core.$loose>>>;
|
|
1146
|
-
credential_configurations_supported: z.ZodRecord<z.ZodString, z.
|
|
1146
|
+
credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1147
1147
|
format: z.ZodString;
|
|
1148
1148
|
scope: z.ZodOptional<z.ZodString>;
|
|
1149
1149
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1170,155 +1170,18 @@ declare const zCredentialIssuerMetadataDraft14Draft15V1: z.ZodObject<{
|
|
|
1170
1170
|
name: z.ZodString;
|
|
1171
1171
|
locale: z.ZodOptional<z.ZodString>;
|
|
1172
1172
|
logo: z.ZodOptional<z.ZodObject<{
|
|
1173
|
-
uri: z.ZodOptional<z.ZodString
|
|
1173
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
1174
1174
|
alt_text: z.ZodOptional<z.ZodString>;
|
|
1175
1175
|
}, z.core.$loose>>;
|
|
1176
1176
|
description: z.ZodOptional<z.ZodString>;
|
|
1177
1177
|
background_color: z.ZodOptional<z.ZodString>;
|
|
1178
1178
|
background_image: z.ZodOptional<z.ZodObject<{
|
|
1179
|
-
uri: z.ZodOptional<z.ZodString
|
|
1179
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
1180
1180
|
}, z.core.$loose>>;
|
|
1181
1181
|
text_color: z.ZodOptional<z.ZodString>;
|
|
1182
1182
|
}, z.core.$loose>>>;
|
|
1183
1183
|
}, z.core.$loose>>;
|
|
1184
|
-
}, z.core.$loose
|
|
1185
|
-
format: z.ZodString;
|
|
1186
|
-
scope: z.ZodOptional<z.ZodString>;
|
|
1187
|
-
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1188
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1189
|
-
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
1190
|
-
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
1191
|
-
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
1192
|
-
key_storage: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1193
|
-
iso_18045_high: "iso_18045_high";
|
|
1194
|
-
iso_18045_moderate: "iso_18045_moderate";
|
|
1195
|
-
"iso_18045_enhanced-basic": "iso_18045_enhanced-basic";
|
|
1196
|
-
iso_18045_basic: "iso_18045_basic";
|
|
1197
|
-
}>, z.ZodString]>>>;
|
|
1198
|
-
user_authentication: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1199
|
-
iso_18045_high: "iso_18045_high";
|
|
1200
|
-
iso_18045_moderate: "iso_18045_moderate";
|
|
1201
|
-
"iso_18045_enhanced-basic": "iso_18045_enhanced-basic";
|
|
1202
|
-
iso_18045_basic: "iso_18045_basic";
|
|
1203
|
-
}>, z.ZodString]>>>;
|
|
1204
|
-
}, z.core.$loose>>;
|
|
1205
|
-
}, z.core.$strip>>>;
|
|
1206
|
-
display: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1207
|
-
name: z.ZodString;
|
|
1208
|
-
locale: z.ZodOptional<z.ZodString>;
|
|
1209
|
-
logo: z.ZodOptional<z.ZodObject<{
|
|
1210
|
-
uri: z.ZodOptional<z.ZodString>;
|
|
1211
|
-
alt_text: z.ZodOptional<z.ZodString>;
|
|
1212
|
-
}, z.core.$loose>>;
|
|
1213
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1214
|
-
background_color: z.ZodOptional<z.ZodString>;
|
|
1215
|
-
background_image: z.ZodOptional<z.ZodObject<{
|
|
1216
|
-
uri: z.ZodOptional<z.ZodString>;
|
|
1217
|
-
}, z.core.$loose>>;
|
|
1218
|
-
text_color: z.ZodOptional<z.ZodString>;
|
|
1219
|
-
}, z.core.$loose>>>;
|
|
1220
|
-
credential_metadata: z.ZodOptional<z.ZodNever>;
|
|
1221
|
-
}, z.core.$loose>]>, z.ZodTransform<{
|
|
1222
|
-
[x: string]: unknown;
|
|
1223
|
-
format: string;
|
|
1224
|
-
scope?: string | undefined;
|
|
1225
|
-
cryptographic_binding_methods_supported?: string[] | undefined;
|
|
1226
|
-
credential_signing_alg_values_supported?: string[] | number[] | undefined;
|
|
1227
|
-
proof_types_supported?: Record<string, {
|
|
1228
|
-
proof_signing_alg_values_supported: string[];
|
|
1229
|
-
key_attestations_required?: {
|
|
1230
|
-
[x: string]: unknown;
|
|
1231
|
-
key_storage?: string[] | undefined;
|
|
1232
|
-
user_authentication?: string[] | undefined;
|
|
1233
|
-
} | undefined;
|
|
1234
|
-
}> | undefined;
|
|
1235
|
-
credential_metadata?: {
|
|
1236
|
-
[x: string]: unknown;
|
|
1237
|
-
display?: {
|
|
1238
|
-
[x: string]: unknown;
|
|
1239
|
-
name: string;
|
|
1240
|
-
locale?: string | undefined;
|
|
1241
|
-
logo?: {
|
|
1242
|
-
[x: string]: unknown;
|
|
1243
|
-
uri?: string | undefined;
|
|
1244
|
-
alt_text?: string | undefined;
|
|
1245
|
-
} | undefined;
|
|
1246
|
-
description?: string | undefined;
|
|
1247
|
-
background_color?: string | undefined;
|
|
1248
|
-
background_image?: {
|
|
1249
|
-
[x: string]: unknown;
|
|
1250
|
-
uri?: string | undefined;
|
|
1251
|
-
} | undefined;
|
|
1252
|
-
text_color?: string | undefined;
|
|
1253
|
-
}[] | undefined;
|
|
1254
|
-
} | undefined;
|
|
1255
|
-
}, {
|
|
1256
|
-
[x: string]: unknown;
|
|
1257
|
-
format: string;
|
|
1258
|
-
scope?: string | undefined;
|
|
1259
|
-
cryptographic_binding_methods_supported?: string[] | undefined;
|
|
1260
|
-
credential_signing_alg_values_supported?: string[] | number[] | undefined;
|
|
1261
|
-
proof_types_supported?: Record<string, {
|
|
1262
|
-
proof_signing_alg_values_supported: string[];
|
|
1263
|
-
key_attestations_required?: {
|
|
1264
|
-
[x: string]: unknown;
|
|
1265
|
-
key_storage?: string[] | undefined;
|
|
1266
|
-
user_authentication?: string[] | undefined;
|
|
1267
|
-
} | undefined;
|
|
1268
|
-
}> | undefined;
|
|
1269
|
-
credential_metadata?: {
|
|
1270
|
-
[x: string]: unknown;
|
|
1271
|
-
display?: {
|
|
1272
|
-
[x: string]: unknown;
|
|
1273
|
-
name: string;
|
|
1274
|
-
locale?: string | undefined;
|
|
1275
|
-
logo?: {
|
|
1276
|
-
[x: string]: unknown;
|
|
1277
|
-
uri?: string | undefined;
|
|
1278
|
-
alt_text?: string | undefined;
|
|
1279
|
-
} | undefined;
|
|
1280
|
-
description?: string | undefined;
|
|
1281
|
-
background_color?: string | undefined;
|
|
1282
|
-
background_image?: {
|
|
1283
|
-
[x: string]: unknown;
|
|
1284
|
-
uri?: string | undefined;
|
|
1285
|
-
} | undefined;
|
|
1286
|
-
text_color?: string | undefined;
|
|
1287
|
-
}[] | undefined;
|
|
1288
|
-
} | undefined;
|
|
1289
|
-
} | {
|
|
1290
|
-
[x: string]: unknown;
|
|
1291
|
-
format: string;
|
|
1292
|
-
scope?: string | undefined;
|
|
1293
|
-
cryptographic_binding_methods_supported?: string[] | undefined;
|
|
1294
|
-
credential_signing_alg_values_supported?: string[] | undefined;
|
|
1295
|
-
proof_types_supported?: Record<string, {
|
|
1296
|
-
proof_signing_alg_values_supported: string[];
|
|
1297
|
-
key_attestations_required?: {
|
|
1298
|
-
[x: string]: unknown;
|
|
1299
|
-
key_storage?: string[] | undefined;
|
|
1300
|
-
user_authentication?: string[] | undefined;
|
|
1301
|
-
} | undefined;
|
|
1302
|
-
}> | undefined;
|
|
1303
|
-
display?: {
|
|
1304
|
-
[x: string]: unknown;
|
|
1305
|
-
name: string;
|
|
1306
|
-
locale?: string | undefined;
|
|
1307
|
-
logo?: {
|
|
1308
|
-
[x: string]: unknown;
|
|
1309
|
-
uri?: string | undefined;
|
|
1310
|
-
alt_text?: string | undefined;
|
|
1311
|
-
} | undefined;
|
|
1312
|
-
description?: string | undefined;
|
|
1313
|
-
background_color?: string | undefined;
|
|
1314
|
-
background_image?: {
|
|
1315
|
-
[x: string]: unknown;
|
|
1316
|
-
uri?: string | undefined;
|
|
1317
|
-
} | undefined;
|
|
1318
|
-
text_color?: string | undefined;
|
|
1319
|
-
}[] | undefined;
|
|
1320
|
-
credential_metadata?: undefined;
|
|
1321
|
-
}>>>;
|
|
1184
|
+
}, z.core.$loose>>;
|
|
1322
1185
|
}, z.core.$loose>;
|
|
1323
1186
|
declare const zCredentialConfigurationSupportedDraft11ToV1: z.ZodPipe<z.ZodPipe<z.ZodPipe<z.ZodObject<{
|
|
1324
1187
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1326,10 +1189,10 @@ declare const zCredentialConfigurationSupportedDraft11ToV1: z.ZodPipe<z.ZodPipe<
|
|
|
1326
1189
|
cryptographic_suites_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1327
1190
|
display: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1328
1191
|
logo: z.ZodOptional<z.ZodObject<{
|
|
1329
|
-
url: z.ZodOptional<z.ZodURL
|
|
1192
|
+
url: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
1330
1193
|
}, z.core.$loose>>;
|
|
1331
1194
|
background_image: z.ZodOptional<z.ZodObject<{
|
|
1332
|
-
url: z.ZodOptional<z.ZodURL
|
|
1195
|
+
url: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
1333
1196
|
}, z.core.$loose>>;
|
|
1334
1197
|
}, z.core.$loose>>>;
|
|
1335
1198
|
claims: z.ZodOptional<z.ZodAny>;
|
|
@@ -1405,13 +1268,13 @@ declare const zCredentialConfigurationSupportedDraft11ToV1: z.ZodPipe<z.ZodPipe<
|
|
|
1405
1268
|
name: z.ZodString;
|
|
1406
1269
|
locale: z.ZodOptional<z.ZodString>;
|
|
1407
1270
|
logo: z.ZodOptional<z.ZodObject<{
|
|
1408
|
-
uri: z.ZodOptional<z.ZodString
|
|
1271
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
1409
1272
|
alt_text: z.ZodOptional<z.ZodString>;
|
|
1410
1273
|
}, z.core.$loose>>;
|
|
1411
1274
|
description: z.ZodOptional<z.ZodString>;
|
|
1412
1275
|
background_color: z.ZodOptional<z.ZodString>;
|
|
1413
1276
|
background_image: z.ZodOptional<z.ZodObject<{
|
|
1414
|
-
uri: z.ZodOptional<z.ZodString
|
|
1277
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
1415
1278
|
}, z.core.$loose>>;
|
|
1416
1279
|
text_color: z.ZodOptional<z.ZodString>;
|
|
1417
1280
|
}, z.core.$loose>>>;
|
|
@@ -1442,13 +1305,13 @@ declare const zCredentialConfigurationSupportedDraft11ToV1: z.ZodPipe<z.ZodPipe<
|
|
|
1442
1305
|
name: z.ZodString;
|
|
1443
1306
|
locale: z.ZodOptional<z.ZodString>;
|
|
1444
1307
|
logo: z.ZodOptional<z.ZodObject<{
|
|
1445
|
-
uri: z.ZodOptional<z.ZodString
|
|
1308
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
1446
1309
|
alt_text: z.ZodOptional<z.ZodString>;
|
|
1447
1310
|
}, z.core.$loose>>;
|
|
1448
1311
|
description: z.ZodOptional<z.ZodString>;
|
|
1449
1312
|
background_color: z.ZodOptional<z.ZodString>;
|
|
1450
1313
|
background_image: z.ZodOptional<z.ZodObject<{
|
|
1451
|
-
uri: z.ZodOptional<z.ZodString
|
|
1314
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
1452
1315
|
}, z.core.$loose>>;
|
|
1453
1316
|
text_color: z.ZodOptional<z.ZodString>;
|
|
1454
1317
|
}, z.core.$loose>>>;
|
|
@@ -1593,12 +1456,12 @@ declare const zSignedCredentialIssuerMetadataHeader: z.ZodObject<{
|
|
|
1593
1456
|
trust_chain: z.ZodOptional<z.ZodTuple<[z.ZodString], z.ZodString>>;
|
|
1594
1457
|
}, z.core.$loose>;
|
|
1595
1458
|
declare const zSignedCredentialIssuerMetadataPayload: z.ZodObject<{
|
|
1596
|
-
credential_issuer: z.
|
|
1597
|
-
authorization_servers: z.ZodOptional<z.ZodArray<z.
|
|
1598
|
-
credential_endpoint: z.
|
|
1599
|
-
deferred_credential_endpoint: z.ZodOptional<z.
|
|
1600
|
-
notification_endpoint: z.ZodOptional<z.
|
|
1601
|
-
nonce_endpoint: z.ZodOptional<z.
|
|
1459
|
+
credential_issuer: z.ZodURL;
|
|
1460
|
+
authorization_servers: z.ZodOptional<z.ZodArray<z.ZodURL>>;
|
|
1461
|
+
credential_endpoint: z.ZodURL;
|
|
1462
|
+
deferred_credential_endpoint: z.ZodOptional<z.ZodURL>;
|
|
1463
|
+
notification_endpoint: z.ZodOptional<z.ZodURL>;
|
|
1464
|
+
nonce_endpoint: z.ZodOptional<z.ZodURL>;
|
|
1602
1465
|
credential_response_encryption: z.ZodOptional<z.ZodObject<{
|
|
1603
1466
|
alg_values_supported: z.ZodArray<z.ZodString>;
|
|
1604
1467
|
enc_values_supported: z.ZodArray<z.ZodString>;
|
|
@@ -1611,11 +1474,11 @@ declare const zSignedCredentialIssuerMetadataPayload: z.ZodObject<{
|
|
|
1611
1474
|
name: z.ZodOptional<z.ZodString>;
|
|
1612
1475
|
locale: z.ZodOptional<z.ZodString>;
|
|
1613
1476
|
logo: z.ZodOptional<z.ZodObject<{
|
|
1614
|
-
uri: z.ZodOptional<z.ZodString
|
|
1477
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
1615
1478
|
alt_text: z.ZodOptional<z.ZodString>;
|
|
1616
1479
|
}, z.core.$loose>>;
|
|
1617
1480
|
}, z.core.$loose>>>;
|
|
1618
|
-
credential_configurations_supported: z.ZodRecord<z.ZodString, z.
|
|
1481
|
+
credential_configurations_supported: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1619
1482
|
format: z.ZodString;
|
|
1620
1483
|
scope: z.ZodOptional<z.ZodString>;
|
|
1621
1484
|
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1642,155 +1505,18 @@ declare const zSignedCredentialIssuerMetadataPayload: z.ZodObject<{
|
|
|
1642
1505
|
name: z.ZodString;
|
|
1643
1506
|
locale: z.ZodOptional<z.ZodString>;
|
|
1644
1507
|
logo: z.ZodOptional<z.ZodObject<{
|
|
1645
|
-
uri: z.ZodOptional<z.ZodString
|
|
1508
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
1646
1509
|
alt_text: z.ZodOptional<z.ZodString>;
|
|
1647
1510
|
}, z.core.$loose>>;
|
|
1648
1511
|
description: z.ZodOptional<z.ZodString>;
|
|
1649
1512
|
background_color: z.ZodOptional<z.ZodString>;
|
|
1650
1513
|
background_image: z.ZodOptional<z.ZodObject<{
|
|
1651
|
-
uri: z.ZodOptional<z.ZodString
|
|
1514
|
+
uri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodString]>>;
|
|
1652
1515
|
}, z.core.$loose>>;
|
|
1653
1516
|
text_color: z.ZodOptional<z.ZodString>;
|
|
1654
1517
|
}, z.core.$loose>>>;
|
|
1655
1518
|
}, z.core.$loose>>;
|
|
1656
|
-
}, z.core.$loose
|
|
1657
|
-
format: z.ZodString;
|
|
1658
|
-
scope: z.ZodOptional<z.ZodString>;
|
|
1659
|
-
cryptographic_binding_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1660
|
-
credential_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1661
|
-
proof_types_supported: z.ZodOptional<z.ZodRecord<z.ZodUnion<readonly [z.ZodLiteral<"jwt">, z.ZodLiteral<"attestation">, z.ZodString]>, z.ZodObject<{
|
|
1662
|
-
proof_signing_alg_values_supported: z.ZodArray<z.ZodString>;
|
|
1663
|
-
key_attestations_required: z.ZodOptional<z.ZodObject<{
|
|
1664
|
-
key_storage: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1665
|
-
iso_18045_high: "iso_18045_high";
|
|
1666
|
-
iso_18045_moderate: "iso_18045_moderate";
|
|
1667
|
-
"iso_18045_enhanced-basic": "iso_18045_enhanced-basic";
|
|
1668
|
-
iso_18045_basic: "iso_18045_basic";
|
|
1669
|
-
}>, z.ZodString]>>>;
|
|
1670
|
-
user_authentication: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1671
|
-
iso_18045_high: "iso_18045_high";
|
|
1672
|
-
iso_18045_moderate: "iso_18045_moderate";
|
|
1673
|
-
"iso_18045_enhanced-basic": "iso_18045_enhanced-basic";
|
|
1674
|
-
iso_18045_basic: "iso_18045_basic";
|
|
1675
|
-
}>, z.ZodString]>>>;
|
|
1676
|
-
}, z.core.$loose>>;
|
|
1677
|
-
}, z.core.$strip>>>;
|
|
1678
|
-
display: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1679
|
-
name: z.ZodString;
|
|
1680
|
-
locale: z.ZodOptional<z.ZodString>;
|
|
1681
|
-
logo: z.ZodOptional<z.ZodObject<{
|
|
1682
|
-
uri: z.ZodOptional<z.ZodString>;
|
|
1683
|
-
alt_text: z.ZodOptional<z.ZodString>;
|
|
1684
|
-
}, z.core.$loose>>;
|
|
1685
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1686
|
-
background_color: z.ZodOptional<z.ZodString>;
|
|
1687
|
-
background_image: z.ZodOptional<z.ZodObject<{
|
|
1688
|
-
uri: z.ZodOptional<z.ZodString>;
|
|
1689
|
-
}, z.core.$loose>>;
|
|
1690
|
-
text_color: z.ZodOptional<z.ZodString>;
|
|
1691
|
-
}, z.core.$loose>>>;
|
|
1692
|
-
credential_metadata: z.ZodOptional<z.ZodNever>;
|
|
1693
|
-
}, z.core.$loose>]>, z.ZodTransform<{
|
|
1694
|
-
[x: string]: unknown;
|
|
1695
|
-
format: string;
|
|
1696
|
-
scope?: string | undefined;
|
|
1697
|
-
cryptographic_binding_methods_supported?: string[] | undefined;
|
|
1698
|
-
credential_signing_alg_values_supported?: string[] | number[] | undefined;
|
|
1699
|
-
proof_types_supported?: Record<string, {
|
|
1700
|
-
proof_signing_alg_values_supported: string[];
|
|
1701
|
-
key_attestations_required?: {
|
|
1702
|
-
[x: string]: unknown;
|
|
1703
|
-
key_storage?: string[] | undefined;
|
|
1704
|
-
user_authentication?: string[] | undefined;
|
|
1705
|
-
} | undefined;
|
|
1706
|
-
}> | undefined;
|
|
1707
|
-
credential_metadata?: {
|
|
1708
|
-
[x: string]: unknown;
|
|
1709
|
-
display?: {
|
|
1710
|
-
[x: string]: unknown;
|
|
1711
|
-
name: string;
|
|
1712
|
-
locale?: string | undefined;
|
|
1713
|
-
logo?: {
|
|
1714
|
-
[x: string]: unknown;
|
|
1715
|
-
uri?: string | undefined;
|
|
1716
|
-
alt_text?: string | undefined;
|
|
1717
|
-
} | undefined;
|
|
1718
|
-
description?: string | undefined;
|
|
1719
|
-
background_color?: string | undefined;
|
|
1720
|
-
background_image?: {
|
|
1721
|
-
[x: string]: unknown;
|
|
1722
|
-
uri?: string | undefined;
|
|
1723
|
-
} | undefined;
|
|
1724
|
-
text_color?: string | undefined;
|
|
1725
|
-
}[] | undefined;
|
|
1726
|
-
} | undefined;
|
|
1727
|
-
}, {
|
|
1728
|
-
[x: string]: unknown;
|
|
1729
|
-
format: string;
|
|
1730
|
-
scope?: string | undefined;
|
|
1731
|
-
cryptographic_binding_methods_supported?: string[] | undefined;
|
|
1732
|
-
credential_signing_alg_values_supported?: string[] | number[] | undefined;
|
|
1733
|
-
proof_types_supported?: Record<string, {
|
|
1734
|
-
proof_signing_alg_values_supported: string[];
|
|
1735
|
-
key_attestations_required?: {
|
|
1736
|
-
[x: string]: unknown;
|
|
1737
|
-
key_storage?: string[] | undefined;
|
|
1738
|
-
user_authentication?: string[] | undefined;
|
|
1739
|
-
} | undefined;
|
|
1740
|
-
}> | undefined;
|
|
1741
|
-
credential_metadata?: {
|
|
1742
|
-
[x: string]: unknown;
|
|
1743
|
-
display?: {
|
|
1744
|
-
[x: string]: unknown;
|
|
1745
|
-
name: string;
|
|
1746
|
-
locale?: string | undefined;
|
|
1747
|
-
logo?: {
|
|
1748
|
-
[x: string]: unknown;
|
|
1749
|
-
uri?: string | undefined;
|
|
1750
|
-
alt_text?: string | undefined;
|
|
1751
|
-
} | undefined;
|
|
1752
|
-
description?: string | undefined;
|
|
1753
|
-
background_color?: string | undefined;
|
|
1754
|
-
background_image?: {
|
|
1755
|
-
[x: string]: unknown;
|
|
1756
|
-
uri?: string | undefined;
|
|
1757
|
-
} | undefined;
|
|
1758
|
-
text_color?: string | undefined;
|
|
1759
|
-
}[] | undefined;
|
|
1760
|
-
} | undefined;
|
|
1761
|
-
} | {
|
|
1762
|
-
[x: string]: unknown;
|
|
1763
|
-
format: string;
|
|
1764
|
-
scope?: string | undefined;
|
|
1765
|
-
cryptographic_binding_methods_supported?: string[] | undefined;
|
|
1766
|
-
credential_signing_alg_values_supported?: string[] | undefined;
|
|
1767
|
-
proof_types_supported?: Record<string, {
|
|
1768
|
-
proof_signing_alg_values_supported: string[];
|
|
1769
|
-
key_attestations_required?: {
|
|
1770
|
-
[x: string]: unknown;
|
|
1771
|
-
key_storage?: string[] | undefined;
|
|
1772
|
-
user_authentication?: string[] | undefined;
|
|
1773
|
-
} | undefined;
|
|
1774
|
-
}> | undefined;
|
|
1775
|
-
display?: {
|
|
1776
|
-
[x: string]: unknown;
|
|
1777
|
-
name: string;
|
|
1778
|
-
locale?: string | undefined;
|
|
1779
|
-
logo?: {
|
|
1780
|
-
[x: string]: unknown;
|
|
1781
|
-
uri?: string | undefined;
|
|
1782
|
-
alt_text?: string | undefined;
|
|
1783
|
-
} | undefined;
|
|
1784
|
-
description?: string | undefined;
|
|
1785
|
-
background_color?: string | undefined;
|
|
1786
|
-
background_image?: {
|
|
1787
|
-
[x: string]: unknown;
|
|
1788
|
-
uri?: string | undefined;
|
|
1789
|
-
} | undefined;
|
|
1790
|
-
text_color?: string | undefined;
|
|
1791
|
-
}[] | undefined;
|
|
1792
|
-
credential_metadata?: undefined;
|
|
1793
|
-
}>>>;
|
|
1519
|
+
}, z.core.$loose>>;
|
|
1794
1520
|
iat: z.ZodNumber;
|
|
1795
1521
|
sub: z.ZodString;
|
|
1796
1522
|
iss: z.ZodOptional<z.ZodString>;
|
|
@@ -1851,6 +1577,13 @@ interface IssuerMetadataResult {
|
|
|
1851
1577
|
*/
|
|
1852
1578
|
signedCredentialIssuer?: CredentialIssuerMetadataSigned;
|
|
1853
1579
|
authorizationServers: AuthorizationServerMetadata[];
|
|
1580
|
+
/**
|
|
1581
|
+
* Known credential configurations includes all the credential configurations with a known credential format
|
|
1582
|
+
* that pass the validation requirements from the OpenID4VCI specification. Recognized formats that do not
|
|
1583
|
+
* adhere to the format specific metadata requirements are not included, but also won't result in an error, to
|
|
1584
|
+
* to still allow interacting with issuers using invalid metadata for specific configurations.
|
|
1585
|
+
*/
|
|
1586
|
+
knownCredentialConfigurations: CredentialConfigurationsSupportedWithFormats;
|
|
1854
1587
|
}
|
|
1855
1588
|
//#endregion
|
|
1856
1589
|
//#region src/credential-offer/z-credential-offer.d.ts
|
|
@@ -1863,7 +1596,7 @@ type CredentialOfferPreAuthorizedCodeGrantTxCode = z.input<typeof zTxCode>;
|
|
|
1863
1596
|
declare const zCredentialOfferGrants: z.ZodObject<{
|
|
1864
1597
|
authorization_code: z.ZodOptional<z.ZodObject<{
|
|
1865
1598
|
issuer_state: z.ZodOptional<z.ZodString>;
|
|
1866
|
-
authorization_server: z.ZodOptional<z.
|
|
1599
|
+
authorization_server: z.ZodOptional<z.ZodURL>;
|
|
1867
1600
|
}, z.core.$loose>>;
|
|
1868
1601
|
"urn:ietf:params:oauth:grant-type:pre-authorized_code": z.ZodOptional<z.ZodObject<{
|
|
1869
1602
|
'pre-authorized_code': z.ZodString;
|
|
@@ -1872,19 +1605,19 @@ declare const zCredentialOfferGrants: z.ZodObject<{
|
|
|
1872
1605
|
length: z.ZodOptional<z.ZodNumber>;
|
|
1873
1606
|
description: z.ZodOptional<z.ZodString>;
|
|
1874
1607
|
}, z.core.$loose>>;
|
|
1875
|
-
authorization_server: z.ZodOptional<z.
|
|
1608
|
+
authorization_server: z.ZodOptional<z.ZodURL>;
|
|
1876
1609
|
}, z.core.$loose>>;
|
|
1877
1610
|
}, z.core.$loose>;
|
|
1878
1611
|
type CredentialOfferGrants = z.input<typeof zCredentialOfferGrants>;
|
|
1879
1612
|
type CredentialOfferPreAuthorizedCodeGrant = CredentialOfferGrants[PreAuthorizedCodeGrantIdentifier];
|
|
1880
1613
|
type CredentialOfferAuthorizationCodeGrant = CredentialOfferGrants[AuthorizationCodeGrantIdentifier];
|
|
1881
1614
|
declare const zCredentialOfferObjectDraft14: z.ZodObject<{
|
|
1882
|
-
credential_issuer: z.
|
|
1615
|
+
credential_issuer: z.ZodURL;
|
|
1883
1616
|
credential_configuration_ids: z.ZodArray<z.ZodString>;
|
|
1884
1617
|
grants: z.ZodOptional<z.ZodObject<{
|
|
1885
1618
|
authorization_code: z.ZodOptional<z.ZodObject<{
|
|
1886
1619
|
issuer_state: z.ZodOptional<z.ZodString>;
|
|
1887
|
-
authorization_server: z.ZodOptional<z.
|
|
1620
|
+
authorization_server: z.ZodOptional<z.ZodURL>;
|
|
1888
1621
|
}, z.core.$loose>>;
|
|
1889
1622
|
"urn:ietf:params:oauth:grant-type:pre-authorized_code": z.ZodOptional<z.ZodObject<{
|
|
1890
1623
|
'pre-authorized_code': z.ZodString;
|
|
@@ -1893,7 +1626,7 @@ declare const zCredentialOfferObjectDraft14: z.ZodObject<{
|
|
|
1893
1626
|
length: z.ZodOptional<z.ZodNumber>;
|
|
1894
1627
|
description: z.ZodOptional<z.ZodString>;
|
|
1895
1628
|
}, z.core.$loose>>;
|
|
1896
|
-
authorization_server: z.ZodOptional<z.
|
|
1629
|
+
authorization_server: z.ZodOptional<z.ZodURL>;
|
|
1897
1630
|
}, z.core.$loose>>;
|
|
1898
1631
|
}, z.core.$loose>>;
|
|
1899
1632
|
}, z.core.$loose>;
|
|
@@ -2417,11 +2150,11 @@ type DeferredCredentialRequest = z.infer<typeof zDeferredCredentialRequest>;
|
|
|
2417
2150
|
//#region src/credential-request/credential-request-configurations.d.ts
|
|
2418
2151
|
interface GetCredentialConfigurationsMatchingRequestFormatOptions {
|
|
2419
2152
|
requestFormat: CredentialRequestFormatSpecific;
|
|
2420
|
-
|
|
2153
|
+
issuerMetadata: IssuerMetadataResult;
|
|
2421
2154
|
}
|
|
2422
2155
|
declare function getCredentialConfigurationsMatchingRequestFormat({
|
|
2423
2156
|
requestFormat,
|
|
2424
|
-
|
|
2157
|
+
issuerMetadata
|
|
2425
2158
|
}: GetCredentialConfigurationsMatchingRequestFormatOptions): CredentialConfigurationsSupportedWithFormats;
|
|
2426
2159
|
//#endregion
|
|
2427
2160
|
//#region src/credential-request/parse-credential-request.d.ts
|
|
@@ -2788,7 +2521,7 @@ declare const zCredentialRequestJwtProofTypeHeader: z.ZodObject<{
|
|
|
2788
2521
|
}, z.core.$loose>;
|
|
2789
2522
|
type CredentialRequestJwtProofTypeHeader = z.infer<typeof zCredentialRequestJwtProofTypeHeader>;
|
|
2790
2523
|
declare const zCredentialRequestJwtProofTypePayload: z.ZodObject<{
|
|
2791
|
-
aud: z.ZodUnion<readonly [z.
|
|
2524
|
+
aud: z.ZodUnion<readonly [z.ZodURL, z.ZodArray<z.ZodURL>]>;
|
|
2792
2525
|
iat: z.ZodNumber;
|
|
2793
2526
|
iss: z.ZodOptional<z.ZodString>;
|
|
2794
2527
|
exp: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3315,7 +3048,6 @@ declare class Openid4vciClient {
|
|
|
3315
3048
|
private options;
|
|
3316
3049
|
private oauth2Client;
|
|
3317
3050
|
constructor(options: Openid4vciClientOptions);
|
|
3318
|
-
getKnownCredentialConfigurationsSupported(credentialIssuerMetadata: CredentialIssuerMetadata): CredentialConfigurationsSupportedWithFormats;
|
|
3319
3051
|
/**
|
|
3320
3052
|
* Resolve a credential offer into a credential offer object, handling both
|
|
3321
3053
|
* 'credential_offer' and 'credential_offer_uri' params.
|
|
@@ -3667,8 +3399,8 @@ type JwtHeader = z.infer<typeof zJwtHeader$1>;
|
|
|
3667
3399
|
//#endregion
|
|
3668
3400
|
//#region ../oauth2/src/metadata/authorization-server/z-authorization-server-metadata.d.ts
|
|
3669
3401
|
declare const zAuthorizationServerMetadata$1: z.ZodObject<{
|
|
3670
|
-
issuer: z.
|
|
3671
|
-
token_endpoint: z.
|
|
3402
|
+
issuer: z.ZodURL;
|
|
3403
|
+
token_endpoint: z.ZodURL;
|
|
3672
3404
|
token_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3673
3405
|
client_secret_basic: "client_secret_basic";
|
|
3674
3406
|
client_secret_post: "client_secret_post";
|
|
@@ -3676,14 +3408,14 @@ declare const zAuthorizationServerMetadata$1: z.ZodObject<{
|
|
|
3676
3408
|
client_secret_jwt: "client_secret_jwt";
|
|
3677
3409
|
private_key_jwt: "private_key_jwt";
|
|
3678
3410
|
}>, z.ZodString]>>>;
|
|
3679
|
-
authorization_endpoint: z.ZodOptional<z.
|
|
3680
|
-
jwks_uri: z.ZodOptional<z.
|
|
3411
|
+
authorization_endpoint: z.ZodOptional<z.ZodURL>;
|
|
3412
|
+
jwks_uri: z.ZodOptional<z.ZodURL>;
|
|
3681
3413
|
grant_types_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3682
3414
|
code_challenge_methods_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3683
3415
|
dpop_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3684
3416
|
require_pushed_authorization_requests: z.ZodOptional<z.ZodBoolean>;
|
|
3685
|
-
pushed_authorization_request_endpoint: z.ZodOptional<z.
|
|
3686
|
-
introspection_endpoint: z.ZodOptional<z.
|
|
3417
|
+
pushed_authorization_request_endpoint: z.ZodOptional<z.ZodURL>;
|
|
3418
|
+
introspection_endpoint: z.ZodOptional<z.ZodURL>;
|
|
3687
3419
|
introspection_endpoint_auth_methods_supported: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3688
3420
|
client_secret_basic: "client_secret_basic";
|
|
3689
3421
|
client_secret_post: "client_secret_post";
|
|
@@ -3692,7 +3424,7 @@ declare const zAuthorizationServerMetadata$1: z.ZodObject<{
|
|
|
3692
3424
|
private_key_jwt: "private_key_jwt";
|
|
3693
3425
|
}>, z.ZodString]>>>;
|
|
3694
3426
|
introspection_endpoint_auth_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3695
|
-
authorization_challenge_endpoint: z.ZodOptional<z.
|
|
3427
|
+
authorization_challenge_endpoint: z.ZodOptional<z.ZodURL>;
|
|
3696
3428
|
'pre-authorized_grant_anonymous_access_supported': z.ZodOptional<z.ZodBoolean>;
|
|
3697
3429
|
client_attestation_pop_nonce_required: z.ZodOptional<z.ZodBoolean>;
|
|
3698
3430
|
}, z.core.$loose>;
|