@finverse/sdk-typescript 0.0.232 → 0.0.233

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 CHANGED
@@ -6085,6 +6085,19 @@ export interface RefreshData {
6085
6085
  */
6086
6086
  refresh_allowed: boolean;
6087
6087
  }
6088
+ /**
6089
+ *
6090
+ * @export
6091
+ * @interface RefreshPaymentAttemptResponse
6092
+ */
6093
+ export interface RefreshPaymentAttemptResponse {
6094
+ /**
6095
+ *
6096
+ * @type {string}
6097
+ * @memberof RefreshPaymentAttemptResponse
6098
+ */
6099
+ redirect_url?: string;
6100
+ }
6088
6101
  /**
6089
6102
  *
6090
6103
  * @export
@@ -7795,6 +7808,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
7795
7808
  * @throws {RequiredError}
7796
7809
  */
7797
7810
  listPayments: (dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', mandateId?: string, currency?: string, offset?: number, limit?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7811
+ /**
7812
+ * Refresh payment attempt from payment link front-end
7813
+ * @param {*} [options] Override http request option.
7814
+ * @throws {RequiredError}
7815
+ */
7816
+ refreshPaymentAttempt: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
7798
7817
  /**
7799
7818
  * Set autopay consent for payment user
7800
7819
  * @param {SetAutopayConsentRequest} setAutopayConsentRequest
@@ -7973,6 +7992,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
7973
7992
  * @throws {RequiredError}
7974
7993
  */
7975
7994
  listPayments(dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', mandateId?: string, currency?: string, offset?: number, limit?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentsResponse>>;
7995
+ /**
7996
+ * Refresh payment attempt from payment link front-end
7997
+ * @param {*} [options] Override http request option.
7998
+ * @throws {RequiredError}
7999
+ */
8000
+ refreshPaymentAttempt(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RefreshPaymentAttemptResponse>>;
7976
8001
  /**
7977
8002
  * Set autopay consent for payment user
7978
8003
  * @param {SetAutopayConsentRequest} setAutopayConsentRequest
@@ -8151,6 +8176,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
8151
8176
  * @throws {RequiredError}
8152
8177
  */
8153
8178
  listPayments(dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', mandateId?: string, currency?: string, offset?: number, limit?: number, options?: any): AxiosPromise<ListPaymentsResponse>;
8179
+ /**
8180
+ * Refresh payment attempt from payment link front-end
8181
+ * @param {*} [options] Override http request option.
8182
+ * @throws {RequiredError}
8183
+ */
8184
+ refreshPaymentAttempt(options?: any): AxiosPromise<RefreshPaymentAttemptResponse>;
8154
8185
  /**
8155
8186
  * Set autopay consent for payment user
8156
8187
  * @param {SetAutopayConsentRequest} setAutopayConsentRequest
@@ -8351,6 +8382,13 @@ export interface DefaultApiInterface {
8351
8382
  * @memberof DefaultApiInterface
8352
8383
  */
8353
8384
  listPayments(dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', mandateId?: string, currency?: string, offset?: number, limit?: number, options?: AxiosRequestConfig): AxiosPromise<ListPaymentsResponse>;
8385
+ /**
8386
+ * Refresh payment attempt from payment link front-end
8387
+ * @param {*} [options] Override http request option.
8388
+ * @throws {RequiredError}
8389
+ * @memberof DefaultApiInterface
8390
+ */
8391
+ refreshPaymentAttempt(options?: AxiosRequestConfig): AxiosPromise<RefreshPaymentAttemptResponse>;
8354
8392
  /**
8355
8393
  * Set autopay consent for payment user
8356
8394
  * @param {SetAutopayConsentRequest} setAutopayConsentRequest
@@ -8553,6 +8591,13 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
8553
8591
  * @memberof DefaultApi
8554
8592
  */
8555
8593
  listPayments(dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', mandateId?: string, currency?: string, offset?: number, limit?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentsResponse>>;
8594
+ /**
8595
+ * Refresh payment attempt from payment link front-end
8596
+ * @param {*} [options] Override http request option.
8597
+ * @throws {RequiredError}
8598
+ * @memberof DefaultApi
8599
+ */
8600
+ refreshPaymentAttempt(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RefreshPaymentAttemptResponse>>;
8556
8601
  /**
8557
8602
  * Set autopay consent for payment user
8558
8603
  * @param {SetAutopayConsentRequest} setAutopayConsentRequest
package/dist/api.js CHANGED
@@ -2625,6 +2625,33 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
2625
2625
  options: localVarRequestOptions,
2626
2626
  };
2627
2627
  }),
2628
+ /**
2629
+ * Refresh payment attempt from payment link front-end
2630
+ * @param {*} [options] Override http request option.
2631
+ * @throws {RequiredError}
2632
+ */
2633
+ refreshPaymentAttempt: (options = {}) => __awaiter(this, void 0, void 0, function* () {
2634
+ const localVarPath = `/payment_link/fvlink/payment_attempt/refresh`;
2635
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2636
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2637
+ let baseOptions;
2638
+ if (configuration) {
2639
+ baseOptions = configuration.baseOptions;
2640
+ }
2641
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2642
+ const localVarHeaderParameter = {};
2643
+ const localVarQueryParameter = {};
2644
+ // authentication Oauth2 required
2645
+ // oauth required
2646
+ yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
2647
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
2648
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2649
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2650
+ return {
2651
+ url: common_1.toPathString(localVarUrlObj),
2652
+ options: localVarRequestOptions,
2653
+ };
2654
+ }),
2628
2655
  /**
2629
2656
  * Set autopay consent for payment user
2630
2657
  * @param {SetAutopayConsentRequest} setAutopayConsentRequest
@@ -2936,6 +2963,17 @@ exports.DefaultApiFp = function (configuration) {
2936
2963
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2937
2964
  });
2938
2965
  },
2966
+ /**
2967
+ * Refresh payment attempt from payment link front-end
2968
+ * @param {*} [options] Override http request option.
2969
+ * @throws {RequiredError}
2970
+ */
2971
+ refreshPaymentAttempt(options) {
2972
+ return __awaiter(this, void 0, void 0, function* () {
2973
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.refreshPaymentAttempt(options);
2974
+ return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2975
+ });
2976
+ },
2939
2977
  /**
2940
2978
  * Set autopay consent for payment user
2941
2979
  * @param {SetAutopayConsentRequest} setAutopayConsentRequest
@@ -3180,6 +3218,14 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
3180
3218
  .listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options)
3181
3219
  .then((request) => request(axios, basePath));
3182
3220
  },
3221
+ /**
3222
+ * Refresh payment attempt from payment link front-end
3223
+ * @param {*} [options] Override http request option.
3224
+ * @throws {RequiredError}
3225
+ */
3226
+ refreshPaymentAttempt(options) {
3227
+ return localVarFp.refreshPaymentAttempt(options).then((request) => request(axios, basePath));
3228
+ },
3183
3229
  /**
3184
3230
  * Set autopay consent for payment user
3185
3231
  * @param {SetAutopayConsentRequest} setAutopayConsentRequest
@@ -3470,6 +3516,17 @@ class DefaultApi extends base_1.BaseAPI {
3470
3516
  .listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options)
3471
3517
  .then((request) => request(this.axios, this.basePath));
3472
3518
  }
3519
+ /**
3520
+ * Refresh payment attempt from payment link front-end
3521
+ * @param {*} [options] Override http request option.
3522
+ * @throws {RequiredError}
3523
+ * @memberof DefaultApi
3524
+ */
3525
+ refreshPaymentAttempt(options) {
3526
+ return exports.DefaultApiFp(this.configuration)
3527
+ .refreshPaymentAttempt(options)
3528
+ .then((request) => request(this.axios, this.basePath));
3529
+ }
3473
3530
  /**
3474
3531
  * Set autopay consent for payment user
3475
3532
  * @param {SetAutopayConsentRequest} setAutopayConsentRequest
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.232",
3
+ "version": "0.0.233",
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.14",
24
+ "@types/chai": "^4.3.15",
25
25
  "@types/mocha": "^10.0.6",
26
26
  "@types/node": "^12.11.5",
27
27
  "axios-mock-adapter": "^1.21.2",