@finverse/sdk-typescript 0.0.201 → 0.0.202

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
@@ -4050,6 +4050,43 @@ export interface MandateDetails {
4050
4050
  */
4051
4051
  mandate_bank_reference?: string;
4052
4052
  }
4053
+ /**
4054
+ *
4055
+ * @export
4056
+ * @interface MandateFvLinkResponse
4057
+ */
4058
+ export interface MandateFvLinkResponse {
4059
+ /**
4060
+ *
4061
+ * @type {string}
4062
+ * @memberof MandateFvLinkResponse
4063
+ */
4064
+ mandate_id?: string;
4065
+ /**
4066
+ *
4067
+ * @type {string}
4068
+ * @memberof MandateFvLinkResponse
4069
+ */
4070
+ institution_id?: string;
4071
+ /**
4072
+ *
4073
+ * @type {string}
4074
+ * @memberof MandateFvLinkResponse
4075
+ */
4076
+ mandate_status?: string;
4077
+ /**
4078
+ *
4079
+ * @type {MandateRecipient}
4080
+ * @memberof MandateFvLinkResponse
4081
+ */
4082
+ recipient?: MandateRecipient;
4083
+ /**
4084
+ *
4085
+ * @type {SenderAccountFvLinkResponse}
4086
+ * @memberof MandateFvLinkResponse
4087
+ */
4088
+ sender_account?: SenderAccountFvLinkResponse;
4089
+ }
4053
4090
  /**
4054
4091
  *
4055
4092
  * @export
@@ -4872,6 +4909,31 @@ export declare const PaymentLinkTokenResponseTokenTypeEnum: {
4872
4909
  readonly Bearer: "Bearer";
4873
4910
  };
4874
4911
  export declare type PaymentLinkTokenResponseTokenTypeEnum = (typeof PaymentLinkTokenResponseTokenTypeEnum)[keyof typeof PaymentLinkTokenResponseTokenTypeEnum];
4912
+ /**
4913
+ *
4914
+ * @export
4915
+ * @interface PaymentMethodFvLinkResponse
4916
+ */
4917
+ export interface PaymentMethodFvLinkResponse {
4918
+ /**
4919
+ *
4920
+ * @type {string}
4921
+ * @memberof PaymentMethodFvLinkResponse
4922
+ */
4923
+ payment_method_id?: string;
4924
+ /**
4925
+ *
4926
+ * @type {string}
4927
+ * @memberof PaymentMethodFvLinkResponse
4928
+ */
4929
+ payment_method_type?: string;
4930
+ /**
4931
+ *
4932
+ * @type {MandateFvLinkResponse}
4933
+ * @memberof PaymentMethodFvLinkResponse
4934
+ */
4935
+ mandate?: MandateFvLinkResponse;
4936
+ }
4875
4937
  /**
4876
4938
  *
4877
4939
  * @export
@@ -5597,6 +5659,25 @@ export interface RelinkRequest {
5597
5659
  */
5598
5660
  consent?: boolean | null;
5599
5661
  }
5662
+ /**
5663
+ *
5664
+ * @export
5665
+ * @interface SenderAccountFvLinkResponse
5666
+ */
5667
+ export interface SenderAccountFvLinkResponse {
5668
+ /**
5669
+ *
5670
+ * @type {string}
5671
+ * @memberof SenderAccountFvLinkResponse
5672
+ */
5673
+ account_number_masked?: string;
5674
+ /**
5675
+ *
5676
+ * @type {string}
5677
+ * @memberof SenderAccountFvLinkResponse
5678
+ */
5679
+ institution_id?: string;
5680
+ }
5600
5681
  /**
5601
5682
  *
5602
5683
  * @export
@@ -7167,6 +7248,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
7167
7248
  * @throws {RequiredError}
7168
7249
  */
