@triveria/wallet 0.0.246 → 0.0.247

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/api.d.ts CHANGED
@@ -15,15 +15,8 @@ import type { RequestArgs } from './base';
15
15
  import { BaseAPI } from './base';
16
16
  /**
17
17
  * Accreditation request of own wallet.
18
- * @export
19
- * @interface AccreditationRequest
20
18
  */
21
19
  export interface AccreditationRequest {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof AccreditationRequest
26
- */
27
20
  'type': AccreditationRequestTypeEnum;
28
21
  }
29
22
  export declare const AccreditationRequestTypeEnum: {
@@ -34,354 +27,116 @@ export declare const AccreditationRequestTypeEnum: {
34
27
  export type AccreditationRequestTypeEnum = typeof AccreditationRequestTypeEnum[keyof typeof AccreditationRequestTypeEnum];
35
28
  /**
36
29
  * The authorized flow initiation result consisting of the issuer state and URL
37
- * @export
38
- * @interface AuthOffer
39
30
  */
40
31
  export interface AuthOffer {
41
- /**
42
- *
43
- * @type {string}
44
- * @memberof AuthOffer
45
- */
46
32
  'state': string;
47
- /**
48
- *
49
- * @type {string}
50
- * @memberof AuthOffer
51
- */
52
33
  'issuerUrl': string;
53
- /**
54
- *
55
- * @type {string}
56
- * @memberof AuthOffer
57
- */
58
34
  'offer': string;
59
- /**
60
- *
61
- * @type {string}
62
- * @memberof AuthOffer
63
- */
64
35
  'validUntil': string;
65
- /**
66
- *
67
- * @type {string}
68
- * @memberof AuthOffer
69
- */
70
36
  'offerId': string;
71
37
  }
72
- /**
73
- *
74
- * @export
75
- * @interface CSRCreateRequest
76
- */
77
38
  export interface CSRCreateRequest {
78
- /**
79
- *
80
- * @type {string}
81
- * @memberof CSRCreateRequest
82
- */
83
39
  'organizationName': string;
84
- /**
85
- *
86
- * @type {string}
87
- * @memberof CSRCreateRequest
88
- */
89
40
  'locality': string;
90
- /**
91
- *
92
- * @type {string}
93
- * @memberof CSRCreateRequest
94
- */
95
41
  'province'?: string;
96
- /**
97
- *
98
- * @type {string}
99
- * @memberof CSRCreateRequest
100
- */
101
42
  'country': string;
102
- /**
103
- *
104
- * @type {string}
105
- * @memberof CSRCreateRequest
106
- */
107
43
  'email'?: string;
108
44
  }
109
- /**
110
- *
111
- * @export
112
- * @interface CSRCreateResponse
113
- */
114
45
  export interface CSRCreateResponse {
115
- /**
116
- *
117
- * @type {string}
118
- * @memberof CSRCreateResponse
119
- */
120
46
  'csr': string;
121
47
  }
122
- /**
123
- *
124
- * @export
125
- * @interface CertificateImportRequest
126
- */
127
48
  export interface CertificateImportRequest {
128
- /**
129
- *
130
- * @type {string}
131
- * @memberof CertificateImportRequest
132
- */
133
49
  'certificate': string;
134
50
  }
135
- /**
136
- *
137
- * @export
138
- * @interface CertificateIssueRequest
139
- */
140
51
  export interface CertificateIssueRequest {
141
- /**
142
- *
143
- * @type {string}
144
- * @memberof CertificateIssueRequest
145
- */
146
52
  'csr': string;
147
- /**
148
- *
149
- * @type {string}
150
- * @memberof CertificateIssueRequest
151
- */
152
53
  'expirationDate': string;
153
54
  }
154
- /**
155
- *
156
- * @export
157
- * @interface CertificateIssueResponse
158
- */
159
55
  export interface CertificateIssueResponse {
160
- /**
161
- *
162
- * @type {string}
163
- * @memberof CertificateIssueResponse
164
- */
165
56
  'certificate': string;
166
57
  }
167
58
  /**
168
59
  * Accompanying information about the verifiable credential draft - schema, type, format etc.
169
- * @export
170
- * @interface CredentialDraftMetadata
171
60
  */
172
61
  export interface CredentialDraftMetadata {
173
- /**
174
- *
175
- * @type {string}
176
- * @memberof CredentialDraftMetadata
177
- */
178
62
  'id': string;
179
- /**
180
- *
181
- * @type {string}
182
- * @memberof CredentialDraftMetadata
183
- */
184
63
  'name': string;
185
- /**
186
- *
187
- * @type {string}
188
- * @memberof CredentialDraftMetadata
189
- */
190
64
  'type': string;
191
- /**
192
- *
193
- * @type {string}
194
- * @memberof CredentialDraftMetadata
195
- */
196
65
  'expirationDate'?: string;
197
- /**
198
- *
199
- * @type {CredentialFormat}
200
- * @memberof CredentialDraftMetadata
201
- */
202
66
  'format': CredentialFormat;
203
- /**
204
- *
205
- * @type {string}
206
- * @memberof CredentialDraftMetadata
207
- */
208
67
  'credentialSchema'?: string;
209
68
  }
210
69
  /**
211
70
  * jwt_vc_vcdm - VC using W3C VC Data Model as jwt sd_jwt_vc - VC using sd_jwt_vc data model as jwt
212
- * @export
213
- * @enum {string}
214
71
  */
215
72
  export declare const CredentialFormat: {
216
73
  readonly SdJwtVc: "sd_jwt_vc";
217
74
  readonly JwtVcVcdm: "jwt_vc_vcdm";
218
75
  };
219
76
  export type CredentialFormat = typeof CredentialFormat[keyof typeof CredentialFormat];
220
- /**
221
- *
222
- * @export
223
- * @interface CredentialIdObject
224
- */
225
77
  export interface CredentialIdObject {
226
- /**
227
- *
228
- * @type {string}
229
- * @memberof CredentialIdObject
230
- */
231
78
  'id': string;
232
79
  }
233
- /**
234
- *
235
- * @export
236
- * @interface CredentialImport
237
- */
238
80
  export interface CredentialImport {
239
- /**
240
- *
241
- * @type {string}
242
- * @memberof CredentialImport
243
- */
244
81
  'credential': string;
245
- /**
246
- *
247
- * @type {string}
248
- * @memberof CredentialImport
249
- */
250
82
  'name': string;
251
83
  }
252
84
  /**
253
85
  * Request for addition of already created VC draft to issuance queue for a client. If clientId is used, it will be used as the queue item id, otherwise a new ID will be created.
254
- * @export
255
- * @interface CredentialIssuanceInit
256
86
  */
257
87
  export interface CredentialIssuanceInit {
258
88
  /**
259
89
  * Identifier used by the wallet to decide which issuer to use to issue the credential.
260
- * @type {string}
261
- * @memberof CredentialIssuanceInit
262
90
  */
263
91
  'issuerId': string;
264
92
  /**
265
93
  * The future holder identifier. Usually this is the DID of the holder wallet.
266
- * @type {string}
267
- * @memberof CredentialIssuanceInit
268
94
  */
269
95
  'clientId'?: string;
270
96
  /**
271
97
  * If ID Token was used to identify the holder\'s wallet.
272
- * @type {string}
273
- * @memberof CredentialIssuanceInit
274
98
  */
275
99
  'idTokenRequestId'?: string;
276
- /**
277
- *
278
- * @type {IssuanceRequirementsToVerify}
279
- * @memberof CredentialIssuanceInit
280
- */
281
100
  'issuanceRequirementsToVerify'?: IssuanceRequirementsToVerify;
282
101
  }
283
- /**
284
- *
285
- * @export
286
- * @interface CredentialIssuanceInitResult
287
- */
288
102
  export interface CredentialIssuanceInitResult {
289
- /**
290
- *
291
- * @type {string}
292
- * @memberof CredentialIssuanceInitResult
293
- */
294
103
  'issuanceQueueItemId': string;
295
104
  }
296
- /**
297
- *
298
- * @export
299
- * @interface CredentialIssuedNotification
300
- */
301
105
  export interface CredentialIssuedNotification {
302
- /**
303
- *
304
- * @type {string}
305
- * @memberof CredentialIssuedNotification
306
- */
307
106
  'credentialType': string;
308
- /**
309
- *
310
- * @type {string}
311
- * @memberof CredentialIssuedNotification
312
- */
313
107
  'offerId': string;
314
- /**
315
- *
316
- * @type {string}
317
- * @memberof CredentialIssuedNotification
318
- */
319
108
  'issuerDid': string;
320
- /**
321
- *
322
- * @type {string}
323
- * @memberof CredentialIssuedNotification
324
- */
325
109
  'credentialId': string;
326
110
  }
327
111
  /**
328
112
  * Default value of signingKeyIdentifier is DID.
329
- * @export
330
- * @interface CredentialIssuerDefinition
331
113
  */
332
114
  export interface CredentialIssuerDefinition {
333
115
  /**
334
116
  * Human readable issuer name
335
- * @type {string}
336
- * @memberof CredentialIssuerDefinition
337
117
  */
338
118
  'name': string;
339
119
  /**
340
120
  * Human readable issuer description
341
- * @type {string}
342
- * @memberof CredentialIssuerDefinition
343
121
  */
344
122
  'description'?: string;
345
123
  /**
346
124
  * Unique identifier of the issuer
347
- * @type {string}
348
- * @memberof CredentialIssuerDefinition
349
125
  */
350
126
  'id': string;
351
127
  /**
352
128
  * Type of credentials for which the specified credential issuer will be used.
353
- * @type {string}
354
- * @memberof CredentialIssuerDefinition
355
129
  */
356
130
  'credentialType': string;
357
131
  /**
358
132
  * Type of issuer to be used with credentials of the type specified.
359
- * @type {string}
360
- * @memberof CredentialIssuerDefinition
361
133
  */
362
134
  'credentialIssuer': CredentialIssuerDefinitionCredentialIssuerEnum;
363
- /**
364
- *
365
- * @type {CredentialIssuerDefinitionIssuerConfiguration}
366
- * @memberof CredentialIssuerDefinition
367
- */
368
135
  'issuerConfiguration'?: CredentialIssuerDefinitionIssuerConfiguration;
369
- /**
370
- *
371
- * @type {CredentialFormat}
372
- * @memberof CredentialIssuerDefinition
373
- */
374
136
  'credentialFormat': CredentialFormat;
375
- /**
376
- *
377
- * @type {SigningKeyIdentifier}
378
- * @memberof CredentialIssuerDefinition
379
- */
380
137
  'signingKeyIdentifier'?: SigningKeyIdentifier;
381
138
  /**
382
139
  * JSON paths of credential claims which will support being disclosed partially.
383
- * @type {Array<string>}
384
- * @memberof CredentialIssuerDefinition
385
140
  */
386
141
  'disclosableClaims'?: Array<string>;
387
142
  }
@@ -395,142 +150,43 @@ export declare const CredentialIssuerDefinitionCredentialIssuerEnum: {
395
150
  export type CredentialIssuerDefinitionCredentialIssuerEnum = typeof CredentialIssuerDefinitionCredentialIssuerEnum[keyof typeof CredentialIssuerDefinitionCredentialIssuerEnum];
396
151
  /**
397
152
  * @type CredentialIssuerDefinitionIssuerConfiguration
398
- * @export
399
153
  */
400
154
  export type CredentialIssuerDefinitionIssuerConfiguration = CredentialRequirementsIssuerConfig | CtWalletSameIssuerConfig | VPDrivenIssuerConfig;
401
- /**
402
- *
403
- * @export
404
- * @interface CredentialIssuerMetadata
405
- */
406
155
  export interface CredentialIssuerMetadata {
407
156
  /**
408
157
  * DID or URI
409
- * @type {string}
410
- * @memberof CredentialIssuerMetadata
411
158
  */
412
159
  'id'?: string;
413
160
  }
414
- /**
415
- *
416
- * @export
417
- * @interface CredentialList
418
- */
419
161
  export interface CredentialList {
420
- /**
421
- *
422
- * @type {Array<CredentialMetadata>}
423
- * @memberof CredentialList
424
- */
425
162
  'list': Array<CredentialMetadata>;
426
- /**
427
- *
428
- * @type {string}
429
- * @memberof CredentialList
430
- */
431
163
  'next': string;
432
164
  }
433
165
  /**
434
166
  * Any Credential related accompanying key, value pairs that are not part of the Issued Credential
435
- * @export
436
- * @interface CredentialMetadata
437
167
  */
438
168
  export interface CredentialMetadata {
439
169
  [key: string]: any;
440
- /**
441
- *
442
- * @type {string}
443
- * @memberof CredentialMetadata
444
- */
445
170
  'id': string;
446
- /**
447
- *
448
- * @type {string}
449
- * @memberof CredentialMetadata
450
- */
451
171
  'walletId': string;
452
- /**
453
- *
454
- * @type {string}
455
- * @memberof CredentialMetadata
456
- */
457
172
  'ownerId': string;
458
- /**
459
- *
460
- * @type {string}
461
- * @memberof CredentialMetadata
462
- */
463
173
  'name': string;
464
- /**
465
- *
466
- * @type {string}
467
- * @memberof CredentialMetadata
468
- */
469
174
  'interaction': CredentialMetadataInteractionEnum;
470
- /**
471
- *
472
- * @type {string}
473
- * @memberof CredentialMetadata
474
- */
475
175
  'message'?: string;
476
- /**
477
- *
478
- * @type {string}
479
- * @memberof CredentialMetadata
480
- */
481
176
  'type': string;
482
177
  /**
483
178
  * In case of issued credential this is the DID of the holder wallet
484
- * @type {string}
485
- * @memberof CredentialMetadata
486
179
  */
487
180
  'offeredToClientId'?: string;
488
- /**
489
- *
490
- * @type {string}
491
- * @memberof CredentialMetadata
492
- */
493
181
  'created': string;
494
- /**
495
- *
496
- * @type {string}
497
- * @memberof CredentialMetadata
498
- */
499
182
  'updated': string;
500
- /**
501
- *
502
- * @type {string}
503
- * @memberof CredentialMetadata
504
- */
505
183
  'issuanceDate': string;
506
- /**
507
- *
508
- * @type {string}
509
- * @memberof CredentialMetadata
510
- */
511
184
  'expirationDate'?: string;
512
- /**
513
- *
514
- * @type {string}
515
- * @memberof CredentialMetadata
516
- */
517
185
  'status': CredentialMetadataStatusEnum;
518
- /**
519
- *
520
- * @type {Array<string>}
521
- * @memberof CredentialMetadata
522
- */
523
186
  'disclosableFields'?: Array<string>;
524
- /**
525
- *
526
- * @type {string}
527
- * @memberof CredentialMetadata
528
- */
529
187
  'issuerIdentifier': string;
530
188
  /**
531
189
  * Array of objects, where each object contains display properties of a Credential Issuer for a certain language.
532
- * @type {Array<IssuerDisplayItem>}
533
- * @memberof CredentialMetadata
534
190
  */
535
191
  'issuerDisplay'?: Array<IssuerDisplayItem>;
536
192
  }
@@ -547,401 +203,155 @@ export declare const CredentialMetadataStatusEnum: {
547
203
  readonly Invalid: "invalid";
548
204
  };
549
205
  export type CredentialMetadataStatusEnum = typeof CredentialMetadataStatusEnum[keyof typeof CredentialMetadataStatusEnum];
550
- /**
551
- *
552
- * @export
553
- * @interface CredentialMetadataPatchPayload
554
- */
555
206
  export interface CredentialMetadataPatchPayload {
556
207
  [key: string]: any;
557
- /**
558
- *
559
- * @type {string}
560
- * @memberof CredentialMetadataPatchPayload
561
- */
562
208
  'name'?: string;
563
209
  }
564
210
  /**
565
211
  * A Credential container used to create credentials with metadata.
566
- * @export
567
- * @interface CredentialPatchPayload
568
212
  */
569
213
  export interface CredentialPatchPayload {
570
214
  [key: string]: any;
571
- /**
572
- *
573
- * @type {CredentialSubject}
574
- * @memberof CredentialPatchPayload
575
- */
576
215
  'credentialSubject': CredentialSubject;
577
- /**
578
- *
579
- * @type {string}
580
- * @memberof CredentialPatchPayload
581
- */
582
216
  'name': string;
583
217
  /**
584
218
  * If true, the credential draft is checked against its schema. Defaults to true.
585
- * @type {boolean}
586
- * @memberof CredentialPatchPayload
587
219
  */
588
220
  'validateSchema'?: boolean;
589
221
  }
590
222
  /**
591
223
  * A Credential container used to create credentials with metadata.
592
- * @export
593
- * @interface CredentialPayload
594
224
  */
595
225
  export interface CredentialPayload {
596
226
  [key: string]: any;
597
- /**
598
- *
599
- * @type {CredentialSubject}
600
- * @memberof CredentialPayload
601
- */
602
227
  'credentialSubject': CredentialSubject;
603
- /**
604
- *
605
- * @type {CredentialDraftMetadata}
606
- * @memberof CredentialPayload
607
- */
608
228
  'credentialDraftMetadata': CredentialDraftMetadata;
609
229
  /**
610
230
  * If true, the credential draft is checked against its schema. Defaults to true.
611
- * @type {boolean}
612
- * @memberof CredentialPayload
613
231
  */
614
232
  'validateSchema'?: boolean;
615
233
  }
616
- /**
617
- *
618
- * @export
619
- * @interface CredentialRequest
620
- */
621
234
  export interface CredentialRequest {
622
- /**
623
- *
624
- * @type {string}
625
- * @memberof CredentialRequest
626
- */
627
235
  'types': string;
628
- /**
629
- *
630
- * @type {CredentialFormat}
631
- * @memberof CredentialRequest
632
- */
633
236
  'format': CredentialFormat;
634
- /**
635
- *
636
- * @type {string}
637
- * @memberof CredentialRequest
638
- */
639
237
  'url': string;
640
- /**
641
- *
642
- * @type {string}
643
- * @memberof CredentialRequest
644
- */
645
238
  'state'?: string;
646
239
  }
647
- /**
648
- *
649
- * @export
650
- * @interface CredentialRequirements
651
- */
652
240
  export interface CredentialRequirements {
653
- /**
654
- *
655
- * @type {string}
656
- * @memberof CredentialRequirements
657
- */
658
241
  'credentialVerifier': string;
659
- /**
660
- *
661
- * @type {string}
662
- * @memberof CredentialRequirements
663
- */
664
242
  'schema': string;
665
243
  /**
666
244
  * Expiration interval in seconds
667
- * @type {number}
668
- * @memberof CredentialRequirements
669
245
  */
670
246
  'expirationDuration': number;
671
247
  /**
672
248
  * Mapping of the input values set as JSONPath elements to the output credential claims.
673
- * @type {object}
674
- * @memberof CredentialRequirements
675
249
  */
676
250
  'mapping': object;
677
251
  }
678
- /**
679
- *
680
- * @export
681
- * @interface CredentialRequirementsIssuerConfig
682
- */
683
252
  export interface CredentialRequirementsIssuerConfig {
684
253
  /**
685
254
  * ID of the verifier used for verification of presented credential.
686
- * @type {string}
687
- * @memberof CredentialRequirementsIssuerConfig
688
255
  */
689
256
  'credentialVerifierId': string;
690
257
  }
691
258
  /**
692
259
  * @type CredentialSubject
693
260
  * Set of objects that MUST contain one or more claims that are each related to a subject of the verifiable credential https://www.w3.org/TR/vc-data-model-2.0/#defn-credentialSubject. Currently we support only one subject in the verifiable credential because there is no consensus about \"vc-jwt\" encoding of multi-subject verifiable credentials
694
- * @export
695
261
  */
696
262
  export type CredentialSubject = Array<CredentialSubjectItem> | CredentialSubjectItem;
697
- /**
698
- *
699
- * @export
700
- * @interface CredentialSubjectItem
701
- */
702
263
  export interface CredentialSubjectItem {
703
264
  [key: string]: any;
704
- /**
705
- *
706
- * @type {string}
707
- * @memberof CredentialSubjectItem
708
- */
709
265
  'id'?: string;
710
266
  }
711
- /**
712
- *
713
- * @export
714
- * @interface CredentialToPresentWrapper
715
- */
716
267
  export interface CredentialToPresentWrapper {
717
- /**
718
- *
719
- * @type {CredentialMetadata}
720
- * @memberof CredentialToPresentWrapper
721
- */
722
268
  'credential': CredentialMetadata;
723
269
  /**
724
270
  * Array of json paths of claims that will be disclosed from this credential.
725
- * @type {Array<string>}
726
- * @memberof CredentialToPresentWrapper
727
271
  */
728
272
  'fieldsToDisclose': Array<string>;
729
273
  }
730
274
  /**
731
275
  * A credential type that can be issued by the issuer - format: the verifiable credential format (for example \"jwt_vc\") - type: the verifiable credential type, usually provided as list of strings (for example: \"VerifiableCredential\", \"VerifiableAttestation\", \"VerifiableId\")
732
- * @export
733
- * @interface CredentialType
734
276
  */
735
277
  export interface CredentialType {
736
- /**
737
- *
738
- * @type {CredentialFormat}
739
- * @memberof CredentialType
740
- */
741
278
  'format': CredentialFormat;
742
- /**
743
- *
744
- * @type {Array<string>}
745
- * @memberof CredentialType
746
- */
747
279
  'type'?: Array<string>;
748
- /**
749
- *
750
- * @type {string}
751
- * @memberof CredentialType
752
- */
753
280
  'doctype'?: string;
754
281
  }
755
- /**
756
- *
757
- * @export
758
- * @interface CredentialVerifierDefinition
759
- */
760
282
  export interface CredentialVerifierDefinition {
761
283
  /**
762
284
  * Human readable name of the definition
763
- * @type {string}
764
- * @memberof CredentialVerifierDefinition
765
285
  */
766
286
  'name': string;
767
- /**
768
- *
769
- * @type {string}
770
- * @memberof CredentialVerifierDefinition
771
- */
772
287
  'description'?: string;
773
288
  /**
774
289
  * Unique ID of the definition
775
- * @type {string}
776
- * @memberof CredentialVerifierDefinition
777
290
  */
778
291
  'id': string;
779
- /**
780
- *
781
- * @type {PresentationDefinition}
782
- * @memberof CredentialVerifierDefinition
783
- */
784
292
  'presentationDefinition': PresentationDefinition;
785
- /**
786
- *
787
- * @type {DCQLQuery}
788
- * @memberof CredentialVerifierDefinition
789
- */
790
293
  'dcqlQuery'?: DCQLQuery;
791
294
  }
792
295
  /**
793
296
  * The wrapper contains Verifiable Credential in both, the Credential and as Base64 signed format alongside with metadata.
794
- * @export
795
- * @interface CredentialWrapper
796
297
  */
797
298
  export interface CredentialWrapper {
798
- /**
799
- *
800
- * @type {CredentialMetadata}
801
- * @memberof CredentialWrapper
802
- */
803
299
  'metadata': CredentialMetadata;
804
- /**
805
- *
806
- * @type {CredentialSubject}
807
- * @memberof CredentialWrapper
808
- */
809
300
  'vcSubject'?: CredentialSubject;
810
301
  /**
811
302
  * The base64 encoded Verifiable Credential in its final signed form
812
- * @type {string}
813
- * @memberof CredentialWrapper
814
303
  */
815
304
  'signedVc'?: string;
816
305
  }
817
- /**
818
- *
819
- * @export
820
- * @interface CtWalletSameIssuerConfig
821
- */
822
306
  export interface CtWalletSameIssuerConfig {
823
307
  /**
824
308
  * Default credential schema
825
- * @type {string}
826
- * @memberof CtWalletSameIssuerConfig
827
309
  */
828
310
  'defaultSchema'?: string;
829
311
  /**
830
312
  * Default values for the credentialSubject property.
831
- * @type {object}
832
- * @memberof CtWalletSameIssuerConfig
833
313
  */
834
314
  'defaultCredentialSubject'?: object;
835
315
  }
836
316
  /**
837
317
  * JSON-based query language used to request credential presentations by verifiers.
838
- * @export
839
- * @interface DCQLQuery
840
318
  */
841
319
  export interface DCQLQuery {
842
- /**
843
- *
844
- * @type {Array<DCQLQueryCredentials>}
845
- * @memberof DCQLQuery
846
- */
847
320
  'credentials': Array<DCQLQueryCredentials>;
848
321
  }
849
- /**
850
- *
851
- * @export
852
- * @interface DCQLQueryClaim
853
- */
854
322
  export interface DCQLQueryClaim {
855
- /**
856
- *
857
- * @type {string}
858
- * @memberof DCQLQueryClaim
859
- */
860
323
  'id': string;
861
- /**
862
- *
863
- * @type {Array<DCQLQueryClaimPathInner>}
864
- * @memberof DCQLQueryClaim
865
- */
866
324
  'path': Array<DCQLQueryClaimPathInner>;
867
- /**
868
- *
869
- * @type {Array<DCQLQueryClaimValuesInner>}
870
- * @memberof DCQLQueryClaim
871
- */
872
325
  'values'?: Array<DCQLQueryClaimValuesInner>;
873
326
  }
874
327
  /**
875
328
  * @type DCQLQueryClaimPathInner
876
- * @export
877
329
  */
878
330
  export type DCQLQueryClaimPathInner = number | string;
879
331
  /**
880
332
  * @type DCQLQueryClaimValuesInner
881
- * @export
882
333
  */
883
334
  export type DCQLQueryClaimValuesInner = boolean | number | string;
884
335
  /**
885
336
  *
886
- * @export
887
- * @interface DCQLQueryCredentials
888
337
  */
889
338
  export interface DCQLQueryCredentials {
890
339
  /**
891
340
  * A string identifying the Credential in the response.
892
- * @type {string}
893
- * @memberof DCQLQueryCredentials
894
341
  */
895
342
  'id': string;
896
- /**
897
- *
898
- * @type {string}
899
- * @memberof DCQLQueryCredentials
900
- */
901
343
  'format': string;
902
- /**
903
- *
904
- * @type {DCQLQuerySdJwtVcMeta}
905
- * @memberof DCQLQueryCredentials
906
- */
907
344
  'meta'?: DCQLQuerySdJwtVcMeta;
908
- /**
909
- *
910
- * @type {Array<DCQLQueryClaim>}
911
- * @memberof DCQLQueryCredentials
912
- */
913
345
  'claims'?: Array<DCQLQueryClaim>;
914
346
  }
915
- /**
916
- *
917
- * @export
918
- * @interface DCQLQuerySdJwtVcMeta
919
- */
920
347
  export interface DCQLQuerySdJwtVcMeta {
921
- /**
922
- *
923
- * @type {Array<string>}
924
- * @memberof DCQLQuerySdJwtVcMeta
925
- */
926
348
  'vct_values'?: Array<string>;
927
349
  }
928
350
  /**
929
351
  * The deferred process status. Can be either in progress, or completed, or error. When the status is completed, the Id property will be set to the value of the resulting object ID.
930
- * @export
931
- * @interface Deferred
932
352
  */
933
353
  export interface Deferred {
934
- /**
935
- *
936
- * @type {string}
937
- * @memberof Deferred
938
- */
939
354
  'Status': DeferredStatusEnum;
940
- /**
941
- *
942
- * @type {string}
943
- * @memberof Deferred
944
- */
945
355
  'Id'?: string;
946
356
  }
947
357
  export declare const DeferredStatusEnum: {
@@ -952,158 +362,63 @@ export declare const DeferredStatusEnum: {
952
362
  export type DeferredStatusEnum = typeof DeferredStatusEnum[keyof typeof DeferredStatusEnum];
953
363
  /**
954
364
  * URLs of EBSI services
955
- * @export
956
- * @interface EbsiConfiguration
957
365
  */
958
366
  export interface EbsiConfiguration {
959
367
  /**
960
368
  * The TAO issuer ID from which this wallet will request onboarding credentials
961
- * @type {string}
962
- * @memberof EbsiConfiguration
963
369
  */
964
370
  'conformanceClientId': string;
965
- /**
966
- *
967
- * @type {string}
968
- * @memberof EbsiConfiguration
969
- */
970
371
  'authorization': string;
971
- /**
972
- *
973
- * @type {string}
974
- * @memberof EbsiConfiguration
975
- */
976
372
  'didRegistry': string;
977
- /**
978
- *
979
- * @type {string}
980
- * @memberof EbsiConfiguration
981
- */
982
373
  'trustedIssuersRegistry': string;
983
- /**
984
- *
985
- * @type {string}
986
- * @memberof EbsiConfiguration
987
- */
988
374
  'trustedSchemasRegistry': string;
989
- /**
990
- *
991
- * @type {string}
992
- * @memberof EbsiConfiguration
993
- */
994
- 'mainSchema': string;
995
- /**
996
- *
997
- * @type {string}
998
- * @memberof EbsiConfiguration
999
- */
375
+ 'mainSchema': string;
1000
376
  'statusListSchema': string;
1001
377
  }
1002
378
  /**
1003
379
  * EBSI specific data
1004
- * @export
1005
- * @interface EbsiSpecificWalletData
1006
380
  */
1007
381
  export interface EbsiSpecificWalletData {
1008
- /**
1009
- *
1010
- * @type {string}
1011
- * @memberof EbsiSpecificWalletData
1012
- */
1013
382
  'requiredDid'?: string;
1014
- /**
1015
- *
1016
- * @type {boolean}
1017
- * @memberof EbsiSpecificWalletData
1018
- */
1019
383
  'isOnboarded': boolean;
1020
- /**
1021
- *
1022
- * @type {string}
1023
- * @memberof EbsiSpecificWalletData
1024
- */
1025
384
  'attributeId'?: string;
1026
- /**
1027
- *
1028
- * @type {string}
1029
- * @memberof EbsiSpecificWalletData
1030
- */
1031
385
  'proxyUrl'?: string;
1032
386
  /**
1033
387
  * Defines if the specific wallet is a legal entity
1034
- * @type {boolean}
1035
- * @memberof EbsiSpecificWalletData
1036
388
  */
1037
389
  'isLegalEntity'?: boolean;
1038
- /**
1039
- *
1040
- * @type {EbsiConfiguration}
1041
- * @memberof EbsiSpecificWalletData
1042
- */
1043
390
  'configuration': EbsiConfiguration;
1044
391
  }
1045
392
  /**
1046
393
  * Configuration for EUDI trust framework. The field didTrustFramework marks which DID TF is used when the wallet uses did as its identifier.
1047
- * @export
1048
- * @interface EudiConfiguration
1049
394
  */
1050
395
  export interface EudiConfiguration {
1051
396
  /**
1052
397
  * URL of EUDI Trusted List
1053
- * @type {string}
1054
- * @memberof EudiConfiguration
1055
398
  */
1056
399
  'tslUrl': string;
1057
- /**
1058
- *
1059
- * @type {TrustFrameworkType}
1060
- * @memberof EudiConfiguration
1061
- */
1062
400
  'didTrustFramework'?: TrustFrameworkType;
1063
401
  }
1064
402
  /**
1065
403
  * Presented credential field that will be matched
1066
- * @export
1067
- * @interface FieldsToVerify
1068
404
  */
1069
405
  export interface FieldsToVerify {
1070
406
  /**
1071
407
  * JSON Path of the field
1072
- * @type {string}
1073
- * @memberof FieldsToVerify
1074
408
  */
1075
409
  'path': string;
1076
- /**
1077
- *
1078
- * @type {FieldsToVerifyValue}
1079
- * @memberof FieldsToVerify
1080
- */
1081
410
  'value': FieldsToVerifyValue;
1082
411
  }
1083
412
  /**
1084
413
  * Required value of the field
1085
- * @export
1086
- * @interface FieldsToVerifyValue
1087
414
  */
1088
415
  export interface FieldsToVerifyValue {
1089
416
  }
1090
417
  /**
1091
418
  * Health status of the system
1092
- * @export
1093
- * @interface HealthStatus
1094
419
  */
1095
420
  export interface HealthStatus {
1096
- /**
1097
- *
1098
- * @type {string}
1099
- * @memberof HealthStatus
1100
- */
1101
421
  'status': HealthStatusStatusEnum;
1102
- /**
1103
- *
1104
- * @type {Array<SystemImpact>}
1105
- * @memberof HealthStatus
1106
- */
1107
422
  'subsystems': Array<SystemImpact>;
1108
423
  }
1109
424
  export declare const HealthStatusStatusEnum: {
@@ -1114,257 +429,100 @@ export declare const HealthStatusStatusEnum: {
1114
429
  export type HealthStatusStatusEnum = typeof HealthStatusStatusEnum[keyof typeof HealthStatusStatusEnum];
1115
430
  /**
1116
431
  * Request for the creation of a holder initiated authorized flow offer.
1117
- * @export
1118
- * @interface HolderAuthOfferCreationRequest
1119
432
  */
1120
433
  export interface HolderAuthOfferCreationRequest {
1121
- /**
1122
- *
1123
- * @type {string}
1124
- * @memberof HolderAuthOfferCreationRequest
1125
- */
1126
434
  'issuerUrl': string;
1127
- /**
1128
- *
1129
- * @type {string}
1130
- * @memberof HolderAuthOfferCreationRequest
1131
- */
1132
435
  'types': string;
1133
- /**
1134
- *
1135
- * @type {CredentialFormat}
1136
- * @memberof HolderAuthOfferCreationRequest
1137
- */
1138
436
  'format': CredentialFormat;
1139
- /**
1140
- *
1141
- * @type {string}
1142
- * @memberof HolderAuthOfferCreationRequest
1143
- */
1144
437
  'state': string;
1145
- /**
1146
- *
1147
- * @type {boolean}
1148
- * @memberof HolderAuthOfferCreationRequest
1149
- */
1150
438
  'deferred': boolean;
1151
439
  }
1152
- /**
1153
- *
1154
- * @export
1155
- * @interface IdTokenReceivedNotification
1156
- */
1157
440
  export interface IdTokenReceivedNotification {
1158
- /**
1159
- *
1160
- * @type {string}
1161
- * @memberof IdTokenReceivedNotification
1162
- */
1163
441
  'idTokenRequestId': string;
1164
- /**
1165
- *
1166
- * @type {string}
1167
- * @memberof IdTokenReceivedNotification
1168
- */
1169
442
  'clientId': string;
1170
443
  }
1171
- /**
1172
- *
1173
- * @export
1174
- * @interface IdTokenRequest
1175
- */
1176
444
  export interface IdTokenRequest {
1177
- /**
1178
- *
1179
- * @type {string}
1180
- * @memberof IdTokenRequest
1181
- */
1182
445
  'requestUrl': string;
1183
- /**
1184
- *
1185
- * @type {string}
1186
- * @memberof IdTokenRequest
1187
- */
1188
446
  'id': string;
1189
447
  }
1190
- /**
1191
- *
1192
- * @export
1193
- * @interface IdTokenSendRequest
1194
- */
1195
448
  export interface IdTokenSendRequest {
1196
- /**
1197
- *
1198
- * @type {string}
1199
- * @memberof IdTokenSendRequest
1200
- */
1201
449
  'requestUrl': string;
1202
450
  }
1203
451
  /**
1204
452
  * Configuration for IDTL trust framework
1205
- * @export
1206
- * @interface IdtlConfiguration
1207
453
  */
1208
454
  export interface IdtlConfiguration {
1209
455
  /**
1210
456
  * Defines if a wallet is onboarded
1211
- * @type {boolean}
1212
- * @memberof IdtlConfiguration
1213
457
  */
1214
458
  'isOnboarded': boolean;
1215
459
  }
1216
460
  /**
1217
461
  * Request for authorization flow credential issuance process start. Consists of offered credential\'s types and credential offer endpoint (most commonly only schema)
1218
- * @export
1219
- * @interface InitAuthOffer
1220
462
  */
1221
463
  export interface InitAuthOffer {
1222
464
  /**
1223
465
  * ID of the issuer used to issue the credential.
1224
- * @type {string}
1225
- * @memberof InitAuthOffer
1226
466
  */
1227
467
  'issuerId': string;
1228
- /**
1229
- *
1230
- * @type {string}
1231
- * @memberof InitAuthOffer
1232
- */
1233
468
  'offerEndpoint'?: string;
1234
- /**
1235
- *
1236
- * @type {boolean}
1237
- * @memberof InitAuthOffer
1238
- */
1239
469
  'deferred'?: boolean;
1240
470
  /**
1241
471
  * Id of issuance queue item. Required when issuer type is CredentialQueue type and no clientId was provided when adding credential to queue.
1242
- * @type {string}
1243
- * @memberof InitAuthOffer
1244
472
  */
1245
473
  'issuanceQueueItemId'?: string;
1246
474
  }
1247
475
  /**
1248
476
  * Request for pre-authorized issuance process start. Consists of client id or id token request id, credential offer endpoint(most commonly only schema) and id\'s of credentials to be issued to client. Either clientId or idTokenRequestId MUST be present in the request.
1249
- * @export
1250
- * @interface InitPreAuthOffer
1251
477
  */
1252
478
  export interface InitPreAuthOffer {
1253
479
  /**
1254
480
  * DID of holder for which the offer is created.
1255
- * @type {string}
1256
- * @memberof InitPreAuthOffer
1257
481
  */
1258
482
  'clientId'?: string;
1259
483
  /**
1260
484
  * ID of ID token request issued to the holder.
1261
- * @type {string}
1262
- * @memberof InitPreAuthOffer
1263
485
  */
1264
486
  'idTokenRequestId'?: string;
1265
487
  /**
1266
488
  * ID of the issuer used to issue the credential.
1267
- * @type {string}
1268
- * @memberof InitPreAuthOffer
1269
489
  */
1270
490
  'issuerId': string;
1271
- /**
1272
- *
1273
- * @type {string}
1274
- * @memberof InitPreAuthOffer
1275
- */
1276
491
  'offerEndpoint'?: string;
1277
- /**
1278
- *
1279
- * @type {boolean}
1280
- * @memberof InitPreAuthOffer
1281
- */
1282
492
  'deferred'?: boolean;
1283
493
  }
1284
- /**
1285
- *
1286
- * @export
1287
- * @interface InputDescriptorSuitableCredentials
1288
- */
1289
494
  export interface InputDescriptorSuitableCredentials {
1290
495
  /**
1291
496
  * ID of presentation definition input descriptor for which the credential list is suitable.
1292
- * @type {string}
1293
- * @memberof InputDescriptorSuitableCredentials
1294
497
  */
1295
498
  'descriptorId': string;
1296
499
  /**
1297
500
  * Credential ID list of credentials suitable for presentation according to the specified input descriptor.
1298
- * @type {Array<CredentialToPresentWrapper>}
1299
- * @memberof InputDescriptorSuitableCredentials
1300
501
  */
1301
502
  'credentials': Array<CredentialToPresentWrapper>;
1302
503
  }
1303
- /**
1304
- *
1305
- * @export
1306
- * @interface InteractionAuthorizationConsent
1307
- */
1308
504
  export interface InteractionAuthorizationConsent {
1309
505
  /**
1310
506
  * Pin code needed for pre-authorized credential offers. Required when authorization requirement type is `pin`
1311
- * @type {string}
1312
- * @memberof InteractionAuthorizationConsent
1313
507
  */
1314
508
  'pin'?: string;
1315
509
  /**
1316
510
  * Array of IDs of credentials that will be presented in the interaction. Must be a subset of authorization requirements presentation candidates. Required when authorization requirement type is `vp_token`.
1317
- * @type {Array<InputDescriptorSuitableCredentials>}
1318
- * @memberof InteractionAuthorizationConsent
1319
511
  */
1320
512
  'credentialsToPresent'?: Array<InputDescriptorSuitableCredentials>;
1321
513
  }
1322
- /**
1323
- *
1324
- * @export
1325
- * @interface InteractionAuthorizationRequirements
1326
- */
1327
514
  export interface InteractionAuthorizationRequirements {
1328
- /**
1329
- *
1330
- * @type {string}
1331
- * @memberof InteractionAuthorizationRequirements
1332
- */
1333
515
  'requirementType': InteractionAuthorizationRequirementsRequirementTypeEnum;
1334
- /**
1335
- *
1336
- * @type {PresentationDefinition}
1337
- * @memberof InteractionAuthorizationRequirements
1338
- */
1339
516
  'presentationDefinition'?: PresentationDefinition;
1340
- /**
1341
- *
1342
- * @type {DCQLQuery}
1343
- * @memberof InteractionAuthorizationRequirements
1344
- */
1345
517
  'dcqlQuery'?: DCQLQuery;
1346
518
  /**
1347
519
  * List of credentials suitable for presentation.
1348
- * @type {Array<InputDescriptorSuitableCredentials>}
1349
- * @memberof InteractionAuthorizationRequirements
1350
520
  */
1351
521
  'presentationCandidates'?: Array<InputDescriptorSuitableCredentials>;
1352
- /**
1353
- *
1354
- * @type {string}
1355
- * @memberof InteractionAuthorizationRequirements
1356
- */
1357
522
  'interactionId': string;
1358
- /**
1359
- *
1360
- * @type {Array<string>}
1361
- * @memberof InteractionAuthorizationRequirements
1362
- */
1363
523
  'offeredCredentialsTypes'?: Array<string>;
1364
524
  /**
1365
525
  * Array of objects, where each object contains display properties of a Credential Issuer for a certain language.
1366
- * @type {Array<IssuerDisplayItem>}
1367
- * @memberof InteractionAuthorizationRequirements
1368
526
  */
1369
527
  'issuerDisplay'?: Array<IssuerDisplayItem>;
1370
528
  }
@@ -1375,117 +533,33 @@ export declare const InteractionAuthorizationRequirementsRequirementTypeEnum: {
1375
533
  readonly Pin: "pin";
1376
534
  };
1377
535
  export type InteractionAuthorizationRequirementsRequirementTypeEnum = typeof InteractionAuthorizationRequirementsRequirementTypeEnum[keyof typeof InteractionAuthorizationRequirementsRequirementTypeEnum];
1378
- /**
1379
- *
1380
- * @export
1381
- * @interface IssuanceRequirementsToVerify
1382
- */
1383
536
  export interface IssuanceRequirementsToVerify {
1384
537
  /**
1385
538
  * ID of the verifier used for the verification of presented credential.
1386
- * @type {string}
1387
- * @memberof IssuanceRequirementsToVerify
1388
539
  */
1389
540
  'credentialVerifierId': string;
1390
- /**
1391
- *
1392
- * @type {Array<FieldsToVerify>}
1393
- * @memberof IssuanceRequirementsToVerify
1394
- */
1395
541
  'verifiedFields': Array<FieldsToVerify>;
1396
542
  }
1397
- /**
1398
- *
1399
- * @export
1400
- * @interface IssuerDisplayItem
1401
- */
1402
543
  export interface IssuerDisplayItem {
1403
- /**
1404
- *
1405
- * @type {string}
1406
- * @memberof IssuerDisplayItem
1407
- */
1408
544
  'name'?: string;
1409
- /**
1410
- *
1411
- * @type {string}
1412
- * @memberof IssuerDisplayItem
1413
- */
1414
545
  'locale'?: string;
1415
- /**
1416
- *
1417
- * @type {IssuerLogo}
1418
- * @memberof IssuerDisplayItem
1419
- */
1420
546
  'logo'?: IssuerLogo;
1421
547
  }
1422
- /**
1423
- *
1424
- * @export
1425
- * @interface IssuerLogo
1426
- */
1427
548
  export interface IssuerLogo {
1428
- /**
1429
- *
1430
- * @type {string}
1431
- * @memberof IssuerLogo
1432
- */
1433
549
  'uri'?: string;
1434
- /**
1435
- *
1436
- * @type {string}
1437
- * @memberof IssuerLogo
1438
- */
1439
550
  'alt_text'?: string;
1440
551
  }
1441
- /**
1442
- *
1443
- * @export
1444
- * @interface LinkedVpCreateRequest
1445
- */
1446
552
  export interface LinkedVpCreateRequest {
1447
- /**
1448
- *
1449
- * @type {PresentationDefinition}
1450
- * @memberof LinkedVpCreateRequest
1451
- */
1452
553
  'presentationDefinition': PresentationDefinition;
1453
- /**
1454
- *
1455
- * @type {Array<InputDescriptorSuitableCredentials>}
1456
- * @memberof LinkedVpCreateRequest
1457
- */
1458
554
  'credentialsToPresent': Array<InputDescriptorSuitableCredentials>;
1459
- /**
1460
- *
1461
- * @type {string}
1462
- * @memberof LinkedVpCreateRequest
1463
- */
1464
555
  'expirationDate'?: string;
1465
556
  }
1466
- /**
1467
- *
1468
- * @export
1469
- * @interface LinkedVpMetadata
1470
- */
1471
557
  export interface LinkedVpMetadata {
1472
- /**
1473
- *
1474
- * @type {string}
1475
- * @memberof LinkedVpMetadata
1476
- */
1477
558
  'linkedVpId': string;
1478
- /**
1479
- *
1480
- * @type {string}
1481
- * @memberof LinkedVpMetadata
1482
- */
1483
559
  'linkedVpUrl': string;
1484
560
  }
1485
561
  /**
1486
562
  * Sort flag controls the sort direction by the time created
1487
- * @export
1488
- * @enum {string}
1489
563
  */
1490
564
  export declare const ListSort: {
1491
565
  readonly Asc: "asc";
@@ -1494,159 +568,55 @@ export declare const ListSort: {
1494
568
  export type ListSort = typeof ListSort[keyof typeof ListSort];
1495
569
  /**
1496
570
  * Common error message
1497
- * @export
1498
- * @interface ModelError
1499
571
  */
1500
572
  export interface ModelError {
1501
- /**
1502
- *
1503
- * @type {string}
1504
- * @memberof ModelError
1505
- */
1506
573
  'error': string;
1507
- /**
1508
- *
1509
- * @type {string}
1510
- * @memberof ModelError
1511
- */
1512
574
  'message': string;
1513
575
  }
1514
- /**
1515
- *
1516
- * @export
1517
- * @interface Oauth2AccessToken
1518
- */
1519
576
  export interface Oauth2AccessToken {
1520
- /**
1521
- *
1522
- * @type {string}
1523
- * @memberof Oauth2AccessToken
1524
- */
1525
577
  'access_token': string;
1526
- /**
1527
- *
1528
- * @type {string}
1529
- * @memberof Oauth2AccessToken
1530
- */
1531
578
  'token_type': string;
1532
- /**
1533
- *
1534
- * @type {string}
1535
- * @memberof Oauth2AccessToken
1536
- */
1537
579
  'expires_in': string;
1538
580
  }
1539
- /**
1540
- *
1541
- * @export
1542
- * @interface Oauth2AccessTokenRequest
1543
- */
1544
581
  export interface Oauth2AccessTokenRequest {
1545
582
  /**
1546
583
  * Value MUST be set to \"authorization_code\".
1547
- * @type {string}
1548
- * @memberof Oauth2AccessTokenRequest
1549
584
  */
1550
585
  'grant_type': string;
1551
586
  /**
1552
587
  * The authorization code received from the.
1553
- * @type {string}
1554
- * @memberof Oauth2AccessTokenRequest
1555
588
  */
1556
589
  'code': string;
1557
590
  /**
1558
591
  * REQUIRED, if the \"redirect_uri\" parameter was included in the authorization request.
1559
- * @type {string}
1560
- * @memberof Oauth2AccessTokenRequest
1561
592
  */
1562
593
  'redirect_uri': string;
1563
594
  /**
1564
595
  * REQUIRED, if the client is not authenticating with the authorization server.
1565
- * @type {string}
1566
- * @memberof Oauth2AccessTokenRequest
1567
596
  */
1568
597
  'client_id': string;
1569
598
  /**
1570
599
  * REQUIRED, if the client is not authenticating with the authorization server.
1571
- * @type {string}
1572
- * @memberof Oauth2AccessTokenRequest
1573
600
  */
1574
601
  'client_secret': string;
1575
602
  }
1576
- /**
1577
- *
1578
- * @export
1579
- * @interface Oauth2Profile
1580
- */
1581
603
  export interface Oauth2Profile {
1582
- /**
1583
- *
1584
- * @type {string}
1585
- * @memberof Oauth2Profile
1586
- */
1587
604
  'user_id': string;
1588
- /**
1589
- *
1590
- * @type {string}
1591
- * @memberof Oauth2Profile
1592
- */
1593
605
  'email': string;
1594
606
  }
1595
- /**
1596
- *
1597
- * @export
1598
- * @interface Oauth2RedirectUri
1599
- */
1600
607
  export interface Oauth2RedirectUri {
1601
- /**
1602
- *
1603
- * @type {string}
1604
- * @memberof Oauth2RedirectUri
1605
- */
1606
608
  'redirect_uri': string;
1607
609
  }
1608
- /**
1609
- *
1610
- * @export
1611
- * @interface OfferReceivedNotification
1612
- */
1613
610
  export interface OfferReceivedNotification {
1614
- /**
1615
- *
1616
- * @type {string}
1617
- * @memberof OfferReceivedNotification
1618
- */
1619
611
  'credentialType': string;
1620
- /**
1621
- *
1622
- * @type {string}
1623
- * @memberof OfferReceivedNotification
1624
- */
1625
612
  'offerId': string;
1626
- /**
1627
- *
1628
- * @type {string}
1629
- * @memberof OfferReceivedNotification
1630
- */
1631
613
  'credentialId'?: string;
1632
614
  }
1633
615
  /**
1634
616
  * Specifies the revision of OIDC4VCI and OIDC4VP specifications for issuer and verifier wallets. EBSI uses OIDC4VCI Draft11, OIDC4VP Draft16, EUDI uses OIDC4VCI Draft15, OIDC4VP Draft23. OIDC4VCI Draft11 and OIDC4VP Draft 16 are used by default for EBSI compatibility.
1635
- * @export
1636
- * @interface OidcRevision
1637
617
  */
1638
618
  export interface OidcRevision {
1639
- /**
1640
- *
1641
- * @type {string}
1642
- * @memberof OidcRevision
1643
- */
1644
619
  'oidc4vci': OidcRevisionOidc4vciEnum;
1645
- /**
1646
- *
1647
- * @type {string}
1648
- * @memberof OidcRevision
1649
- */
1650
620
  'oidc4vp': OidcRevisionOidc4vpEnum;
1651
621
  }
1652
622
  export declare const OidcRevisionOidc4vciEnum: {
@@ -1661,88 +631,33 @@ export declare const OidcRevisionOidc4vpEnum: {
1661
631
  export type OidcRevisionOidc4vpEnum = typeof OidcRevisionOidc4vpEnum[keyof typeof OidcRevisionOidc4vpEnum];
1662
632
  /**
1663
633
  * On successful EBSI-onboarding result contains \"did:ebsi\" decentralized identifier
1664
- * @export
1665
- * @interface OnboardResult
1666
634
  */
1667
635
  export interface OnboardResult {
1668
- /**
1669
- *
1670
- * @type {string}
1671
- * @memberof OnboardResult
1672
- */
1673
636
  'did': string;
1674
637
  }
1675
638
  /**
1676
639
  * Result of the preauthorized issuance process start. Consists of the preauthorized code, pin, and the issuer url.
1677
- * @export
1678
- * @interface PreAuthOffer
1679
640
  */
1680
641
  export interface PreAuthOffer {
1681
- /**
1682
- *
1683
- * @type {string}
1684
- * @memberof PreAuthOffer
1685
- */
1686
642
  'preauthCode': string;
1687
- /**
1688
- *
1689
- * @type {string}
1690
- * @memberof PreAuthOffer
1691
- */
1692
643
  'pin': string;
1693
- /**
1694
- *
1695
- * @type {string}
1696
- * @memberof PreAuthOffer
1697
- */
1698
644
  'issuerUrl': string;
1699
- /**
1700
- *
1701
- * @type {string}
1702
- * @memberof PreAuthOffer
1703
- */
1704
645
  'offer': string;
1705
- /**
1706
- *
1707
- * @type {string}
1708
- * @memberof PreAuthOffer
1709
- */
1710
646
  'validUntil': string;
1711
- /**
1712
- *
1713
- * @type {string}
1714
- * @memberof PreAuthOffer
1715
- */
1716
647
  'offerId': string;
1717
648
  }
1718
649
  /**
1719
650
  * Prepares to accredit legal entity\'s DID
1720
- * @export
1721
- * @interface PrepareToAccreditRequest
1722
651
  */
1723
652
  export interface PrepareToAccreditRequest {
1724
- /**
1725
- *
1726
- * @type {string}
1727
- * @memberof PrepareToAccreditRequest
1728
- */
1729
653
  'did': string;
1730
- /**
1731
- *
1732
- * @type {string}
1733
- * @memberof PrepareToAccreditRequest
1734
- */
1735
654
  'type': PrepareToAccreditRequestTypeEnum;
1736
655
  /**
1737
656
  * Base64 encoded json to be used for the `accreditedFor` property of the credential
1738
- * @type {string}
1739
- * @memberof PrepareToAccreditRequest
1740
657
  */
1741
658
  'accreditedFor': string;
1742
659
  /**
1743
660
  * Specifies when will the accreditation credential expire
1744
- * @type {string}
1745
- * @memberof PrepareToAccreditRequest
1746
661
  */
1747
662
  'validUntil': string;
1748
663
  }
@@ -1753,232 +668,56 @@ export declare const PrepareToAccreditRequestTypeEnum: {
1753
668
  export type PrepareToAccreditRequestTypeEnum = typeof PrepareToAccreditRequestTypeEnum[keyof typeof PrepareToAccreditRequestTypeEnum];
1754
669
  /**
1755
670
  * Prepares to onboard legal entity\'s DID
1756
- * @export
1757
- * @interface PrepareToOnboardRequest
1758
671
  */
1759
672
  export interface PrepareToOnboardRequest {
1760
673
  /**
1761
674
  * DID which will be onboarded
1762
- * @type {string}
1763
- * @memberof PrepareToOnboardRequest
1764
675
  */
1765
676
  'did': string;
1766
677
  /**
1767
678
  * Specifies when the authorization to onboard credential will expire
1768
- * @type {string}
1769
- * @memberof PrepareToOnboardRequest
1770
679
  */
1771
680
  'validUntil': string;
1772
681
  }
1773
- /**
1774
- *
1775
- * @export
1776
- * @interface PresentationDefinition
1777
- */
1778
682
  export interface PresentationDefinition {
1779
- /**
1780
- *
1781
- * @type {string}
1782
- * @memberof PresentationDefinition
1783
- */
1784
683
  'id': string;
1785
- /**
1786
- *
1787
- * @type {PresentationDefinitionFormat}
1788
- * @memberof PresentationDefinition
1789
- */
1790
684
  'format': PresentationDefinitionFormat;
1791
- /**
1792
- *
1793
- * @type {Array<PresentationDefinitionInputDescriptor>}
1794
- * @memberof PresentationDefinition
1795
- */
1796
685
  'input_descriptors': Array<PresentationDefinitionInputDescriptor>;
1797
- /**
1798
- *
1799
- * @type {Array<PresentationDefinitionSubmissionRequirements>}
1800
- * @memberof PresentationDefinition
1801
- */
1802
686
  'submission_requirements'?: Array<PresentationDefinitionSubmissionRequirements>;
1803
687
  }
1804
- /**
1805
- *
1806
- * @export
1807
- * @interface PresentationDefinitionFormat
1808
- */
1809
688
  export interface PresentationDefinitionFormat {
1810
- /**
1811
- *
1812
- * @type {PresentationDefinitionFormatAlg}
1813
- * @memberof PresentationDefinitionFormat
1814
- */
1815
689
  'jwt_vc'?: PresentationDefinitionFormatAlg;
1816
- /**
1817
- *
1818
- * @type {PresentationDefinitionFormatAlg}
1819
- * @memberof PresentationDefinitionFormat
1820
- */
1821
690
  'jwt_vp'?: PresentationDefinitionFormatAlg;
1822
- /**
1823
- *
1824
- * @type {PresentationDefinitionFormatAlg}
1825
- * @memberof PresentationDefinitionFormat
1826
- */
1827
691
  'sd_jwt'?: PresentationDefinitionFormatAlg;
1828
- /**
1829
- *
1830
- * @type {PresentationDefinitionFormatAlg}
1831
- * @memberof PresentationDefinitionFormat
1832
- */
1833
692
  'dc+sd-jwt-vc'?: PresentationDefinitionFormatAlg;
1834
- /**
1835
- *
1836
- * @type {PresentationDefinitionFormatAlg}
1837
- * @memberof PresentationDefinitionFormat
1838
- */
1839
693
  'mso_mdoc'?: PresentationDefinitionFormatAlg;
1840
694
  }
1841
- /**
1842
- *
1843
- * @export
1844
- * @interface PresentationDefinitionFormatAlg
1845
- */
1846
695
  export interface PresentationDefinitionFormatAlg {
1847
- /**
1848
- *
1849
- * @type {Array<string>}
1850
- * @memberof PresentationDefinitionFormatAlg
1851
- */
1852
696
  'alg': Array<string>;
1853
697
  }
1854
- /**
1855
- *
1856
- * @export
1857
- * @interface PresentationDefinitionInputConstraint
1858
- */
1859
698
  export interface PresentationDefinitionInputConstraint {
1860
- /**
1861
- *
1862
- * @type {Array<PresentationDefinitionInputConstraintField>}
1863
- * @memberof PresentationDefinitionInputConstraint
1864
- */
1865
699
  'fields': Array<PresentationDefinitionInputConstraintField>;
1866
700
  }
1867
- /**
1868
- *
1869
- * @export
1870
- * @interface PresentationDefinitionInputConstraintField
1871
- */
1872
701
  export interface PresentationDefinitionInputConstraintField {
1873
- /**
1874
- *
1875
- * @type {string}
1876
- * @memberof PresentationDefinitionInputConstraintField
1877
- */
1878
702
  'id'?: string;
1879
- /**
1880
- *
1881
- * @type {string}
1882
- * @memberof PresentationDefinitionInputConstraintField
1883
- */
1884
703
  'name'?: string;
1885
- /**
1886
- *
1887
- * @type {string}
1888
- * @memberof PresentationDefinitionInputConstraintField
1889
- */
1890
704
  'purpose'?: string;
1891
- /**
1892
- *
1893
- * @type {object}
1894
- * @memberof PresentationDefinitionInputConstraintField
1895
- */
1896
705
  'filter'?: object;
1897
- /**
1898
- *
1899
- * @type {Array<string>}
1900
- * @memberof PresentationDefinitionInputConstraintField
1901
- */
1902
706
  'path': Array<string>;
1903
707
  }
1904
- /**
1905
- *
1906
- * @export
1907
- * @interface PresentationDefinitionInputDescriptor
1908
- */
1909
708
  export interface PresentationDefinitionInputDescriptor {
1910
- /**
1911
- *
1912
- * @type {string}
1913
- * @memberof PresentationDefinitionInputDescriptor
1914
- */
1915
709
  'id': string;
1916
- /**
1917
- *
1918
- * @type {PresentationDefinitionFormat}
1919
- * @memberof PresentationDefinitionInputDescriptor
1920
- */
1921
710
  'format'?: PresentationDefinitionFormat;
1922
- /**
1923
- *
1924
- * @type {PresentationDefinitionInputConstraint}
1925
- * @memberof PresentationDefinitionInputDescriptor
1926
- */
1927
711
  'constraints': PresentationDefinitionInputConstraint;
1928
- /**
1929
- *
1930
- * @type {Array<string>}
1931
- * @memberof PresentationDefinitionInputDescriptor
1932
- */
1933
712
  'group'?: Array<string>;
1934
713
  }
1935
- /**
1936
- *
1937
- * @export
1938
- * @interface PresentationDefinitionSubmissionRequirements
1939
- */
1940
714
  export interface PresentationDefinitionSubmissionRequirements {
1941
- /**
1942
- *
1943
- * @type {string}
1944
- * @memberof PresentationDefinitionSubmissionRequirements
1945
- */
1946
715
  'rule': PresentationDefinitionSubmissionRequirementsRuleEnum;
1947
- /**
1948
- *
1949
- * @type {number}
1950
- * @memberof PresentationDefinitionSubmissionRequirements
1951
- */
1952
716
  'count'?: number;
1953
- /**
1954
- *
1955
- * @type {number}
1956
- * @memberof PresentationDefinitionSubmissionRequirements
1957
- */
1958
717
  'min'?: number;
1959
- /**
1960
- *
1961
- * @type {number}
1962
- * @memberof PresentationDefinitionSubmissionRequirements
1963
- */
1964
718
  'max'?: number;
1965
- /**
1966
- *
1967
- * @type {string}
1968
- * @memberof PresentationDefinitionSubmissionRequirements
1969
- */
1970
719
  'from'?: string;
1971
- /**
1972
- *
1973
- * @type {Array<PresentationDefinitionSubmissionRequirements>}
1974
- * @memberof PresentationDefinitionSubmissionRequirements
1975
- */
1976
720
  'from_nested'?: Array<PresentationDefinitionSubmissionRequirements>;
1977
- /**
1978
- *
1979
- * @type {string}
1980
- * @memberof PresentationDefinitionSubmissionRequirements
1981
- */
1982
721
  'name'?: string;
1983
722
  }
1984
723
  export declare const PresentationDefinitionSubmissionRequirementsRuleEnum: {
@@ -1988,83 +727,27 @@ export declare const PresentationDefinitionSubmissionRequirementsRuleEnum: {
1988
727
  export type PresentationDefinitionSubmissionRequirementsRuleEnum = typeof PresentationDefinitionSubmissionRequirementsRuleEnum[keyof typeof PresentationDefinitionSubmissionRequirementsRuleEnum];
1989
728
  /**
1990
729
  * Metadata of the verifiable presentation
1991
- * @export
1992
- * @interface PresentationMetadata
1993
730
  */
1994
731
  export interface PresentationMetadata {
1995
- /**
1996
- *
1997
- * @type {string}
1998
- * @memberof PresentationMetadata
1999
- */
2000
732
  'id'?: string;
2001
- /**
2002
- *
2003
- * @type {string}
2004
- * @memberof PresentationMetadata
2005
- */
2006
733
  'type'?: string;
2007
- /**
2008
- *
2009
- * @type {string}
2010
- * @memberof PresentationMetadata
2011
- */
2012
734
  'issuanceDate'?: string;
2013
- /**
2014
- *
2015
- * @type {string}
2016
- * @memberof PresentationMetadata
2017
- */
2018
735
  'expirationDate'?: string;
2019
- /**
2020
- *
2021
- * @type {string}
2022
- * @memberof PresentationMetadata
2023
- */
2024
736
  'issuer'?: string;
2025
- /**
2026
- *
2027
- * @type {CredentialFormat}
2028
- * @memberof PresentationMetadata
2029
- */
2030
737
  'format'?: CredentialFormat;
2031
- /**
2032
- *
2033
- * @type {string}
2034
- * @memberof PresentationMetadata
2035
- */
2036
738
  'credentialSchema'?: string;
2037
739
  }
2038
- /**
2039
- *
2040
- * @export
2041
- * @interface PresentationRequest
2042
- */
2043
740
  export interface PresentationRequest {
2044
741
  /**
2045
742
  * URL of verifier authorization server. MUST contain the verifier scope as a query parameter(`scope`).
2046
- * @type {string}
2047
- * @memberof PresentationRequest
2048
743
  */
2049
744
  'verifierUrl': string;
2050
745
  }
2051
746
  /**
2052
747
  * Info needed to revoke legal entity\'s DID
2053
- * @export
2054
- * @interface RevokeAccreditationRequest
2055
748
  */
2056
749
  export interface RevokeAccreditationRequest {
2057
- /**
2058
- *
2059
- * @type {string}
2060
- * @memberof RevokeAccreditationRequest
2061
- */
2062
750
  'did': string;
2063
- /**
2064
- *
2065
- * @type {string}
2066
- * @memberof RevokeAccreditationRequest
2067
- */
2068
751
  'type': RevokeAccreditationRequestTypeEnum;
2069
752
  }
2070
753
  export declare const RevokeAccreditationRequestTypeEnum: {
@@ -2072,11 +755,6 @@ export declare const RevokeAccreditationRequestTypeEnum: {
2072
755
  readonly TrustedAccreditationOrganisation: "TrustedAccreditationOrganisation";
2073
756
  };
2074
757
  export type RevokeAccreditationRequestTypeEnum = typeof RevokeAccreditationRequestTypeEnum[keyof typeof RevokeAccreditationRequestTypeEnum];
2075
- /**
2076
- *
2077
- * @export
2078
- * @enum {string}
2079
- */
2080
758
  export declare const SigningKeyIdentifier: {
2081
759
  readonly Did: "did";
2082
760
  readonly Jwk: "jwk";
@@ -2085,27 +763,10 @@ export declare const SigningKeyIdentifier: {
2085
763
  export type SigningKeyIdentifier = typeof SigningKeyIdentifier[keyof typeof SigningKeyIdentifier];
2086
764
  /**
2087
765
  * The subsystem status impact on the overall system
2088
- * @export
2089
- * @interface SystemImpact
2090
766
  */
2091
767
  export interface SystemImpact {
2092
- /**
2093
- *
2094
- * @type {string}
2095
- * @memberof SystemImpact
2096
- */
2097
768
  'subsystem': string;
2098
- /**
2099
- *
2100
- * @type {string}
2101
- * @memberof SystemImpact
2102
- */
2103
769
  'status': SystemImpactStatusEnum;
2104
- /**
2105
- *
2106
- * @type {string}
2107
- * @memberof SystemImpact
2108
- */
2109
770
  'message': string;
2110
771
  }
2111
772
  export declare const SystemImpactStatusEnum: {
@@ -2116,8 +777,6 @@ export declare const SystemImpactStatusEnum: {
2116
777
  export type SystemImpactStatusEnum = typeof SystemImpactStatusEnum[keyof typeof SystemImpactStatusEnum];
2117
778
  /**
2118
779
  * What trust framework should we use with this wallet. This property COULD NOT change later. Supported frameworks: EBSI - the European Blockchain Services Infrastructure, IDTL - IDUnion Trust List, EUDI - European Digital Identity wallet, Noop - personal key based no-op trust framework (mainly for the personal use)
2119
- * @export
2120
- * @enum {string}
2121
780
  */
2122
781
  export declare const TrustFrameworkType: {
2123
782
  readonly Ebsi: "EBSI";
@@ -2126,155 +785,71 @@ export declare const TrustFrameworkType: {
2126
785
  readonly Eudi: "EUDI";
2127
786
  };
2128
787
  export type TrustFrameworkType = typeof TrustFrameworkType[keyof typeof TrustFrameworkType];
2129
- /**
2130
- *
2131
- * @export
2132
- * @interface VPDrivenIssuerConfig
2133
- */
2134
788
  export interface VPDrivenIssuerConfig {
2135
789
  /**
2136
790
  * ID of the verifier used for verification of presented credential.
2137
- * @type {string}
2138
- * @memberof VPDrivenIssuerConfig
2139
791
  */
2140
792
  'credentialVerifierId': string;
2141
793
  /**
2142
794
  * Mapping of the input values set as JSONPath elements to the output credential claims.
2143
- * @type {object}
2144
- * @memberof VPDrivenIssuerConfig
2145
795
  */
2146
796
  'mapping'?: object;
2147
797
  }
2148
798
  /**
2149
799
  * The offer to be accepted. The offer URL is mandatory.
2150
- * @export
2151
- * @interface VcOffer
2152
800
  */
2153
801
  export interface VcOffer {
2154
802
  /**
2155
803
  * The Verifiable Credential offer URL provided by the issuer
2156
- * @type {string}
2157
- * @memberof VcOffer
2158
804
  */
2159
805
  'Url': string;
2160
806
  }
2161
- /**
2162
- *
2163
- * @export
2164
- * @interface VerifiedLinkedVp
2165
- */
2166
807
  export interface VerifiedLinkedVp {
2167
- /**
2168
- *
2169
- * @type {string}
2170
- * @memberof VerifiedLinkedVp
2171
- */
2172
808
  'linkedVpId': string;
2173
- /**
2174
- *
2175
- * @type {Array<CredentialWrapper>}
2176
- * @memberof VerifiedLinkedVp
2177
- */
2178
809
  'credentials': Array<CredentialWrapper>;
2179
810
  }
2180
811
  /**
2181
812
  * Wrapped result of successful verification interaction.
2182
- * @export
2183
- * @interface VerifiedWrapper
2184
813
  */
2185
814
  export interface VerifiedWrapper {
2186
- /**
2187
- *
2188
- * @type {Array<CredentialWrapper>}
2189
- * @memberof VerifiedWrapper
2190
- */
2191
815
  'credentials': Array<CredentialWrapper>;
2192
816
  /**
2193
817
  * The Verifiable Presentation that was presented during the interaction.
2194
- * @type {string}
2195
- * @memberof VerifiedWrapper
2196
818
  */
2197
819
  'vp': string;
2198
820
  }
2199
821
  /**
2200
822
  * Request for the creation of URL used by holder to present credentials to a verifier.
2201
- * @export
2202
- * @interface VerifyInitRequest
2203
823
  */
2204
824
  export interface VerifyInitRequest {
2205
- /**
2206
- *
2207
- * @type {string}
2208
- * @memberof VerifyInitRequest
2209
- */
2210
825
  'verifierId': string;
2211
826
  }
2212
- /**
2213
- *
2214
- * @export
2215
- * @interface VerifyInitResponse
2216
- */
2217
827
  export interface VerifyInitResponse {
2218
828
  /**
2219
829
  * Url of verifier authorization server that contains the requested verifier scope.
2220
- * @type {string}
2221
- * @memberof VerifyInitResponse
2222
830
  */
2223
831
  'verifierUrl': string;
2224
832
  /**
2225
833
  * A code that can be used to match the verified credential for later use.
2226
- * @type {string}
2227
- * @memberof VerifyInitResponse
2228
834
  */
2229
835
  'verifierState': string;
2230
836
  }
2231
- /**
2232
- *
2233
- * @export
2234
- * @interface VpVerifiedNotification
2235
- */
2236
837
  export interface VpVerifiedNotification {
2237
- /**
2238
- *
2239
- * @type {string}
2240
- * @memberof VpVerifiedNotification
2241
- */
2242
838
  'verifierId': string;
2243
839
  }
2244
840
  /**
2245
841
  * Wallet details
2246
- * @export
2247
- * @interface Wallet
2248
842
  */
2249
843
  export interface Wallet {
2250
- /**
2251
- *
2252
- * @type {string}
2253
- * @memberof Wallet
2254
- */
2255
844
  'walletId'?: string;
2256
- /**
2257
- *
2258
- * @type {string}
2259
- * @memberof Wallet
2260
- */
2261
845
  'name': string;
2262
846
  /**
2263
847
  * This property defines the capabilities which the wallet has. It may be any of \"holder\", \"issuer\" and \"verifier\".
2264
- * @type {Array<WalletCapability>}
2265
- * @memberof Wallet
2266
848
  */
2267
849
  'capabilities'?: Array<WalletCapability>;
2268
- /**
2269
- *
2270
- * @type {WalletConfig}
2271
- * @memberof Wallet
2272
- */
2273
850
  'config': WalletConfig;
2274
851
  /**
2275
852
  * Custom key value pairs associated with the wallet. The key must not exceed 64 characters and the value must not exceed 256 characters.
2276
- * @type {{ [key: string]: any; }}
2277
- * @memberof Wallet
2278
853
  */
2279
854
  'metadata'?: {
2280
855
  [key: string]: any;
@@ -2282,8 +857,6 @@ export interface Wallet {
2282
857
  }
2283
858
  /**
2284
859
  * Defines the capabilities which the wallet has. It may be any of \"holder\", \"issuer\" and \"verifier\".
2285
- * @export
2286
- * @enum {string}
2287
860
  */
2288
861
  export declare const WalletCapability: {
2289
862
  readonly Holder: "holder";
@@ -2293,184 +866,64 @@ export declare const WalletCapability: {
2293
866
  export type WalletCapability = typeof WalletCapability[keyof typeof WalletCapability];
2294
867
  /**
2295
868
  * Wallet specific configuration.
2296
- * @export
2297
- * @interface WalletConfig
2298
869
  */
2299
870
  export interface WalletConfig {
2300
871
  /**
2301
872
  * List of credential issuers to be used with credentials of a specific type during their issuance.
2302
- * @type {Array<CredentialIssuerDefinition>}
2303
- * @memberof WalletConfig
2304
873
  */
2305
874
  'credentialIssuers'?: Array<CredentialIssuerDefinition>;
2306
875
  /**
2307
876
  * List of verification definitions that the wallet will be able to use for verification process.
2308
- * @type {Array<CredentialVerifierDefinition>}
2309
- * @memberof WalletConfig
2310
877
  */
2311
878
  'credentialVerifiers'?: Array<CredentialVerifierDefinition>;
2312
- /**
2313
- *
2314
- * @type {OidcRevision}
2315
- * @memberof WalletConfig
2316
- */
2317
879
  'oidcRevision'?: OidcRevision;
2318
- /**
2319
- *
2320
- * @type {TrustFrameworkType}
2321
- * @memberof WalletConfig
2322
- */
2323
880
  'trustFramework': TrustFrameworkType;
2324
- /**
2325
- *
2326
- * @type {EbsiSpecificWalletData}
2327
- * @memberof WalletConfig
2328
- */
2329
881
  'EBSI'?: EbsiSpecificWalletData;
2330
- /**
2331
- *
2332
- * @type {EudiConfiguration}
2333
- * @memberof WalletConfig
2334
- */
2335
882
  'EUDI'?: EudiConfiguration;
2336
- /**
2337
- *
2338
- * @type {IdtlConfiguration}
2339
- * @memberof WalletConfig
2340
- */
2341
883
  'IDTL'?: IdtlConfiguration;
2342
- /**
2343
- *
2344
- * @type {SigningKeyIdentifier}
2345
- * @memberof WalletConfig
2346
- */
2347
884
  'walletKeyIdentifier': SigningKeyIdentifier;
2348
885
  /**
2349
886
  * Expiration time in seconds for credential status lists. Used only if the wallet is a credential issuer
2350
- * @type {number}
2351
- * @memberof WalletConfig
2352
887
  */
2353
888
  'statusListExpiration'?: number;
2354
889
  }
2355
890
  /**
2356
891
  * Payload to create a wallet
2357
- * @export
2358
- * @interface WalletCreatePayload
2359
892
  */
2360
893
  export interface WalletCreatePayload {
2361
- /**
2362
- *
2363
- * @type {string}
2364
- * @memberof WalletCreatePayload
2365
- */
2366
894
  'name': string;
2367
- /**
2368
- *
2369
- * @type {WalletConfig}
2370
- * @memberof WalletCreatePayload
2371
- */
2372
895
  'config': WalletConfig;
2373
896
  /**
2374
897
  * Custom key value pairs associated with the wallet. The key must not exceed 64 characters and the value must not exceed 256 characters.
2375
- * @type {{ [key: string]: any; }}
2376
- * @memberof WalletCreatePayload
2377
898
  */
2378
899
  'metadata'?: {
2379
900
  [key: string]: any;
2380
901
  };
2381
902
  }
2382
- /**
2383
- *
2384
- * @export
2385
- * @interface WalletIdObject
2386
- */
2387
903
  export interface WalletIdObject {
2388
- /**
2389
- *
2390
- * @type {string}
2391
- * @memberof WalletIdObject
2392
- */
2393
904
  'id': string;
2394
905
  }
2395
906
  /**
2396
907
  * DID or Wallet URL depending on the configured wallet key identifier
2397
- * @export
2398
- * @interface WalletIdentifier
2399
908
  */
2400
909
  export interface WalletIdentifier {
2401
- /**
2402
- *
2403
- * @type {string}
2404
- * @memberof WalletIdentifier
2405
- */
2406
910
  'identifier': string;
2407
911
  }
2408
- /**
2409
- *
2410
- * @export
2411
- * @interface WalletListItem
2412
- */
2413
912
  export interface WalletListItem {
2414
- /**
2415
- *
2416
- * @type {string}
2417
- * @memberof WalletListItem
2418
- */
2419
913
  'walletId': string;
2420
- /**
2421
- *
2422
- * @type {string}
2423
- * @memberof WalletListItem
2424
- */
2425
914
  'name': string;
2426
- /**
2427
- *
2428
- * @type {Array<WalletCapability>}
2429
- * @memberof WalletListItem
2430
- */
2431
915
  'capabilities': Array<WalletCapability>;
2432
916
  }
2433
- /**
2434
- *
2435
- * @export
2436
- * @interface WalletNotification
2437
- */
2438
917
  export interface WalletNotification {
2439
- /**
2440
- *
2441
- * @type {string}
2442
- * @memberof WalletNotification
2443
- */
2444
918
  'subjectDid': string;
2445
- /**
2446
- *
2447
- * @type {WalletNotificationEventType}
2448
- * @memberof WalletNotification
2449
- */
2450
919
  'eventType': WalletNotificationEventType;
2451
- /**
2452
- *
2453
- * @type {WalletNotificationEventDetails}
2454
- * @memberof WalletNotification
2455
- */
2456
920
  'eventDetails'?: WalletNotificationEventDetails;
2457
- /**
2458
- *
2459
- * @type {string}
2460
- * @memberof WalletNotification
2461
- */
2462
921
  'time': string;
2463
922
  }
2464
923
  /**
2465
924
  * @type WalletNotificationEventDetails
2466
- * @export
2467
925
  */
2468
926
  export type WalletNotificationEventDetails = CredentialIssuedNotification | IdTokenReceivedNotification | OfferReceivedNotification | VpVerifiedNotification;
2469
- /**
2470
- *
2471
- * @export
2472
- * @enum {string}
2473
- */
2474
927
  export declare const WalletNotificationEventType: {
2475
928
  readonly VpVerified: "vp.verified";
2476
929
  readonly VpInvalid: "vp.invalid";
@@ -2482,47 +935,18 @@ export declare const WalletNotificationEventType: {
2482
935
  readonly CredentialReceived: "credential.received";
2483
936
  };
2484
937
  export type WalletNotificationEventType = typeof WalletNotificationEventType[keyof typeof WalletNotificationEventType];
2485
- /**
2486
- *
2487
- * @export
2488
- * @interface WalletNotificationHistory
2489
- */
2490
938
  export interface WalletNotificationHistory {
2491
- /**
2492
- *
2493
- * @type {Array<WalletNotification>}
2494
- * @memberof WalletNotificationHistory
2495
- */
2496
939
  'list': Array<WalletNotification>;
2497
- /**
2498
- *
2499
- * @type {string}
2500
- * @memberof WalletNotificationHistory
2501
- */
2502
940
  'next': string;
2503
941
  }
2504
942
  /**
2505
943
  * Payload to update wallet data
2506
- * @export
2507
- * @interface WalletPatchPayload
2508
944
  */
2509
945
  export interface WalletPatchPayload {
2510
- /**
2511
- *
2512
- * @type {string}
2513
- * @memberof WalletPatchPayload
2514
- */
2515
946
  'name'?: string;
2516
- /**
2517
- *
2518
- * @type {WalletConfig}
2519
- * @memberof WalletPatchPayload
2520
- */
2521
947
  'config'?: WalletConfig;
2522
948
  /**
2523
949
  * Custom key value pairs associated with the wallet. The key must not exceed 64 characters and the value must not exceed 256 characters.
2524
- * @type {{ [key: string]: any; }}
2525
- * @memberof WalletPatchPayload
2526
950
  */
2527
951
  'metadata'?: {
2528
952
  [key: string]: any;
@@ -2530,7 +954,6 @@ export interface WalletPatchPayload {
2530
954
  }
2531
955
  /**
2532
956
  * DefaultApi - axios parameter creator
2533
- * @export
2534
957
  */
2535
958
  export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
2536
959
  /**
@@ -2920,6 +1343,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2920
1343
  * @throws {RequiredError}
2921
1344
  */
2922
1345
  walletX509CSRCreate: (walletId: string, cSRCreateRequest?: CSRCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1346
+ /**
1347
+ * Returns an X509 certificate in PEM format
1348
+ * @param {string} walletId Wallet ID
1349
+ * @param {*} [options] Override http request option.
1350
+ * @throws {RequiredError}
1351
+ */
1352
+ walletX509CertificateGet: (walletId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2923
1353
  /**
2924
1354
  * Imports an X509 certificate to be used when signing credentials
2925
1355
  * @param {string} walletId Wallet ID
@@ -2931,7 +1361,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
2931
1361
  };
2932
1362
  /**
2933
1363
  * DefaultApi - functional programming interface
2934
- * @export
2935
1364
  */
2936
1365
  export declare const DefaultApiFp: (configuration?: Configuration) => {
2937
1366
  /**
@@ -3323,6 +1752,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
3323
1752
  * @throws {RequiredError}
3324
1753
  */
3325
1754
  walletX509CSRCreate(walletId: string, cSRCreateRequest?: CSRCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CSRCreateResponse>>;
1755
+ /**
1756
+ * Returns an X509 certificate in PEM format
1757
+ * @param {string} walletId Wallet ID
1758
+ * @param {*} [options] Override http request option.
1759
+ * @throws {RequiredError}
1760
+ */
1761
+ walletX509CertificateGet(walletId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>>;
3326
1762
  /**
3327
1763
  * Imports an X509 certificate to be used when signing credentials
3328
1764
  * @param {string} walletId Wallet ID
@@ -3334,7 +1770,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
3334
1770
  };
3335
1771
  /**
3336
1772
  * DefaultApi - factory interface
3337
- * @export
3338
1773
  */
3339
1774
  export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3340
1775
  /**
@@ -3726,6 +2161,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
3726
2161
  * @throws {RequiredError}
3727
2162
  */
3728
2163
  walletX509CSRCreate(walletId: string, cSRCreateRequest?: CSRCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<CSRCreateResponse>;
2164
+ /**
2165
+ * Returns an X509 certificate in PEM format
2166
+ * @param {string} walletId Wallet ID
2167
+ * @param {*} [options] Override http request option.
2168
+ * @throws {RequiredError}
2169
+ */
2170
+ walletX509CertificateGet(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<File>;
3729
2171
  /**
3730
2172
  * Imports an X509 certificate to be used when signing credentials
3731
2173
  * @param {string} walletId Wallet ID
@@ -3737,9 +2179,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
3737
2179
  };
3738
2180
  /**
3739
2181
  * DefaultApi - object-oriented interface
3740
- * @export
3741
- * @class DefaultApi
3742
- * @extends {BaseAPI}
3743
2182
  */
3744
2183
  export declare class DefaultApi extends BaseAPI {
3745
2184
  /**
@@ -3748,7 +2187,6 @@ export declare class DefaultApi extends BaseAPI {
3748
2187
  * @param {CredentialPayload} [credentialPayload] A Verifiable Credential payload in JSON format.
3749
2188
  * @param {*} [options] Override http request option.
3750
2189
  * @throws {RequiredError}
3751
- * @memberof DefaultApi
3752
2190
  */
3753
2191
  credentialCreate(walletId: string, credentialPayload?: CredentialPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialIdObject, any>>;
3754
2192
  /**
@@ -3757,7 +2195,6 @@ export declare class DefaultApi extends BaseAPI {
3757
2195
  * @param {string} walletId
3758
2196
  * @param {*} [options] Override http request option.
3759
2197
  * @throws {RequiredError}
3760
- * @memberof DefaultApi
3761
2198
  */
3762
2199
  credentialGet(credentialId: string, walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialWrapper, any>>;
3763
2200
  /**
@@ -3766,7 +2203,6 @@ export declare class DefaultApi extends BaseAPI {
3766
2203
  * @param {CredentialImport} [credentialImport] A Verifiable Credential payload in JSON format.
3767
2204
  * @param {*} [options] Override http request option.
3768
2205
  * @throws {RequiredError}
3769
- * @memberof DefaultApi
3770
2206
  */
3771
2207
  credentialImport(walletId: string, credentialImport?: CredentialImport, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialWrapper, any>>;
3772
2208
  /**
@@ -3776,7 +2212,6 @@ export declare class DefaultApi extends BaseAPI {
3776
2212
  * @param {CredentialIssuanceInit} [credentialIssuanceInit]
3777
2213
  * @param {*} [options] Override http request option.
3778
2214
  * @throws {RequiredError}
3779
- * @memberof DefaultApi
3780
2215
  */
3781
2216
  credentialIssuanceInit(credentialId: string, walletId: string, credentialIssuanceInit?: CredentialIssuanceInit, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialIssuanceInitResult, any>>;
3782
2217
  /**
@@ -3792,7 +2227,6 @@ export declare class DefaultApi extends BaseAPI {
3792
2227
  * @param {string} [filter] JSON schema filter used to select the credentials (base64 encoded)
3793
2228
  * @param {*} [options] Override http request option.
3794
2229
  * @throws {RequiredError}
3795
- * @memberof DefaultApi
3796
2230
  */
3797
2231
  credentialList(walletId: string, interaction?: CredentialListInteractionEnum, type?: string, valid?: boolean, limit?: number, nextMarker?: string, sort?: ListSort, searchPath?: string, filter?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialList, any>>;
3798
2232
  /**
@@ -3802,7 +2236,6 @@ export declare class DefaultApi extends BaseAPI {
3802
2236
  * @param {CredentialMetadataPatchPayload} [credentialMetadataPatchPayload] Verifiable Credential metadata in JSON
3803
2237
  * @param {*} [options] Override http request option.
3804
2238
  * @throws {RequiredError}
3805
- * @memberof DefaultApi
3806
2239
  */
3807
2240
  credentialMetadataPatch(credentialId: string, walletId: string, credentialMetadataPatchPayload?: CredentialMetadataPatchPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialIdObject, any>>;
3808
2241
  /**
@@ -3812,7 +2245,6 @@ export declare class DefaultApi extends BaseAPI {
3812
2245
  * @param {CredentialPatchPayload} [credentialPatchPayload]
3813
2246
  * @param {*} [options] Override http request option.
3814
2247
  * @throws {RequiredError}
3815
- * @memberof DefaultApi
3816
2248
  */
3817
2249
  credentialPatch(credentialId: string, walletId: string, credentialPatchPayload?: CredentialPatchPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialIdObject, any>>;
3818
2250
  /**
@@ -3821,7 +2253,6 @@ export declare class DefaultApi extends BaseAPI {
3821
2253
  * @param {CredentialRequest} [credentialRequest] A Verifiable Credential request: types and URL of the issuer
3822
2254
  * @param {*} [options] Override http request option.
3823
2255
  * @throws {RequiredError}
3824
- * @memberof DefaultApi
3825
2256
  */
3826
2257
  credentialRequestInit(walletId: string, credentialRequest?: CredentialRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any>>;
3827
2258
  /**
@@ -3830,7 +2261,6 @@ export declare class DefaultApi extends BaseAPI {
3830
2261
  * @param {string} walletId
3831
2262
  * @param {*} [options] Override http request option.
3832
2263
  * @throws {RequiredError}
3833
- * @memberof DefaultApi
3834
2264
  */
3835
2265
  credentialRevoke(credentialId: string, walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
3836
2266
  /**
@@ -3839,7 +2269,6 @@ export declare class DefaultApi extends BaseAPI {
3839
2269
  * @param {string} walletId
3840
2270
  * @param {*} [options] Override http request option.
3841
2271
  * @throws {RequiredError}
3842
- * @memberof DefaultApi
3843
2272
  */
3844
2273
  deferredStatus(deferredId: string, walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Deferred, any>>;
3845
2274
  /**
@@ -3847,14 +2276,12 @@ export declare class DefaultApi extends BaseAPI {
3847
2276
  * @param {string} walletId
3848
2277
  * @param {*} [options] Override http request option.
3849
2278
  * @throws {RequiredError}
3850
- * @memberof DefaultApi
3851
2279
  */
3852
2280
  didDocumentGet(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
3853
2281
  /**
3854
2282
  *
3855
2283
  * @param {*} [options] Override http request option.
3856
2284
  * @throws {RequiredError}
3857
- * @memberof DefaultApi
3858
2285
  */
3859
2286
  healthCheck(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HealthStatus, any>>;
3860
2287
  /**
@@ -3863,7 +2290,6 @@ export declare class DefaultApi extends BaseAPI {
3863
2290
  * @param {HolderAuthOfferCreationRequest} [holderAuthOfferCreationRequest]
3864
2291
  * @param {*} [options] Override http request option.
3865
2292
  * @throws {RequiredError}
3866
- * @memberof DefaultApi
3867
2293
  */
3868
2294
  holderCreateAuthOffer(walletId: string, holderAuthOfferCreationRequest?: HolderAuthOfferCreationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
3869
2295
  /**
@@ -3873,7 +2299,6 @@ export declare class DefaultApi extends BaseAPI {
3873
2299
  * @param {InteractionAuthorizationConsent} [interactionAuthorizationConsent]
3874
2300
  * @param {*} [options] Override http request option.
3875
2301
  * @throws {RequiredError}
3876
- * @memberof DefaultApi
3877
2302
  */
3878
2303
  holderCredentialsPresentAfterConsent(walletId: string, interactionId: string, interactionAuthorizationConsent?: InteractionAuthorizationConsent, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
3879
2304
  /**
@@ -3882,7 +2307,6 @@ export declare class DefaultApi extends BaseAPI {
3882
2307
  * @param {IdTokenSendRequest} [idTokenSendRequest]
3883
2308
  * @param {*} [options] Override http request option.
3884
2309
  * @throws {RequiredError}
3885
- * @memberof DefaultApi
3886
2310
  */
3887
2311
  holderIdTokenSend(walletId: string, idTokenSendRequest?: IdTokenSendRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
3888
2312
  /**
@@ -3891,7 +2315,6 @@ export declare class DefaultApi extends BaseAPI {
3891
2315
  * @param {LinkedVpCreateRequest} [linkedVpCreateRequest]
3892
2316
  * @param {*} [options] Override http request option.
3893
2317
  * @throws {RequiredError}
3894
- * @memberof DefaultApi
3895
2318
  */
3896
2319
  holderLinkedVpCreate(walletId: string, linkedVpCreateRequest?: LinkedVpCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkedVpMetadata, any>>;
3897
2320
  /**
@@ -3900,7 +2323,6 @@ export declare class DefaultApi extends BaseAPI {
3900
2323
  * @param {string} linkedVpId
3901
2324
  * @param {*} [options] Override http request option.
3902
2325
  * @throws {RequiredError}
3903
- * @memberof DefaultApi
3904
2326
  */
3905
2327
  holderLinkedVpDelete(walletId: string, linkedVpId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
3906
2328
  /**
@@ -3909,7 +2331,6 @@ export declare class DefaultApi extends BaseAPI {
3909
2331
  * @param {string} linkedVpId
3910
2332
  * @param {*} [options] Override http request option.
3911
2333
  * @throws {RequiredError}
3912
- * @memberof DefaultApi
3913
2334
  */
3914
2335
  holderLinkedVpGetDetails(walletId: string, linkedVpId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkedVpMetadata, any>>;
3915
2336
  /**
@@ -3917,7 +2338,6 @@ export declare class DefaultApi extends BaseAPI {
3917
2338
  * @param {string} walletId
3918
2339
  * @param {*} [options] Override http request option.
3919
2340
  * @throws {RequiredError}
3920
- * @memberof DefaultApi
3921
2341
  */
3922
2342
  holderLinkedVpList(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkedVpMetadata[], any>>;
3923
2343
  /**
@@ -3926,7 +2346,6 @@ export declare class DefaultApi extends BaseAPI {
3926
2346
  * @param {VcOffer} [vcOffer] Verifiable Credential offer
3927
2347
  * @param {*} [options] Override http request option.
3928
2348
  * @throws {RequiredError}
3929
- * @memberof DefaultApi
3930
2349
  */
3931
2350
  holderOfferPassAuthInfo(walletId: string, vcOffer?: VcOffer, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InteractionAuthorizationRequirements, any>>;
3932
2351
  /**
@@ -3936,7 +2355,6 @@ export declare class DefaultApi extends BaseAPI {
3936
2355
  * @param {InteractionAuthorizationConsent} [interactionAuthorizationConsent]
3937
2356
  * @param {*} [options] Override http request option.
3938
2357
  * @throws {RequiredError}
3939
- * @memberof DefaultApi
3940
2358
  */
3941
2359
  holderOfferProcessAfterConsent(walletId: string, interactionId: string, interactionAuthorizationConsent?: InteractionAuthorizationConsent, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any>>;
3942
2360
  /**
@@ -3945,7 +2363,6 @@ export declare class DefaultApi extends BaseAPI {
3945
2363
  * @param {PresentationRequest} [presentationRequest]
3946
2364
  * @param {*} [options] Override http request option.
3947
2365
  * @throws {RequiredError}
3948
- * @memberof DefaultApi
3949
2366
  */
3950
2367
  holderPresentPassAuthInfo(walletId: string, presentationRequest?: PresentationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InteractionAuthorizationRequirements, any>>;
3951
2368
  /**
@@ -3953,7 +2370,6 @@ export declare class DefaultApi extends BaseAPI {
3953
2370
  * @param {string} walletId
3954
2371
  * @param {*} [options] Override http request option.
3955
2372
  * @throws {RequiredError}
3956
- * @memberof DefaultApi
3957
2373
  */
3958
2374
  idTokenRequestCreate(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IdTokenRequest, any>>;
3959
2375
  /**
@@ -3961,7 +2377,6 @@ export declare class DefaultApi extends BaseAPI {
3961
2377
  * @param {string} url
3962
2378
  * @param {*} [options] Override http request option.
3963
2379
  * @throws {RequiredError}
3964
- * @memberof DefaultApi
3965
2380
  */
3966
2381
  issuerCredentialTypesList(url: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialType[], any>>;
3967
2382
  /**
@@ -3970,7 +2385,6 @@ export declare class DefaultApi extends BaseAPI {
3970
2385
  * @param {InitAuthOffer} [initAuthOffer]
3971
2386
  * @param {*} [options] Override http request option.
3972
2387
  * @throws {RequiredError}
3973
- * @memberof DefaultApi
3974
2388
  */
3975
2389
  issuerInitiateAuthOffer(walletId: string, initAuthOffer?: InitAuthOffer, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthOffer, any>>;
3976
2390
  /**
@@ -3979,7 +2393,6 @@ export declare class DefaultApi extends BaseAPI {
3979
2393
  * @param {InitPreAuthOffer} [initPreAuthOffer]
3980
2394
  * @param {*} [options] Override http request option.
3981
2395
  * @throws {RequiredError}
3982
- * @memberof DefaultApi
3983
2396
  */
3984
2397
  issuerInitiatePreauthOffer(walletId: string, initPreAuthOffer?: InitPreAuthOffer, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PreAuthOffer, any>>;
3985
2398
  /**
@@ -3988,7 +2401,6 @@ export declare class DefaultApi extends BaseAPI {
3988
2401
  * @param {AccreditationRequest} [accreditationRequest]
3989
2402
  * @param {*} [options] Override http request option.
3990
2403
  * @throws {RequiredError}
3991
- * @memberof DefaultApi
3992
2404
  */
3993
2405
  tfAccreditAs(walletId: string, accreditationRequest?: AccreditationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
3994
2406
  /**
@@ -3996,7 +2408,6 @@ export declare class DefaultApi extends BaseAPI {
3996
2408
  * @param {string} walletId
3997
2409
  * @param {*} [options] Override http request option.
3998
2410
  * @throws {RequiredError}
3999
- * @memberof DefaultApi
4000
2411
  */
4001
2412
  tfOnboard(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OnboardResult, any>>;
4002
2413
  /**
@@ -4005,7 +2416,6 @@ export declare class DefaultApi extends BaseAPI {
4005
2416
  * @param {PrepareToAccreditRequest} [prepareToAccreditRequest]
4006
2417
  * @param {*} [options] Override http request option.
4007
2418
  * @throws {RequiredError}
4008
- * @memberof DefaultApi
4009
2419
  */
4010
2420
  tfPrepareToAccredit(walletId: string, prepareToAccreditRequest?: PrepareToAccreditRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
4011
2421
  /**
@@ -4014,7 +2424,6 @@ export declare class DefaultApi extends BaseAPI {
4014
2424
  * @param {PrepareToOnboardRequest} [prepareToOnboardRequest]
4015
2425
  * @param {*} [options] Override http request option.
4016
2426
  * @throws {RequiredError}
4017
- * @memberof DefaultApi
4018
2427
  */
4019
2428
  tfPrepareToOnboard(walletId: string, prepareToOnboardRequest?: PrepareToOnboardRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
4020
2429
  /**
@@ -4023,7 +2432,6 @@ export declare class DefaultApi extends BaseAPI {
4023
2432
  * @param {RevokeAccreditationRequest} [revokeAccreditationRequest]
4024
2433
  * @param {*} [options] Override http request option.
4025
2434
  * @throws {RequiredError}
4026
- * @memberof DefaultApi
4027
2435
  */
4028
2436
  tfRevokeAccreditation(walletId: string, revokeAccreditationRequest?: RevokeAccreditationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
4029
2437
  /**
@@ -4032,7 +2440,6 @@ export declare class DefaultApi extends BaseAPI {
4032
2440
  * @param {CertificateIssueRequest} [certificateIssueRequest]
4033
2441
  * @param {*} [options] Override http request option.
4034
2442
  * @throws {RequiredError}
4035
- * @memberof DefaultApi
4036
2443
  */
4037
2444
  tfX509CertificateIssue(walletId: string, certificateIssueRequest?: CertificateIssueRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CertificateIssueResponse, any>>;
4038
2445
  /**
@@ -4041,7 +2448,6 @@ export declare class DefaultApi extends BaseAPI {
4041
2448
  * @param {VerifyInitRequest} [verifyInitRequest]
4042
2449
  * @param {*} [options] Override http request option.
4043
2450
  * @throws {RequiredError}
4044
- * @memberof DefaultApi
4045
2451
  */
4046
2452
  verifierInitUrlCreate(walletId: string, verifyInitRequest?: VerifyInitRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifyInitResponse, any>>;
4047
2453
  /**
@@ -4050,7 +2456,6 @@ export declare class DefaultApi extends BaseAPI {
4050
2456
  * @param {string} did
4051
2457
  * @param {*} [options] Override http request option.
4052
2458
  * @throws {RequiredError}
4053
- * @memberof DefaultApi
4054
2459
  */
4055
2460
  verifierLinkedVpVerify(walletId: string, did: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifiedLinkedVp[], any>>;
4056
2461
  /**
@@ -4058,7 +2463,6 @@ export declare class DefaultApi extends BaseAPI {
4058
2463
  * @param {WalletCreatePayload} [walletCreatePayload]
4059
2464
  * @param {*} [options] Override http request option.
4060
2465
  * @throws {RequiredError}
4061
- * @memberof DefaultApi
4062
2466
  */
4063
2467
  walletCreate(walletCreatePayload?: WalletCreatePayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletIdObject, any>>;
4064
2468
  /**
@@ -4066,7 +2470,6 @@ export declare class DefaultApi extends BaseAPI {
4066
2470
  * @param {string} walletId
4067
2471
  * @param {*} [options] Override http request option.
4068
2472
  * @throws {RequiredError}
4069
- * @memberof DefaultApi
4070
2473
  */
4071
2474
  walletDelete(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
4072
2475
  /**
@@ -4074,7 +2477,6 @@ export declare class DefaultApi extends BaseAPI {
4074
2477
  * @param {string} walletId
4075
2478
  * @param {*} [options] Override http request option.
4076
2479
  * @throws {RequiredError}
4077
- * @memberof DefaultApi
4078
2480
  */
4079
2481
  walletGet(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Wallet, any>>;
4080
2482
  /**
@@ -4082,7 +2484,6 @@ export declare class DefaultApi extends BaseAPI {
4082
2484
  * @param {string} walletId
4083
2485
  * @param {*} [options] Override http request option.
4084
2486
  * @throws {RequiredError}
4085
- * @memberof DefaultApi
4086
2487
  */
4087
2488
  walletIdentifierGet(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletIdentifier, any>>;
4088
2489
  /**
@@ -4091,7 +2492,6 @@ export declare class DefaultApi extends BaseAPI {
4091
2492
  * @param {WalletIdentifier} [walletIdentifier] The new wallet identifier
4092
2493
  * @param {*} [options] Override http request option.
4093
2494
  * @throws {RequiredError}
4094
- * @memberof DefaultApi
4095
2495
  */
4096
2496
  walletIdentifierUpdate(walletId: string, walletIdentifier?: WalletIdentifier, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletIdentifier, any>>;
4097
2497
  /**
@@ -4099,7 +2499,6 @@ export declare class DefaultApi extends BaseAPI {
4099
2499
  * @param {string} walletId Wallet ID
4100
2500
  * @param {*} [options] Override http request option.
4101
2501
  * @throws {RequiredError}
4102
- * @memberof DefaultApi
4103
2502
  */
4104
2503
  walletKeys(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
4105
2504
  [key: string]: any;
@@ -4110,7 +2509,6 @@ export declare class DefaultApi extends BaseAPI {
4110
2509
  * @param {string} [searchName] Wallet name to search using \&quot;begins-with\&quot; filter
4111
2510
  * @param {*} [options] Override http request option.
4112
2511
  * @throws {RequiredError}
4113
- * @memberof DefaultApi
4114
2512
  */
4115
2513
  walletList(ownerId?: string, searchName?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletListItem[], any>>;
4116
2514
  /**
@@ -4120,7 +2518,6 @@ export declare class DefaultApi extends BaseAPI {
4120
2518
  * @param {string} state Event identifier
4121
2519
  * @param {*} [options] Override http request option.
4122
2520
  * @throws {RequiredError}
4123
- * @memberof DefaultApi
4124
2521
  */
4125
2522
  walletNotificationGetByState(walletId: string, eventType: string, state: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletNotification, any>>;
4126
2523
  /**
@@ -4132,7 +2529,6 @@ export declare class DefaultApi extends BaseAPI {
4132
2529
  * @param {ListSort} [sort] Sort flag controls the sort direction by the time created
4133
2530
  * @param {*} [options] Override http request option.
4134
2531
  * @throws {RequiredError}
4135
- * @memberof DefaultApi
4136
2532
  */
4137
2533
  walletNotificationHistory(walletId: string, limit?: number, nextMarker?: string, type?: Array<WalletNotificationEventType>, sort?: ListSort, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletNotificationHistory, any>>;
4138
2534
  /**
@@ -4140,7 +2536,6 @@ export declare class DefaultApi extends BaseAPI {
4140
2536
  * @param {string} walletId Wallet ID
4141
2537
  * @param {*} [options] Override http request option.
4142
2538
  * @throws {RequiredError}
4143
- * @memberof DefaultApi
4144
2539
  */
4145
2540
  walletNotifications(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletNotification[], any>>;
4146
2541
  /**
@@ -4149,7 +2544,6 @@ export declare class DefaultApi extends BaseAPI {
4149
2544
  * @param {WalletPatchPayload} [walletPatchPayload]
4150
2545
  * @param {*} [options] Override http request option.
4151
2546
  * @throws {RequiredError}
4152
- * @memberof DefaultApi
4153
2547
  */
4154
2548
  walletPatch(walletId: string, walletPatchPayload?: WalletPatchPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletIdObject, any>>;
4155
2549
  /**
@@ -4158,7 +2552,6 @@ export declare class DefaultApi extends BaseAPI {
4158
2552
  * @param {string} state Verifier state
4159
2553
  * @param {*} [options] Override http request option.
4160
2554
  * @throws {RequiredError}
4161
- * @memberof DefaultApi
4162
2555
  */
4163
2556
  walletVerifiedCredentialsByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifiedWrapper, any>>;
4164
2557
  /**
@@ -4167,7 +2560,6 @@ export declare class DefaultApi extends BaseAPI {
4167
2560
  * @param {string} state Verifier state
4168
2561
  * @param {*} [options] Override http request option.
4169
2562
  * @throws {RequiredError}
4170
- * @memberof DefaultApi
4171
2563
  */
4172
2564
  walletVerifiedCredentialsDeleteByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
4173
2565
  /**
@@ -4176,22 +2568,24 @@ export declare class DefaultApi extends BaseAPI {
4176
2568
  * @param {CSRCreateRequest} [cSRCreateRequest]
4177
2569
  * @param {*} [options] Override http request option.
4178
2570
  * @throws {RequiredError}
4179
- * @memberof DefaultApi
4180
2571
  */
4181
2572
  walletX509CSRCreate(walletId: string, cSRCreateRequest?: CSRCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CSRCreateResponse, any>>;
2573
+ /**
2574
+ * Returns an X509 certificate in PEM format
2575
+ * @param {string} walletId Wallet ID
2576
+ * @param {*} [options] Override http request option.
2577
+ * @throws {RequiredError}
2578
+ */
2579
+ walletX509CertificateGet(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any>>;
4182
2580
  /**
4183
2581
  * Imports an X509 certificate to be used when signing credentials
4184
2582
  * @param {string} walletId Wallet ID
4185
2583
  * @param {CertificateImportRequest} [certificateImportRequest]
4186
2584
  * @param {*} [options] Override http request option.
4187
2585
  * @throws {RequiredError}
4188
- * @memberof DefaultApi
4189
2586
  */
4190
2587
  walletX509CertificateImport(walletId: string, certificateImportRequest?: CertificateImportRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
4191
2588
  }
4192
- /**
4193
- * @export
4194
- */
4195
2589
  export declare const CredentialListInteractionEnum: {
4196
2590
  readonly Issuance: "issuance";
4197
2591
  readonly Receive: "receive";