@eudiplo/cli 7.4.0-main.a8bc227 → 7.4.0-main.d8480f9
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/package.json +4 -4
- package/templates/schemas/CredentialConfigCreate.schema.json +43 -31
- package/templates/schemas/DCQL.schema.json +6 -14
- package/templates/schemas/KmsConfigDto.schema.json +4 -8
- package/templates/schemas/PresentationConfigCreateDto.schema.json +94 -44
- package/templates/schemas/UpdateStatusListConfigDto.schema.json +6 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eudiplo/cli",
|
|
3
|
-
"version": "7.4.0-main.
|
|
3
|
+
"version": "7.4.0-main.d8480f9",
|
|
4
4
|
"description": "Deployment-aware command line tools for EUDIPLO",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
"jsonc-parser": "^3.3.1"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@biomejs/biome": "2.5.
|
|
60
|
-
"@types/node": "^26.
|
|
59
|
+
"@biomejs/biome": "2.5.11",
|
|
60
|
+
"@types/node": "^26.4.0",
|
|
61
61
|
"esbuild": "^0.28.2",
|
|
62
|
-
"tsx": "^4.23.
|
|
62
|
+
"tsx": "^4.23.13",
|
|
63
63
|
"typescript": "^7.0.2",
|
|
64
64
|
"vitest": "4.1.11"
|
|
65
65
|
}
|
|
@@ -9,13 +9,9 @@
|
|
|
9
9
|
},
|
|
10
10
|
"description": {
|
|
11
11
|
"description": "Optional description for operators and tooling.",
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"type": "null"
|
|
18
|
-
}
|
|
12
|
+
"type": [
|
|
13
|
+
"string",
|
|
14
|
+
"null"
|
|
19
15
|
]
|
|
20
16
|
},
|
|
21
17
|
"config": {
|
|
@@ -207,24 +203,16 @@
|
|
|
207
203
|
},
|
|
208
204
|
"attributeProviderId": {
|
|
209
205
|
"description": "Optional attribute provider id used to resolve claim values.",
|
|
210
|
-
"
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
"type": "null"
|
|
216
|
-
}
|
|
206
|
+
"type": [
|
|
207
|
+
"string",
|
|
208
|
+
"null"
|
|
217
209
|
]
|
|
218
210
|
},
|
|
219
211
|
"webhookEndpointId": {
|
|
220
212
|
"description": "Optional webhook endpoint id notified during issuance events.",
|
|
221
|
-
"
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
"type": "null"
|
|
227
|
-
}
|
|
213
|
+
"type": [
|
|
214
|
+
"string",
|
|
215
|
+
"null"
|
|
228
216
|
]
|
|
229
217
|
},
|
|
230
218
|
"vct": {
|
|
@@ -285,6 +273,35 @@
|
|
|
285
273
|
"description": "Enable status management for issued credentials.",
|
|
286
274
|
"type": "boolean"
|
|
287
275
|
},
|
|
276
|
+
"activeCredentials": {
|
|
277
|
+
"description": "Optional issuer-side policy limiting simultaneously active credentials per subject. Requires statusManagement.",
|
|
278
|
+
"anyOf": [
|
|
279
|
+
{
|
|
280
|
+
"type": "object",
|
|
281
|
+
"properties": {
|
|
282
|
+
"enabled": {
|
|
283
|
+
"type": "boolean",
|
|
284
|
+
"description": "Ensure a subject has at most one active credential of this configuration."
|
|
285
|
+
},
|
|
286
|
+
"tracking": {
|
|
287
|
+
"description": "How the subject's active credential set is tracked. Only 'internal' (pseudonymous, issuer-side) is currently supported.",
|
|
288
|
+
"type": "string",
|
|
289
|
+
"enum": [
|
|
290
|
+
"internal"
|
|
291
|
+
]
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
"required": [
|
|
295
|
+
"enabled"
|
|
296
|
+
],
|
|
297
|
+
"additionalProperties": false,
|
|
298
|
+
"description": "Issuer-side policy limiting the number of simultaneously active credentials per subject."
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"type": "null"
|
|
302
|
+
}
|
|
303
|
+
]
|
|
304
|
+
},
|
|
288
305
|
"iaeActions": {
|
|
289
306
|
"description": "Optional in-app experience actions for wallet flows.",
|
|
290
307
|
"anyOf": [
|
|
@@ -624,6 +641,7 @@
|
|
|
624
641
|
"fields"
|
|
625
642
|
],
|
|
626
643
|
"additionalProperties": false,
|
|
644
|
+
"description": "Payload for creating credential issuance configuration.",
|
|
627
645
|
"$defs": {
|
|
628
646
|
"__schema0": {
|
|
629
647
|
"type": "object",
|
|
@@ -631,16 +649,10 @@
|
|
|
631
649
|
"path": {
|
|
632
650
|
"type": "array",
|
|
633
651
|
"items": {
|
|
634
|
-
"
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
{
|
|
639
|
-
"type": "number"
|
|
640
|
-
},
|
|
641
|
-
{
|
|
642
|
-
"type": "null"
|
|
643
|
-
}
|
|
652
|
+
"type": [
|
|
653
|
+
"string",
|
|
654
|
+
"number",
|
|
655
|
+
"null"
|
|
644
656
|
]
|
|
645
657
|
},
|
|
646
658
|
"description": "Path to this claim inside the credential payload."
|
|
@@ -149,13 +149,9 @@
|
|
|
149
149
|
"path": {
|
|
150
150
|
"type": "array",
|
|
151
151
|
"items": {
|
|
152
|
-
"
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"type": "number"
|
|
158
|
-
}
|
|
152
|
+
"type": [
|
|
153
|
+
"string",
|
|
154
|
+
"number"
|
|
159
155
|
]
|
|
160
156
|
},
|
|
161
157
|
"description": "Path to the claim value in presented credentials."
|
|
@@ -321,13 +317,9 @@
|
|
|
321
317
|
"path": {
|
|
322
318
|
"type": "array",
|
|
323
319
|
"items": {
|
|
324
|
-
"
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
"type": "number"
|
|
330
|
-
}
|
|
320
|
+
"type": [
|
|
321
|
+
"string",
|
|
322
|
+
"number"
|
|
331
323
|
]
|
|
332
324
|
},
|
|
333
325
|
"description": "Path to the claim value in presented credentials."
|
|
@@ -315,17 +315,13 @@
|
|
|
315
315
|
]
|
|
316
316
|
},
|
|
317
317
|
"slot": {
|
|
318
|
-
"anyOf": [
|
|
319
|
-
{
|
|
320
|
-
"type": "number"
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
"type": "string"
|
|
324
|
-
}
|
|
325
|
-
],
|
|
326
318
|
"description": "Slot selection. Either the numeric slot index (as a string for ENV interpolation, or a number) or the token label. Supports ${ENV_VAR} placeholders.",
|
|
327
319
|
"examples": [
|
|
328
320
|
"${PKCS11_SLOT}"
|
|
321
|
+
],
|
|
322
|
+
"type": [
|
|
323
|
+
"number",
|
|
324
|
+
"string"
|
|
329
325
|
]
|
|
330
326
|
},
|
|
331
327
|
"pin": {
|
|
@@ -9,13 +9,9 @@
|
|
|
9
9
|
},
|
|
10
10
|
"description": {
|
|
11
11
|
"description": "Optional presentation configuration description.",
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
"type": "null"
|
|
18
|
-
}
|
|
12
|
+
"type": [
|
|
13
|
+
"string",
|
|
14
|
+
"null"
|
|
19
15
|
]
|
|
20
16
|
},
|
|
21
17
|
"lifeTime": {
|
|
@@ -189,13 +185,9 @@
|
|
|
189
185
|
"path": {
|
|
190
186
|
"type": "array",
|
|
191
187
|
"items": {
|
|
192
|
-
"
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
"type": "number"
|
|
198
|
-
}
|
|
188
|
+
"type": [
|
|
189
|
+
"string",
|
|
190
|
+
"number"
|
|
199
191
|
]
|
|
200
192
|
},
|
|
201
193
|
"description": "Path to the claim value in presented credentials."
|
|
@@ -361,13 +353,9 @@
|
|
|
361
353
|
"path": {
|
|
362
354
|
"type": "array",
|
|
363
355
|
"items": {
|
|
364
|
-
"
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
},
|
|
368
|
-
{
|
|
369
|
-
"type": "number"
|
|
370
|
-
}
|
|
356
|
+
"type": [
|
|
357
|
+
"string",
|
|
358
|
+
"number"
|
|
371
359
|
]
|
|
372
360
|
},
|
|
373
361
|
"description": "Path to the claim value in presented credentials."
|
|
@@ -544,8 +532,52 @@
|
|
|
544
532
|
}
|
|
545
533
|
]
|
|
546
534
|
},
|
|
547
|
-
"
|
|
548
|
-
"description": "Optional
|
|
535
|
+
"registrationCertImportJwt": {
|
|
536
|
+
"description": "Optional imported registration certificate JWT.",
|
|
537
|
+
"anyOf": [
|
|
538
|
+
{
|
|
539
|
+
"type": "string"
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"type": "null"
|
|
543
|
+
}
|
|
544
|
+
]
|
|
545
|
+
},
|
|
546
|
+
"registrationCertImportId": {
|
|
547
|
+
"description": "Optional registrar-side registration certificate id.",
|
|
548
|
+
"anyOf": [
|
|
549
|
+
{
|
|
550
|
+
"type": "string"
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"type": "null"
|
|
554
|
+
}
|
|
555
|
+
]
|
|
556
|
+
},
|
|
557
|
+
"registrationCertBodyPrivacyPolicy": {
|
|
558
|
+
"description": "Optional registration certificate privacy policy URI.",
|
|
559
|
+
"anyOf": [
|
|
560
|
+
{
|
|
561
|
+
"type": "string"
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"type": "null"
|
|
565
|
+
}
|
|
566
|
+
]
|
|
567
|
+
},
|
|
568
|
+
"registrationCertBodySupportUri": {
|
|
569
|
+
"description": "Optional registration certificate support URI.",
|
|
570
|
+
"anyOf": [
|
|
571
|
+
{
|
|
572
|
+
"type": "string"
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"type": "null"
|
|
576
|
+
}
|
|
577
|
+
]
|
|
578
|
+
},
|
|
579
|
+
"registrationCertBodyIntermediary": {
|
|
580
|
+
"description": "Optional registration certificate intermediary.",
|
|
549
581
|
"anyOf": [
|
|
550
582
|
{
|
|
551
583
|
"type": "string"
|
|
@@ -555,6 +587,36 @@
|
|
|
555
587
|
}
|
|
556
588
|
]
|
|
557
589
|
},
|
|
590
|
+
"registrationCertBodyPurpose": {
|
|
591
|
+
"description": "Optional registration certificate purpose entries.",
|
|
592
|
+
"anyOf": [
|
|
593
|
+
{
|
|
594
|
+
"type": "array",
|
|
595
|
+
"items": {
|
|
596
|
+
"type": "object",
|
|
597
|
+
"properties": {
|
|
598
|
+
"lang": {
|
|
599
|
+
"type": "string"
|
|
600
|
+
},
|
|
601
|
+
"content": {
|
|
602
|
+
"type": "string"
|
|
603
|
+
}
|
|
604
|
+
},
|
|
605
|
+
"additionalProperties": false
|
|
606
|
+
}
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"type": "null"
|
|
610
|
+
}
|
|
611
|
+
]
|
|
612
|
+
},
|
|
613
|
+
"webhookEndpointId": {
|
|
614
|
+
"description": "Optional webhook endpoint id for presentation callbacks.",
|
|
615
|
+
"type": [
|
|
616
|
+
"string",
|
|
617
|
+
"null"
|
|
618
|
+
]
|
|
619
|
+
},
|
|
558
620
|
"attached": {
|
|
559
621
|
"description": "Optional attachments included with presentation requests.",
|
|
560
622
|
"anyOf": [
|
|
@@ -592,35 +654,23 @@
|
|
|
592
654
|
},
|
|
593
655
|
"redirectUri": {
|
|
594
656
|
"description": "Optional redirect URI after presentation completion.",
|
|
595
|
-
"
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
},
|
|
599
|
-
{
|
|
600
|
-
"type": "null"
|
|
601
|
-
}
|
|
657
|
+
"type": [
|
|
658
|
+
"string",
|
|
659
|
+
"null"
|
|
602
660
|
]
|
|
603
661
|
},
|
|
604
662
|
"accessKeyChainId": {
|
|
605
663
|
"description": "Optional key chain id for access token/auth operations.",
|
|
606
|
-
"
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
},
|
|
610
|
-
{
|
|
611
|
-
"type": "null"
|
|
612
|
-
}
|
|
664
|
+
"type": [
|
|
665
|
+
"string",
|
|
666
|
+
"null"
|
|
613
667
|
]
|
|
614
668
|
},
|
|
615
669
|
"readerAuth": {
|
|
616
670
|
"description": "Whether reader authentication is required for mDoc requests.",
|
|
617
|
-
"
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
},
|
|
621
|
-
{
|
|
622
|
-
"type": "null"
|
|
623
|
-
}
|
|
671
|
+
"type": [
|
|
672
|
+
"boolean",
|
|
673
|
+
"null"
|
|
624
674
|
]
|
|
625
675
|
}
|
|
626
676
|
},
|
|
@@ -58,24 +58,16 @@
|
|
|
58
58
|
},
|
|
59
59
|
"immediateUpdate": {
|
|
60
60
|
"description": "Immediate regeneration toggle. Set null to reset.",
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"type": "null"
|
|
67
|
-
}
|
|
61
|
+
"type": [
|
|
62
|
+
"boolean",
|
|
63
|
+
"null"
|
|
68
64
|
]
|
|
69
65
|
},
|
|
70
66
|
"enableAggregation": {
|
|
71
67
|
"description": "Aggregation URI toggle. Set null to reset.",
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"type": "null"
|
|
78
|
-
}
|
|
68
|
+
"type": [
|
|
69
|
+
"boolean",
|
|
70
|
+
"null"
|
|
79
71
|
]
|
|
80
72
|
}
|
|
81
73
|
},
|