@triveria/wallet 0.0.234 → 0.0.236
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 +179 -310
- package/api.js +62 -4
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -64,135 +64,56 @@ export interface AuthOffer {
|
|
|
64
64
|
'validUntil': string;
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* Accompanying information about the verifiable credential draft - schema, type, format etc.
|
|
68
68
|
* @export
|
|
69
|
-
* @interface
|
|
69
|
+
* @interface CredentialDraftMetadata
|
|
70
70
|
*/
|
|
71
|
-
export interface
|
|
72
|
-
[key: string]: any;
|
|
73
|
-
/**
|
|
74
|
-
* The value of the @context property MUST be an ordered set where the first item is a URL with the value https://www.w3.org/ns/credentials/v2. Subsequent items in the array MUST express context information and be composed of any combination of URLs or objects. It is RECOMMENDED that each URL in the @context be one which, if dereferenced, results in a document containing machine-readable information about the @context. https://www.w3.org/TR/vc-data-model-2.0/#contexts
|
|
75
|
-
* @type {Array<string>}
|
|
76
|
-
* @memberof Credential
|
|
77
|
-
*/
|
|
78
|
-
'@context'?: Array<string>;
|
|
71
|
+
export interface CredentialDraftMetadata {
|
|
79
72
|
/**
|
|
80
73
|
*
|
|
81
74
|
* @type {string}
|
|
82
|
-
* @memberof
|
|
75
|
+
* @memberof CredentialDraftMetadata
|
|
83
76
|
*/
|
|
84
|
-
'id'
|
|
85
|
-
/**
|
|
86
|
-
* The value of the type property MUST be, or map to (through interpretation of the @context property), one or more URLs. If more than one URL is provided, the URLs MUST be interpreted as an unordered set. Syntactic conveniences SHOULD be used to ease developer usage. Such conveniences might include JSON-LD terms. It is RECOMMENDED that each URL in the type be one which, if dereferenced, results in a document containing machine-readable information about the type. https://www.w3.org/TR/vc-data-model-2.0/#types
|
|
87
|
-
* @type {Array<string>}
|
|
88
|
-
* @memberof Credential
|
|
89
|
-
*/
|
|
90
|
-
'type'?: Array<string>;
|
|
91
|
-
/**
|
|
92
|
-
*
|
|
93
|
-
* @type {CredentialSchema}
|
|
94
|
-
* @memberof Credential
|
|
95
|
-
*/
|
|
96
|
-
'credentialSchema'?: CredentialSchema;
|
|
97
|
-
/**
|
|
98
|
-
*
|
|
99
|
-
* @type {CredentialSubject}
|
|
100
|
-
* @memberof Credential
|
|
101
|
-
*/
|
|
102
|
-
'credentialSubject'?: CredentialSubject;
|
|
103
|
-
/**
|
|
104
|
-
*
|
|
105
|
-
* @type {CredentialStatus}
|
|
106
|
-
* @memberof Credential
|
|
107
|
-
*/
|
|
108
|
-
'credentialStatus'?: CredentialStatus;
|
|
77
|
+
'id': string;
|
|
109
78
|
/**
|
|
110
79
|
*
|
|
111
|
-
* @type {Array<EvidenceItem>}
|
|
112
|
-
* @memberof Credential
|
|
113
|
-
*/
|
|
114
|
-
'evidence'?: Array<EvidenceItem>;
|
|
115
|
-
/**
|
|
116
|
-
* Date Time Stamp string value representing the date and time the credential becomes valid https://www.w3.org/TR/vc-data-model-2.0/#defn-validFrom
|
|
117
|
-
* @type {string}
|
|
118
|
-
* @memberof Credential
|
|
119
|
-
*/
|
|
120
|
-
'validFrom'?: string;
|
|
121
|
-
/**
|
|
122
|
-
* Date Time Stamp string value representing the date and time the credential ceases to be valid https://www.w3.org/TR/vc-data-model-2.0/#defn-validUntil
|
|
123
|
-
* @type {string}
|
|
124
|
-
* @memberof Credential
|
|
125
|
-
*/
|
|
126
|
-
'validUntil'?: string;
|
|
127
|
-
/**
|
|
128
|
-
* EBSI specific field defining the date of issuance.
|
|
129
80
|
* @type {string}
|
|
130
|
-
* @memberof
|
|
81
|
+
* @memberof CredentialDraftMetadata
|
|
131
82
|
*/
|
|
132
|
-
'
|
|
133
|
-
/**
|
|
134
|
-
* EBSI specific field defining the date of issuance.
|
|
135
|
-
* @type {string}
|
|
136
|
-
* @memberof Credential
|
|
137
|
-
*/
|
|
138
|
-
'issuanceDate'?: string;
|
|
139
|
-
/**
|
|
140
|
-
* EBSI specific field defining the date of expiration.
|
|
141
|
-
* @type {string}
|
|
142
|
-
* @memberof Credential
|
|
143
|
-
*/
|
|
144
|
-
'expirationDate'?: string;
|
|
145
|
-
/**
|
|
146
|
-
* Either a URL or an object containing an id property https://www.w3.org/TR/vc-data-model-2.0/#defn-holder
|
|
147
|
-
* @type {string}
|
|
148
|
-
* @memberof Credential
|
|
149
|
-
*/
|
|
150
|
-
'holder'?: string;
|
|
83
|
+
'name': string;
|
|
151
84
|
/**
|
|
152
85
|
*
|
|
153
|
-
* @type {VerifiableCredentialIssuer}
|
|
154
|
-
* @memberof Credential
|
|
155
|
-
*/
|
|
156
|
-
'issuer'?: VerifiableCredentialIssuer;
|
|
157
|
-
/**
|
|
158
|
-
* Array of specific VC field disclosures
|
|
159
|
-
* @type {Array<string>}
|
|
160
|
-
* @memberof Credential
|
|
161
|
-
*/
|
|
162
|
-
'_sd'?: Array<string>;
|
|
163
|
-
/**
|
|
164
|
-
* Algorithm used for hashing disclosure digests
|
|
165
86
|
* @type {string}
|
|
166
|
-
* @memberof
|
|
87
|
+
* @memberof CredentialDraftMetadata
|
|
167
88
|
*/
|
|
168
|
-
'
|
|
89
|
+
'type': string;
|
|
169
90
|
/**
|
|
170
91
|
*
|
|
171
|
-
* @type {
|
|
172
|
-
* @memberof
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof CredentialDraftMetadata
|
|
173
94
|
*/
|
|
174
|
-
'
|
|
95
|
+
'expirationDate'?: string;
|
|
175
96
|
/**
|
|
176
97
|
*
|
|
177
|
-
* @type {
|
|
178
|
-
* @memberof
|
|
98
|
+
* @type {CredentialFormat}
|
|
99
|
+
* @memberof CredentialDraftMetadata
|
|
179
100
|
*/
|
|
180
|
-
'
|
|
101
|
+
'format': CredentialFormat;
|
|
181
102
|
/**
|
|
182
103
|
*
|
|
183
|
-
* @type {
|
|
184
|
-
* @memberof
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof CredentialDraftMetadata
|
|
185
106
|
*/
|
|
186
|
-
'
|
|
107
|
+
'credentialSchema'?: string;
|
|
187
108
|
}
|
|
188
109
|
/**
|
|
189
|
-
*
|
|
110
|
+
* jwt_vc_vcdm - VC using W3C VC Data Model as jwt sd_jwt_vc - VC using sd_jwt_vc data model as jwt
|
|
190
111
|
* @export
|
|
191
112
|
* @enum {string}
|
|
192
113
|
*/
|
|
193
114
|
export declare const CredentialFormat: {
|
|
194
|
-
readonly JwtVc: "jwt_vc";
|
|
195
115
|
readonly SdJwtVc: "sd_jwt_vc";
|
|
116
|
+
readonly JwtVcVcdm: "jwt_vc_vcdm";
|
|
196
117
|
};
|
|
197
118
|
export type CredentialFormat = typeof CredentialFormat[keyof typeof CredentialFormat];
|
|
198
119
|
/**
|
|
@@ -271,6 +192,37 @@ export interface CredentialIssuanceInitResult {
|
|
|
271
192
|
*/
|
|
272
193
|
'issuanceQueueItemId': string;
|
|
273
194
|
}
|
|
195
|
+
/**
|
|
196
|
+
*
|
|
197
|
+
* @export
|
|
198
|
+
* @interface CredentialIssuedNotification
|
|
199
|
+
*/
|
|
200
|
+
export interface CredentialIssuedNotification {
|
|
201
|
+
/**
|
|
202
|
+
*
|
|
203
|
+
* @type {string}
|
|
204
|
+
* @memberof CredentialIssuedNotification
|
|
205
|
+
*/
|
|
206
|
+
'credentialType': string;
|
|
207
|
+
/**
|
|
208
|
+
*
|
|
209
|
+
* @type {string}
|
|
210
|
+
* @memberof CredentialIssuedNotification
|
|
211
|
+
*/
|
|
212
|
+
'holderDid': string;
|
|
213
|
+
/**
|
|
214
|
+
*
|
|
215
|
+
* @type {string}
|
|
216
|
+
* @memberof CredentialIssuedNotification
|
|
217
|
+
*/
|
|
218
|
+
'issuerDid': string;
|
|
219
|
+
/**
|
|
220
|
+
*
|
|
221
|
+
* @type {string}
|
|
222
|
+
* @memberof CredentialIssuedNotification
|
|
223
|
+
*/
|
|
224
|
+
'credentialId': string;
|
|
225
|
+
}
|
|
274
226
|
/**
|
|
275
227
|
*
|
|
276
228
|
* @export
|
|
@@ -297,10 +249,10 @@ export interface CredentialIssuerDefinition {
|
|
|
297
249
|
'id': string;
|
|
298
250
|
/**
|
|
299
251
|
* Type of credentials for which the specified credential issuer will be used.
|
|
300
|
-
* @type {
|
|
252
|
+
* @type {string}
|
|
301
253
|
* @memberof CredentialIssuerDefinition
|
|
302
254
|
*/
|
|
303
|
-
'credentialType':
|
|
255
|
+
'credentialType': string;
|
|
304
256
|
/**
|
|
305
257
|
* Type of issuer to be used with credentials of the type specified.
|
|
306
258
|
* @type {string}
|
|
@@ -314,11 +266,11 @@ export interface CredentialIssuerDefinition {
|
|
|
314
266
|
*/
|
|
315
267
|
'issuerConfiguration'?: CredentialIssuerDefinitionIssuerConfiguration;
|
|
316
268
|
/**
|
|
317
|
-
*
|
|
318
|
-
* @type {
|
|
269
|
+
*
|
|
270
|
+
* @type {CredentialFormat}
|
|
319
271
|
* @memberof CredentialIssuerDefinition
|
|
320
272
|
*/
|
|
321
|
-
'credentialFormat'
|
|
273
|
+
'credentialFormat': CredentialFormat;
|
|
322
274
|
/**
|
|
323
275
|
* JSON paths of credential claims which will support being disclosed partially.
|
|
324
276
|
* @type {Array<string>}
|
|
@@ -339,6 +291,19 @@ export type CredentialIssuerDefinitionCredentialIssuerEnum = typeof CredentialIs
|
|
|
339
291
|
* @export
|
|
340
292
|
*/
|
|
341
293
|
export type CredentialIssuerDefinitionIssuerConfiguration = CredentialRequirementsIssuerConfig | CtWalletSameIssuerConfig | VPDrivenIssuerConfig;
|
|
294
|
+
/**
|
|
295
|
+
*
|
|
296
|
+
* @export
|
|
297
|
+
* @interface CredentialIssuerMetadata
|
|
298
|
+
*/
|
|
299
|
+
export interface CredentialIssuerMetadata {
|
|
300
|
+
/**
|
|
301
|
+
* DID or URI
|
|
302
|
+
* @type {string}
|
|
303
|
+
* @memberof CredentialIssuerMetadata
|
|
304
|
+
*/
|
|
305
|
+
'id'?: string;
|
|
306
|
+
}
|
|
342
307
|
/**
|
|
343
308
|
*
|
|
344
309
|
* @export
|
|
@@ -425,6 +390,18 @@ export interface CredentialMetadata {
|
|
|
425
390
|
* @memberof CredentialMetadata
|
|
426
391
|
*/
|
|
427
392
|
'updated': string;
|
|
393
|
+
/**
|
|
394
|
+
*
|
|
395
|
+
* @type {string}
|
|
396
|
+
* @memberof CredentialMetadata
|
|
397
|
+
*/
|
|
398
|
+
'issuanceDate': string;
|
|
399
|
+
/**
|
|
400
|
+
*
|
|
401
|
+
* @type {string}
|
|
402
|
+
* @memberof CredentialMetadata
|
|
403
|
+
*/
|
|
404
|
+
'expirationDate'?: string;
|
|
428
405
|
/**
|
|
429
406
|
*
|
|
430
407
|
* @type {string}
|
|
@@ -506,16 +483,16 @@ export interface CredentialPayload {
|
|
|
506
483
|
[key: string]: any;
|
|
507
484
|
/**
|
|
508
485
|
*
|
|
509
|
-
* @type {
|
|
486
|
+
* @type {CredentialSubject}
|
|
510
487
|
* @memberof CredentialPayload
|
|
511
488
|
*/
|
|
512
|
-
'
|
|
489
|
+
'credentialSubject': CredentialSubject;
|
|
513
490
|
/**
|
|
514
|
-
*
|
|
515
|
-
* @type {
|
|
491
|
+
*
|
|
492
|
+
* @type {CredentialDraftMetadata}
|
|
516
493
|
* @memberof CredentialPayload
|
|
517
494
|
*/
|
|
518
|
-
'
|
|
495
|
+
'credentialDraftMetadata': CredentialDraftMetadata;
|
|
519
496
|
/**
|
|
520
497
|
* If true, the credential draft is checked against its schema. Defaults to true.
|
|
521
498
|
* @type {boolean}
|
|
@@ -531,10 +508,10 @@ export interface CredentialPayload {
|
|
|
531
508
|
export interface CredentialRequest {
|
|
532
509
|
/**
|
|
533
510
|
*
|
|
534
|
-
* @type {
|
|
511
|
+
* @type {string}
|
|
535
512
|
* @memberof CredentialRequest
|
|
536
513
|
*/
|
|
537
|
-
'types':
|
|
514
|
+
'types': string;
|
|
538
515
|
/**
|
|
539
516
|
*
|
|
540
517
|
* @type {CredentialFormat}
|
|
@@ -598,75 +575,6 @@ export interface CredentialRequirementsIssuerConfig {
|
|
|
598
575
|
*/
|
|
599
576
|
'credentialVerifierId': string;
|
|
600
577
|
}
|
|
601
|
-
/**
|
|
602
|
-
* @type CredentialSchema
|
|
603
|
-
* One or more data schemas that provide verifiers with enough information to determine if the provided data conforms to the provided schema(s) https://www.w3.org/TR/vc-data-model-2.0/#defn-credentialSchema
|
|
604
|
-
* @export
|
|
605
|
-
*/
|
|
606
|
-
export type CredentialSchema = Array<CredentialSchemaItem> | CredentialSchemaItem;
|
|
607
|
-
/**
|
|
608
|
-
*
|
|
609
|
-
* @export
|
|
610
|
-
* @interface CredentialSchemaItem
|
|
611
|
-
*/
|
|
612
|
-
export interface CredentialSchemaItem {
|
|
613
|
-
[key: string]: any;
|
|
614
|
-
/**
|
|
615
|
-
* A URL identifying the schema file
|
|
616
|
-
* @type {string}
|
|
617
|
-
* @memberof CredentialSchemaItem
|
|
618
|
-
*/
|
|
619
|
-
'id': string;
|
|
620
|
-
/**
|
|
621
|
-
*
|
|
622
|
-
* @type {string}
|
|
623
|
-
* @memberof CredentialSchemaItem
|
|
624
|
-
*/
|
|
625
|
-
'name'?: string;
|
|
626
|
-
/**
|
|
627
|
-
* Defines the schema type, for example, JsonSchema
|
|
628
|
-
* @type {string}
|
|
629
|
-
* @memberof CredentialSchemaItem
|
|
630
|
-
*/
|
|
631
|
-
'type': string;
|
|
632
|
-
}
|
|
633
|
-
/**
|
|
634
|
-
* It is expected that the value will provide enough information to determine the current status of the credential and that machine readable information will be retrievable from the URL https://www.w3.org/TR/vc-data-model-2.0/#defn-credentialStatus
|
|
635
|
-
* @export
|
|
636
|
-
* @interface CredentialStatus
|
|
637
|
-
*/
|
|
638
|
-
export interface CredentialStatus {
|
|
639
|
-
/**
|
|
640
|
-
*
|
|
641
|
-
* @type {string}
|
|
642
|
-
* @memberof CredentialStatus
|
|
643
|
-
*/
|
|
644
|
-
'id': string;
|
|
645
|
-
/**
|
|
646
|
-
*
|
|
647
|
-
* @type {string}
|
|
648
|
-
* @memberof CredentialStatus
|
|
649
|
-
*/
|
|
650
|
-
'type': string;
|
|
651
|
-
/**
|
|
652
|
-
*
|
|
653
|
-
* @type {string}
|
|
654
|
-
* @memberof CredentialStatus
|
|
655
|
-
*/
|
|
656
|
-
'statusPurpose'?: string;
|
|
657
|
-
/**
|
|
658
|
-
*
|
|
659
|
-
* @type {string}
|
|
660
|
-
* @memberof CredentialStatus
|
|
661
|
-
*/
|
|
662
|
-
'statusListIndex'?: string;
|
|
663
|
-
/**
|
|
664
|
-
*
|
|
665
|
-
* @type {string}
|
|
666
|
-
* @memberof CredentialStatus
|
|
667
|
-
*/
|
|
668
|
-
'statusListCredential'?: string;
|
|
669
|
-
}
|
|
670
578
|
/**
|
|
671
579
|
* @type CredentialSubject
|
|
672
580
|
* 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
|
|
@@ -686,12 +594,6 @@ export interface CredentialSubjectItem {
|
|
|
686
594
|
* @memberof CredentialSubjectItem
|
|
687
595
|
*/
|
|
688
596
|
'id'?: string;
|
|
689
|
-
/**
|
|
690
|
-
* Array of specific VC subject field disclosures
|
|
691
|
-
* @type {Array<string>}
|
|
692
|
-
* @memberof CredentialSubjectItem
|
|
693
|
-
*/
|
|
694
|
-
'_sd'?: Array<string>;
|
|
695
597
|
}
|
|
696
598
|
/**
|
|
697
599
|
*
|
|
@@ -782,10 +684,10 @@ export interface CredentialWrapper {
|
|
|
782
684
|
'metadata': CredentialMetadata;
|
|
783
685
|
/**
|
|
784
686
|
*
|
|
785
|
-
* @type {
|
|
687
|
+
* @type {CredentialSubject}
|
|
786
688
|
* @memberof CredentialWrapper
|
|
787
689
|
*/
|
|
788
|
-
'
|
|
690
|
+
'vcSubject'?: CredentialSubject;
|
|
789
691
|
/**
|
|
790
692
|
* The base64 encoded Verifiable Credential in its final signed form
|
|
791
693
|
* @type {string}
|
|
@@ -892,6 +794,12 @@ export interface EbsiConfiguration {
|
|
|
892
794
|
* @memberof EbsiConfiguration
|
|
893
795
|
*/
|
|
894
796
|
'mainSchema': string;
|
|
797
|
+
/**
|
|
798
|
+
*
|
|
799
|
+
* @type {string}
|
|
800
|
+
* @memberof EbsiConfiguration
|
|
801
|
+
*/
|
|
802
|
+
'statusListSchema': string;
|
|
895
803
|
}
|
|
896
804
|
/**
|
|
897
805
|
* EBSI specific data
|
|
@@ -936,26 +844,6 @@ export interface EbsiSpecificWalletData {
|
|
|
936
844
|
*/
|
|
937
845
|
'configuration': EbsiConfiguration;
|
|
938
846
|
}
|
|
939
|
-
/**
|
|
940
|
-
* A scheme providing enough information for a verifier to determine whether the evidence gathered by the issuer meets its confidence requirements for relying on the credential
|
|
941
|
-
* @export
|
|
942
|
-
* @interface EvidenceItem
|
|
943
|
-
*/
|
|
944
|
-
export interface EvidenceItem {
|
|
945
|
-
[key: string]: any;
|
|
946
|
-
/**
|
|
947
|
-
* URL that points to where more information about this instance of evidence can be found
|
|
948
|
-
* @type {string}
|
|
949
|
-
* @memberof EvidenceItem
|
|
950
|
-
*/
|
|
951
|
-
'id'?: string;
|
|
952
|
-
/**
|
|
953
|
-
* The precise content of each evidence scheme is determined by the specific evidence type definition.
|
|
954
|
-
* @type {Array<string>}
|
|
955
|
-
* @memberof EvidenceItem
|
|
956
|
-
*/
|
|
957
|
-
'type': Array<string>;
|
|
958
|
-
}
|
|
959
847
|
/**
|
|
960
848
|
* Presented credential field that will be matched
|
|
961
849
|
* @export
|
|
@@ -1021,10 +909,10 @@ export interface HolderAuthOfferCreationRequest {
|
|
|
1021
909
|
'issuerUrl': string;
|
|
1022
910
|
/**
|
|
1023
911
|
*
|
|
1024
|
-
* @type {
|
|
912
|
+
* @type {string}
|
|
1025
913
|
* @memberof HolderAuthOfferCreationRequest
|
|
1026
914
|
*/
|
|
1027
|
-
'types':
|
|
915
|
+
'types': string;
|
|
1028
916
|
/**
|
|
1029
917
|
*
|
|
1030
918
|
* @type {CredentialFormat}
|
|
@@ -1107,12 +995,6 @@ export interface InitAuthOffer {
|
|
|
1107
995
|
* @memberof InitAuthOffer
|
|
1108
996
|
*/
|
|
1109
997
|
'issuerId': string;
|
|
1110
|
-
/**
|
|
1111
|
-
*
|
|
1112
|
-
* @type {CredentialFormat}
|
|
1113
|
-
* @memberof InitAuthOffer
|
|
1114
|
-
*/
|
|
1115
|
-
'format': CredentialFormat;
|
|
1116
998
|
/**
|
|
1117
999
|
*
|
|
1118
1000
|
* @type {string}
|
|
@@ -1156,12 +1038,6 @@ export interface InitPreAuthOffer {
|
|
|
1156
1038
|
* @memberof InitPreAuthOffer
|
|
1157
1039
|
*/
|
|
1158
1040
|
'issuerId': string;
|
|
1159
|
-
/**
|
|
1160
|
-
*
|
|
1161
|
-
* @type {CredentialFormat}
|
|
1162
|
-
* @memberof InitPreAuthOffer
|
|
1163
|
-
*/
|
|
1164
|
-
'format': CredentialFormat;
|
|
1165
1041
|
/**
|
|
1166
1042
|
*
|
|
1167
1043
|
* @type {string}
|
|
@@ -1325,20 +1201,6 @@ export interface IssuerLogo {
|
|
|
1325
1201
|
*/
|
|
1326
1202
|
'alt_text'?: string;
|
|
1327
1203
|
}
|
|
1328
|
-
/**
|
|
1329
|
-
* Object containing an `id` property.
|
|
1330
|
-
* @export
|
|
1331
|
-
* @interface IssuerMeta
|
|
1332
|
-
*/
|
|
1333
|
-
export interface IssuerMeta {
|
|
1334
|
-
[key: string]: any;
|
|
1335
|
-
/**
|
|
1336
|
-
*
|
|
1337
|
-
* @type {string}
|
|
1338
|
-
* @memberof IssuerMeta
|
|
1339
|
-
*/
|
|
1340
|
-
'id': string;
|
|
1341
|
-
}
|
|
1342
1204
|
/**
|
|
1343
1205
|
*
|
|
1344
1206
|
* @export
|
|
@@ -1715,6 +1577,18 @@ export interface PresentationDefinitionFormat {
|
|
|
1715
1577
|
* @memberof PresentationDefinitionFormat
|
|
1716
1578
|
*/
|
|
1717
1579
|
'jwt_vp'?: PresentationDefinitionFormatAlg;
|
|
1580
|
+
/**
|
|
1581
|
+
*
|
|
1582
|
+
* @type {PresentationDefinitionFormatAlg}
|
|
1583
|
+
* @memberof PresentationDefinitionFormat
|
|
1584
|
+
*/
|
|
1585
|
+
'sd_jwt'?: PresentationDefinitionFormatAlg;
|
|
1586
|
+
/**
|
|
1587
|
+
*
|
|
1588
|
+
* @type {PresentationDefinitionFormatAlg}
|
|
1589
|
+
* @memberof PresentationDefinitionFormat
|
|
1590
|
+
*/
|
|
1591
|
+
'dc+sd-jwt-vc'?: PresentationDefinitionFormatAlg;
|
|
1718
1592
|
/**
|
|
1719
1593
|
*
|
|
1720
1594
|
* @type {PresentationDefinitionFormatAlg}
|
|
@@ -1871,79 +1745,66 @@ export declare const PresentationDefinitionSubmissionRequirementsRuleEnum: {
|
|
|
1871
1745
|
};
|
|
1872
1746
|
export type PresentationDefinitionSubmissionRequirementsRuleEnum = typeof PresentationDefinitionSubmissionRequirementsRuleEnum[keyof typeof PresentationDefinitionSubmissionRequirementsRuleEnum];
|
|
1873
1747
|
/**
|
|
1874
|
-
*
|
|
1748
|
+
* Metadata of the verifiable presentation
|
|
1875
1749
|
* @export
|
|
1876
|
-
* @interface
|
|
1750
|
+
* @interface PresentationMetadata
|
|
1877
1751
|
*/
|
|
1878
|
-
export interface
|
|
1752
|
+
export interface PresentationMetadata {
|
|
1879
1753
|
/**
|
|
1880
|
-
*
|
|
1754
|
+
*
|
|
1881
1755
|
* @type {string}
|
|
1882
|
-
* @memberof
|
|
1756
|
+
* @memberof PresentationMetadata
|
|
1883
1757
|
*/
|
|
1884
|
-
'
|
|
1885
|
-
}
|
|
1886
|
-
/**
|
|
1887
|
-
* One or more cryptographic proofs that can be used to detect tampering and verify the authorship of a verifiable credential or verifiable presentation https://www.w3.org/TR/vc-data-model-2.0/#securing-verifiable-credentials
|
|
1888
|
-
* @export
|
|
1889
|
-
* @interface Proof
|
|
1890
|
-
*/
|
|
1891
|
-
export interface Proof {
|
|
1758
|
+
'id'?: string;
|
|
1892
1759
|
/**
|
|
1893
1760
|
*
|
|
1894
1761
|
* @type {string}
|
|
1895
|
-
* @memberof
|
|
1762
|
+
* @memberof PresentationMetadata
|
|
1896
1763
|
*/
|
|
1897
|
-
'type'
|
|
1764
|
+
'type'?: string;
|
|
1898
1765
|
/**
|
|
1899
1766
|
*
|
|
1900
1767
|
* @type {string}
|
|
1901
|
-
* @memberof
|
|
1768
|
+
* @memberof PresentationMetadata
|
|
1902
1769
|
*/
|
|
1903
|
-
'
|
|
1770
|
+
'issuanceDate'?: string;
|
|
1904
1771
|
/**
|
|
1905
1772
|
*
|
|
1906
1773
|
* @type {string}
|
|
1907
|
-
* @memberof
|
|
1774
|
+
* @memberof PresentationMetadata
|
|
1908
1775
|
*/
|
|
1909
|
-
'
|
|
1776
|
+
'expirationDate'?: string;
|
|
1910
1777
|
/**
|
|
1911
1778
|
*
|
|
1912
1779
|
* @type {string}
|
|
1913
|
-
* @memberof
|
|
1780
|
+
* @memberof PresentationMetadata
|
|
1914
1781
|
*/
|
|
1915
|
-
'
|
|
1782
|
+
'issuer'?: string;
|
|
1783
|
+
/**
|
|
1784
|
+
*
|
|
1785
|
+
* @type {CredentialFormat}
|
|
1786
|
+
* @memberof PresentationMetadata
|
|
1787
|
+
*/
|
|
1788
|
+
'format'?: CredentialFormat;
|
|
1916
1789
|
/**
|
|
1917
1790
|
*
|
|
1918
1791
|
* @type {string}
|
|
1919
|
-
* @memberof
|
|
1792
|
+
* @memberof PresentationMetadata
|
|
1920
1793
|
*/
|
|
1921
|
-
'
|
|
1794
|
+
'credentialSchema'?: string;
|
|
1922
1795
|
}
|
|
1923
|
-
/**
|
|
1924
|
-
* @type RefreshService
|
|
1925
|
-
* A refresh service is a mechanism that can be utilized by software agents to retrieve an updated copy of a Verifiable Credential https://www.w3.org/TR/vc-data-model-2.0/#defn-refreshService
|
|
1926
|
-
* @export
|
|
1927
|
-
*/
|
|
1928
|
-
export type RefreshService = Array<RefreshServiceItem> | RefreshServiceItem;
|
|
1929
1796
|
/**
|
|
1930
1797
|
*
|
|
1931
1798
|
* @export
|
|
1932
|
-
* @interface
|
|
1799
|
+
* @interface PresentationRequest
|
|
1933
1800
|
*/
|
|
1934
|
-
export interface
|
|
1935
|
-
/**
|
|
1936
|
-
* The URL of the service
|
|
1937
|
-
* @type {string}
|
|
1938
|
-
* @memberof RefreshServiceItem
|
|
1939
|
-
*/
|
|
1940
|
-
'id': string;
|
|
1801
|
+
export interface PresentationRequest {
|
|
1941
1802
|
/**
|
|
1942
|
-
*
|
|
1803
|
+
* URL of verifier authorization server. MUST contain the verifier scope as a query parameter(`scope`).
|
|
1943
1804
|
* @type {string}
|
|
1944
|
-
* @memberof
|
|
1805
|
+
* @memberof PresentationRequest
|
|
1945
1806
|
*/
|
|
1946
|
-
'
|
|
1807
|
+
'verifierUrl': string;
|
|
1947
1808
|
}
|
|
1948
1809
|
/**
|
|
1949
1810
|
* Info needed to revoke legal entity\'s DID
|
|
@@ -2000,26 +1861,6 @@ export declare const SystemImpactStatusEnum: {
|
|
|
2000
1861
|
readonly Critical: "critical";
|
|
2001
1862
|
};
|
|
2002
1863
|
export type SystemImpactStatusEnum = typeof SystemImpactStatusEnum[keyof typeof SystemImpactStatusEnum];
|
|
2003
|
-
/**
|
|
2004
|
-
* Policy under which the creator issued the credential or presentation https://www.w3.org/TR/vc-data-model-2.0/#defn-termsOfUse
|
|
2005
|
-
* @export
|
|
2006
|
-
* @interface TermsOfUse
|
|
2007
|
-
*/
|
|
2008
|
-
export interface TermsOfUse {
|
|
2009
|
-
[key: string]: any;
|
|
2010
|
-
/**
|
|
2011
|
-
*
|
|
2012
|
-
* @type {string}
|
|
2013
|
-
* @memberof TermsOfUse
|
|
2014
|
-
*/
|
|
2015
|
-
'id'?: string;
|
|
2016
|
-
/**
|
|
2017
|
-
*
|
|
2018
|
-
* @type {string}
|
|
2019
|
-
* @memberof TermsOfUse
|
|
2020
|
-
*/
|
|
2021
|
-
'type': string;
|
|
2022
|
-
}
|
|
2023
1864
|
/**
|
|
2024
1865
|
*
|
|
2025
1866
|
* @export
|
|
@@ -2052,12 +1893,6 @@ export interface VcOffer {
|
|
|
2052
1893
|
*/
|
|
2053
1894
|
'Url': string;
|
|
2054
1895
|
}
|
|
2055
|
-
/**
|
|
2056
|
-
* @type VerifiableCredentialIssuer
|
|
2057
|
-
* Either a URL or an object containing an id property https://www.w3.org/TR/vc-data-model-2.0/#defn-issuer
|
|
2058
|
-
* @export
|
|
2059
|
-
*/
|
|
2060
|
-
export type VerifiableCredentialIssuer = IssuerMeta | string;
|
|
2061
1896
|
/**
|
|
2062
1897
|
*
|
|
2063
1898
|
* @export
|
|
@@ -2072,10 +1907,10 @@ export interface VerifiedLinkedVp {
|
|
|
2072
1907
|
'linkedVpId': string;
|
|
2073
1908
|
/**
|
|
2074
1909
|
*
|
|
2075
|
-
* @type {Array<
|
|
1910
|
+
* @type {Array<CredentialWrapper>}
|
|
2076
1911
|
* @memberof VerifiedLinkedVp
|
|
2077
1912
|
*/
|
|
2078
|
-
'credentials': Array<
|
|
1913
|
+
'credentials': Array<CredentialWrapper>;
|
|
2079
1914
|
}
|
|
2080
1915
|
/**
|
|
2081
1916
|
* Wrapped result of successful verification interaction.
|
|
@@ -2085,10 +1920,10 @@ export interface VerifiedLinkedVp {
|
|
|
2085
1920
|
export interface VerifiedWrapper {
|
|
2086
1921
|
/**
|
|
2087
1922
|
*
|
|
2088
|
-
* @type {Array<
|
|
1923
|
+
* @type {Array<CredentialWrapper>}
|
|
2089
1924
|
* @memberof VerifiedWrapper
|
|
2090
1925
|
*/
|
|
2091
|
-
'credentials': Array<
|
|
1926
|
+
'credentials': Array<CredentialWrapper>;
|
|
2092
1927
|
/**
|
|
2093
1928
|
* The Verifiable Presentation that was presented during the interaction.
|
|
2094
1929
|
* @type {string}
|
|
@@ -2227,6 +2062,12 @@ export interface WalletConfig {
|
|
|
2227
2062
|
* @memberof WalletConfig
|
|
2228
2063
|
*/
|
|
2229
2064
|
'EBSI'?: EbsiSpecificWalletData;
|
|
2065
|
+
/**
|
|
2066
|
+
* Expiration time in seconds for credential status lists. Used only if the wallet is a credential issuer
|
|
2067
|
+
* @type {number}
|
|
2068
|
+
* @memberof WalletConfig
|
|
2069
|
+
*/
|
|
2070
|
+
'statusListExpiration'?: number;
|
|
2230
2071
|
}
|
|
2231
2072
|
export declare const WalletConfigTrustFrameworkEnum: {
|
|
2232
2073
|
readonly Ebsi: "EBSI";
|
|
@@ -2334,7 +2175,7 @@ export interface WalletNotification {
|
|
|
2334
2175
|
* @type WalletNotificationEventDetails
|
|
2335
2176
|
* @export
|
|
2336
2177
|
*/
|
|
2337
|
-
export type WalletNotificationEventDetails = IdTokenReceivedNotification | OfferReceivedNotification | VpVerifiedNotification;
|
|
2178
|
+
export type WalletNotificationEventDetails = CredentialIssuedNotification | IdTokenReceivedNotification | OfferReceivedNotification | VpVerifiedNotification;
|
|
2338
2179
|
/**
|
|
2339
2180
|
*
|
|
2340
2181
|
* @export
|
|
@@ -2346,6 +2187,9 @@ export declare const WalletNotificationEventType: {
|
|
|
2346
2187
|
readonly IdTokenReceived: "idToken.received";
|
|
2347
2188
|
readonly OfferProcessed: "offer.processed";
|
|
2348
2189
|
readonly OfferInitiated: "offer.initiated";
|
|
2190
|
+
readonly CredentialCreated: "credential.created";
|
|
2191
|
+
readonly CredentialIssued: "credential.issued";
|
|
2192
|
+
readonly CredentialReceived: "credential.received";
|
|
2349
2193
|
};
|
|
2350
2194
|
export type WalletNotificationEventType = typeof WalletNotificationEventType[keyof typeof WalletNotificationEventType];
|
|
2351
2195
|
/**
|
|
@@ -2511,6 +2355,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2511
2355
|
* @throws {RequiredError}
|
|
2512
2356
|
*/
|
|
2513
2357
|
didUpdate: (walletId: string, did?: Did, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2358
|
+
/**
|
|
2359
|
+
*
|
|
2360
|
+
* @param {*} [options] Override http request option.
|
|
2361
|
+
* @throws {RequiredError}
|
|
2362
|
+
*/
|
|
2363
|
+
dummy: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2514
2364
|
/**
|
|
2515
2365
|
*
|
|
2516
2366
|
* @param {*} [options] Override http request option.
|
|
@@ -2798,7 +2648,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2798
2648
|
* @param {*} [options] Override http request option.
|
|
2799
2649
|
* @throws {RequiredError}
|
|
2800
2650
|
*/
|
|
2801
|
-
credentialImport(walletId: string, credentialImport?: CredentialImport, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2651
|
+
credentialImport(walletId: string, credentialImport?: CredentialImport, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CredentialWrapper>>;
|
|
2802
2652
|
/**
|
|
2803
2653
|
* Prepares created Verifiable Credential draft for its issuance for a specific client.
|
|
2804
2654
|
* @param {string} credentialId
|
|
@@ -2887,6 +2737,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2887
2737
|
* @throws {RequiredError}
|
|
2888
2738
|
*/
|
|
2889
2739
|
didUpdate(walletId: string, did?: Did, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Did>>;
|
|
2740
|
+
/**
|
|
2741
|
+
*
|
|
2742
|
+
* @param {*} [options] Override http request option.
|
|
2743
|
+
* @throws {RequiredError}
|
|
2744
|
+
*/
|
|
2745
|
+
dummy(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CredentialDraftMetadata>>;
|
|
2890
2746
|
/**
|
|
2891
2747
|
*
|
|
2892
2748
|
* @param {*} [options] Override http request option.
|
|
@@ -3176,7 +3032,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3176
3032
|
* @param {*} [options] Override http request option.
|
|
3177
3033
|
* @throws {RequiredError}
|
|
3178
3034
|
*/
|
|
3179
|
-
credentialImport(walletId: string, credentialImport?: CredentialImport, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3035
|
+
credentialImport(walletId: string, credentialImport?: CredentialImport, options?: RawAxiosRequestConfig): AxiosPromise<CredentialWrapper>;
|
|
3180
3036
|
/**
|
|
3181
3037
|
* Prepares created Verifiable Credential draft for its issuance for a specific client.
|
|
3182
3038
|
* @param {string} credentialId
|
|
@@ -3265,6 +3121,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3265
3121
|
* @throws {RequiredError}
|
|
3266
3122
|
*/
|
|
3267
3123
|
didUpdate(walletId: string, did?: Did, options?: RawAxiosRequestConfig): AxiosPromise<Did>;
|
|
3124
|
+
/**
|
|
3125
|
+
*
|
|
3126
|
+
* @param {*} [options] Override http request option.
|
|
3127
|
+
* @throws {RequiredError}
|
|
3128
|
+
*/
|
|
3129
|
+
dummy(options?: RawAxiosRequestConfig): AxiosPromise<CredentialDraftMetadata>;
|
|
3268
3130
|
/**
|
|
3269
3131
|
*
|
|
3270
3132
|
* @param {*} [options] Override http request option.
|
|
@@ -3559,7 +3421,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3559
3421
|
* @throws {RequiredError}
|
|
3560
3422
|
* @memberof DefaultApi
|
|
3561
3423
|
*/
|
|
3562
|
-
credentialImport(walletId: string, credentialImport?: CredentialImport, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
3424
|
+
credentialImport(walletId: string, credentialImport?: CredentialImport, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialWrapper, any>>;
|
|
3563
3425
|
/**
|
|
3564
3426
|
* Prepares created Verifiable Credential draft for its issuance for a specific client.
|
|
3565
3427
|
* @param {string} credentialId
|
|
@@ -3658,6 +3520,13 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3658
3520
|
* @memberof DefaultApi
|
|
3659
3521
|
*/
|
|
3660
3522
|
didUpdate(walletId: string, did?: Did, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Did, any>>;
|
|
3523
|
+
/**
|
|
3524
|
+
*
|
|
3525
|
+
* @param {*} [options] Override http request option.
|
|
3526
|
+
* @throws {RequiredError}
|
|
3527
|
+
* @memberof DefaultApi
|
|
3528
|
+
*/
|
|
3529
|
+
dummy(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialDraftMetadata, any>>;
|
|
3661
3530
|
/**
|
|
3662
3531
|
*
|
|
3663
3532
|
* @param {*} [options] Override http request option.
|
package/api.js
CHANGED
|
@@ -38,13 +38,13 @@ exports.AccreditationRequestTypeEnum = {
|
|
|
38
38
|
RootTrustedAccreditationOrganisation: 'RootTrustedAccreditationOrganisation'
|
|
39
39
|
};
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* jwt_vc_vcdm - VC using W3C VC Data Model as jwt sd_jwt_vc - VC using sd_jwt_vc data model as jwt
|
|
42
42
|
* @export
|
|
43
43
|
* @enum {string}
|
|
44
44
|
*/
|
|
45
45
|
exports.CredentialFormat = {
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
SdJwtVc: 'sd_jwt_vc',
|
|
47
|
+
JwtVcVcdm: 'jwt_vc_vcdm'
|
|
48
48
|
};
|
|
49
49
|
exports.CredentialIssuerDefinitionCredentialIssuerEnum = {
|
|
50
50
|
CtWalletSame: 'CtWalletSame',
|
|
@@ -139,7 +139,10 @@ exports.WalletNotificationEventType = {
|
|
|
139
139
|
VpInvalid: 'vp.invalid',
|
|
140
140
|
IdTokenReceived: 'idToken.received',
|
|
141
141
|
OfferProcessed: 'offer.processed',
|
|
142
|
-
OfferInitiated: 'offer.initiated'
|
|
142
|
+
OfferInitiated: 'offer.initiated',
|
|
143
|
+
CredentialCreated: 'credential.created',
|
|
144
|
+
CredentialIssued: 'credential.issued',
|
|
145
|
+
CredentialReceived: 'credential.received'
|
|
143
146
|
};
|
|
144
147
|
/**
|
|
145
148
|
* DefaultApi - axios parameter creator
|
|
@@ -648,6 +651,30 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
648
651
|
options: localVarRequestOptions,
|
|
649
652
|
};
|
|
650
653
|
}),
|
|
654
|
+
/**
|
|
655
|
+
*
|
|
656
|
+
* @param {*} [options] Override http request option.
|
|
657
|
+
* @throws {RequiredError}
|
|
658
|
+
*/
|
|
659
|
+
dummy: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
660
|
+
const localVarPath = `/dummy`;
|
|
661
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
662
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
663
|
+
let baseOptions;
|
|
664
|
+
if (configuration) {
|
|
665
|
+
baseOptions = configuration.baseOptions;
|
|
666
|
+
}
|
|
667
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
668
|
+
const localVarHeaderParameter = {};
|
|
669
|
+
const localVarQueryParameter = {};
|
|
670
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
671
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
672
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
673
|
+
return {
|
|
674
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
675
|
+
options: localVarRequestOptions,
|
|
676
|
+
};
|
|
677
|
+
}),
|
|
651
678
|
/**
|
|
652
679
|
*
|
|
653
680
|
* @param {*} [options] Override http request option.
|
|
@@ -2020,6 +2047,20 @@ const DefaultApiFp = function (configuration) {
|
|
|
2020
2047
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2021
2048
|
});
|
|
2022
2049
|
},
|
|
2050
|
+
/**
|
|
2051
|
+
*
|
|
2052
|
+
* @param {*} [options] Override http request option.
|
|
2053
|
+
* @throws {RequiredError}
|
|
2054
|
+
*/
|
|
2055
|
+
dummy(options) {
|
|
2056
|
+
var _a, _b, _c;
|
|
2057
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2058
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.dummy(options);
|
|
2059
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2060
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.dummy']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2061
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2062
|
+
});
|
|
2063
|
+
},
|
|
2023
2064
|
/**
|
|
2024
2065
|
*
|
|
2025
2066
|
* @param {*} [options] Override http request option.
|
|
@@ -2690,6 +2731,14 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2690
2731
|
didUpdate(walletId, did, options) {
|
|
2691
2732
|
return localVarFp.didUpdate(walletId, did, options).then((request) => request(axios, basePath));
|
|
2692
2733
|
},
|
|
2734
|
+
/**
|
|
2735
|
+
*
|
|
2736
|
+
* @param {*} [options] Override http request option.
|
|
2737
|
+
* @throws {RequiredError}
|
|
2738
|
+
*/
|
|
2739
|
+
dummy(options) {
|
|
2740
|
+
return localVarFp.dummy(options).then((request) => request(axios, basePath));
|
|
2741
|
+
},
|
|
2693
2742
|
/**
|
|
2694
2743
|
*
|
|
2695
2744
|
* @param {*} [options] Override http request option.
|
|
@@ -3175,6 +3224,15 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3175
3224
|
didUpdate(walletId, did, options) {
|
|
3176
3225
|
return (0, exports.DefaultApiFp)(this.configuration).didUpdate(walletId, did, options).then((request) => request(this.axios, this.basePath));
|
|
3177
3226
|
}
|
|
3227
|
+
/**
|
|
3228
|
+
*
|
|
3229
|
+
* @param {*} [options] Override http request option.
|
|
3230
|
+
* @throws {RequiredError}
|
|
3231
|
+
* @memberof DefaultApi
|
|
3232
|
+
*/
|
|
3233
|
+
dummy(options) {
|
|
3234
|
+
return (0, exports.DefaultApiFp)(this.configuration).dummy(options).then((request) => request(this.axios, this.basePath));
|
|
3235
|
+
}
|
|
3178
3236
|
/**
|
|
3179
3237
|
*
|
|
3180
3238
|
* @param {*} [options] Override http request option.
|