@triveria/wallet 0.0.245 → 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 +39 -1626
- package/api.js +61 -76
- package/base.d.ts +0 -24
- package/base.js +0 -19
- package/common.d.ts +0 -37
- package/common.js +0 -37
- package/configuration.d.ts +0 -17
- package/package.json +1 -1
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
|
-
'trustedSchemasRegistry': string;
|
|
989
|
-
/**
|
|
990
|
-
*
|
|
991
|
-
* @type {string}
|
|
992
|
-
* @memberof EbsiConfiguration
|
|
993
|
-
*/
|
|
994
|
-
'mainSchema': string;
|
|
995
|
-
/**
|
|
996
|
-
*
|
|
997
|
-
* @type {string}
|
|
998
|
-
* @memberof EbsiConfiguration
|
|
999
|
-
*/
|
|
374
|
+
'trustedSchemasRegistry': string;
|
|
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
|
-
* Configuration for EUDI trust framework.
|
|
1047
|
-
* @export
|
|
1048
|
-
* @interface EudiConfiguration
|
|
393
|
+
* Configuration for EUDI trust framework. The field didTrustFramework marks which DID TF is used when the wallet uses did as its identifier.
|
|
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,244 +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
|
}
|
|
448
|
+
export interface IdTokenSendRequest {
|
|
449
|
+
'requestUrl': string;
|
|
450
|
+
}
|
|
1190
451
|
/**
|
|
1191
|
-
*
|
|
1192
|
-
* @export
|
|
1193
|
-
* @interface IdTokenSendRequest
|
|
452
|
+
* Configuration for IDTL trust framework
|
|
1194
453
|
*/
|
|
1195
|
-
export interface
|
|
454
|
+
export interface IdtlConfiguration {
|
|
1196
455
|
/**
|
|
1197
|
-
*
|
|
1198
|
-
* @type {string}
|
|
1199
|
-
* @memberof IdTokenSendRequest
|
|
456
|
+
* Defines if a wallet is onboarded
|
|
1200
457
|
*/
|
|
1201
|
-
'
|
|
458
|
+
'isOnboarded': boolean;
|
|
1202
459
|
}
|
|
1203
460
|
/**
|
|
1204
461
|
* Request for authorization flow credential issuance process start. Consists of offered credential\'s types and credential offer endpoint (most commonly only schema)
|
|
1205
|
-
* @export
|
|
1206
|
-
* @interface InitAuthOffer
|
|
1207
462
|
*/
|
|
1208
463
|
export interface InitAuthOffer {
|
|
1209
464
|
/**
|
|
1210
465
|
* ID of the issuer used to issue the credential.
|
|
1211
|
-
* @type {string}
|
|
1212
|
-
* @memberof InitAuthOffer
|
|
1213
466
|
*/
|
|
1214
467
|
'issuerId': string;
|
|
1215
|
-
/**
|
|
1216
|
-
*
|
|
1217
|
-
* @type {string}
|
|
1218
|
-
* @memberof InitAuthOffer
|
|
1219
|
-
*/
|
|
1220
468
|
'offerEndpoint'?: string;
|
|
1221
|
-
/**
|
|
1222
|
-
*
|
|
1223
|
-
* @type {boolean}
|
|
1224
|
-
* @memberof InitAuthOffer
|
|
1225
|
-
*/
|
|
1226
469
|
'deferred'?: boolean;
|
|
1227
470
|
/**
|
|
1228
471
|
* Id of issuance queue item. Required when issuer type is CredentialQueue type and no clientId was provided when adding credential to queue.
|
|
1229
|
-
* @type {string}
|
|
1230
|
-
* @memberof InitAuthOffer
|
|
1231
472
|
*/
|
|
1232
473
|
'issuanceQueueItemId'?: string;
|
|
1233
474
|
}
|
|
1234
475
|
/**
|
|
1235
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.
|
|
1236
|
-
* @export
|
|
1237
|
-
* @interface InitPreAuthOffer
|
|
1238
477
|
*/
|
|
1239
478
|
export interface InitPreAuthOffer {
|
|
1240
479
|
/**
|
|
1241
480
|
* DID of holder for which the offer is created.
|
|
1242
|
-
* @type {string}
|
|
1243
|
-
* @memberof InitPreAuthOffer
|
|
1244
481
|
*/
|
|
1245
482
|
'clientId'?: string;
|
|
1246
483
|
/**
|
|
1247
484
|
* ID of ID token request issued to the holder.
|
|
1248
|
-
* @type {string}
|
|
1249
|
-
* @memberof InitPreAuthOffer
|
|
1250
485
|
*/
|
|
1251
486
|
'idTokenRequestId'?: string;
|
|
1252
487
|
/**
|
|
1253
488
|
* ID of the issuer used to issue the credential.
|
|
1254
|
-
* @type {string}
|
|
1255
|
-
* @memberof InitPreAuthOffer
|
|
1256
489
|
*/
|
|
1257
490
|
'issuerId': string;
|
|
1258
|
-
/**
|
|
1259
|
-
*
|
|
1260
|
-
* @type {string}
|
|
1261
|
-
* @memberof InitPreAuthOffer
|
|
1262
|
-
*/
|
|
1263
491
|
'offerEndpoint'?: string;
|
|
1264
|
-
/**
|
|
1265
|
-
*
|
|
1266
|
-
* @type {boolean}
|
|
1267
|
-
* @memberof InitPreAuthOffer
|
|
1268
|
-
*/
|
|
1269
492
|
'deferred'?: boolean;
|
|
1270
493
|
}
|
|
1271
|
-
/**
|
|
1272
|
-
*
|
|
1273
|
-
* @export
|
|
1274
|
-
* @interface InputDescriptorSuitableCredentials
|
|
1275
|
-
*/
|
|
1276
494
|
export interface InputDescriptorSuitableCredentials {
|
|
1277
495
|
/**
|
|
1278
496
|
* ID of presentation definition input descriptor for which the credential list is suitable.
|
|
1279
|
-
* @type {string}
|
|
1280
|
-
* @memberof InputDescriptorSuitableCredentials
|
|
1281
497
|
*/
|
|
1282
498
|
'descriptorId': string;
|
|
1283
499
|
/**
|
|
1284
500
|
* Credential ID list of credentials suitable for presentation according to the specified input descriptor.
|
|
1285
|
-
* @type {Array<CredentialToPresentWrapper>}
|
|
1286
|
-
* @memberof InputDescriptorSuitableCredentials
|
|
1287
501
|
*/
|
|
1288
502
|
'credentials': Array<CredentialToPresentWrapper>;
|
|
1289
503
|
}
|
|
1290
|
-
/**
|
|
1291
|
-
*
|
|
1292
|
-
* @export
|
|
1293
|
-
* @interface InteractionAuthorizationConsent
|
|
1294
|
-
*/
|
|
1295
504
|
export interface InteractionAuthorizationConsent {
|
|
1296
505
|
/**
|
|
1297
506
|
* Pin code needed for pre-authorized credential offers. Required when authorization requirement type is `pin`
|
|
1298
|
-
* @type {string}
|
|
1299
|
-
* @memberof InteractionAuthorizationConsent
|
|
1300
507
|
*/
|
|
1301
508
|
'pin'?: string;
|
|
1302
509
|
/**
|
|
1303
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`.
|
|
1304
|
-
* @type {Array<InputDescriptorSuitableCredentials>}
|
|
1305
|
-
* @memberof InteractionAuthorizationConsent
|
|
1306
511
|
*/
|
|
1307
512
|
'credentialsToPresent'?: Array<InputDescriptorSuitableCredentials>;
|
|
1308
513
|
}
|
|
1309
|
-
/**
|
|
1310
|
-
*
|
|
1311
|
-
* @export
|
|
1312
|
-
* @interface InteractionAuthorizationRequirements
|
|
1313
|
-
*/
|
|
1314
514
|
export interface InteractionAuthorizationRequirements {
|
|
1315
|
-
/**
|
|
1316
|
-
*
|
|
1317
|
-
* @type {string}
|
|
1318
|
-
* @memberof InteractionAuthorizationRequirements
|
|
1319
|
-
*/
|
|
1320
515
|
'requirementType': InteractionAuthorizationRequirementsRequirementTypeEnum;
|
|
1321
|
-
/**
|
|
1322
|
-
*
|
|
1323
|
-
* @type {PresentationDefinition}
|
|
1324
|
-
* @memberof InteractionAuthorizationRequirements
|
|
1325
|
-
*/
|
|
1326
516
|
'presentationDefinition'?: PresentationDefinition;
|
|
1327
|
-
/**
|
|
1328
|
-
*
|
|
1329
|
-
* @type {DCQLQuery}
|
|
1330
|
-
* @memberof InteractionAuthorizationRequirements
|
|
1331
|
-
*/
|
|
1332
517
|
'dcqlQuery'?: DCQLQuery;
|
|
1333
518
|
/**
|
|
1334
519
|
* List of credentials suitable for presentation.
|
|
1335
|
-
* @type {Array<InputDescriptorSuitableCredentials>}
|
|
1336
|
-
* @memberof InteractionAuthorizationRequirements
|
|
1337
520
|
*/
|
|
1338
521
|
'presentationCandidates'?: Array<InputDescriptorSuitableCredentials>;
|
|
1339
|
-
/**
|
|
1340
|
-
*
|
|
1341
|
-
* @type {string}
|
|
1342
|
-
* @memberof InteractionAuthorizationRequirements
|
|
1343
|
-
*/
|
|
1344
522
|
'interactionId': string;
|
|
1345
|
-
/**
|
|
1346
|
-
*
|
|
1347
|
-
* @type {Array<string>}
|
|
1348
|
-
* @memberof InteractionAuthorizationRequirements
|
|
1349
|
-
*/
|
|
1350
523
|
'offeredCredentialsTypes'?: Array<string>;
|
|
1351
524
|
/**
|
|
1352
525
|
* Array of objects, where each object contains display properties of a Credential Issuer for a certain language.
|
|
1353
|
-
* @type {Array<IssuerDisplayItem>}
|
|
1354
|
-
* @memberof InteractionAuthorizationRequirements
|
|
1355
526
|
*/
|
|
1356
527
|
'issuerDisplay'?: Array<IssuerDisplayItem>;
|
|
1357
528
|
}
|
|
@@ -1362,117 +533,33 @@ export declare const InteractionAuthorizationRequirementsRequirementTypeEnum: {
|
|
|
1362
533
|
readonly Pin: "pin";
|
|
1363
534
|
};
|
|
1364
535
|
export type InteractionAuthorizationRequirementsRequirementTypeEnum = typeof InteractionAuthorizationRequirementsRequirementTypeEnum[keyof typeof InteractionAuthorizationRequirementsRequirementTypeEnum];
|
|
1365
|
-
/**
|
|
1366
|
-
*
|
|
1367
|
-
* @export
|
|
1368
|
-
* @interface IssuanceRequirementsToVerify
|
|
1369
|
-
*/
|
|
1370
536
|
export interface IssuanceRequirementsToVerify {
|
|
1371
537
|
/**
|
|
1372
538
|
* ID of the verifier used for the verification of presented credential.
|
|
1373
|
-
* @type {string}
|
|
1374
|
-
* @memberof IssuanceRequirementsToVerify
|
|
1375
539
|
*/
|
|
1376
540
|
'credentialVerifierId': string;
|
|
1377
|
-
/**
|
|
1378
|
-
*
|
|
1379
|
-
* @type {Array<FieldsToVerify>}
|
|
1380
|
-
* @memberof IssuanceRequirementsToVerify
|
|
1381
|
-
*/
|
|
1382
541
|
'verifiedFields': Array<FieldsToVerify>;
|
|
1383
542
|
}
|
|
1384
|
-
/**
|
|
1385
|
-
*
|
|
1386
|
-
* @export
|
|
1387
|
-
* @interface IssuerDisplayItem
|
|
1388
|
-
*/
|
|
1389
543
|
export interface IssuerDisplayItem {
|
|
1390
|
-
/**
|
|
1391
|
-
*
|
|
1392
|
-
* @type {string}
|
|
1393
|
-
* @memberof IssuerDisplayItem
|
|
1394
|
-
*/
|
|
1395
544
|
'name'?: string;
|
|
1396
|
-
/**
|
|
1397
|
-
*
|
|
1398
|
-
* @type {string}
|
|
1399
|
-
* @memberof IssuerDisplayItem
|
|
1400
|
-
*/
|
|
1401
545
|
'locale'?: string;
|
|
1402
|
-
/**
|
|
1403
|
-
*
|
|
1404
|
-
* @type {IssuerLogo}
|
|
1405
|
-
* @memberof IssuerDisplayItem
|
|
1406
|
-
*/
|
|
1407
546
|
'logo'?: IssuerLogo;
|
|
1408
547
|
}
|
|
1409
|
-
/**
|
|
1410
|
-
*
|
|
1411
|
-
* @export
|
|
1412
|
-
* @interface IssuerLogo
|
|
1413
|
-
*/
|
|
1414
548
|
export interface IssuerLogo {
|
|
1415
|
-
/**
|
|
1416
|
-
*
|
|
1417
|
-
* @type {string}
|
|
1418
|
-
* @memberof IssuerLogo
|
|
1419
|
-
*/
|
|
1420
549
|
'uri'?: string;
|
|
1421
|
-
/**
|
|
1422
|
-
*
|
|
1423
|
-
* @type {string}
|
|
1424
|
-
* @memberof IssuerLogo
|
|
1425
|
-
*/
|
|
1426
550
|
'alt_text'?: string;
|
|
1427
551
|
}
|
|
1428
|
-
/**
|
|
1429
|
-
*
|
|
1430
|
-
* @export
|
|
1431
|
-
* @interface LinkedVpCreateRequest
|
|
1432
|
-
*/
|
|
1433
552
|
export interface LinkedVpCreateRequest {
|
|
1434
|
-
/**
|
|
1435
|
-
*
|
|
1436
|
-
* @type {PresentationDefinition}
|
|
1437
|
-
* @memberof LinkedVpCreateRequest
|
|
1438
|
-
*/
|
|
1439
553
|
'presentationDefinition': PresentationDefinition;
|
|
1440
|
-
/**
|
|
1441
|
-
*
|
|
1442
|
-
* @type {Array<InputDescriptorSuitableCredentials>}
|
|
1443
|
-
* @memberof LinkedVpCreateRequest
|
|
1444
|
-
*/
|
|
1445
554
|
'credentialsToPresent': Array<InputDescriptorSuitableCredentials>;
|
|
1446
|
-
/**
|
|
1447
|
-
*
|
|
1448
|
-
* @type {string}
|
|
1449
|
-
* @memberof LinkedVpCreateRequest
|
|
1450
|
-
*/
|
|
1451
555
|
'expirationDate'?: string;
|
|
1452
556
|
}
|
|
1453
|
-
/**
|
|
1454
|
-
*
|
|
1455
|
-
* @export
|
|
1456
|
-
* @interface LinkedVpMetadata
|
|
1457
|
-
*/
|
|
1458
557
|
export interface LinkedVpMetadata {
|
|
1459
|
-
/**
|
|
1460
|
-
*
|
|
1461
|
-
* @type {string}
|
|
1462
|
-
* @memberof LinkedVpMetadata
|
|
1463
|
-
*/
|
|
1464
558
|
'linkedVpId': string;
|
|
1465
|
-
/**
|
|
1466
|
-
*
|
|
1467
|
-
* @type {string}
|
|
1468
|
-
* @memberof LinkedVpMetadata
|
|
1469
|
-
*/
|
|
1470
559
|
'linkedVpUrl': string;
|
|
1471
560
|
}
|
|
1472
561
|
/**
|
|
1473
562
|
* Sort flag controls the sort direction by the time created
|
|
1474
|
-
* @export
|
|
1475
|
-
* @enum {string}
|
|
1476
563
|
*/
|
|
1477
564
|
export declare const ListSort: {
|
|
1478
565
|
readonly Asc: "asc";
|
|
@@ -1481,159 +568,55 @@ export declare const ListSort: {
|
|
|
1481
568
|
export type ListSort = typeof ListSort[keyof typeof ListSort];
|
|
1482
569
|
/**
|
|
1483
570
|
* Common error message
|
|
1484
|
-
* @export
|
|
1485
|
-
* @interface ModelError
|
|
1486
571
|
*/
|
|
1487
572
|
export interface ModelError {
|
|
1488
|
-
/**
|
|
1489
|
-
*
|
|
1490
|
-
* @type {string}
|
|
1491
|
-
* @memberof ModelError
|
|
1492
|
-
*/
|
|
1493
573
|
'error': string;
|
|
1494
|
-
/**
|
|
1495
|
-
*
|
|
1496
|
-
* @type {string}
|
|
1497
|
-
* @memberof ModelError
|
|
1498
|
-
*/
|
|
1499
574
|
'message': string;
|
|
1500
575
|
}
|
|
1501
|
-
/**
|
|
1502
|
-
*
|
|
1503
|
-
* @export
|
|
1504
|
-
* @interface Oauth2AccessToken
|
|
1505
|
-
*/
|
|
1506
576
|
export interface Oauth2AccessToken {
|
|
1507
|
-
/**
|
|
1508
|
-
*
|
|
1509
|
-
* @type {string}
|
|
1510
|
-
* @memberof Oauth2AccessToken
|
|
1511
|
-
*/
|
|
1512
577
|
'access_token': string;
|
|
1513
|
-
/**
|
|
1514
|
-
*
|
|
1515
|
-
* @type {string}
|
|
1516
|
-
* @memberof Oauth2AccessToken
|
|
1517
|
-
*/
|
|
1518
578
|
'token_type': string;
|
|
1519
|
-
/**
|
|
1520
|
-
*
|
|
1521
|
-
* @type {string}
|
|
1522
|
-
* @memberof Oauth2AccessToken
|
|
1523
|
-
*/
|
|
1524
579
|
'expires_in': string;
|
|
1525
580
|
}
|
|
1526
|
-
/**
|
|
1527
|
-
*
|
|
1528
|
-
* @export
|
|
1529
|
-
* @interface Oauth2AccessTokenRequest
|
|
1530
|
-
*/
|
|
1531
581
|
export interface Oauth2AccessTokenRequest {
|
|
1532
582
|
/**
|
|
1533
583
|
* Value MUST be set to \"authorization_code\".
|
|
1534
|
-
* @type {string}
|
|
1535
|
-
* @memberof Oauth2AccessTokenRequest
|
|
1536
584
|
*/
|
|
1537
585
|
'grant_type': string;
|
|
1538
586
|
/**
|
|
1539
587
|
* The authorization code received from the.
|
|
1540
|
-
* @type {string}
|
|
1541
|
-
* @memberof Oauth2AccessTokenRequest
|
|
1542
588
|
*/
|
|
1543
589
|
'code': string;
|
|
1544
590
|
/**
|
|
1545
591
|
* REQUIRED, if the \"redirect_uri\" parameter was included in the authorization request.
|
|
1546
|
-
* @type {string}
|
|
1547
|
-
* @memberof Oauth2AccessTokenRequest
|
|
1548
592
|
*/
|
|
1549
593
|
'redirect_uri': string;
|
|
1550
594
|
/**
|
|
1551
595
|
* REQUIRED, if the client is not authenticating with the authorization server.
|
|
1552
|
-
* @type {string}
|
|
1553
|
-
* @memberof Oauth2AccessTokenRequest
|
|
1554
596
|
*/
|
|
1555
597
|
'client_id': string;
|
|
1556
598
|
/**
|
|
1557
599
|
* REQUIRED, if the client is not authenticating with the authorization server.
|
|
1558
|
-
* @type {string}
|
|
1559
|
-
* @memberof Oauth2AccessTokenRequest
|
|
1560
600
|
*/
|
|
1561
601
|
'client_secret': string;
|
|
1562
602
|
}
|
|
1563
|
-
/**
|
|
1564
|
-
*
|
|
1565
|
-
* @export
|
|
1566
|
-
* @interface Oauth2Profile
|
|
1567
|
-
*/
|
|
1568
603
|
export interface Oauth2Profile {
|
|
1569
|
-
/**
|
|
1570
|
-
*
|
|
1571
|
-
* @type {string}
|
|
1572
|
-
* @memberof Oauth2Profile
|
|
1573
|
-
*/
|
|
1574
604
|
'user_id': string;
|
|
1575
|
-
/**
|
|
1576
|
-
*
|
|
1577
|
-
* @type {string}
|
|
1578
|
-
* @memberof Oauth2Profile
|
|
1579
|
-
*/
|
|
1580
605
|
'email': string;
|
|
1581
606
|
}
|
|
1582
|
-
/**
|
|
1583
|
-
*
|
|
1584
|
-
* @export
|
|
1585
|
-
* @interface Oauth2RedirectUri
|
|
1586
|
-
*/
|
|
1587
607
|
export interface Oauth2RedirectUri {
|
|
1588
|
-
/**
|
|
1589
|
-
*
|
|
1590
|
-
* @type {string}
|
|
1591
|
-
* @memberof Oauth2RedirectUri
|
|
1592
|
-
*/
|
|
1593
608
|
'redirect_uri': string;
|
|
1594
609
|
}
|
|
1595
|
-
/**
|
|
1596
|
-
*
|
|
1597
|
-
* @export
|
|
1598
|
-
* @interface OfferReceivedNotification
|
|
1599
|
-
*/
|
|
1600
610
|
export interface OfferReceivedNotification {
|
|
1601
|
-
/**
|
|
1602
|
-
*
|
|
1603
|
-
* @type {string}
|
|
1604
|
-
* @memberof OfferReceivedNotification
|
|
1605
|
-
*/
|
|
1606
611
|
'credentialType': string;
|
|
1607
|
-
/**
|
|
1608
|
-
*
|
|
1609
|
-
* @type {string}
|
|
1610
|
-
* @memberof OfferReceivedNotification
|
|
1611
|
-
*/
|
|
1612
612
|
'offerId': string;
|
|
1613
|
-
/**
|
|
1614
|
-
*
|
|
1615
|
-
* @type {string}
|
|
1616
|
-
* @memberof OfferReceivedNotification
|
|
1617
|
-
*/
|
|
1618
613
|
'credentialId'?: string;
|
|
1619
614
|
}
|
|
1620
615
|
/**
|
|
1621
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.
|
|
1622
|
-
* @export
|
|
1623
|
-
* @interface OidcRevision
|
|
1624
617
|
*/
|
|
1625
618
|
export interface OidcRevision {
|
|
1626
|
-
/**
|
|
1627
|
-
*
|
|
1628
|
-
* @type {string}
|
|
1629
|
-
* @memberof OidcRevision
|
|
1630
|
-
*/
|
|
1631
619
|
'oidc4vci': OidcRevisionOidc4vciEnum;
|
|
1632
|
-
/**
|
|
1633
|
-
*
|
|
1634
|
-
* @type {string}
|
|
1635
|
-
* @memberof OidcRevision
|
|
1636
|
-
*/
|
|
1637
620
|
'oidc4vp': OidcRevisionOidc4vpEnum;
|
|
1638
621
|
}
|
|
1639
622
|
export declare const OidcRevisionOidc4vciEnum: {
|
|
@@ -1648,88 +631,33 @@ export declare const OidcRevisionOidc4vpEnum: {
|
|
|
1648
631
|
export type OidcRevisionOidc4vpEnum = typeof OidcRevisionOidc4vpEnum[keyof typeof OidcRevisionOidc4vpEnum];
|
|
1649
632
|
/**
|
|
1650
633
|
* On successful EBSI-onboarding result contains \"did:ebsi\" decentralized identifier
|
|
1651
|
-
* @export
|
|
1652
|
-
* @interface OnboardResult
|
|
1653
634
|
*/
|
|
1654
635
|
export interface OnboardResult {
|
|
1655
|
-
/**
|
|
1656
|
-
*
|
|
1657
|
-
* @type {string}
|
|
1658
|
-
* @memberof OnboardResult
|
|
1659
|
-
*/
|
|
1660
636
|
'did': string;
|
|
1661
637
|
}
|
|
1662
638
|
/**
|
|
1663
639
|
* Result of the preauthorized issuance process start. Consists of the preauthorized code, pin, and the issuer url.
|
|
1664
|
-
* @export
|
|
1665
|
-
* @interface PreAuthOffer
|
|
1666
640
|
*/
|
|
1667
641
|
export interface PreAuthOffer {
|
|
1668
|
-
/**
|
|
1669
|
-
*
|
|
1670
|
-
* @type {string}
|
|
1671
|
-
* @memberof PreAuthOffer
|
|
1672
|
-
*/
|
|
1673
642
|
'preauthCode': string;
|
|
1674
|
-
/**
|
|
1675
|
-
*
|
|
1676
|
-
* @type {string}
|
|
1677
|
-
* @memberof PreAuthOffer
|
|
1678
|
-
*/
|
|
1679
643
|
'pin': string;
|
|
1680
|
-
/**
|
|
1681
|
-
*
|
|
1682
|
-
* @type {string}
|
|
1683
|
-
* @memberof PreAuthOffer
|
|
1684
|
-
*/
|
|
1685
644
|
'issuerUrl': string;
|
|
1686
|
-
/**
|
|
1687
|
-
*
|
|
1688
|
-
* @type {string}
|
|
1689
|
-
* @memberof PreAuthOffer
|
|
1690
|
-
*/
|
|
1691
645
|
'offer': string;
|
|
1692
|
-
/**
|
|
1693
|
-
*
|
|
1694
|
-
* @type {string}
|
|
1695
|
-
* @memberof PreAuthOffer
|
|
1696
|
-
*/
|
|
1697
646
|
'validUntil': string;
|
|
1698
|
-
/**
|
|
1699
|
-
*
|
|
1700
|
-
* @type {string}
|
|
1701
|
-
* @memberof PreAuthOffer
|
|
1702
|
-
*/
|
|
1703
647
|
'offerId': string;
|
|
1704
648
|
}
|
|
1705
649
|
/**
|
|
1706
650
|
* Prepares to accredit legal entity\'s DID
|
|
1707
|
-
* @export
|
|
1708
|
-
* @interface PrepareToAccreditRequest
|
|
1709
651
|
*/
|
|
1710
652
|
export interface PrepareToAccreditRequest {
|
|
1711
|
-
/**
|
|
1712
|
-
*
|
|
1713
|
-
* @type {string}
|
|
1714
|
-
* @memberof PrepareToAccreditRequest
|
|
1715
|
-
*/
|
|
1716
653
|
'did': string;
|
|
1717
|
-
/**
|
|
1718
|
-
*
|
|
1719
|
-
* @type {string}
|
|
1720
|
-
* @memberof PrepareToAccreditRequest
|
|
1721
|
-
*/
|
|
1722
654
|
'type': PrepareToAccreditRequestTypeEnum;
|
|
1723
655
|
/**
|
|
1724
656
|
* Base64 encoded json to be used for the `accreditedFor` property of the credential
|
|
1725
|
-
* @type {string}
|
|
1726
|
-
* @memberof PrepareToAccreditRequest
|
|
1727
657
|
*/
|
|
1728
658
|
'accreditedFor': string;
|
|
1729
659
|
/**
|
|
1730
660
|
* Specifies when will the accreditation credential expire
|
|
1731
|
-
* @type {string}
|
|
1732
|
-
* @memberof PrepareToAccreditRequest
|
|
1733
661
|
*/
|
|
1734
662
|
'validUntil': string;
|
|
1735
663
|
}
|
|
@@ -1740,232 +668,56 @@ export declare const PrepareToAccreditRequestTypeEnum: {
|
|
|
1740
668
|
export type PrepareToAccreditRequestTypeEnum = typeof PrepareToAccreditRequestTypeEnum[keyof typeof PrepareToAccreditRequestTypeEnum];
|
|
1741
669
|
/**
|
|
1742
670
|
* Prepares to onboard legal entity\'s DID
|
|
1743
|
-
* @export
|
|
1744
|
-
* @interface PrepareToOnboardRequest
|
|
1745
671
|
*/
|
|
1746
672
|
export interface PrepareToOnboardRequest {
|
|
1747
673
|
/**
|
|
1748
674
|
* DID which will be onboarded
|
|
1749
|
-
* @type {string}
|
|
1750
|
-
* @memberof PrepareToOnboardRequest
|
|
1751
675
|
*/
|
|
1752
676
|
'did': string;
|
|
1753
677
|
/**
|
|
1754
678
|
* Specifies when the authorization to onboard credential will expire
|
|
1755
|
-
* @type {string}
|
|
1756
|
-
* @memberof PrepareToOnboardRequest
|
|
1757
679
|
*/
|
|
1758
680
|
'validUntil': string;
|
|
1759
681
|
}
|
|
1760
|
-
/**
|
|
1761
|
-
*
|
|
1762
|
-
* @export
|
|
1763
|
-
* @interface PresentationDefinition
|
|
1764
|
-
*/
|
|
1765
682
|
export interface PresentationDefinition {
|
|
1766
|
-
/**
|
|
1767
|
-
*
|
|
1768
|
-
* @type {string}
|
|
1769
|
-
* @memberof PresentationDefinition
|
|
1770
|
-
*/
|
|
1771
683
|
'id': string;
|
|
1772
|
-
/**
|
|
1773
|
-
*
|
|
1774
|
-
* @type {PresentationDefinitionFormat}
|
|
1775
|
-
* @memberof PresentationDefinition
|
|
1776
|
-
*/
|
|
1777
684
|
'format': PresentationDefinitionFormat;
|
|
1778
|
-
/**
|
|
1779
|
-
*
|
|
1780
|
-
* @type {Array<PresentationDefinitionInputDescriptor>}
|
|
1781
|
-
* @memberof PresentationDefinition
|
|
1782
|
-
*/
|
|
1783
685
|
'input_descriptors': Array<PresentationDefinitionInputDescriptor>;
|
|
1784
|
-
/**
|
|
1785
|
-
*
|
|
1786
|
-
* @type {Array<PresentationDefinitionSubmissionRequirements>}
|
|
1787
|
-
* @memberof PresentationDefinition
|
|
1788
|
-
*/
|
|
1789
686
|
'submission_requirements'?: Array<PresentationDefinitionSubmissionRequirements>;
|
|
1790
687
|
}
|
|
1791
|
-
/**
|
|
1792
|
-
*
|
|
1793
|
-
* @export
|
|
1794
|
-
* @interface PresentationDefinitionFormat
|
|
1795
|
-
*/
|
|
1796
688
|
export interface PresentationDefinitionFormat {
|
|
1797
|
-
/**
|
|
1798
|
-
*
|
|
1799
|
-
* @type {PresentationDefinitionFormatAlg}
|
|
1800
|
-
* @memberof PresentationDefinitionFormat
|
|
1801
|
-
*/
|
|
1802
689
|
'jwt_vc'?: PresentationDefinitionFormatAlg;
|
|
1803
|
-
/**
|
|
1804
|
-
*
|
|
1805
|
-
* @type {PresentationDefinitionFormatAlg}
|
|
1806
|
-
* @memberof PresentationDefinitionFormat
|
|
1807
|
-
*/
|
|
1808
690
|
'jwt_vp'?: PresentationDefinitionFormatAlg;
|
|
1809
|
-
/**
|
|
1810
|
-
*
|
|
1811
|
-
* @type {PresentationDefinitionFormatAlg}
|
|
1812
|
-
* @memberof PresentationDefinitionFormat
|
|
1813
|
-
*/
|
|
1814
691
|
'sd_jwt'?: PresentationDefinitionFormatAlg;
|
|
1815
|
-
/**
|
|
1816
|
-
*
|
|
1817
|
-
* @type {PresentationDefinitionFormatAlg}
|
|
1818
|
-
* @memberof PresentationDefinitionFormat
|
|
1819
|
-
*/
|
|
1820
692
|
'dc+sd-jwt-vc'?: PresentationDefinitionFormatAlg;
|
|
1821
|
-
/**
|
|
1822
|
-
*
|
|
1823
|
-
* @type {PresentationDefinitionFormatAlg}
|
|
1824
|
-
* @memberof PresentationDefinitionFormat
|
|
1825
|
-
*/
|
|
1826
693
|
'mso_mdoc'?: PresentationDefinitionFormatAlg;
|
|
1827
694
|
}
|
|
1828
|
-
/**
|
|
1829
|
-
*
|
|
1830
|
-
* @export
|
|
1831
|
-
* @interface PresentationDefinitionFormatAlg
|
|
1832
|
-
*/
|
|
1833
695
|
export interface PresentationDefinitionFormatAlg {
|
|
1834
|
-
/**
|
|
1835
|
-
*
|
|
1836
|
-
* @type {Array<string>}
|
|
1837
|
-
* @memberof PresentationDefinitionFormatAlg
|
|
1838
|
-
*/
|
|
1839
696
|
'alg': Array<string>;
|
|
1840
697
|
}
|
|
1841
|
-
/**
|
|
1842
|
-
*
|
|
1843
|
-
* @export
|
|
1844
|
-
* @interface PresentationDefinitionInputConstraint
|
|
1845
|
-
*/
|
|
1846
698
|
export interface PresentationDefinitionInputConstraint {
|
|
1847
|
-
/**
|
|
1848
|
-
*
|
|
1849
|
-
* @type {Array<PresentationDefinitionInputConstraintField>}
|
|
1850
|
-
* @memberof PresentationDefinitionInputConstraint
|
|
1851
|
-
*/
|
|
1852
699
|
'fields': Array<PresentationDefinitionInputConstraintField>;
|
|
1853
700
|
}
|
|
1854
|
-
/**
|
|
1855
|
-
*
|
|
1856
|
-
* @export
|
|
1857
|
-
* @interface PresentationDefinitionInputConstraintField
|
|
1858
|
-
*/
|
|
1859
701
|
export interface PresentationDefinitionInputConstraintField {
|
|
1860
|
-
/**
|
|
1861
|
-
*
|
|
1862
|
-
* @type {string}
|
|
1863
|
-
* @memberof PresentationDefinitionInputConstraintField
|
|
1864
|
-
*/
|
|
1865
702
|
'id'?: string;
|
|
1866
|
-
/**
|
|
1867
|
-
*
|
|
1868
|
-
* @type {string}
|
|
1869
|
-
* @memberof PresentationDefinitionInputConstraintField
|
|
1870
|
-
*/
|
|
1871
703
|
'name'?: string;
|
|
1872
|
-
/**
|
|
1873
|
-
*
|
|
1874
|
-
* @type {string}
|
|
1875
|
-
* @memberof PresentationDefinitionInputConstraintField
|
|
1876
|
-
*/
|
|
1877
704
|
'purpose'?: string;
|
|
1878
|
-
/**
|
|
1879
|
-
*
|
|
1880
|
-
* @type {object}
|
|
1881
|
-
* @memberof PresentationDefinitionInputConstraintField
|
|
1882
|
-
*/
|
|
1883
705
|
'filter'?: object;
|
|
1884
|
-
/**
|
|
1885
|
-
*
|
|
1886
|
-
* @type {Array<string>}
|
|
1887
|
-
* @memberof PresentationDefinitionInputConstraintField
|
|
1888
|
-
*/
|
|
1889
706
|
'path': Array<string>;
|
|
1890
707
|
}
|
|
1891
|
-
/**
|
|
1892
|
-
*
|
|
1893
|
-
* @export
|
|
1894
|
-
* @interface PresentationDefinitionInputDescriptor
|
|
1895
|
-
*/
|
|
1896
708
|
export interface PresentationDefinitionInputDescriptor {
|
|
1897
|
-
/**
|
|
1898
|
-
*
|
|
1899
|
-
* @type {string}
|
|
1900
|
-
* @memberof PresentationDefinitionInputDescriptor
|
|
1901
|
-
*/
|
|
1902
709
|
'id': string;
|
|
1903
|
-
/**
|
|
1904
|
-
*
|
|
1905
|
-
* @type {PresentationDefinitionFormat}
|
|
1906
|
-
* @memberof PresentationDefinitionInputDescriptor
|
|
1907
|
-
*/
|
|
1908
710
|
'format'?: PresentationDefinitionFormat;
|
|
1909
|
-
/**
|
|
1910
|
-
*
|
|
1911
|
-
* @type {PresentationDefinitionInputConstraint}
|
|
1912
|
-
* @memberof PresentationDefinitionInputDescriptor
|
|
1913
|
-
*/
|
|
1914
711
|
'constraints': PresentationDefinitionInputConstraint;
|
|
1915
|
-
/**
|
|
1916
|
-
*
|
|
1917
|
-
* @type {Array<string>}
|
|
1918
|
-
* @memberof PresentationDefinitionInputDescriptor
|
|
1919
|
-
*/
|
|
1920
712
|
'group'?: Array<string>;
|
|
1921
713
|
}
|
|
1922
|
-
/**
|
|
1923
|
-
*
|
|
1924
|
-
* @export
|
|
1925
|
-
* @interface PresentationDefinitionSubmissionRequirements
|
|
1926
|
-
*/
|
|
1927
714
|
export interface PresentationDefinitionSubmissionRequirements {
|
|
1928
|
-
/**
|
|
1929
|
-
*
|
|
1930
|
-
* @type {string}
|
|
1931
|
-
* @memberof PresentationDefinitionSubmissionRequirements
|
|
1932
|
-
*/
|
|
1933
715
|
'rule': PresentationDefinitionSubmissionRequirementsRuleEnum;
|
|
1934
|
-
/**
|
|
1935
|
-
*
|
|
1936
|
-
* @type {number}
|
|
1937
|
-
* @memberof PresentationDefinitionSubmissionRequirements
|
|
1938
|
-
*/
|
|
1939
716
|
'count'?: number;
|
|
1940
|
-
/**
|
|
1941
|
-
*
|
|
1942
|
-
* @type {number}
|
|
1943
|
-
* @memberof PresentationDefinitionSubmissionRequirements
|
|
1944
|
-
*/
|
|
1945
717
|
'min'?: number;
|
|
1946
|
-
/**
|
|
1947
|
-
*
|
|
1948
|
-
* @type {number}
|
|
1949
|
-
* @memberof PresentationDefinitionSubmissionRequirements
|
|
1950
|
-
*/
|
|
1951
718
|
'max'?: number;
|
|
1952
|
-
/**
|
|
1953
|
-
*
|
|
1954
|
-
* @type {string}
|
|
1955
|
-
* @memberof PresentationDefinitionSubmissionRequirements
|
|
1956
|
-
*/
|
|
1957
719
|
'from'?: string;
|
|
1958
|
-
/**
|
|
1959
|
-
*
|
|
1960
|
-
* @type {Array<PresentationDefinitionSubmissionRequirements>}
|
|
1961
|
-
* @memberof PresentationDefinitionSubmissionRequirements
|
|
1962
|
-
*/
|
|
1963
720
|
'from_nested'?: Array<PresentationDefinitionSubmissionRequirements>;
|
|
1964
|
-
/**
|
|
1965
|
-
*
|
|
1966
|
-
* @type {string}
|
|
1967
|
-
* @memberof PresentationDefinitionSubmissionRequirements
|
|
1968
|
-
*/
|
|
1969
721
|
'name'?: string;
|
|
1970
722
|
}
|
|
1971
723
|
export declare const PresentationDefinitionSubmissionRequirementsRuleEnum: {
|
|
@@ -1975,83 +727,27 @@ export declare const PresentationDefinitionSubmissionRequirementsRuleEnum: {
|
|
|
1975
727
|
export type PresentationDefinitionSubmissionRequirementsRuleEnum = typeof PresentationDefinitionSubmissionRequirementsRuleEnum[keyof typeof PresentationDefinitionSubmissionRequirementsRuleEnum];
|
|
1976
728
|
/**
|
|
1977
729
|
* Metadata of the verifiable presentation
|
|
1978
|
-
* @export
|
|
1979
|
-
* @interface PresentationMetadata
|
|
1980
730
|
*/
|
|
1981
731
|
export interface PresentationMetadata {
|
|
1982
|
-
/**
|
|
1983
|
-
*
|
|
1984
|
-
* @type {string}
|
|
1985
|
-
* @memberof PresentationMetadata
|
|
1986
|
-
*/
|
|
1987
732
|
'id'?: string;
|
|
1988
|
-
/**
|
|
1989
|
-
*
|
|
1990
|
-
* @type {string}
|
|
1991
|
-
* @memberof PresentationMetadata
|
|
1992
|
-
*/
|
|
1993
733
|
'type'?: string;
|
|
1994
|
-
/**
|
|
1995
|
-
*
|
|
1996
|
-
* @type {string}
|
|
1997
|
-
* @memberof PresentationMetadata
|
|
1998
|
-
*/
|
|
1999
734
|
'issuanceDate'?: string;
|
|
2000
|
-
/**
|
|
2001
|
-
*
|
|
2002
|
-
* @type {string}
|
|
2003
|
-
* @memberof PresentationMetadata
|
|
2004
|
-
*/
|
|
2005
735
|
'expirationDate'?: string;
|
|
2006
|
-
/**
|
|
2007
|
-
*
|
|
2008
|
-
* @type {string}
|
|
2009
|
-
* @memberof PresentationMetadata
|
|
2010
|
-
*/
|
|
2011
736
|
'issuer'?: string;
|
|
2012
|
-
/**
|
|
2013
|
-
*
|
|
2014
|
-
* @type {CredentialFormat}
|
|
2015
|
-
* @memberof PresentationMetadata
|
|
2016
|
-
*/
|
|
2017
737
|
'format'?: CredentialFormat;
|
|
2018
|
-
/**
|
|
2019
|
-
*
|
|
2020
|
-
* @type {string}
|
|
2021
|
-
* @memberof PresentationMetadata
|
|
2022
|
-
*/
|
|
2023
738
|
'credentialSchema'?: string;
|
|
2024
739
|
}
|
|
2025
|
-
/**
|
|
2026
|
-
*
|
|
2027
|
-
* @export
|
|
2028
|
-
* @interface PresentationRequest
|
|
2029
|
-
*/
|
|
2030
740
|
export interface PresentationRequest {
|
|
2031
741
|
/**
|
|
2032
742
|
* URL of verifier authorization server. MUST contain the verifier scope as a query parameter(`scope`).
|
|
2033
|
-
* @type {string}
|
|
2034
|
-
* @memberof PresentationRequest
|
|
2035
743
|
*/
|
|
2036
744
|
'verifierUrl': string;
|
|
2037
745
|
}
|
|
2038
746
|
/**
|
|
2039
747
|
* Info needed to revoke legal entity\'s DID
|
|
2040
|
-
* @export
|
|
2041
|
-
* @interface RevokeAccreditationRequest
|
|
2042
748
|
*/
|
|
2043
749
|
export interface RevokeAccreditationRequest {
|
|
2044
|
-
/**
|
|
2045
|
-
*
|
|
2046
|
-
* @type {string}
|
|
2047
|
-
* @memberof RevokeAccreditationRequest
|
|
2048
|
-
*/
|
|
2049
750
|
'did': string;
|
|
2050
|
-
/**
|
|
2051
|
-
*
|
|
2052
|
-
* @type {string}
|
|
2053
|
-
* @memberof RevokeAccreditationRequest
|
|
2054
|
-
*/
|
|
2055
751
|
'type': RevokeAccreditationRequestTypeEnum;
|
|
2056
752
|
}
|
|
2057
753
|
export declare const RevokeAccreditationRequestTypeEnum: {
|
|
@@ -2059,11 +755,6 @@ export declare const RevokeAccreditationRequestTypeEnum: {
|
|
|
2059
755
|
readonly TrustedAccreditationOrganisation: "TrustedAccreditationOrganisation";
|
|
2060
756
|
};
|
|
2061
757
|
export type RevokeAccreditationRequestTypeEnum = typeof RevokeAccreditationRequestTypeEnum[keyof typeof RevokeAccreditationRequestTypeEnum];
|
|
2062
|
-
/**
|
|
2063
|
-
*
|
|
2064
|
-
* @export
|
|
2065
|
-
* @enum {string}
|
|
2066
|
-
*/
|
|
2067
758
|
export declare const SigningKeyIdentifier: {
|
|
2068
759
|
readonly Did: "did";
|
|
2069
760
|
readonly Jwk: "jwk";
|
|
@@ -2072,27 +763,10 @@ export declare const SigningKeyIdentifier: {
|
|
|
2072
763
|
export type SigningKeyIdentifier = typeof SigningKeyIdentifier[keyof typeof SigningKeyIdentifier];
|
|
2073
764
|
/**
|
|
2074
765
|
* The subsystem status impact on the overall system
|
|
2075
|
-
* @export
|
|
2076
|
-
* @interface SystemImpact
|
|
2077
766
|
*/
|
|
2078
767
|
export interface SystemImpact {
|
|
2079
|
-
/**
|
|
2080
|
-
*
|
|
2081
|
-
* @type {string}
|
|
2082
|
-
* @memberof SystemImpact
|
|
2083
|
-
*/
|
|
2084
768
|
'subsystem': string;
|
|
2085
|
-
/**
|
|
2086
|
-
*
|
|
2087
|
-
* @type {string}
|
|
2088
|
-
* @memberof SystemImpact
|
|
2089
|
-
*/
|
|
2090
769
|
'status': SystemImpactStatusEnum;
|
|
2091
|
-
/**
|
|
2092
|
-
*
|
|
2093
|
-
* @type {string}
|
|
2094
|
-
* @memberof SystemImpact
|
|
2095
|
-
*/
|
|
2096
770
|
'message': string;
|
|
2097
771
|
}
|
|
2098
772
|
export declare const SystemImpactStatusEnum: {
|
|
@@ -2103,8 +777,6 @@ export declare const SystemImpactStatusEnum: {
|
|
|
2103
777
|
export type SystemImpactStatusEnum = typeof SystemImpactStatusEnum[keyof typeof SystemImpactStatusEnum];
|
|
2104
778
|
/**
|
|
2105
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)
|
|
2106
|
-
* @export
|
|
2107
|
-
* @enum {string}
|
|
2108
780
|
*/
|
|
2109
781
|
export declare const TrustFrameworkType: {
|
|
2110
782
|
readonly Ebsi: "EBSI";
|
|
@@ -2113,155 +785,71 @@ export declare const TrustFrameworkType: {
|
|
|
2113
785
|
readonly Eudi: "EUDI";
|
|
2114
786
|
};
|
|
2115
787
|
export type TrustFrameworkType = typeof TrustFrameworkType[keyof typeof TrustFrameworkType];
|
|
2116
|
-
/**
|
|
2117
|
-
*
|
|
2118
|
-
* @export
|
|
2119
|
-
* @interface VPDrivenIssuerConfig
|
|
2120
|
-
*/
|
|
2121
788
|
export interface VPDrivenIssuerConfig {
|
|
2122
789
|
/**
|
|
2123
790
|
* ID of the verifier used for verification of presented credential.
|
|
2124
|
-
* @type {string}
|
|
2125
|
-
* @memberof VPDrivenIssuerConfig
|
|
2126
791
|
*/
|
|
2127
792
|
'credentialVerifierId': string;
|
|
2128
793
|
/**
|
|
2129
794
|
* Mapping of the input values set as JSONPath elements to the output credential claims.
|
|
2130
|
-
* @type {object}
|
|
2131
|
-
* @memberof VPDrivenIssuerConfig
|
|
2132
795
|
*/
|
|
2133
796
|
'mapping'?: object;
|
|
2134
797
|
}
|
|
2135
798
|
/**
|
|
2136
799
|
* The offer to be accepted. The offer URL is mandatory.
|
|
2137
|
-
* @export
|
|
2138
|
-
* @interface VcOffer
|
|
2139
800
|
*/
|
|
2140
801
|
export interface VcOffer {
|
|
2141
802
|
/**
|
|
2142
803
|
* The Verifiable Credential offer URL provided by the issuer
|
|
2143
|
-
* @type {string}
|
|
2144
|
-
* @memberof VcOffer
|
|
2145
804
|
*/
|
|
2146
805
|
'Url': string;
|
|
2147
806
|
}
|
|
2148
|
-
/**
|
|
2149
|
-
*
|
|
2150
|
-
* @export
|
|
2151
|
-
* @interface VerifiedLinkedVp
|
|
2152
|
-
*/
|
|
2153
807
|
export interface VerifiedLinkedVp {
|
|
2154
|
-
/**
|
|
2155
|
-
*
|
|
2156
|
-
* @type {string}
|
|
2157
|
-
* @memberof VerifiedLinkedVp
|
|
2158
|
-
*/
|
|
2159
808
|
'linkedVpId': string;
|
|
2160
|
-
/**
|
|
2161
|
-
*
|
|
2162
|
-
* @type {Array<CredentialWrapper>}
|
|
2163
|
-
* @memberof VerifiedLinkedVp
|
|
2164
|
-
*/
|
|
2165
809
|
'credentials': Array<CredentialWrapper>;
|
|
2166
810
|
}
|
|
2167
811
|
/**
|
|
2168
812
|
* Wrapped result of successful verification interaction.
|
|
2169
|
-
* @export
|
|
2170
|
-
* @interface VerifiedWrapper
|
|
2171
813
|
*/
|
|
2172
814
|
export interface VerifiedWrapper {
|
|
2173
|
-
/**
|
|
2174
|
-
*
|
|
2175
|
-
* @type {Array<CredentialWrapper>}
|
|
2176
|
-
* @memberof VerifiedWrapper
|
|
2177
|
-
*/
|
|
2178
815
|
'credentials': Array<CredentialWrapper>;
|
|
2179
816
|
/**
|
|
2180
817
|
* The Verifiable Presentation that was presented during the interaction.
|
|
2181
|
-
* @type {string}
|
|
2182
|
-
* @memberof VerifiedWrapper
|
|
2183
818
|
*/
|
|
2184
819
|
'vp': string;
|
|
2185
820
|
}
|
|
2186
821
|
/**
|
|
2187
822
|
* Request for the creation of URL used by holder to present credentials to a verifier.
|
|
2188
|
-
* @export
|
|
2189
|
-
* @interface VerifyInitRequest
|
|
2190
823
|
*/
|
|
2191
824
|
export interface VerifyInitRequest {
|
|
2192
|
-
/**
|
|
2193
|
-
*
|
|
2194
|
-
* @type {string}
|
|
2195
|
-
* @memberof VerifyInitRequest
|
|
2196
|
-
*/
|
|
2197
825
|
'verifierId': string;
|
|
2198
826
|
}
|
|
2199
|
-
/**
|
|
2200
|
-
*
|
|
2201
|
-
* @export
|
|
2202
|
-
* @interface VerifyInitResponse
|
|
2203
|
-
*/
|
|
2204
827
|
export interface VerifyInitResponse {
|
|
2205
828
|
/**
|
|
2206
829
|
* Url of verifier authorization server that contains the requested verifier scope.
|
|
2207
|
-
* @type {string}
|
|
2208
|
-
* @memberof VerifyInitResponse
|
|
2209
830
|
*/
|
|
2210
831
|
'verifierUrl': string;
|
|
2211
832
|
/**
|
|
2212
833
|
* A code that can be used to match the verified credential for later use.
|
|
2213
|
-
* @type {string}
|
|
2214
|
-
* @memberof VerifyInitResponse
|
|
2215
834
|
*/
|
|
2216
835
|
'verifierState': string;
|
|
2217
836
|
}
|
|
2218
|
-
/**
|
|
2219
|
-
*
|
|
2220
|
-
* @export
|
|
2221
|
-
* @interface VpVerifiedNotification
|
|
2222
|
-
*/
|
|
2223
837
|
export interface VpVerifiedNotification {
|
|
2224
|
-
/**
|
|
2225
|
-
*
|
|
2226
|
-
* @type {string}
|
|
2227
|
-
* @memberof VpVerifiedNotification
|
|
2228
|
-
*/
|
|
2229
838
|
'verifierId': string;
|
|
2230
839
|
}
|
|
2231
840
|
/**
|
|
2232
841
|
* Wallet details
|
|
2233
|
-
* @export
|
|
2234
|
-
* @interface Wallet
|
|
2235
842
|
*/
|
|
2236
843
|
export interface Wallet {
|
|
2237
|
-
/**
|
|
2238
|
-
*
|
|
2239
|
-
* @type {string}
|
|
2240
|
-
* @memberof Wallet
|
|
2241
|
-
*/
|
|
2242
844
|
'walletId'?: string;
|
|
2243
|
-
/**
|
|
2244
|
-
*
|
|
2245
|
-
* @type {string}
|
|
2246
|
-
* @memberof Wallet
|
|
2247
|
-
*/
|
|
2248
845
|
'name': string;
|
|
2249
846
|
/**
|
|
2250
847
|
* This property defines the capabilities which the wallet has. It may be any of \"holder\", \"issuer\" and \"verifier\".
|
|
2251
|
-
* @type {Array<WalletCapability>}
|
|
2252
|
-
* @memberof Wallet
|
|
2253
848
|
*/
|
|
2254
849
|
'capabilities'?: Array<WalletCapability>;
|
|
2255
|
-
/**
|
|
2256
|
-
*
|
|
2257
|
-
* @type {WalletConfig}
|
|
2258
|
-
* @memberof Wallet
|
|
2259
|
-
*/
|
|
2260
850
|
'config': WalletConfig;
|
|
2261
851
|
/**
|
|
2262
852
|
* Custom key value pairs associated with the wallet. The key must not exceed 64 characters and the value must not exceed 256 characters.
|
|
2263
|
-
* @type {{ [key: string]: any; }}
|
|
2264
|
-
* @memberof Wallet
|
|
2265
853
|
*/
|
|
2266
854
|
'metadata'?: {
|
|
2267
855
|
[key: string]: any;
|
|
@@ -2269,8 +857,6 @@ export interface Wallet {
|
|
|
2269
857
|
}
|
|
2270
858
|
/**
|
|
2271
859
|
* Defines the capabilities which the wallet has. It may be any of \"holder\", \"issuer\" and \"verifier\".
|
|
2272
|
-
* @export
|
|
2273
|
-
* @enum {string}
|
|
2274
860
|
*/
|
|
2275
861
|
export declare const WalletCapability: {
|
|
2276
862
|
readonly Holder: "holder";
|
|
@@ -2280,178 +866,64 @@ export declare const WalletCapability: {
|
|
|
2280
866
|
export type WalletCapability = typeof WalletCapability[keyof typeof WalletCapability];
|
|
2281
867
|
/**
|
|
2282
868
|
* Wallet specific configuration.
|
|
2283
|
-
* @export
|
|
2284
|
-
* @interface WalletConfig
|
|
2285
869
|
*/
|
|
2286
870
|
export interface WalletConfig {
|
|
2287
871
|
/**
|
|
2288
872
|
* List of credential issuers to be used with credentials of a specific type during their issuance.
|
|
2289
|
-
* @type {Array<CredentialIssuerDefinition>}
|
|
2290
|
-
* @memberof WalletConfig
|
|
2291
873
|
*/
|
|
2292
874
|
'credentialIssuers'?: Array<CredentialIssuerDefinition>;
|
|
2293
875
|
/**
|
|
2294
876
|
* List of verification definitions that the wallet will be able to use for verification process.
|
|
2295
|
-
* @type {Array<CredentialVerifierDefinition>}
|
|
2296
|
-
* @memberof WalletConfig
|
|
2297
877
|
*/
|
|
2298
878
|
'credentialVerifiers'?: Array<CredentialVerifierDefinition>;
|
|
2299
|
-
/**
|
|
2300
|
-
*
|
|
2301
|
-
* @type {OidcRevision}
|
|
2302
|
-
* @memberof WalletConfig
|
|
2303
|
-
*/
|
|
2304
879
|
'oidcRevision'?: OidcRevision;
|
|
2305
|
-
/**
|
|
2306
|
-
*
|
|
2307
|
-
* @type {TrustFrameworkType}
|
|
2308
|
-
* @memberof WalletConfig
|
|
2309
|
-
*/
|
|
2310
880
|
'trustFramework': TrustFrameworkType;
|
|
2311
|
-
/**
|
|
2312
|
-
*
|
|
2313
|
-
* @type {EbsiSpecificWalletData}
|
|
2314
|
-
* @memberof WalletConfig
|
|
2315
|
-
*/
|
|
2316
881
|
'EBSI'?: EbsiSpecificWalletData;
|
|
2317
|
-
/**
|
|
2318
|
-
*
|
|
2319
|
-
* @type {EudiConfiguration}
|
|
2320
|
-
* @memberof WalletConfig
|
|
2321
|
-
*/
|
|
2322
882
|
'EUDI'?: EudiConfiguration;
|
|
2323
|
-
|
|
2324
|
-
*
|
|
2325
|
-
* @type {SigningKeyIdentifier}
|
|
2326
|
-
* @memberof WalletConfig
|
|
2327
|
-
*/
|
|
883
|
+
'IDTL'?: IdtlConfiguration;
|
|
2328
884
|
'walletKeyIdentifier': SigningKeyIdentifier;
|
|
2329
885
|
/**
|
|
2330
886
|
* Expiration time in seconds for credential status lists. Used only if the wallet is a credential issuer
|
|
2331
|
-
* @type {number}
|
|
2332
|
-
* @memberof WalletConfig
|
|
2333
887
|
*/
|
|
2334
888
|
'statusListExpiration'?: number;
|
|
2335
889
|
}
|
|
2336
890
|
/**
|
|
2337
891
|
* Payload to create a wallet
|
|
2338
|
-
* @export
|
|
2339
|
-
* @interface WalletCreatePayload
|
|
2340
892
|
*/
|
|
2341
893
|
export interface WalletCreatePayload {
|
|
2342
|
-
/**
|
|
2343
|
-
*
|
|
2344
|
-
* @type {string}
|
|
2345
|
-
* @memberof WalletCreatePayload
|
|
2346
|
-
*/
|
|
2347
894
|
'name': string;
|
|
2348
|
-
/**
|
|
2349
|
-
*
|
|
2350
|
-
* @type {WalletConfig}
|
|
2351
|
-
* @memberof WalletCreatePayload
|
|
2352
|
-
*/
|
|
2353
895
|
'config': WalletConfig;
|
|
2354
896
|
/**
|
|
2355
897
|
* Custom key value pairs associated with the wallet. The key must not exceed 64 characters and the value must not exceed 256 characters.
|
|
2356
|
-
* @type {{ [key: string]: any; }}
|
|
2357
|
-
* @memberof WalletCreatePayload
|
|
2358
898
|
*/
|
|
2359
899
|
'metadata'?: {
|
|
2360
900
|
[key: string]: any;
|
|
2361
901
|
};
|
|
2362
902
|
}
|
|
2363
|
-
/**
|
|
2364
|
-
*
|
|
2365
|
-
* @export
|
|
2366
|
-
* @interface WalletIdObject
|
|
2367
|
-
*/
|
|
2368
903
|
export interface WalletIdObject {
|
|
2369
|
-
/**
|
|
2370
|
-
*
|
|
2371
|
-
* @type {string}
|
|
2372
|
-
* @memberof WalletIdObject
|
|
2373
|
-
*/
|
|
2374
904
|
'id': string;
|
|
2375
905
|
}
|
|
2376
906
|
/**
|
|
2377
907
|
* DID or Wallet URL depending on the configured wallet key identifier
|
|
2378
|
-
* @export
|
|
2379
|
-
* @interface WalletIdentifier
|
|
2380
908
|
*/
|
|
2381
909
|
export interface WalletIdentifier {
|
|
2382
|
-
/**
|
|
2383
|
-
*
|
|
2384
|
-
* @type {string}
|
|
2385
|
-
* @memberof WalletIdentifier
|
|
2386
|
-
*/
|
|
2387
910
|
'identifier': string;
|
|
2388
911
|
}
|
|
2389
|
-
/**
|
|
2390
|
-
*
|
|
2391
|
-
* @export
|
|
2392
|
-
* @interface WalletListItem
|
|
2393
|
-
*/
|
|
2394
912
|
export interface WalletListItem {
|
|
2395
|
-
/**
|
|
2396
|
-
*
|
|
2397
|
-
* @type {string}
|
|
2398
|
-
* @memberof WalletListItem
|
|
2399
|
-
*/
|
|
2400
913
|
'walletId': string;
|
|
2401
|
-
/**
|
|
2402
|
-
*
|
|
2403
|
-
* @type {string}
|
|
2404
|
-
* @memberof WalletListItem
|
|
2405
|
-
*/
|
|
2406
914
|
'name': string;
|
|
2407
|
-
/**
|
|
2408
|
-
*
|
|
2409
|
-
* @type {Array<WalletCapability>}
|
|
2410
|
-
* @memberof WalletListItem
|
|
2411
|
-
*/
|
|
2412
915
|
'capabilities': Array<WalletCapability>;
|
|
2413
916
|
}
|
|
2414
|
-
/**
|
|
2415
|
-
*
|
|
2416
|
-
* @export
|
|
2417
|
-
* @interface WalletNotification
|
|
2418
|
-
*/
|
|
2419
917
|
export interface WalletNotification {
|
|
2420
|
-
/**
|
|
2421
|
-
*
|
|
2422
|
-
* @type {string}
|
|
2423
|
-
* @memberof WalletNotification
|
|
2424
|
-
*/
|
|
2425
918
|
'subjectDid': string;
|
|
2426
|
-
/**
|
|
2427
|
-
*
|
|
2428
|
-
* @type {WalletNotificationEventType}
|
|
2429
|
-
* @memberof WalletNotification
|
|
2430
|
-
*/
|
|
2431
919
|
'eventType': WalletNotificationEventType;
|
|
2432
|
-
/**
|
|
2433
|
-
*
|
|
2434
|
-
* @type {WalletNotificationEventDetails}
|
|
2435
|
-
* @memberof WalletNotification
|
|
2436
|
-
*/
|
|
2437
920
|
'eventDetails'?: WalletNotificationEventDetails;
|
|
2438
|
-
/**
|
|
2439
|
-
*
|
|
2440
|
-
* @type {string}
|
|
2441
|
-
* @memberof WalletNotification
|
|
2442
|
-
*/
|
|
2443
921
|
'time': string;
|
|
2444
922
|
}
|
|
2445
923
|
/**
|
|
2446
924
|
* @type WalletNotificationEventDetails
|
|
2447
|
-
* @export
|
|
2448
925
|
*/
|
|
2449
926
|
export type WalletNotificationEventDetails = CredentialIssuedNotification | IdTokenReceivedNotification | OfferReceivedNotification | VpVerifiedNotification;
|
|
2450
|
-
/**
|
|
2451
|
-
*
|
|
2452
|
-
* @export
|
|
2453
|
-
* @enum {string}
|
|
2454
|
-
*/
|
|
2455
927
|
export declare const WalletNotificationEventType: {
|
|
2456
928
|
readonly VpVerified: "vp.verified";
|
|
2457
929
|
readonly VpInvalid: "vp.invalid";
|
|
@@ -2463,47 +935,18 @@ export declare const WalletNotificationEventType: {
|
|
|
2463
935
|
readonly CredentialReceived: "credential.received";
|
|
2464
936
|
};
|
|
2465
937
|
export type WalletNotificationEventType = typeof WalletNotificationEventType[keyof typeof WalletNotificationEventType];
|
|
2466
|
-
/**
|
|
2467
|
-
*
|
|
2468
|
-
* @export
|
|
2469
|
-
* @interface WalletNotificationHistory
|
|
2470
|
-
*/
|
|
2471
938
|
export interface WalletNotificationHistory {
|
|
2472
|
-
/**
|
|
2473
|
-
*
|
|
2474
|
-
* @type {Array<WalletNotification>}
|
|
2475
|
-
* @memberof WalletNotificationHistory
|
|
2476
|
-
*/
|
|
2477
939
|
'list': Array<WalletNotification>;
|
|
2478
|
-
/**
|
|
2479
|
-
*
|
|
2480
|
-
* @type {string}
|
|
2481
|
-
* @memberof WalletNotificationHistory
|
|
2482
|
-
*/
|
|
2483
940
|
'next': string;
|
|
2484
941
|
}
|
|
2485
942
|
/**
|
|
2486
943
|
* Payload to update wallet data
|
|
2487
|
-
* @export
|
|
2488
|
-
* @interface WalletPatchPayload
|
|
2489
944
|
*/
|
|
2490
945
|
export interface WalletPatchPayload {
|
|
2491
|
-
/**
|
|
2492
|
-
*
|
|
2493
|
-
* @type {string}
|
|
2494
|
-
* @memberof WalletPatchPayload
|
|
2495
|
-
*/
|
|
2496
946
|
'name'?: string;
|
|
2497
|
-
/**
|
|
2498
|
-
*
|
|
2499
|
-
* @type {WalletConfig}
|
|
2500
|
-
* @memberof WalletPatchPayload
|
|
2501
|
-
*/
|
|
2502
947
|
'config'?: WalletConfig;
|
|
2503
948
|
/**
|
|
2504
949
|
* Custom key value pairs associated with the wallet. The key must not exceed 64 characters and the value must not exceed 256 characters.
|
|
2505
|
-
* @type {{ [key: string]: any; }}
|
|
2506
|
-
* @memberof WalletPatchPayload
|
|
2507
950
|
*/
|
|
2508
951
|
'metadata'?: {
|
|
2509
952
|
[key: string]: any;
|
|
@@ -2511,7 +954,6 @@ export interface WalletPatchPayload {
|
|
|
2511
954
|
}
|
|
2512
955
|
/**
|
|
2513
956
|
* DefaultApi - axios parameter creator
|
|
2514
|
-
* @export
|
|
2515
957
|
*/
|
|
2516
958
|
export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2517
959
|
/**
|
|
@@ -2901,6 +1343,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2901
1343
|
* @throws {RequiredError}
|
|
2902
1344
|
*/
|
|
2903
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>;
|
|
2904
1353
|
/**
|
|
2905
1354
|
* Imports an X509 certificate to be used when signing credentials
|
|
2906
1355
|
* @param {string} walletId Wallet ID
|
|
@@ -2912,7 +1361,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2912
1361
|
};
|
|
2913
1362
|
/**
|
|
2914
1363
|
* DefaultApi - functional programming interface
|
|
2915
|
-
* @export
|
|
2916
1364
|
*/
|
|
2917
1365
|
export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
2918
1366
|
/**
|
|
@@ -3304,6 +1752,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
3304
1752
|
* @throws {RequiredError}
|
|
3305
1753
|
*/
|
|
3306
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>>;
|
|
3307
1762
|
/**
|
|
3308
1763
|
* Imports an X509 certificate to be used when signing credentials
|
|
3309
1764
|
* @param {string} walletId Wallet ID
|
|
@@ -3315,7 +1770,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
3315
1770
|
};
|
|
3316
1771
|
/**
|
|
3317
1772
|
* DefaultApi - factory interface
|
|
3318
|
-
* @export
|
|
3319
1773
|
*/
|
|
3320
1774
|
export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3321
1775
|
/**
|
|
@@ -3707,6 +2161,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3707
2161
|
* @throws {RequiredError}
|
|
3708
2162
|
*/
|
|
3709
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>;
|
|
3710
2171
|
/**
|
|
3711
2172
|
* Imports an X509 certificate to be used when signing credentials
|
|
3712
2173
|
* @param {string} walletId Wallet ID
|
|
@@ -3718,9 +2179,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3718
2179
|
};
|
|
3719
2180
|
/**
|
|
3720
2181
|
* DefaultApi - object-oriented interface
|
|
3721
|
-
* @export
|
|
3722
|
-
* @class DefaultApi
|
|
3723
|
-
* @extends {BaseAPI}
|
|
3724
2182
|
*/
|
|
3725
2183
|
export declare class DefaultApi extends BaseAPI {
|
|
3726
2184
|
/**
|
|
@@ -3729,7 +2187,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3729
2187
|
* @param {CredentialPayload} [credentialPayload] A Verifiable Credential payload in JSON format.
|
|
3730
2188
|
* @param {*} [options] Override http request option.
|
|
3731
2189
|
* @throws {RequiredError}
|
|
3732
|
-
* @memberof DefaultApi
|
|
3733
2190
|
*/
|
|
3734
2191
|
credentialCreate(walletId: string, credentialPayload?: CredentialPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialIdObject, any>>;
|
|
3735
2192
|
/**
|
|
@@ -3738,7 +2195,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3738
2195
|
* @param {string} walletId
|
|
3739
2196
|
* @param {*} [options] Override http request option.
|
|
3740
2197
|
* @throws {RequiredError}
|
|
3741
|
-
* @memberof DefaultApi
|
|
3742
2198
|
*/
|
|
3743
2199
|
credentialGet(credentialId: string, walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialWrapper, any>>;
|
|
3744
2200
|
/**
|
|
@@ -3747,7 +2203,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3747
2203
|
* @param {CredentialImport} [credentialImport] A Verifiable Credential payload in JSON format.
|
|
3748
2204
|
* @param {*} [options] Override http request option.
|
|
3749
2205
|
* @throws {RequiredError}
|
|
3750
|
-
* @memberof DefaultApi
|
|
3751
2206
|
*/
|
|
3752
2207
|
credentialImport(walletId: string, credentialImport?: CredentialImport, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialWrapper, any>>;
|
|
3753
2208
|
/**
|
|
@@ -3757,7 +2212,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3757
2212
|
* @param {CredentialIssuanceInit} [credentialIssuanceInit]
|
|
3758
2213
|
* @param {*} [options] Override http request option.
|
|
3759
2214
|
* @throws {RequiredError}
|
|
3760
|
-
* @memberof DefaultApi
|
|
3761
2215
|
*/
|
|
3762
2216
|
credentialIssuanceInit(credentialId: string, walletId: string, credentialIssuanceInit?: CredentialIssuanceInit, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialIssuanceInitResult, any>>;
|
|
3763
2217
|
/**
|
|
@@ -3773,7 +2227,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3773
2227
|
* @param {string} [filter] JSON schema filter used to select the credentials (base64 encoded)
|
|
3774
2228
|
* @param {*} [options] Override http request option.
|
|
3775
2229
|
* @throws {RequiredError}
|
|
3776
|
-
* @memberof DefaultApi
|
|
3777
2230
|
*/
|
|
3778
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>>;
|
|
3779
2232
|
/**
|
|
@@ -3783,7 +2236,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3783
2236
|
* @param {CredentialMetadataPatchPayload} [credentialMetadataPatchPayload] Verifiable Credential metadata in JSON
|
|
3784
2237
|
* @param {*} [options] Override http request option.
|
|
3785
2238
|
* @throws {RequiredError}
|
|
3786
|
-
* @memberof DefaultApi
|
|
3787
2239
|
*/
|
|
3788
2240
|
credentialMetadataPatch(credentialId: string, walletId: string, credentialMetadataPatchPayload?: CredentialMetadataPatchPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialIdObject, any>>;
|
|
3789
2241
|
/**
|
|
@@ -3793,7 +2245,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3793
2245
|
* @param {CredentialPatchPayload} [credentialPatchPayload]
|
|
3794
2246
|
* @param {*} [options] Override http request option.
|
|
3795
2247
|
* @throws {RequiredError}
|
|
3796
|
-
* @memberof DefaultApi
|
|
3797
2248
|
*/
|
|
3798
2249
|
credentialPatch(credentialId: string, walletId: string, credentialPatchPayload?: CredentialPatchPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialIdObject, any>>;
|
|
3799
2250
|
/**
|
|
@@ -3802,7 +2253,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3802
2253
|
* @param {CredentialRequest} [credentialRequest] A Verifiable Credential request: types and URL of the issuer
|
|
3803
2254
|
* @param {*} [options] Override http request option.
|
|
3804
2255
|
* @throws {RequiredError}
|
|
3805
|
-
* @memberof DefaultApi
|
|
3806
2256
|
*/
|
|
3807
2257
|
credentialRequestInit(walletId: string, credentialRequest?: CredentialRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any>>;
|
|
3808
2258
|
/**
|
|
@@ -3811,7 +2261,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3811
2261
|
* @param {string} walletId
|
|
3812
2262
|
* @param {*} [options] Override http request option.
|
|
3813
2263
|
* @throws {RequiredError}
|
|
3814
|
-
* @memberof DefaultApi
|
|
3815
2264
|
*/
|
|
3816
2265
|
credentialRevoke(credentialId: string, walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3817
2266
|
/**
|
|
@@ -3820,7 +2269,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3820
2269
|
* @param {string} walletId
|
|
3821
2270
|
* @param {*} [options] Override http request option.
|
|
3822
2271
|
* @throws {RequiredError}
|
|
3823
|
-
* @memberof DefaultApi
|
|
3824
2272
|
*/
|
|
3825
2273
|
deferredStatus(deferredId: string, walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Deferred, any>>;
|
|
3826
2274
|
/**
|
|
@@ -3828,14 +2276,12 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3828
2276
|
* @param {string} walletId
|
|
3829
2277
|
* @param {*} [options] Override http request option.
|
|
3830
2278
|
* @throws {RequiredError}
|
|
3831
|
-
* @memberof DefaultApi
|
|
3832
2279
|
*/
|
|
3833
2280
|
didDocumentGet(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
3834
2281
|
/**
|
|
3835
2282
|
*
|
|
3836
2283
|
* @param {*} [options] Override http request option.
|
|
3837
2284
|
* @throws {RequiredError}
|
|
3838
|
-
* @memberof DefaultApi
|
|
3839
2285
|
*/
|
|
3840
2286
|
healthCheck(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HealthStatus, any>>;
|
|
3841
2287
|
/**
|
|
@@ -3844,7 +2290,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3844
2290
|
* @param {HolderAuthOfferCreationRequest} [holderAuthOfferCreationRequest]
|
|
3845
2291
|
* @param {*} [options] Override http request option.
|
|
3846
2292
|
* @throws {RequiredError}
|
|
3847
|
-
* @memberof DefaultApi
|
|
3848
2293
|
*/
|
|
3849
2294
|
holderCreateAuthOffer(walletId: string, holderAuthOfferCreationRequest?: HolderAuthOfferCreationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3850
2295
|
/**
|
|
@@ -3854,7 +2299,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3854
2299
|
* @param {InteractionAuthorizationConsent} [interactionAuthorizationConsent]
|
|
3855
2300
|
* @param {*} [options] Override http request option.
|
|
3856
2301
|
* @throws {RequiredError}
|
|
3857
|
-
* @memberof DefaultApi
|
|
3858
2302
|
*/
|
|
3859
2303
|
holderCredentialsPresentAfterConsent(walletId: string, interactionId: string, interactionAuthorizationConsent?: InteractionAuthorizationConsent, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3860
2304
|
/**
|
|
@@ -3863,7 +2307,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3863
2307
|
* @param {IdTokenSendRequest} [idTokenSendRequest]
|
|
3864
2308
|
* @param {*} [options] Override http request option.
|
|
3865
2309
|
* @throws {RequiredError}
|
|
3866
|
-
* @memberof DefaultApi
|
|
3867
2310
|
*/
|
|
3868
2311
|
holderIdTokenSend(walletId: string, idTokenSendRequest?: IdTokenSendRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3869
2312
|
/**
|
|
@@ -3872,7 +2315,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3872
2315
|
* @param {LinkedVpCreateRequest} [linkedVpCreateRequest]
|
|
3873
2316
|
* @param {*} [options] Override http request option.
|
|
3874
2317
|
* @throws {RequiredError}
|
|
3875
|
-
* @memberof DefaultApi
|
|
3876
2318
|
*/
|
|
3877
2319
|
holderLinkedVpCreate(walletId: string, linkedVpCreateRequest?: LinkedVpCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkedVpMetadata, any>>;
|
|
3878
2320
|
/**
|
|
@@ -3881,7 +2323,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3881
2323
|
* @param {string} linkedVpId
|
|
3882
2324
|
* @param {*} [options] Override http request option.
|
|
3883
2325
|
* @throws {RequiredError}
|
|
3884
|
-
* @memberof DefaultApi
|
|
3885
2326
|
*/
|
|
3886
2327
|
holderLinkedVpDelete(walletId: string, linkedVpId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3887
2328
|
/**
|
|
@@ -3890,7 +2331,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3890
2331
|
* @param {string} linkedVpId
|
|
3891
2332
|
* @param {*} [options] Override http request option.
|
|
3892
2333
|
* @throws {RequiredError}
|
|
3893
|
-
* @memberof DefaultApi
|
|
3894
2334
|
*/
|
|
3895
2335
|
holderLinkedVpGetDetails(walletId: string, linkedVpId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkedVpMetadata, any>>;
|
|
3896
2336
|
/**
|
|
@@ -3898,7 +2338,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3898
2338
|
* @param {string} walletId
|
|
3899
2339
|
* @param {*} [options] Override http request option.
|
|
3900
2340
|
* @throws {RequiredError}
|
|
3901
|
-
* @memberof DefaultApi
|
|
3902
2341
|
*/
|
|
3903
2342
|
holderLinkedVpList(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkedVpMetadata[], any>>;
|
|
3904
2343
|
/**
|
|
@@ -3907,7 +2346,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3907
2346
|
* @param {VcOffer} [vcOffer] Verifiable Credential offer
|
|
3908
2347
|
* @param {*} [options] Override http request option.
|
|
3909
2348
|
* @throws {RequiredError}
|
|
3910
|
-
* @memberof DefaultApi
|
|
3911
2349
|
*/
|
|
3912
2350
|
holderOfferPassAuthInfo(walletId: string, vcOffer?: VcOffer, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InteractionAuthorizationRequirements, any>>;
|
|
3913
2351
|
/**
|
|
@@ -3917,7 +2355,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3917
2355
|
* @param {InteractionAuthorizationConsent} [interactionAuthorizationConsent]
|
|
3918
2356
|
* @param {*} [options] Override http request option.
|
|
3919
2357
|
* @throws {RequiredError}
|
|
3920
|
-
* @memberof DefaultApi
|
|
3921
2358
|
*/
|
|
3922
2359
|
holderOfferProcessAfterConsent(walletId: string, interactionId: string, interactionAuthorizationConsent?: InteractionAuthorizationConsent, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string[], any>>;
|
|
3923
2360
|
/**
|
|
@@ -3926,7 +2363,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3926
2363
|
* @param {PresentationRequest} [presentationRequest]
|
|
3927
2364
|
* @param {*} [options] Override http request option.
|
|
3928
2365
|
* @throws {RequiredError}
|
|
3929
|
-
* @memberof DefaultApi
|
|
3930
2366
|
*/
|
|
3931
2367
|
holderPresentPassAuthInfo(walletId: string, presentationRequest?: PresentationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InteractionAuthorizationRequirements, any>>;
|
|
3932
2368
|
/**
|
|
@@ -3934,7 +2370,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3934
2370
|
* @param {string} walletId
|
|
3935
2371
|
* @param {*} [options] Override http request option.
|
|
3936
2372
|
* @throws {RequiredError}
|
|
3937
|
-
* @memberof DefaultApi
|
|
3938
2373
|
*/
|
|
3939
2374
|
idTokenRequestCreate(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IdTokenRequest, any>>;
|
|
3940
2375
|
/**
|
|
@@ -3942,7 +2377,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3942
2377
|
* @param {string} url
|
|
3943
2378
|
* @param {*} [options] Override http request option.
|
|
3944
2379
|
* @throws {RequiredError}
|
|
3945
|
-
* @memberof DefaultApi
|
|
3946
2380
|
*/
|
|
3947
2381
|
issuerCredentialTypesList(url: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialType[], any>>;
|
|
3948
2382
|
/**
|
|
@@ -3951,7 +2385,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3951
2385
|
* @param {InitAuthOffer} [initAuthOffer]
|
|
3952
2386
|
* @param {*} [options] Override http request option.
|
|
3953
2387
|
* @throws {RequiredError}
|
|
3954
|
-
* @memberof DefaultApi
|
|
3955
2388
|
*/
|
|
3956
2389
|
issuerInitiateAuthOffer(walletId: string, initAuthOffer?: InitAuthOffer, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthOffer, any>>;
|
|
3957
2390
|
/**
|
|
@@ -3960,7 +2393,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3960
2393
|
* @param {InitPreAuthOffer} [initPreAuthOffer]
|
|
3961
2394
|
* @param {*} [options] Override http request option.
|
|
3962
2395
|
* @throws {RequiredError}
|
|
3963
|
-
* @memberof DefaultApi
|
|
3964
2396
|
*/
|
|
3965
2397
|
issuerInitiatePreauthOffer(walletId: string, initPreAuthOffer?: InitPreAuthOffer, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PreAuthOffer, any>>;
|
|
3966
2398
|
/**
|
|
@@ -3969,7 +2401,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3969
2401
|
* @param {AccreditationRequest} [accreditationRequest]
|
|
3970
2402
|
* @param {*} [options] Override http request option.
|
|
3971
2403
|
* @throws {RequiredError}
|
|
3972
|
-
* @memberof DefaultApi
|
|
3973
2404
|
*/
|
|
3974
2405
|
tfAccreditAs(walletId: string, accreditationRequest?: AccreditationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3975
2406
|
/**
|
|
@@ -3977,7 +2408,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3977
2408
|
* @param {string} walletId
|
|
3978
2409
|
* @param {*} [options] Override http request option.
|
|
3979
2410
|
* @throws {RequiredError}
|
|
3980
|
-
* @memberof DefaultApi
|
|
3981
2411
|
*/
|
|
3982
2412
|
tfOnboard(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OnboardResult, any>>;
|
|
3983
2413
|
/**
|
|
@@ -3986,7 +2416,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3986
2416
|
* @param {PrepareToAccreditRequest} [prepareToAccreditRequest]
|
|
3987
2417
|
* @param {*} [options] Override http request option.
|
|
3988
2418
|
* @throws {RequiredError}
|
|
3989
|
-
* @memberof DefaultApi
|
|
3990
2419
|
*/
|
|
3991
2420
|
tfPrepareToAccredit(walletId: string, prepareToAccreditRequest?: PrepareToAccreditRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3992
2421
|
/**
|
|
@@ -3995,7 +2424,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3995
2424
|
* @param {PrepareToOnboardRequest} [prepareToOnboardRequest]
|
|
3996
2425
|
* @param {*} [options] Override http request option.
|
|
3997
2426
|
* @throws {RequiredError}
|
|
3998
|
-
* @memberof DefaultApi
|
|
3999
2427
|
*/
|
|
4000
2428
|
tfPrepareToOnboard(walletId: string, prepareToOnboardRequest?: PrepareToOnboardRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
4001
2429
|
/**
|
|
@@ -4004,7 +2432,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4004
2432
|
* @param {RevokeAccreditationRequest} [revokeAccreditationRequest]
|
|
4005
2433
|
* @param {*} [options] Override http request option.
|
|
4006
2434
|
* @throws {RequiredError}
|
|
4007
|
-
* @memberof DefaultApi
|
|
4008
2435
|
*/
|
|
4009
2436
|
tfRevokeAccreditation(walletId: string, revokeAccreditationRequest?: RevokeAccreditationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
4010
2437
|
/**
|
|
@@ -4013,7 +2440,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4013
2440
|
* @param {CertificateIssueRequest} [certificateIssueRequest]
|
|
4014
2441
|
* @param {*} [options] Override http request option.
|
|
4015
2442
|
* @throws {RequiredError}
|
|
4016
|
-
* @memberof DefaultApi
|
|
4017
2443
|
*/
|
|
4018
2444
|
tfX509CertificateIssue(walletId: string, certificateIssueRequest?: CertificateIssueRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CertificateIssueResponse, any>>;
|
|
4019
2445
|
/**
|
|
@@ -4022,7 +2448,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4022
2448
|
* @param {VerifyInitRequest} [verifyInitRequest]
|
|
4023
2449
|
* @param {*} [options] Override http request option.
|
|
4024
2450
|
* @throws {RequiredError}
|
|
4025
|
-
* @memberof DefaultApi
|
|
4026
2451
|
*/
|
|
4027
2452
|
verifierInitUrlCreate(walletId: string, verifyInitRequest?: VerifyInitRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifyInitResponse, any>>;
|
|
4028
2453
|
/**
|
|
@@ -4031,7 +2456,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4031
2456
|
* @param {string} did
|
|
4032
2457
|
* @param {*} [options] Override http request option.
|
|
4033
2458
|
* @throws {RequiredError}
|
|
4034
|
-
* @memberof DefaultApi
|
|
4035
2459
|
*/
|
|
4036
2460
|
verifierLinkedVpVerify(walletId: string, did: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifiedLinkedVp[], any>>;
|
|
4037
2461
|
/**
|
|
@@ -4039,7 +2463,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4039
2463
|
* @param {WalletCreatePayload} [walletCreatePayload]
|
|
4040
2464
|
* @param {*} [options] Override http request option.
|
|
4041
2465
|
* @throws {RequiredError}
|
|
4042
|
-
* @memberof DefaultApi
|
|
4043
2466
|
*/
|
|
4044
2467
|
walletCreate(walletCreatePayload?: WalletCreatePayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletIdObject, any>>;
|
|
4045
2468
|
/**
|
|
@@ -4047,7 +2470,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4047
2470
|
* @param {string} walletId
|
|
4048
2471
|
* @param {*} [options] Override http request option.
|
|
4049
2472
|
* @throws {RequiredError}
|
|
4050
|
-
* @memberof DefaultApi
|
|
4051
2473
|
*/
|
|
4052
2474
|
walletDelete(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
4053
2475
|
/**
|
|
@@ -4055,7 +2477,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4055
2477
|
* @param {string} walletId
|
|
4056
2478
|
* @param {*} [options] Override http request option.
|
|
4057
2479
|
* @throws {RequiredError}
|
|
4058
|
-
* @memberof DefaultApi
|
|
4059
2480
|
*/
|
|
4060
2481
|
walletGet(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Wallet, any>>;
|
|
4061
2482
|
/**
|
|
@@ -4063,7 +2484,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4063
2484
|
* @param {string} walletId
|
|
4064
2485
|
* @param {*} [options] Override http request option.
|
|
4065
2486
|
* @throws {RequiredError}
|
|
4066
|
-
* @memberof DefaultApi
|
|
4067
2487
|
*/
|
|
4068
2488
|
walletIdentifierGet(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletIdentifier, any>>;
|
|
4069
2489
|
/**
|
|
@@ -4072,7 +2492,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4072
2492
|
* @param {WalletIdentifier} [walletIdentifier] The new wallet identifier
|
|
4073
2493
|
* @param {*} [options] Override http request option.
|
|
4074
2494
|
* @throws {RequiredError}
|
|
4075
|
-
* @memberof DefaultApi
|
|
4076
2495
|
*/
|
|
4077
2496
|
walletIdentifierUpdate(walletId: string, walletIdentifier?: WalletIdentifier, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletIdentifier, any>>;
|
|
4078
2497
|
/**
|
|
@@ -4080,7 +2499,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4080
2499
|
* @param {string} walletId Wallet ID
|
|
4081
2500
|
* @param {*} [options] Override http request option.
|
|
4082
2501
|
* @throws {RequiredError}
|
|
4083
|
-
* @memberof DefaultApi
|
|
4084
2502
|
*/
|
|
4085
2503
|
walletKeys(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
4086
2504
|
[key: string]: any;
|
|
@@ -4091,7 +2509,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4091
2509
|
* @param {string} [searchName] Wallet name to search using \"begins-with\" filter
|
|
4092
2510
|
* @param {*} [options] Override http request option.
|
|
4093
2511
|
* @throws {RequiredError}
|
|
4094
|
-
* @memberof DefaultApi
|
|
4095
2512
|
*/
|
|
4096
2513
|
walletList(ownerId?: string, searchName?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletListItem[], any>>;
|
|
4097
2514
|
/**
|
|
@@ -4101,7 +2518,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4101
2518
|
* @param {string} state Event identifier
|
|
4102
2519
|
* @param {*} [options] Override http request option.
|
|
4103
2520
|
* @throws {RequiredError}
|
|
4104
|
-
* @memberof DefaultApi
|
|
4105
2521
|
*/
|
|
4106
2522
|
walletNotificationGetByState(walletId: string, eventType: string, state: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletNotification, any>>;
|
|
4107
2523
|
/**
|
|
@@ -4113,7 +2529,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4113
2529
|
* @param {ListSort} [sort] Sort flag controls the sort direction by the time created
|
|
4114
2530
|
* @param {*} [options] Override http request option.
|
|
4115
2531
|
* @throws {RequiredError}
|
|
4116
|
-
* @memberof DefaultApi
|
|
4117
2532
|
*/
|
|
4118
2533
|
walletNotificationHistory(walletId: string, limit?: number, nextMarker?: string, type?: Array<WalletNotificationEventType>, sort?: ListSort, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletNotificationHistory, any>>;
|
|
4119
2534
|
/**
|
|
@@ -4121,7 +2536,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4121
2536
|
* @param {string} walletId Wallet ID
|
|
4122
2537
|
* @param {*} [options] Override http request option.
|
|
4123
2538
|
* @throws {RequiredError}
|
|
4124
|
-
* @memberof DefaultApi
|
|
4125
2539
|
*/
|
|
4126
2540
|
walletNotifications(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletNotification[], any>>;
|
|
4127
2541
|
/**
|
|
@@ -4130,7 +2544,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4130
2544
|
* @param {WalletPatchPayload} [walletPatchPayload]
|
|
4131
2545
|
* @param {*} [options] Override http request option.
|
|
4132
2546
|
* @throws {RequiredError}
|
|
4133
|
-
* @memberof DefaultApi
|
|
4134
2547
|
*/
|
|
4135
2548
|
walletPatch(walletId: string, walletPatchPayload?: WalletPatchPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletIdObject, any>>;
|
|
4136
2549
|
/**
|
|
@@ -4139,7 +2552,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4139
2552
|
* @param {string} state Verifier state
|
|
4140
2553
|
* @param {*} [options] Override http request option.
|
|
4141
2554
|
* @throws {RequiredError}
|
|
4142
|
-
* @memberof DefaultApi
|
|
4143
2555
|
*/
|
|
4144
2556
|
walletVerifiedCredentialsByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifiedWrapper, any>>;
|
|
4145
2557
|
/**
|
|
@@ -4148,7 +2560,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4148
2560
|
* @param {string} state Verifier state
|
|
4149
2561
|
* @param {*} [options] Override http request option.
|
|
4150
2562
|
* @throws {RequiredError}
|
|
4151
|
-
* @memberof DefaultApi
|
|
4152
2563
|
*/
|
|
4153
2564
|
walletVerifiedCredentialsDeleteByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
4154
2565
|
/**
|
|
@@ -4157,22 +2568,24 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
4157
2568
|
* @param {CSRCreateRequest} [cSRCreateRequest]
|
|
4158
2569
|
* @param {*} [options] Override http request option.
|
|
4159
2570
|
* @throws {RequiredError}
|
|
4160
|
-
* @memberof DefaultApi
|
|
4161
2571
|
*/
|
|
4162
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>>;
|
|
4163
2580
|
/**
|
|
4164
2581
|
* Imports an X509 certificate to be used when signing credentials
|
|
4165
2582
|
* @param {string} walletId Wallet ID
|
|
4166
2583
|
* @param {CertificateImportRequest} [certificateImportRequest]
|
|
4167
2584
|
* @param {*} [options] Override http request option.
|
|
4168
2585
|
* @throws {RequiredError}
|
|
4169
|
-
* @memberof DefaultApi
|
|
4170
2586
|
*/
|
|
4171
2587
|
walletX509CertificateImport(walletId: string, certificateImportRequest?: CertificateImportRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
4172
2588
|
}
|
|
4173
|
-
/**
|
|
4174
|
-
* @export
|
|
4175
|
-
*/
|
|
4176
2589
|
export declare const CredentialListInteractionEnum: {
|
|
4177
2590
|
readonly Issuance: "issuance";
|
|
4178
2591
|
readonly Receive: "receive";
|