@idunion/tl-sdk 0.0.33 → 0.0.35
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 +97 -12
- package/api.js +161 -20
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -223,6 +223,27 @@ export interface VerificationMethod {
|
|
|
223
223
|
* 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].
|
|
224
224
|
*/
|
|
225
225
|
'type': string;
|
|
226
|
+
/**
|
|
227
|
+
* DateTimeStamp string specifying when the verification method MUST NOT be used.
|
|
228
|
+
*/
|
|
229
|
+
'revoked': string;
|
|
230
|
+
}
|
|
231
|
+
export interface VerificationMethodCreatePayload {
|
|
232
|
+
[key: string]: any;
|
|
233
|
+
'controller': string;
|
|
234
|
+
'id': string;
|
|
235
|
+
/**
|
|
236
|
+
* 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].
|
|
237
|
+
*/
|
|
238
|
+
'type': string;
|
|
239
|
+
}
|
|
240
|
+
export interface VerificationMethodPatchPayload {
|
|
241
|
+
'controller': string;
|
|
242
|
+
'id': string;
|
|
243
|
+
/**
|
|
244
|
+
* DateTimeStamp string specifying when the verification method MUST NOT be used.
|
|
245
|
+
*/
|
|
246
|
+
'revoked': string;
|
|
226
247
|
}
|
|
227
248
|
export interface VpResponse {
|
|
228
249
|
/**
|
|
@@ -260,12 +281,28 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
260
281
|
/**
|
|
261
282
|
* Adds DID Verification method.
|
|
262
283
|
* @param {string} tlId Trust List Identifier
|
|
263
|
-
* @param {string}
|
|
264
|
-
* @param {
|
|
284
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
285
|
+
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method.
|
|
286
|
+
* @param {*} [options] Override http request option.
|
|
287
|
+
* @throws {RequiredError}
|
|
288
|
+
*/
|
|
289
|
+
didVerificationMethodAdd: (tlId: string, tlrId: string, verificationMethodCreatePayload?: VerificationMethodCreatePayload, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
290
|
+
/**
|
|
291
|
+
* Adds DID Verification method.
|
|
292
|
+
* @param {string} tlId Trust List Identifier
|
|
293
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
294
|
+
* @param {VerificationMethodPatchPayload} [verificationMethodPatchPayload] Verification method.
|
|
265
295
|
* @param {*} [options] Override http request option.
|
|
266
296
|
* @throws {RequiredError}
|
|
267
297
|
*/
|
|
268
|
-
|
|
298
|
+
didVerificationMethodPatch: (tlId: string, tlrId: string, verificationMethodPatchPayload?: VerificationMethodPatchPayload, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
299
|
+
/**
|
|
300
|
+
* Returns an ETSI Trusted list
|
|
301
|
+
* @param {string} tlId
|
|
302
|
+
* @param {*} [options] Override http request option.
|
|
303
|
+
* @throws {RequiredError}
|
|
304
|
+
*/
|
|
305
|
+
etsiTlGet: (tlId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
269
306
|
/**
|
|
270
307
|
*
|
|
271
308
|
* @param {*} [options] Override http request option.
|
|
@@ -401,12 +438,28 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
401
438
|
/**
|
|
402
439
|
* Adds DID Verification method.
|
|
403
440
|
* @param {string} tlId Trust List Identifier
|
|
404
|
-
* @param {string}
|
|
405
|
-
* @param {
|
|
441
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
442
|
+
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method.
|
|
406
443
|
* @param {*} [options] Override http request option.
|
|
407
444
|
* @throws {RequiredError}
|
|
408
445
|
*/
|
|
409
|
-
didVerificationMethodAdd(tlId: string,
|
|
446
|
+
didVerificationMethodAdd(tlId: string, tlrId: string, verificationMethodCreatePayload?: VerificationMethodCreatePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
447
|
+
/**
|
|
448
|
+
* Adds DID Verification method.
|
|
449
|
+
* @param {string} tlId Trust List Identifier
|
|
450
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
451
|
+
* @param {VerificationMethodPatchPayload} [verificationMethodPatchPayload] Verification method.
|
|
452
|
+
* @param {*} [options] Override http request option.
|
|
453
|
+
* @throws {RequiredError}
|
|
454
|
+
*/
|
|
455
|
+
didVerificationMethodPatch(tlId: string, tlrId: string, verificationMethodPatchPayload?: VerificationMethodPatchPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
456
|
+
/**
|
|
457
|
+
* Returns an ETSI Trusted list
|
|
458
|
+
* @param {string} tlId
|
|
459
|
+
* @param {*} [options] Override http request option.
|
|
460
|
+
* @throws {RequiredError}
|
|
461
|
+
*/
|
|
462
|
+
etsiTlGet(tlId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
410
463
|
/**
|
|
411
464
|
*
|
|
412
465
|
* @param {*} [options] Override http request option.
|
|
@@ -542,12 +595,28 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
542
595
|
/**
|
|
543
596
|
* Adds DID Verification method.
|
|
544
597
|
* @param {string} tlId Trust List Identifier
|
|
545
|
-
* @param {string}
|
|
546
|
-
* @param {
|
|
598
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
599
|
+
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method.
|
|
547
600
|
* @param {*} [options] Override http request option.
|
|
548
601
|
* @throws {RequiredError}
|
|
549
602
|
*/
|
|
550
|
-
didVerificationMethodAdd(tlId: string,
|
|
603
|
+
didVerificationMethodAdd(tlId: string, tlrId: string, verificationMethodCreatePayload?: VerificationMethodCreatePayload, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
604
|
+
/**
|
|
605
|
+
* Adds DID Verification method.
|
|
606
|
+
* @param {string} tlId Trust List Identifier
|
|
607
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
608
|
+
* @param {VerificationMethodPatchPayload} [verificationMethodPatchPayload] Verification method.
|
|
609
|
+
* @param {*} [options] Override http request option.
|
|
610
|
+
* @throws {RequiredError}
|
|
611
|
+
*/
|
|
612
|
+
didVerificationMethodPatch(tlId: string, tlrId: string, verificationMethodPatchPayload?: VerificationMethodPatchPayload, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
613
|
+
/**
|
|
614
|
+
* Returns an ETSI Trusted list
|
|
615
|
+
* @param {string} tlId
|
|
616
|
+
* @param {*} [options] Override http request option.
|
|
617
|
+
* @throws {RequiredError}
|
|
618
|
+
*/
|
|
619
|
+
etsiTlGet(tlId: string, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
551
620
|
/**
|
|
552
621
|
*
|
|
553
622
|
* @param {*} [options] Override http request option.
|
|
@@ -683,12 +752,28 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
683
752
|
/**
|
|
684
753
|
* Adds DID Verification method.
|
|
685
754
|
* @param {string} tlId Trust List Identifier
|
|
686
|
-
* @param {string}
|
|
687
|
-
* @param {
|
|
755
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
756
|
+
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method.
|
|
757
|
+
* @param {*} [options] Override http request option.
|
|
758
|
+
* @throws {RequiredError}
|
|
759
|
+
*/
|
|
760
|
+
didVerificationMethodAdd(tlId: string, tlrId: string, verificationMethodCreatePayload?: VerificationMethodCreatePayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
761
|
+
/**
|
|
762
|
+
* Adds DID Verification method.
|
|
763
|
+
* @param {string} tlId Trust List Identifier
|
|
764
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
765
|
+
* @param {VerificationMethodPatchPayload} [verificationMethodPatchPayload] Verification method.
|
|
766
|
+
* @param {*} [options] Override http request option.
|
|
767
|
+
* @throws {RequiredError}
|
|
768
|
+
*/
|
|
769
|
+
didVerificationMethodPatch(tlId: string, tlrId: string, verificationMethodPatchPayload?: VerificationMethodPatchPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
770
|
+
/**
|
|
771
|
+
* Returns an ETSI Trusted list
|
|
772
|
+
* @param {string} tlId
|
|
688
773
|
* @param {*} [options] Override http request option.
|
|
689
774
|
* @throws {RequiredError}
|
|
690
775
|
*/
|
|
691
|
-
|
|
776
|
+
etsiTlGet(tlId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
692
777
|
/**
|
|
693
778
|
*
|
|
694
779
|
* @param {*} [options] Override http request option.
|
package/api.js
CHANGED
|
@@ -152,19 +152,19 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
152
152
|
/**
|
|
153
153
|
* Adds DID Verification method.
|
|
154
154
|
* @param {string} tlId Trust List Identifier
|
|
155
|
-
* @param {string}
|
|
156
|
-
* @param {
|
|
155
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
156
|
+
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method.
|
|
157
157
|
* @param {*} [options] Override http request option.
|
|
158
158
|
* @throws {RequiredError}
|
|
159
159
|
*/
|
|
160
|
-
didVerificationMethodAdd: (tlId_1,
|
|
160
|
+
didVerificationMethodAdd: (tlId_1, tlrId_1, verificationMethodCreatePayload_1, ...args_1) => __awaiter(this, [tlId_1, tlrId_1, verificationMethodCreatePayload_1, ...args_1], void 0, function* (tlId, tlrId, verificationMethodCreatePayload, options = {}) {
|
|
161
161
|
// verify required parameter 'tlId' is not null or undefined
|
|
162
162
|
(0, common_1.assertParamExists)('didVerificationMethodAdd', 'tlId', tlId);
|
|
163
|
-
// verify required parameter '
|
|
164
|
-
(0, common_1.assertParamExists)('didVerificationMethodAdd', '
|
|
165
|
-
const localVarPath = `/{tl_id}/dids/{
|
|
163
|
+
// verify required parameter 'tlrId' is not null or undefined
|
|
164
|
+
(0, common_1.assertParamExists)('didVerificationMethodAdd', 'tlrId', tlrId);
|
|
165
|
+
const localVarPath = `/{tl_id}/dids/{tlr_id}/verificationMethod`
|
|
166
166
|
.replace(`{${"tl_id"}}`, encodeURIComponent(String(tlId)))
|
|
167
|
-
.replace(`{${"
|
|
167
|
+
.replace(`{${"tlr_id"}}`, encodeURIComponent(String(tlrId)));
|
|
168
168
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
169
169
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
170
170
|
let baseOptions;
|
|
@@ -181,7 +181,76 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
181
181
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
182
182
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
183
183
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
184
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
184
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(verificationMethodCreatePayload, localVarRequestOptions, configuration);
|
|
185
|
+
return {
|
|
186
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
187
|
+
options: localVarRequestOptions,
|
|
188
|
+
};
|
|
189
|
+
}),
|
|
190
|
+
/**
|
|
191
|
+
* Adds DID Verification method.
|
|
192
|
+
* @param {string} tlId Trust List Identifier
|
|
193
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
194
|
+
* @param {VerificationMethodPatchPayload} [verificationMethodPatchPayload] Verification method.
|
|
195
|
+
* @param {*} [options] Override http request option.
|
|
196
|
+
* @throws {RequiredError}
|
|
197
|
+
*/
|
|
198
|
+
didVerificationMethodPatch: (tlId_1, tlrId_1, verificationMethodPatchPayload_1, ...args_1) => __awaiter(this, [tlId_1, tlrId_1, verificationMethodPatchPayload_1, ...args_1], void 0, function* (tlId, tlrId, verificationMethodPatchPayload, options = {}) {
|
|
199
|
+
// verify required parameter 'tlId' is not null or undefined
|
|
200
|
+
(0, common_1.assertParamExists)('didVerificationMethodPatch', 'tlId', tlId);
|
|
201
|
+
// verify required parameter 'tlrId' is not null or undefined
|
|
202
|
+
(0, common_1.assertParamExists)('didVerificationMethodPatch', 'tlrId', tlrId);
|
|
203
|
+
const localVarPath = `/{tl_id}/dids/{tlr_id}/verificationMethod`
|
|
204
|
+
.replace(`{${"tl_id"}}`, encodeURIComponent(String(tlId)))
|
|
205
|
+
.replace(`{${"tlr_id"}}`, encodeURIComponent(String(tlrId)));
|
|
206
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
207
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
208
|
+
let baseOptions;
|
|
209
|
+
if (configuration) {
|
|
210
|
+
baseOptions = configuration.baseOptions;
|
|
211
|
+
}
|
|
212
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
213
|
+
const localVarHeaderParameter = {};
|
|
214
|
+
const localVarQueryParameter = {};
|
|
215
|
+
// authentication accessToken required
|
|
216
|
+
// http bearer authentication required
|
|
217
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
218
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
219
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
220
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
221
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
222
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(verificationMethodPatchPayload, localVarRequestOptions, configuration);
|
|
223
|
+
return {
|
|
224
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
225
|
+
options: localVarRequestOptions,
|
|
226
|
+
};
|
|
227
|
+
}),
|
|
228
|
+
/**
|
|
229
|
+
* Returns an ETSI Trusted list
|
|
230
|
+
* @param {string} tlId
|
|
231
|
+
* @param {*} [options] Override http request option.
|
|
232
|
+
* @throws {RequiredError}
|
|
233
|
+
*/
|
|
234
|
+
etsiTlGet: (tlId_1, ...args_1) => __awaiter(this, [tlId_1, ...args_1], void 0, function* (tlId, options = {}) {
|
|
235
|
+
// verify required parameter 'tlId' is not null or undefined
|
|
236
|
+
(0, common_1.assertParamExists)('etsiTlGet', 'tlId', tlId);
|
|
237
|
+
const localVarPath = `/{tl_id}/etsi/tsl.xml`
|
|
238
|
+
.replace(`{${"tl_id"}}`, encodeURIComponent(String(tlId)));
|
|
239
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
240
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
241
|
+
let baseOptions;
|
|
242
|
+
if (configuration) {
|
|
243
|
+
baseOptions = configuration.baseOptions;
|
|
244
|
+
}
|
|
245
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
246
|
+
const localVarHeaderParameter = {};
|
|
247
|
+
const localVarQueryParameter = {};
|
|
248
|
+
// authentication accessToken required
|
|
249
|
+
// http bearer authentication required
|
|
250
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
251
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
252
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
253
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
185
254
|
return {
|
|
186
255
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
187
256
|
options: localVarRequestOptions,
|
|
@@ -683,20 +752,52 @@ const DefaultApiFp = function (configuration) {
|
|
|
683
752
|
/**
|
|
684
753
|
* Adds DID Verification method.
|
|
685
754
|
* @param {string} tlId Trust List Identifier
|
|
686
|
-
* @param {string}
|
|
687
|
-
* @param {
|
|
755
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
756
|
+
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method.
|
|
688
757
|
* @param {*} [options] Override http request option.
|
|
689
758
|
* @throws {RequiredError}
|
|
690
759
|
*/
|
|
691
|
-
didVerificationMethodAdd(tlId,
|
|
760
|
+
didVerificationMethodAdd(tlId, tlrId, verificationMethodCreatePayload, options) {
|
|
692
761
|
return __awaiter(this, void 0, void 0, function* () {
|
|
693
762
|
var _a, _b, _c;
|
|
694
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.didVerificationMethodAdd(tlId,
|
|
763
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.didVerificationMethodAdd(tlId, tlrId, verificationMethodCreatePayload, options);
|
|
695
764
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
696
765
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.didVerificationMethodAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
697
766
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
698
767
|
});
|
|
699
768
|
},
|
|
769
|
+
/**
|
|
770
|
+
* Adds DID Verification method.
|
|
771
|
+
* @param {string} tlId Trust List Identifier
|
|
772
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
773
|
+
* @param {VerificationMethodPatchPayload} [verificationMethodPatchPayload] Verification method.
|
|
774
|
+
* @param {*} [options] Override http request option.
|
|
775
|
+
* @throws {RequiredError}
|
|
776
|
+
*/
|
|
777
|
+
didVerificationMethodPatch(tlId, tlrId, verificationMethodPatchPayload, options) {
|
|
778
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
779
|
+
var _a, _b, _c;
|
|
780
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.didVerificationMethodPatch(tlId, tlrId, verificationMethodPatchPayload, options);
|
|
781
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
782
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.didVerificationMethodPatch']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
783
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
784
|
+
});
|
|
785
|
+
},
|
|
786
|
+
/**
|
|
787
|
+
* Returns an ETSI Trusted list
|
|
788
|
+
* @param {string} tlId
|
|
789
|
+
* @param {*} [options] Override http request option.
|
|
790
|
+
* @throws {RequiredError}
|
|
791
|
+
*/
|
|
792
|
+
etsiTlGet(tlId, options) {
|
|
793
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
794
|
+
var _a, _b, _c;
|
|
795
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.etsiTlGet(tlId, options);
|
|
796
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
797
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.etsiTlGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
798
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
799
|
+
});
|
|
800
|
+
},
|
|
700
801
|
/**
|
|
701
802
|
*
|
|
702
803
|
* @param {*} [options] Override http request option.
|
|
@@ -954,13 +1055,33 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
954
1055
|
/**
|
|
955
1056
|
* Adds DID Verification method.
|
|
956
1057
|
* @param {string} tlId Trust List Identifier
|
|
957
|
-
* @param {string}
|
|
958
|
-
* @param {
|
|
1058
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
1059
|
+
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method.
|
|
959
1060
|
* @param {*} [options] Override http request option.
|
|
960
1061
|
* @throws {RequiredError}
|
|
961
1062
|
*/
|
|
962
|
-
didVerificationMethodAdd(tlId,
|
|
963
|
-
return localVarFp.didVerificationMethodAdd(tlId,
|
|
1063
|
+
didVerificationMethodAdd(tlId, tlrId, verificationMethodCreatePayload, options) {
|
|
1064
|
+
return localVarFp.didVerificationMethodAdd(tlId, tlrId, verificationMethodCreatePayload, options).then((request) => request(axios, basePath));
|
|
1065
|
+
},
|
|
1066
|
+
/**
|
|
1067
|
+
* Adds DID Verification method.
|
|
1068
|
+
* @param {string} tlId Trust List Identifier
|
|
1069
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
1070
|
+
* @param {VerificationMethodPatchPayload} [verificationMethodPatchPayload] Verification method.
|
|
1071
|
+
* @param {*} [options] Override http request option.
|
|
1072
|
+
* @throws {RequiredError}
|
|
1073
|
+
*/
|
|
1074
|
+
didVerificationMethodPatch(tlId, tlrId, verificationMethodPatchPayload, options) {
|
|
1075
|
+
return localVarFp.didVerificationMethodPatch(tlId, tlrId, verificationMethodPatchPayload, options).then((request) => request(axios, basePath));
|
|
1076
|
+
},
|
|
1077
|
+
/**
|
|
1078
|
+
* Returns an ETSI Trusted list
|
|
1079
|
+
* @param {string} tlId
|
|
1080
|
+
* @param {*} [options] Override http request option.
|
|
1081
|
+
* @throws {RequiredError}
|
|
1082
|
+
*/
|
|
1083
|
+
etsiTlGet(tlId, options) {
|
|
1084
|
+
return localVarFp.etsiTlGet(tlId, options).then((request) => request(axios, basePath));
|
|
964
1085
|
},
|
|
965
1086
|
/**
|
|
966
1087
|
*
|
|
@@ -1133,13 +1254,33 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1133
1254
|
/**
|
|
1134
1255
|
* Adds DID Verification method.
|
|
1135
1256
|
* @param {string} tlId Trust List Identifier
|
|
1136
|
-
* @param {string}
|
|
1137
|
-
* @param {
|
|
1257
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
1258
|
+
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method.
|
|
1259
|
+
* @param {*} [options] Override http request option.
|
|
1260
|
+
* @throws {RequiredError}
|
|
1261
|
+
*/
|
|
1262
|
+
didVerificationMethodAdd(tlId, tlrId, verificationMethodCreatePayload, options) {
|
|
1263
|
+
return (0, exports.DefaultApiFp)(this.configuration).didVerificationMethodAdd(tlId, tlrId, verificationMethodCreatePayload, options).then((request) => request(this.axios, this.basePath));
|
|
1264
|
+
}
|
|
1265
|
+
/**
|
|
1266
|
+
* Adds DID Verification method.
|
|
1267
|
+
* @param {string} tlId Trust List Identifier
|
|
1268
|
+
* @param {string} tlrId Trust List Record Identifier
|
|
1269
|
+
* @param {VerificationMethodPatchPayload} [verificationMethodPatchPayload] Verification method.
|
|
1270
|
+
* @param {*} [options] Override http request option.
|
|
1271
|
+
* @throws {RequiredError}
|
|
1272
|
+
*/
|
|
1273
|
+
didVerificationMethodPatch(tlId, tlrId, verificationMethodPatchPayload, options) {
|
|
1274
|
+
return (0, exports.DefaultApiFp)(this.configuration).didVerificationMethodPatch(tlId, tlrId, verificationMethodPatchPayload, options).then((request) => request(this.axios, this.basePath));
|
|
1275
|
+
}
|
|
1276
|
+
/**
|
|
1277
|
+
* Returns an ETSI Trusted list
|
|
1278
|
+
* @param {string} tlId
|
|
1138
1279
|
* @param {*} [options] Override http request option.
|
|
1139
1280
|
* @throws {RequiredError}
|
|
1140
1281
|
*/
|
|
1141
|
-
|
|
1142
|
-
return (0, exports.DefaultApiFp)(this.configuration).
|
|
1282
|
+
etsiTlGet(tlId, options) {
|
|
1283
|
+
return (0, exports.DefaultApiFp)(this.configuration).etsiTlGet(tlId, options).then((request) => request(this.axios, this.basePath));
|
|
1143
1284
|
}
|
|
1144
1285
|
/**
|
|
1145
1286
|
*
|