@eudiplo/cli 9.1.0-main.d8fc118 → 9.1.0-main.da23cae

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 (95) hide show
  1. package/dist/commands/config/index.d.ts.map +1 -1
  2. package/dist/commands/config/index.js +1 -1
  3. package/dist/commands/config/index.js.map +1 -1
  4. package/dist/commands/config/portability/action.d.ts.map +1 -1
  5. package/dist/commands/config/portability/action.js +129 -13
  6. package/dist/commands/config/portability/action.js.map +1 -1
  7. package/dist/commands/config/portability/folder-bundle.d.ts +60 -0
  8. package/dist/commands/config/portability/folder-bundle.d.ts.map +1 -0
  9. package/dist/commands/config/portability/folder-bundle.js +270 -0
  10. package/dist/commands/config/portability/folder-bundle.js.map +1 -0
  11. package/dist/commands/config/portability/folder-export.d.ts +22 -0
  12. package/dist/commands/config/portability/folder-export.d.ts.map +1 -0
  13. package/dist/commands/config/portability/folder-export.js +146 -0
  14. package/dist/commands/config/portability/folder-export.js.map +1 -0
  15. package/dist/commands/config/portability/index.d.ts.map +1 -1
  16. package/dist/commands/config/portability/index.js +8 -4
  17. package/dist/commands/config/portability/index.js.map +1 -1
  18. package/dist/commands/config/portability/migrations.spec.js +4 -2
  19. package/dist/commands/config/portability/migrations.spec.js.map +1 -1
  20. package/dist/commands/config/portability/upgrade.d.ts +2 -0
  21. package/dist/commands/config/portability/upgrade.d.ts.map +1 -1
  22. package/dist/commands/config/portability/upgrade.js +45 -11
  23. package/dist/commands/config/portability/upgrade.js.map +1 -1
  24. package/dist/commands/config/tenant/action.d.ts.map +1 -1
  25. package/dist/commands/config/tenant/action.js +3 -2
  26. package/dist/commands/config/tenant/action.js.map +1 -1
  27. package/dist/commands/config/validate/registry.d.ts +3 -0
  28. package/dist/commands/config/validate/registry.d.ts.map +1 -1
  29. package/dist/commands/config/validate/registry.js +5 -0
  30. package/dist/commands/config/validate/registry.js.map +1 -1
  31. package/dist/commands/config/validate/registry.json +0 -11
  32. package/dist/commands/config/validate/report.d.ts +4 -0
  33. package/dist/commands/config/validate/report.d.ts.map +1 -1
  34. package/dist/commands/config/validate/report.js +7 -0
  35. package/dist/commands/config/validate/report.js.map +1 -1
  36. package/dist/commands/config/validate/types.d.ts +6 -0
  37. package/dist/commands/config/validate/types.d.ts.map +1 -1
  38. package/dist/commands/config/validate/validator.d.ts +10 -1
  39. package/dist/commands/config/validate/validator.d.ts.map +1 -1
  40. package/dist/commands/config/validate/validator.js +52 -18
  41. package/dist/commands/config/validate/validator.js.map +1 -1
  42. package/dist/commands/init/action.js +1 -1
  43. package/dist/commands/init/action.js.map +1 -1
  44. package/dist/commands/status/action.js +1 -1
  45. package/dist/commands/status/action.js.map +1 -1
  46. package/dist/commands/version/action.d.ts.map +1 -1
  47. package/dist/commands/version/action.js.map +1 -1
  48. package/dist/index.js +21918 -8560
  49. package/dist/runtime.js +1 -1
  50. package/dist/runtime.js.map +1 -1
  51. package/dist/services/cli-config.d.ts.map +1 -1
  52. package/dist/services/cli-config.js +1 -1
  53. package/dist/services/cli-config.js.map +1 -1
  54. package/dist/services/compose-project.d.ts +6 -0
  55. package/dist/services/compose-project.d.ts.map +1 -1
  56. package/dist/services/compose-project.js +13 -2
  57. package/dist/services/compose-project.js.map +1 -1
  58. package/dist/services/deployment-drivers.d.ts.map +1 -1
  59. package/dist/services/deployment-drivers.js +3 -3
  60. package/dist/services/deployment-drivers.js.map +1 -1
  61. package/dist/services/diagnostics.d.ts.map +1 -1
  62. package/dist/services/diagnostics.js +1 -1
  63. package/dist/services/diagnostics.js.map +1 -1
  64. package/package.json +5 -5
  65. package/templates/demo-config/info.json +1 -1
  66. package/templates/demo-config/issuance/credentials/citizen.json +1 -1
  67. package/templates/demo-config/issuance/credentials/pid-key.json +1 -1
  68. package/templates/demo-config/issuance/credentials/pid-mdoc.json +1 -1
  69. package/templates/demo-config/issuance/credentials/pid.json +1 -1
  70. package/templates/demo-config/issuance/issuance.json +1 -1
  71. package/templates/demo-config/key-chains/access.json +1 -1
  72. package/templates/demo-config/key-chains/attestation.json +1 -1
  73. package/templates/demo-config/key-chains/status-list.json +1 -1
  74. package/templates/demo-config/key-chains/trust-list.json +1 -1
  75. package/templates/demo-config/presentation/age-over-18.json +1 -1
  76. package/templates/demo-config/presentation/pid.json +1 -1
  77. package/templates/demo-config/trust-lists/trustlist-580831bc-ef11-43f4-a3be-a2b6bf1b29a3-config.json +4 -2
  78. package/templates/docker-compose.yml +2 -2
  79. package/templates/schemas/CreateTenantDto.schema.json +3 -3
  80. package/templates/schemas/CredentialConfigCreate.schema.json +15 -9
  81. package/templates/schemas/CredentialConfigFile.schema.json +1027 -1
  82. package/templates/schemas/DCQL.schema.json +168 -52
  83. package/templates/schemas/IssuanceConfig.schema.json +7 -20
  84. package/templates/schemas/IssuanceConfigFile.schema.json +1631 -1
  85. package/templates/schemas/KeyChainConfigFile.schema.json +371 -1
  86. package/templates/schemas/KeyChainCreateDto.schema.json +1 -0
  87. package/templates/schemas/KeyChainDefaultsConfigFile.schema.json +58 -0
  88. package/templates/schemas/KeyChainImportDto.schema.json +1 -0
  89. package/templates/schemas/PresentationConfigCreateDto.schema.json +214 -163
  90. package/templates/schemas/PresentationConfigFile.schema.json +1623 -1
  91. package/templates/schemas/TrustListConfigFile.schema.json +263 -1
  92. package/templates/schemas/TrustListCreateDto.schema.json +556 -22
  93. package/templates/schemas.manifest.json +0 -2
  94. package/templates/schemas/CreateRegistrarConfigDto.schema.json +0 -90
  95. package/templates/schemas/RegistrarConfigFile.schema.json +0 -144
