@sphereon/ssi-sdk.pd-manager 0.33.1-feature.vcdm2.tsup.32 → 0.33.1-feature.vcdm2.tsup.33
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 -122
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +30 -122
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/plugin.schema.json +31 -123
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
|
},
|
|
26
24
|
DeleteDefinitionItemsArgs: {
|
|
27
25
|
$ref: "#/components/schemas/GetDefinitionItemsArgs"
|
|
@@ -89,9 +87,7 @@ var require_plugin_schema = __commonJS({
|
|
|
89
87
|
type: "string"
|
|
90
88
|
}
|
|
91
89
|
},
|
|
92
|
-
required: [
|
|
93
|
-
"itemId"
|
|
94
|
-
]
|
|
90
|
+
required: ["itemId"]
|
|
95
91
|
},
|
|
96
92
|
PresentationDefinitionItem: {
|
|
97
93
|
type: "object",
|
|
@@ -129,14 +125,7 @@ var require_plugin_schema = __commonJS({
|
|
|
129
125
|
format: "date-time"
|
|
130
126
|
}
|
|
131
127
|
},
|
|
132
|
-
required: [
|
|
133
|
-
"id",
|
|
134
|
-
"definitionId",
|
|
135
|
-
"version",
|
|
136
|
-
"definitionPayload",
|
|
137
|
-
"createdAt",
|
|
138
|
-
"lastUpdatedAt"
|
|
139
|
-
]
|
|
128
|
+
required: ["id", "definitionId", "version", "definitionPayload", "createdAt", "lastUpdatedAt"]
|
|
140
129
|
},
|
|
141
130
|
IPresentationDefinition: {
|
|
142
131
|
anyOf: [
|
|
@@ -176,10 +165,7 @@ var require_plugin_schema = __commonJS({
|
|
|
176
165
|
}
|
|
177
166
|
}
|
|
178
167
|
},
|
|
179
|
-
required: [
|
|
180
|
-
"id",
|
|
181
|
-
"input_descriptors"
|
|
182
|
-
]
|
|
168
|
+
required: ["id", "input_descriptors"]
|
|
183
169
|
},
|
|
184
170
|
Format: {
|
|
185
171
|
type: "object",
|
|
@@ -235,9 +221,7 @@ var require_plugin_schema = __commonJS({
|
|
|
235
221
|
}
|
|
236
222
|
}
|
|
237
223
|
},
|
|
238
|
-
required: [
|
|
239
|
-
"alg"
|
|
240
|
-
]
|
|
224
|
+
required: ["alg"]
|
|
241
225
|
},
|
|
242
226
|
LdpObject: {
|
|
243
227
|
type: "object",
|
|
@@ -249,9 +233,7 @@ var require_plugin_schema = __commonJS({
|
|
|
249
233
|
}
|
|
250
234
|
}
|
|
251
235
|
},
|
|
252
|
-
required: [
|
|
253
|
-
"proof_type"
|
|
254
|
-
]
|
|
236
|
+
required: ["proof_type"]
|
|
255
237
|
},
|
|
256
238
|
DiObject: {
|
|
257
239
|
type: "object",
|
|
@@ -269,10 +251,7 @@ var require_plugin_schema = __commonJS({
|
|
|
269
251
|
}
|
|
270
252
|
}
|
|
271
253
|
},
|
|
272
|
-
required: [
|
|
273
|
-
"proof_type",
|
|
274
|
-
"cryptosuite"
|
|
275
|
-
]
|
|
254
|
+
required: ["proof_type", "cryptosuite"]
|
|
276
255
|
},
|
|
277
256
|
SdJwtObject: {
|
|
278
257
|
type: "object",
|
|
@@ -301,9 +280,7 @@ var require_plugin_schema = __commonJS({
|
|
|
301
280
|
}
|
|
302
281
|
}
|
|
303
282
|
},
|
|
304
|
-
required: [
|
|
305
|
-
"alg"
|
|
306
|
-
]
|
|
283
|
+
required: ["alg"]
|
|
307
284
|
},
|
|
308
285
|
SubmissionRequirement: {
|
|
309
286
|
type: "object",
|
|
@@ -336,16 +313,11 @@ var require_plugin_schema = __commonJS({
|
|
|
336
313
|
}
|
|
337
314
|
}
|
|
338
315
|
},
|
|
339
|
-
required: [
|
|
340
|
-
"rule"
|
|
341
|
-
]
|
|
316
|
+
required: ["rule"]
|
|
342
317
|
},
|
|
343
318
|
Rules: {
|
|
344
319
|
type: "string",
|
|
345
|
-
enum: [
|
|
346
|
-
"all",
|
|
347
|
-
"pick"
|
|
348
|
-
]
|
|
320
|
+
enum: ["all", "pick"]
|
|
349
321
|
},
|
|
350
322
|
InputDescriptorV1: {
|
|
351
323
|
type: "object",
|
|
@@ -381,10 +353,7 @@ var require_plugin_schema = __commonJS({
|
|
|
381
353
|
$ref: "#/components/schemas/ConstraintsV1"
|
|
382
354
|
}
|
|
383
355
|
},
|
|
384
|
-
required: [
|
|
385
|
-
"id",
|
|
386
|
-
"schema"
|
|
387
|
-
]
|
|
356
|
+
required: ["id", "schema"]
|
|
388
357
|
},
|
|
389
358
|
Schema: {
|
|
390
359
|
type: "object",
|
|
@@ -396,9 +365,7 @@ var require_plugin_schema = __commonJS({
|
|
|
396
365
|
type: "boolean"
|
|
397
366
|
}
|
|
398
367
|
},
|
|
399
|
-
required: [
|
|
400
|
-
"uri"
|
|
401
|
-
]
|
|
368
|
+
required: ["uri"]
|
|
402
369
|
},
|
|
403
370
|
Issuance: {
|
|
404
371
|
type: "object",
|
|
@@ -443,10 +410,7 @@ var require_plugin_schema = __commonJS({
|
|
|
443
410
|
},
|
|
444
411
|
Optionality: {
|
|
445
412
|
type: "string",
|
|
446
|
-
enum: [
|
|
447
|
-
"required",
|
|
448
|
-
"preferred"
|
|
449
|
-
]
|
|
413
|
+
enum: ["required", "preferred"]
|
|
450
414
|
},
|
|
451
415
|
Statuses: {
|
|
452
416
|
type: "object",
|
|
@@ -472,11 +436,7 @@ var require_plugin_schema = __commonJS({
|
|
|
472
436
|
},
|
|
473
437
|
Directives: {
|
|
474
438
|
type: "string",
|
|
475
|
-
enum: [
|
|
476
|
-
"required",
|
|
477
|
-
"allowed",
|
|
478
|
-
"disallowed"
|
|
479
|
-
]
|
|
439
|
+
enum: ["required", "allowed", "disallowed"]
|
|
480
440
|
},
|
|
481
441
|
FieldV1: {
|
|
482
442
|
type: "object",
|
|
@@ -500,9 +460,7 @@ var require_plugin_schema = __commonJS({
|
|
|
500
460
|
$ref: "#/components/schemas/Optionality"
|
|
501
461
|
}
|
|
502
462
|
},
|
|
503
|
-
required: [
|
|
504
|
-
"path"
|
|
505
|
-
]
|
|
463
|
+
required: ["path"]
|
|
506
464
|
},
|
|
507
465
|
FilterV1: {
|
|
508
466
|
type: "object",
|
|
@@ -549,17 +507,10 @@ var require_plugin_schema = __commonJS({
|
|
|
549
507
|
}
|
|
550
508
|
},
|
|
551
509
|
OneOfNumberStringBoolean: {
|
|
552
|
-
type: [
|
|
553
|
-
"boolean",
|
|
554
|
-
"number",
|
|
555
|
-
"string"
|
|
556
|
-
]
|
|
510
|
+
type: ["boolean", "number", "string"]
|
|
557
511
|
},
|
|
558
512
|
OneOfNumberString: {
|
|
559
|
-
type: [
|
|
560
|
-
"number",
|
|
561
|
-
"string"
|
|
562
|
-
]
|
|
513
|
+
type: ["number", "string"]
|
|
563
514
|
},
|
|
564
515
|
HolderSubject: {
|
|
565
516
|
type: "object",
|
|
@@ -574,10 +525,7 @@ var require_plugin_schema = __commonJS({
|
|
|
574
525
|
$ref: "#/components/schemas/Optionality"
|
|
575
526
|
}
|
|
576
527
|
},
|
|
577
|
-
required: [
|
|
578
|
-
"field_id",
|
|
579
|
-
"directive"
|
|
580
|
-
]
|
|
528
|
+
required: ["field_id", "directive"]
|
|
581
529
|
},
|
|
582
530
|
PresentationDefinitionV2: {
|
|
583
531
|
type: "object",
|
|
@@ -610,10 +558,7 @@ var require_plugin_schema = __commonJS({
|
|
|
610
558
|
type: "object"
|
|
611
559
|
}
|
|
612
560
|
},
|
|
613
|
-
required: [
|
|
614
|
-
"id",
|
|
615
|
-
"input_descriptors"
|
|
616
|
-
]
|
|
561
|
+
required: ["id", "input_descriptors"]
|
|
617
562
|
},
|
|
618
563
|
InputDescriptorV2: {
|
|
619
564
|
type: "object",
|
|
@@ -646,10 +591,7 @@ var require_plugin_schema = __commonJS({
|
|
|
646
591
|
$ref: "#/components/schemas/ConstraintsV2"
|
|
647
592
|
}
|
|
648
593
|
},
|
|
649
|
-
required: [
|
|
650
|
-
"id",
|
|
651
|
-
"constraints"
|
|
652
|
-
]
|
|
594
|
+
required: ["id", "constraints"]
|
|
653
595
|
},
|
|
654
596
|
ConstraintsV2: {
|
|
655
597
|
type: "object",
|
|
@@ -714,9 +656,7 @@ var require_plugin_schema = __commonJS({
|
|
|
714
656
|
type: "boolean"
|
|
715
657
|
}
|
|
716
658
|
},
|
|
717
|
-
required: [
|
|
718
|
-
"path"
|
|
719
|
-
]
|
|
659
|
+
required: ["path"]
|
|
720
660
|
},
|
|
721
661
|
FilterV2: {
|
|
722
662
|
type: "object",
|
|
@@ -852,9 +792,7 @@ var require_plugin_schema = __commonJS({
|
|
|
852
792
|
}
|
|
853
793
|
}
|
|
854
794
|
},
|
|
855
|
-
required: [
|
|
856
|
-
"credentials"
|
|
857
|
-
]
|
|
795
|
+
required: ["credentials"]
|
|
858
796
|
},
|
|
859
797
|
DcqlCredentialQuery: {
|
|
860
798
|
type: "object",
|
|
@@ -881,11 +819,7 @@ var require_plugin_schema = __commonJS({
|
|
|
881
819
|
type: "object"
|
|
882
820
|
}
|
|
883
821
|
},
|
|
884
|
-
required: [
|
|
885
|
-
"id",
|
|
886
|
-
"format",
|
|
887
|
-
"claims"
|
|
888
|
-
]
|
|
822
|
+
required: ["id", "format", "claims"]
|
|
889
823
|
},
|
|
890
824
|
DcqlClaim: {
|
|
891
825
|
type: "object",
|
|
@@ -900,21 +834,14 @@ var require_plugin_schema = __commonJS({
|
|
|
900
834
|
$ref: "#/components/schemas/DcqlFilter"
|
|
901
835
|
}
|
|
902
836
|
},
|
|
903
|
-
required: [
|
|
904
|
-
"namespace",
|
|
905
|
-
"claim_name"
|
|
906
|
-
]
|
|
837
|
+
required: ["namespace", "claim_name"]
|
|
907
838
|
},
|
|
908
839
|
DcqlFilter: {
|
|
909
840
|
type: "object",
|
|
910
841
|
properties: {
|
|
911
842
|
type: {
|
|
912
843
|
type: "string",
|
|
913
|
-
enum: [
|
|
914
|
-
"string",
|
|
915
|
-
"number",
|
|
916
|
-
"boolean"
|
|
917
|
-
]
|
|
844
|
+
enum: ["string", "number", "boolean"]
|
|
918
845
|
},
|
|
919
846
|
pattern: {
|
|
920
847
|
type: "string"
|
|
@@ -926,9 +853,7 @@ var require_plugin_schema = __commonJS({
|
|
|
926
853
|
type: "number"
|
|
927
854
|
}
|
|
928
855
|
},
|
|
929
|
-
required: [
|
|
930
|
-
"type"
|
|
931
|
-
]
|
|
856
|
+
required: ["type"]
|
|
932
857
|
},
|
|
933
858
|
HasDefinitionItemArgs: {
|
|
934
859
|
$ref: "#/components/schemas/GetDefinitionItemArgs"
|
|
@@ -946,9 +871,7 @@ var require_plugin_schema = __commonJS({
|
|
|
946
871
|
$ref: "#/components/schemas/PersistOptions"
|
|
947
872
|
}
|
|
948
873
|
},
|
|
949
|
-
required: [
|
|
950
|
-
"definitionItem"
|
|
951
|
-
]
|
|
874
|
+
required: ["definitionItem"]
|
|
952
875
|
},
|
|
953
876
|
PersistPresentationDefinitionItem: {
|
|
954
877
|
type: "object",
|
|
@@ -978,9 +901,7 @@ var require_plugin_schema = __commonJS({
|
|
|
978
901
|
$ref: "#/components/schemas/DcqlQueryREST"
|
|
979
902
|
}
|
|
980
903
|
},
|
|
981
|
-
required: [
|
|
982
|
-
"definitionPayload"
|
|
983
|
-
]
|
|
904
|
+
required: ["definitionPayload"]
|
|
984
905
|
},
|
|
985
906
|
PersistOptions: {
|
|
986
907
|
type: "object",
|
|
@@ -995,24 +916,11 @@ var require_plugin_schema = __commonJS({
|
|
|
995
916
|
},
|
|
996
917
|
VersionControlMode: {
|
|
997
918
|
type: "string",
|
|
998
|
-
enum: [
|
|
999
|
-
"AutoIncrement",
|
|
1000
|
-
"Manual",
|
|
1001
|
-
"Overwrite",
|
|
1002
|
-
"OverwriteLatest"
|
|
1003
|
-
]
|
|
919
|
+
enum: ["AutoIncrement", "Manual", "Overwrite", "OverwriteLatest"]
|
|
1004
920
|
},
|
|
1005
921
|
ReleaseType: {
|
|
1006
922
|
type: "string",
|
|
1007
|
-
enum: [
|
|
1008
|
-
"major",
|
|
1009
|
-
"premajor",
|
|
1010
|
-
"minor",
|
|
1011
|
-
"preminor",
|
|
1012
|
-
"patch",
|
|
1013
|
-
"prepatch",
|
|
1014
|
-
"prerelease"
|
|
1015
|
-
]
|
|
923
|
+
enum: ["major", "premajor", "minor", "preminor", "patch", "prepatch", "prerelease"]
|
|
1016
924
|
}
|
|
1017
925
|
},
|
|
1018
926
|
methods: {
|