@sphereon/ssi-sdk.pd-manager 0.34.1-feature.SSISDK.57.uni.client.206 → 0.34.1-feature.SSISDK.58.host.nonce.endpoint.145

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.d.cts CHANGED
@@ -1,2157 +1,14 @@
1
1
  import { IAgentPlugin, IPluginMethodMap, IAgentContext } from '@veramo/core';
2
- import { AbstractPDStore, DcqlQueryItem, FindDcqlQueryArgs, NonPersistedDcqlQueryItem } from '@sphereon/ssi-sdk.data-store';
3
- export { ImportDcqlQueryItem } from '@sphereon/ssi-sdk.data-store';
2
+ import { AbstractPDStore, PresentationDefinitionItem, FindDefinitionArgs, NonPersistedPresentationDefinitionItem } from '@sphereon/ssi-sdk.data-store';
4
3
  import { ReleaseType } from 'semver';
5
4
  export { ReleaseType } from 'semver';
6
5
 
7
- var IPDManager$1 = {
8
- components: {
9
- schemas: {
10
- DeleteDefinitionItemArgs: {
11
- type: "object",
12
- properties: {
13
- itemId: {
14
- type: "string"
15
- }
16
- },
17
- required: [
18
- "itemId"
19
- ],
20
- additionalProperties: false
21
- },
22
- DeleteDefinitionItemsArgs: {
23
- $ref: "#/components/schemas/GetDefinitionItemsArgs"
24
- },
25
- GetDefinitionItemsArgs: {
26
- type: "object",
27
- properties: {
28
- filter: {
29
- $ref: "#/components/schemas/FindDefinitionArgs"
30
- },
31
- opts: {
32
- $ref: "#/components/schemas/FetchOptions"
33
- }
34
- },
35
- additionalProperties: false
36
- },
37
- FindDefinitionArgs: {
38
- type: "array",
39
- items: {
40
- $ref: "#/components/schemas/PresentationDefinitionItemFilter"
41
- }
42
- },
43
- PresentationDefinitionItemFilter: {
44
- $ref: "#/components/schemas/Partial<Omit<PresentationDefinitionItem,(\"definitionPayload\"|\"dcqlPayload\")>>"
45
- },
46
- "Partial<Omit<PresentationDefinitionItem,(\"definitionPayload\"|\"dcqlPayload\")>>": {
47
- type: "object",
48
- properties: {
49
- id: {
50
- type: "string"
51
- },
52
- definitionId: {
53
- type: "string"
54
- },
55
- tenantId: {
56
- type: "string"
57
- },
58
- version: {
59
- type: "string"
60
- },
61
- name: {
62
- type: "string"
63
- },
64
- purpose: {
65
- type: "string"
66
- },
67
- createdAt: {
68
- type: "string",
69
- format: "date-time"
70
- },
71
- lastUpdatedAt: {
72
- type: "string",
73
- format: "date-time"
74
- }
75
- },
76
- additionalProperties: false
77
- },
78
- FetchOptions: {
79
- type: "object",
80
- properties: {
81
- showVersionHistory: {
82
- type: "boolean"
83
- }
84
- },
85
- additionalProperties: false
86
- },
87
- GetDefinitionItemArgs: {
88
- type: "object",
89
- properties: {
90
- itemId: {
91
- type: "string"
92
- }
93
- },
94
- required: [
95
- "itemId"
96
- ],
97
- additionalProperties: false
98
- },
99
- PresentationDefinitionItem: {
100
- type: "object",
101
- properties: {
102
- id: {
103
- type: "string"
104
- },
105
- definitionId: {
106
- type: "string"
107
- },
108
- tenantId: {
109
- type: "string"
110
- },
111
- version: {
112
- type: "string"
113
- },
114
- name: {
115
- type: "string"
116
- },
117
- purpose: {
118
- type: "string"
119
- },
120
- definitionPayload: {
121
- $ref: "#/components/schemas/IPresentationDefinition"
122
- },
123
- dcqlPayload: {
124
- $ref: "#/components/schemas/DcqlQueryREST"
125
- },
126
- createdAt: {
127
- type: "string",
128
- format: "date-time"
129
- },
130
- lastUpdatedAt: {
131
- type: "string",
132
- format: "date-time"
133
- }
134
- },
135
- required: [
136
- "id",
137
- "definitionId",
138
- "version",
139
- "definitionPayload",
140
- "createdAt",
141
- "lastUpdatedAt"
142
- ],
143
- additionalProperties: false
144
- },
145
- IPresentationDefinition: {
146
- anyOf: [
147
- {
148
- $ref: "#/components/schemas/PresentationDefinitionV1"
149
- },
150
- {
151
- $ref: "#/components/schemas/PresentationDefinitionV2"
152
- }
153
- ]
154
- },
155
- PresentationDefinitionV1: {
156
- type: "object",
157
- properties: {
158
- id: {
159
- type: "string"
160
- },
161
- name: {
162
- type: "string"
163
- },
164
- purpose: {
165
- type: "string"
166
- },
167
- format: {
168
- $ref: "#/components/schemas/Format"
169
- },
170
- submission_requirements: {
171
- type: "array",
172
- items: {
173
- $ref: "#/components/schemas/SubmissionRequirement"
174
- }
175
- },
176
- input_descriptors: {
177
- type: "array",
178
- items: {
179
- $ref: "#/components/schemas/InputDescriptorV1"
180
- }
181
- }
182
- },
183
- required: [
184
- "id",
185
- "input_descriptors"
186
- ],
187
- additionalProperties: false
188
- },
189
- Format: {
190
- type: "object",
191
- properties: {
192
- jwt: {
193
- $ref: "#/components/schemas/JwtObject"
194
- },
195
- jwt_vc: {
196
- $ref: "#/components/schemas/JwtObject"
197
- },
198
- jwt_vc_json: {
199
- $ref: "#/components/schemas/JwtObject"
200
- },
201
- jwt_vp: {
202
- $ref: "#/components/schemas/JwtObject"
203
- },
204
- jwt_vp_json: {
205
- $ref: "#/components/schemas/JwtObject"
206
- },
207
- ldp: {
208
- $ref: "#/components/schemas/LdpObject"
209
- },
210
- ldp_vc: {
211
- $ref: "#/components/schemas/LdpObject"
212
- },
213
- ldp_vp: {
214
- $ref: "#/components/schemas/LdpObject"
215
- },
216
- di: {
217
- $ref: "#/components/schemas/DiObject"
218
- },
219
- di_vc: {
220
- $ref: "#/components/schemas/DiObject"
221
- },
222
- di_vp: {
223
- $ref: "#/components/schemas/DiObject"
224
- },
225
- "dc+sd-jwt": {
226
- $ref: "#/components/schemas/SdJwtObject"
227
- },
228
- mso_mdoc: {
229
- $ref: "#/components/schemas/MsoMdocObject"
230
- }
231
- },
232
- additionalProperties: false
233
- },
234
- JwtObject: {
235
- type: "object",
236
- properties: {
237
- alg: {
238
- type: "array",
239
- items: {
240
- type: "string"
241
- }
242
- }
243
- },
244
- required: [
245
- "alg"
246
- ],
247
- additionalProperties: false
248
- },
249
- LdpObject: {
250
- type: "object",
251
- properties: {
252
- proof_type: {
253
- type: "array",
254
- items: {
255
- type: "string"
256
- }
257
- }
258
- },
259
- required: [
260
- "proof_type"
261
- ],
262
- additionalProperties: false
263
- },
264
- DiObject: {
265
- type: "object",
266
- properties: {
267
- proof_type: {
268
- type: "array",
269
- items: {
270
- type: "string"
271
- }
272
- },
273
- cryptosuite: {
274
- type: "array",
275
- items: {
276
- type: "string"
277
- }
278
- }
279
- },
280
- required: [
281
- "proof_type",
282
- "cryptosuite"
283
- ],
284
- additionalProperties: false
285
- },
286
- SdJwtObject: {
287
- type: "object",
288
- properties: {
289
- "sd-jwt_alg_values": {
290
- type: "array",
291
- items: {
292
- type: "string"
293
- }
294
- },
295
- "kb-jwt_alg_values": {
296
- type: "array",
297
- items: {
298
- type: "string"
299
- }
300
- }
301
- },
302
- additionalProperties: false
303
- },
304
- MsoMdocObject: {
305
- type: "object",
306
- properties: {
307
- alg: {
308
- type: "array",
309
- items: {
310
- type: "string"
311
- }
312
- }
313
- },
314
- required: [
315
- "alg"
316
- ],
317
- additionalProperties: false
318
- },
319
- SubmissionRequirement: {
320
- type: "object",
321
- properties: {
322
- name: {
323
- type: "string"
324
- },
325
- purpose: {
326
- type: "string"
327
- },
328
- rule: {
329
- $ref: "#/components/schemas/Rules"
330
- },
331
- count: {
332
- type: "number"
333
- },
334
- min: {
335
- type: "number"
336
- },
337
- max: {
338
- type: "number"
339
- },
340
- from: {
341
- type: "string"
342
- },
343
- from_nested: {
344
- type: "array",
345
- items: {
346
- $ref: "#/components/schemas/SubmissionRequirement"
347
- }
348
- }
349
- },
350
- required: [
351
- "rule"
352
- ],
353
- additionalProperties: false
354
- },
355
- Rules: {
356
- type: "string",
357
- "enum": [
358
- "all",
359
- "pick"
360
- ]
361
- },
362
- InputDescriptorV1: {
363
- type: "object",
364
- properties: {
365
- id: {
366
- type: "string"
367
- },
368
- name: {
369
- type: "string"
370
- },
371
- purpose: {
372
- type: "string"
373
- },
374
- group: {
375
- type: "array",
376
- items: {
377
- type: "string"
378
- }
379
- },
380
- schema: {
381
- type: "array",
382
- items: {
383
- $ref: "#/components/schemas/Schema"
384
- }
385
- },
386
- issuance: {
387
- type: "array",
388
- items: {
389
- $ref: "#/components/schemas/Issuance"
390
- }
391
- },
392
- constraints: {
393
- $ref: "#/components/schemas/ConstraintsV1"
394
- }
395
- },
396
- required: [
397
- "id",
398
- "schema"
399
- ],
400
- additionalProperties: false
401
- },
402
- Schema: {
403
- type: "object",
404
- properties: {
405
- uri: {
406
- type: "string"
407
- },
408
- required: {
409
- type: "boolean"
410
- }
411
- },
412
- required: [
413
- "uri"
414
- ],
415
- additionalProperties: false
416
- },
417
- Issuance: {
418
- type: "object",
419
- properties: {
420
- manifest: {
421
- type: "string"
422
- }
423
- },
424
- additionalProperties: {
425
- }
426
- },
427
- ConstraintsV1: {
428
- type: "object",
429
- properties: {
430
- limit_disclosure: {
431
- $ref: "#/components/schemas/Optionality"
432
- },
433
- statuses: {
434
- $ref: "#/components/schemas/Statuses"
435
- },
436
- fields: {
437
- type: "array",
438
- items: {
439
- $ref: "#/components/schemas/FieldV1"
440
- }
441
- },
442
- subject_is_issuer: {
443
- $ref: "#/components/schemas/Optionality"
444
- },
445
- is_holder: {
446
- type: "array",
447
- items: {
448
- $ref: "#/components/schemas/HolderSubject"
449
- }
450
- },
451
- same_subject: {
452
- type: "array",
453
- items: {
454
- $ref: "#/components/schemas/HolderSubject"
455
- }
456
- }
457
- },
458
- additionalProperties: false
459
- },
460
- Optionality: {
461
- type: "string",
462
- "enum": [
463
- "required",
464
- "preferred"
465
- ]
466
- },
467
- Statuses: {
468
- type: "object",
469
- properties: {
470
- active: {
471
- $ref: "#/components/schemas/PdStatus"
472
- },
473
- suspended: {
474
- $ref: "#/components/schemas/PdStatus"
475
- },
476
- revoked: {
477
- $ref: "#/components/schemas/PdStatus"
478
- }
479
- },
480
- additionalProperties: false
481
- },
482
- PdStatus: {
483
- type: "object",
484
- properties: {
485
- directive: {
486
- $ref: "#/components/schemas/Directives"
487
- }
488
- },
489
- additionalProperties: false
490
- },
491
- Directives: {
492
- type: "string",
493
- "enum": [
494
- "required",
495
- "allowed",
496
- "disallowed"
497
- ]
498
- },
499
- FieldV1: {
500
- type: "object",
501
- properties: {
502
- id: {
503
- type: "string"
504
- },
505
- path: {
506
- type: "array",
507
- items: {
508
- type: "string"
509
- }
510
- },
511
- purpose: {
512
- type: "string"
513
- },
514
- filter: {
515
- $ref: "#/components/schemas/FilterV1"
516
- },
517
- predicate: {
518
- $ref: "#/components/schemas/Optionality"
519
- }
520
- },
521
- required: [
522
- "path"
523
- ],
524
- additionalProperties: false
525
- },
526
- FilterV1: {
527
- type: "object",
528
- properties: {
529
- "const": {
530
- $ref: "#/components/schemas/OneOfNumberStringBoolean"
531
- },
532
- "enum": {
533
- type: "array",
534
- items: {
535
- $ref: "#/components/schemas/OneOfNumberStringBoolean"
536
- }
537
- },
538
- exclusiveMinimum: {
539
- $ref: "#/components/schemas/OneOfNumberString"
540
- },
541
- exclusiveMaximum: {
542
- $ref: "#/components/schemas/OneOfNumberString"
543
- },
544
- format: {
545
- type: "string"
546
- },
547
- minLength: {
548
- type: "number"
549
- },
550
- maxLength: {
551
- type: "number"
552
- },
553
- minimum: {
554
- $ref: "#/components/schemas/OneOfNumberString"
555
- },
556
- maximum: {
557
- $ref: "#/components/schemas/OneOfNumberString"
558
- },
559
- not: {
560
- type: "object"
561
- },
562
- pattern: {
563
- type: "string"
564
- },
565
- type: {
566
- type: "string"
567
- }
568
- },
569
- additionalProperties: false
570
- },
571
- OneOfNumberStringBoolean: {
572
- type: [
573
- "boolean",
574
- "number",
575
- "string"
576
- ]
577
- },
578
- OneOfNumberString: {
579
- type: [
580
- "number",
581
- "string"
582
- ]
583
- },
584
- HolderSubject: {
585
- type: "object",
586
- properties: {
587
- field_id: {
588
- type: "array",
589
- items: {
590
- type: "string"
591
- }
592
- },
593
- directive: {
594
- $ref: "#/components/schemas/Optionality"
595
- }
596
- },
597
- required: [
598
- "field_id",
599
- "directive"
600
- ],
601
- additionalProperties: false
602
- },
603
- PresentationDefinitionV2: {
604
- type: "object",
605
- properties: {
606
- id: {
607
- type: "string"
608
- },
609
- name: {
610
- type: "string"
611
- },
612
- purpose: {
613
- type: "string"
614
- },
615
- format: {
616
- $ref: "#/components/schemas/Format"
617
- },
618
- submission_requirements: {
619
- type: "array",
620
- items: {
621
- $ref: "#/components/schemas/SubmissionRequirement"
622
- }
623
- },
624
- input_descriptors: {
625
- type: "array",
626
- items: {
627
- $ref: "#/components/schemas/InputDescriptorV2"
628
- }
629
- },
630
- frame: {
631
- type: "object"
632
- }
633
- },
634
- required: [
635
- "id",
636
- "input_descriptors"
637
- ],
638
- additionalProperties: false
639
- },
640
- InputDescriptorV2: {
641
- type: "object",
642
- properties: {
643
- id: {
644
- type: "string"
645
- },
646
- name: {
647
- type: "string"
648
- },
649
- purpose: {
650
- type: "string"
651
- },
652
- format: {
653
- $ref: "#/components/schemas/Format"
654
- },
655
- group: {
656
- type: "array",
657
- items: {
658
- type: "string"
659
- }
660
- },
661
- issuance: {
662
- type: "array",
663
- items: {
664
- $ref: "#/components/schemas/Issuance"
665
- }
666
- },
667
- constraints: {
668
- $ref: "#/components/schemas/ConstraintsV2"
669
- }
670
- },
671
- required: [
672
- "id",
673
- "constraints"
674
- ],
675
- additionalProperties: false
676
- },
677
- ConstraintsV2: {
678
- type: "object",
679
- properties: {
680
- limit_disclosure: {
681
- $ref: "#/components/schemas/Optionality"
682
- },
683
- statuses: {
684
- $ref: "#/components/schemas/Statuses"
685
- },
686
- fields: {
687
- type: "array",
688
- items: {
689
- $ref: "#/components/schemas/FieldV2"
690
- }
691
- },
692
- subject_is_issuer: {
693
- $ref: "#/components/schemas/Optionality"
694
- },
695
- is_holder: {
696
- type: "array",
697
- items: {
698
- $ref: "#/components/schemas/HolderSubject"
699
- }
700
- },
701
- same_subject: {
702
- type: "array",
703
- items: {
704
- $ref: "#/components/schemas/HolderSubject"
705
- }
706
- }
707
- },
708
- additionalProperties: false
709
- },
710
- FieldV2: {
711
- type: "object",
712
- properties: {
713
- id: {
714
- type: "string"
715
- },
716
- path: {
717
- type: "array",
718
- items: {
719
- type: "string"
720
- }
721
- },
722
- purpose: {
723
- type: "string"
724
- },
725
- filter: {
726
- $ref: "#/components/schemas/FilterV2"
727
- },
728
- predicate: {
729
- $ref: "#/components/schemas/Optionality"
730
- },
731
- intent_to_retain: {
732
- type: "boolean"
733
- },
734
- name: {
735
- type: "string"
736
- },
737
- optional: {
738
- type: "boolean"
739
- }
740
- },
741
- required: [
742
- "path"
743
- ],
744
- additionalProperties: false
745
- },
746
- FilterV2: {
747
- type: "object",
748
- properties: {
749
- "const": {
750
- $ref: "#/components/schemas/OneOfNumberStringBoolean"
751
- },
752
- "enum": {
753
- type: "array",
754
- items: {
755
- $ref: "#/components/schemas/OneOfNumberStringBoolean"
756
- }
757
- },
758
- exclusiveMinimum: {
759
- $ref: "#/components/schemas/OneOfNumberString"
760
- },
761
- exclusiveMaximum: {
762
- $ref: "#/components/schemas/OneOfNumberString"
763
- },
764
- format: {
765
- type: "string"
766
- },
767
- formatMaximum: {
768
- type: "string"
769
- },
770
- formatMinimum: {
771
- type: "string"
772
- },
773
- formatExclusiveMaximum: {
774
- type: "string"
775
- },
776
- formatExclusiveMinimum: {
777
- type: "string"
778
- },
779
- minLength: {
780
- type: "number"
781
- },
782
- maxLength: {
783
- type: "number"
784
- },
785
- minimum: {
786
- $ref: "#/components/schemas/OneOfNumberString"
787
- },
788
- maximum: {
789
- $ref: "#/components/schemas/OneOfNumberString"
790
- },
791
- not: {
792
- type: "object"
793
- },
794
- pattern: {
795
- type: "string"
796
- },
797
- type: {
798
- type: "string"
799
- },
800
- contains: {
801
- $ref: "#/components/schemas/FilterV2"
802
- },
803
- items: {
804
- $ref: "#/components/schemas/FilterV2Items"
805
- }
806
- },
807
- additionalProperties: false
808
- },
809
- FilterV2Items: {
810
- type: "object",
811
- properties: {
812
- "const": {
813
- $ref: "#/components/schemas/OneOfNumberStringBoolean"
814
- },
815
- "enum": {
816
- type: "array",
817
- items: {
818
- $ref: "#/components/schemas/OneOfNumberStringBoolean"
819
- }
820
- },
821
- exclusiveMinimum: {
822
- $ref: "#/components/schemas/OneOfNumberString"
823
- },
824
- exclusiveMaximum: {
825
- $ref: "#/components/schemas/OneOfNumberString"
826
- },
827
- format: {
828
- type: "string"
829
- },
830
- formatMaximum: {
831
- type: "string"
832
- },
833
- formatMinimum: {
834
- type: "string"
835
- },
836
- formatExclusiveMaximum: {
837
- type: "string"
838
- },
839
- formatExclusiveMinimum: {
840
- type: "string"
841
- },
842
- minLength: {
843
- type: "number"
844
- },
845
- maxLength: {
846
- type: "number"
847
- },
848
- minimum: {
849
- $ref: "#/components/schemas/OneOfNumberString"
850
- },
851
- maximum: {
852
- $ref: "#/components/schemas/OneOfNumberString"
853
- },
854
- not: {
855
- type: "object"
856
- },
857
- pattern: {
858
- type: "string"
859
- },
860
- type: {
861
- type: "string"
862
- },
863
- contains: {
864
- $ref: "#/components/schemas/FilterV2"
865
- },
866
- items: {
867
- $ref: "#/components/schemas/FilterV2Items"
868
- }
869
- },
870
- additionalProperties: false
871
- },
872
- DcqlQueryREST: {
873
- type: "object",
874
- properties: {
875
- credentials: {
876
- type: "array",
877
- items: {
878
- $ref: "#/components/schemas/DcqlCredentialQuery"
879
- }
880
- }
881
- },
882
- required: [
883
- "credentials"
884
- ],
885
- additionalProperties: false
886
- },
887
- DcqlCredentialQuery: {
888
- type: "object",
889
- properties: {
890
- id: {
891
- type: "string"
892
- },
893
- format: {
894
- type: "string"
895
- },
896
- alg: {
897
- type: "array",
898
- items: {
899
- type: "string"
900
- }
901
- },
902
- claims: {
903
- type: "array",
904
- items: {
905
- $ref: "#/components/schemas/DcqlClaim"
906
- }
907
- },
908
- meta: {
909
- $ref: "#/components/schemas/Record<string,any>"
910
- }
911
- },
912
- required: [
913
- "id",
914
- "format",
915
- "claims"
916
- ],
917
- additionalProperties: false
918
- },
919
- DcqlClaim: {
920
- type: "object",
921
- properties: {
922
- namespace: {
923
- type: "string"
924
- },
925
- claim_name: {
926
- type: "string"
927
- },
928
- filter: {
929
- $ref: "#/components/schemas/DcqlFilter"
930
- }
931
- },
932
- required: [
933
- "namespace",
934
- "claim_name"
935
- ],
936
- additionalProperties: false
937
- },
938
- DcqlFilter: {
939
- type: "object",
940
- properties: {
941
- type: {
942
- type: "string",
943
- "enum": [
944
- "string",
945
- "number",
946
- "boolean"
947
- ]
948
- },
949
- pattern: {
950
- type: "string"
951
- },
952
- minimum: {
953
- type: "number"
954
- },
955
- maximum: {
956
- type: "number"
957
- }
958
- },
959
- required: [
960
- "type"
961
- ],
962
- additionalProperties: false
963
- },
964
- "Record<string,any>": {
965
- type: "object"
966
- },
967
- HasDefinitionItemArgs: {
968
- $ref: "#/components/schemas/GetDefinitionItemArgs"
969
- },
970
- HasDefinitionItemsArgs: {
971
- $ref: "#/components/schemas/GetDefinitionItemsArgs"
972
- },
973
- PersistDefinitionArgs: {
974
- type: "object",
975
- properties: {
976
- definitionItem: {
977
- $ref: "#/components/schemas/PersistPresentationDefinitionItem"
978
- },
979
- opts: {
980
- $ref: "#/components/schemas/PersistOptions"
981
- }
982
- },
983
- required: [
984
- "definitionItem"
985
- ],
986
- additionalProperties: false
987
- },
988
- PersistPresentationDefinitionItem: {
989
- type: "object",
990
- additionalProperties: false,
991
- properties: {
992
- id: {
993
- type: "string"
994
- },
995
- definitionId: {
996
- type: "string"
997
- },
998
- version: {
999
- type: "string"
1000
- },
1001
- tenantId: {
1002
- type: "string"
1003
- },
1004
- name: {
1005
- type: "string"
1006
- },
1007
- purpose: {
1008
- type: "string"
1009
- },
1010
- definitionPayload: {
1011
- $ref: "#/components/schemas/IPresentationDefinition"
1012
- },
1013
- dcqlPayload: {
1014
- $ref: "#/components/schemas/DcqlQueryREST"
1015
- }
1016
- },
1017
- required: [
1018
- "definitionPayload"
1019
- ]
1020
- },
1021
- PersistOptions: {
1022
- type: "object",
1023
- properties: {
1024
- versionControlMode: {
1025
- $ref: "#/components/schemas/VersionControlMode"
1026
- },
1027
- versionIncrementReleaseType: {
1028
- $ref: "#/components/schemas/ReleaseType"
1029
- }
1030
- },
1031
- additionalProperties: false
1032
- },
1033
- VersionControlMode: {
1034
- type: "string",
1035
- "enum": [
1036
- "AutoIncrement",
1037
- "Manual",
1038
- "Overwrite",
1039
- "OverwriteLatest"
1040
- ]
1041
- },
1042
- ReleaseType: {
1043
- type: "string",
1044
- "enum": [
1045
- "major",
1046
- "premajor",
1047
- "minor",
1048
- "preminor",
1049
- "patch",
1050
- "prepatch",
1051
- "prerelease",
1052
- "release"
1053
- ]
1054
- }
1055
- },
1056
- methods: {
1057
- pdmDeleteDefinition: {
1058
- description: "Delete a single presentation definition records by primary key",
1059
- "arguments": {
1060
- $ref: "#/components/schemas/DeleteDefinitionItemArgs"
1061
- },
1062
- returnType: {
1063
- type: "boolean"
1064
- }
1065
- },
1066
- pdmDeleteDefinitions: {
1067
- description: "Delete multiple presentation definitions records using filters",
1068
- "arguments": {
1069
- $ref: "#/components/schemas/DeleteDefinitionItemsArgs"
1070
- },
1071
- returnType: {
1072
- type: "number"
1073
- }
1074
- },
1075
- pdmGetDefinition: {
1076
- description: "Get a single presentation definition records by primary key",
1077
- "arguments": {
1078
- $ref: "#/components/schemas/GetDefinitionItemArgs"
1079
- },
1080
- returnType: {
1081
- $ref: "#/components/schemas/PresentationDefinitionItem"
1082
- }
1083
- },
1084
- pdmGetDefinitions: {
1085
- description: "Find one or more presentation definition records using filters",
1086
- "arguments": {
1087
- $ref: "#/components/schemas/GetDefinitionItemsArgs"
1088
- },
1089
- returnType: {
1090
- type: "array",
1091
- items: {
1092
- $ref: "#/components/schemas/PresentationDefinitionItem"
1093
- }
1094
- }
1095
- },
1096
- pdmHasDefinition: {
1097
- description: "Checks whether a presentation definition record exists by primary key",
1098
- "arguments": {
1099
- $ref: "#/components/schemas/HasDefinitionItemArgs"
1100
- },
1101
- returnType: {
1102
- type: "boolean"
1103
- }
1104
- },
1105
- pdmHasDefinitions: {
1106
- description: "Checks whether one or more presentation definition records exist using filters",
1107
- "arguments": {
1108
- $ref: "#/components/schemas/HasDefinitionItemsArgs"
1109
- },
1110
- returnType: {
1111
- type: "boolean"
1112
- }
1113
- },
1114
- pdmPersistDefinition: {
1115
- description: "Check in a presentation definition. It has version control logic which will add or update presentation definition records and has settings for automatic version numbering.",
1116
- "arguments": {
1117
- $ref: "#/components/schemas/PersistDefinitionArgs"
1118
- },
1119
- returnType: {
1120
- $ref: "#/components/schemas/PresentationDefinitionItem"
1121
- }
1122
- }
1123
- }
1124
- }
1125
- };
1126
- var plugin_schema = {
1127
- IPDManager: IPDManager$1
1128
- };
1129
-
1130
6
  declare const pdManagerMethods: Array<string>;
