@idunion/tl-sdk 0.0.64 → 0.0.65
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 +8 -36
- package/api.js +14 -79
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -406,19 +406,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
406
406
|
*/
|
|
407
407
|
didVerificationMethodPatch: (tlId: string, tlrId: string, verificationMethodPatchPayload?: VerificationMethodPatchPayload, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
408
408
|
/**
|
|
409
|
-
* Returns the Trust List in ETSI TS 119-602 XML format,
|
|
409
|
+
* Returns the Trust List in either ETSI TS 119-612 or ETSI TS 119-602 XML format, Depending on the trust list type. The XML document includes Trust List Records with their DID-based cryptographic material and accreditation information, suitable for consumption by wallet verifiers and trust framework participants.
|
|
410
410
|
* @param {string} tlId
|
|
411
411
|
* @param {*} [options] Override http request option.
|
|
412
412
|
* @throws {RequiredError}
|
|
413
413
|
*/
|
|
414
|
-
|
|
415
|
-
/**
|
|
416
|
-
* Returns the Trust List in ETSI TS 119-612 XML format, which defines the standard for Trusted Lists of Trust Service Providers (TSPs) in the context of electronic signatures and qualified trust services. The XML document includes all active, onboarded, and revoked Trust List Records with their x509 certificates and service status information, suitable for consumption by conformant trust service validators.
|
|
417
|
-
* @param {string} tlId
|
|
418
|
-
* @param {*} [options] Override http request option.
|
|
419
|
-
* @throws {RequiredError}
|
|
420
|
-
*/
|
|
421
|
-
etsiTl612Get: (tlId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
414
|
+
etsiTlGet: (tlId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
422
415
|
/**
|
|
423
416
|
* Returns the operational health status of the Trust List API service. Useful for monitoring, load balancer checks, and readiness probes.
|
|
424
417
|
* @param {*} [options] Override http request option.
|
|
@@ -583,19 +576,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
583
576
|
*/
|
|
584
577
|
didVerificationMethodPatch(tlId: string, tlrId: string, verificationMethodPatchPayload?: VerificationMethodPatchPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
585
578
|
/**
|
|
586
|
-
* Returns the Trust List in ETSI TS 119-602 XML format,
|
|
587
|
-
* @param {string} tlId
|
|
588
|
-
* @param {*} [options] Override http request option.
|
|
589
|
-
* @throws {RequiredError}
|
|
590
|
-
*/
|
|
591
|
-
etsiTl602Get(tlId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
592
|
-
/**
|
|
593
|
-
* Returns the Trust List in ETSI TS 119-612 XML format, which defines the standard for Trusted Lists of Trust Service Providers (TSPs) in the context of electronic signatures and qualified trust services. The XML document includes all active, onboarded, and revoked Trust List Records with their x509 certificates and service status information, suitable for consumption by conformant trust service validators.
|
|
579
|
+
* Returns the Trust List in either ETSI TS 119-612 or ETSI TS 119-602 XML format, Depending on the trust list type. The XML document includes Trust List Records with their DID-based cryptographic material and accreditation information, suitable for consumption by wallet verifiers and trust framework participants.
|
|
594
580
|
* @param {string} tlId
|
|
595
581
|
* @param {*} [options] Override http request option.
|
|
596
582
|
* @throws {RequiredError}
|
|
597
583
|
*/
|
|
598
|
-
|
|
584
|
+
etsiTlGet(tlId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
599
585
|
/**
|
|
600
586
|
* Returns the operational health status of the Trust List API service. Useful for monitoring, load balancer checks, and readiness probes.
|
|
601
587
|
* @param {*} [options] Override http request option.
|
|
@@ -760,19 +746,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
760
746
|
*/
|
|
761
747
|
didVerificationMethodPatch(tlId: string, tlrId: string, verificationMethodPatchPayload?: VerificationMethodPatchPayload, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
762
748
|
/**
|
|
763
|
-
* Returns the Trust List in ETSI TS 119-602 XML format,
|
|
749
|
+
* Returns the Trust List in either ETSI TS 119-612 or ETSI TS 119-602 XML format, Depending on the trust list type. The XML document includes Trust List Records with their DID-based cryptographic material and accreditation information, suitable for consumption by wallet verifiers and trust framework participants.
|
|
764
750
|
* @param {string} tlId
|
|
765
751
|
* @param {*} [options] Override http request option.
|
|
766
752
|
* @throws {RequiredError}
|
|
767
753
|
*/
|
|
768
|
-
|
|
769
|
-
/**
|
|
770
|
-
* Returns the Trust List in ETSI TS 119-612 XML format, which defines the standard for Trusted Lists of Trust Service Providers (TSPs) in the context of electronic signatures and qualified trust services. The XML document includes all active, onboarded, and revoked Trust List Records with their x509 certificates and service status information, suitable for consumption by conformant trust service validators.
|
|
771
|
-
* @param {string} tlId
|
|
772
|
-
* @param {*} [options] Override http request option.
|
|
773
|
-
* @throws {RequiredError}
|
|
774
|
-
*/
|
|
775
|
-
etsiTl612Get(tlId: string, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
754
|
+
etsiTlGet(tlId: string, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
776
755
|
/**
|
|
777
756
|
* Returns the operational health status of the Trust List API service. Useful for monitoring, load balancer checks, and readiness probes.
|
|
778
757
|
* @param {*} [options] Override http request option.
|
|
@@ -937,19 +916,12 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
937
916
|
*/
|
|
938
917
|
didVerificationMethodPatch(tlId: string, tlrId: string, verificationMethodPatchPayload?: VerificationMethodPatchPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
939
918
|
/**
|
|
940
|
-
* Returns the Trust List in ETSI TS 119-602 XML format,
|
|
941
|
-
* @param {string} tlId
|
|
942
|
-
* @param {*} [options] Override http request option.
|
|
943
|
-
* @throws {RequiredError}
|
|
944
|
-
*/
|
|
945
|
-
etsiTl602Get(tlId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
946
|
-
/**
|
|
947
|
-
* Returns the Trust List in ETSI TS 119-612 XML format, which defines the standard for Trusted Lists of Trust Service Providers (TSPs) in the context of electronic signatures and qualified trust services. The XML document includes all active, onboarded, and revoked Trust List Records with their x509 certificates and service status information, suitable for consumption by conformant trust service validators.
|
|
919
|
+
* Returns the Trust List in either ETSI TS 119-612 or ETSI TS 119-602 XML format, Depending on the trust list type. The XML document includes Trust List Records with their DID-based cryptographic material and accreditation information, suitable for consumption by wallet verifiers and trust framework participants.
|
|
948
920
|
* @param {string} tlId
|
|
949
921
|
* @param {*} [options] Override http request option.
|
|
950
922
|
* @throws {RequiredError}
|
|
951
923
|
*/
|
|
952
|
-
|
|
924
|
+
etsiTlGet(tlId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
953
925
|
/**
|
|
954
926
|
* Returns the operational health status of the Trust List API service. Useful for monitoring, load balancer checks, and readiness probes.
|
|
955
927
|
* @param {*} [options] Override http request option.
|
package/api.js
CHANGED
|
@@ -209,47 +209,15 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
209
209
|
};
|
|
210
210
|
}),
|
|
211
211
|
/**
|
|
212
|
-
* Returns the Trust List in ETSI TS 119-602 XML format,
|
|
212
|
+
* Returns the Trust List in either ETSI TS 119-612 or ETSI TS 119-602 XML format, Depending on the trust list type. The XML document includes Trust List Records with their DID-based cryptographic material and accreditation information, suitable for consumption by wallet verifiers and trust framework participants.
|
|
213
213
|
* @param {string} tlId
|
|
214
214
|
* @param {*} [options] Override http request option.
|
|
215
215
|
* @throws {RequiredError}
|
|
216
216
|
*/
|
|
217
|
-
|
|
217
|
+
etsiTlGet: (tlId_1, ...args_1) => __awaiter(this, [tlId_1, ...args_1], void 0, function* (tlId, options = {}) {
|
|
218
218
|
// verify required parameter 'tlId' is not null or undefined
|
|
219
|
-
(0, common_1.assertParamExists)('
|
|
220
|
-
const localVarPath = `/{tl_id}/etsi/
|
|
221
|
-
.replace(`{${"tl_id"}}`, encodeURIComponent(String(tlId)));
|
|
222
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
223
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
224
|
-
let baseOptions;
|
|
225
|
-
if (configuration) {
|
|
226
|
-
baseOptions = configuration.baseOptions;
|
|
227
|
-
}
|
|
228
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
229
|
-
const localVarHeaderParameter = {};
|
|
230
|
-
const localVarQueryParameter = {};
|
|
231
|
-
// authentication accessToken required
|
|
232
|
-
// http bearer authentication required
|
|
233
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
234
|
-
localVarHeaderParameter['Accept'] = 'application/xml,application/json';
|
|
235
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
236
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
237
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
238
|
-
return {
|
|
239
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
240
|
-
options: localVarRequestOptions,
|
|
241
|
-
};
|
|
242
|
-
}),
|
|
243
|
-
/**
|
|
244
|
-
* Returns the Trust List in ETSI TS 119-612 XML format, which defines the standard for Trusted Lists of Trust Service Providers (TSPs) in the context of electronic signatures and qualified trust services. The XML document includes all active, onboarded, and revoked Trust List Records with their x509 certificates and service status information, suitable for consumption by conformant trust service validators.
|
|
245
|
-
* @param {string} tlId
|
|
246
|
-
* @param {*} [options] Override http request option.
|
|
247
|
-
* @throws {RequiredError}
|
|
248
|
-
*/
|
|
249
|
-
etsiTl612Get: (tlId_1, ...args_1) => __awaiter(this, [tlId_1, ...args_1], void 0, function* (tlId, options = {}) {
|
|
250
|
-
// verify required parameter 'tlId' is not null or undefined
|
|
251
|
-
(0, common_1.assertParamExists)('etsiTl612Get', 'tlId', tlId);
|
|
252
|
-
const localVarPath = `/{tl_id}/etsi/119_612_tl.xml`
|
|
219
|
+
(0, common_1.assertParamExists)('etsiTlGet', 'tlId', tlId);
|
|
220
|
+
const localVarPath = `/{tl_id}/etsi/tl.xml`
|
|
253
221
|
.replace(`{${"tl_id"}}`, encodeURIComponent(String(tlId)));
|
|
254
222
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
255
223
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -887,32 +855,17 @@ const DefaultApiFp = function (configuration) {
|
|
|
887
855
|
});
|
|
888
856
|
},
|
|
889
857
|
/**
|
|
890
|
-
* Returns the Trust List in ETSI TS 119-602 XML format,
|
|
891
|
-
* @param {string} tlId
|
|
892
|
-
* @param {*} [options] Override http request option.
|
|
893
|
-
* @throws {RequiredError}
|
|
894
|
-
*/
|
|
895
|
-
etsiTl602Get(tlId, options) {
|
|
896
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
897
|
-
var _a, _b, _c;
|
|
898
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.etsiTl602Get(tlId, options);
|
|
899
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
900
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.etsiTl602Get']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
901
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
902
|
-
});
|
|
903
|
-
},
|
|
904
|
-
/**
|
|
905
|
-
* Returns the Trust List in ETSI TS 119-612 XML format, which defines the standard for Trusted Lists of Trust Service Providers (TSPs) in the context of electronic signatures and qualified trust services. The XML document includes all active, onboarded, and revoked Trust List Records with their x509 certificates and service status information, suitable for consumption by conformant trust service validators.
|
|
858
|
+
* Returns the Trust List in either ETSI TS 119-612 or ETSI TS 119-602 XML format, Depending on the trust list type. The XML document includes Trust List Records with their DID-based cryptographic material and accreditation information, suitable for consumption by wallet verifiers and trust framework participants.
|
|
906
859
|
* @param {string} tlId
|
|
907
860
|
* @param {*} [options] Override http request option.
|
|
908
861
|
* @throws {RequiredError}
|
|
909
862
|
*/
|
|
910
|
-
|
|
863
|
+
etsiTlGet(tlId, options) {
|
|
911
864
|
return __awaiter(this, void 0, void 0, function* () {
|
|
912
865
|
var _a, _b, _c;
|
|
913
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
866
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.etsiTlGet(tlId, options);
|
|
914
867
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
915
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.
|
|
868
|
+
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;
|
|
916
869
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
917
870
|
});
|
|
918
871
|
},
|
|
@@ -1228,22 +1181,13 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1228
1181
|
return localVarFp.didVerificationMethodPatch(tlId, tlrId, verificationMethodPatchPayload, options).then((request) => request(axios, basePath));
|
|
1229
1182
|
},
|
|
1230
1183
|
/**
|
|
1231
|
-
* Returns the Trust List in ETSI TS 119-602 XML format,
|
|
1184
|
+
* Returns the Trust List in either ETSI TS 119-612 or ETSI TS 119-602 XML format, Depending on the trust list type. The XML document includes Trust List Records with their DID-based cryptographic material and accreditation information, suitable for consumption by wallet verifiers and trust framework participants.
|
|
1232
1185
|
* @param {string} tlId
|
|
1233
1186
|
* @param {*} [options] Override http request option.
|
|
1234
1187
|
* @throws {RequiredError}
|
|
1235
1188
|
*/
|
|
1236
|
-
|
|
1237
|
-
return localVarFp.
|
|
1238
|
-
},
|
|
1239
|
-
/**
|
|
1240
|
-
* Returns the Trust List in ETSI TS 119-612 XML format, which defines the standard for Trusted Lists of Trust Service Providers (TSPs) in the context of electronic signatures and qualified trust services. The XML document includes all active, onboarded, and revoked Trust List Records with their x509 certificates and service status information, suitable for consumption by conformant trust service validators.
|
|
1241
|
-
* @param {string} tlId
|
|
1242
|
-
* @param {*} [options] Override http request option.
|
|
1243
|
-
* @throws {RequiredError}
|
|
1244
|
-
*/
|
|
1245
|
-
etsiTl612Get(tlId, options) {
|
|
1246
|
-
return localVarFp.etsiTl612Get(tlId, options).then((request) => request(axios, basePath));
|
|
1189
|
+
etsiTlGet(tlId, options) {
|
|
1190
|
+
return localVarFp.etsiTlGet(tlId, options).then((request) => request(axios, basePath));
|
|
1247
1191
|
},
|
|
1248
1192
|
/**
|
|
1249
1193
|
* Returns the operational health status of the Trust List API service. Useful for monitoring, load balancer checks, and readiness probes.
|
|
@@ -1453,22 +1397,13 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1453
1397
|
return (0, exports.DefaultApiFp)(this.configuration).didVerificationMethodPatch(tlId, tlrId, verificationMethodPatchPayload, options).then((request) => request(this.axios, this.basePath));
|
|
1454
1398
|
}
|
|
1455
1399
|
/**
|
|
1456
|
-
* Returns the Trust List in ETSI TS 119-602 XML format,
|
|
1457
|
-
* @param {string} tlId
|
|
1458
|
-
* @param {*} [options] Override http request option.
|
|
1459
|
-
* @throws {RequiredError}
|
|
1460
|
-
*/
|
|
1461
|
-
etsiTl602Get(tlId, options) {
|
|
1462
|
-
return (0, exports.DefaultApiFp)(this.configuration).etsiTl602Get(tlId, options).then((request) => request(this.axios, this.basePath));
|
|
1463
|
-
}
|
|
1464
|
-
/**
|
|
1465
|
-
* Returns the Trust List in ETSI TS 119-612 XML format, which defines the standard for Trusted Lists of Trust Service Providers (TSPs) in the context of electronic signatures and qualified trust services. The XML document includes all active, onboarded, and revoked Trust List Records with their x509 certificates and service status information, suitable for consumption by conformant trust service validators.
|
|
1400
|
+
* Returns the Trust List in either ETSI TS 119-612 or ETSI TS 119-602 XML format, Depending on the trust list type. The XML document includes Trust List Records with their DID-based cryptographic material and accreditation information, suitable for consumption by wallet verifiers and trust framework participants.
|
|
1466
1401
|
* @param {string} tlId
|
|
1467
1402
|
* @param {*} [options] Override http request option.
|
|
1468
1403
|
* @throws {RequiredError}
|
|
1469
1404
|
*/
|
|
1470
|
-
|
|
1471
|
-
return (0, exports.DefaultApiFp)(this.configuration).
|
|
1405
|
+
etsiTlGet(tlId, options) {
|
|
1406
|
+
return (0, exports.DefaultApiFp)(this.configuration).etsiTlGet(tlId, options).then((request) => request(this.axios, this.basePath));
|
|
1472
1407
|
}
|
|
1473
1408
|
/**
|
|
1474
1409
|
* Returns the operational health status of the Trust List API service. Useful for monitoring, load balancer checks, and readiness probes.
|