@finverse/sdk-typescript 0.0.132 → 0.0.133
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 +15 -15
- package/dist/api.js +12 -12
- package/package.json +2 -2
package/dist/api.d.ts
CHANGED
|
@@ -836,15 +836,15 @@ export interface CreatePaymentInstructionResponse {
|
|
|
836
836
|
/**
|
|
837
837
|
*
|
|
838
838
|
* @export
|
|
839
|
-
* @interface
|
|
839
|
+
* @interface CreatePaymentLinkCardPaymentResponse
|
|
840
840
|
*/
|
|
841
|
-
export interface
|
|
841
|
+
export interface CreatePaymentLinkCardPaymentResponse {
|
|
842
842
|
/**
|
|
843
|
-
* URL to redirect to for making the
|
|
843
|
+
* URL to redirect to for making the card payment (e.g. Stripe)
|
|
844
844
|
* @type {string}
|
|
845
|
-
* @memberof
|
|
845
|
+
* @memberof CreatePaymentLinkCardPaymentResponse
|
|
846
846
|
*/
|
|
847
|
-
|
|
847
|
+
card_processor_redirect_uri: string;
|
|
848
848
|
}
|
|
849
849
|
/**
|
|
850
850
|
*
|
|
@@ -5864,11 +5864,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
5864
5864
|
*/
|
|
5865
5865
|
createFpsToken: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5866
5866
|
/**
|
|
5867
|
-
* Initiate
|
|
5867
|
+
* Initiate Card Payment for a Payment Link
|
|
5868
5868
|
* @param {*} [options] Override http request option.
|
|
5869
5869
|
* @throws {RequiredError}
|
|
5870
5870
|
*/
|
|
5871
|
-
|
|
5871
|
+
createPaymentLinkCardPayment: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5872
5872
|
/**
|
|
5873
5873
|
* CREATE Mandate for payment link
|
|
5874
5874
|
* @param {CreatePaymentLinkMandateRequest} createPaymentLinkMandateRequest request body for creating mandate for payment-link
|
|
@@ -5946,11 +5946,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
5946
5946
|
*/
|
|
5947
5947
|
createFpsToken(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateFpsTokenResponse>>;
|
|
5948
5948
|
/**
|
|
5949
|
-
* Initiate
|
|
5949
|
+
* Initiate Card Payment for a Payment Link
|
|
5950
5950
|
* @param {*} [options] Override http request option.
|
|
5951
5951
|
* @throws {RequiredError}
|
|
5952
5952
|
*/
|
|
5953
|
-
|
|
5953
|
+
createPaymentLinkCardPayment(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentLinkCardPaymentResponse>>;
|
|
5954
5954
|
/**
|
|
5955
5955
|
* CREATE Mandate for payment link
|
|
5956
5956
|
* @param {CreatePaymentLinkMandateRequest} createPaymentLinkMandateRequest request body for creating mandate for payment-link
|
|
@@ -6028,11 +6028,11 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
6028
6028
|
*/
|
|
6029
6029
|
createFpsToken(options?: any): AxiosPromise<CreateFpsTokenResponse>;
|
|
6030
6030
|
/**
|
|
6031
|
-
* Initiate
|
|
6031
|
+
* Initiate Card Payment for a Payment Link
|
|
6032
6032
|
* @param {*} [options] Override http request option.
|
|
6033
6033
|
* @throws {RequiredError}
|
|
6034
6034
|
*/
|
|
6035
|
-
|
|
6035
|
+
createPaymentLinkCardPayment(options?: any): AxiosPromise<CreatePaymentLinkCardPaymentResponse>;
|
|
6036
6036
|
/**
|
|
6037
6037
|
* CREATE Mandate for payment link
|
|
6038
6038
|
* @param {CreatePaymentLinkMandateRequest} createPaymentLinkMandateRequest request body for creating mandate for payment-link
|
|
@@ -6114,12 +6114,12 @@ export interface DefaultApiInterface {
|
|
|
6114
6114
|
*/
|
|
6115
6115
|
createFpsToken(options?: AxiosRequestConfig): AxiosPromise<CreateFpsTokenResponse>;
|
|
6116
6116
|
/**
|
|
6117
|
-
* Initiate
|
|
6117
|
+
* Initiate Card Payment for a Payment Link
|
|
6118
6118
|
* @param {*} [options] Override http request option.
|
|
6119
6119
|
* @throws {RequiredError}
|
|
6120
6120
|
* @memberof DefaultApiInterface
|
|
6121
6121
|
*/
|
|
6122
|
-
|
|
6122
|
+
createPaymentLinkCardPayment(options?: AxiosRequestConfig): AxiosPromise<CreatePaymentLinkCardPaymentResponse>;
|
|
6123
6123
|
/**
|
|
6124
6124
|
* CREATE Mandate for payment link
|
|
6125
6125
|
* @param {CreatePaymentLinkMandateRequest} createPaymentLinkMandateRequest request body for creating mandate for payment-link
|
|
@@ -6207,12 +6207,12 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
6207
6207
|
*/
|
|
6208
6208
|
createFpsToken(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateFpsTokenResponse>>;
|
|
6209
6209
|
/**
|
|
6210
|
-
* Initiate
|
|
6210
|
+
* Initiate Card Payment for a Payment Link
|
|
6211
6211
|
* @param {*} [options] Override http request option.
|
|
6212
6212
|
* @throws {RequiredError}
|
|
6213
6213
|
* @memberof DefaultApi
|
|
6214
6214
|
*/
|
|
6215
|
-
|
|
6215
|
+
createPaymentLinkCardPayment(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentLinkCardPaymentResponse>>;
|
|
6216
6216
|
/**
|
|
6217
6217
|
* CREATE Mandate for payment link
|
|
6218
6218
|
* @param {CreatePaymentLinkMandateRequest} createPaymentLinkMandateRequest request body for creating mandate for payment-link
|
package/dist/api.js
CHANGED
|
@@ -1661,12 +1661,12 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1661
1661
|
};
|
|
1662
1662
|
}),
|
|
1663
1663
|
/**
|
|
1664
|
-
* Initiate
|
|
1664
|
+
* Initiate Card Payment for a Payment Link
|
|
1665
1665
|
* @param {*} [options] Override http request option.
|
|
1666
1666
|
* @throws {RequiredError}
|
|
1667
1667
|
*/
|
|
1668
|
-
|
|
1669
|
-
const localVarPath = `/payment_links/
|
|
1668
|
+
createPaymentLinkCardPayment: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1669
|
+
const localVarPath = `/payment_links/card`;
|
|
1670
1670
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1671
1671
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1672
1672
|
let baseOptions;
|
|
@@ -1956,13 +1956,13 @@ exports.DefaultApiFp = function (configuration) {
|
|
|
1956
1956
|
});
|
|
1957
1957
|
},
|
|
1958
1958
|
/**
|
|
1959
|
-
* Initiate
|
|
1959
|
+
* Initiate Card Payment for a Payment Link
|
|
1960
1960
|
* @param {*} [options] Override http request option.
|
|
1961
1961
|
* @throws {RequiredError}
|
|
1962
1962
|
*/
|
|
1963
|
-
|
|
1963
|
+
createPaymentLinkCardPayment(options) {
|
|
1964
1964
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1965
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1965
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createPaymentLinkCardPayment(options);
|
|
1966
1966
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1967
1967
|
});
|
|
1968
1968
|
},
|
|
@@ -2079,12 +2079,12 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2079
2079
|
return localVarFp.createFpsToken(options).then((request) => request(axios, basePath));
|
|
2080
2080
|
},
|
|
2081
2081
|
/**
|
|
2082
|
-
* Initiate
|
|
2082
|
+
* Initiate Card Payment for a Payment Link
|
|
2083
2083
|
* @param {*} [options] Override http request option.
|
|
2084
2084
|
* @throws {RequiredError}
|
|
2085
2085
|
*/
|
|
2086
|
-
|
|
2087
|
-
return localVarFp.
|
|
2086
|
+
createPaymentLinkCardPayment(options) {
|
|
2087
|
+
return localVarFp.createPaymentLinkCardPayment(options).then((request) => request(axios, basePath));
|
|
2088
2088
|
},
|
|
2089
2089
|
/**
|
|
2090
2090
|
* CREATE Mandate for payment link
|
|
@@ -2199,14 +2199,14 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2199
2199
|
.then((request) => request(this.axios, this.basePath));
|
|
2200
2200
|
}
|
|
2201
2201
|
/**
|
|
2202
|
-
* Initiate
|
|
2202
|
+
* Initiate Card Payment for a Payment Link
|
|
2203
2203
|
* @param {*} [options] Override http request option.
|
|
2204
2204
|
* @throws {RequiredError}
|
|
2205
2205
|
* @memberof DefaultApi
|
|
2206
2206
|
*/
|
|
2207
|
-
|
|
2207
|
+
createPaymentLinkCardPayment(options) {
|
|
2208
2208
|
return exports.DefaultApiFp(this.configuration)
|
|
2209
|
-
.
|
|
2209
|
+
.createPaymentLinkCardPayment(options)
|
|
2210
2210
|
.then((request) => request(this.axios, this.basePath));
|
|
2211
2211
|
}
|
|
2212
2212
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finverse/sdk-typescript",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.133",
|
|
4
4
|
"description": "OpenAPI client for @finverse/sdk-typescript",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"axios": "^0.21.4"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@types/chai": "^4.3.
|
|
24
|
+
"@types/chai": "^4.3.5",
|
|
25
25
|
"@types/mocha": "^10.0.1",
|
|
26
26
|
"@types/node": "^12.11.5",
|
|
27
27
|
"axios-mock-adapter": "^1.21.2",
|