@finverse/sdk-typescript 0.0.200 → 0.0.201

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
@@ -7174,18 +7174,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
7174
7174
  * @throws {RequiredError}
7175
7175
  */
7176
7176
  getPayoutById: (payoutId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7177
- /**
7178
- * Get sender payment user for mandate
7179
- * @param {*} [options] Override http request option.
7180
- * @throws {RequiredError}
7181
- */
7182
- getSenderPaymentUser: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
7183
7177
  /**
7184
7178
  * Get sender payment user in payment link flow
7185
7179
  * @param {*} [options] Override http request option.
7186
7180
  * @throws {RequiredError}
7187
7181
  */
7188
- getSenderPaymentUserPaymentLink: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
7182
+ getSenderPaymentUser: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
7189
7183
  /**
7190
7184
  * List mandates
7191
7185
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -7224,13 +7218,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
7224
7218
  * @throws {RequiredError}
7225
7219
  */
7226
7220
  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
7221
  };
7235
7222
  /**
7236
7223
  * DefaultApi - functional programming interface
@@ -7332,18 +7319,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
7332
7319
  * @throws {RequiredError}
7333
7320
  */
7334
7321
  getPayoutById(payoutId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayoutSnapshotResponse>>;
7335
- /**
7336
- * Get sender payment user for mandate
7337
- * @param {*} [options] Override http request option.
7338
- * @throws {RequiredError}
7339
- */
7340
- getSenderPaymentUser(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentUserResponse>>;
7341
7322
  /**
7342
7323
  * Get sender payment user in payment link flow
7343
7324
  * @param {*} [options] Override http request option.
7344
7325
  * @throws {RequiredError}
7345
7326
  */
7346
- getSenderPaymentUserPaymentLink(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentUserResponse>>;
7327
+ getSenderPaymentUser(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentUserResponse>>;
7347
7328
  /**
7348
7329
  * List mandates
7349
7330
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -7382,13 +7363,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
7382
7363
  * @throws {RequiredError}
7383
7364
  */
7384
7365
  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
7366
  };
7393
7367
  /**
7394
7368
  * DefaultApi - factory interface
@@ -7490,18 +7464,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
7490
7464
  * @throws {RequiredError}
7491
7465
  */
7492
7466
  getPayoutById(payoutId: string, options?: any): AxiosPromise<PayoutSnapshotResponse>;
7493
- /**
7494
- * Get sender payment user for mandate
7495
- * @param {*} [options] Override http request option.
7496
- * @throws {RequiredError}
7497
- */
7498
- getSenderPaymentUser(options?: any): AxiosPromise<GetPaymentUserResponse>;
7499
7467
  /**
7500
7468
  * Get sender payment user in payment link flow
7501
7469
  * @param {*} [options] Override http request option.
7502
7470
  * @throws {RequiredError}
7503
7471
  */
7504
- getSenderPaymentUserPaymentLink(options?: any): AxiosPromise<GetPaymentUserResponse>;
7472
+ getSenderPaymentUser(options?: any): AxiosPromise<GetPaymentUserResponse>;
7505
7473
  /**
7506
7474
  * List mandates
7507
7475
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -7540,13 +7508,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
7540
7508
  * @throws {RequiredError}
7541
7509
  */
7542
7510
  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
7511
  };
7551
7512
  /**
7552
7513
  * DefaultApi - interface
@@ -7663,20 +7624,13 @@ export interface DefaultApiInterface {
7663
7624
  * @memberof DefaultApiInterface
7664
7625
  */
7665
7626
  getPayoutById(payoutId: string, options?: AxiosRequestConfig): AxiosPromise<PayoutSnapshotResponse>;
7666
- /**
7667
- * Get sender payment user for mandate
7668
- * @param {*} [options] Override http request option.
7669
- * @throws {RequiredError}
7670
- * @memberof DefaultApiInterface
7671
- */
7672
- getSenderPaymentUser(options?: AxiosRequestConfig): AxiosPromise<GetPaymentUserResponse>;
7673
7627
  /**
7674
7628
  * Get sender payment user in payment link flow
7675
7629
  * @param {*} [options] Override http request option.
7676
7630
  * @throws {RequiredError}
7677
7631
  * @memberof DefaultApiInterface
7678
7632
  */
7679
- getSenderPaymentUserPaymentLink(options?: AxiosRequestConfig): AxiosPromise<GetPaymentUserResponse>;
7633
+ getSenderPaymentUser(options?: AxiosRequestConfig): AxiosPromise<GetPaymentUserResponse>;
7680
7634
  /**
7681
7635
  * List mandates
7682
7636
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -7718,14 +7672,6 @@ export interface DefaultApiInterface {
7718
7672
  * @memberof DefaultApiInterface
7719
7673
  */
7720
7674
  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
7675
  }
7730
7676
  /**
7731
7677
  * DefaultApi - object-oriented interface
@@ -7843,20 +7789,13 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
7843
7789
  * @memberof DefaultApi
7844
7790
  */
7845
7791
  getPayoutById(payoutId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PayoutSnapshotResponse>>;
7846
- /**
7847
- * Get sender payment user for mandate
7848
- * @param {*} [options] Override http request option.
7849
- * @throws {RequiredError}
7850
- * @memberof DefaultApi
7851
- */
7852
- getSenderPaymentUser(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentUserResponse>>;
7853
7792
  /**
7854
7793
  * Get sender payment user in payment link flow
7855
7794
  * @param {*} [options] Override http request option.
7856
7795
  * @throws {RequiredError}
7857
7796
  * @memberof DefaultApi
7858
7797
  */
7859
- getSenderPaymentUserPaymentLink(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentUserResponse>>;
7798
+ getSenderPaymentUser(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentUserResponse>>;
7860
7799
  /**
7861
7800
  * List mandates
7862
7801
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -7898,14 +7837,6 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
7898
7837
  * @memberof DefaultApi
7899
7838
  */
7900
7839
  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
7840
  }
7910
7841
  /**
7911
7842
  * LinkApi - axios parameter creator
package/dist/api.js CHANGED
@@ -2292,39 +2292,12 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
2292
2292
  options: localVarRequestOptions,
2293
2293
  };
2294
2294
  }),
2295
- /**
2296
- * Get sender payment user for mandate
2297
- * @param {*} [options] Override http request option.
2298
- * @throws {RequiredError}
2299
- */
2300
- getSenderPaymentUser: (options = {}) => __awaiter(this, void 0, void 0, function* () {
2301
- const localVarPath = `/mandates/payment_user/sender`;
2302
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
2303
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2304
- let baseOptions;
2305
- if (configuration) {
2306
- baseOptions = configuration.baseOptions;
2307
- }
2308
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2309
- const localVarHeaderParameter = {};
2310
- const localVarQueryParameter = {};
2311
- // authentication Oauth2 required
2312
- // oauth required
2313
- yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
2314
- common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
2315
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2316
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2317
- return {
2318
- url: common_1.toPathString(localVarUrlObj),
2319
- options: localVarRequestOptions,
2320
- };
2321
- }),
2322
2295
  /**
2323
2296
  * Get sender payment user in payment link flow
2324
2297
  * @param {*} [options] Override http request option.
2325
2298
  * @throws {RequiredError}
2326
2299
  */
2327
- getSenderPaymentUserPaymentLink: (options = {}) => __awaiter(this, void 0, void 0, function* () {
2300
+ getSenderPaymentUser: (options = {}) => __awaiter(this, void 0, void 0, function* () {
2328
2301
  const localVarPath = `/payment_link/fvlink/payment_user/sender`;
2329
2302
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2330
2303
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -2489,38 +2462,6 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
2489
2462
  setAutopayConsent: (setAutopayConsentRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
2490
2463
  // verify required parameter 'setAutopayConsentRequest' is not null or undefined
2491
2464
  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
2465
  const localVarPath = `/payment_link/fvlink/payment_user/autopay`;
2525
2466
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2526
2467
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -2719,7 +2660,7 @@ exports.DefaultApiFp = function (configuration) {
2719
2660
  });
2720
2661
  },
2721
2662
  /**
2722
- * Get sender payment user for mandate
2663
+ * Get sender payment user in payment link flow
2723
2664
  * @param {*} [options] Override http request option.
2724
2665
  * @throws {RequiredError}
2725
2666
  */
@@ -2729,17 +2670,6 @@ exports.DefaultApiFp = function (configuration) {
2729
2670
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2730
2671
  });
2731
2672
  },
2732
- /**
2733
- * Get sender payment user in payment link flow
2734
- * @param {*} [options] Override http request option.
2735
- * @throws {RequiredError}
2736
- */
2737
- getSenderPaymentUserPaymentLink(options) {
2738
- return __awaiter(this, void 0, void 0, function* () {
2739
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getSenderPaymentUserPaymentLink(options);
2740
- return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2741
- });
2742
- },
2743
2673
  /**
2744
2674
  * List mandates
2745
2675
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -2793,18 +2723,6 @@ exports.DefaultApiFp = function (configuration) {
2793
2723
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2794
2724
  });
2795
2725
  },
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
2726
  };
2809
2727
  };
2810
2728
  /**
@@ -2948,21 +2866,13 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
2948
2866
  return localVarFp.getPayoutById(payoutId, options).then((request) => request(axios, basePath));
2949
2867
  },
2950
2868
  /**
2951
- * Get sender payment user for mandate
2869
+ * Get sender payment user in payment link flow
2952
2870
  * @param {*} [options] Override http request option.
2953
2871
  * @throws {RequiredError}
2954
2872
  */
2955
2873
  getSenderPaymentUser(options) {
2956
2874
  return localVarFp.getSenderPaymentUser(options).then((request) => request(axios, basePath));
2957
2875
  },
2958
- /**
2959
- * Get sender payment user in payment link flow
2960
- * @param {*} [options] Override http request option.
2961
- * @throws {RequiredError}
2962
- */
2963
- getSenderPaymentUserPaymentLink(options) {
2964
- return localVarFp.getSenderPaymentUserPaymentLink(options).then((request) => request(axios, basePath));
2965
- },
2966
2876
  /**
2967
2877
  * List mandates
2968
2878
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -3013,17 +2923,6 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
3013
2923
  .setAutopayConsent(setAutopayConsentRequest, options)
3014
2924
  .then((request) => request(axios, basePath));
3015
2925
  },
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
2926
  };
3028
2927
  };
3029
2928
  /**
@@ -3199,7 +3098,7 @@ class DefaultApi extends base_1.BaseAPI {
3199
3098
  .then((request) => request(this.axios, this.basePath));
3200
3099
  }
3201
3100
  /**
3202
- * Get sender payment user for mandate
3101
+ * Get sender payment user in payment link flow
3203
3102
  * @param {*} [options] Override http request option.
3204
3103
  * @throws {RequiredError}
3205
3104
  * @memberof DefaultApi
@@ -3209,17 +3108,6 @@ class DefaultApi extends base_1.BaseAPI {
3209
3108
  .getSenderPaymentUser(options)
3210
3109
  .then((request) => request(this.axios, this.basePath));
3211
3110
  }
3212
- /**
3213
- * Get sender payment user in payment link flow
3214
- * @param {*} [options] Override http request option.
3215
- * @throws {RequiredError}
3216
- * @memberof DefaultApi
3217
- */
3218
- getSenderPaymentUserPaymentLink(options) {
3219
- return exports.DefaultApiFp(this.configuration)
3220
- .getSenderPaymentUserPaymentLink(options)
3221
- .then((request) => request(this.axios, this.basePath));
3222
- }
3223
3111
  /**
3224
3112
  * List mandates
3225
3113
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -3273,18 +3161,6 @@ class DefaultApi extends base_1.BaseAPI {
3273
3161
  .setAutopayConsent(setAutopayConsentRequest, options)
3274
3162
  .then((request) => request(this.axios, this.basePath));
3275
3163
  }
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
3164
  }
3289
3165
  exports.DefaultApi = DefaultApi;
3290
3166
  /**
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.201",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [