@finverse/sdk-typescript 0.0.162 → 0.0.163
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 +10 -10
- package/dist/api.js +14 -14
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -5793,11 +5793,11 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
5793
5793
|
createPaymentInstruction: (paymentInstruction: CustomerPaymentInstruction, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5794
5794
|
/**
|
|
5795
5795
|
* Create a payment user
|
|
5796
|
-
* @param {CreatePaymentUserRequest}
|
|
5796
|
+
* @param {CreatePaymentUserRequest} createPaymentUserRequest request body for creating payment user
|
|
5797
5797
|
* @param {*} [options] Override http request option.
|
|
5798
5798
|
* @throws {RequiredError}
|
|
5799
5799
|
*/
|
|
5800
|
-
createPaymentUser: (
|
|
5800
|
+
createPaymentUser: (createPaymentUserRequest: CreatePaymentUserRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5801
5801
|
/**
|
|
5802
5802
|
* Create new Payout instruction
|
|
5803
5803
|
* @param {CreatePayoutInstructionRequest} createPayoutInstructionRequest request body for creating payout instruction
|
|
@@ -5979,11 +5979,11 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
|
5979
5979
|
createPaymentInstruction(paymentInstruction: CustomerPaymentInstruction, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentInstructionResponse>>;
|
|
5980
5980
|
/**
|
|
5981
5981
|
* Create a payment user
|
|
5982
|
-
* @param {CreatePaymentUserRequest}
|
|
5982
|
+
* @param {CreatePaymentUserRequest} createPaymentUserRequest request body for creating payment user
|
|
5983
5983
|
* @param {*} [options] Override http request option.
|
|
5984
5984
|
* @throws {RequiredError}
|
|
5985
5985
|
*/
|
|
5986
|
-
createPaymentUser(
|
|
5986
|
+
createPaymentUser(createPaymentUserRequest: CreatePaymentUserRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentUser>>;
|
|
5987
5987
|
/**
|
|
5988
5988
|
* Create new Payout instruction
|
|
5989
5989
|
* @param {CreatePayoutInstructionRequest} createPayoutInstructionRequest request body for creating payout instruction
|
|
@@ -6165,11 +6165,11 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
|
|
|
6165
6165
|
createPaymentInstruction(paymentInstruction: CustomerPaymentInstruction, options?: any): AxiosPromise<CreatePaymentInstructionResponse>;
|
|
6166
6166
|
/**
|
|
6167
6167
|
* Create a payment user
|
|
6168
|
-
* @param {CreatePaymentUserRequest}
|
|
6168
|
+
* @param {CreatePaymentUserRequest} createPaymentUserRequest request body for creating payment user
|
|
6169
6169
|
* @param {*} [options] Override http request option.
|
|
6170
6170
|
* @throws {RequiredError}
|
|
6171
6171
|
*/
|
|
6172
|
-
createPaymentUser(
|
|
6172
|
+
createPaymentUser(createPaymentUserRequest: CreatePaymentUserRequest, options?: any): AxiosPromise<PaymentUser>;
|
|
6173
6173
|
/**
|
|
6174
6174
|
* Create new Payout instruction
|
|
6175
6175
|
* @param {CreatePayoutInstructionRequest} createPayoutInstructionRequest request body for creating payout instruction
|
|
@@ -6357,12 +6357,12 @@ export interface CustomerApiInterface {
|
|
|
6357
6357
|
createPaymentInstruction(paymentInstruction: CustomerPaymentInstruction, options?: AxiosRequestConfig): AxiosPromise<CreatePaymentInstructionResponse>;
|
|
6358
6358
|
/**
|
|
6359
6359
|
* Create a payment user
|
|
6360
|
-
* @param {CreatePaymentUserRequest}
|
|
6360
|
+
* @param {CreatePaymentUserRequest} createPaymentUserRequest request body for creating payment user
|
|
6361
6361
|
* @param {*} [options] Override http request option.
|
|
6362
6362
|
* @throws {RequiredError}
|
|
6363
6363
|
* @memberof CustomerApiInterface
|
|
6364
6364
|
*/
|
|
6365
|
-
createPaymentUser(
|
|
6365
|
+
createPaymentUser(createPaymentUserRequest: CreatePaymentUserRequest, options?: AxiosRequestConfig): AxiosPromise<PaymentUser>;
|
|
6366
6366
|
/**
|
|
6367
6367
|
* Create new Payout instruction
|
|
6368
6368
|
* @param {CreatePayoutInstructionRequest} createPayoutInstructionRequest request body for creating payout instruction
|
|
@@ -6570,12 +6570,12 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
6570
6570
|
createPaymentInstruction(paymentInstruction: CustomerPaymentInstruction, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentInstructionResponse>>;
|
|
6571
6571
|
/**
|
|
6572
6572
|
* Create a payment user
|
|
6573
|
-
* @param {CreatePaymentUserRequest}
|
|
6573
|
+
* @param {CreatePaymentUserRequest} createPaymentUserRequest request body for creating payment user
|
|
6574
6574
|
* @param {*} [options] Override http request option.
|
|
6575
6575
|
* @throws {RequiredError}
|
|
6576
6576
|
* @memberof CustomerApi
|
|
6577
6577
|
*/
|
|
6578
|
-
createPaymentUser(
|
|
6578
|
+
createPaymentUser(createPaymentUserRequest: CreatePaymentUserRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentUser>>;
|
|
6579
6579
|
/**
|
|
6580
6580
|
* Create new Payout instruction
|
|
6581
6581
|
* @param {CreatePayoutInstructionRequest} createPayoutInstructionRequest request body for creating payout instruction
|
package/dist/api.js
CHANGED
|
@@ -474,13 +474,13 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
474
474
|
}),
|
|
475
475
|
/**
|
|
476
476
|
* Create a payment user
|
|
477
|
-
* @param {CreatePaymentUserRequest}
|
|
477
|
+
* @param {CreatePaymentUserRequest} createPaymentUserRequest request body for creating payment user
|
|
478
478
|
* @param {*} [options] Override http request option.
|
|
479
479
|
* @throws {RequiredError}
|
|
480
480
|
*/
|
|
481
|
-
createPaymentUser: (
|
|
482
|
-
// verify required parameter '
|
|
483
|
-
common_1.assertParamExists('createPaymentUser', '
|
|
481
|
+
createPaymentUser: (createPaymentUserRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
482
|
+
// verify required parameter 'createPaymentUserRequest' is not null or undefined
|
|
483
|
+
common_1.assertParamExists('createPaymentUser', 'createPaymentUserRequest', createPaymentUserRequest);
|
|
484
484
|
const localVarPath = `/payment_users`;
|
|
485
485
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
486
486
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -498,7 +498,7 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
498
498
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
499
499
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
500
500
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
501
|
-
localVarRequestOptions.data = common_1.serializeDataIfNeeded(
|
|
501
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createPaymentUserRequest, localVarRequestOptions, configuration);
|
|
502
502
|
return {
|
|
503
503
|
url: common_1.toPathString(localVarUrlObj),
|
|
504
504
|
options: localVarRequestOptions,
|
|
@@ -1173,13 +1173,13 @@ exports.CustomerApiFp = function (configuration) {
|
|
|
1173
1173
|
},
|
|
1174
1174
|
/**
|
|
1175
1175
|
* Create a payment user
|
|
1176
|
-
* @param {CreatePaymentUserRequest}
|
|
1176
|
+
* @param {CreatePaymentUserRequest} createPaymentUserRequest request body for creating payment user
|
|
1177
1177
|
* @param {*} [options] Override http request option.
|
|
1178
1178
|
* @throws {RequiredError}
|
|
1179
1179
|
*/
|
|
1180
|
-
createPaymentUser(
|
|
1180
|
+
createPaymentUser(createPaymentUserRequest, options) {
|
|
1181
1181
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1182
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createPaymentUser(
|
|
1182
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createPaymentUser(createPaymentUserRequest, options);
|
|
1183
1183
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1184
1184
|
});
|
|
1185
1185
|
},
|
|
@@ -1482,13 +1482,13 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
|
|
|
1482
1482
|
},
|
|
1483
1483
|
/**
|
|
1484
1484
|
* Create a payment user
|
|
1485
|
-
* @param {CreatePaymentUserRequest}
|
|
1485
|
+
* @param {CreatePaymentUserRequest} createPaymentUserRequest request body for creating payment user
|
|
1486
1486
|
* @param {*} [options] Override http request option.
|
|
1487
1487
|
* @throws {RequiredError}
|
|
1488
1488
|
*/
|
|
1489
|
-
createPaymentUser(
|
|
1489
|
+
createPaymentUser(createPaymentUserRequest, options) {
|
|
1490
1490
|
return localVarFp
|
|
1491
|
-
.createPaymentUser(
|
|
1491
|
+
.createPaymentUser(createPaymentUserRequest, options)
|
|
1492
1492
|
.then((request) => request(axios, basePath));
|
|
1493
1493
|
},
|
|
1494
1494
|
/**
|
|
@@ -1748,14 +1748,14 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
1748
1748
|
}
|
|
1749
1749
|
/**
|
|
1750
1750
|
* Create a payment user
|
|
1751
|
-
* @param {CreatePaymentUserRequest}
|
|
1751
|
+
* @param {CreatePaymentUserRequest} createPaymentUserRequest request body for creating payment user
|
|
1752
1752
|
* @param {*} [options] Override http request option.
|
|
1753
1753
|
* @throws {RequiredError}
|
|
1754
1754
|
* @memberof CustomerApi
|
|
1755
1755
|
*/
|
|
1756
|
-
createPaymentUser(
|
|
1756
|
+
createPaymentUser(createPaymentUserRequest, options) {
|
|
1757
1757
|
return exports.CustomerApiFp(this.configuration)
|
|
1758
|
-
.createPaymentUser(
|
|
1758
|
+
.createPaymentUser(createPaymentUserRequest, options)
|
|
1759
1759
|
.then((request) => request(this.axios, this.basePath));
|
|
1760
1760
|
}
|
|
1761
1761
|
/**
|