@finverse/sdk-typescript 0.0.132 → 0.0.134
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 +21 -15
- package/dist/api.js +12 -12
- package/package.json +2 -2
package/dist/api.d.ts
CHANGED
|
@@ -836,15 +836,21 @@ 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
|
+
/**
|
|
849
|
+
* Finverse Payment ID
|
|
850
|
+
* @type {string}
|
|
851
|
+
* @memberof CreatePaymentLinkCardPaymentResponse
|
|
852
|
+
*/
|
|
853
|
+
payment_id?: string;
|
|
848
854
|
}
|
|
849
855
|
/**
|
|
850
856
|
*
|
|
@@ -5864,11 +5870,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
5864
5870
|
*/
|
|
5865
5871
|
createFpsToken: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5866
5872
|
/**
|
|
5867
|
-
* Initiate
|
|
5873
|
+
* Initiate Card Payment for a Payment Link
|
|
5868
5874
|
* @param {*} [options] Override http request option.
|
|
5869
5875
|
* @throws {RequiredError}
|
|
5870
5876
|
*/
|
|
5871
|
-
|
|
5877
|
+
createPaymentLinkCardPayment: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5872
5878
|
/**
|
|
5873
5879
|
* CREATE Mandate for payment link
|
|
5874
5880
|
* @param {CreatePaymentLinkMandateRequest} createPaymentLinkMandateRequest request body for creating mandate for payment-link
|
|
@@ -5946,11 +5952,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
5946
5952
|
*/
|
|
5947
5953
|
createFpsToken(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateFpsTokenResponse>>;
|
|
5948
5954
|
/**
|
|
5949
|
-
* Initiate
|
|
5955
|
+
* Initiate Card Payment for a Payment Link
|
|
5950
5956
|
* @param {*} [options] Override http request option.
|
|
5951
5957
|
* @throws {RequiredError}
|
|
5952
5958
|
*/
|
|
5953
|
-
|
|
5959
|
+
createPaymentLinkCardPayment(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentLinkCardPaymentResponse>>;
|
|
5954
5960
|
/**
|
|
5955
5961
|
* CREATE Mandate for payment link
|
|
5956
5962
|
* @param {CreatePaymentLinkMandateRequest} createPaymentLinkMandateRequest request body for creating mandate for payment-link
|
|
@@ -6028,11 +6034,11 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
6028
6034
|
*/
|
|
6029
6035
|
createFpsToken(options?: any): AxiosPromise<CreateFpsTokenResponse>;
|
|
6030
6036
|
/**
|
|
6031
|
-
* Initiate
|
|
6037
|
+
* Initiate Card Payment for a Payment Link
|
|
6032
6038
|
* @param {*} [options] Override http request option.
|
|
6033
6039
|
* @throws {RequiredError}
|
|
6034
6040
|
*/
|
|
6035
|
-
|
|
6041
|
+
createPaymentLinkCardPayment(options?: any): AxiosPromise<CreatePaymentLinkCardPaymentResponse>;
|
|
6036
6042
|
/**
|
|
6037
6043
|
* CREATE Mandate for payment link
|
|
6038
6044
|
* @param {CreatePaymentLinkMandateRequest} createPaymentLinkMandateRequest request body for creating mandate for payment-link
|
|
@@ -6114,12 +6120,12 @@ export interface DefaultApiInterface {
|
|
|
6114
6120
|
*/
|
|
6115
6121
|
createFpsToken(options?: AxiosRequestConfig): AxiosPromise<CreateFpsTokenResponse>;
|
|
6116
6122
|
/**
|
|
6117
|
-
* Initiate
|
|
6123
|
+
* Initiate Card Payment for a Payment Link
|
|
6118
6124
|
* @param {*} [options] Override http request option.
|
|
6119
6125
|
* @throws {RequiredError}
|
|
6120
6126
|
* @memberof DefaultApiInterface
|
|
6121
6127
|
*/
|
|
6122
|
-
|
|
6128
|
+
createPaymentLinkCardPayment(options?: AxiosRequestConfig): AxiosPromise<CreatePaymentLinkCardPaymentResponse>;
|
|
6123
6129
|
/**
|
|
6124
6130
|
* CREATE Mandate for payment link
|
|
6125
6131
|
* @param {CreatePaymentLinkMandateRequest} createPaymentLinkMandateRequest request body for creating mandate for payment-link
|
|
@@ -6207,12 +6213,12 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
6207
6213
|
*/
|
|
6208
6214
|
createFpsToken(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateFpsTokenResponse>>;
|
|
6209
6215
|
/**
|
|
6210
|
-
* Initiate
|
|
6216
|
+
* Initiate Card Payment for a Payment Link
|
|
6211
6217
|
* @param {*} [options] Override http request option.
|
|
6212
6218
|
* @throws {RequiredError}
|
|
6213
6219
|
* @memberof DefaultApi
|
|
6214
6220
|
*/
|
|
6215
|
-
|
|
6221
|
+
createPaymentLinkCardPayment(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentLinkCardPaymentResponse>>;
|
|
6216
6222
|
/**
|
|
6217
6223
|
* CREATE Mandate for payment link
|
|
6218
6224
|
* @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.134",
|
|
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",
|