@sphereon/ssi-sdk.pd-manager 0.33.1-feature.jose.vcdm.62 → 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.cjs
CHANGED
|
@@ -45,9 +45,7 @@ var require_plugin_schema = __commonJS({
|
|
|
45
45
|
type: "string"
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
|
-
required: [
|
|
49
|
-
"itemId"
|
|
50
|
-
],
|
|
48
|
+
required: ["itemId"],
|
|
51
49
|
additionalProperties: false
|
|
52
50
|
},
|
|
53
51
|
DeleteDefinitionItemsArgs: {
|
|
@@ -122,9 +120,7 @@ var require_plugin_schema = __commonJS({
|
|
|
122
120
|
type: "string"
|
|
123
121
|
}
|
|
124
122
|
},
|
|
125
|
-
required: [
|
|
126
|
-
"itemId"
|
|
127
|
-
],
|
|
123
|
+
required: ["itemId"],
|
|
128
124
|
additionalProperties: false
|
|
129
125
|
},
|
|
130
126
|
PresentationDefinitionItem: {
|
|
@@ -163,14 +159,7 @@ var require_plugin_schema = __commonJS({
|
|
|
163
159
|
format: "date-time"
|
|
164
160
|
}
|
|
165
161
|
},
|
|
166
|
-
required: [
|
|
167
|
-
"id",
|
|
168
|
-
"definitionId",
|
|
169
|
-
"version",
|
|
170
|
-
"definitionPayload",
|
|
171
|
-
"createdAt",
|
|
172
|
-
"lastUpdatedAt"
|
|
173
|
-
],
|
|
162
|
+
required: ["id", "definitionId", "version", "definitionPayload", "createdAt", "lastUpdatedAt"],
|
|
174
163
|
additionalProperties: false
|
|
175
164
|
},
|
|
176
165
|
IPresentationDefinition: {
|
|
@@ -211,10 +200,7 @@ var require_plugin_schema = __commonJS({
|
|
|
211
200
|
}
|
|
212
201
|
}
|
|
213
202
|
},
|
|
214
|
-
required: [
|
|
215
|
-
"id",
|
|
216
|
-
"input_descriptors"
|
|
217
|
-
],
|
|
203
|
+
required: ["id", "input_descriptors"],
|
|
218
204
|
additionalProperties: false
|
|
219
205
|
},
|
|
220
206
|
Format: {
|
|
@@ -272,9 +258,7 @@ var require_plugin_schema = __commonJS({
|
|
|
272
258
|
}
|
|
273
259
|
}
|
|
274
260
|
},
|
|
275
|
-
required: [
|
|
276
|
-
"alg"
|
|
277
|
-
],
|
|
261
|
+
required: ["alg"],
|
|
278
262
|
additionalProperties: false
|
|
279
263
|
},
|
|
280
264
|
LdpObject: {
|
|
@@ -287,9 +271,7 @@ var require_plugin_schema = __commonJS({
|
|
|
287
271
|
}
|
|
288
272
|
}
|
|
289
273
|
},
|
|
290
|
-
required: [
|
|
291
|
-
"proof_type"
|
|
292
|
-
],
|
|
274
|
+
required: ["proof_type"],
|
|
293
275
|
additionalProperties: false
|
|
294
276
|
},
|
|
295
277
|
DiObject: {
|
|
@@ -308,10 +290,7 @@ var require_plugin_schema = __commonJS({
|
|
|
308
290
|
}
|
|
309
291
|
}
|
|
310
292
|
},
|
|
311
|
-
required: [
|
|
312
|
-
"proof_type",
|
|
313
|
-
"cryptosuite"
|
|
314
|
-
],
|
|
293
|
+
required: ["proof_type", "cryptosuite"],
|
|
315
294
|
additionalProperties: false
|
|
316
295
|
},
|
|
317
296
|
SdJwtObject: {
|
|
@@ -342,9 +321,7 @@ var require_plugin_schema = __commonJS({
|
|
|
342
321
|
}
|
|
343
322
|
}
|
|
344
323
|
},
|
|
345
|
-
required: [
|
|
346
|
-
"alg"
|
|
347
|
-
],
|
|
324
|
+
required: ["alg"],
|
|
348
325
|
additionalProperties: false
|
|
349
326
|
},
|
|
350
327
|
SubmissionRequirement: {
|
|
@@ -378,17 +355,12 @@ var require_plugin_schema = __commonJS({
|
|
|
378
355
|
}
|
|
379
356
|
}
|
|
380
357
|
},
|
|
381
|
-
required: [
|
|
382
|
-
"rule"
|
|
383
|
-
],
|
|
358
|
+
required: ["rule"],
|
|
384
359
|
additionalProperties: false
|
|
385
360
|
},
|
|
386
361
|
Rules: {
|
|
387
362
|
type: "string",
|
|
388
|
-
enum: [
|
|
389
|
-
"all",
|
|
390
|
-
"pick"
|
|
391
|
-
]
|
|
363
|
+
enum: ["all", "pick"]
|
|
392
364
|
},
|
|
393
365
|
InputDescriptorV1: {
|
|
394
366
|
type: "object",
|
|
@@ -424,10 +396,7 @@ var require_plugin_schema = __commonJS({
|
|
|
424
396
|
$ref: "#/components/schemas/ConstraintsV1"
|
|
425
397
|
}
|
|
426
398
|
},
|
|
427
|
-
required: [
|
|
428
|
-
"id",
|
|
429
|
-
"schema"
|
|
430
|
-
],
|
|
399
|
+
required: ["id", "schema"],
|
|
431
400
|
additionalProperties: false
|
|
432
401
|
},
|
|
433
402
|
Schema: {
|
|
@@ -440,9 +409,7 @@ var require_plugin_schema = __commonJS({
|
|
|
440
409
|
type: "boolean"
|
|
441
410
|
}
|
|
442
411
|
},
|
|
443
|
-
required: [
|
|
444
|
-
"uri"
|
|
445
|
-
],
|
|
412
|
+
required: ["uri"],
|
|
446
413
|
additionalProperties: false
|
|
447
414
|
},
|
|
448
415
|
Issuance: {
|
|
@@ -489,10 +456,7 @@ var require_plugin_schema = __commonJS({
|
|
|
489
456
|
},
|
|
490
457
|
Optionality: {
|
|
491
458
|
type: "string",
|
|
492
|
-
enum: [
|
|
493
|
-
"required",
|
|
494
|
-
"preferred"
|
|
495
|
-
]
|
|
459
|
+
enum: ["required", "preferred"]
|
|
496
460
|
},
|
|
497
461
|
Statuses: {
|
|
498
462
|
type: "object",
|
|
@@ -520,11 +484,7 @@ var require_plugin_schema = __commonJS({
|
|
|
520
484
|
},
|
|
521
485
|
Directives: {
|
|
522
486
|
type: "string",
|
|
523
|
-
enum: [
|
|
524
|
-
"required",
|
|
525
|
-
"allowed",
|
|
526
|
-
"disallowed"
|
|
527
|
-
]
|
|
487
|
+
enum: ["required", "allowed", "disallowed"]
|
|
528
488
|
},
|
|
529
489
|
FieldV1: {
|
|
530
490
|
type: "object",
|
|
@@ -548,9 +508,7 @@ var require_plugin_schema = __commonJS({
|
|
|
548
508
|
$ref: "#/components/schemas/Optionality"
|
|
549
509
|
}
|
|
550
510
|
},
|
|
551
|
-
required: [
|
|
552
|
-
"path"
|
|
553
|
-
],
|
|
511
|
+
required: ["path"],
|
|
554
512
|
additionalProperties: false
|
|
555
513
|
},
|
|
556
514
|
FilterV1: {
|
|
@@ -599,17 +557,10 @@ var require_plugin_schema = __commonJS({
|
|
|
599
557
|
additionalProperties: false
|
|
600
558
|
},
|
|
601
559
|
OneOfNumberStringBoolean: {
|
|
602
|
-
type: [
|
|
603
|
-
"boolean",
|
|
604
|
-
"number",
|
|
605
|
-
"string"
|
|
606
|
-
]
|
|
560
|
+
type: ["boolean", "number", "string"]
|
|
607
561
|
},
|
|
608
562
|
OneOfNumberString: {
|
|
609
|
-
type: [
|
|
610
|
-
"number",
|
|
611
|
-
"string"
|
|
612
|
-
]
|
|
563
|
+
type: ["number", "string"]
|
|
613
564
|
},
|
|
614
565
|
HolderSubject: {
|
|
615
566
|
type: "object",
|
|
@@ -624,10 +575,7 @@ var require_plugin_schema = __commonJS({
|
|
|
624
575
|
$ref: "#/components/schemas/Optionality"
|
|
625
576
|
}
|
|
626
577
|
},
|
|
627
|
-
required: [
|
|
628
|
-
"field_id",
|
|
629
|
-
"directive"
|
|
630
|
-
],
|
|
578
|
+
required: ["field_id", "directive"],
|
|
631
579
|
additionalProperties: false
|
|
632
580
|
},
|
|
633
581
|
PresentationDefinitionV2: {
|
|
@@ -661,10 +609,7 @@ var require_plugin_schema = __commonJS({
|
|
|
661
609
|
type: "object"
|
|
662
610
|
}
|
|
663
611
|
},
|
|
664
|
-
required: [
|
|
665
|
-
"id",
|
|
666
|
-
"input_descriptors"
|
|
667
|
-
],
|
|
612
|
+
required: ["id", "input_descriptors"],
|
|
668
613
|
additionalProperties: false
|
|
669
614
|
},
|
|
670
615
|
InputDescriptorV2: {
|
|
@@ -698,10 +643,7 @@ var require_plugin_schema = __commonJS({
|
|
|
698
643
|
$ref: "#/components/schemas/ConstraintsV2"
|
|
699
644
|
}
|
|
700
645
|
},
|
|
701
|
-
required: [
|
|
702
|
-
"id",
|
|
703
|
-
"constraints"
|
|
704
|
-
],
|
|
646
|
+
required: ["id", "constraints"],
|
|
705
647
|
additionalProperties: false
|
|
706
648
|
},
|
|
707
649
|
ConstraintsV2: {
|
|
@@ -768,9 +710,7 @@ var require_plugin_schema = __commonJS({
|
|
|
768
710
|
type: "boolean"
|
|
769
711
|
}
|
|
770
712
|
},
|
|
771
|
-
required: [
|
|
772
|
-
"path"
|
|
773
|
-
],
|
|
713
|
+
required: ["path"],
|
|
774
714
|
additionalProperties: false
|
|
775
715
|
},
|
|
776
716
|
FilterV2: {
|
|
@@ -909,9 +849,7 @@ var require_plugin_schema = __commonJS({
|
|
|
909
849
|
}
|
|
910
850
|
}
|
|
911
851
|
},
|
|
912
|
-
required: [
|
|
913
|
-
"credentials"
|
|
914
|
-
],
|
|
852
|
+
required: ["credentials"],
|
|
915
853
|
additionalProperties: false
|
|
916
854
|
},
|
|
917
855
|
DcqlCredentialQuery: {
|
|
@@ -939,11 +877,7 @@ var require_plugin_schema = __commonJS({
|
|
|
939
877
|
$ref: "#/components/schemas/Record<string,any>"
|
|
940
878
|
}
|
|
941
879
|
},
|
|
942
|
-
required: [
|
|
943
|
-
"id",
|
|
944
|
-
"format",
|
|
945
|
-
"claims"
|
|
946
|
-
],
|
|
880
|
+
required: ["id", "format", "claims"],
|
|
947
881
|
additionalProperties: false
|
|
948
882
|
},
|
|
949
883
|
DcqlClaim: {
|
|
@@ -959,10 +893,7 @@ var require_plugin_schema = __commonJS({
|
|
|
959
893
|
$ref: "#/components/schemas/DcqlFilter"
|
|
960
894
|
}
|
|
961
895
|
},
|
|
962
|
-
required: [
|
|
963
|
-
"namespace",
|
|
964
|
-
"claim_name"
|
|
965
|
-
],
|
|
896
|
+
required: ["namespace", "claim_name"],
|
|
966
897
|
additionalProperties: false
|
|
967
898
|
},
|
|
968
899
|
DcqlFilter: {
|
|
@@ -970,11 +901,7 @@ var require_plugin_schema = __commonJS({
|
|
|
970
901
|
properties: {
|
|
971
902
|
type: {
|
|
972
903
|
type: "string",
|
|
973
|
-
enum: [
|
|
974
|
-
"string",
|
|
975
|
-
"number",
|
|
976
|
-
"boolean"
|
|
977
|
-
]
|
|
904
|
+
enum: ["string", "number", "boolean"]
|
|
978
905
|
},
|
|
979
906
|
pattern: {
|
|
980
907
|
type: "string"
|
|
@@ -986,9 +913,7 @@ var require_plugin_schema = __commonJS({
|
|
|
986
913
|
type: "number"
|
|
987
914
|
}
|
|
988
915
|
},
|
|
989
|
-
required: [
|
|
990
|
-
"type"
|
|
991
|
-
],
|
|
916
|
+
required: ["type"],
|
|
992
917
|
additionalProperties: false
|
|
993
918
|
},
|
|
994
919
|
"Record<string,any>": {
|
|
@@ -1010,9 +935,7 @@ var require_plugin_schema = __commonJS({
|
|
|
1010
935
|
$ref: "#/components/schemas/PersistOptions"
|
|
1011
936
|
}
|
|
1012
937
|
},
|
|
1013
|
-
required: [
|
|
1014
|
-
"definitionItem"
|
|
1015
|
-
],
|
|
938
|
+
required: ["definitionItem"],
|
|
1016
939
|
additionalProperties: false
|
|
1017
940
|
},
|
|
1018
941
|
PersistPresentationDefinitionItem: {
|
|
@@ -1044,9 +967,7 @@ var require_plugin_schema = __commonJS({
|
|
|
1044
967
|
$ref: "#/components/schemas/DcqlQueryREST"
|
|
1045
968
|
}
|
|
1046
969
|
},
|
|
1047
|
-
required: [
|
|
1048
|
-
"definitionPayload"
|
|
1049
|
-
]
|
|
970
|
+
required: ["definitionPayload"]
|
|
1050
971
|
},
|
|
1051
972
|
PersistOptions: {
|
|
1052
973
|
type: "object",
|
|
@@ -1062,25 +983,11 @@ var require_plugin_schema = __commonJS({
|
|
|
1062
983
|
},
|
|
1063
984
|
VersionControlMode: {
|
|
1064
985
|
type: "string",
|
|
1065
|
-
enum: [
|
|
1066
|
-
"AutoIncrement",
|
|
1067
|
-
"Manual",
|
|
1068
|
-
"Overwrite",
|
|
1069
|
-
"OverwriteLatest"
|
|
1070
|
-
]
|
|
986
|
+
enum: ["AutoIncrement", "Manual", "Overwrite", "OverwriteLatest"]
|
|
1071
987
|
},
|
|
1072
988
|
ReleaseType: {
|
|
1073
989
|
type: "string",
|
|
1074
|
-
enum: [
|
|
1075
|
-
"major",
|
|
1076
|
-
"premajor",
|
|
1077
|
-
"minor",
|
|
1078
|
-
"preminor",
|
|
1079
|
-
"patch",
|
|
1080
|
-
"prepatch",
|
|
1081
|
-
"prerelease",
|
|
1082
|
-
"release"
|
|
1083
|
-
]
|
|
990
|
+
enum: ["major", "premajor", "minor", "preminor", "patch", "prepatch", "prerelease", "release"]
|
|
1084
991
|
}
|
|
1085
992
|
},
|
|
1086
993
|
methods: {
|