@sphereon/ssi-sdk.pd-manager 0.33.1-feature.jose.vcdm.61 → 0.33.1-feature.jose.vcdm.63
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.cjs +30 -123
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +30 -123
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/plugin.schema.json +31 -124
package/dist/index.js
CHANGED
|
@@ -19,9 +19,7 @@ var require_plugin_schema = __commonJS({
|
|
|
19
19
|
type: "string"
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
|
-
required: [
|
|
23
|
-
"itemId"
|
|
24
|
-
],
|
|
22
|
+
required: ["itemId"],
|
|
25
23
|
additionalProperties: false
|
|
26
24
|
},
|
|
27
25
|
DeleteDefinitionItemsArgs: {
|
|
@@ -96,9 +94,7 @@ var require_plugin_schema = __commonJS({
|
|
|
96
94
|
type: "string"
|
|
97
95
|
}
|
|
98
96
|
},
|
|
99
|
-
required: [
|
|
100
|
-
"itemId"
|
|
101
|
-
],
|
|
97
|
+
required: ["itemId"],
|
|
102
98
|
additionalProperties: false
|
|
103
99
|
},
|
|
104
100
|
PresentationDefinitionItem: {
|
|
@@ -137,14 +133,7 @@ var require_plugin_schema = __commonJS({
|
|
|
137
133
|
format: "date-time"
|
|
138
134
|
}
|
|
139
135
|
},
|
|
140
|
-
required: [
|
|
141
|
-
"id",
|
|
142
|
-
"definitionId",
|
|
143
|
-
"version",
|
|
144
|
-
"definitionPayload",
|
|
145
|
-
"createdAt",
|
|
146
|
-
"lastUpdatedAt"
|
|
147
|
-
],
|
|
136
|
+
required: ["id", "definitionId", "version", "definitionPayload", "createdAt", "lastUpdatedAt"],
|
|
148
137
|
additionalProperties: false
|
|
149
138
|
},
|
|
150
139
|
IPresentationDefinition: {
|
|
@@ -185,10 +174,7 @@ var require_plugin_schema = __commonJS({
|
|
|
185
174
|
}
|
|
186
175
|
}
|
|
187
176
|
},
|
|
188
|
-
required: [
|
|
189
|
-
"id",
|
|
190
|
-
"input_descriptors"
|
|
191
|
-
],
|
|
177
|
+
required: ["id", "input_descriptors"],
|
|
192
178
|
additionalProperties: false
|
|
193
179
|
},
|
|
194
180
|
Format: {
|
|
@@ -246,9 +232,7 @@ var require_plugin_schema = __commonJS({
|
|
|
246
232
|
}
|
|
247
233
|
}
|
|
248
234
|
},
|
|
249
|
-
required: [
|
|
250
|
-
"alg"
|
|
251
|
-
],
|
|
235
|
+
required: ["alg"],
|
|
252
236
|
additionalProperties: false
|
|
253
237
|
},
|
|
254
238
|
LdpObject: {
|
|
@@ -261,9 +245,7 @@ var require_plugin_schema = __commonJS({
|
|
|
261
245
|
}
|
|
262
246
|
}
|
|
263
247
|
},
|
|
264
|
-
required: [
|
|
265
|
-
"proof_type"
|
|
266
|
-
],
|
|
248
|
+
required: ["proof_type"],
|
|
267
249
|
additionalProperties: false
|
|
268
250
|
},
|
|
269
251
|
DiObject: {
|
|
@@ -282,10 +264,7 @@ var require_plugin_schema = __commonJS({
|
|
|
282
264
|
}
|
|
283
265
|
}
|
|
284
266
|
},
|
|
285
|
-
required: [
|
|
286
|
-
"proof_type",
|
|
287
|
-
"cryptosuite"
|
|
288
|
-
],
|
|
267
|
+
required: ["proof_type", "cryptosuite"],
|
|
289
268
|
additionalProperties: false
|
|
290
269
|
},
|
|
291
270
|
SdJwtObject: {
|
|
@@ -316,9 +295,7 @@ var require_plugin_schema = __commonJS({
|
|
|
316
295
|
}
|
|
317
296
|
}
|
|
318
297
|
},
|
|
319
|
-
required: [
|
|
320
|
-
"alg"
|
|
321
|
-
],
|
|
298
|
+
required: ["alg"],
|
|
322
299
|
additionalProperties: false
|
|
323
300
|
},
|
|
324
301
|
SubmissionRequirement: {
|
|
@@ -352,17 +329,12 @@ var require_plugin_schema = __commonJS({
|
|
|
352
329
|
}
|
|
353
330
|
}
|
|
354
331
|
},
|
|
355
|
-
required: [
|
|
356
|
-
"rule"
|
|
357
|
-
],
|
|
332
|
+
required: ["rule"],
|
|
358
333
|
additionalProperties: false
|
|
359
334
|
},
|
|
360
335
|
Rules: {
|
|
361
336
|
type: "string",
|
|
362
|
-
enum: [
|
|
363
|
-
"all",
|
|
364
|
-
"pick"
|
|
365
|
-
]
|
|
337
|
+
enum: ["all", "pick"]
|
|
366
338
|
},
|
|
367
339
|
InputDescriptorV1: {
|
|
368
340
|
type: "object",
|
|
@@ -398,10 +370,7 @@ var require_plugin_schema = __commonJS({
|
|
|
398
370
|
$ref: "#/components/schemas/ConstraintsV1"
|
|
399
371
|
}
|
|
400
372
|
},
|
|
401
|
-
required: [
|
|
402
|
-
"id",
|
|
403
|
-
"schema"
|
|
404
|
-
],
|
|
373
|
+
required: ["id", "schema"],
|
|
405
374
|
additionalProperties: false
|
|
406
375
|
},
|
|
407
376
|
Schema: {
|
|
@@ -414,9 +383,7 @@ var require_plugin_schema = __commonJS({
|
|
|
414
383
|
type: "boolean"
|
|
415
384
|
}
|
|
416
385
|
},
|
|
417
|
-
required: [
|
|
418
|
-
"uri"
|
|
419
|
-
],
|
|
386
|
+
required: ["uri"],
|
|
420
387
|
additionalProperties: false
|
|
421
388
|
},
|
|
422
389
|
Issuance: {
|
|
@@ -463,10 +430,7 @@ var require_plugin_schema = __commonJS({
|
|
|
463
430
|
},
|
|
464
431
|
Optionality: {
|
|
465
432
|
type: "string",
|
|
466
|
-
enum: [
|
|
467
|
-
"required",
|
|
468
|
-
"preferred"
|
|
469
|
-
]
|
|
433
|
+
enum: ["required", "preferred"]
|
|
470
434
|
},
|
|
471
435
|
Statuses: {
|
|
472
436
|
type: "object",
|
|
@@ -494,11 +458,7 @@ var require_plugin_schema = __commonJS({
|
|
|
494
458
|
},
|
|
495
459
|
Directives: {
|
|
496
460
|
type: "string",
|
|
497
|
-
enum: [
|
|
498
|
-
"required",
|
|
499
|
-
"allowed",
|
|
500
|
-
"disallowed"
|
|
501
|
-
]
|
|
461
|
+
enum: ["required", "allowed", "disallowed"]
|
|
502
462
|
},
|
|
503
463
|
FieldV1: {
|
|
504
464
|
type: "object",
|
|
@@ -522,9 +482,7 @@ var require_plugin_schema = __commonJS({
|
|
|
522
482
|
$ref: "#/components/schemas/Optionality"
|
|
523
483
|
}
|
|
524
484
|
},
|
|
525
|
-
required: [
|
|
526
|
-
"path"
|
|
527
|
-
],
|
|
485
|
+
required: ["path"],
|
|
528
486
|
additionalProperties: false
|
|
529
487
|
},
|
|
530
488
|
FilterV1: {
|
|
@@ -573,17 +531,10 @@ var require_plugin_schema = __commonJS({
|
|
|
573
531
|
additionalProperties: false
|
|
574
532
|
},
|
|
575
533
|
OneOfNumberStringBoolean: {
|
|
576
|
-
type: [
|
|
577
|
-
"boolean",
|
|
578
|
-
"number",
|
|
579
|
-
"string"
|
|
580
|
-
]
|
|
534
|
+
type: ["boolean", "number", "string"]
|
|
581
535
|
},
|
|
582
536
|
OneOfNumberString: {
|
|
583
|
-
type: [
|
|
584
|
-
"number",
|
|
585
|
-
"string"
|
|
586
|
-
]
|
|
537
|
+
type: ["number", "string"]
|
|
587
538
|
},
|
|
588
539
|
HolderSubject: {
|
|
589
540
|
type: "object",
|
|
@@ -598,10 +549,7 @@ var require_plugin_schema = __commonJS({
|
|
|
598
549
|
$ref: "#/components/schemas/Optionality"
|
|
599
550
|
}
|
|
600
551
|
},
|
|
601
|
-
required: [
|
|
602
|
-
"field_id",
|
|
603
|
-
"directive"
|
|
604
|
-
],
|
|
552
|
+
required: ["field_id", "directive"],
|
|
605
553
|
additionalProperties: false
|
|
606
554
|
},
|
|
607
555
|
PresentationDefinitionV2: {
|
|
@@ -635,10 +583,7 @@ var require_plugin_schema = __commonJS({
|
|
|
635
583
|
type: "object"
|
|
636
584
|
}
|
|
637
585
|
},
|
|
638
|
-
required: [
|
|
639
|
-
"id",
|
|
640
|
-
"input_descriptors"
|
|
641
|
-
],
|
|
586
|
+
required: ["id", "input_descriptors"],
|
|
642
587
|
additionalProperties: false
|
|
643
588
|
},
|
|
644
589
|
InputDescriptorV2: {
|
|
@@ -672,10 +617,7 @@ var require_plugin_schema = __commonJS({
|
|
|
672
617
|
$ref: "#/components/schemas/ConstraintsV2"
|
|
673
618
|
}
|
|
674
619
|
},
|
|
675
|
-
required: [
|
|
676
|
-
"id",
|
|
677
|
-
"constraints"
|
|
678
|
-
],
|
|
620
|
+
required: ["id", "constraints"],
|
|
679
621
|
additionalProperties: false
|
|
680
622
|
},
|
|
681
623
|
ConstraintsV2: {
|
|
@@ -742,9 +684,7 @@ var require_plugin_schema = __commonJS({
|
|
|
742
684
|
type: "boolean"
|
|
743
685
|
}
|
|
744
686
|
},
|
|
745
|
-
required: [
|
|
746
|
-
"path"
|
|
747
|
-
],
|
|
687
|
+
required: ["path"],
|
|
748
688
|
additionalProperties: false
|
|
749
689
|
},
|
|
750
690
|
FilterV2: {
|
|
@@ -883,9 +823,7 @@ var require_plugin_schema = __commonJS({
|
|
|
883
823
|
}
|
|
884
824
|
}
|
|
885
825
|
},
|
|
886
|
-
required: [
|
|
887
|
-
"credentials"
|
|
888
|
-
],
|
|
826
|
+
required: ["credentials"],
|
|
889
827
|
additionalProperties: false
|
|
890
828
|
},
|
|
891
829
|
DcqlCredentialQuery: {
|
|
@@ -913,11 +851,7 @@ var require_plugin_schema = __commonJS({
|
|
|
913
851
|
$ref: "#/components/schemas/Record<string,any>"
|
|
914
852
|
}
|
|
915
853
|
},
|
|
916
|
-
required: [
|
|
917
|
-
"id",
|
|
918
|
-
"format",
|
|
919
|
-
"claims"
|
|
920
|
-
],
|
|
854
|
+
required: ["id", "format", "claims"],
|
|
921
855
|
additionalProperties: false
|
|
922
856
|
},
|
|
923
857
|
DcqlClaim: {
|
|
@@ -933,10 +867,7 @@ var require_plugin_schema = __commonJS({
|
|
|
933
867
|
$ref: "#/components/schemas/DcqlFilter"
|
|
934
868
|
}
|
|
935
869
|
},
|
|
936
|
-
required: [
|
|
937
|
-
"namespace",
|
|
938
|
-
"claim_name"
|
|
939
|
-
],
|
|
870
|
+
required: ["namespace", "claim_name"],
|
|
940
871
|
additionalProperties: false
|
|
941
872
|
},
|
|
942
873
|
DcqlFilter: {
|
|
@@ -944,11 +875,7 @@ var require_plugin_schema = __commonJS({
|
|
|
944
875
|
properties: {
|
|
945
876
|
type: {
|
|
946
877
|
type: "string",
|
|
947
|
-
enum: [
|
|
948
|
-
"string",
|
|
949
|
-
"number",
|
|
950
|
-
"boolean"
|
|
951
|
-
]
|
|
878
|
+
enum: ["string", "number", "boolean"]
|
|
952
879
|
},
|
|
953
880
|
pattern: {
|
|
954
881
|
type: "string"
|
|
@@ -960,9 +887,7 @@ var require_plugin_schema = __commonJS({
|
|
|
960
887
|
type: "number"
|
|
961
888
|
}
|
|
962
889
|
},
|
|
963
|
-
required: [
|
|
964
|
-
"type"
|
|
965
|
-
],
|
|
890
|
+
required: ["type"],
|
|
966
891
|
additionalProperties: false
|
|
967
892
|
},
|
|
968
893
|
"Record<string,any>": {
|
|
@@ -984,9 +909,7 @@ var require_plugin_schema = __commonJS({
|
|
|
984
909
|
$ref: "#/components/schemas/PersistOptions"
|
|
985
910
|
}
|
|
986
911
|
},
|
|
987
|
-
required: [
|
|
988
|
-
"definitionItem"
|
|
989
|
-
],
|
|
912
|
+
required: ["definitionItem"],
|
|
990
913
|
additionalProperties: false
|
|
991
914
|
},
|
|
992
915
|
PersistPresentationDefinitionItem: {
|
|
@@ -1018,9 +941,7 @@ var require_plugin_schema = __commonJS({
|
|
|
1018
941
|
$ref: "#/components/schemas/DcqlQueryREST"
|
|
1019
942
|
}
|
|
1020
943
|
},
|
|
1021
|
-
required: [
|
|
1022
|
-
"definitionPayload"
|
|
1023
|
-
]
|
|
944
|
+
required: ["definitionPayload"]
|
|
1024
945
|
},
|
|
1025
946
|
PersistOptions: {
|
|
1026
947
|
type: "object",
|
|
@@ -1036,25 +957,11 @@ var require_plugin_schema = __commonJS({
|
|
|
1036
957
|
},
|
|
1037
958
|
VersionControlMode: {
|
|
1038
959
|
type: "string",
|
|
1039
|
-
enum: [
|
|
1040
|
-
"AutoIncrement",
|
|
1041
|
-
"Manual",
|
|
1042
|
-
"Overwrite",
|
|
1043
|
-
"OverwriteLatest"
|
|
1044
|
-
]
|
|
960
|
+
enum: ["AutoIncrement", "Manual", "Overwrite", "OverwriteLatest"]
|
|
1045
961
|
},
|
|
1046
962
|
ReleaseType: {
|
|
1047
963
|
type: "string",
|
|
1048
|
-
enum: [
|
|
1049
|
-
"major",
|
|
1050
|
-
"premajor",
|
|
1051
|
-
"minor",
|
|
1052
|
-
"preminor",
|
|
1053
|
-
"patch",
|
|
1054
|
-
"prepatch",
|
|
1055
|
-
"prerelease",
|
|
1056
|
-
"release"
|
|
1057
|
-
]
|
|
964
|
+
enum: ["major", "premajor", "minor", "preminor", "patch", "prepatch", "prerelease", "release"]
|
|
1058
965
|
}
|
|
1059
966
|
},
|
|
1060
967
|
methods: {
|