@idunion/tl-sdk 0.0.25 → 0.0.27
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 +104 -482
- package/api.js +139 -12
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -14,358 +14,29 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
|
14
14
|
import type { RequestArgs } from './base';
|
|
15
15
|
import { BaseAPI } from './base';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Defines accreditations which were given to specific holder
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface AccreditedFor
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
22
|
-
[key: string]: any;
|
|
23
|
-
/**
|
|
24
|
-
* 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
|
|
25
|
-
* @type {Array<string>}
|
|
26
|
-
* @memberof Credential
|
|
27
|
-
*/
|
|
28
|
-
'@context'?: Array<string>;
|
|
21
|
+
export interface AccreditedFor {
|
|
29
22
|
/**
|
|
30
|
-
*
|
|
23
|
+
* Jurisdiction limitation based on geographical region defined by https://publications.europa.eu/resource/authority/atu
|
|
31
24
|
* @type {string}
|
|
32
|
-
* @memberof
|
|
33
|
-
*/
|
|
34
|
-
'id'?: string;
|
|
35
|
-
/**
|
|
36
|
-
* 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
|
|
37
|
-
* @type {Array<string>}
|
|
38
|
-
* @memberof Credential
|
|
39
|
-
*/
|
|
40
|
-
'type'?: Array<string>;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {CredentialSchema}
|
|
44
|
-
* @memberof Credential
|
|
25
|
+
* @memberof AccreditedFor
|
|
45
26
|
*/
|
|
46
|
-
'
|
|
27
|
+
'limitJurisdiction'?: string;
|
|
47
28
|
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {CredentialSubject}
|
|
50
|
-
* @memberof Credential
|
|
51
|
-
*/
|
|
52
|
-
'credentialSubject'?: CredentialSubject;
|
|
53
|
-
/**
|
|
54
|
-
*
|
|
55
|
-
* @type {CredentialStatus}
|
|
56
|
-
* @memberof Credential
|
|
57
|
-
*/
|
|
58
|
-
'credentialStatus'?: CredentialStatus;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @type {Array<EvidenceItem>}
|
|
62
|
-
* @memberof Credential
|
|
63
|
-
*/
|
|
64
|
-
'evidence'?: Array<EvidenceItem>;
|
|
65
|
-
/**
|
|
66
|
-
* 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
|
|
29
|
+
* Link to a schema for which the accreditation is given
|
|
67
30
|
* @type {string}
|
|
68
|
-
* @memberof
|
|
31
|
+
* @memberof AccreditedFor
|
|
69
32
|
*/
|
|
70
|
-
'
|
|
33
|
+
'schemaId'?: string;
|
|
71
34
|
/**
|
|
72
|
-
*
|
|
35
|
+
* Comma separated VC type for which the accreditation is given
|
|
73
36
|
* @type {string}
|
|
74
|
-
* @memberof
|
|
75
|
-
*/
|
|
76
|
-
'validUntil'?: string;
|
|
77
|
-
/**
|
|
78
|
-
* EBSI specific field defining the date of issuance.
|
|
79
|
-
* @type {string}
|
|
80
|
-
* @memberof Credential
|
|
81
|
-
*/
|
|
82
|
-
'issued'?: string;
|
|
83
|
-
/**
|
|
84
|
-
* EBSI specific field defining the date of issuance.
|
|
85
|
-
* @type {string}
|
|
86
|
-
* @memberof Credential
|
|
87
|
-
*/
|
|
88
|
-
'issuanceDate'?: string;
|
|
89
|
-
/**
|
|
90
|
-
* EBSI specific field defining the date of expiration.
|
|
91
|
-
* @type {string}
|
|
92
|
-
* @memberof Credential
|
|
93
|
-
*/
|
|
94
|
-
'expirationDate'?: string;
|
|
95
|
-
/**
|
|
96
|
-
* Either a URL or an object containing an id property https://www.w3.org/TR/vc-data-model-2.0/#defn-holder
|
|
97
|
-
* @type {string}
|
|
98
|
-
* @memberof Credential
|
|
99
|
-
*/
|
|
100
|
-
'holder'?: string;
|
|
101
|
-
/**
|
|
102
|
-
* Either a URL or an object containing an id property https://www.w3.org/TR/vc-data-model-2.0/#defn-issuer
|
|
103
|
-
* @type {string}
|
|
104
|
-
* @memberof Credential
|
|
105
|
-
*/
|
|
106
|
-
'issuer'?: string;
|
|
107
|
-
/**
|
|
108
|
-
* Array of specific VC field disclosures
|
|
109
|
-
* @type {Array<string>}
|
|
110
|
-
* @memberof Credential
|
|
111
|
-
*/
|
|
112
|
-
'_sd'?: Array<string>;
|
|
113
|
-
/**
|
|
114
|
-
* Algorithm used for hashing disclosure digests
|
|
115
|
-
* @type {string}
|
|
116
|
-
* @memberof Credential
|
|
117
|
-
*/
|
|
118
|
-
'_sd_alg'?: string;
|
|
119
|
-
/**
|
|
120
|
-
*
|
|
121
|
-
* @type {RefreshService}
|
|
122
|
-
* @memberof Credential
|
|
37
|
+
* @memberof AccreditedFor
|
|
123
38
|
*/
|
|
124
|
-
'
|
|
125
|
-
/**
|
|
126
|
-
*
|
|
127
|
-
* @type {TermsOfUse}
|
|
128
|
-
* @memberof Credential
|
|
129
|
-
*/
|
|
130
|
-
'termsOfUse'?: TermsOfUse;
|
|
131
|
-
/**
|
|
132
|
-
*
|
|
133
|
-
* @type {Proof}
|
|
134
|
-
* @memberof Credential
|
|
135
|
-
*/
|
|
136
|
-
'proof'?: Proof;
|
|
137
|
-
}
|
|
138
|
-
/**
|
|
139
|
-
*
|
|
140
|
-
* @export
|
|
141
|
-
* @interface CredentialIdObject
|
|
142
|
-
*/
|
|
143
|
-
export interface CredentialIdObject {
|
|
144
|
-
/**
|
|
145
|
-
*
|
|
146
|
-
* @type {string}
|
|
147
|
-
* @memberof CredentialIdObject
|
|
148
|
-
*/
|
|
149
|
-
'id': string;
|
|
150
|
-
}
|
|
151
|
-
/**
|
|
152
|
-
* Any Credential related accompanying key, value pairs that are not part of the Issued Credential
|
|
153
|
-
* @export
|
|
154
|
-
* @interface CredentialMetadata
|
|
155
|
-
*/
|
|
156
|
-
export interface CredentialMetadata {
|
|
157
|
-
[key: string]: any;
|
|
158
|
-
/**
|
|
159
|
-
*
|
|
160
|
-
* @type {string}
|
|
161
|
-
* @memberof CredentialMetadata
|
|
162
|
-
*/
|
|
163
|
-
'id': string;
|
|
164
|
-
/**
|
|
165
|
-
*
|
|
166
|
-
* @type {string}
|
|
167
|
-
* @memberof CredentialMetadata
|
|
168
|
-
*/
|
|
169
|
-
'walletId': string;
|
|
170
|
-
/**
|
|
171
|
-
*
|
|
172
|
-
* @type {string}
|
|
173
|
-
* @memberof CredentialMetadata
|
|
174
|
-
*/
|
|
175
|
-
'ownerId': string;
|
|
176
|
-
/**
|
|
177
|
-
*
|
|
178
|
-
* @type {string}
|
|
179
|
-
* @memberof CredentialMetadata
|
|
180
|
-
*/
|
|
181
|
-
'name': string;
|
|
182
|
-
/**
|
|
183
|
-
*
|
|
184
|
-
* @type {string}
|
|
185
|
-
* @memberof CredentialMetadata
|
|
186
|
-
*/
|
|
187
|
-
'interaction': CredentialMetadataInteractionEnum;
|
|
188
|
-
/**
|
|
189
|
-
*
|
|
190
|
-
* @type {string}
|
|
191
|
-
* @memberof CredentialMetadata
|
|
192
|
-
*/
|
|
193
|
-
'message'?: string;
|
|
194
|
-
/**
|
|
195
|
-
*
|
|
196
|
-
* @type {string}
|
|
197
|
-
* @memberof CredentialMetadata
|
|
198
|
-
*/
|
|
199
|
-
'type': string;
|
|
200
|
-
/**
|
|
201
|
-
* In case of issued credential this is the DID of the holder wallet
|
|
202
|
-
* @type {string}
|
|
203
|
-
* @memberof CredentialMetadata
|
|
204
|
-
*/
|
|
205
|
-
'offeredToClientId'?: string;
|
|
206
|
-
/**
|
|
207
|
-
*
|
|
208
|
-
* @type {string}
|
|
209
|
-
* @memberof CredentialMetadata
|
|
210
|
-
*/
|
|
211
|
-
'created': string;
|
|
212
|
-
/**
|
|
213
|
-
*
|
|
214
|
-
* @type {string}
|
|
215
|
-
* @memberof CredentialMetadata
|
|
216
|
-
*/
|
|
217
|
-
'updated': string;
|
|
218
|
-
/**
|
|
219
|
-
*
|
|
220
|
-
* @type {string}
|
|
221
|
-
* @memberof CredentialMetadata
|
|
222
|
-
*/
|
|
223
|
-
'status': CredentialMetadataStatusEnum;
|
|
224
|
-
/**
|
|
225
|
-
*
|
|
226
|
-
* @type {Array<string>}
|
|
227
|
-
* @memberof CredentialMetadata
|
|
228
|
-
*/
|
|
229
|
-
'disclosableFields'?: Array<string>;
|
|
230
|
-
/**
|
|
231
|
-
* Array of objects, where each object contains display properties of a Credential Issuer for a certain language.
|
|
232
|
-
* @type {Array<IssuerDisplayItem>}
|
|
233
|
-
* @memberof CredentialMetadata
|
|
234
|
-
*/
|
|
235
|
-
'issuerDisplay'?: Array<IssuerDisplayItem>;
|
|
236
|
-
}
|
|
237
|
-
export declare const CredentialMetadataInteractionEnum: {
|
|
238
|
-
readonly Issuance: "issuance";
|
|
239
|
-
readonly Receive: "receive";
|
|
240
|
-
readonly StatusList: "statusList";
|
|
241
|
-
readonly TaoCredentials: "taoCredentials";
|
|
242
|
-
};
|
|
243
|
-
export type CredentialMetadataInteractionEnum = typeof CredentialMetadataInteractionEnum[keyof typeof CredentialMetadataInteractionEnum];
|
|
244
|
-
export declare const CredentialMetadataStatusEnum: {
|
|
245
|
-
readonly Draft: "draft";
|
|
246
|
-
readonly Valid: "valid";
|
|
247
|
-
readonly Invalid: "invalid";
|
|
248
|
-
};
|
|
249
|
-
export type CredentialMetadataStatusEnum = typeof CredentialMetadataStatusEnum[keyof typeof CredentialMetadataStatusEnum];
|
|
250
|
-
/**
|
|
251
|
-
* @type CredentialSchema
|
|
252
|
-
* 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
|
|
253
|
-
* @export
|
|
254
|
-
*/
|
|
255
|
-
export type CredentialSchema = Array<CredentialSchemaItem> | CredentialSchemaItem;
|
|
256
|
-
/**
|
|
257
|
-
*
|
|
258
|
-
* @export
|
|
259
|
-
* @interface CredentialSchemaItem
|
|
260
|
-
*/
|
|
261
|
-
export interface CredentialSchemaItem {
|
|
262
|
-
[key: string]: any;
|
|
263
|
-
/**
|
|
264
|
-
* A URL identifying the schema file
|
|
265
|
-
* @type {string}
|
|
266
|
-
* @memberof CredentialSchemaItem
|
|
267
|
-
*/
|
|
268
|
-
'id': string;
|
|
269
|
-
/**
|
|
270
|
-
*
|
|
271
|
-
* @type {string}
|
|
272
|
-
* @memberof CredentialSchemaItem
|
|
273
|
-
*/
|
|
274
|
-
'name'?: string;
|
|
275
|
-
/**
|
|
276
|
-
* Defines the schema type, for example, JsonSchema
|
|
277
|
-
* @type {string}
|
|
278
|
-
* @memberof CredentialSchemaItem
|
|
279
|
-
*/
|
|
280
|
-
'type': string;
|
|
281
|
-
}
|
|
282
|
-
/**
|
|
283
|
-
* 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
|
|
284
|
-
* @export
|
|
285
|
-
* @interface CredentialStatus
|
|
286
|
-
*/
|
|
287
|
-
export interface CredentialStatus {
|
|
288
|
-
/**
|
|
289
|
-
*
|
|
290
|
-
* @type {string}
|
|
291
|
-
* @memberof CredentialStatus
|
|
292
|
-
*/
|
|
293
|
-
'id': string;
|
|
294
|
-
/**
|
|
295
|
-
*
|
|
296
|
-
* @type {string}
|
|
297
|
-
* @memberof CredentialStatus
|
|
298
|
-
*/
|
|
299
|
-
'type': string;
|
|
300
|
-
/**
|
|
301
|
-
*
|
|
302
|
-
* @type {string}
|
|
303
|
-
* @memberof CredentialStatus
|
|
304
|
-
*/
|
|
305
|
-
'statusPurpose'?: string;
|
|
306
|
-
/**
|
|
307
|
-
*
|
|
308
|
-
* @type {string}
|
|
309
|
-
* @memberof CredentialStatus
|
|
310
|
-
*/
|
|
311
|
-
'statusListIndex'?: string;
|
|
312
|
-
/**
|
|
313
|
-
*
|
|
314
|
-
* @type {string}
|
|
315
|
-
* @memberof CredentialStatus
|
|
316
|
-
*/
|
|
317
|
-
'statusListCredential'?: string;
|
|
318
|
-
}
|
|
319
|
-
/**
|
|
320
|
-
* @type CredentialSubject
|
|
321
|
-
* 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
|
|
322
|
-
* @export
|
|
323
|
-
*/
|
|
324
|
-
export type CredentialSubject = Array<CredentialSubjectItem> | CredentialSubjectItem;
|
|
325
|
-
/**
|
|
326
|
-
*
|
|
327
|
-
* @export
|
|
328
|
-
* @interface CredentialSubjectItem
|
|
329
|
-
*/
|
|
330
|
-
export interface CredentialSubjectItem {
|
|
331
|
-
[key: string]: any;
|
|
332
|
-
/**
|
|
333
|
-
*
|
|
334
|
-
* @type {string}
|
|
335
|
-
* @memberof CredentialSubjectItem
|
|
336
|
-
*/
|
|
337
|
-
'id'?: string;
|
|
338
|
-
/**
|
|
339
|
-
* Array of specific VC subject field disclosures
|
|
340
|
-
* @type {Array<string>}
|
|
341
|
-
* @memberof CredentialSubjectItem
|
|
342
|
-
*/
|
|
343
|
-
'_sd'?: Array<string>;
|
|
344
|
-
}
|
|
345
|
-
/**
|
|
346
|
-
* The wrapper contains Verifiable Credential in both, the Credential and as Base64 signed format alongside with metadata.
|
|
347
|
-
* @export
|
|
348
|
-
* @interface CredentialWrapper
|
|
349
|
-
*/
|
|
350
|
-
export interface CredentialWrapper {
|
|
351
|
-
/**
|
|
352
|
-
*
|
|
353
|
-
* @type {CredentialMetadata}
|
|
354
|
-
* @memberof CredentialWrapper
|
|
355
|
-
*/
|
|
356
|
-
'metadata': CredentialMetadata;
|
|
357
|
-
/**
|
|
358
|
-
*
|
|
359
|
-
* @type {Credential}
|
|
360
|
-
* @memberof CredentialWrapper
|
|
361
|
-
*/
|
|
362
|
-
'vc': Credential;
|
|
363
|
-
/**
|
|
364
|
-
* The base64 encoded Verifiable Credential in its final signed form
|
|
365
|
-
* @type {string}
|
|
366
|
-
* @memberof CredentialWrapper
|
|
367
|
-
*/
|
|
368
|
-
'signedVc'?: string;
|
|
39
|
+
'types'?: string;
|
|
369
40
|
}
|
|
370
41
|
/**
|
|
371
42
|
*
|
|
@@ -454,26 +125,6 @@ export interface DidDocumentList {
|
|
|
454
125
|
*/
|
|
455
126
|
'items'?: Array<string>;
|
|
456
127
|
}
|
|
457
|
-
/**
|
|
458
|
-
* 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
|
|
459
|
-
* @export
|
|
460
|
-
* @interface EvidenceItem
|
|
461
|
-
*/
|
|
462
|
-
export interface EvidenceItem {
|
|
463
|
-
[key: string]: any;
|
|
464
|
-
/**
|
|
465
|
-
* URL that points to where more information about this instance of evidence can be found
|
|
466
|
-
* @type {string}
|
|
467
|
-
* @memberof EvidenceItem
|
|
468
|
-
*/
|
|
469
|
-
'id'?: string;
|
|
470
|
-
/**
|
|
471
|
-
* The precise content of each evidence scheme is determined by the specific evidence type definition.
|
|
472
|
-
* @type {Array<string>}
|
|
473
|
-
* @memberof EvidenceItem
|
|
474
|
-
*/
|
|
475
|
-
'type': Array<string>;
|
|
476
|
-
}
|
|
477
128
|
/**
|
|
478
129
|
* Health status of the system
|
|
479
130
|
* @export
|
|
@@ -494,67 +145,42 @@ export declare const HealthStatusStatusEnum: {
|
|
|
494
145
|
};
|
|
495
146
|
export type HealthStatusStatusEnum = typeof HealthStatusStatusEnum[keyof typeof HealthStatusStatusEnum];
|
|
496
147
|
/**
|
|
497
|
-
*
|
|
148
|
+
* Common error message
|
|
498
149
|
* @export
|
|
499
|
-
* @interface
|
|
150
|
+
* @interface ModelError
|
|
500
151
|
*/
|
|
501
|
-
export interface
|
|
152
|
+
export interface ModelError {
|
|
502
153
|
/**
|
|
503
154
|
*
|
|
504
155
|
* @type {string}
|
|
505
|
-
* @memberof
|
|
156
|
+
* @memberof ModelError
|
|
506
157
|
*/
|
|
507
|
-
'
|
|
158
|
+
'error': string;
|
|
508
159
|
/**
|
|
509
160
|
*
|
|
510
161
|
* @type {string}
|
|
511
|
-
* @memberof
|
|
512
|
-
*/
|
|
513
|
-
'locale'?: string;
|
|
514
|
-
/**
|
|
515
|
-
*
|
|
516
|
-
* @type {IssuerLogo}
|
|
517
|
-
* @memberof IssuerDisplayItem
|
|
162
|
+
* @memberof ModelError
|
|
518
163
|
*/
|
|
519
|
-
'
|
|
164
|
+
'message': string;
|
|
520
165
|
}
|
|
521
166
|
/**
|
|
522
167
|
*
|
|
523
168
|
* @export
|
|
524
|
-
* @interface
|
|
525
|
-
*/
|
|
526
|
-
export interface IssuerLogo {
|
|
527
|
-
/**
|
|
528
|
-
*
|
|
529
|
-
* @type {string}
|
|
530
|
-
* @memberof IssuerLogo
|
|
531
|
-
*/
|
|
532
|
-
'uri'?: string;
|
|
533
|
-
/**
|
|
534
|
-
*
|
|
535
|
-
* @type {string}
|
|
536
|
-
* @memberof IssuerLogo
|
|
537
|
-
*/
|
|
538
|
-
'alt_text'?: string;
|
|
539
|
-
}
|
|
540
|
-
/**
|
|
541
|
-
* Common error message
|
|
542
|
-
* @export
|
|
543
|
-
* @interface ModelError
|
|
169
|
+
* @interface OnboardingCredential
|
|
544
170
|
*/
|
|
545
|
-
export interface
|
|
171
|
+
export interface OnboardingCredential {
|
|
546
172
|
/**
|
|
547
173
|
*
|
|
548
174
|
* @type {string}
|
|
549
|
-
* @memberof
|
|
175
|
+
* @memberof OnboardingCredential
|
|
550
176
|
*/
|
|
551
|
-
'
|
|
177
|
+
'link': string;
|
|
552
178
|
/**
|
|
553
|
-
*
|
|
179
|
+
* DID or x509
|
|
554
180
|
* @type {string}
|
|
555
|
-
* @memberof
|
|
181
|
+
* @memberof OnboardingCredential
|
|
556
182
|
*/
|
|
557
|
-
'
|
|
183
|
+
'issuer': string;
|
|
558
184
|
}
|
|
559
185
|
/**
|
|
560
186
|
*
|
|
@@ -631,68 +257,6 @@ export declare const OnboardingStatusStatusEnum: {
|
|
|
631
257
|
readonly Error: "error";
|
|
632
258
|
};
|
|
633
259
|
export type OnboardingStatusStatusEnum = typeof OnboardingStatusStatusEnum[keyof typeof OnboardingStatusStatusEnum];
|
|
634
|
-
/**
|
|
635
|
-
* 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
|
|
636
|
-
* @export
|
|
637
|
-
* @interface Proof
|
|
638
|
-
*/
|
|
639
|
-
export interface Proof {
|
|
640
|
-
/**
|
|
641
|
-
*
|
|
642
|
-
* @type {string}
|
|
643
|
-
* @memberof Proof
|
|
644
|
-
*/
|
|
645
|
-
'type': string;
|
|
646
|
-
/**
|
|
647
|
-
*
|
|
648
|
-
* @type {string}
|
|
649
|
-
* @memberof Proof
|
|
650
|
-
*/
|
|
651
|
-
'created': string;
|
|
652
|
-
/**
|
|
653
|
-
*
|
|
654
|
-
* @type {string}
|
|
655
|
-
* @memberof Proof
|
|
656
|
-
*/
|
|
657
|
-
'verificationMethod': string;
|
|
658
|
-
/**
|
|
659
|
-
*
|
|
660
|
-
* @type {string}
|
|
661
|
-
* @memberof Proof
|
|
662
|
-
*/
|
|
663
|
-
'proofPurpose': string;
|
|
664
|
-
/**
|
|
665
|
-
*
|
|
666
|
-
* @type {string}
|
|
667
|
-
* @memberof Proof
|
|
668
|
-
*/
|
|
669
|
-
'proofValue'?: string;
|
|
670
|
-
}
|
|
671
|
-
/**
|
|
672
|
-
* @type RefreshService
|
|
673
|
-
* 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
|
|
674
|
-
* @export
|
|
675
|
-
*/
|
|
676
|
-
export type RefreshService = Array<RefreshServiceItem> | RefreshServiceItem;
|
|
677
|
-
/**
|
|
678
|
-
*
|
|
679
|
-
* @export
|
|
680
|
-
* @interface RefreshServiceItem
|
|
681
|
-
*/
|
|
682
|
-
export interface RefreshServiceItem {
|
|
683
|
-
/**
|
|
684
|
-
* The URL of the service
|
|
685
|
-
* @type {string}
|
|
686
|
-
* @memberof RefreshServiceItem
|
|
687
|
-
*/
|
|
688
|
-
'id': string;
|
|
689
|
-
/**
|
|
690
|
-
*
|
|
691
|
-
* @type {string}
|
|
692
|
-
* @memberof RefreshServiceItem
|
|
693
|
-
*/
|
|
694
|
-
'type': string;
|
|
695
|
-
}
|
|
696
260
|
/**
|
|
697
261
|
* 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
|
|
698
262
|
* @export
|
|
@@ -718,26 +282,6 @@ export interface ServiceItem {
|
|
|
718
282
|
*/
|
|
719
283
|
'serviceEndpoint': string;
|
|
720
284
|
}
|
|
721
|
-
/**
|
|
722
|
-
* Policy under which the creator issued the credential or presentation https://www.w3.org/TR/vc-data-model-2.0/#defn-termsOfUse
|
|
723
|
-
* @export
|
|
724
|
-
* @interface TermsOfUse
|
|
725
|
-
*/
|
|
726
|
-
export interface TermsOfUse {
|
|
727
|
-
[key: string]: any;
|
|
728
|
-
/**
|
|
729
|
-
*
|
|
730
|
-
* @type {string}
|
|
731
|
-
* @memberof TermsOfUse
|
|
732
|
-
*/
|
|
733
|
-
'id'?: string;
|
|
734
|
-
/**
|
|
735
|
-
*
|
|
736
|
-
* @type {string}
|
|
737
|
-
* @memberof TermsOfUse
|
|
738
|
-
*/
|
|
739
|
-
'type': string;
|
|
740
|
-
}
|
|
741
285
|
/**
|
|
742
286
|
* Trust List meta info
|
|
743
287
|
* @export
|
|
@@ -867,6 +411,18 @@ export interface Tlr {
|
|
|
867
411
|
* @memberof Tlr
|
|
868
412
|
*/
|
|
869
413
|
'status': TlrStatusEnum;
|
|
414
|
+
/**
|
|
415
|
+
*
|
|
416
|
+
* @type {Array<AccreditedFor>}
|
|
417
|
+
* @memberof Tlr
|
|
418
|
+
*/
|
|
419
|
+
'accreditedFor'?: Array<AccreditedFor>;
|
|
420
|
+
/**
|
|
421
|
+
*
|
|
422
|
+
* @type {Array<OnboardingCredential>}
|
|
423
|
+
* @memberof Tlr
|
|
424
|
+
*/
|
|
425
|
+
'onboardingCredentials'?: Array<OnboardingCredential>;
|
|
870
426
|
}
|
|
871
427
|
export declare const TlrStatusEnum: {
|
|
872
428
|
readonly Unverified: "unverified";
|
|
@@ -1013,6 +569,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
1013
569
|
* @throws {RequiredError}
|
|
1014
570
|
*/
|
|
1015
571
|
tlPatch: (tlId: string, tlPayload?: TlPayload, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
572
|
+
/**
|
|
573
|
+
* Retrieves a specific Trust List record
|
|
574
|
+
* @param {string} tlId Trust List Identifier
|
|
575
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
576
|
+
* @param {*} [options] Override http request option.
|
|
577
|
+
* @throws {RequiredError}
|
|
578
|
+
*/
|
|
579
|
+
tlrGet: (tlId: string, tlrId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1016
580
|
/**
|
|
1017
581
|
* Retrieves a list of Trust List Records.
|
|
1018
582
|
* @param {string} orgName
|
|
@@ -1020,6 +584,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
1020
584
|
* @throws {RequiredError}
|
|
1021
585
|
*/
|
|
1022
586
|
tlrSearch: (orgName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
587
|
+
/**
|
|
588
|
+
* Retrieves a specific Trust List record
|
|
589
|
+
* @param {string} tlId Trust List Identifier
|
|
590
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
591
|
+
* @param {*} [options] Override http request option.
|
|
592
|
+
* @throws {RequiredError}
|
|
593
|
+
*/
|
|
594
|
+
tlrTrustChainGet: (tlId: string, tlrId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1023
595
|
/**
|
|
1024
596
|
* Retrieves a list of Trust List records.
|
|
1025
597
|
* @param {string} tlId
|
|
@@ -1124,6 +696,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
1124
696
|
* @throws {RequiredError}
|
|
1125
697
|
*/
|
|
1126
698
|
tlPatch(tlId: string, tlPayload?: TlPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tl>>;
|
|
699
|
+
/**
|
|
700
|
+
* Retrieves a specific Trust List record
|
|
701
|
+
* @param {string} tlId Trust List Identifier
|
|
702
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
703
|
+
* @param {*} [options] Override http request option.
|
|
704
|
+
* @throws {RequiredError}
|
|
705
|
+
*/
|
|
706
|
+
tlrGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tlr>>;
|
|
1127
707
|
/**
|
|
1128
708
|
* Retrieves a list of Trust List Records.
|
|
1129
709
|
* @param {string} orgName
|
|
@@ -1131,6 +711,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
1131
711
|
* @throws {RequiredError}
|
|
1132
712
|
*/
|
|
1133
713
|
tlrSearch(orgName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TlrList>>;
|
|
714
|
+
/**
|
|
715
|
+
* Retrieves a specific Trust List record
|
|
716
|
+
* @param {string} tlId Trust List Identifier
|
|
717
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
718
|
+
* @param {*} [options] Override http request option.
|
|
719
|
+
* @throws {RequiredError}
|
|
720
|
+
*/
|
|
721
|
+
tlrTrustChainGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tlr>>;
|
|
1134
722
|
/**
|
|
1135
723
|
* Retrieves a list of Trust List records.
|
|
1136
724
|
* @param {string} tlId
|
|
@@ -1235,6 +823,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
1235
823
|
* @throws {RequiredError}
|
|
1236
824
|
*/
|
|
1237
825
|
tlPatch(tlId: string, tlPayload?: TlPayload, options?: RawAxiosRequestConfig): AxiosPromise<Tl>;
|
|
826
|
+
/**
|
|
827
|
+
* Retrieves a specific Trust List record
|
|
828
|
+
* @param {string} tlId Trust List Identifier
|
|
829
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
830
|
+
* @param {*} [options] Override http request option.
|
|
831
|
+
* @throws {RequiredError}
|
|
832
|
+
*/
|
|
833
|
+
tlrGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): AxiosPromise<Tlr>;
|
|
1238
834
|
/**
|
|
1239
835
|
* Retrieves a list of Trust List Records.
|
|
1240
836
|
* @param {string} orgName
|
|
@@ -1242,6 +838,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
1242
838
|
* @throws {RequiredError}
|
|
1243
839
|
*/
|
|
1244
840
|
tlrSearch(orgName: string, options?: RawAxiosRequestConfig): AxiosPromise<TlrList>;
|
|
841
|
+
/**
|
|
842
|
+
* Retrieves a specific Trust List record
|
|
843
|
+
* @param {string} tlId Trust List Identifier
|
|
844
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
845
|
+
* @param {*} [options] Override http request option.
|
|
846
|
+
* @throws {RequiredError}
|
|
847
|
+
*/
|
|
848
|
+
tlrTrustChainGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): AxiosPromise<Tlr>;
|
|
1245
849
|
/**
|
|
1246
850
|
* Retrieves a list of Trust List records.
|
|
1247
851
|
* @param {string} tlId
|
|
@@ -1359,6 +963,15 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1359
963
|
* @memberof DefaultApi
|
|
1360
964
|
*/
|
|
1361
965
|
tlPatch(tlId: string, tlPayload?: TlPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tl, any>>;
|
|
966
|
+
/**
|
|
967
|
+
* Retrieves a specific Trust List record
|
|
968
|
+
* @param {string} tlId Trust List Identifier
|
|
969
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
970
|
+
* @param {*} [options] Override http request option.
|
|
971
|
+
* @throws {RequiredError}
|
|
972
|
+
* @memberof DefaultApi
|
|
973
|
+
*/
|
|
974
|
+
tlrGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tlr, any>>;
|
|
1362
975
|
/**
|
|
1363
976
|
* Retrieves a list of Trust List Records.
|
|
1364
977
|
* @param {string} orgName
|
|
@@ -1367,6 +980,15 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1367
980
|
* @memberof DefaultApi
|
|
1368
981
|
*/
|
|
1369
982
|
tlrSearch(orgName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TlrList, any>>;
|
|
983
|
+
/**
|
|
984
|
+
* Retrieves a specific Trust List record
|
|
985
|
+
* @param {string} tlId Trust List Identifier
|
|
986
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
987
|
+
* @param {*} [options] Override http request option.
|
|
988
|
+
* @throws {RequiredError}
|
|
989
|
+
* @memberof DefaultApi
|
|
990
|
+
*/
|
|
991
|
+
tlrTrustChainGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tlr, any>>;
|
|
1370
992
|
/**
|
|
1371
993
|
* Retrieves a list of Trust List records.
|
|
1372
994
|
* @param {string} tlId
|
package/api.js
CHANGED
|
@@ -25,24 +25,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
25
25
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.TlrStatusEnum = exports.OnboardingStatusStatusEnum = exports.HealthStatusStatusEnum =
|
|
28
|
+
exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.TlrStatusEnum = exports.OnboardingStatusStatusEnum = exports.HealthStatusStatusEnum = void 0;
|
|
29
29
|
const axios_1 = __importDefault(require("axios"));
|
|
30
30
|
// Some imports not used depending on template conditions
|
|
31
31
|
// @ts-ignore
|
|
32
32
|
const common_1 = require("./common");
|
|
33
33
|
// @ts-ignore
|
|
34
34
|
const base_1 = require("./base");
|
|
35
|
-
exports.CredentialMetadataInteractionEnum = {
|
|
36
|
-
Issuance: 'issuance',
|
|
37
|
-
Receive: 'receive',
|
|
38
|
-
StatusList: 'statusList',
|
|
39
|
-
TaoCredentials: 'taoCredentials'
|
|
40
|
-
};
|
|
41
|
-
exports.CredentialMetadataStatusEnum = {
|
|
42
|
-
Draft: 'draft',
|
|
43
|
-
Valid: 'valid',
|
|
44
|
-
Invalid: 'invalid'
|
|
45
|
-
};
|
|
46
35
|
exports.HealthStatusStatusEnum = {
|
|
47
36
|
Ok: 'ok',
|
|
48
37
|
Limited: 'limited',
|
|
@@ -408,6 +397,38 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
408
397
|
options: localVarRequestOptions,
|
|
409
398
|
};
|
|
410
399
|
}),
|
|
400
|
+
/**
|
|
401
|
+
* Retrieves a specific Trust List record
|
|
402
|
+
* @param {string} tlId Trust List Identifier
|
|
403
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
404
|
+
* @param {*} [options] Override http request option.
|
|
405
|
+
* @throws {RequiredError}
|
|
406
|
+
*/
|
|
407
|
+
tlrGet: (tlId_1, tlrId_1, ...args_1) => __awaiter(this, [tlId_1, tlrId_1, ...args_1], void 0, function* (tlId, tlrId, options = {}) {
|
|
408
|
+
// verify required parameter 'tlId' is not null or undefined
|
|
409
|
+
(0, common_1.assertParamExists)('tlrGet', 'tlId', tlId);
|
|
410
|
+
// verify required parameter 'tlrId' is not null or undefined
|
|
411
|
+
(0, common_1.assertParamExists)('tlrGet', 'tlrId', tlrId);
|
|
412
|
+
const localVarPath = `/{tl_id}/{tlr_id}`
|
|
413
|
+
.replace(`{${"tl_id"}}`, encodeURIComponent(String(tlId)))
|
|
414
|
+
.replace(`{${"tlr_id"}}`, encodeURIComponent(String(tlrId)));
|
|
415
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
416
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
417
|
+
let baseOptions;
|
|
418
|
+
if (configuration) {
|
|
419
|
+
baseOptions = configuration.baseOptions;
|
|
420
|
+
}
|
|
421
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
422
|
+
const localVarHeaderParameter = {};
|
|
423
|
+
const localVarQueryParameter = {};
|
|
424
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
425
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
426
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
427
|
+
return {
|
|
428
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
429
|
+
options: localVarRequestOptions,
|
|
430
|
+
};
|
|
431
|
+
}),
|
|
411
432
|
/**
|
|
412
433
|
* Retrieves a list of Trust List Records.
|
|
413
434
|
* @param {string} orgName
|
|
@@ -436,6 +457,38 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
436
457
|
options: localVarRequestOptions,
|
|
437
458
|
};
|
|
438
459
|
}),
|
|
460
|
+
/**
|
|
461
|
+
* Retrieves a specific Trust List record
|
|
462
|
+
* @param {string} tlId Trust List Identifier
|
|
463
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
464
|
+
* @param {*} [options] Override http request option.
|
|
465
|
+
* @throws {RequiredError}
|
|
466
|
+
*/
|
|
467
|
+
tlrTrustChainGet: (tlId_1, tlrId_1, ...args_1) => __awaiter(this, [tlId_1, tlrId_1, ...args_1], void 0, function* (tlId, tlrId, options = {}) {
|
|
468
|
+
// verify required parameter 'tlId' is not null or undefined
|
|
469
|
+
(0, common_1.assertParamExists)('tlrTrustChainGet', 'tlId', tlId);
|
|
470
|
+
// verify required parameter 'tlrId' is not null or undefined
|
|
471
|
+
(0, common_1.assertParamExists)('tlrTrustChainGet', 'tlrId', tlrId);
|
|
472
|
+
const localVarPath = `/{tl_id}/{tlr_id}/trust-chain`
|
|
473
|
+
.replace(`{${"tl_id"}}`, encodeURIComponent(String(tlId)))
|
|
474
|
+
.replace(`{${"tlr_id"}}`, encodeURIComponent(String(tlrId)));
|
|
475
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
476
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
477
|
+
let baseOptions;
|
|
478
|
+
if (configuration) {
|
|
479
|
+
baseOptions = configuration.baseOptions;
|
|
480
|
+
}
|
|
481
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
482
|
+
const localVarHeaderParameter = {};
|
|
483
|
+
const localVarQueryParameter = {};
|
|
484
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
485
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
486
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
487
|
+
return {
|
|
488
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
489
|
+
options: localVarRequestOptions,
|
|
490
|
+
};
|
|
491
|
+
}),
|
|
439
492
|
/**
|
|
440
493
|
* Retrieves a list of Trust List records.
|
|
441
494
|
* @param {string} tlId
|
|
@@ -686,6 +739,22 @@ const DefaultApiFp = function (configuration) {
|
|
|
686
739
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
687
740
|
});
|
|
688
741
|
},
|
|
742
|
+
/**
|
|
743
|
+
* Retrieves a specific Trust List record
|
|
744
|
+
* @param {string} tlId Trust List Identifier
|
|
745
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
746
|
+
* @param {*} [options] Override http request option.
|
|
747
|
+
* @throws {RequiredError}
|
|
748
|
+
*/
|
|
749
|
+
tlrGet(tlId, tlrId, options) {
|
|
750
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
751
|
+
var _a, _b, _c;
|
|
752
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.tlrGet(tlId, tlrId, options);
|
|
753
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
754
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.tlrGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
755
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
756
|
+
});
|
|
757
|
+
},
|
|
689
758
|
/**
|
|
690
759
|
* Retrieves a list of Trust List Records.
|
|
691
760
|
* @param {string} orgName
|
|
@@ -701,6 +770,22 @@ const DefaultApiFp = function (configuration) {
|
|
|
701
770
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
702
771
|
});
|
|
703
772
|
},
|
|
773
|
+
/**
|
|
774
|
+
* Retrieves a specific Trust List record
|
|
775
|
+
* @param {string} tlId Trust List Identifier
|
|
776
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
777
|
+
* @param {*} [options] Override http request option.
|
|
778
|
+
* @throws {RequiredError}
|
|
779
|
+
*/
|
|
780
|
+
tlrTrustChainGet(tlId, tlrId, options) {
|
|
781
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
782
|
+
var _a, _b, _c;
|
|
783
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.tlrTrustChainGet(tlId, tlrId, options);
|
|
784
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
785
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.tlrTrustChainGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
786
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
787
|
+
});
|
|
788
|
+
},
|
|
704
789
|
/**
|
|
705
790
|
* Retrieves a list of Trust List records.
|
|
706
791
|
* @param {string} tlId
|
|
@@ -847,6 +932,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
847
932
|
tlPatch(tlId, tlPayload, options) {
|
|
848
933
|
return localVarFp.tlPatch(tlId, tlPayload, options).then((request) => request(axios, basePath));
|
|
849
934
|
},
|
|
935
|
+
/**
|
|
936
|
+
* Retrieves a specific Trust List record
|
|
937
|
+
* @param {string} tlId Trust List Identifier
|
|
938
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
939
|
+
* @param {*} [options] Override http request option.
|
|
940
|
+
* @throws {RequiredError}
|
|
941
|
+
*/
|
|
942
|
+
tlrGet(tlId, tlrId, options) {
|
|
943
|
+
return localVarFp.tlrGet(tlId, tlrId, options).then((request) => request(axios, basePath));
|
|
944
|
+
},
|
|
850
945
|
/**
|
|
851
946
|
* Retrieves a list of Trust List Records.
|
|
852
947
|
* @param {string} orgName
|
|
@@ -856,6 +951,16 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
856
951
|
tlrSearch(orgName, options) {
|
|
857
952
|
return localVarFp.tlrSearch(orgName, options).then((request) => request(axios, basePath));
|
|
858
953
|
},
|
|
954
|
+
/**
|
|
955
|
+
* Retrieves a specific Trust List record
|
|
956
|
+
* @param {string} tlId Trust List Identifier
|
|
957
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
958
|
+
* @param {*} [options] Override http request option.
|
|
959
|
+
* @throws {RequiredError}
|
|
960
|
+
*/
|
|
961
|
+
tlrTrustChainGet(tlId, tlrId, options) {
|
|
962
|
+
return localVarFp.tlrTrustChainGet(tlId, tlrId, options).then((request) => request(axios, basePath));
|
|
963
|
+
},
|
|
859
964
|
/**
|
|
860
965
|
* Retrieves a list of Trust List records.
|
|
861
966
|
* @param {string} tlId
|
|
@@ -1001,6 +1106,17 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1001
1106
|
tlPatch(tlId, tlPayload, options) {
|
|
1002
1107
|
return (0, exports.DefaultApiFp)(this.configuration).tlPatch(tlId, tlPayload, options).then((request) => request(this.axios, this.basePath));
|
|
1003
1108
|
}
|
|
1109
|
+
/**
|
|
1110
|
+
* Retrieves a specific Trust List record
|
|
1111
|
+
* @param {string} tlId Trust List Identifier
|
|
1112
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
1113
|
+
* @param {*} [options] Override http request option.
|
|
1114
|
+
* @throws {RequiredError}
|
|
1115
|
+
* @memberof DefaultApi
|
|
1116
|
+
*/
|
|
1117
|
+
tlrGet(tlId, tlrId, options) {
|
|
1118
|
+
return (0, exports.DefaultApiFp)(this.configuration).tlrGet(tlId, tlrId, options).then((request) => request(this.axios, this.basePath));
|
|
1119
|
+
}
|
|
1004
1120
|
/**
|
|
1005
1121
|
* Retrieves a list of Trust List Records.
|
|
1006
1122
|
* @param {string} orgName
|
|
@@ -1011,6 +1127,17 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1011
1127
|
tlrSearch(orgName, options) {
|
|
1012
1128
|
return (0, exports.DefaultApiFp)(this.configuration).tlrSearch(orgName, options).then((request) => request(this.axios, this.basePath));
|
|
1013
1129
|
}
|
|
1130
|
+
/**
|
|
1131
|
+
* Retrieves a specific Trust List record
|
|
1132
|
+
* @param {string} tlId Trust List Identifier
|
|
1133
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
1134
|
+
* @param {*} [options] Override http request option.
|
|
1135
|
+
* @throws {RequiredError}
|
|
1136
|
+
* @memberof DefaultApi
|
|
1137
|
+
*/
|
|
1138
|
+
tlrTrustChainGet(tlId, tlrId, options) {
|
|
1139
|
+
return (0, exports.DefaultApiFp)(this.configuration).tlrTrustChainGet(tlId, tlrId, options).then((request) => request(this.axios, this.basePath));
|
|
1140
|
+
}
|
|
1014
1141
|
/**
|
|
1015
1142
|
* Retrieves a list of Trust List records.
|
|
1016
1143
|
* @param {string} tlId
|