@finverse/sdk-typescript 0.0.225 → 0.0.227

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
@@ -898,6 +898,19 @@ export interface CategoryPredictions {
898
898
  */
899
899
  source_id?: string;
900
900
  }
901
+ /**
902
+ *
903
+ * @export
904
+ * @interface ChangePaymentMethodFvLinkResponse
905
+ */
906
+ export interface ChangePaymentMethodFvLinkResponse {
907
+ /**
908
+ *
909
+ * @type {string}
910
+ * @memberof ChangePaymentMethodFvLinkResponse
911
+ */
912
+ redirect_url?: string;
913
+ }
901
914
  /**
902
915
  *
903
916
  * @export
@@ -5155,6 +5168,12 @@ export interface PaymentMethodFvLinkResponse {
5155
5168
  * @memberof PaymentMethodFvLinkResponse
5156
5169
  */
5157
5170
  payment_method_type?: string;
5171
+ /**
5172
+ *
5173
+ * @type {string}
5174
+ * @memberof PaymentMethodFvLinkResponse
5175
+ */
5176
+ recipient_entity_name?: string;
5158
5177
  /**
5159
5178
  *
5160
5179
  * @type {MandateFvLinkResponse}
@@ -7495,6 +7514,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
7495
7514
  * @throws {RequiredError}
7496
7515
  */
