@finverse/sdk-typescript 0.0.229 → 0.0.230

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
@@ -3687,6 +3687,25 @@ export interface ListPaymentAccountsResponse {
3687
3687
  */
3688
3688
  payment_accounts?: Array<PaymentAccountDetails>;
3689
3689
  }
3690
+ /**
3691
+ *
3692
+ * @export
3693
+ * @interface ListPaymentMethodsResponse
3694
+ */
3695
+ export interface ListPaymentMethodsResponse {
3696
+ /**
3697
+ *
3698
+ * @type {Array<PaymentMethodResponse>}
3699
+ * @memberof ListPaymentMethodsResponse
3700
+ */
3701
+ payment_methods?: Array<PaymentMethodResponse>;
3702
+ /**
3703
+ *
3704
+ * @type {PaymentUser}
3705
+ * @memberof ListPaymentMethodsResponse
3706
+ */
3707
+ sender?: PaymentUser;
3708
+ }
3690
3709
  /**
3691
3710
  *
3692
3711
  * @export
@@ -7639,6 +7658,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
7639
7658
  * @throws {RequiredError}
7640
7659
  */
7641
7660
  listMandates: (dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, offset?: number, limit?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7661
+ /**
7662
+ * List Payment Methods for a User
7663
+ * @param {string} paymentUserId Payment User Id
7664
+ * @param {*} [options] Override http request option.
7665
+ * @throws {RequiredError}
7666
+ */
7667
+ listPaymentMethods: (paymentUserId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
7642
7668
  /**
7643
7669
  * List Payments
7644
7670
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -7796,6 +7822,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
7796
7822
  * @throws {RequiredError}
7797
7823
  */
7798
7824
  listMandates(dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, offset?: number, limit?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListMandatesResponse>>;
7825
+ /**
7826
+ * List Payment Methods for a User
7827
+ * @param {string} paymentUserId Payment User Id
7828
+ * @param {*} [options] Override http request option.
7829
+ * @throws {RequiredError}
7830
+ */
7831
+ listPaymentMethods(paymentUserId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentMethodsResponse>>;
7799
7832
  /**
7800
7833
  * List Payments
7801
7834
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -7953,6 +7986,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
7953
7986
  * @throws {RequiredError}
7954
7987
  */
7955
7988
  listMandates(dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, offset?: number, limit?: number, options?: any): AxiosPromise<ListMandatesResponse>;
7989
+ /**
7990
+ * List Payment Methods for a User
7991
+ * @param {string} paymentUserId Payment User Id
7992
+ * @param {*} [options] Override http request option.
7993
+ * @throws {RequiredError}
7994
+ */
7995
+ listPaymentMethods(paymentUserId: string, options?: any): AxiosPromise<ListPaymentMethodsResponse>;
7956
7996
  /**
7957
7997
  * List Payments
7958
7998
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -8129,6 +8169,14 @@ export interface DefaultApiInterface {
8129
8169
  * @memberof DefaultApiInterface
8130
8170
  */
8131
8171
  listMandates(dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, offset?: number, limit?: number, options?: AxiosRequestConfig): AxiosPromise<ListMandatesResponse>;
8172
+ /**
8173
+ * List Payment Methods for a User
8174
+ * @param {string} paymentUserId Payment User Id
8175
+ * @param {*} [options] Override http request option.
8176
+ * @throws {RequiredError}
8177
+ * @memberof DefaultApiInterface
8178
+ */
8179
+ listPaymentMethods(paymentUserId: string, options?: AxiosRequestConfig): AxiosPromise<ListPaymentMethodsResponse>;
8132
8180
  /**
8133
8181
  * List Payments
8134
8182
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -8308,6 +8356,14 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
8308
8356
  * @memberof DefaultApi
8309
8357
  */
8310
8358
  listMandates(dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, offset?: number, limit?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListMandatesResponse>>;
8359
+ /**
8360
+ * List Payment Methods for a User
8361
+ * @param {string} paymentUserId Payment User Id
8362
+ * @param {*} [options] Override http request option.
8363
+ * @throws {RequiredError}
8364
+ * @memberof DefaultApi
8365
+ */
8366
+ listPaymentMethods(paymentUserId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentMethodsResponse>>;
8311
8367
  /**
8312
8368
  * List Payments
8313
8369
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
package/dist/api.js CHANGED
@@ -2448,6 +2448,36 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
2448
2448
  options: localVarRequestOptions,
2449
2449
  };
2450
2450
  }),
2451
+ /**
2452
+ * List Payment Methods for a User
2453
+ * @param {string} paymentUserId Payment User Id
2454
+ * @param {*} [options] Override http request option.
2455
+ * @throws {RequiredError}
2456
+ */
2457
+ listPaymentMethods: (paymentUserId, options = {}) => __awaiter(this, void 0, void 0, function* () {
2458
+ // verify required parameter 'paymentUserId' is not null or undefined
2459
+ common_1.assertParamExists('listPaymentMethods', 'paymentUserId', paymentUserId);
2460
+ const localVarPath = `/payment_users/{paymentUserId}/payment_methods`.replace(`{${'paymentUserId'}}`, encodeURIComponent(String(paymentUserId)));
2461
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2462
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
2463
+ let baseOptions;
2464
+ if (configuration) {
2465
+ baseOptions = configuration.baseOptions;
2466
+ }
2467
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
2468
+ const localVarHeaderParameter = {};
2469
+ const localVarQueryParameter = {};
2470
+ // authentication Oauth2 required
2471
+ // oauth required
2472
+ yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
2473
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
2474
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2475
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
2476
+ return {
2477
+ url: common_1.toPathString(localVarUrlObj),
2478
+ options: localVarRequestOptions,
2479
+ };
2480
+ }),
2451
2481
  /**
2452
2482
  * List Payments
2453
2483
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -2779,6 +2809,18 @@ exports.DefaultApiFp = function (configuration) {
2779
2809
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2780
2810
  });
2781
2811
  },
2812
+ /**
2813
+ * List Payment Methods for a User
2814
+ * @param {string} paymentUserId Payment User Id
2815
+ * @param {*} [options] Override http request option.
2816
+ * @throws {RequiredError}
2817
+ */
2818
+ listPaymentMethods(paymentUserId, options) {
2819
+ return __awaiter(this, void 0, void 0, function* () {
2820
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listPaymentMethods(paymentUserId, options);
2821
+ return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
2822
+ });
2823
+ },
2782
2824
  /**
2783
2825
  * List Payments
2784
2826
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -2997,6 +3039,15 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
2997
3039
  .listMandates(dateFrom, dateTo, statuses, senderType, userId, institutionId, offset, limit, options)
2998
3040
  .then((request) => request(axios, basePath));
2999
3041
  },
3042
+ /**
3043
+ * List Payment Methods for a User
3044
+ * @param {string} paymentUserId Payment User Id
3045
+ * @param {*} [options] Override http request option.
3046
+ * @throws {RequiredError}
3047
+ */
3048
+ listPaymentMethods(paymentUserId, options) {
3049
+ return localVarFp.listPaymentMethods(paymentUserId, options).then((request) => request(axios, basePath));
3050
+ },
3000
3051
  /**
3001
3052
  * List Payments
3002
3053
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
@@ -3255,6 +3306,18 @@ class DefaultApi extends base_1.BaseAPI {
3255
3306
  .listMandates(dateFrom, dateTo, statuses, senderType, userId, institutionId, offset, limit, options)
3256
3307
  .then((request) => request(this.axios, this.basePath));
3257
3308
  }
3309
+ /**
3310
+ * List Payment Methods for a User
3311
+ * @param {string} paymentUserId Payment User Id
3312
+ * @param {*} [options] Override http request option.
3313
+ * @throws {RequiredError}
3314
+ * @memberof DefaultApi
3315
+ */
3316
+ listPaymentMethods(paymentUserId, options) {
3317
+ return exports.DefaultApiFp(this.configuration)
3318
+ .listPaymentMethods(paymentUserId, options)
3319
+ .then((request) => request(this.axios, this.basePath));
3320
+ }
3258
3321
  /**
3259
3322
  * List Payments
3260
3323
  * @param {string} [dateFrom] ISO format (YYYY-MM-DD)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.229",
3
+ "version": "0.0.230",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [