@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.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
|
},
|
|
52
50
|
DeleteDefinitionItemsArgs: {
|
|
53
51
|
$ref: "#/components/schemas/GetDefinitionItemsArgs"
|
|
@@ -115,9 +113,7 @@ var require_plugin_schema = __commonJS({
|
|
|
115
113
|
type: "string"
|
|
116
114
|
}
|
|
117
115
|
},
|
|
118
|
-
required: [
|
|
119
|
-
"itemId"
|
|
120
|
-
]
|
|
116
|
+
required: ["itemId"]
|
|
121
117
|
},
|
|
122
118
|
PresentationDefinitionItem: {
|
|
123
119
|
type: "object",
|
|
@@ -155,14 +151,7 @@ var require_plugin_schema = __commonJS({
|
|
|
155
151
|
format: "date-time"
|
|
156
152
|
}
|
|
157
153
|
},
|
|
158
|
-
required: [
|
|
159
|
-
"id",
|
|
160
|
-
"definitionId",
|
|
161
|
-
"version",
|
|
162
|
-
"definitionPayload",
|
|
163
|
-
"createdAt",
|
|
164
|
-
"lastUpdatedAt"
|
|
165
|
-
]
|
|
154
|
+
required: ["id", "definitionId", "version", "definitionPayload", "createdAt", "lastUpdatedAt"]
|
|
166
155
|
},
|
|
167
156
|
IPresentationDefinition: {
|
|
168
157
|
anyOf: [
|
|
@@ -202,10 +191,7 @@ var require_plugin_schema = __commonJS({
|
|
|
202
191
|
}
|
|
203
192
|
}
|
|
204
193
|
},
|
|
205
|
-
required: [
|
|
206
|
-
"id",
|
|
207
|
-
"input_descriptors"
|
|
208
|
-
]
|
|
194
|
+
required: ["id", "input_descriptors"]
|
|
209
195
|
},
|
|
210
196
|
Format: {
|
|
211
197
|
type: "object",
|
|
@@ -261,9 +247,7 @@ var require_plugin_schema = __commonJS({
|
|
|
261
247
|
}
|
|
262
248
|
}
|
|
263
249
|
},
|
|
264
|
-
required: [
|
|
265
|
-
"alg"
|
|
266
|
-
]
|
|
250
|
+
required: ["alg"]
|
|
267
251
|
},
|
|
268
252
|
LdpObject: {
|
|
269
253
|
type: "object",
|
|
@@ -275,9 +259,7 @@ var require_plugin_schema = __commonJS({
|
|
|
275
259
|
}
|
|
276
260
|
}
|
|
277
261
|
},
|
|
278
|
-
required: [
|
|
279
|
-
"proof_type"
|
|
280
|
-
]
|
|
262
|
+
required: ["proof_type"]
|
|
281
263
|
},
|
|
282
264
|
DiObject: {
|
|
283
265
|
type: "object",
|
|
@@ -295,10 +277,7 @@ var require_plugin_schema = __commonJS({
|
|
|
295
277
|
}
|
|
296
278
|
}
|
|
297
279
|
},
|
|
298
|
-
required: [
|
|
299
|
-
"proof_type",
|
|
300
|
-
"cryptosuite"
|
|
301
|
-
]
|
|
280
|
+
required: ["proof_type", "cryptosuite"]
|
|
302
281
|
},
|
|
303
282
|
SdJwtObject: {
|
|
304
283
|
type: "object",
|
|
@@ -327,9 +306,7 @@ var require_plugin_schema = __commonJS({
|
|
|
327
306
|
}
|
|
328
307
|
}
|
|
329
308
|
},
|
|
330
|
-
required: [
|
|
331
|
-
"alg"
|
|
332
|
-
]
|
|
309
|
+
required: ["alg"]
|
|
333
310
|
},
|
|
334
311
|
SubmissionRequirement: {
|
|
335
312
|
type: "object",
|
|
@@ -362,16 +339,11 @@ var require_plugin_schema = __commonJS({
|
|
|
362
339
|
}
|
|
363
340
|
}
|
|
364
341
|
},
|
|
365
|
-
required: [
|
|
366
|
-
"rule"
|
|
367
|
-
]
|
|
342
|
+
required: ["rule"]
|
|
368
343
|
},
|
|
369
344
|
Rules: {
|
|
370
345
|
type: "string",
|
|
371
|
-
enum: [
|
|
372
|
-
"all",
|
|
373
|
-
"pick"
|
|
374
|
-
]
|
|
346
|
+
enum: ["all", "pick"]
|
|
375
347
|
},
|
|
376
348
|
InputDescriptorV1: {
|
|
377
349
|
type: "object",
|
|
@@ -407,10 +379,7 @@ var require_plugin_schema = __commonJS({
|
|
|
407
379
|
$ref: "#/components/schemas/ConstraintsV1"
|
|
408
380
|
}
|
|
409
381
|
},
|
|
410
|
-
required: [
|
|
411
|
-
"id",
|
|
412
|
-
"schema"
|
|
413
|
-
]
|
|
382
|
+
required: ["id", "schema"]
|
|
414
383
|
},
|
|
415
384
|
Schema: {
|
|
416
385
|
type: "object",
|
|
@@ -422,9 +391,7 @@ var require_plugin_schema = __commonJS({
|
|
|
422
391
|
type: "boolean"
|
|
423
392
|
}
|
|
424
393
|
},
|
|
425
|
-
required: [
|
|
426
|
-
"uri"
|
|
427
|
-
]
|
|
394
|
+
required: ["uri"]
|
|
428
395
|
},
|
|
429
396
|
Issuance: {
|
|
430
397
|
type: "object",
|
|
@@ -469,10 +436,7 @@ var require_plugin_schema = __commonJS({
|
|
|
469
436
|
},
|
|
470
437
|
Optionality: {
|
|
471
438
|
type: "string",
|
|
472
|
-
enum: [
|
|
473
|
-
"required",
|
|
474
|
-
"preferred"
|
|
475
|
-
]
|
|
439
|
+
enum: ["required", "preferred"]
|
|
476
440
|
},
|
|
477
441
|
Statuses: {
|
|
478
442
|
type: "object",
|
|
@@ -498,11 +462,7 @@ var require_plugin_schema = __commonJS({
|
|
|
498
462
|
},
|
|
499
463
|
Directives: {
|
|
500
464
|
type: "string",
|
|
501
|
-
enum: [
|
|
502
|
-
"required",
|
|
503
|
-
"allowed",
|
|
504
|
-
"disallowed"
|
|
505
|
-
]
|
|
465
|
+
enum: ["required", "allowed", "disallowed"]
|
|
506
466
|
},
|
|
507
467
|
FieldV1: {
|
|
508
468
|
type: "object",
|
|
@@ -526,9 +486,7 @@ var require_plugin_schema = __commonJS({
|
|
|
526
486
|
$ref: "#/components/schemas/Optionality"
|
|
527
487
|
}
|
|
528
488
|
},
|
|
529
|
-
required: [
|
|
530
|
-
"path"
|
|
531
|
-
]
|
|
489
|
+
required: ["path"]
|
|
532
490
|
},
|
|
533
491
|
FilterV1: {
|
|
534
492
|
type: "object",
|
|
@@ -575,17 +533,10 @@ var require_plugin_schema = __commonJS({
|
|
|
575
533
|
}
|
|
576
534
|
},
|
|
577
535
|
OneOfNumberStringBoolean: {
|
|
578
|
-
type: [
|
|
579
|
-
"boolean",
|
|
580
|
-
"number",
|
|
581
|
-
"string"
|
|
582
|
-
]
|
|
536
|
+
type: ["boolean", "number", "string"]
|
|
583
537
|
},
|
|
584
538
|
OneOfNumberString: {
|
|
585
|
-
type: [
|
|
586
|
-
"number",
|
|
587
|
-
"string"
|
|
588
|
-
]
|
|
539
|
+
type: ["number", "string"]
|
|
589
540
|
},
|
|
590
541
|
HolderSubject: {
|
|
591
542
|
type: "object",
|
|
@@ -600,10 +551,7 @@ var require_plugin_schema = __commonJS({
|
|
|
600
551
|
$ref: "#/components/schemas/Optionality"
|
|
601
552
|
}
|
|
602
553
|
},
|
|
603
|
-
required: [
|
|
604
|
-
"field_id",
|
|
605
|
-
"directive"
|
|
606
|
-
]
|
|
554
|
+
required: ["field_id", "directive"]
|
|
607
555
|
},
|
|
608
556
|
PresentationDefinitionV2: {
|
|
609
557
|
type: "object",
|
|
@@ -636,10 +584,7 @@ var require_plugin_schema = __commonJS({
|
|
|
636
584
|
type: "object"
|
|
637
585
|
}
|
|
638
586
|
},
|
|
639
|
-
required: [
|
|
640
|
-
"id",
|
|
641
|
-
"input_descriptors"
|
|
642
|
-
]
|
|
587
|
+
required: ["id", "input_descriptors"]
|
|
643
588
|
},
|
|
644
589
|
InputDescriptorV2: {
|
|
645
590
|
type: "object",
|
|
@@ -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
|
},
|
|
680
622
|
ConstraintsV2: {
|
|
681
623
|
type: "object",
|
|
@@ -740,9 +682,7 @@ var require_plugin_schema = __commonJS({
|
|
|
740
682
|
type: "boolean"
|
|
741
683
|
}
|
|
742
684
|
},
|
|
743
|
-
required: [
|
|
744
|
-
"path"
|
|
745
|
-
]
|
|
685
|
+
required: ["path"]
|
|
746
686
|
},
|
|
747
687
|
FilterV2: {
|
|
748
688
|
type: "object",
|
|
@@ -878,9 +818,7 @@ var require_plugin_schema = __commonJS({
|
|
|
878
818
|
}
|
|
879
819
|
}
|
|
880
820
|
},
|
|
881
|
-
required: [
|
|
882
|
-
"credentials"
|
|
883
|
-
]
|
|
821
|
+
required: ["credentials"]
|
|
884
822
|
},
|
|
885
823
|
DcqlCredentialQuery: {
|
|
886
824
|
type: "object",
|
|
@@ -907,11 +845,7 @@ var require_plugin_schema = __commonJS({
|
|
|
907
845
|
type: "object"
|
|
908
846
|
}
|
|
909
847
|
},
|
|
910
|
-
required: [
|
|
911
|
-
"id",
|
|
912
|
-
"format",
|
|
913
|
-
"claims"
|
|
914
|
-
]
|
|
848
|
+
required: ["id", "format", "claims"]
|
|
915
849
|
},
|
|
916
850
|
DcqlClaim: {
|
|
917
851
|
type: "object",
|
|
@@ -926,21 +860,14 @@ var require_plugin_schema = __commonJS({
|
|
|
926
860
|
$ref: "#/components/schemas/DcqlFilter"
|
|
927
861
|
}
|
|
928
862
|
},
|
|
929
|
-
required: [
|
|
930
|
-
"namespace",
|
|
931
|
-
"claim_name"
|
|
932
|
-
]
|
|
863
|
+
required: ["namespace", "claim_name"]
|
|
933
864
|
},
|
|
934
865
|
DcqlFilter: {
|
|
935
866
|
type: "object",
|
|
936
867
|
properties: {
|
|
937
868
|
type: {
|
|
938
869
|
type: "string",
|
|
939
|
-
enum: [
|
|
940
|
-
"string",
|
|
941
|
-
"number",
|
|
942
|
-
"boolean"
|
|
943
|
-
]
|
|
870
|
+
enum: ["string", "number", "boolean"]
|
|
944
871
|
},
|
|
945
872
|
pattern: {
|
|
946
873
|
type: "string"
|
|
@@ -952,9 +879,7 @@ var require_plugin_schema = __commonJS({
|
|
|
952
879
|
type: "number"
|
|
953
880
|
}
|
|
954
881
|
},
|
|
955
|
-
required: [
|
|
956
|
-
"type"
|
|
957
|
-
]
|
|
882
|
+
required: ["type"]
|
|
958
883
|
},
|
|
959
884
|
HasDefinitionItemArgs: {
|
|
960
885
|
$ref: "#/components/schemas/GetDefinitionItemArgs"
|
|
@@ -972,9 +897,7 @@ var require_plugin_schema = __commonJS({
|
|
|
972
897
|
$ref: "#/components/schemas/PersistOptions"
|
|
973
898
|
}
|
|
974
899
|
},
|
|
975
|
-
required: [
|
|
976
|
-
"definitionItem"
|
|
977
|
-
]
|
|
900
|
+
required: ["definitionItem"]
|
|
978
901
|
},
|
|
979
902
|
PersistPresentationDefinitionItem: {
|
|
980
903
|
type: "object",
|
|
@@ -1004,9 +927,7 @@ var require_plugin_schema = __commonJS({
|
|
|
1004
927
|
$ref: "#/components/schemas/DcqlQueryREST"
|
|
1005
928
|
}
|
|
1006
929
|
},
|
|
1007
|
-
required: [
|
|
1008
|
-
"definitionPayload"
|
|
1009
|
-
]
|
|
930
|
+
required: ["definitionPayload"]
|
|
1010
931
|
},
|
|
1011
932
|
PersistOptions: {
|
|
1012
933
|
type: "object",
|
|
@@ -1021,24 +942,11 @@ var require_plugin_schema = __commonJS({
|
|
|
1021
942
|
},
|
|
1022
943
|
VersionControlMode: {
|
|
1023
944
|
type: "string",
|
|
1024
|
-
enum: [
|
|
1025
|
-
"AutoIncrement",
|
|
1026
|
-
"Manual",
|
|
1027
|
-
"Overwrite",
|
|
1028
|
-
"OverwriteLatest"
|
|
1029
|
-
]
|
|
945
|
+
enum: ["AutoIncrement", "Manual", "Overwrite", "OverwriteLatest"]
|
|
1030
946
|
},
|
|
1031
947
|
ReleaseType: {
|
|
1032
948
|
type: "string",
|
|
1033
|
-
enum: [
|
|
1034
|
-
"major",
|
|
1035
|
-
"premajor",
|
|
1036
|
-
"minor",
|
|
1037
|
-
"preminor",
|
|
1038
|
-
"patch",
|
|
1039
|
-
"prepatch",
|
|
1040
|
-
"prerelease"
|
|
1041
|
-
]
|
|
949
|
+
enum: ["major", "premajor", "minor", "preminor", "patch", "prepatch", "prerelease"]
|
|
1042
950
|
}
|
|
1043
951
|
},
|
|
1044
952
|
methods: {
|