@finverse/sdk-typescript 0.0.190 → 0.0.192
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 +57 -0
- package/dist/api.js +57 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -866,6 +866,12 @@ export interface ConfirmPaymentResponse {
|
|
|
866
866
|
* @memberof ConfirmPaymentResponse
|
|
867
867
|
*/
|
|
868
868
|
success: boolean;
|
|
869
|
+
/**
|
|
870
|
+
*
|
|
871
|
+
* @type {boolean}
|
|
872
|
+
* @memberof ConfirmPaymentResponse
|
|
873
|
+
*/
|
|
874
|
+
skip_autopay_consent: boolean;
|
|
869
875
|
}
|
|
870
876
|
/**
|
|
871
877
|
*
|
|
@@ -1707,6 +1713,19 @@ export declare const FeePaidByEnum: {
|
|
|
1707
1713
|
readonly Sender: "SENDER";
|
|
1708
1714
|
};
|
|
1709
1715
|
export declare type FeePaidByEnum = (typeof FeePaidByEnum)[keyof typeof FeePaidByEnum];
|
|
1716
|
+
/**
|
|
1717
|
+
*
|
|
1718
|
+
* @export
|
|
1719
|
+
* @interface FpsQrCodeResponse
|
|
1720
|
+
*/
|
|
1721
|
+
export interface FpsQrCodeResponse {
|
|
1722
|
+
/**
|
|
1723
|
+
* The FPS QR code in base64
|
|
1724
|
+
* @type {string}
|
|
1725
|
+
* @memberof FpsQrCodeResponse
|
|
1726
|
+
*/
|
|
1727
|
+
qr_code: string;
|
|
1728
|
+
}
|
|
1710
1729
|
/**
|
|
1711
1730
|
*
|
|
1712
1731
|
* @export
|
|
@@ -5349,6 +5368,12 @@ export interface Principal {
|
|
|
5349
5368
|
* @memberof Principal
|
|
5350
5369
|
*/
|
|
5351
5370
|
unique_reference_id?: string;
|
|
5371
|
+
/**
|
|
5372
|
+
* The qrCode text to be used to generate the image
|
|
5373
|
+
* @type {string}
|
|
5374
|
+
* @memberof Principal
|
|
5375
|
+
*/
|
|
5376
|
+
qr_code_text?: string;
|
|
5352
5377
|
}
|
|
5353
5378
|
/**
|
|
5354
5379
|
*
|
|
@@ -7080,6 +7105,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
7080
7105
|
* @throws {RequiredError}
|
|
7081
7106
|
*/
|
|
7082
7107
|
createScheduledPayout: (idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7108
|
+
/**
|
|
7109
|
+
* Get the FPS QR code
|
|
7110
|
+
* @param {*} [options] Override http request option.
|
|
7111
|
+
* @throws {RequiredError}
|
|
7112
|
+
*/
|
|
7113
|
+
getFpsQrCode: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7083
7114
|
/**
|
|
7084
7115
|
* Get a customer-specific list of institutions for Finverse Link
|
|
7085
7116
|
* @param {*} [options] Override http request option.
|
|
@@ -7219,6 +7250,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
7219
7250
|
* @throws {RequiredError}
|
|
7220
7251
|
*/
|
|
7221
7252
|
createScheduledPayout(idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayoutSnapshotResponse>>;
|
|
7253
|
+
/**
|
|
7254
|
+
* Get the FPS QR code
|
|
7255
|
+
* @param {*} [options] Override http request option.
|
|
7256
|
+
* @throws {RequiredError}
|
|
7257
|
+
*/
|
|
7258
|
+
getFpsQrCode(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FpsQrCodeResponse>>;
|
|
7222
7259
|
/**
|
|
7223
7260
|
* Get a customer-specific list of institutions for Finverse Link
|
|
7224
7261
|
* @param {*} [options] Override http request option.
|
|
@@ -7358,6 +7395,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
7358
7395
|
* @throws {RequiredError}
|
|
7359
7396
|
*/
|
|
7360
7397
|
createScheduledPayout(idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: any): AxiosPromise<PayoutSnapshotResponse>;
|
|
7398
|
+
/**
|
|
7399
|
+
* Get the FPS QR code
|
|
7400
|
+
* @param {*} [options] Override http request option.
|
|
7401
|
+
* @throws {RequiredError}
|
|
7402
|
+
*/
|
|
7403
|
+
getFpsQrCode(options?: any): AxiosPromise<FpsQrCodeResponse>;
|
|
7361
7404
|
/**
|
|
7362
7405
|
* Get a customer-specific list of institutions for Finverse Link
|
|
7363
7406
|
* @param {*} [options] Override http request option.
|
|
@@ -7508,6 +7551,13 @@ export interface DefaultApiInterface {
|
|
|
7508
7551
|
* @memberof DefaultApiInterface
|
|
7509
7552
|
*/
|
|
7510
7553
|
createScheduledPayout(idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: AxiosRequestConfig): AxiosPromise<PayoutSnapshotResponse>;
|
|
7554
|
+
/**
|
|
7555
|
+
* Get the FPS QR code
|
|
7556
|
+
* @param {*} [options] Override http request option.
|
|
7557
|
+
* @throws {RequiredError}
|
|
7558
|
+
* @memberof DefaultApiInterface
|
|
7559
|
+
*/
|
|
7560
|
+
getFpsQrCode(options?: AxiosRequestConfig): AxiosPromise<FpsQrCodeResponse>;
|
|
7511
7561
|
/**
|
|
7512
7562
|
* Get a customer-specific list of institutions for Finverse Link
|
|
7513
7563
|
* @param {*} [options] Override http request option.
|
|
@@ -7666,6 +7716,13 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
7666
7716
|
* @memberof DefaultApi
|
|
7667
7717
|
*/
|
|
7668
7718
|
createScheduledPayout(idempotencyKey: string, createScheduledPayoutRequest: CreateScheduledPayoutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PayoutSnapshotResponse>>;
|
|
7719
|
+
/**
|
|
7720
|
+
* Get the FPS QR code
|
|
7721
|
+
* @param {*} [options] Override http request option.
|
|
7722
|
+
* @throws {RequiredError}
|
|
7723
|
+
* @memberof DefaultApi
|
|
7724
|
+
*/
|
|
7725
|
+
getFpsQrCode(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FpsQrCodeResponse>>;
|
|
7669
7726
|
/**
|
|
7670
7727
|
* Get a customer-specific list of institutions for Finverse Link
|
|
7671
7728
|
* @param {*} [options] Override http request option.
|
package/dist/api.js
CHANGED
|
@@ -2178,6 +2178,33 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2178
2178
|
options: localVarRequestOptions,
|
|
2179
2179
|
};
|
|
2180
2180
|
}),
|
|
2181
|
+
/**
|
|
2182
|
+
* Get the FPS QR code
|
|
2183
|
+
* @param {*} [options] Override http request option.
|
|
2184
|
+
* @throws {RequiredError}
|
|
2185
|
+
*/
|
|
2186
|
+
getFpsQrCode: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2187
|
+
const localVarPath = `/payment_links/fps/qr_code`;
|
|
2188
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2189
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2190
|
+
let baseOptions;
|
|
2191
|
+
if (configuration) {
|
|
2192
|
+
baseOptions = configuration.baseOptions;
|
|
2193
|
+
}
|
|
2194
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2195
|
+
const localVarHeaderParameter = {};
|
|
2196
|
+
const localVarQueryParameter = {};
|
|
2197
|
+
// authentication Oauth2 required
|
|
2198
|
+
// oauth required
|
|
2199
|
+
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
2200
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2201
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2202
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2203
|
+
return {
|
|
2204
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
2205
|
+
options: localVarRequestOptions,
|
|
2206
|
+
};
|
|
2207
|
+
}),
|
|
2181
2208
|
/**
|
|
2182
2209
|
* Get a customer-specific list of institutions for Finverse Link
|
|
2183
2210
|
* @param {*} [options] Override http request option.
|
|
@@ -2586,6 +2613,17 @@ exports.DefaultApiFp = function (configuration) {
|
|
|
2586
2613
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2587
2614
|
});
|
|
2588
2615
|
},
|
|
2616
|
+
/**
|
|
2617
|
+
* Get the FPS QR code
|
|
2618
|
+
* @param {*} [options] Override http request option.
|
|
2619
|
+
* @throws {RequiredError}
|
|
2620
|
+
*/
|
|
2621
|
+
getFpsQrCode(options) {
|
|
2622
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2623
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getFpsQrCode(options);
|
|
2624
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2625
|
+
});
|
|
2626
|
+
},
|
|
2589
2627
|
/**
|
|
2590
2628
|
* Get a customer-specific list of institutions for Finverse Link
|
|
2591
2629
|
* @param {*} [options] Override http request option.
|
|
@@ -2793,6 +2831,14 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2793
2831
|
.createScheduledPayout(idempotencyKey, createScheduledPayoutRequest, options)
|
|
2794
2832
|
.then((request) => request(axios, basePath));
|
|
2795
2833
|
},
|
|
2834
|
+
/**
|
|
2835
|
+
* Get the FPS QR code
|
|
2836
|
+
* @param {*} [options] Override http request option.
|
|
2837
|
+
* @throws {RequiredError}
|
|
2838
|
+
*/
|
|
2839
|
+
getFpsQrCode(options) {
|
|
2840
|
+
return localVarFp.getFpsQrCode(options).then((request) => request(axios, basePath));
|
|
2841
|
+
},
|
|
2796
2842
|
/**
|
|
2797
2843
|
* Get a customer-specific list of institutions for Finverse Link
|
|
2798
2844
|
* @param {*} [options] Override http request option.
|
|
@@ -3005,6 +3051,17 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3005
3051
|
.createScheduledPayout(idempotencyKey, createScheduledPayoutRequest, options)
|
|
3006
3052
|
.then((request) => request(this.axios, this.basePath));
|
|
3007
3053
|
}
|
|
3054
|
+
/**
|
|
3055
|
+
* Get the FPS QR code
|
|
3056
|
+
* @param {*} [options] Override http request option.
|
|
3057
|
+
* @throws {RequiredError}
|
|
3058
|
+
* @memberof DefaultApi
|
|
3059
|
+
*/
|
|
3060
|
+
getFpsQrCode(options) {
|
|
3061
|
+
return exports.DefaultApiFp(this.configuration)
|
|
3062
|
+
.getFpsQrCode(options)
|
|
3063
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3064
|
+
}
|
|
3008
3065
|
/**
|
|
3009
3066
|
* Get a customer-specific list of institutions for Finverse Link
|
|
3010
3067
|
* @param {*} [options] Override http request option.
|