@pagopa/io-react-native-wallet 2.2.0 → 2.3.0

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.
Files changed (91) hide show
  1. package/README.md +4 -3
  2. package/lib/commonjs/credential/index.js +3 -1
  3. package/lib/commonjs/credential/index.js.map +1 -1
  4. package/lib/commonjs/credential/offer/01-start-flow.js +75 -0
  5. package/lib/commonjs/credential/offer/01-start-flow.js.map +1 -0
  6. package/lib/commonjs/credential/offer/02-fetch-credential-offer.js +45 -0
  7. package/lib/commonjs/credential/offer/02-fetch-credential-offer.js.map +1 -0
  8. package/lib/commonjs/credential/offer/README.md +174 -0
  9. package/lib/commonjs/credential/offer/errors.js +22 -0
  10. package/lib/commonjs/credential/offer/errors.js.map +1 -0
  11. package/lib/commonjs/credential/offer/index.js +25 -0
  12. package/lib/commonjs/credential/offer/index.js.map +1 -0
  13. package/lib/commonjs/credential/offer/types.js +51 -0
  14. package/lib/commonjs/credential/offer/types.js.map +1 -0
  15. package/lib/commonjs/credential/presentation/01-start-flow.js +1 -1
  16. package/lib/commonjs/credentials-catalogue/README.md +15 -0
  17. package/lib/commonjs/credentials-catalogue/fetch-and-parse-catalogue.js +42 -0
  18. package/lib/commonjs/credentials-catalogue/fetch-and-parse-catalogue.js.map +1 -0
  19. package/lib/commonjs/credentials-catalogue/index.js +13 -0
  20. package/lib/commonjs/credentials-catalogue/index.js.map +1 -0
  21. package/lib/commonjs/credentials-catalogue/types.js +99 -0
  22. package/lib/commonjs/credentials-catalogue/types.js.map +1 -0
  23. package/lib/commonjs/index.js +3 -1
  24. package/lib/commonjs/index.js.map +1 -1
  25. package/lib/commonjs/utils/zod.js +28 -0
  26. package/lib/commonjs/utils/zod.js.map +1 -0
  27. package/lib/module/credential/index.js +2 -1
  28. package/lib/module/credential/index.js.map +1 -1
  29. package/lib/module/credential/offer/01-start-flow.js +66 -0
  30. package/lib/module/credential/offer/01-start-flow.js.map +1 -0
  31. package/lib/module/credential/offer/02-fetch-credential-offer.js +38 -0
  32. package/lib/module/credential/offer/02-fetch-credential-offer.js.map +1 -0
  33. package/lib/module/credential/offer/README.md +174 -0
  34. package/lib/module/credential/offer/errors.js +14 -0
  35. package/lib/module/credential/offer/errors.js.map +1 -0
  36. package/lib/module/credential/offer/index.js +5 -0
  37. package/lib/module/credential/offer/index.js.map +1 -0
  38. package/lib/module/credential/offer/types.js +41 -0
  39. package/lib/module/credential/offer/types.js.map +1 -0
  40. package/lib/module/credential/presentation/01-start-flow.js +1 -1
  41. package/lib/module/credentials-catalogue/README.md +15 -0
  42. package/lib/module/credentials-catalogue/fetch-and-parse-catalogue.js +35 -0
  43. package/lib/module/credentials-catalogue/fetch-and-parse-catalogue.js.map +1 -0
  44. package/lib/module/credentials-catalogue/index.js +2 -0
  45. package/lib/module/credentials-catalogue/index.js.map +1 -0
  46. package/lib/module/credentials-catalogue/types.js +89 -0
  47. package/lib/module/credentials-catalogue/types.js.map +1 -0
  48. package/lib/module/index.js +2 -1
  49. package/lib/module/index.js.map +1 -1
  50. package/lib/module/utils/zod.js +20 -0
  51. package/lib/module/utils/zod.js.map +1 -0
  52. package/lib/typescript/credential/index.d.ts +2 -1
  53. package/lib/typescript/credential/index.d.ts.map +1 -1
  54. package/lib/typescript/credential/issuance/01-start-flow.d.ts +1 -1
  55. package/lib/typescript/credential/offer/01-start-flow.d.ts +172 -0
  56. package/lib/typescript/credential/offer/01-start-flow.d.ts.map +1 -0
  57. package/lib/typescript/credential/offer/02-fetch-credential-offer.d.ts +20 -0
  58. package/lib/typescript/credential/offer/02-fetch-credential-offer.d.ts.map +1 -0
  59. package/lib/typescript/credential/offer/errors.d.ts +10 -0
  60. package/lib/typescript/credential/offer/errors.d.ts.map +1 -0
  61. package/lib/typescript/credential/offer/index.d.ts +7 -0
  62. package/lib/typescript/credential/offer/index.d.ts.map +1 -0
  63. package/lib/typescript/credential/offer/types.d.ts +264 -0
  64. package/lib/typescript/credential/offer/types.d.ts.map +1 -0
  65. package/lib/typescript/credential/presentation/01-start-flow.d.ts +1 -1
  66. package/lib/typescript/credentials-catalogue/fetch-and-parse-catalogue.d.ts +15 -0
  67. package/lib/typescript/credentials-catalogue/fetch-and-parse-catalogue.d.ts.map +1 -0
  68. package/lib/typescript/credentials-catalogue/index.d.ts +3 -0
  69. package/lib/typescript/credentials-catalogue/index.d.ts.map +1 -0
  70. package/lib/typescript/credentials-catalogue/types.d.ts +844 -0
  71. package/lib/typescript/credentials-catalogue/types.d.ts.map +1 -0
  72. package/lib/typescript/index.d.ts +2 -1
  73. package/lib/typescript/index.d.ts.map +1 -1
  74. package/lib/typescript/utils/zod.d.ts +15 -0
  75. package/lib/typescript/utils/zod.d.ts.map +1 -0
  76. package/package.json +21 -2
  77. package/src/credential/index.ts +2 -1
  78. package/src/credential/issuance/01-start-flow.ts +1 -1
  79. package/src/credential/offer/01-start-flow.ts +89 -0
  80. package/src/credential/offer/02-fetch-credential-offer.ts +54 -0
  81. package/src/credential/offer/README.md +174 -0
  82. package/src/credential/offer/errors.ts +17 -0
  83. package/src/credential/offer/index.ts +16 -0
  84. package/src/credential/offer/types.ts +59 -0
  85. package/src/credential/presentation/01-start-flow.ts +1 -1
  86. package/src/credentials-catalogue/README.md +15 -0
  87. package/src/credentials-catalogue/fetch-and-parse-catalogue.ts +54 -0
  88. package/src/credentials-catalogue/index.ts +2 -0
  89. package/src/credentials-catalogue/types.ts +97 -0
  90. package/src/index.ts +2 -0
  91. package/src/utils/zod.ts +28 -0