7497
7516
  cancelPayout: (payoutId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7517
+ /**
7518
+ * Initiate change payment method from payment link front-end
7519
+ * @param {*} [options] Override http request option.
7520
+ * @throws {RequiredError}
7521
+ */
7522
+ changePaymentMethodPaymentLink: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
7498
7523
  /**
7499
7524
  * Submit manual payment confirmation
7500
7525
  * @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
@@ -7646,6 +7671,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
7646
7671
  * @throws {RequiredError}
7647
7672
  */
7648
7673
  cancelPayout(payoutId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayoutSnapshotResponse>>;
7674
+ /**
7675
+ * Initiate change payment method from payment link front-end
7676
+ * @param {*} [options] Override http request option.
7677
+ * @throws {RequiredError}
7678
+ */
7679
+ changePaymentMethodPaymentLink(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChangePaymentMethodFvLinkResponse>>;
7649
7680
  /**
7650
7681
  * Submit manual payment confirmation
7651
7682
  * @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
@@ -7797,6 +7828,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
7797
7828
  * @throws {RequiredError}
7798
7829
  */
7799
7830
  cancelPayout(payoutId: string, options?: any): AxiosPromise<PayoutSnapshotResponse>;
7831
+ /**
7832
+ * Initiate change payment method from payment link front-end
7833
+ * @param {*} [options] Override http request option.
7834
+ * @throws {RequiredError}
7835
+ */
7836
+ changePaymentMethodPaymentLink(options?: any): AxiosPromise<ChangePaymentMethodFvLinkResponse>;
7800
7837
  /**
7801
7838
  * Submit manual payment confirmation
7802
7839
  * @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
@@ -7951,6 +7988,13 @@ export interface DefaultApiInterface {
7951
7988
  * @memberof DefaultApiInterface
7952
7989
  */
7953
7990
  cancelPayout(payoutId: string, options?: AxiosRequestConfig): AxiosPromise<PayoutSnapshotResponse>;
7991
+ /**
7992
+ * Initiate change payment method from payment link front-end
7993
+ * @param {*} [options] Override http request option.
7994
+ * @throws {RequiredError}
7995
+ * @memberof DefaultApiInterface
7996
+ */
7997
+ changePaymentMethodPaymentLink(options?: AxiosRequestConfig): AxiosPromise<ChangePaymentMethodFvLinkResponse>;
7954
7998
  /**
7955
7999
  * Submit manual payment confirmation
7956
8000
  * @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
@@ -8123,6 +8167,13 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
8123
8167
  * @memberof DefaultApi
8124
8168
  */
8125
8169
  cancelPayout(payoutId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PayoutSnapshotResponse>>;
8170
+ /**
8171
+ * Initiate change payment method from payment link front-end
8172
+ * @param {*} [options] Override http request option.
8173
+ * @throws {RequiredError}
8174
+ * @memberof DefaultApi
8175
+ */
8176
+ changePaymentMethodPaymentLink(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChangePaymentMethodFvLinkResponse>>;
8126
8177
  /**
8127
8178
  * Submit manual payment confirmation
8128
8179
  * @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
package/dist/api.js CHANGED
@@ -1939,6 +1939,33 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
1939
1939
  options: localVarRequestOptions,
1940
1940
  };
1941
1941
  }),
1942
+ /**
1943
+ * Initiate change payment method from payment link front-end
1944
+ * @param {*} [options] Override http request option.
1945
+ * @throws {RequiredError}
1946
+ */
1947
+ changePaymentMethodPaymentLink: (options = {}) => __awaiter(this, void 0, void 0, function* () {
1948
+ const localVarPath = `/payment_link/fvlink/payment_method/change`;
1949
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1950
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1951
+ let baseOptions;
1952
+ if (configuration) {
1953
+ baseOptions = configuration.baseOptions;
1954
+ }
1955
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1956
+ const localVarHeaderParameter = {};
1957
+ const localVarQueryParameter = {};
1958
+ // authentication Oauth2 required
1959
+ // oauth required
1960
+ yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
1961
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
1962
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1963
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1964
+ return {
1965
+ url: common_1.toPathString(localVarUrlObj),
1966
+ options: localVarRequestOptions,
1967
+ };
1968
+ }),
1942
1969
  /**
1943
1970
  * Submit manual payment confirmation
1944
1971
  * @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
@@ -2559,6 +2586,17 @@ exports.DefaultApiFp = function (configuration) {
2559
2586
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2560
2587
  });
2561
2588
  },
2589
+ /**
2590
+ * Initiate change payment method from payment link front-end
2591
+ * @param {*} [options] Override http request option.
2592
+ * @throws {RequiredError}
2593
+ */
2594
+ changePaymentMethodPaymentLink(options) {
2595
+ return __awaiter(this, void 0, void 0, function* () {
2596
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.changePaymentMethodPaymentLink(options);
2597
+ return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2598
+ });
2599
+ },
2562
2600
  /**
2563
2601
  * Submit manual payment confirmation
2564
2602
  * @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
@@ -2802,6 +2840,14 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
2802
2840
  cancelPayout(payoutId, options) {
2803
2841
  return localVarFp.cancelPayout(payoutId, options).then((request) => request(axios, basePath));
2804
2842
  },
2843
+ /**
2844
+ * Initiate change payment method from payment link front-end
2845
+ * @param {*} [options] Override http request option.
2846
+ * @throws {RequiredError}
2847
+ */
2848
+ changePaymentMethodPaymentLink(options) {
2849
+ return localVarFp.changePaymentMethodPaymentLink(options).then((request) => request(axios, basePath));
2850
+ },
2805
2851
  /**
2806
2852
  * Submit manual payment confirmation
2807
2853
  * @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
@@ -3016,6 +3062,17 @@ class DefaultApi extends base_1.BaseAPI {
3016
3062
  .cancelPayout(payoutId, options)
3017
3063
  .then((request) => request(this.axios, this.basePath));
3018
3064
  }
3065
+ /**
3066
+ * Initiate change payment method from payment link front-end
3067
+ * @param {*} [options] Override http request option.
3068
+ * @throws {RequiredError}
3069
+ * @memberof DefaultApi
3070
+ */
3071
+ changePaymentMethodPaymentLink(options) {
3072
+ return exports.DefaultApiFp(this.configuration)
3073
+ .changePaymentMethodPaymentLink(options)
3074
+ .then((request) => request(this.axios, this.basePath));
3075
+ }
3019
3076
  /**
3020
3077
  * Submit manual payment confirmation
3021
3078
  * @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.225",
3
+ "version": "0.0.227",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -21,12 +21,12 @@
21
21
  "axios": "^0.21.4"
22
22
  },
23
23
  "devDependencies": {
24
- "@types/chai": "^4.3.11",
24
+ "@types/chai": "^4.3.12",
25
25
  "@types/mocha": "^10.0.6",
26
26
  "@types/node": "^12.11.5",
27
27
  "axios-mock-adapter": "^1.21.2",
28
- "chai": "^5.0.3",
29
- "mocha": "^10.2.0",
28
+ "chai": "^5.1.0",
29
+ "mocha": "^10.3.0",
30
30
  "ts-node": "^10.9.2",
31
31
  "typescript": "^3.6.4"
32
32
  },