@finverse/sdk-typescript 0.0.283 → 0.0.284
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/dist/api.d.ts +0 -32
- package/dist/api.js +0 -57
- package/package.json +2 -2
package/dist/api.d.ts
CHANGED
|
@@ -8681,12 +8681,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
8681
8681
|
* @throws {RequiredError}
|
|
8682
8682
|
*/
|
|
8683
8683
|
cancelPaymentLink: (paymentLinkId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8684
|
-
/**
|
|
8685
|
-
* cancel payment on payment link (Deprecated, should use unlink instead)
|
|
8686
|
-
* @param {*} [options] Override http request option.
|
|
8687
|
-
* @throws {RequiredError}
|
|
8688
|
-
*/
|
|
8689
|
-
cancelPaymentPaymentLink: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8690
8684
|
/**
|
|
8691
8685
|
* Cancel Payout by payout_id
|
|
8692
8686
|
* @param {string} payoutId payout id
|
|
@@ -8917,12 +8911,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
8917
8911
|
* @throws {RequiredError}
|
|
8918
8912
|
*/
|
|
8919
8913
|
cancelPaymentLink(paymentLinkId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentLinkResponse>>;
|
|
8920
|
-
/**
|
|
8921
|
-
* cancel payment on payment link (Deprecated, should use unlink instead)
|
|
8922
|
-
* @param {*} [options] Override http request option.
|
|
8923
|
-
* @throws {RequiredError}
|
|
8924
|
-
*/
|
|
8925
|
-
cancelPaymentPaymentLink(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
8926
8914
|
/**
|
|
8927
8915
|
* Cancel Payout by payout_id
|
|
8928
8916
|
* @param {string} payoutId payout id
|
|
@@ -9153,12 +9141,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
9153
9141
|
* @throws {RequiredError}
|
|
9154
9142
|
*/
|
|
9155
9143
|
cancelPaymentLink(paymentLinkId: string, options?: any): AxiosPromise<PaymentLinkResponse>;
|
|
9156
|
-
/**
|
|
9157
|
-
* cancel payment on payment link (Deprecated, should use unlink instead)
|
|
9158
|
-
* @param {*} [options] Override http request option.
|
|
9159
|
-
* @throws {RequiredError}
|
|
9160
|
-
*/
|
|
9161
|
-
cancelPaymentPaymentLink(options?: any): AxiosPromise<void>;
|
|
9162
9144
|
/**
|
|
9163
9145
|
* Cancel Payout by payout_id
|
|
9164
9146
|
* @param {string} payoutId payout id
|
|
@@ -9391,13 +9373,6 @@ export interface DefaultApiInterface {
|
|
|
9391
9373
|
* @memberof DefaultApiInterface
|
|
9392
9374
|
*/
|
|
9393
9375
|
cancelPaymentLink(paymentLinkId: string, options?: AxiosRequestConfig): AxiosPromise<PaymentLinkResponse>;
|
|
9394
|
-
/**
|
|
9395
|
-
* cancel payment on payment link (Deprecated, should use unlink instead)
|
|
9396
|
-
* @param {*} [options] Override http request option.
|
|
9397
|
-
* @throws {RequiredError}
|
|
9398
|
-
* @memberof DefaultApiInterface
|
|
9399
|
-
*/
|
|
9400
|
-
cancelPaymentPaymentLink(options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
9401
9376
|
/**
|
|
9402
9377
|
* Cancel Payout by payout_id
|
|
9403
9378
|
* @param {string} payoutId payout id
|
|
@@ -9659,13 +9634,6 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
9659
9634
|
* @memberof DefaultApi
|
|
9660
9635
|
*/
|
|
9661
9636
|
cancelPaymentLink(paymentLinkId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentLinkResponse>>;
|
|
9662
|
-
/**
|
|
9663
|
-
* cancel payment on payment link (Deprecated, should use unlink instead)
|
|
9664
|
-
* @param {*} [options] Override http request option.
|
|
9665
|
-
* @throws {RequiredError}
|
|
9666
|
-
* @memberof DefaultApi
|
|
9667
|
-
*/
|
|
9668
|
-
cancelPaymentPaymentLink(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
9669
9637
|
/**
|
|
9670
9638
|
* Cancel Payout by payout_id
|
|
9671
9639
|
* @param {string} payoutId payout id
|
package/dist/api.js
CHANGED
|
@@ -2145,33 +2145,6 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2145
2145
|
options: localVarRequestOptions,
|
|
2146
2146
|
};
|
|
2147
2147
|
}),
|
|
2148
|
-
/**
|
|
2149
|
-
* cancel payment on payment link (Deprecated, should use unlink instead)
|
|
2150
|
-
* @param {*} [options] Override http request option.
|
|
2151
|
-
* @throws {RequiredError}
|
|
2152
|
-
*/
|
|
2153
|
-
cancelPaymentPaymentLink: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2154
|
-
const localVarPath = `/payment_link/fvlink/payment/cancel`;
|
|
2155
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2156
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2157
|
-
let baseOptions;
|
|
2158
|
-
if (configuration) {
|
|
2159
|
-
baseOptions = configuration.baseOptions;
|
|
2160
|
-
}
|
|
2161
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
2162
|
-
const localVarHeaderParameter = {};
|
|
2163
|
-
const localVarQueryParameter = {};
|
|
2164
|
-
// authentication Oauth2 required
|
|
2165
|
-
// oauth required
|
|
2166
|
-
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
2167
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2168
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2169
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2170
|
-
return {
|
|
2171
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
2172
|
-
options: localVarRequestOptions,
|
|
2173
|
-
};
|
|
2174
|
-
}),
|
|
2175
2148
|
/**
|
|
2176
2149
|
* Cancel Payout by payout_id
|
|
2177
2150
|
* @param {string} payoutId payout id
|
|
@@ -3158,17 +3131,6 @@ exports.DefaultApiFp = function (configuration) {
|
|
|
3158
3131
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
3159
3132
|
});
|
|
3160
3133
|
},
|
|
3161
|
-
/**
|
|
3162
|
-
* cancel payment on payment link (Deprecated, should use unlink instead)
|
|
3163
|
-
* @param {*} [options] Override http request option.
|
|
3164
|
-
* @throws {RequiredError}
|
|
3165
|
-
*/
|
|
3166
|
-
cancelPaymentPaymentLink(options) {
|
|
3167
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
3168
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.cancelPaymentPaymentLink(options);
|
|
3169
|
-
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
3170
|
-
});
|
|
3171
|
-
},
|
|
3172
3134
|
/**
|
|
3173
3135
|
* Cancel Payout by payout_id
|
|
3174
3136
|
* @param {string} payoutId payout id
|
|
@@ -3544,14 +3506,6 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
3544
3506
|
cancelPaymentLink(paymentLinkId, options) {
|
|
3545
3507
|
return localVarFp.cancelPaymentLink(paymentLinkId, options).then((request) => request(axios, basePath));
|
|
3546
3508
|
},
|
|
3547
|
-
/**
|
|
3548
|
-
* cancel payment on payment link (Deprecated, should use unlink instead)
|
|
3549
|
-
* @param {*} [options] Override http request option.
|
|
3550
|
-
* @throws {RequiredError}
|
|
3551
|
-
*/
|
|
3552
|
-
cancelPaymentPaymentLink(options) {
|
|
3553
|
-
return localVarFp.cancelPaymentPaymentLink(options).then((request) => request(axios, basePath));
|
|
3554
|
-
},
|
|
3555
3509
|
/**
|
|
3556
3510
|
* Cancel Payout by payout_id
|
|
3557
3511
|
* @param {string} payoutId payout id
|
|
@@ -3870,17 +3824,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3870
3824
|
.cancelPaymentLink(paymentLinkId, options)
|
|
3871
3825
|
.then((request) => request(this.axios, this.basePath));
|
|
3872
3826
|
}
|
|
3873
|
-
/**
|
|
3874
|
-
* cancel payment on payment link (Deprecated, should use unlink instead)
|
|
3875
|
-
* @param {*} [options] Override http request option.
|
|
3876
|
-
* @throws {RequiredError}
|
|
3877
|
-
* @memberof DefaultApi
|
|
3878
|
-
*/
|
|
3879
|
-
cancelPaymentPaymentLink(options) {
|
|
3880
|
-
return exports.DefaultApiFp(this.configuration)
|
|
3881
|
-
.cancelPaymentPaymentLink(options)
|
|
3882
|
-
.then((request) => request(this.axios, this.basePath));
|
|
3883
|
-
}
|
|
3884
3827
|
/**
|
|
3885
3828
|
* Cancel Payout by payout_id
|
|
3886
3829
|
* @param {string} payoutId payout id
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finverse/sdk-typescript",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.284",
|
|
4
4
|
"description": "OpenAPI client for @finverse/sdk-typescript",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@types/mocha": "^10.0.10",
|
|
26
26
|
"@types/node": "^12.11.5",
|
|
27
27
|
"axios-mock-adapter": "^1.21.2",
|
|
28
|
-
"chai": "^5.
|
|
28
|
+
"chai": "^5.2.0",
|
|
29
29
|
"mocha": "^11.1.0",
|
|
30
30
|
"ts-node": "^10.9.2",
|
|
31
31
|
"typescript": "^3.6.4"
|