@finverse/sdk-typescript 0.0.200 → 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.
Files changed (3) hide show
  1. package/dist/api.d.ts +111 -67
  2. package/dist/api.js +37 -104
  3. package/package.json +1 -1
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
@@ -7168,24 +7249,24 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
7168
7249
  */
7169
7250
  getPaymentLink: (paymentLinkId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7170
7251
  /**
7171
- * Get payout by payout_id
7172
- * @param {string} payoutId payout id
7252
+ * Get payment method in payment link flow
7173
7253
  * @param {*} [options] Override http request option.
7174
7254
  * @throws {RequiredError}
7175
7255
  */
7176
- getPayoutById: (payoutId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7256
+ getPaymentMethodPaymentLink: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
7177
7257
  /**
7178
- * Get sender payment user for mandate
7258
+ * Get payout by payout_id
7259
+ * @param {string} payoutId payout id
7179
7260
  * @param {*} [options] Override http request option.
7180
7261
  * @throws {RequiredError}
7181
7262
  */
7182
- getSenderPaymentUser: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
7263
+ getPayoutById: (payoutId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7183
7264
  /**
7184
7265
  * Get sender payment user in payment link flow
7185
7266
  * @param {*} [options] Override http request option.
7186
7267
  * @throws {RequiredError}
7187
7268
  */
7188
- getSenderPaymentUserPaymentLink: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
7269
+ getSenderPaymentUser: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
7189
7270
  /**
7190
7271
  * List mandates
7191
7272
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -7224,13 +7305,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
7224
7305
  * @throws {RequiredError}
7225
7306
  */
7226
7307
  setAutopayConsent: (setAutopayConsentRequest: SetAutopayConsentRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7227
- /**
7228
- * Set autopay consent for payment user
7229
- * @param {SetAutopayConsentRequest} setAutopayConsentRequest
7230
- * @param {*} [options] Override http request option.
7231
- * @throws {RequiredError}
7232
- */
7233
- setAutopayConsentPaymentLink: (setAutopayConsentRequest: SetAutopayConsentRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7234
7308
  };
7235
7309
  /**
7236
7310
  * DefaultApi - functional programming interface
@@ -7326,24 +7400,24 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
7326
7400
  */
7327
7401
  getPaymentLink(paymentLinkId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentLinkResponse>>;
7328
7402
  /**
7329
- * Get payout by payout_id
7330
- * @param {string} payoutId payout id
7403
+ * Get payment method in payment link flow
7331
7404
  * @param {*} [options] Override http request option.
7332
7405
  * @throws {RequiredError}
7333
7406
  */
7334
- getPayoutById(payoutId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayoutSnapshotResponse>>;
7407
+ getPaymentMethodPaymentLink(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentMethodFvLinkResponse>>;
7335
7408
  /**
7336
- * Get sender payment user for mandate
7409
+ * Get payout by payout_id
7410
+ * @param {string} payoutId payout id
7337
7411
  * @param {*} [options] Override http request option.
7338
7412
  * @throws {RequiredError}
7339
7413
  */
7340
- getSenderPaymentUser(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentUserResponse>>;
7414
+ getPayoutById(payoutId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayoutSnapshotResponse>>;
7341
7415
  /**
7342
7416
  * Get sender payment user in payment link flow
7343
7417
  * @param {*} [options] Override http request option.
7344
7418
  * @throws {RequiredError}
7345
7419
  */
7346
- getSenderPaymentUserPaymentLink(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentUserResponse>>;
7420
+ getSenderPaymentUser(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentUserResponse>>;
7347
7421
  /**
7348
7422
  * List mandates
7349
7423
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -7382,13 +7456,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
7382
7456
  * @throws {RequiredError}
7383
7457
  */
7384
7458
  setAutopayConsent(setAutopayConsentRequest: SetAutopayConsentRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
7385
- /**
7386
- * Set autopay consent for payment user
7387
- * @param {SetAutopayConsentRequest} setAutopayConsentRequest
7388
- * @param {*} [options] Override http request option.
7389
- * @throws {RequiredError}
7390
- */
7391
- setAutopayConsentPaymentLink(setAutopayConsentRequest: SetAutopayConsentRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
7392
7459
  };
7393
7460
  /**
7394
7461
  * DefaultApi - factory interface
@@ -7484,24 +7551,24 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
7484
7551
  */
7485
7552
  getPaymentLink(paymentLinkId: string, options?: any): AxiosPromise<PaymentLinkResponse>;
7486
7553
  /**
7487
- * Get payout by payout_id
7488
- * @param {string} payoutId payout id
7554
+ * Get payment method in payment link flow
7489
7555
  * @param {*} [options] Override http request option.
7490
7556
  * @throws {RequiredError}
7491
7557
  */
7492
- getPayoutById(payoutId: string, options?: any): AxiosPromise<PayoutSnapshotResponse>;
7558
+ getPaymentMethodPaymentLink(options?: any): AxiosPromise<PaymentMethodFvLinkResponse>;
7493
7559
  /**
7494
- * Get sender payment user for mandate
7560
+ * Get payout by payout_id
7561
+ * @param {string} payoutId payout id
7495
7562
  * @param {*} [options] Override http request option.
7496
7563
  * @throws {RequiredError}
7497
7564
  */
7498
- getSenderPaymentUser(options?: any): AxiosPromise<GetPaymentUserResponse>;
7565
+ getPayoutById(payoutId: string, options?: any): AxiosPromise<PayoutSnapshotResponse>;
7499
7566
  /**
7500
7567
  * Get sender payment user in payment link flow
7501
7568
  * @param {*} [options] Override http request option.
7502
7569
  * @throws {RequiredError}
7503
7570
  */
7504
- getSenderPaymentUserPaymentLink(options?: any): AxiosPromise<GetPaymentUserResponse>;
7571
+ getSenderPaymentUser(options?: any): AxiosPromise<GetPaymentUserResponse>;
7505
7572
  /**
7506
7573
  * List mandates
7507
7574
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -7540,13 +7607,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
7540
7607
  * @throws {RequiredError}
7541
7608
  */
7542
7609
  setAutopayConsent(setAutopayConsentRequest: SetAutopayConsentRequest, options?: any): AxiosPromise<void>;
7543
- /**
7544
- * Set autopay consent for payment user
7545
- * @param {SetAutopayConsentRequest} setAutopayConsentRequest
7546
- * @param {*} [options] Override http request option.
7547
- * @throws {RequiredError}
7548
- */
7549
- setAutopayConsentPaymentLink(setAutopayConsentRequest: SetAutopayConsentRequest, options?: any): AxiosPromise<void>;
7550
7610
  };
7551
7611
  /**
7552
7612
  * DefaultApi - interface
@@ -7656,27 +7716,27 @@ export interface DefaultApiInterface {
7656
7716
  */
7657
7717
  getPaymentLink(paymentLinkId: string, options?: AxiosRequestConfig): AxiosPromise<PaymentLinkResponse>;
7658
7718
  /**
7659
- * Get payout by payout_id
7660
- * @param {string} payoutId payout id
7719
+ * Get payment method in payment link flow
7661
7720
  * @param {*} [options] Override http request option.
7662
7721
  * @throws {RequiredError}
7663
7722
  * @memberof DefaultApiInterface
7664
7723
  */
7665
- getPayoutById(payoutId: string, options?: AxiosRequestConfig): AxiosPromise<PayoutSnapshotResponse>;
7724
+ getPaymentMethodPaymentLink(options?: AxiosRequestConfig): AxiosPromise<PaymentMethodFvLinkResponse>;
7666
7725
  /**
7667
- * Get sender payment user for mandate
7726
+ * Get payout by payout_id
7727
+ * @param {string} payoutId payout id
7668
7728
  * @param {*} [options] Override http request option.
7669
7729
  * @throws {RequiredError}
7670
7730
  * @memberof DefaultApiInterface
7671
7731
  */
7672
- getSenderPaymentUser(options?: AxiosRequestConfig): AxiosPromise<GetPaymentUserResponse>;
7732
+ getPayoutById(payoutId: string, options?: AxiosRequestConfig): AxiosPromise<PayoutSnapshotResponse>;
7673
7733
  /**
7674
7734
  * Get sender payment user in payment link flow
7675
7735
  * @param {*} [options] Override http request option.
7676
7736
  * @throws {RequiredError}
7677
7737
  * @memberof DefaultApiInterface
7678
7738
  */
7679
- getSenderPaymentUserPaymentLink(options?: AxiosRequestConfig): AxiosPromise<GetPaymentUserResponse>;
7739
+ getSenderPaymentUser(options?: AxiosRequestConfig): AxiosPromise<GetPaymentUserResponse>;
7680
7740
  /**
7681
7741
  * List mandates
7682
7742
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -7718,14 +7778,6 @@ export interface DefaultApiInterface {
7718
7778
  * @memberof DefaultApiInterface
7719
7779
  */
7720
7780
  setAutopayConsent(setAutopayConsentRequest: SetAutopayConsentRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
7721
- /**
7722
- * Set autopay consent for payment user
7723
- * @param {SetAutopayConsentRequest} setAutopayConsentRequest
7724
- * @param {*} [options] Override http request option.
7725
- * @throws {RequiredError}
7726
- * @memberof DefaultApiInterface
7727
- */
7728
- setAutopayConsentPaymentLink(setAutopayConsentRequest: SetAutopayConsentRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
7729
7781
  }
7730
7782
  /**
7731
7783
  * DefaultApi - object-oriented interface
@@ -7836,27 +7888,27 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
7836
7888
  */
7837
7889
  getPaymentLink(paymentLinkId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentLinkResponse>>;
7838
7890
  /**
7839
- * Get payout by payout_id
7840
- * @param {string} payoutId payout id
7891
+ * Get payment method in payment link flow
7841
7892
  * @param {*} [options] Override http request option.
7842
7893
  * @throws {RequiredError}
7843
7894
  * @memberof DefaultApi
7844
7895
  */
7845
- getPayoutById(payoutId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PayoutSnapshotResponse>>;
7896
+ getPaymentMethodPaymentLink(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodFvLinkResponse>>;
7846
7897
  /**
7847
- * Get sender payment user for mandate
7898
+ * Get payout by payout_id
7899
+ * @param {string} payoutId payout id
7848
7900
  * @param {*} [options] Override http request option.
7849
7901
  * @throws {RequiredError}
7850
7902
  * @memberof DefaultApi
7851
7903
  */
7852
- getSenderPaymentUser(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentUserResponse>>;
7904
+ getPayoutById(payoutId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PayoutSnapshotResponse>>;
7853
7905
  /**
7854
7906
  * Get sender payment user in payment link flow
7855
7907
  * @param {*} [options] Override http request option.
7856
7908
  * @throws {RequiredError}
7857
7909
  * @memberof DefaultApi
7858
7910
  */
7859
- getSenderPaymentUserPaymentLink(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentUserResponse>>;
7911
+ getSenderPaymentUser(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentUserResponse>>;
7860
7912
  /**
7861
7913
  * List mandates
7862
7914
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -7898,14 +7950,6 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
7898
7950
  * @memberof DefaultApi
7899
7951
  */
7900
7952
  setAutopayConsent(setAutopayConsentRequest: SetAutopayConsentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
7901
- /**
7902
- * Set autopay consent for payment user
7903
- * @param {SetAutopayConsentRequest} setAutopayConsentRequest
7904
- * @param {*} [options] Override http request option.
7905
- * @throws {RequiredError}
7906
- * @memberof DefaultApi
7907
- */
7908
- setAutopayConsentPaymentLink(setAutopayConsentRequest: SetAutopayConsentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
7909
7953
  }
7910
7954
  /**
7911
7955
  * LinkApi - axios parameter creator
package/dist/api.js CHANGED
@@ -2263,15 +2263,12 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
2263
2263
  };
2264
2264
  }),
2265
2265
  /**
2266
- * Get payout by payout_id
2267
- * @param {string} payoutId payout id
2266
+ * Get payment method in payment link flow
2268
2267
  * @param {*} [options] Override http request option.
2269
2268
  * @throws {RequiredError}
2270
2269
  */
2271
- getPayoutById: (payoutId, options = {}) => __awaiter(this, void 0, void 0, function* () {
2272
- // verify required parameter 'payoutId' is not null or undefined
2273
- common_1.assertParamExists('getPayoutById', 'payoutId', payoutId);
2274
- const localVarPath = `/payouts/{payoutId}`.replace(`{${'payoutId'}}`, encodeURIComponent(String(payoutId)));
2270
+ getPaymentMethodPaymentLink: (options = {}) => __awaiter(this, void 0, void 0, function* () {
2271
+ const localVarPath = `/payment_link/fvlink/payment_method`;
2275
2272
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2276
2273
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2277
2274
  let baseOptions;
@@ -2293,12 +2290,15 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
2293
2290
  };
2294
2291
  }),
2295
2292
  /**
2296
- * Get sender payment user for mandate
2293
+ * Get payout by payout_id
2294
+ * @param {string} payoutId payout id
2297
2295
  * @param {*} [options] Override http request option.
2298
2296
  * @throws {RequiredError}
2299
2297
  */
2300
- getSenderPaymentUser: (options = {}) => __awaiter(this, void 0, void 0, function* () {
2301
- const localVarPath = `/mandates/payment_user/sender`;
2298
+ getPayoutById: (payoutId, options = {}) => __awaiter(this, void 0, void 0, function* () {
2299
+ // verify required parameter 'payoutId' is not null or undefined
2300
+ common_1.assertParamExists('getPayoutById', 'payoutId', payoutId);
2301
+ const localVarPath = `/payouts/{payoutId}`.replace(`{${'payoutId'}}`, encodeURIComponent(String(payoutId)));
2302
2302
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2303
2303
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2304
2304
  let baseOptions;
@@ -2324,7 +2324,7 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
2324
2324
  * @param {*} [options] Override http request option.
2325
2325
  * @throws {RequiredError}
2326
2326
  */
2327
- getSenderPaymentUserPaymentLink: (options = {}) => __awaiter(this, void 0, void 0, function* () {
2327
+ getSenderPaymentUser: (options = {}) => __awaiter(this, void 0, void 0, function* () {
2328
2328
  const localVarPath = `/payment_link/fvlink/payment_user/sender`;
2329
2329
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2330
2330
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -2489,38 +2489,6 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
2489
2489
  setAutopayConsent: (setAutopayConsentRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
2490
2490
  // verify required parameter 'setAutopayConsentRequest' is not null or undefined
2491
2491
  common_1.assertParamExists('setAutopayConsent', 'setAutopayConsentRequest', setAutopayConsentRequest);
2492
- const localVarPath = `/mandates/payment_user/autopay`;
2493
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2494
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2495
- let baseOptions;
2496
- if (configuration) {
2497
- baseOptions = configuration.baseOptions;
2498
- }
2499
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
2500
- const localVarHeaderParameter = {};
2501
- const localVarQueryParameter = {};
2502
- // authentication Oauth2 required
2503
- // oauth required
2504
- yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
2505
- localVarHeaderParameter['Content-Type'] = 'application/json';
2506
- common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
2507
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2508
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2509
- localVarRequestOptions.data = common_1.serializeDataIfNeeded(setAutopayConsentRequest, localVarRequestOptions, configuration);
2510
- return {
2511
- url: common_1.toPathString(localVarUrlObj),
2512
- options: localVarRequestOptions,
2513
- };
2514
- }),
2515
- /**
2516
- * Set autopay consent for payment user
2517
- * @param {SetAutopayConsentRequest} setAutopayConsentRequest
2518
- * @param {*} [options] Override http request option.
2519
- * @throws {RequiredError}
2520
- */
2521
- setAutopayConsentPaymentLink: (setAutopayConsentRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
2522
- // verify required parameter 'setAutopayConsentRequest' is not null or undefined
2523
- common_1.assertParamExists('setAutopayConsentPaymentLink', 'setAutopayConsentRequest', setAutopayConsentRequest);
2524
2492
  const localVarPath = `/payment_link/fvlink/payment_user/autopay`;
2525
2493
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2526
2494
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -2707,25 +2675,25 @@ exports.DefaultApiFp = function (configuration) {
2707
2675
  });
2708
2676
  },
2709
2677
  /**
2710
- * Get payout by payout_id
2711
- * @param {string} payoutId payout id
2678
+ * Get payment method in payment link flow
2712
2679
  * @param {*} [options] Override http request option.
2713
2680
  * @throws {RequiredError}
2714
2681
  */
2715
- getPayoutById(payoutId, options) {
2682
+ getPaymentMethodPaymentLink(options) {
2716
2683
  return __awaiter(this, void 0, void 0, function* () {
2717
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getPayoutById(payoutId, options);
2684
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPaymentMethodPaymentLink(options);
2718
2685
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2719
2686
  });
2720
2687
  },
2721
2688
  /**
2722
- * Get sender payment user for mandate
2689
+ * Get payout by payout_id
2690
+ * @param {string} payoutId payout id
2723
2691
  * @param {*} [options] Override http request option.
2724
2692
  * @throws {RequiredError}
2725
2693
  */
2726
- getSenderPaymentUser(options) {
2694
+ getPayoutById(payoutId, options) {
2727
2695
  return __awaiter(this, void 0, void 0, function* () {
2728
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSenderPaymentUser(options);
2696
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getPayoutById(payoutId, options);
2729
2697
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2730
2698
  });
2731
2699
  },
@@ -2734,9 +2702,9 @@ exports.DefaultApiFp = function (configuration) {
2734
2702
  * @param {*} [options] Override http request option.
2735
2703
  * @throws {RequiredError}
2736
2704
  */
2737
- getSenderPaymentUserPaymentLink(options) {
2705
+ getSenderPaymentUser(options) {
2738
2706
  return __awaiter(this, void 0, void 0, function* () {
2739
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSenderPaymentUserPaymentLink(options);
2707
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getSenderPaymentUser(options);
2740
2708
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2741
2709
  });
2742
2710
  },
@@ -2793,18 +2761,6 @@ exports.DefaultApiFp = function (configuration) {
2793
2761
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2794
2762
  });
2795
2763
  },
2796
- /**
2797
- * Set autopay consent for payment user
2798
- * @param {SetAutopayConsentRequest} setAutopayConsentRequest
2799
- * @param {*} [options] Override http request option.
2800
- * @throws {RequiredError}
2801
- */
2802
- setAutopayConsentPaymentLink(setAutopayConsentRequest, options) {
2803
- return __awaiter(this, void 0, void 0, function* () {
2804
- const localVarAxiosArgs = yield localVarAxiosParamCreator.setAutopayConsentPaymentLink(setAutopayConsentRequest, options);
2805
- return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2806
- });
2807
- },
2808
2764
  };
2809
2765
  };
2810
2766
  /**
@@ -2939,29 +2895,29 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
2939
2895
  return localVarFp.getPaymentLink(paymentLinkId, options).then((request) => request(axios, basePath));
2940
2896
  },
2941
2897
  /**
2942
- * Get payout by payout_id
2943
- * @param {string} payoutId payout id
2898
+ * Get payment method in payment link flow
2944
2899
  * @param {*} [options] Override http request option.
2945
2900
  * @throws {RequiredError}
2946
2901
  */
2947
- getPayoutById(payoutId, options) {
2948
- return localVarFp.getPayoutById(payoutId, options).then((request) => request(axios, basePath));
2902
+ getPaymentMethodPaymentLink(options) {
2903
+ return localVarFp.getPaymentMethodPaymentLink(options).then((request) => request(axios, basePath));
2949
2904
  },
2950
2905
  /**
2951
- * Get sender payment user for mandate
2906
+ * Get payout by payout_id
2907
+ * @param {string} payoutId payout id
2952
2908
  * @param {*} [options] Override http request option.
2953
2909
  * @throws {RequiredError}
2954
2910
  */
2955
- getSenderPaymentUser(options) {
2956
- return localVarFp.getSenderPaymentUser(options).then((request) => request(axios, basePath));
2911
+ getPayoutById(payoutId, options) {
2912
+ return localVarFp.getPayoutById(payoutId, options).then((request) => request(axios, basePath));
2957
2913
  },
2958
2914
  /**
2959
2915
  * Get sender payment user in payment link flow
2960
2916
  * @param {*} [options] Override http request option.
2961
2917
  * @throws {RequiredError}
2962
2918
  */
2963
- getSenderPaymentUserPaymentLink(options) {
2964
- return localVarFp.getSenderPaymentUserPaymentLink(options).then((request) => request(axios, basePath));
2919
+ getSenderPaymentUser(options) {
2920
+ return localVarFp.getSenderPaymentUser(options).then((request) => request(axios, basePath));
2965
2921
  },
2966
2922
  /**
2967
2923
  * List mandates
@@ -3013,17 +2969,6 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
3013
2969
  .setAutopayConsent(setAutopayConsentRequest, options)
3014
2970
  .then((request) => request(axios, basePath));
3015
2971
  },
3016
- /**
3017
- * Set autopay consent for payment user
3018
- * @param {SetAutopayConsentRequest} setAutopayConsentRequest
3019
- * @param {*} [options] Override http request option.
3020
- * @throws {RequiredError}
3021
- */
3022
- setAutopayConsentPaymentLink(setAutopayConsentRequest, options) {
3023
- return localVarFp
3024
- .setAutopayConsentPaymentLink(setAutopayConsentRequest, options)
3025
- .then((request) => request(axios, basePath));
3026
- },
3027
2972
  };
3028
2973
  };
3029
2974
  /**
@@ -3187,26 +3132,26 @@ class DefaultApi extends base_1.BaseAPI {
3187
3132
  .then((request) => request(this.axios, this.basePath));
3188
3133
  }
3189
3134
  /**
3190
- * Get payout by payout_id
3191
- * @param {string} payoutId payout id
3135
+ * Get payment method in payment link flow
3192
3136
  * @param {*} [options] Override http request option.
3193
3137
  * @throws {RequiredError}
3194
3138
  * @memberof DefaultApi
3195
3139
  */
3196
- getPayoutById(payoutId, options) {
3140
+ getPaymentMethodPaymentLink(options) {
3197
3141
  return exports.DefaultApiFp(this.configuration)
3198
- .getPayoutById(payoutId, options)
3142
+ .getPaymentMethodPaymentLink(options)
3199
3143
  .then((request) => request(this.axios, this.basePath));
3200
3144
  }
3201
3145
  /**
3202
- * Get sender payment user for mandate
3146
+ * Get payout by payout_id
3147
+ * @param {string} payoutId payout id
3203
3148
  * @param {*} [options] Override http request option.
3204
3149
  * @throws {RequiredError}
3205
3150
  * @memberof DefaultApi
3206
3151
  */
3207
- getSenderPaymentUser(options) {
3152
+ getPayoutById(payoutId, options) {
3208
3153
  return exports.DefaultApiFp(this.configuration)
3209
- .getSenderPaymentUser(options)
3154
+ .getPayoutById(payoutId, options)
3210
3155
  .then((request) => request(this.axios, this.basePath));
3211
3156
  }
3212
3157
  /**
@@ -3215,9 +3160,9 @@ class DefaultApi extends base_1.BaseAPI {
3215
3160
  * @throws {RequiredError}
3216
3161
  * @memberof DefaultApi
3217
3162
  */
3218
- getSenderPaymentUserPaymentLink(options) {
3163
+ getSenderPaymentUser(options) {
3219
3164
  return exports.DefaultApiFp(this.configuration)
3220
- .getSenderPaymentUserPaymentLink(options)
3165
+ .getSenderPaymentUser(options)
3221
3166
  .then((request) => request(this.axios, this.basePath));
3222
3167
  }
3223
3168
  /**
@@ -3273,18 +3218,6 @@ class DefaultApi extends base_1.BaseAPI {
3273
3218
  .setAutopayConsent(setAutopayConsentRequest, options)
3274
3219
  .then((request) => request(this.axios, this.basePath));
3275
3220
  }
3276
- /**
3277
- * Set autopay consent for payment user
3278
- * @param {SetAutopayConsentRequest} setAutopayConsentRequest
3279
- * @param {*} [options] Override http request option.
3280
- * @throws {RequiredError}
3281
- * @memberof DefaultApi
3282
- */
3283
- setAutopayConsentPaymentLink(setAutopayConsentRequest, options) {
3284
- return exports.DefaultApiFp(this.configuration)
3285
- .setAutopayConsentPaymentLink(setAutopayConsentRequest, options)
3286
- .then((request) => request(this.axios, this.basePath));
3287
- }
3288
3221
  }
3289
3222
  exports.DefaultApi = DefaultApi;
3290
3223
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.200",
3
+ "version": "0.0.202",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [