@triveria/wallet 0.0.180 → 0.0.181
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 +29 -0
- package/api.js +65 -0
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -2142,6 +2142,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2142
2142
|
* @throws {RequiredError}
|
|
2143
2143
|
*/
|
|
2144
2144
|
tfPrepareToAccredit: (walletId: string, prepareToAccreditRequest?: PrepareToAccreditRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2145
|
+
/**
|
|
2146
|
+
* Prepares another legal entity\'s wallet DID for onboarding.
|
|
2147
|
+
* @param {string} walletId
|
|
2148
|
+
* @param {*} [options] Override http request option.
|
|
2149
|
+
* @throws {RequiredError}
|
|
2150
|
+
*/
|
|
2151
|
+
tfPrepareToOnboard: (walletId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2145
2152
|
/**
|
|
2146
2153
|
* Revokes another legal entity\'s wallet DID accreditation.
|
|
2147
2154
|
* @param {string} walletId
|
|
@@ -2468,6 +2475,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2468
2475
|
* @throws {RequiredError}
|
|
2469
2476
|
*/
|
|
2470
2477
|
tfPrepareToAccredit(walletId: string, prepareToAccreditRequest?: PrepareToAccreditRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2478
|
+
/**
|
|
2479
|
+
* Prepares another legal entity\'s wallet DID for onboarding.
|
|
2480
|
+
* @param {string} walletId
|
|
2481
|
+
* @param {*} [options] Override http request option.
|
|
2482
|
+
* @throws {RequiredError}
|
|
2483
|
+
*/
|
|
2484
|
+
tfPrepareToOnboard(walletId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2471
2485
|
/**
|
|
2472
2486
|
* Revokes another legal entity\'s wallet DID accreditation.
|
|
2473
2487
|
* @param {string} walletId
|
|
@@ -2794,6 +2808,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2794
2808
|
* @throws {RequiredError}
|
|
2795
2809
|
*/
|
|
2796
2810
|
tfPrepareToAccredit(walletId: string, prepareToAccreditRequest?: PrepareToAccreditRequest, options?: any): AxiosPromise<void>;
|
|
2811
|
+
/**
|
|
2812
|
+
* Prepares another legal entity\'s wallet DID for onboarding.
|
|
2813
|
+
* @param {string} walletId
|
|
2814
|
+
* @param {*} [options] Override http request option.
|
|
2815
|
+
* @throws {RequiredError}
|
|
2816
|
+
*/
|
|
2817
|
+
tfPrepareToOnboard(walletId: string, options?: any): AxiosPromise<void>;
|
|
2797
2818
|
/**
|
|
2798
2819
|
* Revokes another legal entity\'s wallet DID accreditation.
|
|
2799
2820
|
* @param {string} walletId
|
|
@@ -3150,6 +3171,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3150
3171
|
* @memberof DefaultApi
|
|
3151
3172
|
*/
|
|
3152
3173
|
tfPrepareToAccredit(walletId: string, prepareToAccreditRequest?: PrepareToAccreditRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3174
|
+
/**
|
|
3175
|
+
* Prepares another legal entity\'s wallet DID for onboarding.
|
|
3176
|
+
* @param {string} walletId
|
|
3177
|
+
* @param {*} [options] Override http request option.
|
|
3178
|
+
* @throws {RequiredError}
|
|
3179
|
+
* @memberof DefaultApi
|
|
3180
|
+
*/
|
|
3181
|
+
tfPrepareToOnboard(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3153
3182
|
/**
|
|
3154
3183
|
* Revokes another legal entity\'s wallet DID accreditation.
|
|
3155
3184
|
* @param {string} walletId
|
package/api.js
CHANGED
|
@@ -1132,6 +1132,37 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1132
1132
|
options: localVarRequestOptions,
|
|
1133
1133
|
};
|
|
1134
1134
|
}),
|
|
1135
|
+
/**
|
|
1136
|
+
* Prepares another legal entity\'s wallet DID for onboarding.
|
|
1137
|
+
* @param {string} walletId
|
|
1138
|
+
* @param {*} [options] Override http request option.
|
|
1139
|
+
* @throws {RequiredError}
|
|
1140
|
+
*/
|
|
1141
|
+
tfPrepareToOnboard: (walletId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1142
|
+
// verify required parameter 'walletId' is not null or undefined
|
|
1143
|
+
(0, common_1.assertParamExists)('tfPrepareToOnboard', 'walletId', walletId);
|
|
1144
|
+
const localVarPath = `/tf/{wallet_id}/prepare-to-onboard`
|
|
1145
|
+
.replace(`{${"wallet_id"}}`, encodeURIComponent(String(walletId)));
|
|
1146
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1147
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1148
|
+
let baseOptions;
|
|
1149
|
+
if (configuration) {
|
|
1150
|
+
baseOptions = configuration.baseOptions;
|
|
1151
|
+
}
|
|
1152
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1153
|
+
const localVarHeaderParameter = {};
|
|
1154
|
+
const localVarQueryParameter = {};
|
|
1155
|
+
// authentication accessToken required
|
|
1156
|
+
// http bearer authentication required
|
|
1157
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1158
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1159
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1160
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1161
|
+
return {
|
|
1162
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1163
|
+
options: localVarRequestOptions,
|
|
1164
|
+
};
|
|
1165
|
+
}),
|
|
1135
1166
|
/**
|
|
1136
1167
|
* Revokes another legal entity\'s wallet DID accreditation.
|
|
1137
1168
|
* @param {string} walletId
|
|
@@ -1999,6 +2030,21 @@ const DefaultApiFp = function (configuration) {
|
|
|
1999
2030
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2000
2031
|
});
|
|
2001
2032
|
},
|
|
2033
|
+
/**
|
|
2034
|
+
* Prepares another legal entity\'s wallet DID for onboarding.
|
|
2035
|
+
* @param {string} walletId
|
|
2036
|
+
* @param {*} [options] Override http request option.
|
|
2037
|
+
* @throws {RequiredError}
|
|
2038
|
+
*/
|
|
2039
|
+
tfPrepareToOnboard(walletId, options) {
|
|
2040
|
+
var _a, _b, _c;
|
|
2041
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2042
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.tfPrepareToOnboard(walletId, options);
|
|
2043
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2044
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.tfPrepareToOnboard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2045
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2046
|
+
});
|
|
2047
|
+
},
|
|
2002
2048
|
/**
|
|
2003
2049
|
* Revokes another legal entity\'s wallet DID accreditation.
|
|
2004
2050
|
* @param {string} walletId
|
|
@@ -2481,6 +2527,15 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2481
2527
|
tfPrepareToAccredit(walletId, prepareToAccreditRequest, options) {
|
|
2482
2528
|
return localVarFp.tfPrepareToAccredit(walletId, prepareToAccreditRequest, options).then((request) => request(axios, basePath));
|
|
2483
2529
|
},
|
|
2530
|
+
/**
|
|
2531
|
+
* Prepares another legal entity\'s wallet DID for onboarding.
|
|
2532
|
+
* @param {string} walletId
|
|
2533
|
+
* @param {*} [options] Override http request option.
|
|
2534
|
+
* @throws {RequiredError}
|
|
2535
|
+
*/
|
|
2536
|
+
tfPrepareToOnboard(walletId, options) {
|
|
2537
|
+
return localVarFp.tfPrepareToOnboard(walletId, options).then((request) => request(axios, basePath));
|
|
2538
|
+
},
|
|
2484
2539
|
/**
|
|
2485
2540
|
* Revokes another legal entity\'s wallet DID accreditation.
|
|
2486
2541
|
* @param {string} walletId
|
|
@@ -2919,6 +2974,16 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2919
2974
|
tfPrepareToAccredit(walletId, prepareToAccreditRequest, options) {
|
|
2920
2975
|
return (0, exports.DefaultApiFp)(this.configuration).tfPrepareToAccredit(walletId, prepareToAccreditRequest, options).then((request) => request(this.axios, this.basePath));
|
|
2921
2976
|
}
|
|
2977
|
+
/**
|
|
2978
|
+
* Prepares another legal entity\'s wallet DID for onboarding.
|
|
2979
|
+
* @param {string} walletId
|
|
2980
|
+
* @param {*} [options] Override http request option.
|
|
2981
|
+
* @throws {RequiredError}
|
|
2982
|
+
* @memberof DefaultApi
|
|
2983
|
+
*/
|
|
2984
|
+
tfPrepareToOnboard(walletId, options) {
|
|
2985
|
+
return (0, exports.DefaultApiFp)(this.configuration).tfPrepareToOnboard(walletId, options).then((request) => request(this.axios, this.basePath));
|
|
2986
|
+
}
|
|
2922
2987
|
/**
|
|
2923
2988
|
* Revokes another legal entity\'s wallet DID accreditation.
|
|
2924
2989
|
* @param {string} walletId
|