@eudiplo/cli 9.1.0-main.9c22e4d → 9.1.0-main.9ef2054
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/commands/config/index.d.ts.map +1 -1
- package/dist/commands/config/index.js +1 -1
- package/dist/commands/config/index.js.map +1 -1
- package/dist/commands/config/portability/action.d.ts.map +1 -1
- package/dist/commands/config/portability/action.js +129 -13
- package/dist/commands/config/portability/action.js.map +1 -1
- package/dist/commands/config/portability/folder-bundle.d.ts +60 -0
- package/dist/commands/config/portability/folder-bundle.d.ts.map +1 -0
- package/dist/commands/config/portability/folder-bundle.js +270 -0
- package/dist/commands/config/portability/folder-bundle.js.map +1 -0
- package/dist/commands/config/portability/folder-export.d.ts +22 -0
- package/dist/commands/config/portability/folder-export.d.ts.map +1 -0
- package/dist/commands/config/portability/folder-export.js +146 -0
- package/dist/commands/config/portability/folder-export.js.map +1 -0
- package/dist/commands/config/portability/index.d.ts.map +1 -1
- package/dist/commands/config/portability/index.js +8 -4
- package/dist/commands/config/portability/index.js.map +1 -1
- package/dist/commands/config/portability/migrations.spec.js +3 -2
- package/dist/commands/config/portability/migrations.spec.js.map +1 -1
- package/dist/commands/config/portability/upgrade.d.ts +2 -0
- package/dist/commands/config/portability/upgrade.d.ts.map +1 -1
- package/dist/commands/config/portability/upgrade.js +45 -11
- package/dist/commands/config/portability/upgrade.js.map +1 -1
- package/dist/commands/config/validate/registry.d.ts +3 -0
- package/dist/commands/config/validate/registry.d.ts.map +1 -1
- package/dist/commands/config/validate/registry.js +5 -0
- package/dist/commands/config/validate/registry.js.map +1 -1
- package/dist/commands/config/validate/registry.json +0 -11
- package/dist/commands/config/validate/report.d.ts +4 -0
- package/dist/commands/config/validate/report.d.ts.map +1 -1
- package/dist/commands/config/validate/report.js +7 -0
- package/dist/commands/config/validate/report.js.map +1 -1
- package/dist/commands/config/validate/types.d.ts +6 -0
- package/dist/commands/config/validate/types.d.ts.map +1 -1
- package/dist/commands/config/validate/validator.d.ts +10 -1
- package/dist/commands/config/validate/validator.d.ts.map +1 -1
- package/dist/commands/config/validate/validator.js +27 -16
- package/dist/commands/config/validate/validator.js.map +1 -1
- package/dist/commands/init/action.js +1 -1
- package/dist/commands/init/action.js.map +1 -1
- package/dist/commands/status/action.js +1 -1
- package/dist/commands/status/action.js.map +1 -1
- package/dist/commands/version/action.d.ts.map +1 -1
- package/dist/commands/version/action.js.map +1 -1
- package/dist/index.js +16123 -13728
- package/dist/runtime.js +1 -1
- package/dist/runtime.js.map +1 -1
- package/dist/services/cli-config.d.ts.map +1 -1
- package/dist/services/cli-config.js +1 -1
- package/dist/services/cli-config.js.map +1 -1
- package/dist/services/deployment-drivers.d.ts.map +1 -1
- package/dist/services/deployment-drivers.js +3 -3
- package/dist/services/deployment-drivers.js.map +1 -1
- package/dist/services/diagnostics.d.ts.map +1 -1
- package/dist/services/diagnostics.js +1 -1
- package/dist/services/diagnostics.js.map +1 -1
- package/package.json +5 -5
- package/templates/demo-config/issuance/issuance.json +1 -1
- package/templates/demo-config/presentation/age-over-18.json +1 -1
- package/templates/demo-config/presentation/pid.json +1 -1
- package/templates/demo-config/trust-lists/trustlist-580831bc-ef11-43f4-a3be-a2b6bf1b29a3-config.json +3 -1
- package/templates/schemas/CredentialConfigCreate.schema.json +5 -1
- package/templates/schemas/DCQL.schema.json +168 -52
- package/templates/schemas/IssuanceConfig.schema.json +4 -12
- package/templates/schemas/IssuanceConfigFile.schema.json +818 -1
- package/templates/schemas/PresentationConfigCreateDto.schema.json +198 -163
- package/templates/schemas/PresentationConfigFile.schema.json +878 -1
- package/templates/schemas/TrustListCreateDto.schema.json +32 -6
- package/templates/schemas.manifest.json +0 -2
- package/templates/schemas/CreateRegistrarConfigDto.schema.json +0 -90
- package/templates/schemas/RegistrarConfigFile.schema.json +0 -144
|
@@ -338,12 +338,25 @@
|
|
|
338
338
|
"type": "string"
|
|
339
339
|
},
|
|
340
340
|
"contactUri": {
|
|
341
|
-
"
|
|
342
|
-
"
|
|
341
|
+
"type": "string",
|
|
342
|
+
"pattern": "^(?:mailto:)?[A-Za-z0-9!$'*+_~-]+(?:\\.[A-Za-z0-9!$'*+_~-]+)*@[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)+$",
|
|
343
|
+
"description": "E-mail address of the entity, for example info@example.com or mailto:info@example.com, published as a mailto: URI in TEElectronicAddress (ETSI TS 119 602 clause 6.5.3.2). Use ASCII characters; write an internationalized domain in its xn-- form."
|
|
344
|
+
},
|
|
345
|
+
"website": {
|
|
346
|
+
"type": "string",
|
|
347
|
+
"pattern": "^https?:\\/\\/[^\\s/?#]+(?:[/?#]\\S*)?$",
|
|
348
|
+
"description": "Web site of the entity, an absolute http or https URI published in TEElectronicAddress (ETSI TS 119 602 clause 6.5.3.2). Write it as a URL parser serializes it, for example https://example.com/."
|
|
349
|
+
},
|
|
350
|
+
"phone": {
|
|
351
|
+
"description": "Optional telephone number of the entity in international form, for example +49-30-1234567 or tel:+49-30-1234567, published as a tel: URI in TEElectronicAddress (ETSI TS 119 602 clause 6.5.3.2).",
|
|
352
|
+
"type": "string",
|
|
353
|
+
"pattern": "^(?:tel:)?\\+(?:[0-9][().-]?){2,14}[0-9]$"
|
|
343
354
|
}
|
|
344
355
|
},
|
|
345
356
|
"required": [
|
|
346
|
-
"name"
|
|
357
|
+
"name",
|
|
358
|
+
"contactUri",
|
|
359
|
+
"website"
|
|
347
360
|
],
|
|
348
361
|
"additionalProperties": false,
|
|
349
362
|
"description": "Entity metadata."
|
|
@@ -674,12 +687,25 @@
|
|
|
674
687
|
"type": "string"
|
|
675
688
|
},
|
|
676
689
|
"contactUri": {
|
|
677
|
-
"
|
|
678
|
-
"
|
|
690
|
+
"type": "string",
|
|
691
|
+
"pattern": "^(?:mailto:)?[A-Za-z0-9!$'*+_~-]+(?:\\.[A-Za-z0-9!$'*+_~-]+)*@[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?(?:\\.[A-Za-z0-9](?:[A-Za-z0-9-]{0,61}[A-Za-z0-9])?)+$",
|
|
692
|
+
"description": "E-mail address of the entity, for example info@example.com or mailto:info@example.com, published as a mailto: URI in TEElectronicAddress (ETSI TS 119 602 clause 6.5.3.2). Use ASCII characters; write an internationalized domain in its xn-- form."
|
|
693
|
+
},
|
|
694
|
+
"website": {
|
|
695
|
+
"type": "string",
|
|
696
|
+
"pattern": "^https?:\\/\\/[^\\s/?#]+(?:[/?#]\\S*)?$",
|
|
697
|
+
"description": "Web site of the entity, an absolute http or https URI published in TEElectronicAddress (ETSI TS 119 602 clause 6.5.3.2). Write it as a URL parser serializes it, for example https://example.com/."
|
|
698
|
+
},
|
|
699
|
+
"phone": {
|
|
700
|
+
"description": "Optional telephone number of the entity in international form, for example +49-30-1234567 or tel:+49-30-1234567, published as a tel: URI in TEElectronicAddress (ETSI TS 119 602 clause 6.5.3.2).",
|
|
701
|
+
"type": "string",
|
|
702
|
+
"pattern": "^(?:tel:)?\\+(?:[0-9][().-]?){2,14}[0-9]$"
|
|
679
703
|
}
|
|
680
704
|
},
|
|
681
705
|
"required": [
|
|
682
|
-
"name"
|
|
706
|
+
"name",
|
|
707
|
+
"contactUri",
|
|
708
|
+
"website"
|
|
683
709
|
],
|
|
684
710
|
"additionalProperties": false,
|
|
685
711
|
"description": "Entity metadata."
|
|
@@ -7,7 +7,6 @@
|
|
|
7
7
|
"CreateAttributeProviderDto.schema.json",
|
|
8
8
|
"CreateClientDto.schema.json",
|
|
9
9
|
"CreateFederationTrustAnchorDto.schema.json",
|
|
10
|
-
"CreateRegistrarConfigDto.schema.json",
|
|
11
10
|
"CreateStatusListDto.schema.json",
|
|
12
11
|
"CreateTenantDto.schema.json",
|
|
13
12
|
"CreateWebhookEndpointDto.schema.json",
|
|
@@ -28,7 +27,6 @@
|
|
|
28
27
|
"KmsConfigFile.schema.json",
|
|
29
28
|
"PresentationConfigCreateDto.schema.json",
|
|
30
29
|
"PresentationConfigFile.schema.json",
|
|
31
|
-
"RegistrarConfigFile.schema.json",
|
|
32
30
|
"RotationPolicyCreateDto.schema.json",
|
|
33
31
|
"RotationPolicyUpdateDto.schema.json",
|
|
34
32
|
"SessionStorageConfig.schema.json",
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"type": "object",
|
|
4
|
-
"properties": {
|
|
5
|
-
"registrarUrl": {
|
|
6
|
-
"type": "string",
|
|
7
|
-
"format": "uri",
|
|
8
|
-
"description": "Base URL of the registrar service."
|
|
9
|
-
},
|
|
10
|
-
"oidcUrl": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"format": "uri",
|
|
13
|
-
"description": "OIDC discovery or issuer URL used for authentication."
|
|
14
|
-
},
|
|
15
|
-
"clientId": {
|
|
16
|
-
"type": "string",
|
|
17
|
-
"minLength": 1,
|
|
18
|
-
"description": "OAuth client ID used against the registrar."
|
|
19
|
-
},
|
|
20
|
-
"clientSecret": {
|
|
21
|
-
"description": "Optional OAuth client secret for registrar authentication.",
|
|
22
|
-
"type": "string",
|
|
23
|
-
"minLength": 1
|
|
24
|
-
},
|
|
25
|
-
"username": {
|
|
26
|
-
"type": "string",
|
|
27
|
-
"minLength": 1,
|
|
28
|
-
"description": "Username used for registrar authentication."
|
|
29
|
-
},
|
|
30
|
-
"password": {
|
|
31
|
-
"type": "string",
|
|
32
|
-
"minLength": 1,
|
|
33
|
-
"description": "Password used for registrar authentication."
|
|
34
|
-
},
|
|
35
|
-
"registrationCertificateDefaults": {
|
|
36
|
-
"description": "Optional default registration certificate values.",
|
|
37
|
-
"anyOf": [
|
|
38
|
-
{
|
|
39
|
-
"type": "object",
|
|
40
|
-
"propertyNames": {
|
|
41
|
-
"type": "string"
|
|
42
|
-
},
|
|
43
|
-
"additionalProperties": {}
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"type": "null"
|
|
47
|
-
}
|
|
48
|
-
]
|
|
49
|
-
},
|
|
50
|
-
"relyingPartyContact": {
|
|
51
|
-
"description": "Contact of the relying party, sent when EUDIPLO registers the relying party at the registrar. The registrar needs at least one contact value to issue access certificates. A relying party that is already registered keeps its contact.",
|
|
52
|
-
"anyOf": [
|
|
53
|
-
{
|
|
54
|
-
"type": "object",
|
|
55
|
-
"properties": {
|
|
56
|
-
"supportUri": {
|
|
57
|
-
"description": "https URL where the relying party can be contacted.",
|
|
58
|
-
"type": "string",
|
|
59
|
-
"format": "uri"
|
|
60
|
-
},
|
|
61
|
-
"email": {
|
|
62
|
-
"description": "Email address of the relying party.",
|
|
63
|
-
"type": "string",
|
|
64
|
-
"pattern": "^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,}$"
|
|
65
|
-
},
|
|
66
|
-
"phone": {
|
|
67
|
-
"description": "Phone number of the relying party.",
|
|
68
|
-
"type": "string",
|
|
69
|
-
"pattern": "^[+0-9()\\-\\s]{5,40}$"
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
"additionalProperties": false
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"type": "null"
|
|
76
|
-
}
|
|
77
|
-
]
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
"required": [
|
|
81
|
-
"registrarUrl",
|
|
82
|
-
"oidcUrl",
|
|
83
|
-
"clientId",
|
|
84
|
-
"username",
|
|
85
|
-
"password"
|
|
86
|
-
],
|
|
87
|
-
"additionalProperties": false,
|
|
88
|
-
"$id": "./CreateRegistrarConfigDto.schema.json",
|
|
89
|
-
"title": "CreateRegistrarConfigDto"
|
|
90
|
-
}
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "./RegistrarConfigFile.schema.json",
|
|
4
|
-
"title": "RegistrarConfigFile",
|
|
5
|
-
"description": "Configuration file identified by its $schema URL.",
|
|
6
|
-
"oneOf": [
|
|
7
|
-
{
|
|
8
|
-
"type": "object",
|
|
9
|
-
"properties": {
|
|
10
|
-
"$schema": {
|
|
11
|
-
"type": "string",
|
|
12
|
-
"const": "https://eudiplo.dev/schemas/v2/RegistrarConfigFile.schema.json"
|
|
13
|
-
},
|
|
14
|
-
"metadata": {
|
|
15
|
-
"type": "object",
|
|
16
|
-
"properties": {
|
|
17
|
-
"generation": {
|
|
18
|
-
"type": "integer",
|
|
19
|
-
"minimum": 1,
|
|
20
|
-
"description": "Monotonically increasing configuration generation."
|
|
21
|
-
},
|
|
22
|
-
"ownership": {
|
|
23
|
-
"type": "string",
|
|
24
|
-
"enum": [
|
|
25
|
-
"unmanaged",
|
|
26
|
-
"file-managed"
|
|
27
|
-
],
|
|
28
|
-
"description": "Requested ownership recorded when the document is applied."
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
"additionalProperties": false
|
|
32
|
-
},
|
|
33
|
-
"spec": {
|
|
34
|
-
"$ref": "./CreateRegistrarConfigDto.schema.json"
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"required": [
|
|
38
|
-
"$schema",
|
|
39
|
-
"spec"
|
|
40
|
-
],
|
|
41
|
-
"additionalProperties": false
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
45
|
-
"$id": "https://eudiplo.dev/schemas/v1/RegistrarConfigFile.schema.json",
|
|
46
|
-
"title": "RegistrarConfigFile",
|
|
47
|
-
"type": "object",
|
|
48
|
-
"properties": {
|
|
49
|
-
"$schema": {
|
|
50
|
-
"type": "string",
|
|
51
|
-
"const": "https://eudiplo.dev/schemas/v1/RegistrarConfigFile.schema.json"
|
|
52
|
-
},
|
|
53
|
-
"metadata": {
|
|
54
|
-
"type": "object",
|
|
55
|
-
"properties": {
|
|
56
|
-
"generation": {
|
|
57
|
-
"type": "integer",
|
|
58
|
-
"minimum": 1,
|
|
59
|
-
"description": "Monotonically increasing configuration generation."
|
|
60
|
-
},
|
|
61
|
-
"ownership": {
|
|
62
|
-
"type": "string",
|
|
63
|
-
"enum": [
|
|
64
|
-
"unmanaged",
|
|
65
|
-
"file-managed"
|
|
66
|
-
],
|
|
67
|
-
"description": "Requested ownership recorded when the document is applied."
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
"additionalProperties": false
|
|
71
|
-
},
|
|
72
|
-
"spec": {
|
|
73
|
-
"$ref": "#/$defs/CreateRegistrarConfigDto"
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
"required": [
|
|
77
|
-
"$schema",
|
|
78
|
-
"spec"
|
|
79
|
-
],
|
|
80
|
-
"additionalProperties": false,
|
|
81
|
-
"$defs": {
|
|
82
|
-
"CreateRegistrarConfigDto": {
|
|
83
|
-
"type": "object",
|
|
84
|
-
"properties": {
|
|
85
|
-
"registrarUrl": {
|
|
86
|
-
"type": "string",
|
|
87
|
-
"format": "uri",
|
|
88
|
-
"description": "Base URL of the registrar service."
|
|
89
|
-
},
|
|
90
|
-
"oidcUrl": {
|
|
91
|
-
"type": "string",
|
|
92
|
-
"format": "uri",
|
|
93
|
-
"description": "OIDC discovery or issuer URL used for authentication."
|
|
94
|
-
},
|
|
95
|
-
"clientId": {
|
|
96
|
-
"type": "string",
|
|
97
|
-
"minLength": 1,
|
|
98
|
-
"description": "OAuth client ID used against the registrar."
|
|
99
|
-
},
|
|
100
|
-
"clientSecret": {
|
|
101
|
-
"description": "Optional OAuth client secret for registrar authentication.",
|
|
102
|
-
"type": "string",
|
|
103
|
-
"minLength": 1
|
|
104
|
-
},
|
|
105
|
-
"username": {
|
|
106
|
-
"type": "string",
|
|
107
|
-
"minLength": 1,
|
|
108
|
-
"description": "Username used for registrar authentication."
|
|
109
|
-
},
|
|
110
|
-
"password": {
|
|
111
|
-
"type": "string",
|
|
112
|
-
"minLength": 1,
|
|
113
|
-
"description": "Password used for registrar authentication."
|
|
114
|
-
},
|
|
115
|
-
"registrationCertificateDefaults": {
|
|
116
|
-
"description": "Optional default registration certificate values.",
|
|
117
|
-
"anyOf": [
|
|
118
|
-
{
|
|
119
|
-
"type": "object",
|
|
120
|
-
"propertyNames": {
|
|
121
|
-
"type": "string"
|
|
122
|
-
},
|
|
123
|
-
"additionalProperties": {}
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"type": "null"
|
|
127
|
-
}
|
|
128
|
-
]
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
"required": [
|
|
132
|
-
"registrarUrl",
|
|
133
|
-
"oidcUrl",
|
|
134
|
-
"clientId",
|
|
135
|
-
"username",
|
|
136
|
-
"password"
|
|
137
|
-
],
|
|
138
|
-
"additionalProperties": false,
|
|
139
|
-
"title": "CreateRegistrarConfigDto"
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
]
|
|
144
|
-
}
|