@@ -0,0 +1,844 @@
1
+ import * as z from "zod";
2
+ export declare const DigitalCredential: z.ZodObject<{
3
+ version: z.ZodString;
4
+ credential_type: z.ZodString;
5
+ legal_type: z.ZodString;
6
+ name: z.ZodString;
7
+ description: z.ZodString;
8
+ validity_info: z.ZodObject<{
9
+ max_validity_days: z.ZodNumber;
10
+ status_methods: z.ZodArray<z.ZodString, "many">;
11
+ allowed_states: z.ZodArray<z.ZodString, "many">;
12
+ }, "strip", z.ZodTypeAny, {
13
+ max_validity_days: number;
14
+ status_methods: string[];
15
+ allowed_states: string[];
16
+ }, {
17
+ max_validity_days: number;
18
+ status_methods: string[];
19
+ allowed_states: string[];
20
+ }>;
21
+ authentication: z.ZodObject<{
22
+ user_auth_required: z.ZodBoolean;
23
+ min_loa: z.ZodString;
24
+ supported_eid_schemes: z.ZodArray<z.ZodString, "many">;
25
+ }, "strip", z.ZodTypeAny, {
26
+ user_auth_required: boolean;
27
+ min_loa: string;
28
+ supported_eid_schemes: string[];
29
+ }, {
30
+ user_auth_required: boolean;
31
+ min_loa: string;
32
+ supported_eid_schemes: string[];
33
+ }>;
34
+ purposes: z.ZodArray<z.ZodObject<{
35
+ id: z.ZodString;
36
+ description: z.ZodString;
37
+ category: z.ZodString;
38
+ subcategory: z.ZodString;
39
+ claims_required: z.ZodArray<z.ZodString, "many">;
40
+ claim_recommended: z.ZodArray<z.ZodString, "many">;
41
+ }, "strip", z.ZodTypeAny, {
42
+ description: string;
43
+ id: string;
44
+ category: string;
45
+ subcategory: string;
46
+ claims_required: string[];
47
+ claim_recommended: string[];
48
+ }, {
49
+ description: string;
50
+ id: string;
51
+ category: string;
52
+ subcategory: string;
53
+ claims_required: string[];
54
+ claim_recommended: string[];
55
+ }>, "many">;
56
+ issuers: z.ZodArray<z.ZodObject<{
57
+ id: z.ZodString;
58
+ organization_name: z.ZodString;
59
+ organization_code: z.ZodString;
60
+ organization_country: z.ZodString;
61
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
62
+ homepage_uri: z.ZodOptional<z.ZodString>;
63
+ logo_uri: z.ZodOptional<z.ZodString>;
64
+ policy_uri: z.ZodOptional<z.ZodString>;
65
+ tos_uri: z.ZodOptional<z.ZodString>;
66
+ }, "strip", z.ZodTypeAny, {
67
+ organization_name: string;
68
+ organization_code: string;
69
+ id: string;
70
+ organization_country: string;
71
+ contacts?: string[] | undefined;
72
+ homepage_uri?: string | undefined;
73
+ logo_uri?: string | undefined;
74
+ policy_uri?: string | undefined;
75
+ tos_uri?: string | undefined;
76
+ }, {
77
+ organization_name: string;
78
+ organization_code: string;
79
+ id: string;
80
+ organization_country: string;
81
+ contacts?: string[] | undefined;
82
+ homepage_uri?: string | undefined;
83
+ logo_uri?: string | undefined;
84
+ policy_uri?: string | undefined;
85
+ tos_uri?: string | undefined;
86
+ }>, "many">;
87
+ authentic_sources: z.ZodArray<z.ZodObject<{
88
+ id: z.ZodString;
89
+ organization_name: z.ZodString;
90
+ organization_code: z.ZodString;
91
+ organization_country: z.ZodString;
92
+ source_type: z.ZodEnum<["public", "private"]>;
93
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
94
+ homepage_uri: z.ZodOptional<z.ZodString>;
95
+ logo_uri: z.ZodOptional<z.ZodString>;
96
+ user_information: z.ZodOptional<z.ZodString>;
97
+ }, "strip", z.ZodTypeAny, {
98
+ organization_name: string;
99
+ organization_code: string;
100
+ id: string;
101
+ organization_country: string;
102
+ source_type: "public" | "private";
103
+ contacts?: string[] | undefined;
104
+ homepage_uri?: string | undefined;
105
+ logo_uri?: string | undefined;
106
+ user_information?: string | undefined;
107
+ }, {
108
+ organization_name: string;
109
+ organization_code: string;
110
+ id: string;
111
+ organization_country: string;
112
+ source_type: "public" | "private";
113
+ contacts?: string[] | undefined;
114
+ homepage_uri?: string | undefined;
115
+ logo_uri?: string | undefined;
116
+ user_information?: string | undefined;
117
+ }>, "many">;
118
+ formats: z.ZodArray<z.ZodObject<{
119
+ configuration_id: z.ZodString;
120
+ format: z.ZodEnum<["dc+sd-jwt", "mso_mdoc"]>;
121
+ vct: z.ZodOptional<z.ZodString>;
122
+ docType: z.ZodOptional<z.ZodString>;
123
+ schema_uri: z.ZodOptional<z.ZodString>;
124
+ "schema_uri#integrity": z.ZodOptional<z.ZodString>;
125
+ }, "strip", z.ZodTypeAny, {
126
+ format: "dc+sd-jwt" | "mso_mdoc";
127
+ configuration_id: string;
128
+ vct?: string | undefined;
129
+ docType?: string | undefined;
130
+ schema_uri?: string | undefined;
131
+ "schema_uri#integrity"?: string | undefined;
132
+ }, {
133
+ format: "dc+sd-jwt" | "mso_mdoc";
134
+ configuration_id: string;
135
+ vct?: string | undefined;
136
+ docType?: string | undefined;
137
+ schema_uri?: string | undefined;
138
+ "schema_uri#integrity"?: string | undefined;
139
+ }>, "many">;
140
+ claims: z.ZodArray<z.ZodObject<{
141
+ name: z.ZodString;
142
+ taxonomy_ref: z.ZodString;
143
+ display_name: z.ZodString;
144
+ }, "strip", z.ZodTypeAny, {
145
+ name: string;
146
+ taxonomy_ref: string;
147
+ display_name: string;
148
+ }, {
149
+ name: string;
150
+ taxonomy_ref: string;
151
+ display_name: string;
152
+ }>, "many">;
153
+ }, "strip", z.ZodTypeAny, {
154
+ name: string;
155
+ description: string;
156
+ claims: {
157
+ name: string;
158
+ taxonomy_ref: string;
159
+ display_name: string;
160
+ }[];
161
+ purposes: {
162
+ description: string;
163
+ id: string;
164
+ category: string;
165
+ subcategory: string;
166
+ claims_required: string[];
167
+ claim_recommended: string[];
168
+ }[];
169
+ version: string;
170
+ credential_type: string;
171
+ legal_type: string;
172
+ validity_info: {
173
+ max_validity_days: number;
174
+ status_methods: string[];
175
+ allowed_states: string[];
176
+ };
177
+ authentication: {
178
+ user_auth_required: boolean;
179
+ min_loa: string;
180
+ supported_eid_schemes: string[];
181
+ };
182
+ issuers: {
183
+ organization_name: string;
184
+ organization_code: string;
185
+ id: string;
186
+ organization_country: string;
187
+ contacts?: string[] | undefined;
188
+ homepage_uri?: string | undefined;
189
+ logo_uri?: string | undefined;
190
+ policy_uri?: string | undefined;
191
+ tos_uri?: string | undefined;
192
+ }[];
193
+ authentic_sources: {
194
+ organization_name: string;
195
+ organization_code: string;
196
+ id: string;
197
+ organization_country: string;
198
+ source_type: "public" | "private";
199
+ contacts?: string[] | undefined;
200
+ homepage_uri?: string | undefined;
201
+ logo_uri?: string | undefined;
202
+ user_information?: string | undefined;
203
+ }[];
204
+ formats: {
205
+ format: "dc+sd-jwt" | "mso_mdoc";
206
+ configuration_id: string;
207
+ vct?: string | undefined;
208
+ docType?: string | undefined;
209
+ schema_uri?: string | undefined;
210
+ "schema_uri#integrity"?: string | undefined;
211
+ }[];
212
+ }, {
213
+ name: string;
214
+ description: string;
215
+ claims: {
216
+ name: string;
217
+ taxonomy_ref: string;
218
+ display_name: string;
219
+ }[];
220
+ purposes: {
221
+ description: string;
222
+ id: string;
223
+ category: string;
224
+ subcategory: string;
225
+ claims_required: string[];
226
+ claim_recommended: string[];
227
+ }[];
228
+ version: string;
229
+ credential_type: string;
230
+ legal_type: string;
231
+ validity_info: {
232
+ max_validity_days: number;
233
+ status_methods: string[];
234
+ allowed_states: string[];
235
+ };
236
+ authentication: {
237
+ user_auth_required: boolean;
238
+ min_loa: string;
239
+ supported_eid_schemes: string[];
240
+ };
241
+ issuers: {
242
+ organization_name: string;
243
+ organization_code: string;
244
+ id: string;
245
+ organization_country: string;
246
+ contacts?: string[] | undefined;
247
+ homepage_uri?: string | undefined;
248
+ logo_uri?: string | undefined;
249
+ policy_uri?: string | undefined;
250
+ tos_uri?: string | undefined;
251
+ }[];
252
+ authentic_sources: {
253
+ organization_name: string;
254
+ organization_code: string;
255
+ id: string;
256
+ organization_country: string;
257
+ source_type: "public" | "private";
258
+ contacts?: string[] | undefined;
259
+ homepage_uri?: string | undefined;
260
+ logo_uri?: string | undefined;
261
+ user_information?: string | undefined;
262
+ }[];
263
+ formats: {
264
+ format: "dc+sd-jwt" | "mso_mdoc";
265
+ configuration_id: string;
266
+ vct?: string | undefined;
267
+ docType?: string | undefined;
268
+ schema_uri?: string | undefined;
269
+ "schema_uri#integrity"?: string | undefined;
270
+ }[];
271
+ }>;
272
+ /**
273
+ * The Digital Credentials Catalogue published by the Trust Anchor
274
+ *
275
+ * @version 1.1.0
276
+ * @see https://italia.github.io/eid-wallet-it-docs/releases/1.1.0/en/registry-catalogue.html
277
+ */
278
+ export declare const DigitalCredentialsCatalogue: z.ZodObject<{
279
+ header: z.ZodObject<{
280
+ typ: z.ZodString;
281
+ alg: z.ZodString;
282
+ kid: z.ZodString;
283
+ }, "strip", z.ZodTypeAny, {
284
+ alg: string;
285
+ kid: string;
286
+ typ: string;
287
+ }, {
288
+ alg: string;
289
+ kid: string;
290
+ typ: string;
291
+ }>;
292
+ payload: z.ZodObject<{
293
+ catalog_version: z.ZodString;
294
+ taxonomy_uri: z.ZodString;
295
+ credentials: z.ZodArray<z.ZodObject<{
296
+ version: z.ZodString;
297
+ credential_type: z.ZodString;
298
+ legal_type: z.ZodString;
299
+ name: z.ZodString;
300
+ description: z.ZodString;
301
+ validity_info: z.ZodObject<{
302
+ max_validity_days: z.ZodNumber;
303
+ status_methods: z.ZodArray<z.ZodString, "many">;
304
+ allowed_states: z.ZodArray<z.ZodString, "many">;
305
+ }, "strip", z.ZodTypeAny, {
306
+ max_validity_days: number;
307
+ status_methods: string[];
308
+ allowed_states: string[];
309
+ }, {
310
+ max_validity_days: number;
311
+ status_methods: string[];
312
+ allowed_states: string[];
313
+ }>;
314
+ authentication: z.ZodObject<{
315
+ user_auth_required: z.ZodBoolean;
316
+ min_loa: z.ZodString;
317
+ supported_eid_schemes: z.ZodArray<z.ZodString, "many">;
318
+ }, "strip", z.ZodTypeAny, {
319
+ user_auth_required: boolean;
320
+ min_loa: string;
321
+ supported_eid_schemes: string[];
322
+ }, {
323
+ user_auth_required: boolean;
324
+ min_loa: string;
325
+ supported_eid_schemes: string[];
326
+ }>;
327
+ purposes: z.ZodArray<z.ZodObject<{
328
+ id: z.ZodString;
329
+ description: z.ZodString;
330
+ category: z.ZodString;
331
+ subcategory: z.ZodString;
332
+ claims_required: z.ZodArray<z.ZodString, "many">;
333
+ claim_recommended: z.ZodArray<z.ZodString, "many">;
334
+ }, "strip", z.ZodTypeAny, {
335
+ description: string;
336
+ id: string;
337
+ category: string;
338
+ subcategory: string;
339
+ claims_required: string[];
340
+ claim_recommended: string[];
341
+ }, {
342
+ description: string;
343
+ id: string;
344
+ category: string;
345
+ subcategory: string;
346
+ claims_required: string[];
347
+ claim_recommended: string[];
348
+ }>, "many">;
349
+ issuers: z.ZodArray<z.ZodObject<{
350
+ id: z.ZodString;
351
+ organization_name: z.ZodString;
352
+ organization_code: z.ZodString;
353
+ organization_country: z.ZodString;
354
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
355
+ homepage_uri: z.ZodOptional<z.ZodString>;
356
+ logo_uri: z.ZodOptional<z.ZodString>;
357
+ policy_uri: z.ZodOptional<z.ZodString>;
358
+ tos_uri: z.ZodOptional<z.ZodString>;
359
+ }, "strip", z.ZodTypeAny, {
360
+ organization_name: string;
361
+ organization_code: string;
362
+ id: string;
363
+ organization_country: string;
364
+ contacts?: string[] | undefined;
365
+ homepage_uri?: string | undefined;
366
+ logo_uri?: string | undefined;
367
+ policy_uri?: string | undefined;
368
+ tos_uri?: string | undefined;
369
+ }, {
370
+ organization_name: string;
371
+ organization_code: string;
372
+ id: string;
373
+ organization_country: string;
374
+ contacts?: string[] | undefined;
375
+ homepage_uri?: string | undefined;
376
+ logo_uri?: string | undefined;
377
+ policy_uri?: string | undefined;
378
+ tos_uri?: string | undefined;
379
+ }>, "many">;
380
+ authentic_sources: z.ZodArray<z.ZodObject<{
381
+ id: z.ZodString;
382
+ organization_name: z.ZodString;
383
+ organization_code: z.ZodString;
384
+ organization_country: z.ZodString;
385
+ source_type: z.ZodEnum<["public", "private"]>;
386
+ contacts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
387
+ homepage_uri: z.ZodOptional<z.ZodString>;
388
+ logo_uri: z.ZodOptional<z.ZodString>;
389
+ user_information: z.ZodOptional<z.ZodString>;
390
+ }, "strip", z.ZodTypeAny, {
391
+ organization_name: string;
392
+ organization_code: string;
393
+ id: string;
394
+ organization_country: string;
395
+ source_type: "public" | "private";
396
+ contacts?: string[] | undefined;
397
+ homepage_uri?: string | undefined;
398
+ logo_uri?: string | undefined;
399
+ user_information?: string | undefined;
400
+ }, {
401
+ organization_name: string;
402
+ organization_code: string;
403
+ id: string;
404
+ organization_country: string;
405
+ source_type: "public" | "private";
406
+ contacts?: string[] | undefined;
407
+ homepage_uri?: string | undefined;
408
+ logo_uri?: string | undefined;
409
+ user_information?: string | undefined;
410
+ }>, "many">;
411
+ formats: z.ZodArray<z.ZodObject<{
412
+ configuration_id: z.ZodString;
413
+ format: z.ZodEnum<["dc+sd-jwt", "mso_mdoc"]>;
414
+ vct: z.ZodOptional<z.ZodString>;
415
+ docType: z.ZodOptional<z.ZodString>;
416
+ schema_uri: z.ZodOptional<z.ZodString>;
417
+ "schema_uri#integrity": z.ZodOptional<z.ZodString>;
418
+ }, "strip", z.ZodTypeAny, {
419
+ format: "dc+sd-jwt" | "mso_mdoc";
420
+ configuration_id: string;
421
+ vct?: string | undefined;
422
+ docType?: string | undefined;
423
+ schema_uri?: string | undefined;
424
+ "schema_uri#integrity"?: string | undefined;
425
+ }, {
426
+ format: "dc+sd-jwt" | "mso_mdoc";
427
+ configuration_id: string;
428
+ vct?: string | undefined;
429
+ docType?: string | undefined;
430
+ schema_uri?: string | undefined;
431
+ "schema_uri#integrity"?: string | undefined;
432
+ }>, "many">;
433
+ claims: z.ZodArray<z.ZodObject<{
434
+ name: z.ZodString;
435
+ taxonomy_ref: z.ZodString;
436
+ display_name: z.ZodString;
437
+ }, "strip", z.ZodTypeAny, {
438
+ name: string;
439
+ taxonomy_ref: string;
440
+ display_name: string;
441
+ }, {
442
+ name: string;
443
+ taxonomy_ref: string;
444
+ display_name: string;
445
+ }>, "many">;
446
+ }, "strip", z.ZodTypeAny, {
447
+ name: string;
448
+ description: string;
449
+ claims: {
450
+ name: string;
451
+ taxonomy_ref: string;
452
+ display_name: string;
453
+ }[];
454
+ purposes: {
455
+ description: string;
456
+ id: string;
457
+ category: string;
458
+ subcategory: string;
459
+ claims_required: string[];
460
+ claim_recommended: string[];
461
+ }[];
462
+ version: string;
463
+ credential_type: string;
464
+ legal_type: string;
465
+ validity_info: {
466
+ max_validity_days: number;
467
+ status_methods: string[];
468
+ allowed_states: string[];
469
+ };
470
+ authentication: {
471
+ user_auth_required: boolean;
472
+ min_loa: string;
473
+ supported_eid_schemes: string[];
474
+ };
475
+ issuers: {
476
+ organization_name: string;
477
+ organization_code: string;
478
+ id: string;
479
+ organization_country: string;
480
+ contacts?: string[] | undefined;
481
+ homepage_uri?: string | undefined;
482
+ logo_uri?: string | undefined;
483
+ policy_uri?: string | undefined;
484
+ tos_uri?: string | undefined;
485
+ }[];
486
+ authentic_sources: {
487
+ organization_name: string;
488
+ organization_code: string;
489
+ id: string;
490
+ organization_country: string;
491
+ source_type: "public" | "private";
492
+ contacts?: string[] | undefined;
493
+ homepage_uri?: string | undefined;
494
+ logo_uri?: string | undefined;
495
+ user_information?: string | undefined;
496
+ }[];
497
+ formats: {
498
+ format: "dc+sd-jwt" | "mso_mdoc";
499
+ configuration_id: string;
500
+ vct?: string | undefined;
501
+ docType?: string | undefined;
502
+ schema_uri?: string | undefined;
503
+ "schema_uri#integrity"?: string | undefined;
504
+ }[];
505
+ }, {
506
+ name: string;
507
+ description: string;
508
+ claims: {
509
+ name: string;
510
+ taxonomy_ref: string;
511
+ display_name: string;
512
+ }[];
513
+ purposes: {
514
+ description: string;
515
+ id: string;
516
+ category: string;
517
+ subcategory: string;
518
+ claims_required: string[];
519
+ claim_recommended: string[];
520
+ }[];
521
+ version: string;
522
+ credential_type: string;
523
+ legal_type: string;
524
+ validity_info: {
525
+ max_validity_days: number;
526
+ status_methods: string[];
527
+ allowed_states: string[];
528
+ };
529
+ authentication: {
530
+ user_auth_required: boolean;
531
+ min_loa: string;
532
+ supported_eid_schemes: string[];
533
+ };
534
+ issuers: {
535
+ organization_name: string;
536
+ organization_code: string;
537
+ id: string;
538
+ organization_country: string;
539
+ contacts?: string[] | undefined;
540
+ homepage_uri?: string | undefined;
541
+ logo_uri?: string | undefined;
542
+ policy_uri?: string | undefined;
543
+ tos_uri?: string | undefined;
544
+ }[];
545
+ authentic_sources: {
546
+ organization_name: string;
547
+ organization_code: string;
548
+ id: string;
549
+ organization_country: string;
550
+ source_type: "public" | "private";
551
+ contacts?: string[] | undefined;
552
+ homepage_uri?: string | undefined;
553
+ logo_uri?: string | undefined;
554
+ user_information?: string | undefined;
555
+ }[];
556
+ formats: {
557
+ format: "dc+sd-jwt" | "mso_mdoc";
558
+ configuration_id: string;
559
+ vct?: string | undefined;
560
+ docType?: string | undefined;
561
+ schema_uri?: string | undefined;
562
+ "schema_uri#integrity"?: string | undefined;
563
+ }[];
564
+ }>, "many">;
565
+ iat: z.ZodNumber;
566
+ exp: z.ZodNumber;
567
+ }, "strip", z.ZodTypeAny, {
568
+ iat: number;
569
+ exp: number;
570
+ credentials: {
571
+ name: string;
572
+ description: string;
573
+ claims: {
574
+ name: string;
575
+ taxonomy_ref: string;
576
+ display_name: string;
577
+ }[];
578
+ purposes: {
579
+ description: string;
580
+ id: string;
581
+ category: string;
582
+ subcategory: string;
583
+ claims_required: string[];
584
+ claim_recommended: string[];
585
+ }[];
586
+ version: string;
587
+ credential_type: string;
588
+ legal_type: string;
589
+ validity_info: {
590
+ max_validity_days: number;
591
+ status_methods: string[];
592
+ allowed_states: string[];
593
+ };
594
+ authentication: {
595
+ user_auth_required: boolean;
596
+ min_loa: string;
597
+ supported_eid_schemes: string[];
598
+ };
599
+ issuers: {
600
+ organization_name: string;
601
+ organization_code: string;
602
+ id: string;
603
+ organization_country: string;
604
+ contacts?: string[] | undefined;
605
+ homepage_uri?: string | undefined;
606
+ logo_uri?: string | undefined;
607
+ policy_uri?: string | undefined;
608
+ tos_uri?: string | undefined;
609
+ }[];
610
+ authentic_sources: {
611
+ organization_name: string;
612
+ organization_code: string;
613
+ id: string;
614
+ organization_country: string;
615
+ source_type: "public" | "private";
616
+ contacts?: string[] | undefined;
617
+ homepage_uri?: string | undefined;
618
+ logo_uri?: string | undefined;
619
+ user_information?: string | undefined;
620
+ }[];
621
+ formats: {
622
+ format: "dc+sd-jwt" | "mso_mdoc";
623
+ configuration_id: string;
624
+ vct?: string | undefined;
625
+ docType?: string | undefined;
626
+ schema_uri?: string | undefined;
627
+ "schema_uri#integrity"?: string | undefined;
628
+ }[];
629
+ }[];
630
+ catalog_version: string;
631
+ taxonomy_uri: string;
632
+ }, {
633
+ iat: number;
634
+ exp: number;
635
+ credentials: {
636
+ name: string;
637
+ description: string;
638
+ claims: {
639
+ name: string;
640
+ taxonomy_ref: string;
641
+ display_name: string;
642
+ }[];
643
+ purposes: {
644
+ description: string;
645
+ id: string;
646
+ category: string;
647
+ subcategory: string;
648
+ claims_required: string[];
649
+ claim_recommended: string[];
650
+ }[];
651
+ version: string;
652
+ credential_type: string;
653
+ legal_type: string;
654
+ validity_info: {
655
+ max_validity_days: number;
656
+ status_methods: string[];
657
+ allowed_states: string[];
658
+ };
659
+ authentication: {
660
+ user_auth_required: boolean;
661
+ min_loa: string;
662
+ supported_eid_schemes: string[];
663
+ };
664
+ issuers: {
665
+ organization_name: string;
666
+ organization_code: string;
667
+ id: string;
668
+ organization_country: string;
669
+ contacts?: string[] | undefined;
670
+ homepage_uri?: string | undefined;
671
+ logo_uri?: string | undefined;
672
+ policy_uri?: string | undefined;
673
+ tos_uri?: string | undefined;
674
+ }[];
675
+ authentic_sources: {
676
+ organization_name: string;
677
+ organization_code: string;
678
+ id: string;
679
+ organization_country: string;
680
+ source_type: "public" | "private";
681
+ contacts?: string[] | undefined;
682
+ homepage_uri?: string | undefined;
683
+ logo_uri?: string | undefined;
684
+ user_information?: string | undefined;
685
+ }[];
686
+ formats: {
687
+ format: "dc+sd-jwt" | "mso_mdoc";
688
+ configuration_id: string;
689
+ vct?: string | undefined;
690
+ docType?: string | undefined;
691
+ schema_uri?: string | undefined;
692
+ "schema_uri#integrity"?: string | undefined;
693
+ }[];
694
+ }[];
695
+ catalog_version: string;
696
+ taxonomy_uri: string;
697
+ }>;
698
+ }, "strip", z.ZodTypeAny, {
699
+ header: {
700
+ alg: string;
701
+ kid: string;
702
+ typ: string;
703
+ };
704
+ payload: {
705
+ iat: number;
706
+ exp: number;
707
+ credentials: {
708
+ name: string;
709
+ description: string;
710
+ claims: {
711
+ name: string;
712
+ taxonomy_ref: string;
713
+ display_name: string;
714
+ }[];
715
+ purposes: {
716
+ description: string;
717
+ id: string;
718
+ category: string;
719
+ subcategory: string;
720
+ claims_required: string[];
721
+ claim_recommended: string[];
722
+ }[];
723
+ version: string;
724
+ credential_type: string;
725
+ legal_type: string;
726
+ validity_info: {
727
+ max_validity_days: number;
728
+ status_methods: string[];
729
+ allowed_states: string[];
730
+ };
731
+ authentication: {
732
+ user_auth_required: boolean;
733
+ min_loa: string;
734
+ supported_eid_schemes: string[];
735
+ };
736
+ issuers: {
737
+ organization_name: string;
738
+ organization_code: string;
739
+ id: string;
740
+ organization_country: string;
741
+ contacts?: string[] | undefined;
742
+ homepage_uri?: string | undefined;
743
+ logo_uri?: string | undefined;
744
+ policy_uri?: string | undefined;
745
+ tos_uri?: string | undefined;
746
+ }[];
747
+ authentic_sources: {
748
+ organization_name: string;
749
+ organization_code: string;
750
+ id: string;
751
+ organization_country: string;
752
+ source_type: "public" | "private";
753
+ contacts?: string[] | undefined;
754
+ homepage_uri?: string | undefined;
755
+ logo_uri?: string | undefined;
756
+ user_information?: string | undefined;
757
+ }[];
758
+ formats: {
759
+ format: "dc+sd-jwt" | "mso_mdoc";
760
+ configuration_id: string;
761
+ vct?: string | undefined;
762
+ docType?: string | undefined;
763
+ schema_uri?: string | undefined;
764
+ "schema_uri#integrity"?: string | undefined;
765
+ }[];
766
+ }[];
767
+ catalog_version: string;
768
+ taxonomy_uri: string;
769
+ };
770
+ }, {
771
+ header: {
772
+ alg: string;
773
+ kid: string;
774
+ typ: string;
775
+ };
776
+ payload: {
777
+ iat: number;
778
+ exp: number;
779
+ credentials: {
780
+ name: string;
781
+ description: string;
782
+ claims: {
783
+ name: string;
784
+ taxonomy_ref: string;
785
+ display_name: string;
786
+ }[];
787
+ purposes: {
788
+ description: string;
789
+ id: string;
790
+ category: string;
791
+ subcategory: string;
792
+ claims_required: string[];
793
+ claim_recommended: string[];
794
+ }[];
795
+ version: string;
796
+ credential_type: string;
797
+ legal_type: string;
798
+ validity_info: {
799
+ max_validity_days: number;
800
+ status_methods: string[];
801
+ allowed_states: string[];
802
+ };
803
+ authentication: {
804
+ user_auth_required: boolean;
805
+ min_loa: string;
806
+ supported_eid_schemes: string[];
807
+ };
808
+ issuers: {
809
+ organization_name: string;
810
+ organization_code: string;
811
+ id: string;
812
+ organization_country: string;
813
+ contacts?: string[] | undefined;
814
+ homepage_uri?: string | undefined;
815
+ logo_uri?: string | undefined;
816
+ policy_uri?: string | undefined;
817
+ tos_uri?: string | undefined;
818
+ }[];
819
+ authentic_sources: {
820
+ organization_name: string;
821
+ organization_code: string;
822
+ id: string;
823
+ organization_country: string;
824
+ source_type: "public" | "private";
825
+ contacts?: string[] | undefined;
826
+ homepage_uri?: string | undefined;
827
+ logo_uri?: string | undefined;
828
+ user_information?: string | undefined;
829
+ }[];
830
+ formats: {
831
+ format: "dc+sd-jwt" | "mso_mdoc";
832
+ configuration_id: string;
833
+ vct?: string | undefined;
834
+ docType?: string | undefined;
835
+ schema_uri?: string | undefined;
836
+ "schema_uri#integrity"?: string | undefined;
837
+ }[];
838
+ }[];
839
+ catalog_version: string;
840
+ taxonomy_uri: string;
841
+ };
842
+ }>;
843
+ export type DigitalCredentialsCatalogue = z.infer<typeof DigitalCredentialsCatalogue>;
844
+ //# sourceMappingURL=types.d.ts.map