@finverse/sdk-typescript 0.0.281 → 0.0.282

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 +25 -15
  2. package/dist/api.js +29 -15
  3. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -8866,15 +8866,17 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
8866
8866
  * @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
8867
8867
  * @param {string} [userId] The user_id the mandate was setup for
8868
8868
  * @param {string} [institutionId] The institution the mandate was executed against
8869
- * @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] The type of payment
8869
+ * @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] Deprecated - The type of payment
8870
+ * @param {Array<'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'>} [paymentTypes]
8870
8871
  * @param {string} [mandateId] The mandate the payment belongs to
8871
- * @param {string} [currency] The currency the payment is made in
8872
+ * @param {string} [currency] Deprecated - The currency the payment is made in
8873
+ * @param {Array<string>} [currencies]
8872
8874
  * @param {number} [offset] default is 0
8873
8875
  * @param {number} [limit] default is 500, max is 1000
8874
8876
  * @param {*} [options] Override http request option.
8875
8877
  * @throws {RequiredError}
8876
8878
  */
8877
- listPayments: (dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', mandateId?: string, currency?: string, offset?: number, limit?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8879
+ listPayments: (dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', paymentTypes?: Array<'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'>, mandateId?: string, currency?: string, currencies?: Array<string>, offset?: number, limit?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
8878
8880
  /**
8879
8881
  * Refresh payment attempt from payment link front-end
8880
8882
  * @param {*} [options] Override http request option.
@@ -9094,15 +9096,17 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
9094
9096
  * @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
9095
9097
  * @param {string} [userId] The user_id the mandate was setup for
9096
9098
  * @param {string} [institutionId] The institution the mandate was executed against
9097
- * @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] The type of payment
9099
+ * @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] Deprecated - The type of payment
9100
+ * @param {Array<'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'>} [paymentTypes]
9098
9101
  * @param {string} [mandateId] The mandate the payment belongs to
9099
- * @param {string} [currency] The currency the payment is made in
9102
+ * @param {string} [currency] Deprecated - The currency the payment is made in
9103
+ * @param {Array<string>} [currencies]
9100
9104
  * @param {number} [offset] default is 0
9101
9105
  * @param {number} [limit] default is 500, max is 1000
9102
9106
  * @param {*} [options] Override http request option.
9103
9107
  * @throws {RequiredError}
9104
9108
  */
9105
- listPayments(dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', mandateId?: string, currency?: string, offset?: number, limit?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentsResponse>>;
9109
+ listPayments(dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', paymentTypes?: Array<'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'>, mandateId?: string, currency?: string, currencies?: Array<string>, offset?: number, limit?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentsResponse>>;
9106
9110
  /**
9107
9111
  * Refresh payment attempt from payment link front-end
9108
9112
  * @param {*} [options] Override http request option.
@@ -9322,15 +9326,17 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
9322
9326
  * @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
9323
9327
  * @param {string} [userId] The user_id the mandate was setup for
9324
9328
  * @param {string} [institutionId] The institution the mandate was executed against
9325
- * @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] The type of payment
9329
+ * @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] Deprecated - The type of payment
9330
+ * @param {Array<'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'>} [paymentTypes]
9326
9331
  * @param {string} [mandateId] The mandate the payment belongs to
9327
- * @param {string} [currency] The currency the payment is made in
9332
+ * @param {string} [currency] Deprecated - The currency the payment is made in
9333
+ * @param {Array<string>} [currencies]
9328
9334
  * @param {number} [offset] default is 0
9329
9335
  * @param {number} [limit] default is 500, max is 1000
9330
9336
  * @param {*} [options] Override http request option.
9331
9337
  * @throws {RequiredError}
9332
9338
  */
9333
- listPayments(dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', mandateId?: string, currency?: string, offset?: number, limit?: number, options?: any): AxiosPromise<ListPaymentsResponse>;
9339
+ listPayments(dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', paymentTypes?: Array<'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'>, mandateId?: string, currency?: string, currencies?: Array<string>, offset?: number, limit?: number, options?: any): AxiosPromise<ListPaymentsResponse>;
9334
9340
  /**
9335
9341
  * Refresh payment attempt from payment link front-end
9336
9342
  * @param {*} [options] Override http request option.
@@ -9576,16 +9582,18 @@ export interface DefaultApiInterface {
9576
9582
  * @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
9577
9583
  * @param {string} [userId] The user_id the mandate was setup for
9578
9584
  * @param {string} [institutionId] The institution the mandate was executed against
9579
- * @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] The type of payment
9585
+ * @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] Deprecated - The type of payment
9586
+ * @param {Array<'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'>} [paymentTypes]
9580
9587
  * @param {string} [mandateId] The mandate the payment belongs to
9581
- * @param {string} [currency] The currency the payment is made in
9588
+ * @param {string} [currency] Deprecated - The currency the payment is made in
9589
+ * @param {Array<string>} [currencies]
9582
9590
  * @param {number} [offset] default is 0
9583
9591
  * @param {number} [limit] default is 500, max is 1000
9584
9592
  * @param {*} [options] Override http request option.
9585
9593
  * @throws {RequiredError}
9586
9594
  * @memberof DefaultApiInterface
9587
9595
  */
9588
- listPayments(dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', mandateId?: string, currency?: string, offset?: number, limit?: number, options?: AxiosRequestConfig): AxiosPromise<ListPaymentsResponse>;
9596
+ listPayments(dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', paymentTypes?: Array<'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'>, mandateId?: string, currency?: string, currencies?: Array<string>, offset?: number, limit?: number, options?: AxiosRequestConfig): AxiosPromise<ListPaymentsResponse>;
9589
9597
  /**
9590
9598
  * Refresh payment attempt from payment link front-end
9591
9599
  * @param {*} [options] Override http request option.
@@ -9835,16 +9843,18 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
9835
9843
  * @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
9836
9844
  * @param {string} [userId] The user_id the mandate was setup for
9837
9845
  * @param {string} [institutionId] The institution the mandate was executed against
9838
- * @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] The type of payment
9846
+ * @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] Deprecated - The type of payment
9847
+ * @param {Array<'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'>} [paymentTypes]
9839
9848
  * @param {string} [mandateId] The mandate the payment belongs to
9840
- * @param {string} [currency] The currency the payment is made in
9849
+ * @param {string} [currency] Deprecated - The currency the payment is made in
9850
+ * @param {Array<string>} [currencies]
9841
9851
  * @param {number} [offset] default is 0
9842
9852
  * @param {number} [limit] default is 500, max is 1000
9843
9853
  * @param {*} [options] Override http request option.
9844
9854
  * @throws {RequiredError}
9845
9855
  * @memberof DefaultApi
9846
9856
  */
9847
- listPayments(dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', mandateId?: string, currency?: string, offset?: number, limit?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentsResponse>>;
9857
+ listPayments(dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', paymentTypes?: Array<'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'>, mandateId?: string, currency?: string, currencies?: Array<string>, offset?: number, limit?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentsResponse>>;
9848
9858
  /**
9849
9859
  * Refresh payment attempt from payment link front-end
9850
9860
  * @param {*} [options] Override http request option.
package/dist/api.js CHANGED
@@ -2943,15 +2943,17 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
2943
2943
  * @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
2944
2944
  * @param {string} [userId] The user_id the mandate was setup for
2945
2945
  * @param {string} [institutionId] The institution the mandate was executed against
2946
- * @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] The type of payment
2946
+ * @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] Deprecated - The type of payment
2947
+ * @param {Array<'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'>} [paymentTypes]
2947
2948
  * @param {string} [mandateId] The mandate the payment belongs to
2948
- * @param {string} [currency] The currency the payment is made in
2949
+ * @param {string} [currency] Deprecated - The currency the payment is made in
2950
+ * @param {Array<string>} [currencies]
2949
2951
  * @param {number} [offset] default is 0
2950
2952
  * @param {number} [limit] default is 500, max is 1000
2951
2953
  * @param {*} [options] Override http request option.
2952
2954
  * @throws {RequiredError}
2953
2955
  */
2954
- listPayments: (dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options = {}) => __awaiter(this, void 0, void 0, function* () {
2956
+ listPayments: (dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, paymentTypes, mandateId, currency, currencies, offset, limit, options = {}) => __awaiter(this, void 0, void 0, function* () {
2955
2957
  const localVarPath = `/payments`;
2956
2958
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2957
2959
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -2988,12 +2990,18 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
2988
2990
  if (paymentType !== undefined) {
2989
2991
  localVarQueryParameter['payment_type'] = paymentType;
2990
2992
  }
2993
+ if (paymentTypes) {
2994
+ localVarQueryParameter['payment_types'] = paymentTypes.join(base_1.COLLECTION_FORMATS.csv);
2995
+ }
2991
2996
  if (mandateId !== undefined) {
2992
2997
  localVarQueryParameter['mandate_id'] = mandateId;
2993
2998
  }
2994
2999
  if (currency !== undefined) {
2995
3000
  localVarQueryParameter['currency'] = currency;
2996
3001
  }
3002
+ if (currencies) {
3003
+ localVarQueryParameter['currencies'] = currencies.join(base_1.COLLECTION_FORMATS.csv);
3004
+ }
2997
3005
  if (offset !== undefined) {
2998
3006
  localVarQueryParameter['offset'] = offset;
2999
3007
  }
@@ -3428,17 +3436,19 @@ exports.DefaultApiFp = function (configuration) {
3428
3436
  * @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
3429
3437
  * @param {string} [userId] The user_id the mandate was setup for
3430
3438
  * @param {string} [institutionId] The institution the mandate was executed against
3431
- * @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] The type of payment
3439
+ * @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] Deprecated - The type of payment
3440
+ * @param {Array<'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'>} [paymentTypes]
3432
3441
  * @param {string} [mandateId] The mandate the payment belongs to
3433
- * @param {string} [currency] The currency the payment is made in
3442
+ * @param {string} [currency] Deprecated - The currency the payment is made in
3443
+ * @param {Array<string>} [currencies]
3434
3444
  * @param {number} [offset] default is 0
3435
3445
  * @param {number} [limit] default is 500, max is 1000
3436
3446
  * @param {*} [options] Override http request option.
3437
3447
  * @throws {RequiredError}
3438
3448
  */
3439
- listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options) {
3449
+ listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, paymentTypes, mandateId, currency, currencies, offset, limit, options) {
3440
3450
  return __awaiter(this, void 0, void 0, function* () {
3441
- const localVarAxiosArgs = yield localVarAxiosParamCreator.listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options);
3451
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, paymentTypes, mandateId, currency, currencies, offset, limit, options);
3442
3452
  return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
3443
3453
  });
3444
3454
  },
@@ -3747,17 +3757,19 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
3747
3757
  * @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
3748
3758
  * @param {string} [userId] The user_id the mandate was setup for
3749
3759
  * @param {string} [institutionId] The institution the mandate was executed against
3750
- * @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] The type of payment
3760
+ * @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] Deprecated - The type of payment
3761
+ * @param {Array<'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'>} [paymentTypes]
3751
3762
  * @param {string} [mandateId] The mandate the payment belongs to
3752
- * @param {string} [currency] The currency the payment is made in
3763
+ * @param {string} [currency] Deprecated - The currency the payment is made in
3764
+ * @param {Array<string>} [currencies]
3753
3765
  * @param {number} [offset] default is 0
3754
3766
  * @param {number} [limit] default is 500, max is 1000
3755
3767
  * @param {*} [options] Override http request option.
3756
3768
  * @throws {RequiredError}
3757
3769
  */
3758
- listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options) {
3770
+ listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, paymentTypes, mandateId, currency, currencies, offset, limit, options) {
3759
3771
  return localVarFp
3760
- .listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options)
3772
+ .listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, paymentTypes, mandateId, currency, currencies, offset, limit, options)
3761
3773
  .then((request) => request(axios, basePath));
3762
3774
  },
3763
3775
  /**
@@ -4117,18 +4129,20 @@ class DefaultApi extends base_1.BaseAPI {
4117
4129
  * @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
4118
4130
  * @param {string} [userId] The user_id the mandate was setup for
4119
4131
  * @param {string} [institutionId] The institution the mandate was executed against
4120
- * @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] The type of payment
4132
+ * @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] Deprecated - The type of payment
4133
+ * @param {Array<'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'>} [paymentTypes]
4121
4134
  * @param {string} [mandateId] The mandate the payment belongs to
4122
- * @param {string} [currency] The currency the payment is made in
4135
+ * @param {string} [currency] Deprecated - The currency the payment is made in
4136
+ * @param {Array<string>} [currencies]
4123
4137
  * @param {number} [offset] default is 0
4124
4138
  * @param {number} [limit] default is 500, max is 1000
4125
4139
  * @param {*} [options] Override http request option.
4126
4140
  * @throws {RequiredError}
4127
4141
  * @memberof DefaultApi
4128
4142
  */
4129
- listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options) {
4143
+ listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, paymentTypes, mandateId, currency, currencies, offset, limit, options) {
4130
4144
  return exports.DefaultApiFp(this.configuration)
4131
- .listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options)
4145
+ .listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, paymentTypes, mandateId, currency, currencies, offset, limit, options)
4132
4146
  .then((request) => request(this.axios, this.basePath));
4133
4147
  }
4134
4148
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finverse/sdk-typescript",
3
- "version": "0.0.281",
3
+ "version": "0.0.282",
4
4
  "description": "OpenAPI client for @finverse/sdk-typescript",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [