@idunion/tl-sdk 0.0.2
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 +1375 -0
- package/api.js +1122 -0
- package/auth.d.ts +1 -0
- package/auth.js +25 -0
- package/base.d.ts +66 -0
- package/base.js +68 -0
- package/client.d.ts +17 -0
- package/client.js +31 -0
- package/common.d.ts +65 -0
- package/common.js +161 -0
- package/configuration.d.ts +91 -0
- package/configuration.js +44 -0
- package/index.d.ts +15 -0
- package/index.js +33 -0
- package/package.json +24 -0
package/api.d.ts
ADDED
|
@@ -0,0 +1,1375 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IDunion Trust List API
|
|
3
|
+
* IDunion Trust List API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 0.0.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from './configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import type { RequestArgs } from './base';
|
|
15
|
+
import { BaseAPI } from './base';
|
|
16
|
+
/**
|
|
17
|
+
* @type CapabilityInvocationInner
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export type CapabilityInvocationInner = VerificationMethod | string;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @export
|
|
24
|
+
* @interface Credential
|
|
25
|
+
*/
|
|
26
|
+
export interface Credential {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
/**
|
|
29
|
+
* The value of the @context property MUST be an ordered set where the first item is a URL with the value https://www.w3.org/ns/credentials/v2. Subsequent items in the array MUST express context information and be composed of any combination of URLs or objects. It is RECOMMENDED that each URL in the @context be one which, if dereferenced, results in a document containing machine-readable information about the @context. https://www.w3.org/TR/vc-data-model-2.0/#contexts
|
|
30
|
+
* @type {Array<string>}
|
|
31
|
+
* @memberof Credential
|
|
32
|
+
*/
|
|
33
|
+
'@context'?: Array<string>;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof Credential
|
|
38
|
+
*/
|
|
39
|
+
'id'?: string;
|
|
40
|
+
/**
|
|
41
|
+
* The value of the type property MUST be, or map to (through interpretation of the @context property), one or more URLs. If more than one URL is provided, the URLs MUST be interpreted as an unordered set. Syntactic conveniences SHOULD be used to ease developer usage. Such conveniences might include JSON-LD terms. It is RECOMMENDED that each URL in the type be one which, if dereferenced, results in a document containing machine-readable information about the type. https://www.w3.org/TR/vc-data-model-2.0/#types
|
|
42
|
+
* @type {Array<string>}
|
|
43
|
+
* @memberof Credential
|
|
44
|
+
*/
|
|
45
|
+
'type'?: Array<string>;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {CredentialSchema}
|
|
49
|
+
* @memberof Credential
|
|
50
|
+
*/
|
|
51
|
+
'credentialSchema'?: CredentialSchema;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {CredentialSubject}
|
|
55
|
+
* @memberof Credential
|
|
56
|
+
*/
|
|
57
|
+
'credentialSubject'?: CredentialSubject;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {CredentialStatus}
|
|
61
|
+
* @memberof Credential
|
|
62
|
+
*/
|
|
63
|
+
'credentialStatus'?: CredentialStatus;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {Array<EvidenceItem>}
|
|
67
|
+
* @memberof Credential
|
|
68
|
+
*/
|
|
69
|
+
'evidence'?: Array<EvidenceItem>;
|
|
70
|
+
/**
|
|
71
|
+
* Date Time Stamp string value representing the date and time the credential becomes valid https://www.w3.org/TR/vc-data-model-2.0/#defn-validFrom
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof Credential
|
|
74
|
+
*/
|
|
75
|
+
'validFrom'?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Date Time Stamp string value representing the date and time the credential ceases to be valid https://www.w3.org/TR/vc-data-model-2.0/#defn-validUntil
|
|
78
|
+
* @type {string}
|
|
79
|
+
* @memberof Credential
|
|
80
|
+
*/
|
|
81
|
+
'validUntil'?: string;
|
|
82
|
+
/**
|
|
83
|
+
* EBSI specific field defining the date of issuance.
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof Credential
|
|
86
|
+
*/
|
|
87
|
+
'issued'?: string;
|
|
88
|
+
/**
|
|
89
|
+
* EBSI specific field defining the date of issuance.
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof Credential
|
|
92
|
+
*/
|
|
93
|
+
'issuanceDate'?: string;
|
|
94
|
+
/**
|
|
95
|
+
* EBSI specific field defining the date of expiration.
|
|
96
|
+
* @type {string}
|
|
97
|
+
* @memberof Credential
|
|
98
|
+
*/
|
|
99
|
+
'expirationDate'?: string;
|
|
100
|
+
/**
|
|
101
|
+
* Either a URL or an object containing an id property https://www.w3.org/TR/vc-data-model-2.0/#defn-holder
|
|
102
|
+
* @type {string}
|
|
103
|
+
* @memberof Credential
|
|
104
|
+
*/
|
|
105
|
+
'holder'?: string;
|
|
106
|
+
/**
|
|
107
|
+
* Either a URL or an object containing an id property https://www.w3.org/TR/vc-data-model-2.0/#defn-issuer
|
|
108
|
+
* @type {string}
|
|
109
|
+
* @memberof Credential
|
|
110
|
+
*/
|
|
111
|
+
'issuer'?: string;
|
|
112
|
+
/**
|
|
113
|
+
* Array of specific VC field disclosures
|
|
114
|
+
* @type {Array<string>}
|
|
115
|
+
* @memberof Credential
|
|
116
|
+
*/
|
|
117
|
+
'_sd'?: Array<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Algorithm used for hashing disclosure digests
|
|
120
|
+
* @type {string}
|
|
121
|
+
* @memberof Credential
|
|
122
|
+
*/
|
|
123
|
+
'_sd_alg'?: string;
|
|
124
|
+
/**
|
|
125
|
+
*
|
|
126
|
+
* @type {RefreshService}
|
|
127
|
+
* @memberof Credential
|
|
128
|
+
*/
|
|
129
|
+
'refreshService'?: RefreshService;
|
|
130
|
+
/**
|
|
131
|
+
*
|
|
132
|
+
* @type {TermsOfUse}
|
|
133
|
+
* @memberof Credential
|
|
134
|
+
*/
|
|
135
|
+
'termsOfUse'?: TermsOfUse;
|
|
136
|
+
/**
|
|
137
|
+
*
|
|
138
|
+
* @type {Proof}
|
|
139
|
+
* @memberof Credential
|
|
140
|
+
*/
|
|
141
|
+
'proof'?: Proof;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
*
|
|
145
|
+
* @export
|
|
146
|
+
* @interface CredentialIdObject
|
|
147
|
+
*/
|
|
148
|
+
export interface CredentialIdObject {
|
|
149
|
+
/**
|
|
150
|
+
*
|
|
151
|
+
* @type {string}
|
|
152
|
+
* @memberof CredentialIdObject
|
|
153
|
+
*/
|
|
154
|
+
'id': string;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* Any Credential related accompanying key, value pairs that are not part of the Issued Credential
|
|
158
|
+
* @export
|
|
159
|
+
* @interface CredentialMetadata
|
|
160
|
+
*/
|
|
161
|
+
export interface CredentialMetadata {
|
|
162
|
+
[key: string]: any;
|
|
163
|
+
/**
|
|
164
|
+
*
|
|
165
|
+
* @type {string}
|
|
166
|
+
* @memberof CredentialMetadata
|
|
167
|
+
*/
|
|
168
|
+
'id': string;
|
|
169
|
+
/**
|
|
170
|
+
*
|
|
171
|
+
* @type {string}
|
|
172
|
+
* @memberof CredentialMetadata
|
|
173
|
+
*/
|
|
174
|
+
'walletId': string;
|
|
175
|
+
/**
|
|
176
|
+
*
|
|
177
|
+
* @type {string}
|
|
178
|
+
* @memberof CredentialMetadata
|
|
179
|
+
*/
|
|
180
|
+
'ownerId': string;
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @type {string}
|
|
184
|
+
* @memberof CredentialMetadata
|
|
185
|
+
*/
|
|
186
|
+
'name': string;
|
|
187
|
+
/**
|
|
188
|
+
*
|
|
189
|
+
* @type {string}
|
|
190
|
+
* @memberof CredentialMetadata
|
|
191
|
+
*/
|
|
192
|
+
'interaction': CredentialMetadataInteractionEnum;
|
|
193
|
+
/**
|
|
194
|
+
*
|
|
195
|
+
* @type {string}
|
|
196
|
+
* @memberof CredentialMetadata
|
|
197
|
+
*/
|
|
198
|
+
'message'?: string;
|
|
199
|
+
/**
|
|
200
|
+
*
|
|
201
|
+
* @type {string}
|
|
202
|
+
* @memberof CredentialMetadata
|
|
203
|
+
*/
|
|
204
|
+
'type': string;
|
|
205
|
+
/**
|
|
206
|
+
* In case of issued credential this is the DID of the holder wallet
|
|
207
|
+
* @type {string}
|
|
208
|
+
* @memberof CredentialMetadata
|
|
209
|
+
*/
|
|
210
|
+
'offeredToClientId'?: string;
|
|
211
|
+
/**
|
|
212
|
+
*
|
|
213
|
+
* @type {string}
|
|
214
|
+
* @memberof CredentialMetadata
|
|
215
|
+
*/
|
|
216
|
+
'created': string;
|
|
217
|
+
/**
|
|
218
|
+
*
|
|
219
|
+
* @type {string}
|
|
220
|
+
* @memberof CredentialMetadata
|
|
221
|
+
*/
|
|
222
|
+
'updated': string;
|
|
223
|
+
/**
|
|
224
|
+
*
|
|
225
|
+
* @type {string}
|
|
226
|
+
* @memberof CredentialMetadata
|
|
227
|
+
*/
|
|
228
|
+
'status': CredentialMetadataStatusEnum;
|
|
229
|
+
/**
|
|
230
|
+
*
|
|
231
|
+
* @type {Array<string>}
|
|
232
|
+
* @memberof CredentialMetadata
|
|
233
|
+
*/
|
|
234
|
+
'disclosableFields'?: Array<string>;
|
|
235
|
+
/**
|
|
236
|
+
* Array of objects, where each object contains display properties of a Credential Issuer for a certain language.
|
|
237
|
+
* @type {Array<IssuerDisplayItem>}
|
|
238
|
+
* @memberof CredentialMetadata
|
|
239
|
+
*/
|
|
240
|
+
'issuerDisplay'?: Array<IssuerDisplayItem>;
|
|
241
|
+
}
|
|
242
|
+
export declare const CredentialMetadataInteractionEnum: {
|
|
243
|
+
readonly Issuance: "issuance";
|
|
244
|
+
readonly Receive: "receive";
|
|
245
|
+
readonly StatusList: "statusList";
|
|
246
|
+
readonly TaoCredentials: "taoCredentials";
|
|
247
|
+
};
|
|
248
|
+
export type CredentialMetadataInteractionEnum = typeof CredentialMetadataInteractionEnum[keyof typeof CredentialMetadataInteractionEnum];
|
|
249
|
+
export declare const CredentialMetadataStatusEnum: {
|
|
250
|
+
readonly Draft: "draft";
|
|
251
|
+
readonly Valid: "valid";
|
|
252
|
+
readonly Invalid: "invalid";
|
|
253
|
+
};
|
|
254
|
+
export type CredentialMetadataStatusEnum = typeof CredentialMetadataStatusEnum[keyof typeof CredentialMetadataStatusEnum];
|
|
255
|
+
/**
|
|
256
|
+
* @type CredentialSchema
|
|
257
|
+
* One or more data schemas that provide verifiers with enough information to determine if the provided data conforms to the provided schema(s) https://www.w3.org/TR/vc-data-model-2.0/#defn-credentialSchema
|
|
258
|
+
* @export
|
|
259
|
+
*/
|
|
260
|
+
export type CredentialSchema = Array<CredentialSchemaItem> | CredentialSchemaItem;
|
|
261
|
+
/**
|
|
262
|
+
*
|
|
263
|
+
* @export
|
|
264
|
+
* @interface CredentialSchemaItem
|
|
265
|
+
*/
|
|
266
|
+
export interface CredentialSchemaItem {
|
|
267
|
+
[key: string]: any;
|
|
268
|
+
/**
|
|
269
|
+
* A URL identifying the schema file
|
|
270
|
+
* @type {string}
|
|
271
|
+
* @memberof CredentialSchemaItem
|
|
272
|
+
*/
|
|
273
|
+
'id': string;
|
|
274
|
+
/**
|
|
275
|
+
*
|
|
276
|
+
* @type {string}
|
|
277
|
+
* @memberof CredentialSchemaItem
|
|
278
|
+
*/
|
|
279
|
+
'name'?: string;
|
|
280
|
+
/**
|
|
281
|
+
* Defines the schema type, for example, JsonSchema
|
|
282
|
+
* @type {string}
|
|
283
|
+
* @memberof CredentialSchemaItem
|
|
284
|
+
*/
|
|
285
|
+
'type': string;
|
|
286
|
+
}
|
|
287
|
+
/**
|
|
288
|
+
* It is expected that the value will provide enough information to determine the current status of the credential and that machine readable information will be retrievable from the URL https://www.w3.org/TR/vc-data-model-2.0/#defn-credentialStatus
|
|
289
|
+
* @export
|
|
290
|
+
* @interface CredentialStatus
|
|
291
|
+
*/
|
|
292
|
+
export interface CredentialStatus {
|
|
293
|
+
/**
|
|
294
|
+
*
|
|
295
|
+
* @type {string}
|
|
296
|
+
* @memberof CredentialStatus
|
|
297
|
+
*/
|
|
298
|
+
'id': string;
|
|
299
|
+
/**
|
|
300
|
+
*
|
|
301
|
+
* @type {string}
|
|
302
|
+
* @memberof CredentialStatus
|
|
303
|
+
*/
|
|
304
|
+
'type': string;
|
|
305
|
+
/**
|
|
306
|
+
*
|
|
307
|
+
* @type {string}
|
|
308
|
+
* @memberof CredentialStatus
|
|
309
|
+
*/
|
|
310
|
+
'statusPurpose'?: string;
|
|
311
|
+
/**
|
|
312
|
+
*
|
|
313
|
+
* @type {string}
|
|
314
|
+
* @memberof CredentialStatus
|
|
315
|
+
*/
|
|
316
|
+
'statusListIndex'?: string;
|
|
317
|
+
/**
|
|
318
|
+
*
|
|
319
|
+
* @type {string}
|
|
320
|
+
* @memberof CredentialStatus
|
|
321
|
+
*/
|
|
322
|
+
'statusListCredential'?: string;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* @type CredentialSubject
|
|
326
|
+
* 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
|
|
327
|
+
* @export
|
|
328
|
+
*/
|
|
329
|
+
export type CredentialSubject = Array<CredentialSubjectItem> | CredentialSubjectItem;
|
|
330
|
+
/**
|
|
331
|
+
*
|
|
332
|
+
* @export
|
|
333
|
+
* @interface CredentialSubjectItem
|
|
334
|
+
*/
|
|
335
|
+
export interface CredentialSubjectItem {
|
|
336
|
+
[key: string]: any;
|
|
337
|
+
/**
|
|
338
|
+
*
|
|
339
|
+
* @type {string}
|
|
340
|
+
* @memberof CredentialSubjectItem
|
|
341
|
+
*/
|
|
342
|
+
'id'?: string;
|
|
343
|
+
/**
|
|
344
|
+
* Array of specific VC subject field disclosures
|
|
345
|
+
* @type {Array<string>}
|
|
346
|
+
* @memberof CredentialSubjectItem
|
|
347
|
+
*/
|
|
348
|
+
'_sd'?: Array<string>;
|
|
349
|
+
}
|
|
350
|
+
/**
|
|
351
|
+
* The wrapper contains Verifiable Credential in both, the Credential and as Base64 signed format alongside with metadata.
|
|
352
|
+
* @export
|
|
353
|
+
* @interface CredentialWrapper
|
|
354
|
+
*/
|
|
355
|
+
export interface CredentialWrapper {
|
|
356
|
+
/**
|
|
357
|
+
*
|
|
358
|
+
* @type {CredentialMetadata}
|
|
359
|
+
* @memberof CredentialWrapper
|
|
360
|
+
*/
|
|
361
|
+
'metadata': CredentialMetadata;
|
|
362
|
+
/**
|
|
363
|
+
*
|
|
364
|
+
* @type {Credential}
|
|
365
|
+
* @memberof CredentialWrapper
|
|
366
|
+
*/
|
|
367
|
+
'vc': Credential;
|
|
368
|
+
/**
|
|
369
|
+
* The base64 encoded Verifiable Credential in its final signed form
|
|
370
|
+
* @type {string}
|
|
371
|
+
* @memberof CredentialWrapper
|
|
372
|
+
*/
|
|
373
|
+
'signedVc'?: string;
|
|
374
|
+
}
|
|
375
|
+
/**
|
|
376
|
+
*
|
|
377
|
+
* @export
|
|
378
|
+
* @interface DidDocument
|
|
379
|
+
*/
|
|
380
|
+
export interface DidDocument {
|
|
381
|
+
/**
|
|
382
|
+
* The JSON-LD Context is either a string or a list containing any combination of strings and/or ordered maps. https://www.w3.org/TR/did-1.0/#dfn-context
|
|
383
|
+
* @type {Array<string>}
|
|
384
|
+
* @memberof DidDocument
|
|
385
|
+
*/
|
|
386
|
+
'@context': Array<string>;
|
|
387
|
+
/**
|
|
388
|
+
* An entity that has the capability to make changes to a DID document. A DID might have more than one DID controller. The DID controller(s) can be denoted by the optional controller property at the top level of the DID document. Note that a DID controller might be the DID subject. https://www.w3.org/TR/did-1.0/#dfn-did-controllers
|
|
389
|
+
* @type {Array<string>}
|
|
390
|
+
* @memberof DidDocument
|
|
391
|
+
*/
|
|
392
|
+
'controller'?: Array<string>;
|
|
393
|
+
/**
|
|
394
|
+
*
|
|
395
|
+
* @type {string}
|
|
396
|
+
* @memberof DidDocument
|
|
397
|
+
*/
|
|
398
|
+
'id': string;
|
|
399
|
+
/**
|
|
400
|
+
* The verificationMethod property is OPTIONAL. If present, the value MUST be a set of verification methods, where each verification method is expressed using a map. The verification method map MUST include the id, type, controller, and specific verification material properties that are determined by the value of type and are defined in 5.2.1 Verification Material. A verification method MAY include additional properties. Verification methods SHOULD be registered in the DID Specification Registries [DID-SPEC-REGISTRIES]. https://www.w3.org/TR/did-1.0/#verification-methods
|
|
401
|
+
* @type {Array<VerificationMethod>}
|
|
402
|
+
* @memberof DidDocument
|
|
403
|
+
*/
|
|
404
|
+
'verificationMethod'?: Array<VerificationMethod>;
|
|
405
|
+
/**
|
|
406
|
+
* The capabilityInvocation verification relationship is used to specify a verification method that might be used by the DID subject to invoke a cryptographic capability, such as the authorization to update the DID Document. https://www.w3.org/TR/did-1.0/#capability-invocation
|
|
407
|
+
* @type {Array<CapabilityInvocationInner>}
|
|
408
|
+
* @memberof DidDocument
|
|
409
|
+
*/
|
|
410
|
+
'capabilityInvocation'?: Array<CapabilityInvocationInner>;
|
|
411
|
+
/**
|
|
412
|
+
* The authentication verification relationship is used to specify how the DID subject is expected to be authenticated, for purposes such as logging into a website or engaging in any sort of challenge-response protocol. https://www.w3.org/TR/did-1.0/#authentication
|
|
413
|
+
* @type {Array<CapabilityInvocationInner>}
|
|
414
|
+
* @memberof DidDocument
|
|
415
|
+
*/
|
|
416
|
+
'authentication'?: Array<CapabilityInvocationInner>;
|
|
417
|
+
/**
|
|
418
|
+
* The assertionMethod verification relationship is used to specify how the DID subject is expected to express claims, such as for the purposes of issuing a Verifiable Credential [VC-DATA-MODEL]. https://www.w3.org/TR/did-1.0/#assertion
|
|
419
|
+
* @type {Array<CapabilityInvocationInner>}
|
|
420
|
+
* @memberof DidDocument
|
|
421
|
+
*/
|
|
422
|
+
'assertionMethod'?: Array<CapabilityInvocationInner>;
|
|
423
|
+
/**
|
|
424
|
+
*
|
|
425
|
+
* @type {Services}
|
|
426
|
+
* @memberof DidDocument
|
|
427
|
+
*/
|
|
428
|
+
'services'?: Services;
|
|
429
|
+
}
|
|
430
|
+
/**
|
|
431
|
+
*
|
|
432
|
+
* @export
|
|
433
|
+
* @interface DidDocumentCreatePayload
|
|
434
|
+
*/
|
|
435
|
+
export interface DidDocumentCreatePayload {
|
|
436
|
+
/**
|
|
437
|
+
* The JSON-LD Context is either a string or a list containing any combination of strings and/or ordered maps. https://www.w3.org/TR/did-1.0/#dfn-context
|
|
438
|
+
* @type {Array<string>}
|
|
439
|
+
* @memberof DidDocumentCreatePayload
|
|
440
|
+
*/
|
|
441
|
+
'@context': Array<string>;
|
|
442
|
+
/**
|
|
443
|
+
* An entity that has the capability to make changes to a DID document. A DID might have more than one DID controller. The DID controller(s) can be denoted by the optional controller property at the top level of the DID document. Note that a DID controller might be the DID subject. https://www.w3.org/TR/did-1.0/#dfn-did-controllers
|
|
444
|
+
* @type {Array<string>}
|
|
445
|
+
* @memberof DidDocumentCreatePayload
|
|
446
|
+
*/
|
|
447
|
+
'controller': Array<string>;
|
|
448
|
+
/**
|
|
449
|
+
*
|
|
450
|
+
* @type {string}
|
|
451
|
+
* @memberof DidDocumentCreatePayload
|
|
452
|
+
*/
|
|
453
|
+
'id': string;
|
|
454
|
+
}
|
|
455
|
+
/**
|
|
456
|
+
*
|
|
457
|
+
* @export
|
|
458
|
+
* @interface DidDocumentList
|
|
459
|
+
*/
|
|
460
|
+
export interface DidDocumentList {
|
|
461
|
+
/**
|
|
462
|
+
*
|
|
463
|
+
* @type {string}
|
|
464
|
+
* @memberof DidDocumentList
|
|
465
|
+
*/
|
|
466
|
+
'items'?: string;
|
|
467
|
+
}
|
|
468
|
+
/**
|
|
469
|
+
*
|
|
470
|
+
* @export
|
|
471
|
+
* @interface DidOnboardingPayload
|
|
472
|
+
*/
|
|
473
|
+
export interface DidOnboardingPayload {
|
|
474
|
+
/**
|
|
475
|
+
* The Verifier ID that should be used to verify the onboarding credential.
|
|
476
|
+
* @type {string}
|
|
477
|
+
* @memberof DidOnboardingPayload
|
|
478
|
+
*/
|
|
479
|
+
'verifierId'?: string;
|
|
480
|
+
}
|
|
481
|
+
/**
|
|
482
|
+
*
|
|
483
|
+
* @export
|
|
484
|
+
* @interface DidOnboardingResponse
|
|
485
|
+
*/
|
|
486
|
+
export interface DidOnboardingResponse {
|
|
487
|
+
/**
|
|
488
|
+
* Url of verifier authorization server that contains the requested verifier scope.
|
|
489
|
+
* @type {string}
|
|
490
|
+
* @memberof DidOnboardingResponse
|
|
491
|
+
*/
|
|
492
|
+
'verifierUrl': string;
|
|
493
|
+
/**
|
|
494
|
+
* A code that can be used to match the verified credential for later use.
|
|
495
|
+
* @type {string}
|
|
496
|
+
* @memberof DidOnboardingResponse
|
|
497
|
+
*/
|
|
498
|
+
'verifierState': string;
|
|
499
|
+
}
|
|
500
|
+
/**
|
|
501
|
+
*
|
|
502
|
+
* @export
|
|
503
|
+
* @interface DidOnboardingStatus
|
|
504
|
+
*/
|
|
505
|
+
export interface DidOnboardingStatus {
|
|
506
|
+
/**
|
|
507
|
+
* When the status is completed the DID will be provided.
|
|
508
|
+
* @type {string}
|
|
509
|
+
* @memberof DidOnboardingStatus
|
|
510
|
+
*/
|
|
511
|
+
'did'?: string;
|
|
512
|
+
/**
|
|
513
|
+
* The status message providing additional info on specific status.
|
|
514
|
+
* @type {string}
|
|
515
|
+
* @memberof DidOnboardingStatus
|
|
516
|
+
*/
|
|
517
|
+
'message'?: string;
|
|
518
|
+
/**
|
|
519
|
+
* The onboarding process status
|
|
520
|
+
* @type {string}
|
|
521
|
+
* @memberof DidOnboardingStatus
|
|
522
|
+
*/
|
|
523
|
+
'status': DidOnboardingStatusStatusEnum;
|
|
524
|
+
}
|
|
525
|
+
export declare const DidOnboardingStatusStatusEnum: {
|
|
526
|
+
readonly InProgress: "in_progress";
|
|
527
|
+
readonly Completed: "completed";
|
|
528
|
+
readonly Error: "error";
|
|
529
|
+
};
|
|
530
|
+
export type DidOnboardingStatusStatusEnum = typeof DidOnboardingStatusStatusEnum[keyof typeof DidOnboardingStatusStatusEnum];
|
|
531
|
+
/**
|
|
532
|
+
* A scheme providing enough information for a verifier to determine whether the evidence gathered by the issuer meets its confidence requirements for relying on the credential
|
|
533
|
+
* @export
|
|
534
|
+
* @interface EvidenceItem
|
|
535
|
+
*/
|
|
536
|
+
export interface EvidenceItem {
|
|
537
|
+
[key: string]: any;
|
|
538
|
+
/**
|
|
539
|
+
* URL that points to where more information about this instance of evidence can be found
|
|
540
|
+
* @type {string}
|
|
541
|
+
* @memberof EvidenceItem
|
|
542
|
+
*/
|
|
543
|
+
'id'?: string;
|
|
544
|
+
/**
|
|
545
|
+
* The precise content of each evidence scheme is determined by the specific evidence type definition.
|
|
546
|
+
* @type {Array<string>}
|
|
547
|
+
* @memberof EvidenceItem
|
|
548
|
+
*/
|
|
549
|
+
'type': Array<string>;
|
|
550
|
+
}
|
|
551
|
+
/**
|
|
552
|
+
* Health status of the system
|
|
553
|
+
* @export
|
|
554
|
+
* @interface HealthStatus
|
|
555
|
+
*/
|
|
556
|
+
export interface HealthStatus {
|
|
557
|
+
/**
|
|
558
|
+
*
|
|
559
|
+
* @type {string}
|
|
560
|
+
* @memberof HealthStatus
|
|
561
|
+
*/
|
|
562
|
+
'status': HealthStatusStatusEnum;
|
|
563
|
+
}
|
|
564
|
+
export declare const HealthStatusStatusEnum: {
|
|
565
|
+
readonly Ok: "ok";
|
|
566
|
+
readonly Limited: "limited";
|
|
567
|
+
readonly Critical: "critical";
|
|
568
|
+
};
|
|
569
|
+
export type HealthStatusStatusEnum = typeof HealthStatusStatusEnum[keyof typeof HealthStatusStatusEnum];
|
|
570
|
+
/**
|
|
571
|
+
*
|
|
572
|
+
* @export
|
|
573
|
+
* @interface IssuerDisplayItem
|
|
574
|
+
*/
|
|
575
|
+
export interface IssuerDisplayItem {
|
|
576
|
+
/**
|
|
577
|
+
*
|
|
578
|
+
* @type {string}
|
|
579
|
+
* @memberof IssuerDisplayItem
|
|
580
|
+
*/
|
|
581
|
+
'name'?: string;
|
|
582
|
+
/**
|
|
583
|
+
*
|
|
584
|
+
* @type {string}
|
|
585
|
+
* @memberof IssuerDisplayItem
|
|
586
|
+
*/
|
|
587
|
+
'locale'?: string;
|
|
588
|
+
/**
|
|
589
|
+
*
|
|
590
|
+
* @type {IssuerLogo}
|
|
591
|
+
* @memberof IssuerDisplayItem
|
|
592
|
+
*/
|
|
593
|
+
'logo'?: IssuerLogo;
|
|
594
|
+
}
|
|
595
|
+
/**
|
|
596
|
+
*
|
|
597
|
+
* @export
|
|
598
|
+
* @interface IssuerLogo
|
|
599
|
+
*/
|
|
600
|
+
export interface IssuerLogo {
|
|
601
|
+
/**
|
|
602
|
+
*
|
|
603
|
+
* @type {string}
|
|
604
|
+
* @memberof IssuerLogo
|
|
605
|
+
*/
|
|
606
|
+
'uri'?: string;
|
|
607
|
+
/**
|
|
608
|
+
*
|
|
609
|
+
* @type {string}
|
|
610
|
+
* @memberof IssuerLogo
|
|
611
|
+
*/
|
|
612
|
+
'alt_text'?: string;
|
|
613
|
+
}
|
|
614
|
+
/**
|
|
615
|
+
* Common error message
|
|
616
|
+
* @export
|
|
617
|
+
* @interface ModelError
|
|
618
|
+
*/
|
|
619
|
+
export interface ModelError {
|
|
620
|
+
/**
|
|
621
|
+
*
|
|
622
|
+
* @type {string}
|
|
623
|
+
* @memberof ModelError
|
|
624
|
+
*/
|
|
625
|
+
'error': string;
|
|
626
|
+
/**
|
|
627
|
+
*
|
|
628
|
+
* @type {string}
|
|
629
|
+
* @memberof ModelError
|
|
630
|
+
*/
|
|
631
|
+
'message': string;
|
|
632
|
+
}
|
|
633
|
+
/**
|
|
634
|
+
* One or more cryptographic proofs that can be used to detect tampering and verify the authorship of a verifiable credential or verifiable presentation https://www.w3.org/TR/vc-data-model-2.0/#securing-verifiable-credentials
|
|
635
|
+
* @export
|
|
636
|
+
* @interface Proof
|
|
637
|
+
*/
|
|
638
|
+
export interface Proof {
|
|
639
|
+
/**
|
|
640
|
+
*
|
|
641
|
+
* @type {string}
|
|
642
|
+
* @memberof Proof
|
|
643
|
+
*/
|
|
644
|
+
'type': string;
|
|
645
|
+
/**
|
|
646
|
+
*
|
|
647
|
+
* @type {string}
|
|
648
|
+
* @memberof Proof
|
|
649
|
+
*/
|
|
650
|
+
'created': string;
|
|
651
|
+
/**
|
|
652
|
+
*
|
|
653
|
+
* @type {string}
|
|
654
|
+
* @memberof Proof
|
|
655
|
+
*/
|
|
656
|
+
'verificationMethod': string;
|
|
657
|
+
/**
|
|
658
|
+
*
|
|
659
|
+
* @type {string}
|
|
660
|
+
* @memberof Proof
|
|
661
|
+
*/
|
|
662
|
+
'proofPurpose': string;
|
|
663
|
+
/**
|
|
664
|
+
*
|
|
665
|
+
* @type {string}
|
|
666
|
+
* @memberof Proof
|
|
667
|
+
*/
|
|
668
|
+
'proofValue'?: string;
|
|
669
|
+
}
|
|
670
|
+
/**
|
|
671
|
+
* @type RefreshService
|
|
672
|
+
* A refresh service is a mechanism that can be utilized by software agents to retrieve an updated copy of a Verifiable Credential https://www.w3.org/TR/vc-data-model-2.0/#defn-refreshService
|
|
673
|
+
* @export
|
|
674
|
+
*/
|
|
675
|
+
export type RefreshService = Array<RefreshServiceItem> | RefreshServiceItem;
|
|
676
|
+
/**
|
|
677
|
+
*
|
|
678
|
+
* @export
|
|
679
|
+
* @interface RefreshServiceItem
|
|
680
|
+
*/
|
|
681
|
+
export interface RefreshServiceItem {
|
|
682
|
+
/**
|
|
683
|
+
* The URL of the service
|
|
684
|
+
* @type {string}
|
|
685
|
+
* @memberof RefreshServiceItem
|
|
686
|
+
*/
|
|
687
|
+
'id': string;
|
|
688
|
+
/**
|
|
689
|
+
*
|
|
690
|
+
* @type {string}
|
|
691
|
+
* @memberof RefreshServiceItem
|
|
692
|
+
*/
|
|
693
|
+
'type': string;
|
|
694
|
+
}
|
|
695
|
+
/**
|
|
696
|
+
* Services are used in DID documents to express ways of communicating with the DID subject or associated entities. A service can be any type of service the DID subject wants to advertise, including decentralized identity management services for further discovery, authentication, authorization, or interaction. https://www.w3.org/TR/did-1.0/#services
|
|
697
|
+
* @export
|
|
698
|
+
* @interface Services
|
|
699
|
+
*/
|
|
700
|
+
export interface Services {
|
|
701
|
+
/**
|
|
702
|
+
*
|
|
703
|
+
* @type {string}
|
|
704
|
+
* @memberof Services
|
|
705
|
+
*/
|
|
706
|
+
'id': string;
|
|
707
|
+
/**
|
|
708
|
+
*
|
|
709
|
+
* @type {string}
|
|
710
|
+
* @memberof Services
|
|
711
|
+
*/
|
|
712
|
+
'type': string;
|
|
713
|
+
/**
|
|
714
|
+
* The value of the serviceEndpoint property MUST be a string, a map, or a set composed of one or more strings and/or maps. All string values MUST be valid URIs conforming to [RFC3986] and normalized according to the Normalization and Comparison rules in RFC3986 and to any normalization rules in its applicable URI scheme specification. https://www.w3.org/TR/did-1.0/#dfn-serviceendpoint
|
|
715
|
+
* @type {Array<string>}
|
|
716
|
+
* @memberof Services
|
|
717
|
+
*/
|
|
718
|
+
'serviceEndpoint': Array<string>;
|
|
719
|
+
}
|
|
720
|
+
/**
|
|
721
|
+
* Policy under which the creator issued the credential or presentation https://www.w3.org/TR/vc-data-model-2.0/#defn-termsOfUse
|
|
722
|
+
* @export
|
|
723
|
+
* @interface TermsOfUse
|
|
724
|
+
*/
|
|
725
|
+
export interface TermsOfUse {
|
|
726
|
+
[key: string]: any;
|
|
727
|
+
/**
|
|
728
|
+
*
|
|
729
|
+
* @type {string}
|
|
730
|
+
* @memberof TermsOfUse
|
|
731
|
+
*/
|
|
732
|
+
'id'?: string;
|
|
733
|
+
/**
|
|
734
|
+
*
|
|
735
|
+
* @type {string}
|
|
736
|
+
* @memberof TermsOfUse
|
|
737
|
+
*/
|
|
738
|
+
'type': string;
|
|
739
|
+
}
|
|
740
|
+
/**
|
|
741
|
+
* Trust List meta info
|
|
742
|
+
* @export
|
|
743
|
+
* @interface Tl
|
|
744
|
+
*/
|
|
745
|
+
export interface Tl {
|
|
746
|
+
/**
|
|
747
|
+
*
|
|
748
|
+
* @type {string}
|
|
749
|
+
* @memberof Tl
|
|
750
|
+
*/
|
|
751
|
+
'id'?: string;
|
|
752
|
+
/**
|
|
753
|
+
* Trust List human-readable name
|
|
754
|
+
* @type {string}
|
|
755
|
+
* @memberof Tl
|
|
756
|
+
*/
|
|
757
|
+
'name'?: string;
|
|
758
|
+
/**
|
|
759
|
+
*
|
|
760
|
+
* @type {string}
|
|
761
|
+
* @memberof Tl
|
|
762
|
+
*/
|
|
763
|
+
'owner'?: string;
|
|
764
|
+
/**
|
|
765
|
+
*
|
|
766
|
+
* @type {TlrSchema}
|
|
767
|
+
* @memberof Tl
|
|
768
|
+
*/
|
|
769
|
+
'tlrSchema'?: TlrSchema;
|
|
770
|
+
}
|
|
771
|
+
/**
|
|
772
|
+
* Trust List create payload
|
|
773
|
+
* @export
|
|
774
|
+
* @interface TlPayload
|
|
775
|
+
*/
|
|
776
|
+
export interface TlPayload {
|
|
777
|
+
/**
|
|
778
|
+
* Trust List human-readable name
|
|
779
|
+
* @type {string}
|
|
780
|
+
* @memberof TlPayload
|
|
781
|
+
*/
|
|
782
|
+
'name'?: string;
|
|
783
|
+
/**
|
|
784
|
+
*
|
|
785
|
+
* @type {TlrSchema}
|
|
786
|
+
* @memberof TlPayload
|
|
787
|
+
*/
|
|
788
|
+
'tlrSchema'?: TlrSchema;
|
|
789
|
+
}
|
|
790
|
+
/**
|
|
791
|
+
* Record defined by a schema
|
|
792
|
+
* @export
|
|
793
|
+
* @interface Tlr
|
|
794
|
+
*/
|
|
795
|
+
export interface Tlr {
|
|
796
|
+
[key: string]: any;
|
|
797
|
+
/**
|
|
798
|
+
* The JSON-LD Context is either a string or a list containing any combination of strings and/or ordered maps. https://www.w3.org/TR/did-1.0/#dfn-context
|
|
799
|
+
* @type {Array<string>}
|
|
800
|
+
* @memberof Tlr
|
|
801
|
+
*/
|
|
802
|
+
'@context': Array<string>;
|
|
803
|
+
/**
|
|
804
|
+
*
|
|
805
|
+
* @type {TlrSchema}
|
|
806
|
+
* @memberof Tlr
|
|
807
|
+
*/
|
|
808
|
+
'tlrSchema': TlrSchema;
|
|
809
|
+
}
|
|
810
|
+
/**
|
|
811
|
+
*
|
|
812
|
+
* @export
|
|
813
|
+
* @interface TlrSchema
|
|
814
|
+
*/
|
|
815
|
+
export interface TlrSchema {
|
|
816
|
+
[key: string]: any;
|
|
817
|
+
/**
|
|
818
|
+
* A URL identifying the schema file
|
|
819
|
+
* @type {string}
|
|
820
|
+
* @memberof TlrSchema
|
|
821
|
+
*/
|
|
822
|
+
'id': string;
|
|
823
|
+
/**
|
|
824
|
+
*
|
|
825
|
+
* @type {string}
|
|
826
|
+
* @memberof TlrSchema
|
|
827
|
+
*/
|
|
828
|
+
'name'?: string;
|
|
829
|
+
/**
|
|
830
|
+
* Defines the schema type, for example, JsonSchema
|
|
831
|
+
* @type {string}
|
|
832
|
+
* @memberof TlrSchema
|
|
833
|
+
*/
|
|
834
|
+
'type': string;
|
|
835
|
+
}
|
|
836
|
+
/**
|
|
837
|
+
*
|
|
838
|
+
* @export
|
|
839
|
+
* @interface VerificationMethod
|
|
840
|
+
*/
|
|
841
|
+
export interface VerificationMethod {
|
|
842
|
+
[key: string]: any;
|
|
843
|
+
/**
|
|
844
|
+
*
|
|
845
|
+
* @type {string}
|
|
846
|
+
* @memberof VerificationMethod
|
|
847
|
+
*/
|
|
848
|
+
'controller': string;
|
|
849
|
+
/**
|
|
850
|
+
*
|
|
851
|
+
* @type {string}
|
|
852
|
+
* @memberof VerificationMethod
|
|
853
|
+
*/
|
|
854
|
+
'id': string;
|
|
855
|
+
/**
|
|
856
|
+
* The value of the type property MUST be a string that references exactly one verification method type. In order to maximize global interoperability, the verification method type SHOULD be registered in the DID Specification Registries [DID-SPEC-REGISTRIES].
|
|
857
|
+
* @type {string}
|
|
858
|
+
* @memberof VerificationMethod
|
|
859
|
+
*/
|
|
860
|
+
'type': string;
|
|
861
|
+
}
|
|
862
|
+
/**
|
|
863
|
+
*
|
|
864
|
+
* @export
|
|
865
|
+
* @interface VpResponse
|
|
866
|
+
*/
|
|
867
|
+
export interface VpResponse {
|
|
868
|
+
/**
|
|
869
|
+
* Verifiable Presentation in JWT format
|
|
870
|
+
* @type {string}
|
|
871
|
+
* @memberof VpResponse
|
|
872
|
+
*/
|
|
873
|
+
'vp': string;
|
|
874
|
+
}
|
|
875
|
+
/**
|
|
876
|
+
* DefaultApi - axios parameter creator
|
|
877
|
+
* @export
|
|
878
|
+
*/
|
|
879
|
+
export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
880
|
+
/**
|
|
881
|
+
* Retrieves a specific verifiable credential based on the provided identifier. Upon retrieval the status of the credential is checked on the fly and therefore guaranteed.
|
|
882
|
+
* @param {string} credentialId Verifiable Credential Identifier
|
|
883
|
+
* @param {*} [options] Override http request option.
|
|
884
|
+
* @throws {RequiredError}
|
|
885
|
+
*/
|
|
886
|
+
credentialGet: (credentialId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
887
|
+
/**
|
|
888
|
+
* Creates a new DID Document.
|
|
889
|
+
* @param {string} tlId
|
|
890
|
+
* @param {DidDocumentCreatePayload} [didDocumentCreatePayload] DID Document Create Payload.
|
|
891
|
+
* @param {*} [options] Override http request option.
|
|
892
|
+
* @throws {RequiredError}
|
|
893
|
+
*/
|
|
894
|
+
didDocumentCreate: (tlId: string, didDocumentCreatePayload?: DidDocumentCreatePayload, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
895
|
+
/**
|
|
896
|
+
* Retrieves a specific DID Document
|
|
897
|
+
* @param {string} tlId Trust List Identifier
|
|
898
|
+
* @param {string} did DID
|
|
899
|
+
* @param {*} [options] Override http request option.
|
|
900
|
+
* @throws {RequiredError}
|
|
901
|
+
*/
|
|
902
|
+
didGet: (tlId: string, did: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
903
|
+
/**
|
|
904
|
+
* Initiates the onboarding process to the DID registry.
|
|
905
|
+
* @param {string} tlId
|
|
906
|
+
* @param {DidOnboardingPayload} [didOnboardingPayload] DID onboarding init payload.
|
|
907
|
+
* @param {*} [options] Override http request option.
|
|
908
|
+
* @throws {RequiredError}
|
|
909
|
+
*/
|
|
910
|
+
didOnboardingInit: (tlId: string, didOnboardingPayload?: DidOnboardingPayload, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
911
|
+
/**
|
|
912
|
+
*
|
|
913
|
+
* @param {string} tlId
|
|
914
|
+
* @param {string} verifierState The verifier state provided by the onboarding endpoint
|
|
915
|
+
* @param {*} [options] Override http request option.
|
|
916
|
+
* @throws {RequiredError}
|
|
917
|
+
*/
|
|
918
|
+
didOnboardingStatus: (tlId: string, verifierState: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
919
|
+
/**
|
|
920
|
+
* Adds DID Verification method.
|
|
921
|
+
* @param {string} tlId Trust List Identifier
|
|
922
|
+
* @param {string} did DID
|
|
923
|
+
* @param {VerificationMethod} [verificationMethod] Verification method.
|
|
924
|
+
* @param {*} [options] Override http request option.
|
|
925
|
+
* @throws {RequiredError}
|
|
926
|
+
*/
|
|
927
|
+
didVerificationMethodAdd: (tlId: string, did: string, verificationMethod?: VerificationMethod, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
928
|
+
/**
|
|
929
|
+
* Retrieves a list of DID Documents.
|
|
930
|
+
* @param {string} tlId
|
|
931
|
+
* @param {*} [options] Override http request option.
|
|
932
|
+
* @throws {RequiredError}
|
|
933
|
+
*/
|
|
934
|
+
didsGet: (tlId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
935
|
+
/**
|
|
936
|
+
*
|
|
937
|
+
* @param {*} [options] Override http request option.
|
|
938
|
+
* @throws {RequiredError}
|
|
939
|
+
*/
|
|
940
|
+
healthCheck: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
941
|
+
/**
|
|
942
|
+
* Creates a Trust List based on the specified payload.
|
|
943
|
+
* @param {TlPayload} [tlPayload] Trust List create payload.
|
|
944
|
+
* @param {*} [options] Override http request option.
|
|
945
|
+
* @throws {RequiredError}
|
|
946
|
+
*/
|
|
947
|
+
tlCreate: (tlPayload?: TlPayload, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
948
|
+
/**
|
|
949
|
+
* Gets the specified Trust List
|
|
950
|
+
* @param {string} tlId
|
|
951
|
+
* @param {*} [options] Override http request option.
|
|
952
|
+
* @throws {RequiredError}
|
|
953
|
+
*/
|
|
954
|
+
tlGet: (tlId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
955
|
+
/**
|
|
956
|
+
* Updates a Trust List based on the specified payload.
|
|
957
|
+
* @param {string} tlId
|
|
958
|
+
* @param {TlPayload} [tlPayload] Trust List create payload.
|
|
959
|
+
* @param {*} [options] Override http request option.
|
|
960
|
+
* @throws {RequiredError}
|
|
961
|
+
*/
|
|
962
|
+
tlPatch: (tlId: string, tlPayload?: TlPayload, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
963
|
+
/**
|
|
964
|
+
* Creates a new Trust List Record.
|
|
965
|
+
* @param {string} tlId
|
|
966
|
+
* @param {DidDocumentCreatePayload} [didDocumentCreatePayload] Trust List Record create payload.
|
|
967
|
+
* @param {*} [options] Override http request option.
|
|
968
|
+
* @throws {RequiredError}
|
|
969
|
+
*/
|
|
970
|
+
tlrCreate: (tlId: string, didDocumentCreatePayload?: DidDocumentCreatePayload, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
971
|
+
/**
|
|
972
|
+
* Retrieves a list of Trust List Records.
|
|
973
|
+
* @param {string} tlId
|
|
974
|
+
* @param {*} [options] Override http request option.
|
|
975
|
+
* @throws {RequiredError}
|
|
976
|
+
*/
|
|
977
|
+
tlrsGet: (tlId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
978
|
+
/**
|
|
979
|
+
* Retrieves a specific Trust List Record
|
|
980
|
+
* @param {string} tlId Trust List Identifier
|
|
981
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
982
|
+
* @param {*} [options] Override http request option.
|
|
983
|
+
* @throws {RequiredError}
|
|
984
|
+
*/
|
|
985
|
+
trustListRecordGet: (tlId: string, tlrId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
986
|
+
/**
|
|
987
|
+
* Gets a Verifiable Presentation.
|
|
988
|
+
* @param {string} tlId
|
|
989
|
+
* @param {string} did
|
|
990
|
+
* @param {string} id
|
|
991
|
+
* @param {*} [options] Override http request option.
|
|
992
|
+
* @throws {RequiredError}
|
|
993
|
+
*/
|
|
994
|
+
vpGet: (tlId: string, did: string, id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
995
|
+
};
|
|
996
|
+
/**
|
|
997
|
+
* DefaultApi - functional programming interface
|
|
998
|
+
* @export
|
|
999
|
+
*/
|
|
1000
|
+
export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
1001
|
+
/**
|
|
1002
|
+
* Retrieves a specific verifiable credential based on the provided identifier. Upon retrieval the status of the credential is checked on the fly and therefore guaranteed.
|
|
1003
|
+
* @param {string} credentialId Verifiable Credential Identifier
|
|
1004
|
+
* @param {*} [options] Override http request option.
|
|
1005
|
+
* @throws {RequiredError}
|
|
1006
|
+
*/
|
|
1007
|
+
credentialGet(credentialId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CredentialWrapper>>;
|
|
1008
|
+
/**
|
|
1009
|
+
* Creates a new DID Document.
|
|
1010
|
+
* @param {string} tlId
|
|
1011
|
+
* @param {DidDocumentCreatePayload} [didDocumentCreatePayload] DID Document Create Payload.
|
|
1012
|
+
* @param {*} [options] Override http request option.
|
|
1013
|
+
* @throws {RequiredError}
|
|
1014
|
+
*/
|
|
1015
|
+
didDocumentCreate(tlId: string, didDocumentCreatePayload?: DidDocumentCreatePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
1016
|
+
/**
|
|
1017
|
+
* Retrieves a specific DID Document
|
|
1018
|
+
* @param {string} tlId Trust List Identifier
|
|
1019
|
+
* @param {string} did DID
|
|
1020
|
+
* @param {*} [options] Override http request option.
|
|
1021
|
+
* @throws {RequiredError}
|
|
1022
|
+
*/
|
|
1023
|
+
didGet(tlId: string, did: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DidDocument>>;
|
|
1024
|
+
/**
|
|
1025
|
+
* Initiates the onboarding process to the DID registry.
|
|
1026
|
+
* @param {string} tlId
|
|
1027
|
+
* @param {DidOnboardingPayload} [didOnboardingPayload] DID onboarding init payload.
|
|
1028
|
+
* @param {*} [options] Override http request option.
|
|
1029
|
+
* @throws {RequiredError}
|
|
1030
|
+
*/
|
|
1031
|
+
didOnboardingInit(tlId: string, didOnboardingPayload?: DidOnboardingPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DidOnboardingResponse>>;
|
|
1032
|
+
/**
|
|
1033
|
+
*
|
|
1034
|
+
* @param {string} tlId
|
|
1035
|
+
* @param {string} verifierState The verifier state provided by the onboarding endpoint
|
|
1036
|
+
* @param {*} [options] Override http request option.
|
|
1037
|
+
* @throws {RequiredError}
|
|
1038
|
+
*/
|
|
1039
|
+
didOnboardingStatus(tlId: string, verifierState: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DidOnboardingStatus>>;
|
|
1040
|
+
/**
|
|
1041
|
+
* Adds DID Verification method.
|
|
1042
|
+
* @param {string} tlId Trust List Identifier
|
|
1043
|
+
* @param {string} did DID
|
|
1044
|
+
* @param {VerificationMethod} [verificationMethod] Verification method.
|
|
1045
|
+
* @param {*} [options] Override http request option.
|
|
1046
|
+
* @throws {RequiredError}
|
|
1047
|
+
*/
|
|
1048
|
+
didVerificationMethodAdd(tlId: string, did: string, verificationMethod?: VerificationMethod, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1049
|
+
/**
|
|
1050
|
+
* Retrieves a list of DID Documents.
|
|
1051
|
+
* @param {string} tlId
|
|
1052
|
+
* @param {*} [options] Override http request option.
|
|
1053
|
+
* @throws {RequiredError}
|
|
1054
|
+
*/
|
|
1055
|
+
didsGet(tlId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DidDocumentList>>;
|
|
1056
|
+
/**
|
|
1057
|
+
*
|
|
1058
|
+
* @param {*} [options] Override http request option.
|
|
1059
|
+
* @throws {RequiredError}
|
|
1060
|
+
*/
|
|
1061
|
+
healthCheck(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HealthStatus>>;
|
|
1062
|
+
/**
|
|
1063
|
+
* Creates a Trust List based on the specified payload.
|
|
1064
|
+
* @param {TlPayload} [tlPayload] Trust List create payload.
|
|
1065
|
+
* @param {*} [options] Override http request option.
|
|
1066
|
+
* @throws {RequiredError}
|
|
1067
|
+
*/
|
|
1068
|
+
tlCreate(tlPayload?: TlPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tl>>;
|
|
1069
|
+
/**
|
|
1070
|
+
* Gets the specified Trust List
|
|
1071
|
+
* @param {string} tlId
|
|
1072
|
+
* @param {*} [options] Override http request option.
|
|
1073
|
+
* @throws {RequiredError}
|
|
1074
|
+
*/
|
|
1075
|
+
tlGet(tlId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tl>>;
|
|
1076
|
+
/**
|
|
1077
|
+
* Updates a Trust List based on the specified payload.
|
|
1078
|
+
* @param {string} tlId
|
|
1079
|
+
* @param {TlPayload} [tlPayload] Trust List create payload.
|
|
1080
|
+
* @param {*} [options] Override http request option.
|
|
1081
|
+
* @throws {RequiredError}
|
|
1082
|
+
*/
|
|
1083
|
+
tlPatch(tlId: string, tlPayload?: TlPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tl>>;
|
|
1084
|
+
/**
|
|
1085
|
+
* Creates a new Trust List Record.
|
|
1086
|
+
* @param {string} tlId
|
|
1087
|
+
* @param {DidDocumentCreatePayload} [didDocumentCreatePayload] Trust List Record create payload.
|
|
1088
|
+
* @param {*} [options] Override http request option.
|
|
1089
|
+
* @throws {RequiredError}
|
|
1090
|
+
*/
|
|
1091
|
+
tlrCreate(tlId: string, didDocumentCreatePayload?: DidDocumentCreatePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CredentialIdObject>>;
|
|
1092
|
+
/**
|
|
1093
|
+
* Retrieves a list of Trust List Records.
|
|
1094
|
+
* @param {string} tlId
|
|
1095
|
+
* @param {*} [options] Override http request option.
|
|
1096
|
+
* @throws {RequiredError}
|
|
1097
|
+
*/
|
|
1098
|
+
tlrsGet(tlId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DidDocumentList>>;
|
|
1099
|
+
/**
|
|
1100
|
+
* Retrieves a specific Trust List Record
|
|
1101
|
+
* @param {string} tlId Trust List Identifier
|
|
1102
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
1103
|
+
* @param {*} [options] Override http request option.
|
|
1104
|
+
* @throws {RequiredError}
|
|
1105
|
+
*/
|
|
1106
|
+
trustListRecordGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tlr>>;
|
|
1107
|
+
/**
|
|
1108
|
+
* Gets a Verifiable Presentation.
|
|
1109
|
+
* @param {string} tlId
|
|
1110
|
+
* @param {string} did
|
|
1111
|
+
* @param {string} id
|
|
1112
|
+
* @param {*} [options] Override http request option.
|
|
1113
|
+
* @throws {RequiredError}
|
|
1114
|
+
*/
|
|
1115
|
+
vpGet(tlId: string, did: string, id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VpResponse>>;
|
|
1116
|
+
};
|
|
1117
|
+
/**
|
|
1118
|
+
* DefaultApi - factory interface
|
|
1119
|
+
* @export
|
|
1120
|
+
*/
|
|
1121
|
+
export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1122
|
+
/**
|
|
1123
|
+
* Retrieves a specific verifiable credential based on the provided identifier. Upon retrieval the status of the credential is checked on the fly and therefore guaranteed.
|
|
1124
|
+
* @param {string} credentialId Verifiable Credential Identifier
|
|
1125
|
+
* @param {*} [options] Override http request option.
|
|
1126
|
+
* @throws {RequiredError}
|
|
1127
|
+
*/
|
|
1128
|
+
credentialGet(credentialId: string, options?: RawAxiosRequestConfig): AxiosPromise<CredentialWrapper>;
|
|
1129
|
+
/**
|
|
1130
|
+
* Creates a new DID Document.
|
|
1131
|
+
* @param {string} tlId
|
|
1132
|
+
* @param {DidDocumentCreatePayload} [didDocumentCreatePayload] DID Document Create Payload.
|
|
1133
|
+
* @param {*} [options] Override http request option.
|
|
1134
|
+
* @throws {RequiredError}
|
|
1135
|
+
*/
|
|
1136
|
+
didDocumentCreate(tlId: string, didDocumentCreatePayload?: DidDocumentCreatePayload, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
1137
|
+
/**
|
|
1138
|
+
* Retrieves a specific DID Document
|
|
1139
|
+
* @param {string} tlId Trust List Identifier
|
|
1140
|
+
* @param {string} did DID
|
|
1141
|
+
* @param {*} [options] Override http request option.
|
|
1142
|
+
* @throws {RequiredError}
|
|
1143
|
+
*/
|
|
1144
|
+
didGet(tlId: string, did: string, options?: RawAxiosRequestConfig): AxiosPromise<DidDocument>;
|
|
1145
|
+
/**
|
|
1146
|
+
* Initiates the onboarding process to the DID registry.
|
|
1147
|
+
* @param {string} tlId
|
|
1148
|
+
* @param {DidOnboardingPayload} [didOnboardingPayload] DID onboarding init payload.
|
|
1149
|
+
* @param {*} [options] Override http request option.
|
|
1150
|
+
* @throws {RequiredError}
|
|
1151
|
+
*/
|
|
1152
|
+
didOnboardingInit(tlId: string, didOnboardingPayload?: DidOnboardingPayload, options?: RawAxiosRequestConfig): AxiosPromise<DidOnboardingResponse>;
|
|
1153
|
+
/**
|
|
1154
|
+
*
|
|
1155
|
+
* @param {string} tlId
|
|
1156
|
+
* @param {string} verifierState The verifier state provided by the onboarding endpoint
|
|
1157
|
+
* @param {*} [options] Override http request option.
|
|
1158
|
+
* @throws {RequiredError}
|
|
1159
|
+
*/
|
|
1160
|
+
didOnboardingStatus(tlId: string, verifierState: string, options?: RawAxiosRequestConfig): AxiosPromise<DidOnboardingStatus>;
|
|
1161
|
+
/**
|
|
1162
|
+
* Adds DID Verification method.
|
|
1163
|
+
* @param {string} tlId Trust List Identifier
|
|
1164
|
+
* @param {string} did DID
|
|
1165
|
+
* @param {VerificationMethod} [verificationMethod] Verification method.
|
|
1166
|
+
* @param {*} [options] Override http request option.
|
|
1167
|
+
* @throws {RequiredError}
|
|
1168
|
+
*/
|
|
1169
|
+
didVerificationMethodAdd(tlId: string, did: string, verificationMethod?: VerificationMethod, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1170
|
+
/**
|
|
1171
|
+
* Retrieves a list of DID Documents.
|
|
1172
|
+
* @param {string} tlId
|
|
1173
|
+
* @param {*} [options] Override http request option.
|
|
1174
|
+
* @throws {RequiredError}
|
|
1175
|
+
*/
|
|
1176
|
+
didsGet(tlId: string, options?: RawAxiosRequestConfig): AxiosPromise<DidDocumentList>;
|
|
1177
|
+
/**
|
|
1178
|
+
*
|
|
1179
|
+
* @param {*} [options] Override http request option.
|
|
1180
|
+
* @throws {RequiredError}
|
|
1181
|
+
*/
|
|
1182
|
+
healthCheck(options?: RawAxiosRequestConfig): AxiosPromise<HealthStatus>;
|
|
1183
|
+
/**
|
|
1184
|
+
* Creates a Trust List based on the specified payload.
|
|
1185
|
+
* @param {TlPayload} [tlPayload] Trust List create payload.
|
|
1186
|
+
* @param {*} [options] Override http request option.
|
|
1187
|
+
* @throws {RequiredError}
|
|
1188
|
+
*/
|
|
1189
|
+
tlCreate(tlPayload?: TlPayload, options?: RawAxiosRequestConfig): AxiosPromise<Tl>;
|
|
1190
|
+
/**
|
|
1191
|
+
* Gets the specified Trust List
|
|
1192
|
+
* @param {string} tlId
|
|
1193
|
+
* @param {*} [options] Override http request option.
|
|
1194
|
+
* @throws {RequiredError}
|
|
1195
|
+
*/
|
|
1196
|
+
tlGet(tlId: string, options?: RawAxiosRequestConfig): AxiosPromise<Tl>;
|
|
1197
|
+
/**
|
|
1198
|
+
* Updates a Trust List based on the specified payload.
|
|
1199
|
+
* @param {string} tlId
|
|
1200
|
+
* @param {TlPayload} [tlPayload] Trust List create payload.
|
|
1201
|
+
* @param {*} [options] Override http request option.
|
|
1202
|
+
* @throws {RequiredError}
|
|
1203
|
+
*/
|
|
1204
|
+
tlPatch(tlId: string, tlPayload?: TlPayload, options?: RawAxiosRequestConfig): AxiosPromise<Tl>;
|
|
1205
|
+
/**
|
|
1206
|
+
* Creates a new Trust List Record.
|
|
1207
|
+
* @param {string} tlId
|
|
1208
|
+
* @param {DidDocumentCreatePayload} [didDocumentCreatePayload] Trust List Record create payload.
|
|
1209
|
+
* @param {*} [options] Override http request option.
|
|
1210
|
+
* @throws {RequiredError}
|
|
1211
|
+
*/
|
|
1212
|
+
tlrCreate(tlId: string, didDocumentCreatePayload?: DidDocumentCreatePayload, options?: RawAxiosRequestConfig): AxiosPromise<CredentialIdObject>;
|
|
1213
|
+
/**
|
|
1214
|
+
* Retrieves a list of Trust List Records.
|
|
1215
|
+
* @param {string} tlId
|
|
1216
|
+
* @param {*} [options] Override http request option.
|
|
1217
|
+
* @throws {RequiredError}
|
|
1218
|
+
*/
|
|
1219
|
+
tlrsGet(tlId: string, options?: RawAxiosRequestConfig): AxiosPromise<DidDocumentList>;
|
|
1220
|
+
/**
|
|
1221
|
+
* Retrieves a specific Trust List Record
|
|
1222
|
+
* @param {string} tlId Trust List Identifier
|
|
1223
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
1224
|
+
* @param {*} [options] Override http request option.
|
|
1225
|
+
* @throws {RequiredError}
|
|
1226
|
+
*/
|
|
1227
|
+
trustListRecordGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): AxiosPromise<Tlr>;
|
|
1228
|
+
/**
|
|
1229
|
+
* Gets a Verifiable Presentation.
|
|
1230
|
+
* @param {string} tlId
|
|
1231
|
+
* @param {string} did
|
|
1232
|
+
* @param {string} id
|
|
1233
|
+
* @param {*} [options] Override http request option.
|
|
1234
|
+
* @throws {RequiredError}
|
|
1235
|
+
*/
|
|
1236
|
+
vpGet(tlId: string, did: string, id: string, options?: RawAxiosRequestConfig): AxiosPromise<VpResponse>;
|
|
1237
|
+
};
|
|
1238
|
+
/**
|
|
1239
|
+
* DefaultApi - object-oriented interface
|
|
1240
|
+
* @export
|
|
1241
|
+
* @class DefaultApi
|
|
1242
|
+
* @extends {BaseAPI}
|
|
1243
|
+
*/
|
|
1244
|
+
export declare class DefaultApi extends BaseAPI {
|
|
1245
|
+
/**
|
|
1246
|
+
* Retrieves a specific verifiable credential based on the provided identifier. Upon retrieval the status of the credential is checked on the fly and therefore guaranteed.
|
|
1247
|
+
* @param {string} credentialId Verifiable Credential Identifier
|
|
1248
|
+
* @param {*} [options] Override http request option.
|
|
1249
|
+
* @throws {RequiredError}
|
|
1250
|
+
* @memberof DefaultApi
|
|
1251
|
+
*/
|
|
1252
|
+
credentialGet(credentialId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialWrapper, any>>;
|
|
1253
|
+
/**
|
|
1254
|
+
* Creates a new DID Document.
|
|
1255
|
+
* @param {string} tlId
|
|
1256
|
+
* @param {DidDocumentCreatePayload} [didDocumentCreatePayload] DID Document Create Payload.
|
|
1257
|
+
* @param {*} [options] Override http request option.
|
|
1258
|
+
* @throws {RequiredError}
|
|
1259
|
+
* @memberof DefaultApi
|
|
1260
|
+
*/
|
|
1261
|
+
didDocumentCreate(tlId: string, didDocumentCreatePayload?: DidDocumentCreatePayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
1262
|
+
/**
|
|
1263
|
+
* Retrieves a specific DID Document
|
|
1264
|
+
* @param {string} tlId Trust List Identifier
|
|
1265
|
+
* @param {string} did DID
|
|
1266
|
+
* @param {*} [options] Override http request option.
|
|
1267
|
+
* @throws {RequiredError}
|
|
1268
|
+
* @memberof DefaultApi
|
|
1269
|
+
*/
|
|
1270
|
+
didGet(tlId: string, did: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DidDocument, any>>;
|
|
1271
|
+
/**
|
|
1272
|
+
* Initiates the onboarding process to the DID registry.
|
|
1273
|
+
* @param {string} tlId
|
|
1274
|
+
* @param {DidOnboardingPayload} [didOnboardingPayload] DID onboarding init payload.
|
|
1275
|
+
* @param {*} [options] Override http request option.
|
|
1276
|
+
* @throws {RequiredError}
|
|
1277
|
+
* @memberof DefaultApi
|
|
1278
|
+
*/
|
|
1279
|
+
didOnboardingInit(tlId: string, didOnboardingPayload?: DidOnboardingPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DidOnboardingResponse, any>>;
|
|
1280
|
+
/**
|
|
1281
|
+
*
|
|
1282
|
+
* @param {string} tlId
|
|
1283
|
+
* @param {string} verifierState The verifier state provided by the onboarding endpoint
|
|
1284
|
+
* @param {*} [options] Override http request option.
|
|
1285
|
+
* @throws {RequiredError}
|
|
1286
|
+
* @memberof DefaultApi
|
|
1287
|
+
*/
|
|
1288
|
+
didOnboardingStatus(tlId: string, verifierState: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DidOnboardingStatus, any>>;
|
|
1289
|
+
/**
|
|
1290
|
+
* Adds DID Verification method.
|
|
1291
|
+
* @param {string} tlId Trust List Identifier
|
|
1292
|
+
* @param {string} did DID
|
|
1293
|
+
* @param {VerificationMethod} [verificationMethod] Verification method.
|
|
1294
|
+
* @param {*} [options] Override http request option.
|
|
1295
|
+
* @throws {RequiredError}
|
|
1296
|
+
* @memberof DefaultApi
|
|
1297
|
+
*/
|
|
1298
|
+
didVerificationMethodAdd(tlId: string, did: string, verificationMethod?: VerificationMethod, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1299
|
+
/**
|
|
1300
|
+
* Retrieves a list of DID Documents.
|
|
1301
|
+
* @param {string} tlId
|
|
1302
|
+
* @param {*} [options] Override http request option.
|
|
1303
|
+
* @throws {RequiredError}
|
|
1304
|
+
* @memberof DefaultApi
|
|
1305
|
+
*/
|
|
1306
|
+
didsGet(tlId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DidDocumentList, any>>;
|
|
1307
|
+
/**
|
|
1308
|
+
*
|
|
1309
|
+
* @param {*} [options] Override http request option.
|
|
1310
|
+
* @throws {RequiredError}
|
|
1311
|
+
* @memberof DefaultApi
|
|
1312
|
+
*/
|
|
1313
|
+
healthCheck(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HealthStatus, any>>;
|
|
1314
|
+
/**
|
|
1315
|
+
* Creates a Trust List based on the specified payload.
|
|
1316
|
+
* @param {TlPayload} [tlPayload] Trust List create payload.
|
|
1317
|
+
* @param {*} [options] Override http request option.
|
|
1318
|
+
* @throws {RequiredError}
|
|
1319
|
+
* @memberof DefaultApi
|
|
1320
|
+
*/
|
|
1321
|
+
tlCreate(tlPayload?: TlPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tl, any>>;
|
|
1322
|
+
/**
|
|
1323
|
+
* Gets the specified Trust List
|
|
1324
|
+
* @param {string} tlId
|
|
1325
|
+
* @param {*} [options] Override http request option.
|
|
1326
|
+
* @throws {RequiredError}
|
|
1327
|
+
* @memberof DefaultApi
|
|
1328
|
+
*/
|
|
1329
|
+
tlGet(tlId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tl, any>>;
|
|
1330
|
+
/**
|
|
1331
|
+
* Updates a Trust List based on the specified payload.
|
|
1332
|
+
* @param {string} tlId
|
|
1333
|
+
* @param {TlPayload} [tlPayload] Trust List create payload.
|
|
1334
|
+
* @param {*} [options] Override http request option.
|
|
1335
|
+
* @throws {RequiredError}
|
|
1336
|
+
* @memberof DefaultApi
|
|
1337
|
+
*/
|
|
1338
|
+
tlPatch(tlId: string, tlPayload?: TlPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tl, any>>;
|
|
1339
|
+
/**
|
|
1340
|
+
* Creates a new Trust List Record.
|
|
1341
|
+
* @param {string} tlId
|
|
1342
|
+
* @param {DidDocumentCreatePayload} [didDocumentCreatePayload] Trust List Record create payload.
|
|
1343
|
+
* @param {*} [options] Override http request option.
|
|
1344
|
+
* @throws {RequiredError}
|
|
1345
|
+
* @memberof DefaultApi
|
|
1346
|
+
*/
|
|
1347
|
+
tlrCreate(tlId: string, didDocumentCreatePayload?: DidDocumentCreatePayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CredentialIdObject, any>>;
|
|
1348
|
+
/**
|
|
1349
|
+
* Retrieves a list of Trust List Records.
|
|
1350
|
+
* @param {string} tlId
|
|
1351
|
+
* @param {*} [options] Override http request option.
|
|
1352
|
+
* @throws {RequiredError}
|
|
1353
|
+
* @memberof DefaultApi
|
|
1354
|
+
*/
|
|
1355
|
+
tlrsGet(tlId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DidDocumentList, any>>;
|
|
1356
|
+
/**
|
|
1357
|
+
* Retrieves a specific Trust List Record
|
|
1358
|
+
* @param {string} tlId Trust List Identifier
|
|
1359
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
1360
|
+
* @param {*} [options] Override http request option.
|
|
1361
|
+
* @throws {RequiredError}
|
|
1362
|
+
* @memberof DefaultApi
|
|
1363
|
+
*/
|
|
1364
|
+
trustListRecordGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tlr, any>>;
|
|
1365
|
+
/**
|
|
1366
|
+
* Gets a Verifiable Presentation.
|
|
1367
|
+
* @param {string} tlId
|
|
1368
|
+
* @param {string} did
|
|
1369
|
+
* @param {string} id
|
|
1370
|
+
* @param {*} [options] Override http request option.
|
|
1371
|
+
* @throws {RequiredError}
|
|
1372
|
+
* @memberof DefaultApi
|
|
1373
|
+
*/
|
|
1374
|
+
vpGet(tlId: string, did: string, id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VpResponse, any>>;
|
|
1375
|
+
}
|