@eudiplo/cli 9.1.0-main.6abe02c → 9.1.0-main.6e50d67

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 (35) hide show
  1. package/dist/commands/config/tenant/action.d.ts.map +1 -1
  2. package/dist/commands/config/tenant/action.js +3 -2
  3. package/dist/commands/config/tenant/action.js.map +1 -1
  4. package/dist/commands/config/validate/validator.d.ts.map +1 -1
  5. package/dist/commands/config/validate/validator.js +26 -3
  6. package/dist/commands/config/validate/validator.js.map +1 -1
  7. package/dist/index.js +4113 -1824
  8. package/dist/services/compose-project.d.ts +6 -0
  9. package/dist/services/compose-project.d.ts.map +1 -1
  10. package/dist/services/compose-project.js +13 -2
  11. package/dist/services/compose-project.js.map +1 -1
  12. package/package.json +1 -1
  13. package/templates/demo-config/info.json +1 -1
  14. package/templates/demo-config/issuance/credentials/citizen.json +1 -1
  15. package/templates/demo-config/issuance/credentials/pid-key.json +1 -1
  16. package/templates/demo-config/issuance/credentials/pid-mdoc.json +1 -1
  17. package/templates/demo-config/issuance/credentials/pid.json +1 -1
  18. package/templates/demo-config/issuance/issuance.json +1 -1
  19. package/templates/demo-config/key-chains/access.json +1 -1
  20. package/templates/demo-config/key-chains/attestation.json +1 -1
  21. package/templates/demo-config/key-chains/status-list.json +1 -1
  22. package/templates/demo-config/key-chains/trust-list.json +1 -1
  23. package/templates/demo-config/presentation/age-over-18.json +1 -1
  24. package/templates/demo-config/presentation/pid.json +1 -1
  25. package/templates/docker-compose.yml +2 -2
  26. package/templates/schemas/CreateTenantDto.schema.json +3 -3
  27. package/templates/schemas/CredentialConfigCreate.schema.json +10 -8
  28. package/templates/schemas/CredentialConfigFile.schema.json +1027 -1
  29. package/templates/schemas/IssuanceConfig.schema.json +3 -3
  30. package/templates/schemas/KeyChainConfigFile.schema.json +2 -2
  31. package/templates/schemas/KeyChainCreateDto.schema.json +1 -1
  32. package/templates/schemas/KeyChainDefaultsConfigFile.schema.json +4 -4
  33. package/templates/schemas/KeyChainImportDto.schema.json +1 -1
  34. package/templates/schemas/PresentationConfigCreateDto.schema.json +16 -0
  35. package/templates/schemas/PresentationConfigFile.schema.json +746 -1
@@ -160,7 +160,7 @@
160
160
  "minimum": 60
161
161
  },
162
162
  "signingKeyId": {
163
- "description": "ID of a key chain with usage type \"accessToken\" that signs the issued access tokens. Without it, the tenant's access token key chain signs them.",
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.",
164
164
  "type": "string",
165
165
  "minLength": 1
166
166
  },
@@ -302,7 +302,7 @@
302
302
  "minimum": 60
303
303
  },
304
304
  "signingKeyId": {
305
- "description": "ID of a key chain with usage type \"accessToken\" that signs the issued access tokens. Without it, the tenant's access token key chain signs them.",
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.",
306
306
  "type": "string",
307
307
  "minLength": 1
308
308
  },
@@ -410,7 +410,7 @@
410
410
  "minimum": 60
411
411
  },
412
412
  "signingKeyId": {
413
- "description": "ID of a key chain with usage type \"accessToken\" that signs the issued access tokens. Without it, the tenant's access token key chain signs them.",
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.",
414
414
  "type": "string",
415
415
  "minLength": 1
416
416
  },
@@ -42,7 +42,7 @@
42
42
  "type": "string",
43
43
  "enum": [
44
44
  "access",
45
- "accessToken",
45
+ "authorizationServer",
46
46
  "attestation",
47
47
  "trustList",
48
48
  "statusList",
@@ -1526,7 +1526,7 @@
1526
1526
  "type": "string",
1527
1527
  "enum": [
1528
1528
  "access",
1529
- "accessToken",
1529
+ "authorizationServer",
1530
1530
  "attestation",
1531
1531
  "trustList",
1532
1532
  "statusList",
@@ -6,7 +6,7 @@
6
6
  "type": "string",
7
7
  "enum": [
8
8
  "access",
9
- "accessToken",
9
+ "authorizationServer",
10
10
  "attestation",
11
11
  "trustList",
12
12
  "statusList",
@@ -37,8 +37,8 @@
37
37
  "type": "string",
38
38
  "minLength": 1
39
39
  },
40
- "accessToken": {
41
- "description": "ID of the access token key chain (usage type accessToken) that signs the access tokens of authorization servers without token.signingKeyId and is published in their JWKS. Without it, EUDIPLO uses the tenant's oldest access token key chain and creates one with ID access-token when the tenant has none.",
40
+ "authorizationServer": {
41
+ "description": "ID of the authorization server key chain (usage type authorizationServer) that signs the access tokens of authorization servers without token.signingKeyId and is published in their JWKS. Without it, EUDIPLO uses the tenant's oldest authorization server key chain and creates one with ID authorization-server when the tenant has none.",
42
42
  "type": "string",
43
43
  "minLength": 1
44
44
  }
@@ -110,8 +110,8 @@
110
110
  "type": "string",
111
111
  "minLength": 1
112
112
  },
113
- "accessToken": {
114
- "description": "ID of the access token key chain (usage type accessToken) that signs the access tokens of authorization servers without token.signingKeyId and is published in their JWKS. Without it, EUDIPLO uses the tenant's oldest access token key chain and creates one with ID access-token when the tenant has none.",
113
+ "authorizationServer": {
114
+ "description": "ID of the authorization server key chain (usage type authorizationServer) that signs the access tokens of authorization servers without token.signingKeyId and is published in their JWKS. Without it, EUDIPLO uses the tenant's oldest authorization server key chain and creates one with ID authorization-server when the tenant has none.",
115
115
  "type": "string",
116
116
  "minLength": 1
117
117
  }
@@ -61,7 +61,7 @@
61
61
  "type": "string",
62
62
  "enum": [
63
63
  "access",
64
- "accessToken",
64
+ "authorizationServer",
65
65
  "attestation",
66
66
  "trustList",
67
67
  "statusList",
@@ -672,6 +672,22 @@
672
672
  "null"
673
673
  ]
674
674
  },
675
+ "allowedOrigins": {
676
+ "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.",
677
+ "anyOf": [
678
+ {
679
+ "maxItems": 100,
680
+ "type": "array",
681
+ "items": {
682
+ "type": "string",
683
+ "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}))?)$"
684
+ }
685
+ },
686
+ {
687
+ "type": "null"
688
+ }
689
+ ]
690
+ },
675
691
  "readerAuth": {
676
692
  "description": "Whether reader authentication is required for mDoc requests.",
677
693
  "type": [