@idunion/tl-sdk 0.0.22 → 0.0.24
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 +108 -29
- package/api.js +128 -66
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -434,6 +434,12 @@ export interface DidDocumentCreatePayload {
|
|
|
434
434
|
* @memberof DidDocumentCreatePayload
|
|
435
435
|
*/
|
|
436
436
|
'didKey': string;
|
|
437
|
+
/**
|
|
438
|
+
*
|
|
439
|
+
* @type {string}
|
|
440
|
+
* @memberof DidDocumentCreatePayload
|
|
441
|
+
*/
|
|
442
|
+
'orgName': string;
|
|
437
443
|
}
|
|
438
444
|
/**
|
|
439
445
|
*
|
|
@@ -825,6 +831,50 @@ export interface TlPayload {
|
|
|
825
831
|
*/
|
|
826
832
|
'verifierId': string;
|
|
827
833
|
}
|
|
834
|
+
/**
|
|
835
|
+
*
|
|
836
|
+
* @export
|
|
837
|
+
* @interface Tlr
|
|
838
|
+
*/
|
|
839
|
+
export interface Tlr {
|
|
840
|
+
/**
|
|
841
|
+
*
|
|
842
|
+
* @type {string}
|
|
843
|
+
* @memberof Tlr
|
|
844
|
+
*/
|
|
845
|
+
'orgName': string;
|
|
846
|
+
/**
|
|
847
|
+
*
|
|
848
|
+
* @type {string}
|
|
849
|
+
* @memberof Tlr
|
|
850
|
+
*/
|
|
851
|
+
'did': string;
|
|
852
|
+
/**
|
|
853
|
+
*
|
|
854
|
+
* @type {string}
|
|
855
|
+
* @memberof Tlr
|
|
856
|
+
*/
|
|
857
|
+
'tlId': string;
|
|
858
|
+
/**
|
|
859
|
+
*
|
|
860
|
+
* @type {string}
|
|
861
|
+
* @memberof Tlr
|
|
862
|
+
*/
|
|
863
|
+
'tlName': string;
|
|
864
|
+
}
|
|
865
|
+
/**
|
|
866
|
+
*
|
|
867
|
+
* @export
|
|
868
|
+
* @interface TlrList
|
|
869
|
+
*/
|
|
870
|
+
export interface TlrList {
|
|
871
|
+
/**
|
|
872
|
+
*
|
|
873
|
+
* @type {Array<Tlr>}
|
|
874
|
+
* @memberof TlrList
|
|
875
|
+
*/
|
|
876
|
+
'items'?: Array<Tlr>;
|
|
877
|
+
}
|
|
828
878
|
/**
|
|
829
879
|
*
|
|
830
880
|
* @export
|
|
@@ -901,13 +951,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
901
951
|
* @throws {RequiredError}
|
|
902
952
|
*/
|
|
903
953
|
didVerificationMethodAdd: (tlId: string, did: string, verificationMethod?: VerificationMethod, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
904
|
-
/**
|
|
905
|
-
* Retrieves a list of DID Documents.
|
|
906
|
-
* @param {string} tlId
|
|
907
|
-
* @param {*} [options] Override http request option.
|
|
908
|
-
* @throws {RequiredError}
|
|
909
|
-
*/
|
|
910
|
-
didsGet: (tlId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
911
954
|
/**
|
|
912
955
|
*
|
|
913
956
|
* @param {*} [options] Override http request option.
|
|
@@ -958,6 +1001,20 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
958
1001
|
* @throws {RequiredError}
|
|
959
1002
|
*/
|
|
960
1003
|
tlPatch: (tlId: string, tlPayload?: TlPayload, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1004
|
+
/**
|
|
1005
|
+
* Retrieves a list of Trust List Records.
|
|
1006
|
+
* @param {string} orgName
|
|
1007
|
+
* @param {*} [options] Override http request option.
|
|
1008
|
+
* @throws {RequiredError}
|
|
1009
|
+
*/
|
|
1010
|
+
tlrSearch: (orgName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1011
|
+
/**
|
|
1012
|
+
* Retrieves a list of Trust List records.
|
|
1013
|
+
* @param {string} tlId
|
|
1014
|
+
* @param {*} [options] Override http request option.
|
|
1015
|
+
* @throws {RequiredError}
|
|
1016
|
+
*/
|
|
1017
|
+
tlrsGet: (tlId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
961
1018
|
/**
|
|
962
1019
|
* Gets a Verifiable Presentation.
|
|
963
1020
|
* @param {string} tlId
|
|
@@ -1005,13 +1062,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
1005
1062
|
* @throws {RequiredError}
|
|
1006
1063
|
*/
|
|
1007
1064
|
didVerificationMethodAdd(tlId: string, did: string, verificationMethod?: VerificationMethod, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1008
|
-
/**
|
|
1009
|
-
* Retrieves a list of DID Documents.
|
|
1010
|
-
* @param {string} tlId
|
|
1011
|
-
* @param {*} [options] Override http request option.
|
|
1012
|
-
* @throws {RequiredError}
|
|
1013
|
-
*/
|
|
1014
|
-
didsGet(tlId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DidDocumentList>>;
|
|
1015
1065
|
/**
|
|
1016
1066
|
*
|
|
1017
1067
|
* @param {*} [options] Override http request option.
|
|
@@ -1062,6 +1112,20 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
1062
1112
|
* @throws {RequiredError}
|
|
1063
1113
|
*/
|
|
1064
1114
|
tlPatch(tlId: string, tlPayload?: TlPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tl>>;
|
|
1115
|
+
/**
|
|
1116
|
+
* Retrieves a list of Trust List Records.
|
|
1117
|
+
* @param {string} orgName
|
|
1118
|
+
* @param {*} [options] Override http request option.
|
|
1119
|
+
* @throws {RequiredError}
|
|
1120
|
+
*/
|
|
1121
|
+
tlrSearch(orgName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TlrList>>;
|
|
1122
|
+
/**
|
|
1123
|
+
* Retrieves a list of Trust List records.
|
|
1124
|
+
* @param {string} tlId
|
|
1125
|
+
* @param {*} [options] Override http request option.
|
|
1126
|
+
* @throws {RequiredError}
|
|
1127
|
+
*/
|
|
1128
|
+
tlrsGet(tlId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TlrList>>;
|
|
1065
1129
|
/**
|
|
1066
1130
|
* Gets a Verifiable Presentation.
|
|
1067
1131
|
* @param {string} tlId
|
|
@@ -1109,13 +1173,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
1109
1173
|
* @throws {RequiredError}
|
|
1110
1174
|
*/
|
|
1111
1175
|
didVerificationMethodAdd(tlId: string, did: string, verificationMethod?: VerificationMethod, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1112
|
-
/**
|
|
1113
|
-
* Retrieves a list of DID Documents.
|
|
1114
|
-
* @param {string} tlId
|
|
1115
|
-
* @param {*} [options] Override http request option.
|
|
1116
|
-
* @throws {RequiredError}
|
|
1117
|
-
*/
|
|
1118
|
-
didsGet(tlId: string, options?: RawAxiosRequestConfig): AxiosPromise<DidDocumentList>;
|
|
1119
1176
|
/**
|
|
1120
1177
|
*
|
|
1121
1178
|
* @param {*} [options] Override http request option.
|
|
@@ -1166,6 +1223,20 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
1166
1223
|
* @throws {RequiredError}
|
|
1167
1224
|
*/
|
|
1168
1225
|
tlPatch(tlId: string, tlPayload?: TlPayload, options?: RawAxiosRequestConfig): AxiosPromise<Tl>;
|
|
1226
|
+
/**
|
|
1227
|
+
* Retrieves a list of Trust List Records.
|
|
1228
|
+
* @param {string} orgName
|
|
1229
|
+
* @param {*} [options] Override http request option.
|
|
1230
|
+
* @throws {RequiredError}
|
|
1231
|
+
*/
|
|
1232
|
+
tlrSearch(orgName: string, options?: RawAxiosRequestConfig): AxiosPromise<TlrList>;
|
|
1233
|
+
/**
|
|
1234
|
+
* Retrieves a list of Trust List records.
|
|
1235
|
+
* @param {string} tlId
|
|
1236
|
+
* @param {*} [options] Override http request option.
|
|
1237
|
+
* @throws {RequiredError}
|
|
1238
|
+
*/
|
|
1239
|
+
tlrsGet(tlId: string, options?: RawAxiosRequestConfig): AxiosPromise<TlrList>;
|
|
1169
1240
|
/**
|
|
1170
1241
|
* Gets a Verifiable Presentation.
|
|
1171
1242
|
* @param {string} tlId
|
|
@@ -1219,14 +1290,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1219
1290
|
* @memberof DefaultApi
|
|
1220
1291
|
*/
|
|
1221
1292
|
didVerificationMethodAdd(tlId: string, did: string, verificationMethod?: VerificationMethod, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1222
|
-
/**
|
|
1223
|
-
* Retrieves a list of DID Documents.
|
|
1224
|
-
* @param {string} tlId
|
|
1225
|
-
* @param {*} [options] Override http request option.
|
|
1226
|
-
* @throws {RequiredError}
|
|
1227
|
-
* @memberof DefaultApi
|
|
1228
|
-
*/
|
|
1229
|
-
didsGet(tlId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DidDocumentList, any>>;
|
|
1230
1293
|
/**
|
|
1231
1294
|
*
|
|
1232
1295
|
* @param {*} [options] Override http request option.
|
|
@@ -1284,6 +1347,22 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1284
1347
|
* @memberof DefaultApi
|
|
1285
1348
|
*/
|
|
1286
1349
|
tlPatch(tlId: string, tlPayload?: TlPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tl, any>>;
|
|
1350
|
+
/**
|
|
1351
|
+
* Retrieves a list of Trust List Records.
|
|
1352
|
+
* @param {string} orgName
|
|
1353
|
+
* @param {*} [options] Override http request option.
|
|
1354
|
+
* @throws {RequiredError}
|
|
1355
|
+
* @memberof DefaultApi
|
|
1356
|
+
*/
|
|
1357
|
+
tlrSearch(orgName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TlrList, any>>;
|
|
1358
|
+
/**
|
|
1359
|
+
* Retrieves a list of Trust List records.
|
|
1360
|
+
* @param {string} tlId
|
|
1361
|
+
* @param {*} [options] Override http request option.
|
|
1362
|
+
* @throws {RequiredError}
|
|
1363
|
+
* @memberof DefaultApi
|
|
1364
|
+
*/
|
|
1365
|
+
tlrsGet(tlId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TlrList, any>>;
|
|
1287
1366
|
/**
|
|
1288
1367
|
* Gets a Verifiable Presentation.
|
|
1289
1368
|
* @param {string} tlId
|
package/api.js
CHANGED
|
@@ -69,7 +69,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
69
69
|
didDocumentCreate: (tlId_1, didDocumentCreatePayload_1, ...args_1) => __awaiter(this, [tlId_1, didDocumentCreatePayload_1, ...args_1], void 0, function* (tlId, didDocumentCreatePayload, options = {}) {
|
|
70
70
|
// verify required parameter 'tlId' is not null or undefined
|
|
71
71
|
(0, common_1.assertParamExists)('didDocumentCreate', 'tlId', tlId);
|
|
72
|
-
const localVarPath = `/{tl_id}/
|
|
72
|
+
const localVarPath = `/{tl_id}/tlrs`
|
|
73
73
|
.replace(`{${"tl_id"}}`, encodeURIComponent(String(tlId)));
|
|
74
74
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
75
75
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -194,37 +194,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
194
194
|
options: localVarRequestOptions,
|
|
195
195
|
};
|
|
196
196
|
}),
|
|
197
|
-
/**
|
|
198
|
-
* Retrieves a list of DID Documents.
|
|
199
|
-
* @param {string} tlId
|
|
200
|
-
* @param {*} [options] Override http request option.
|
|
201
|
-
* @throws {RequiredError}
|
|
202
|
-
*/
|
|
203
|
-
didsGet: (tlId_1, ...args_1) => __awaiter(this, [tlId_1, ...args_1], void 0, function* (tlId, options = {}) {
|
|
204
|
-
// verify required parameter 'tlId' is not null or undefined
|
|
205
|
-
(0, common_1.assertParamExists)('didsGet', 'tlId', tlId);
|
|
206
|
-
const localVarPath = `/{tl_id}/dids`
|
|
207
|
-
.replace(`{${"tl_id"}}`, encodeURIComponent(String(tlId)));
|
|
208
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
209
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
210
|
-
let baseOptions;
|
|
211
|
-
if (configuration) {
|
|
212
|
-
baseOptions = configuration.baseOptions;
|
|
213
|
-
}
|
|
214
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
215
|
-
const localVarHeaderParameter = {};
|
|
216
|
-
const localVarQueryParameter = {};
|
|
217
|
-
// authentication accessToken required
|
|
218
|
-
// http bearer authentication required
|
|
219
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
220
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
221
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
222
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
223
|
-
return {
|
|
224
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
225
|
-
options: localVarRequestOptions,
|
|
226
|
-
};
|
|
227
|
-
}),
|
|
228
197
|
/**
|
|
229
198
|
*
|
|
230
199
|
* @param {*} [options] Override http request option.
|
|
@@ -434,6 +403,65 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
434
403
|
options: localVarRequestOptions,
|
|
435
404
|
};
|
|
436
405
|
}),
|
|
406
|
+
/**
|
|
407
|
+
* Retrieves a list of Trust List Records.
|
|
408
|
+
* @param {string} orgName
|
|
409
|
+
* @param {*} [options] Override http request option.
|
|
410
|
+
* @throws {RequiredError}
|
|
411
|
+
*/
|
|
412
|
+
tlrSearch: (orgName_1, ...args_1) => __awaiter(this, [orgName_1, ...args_1], void 0, function* (orgName, options = {}) {
|
|
413
|
+
// verify required parameter 'orgName' is not null or undefined
|
|
414
|
+
(0, common_1.assertParamExists)('tlrSearch', 'orgName', orgName);
|
|
415
|
+
const localVarPath = `/tlrs/{org_name}`
|
|
416
|
+
.replace(`{${"org_name"}}`, encodeURIComponent(String(orgName)));
|
|
417
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
418
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
419
|
+
let baseOptions;
|
|
420
|
+
if (configuration) {
|
|
421
|
+
baseOptions = configuration.baseOptions;
|
|
422
|
+
}
|
|
423
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
424
|
+
const localVarHeaderParameter = {};
|
|
425
|
+
const localVarQueryParameter = {};
|
|
426
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
427
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
428
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
429
|
+
return {
|
|
430
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
431
|
+
options: localVarRequestOptions,
|
|
432
|
+
};
|
|
433
|
+
}),
|
|
434
|
+
/**
|
|
435
|
+
* Retrieves a list of Trust List records.
|
|
436
|
+
* @param {string} tlId
|
|
437
|
+
* @param {*} [options] Override http request option.
|
|
438
|
+
* @throws {RequiredError}
|
|
439
|
+
*/
|
|
440
|
+
tlrsGet: (tlId_1, ...args_1) => __awaiter(this, [tlId_1, ...args_1], void 0, function* (tlId, options = {}) {
|
|
441
|
+
// verify required parameter 'tlId' is not null or undefined
|
|
442
|
+
(0, common_1.assertParamExists)('tlrsGet', 'tlId', tlId);
|
|
443
|
+
const localVarPath = `/{tl_id}/tlrs`
|
|
444
|
+
.replace(`{${"tl_id"}}`, encodeURIComponent(String(tlId)));
|
|
445
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
446
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
447
|
+
let baseOptions;
|
|
448
|
+
if (configuration) {
|
|
449
|
+
baseOptions = configuration.baseOptions;
|
|
450
|
+
}
|
|
451
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
452
|
+
const localVarHeaderParameter = {};
|
|
453
|
+
const localVarQueryParameter = {};
|
|
454
|
+
// authentication accessToken required
|
|
455
|
+
// http bearer authentication required
|
|
456
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
457
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
458
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
459
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
460
|
+
return {
|
|
461
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
462
|
+
options: localVarRequestOptions,
|
|
463
|
+
};
|
|
464
|
+
}),
|
|
437
465
|
/**
|
|
438
466
|
* Gets a Verifiable Presentation.
|
|
439
467
|
* @param {string} tlId
|
|
@@ -547,21 +575,6 @@ const DefaultApiFp = function (configuration) {
|
|
|
547
575
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
548
576
|
});
|
|
549
577
|
},
|
|
550
|
-
/**
|
|
551
|
-
* Retrieves a list of DID Documents.
|
|
552
|
-
* @param {string} tlId
|
|
553
|
-
* @param {*} [options] Override http request option.
|
|
554
|
-
* @throws {RequiredError}
|
|
555
|
-
*/
|
|
556
|
-
didsGet(tlId, options) {
|
|
557
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
558
|
-
var _a, _b, _c;
|
|
559
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.didsGet(tlId, options);
|
|
560
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
561
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.didsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
562
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
563
|
-
});
|
|
564
|
-
},
|
|
565
578
|
/**
|
|
566
579
|
*
|
|
567
580
|
* @param {*} [options] Override http request option.
|
|
@@ -668,6 +681,36 @@ const DefaultApiFp = function (configuration) {
|
|
|
668
681
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
669
682
|
});
|
|
670
683
|
},
|
|
684
|
+
/**
|
|
685
|
+
* Retrieves a list of Trust List Records.
|
|
686
|
+
* @param {string} orgName
|
|
687
|
+
* @param {*} [options] Override http request option.
|
|
688
|
+
* @throws {RequiredError}
|
|
689
|
+
*/
|
|
690
|
+
tlrSearch(orgName, options) {
|
|
691
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
692
|
+
var _a, _b, _c;
|
|
693
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.tlrSearch(orgName, options);
|
|
694
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
695
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.tlrSearch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
696
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
697
|
+
});
|
|
698
|
+
},
|
|
699
|
+
/**
|
|
700
|
+
* Retrieves a list of Trust List records.
|
|
701
|
+
* @param {string} tlId
|
|
702
|
+
* @param {*} [options] Override http request option.
|
|
703
|
+
* @throws {RequiredError}
|
|
704
|
+
*/
|
|
705
|
+
tlrsGet(tlId, options) {
|
|
706
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
707
|
+
var _a, _b, _c;
|
|
708
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.tlrsGet(tlId, options);
|
|
709
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
710
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.tlrsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
711
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
712
|
+
});
|
|
713
|
+
},
|
|
671
714
|
/**
|
|
672
715
|
* Gets a Verifiable Presentation.
|
|
673
716
|
* @param {string} tlId
|
|
@@ -735,15 +778,6 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
735
778
|
didVerificationMethodAdd(tlId, did, verificationMethod, options) {
|
|
736
779
|
return localVarFp.didVerificationMethodAdd(tlId, did, verificationMethod, options).then((request) => request(axios, basePath));
|
|
737
780
|
},
|
|
738
|
-
/**
|
|
739
|
-
* Retrieves a list of DID Documents.
|
|
740
|
-
* @param {string} tlId
|
|
741
|
-
* @param {*} [options] Override http request option.
|
|
742
|
-
* @throws {RequiredError}
|
|
743
|
-
*/
|
|
744
|
-
didsGet(tlId, options) {
|
|
745
|
-
return localVarFp.didsGet(tlId, options).then((request) => request(axios, basePath));
|
|
746
|
-
},
|
|
747
781
|
/**
|
|
748
782
|
*
|
|
749
783
|
* @param {*} [options] Override http request option.
|
|
@@ -808,6 +842,24 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
808
842
|
tlPatch(tlId, tlPayload, options) {
|
|
809
843
|
return localVarFp.tlPatch(tlId, tlPayload, options).then((request) => request(axios, basePath));
|
|
810
844
|
},
|
|
845
|
+
/**
|
|
846
|
+
* Retrieves a list of Trust List Records.
|
|
847
|
+
* @param {string} orgName
|
|
848
|
+
* @param {*} [options] Override http request option.
|
|
849
|
+
* @throws {RequiredError}
|
|
850
|
+
*/
|
|
851
|
+
tlrSearch(orgName, options) {
|
|
852
|
+
return localVarFp.tlrSearch(orgName, options).then((request) => request(axios, basePath));
|
|
853
|
+
},
|
|
854
|
+
/**
|
|
855
|
+
* Retrieves a list of Trust List records.
|
|
856
|
+
* @param {string} tlId
|
|
857
|
+
* @param {*} [options] Override http request option.
|
|
858
|
+
* @throws {RequiredError}
|
|
859
|
+
*/
|
|
860
|
+
tlrsGet(tlId, options) {
|
|
861
|
+
return localVarFp.tlrsGet(tlId, options).then((request) => request(axios, basePath));
|
|
862
|
+
},
|
|
811
863
|
/**
|
|
812
864
|
* Gets a Verifiable Presentation.
|
|
813
865
|
* @param {string} tlId
|
|
@@ -873,16 +925,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
873
925
|
didVerificationMethodAdd(tlId, did, verificationMethod, options) {
|
|
874
926
|
return (0, exports.DefaultApiFp)(this.configuration).didVerificationMethodAdd(tlId, did, verificationMethod, options).then((request) => request(this.axios, this.basePath));
|
|
875
927
|
}
|
|
876
|
-
/**
|
|
877
|
-
* Retrieves a list of DID Documents.
|
|
878
|
-
* @param {string} tlId
|
|
879
|
-
* @param {*} [options] Override http request option.
|
|
880
|
-
* @throws {RequiredError}
|
|
881
|
-
* @memberof DefaultApi
|
|
882
|
-
*/
|
|
883
|
-
didsGet(tlId, options) {
|
|
884
|
-
return (0, exports.DefaultApiFp)(this.configuration).didsGet(tlId, options).then((request) => request(this.axios, this.basePath));
|
|
885
|
-
}
|
|
886
928
|
/**
|
|
887
929
|
*
|
|
888
930
|
* @param {*} [options] Override http request option.
|
|
@@ -954,6 +996,26 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
954
996
|
tlPatch(tlId, tlPayload, options) {
|
|
955
997
|
return (0, exports.DefaultApiFp)(this.configuration).tlPatch(tlId, tlPayload, options).then((request) => request(this.axios, this.basePath));
|
|
956
998
|
}
|
|
999
|
+
/**
|
|
1000
|
+
* Retrieves a list of Trust List Records.
|
|
1001
|
+
* @param {string} orgName
|
|
1002
|
+
* @param {*} [options] Override http request option.
|
|
1003
|
+
* @throws {RequiredError}
|
|
1004
|
+
* @memberof DefaultApi
|
|
1005
|
+
*/
|
|
1006
|
+
tlrSearch(orgName, options) {
|
|
1007
|
+
return (0, exports.DefaultApiFp)(this.configuration).tlrSearch(orgName, options).then((request) => request(this.axios, this.basePath));
|
|
1008
|
+
}
|
|
1009
|
+
/**
|
|
1010
|
+
* Retrieves a list of Trust List records.
|
|
1011
|
+
* @param {string} tlId
|
|
1012
|
+
* @param {*} [options] Override http request option.
|
|
1013
|
+
* @throws {RequiredError}
|
|
1014
|
+
* @memberof DefaultApi
|
|
1015
|
+
*/
|
|
1016
|
+
tlrsGet(tlId, options) {
|
|
1017
|
+
return (0, exports.DefaultApiFp)(this.configuration).tlrsGet(tlId, options).then((request) => request(this.axios, this.basePath));
|
|
1018
|
+
}
|
|
957
1019
|
/**
|
|
958
1020
|
* Gets a Verifiable Presentation.
|
|
959
1021
|
* @param {string} tlId
|