7169
7250
  getPaymentLink: (paymentLinkId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7251
+ /**
7252
+ * Get payment method in payment link flow
7253
+ * @param {*} [options] Override http request option.
7254
+ * @throws {RequiredError}
7255
+ */
7256
+ getPaymentMethodPaymentLink: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
7170
7257
  /**
7171
7258
  * Get payout by payout_id
7172
7259
  * @param {string} payoutId payout id
@@ -7312,6 +7399,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
7312
7399
  * @throws {RequiredError}
7313
7400
  */
7314
7401
  getPaymentLink(paymentLinkId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentLinkResponse>>;
7402
+ /**
7403
+ * Get payment method in payment link flow
7404
+ * @param {*} [options] Override http request option.
7405
+ * @throws {RequiredError}
7406
+ */
7407
+ getPaymentMethodPaymentLink(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentMethodFvLinkResponse>>;
7315
7408
  /**
7316
7409
  * Get payout by payout_id
7317
7410
  * @param {string} payoutId payout id
@@ -7457,6 +7550,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
7457
7550
  * @throws {RequiredError}
7458
7551
  */
7459
7552
  getPaymentLink(paymentLinkId: string, options?: any): AxiosPromise<PaymentLinkResponse>;
7553
+ /**
7554
+ * Get payment method in payment link flow
7555
+ * @param {*} [options] Override http request option.
7556
+ * @throws {RequiredError}
7557
+ */
7558
+ getPaymentMethodPaymentLink(options?: any): AxiosPromise<PaymentMethodFvLinkResponse>;
7460
7559
  /**
7461
7560
  * Get payout by payout_id
7462
7561
  * @param {string} payoutId payout id
@@ -7616,6 +7715,13 @@ export interface DefaultApiInterface {
7616
7715
  * @memberof DefaultApiInterface
7617
7716
  */
7618
7717
  getPaymentLink(paymentLinkId: string, options?: AxiosRequestConfig): AxiosPromise<PaymentLinkResponse>;
7718
+ /**
7719
+ * Get payment method in payment link flow
7720
+ * @param {*} [options] Override http request option.
7721
+ * @throws {RequiredError}
7722
+ * @memberof DefaultApiInterface
7723
+ */
7724
+ getPaymentMethodPaymentLink(options?: AxiosRequestConfig): AxiosPromise<PaymentMethodFvLinkResponse>;
7619
7725
  /**
7620
7726
  * Get payout by payout_id
7621
7727
  * @param {string} payoutId payout id
@@ -7781,6 +7887,13 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
7781
7887
  * @memberof DefaultApi
7782
7888
  */
7783
7889
  getPaymentLink(paymentLinkId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentLinkResponse>>;
7890
+ /**
7891
+ * Get payment method in payment link flow
7892
+ * @param {*} [options] Override http request option.
7893
+ * @throws {RequiredError}
7894
+ * @memberof DefaultApi
7895
+ */
7896
+ getPaymentMethodPaymentLink(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodFvLinkResponse>>;
7784
7897
  /**
7785
7898
  * Get payout by payout_id
7786
7899
  * @param {string} payoutId payout id
package/dist/api.js CHANGED
@@ -2262,6 +2262,33 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
2262
2262
  options: localVarRequestOptions,
2263
2263
  };
2264
2264
  }),
2265
+ /**
2266
+ * Get payment method in payment link flow
2267
+ * @param {*} [options] Override http request option.
2268
+ * @throws {RequiredError}
2269
+ */
2270
+ getPaymentMethodPaymentLink: (options = {}) => __awaiter(this, void 0, void 0, function* () {
2271
+ const localVarPath = `/payment_link/fvlink/payment_method`;
2272
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2273
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2274
+ let baseOptions;
2275
+ if (configuration) {
2276
+ baseOptions = configuration.baseOptions;
2277
+ }
2278
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2279
+ const localVarHeaderParameter = {};
2280
+ const localVarQueryParameter = {};
2281
+ // authentication Oauth2 required
2282
+ // oauth required
2283
+ yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
2284
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
2285
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2286
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2287
+ return {
2288
+ url: common_1.toPathString(localVarUrlObj),
2289
+ options: localVarRequestOptions,
2290
+ };
2291
+ }),
2265
2292
  /**
2266
2293
  * Get payout by payout_id
2267
2294
  * @param {string} payoutId payout id
@@ -2647,6 +2674,17 @@ exports.DefaultApiFp = function (configuration) {
2647
2674
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2648
2675
  });
2649
2676
  },
2677
+ /**
2678
+ * Get payment method in payment link flow
2679
+ * @param {*} [options] Override http request option.
2680
+ * @throws {RequiredError}
2681
+ */
2682
+ getPaymentMethodPaymentLink(options) {
2683
+ return __awaiter(this, void 0, void 0, function* () {
2684
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPaymentMethodPaymentLink(options);
2685
+ return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2686
+ });
2687
+ },
2650
2688
  /**
2651
2689
  * Get payout by payout_id
2652
2690
  * @param {string} payoutId payout id
@@ -2856,6 +2894,14 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
2856
2894
  getPaymentLink(paymentLinkId, options) {
2857
2895
  return localVarFp.getPaymentLink(paymentLinkId, options).then((request) => request(axios, basePath));
2858
2896
  },
2897
+ /**
2898
+ * Get payment method in payment link flow
2899
+ * @param {*} [options] Override http request option.
2900
+ * @throws {RequiredError}
2901
+ */
2902
+ getPaymentMethodPaymentLink(options) {
2903
+ return localVarFp.getPaymentMethodPaymentLink(options).then((request) => request(axios, basePath));
2904
+ },
2859
2905
  /**
2860
2906
  * Get payout by payout_id
2861
2907
  * @param {string} payoutId payout id
@@ -3085,6 +3131,17 @@ class DefaultApi extends base_1.BaseAPI {
3085
3131
  .getPaymentLink(paymentLinkId, options)
3086
3132
  .then((request) => request(this.axios, this.basePath));
3087
3133
  }
3134
+ /**
3135
+ * Get payment method in payment link flow
3136
+ * @param {*} [options] Override http request option.
3137
+ * @throws {RequiredError}
3138
+ * @memberof DefaultApi
3139
+ */
3140
+ getPaymentMethodPaymentLink(options) {
3141
+ return exports.DefaultApiFp(this.configuration)
3142
+ .getPaymentMethodPaymentLink(options)
3143
+ .then((request) => request(this.axios, this.basePath));
3144
+ }
3088
3145
  /**
3089
3146
  * Get payout by payout_id
3090
3147
  * @param {string} payoutId payout id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.201",
3
+ "version": "0.0.202",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [