@finverse/sdk-typescript 0.0.372 → 0.0.374

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.
Files changed (4) hide show
  1. package/README.md +378 -212
  2. package/dist/api.d.ts +18 -261
  3. package/dist/api.js +0 -490
  4. package/package.json +1 -1
package/dist/api.js CHANGED
@@ -2467,33 +2467,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
2467
2467
  options: localVarRequestOptions,
2468
2468
  };
2469
2469
  }),
2470
- /**
2471
- * Initiate change payment method from payment link front-end
2472
- * @param {*} [options] Override http request option.
2473
- * @throws {RequiredError}
2474
- */
2475
- changePaymentMethodPaymentLink: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
2476
- const localVarPath = `/payment_link/fvlink/payment_method/change`;
2477
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2478
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2479
- let baseOptions;
2480
- if (configuration) {
2481
- baseOptions = configuration.baseOptions;
2482
- }
2483
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2484
- const localVarHeaderParameter = {};
2485
- const localVarQueryParameter = {};
2486
- // authentication Oauth2 required
2487
- // oauth required
2488
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
2489
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2490
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2491
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2492
- return {
2493
- url: (0, common_1.toPathString)(localVarUrlObj),
2494
- options: localVarRequestOptions,
2495
- };
2496
- }),
2497
2470
  /**
2498
2471
  * Complete a KCP payment
2499
2472
  * @param {CompleteKcpPaymentRequest} completeKcpPaymentRequest Parameters from the KCP SDK callback to complete the payment
@@ -2728,33 +2701,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
2728
2701
  options: localVarRequestOptions,
2729
2702
  };
2730
2703
  }),
2731
- /**
2732
- * Demote payment attempt
2733
- * @param {*} [options] Override http request option.
2734
- * @throws {RequiredError}
2735
- */
2736
- demotePaymentAttempt: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
2737
- const localVarPath = `/payment_link/fvlink/payment_attempt/demote`;
2738
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2739
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2740
- let baseOptions;
2741
- if (configuration) {
2742
- baseOptions = configuration.baseOptions;
2743
- }
2744
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2745
- const localVarHeaderParameter = {};
2746
- const localVarQueryParameter = {};
2747
- // authentication Oauth2 required
2748
- // oauth required
2749
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
2750
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2751
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2752
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2753
- return {
2754
- url: (0, common_1.toPathString)(localVarUrlObj),
2755
- options: localVarRequestOptions,
2756
- };
2757
- }),
2758
2704
  /**
2759
2705
  * Download the balance statement for the ledger (CSV)
2760
2706
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -2910,60 +2856,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
2910
2856
  options: localVarRequestOptions,
2911
2857
  };
2912
2858
  }),
2913
- /**
2914
- * Get payment method in payment link flow
2915
- * @param {*} [options] Override http request option.
2916
- * @throws {RequiredError}
2917
- */
2918
- getPaymentMethodPaymentLink: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
2919
- const localVarPath = `/payment_link/fvlink/payment_method`;
2920
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2921
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2922
- let baseOptions;
2923
- if (configuration) {
2924
- baseOptions = configuration.baseOptions;
2925
- }
2926
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2927
- const localVarHeaderParameter = {};
2928
- const localVarQueryParameter = {};
2929
- // authentication Oauth2 required
2930
- // oauth required
2931
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
2932
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2933
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2934
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2935
- return {
2936
- url: (0, common_1.toPathString)(localVarUrlObj),
2937
- options: localVarRequestOptions,
2938
- };
2939
- }),
2940
- /**
2941
- * Get payment (if exists) on the payment link for front-end
2942
- * @param {*} [options] Override http request option.
2943
- * @throws {RequiredError}
2944
- */
2945
- getPaymentPaymentLink: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
2946
- const localVarPath = `/payment_link/fvlink/payment`;
2947
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2948
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2949
- let baseOptions;
2950
- if (configuration) {
2951
- baseOptions = configuration.baseOptions;
2952
- }
2953
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2954
- const localVarHeaderParameter = {};
2955
- const localVarQueryParameter = {};
2956
- // authentication Oauth2 required
2957
- // oauth required
2958
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
2959
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2960
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2961
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2962
- return {
2963
- url: (0, common_1.toPathString)(localVarUrlObj),
2964
- options: localVarRequestOptions,
2965
- };
2966
- }),
2967
2859
  /**
2968
2860
  * Get payout by payout_id
2969
2861
  * @param {string} payoutId payout id
@@ -2994,60 +2886,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
2994
2886
  options: localVarRequestOptions,
2995
2887
  };
2996
2888
  }),
2997
- /**
2998
- * Get sender payment user in payment link flow
2999
- * @param {*} [options] Override http request option.
3000
- * @throws {RequiredError}
3001
- */
3002
- getSenderPaymentUser: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
3003
- const localVarPath = `/payment_link/fvlink/payment_user/sender`;
3004
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3005
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3006
- let baseOptions;
3007
- if (configuration) {
3008
- baseOptions = configuration.baseOptions;
3009
- }
3010
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3011
- const localVarHeaderParameter = {};
3012
- const localVarQueryParameter = {};
3013
- // authentication Oauth2 required
3014
- // oauth required
3015
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
3016
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3017
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3018
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3019
- return {
3020
- url: (0, common_1.toPathString)(localVarUrlObj),
3021
- options: localVarRequestOptions,
3022
- };
3023
- }),
3024
- /**
3025
- * List available payment methods
3026
- * @param {*} [options] Override http request option.
3027
- * @throws {RequiredError}
3028
- */
3029
- listAvailablePaymentMethodsPaymentLink: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
3030
- const localVarPath = `/payment_link/fvlink/available_payment_methods`;
3031
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3032
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3033
- let baseOptions;
3034
- if (configuration) {
3035
- baseOptions = configuration.baseOptions;
3036
- }
3037
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
3038
- const localVarHeaderParameter = {};
3039
- const localVarQueryParameter = {};
3040
- // authentication Oauth2 required
3041
- // oauth required
3042
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
3043
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3044
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3045
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3046
- return {
3047
- url: (0, common_1.toPathString)(localVarUrlObj),
3048
- options: localVarRequestOptions,
3049
- };
3050
- }),
3051
2889
  /**
3052
2890
  * List mandates details
3053
2891
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -3407,33 +3245,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
3407
3245
  options: localVarRequestOptions,
3408
3246
  };
3409
3247
  }),
3410
- /**
3411
- * Refresh payment attempt from payment link front-end
3412
- * @param {*} [options] Override http request option.
3413
- * @throws {RequiredError}
3414
- */
3415
- refreshPaymentAttempt: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
3416
- const localVarPath = `/payment_link/fvlink/payment_attempt/refresh`;
3417
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3418
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3419
- let baseOptions;
3420
- if (configuration) {
3421
- baseOptions = configuration.baseOptions;
3422
- }
3423
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
3424
- const localVarHeaderParameter = {};
3425
- const localVarQueryParameter = {};
3426
- // authentication Oauth2 required
3427
- // oauth required
3428
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
3429
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3430
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3431
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3432
- return {
3433
- url: (0, common_1.toPathString)(localVarUrlObj),
3434
- options: localVarRequestOptions,
3435
- };
3436
- }),
3437
3248
  /**
3438
3249
  * Select a payment method for payment link
3439
3250
  * @param {SelectPaymentMethodRequest} selectPaymentMethodRequest request body for selecting a payment method
@@ -3466,38 +3277,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
3466
3277
  options: localVarRequestOptions,
3467
3278
  };
3468
3279
  }),
3469
- /**
3470
- * Set autopay consent for payment user
3471
- * @param {SetAutopayConsentRequest} setAutopayConsentRequest
3472
- * @param {*} [options] Override http request option.
3473
- * @throws {RequiredError}
3474
- */
3475
- setAutopayConsent: (setAutopayConsentRequest_1, ...args_1) => __awaiter(this, [setAutopayConsentRequest_1, ...args_1], void 0, function* (setAutopayConsentRequest, options = {}) {
3476
- // verify required parameter 'setAutopayConsentRequest' is not null or undefined
3477
- (0, common_1.assertParamExists)('setAutopayConsent', 'setAutopayConsentRequest', setAutopayConsentRequest);
3478
- const localVarPath = `/payment_link/fvlink/payment_user/autopay`;
3479
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
3480
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3481
- let baseOptions;
3482
- if (configuration) {
3483
- baseOptions = configuration.baseOptions;
3484
- }
3485
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
3486
- const localVarHeaderParameter = {};
3487
- const localVarQueryParameter = {};
3488
- // authentication Oauth2 required
3489
- // oauth required
3490
- yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
3491
- localVarHeaderParameter['Content-Type'] = 'application/json';
3492
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3493
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3494
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3495
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(setAutopayConsentRequest, localVarRequestOptions, configuration);
3496
- return {
3497
- url: (0, common_1.toPathString)(localVarUrlObj),
3498
- options: localVarRequestOptions,
3499
- };
3500
- }),
3501
3280
  /**
3502
3281
  * Update a payment user
3503
3282
  * @param {string} paymentUserId
@@ -3573,20 +3352,6 @@ const DefaultApiFp = function (configuration) {
3573
3352
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3574
3353
  });
3575
3354
  },
3576
- /**
3577
- * Initiate change payment method from payment link front-end
3578
- * @param {*} [options] Override http request option.
3579
- * @throws {RequiredError}
3580
- */
3581
- changePaymentMethodPaymentLink(options) {
3582
- return __awaiter(this, void 0, void 0, function* () {
3583
- var _a, _b, _c;
3584
- const localVarAxiosArgs = yield localVarAxiosParamCreator.changePaymentMethodPaymentLink(options);
3585
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3586
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.changePaymentMethodPaymentLink']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3587
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3588
- });
3589
- },
3590
3355
  /**
3591
3356
  * Complete a KCP payment
3592
3357
  * @param {CompleteKcpPaymentRequest} completeKcpPaymentRequest Parameters from the KCP SDK callback to complete the payment
@@ -3694,20 +3459,6 @@ const DefaultApiFp = function (configuration) {
3694
3459
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3695
3460
  });
3696
3461
  },
3697
- /**
3698
- * Demote payment attempt
3699
- * @param {*} [options] Override http request option.
3700
- * @throws {RequiredError}
3701
- */
3702
- demotePaymentAttempt(options) {
3703
- return __awaiter(this, void 0, void 0, function* () {
3704
- var _a, _b, _c;
3705
- const localVarAxiosArgs = yield localVarAxiosParamCreator.demotePaymentAttempt(options);
3706
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3707
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.demotePaymentAttempt']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3708
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3709
- });
3710
- },
3711
3462
  /**
3712
3463
  * Download the balance statement for the ledger (CSV)
3713
3464
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -3783,34 +3534,6 @@ const DefaultApiFp = function (configuration) {
3783
3534
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3784
3535
  });
3785
3536
  },
3786
- /**
3787
- * Get payment method in payment link flow
3788
- * @param {*} [options] Override http request option.
3789
- * @throws {RequiredError}
3790
- */
3791
- getPaymentMethodPaymentLink(options) {
3792
- return __awaiter(this, void 0, void 0, function* () {
3793
- var _a, _b, _c;
3794
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getPaymentMethodPaymentLink(options);
3795
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3796
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.getPaymentMethodPaymentLink']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3797
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3798
- });
3799
- },
3800
- /**
3801
- * Get payment (if exists) on the payment link for front-end
3802
- * @param {*} [options] Override http request option.
3803
- * @throws {RequiredError}
3804
- */
3805
- getPaymentPaymentLink(options) {
3806
- return __awaiter(this, void 0, void 0, function* () {
3807
- var _a, _b, _c;
3808
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getPaymentPaymentLink(options);
3809
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3810
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.getPaymentPaymentLink']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3811
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3812
- });
3813
- },
3814
3537
  /**
3815
3538
  * Get payout by payout_id
3816
3539
  * @param {string} payoutId payout id
@@ -3826,34 +3549,6 @@ const DefaultApiFp = function (configuration) {
3826
3549
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3827
3550
  });
3828
3551
  },
3829
- /**
3830
- * Get sender payment user in payment link flow
3831
- * @param {*} [options] Override http request option.
3832
- * @throws {RequiredError}
3833
- */
3834
- getSenderPaymentUser(options) {
3835
- return __awaiter(this, void 0, void 0, function* () {
3836
- var _a, _b, _c;
3837
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSenderPaymentUser(options);
3838
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3839
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.getSenderPaymentUser']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3840
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3841
- });
3842
- },
3843
- /**
3844
- * List available payment methods
3845
- * @param {*} [options] Override http request option.
3846
- * @throws {RequiredError}
3847
- */
3848
- listAvailablePaymentMethodsPaymentLink(options) {
3849
- return __awaiter(this, void 0, void 0, function* () {
3850
- var _a, _b, _c;
3851
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listAvailablePaymentMethodsPaymentLink(options);
3852
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3853
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.listAvailablePaymentMethodsPaymentLink']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3854
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3855
- });
3856
- },
3857
3552
  /**
3858
3553
  * List mandates details
3859
3554
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -3985,20 +3680,6 @@ const DefaultApiFp = function (configuration) {
3985
3680
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3986
3681
  });
3987
3682
  },
3988
- /**
3989
- * Refresh payment attempt from payment link front-end
3990
- * @param {*} [options] Override http request option.
3991
- * @throws {RequiredError}
3992
- */
3993
- refreshPaymentAttempt(options) {
3994
- return __awaiter(this, void 0, void 0, function* () {
3995
- var _a, _b, _c;
3996
- const localVarAxiosArgs = yield localVarAxiosParamCreator.refreshPaymentAttempt(options);
3997
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3998
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.refreshPaymentAttempt']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3999
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4000
- });
4001
- },
4002
3683
  /**
4003
3684
  * Select a payment method for payment link
4004
3685
  * @param {SelectPaymentMethodRequest} selectPaymentMethodRequest request body for selecting a payment method
@@ -4014,21 +3695,6 @@ const DefaultApiFp = function (configuration) {
4014
3695
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4015
3696
  });
4016
3697
  },
4017
- /**
4018
- * Set autopay consent for payment user
4019
- * @param {SetAutopayConsentRequest} setAutopayConsentRequest
4020
- * @param {*} [options] Override http request option.
4021
- * @throws {RequiredError}
4022
- */
4023
- setAutopayConsent(setAutopayConsentRequest, options) {
4024
- return __awaiter(this, void 0, void 0, function* () {
4025
- var _a, _b, _c;
4026
- const localVarAxiosArgs = yield localVarAxiosParamCreator.setAutopayConsent(setAutopayConsentRequest, options);
4027
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4028
- const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.setAutopayConsent']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4029
- return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4030
- });
4031
- },
4032
3698
  /**
4033
3699
  * Update a payment user
4034
3700
  * @param {string} paymentUserId
@@ -4073,14 +3739,6 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
4073
3739
  cancelPayout(payoutId, options) {
4074
3740
  return localVarFp.cancelPayout(payoutId, options).then((request) => request(axios, basePath));
4075
3741
  },
4076
- /**
4077
- * Initiate change payment method from payment link front-end
4078
- * @param {*} [options] Override http request option.
4079
- * @throws {RequiredError}
4080
- */
4081
- changePaymentMethodPaymentLink(options) {
4082
- return localVarFp.changePaymentMethodPaymentLink(options).then((request) => request(axios, basePath));
4083
- },
4084
3742
  /**
4085
3743
  * Complete a KCP payment
4086
3744
  * @param {CompleteKcpPaymentRequest} completeKcpPaymentRequest Parameters from the KCP SDK callback to complete the payment
@@ -4158,14 +3816,6 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
4158
3816
  .createScheduledPayout(idempotencyKey, createScheduledPayoutRequest, options)
4159
3817
  .then((request) => request(axios, basePath));
4160
3818
  },
4161
- /**
4162
- * Demote payment attempt
4163
- * @param {*} [options] Override http request option.
4164
- * @throws {RequiredError}
4165
- */
4166
- demotePaymentAttempt(options) {
4167
- return localVarFp.demotePaymentAttempt(options).then((request) => request(axios, basePath));
4168
- },
4169
3819
  /**
4170
3820
  * Download the balance statement for the ledger (CSV)
4171
3821
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -4213,22 +3863,6 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
4213
3863
  getPaymentMethod(paymentMethodId, options) {
4214
3864
  return localVarFp.getPaymentMethod(paymentMethodId, options).then((request) => request(axios, basePath));
4215
3865
  },
4216
- /**
4217
- * Get payment method in payment link flow
4218
- * @param {*} [options] Override http request option.
4219
- * @throws {RequiredError}
4220
- */
4221
- getPaymentMethodPaymentLink(options) {
4222
- return localVarFp.getPaymentMethodPaymentLink(options).then((request) => request(axios, basePath));
4223
- },
4224
- /**
4225
- * Get payment (if exists) on the payment link for front-end
4226
- * @param {*} [options] Override http request option.
4227
- * @throws {RequiredError}
4228
- */
4229
- getPaymentPaymentLink(options) {
4230
- return localVarFp.getPaymentPaymentLink(options).then((request) => request(axios, basePath));
4231
- },
4232
3866
  /**
4233
3867
  * Get payout by payout_id
4234
3868
  * @param {string} payoutId payout id
@@ -4238,22 +3872,6 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
4238
3872
  getPayoutById(payoutId, options) {
4239
3873
  return localVarFp.getPayoutById(payoutId, options).then((request) => request(axios, basePath));
4240
3874
  },
4241
- /**
4242
- * Get sender payment user in payment link flow
4243
- * @param {*} [options] Override http request option.
4244
- * @throws {RequiredError}
4245
- */
4246
- getSenderPaymentUser(options) {
4247
- return localVarFp.getSenderPaymentUser(options).then((request) => request(axios, basePath));
4248
- },
4249
- /**
4250
- * List available payment methods
4251
- * @param {*} [options] Override http request option.
4252
- * @throws {RequiredError}
4253
- */
4254
- listAvailablePaymentMethodsPaymentLink(options) {
4255
- return localVarFp.listAvailablePaymentMethodsPaymentLink(options).then((request) => request(axios, basePath));
4256
- },
4257
3875
  /**
4258
3876
  * List mandates details
4259
3877
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -4359,14 +3977,6 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
4359
3977
  .listPayouts(dateFrom, dateTo, statuses, currencies, payoutTypes, mandateId, senderAccountId, recipientAccountId, recipientUserId, recipientExternalUserId, offset, limit, options)
4360
3978
  .then((request) => request(axios, basePath));
4361
3979
  },
4362
- /**
4363
- * Refresh payment attempt from payment link front-end
4364
- * @param {*} [options] Override http request option.
4365
- * @throws {RequiredError}
4366
- */
4367
- refreshPaymentAttempt(options) {
4368
- return localVarFp.refreshPaymentAttempt(options).then((request) => request(axios, basePath));
4369
- },
4370
3980
  /**
4371
3981
  * Select a payment method for payment link
4372
3982
  * @param {SelectPaymentMethodRequest} selectPaymentMethodRequest request body for selecting a payment method
@@ -4378,17 +3988,6 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
4378
3988
  .selectPaymentMethodPaymentLink(selectPaymentMethodRequest, options)
4379
3989
  .then((request) => request(axios, basePath));
4380
3990
  },
4381
- /**
4382
- * Set autopay consent for payment user
4383
- * @param {SetAutopayConsentRequest} setAutopayConsentRequest
4384
- * @param {*} [options] Override http request option.
4385
- * @throws {RequiredError}
4386
- */
4387
- setAutopayConsent(setAutopayConsentRequest, options) {
4388
- return localVarFp
4389
- .setAutopayConsent(setAutopayConsentRequest, options)
4390
- .then((request) => request(axios, basePath));
4391
- },
4392
3991
  /**
4393
3992
  * Update a payment user
4394
3993
  * @param {string} paymentUserId
@@ -4435,17 +4034,6 @@ class DefaultApi extends base_1.BaseAPI {
4435
4034
  .cancelPayout(payoutId, options)
4436
4035
  .then((request) => request(this.axios, this.basePath));
4437
4036
  }
4438
- /**
4439
- * Initiate change payment method from payment link front-end
4440
- * @param {*} [options] Override http request option.
4441
- * @throws {RequiredError}
4442
- * @memberof DefaultApi
4443
- */
4444
- changePaymentMethodPaymentLink(options) {
4445
- return (0, exports.DefaultApiFp)(this.configuration)
4446
- .changePaymentMethodPaymentLink(options)
4447
- .then((request) => request(this.axios, this.basePath));
4448
- }
4449
4037
  /**
4450
4038
  * Complete a KCP payment
4451
4039
  * @param {CompleteKcpPaymentRequest} completeKcpPaymentRequest Parameters from the KCP SDK callback to complete the payment
@@ -4532,17 +4120,6 @@ class DefaultApi extends base_1.BaseAPI {
4532
4120
  .createScheduledPayout(idempotencyKey, createScheduledPayoutRequest, options)
4533
4121
  .then((request) => request(this.axios, this.basePath));
4534
4122
  }
4535
- /**
4536
- * Demote payment attempt
4537
- * @param {*} [options] Override http request option.
4538
- * @throws {RequiredError}
4539
- * @memberof DefaultApi
4540
- */
4541
- demotePaymentAttempt(options) {
4542
- return (0, exports.DefaultApiFp)(this.configuration)
4543
- .demotePaymentAttempt(options)
4544
- .then((request) => request(this.axios, this.basePath));
4545
- }
4546
4123
  /**
4547
4124
  * Download the balance statement for the ledger (CSV)
4548
4125
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -4603,28 +4180,6 @@ class DefaultApi extends base_1.BaseAPI {
4603
4180
  .getPaymentMethod(paymentMethodId, options)
4604
4181
  .then((request) => request(this.axios, this.basePath));
4605
4182
  }
4606
- /**
4607
- * Get payment method in payment link flow
4608
- * @param {*} [options] Override http request option.
4609
- * @throws {RequiredError}
4610
- * @memberof DefaultApi
4611
- */
4612
- getPaymentMethodPaymentLink(options) {
4613
- return (0, exports.DefaultApiFp)(this.configuration)
4614
- .getPaymentMethodPaymentLink(options)
4615
- .then((request) => request(this.axios, this.basePath));
4616
- }
4617
- /**
4618
- * Get payment (if exists) on the payment link for front-end
4619
- * @param {*} [options] Override http request option.
4620
- * @throws {RequiredError}
4621
- * @memberof DefaultApi
4622
- */
4623
- getPaymentPaymentLink(options) {
4624
- return (0, exports.DefaultApiFp)(this.configuration)
4625
- .getPaymentPaymentLink(options)
4626
- .then((request) => request(this.axios, this.basePath));
4627
- }
4628
4183
  /**
4629
4184
  * Get payout by payout_id
4630
4185
  * @param {string} payoutId payout id
@@ -4637,28 +4192,6 @@ class DefaultApi extends base_1.BaseAPI {
4637
4192
  .getPayoutById(payoutId, options)
4638
4193
  .then((request) => request(this.axios, this.basePath));
4639
4194
  }
4640
- /**
4641
- * Get sender payment user in payment link flow
4642
- * @param {*} [options] Override http request option.
4643
- * @throws {RequiredError}
4644
- * @memberof DefaultApi
4645
- */
4646
- getSenderPaymentUser(options) {
4647
- return (0, exports.DefaultApiFp)(this.configuration)
4648
- .getSenderPaymentUser(options)
4649
- .then((request) => request(this.axios, this.basePath));
4650
- }
4651
- /**
4652
- * List available payment methods
4653
- * @param {*} [options] Override http request option.
4654
- * @throws {RequiredError}
4655
- * @memberof DefaultApi
4656
- */
4657
- listAvailablePaymentMethodsPaymentLink(options) {
4658
- return (0, exports.DefaultApiFp)(this.configuration)
4659
- .listAvailablePaymentMethodsPaymentLink(options)
4660
- .then((request) => request(this.axios, this.basePath));
4661
- }
4662
4195
  /**
4663
4196
  * List mandates details
4664
4197
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -4772,17 +4305,6 @@ class DefaultApi extends base_1.BaseAPI {
4772
4305
  .listPayouts(dateFrom, dateTo, statuses, currencies, payoutTypes, mandateId, senderAccountId, recipientAccountId, recipientUserId, recipientExternalUserId, offset, limit, options)
4773
4306
  .then((request) => request(this.axios, this.basePath));
4774
4307
  }
4775
- /**
4776
- * Refresh payment attempt from payment link front-end
4777
- * @param {*} [options] Override http request option.
4778
- * @throws {RequiredError}
4779
- * @memberof DefaultApi
4780
- */
4781
- refreshPaymentAttempt(options) {
4782
- return (0, exports.DefaultApiFp)(this.configuration)
4783
- .refreshPaymentAttempt(options)
4784
- .then((request) => request(this.axios, this.basePath));
4785
- }
4786
4308
  /**
4787
4309
  * Select a payment method for payment link
4788
4310
  * @param {SelectPaymentMethodRequest} selectPaymentMethodRequest request body for selecting a payment method
@@ -4795,18 +4317,6 @@ class DefaultApi extends base_1.BaseAPI {
4795
4317
  .selectPaymentMethodPaymentLink(selectPaymentMethodRequest, options)
4796
4318
  .then((request) => request(this.axios, this.basePath));
4797
4319
  }
4798
- /**
4799
- * Set autopay consent for payment user
4800
- * @param {SetAutopayConsentRequest} setAutopayConsentRequest
4801
- * @param {*} [options] Override http request option.
4802
- * @throws {RequiredError}
4803
- * @memberof DefaultApi
4804
- */
4805
- setAutopayConsent(setAutopayConsentRequest, options) {
4806
- return (0, exports.DefaultApiFp)(this.configuration)
4807
- .setAutopayConsent(setAutopayConsentRequest, options)
4808
- .then((request) => request(this.axios, this.basePath));
4809
- }
4810
4320
  /**
4811
4321
  * Update a payment user
4812
4322
  * @param {string} paymentUserId
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.372",
3
+ "version": "0.0.374",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {