@eudiplo/cli 9.1.0-main.f567faa → 9.1.0-main.ff120d5

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 (52) hide show
  1. package/dist/commands/config/portability/action.d.ts.map +1 -1
  2. package/dist/commands/config/portability/action.js +62 -6
  3. package/dist/commands/config/portability/action.js.map +1 -1
  4. package/dist/commands/config/portability/folder-bundle.d.ts +48 -0
  5. package/dist/commands/config/portability/folder-bundle.d.ts.map +1 -0
  6. package/dist/commands/config/portability/folder-bundle.js +208 -0
  7. package/dist/commands/config/portability/folder-bundle.js.map +1 -0
  8. package/dist/commands/config/portability/index.d.ts.map +1 -1
  9. package/dist/commands/config/portability/index.js +7 -3
  10. package/dist/commands/config/portability/index.js.map +1 -1
  11. package/dist/commands/config/portability/upgrade.d.ts +2 -0
  12. package/dist/commands/config/portability/upgrade.d.ts.map +1 -1
  13. package/dist/commands/config/portability/upgrade.js +4 -4
  14. package/dist/commands/config/portability/upgrade.js.map +1 -1
  15. package/dist/commands/config/tenant/action.d.ts.map +1 -1
  16. package/dist/commands/config/tenant/action.js +2 -2
  17. package/dist/commands/config/tenant/action.js.map +1 -1
  18. package/dist/commands/config/validate/registry.d.ts +3 -0
  19. package/dist/commands/config/validate/registry.d.ts.map +1 -1
  20. package/dist/commands/config/validate/registry.js +5 -0
  21. package/dist/commands/config/validate/registry.js.map +1 -1
  22. package/dist/commands/config/validate/validator.d.ts.map +1 -1
  23. package/dist/commands/config/validate/validator.js +31 -11
  24. package/dist/commands/config/validate/validator.js.map +1 -1
  25. package/dist/index.js +12578 -8991
  26. package/dist/services/compose-project.d.ts +6 -0
  27. package/dist/services/compose-project.d.ts.map +1 -1
  28. package/dist/services/compose-project.js +13 -2
  29. package/dist/services/compose-project.js.map +1 -1
  30. package/package.json +3 -3
  31. package/templates/demo-config/info.json +1 -1
  32. package/templates/demo-config/issuance/credentials/citizen.json +1 -1
  33. package/templates/demo-config/issuance/credentials/pid-key.json +1 -1
  34. package/templates/demo-config/issuance/credentials/pid-mdoc.json +1 -1
  35. package/templates/demo-config/issuance/credentials/pid.json +1 -1
  36. package/templates/demo-config/issuance/issuance.json +1 -1
  37. package/templates/demo-config/key-chains/access.json +1 -1
  38. package/templates/demo-config/key-chains/attestation.json +1 -1
  39. package/templates/demo-config/key-chains/status-list.json +1 -1
  40. package/templates/demo-config/key-chains/trust-list.json +1 -1
  41. package/templates/demo-config/presentation/age-over-18.json +1 -1
  42. package/templates/demo-config/presentation/pid.json +1 -1
  43. package/templates/demo-config/trust-lists/trustlist-580831bc-ef11-43f4-a3be-a2b6bf1b29a3-config.json +4 -2
  44. package/templates/schemas/CreateTenantDto.schema.json +1 -1
  45. package/templates/schemas/CredentialConfigCreate.schema.json +15 -9
  46. package/templates/schemas/CredentialConfigFile.schema.json +1027 -1
  47. package/templates/schemas/DCQL.schema.json +168 -52
  48. package/templates/schemas/IssuanceConfig.schema.json +10 -1
  49. package/templates/schemas/PresentationConfigCreateDto.schema.json +184 -52
  50. package/templates/schemas/PresentationConfigFile.schema.json +746 -1
  51. package/templates/schemas/TrustListConfigFile.schema.json +263 -1
  52. package/templates/schemas/TrustListCreateDto.schema.json +556 -22
@@ -46,39 +46,97 @@
46
46
  "values": {
47
47
  "type": "array",
48
48
  "items": {
49
- "type": "object",
50
- "properties": {
51
- "trustListId": {
52
- "description": "Optional trust list id reference.",
53
- "type": "string"
54
- },
55
- "url": {
56
- "description": "Optional trust list URL reference.",
57
- "anyOf": [
58
- {
49
+ "anyOf": [
50
+ {
51
+ "type": "object",
52
+ "properties": {
53
+ "format": {
54
+ "description": "Format of the list: a List of Trusted Entities (ETSI TS 119 602) as JWT. Default.",
59
55
  "type": "string",
60
- "format": "uri"
56
+ "const": "lote"
61
57
  },
62
- {
63
- "type": "string",
64
- "pattern": "^<TENANT_URL>(?:\\/.*)?$"
58
+ "trustListId": {
59
+ "description": "Optional trust list id reference.",
60
+ "type": "string"
61
+ },
62
+ "url": {
63
+ "description": "Optional trust list URL reference.",
64
+ "anyOf": [
65
+ {
66
+ "type": "string",
67
+ "format": "uri"
68
+ },
69
+ {
70
+ "type": "string",
71
+ "pattern": "^<TENANT_URL>(?:\\/.*)?$"
72
+ }
73
+ ]
74
+ },
75
+ "verifierKey": {
76
+ "description": "Optional verifier key material.",
77
+ "type": "object",
78
+ "propertyNames": {
79
+ "type": "string"
80
+ },
81
+ "additionalProperties": {}
82
+ },
83
+ "verifierX509Der": {
84
+ "description": "Optional verifier certificate in DER/base64 form.",
85
+ "type": "string"
65
86
  }
66
- ]
87
+ },
88
+ "additionalProperties": false
67
89
  },
68
- "verifierKey": {
69
- "description": "Optional verifier key material.",
90
+ {
70
91
  "type": "object",
71
- "propertyNames": {
72
- "type": "string"
92
+ "properties": {
93
+ "format": {
94
+ "type": "string",
95
+ "const": "trusted-list",
96
+ "description": "Format of the list: an ETSI TS 119 612 Trusted List or list of trusted lists as XML."
97
+ },
98
+ "url": {
99
+ "anyOf": [
100
+ {
101
+ "type": "string",
102
+ "format": "uri"
103
+ },
104
+ {
105
+ "type": "string",
106
+ "pattern": "^<TENANT_URL>(?:\\/.*)?$"
107
+ }
108
+ ],
109
+ "description": "URL of the Trusted List, or of a list of trusted lists (LOTL) whose national lists are followed."
110
+ },
111
+ "signingCertificates": {
112
+ "minItems": 1,
113
+ "type": "array",
114
+ "items": {
115
+ "type": "string",
116
+ "minLength": 1,
117
+ "pattern": "^[A-Za-z0-9+/\\s]+={0,2}$"
118
+ },
119
+ "description": "Base64 DER certificates one of which must have signed the list: for a list of trusted lists, the signing certificates its operator publishes; for a national list, its scheme operator certificates."
120
+ },
121
+ "schemeTerritories": {
122
+ "description": "For a list of trusted lists: the SchemeTerritory values of the national lists to follow, such as DE. All when absent.",
123
+ "minItems": 1,
124
+ "type": "array",
125
+ "items": {
126
+ "type": "string",
127
+ "minLength": 1
128
+ }
129
+ }
73
130
  },
74
- "additionalProperties": {}
75
- },
76
- "verifierX509Der": {
77
- "description": "Optional verifier certificate in DER/base64 form.",
78
- "type": "string"
131
+ "required": [
132
+ "format",
133
+ "url",
134
+ "signingCertificates"
135
+ ],
136
+ "additionalProperties": false
79
137
  }
80
- },
81
- "additionalProperties": false
138
+ ],
139
+ "description": "Reference to a trust list used for authority verification."
82
140
  },
83
141
  "description": "Trust list references for ETSI TL verification."
84
142
  }
@@ -230,39 +288,97 @@
230
288
  "values": {
231
289
  "type": "array",
232
290
  "items": {
233
- "type": "object",
234
- "properties": {
235
- "trustListId": {
236
- "description": "Optional trust list id reference.",
237
- "type": "string"
238
- },
239
- "url": {
240
- "description": "Optional trust list URL reference.",
241
- "anyOf": [
242
- {
291
+ "anyOf": [
292
+ {
293
+ "type": "object",
294
+ "properties": {
295
+ "format": {
296
+ "description": "Format of the list: a List of Trusted Entities (ETSI TS 119 602) as JWT. Default.",
243
297
  "type": "string",
244
- "format": "uri"
298
+ "const": "lote"
245
299
  },
246
- {
247
- "type": "string",
248
- "pattern": "^<TENANT_URL>(?:\\/.*)?$"
300
+ "trustListId": {
301
+ "description": "Optional trust list id reference.",
302
+ "type": "string"
303
+ },
304
+ "url": {
305
+ "description": "Optional trust list URL reference.",
306
+ "anyOf": [
307
+ {
308
+ "type": "string",
309
+ "format": "uri"
310
+ },
311
+ {
312
+ "type": "string",
313
+ "pattern": "^<TENANT_URL>(?:\\/.*)?$"
314
+ }
315
+ ]
316
+ },
317
+ "verifierKey": {
318
+ "description": "Optional verifier key material.",
319
+ "type": "object",
320
+ "propertyNames": {
321
+ "type": "string"
322
+ },
323
+ "additionalProperties": {}
324
+ },
325
+ "verifierX509Der": {
326
+ "description": "Optional verifier certificate in DER/base64 form.",
327
+ "type": "string"
249
328
  }
250
- ]
329
+ },
330
+ "additionalProperties": false
251
331
  },
252
- "verifierKey": {
253
- "description": "Optional verifier key material.",
332
+ {
254
333
  "type": "object",
255
- "propertyNames": {
256
- "type": "string"
334
+ "properties": {
335
+ "format": {
336
+ "type": "string",
337
+ "const": "trusted-list",
338
+ "description": "Format of the list: an ETSI TS 119 612 Trusted List or list of trusted lists as XML."
339
+ },
340
+ "url": {
341
+ "anyOf": [
342
+ {
343
+ "type": "string",
344
+ "format": "uri"
345
+ },
346
+ {
347
+ "type": "string",
348
+ "pattern": "^<TENANT_URL>(?:\\/.*)?$"
349
+ }
350
+ ],
351
+ "description": "URL of the Trusted List, or of a list of trusted lists (LOTL) whose national lists are followed."
352
+ },
353
+ "signingCertificates": {
354
+ "minItems": 1,
355
+ "type": "array",
356
+ "items": {
357
+ "type": "string",
358
+ "minLength": 1,
359
+ "pattern": "^[A-Za-z0-9+/\\s]+={0,2}$"
360
+ },
361
+ "description": "Base64 DER certificates one of which must have signed the list: for a list of trusted lists, the signing certificates its operator publishes; for a national list, its scheme operator certificates."
362
+ },
363
+ "schemeTerritories": {
364
+ "description": "For a list of trusted lists: the SchemeTerritory values of the national lists to follow, such as DE. All when absent.",
365
+ "minItems": 1,
366
+ "type": "array",
367
+ "items": {
368
+ "type": "string",
369
+ "minLength": 1
370
+ }
371
+ }
257
372
  },
258
- "additionalProperties": {}
259
- },
260
- "verifierX509Der": {
261
- "description": "Optional verifier certificate in DER/base64 form.",
262
- "type": "string"
373
+ "required": [
374
+ "format",
375
+ "url",
376
+ "signingCertificates"
377
+ ],
378
+ "additionalProperties": false
263
379
  }
264
- },
265
- "additionalProperties": false
380
+ ],
381
+ "description": "Reference to a trust list used for authority verification."
266
382
  },
267
383
  "description": "Trust list references for ETSI TL verification."
268
384
  }
@@ -53,7 +53,7 @@
53
53
  }
54
54
  },
55
55
  "walletAttestationStatusCheckMode": {
56
- "description": "Default status check mode for wallet attestations at managed authorization servers: strict, best_effort (default) or disabled.",
56
+ "description": "Status check mode for key attestations at the credential endpoint, and default for wallet attestations at managed authorization servers: strict, best_effort (default) or disabled.",
57
57
  "anyOf": [
58
58
  {
59
59
  "type": "string",
@@ -675,6 +675,15 @@
675
675
  "supportUri": {
676
676
  "description": "Optional support URI.",
677
677
  "type": "string"
678
+ },
679
+ "renewal": {
680
+ "description": "When a generated certificate is renewed. onCredentialConfigChange (default): in the background after a credential or issuance configuration changes, and when issuer metadata is built. onMetadataRequest: only when issuer metadata is built. manual: only with Regenerate now. In every mode a missing or expired certificate is requested when issuer metadata is built.",
681
+ "type": "string",
682
+ "enum": [
683
+ "onCredentialConfigChange",
684
+ "onMetadataRequest",
685
+ "manual"
686
+ ]
678
687
  }
679
688
  },
680
689
  "additionalProperties": false
@@ -82,39 +82,97 @@
82
82
  "values": {
83
83
  "type": "array",
84
84
  "items": {
85
- "type": "object",
86
- "properties": {
87
- "trustListId": {
88
- "description": "Optional trust list id reference.",
89
- "type": "string"
90
- },
91
- "url": {
92
- "description": "Optional trust list URL reference.",
93
- "anyOf": [
94
- {
85
+ "anyOf": [
86
+ {
87
+ "type": "object",
88
+ "properties": {
89
+ "format": {
90
+ "description": "Format of the list: a List of Trusted Entities (ETSI TS 119 602) as JWT. Default.",
95
91
  "type": "string",
96
- "format": "uri"
92
+ "const": "lote"
97
93
  },
98
- {
99
- "type": "string",
100
- "pattern": "^<TENANT_URL>(?:\\/.*)?$"
94
+ "trustListId": {
95
+ "description": "Optional trust list id reference.",
96
+ "type": "string"
97
+ },
98
+ "url": {
99
+ "description": "Optional trust list URL reference.",
100
+ "anyOf": [
101
+ {
102
+ "type": "string",
103
+ "format": "uri"
104
+ },
105
+ {
106
+ "type": "string",
107
+ "pattern": "^<TENANT_URL>(?:\\/.*)?$"
108
+ }
109
+ ]
110
+ },
111
+ "verifierKey": {
112
+ "description": "Optional verifier key material.",
113
+ "type": "object",
114
+ "propertyNames": {
115
+ "type": "string"
116
+ },
117
+ "additionalProperties": {}
118
+ },
119
+ "verifierX509Der": {
120
+ "description": "Optional verifier certificate in DER/base64 form.",
121
+ "type": "string"
101
122
  }
102
- ]
123
+ },
124
+ "additionalProperties": false
103
125
  },
104
- "verifierKey": {
105
- "description": "Optional verifier key material.",
126
+ {
106
127
  "type": "object",
107
- "propertyNames": {
108
- "type": "string"
128
+ "properties": {
129
+ "format": {
130
+ "type": "string",
131
+ "const": "trusted-list",
132
+ "description": "Format of the list: an ETSI TS 119 612 Trusted List or list of trusted lists as XML."
133
+ },
134
+ "url": {
135
+ "anyOf": [
136
+ {
137
+ "type": "string",
138
+ "format": "uri"
139
+ },
140
+ {
141
+ "type": "string",
142
+ "pattern": "^<TENANT_URL>(?:\\/.*)?$"
143
+ }
144
+ ],
145
+ "description": "URL of the Trusted List, or of a list of trusted lists (LOTL) whose national lists are followed."
146
+ },
147
+ "signingCertificates": {
148
+ "minItems": 1,
149
+ "type": "array",
150
+ "items": {
151
+ "type": "string",
152
+ "minLength": 1,
153
+ "pattern": "^[A-Za-z0-9+/\\s]+={0,2}$"
154
+ },
155
+ "description": "Base64 DER certificates one of which must have signed the list: for a list of trusted lists, the signing certificates its operator publishes; for a national list, its scheme operator certificates."
156
+ },
157
+ "schemeTerritories": {
158
+ "description": "For a list of trusted lists: the SchemeTerritory values of the national lists to follow, such as DE. All when absent.",
159
+ "minItems": 1,
160
+ "type": "array",
161
+ "items": {
162
+ "type": "string",
163
+ "minLength": 1
164
+ }
165
+ }
109
166
  },
110
- "additionalProperties": {}
111
- },
112
- "verifierX509Der": {
113
- "description": "Optional verifier certificate in DER/base64 form.",
114
- "type": "string"
167
+ "required": [
168
+ "format",
169
+ "url",
170
+ "signingCertificates"
171
+ ],
172
+ "additionalProperties": false
115
173
  }
116
- },
117
- "additionalProperties": false
174
+ ],
175
+ "description": "Reference to a trust list used for authority verification."
118
176
  },
119
177
  "description": "Trust list references for ETSI TL verification."
120
178
  }
@@ -266,39 +324,97 @@
266
324
  "values": {
267
325
  "type": "array",
268
326
  "items": {
269
- "type": "object",
270
- "properties": {
271
- "trustListId": {
272
- "description": "Optional trust list id reference.",
273
- "type": "string"
274
- },
275
- "url": {
276
- "description": "Optional trust list URL reference.",
277
- "anyOf": [
278
- {
327
+ "anyOf": [
328
+ {
329
+ "type": "object",
330
+ "properties": {
331
+ "format": {
332
+ "description": "Format of the list: a List of Trusted Entities (ETSI TS 119 602) as JWT. Default.",
279
333
  "type": "string",
280
- "format": "uri"
334
+ "const": "lote"
281
335
  },
282
- {
283
- "type": "string",
284
- "pattern": "^<TENANT_URL>(?:\\/.*)?$"
336
+ "trustListId": {
337
+ "description": "Optional trust list id reference.",
338
+ "type": "string"
339
+ },
340
+ "url": {
341
+ "description": "Optional trust list URL reference.",
342
+ "anyOf": [
343
+ {
344
+ "type": "string",
345
+ "format": "uri"
346
+ },
347
+ {
348
+ "type": "string",
349
+ "pattern": "^<TENANT_URL>(?:\\/.*)?$"
350
+ }
351
+ ]
352
+ },
353
+ "verifierKey": {
354
+ "description": "Optional verifier key material.",
355
+ "type": "object",
356
+ "propertyNames": {
357
+ "type": "string"
358
+ },
359
+ "additionalProperties": {}
360
+ },
361
+ "verifierX509Der": {
362
+ "description": "Optional verifier certificate in DER/base64 form.",
363
+ "type": "string"
285
364
  }
286
- ]
365
+ },
366
+ "additionalProperties": false
287
367
  },
288
- "verifierKey": {
289
- "description": "Optional verifier key material.",
368
+ {
290
369
  "type": "object",
291
- "propertyNames": {
292
- "type": "string"
370
+ "properties": {
371
+ "format": {
372
+ "type": "string",
373
+ "const": "trusted-list",
374
+ "description": "Format of the list: an ETSI TS 119 612 Trusted List or list of trusted lists as XML."
375
+ },
376
+ "url": {
377
+ "anyOf": [
378
+ {
379
+ "type": "string",
380
+ "format": "uri"
381
+ },
382
+ {
383
+ "type": "string",
384
+ "pattern": "^<TENANT_URL>(?:\\/.*)?$"
385
+ }
386
+ ],
387
+ "description": "URL of the Trusted List, or of a list of trusted lists (LOTL) whose national lists are followed."
388
+ },
389
+ "signingCertificates": {
390
+ "minItems": 1,
391
+ "type": "array",
392
+ "items": {
393
+ "type": "string",
394
+ "minLength": 1,
395
+ "pattern": "^[A-Za-z0-9+/\\s]+={0,2}$"
396
+ },
397
+ "description": "Base64 DER certificates one of which must have signed the list: for a list of trusted lists, the signing certificates its operator publishes; for a national list, its scheme operator certificates."
398
+ },
399
+ "schemeTerritories": {
400
+ "description": "For a list of trusted lists: the SchemeTerritory values of the national lists to follow, such as DE. All when absent.",
401
+ "minItems": 1,
402
+ "type": "array",
403
+ "items": {
404
+ "type": "string",
405
+ "minLength": 1
406
+ }
407
+ }
293
408
  },
294
- "additionalProperties": {}
295
- },
296
- "verifierX509Der": {
297
- "description": "Optional verifier certificate in DER/base64 form.",
298
- "type": "string"
409
+ "required": [
410
+ "format",
411
+ "url",
412
+ "signingCertificates"
413
+ ],
414
+ "additionalProperties": false
299
415
  }
300
- },
301
- "additionalProperties": false
416
+ ],
417
+ "description": "Reference to a trust list used for authority verification."
302
418
  },
303
419
  "description": "Trust list references for ETSI TL verification."
304
420
  }
@@ -672,6 +788,22 @@
672
788
  "null"
673
789
  ]
674
790
  },
791
+ "allowedOrigins": {
792
+ "description": "Origins (http(s)://host[:port]) of the web pages allowed to request this presentation over the Digital Credentials API. When set, dc-api and iso-18013-7 offers are refused for any other expected_origin, and an offer without expected_origin uses the only listed origin. Unset: any expected_origin is accepted. Not used for uri requests.",
793
+ "anyOf": [
794
+ {
795
+ "maxItems": 100,
796
+ "type": "array",
797
+ "items": {
798
+ "type": "string",
799
+ "pattern": "^(?:https:\\/\\/(?:[a-z0-9.-]+|\\[[0-9a-f:.]+\\])(?::(?:[1-9]|[1-9][0-9]|[1-35-9][0-9]{2}|4[0-35-9][0-9]|44[0-24-9]|[1-9][0-9]{3,4}))?|http:\\/\\/(?:[a-z0-9.-]+|\\[[0-9a-f:.]+\\])(?::(?:[1-9]|[1-79][0-9]|8[1-9]|[1-9][0-9]{2,4}))?)$"
800
+ }
801
+ },
802
+ {
803
+ "type": "null"
804
+ }
805
+ ]
806
+ },
675
807
  "readerAuth": {
676
808
  "description": "Whether reader authentication is required for mDoc requests.",
677
809
  "type": [