1131
7
  /**
1132
8
  * {@inheritDoc IPDManager}
1133
9
  */
1134
10
  declare class PDManager implements IAgentPlugin {
1135
- readonly schema: {
1136
- components: {
1137
- schemas: {
1138
- DeleteDefinitionItemArgs: {
1139
- type: string;
1140
- properties: {
1141
- itemId: {
1142
- type: string;
1143
- };
1144
- };
1145
- required: string[];
1146
- additionalProperties: boolean;
1147
- };
1148
- DeleteDefinitionItemsArgs: {
1149
- $ref: string;
1150
- };
1151
- GetDefinitionItemsArgs: {
1152
- type: string;
1153
- properties: {
1154
- filter: {
1155
- $ref: string;
1156
- };
1157
- opts: {
1158
- $ref: string;
1159
- };
1160
- };
1161
- additionalProperties: boolean;
1162
- };
1163
- FindDefinitionArgs: {
1164
- type: string;
1165
- items: {
1166
- $ref: string;
1167
- };
1168
- };
1169
- PresentationDefinitionItemFilter: {
1170
- $ref: string;
1171
- };
1172
- "Partial<Omit<PresentationDefinitionItem,(\"definitionPayload\"|\"dcqlPayload\")>>": {
1173
- type: string;
1174
- properties: {
1175
- id: {
1176
- type: string;
1177
- };
1178
- definitionId: {
1179
- type: string;
1180
- };
1181
- tenantId: {
1182
- type: string;
1183
- };
1184
- version: {
1185
- type: string;
1186
- };
1187
- name: {
1188
- type: string;
1189
- };
1190
- purpose: {
1191
- type: string;
1192
- };
1193
- createdAt: {
1194
- type: string;
1195
- format: string;
1196
- };
1197
- lastUpdatedAt: {
1198
- type: string;
1199
- format: string;
1200
- };
1201
- };
1202
- additionalProperties: boolean;
1203
- };
1204
- FetchOptions: {
1205
- type: string;
1206
- properties: {
1207
- showVersionHistory: {
1208
- type: string;
1209
- };
1210
- };
1211
- additionalProperties: boolean;
1212
- };
1213
- GetDefinitionItemArgs: {
1214
- type: string;
1215
- properties: {
1216
- itemId: {
1217
- type: string;
1218
- };
1219
- };
1220
- required: string[];
1221
- additionalProperties: boolean;
1222
- };
1223
- PresentationDefinitionItem: {
1224
- type: string;
1225
- properties: {
1226
- id: {
1227
- type: string;
1228
- };
1229
- definitionId: {
1230
- type: string;
1231
- };
1232
- tenantId: {
1233
- type: string;
1234
- };
1235
- version: {
1236
- type: string;
1237
- };
1238
- name: {
1239
- type: string;
1240
- };
1241
- purpose: {
1242
- type: string;
1243
- };
1244
- definitionPayload: {
1245
- $ref: string;
1246
- };
1247
- dcqlPayload: {
1248
- $ref: string;
1249
- };
1250
- createdAt: {
1251
- type: string;
1252
- format: string;
1253
- };
1254
- lastUpdatedAt: {
1255
- type: string;
1256
- format: string;
1257
- };
1258
- };
1259
- required: string[];
1260
- additionalProperties: boolean;
1261
- };
1262
- IPresentationDefinition: {
1263
- anyOf: {
1264
- $ref: string;
1265
- }[];
1266
- };
1267
- PresentationDefinitionV1: {
1268
- type: string;
1269
- properties: {
1270
- id: {
1271
- type: string;
1272
- };
1273
- name: {
1274
- type: string;
1275
- };
1276
- purpose: {
1277
- type: string;
1278
- };
1279
- format: {
1280
- $ref: string;
1281
- };
1282
- submission_requirements: {
1283
- type: string;
1284
- items: {
1285
- $ref: string;
1286
- };
1287
- };
1288
- input_descriptors: {
1289
- type: string;
1290
- items: {
1291
- $ref: string;
1292
- };
1293
- };
1294
- };
1295
- required: string[];
1296
- additionalProperties: boolean;
1297
- };
1298
- Format: {
1299
- type: string;
1300
- properties: {
1301
- jwt: {
1302
- $ref: string;
1303
- };
1304
- jwt_vc: {
1305
- $ref: string;
1306
- };
1307
- jwt_vc_json: {
1308
- $ref: string;
1309
- };
1310
- jwt_vp: {
1311
- $ref: string;
1312
- };
1313
- jwt_vp_json: {
1314
- $ref: string;
1315
- };
1316
- ldp: {
1317
- $ref: string;
1318
- };
1319
- ldp_vc: {
1320
- $ref: string;
1321
- };
1322
- ldp_vp: {
1323
- $ref: string;
1324
- };
1325
- di: {
1326
- $ref: string;
1327
- };
1328
- di_vc: {
1329
- $ref: string;
1330
- };
1331
- di_vp: {
1332
- $ref: string;
1333
- };
1334
- "dc+sd-jwt": {
1335
- $ref: string;
1336
- };
1337
- mso_mdoc: {
1338
- $ref: string;
1339
- };
1340
- };
1341
- additionalProperties: boolean;
1342
- };
1343
- JwtObject: {
1344
- type: string;
1345
- properties: {
1346
- alg: {
1347
- type: string;
1348
- items: {
1349
- type: string;
1350
- };
1351
- };
1352
- };
1353
- required: string[];
1354
- additionalProperties: boolean;
1355
- };
1356
- LdpObject: {
1357
- type: string;
1358
- properties: {
1359
- proof_type: {
1360
- type: string;
1361
- items: {
1362
- type: string;
1363
- };
1364
- };
1365
- };
1366
- required: string[];
1367
- additionalProperties: boolean;
1368
- };
1369
- DiObject: {
1370
- type: string;
1371
- properties: {
1372
- proof_type: {
1373
- type: string;
1374
- items: {
1375
- type: string;
1376
- };
1377
- };
1378
- cryptosuite: {
1379
- type: string;
1380
- items: {
1381
- type: string;
1382
- };
1383
- };
1384
- };
1385
- required: string[];
1386
- additionalProperties: boolean;
1387
- };
1388
- SdJwtObject: {
1389
- type: string;
1390
- properties: {
1391
- "sd-jwt_alg_values": {
1392
- type: string;
1393
- items: {
1394
- type: string;
1395
- };
1396
- };
1397
- "kb-jwt_alg_values": {
1398
- type: string;
1399
- items: {
1400
- type: string;
1401
- };
1402
- };
1403
- };
1404
- additionalProperties: boolean;
1405
- };
1406
- MsoMdocObject: {
1407
- type: string;
1408
- properties: {
1409
- alg: {
1410
- type: string;
1411
- items: {
1412
- type: string;
1413
- };
1414
- };
1415
- };
1416
- required: string[];
1417
- additionalProperties: boolean;
1418
- };
1419
- SubmissionRequirement: {
1420
- type: string;
1421
- properties: {
1422
- name: {
1423
- type: string;
1424
- };
1425
- purpose: {
1426
- type: string;
1427
- };
1428
- rule: {
1429
- $ref: string;
1430
- };
1431
- count: {
1432
- type: string;
1433
- };
1434
- min: {
1435
- type: string;
1436
- };
1437
- max: {
1438
- type: string;
1439
- };
1440
- from: {
1441
- type: string;
1442
- };
1443
- from_nested: {
1444
- type: string;
1445
- items: {
1446
- $ref: string;
1447
- };
1448
- };
1449
- };
1450
- required: string[];
1451
- additionalProperties: boolean;
1452
- };
1453
- Rules: {
1454
- type: string;
1455
- enum: string[];
1456
- };
1457
- InputDescriptorV1: {
1458
- type: string;
1459
- properties: {
1460
- id: {
1461
- type: string;
1462
- };
1463
- name: {
1464
- type: string;
1465
- };
1466
- purpose: {
1467
- type: string;
1468
- };
1469
- group: {
1470
- type: string;
1471
- items: {
1472
- type: string;
1473
- };
1474
- };
1475
- schema: {
1476
- type: string;
1477
- items: {
1478
- $ref: string;
1479
- };
1480
- };
1481
- issuance: {
1482
- type: string;
1483
- items: {
1484
- $ref: string;
1485
- };
1486
- };
1487
- constraints: {
1488
- $ref: string;
1489
- };
1490
- };
1491
- required: string[];
1492
- additionalProperties: boolean;
1493
- };
1494
- Schema: {
1495
- type: string;
1496
- properties: {
1497
- uri: {
1498
- type: string;
1499
- };
1500
- required: {
1501
- type: string;
1502
- };
1503
- };
1504
- required: string[];
1505
- additionalProperties: boolean;
1506
- };
1507
- Issuance: {
1508
- type: string;
1509
- properties: {
1510
- manifest: {
1511
- type: string;
1512
- };
1513
- };
1514
- additionalProperties: {};
1515
- };
1516
- ConstraintsV1: {
1517
- type: string;
1518
- properties: {
1519
- limit_disclosure: {
1520
- $ref: string;
1521
- };
1522
- statuses: {
1523
- $ref: string;
1524
- };
1525
- fields: {
1526
- type: string;
1527
- items: {
1528
- $ref: string;
1529
- };
1530
- };
1531
- subject_is_issuer: {
1532
- $ref: string;
1533
- };
1534
- is_holder: {
1535
- type: string;
1536
- items: {
1537
- $ref: string;
1538
- };
1539
- };
1540
- same_subject: {
1541
- type: string;
1542
- items: {
1543
- $ref: string;
1544
- };
1545
- };
1546
- };
1547
- additionalProperties: boolean;
1548
- };
1549
- Optionality: {
1550
- type: string;
1551
- enum: string[];
1552
- };
1553
- Statuses: {
1554
- type: string;
1555
- properties: {
1556
- active: {
1557
- $ref: string;
1558
- };
1559
- suspended: {
1560
- $ref: string;
1561
- };
1562
- revoked: {
1563
- $ref: string;
1564
- };
1565
- };
1566
- additionalProperties: boolean;
1567
- };
1568
- PdStatus: {
1569
- type: string;
1570
- properties: {
1571
- directive: {
1572
- $ref: string;
1573
- };
1574
- };
1575
- additionalProperties: boolean;
1576
- };
1577
- Directives: {
1578
- type: string;
1579
- enum: string[];
1580
- };
1581
- FieldV1: {
1582
- type: string;
1583
- properties: {
1584
- id: {
1585
- type: string;
1586
- };
1587
- path: {
1588
- type: string;
1589
- items: {
1590
- type: string;
1591
- };
1592
- };
1593
- purpose: {
1594
- type: string;
1595
- };
1596
- filter: {
1597
- $ref: string;
1598
- };
1599
- predicate: {
1600
- $ref: string;
1601
- };
1602
- };
1603
- required: string[];
1604
- additionalProperties: boolean;
1605
- };
1606
- FilterV1: {
1607
- type: string;
1608
- properties: {
1609
- const: {
1610
- $ref: string;
1611
- };
1612
- enum: {
1613
- type: string;
1614
- items: {
1615
- $ref: string;
1616
- };
1617
- };
1618
- exclusiveMinimum: {
1619
- $ref: string;
1620
- };
1621
- exclusiveMaximum: {
1622
- $ref: string;
1623
- };
1624
- format: {
1625
- type: string;
1626
- };
1627
- minLength: {
1628
- type: string;
1629
- };
1630
- maxLength: {
1631
- type: string;
1632
- };
1633
- minimum: {
1634
- $ref: string;
1635
- };
1636
- maximum: {
1637
- $ref: string;
1638
- };
1639
- not: {
1640
- type: string;
1641
- };
1642
- pattern: {
1643
- type: string;
1644
- };
1645
- type: {
1646
- type: string;
1647
- };
1648
- };
1649
- additionalProperties: boolean;
1650
- };
1651
- OneOfNumberStringBoolean: {
1652
- type: string[];
1653
- };
1654
- OneOfNumberString: {
1655
- type: string[];
1656
- };
1657
- HolderSubject: {
1658
- type: string;
1659
- properties: {
1660
- field_id: {
1661
- type: string;
1662
- items: {
1663
- type: string;
1664
- };
1665
- };
1666
- directive: {
1667
- $ref: string;
1668
- };
1669
- };
1670
- required: string[];
1671
- additionalProperties: boolean;
1672
- };
1673
- PresentationDefinitionV2: {
1674
- type: string;
1675
- properties: {
1676
- id: {
1677
- type: string;
1678
- };
1679
- name: {
1680
- type: string;
1681
- };
1682
- purpose: {
1683
- type: string;
1684
- };
1685
- format: {
1686
- $ref: string;
1687
- };
1688
- submission_requirements: {
1689
- type: string;
1690
- items: {
1691
- $ref: string;
1692
- };
1693
- };
1694
- input_descriptors: {
1695
- type: string;
1696
- items: {
1697
- $ref: string;
1698
- };
1699
- };
1700
- frame: {
1701
- type: string;
1702
- };
1703
- };
1704
- required: string[];
1705
- additionalProperties: boolean;
1706
- };
1707
- InputDescriptorV2: {
1708
- type: string;
1709
- properties: {
1710
- id: {
1711
- type: string;
1712
- };
1713
- name: {
1714
- type: string;
1715
- };
1716
- purpose: {
1717
- type: string;
1718
- };
1719
- format: {
1720
- $ref: string;
1721
- };
1722
- group: {
1723
- type: string;
1724
- items: {
1725
- type: string;
1726
- };
1727
- };
1728
- issuance: {
1729
- type: string;
1730
- items: {
1731
- $ref: string;
1732
- };
1733
- };
1734
- constraints: {
1735
- $ref: string;
1736
- };
1737
- };
1738
- required: string[];
1739
- additionalProperties: boolean;
1740
- };
1741
- ConstraintsV2: {
1742
- type: string;
1743
- properties: {
1744
- limit_disclosure: {
1745
- $ref: string;
1746
- };
1747
- statuses: {
1748
- $ref: string;
1749
- };
1750
- fields: {
1751
- type: string;
1752
- items: {
1753
- $ref: string;
1754
- };
1755
- };
1756
- subject_is_issuer: {
1757
- $ref: string;
1758
- };
1759
- is_holder: {
1760
- type: string;
1761
- items: {
1762
- $ref: string;
1763
- };
1764
- };
1765
- same_subject: {
1766
- type: string;
1767
- items: {
1768
- $ref: string;
1769
- };
1770
- };
1771
- };
1772
- additionalProperties: boolean;
1773
- };
1774
- FieldV2: {
1775
- type: string;
1776
- properties: {
1777
- id: {
1778
- type: string;
1779
- };
1780
- path: {
1781
- type: string;
1782
- items: {
1783
- type: string;
1784
- };
1785
- };
1786
- purpose: {
1787
- type: string;
1788
- };
1789
- filter: {
1790
- $ref: string;
1791
- };
1792
- predicate: {
1793
- $ref: string;
1794
- };
1795
- intent_to_retain: {
1796
- type: string;
1797
- };
1798
- name: {
1799
- type: string;
1800
- };
1801
- optional: {
1802
- type: string;
1803
- };
1804
- };
1805
- required: string[];
1806
- additionalProperties: boolean;
1807
- };
1808
- FilterV2: {
1809
- type: string;
1810
- properties: {
1811
- const: {
1812
- $ref: string;
1813
- };
1814
- enum: {
1815
- type: string;
1816
- items: {
1817
- $ref: string;
1818
- };
1819
- };
1820
- exclusiveMinimum: {
1821
- $ref: string;
1822
- };
1823
- exclusiveMaximum: {
1824
- $ref: string;
1825
- };
1826
- format: {
1827
- type: string;
1828
- };
1829
- formatMaximum: {
1830
- type: string;
1831
- };
1832
- formatMinimum: {
1833
- type: string;
1834
- };
1835
- formatExclusiveMaximum: {
1836
- type: string;
1837
- };
1838
- formatExclusiveMinimum: {
1839
- type: string;
1840
- };
1841
- minLength: {
1842
- type: string;
1843
- };
1844
- maxLength: {
1845
- type: string;
1846
- };
1847
- minimum: {
1848
- $ref: string;
1849
- };
1850
- maximum: {
1851
- $ref: string;
1852
- };
1853
- not: {
1854
- type: string;
1855
- };
1856
- pattern: {
1857
- type: string;
1858
- };
1859
- type: {
1860
- type: string;
1861
- };
1862
- contains: {
1863
- $ref: string;
1864
- };
1865
- items: {
1866
- $ref: string;
1867
- };
1868
- };
1869
- additionalProperties: boolean;
1870
- };
1871
- FilterV2Items: {
1872
- type: string;
1873
- properties: {
1874
- const: {
1875
- $ref: string;
1876
- };
1877
- enum: {
1878
- type: string;
1879
- items: {
1880
- $ref: string;
1881
- };
1882
- };
1883
- exclusiveMinimum: {
1884
- $ref: string;
1885
- };
1886
- exclusiveMaximum: {
1887
- $ref: string;
1888
- };
1889
- format: {
1890
- type: string;
1891
- };
1892
- formatMaximum: {
1893
- type: string;
1894
- };
1895
- formatMinimum: {
1896
- type: string;
1897
- };
1898
- formatExclusiveMaximum: {
1899
- type: string;
1900
- };
1901
- formatExclusiveMinimum: {
1902
- type: string;
1903
- };
1904
- minLength: {
1905
- type: string;
1906
- };
1907
- maxLength: {
1908
- type: string;
1909
- };
1910
- minimum: {
1911
- $ref: string;
1912
- };
1913
- maximum: {
1914
- $ref: string;
1915
- };
1916
- not: {
1917
- type: string;
1918
- };
1919
- pattern: {
1920
- type: string;
1921
- };
1922
- type: {
1923
- type: string;
1924
- };
1925
- contains: {
1926
- $ref: string;
1927
- };
1928
- items: {
1929
- $ref: string;
1930
- };
1931
- };
1932
- additionalProperties: boolean;
1933
- };
1934
- DcqlQueryREST: {
1935
- type: string;
1936
- properties: {
1937
- credentials: {
1938
- type: string;
1939
- items: {
1940
- $ref: string;
1941
- };
1942
- };
1943
- };
1944
- required: string[];
1945
- additionalProperties: boolean;
1946
- };
1947
- DcqlCredentialQuery: {
1948
- type: string;
1949
- properties: {
1950
- id: {
1951
- type: string;
1952
- };
1953
- format: {
1954
- type: string;
1955
- };
1956
- alg: {
1957
- type: string;
1958
- items: {
1959
- type: string;
1960
- };
1961
- };
1962
- claims: {
1963
- type: string;
1964
- items: {
1965
- $ref: string;
1966
- };
1967
- };
1968
- meta: {
1969
- $ref: string;
1970
- };
1971
- };
1972
- required: string[];
1973
- additionalProperties: boolean;
1974
- };
1975
- DcqlClaim: {
1976
- type: string;
1977
- properties: {
1978
- namespace: {
1979
- type: string;
1980
- };
1981
- claim_name: {
1982
- type: string;
1983
- };
1984
- filter: {
1985
- $ref: string;
1986
- };
1987
- };
1988
- required: string[];
1989
- additionalProperties: boolean;
1990
- };
1991
- DcqlFilter: {
1992
- type: string;
1993
- properties: {
1994
- type: {
1995
- type: string;
1996
- enum: string[];
1997
- };
1998
- pattern: {
1999
- type: string;
2000
- };
2001
- minimum: {
2002
- type: string;
2003
- };
2004
- maximum: {
2005
- type: string;
2006
- };
2007
- };
2008
- required: string[];
2009
- additionalProperties: boolean;
2010
- };
2011
- "Record<string,any>": {
2012
- type: string;
2013
- };
2014
- HasDefinitionItemArgs: {
2015
- $ref: string;
2016
- };
2017
- HasDefinitionItemsArgs: {
2018
- $ref: string;
2019
- };
2020
- PersistDefinitionArgs: {
2021
- type: string;
2022
- properties: {
2023
- definitionItem: {
2024
- $ref: string;
2025
- };
2026
- opts: {
2027
- $ref: string;
2028
- };
2029
- };
2030
- required: string[];
2031
- additionalProperties: boolean;
2032
- };
2033
- PersistPresentationDefinitionItem: {
2034
- type: string;
2035
- additionalProperties: boolean;
2036
- properties: {
2037
- id: {
2038
- type: string;
2039
- };
2040
- definitionId: {
2041
- type: string;
2042
- };
2043
- version: {
2044
- type: string;
2045
- };
2046
- tenantId: {
2047
- type: string;
2048
- };
2049
- name: {
2050
- type: string;
2051
- };
2052
- purpose: {
2053
- type: string;
2054
- };
2055
- definitionPayload: {
2056
- $ref: string;
2057
- };
2058
- dcqlPayload: {
2059
- $ref: string;
2060
- };
2061
- };
2062
- required: string[];
2063
- };
2064
- PersistOptions: {
2065
- type: string;
2066
- properties: {
2067
- versionControlMode: {
2068
- $ref: string;
2069
- };
2070
- versionIncrementReleaseType: {
2071
- $ref: string;
2072
- };
2073
- };
2074
- additionalProperties: boolean;
2075
- };
2076
- VersionControlMode: {
2077
- type: string;
2078
- enum: string[];
2079
- };
2080
- ReleaseType: {
2081
- type: string;
2082
- enum: string[];
2083
- };
2084
- };
2085
- methods: {
2086
- pdmDeleteDefinition: {
2087
- description: string;
2088
- arguments: {
2089
- $ref: string;
2090
- };
2091
- returnType: {
2092
- type: string;
2093
- };
2094
- };
2095
- pdmDeleteDefinitions: {
2096
- description: string;
2097
- arguments: {
2098
- $ref: string;
2099
- };
2100
- returnType: {
2101
- type: string;
2102
- };
2103
- };
2104
- pdmGetDefinition: {
2105
- description: string;
2106
- arguments: {
2107
- $ref: string;
2108
- };
2109
- returnType: {
2110
- $ref: string;
2111
- };
2112
- };
2113
- pdmGetDefinitions: {
2114
- description: string;
2115
- arguments: {
2116
- $ref: string;
2117
- };
2118
- returnType: {
2119
- type: string;
2120
- items: {
2121
- $ref: string;
2122
- };
2123
- };
2124
- };
2125
- pdmHasDefinition: {
2126
- description: string;
2127
- arguments: {
2128
- $ref: string;
2129
- };
2130
- returnType: {
2131
- type: string;
2132
- };
2133
- };
2134
- pdmHasDefinitions: {
2135
- description: string;
2136
- arguments: {
2137
- $ref: string;
2138
- };
2139
- returnType: {
2140
- type: string;
2141
- };
2142
- };
2143
- pdmPersistDefinition: {
2144
- description: string;
2145
- arguments: {
2146
- $ref: string;
2147
- };
2148
- returnType: {
2149
- $ref: string;
2150
- };
2151
- };
2152
- };
2153
- };
2154
- };
11
+ readonly schema: any;
2155
12
  readonly methods: IPDManager;
2156
13
  private readonly store;
2157
14
  constructor(options: {
@@ -2183,12 +40,12 @@ interface IPDManager extends IPluginMethodMap {
2183
40
  * Get a single presentation definition records by primary key
2184
41
  * @param args
2185
42
  */
2186
- pdmGetDefinition(args: GetDcqlQueryItemArgs): Promise<DcqlQueryItem>;
43
+ pdmGetDefinition(args: GetDefinitionItemArgs): Promise<PresentationDefinitionItem>;
2187
44
  /**
2188
45
  * Find one or more presentation definition records using filters
2189
46
  * @param args
2190
47
  */
2191
- pdmGetDefinitions(args: GetDcqlQueryItemsArgs): Promise<Array<DcqlQueryItem>>;
48
+ pdmGetDefinitions(args: GetDefinitionItemsArgs): Promise<Array<PresentationDefinitionItem>>;
2192
49
  /**
2193
50
  * Checks whether a presentation definition record exists by primary key
2194
51
  * @param args
@@ -2198,42 +55,42 @@ interface IPDManager extends IPluginMethodMap {
2198
55
  * Checks whether one or more presentation definition records exist using filters
2199
56
  * @param args
2200
57
  */
2201
- pdmHasDefinitions(args: HasDcqlQueryItemsArgs): Promise<boolean>;
58
+ pdmHasDefinitions(args: HasDefinitionItemsArgs): Promise<boolean>;
2202
59
  /**
2203
60
  * Delete a single presentation definition records by primary key
2204
61
  * @param args
2205
62
  */
2206
- pdmDeleteDefinition(args: DeleteDcqlQueryItemArgs): Promise<boolean>;
63
+ pdmDeleteDefinition(args: DeleteDefinitionItemArgs): Promise<boolean>;
2207
64
  /**
2208
65
  * Delete multiple presentation definitions records using filters
2209
66
  * @param args
2210
67
  */
2211
- pdmDeleteDefinitions(args: DeleteDcqlQueryItemsArgs): Promise<number>;
68
+ pdmDeleteDefinitions(args: DeleteDefinitionItemsArgs): Promise<number>;
2212
69
  /**
2213
70
  * Check in a presentation definition.
2214
71
  * It has version control logic which will add or update presentation definition records and has settings for automatic version numbering.
2215
72
  * @param args
2216
73
  */
2217
- pdmPersistDefinition(args: PersistDcqlQueryArgs): Promise<DcqlQueryItem>;
74
+ pdmPersistDefinition(args: PersistDefinitionArgs): Promise<PresentationDefinitionItem>;
2218
75
  }
2219
76
  type VersionControlMode = 'AutoIncrement' | 'Manual' | 'Overwrite' | 'OverwriteLatest';
2220
- type GetDcqlQueryItemArgs = {
77
+ type GetDefinitionItemArgs = {
2221
78
  itemId: string;
2222
79
  };
2223
- type HasDefinitionItemArgs = GetDcqlQueryItemArgs;
80
+ type HasDefinitionItemArgs = GetDefinitionItemArgs;
2224
81
  type FetchOptions = {
2225
82
  showVersionHistory?: boolean;
2226
83
  };
2227
- type GetDcqlQueryItemsArgs = {
2228
- filter?: FindDcqlQueryArgs;
84
+ type GetDefinitionItemsArgs = {
85
+ filter?: FindDefinitionArgs;
2229
86
  opts?: FetchOptions;
2230
87
  };
2231
- type HasDcqlQueryItemsArgs = GetDcqlQueryItemsArgs;
2232
- type DeleteDcqlQueryItemArgs = {
88
+ type HasDefinitionItemsArgs = GetDefinitionItemsArgs;
89
+ type DeleteDefinitionItemArgs = {
2233
90
  itemId: string;
2234
91
  };
2235
- type DeleteDcqlQueryItemsArgs = GetDcqlQueryItemsArgs;
2236
- type PersistDcqlQueryItem = Omit<NonPersistedDcqlQueryItem, 'version'> & {
92
+ type DeleteDefinitionItemsArgs = GetDefinitionItemsArgs;
93
+ type PersistPresentationDefinitionItem = Omit<NonPersistedPresentationDefinitionItem, 'version'> & {
2237
94
  id?: string;
2238
95
  version?: string;
2239
96
  };
@@ -2241,10 +98,15 @@ type PersistOptions = {
2241
98
  versionControlMode?: VersionControlMode;
2242
99
  versionIncrementReleaseType?: ReleaseType;
2243
100
  };
2244
- type PersistDcqlQueryArgs = {
2245
- definitionItem: PersistDcqlQueryItem;
101
+ type PersistDefinitionArgs = {
102
+ definitionItem: PersistPresentationDefinitionItem;
2246
103
  opts?: PersistOptions;
2247
104
  };
2248
105
  type RequiredContext = IAgentContext<never>;
2249
106
 
2250
- export { type DeleteDcqlQueryItemArgs, type DeleteDcqlQueryItemsArgs, type FetchOptions, type GetDcqlQueryItemArgs, type GetDcqlQueryItemsArgs, type HasDcqlQueryItemsArgs, type HasDefinitionItemArgs, type IPDManager, PDManager, type PersistDcqlQueryArgs, type PersistDcqlQueryItem, type PersistOptions, type RequiredContext, type VersionControlMode, pdManagerMethods, plugin_schema as schema };
107
+ /**
108
+ * @public
109
+ */
110
+ declare const schema: any;
111
+
112
+ export { type DeleteDefinitionItemArgs, type DeleteDefinitionItemsArgs, type FetchOptions, type GetDefinitionItemArgs, type GetDefinitionItemsArgs, type HasDefinitionItemArgs, type HasDefinitionItemsArgs, type IPDManager, PDManager, type PersistDefinitionArgs, type PersistOptions, type PersistPresentationDefinitionItem, type RequiredContext, type VersionControlMode, pdManagerMethods, schema };