@@ -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",
@@ -68,11 +68,6 @@
68
68
  }
69
69
  ]
70
70
  },
71
- "signingKeyId": {
72
- "description": "Default signing key chain id for credential issuance.",
73
- "type": "string",
74
- "minLength": 1
75
- },
76
71
  "authorizationServers": {
77
72
  "minItems": 1,
78
73
  "type": "array",
@@ -165,7 +160,7 @@
165
160
  "minimum": 60
166
161
  },
167
162
  "signingKeyId": {
168
- "description": "Optional key chain id used to sign issued tokens.",
163
+ "description": "ID of a key chain with usage type \"authorizationServer\" that signs the issued access tokens. Without it, the tenant's authorization server key chain signs them.",
169
164
  "type": "string",
170
165
  "minLength": 1
171
166
  },
@@ -307,7 +302,7 @@
307
302
  "minimum": 60
308
303
  },
309
304
  "signingKeyId": {
310
- "description": "Optional key chain id used to sign issued tokens.",
305
+ "description": "ID of a key chain with usage type \"authorizationServer\" that signs the issued access tokens. Without it, the tenant's authorization server key chain signs them.",
311
306
  "type": "string",
312
307
  "minLength": 1
313
308
  },
@@ -415,7 +410,7 @@
415
410
  "minimum": 60
416
411
  },
417
412
  "signingKeyId": {
418
- "description": "Optional key chain id used to sign issued tokens.",
413
+ "description": "ID of a key chain with usage type \"authorizationServer\" that signs the issued access tokens. Without it, the tenant's authorization server key chain signs them.",
419
414
  "type": "string",
420
415
  "minLength": 1
421
416
  },
@@ -661,24 +656,16 @@
661
656
  "description": "Enable issuer registration certificate support.",
662
657
  "type": "boolean"
663
658
  },
664
- "mode": {
665
- "description": "How registration certificate data is provided.",
666
- "type": "string",
667
- "enum": [
668
- "import",
669
- "generate"
670
- ]
671
- },
672
659
  "jwt": {
673
- "description": "Optional registration certificate JWT when using import mode.",
660
+ "description": "Registration certificate JWT issued by a registrar, advertised in the issuer metadata while it is valid.",
674
661
  "type": "string"
675
662
  },
676
663
  "privacyPolicy": {
677
- "description": "Optional privacy policy URI.",
664
+ "description": "Privacy policy URI of the issuer. Stored only; EUDIPLO and the EUDI Hub request do not use it.",
678
665
  "type": "string"
679
666
  },
680
667
  "supportUri": {
681
- "description": "Optional support URI.",
668
+ "description": "Support URI of the issuer, kept for requesting a new certificate.",
682
669
  "type": "string"
683
670
  }
684
671
  },