@eudiplo/cli 7.4.0-main.e154c77 → 7.5.0

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/index.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eudiplo/cli",
3
- "version": "7.4.0-main.e154c77",
3
+ "version": "7.5.0",
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.10",
60
- "@types/node": "^26.2.0",
59
+ "@biomejs/biome": "2.5.11",
60
+ "@types/node": "^26.4.0",
61
61
  "esbuild": "^0.28.2",
62
- "tsx": "^4.23.11",
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
- "anyOf": [
13
- {
14
- "type": "string"
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
- "anyOf": [
211
- {
212
- "type": "string"
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
- "anyOf": [
222
- {
223
- "type": "string"
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
- "anyOf": [
635
- {
636
- "type": "string"
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
- "anyOf": [
153
- {
154
- "type": "string"
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
- "anyOf": [
325
- {
326
- "type": "string"
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
- "anyOf": [
13
- {
14
- "type": "string"
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
- "anyOf": [
193
- {
194
- "type": "string"
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
- "anyOf": [
365
- {
366
- "type": "string"
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."
@@ -456,6 +444,9 @@
456
444
  "type": "string"
457
445
  },
458
446
  "description": "Credential query ids this transaction data applies to."
447
+ },
448
+ "payload": {
449
+ "description": "Transaction details. Required for TS12 SCA transaction data."
459
450
  }
460
451
  },
461
452
  "required": [
@@ -544,17 +535,71 @@
544
535
  }
545
536
  ]
546
537
  },
547
- "webhookEndpointId": {
548
- "description": "Optional webhook endpoint id for presentation callbacks.",
538
+ "registrationCertImportJwt": {
539
+ "description": "Optional imported registration certificate JWT.",
540
+ "type": [
541
+ "string",
542
+ "null"
543
+ ]
544
+ },
545
+ "registrationCertImportId": {
546
+ "description": "Optional registrar-side registration certificate id.",
547
+ "type": [
548
+ "string",
549
+ "null"
550
+ ]
551
+ },
552
+ "registrationCertBodyPrivacyPolicy": {
553
+ "description": "Optional registration certificate privacy policy URI.",
554
+ "type": [
555
+ "string",
556
+ "null"
557
+ ]
558
+ },
559
+ "registrationCertBodySupportUri": {
560
+ "description": "Optional registration certificate support URI.",
561
+ "type": [
562
+ "string",
563
+ "null"
564
+ ]
565
+ },
566
+ "registrationCertBodyIntermediary": {
567
+ "description": "Optional registration certificate intermediary.",
568
+ "type": [
569
+ "string",
570
+ "null"
571
+ ]
572
+ },
573
+ "registrationCertBodyPurpose": {
574
+ "description": "Optional registration certificate purpose entries.",
549
575
  "anyOf": [
550
576
  {
551
- "type": "string"
577
+ "type": "array",
578
+ "items": {
579
+ "type": "object",
580
+ "properties": {
581
+ "lang": {
582
+ "type": "string"
583
+ },
584
+ "content": {
585
+ "type": "string"
586
+ }
587
+ },
588
+ "additionalProperties": false
589
+ }
552
590
  },
553
591
  {
554
592
  "type": "null"
555
593
  }
556
594
  ]
557
595
  },
596
+ "webhookEndpointId": {
597
+ "description": "Optional webhook endpoint id for presentation callbacks.",
598
+ "type": [
599
+ "string",
600
+ "null"
601
+ ]
602
+ },
558
603
  "attached": {
559
604
  "description": "Optional attachments included with presentation requests.",
560
605
  "anyOf": [
@@ -592,35 +637,23 @@
592
637
  },
593
638
  "redirectUri": {
594
639
  "description": "Optional redirect URI after presentation completion.",
595
- "anyOf": [
596
- {
597
- "type": "string"
598
- },
599
- {
600
- "type": "null"
601
- }
640
+ "type": [
641
+ "string",
642
+ "null"
602
643
  ]
603
644
  },
604
645
  "accessKeyChainId": {
605
646
  "description": "Optional key chain id for access token/auth operations.",
606
- "anyOf": [
607
- {
608
- "type": "string"
609
- },
610
- {
611
- "type": "null"
612
- }
647
+ "type": [
648
+ "string",
649
+ "null"
613
650
  ]
614
651
  },
615
652
  "readerAuth": {
616
653
  "description": "Whether reader authentication is required for mDoc requests.",
617
- "anyOf": [
618
- {
619
- "type": "boolean"
620
- },
621
- {
622
- "type": "null"
623
- }
654
+ "type": [
655
+ "boolean",
656
+ "null"
624
657
  ]
625
658
  }
626
659
  },
@@ -12,6 +12,9 @@
12
12
  "type": "string"
13
13
  },
14
14
  "description": "Credential query ids this transaction data applies to."
15
+ },
16
+ "payload": {
17
+ "description": "Transaction details. Required for TS12 SCA transaction data."
15
18
  }
16
19
  },
17
20
  "required": [
@@ -58,24 +58,16 @@
58
58
  },
59
59
  "immediateUpdate": {
60
60
  "description": "Immediate regeneration toggle. Set null to reset.",
61
- "anyOf": [
62
- {
63
- "type": "boolean"
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
- "anyOf": [
73
- {
74
- "type": "boolean"
75
- },
76
- {
77
- "type": "null"
78
- }
68
+ "type": [
69
+ "boolean",
70
+ "null"
79
71
  ]
80
72
  }
81
73
  },