@finverse/sdk-typescript 0.0.78 → 0.0.79
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 +37 -25
- package/dist/api.js +30 -30
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -2579,6 +2579,12 @@ export interface ListMandatesResponse {
|
|
|
2579
2579
|
* @memberof ListMandatesResponse
|
|
2580
2580
|
*/
|
|
2581
2581
|
mandates?: Array<GetMandateResponse>;
|
|
2582
|
+
/**
|
|
2583
|
+
*
|
|
2584
|
+
* @type {number}
|
|
2585
|
+
* @memberof ListMandatesResponse
|
|
2586
|
+
*/
|
|
2587
|
+
total_mandates: number;
|
|
2582
2588
|
}
|
|
2583
2589
|
/**
|
|
2584
2590
|
*
|
|
@@ -2592,6 +2598,12 @@ export interface ListPaymentsResponse {
|
|
|
2592
2598
|
* @memberof ListPaymentsResponse
|
|
2593
2599
|
*/
|
|
2594
2600
|
payments?: Array<PaymentResponse>;
|
|
2601
|
+
/**
|
|
2602
|
+
*
|
|
2603
|
+
* @type {number}
|
|
2604
|
+
* @memberof ListPaymentsResponse
|
|
2605
|
+
*/
|
|
2606
|
+
total_payments: number;
|
|
2595
2607
|
}
|
|
2596
2608
|
/**
|
|
2597
2609
|
*
|
|
@@ -4940,7 +4952,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
4940
4952
|
* List mandates
|
|
4941
4953
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
4942
4954
|
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
4943
|
-
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'} [
|
|
4955
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'>} [statuses] The mandate statuses to filter for, comma separated
|
|
4944
4956
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
4945
4957
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
4946
4958
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
@@ -4949,16 +4961,16 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
4949
4961
|
* @param {*} [options] Override http request option.
|
|
4950
4962
|
* @throws {RequiredError}
|
|
4951
4963
|
*/
|
|
4952
|
-
listMandates: (dateFrom?: string, dateTo?: string,
|
|
4964
|
+
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>;
|
|
4953
4965
|
/**
|
|
4954
4966
|
* List Payments
|
|
4955
4967
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
4956
4968
|
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
4957
|
-
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'} [
|
|
4969
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>} [statuses] The payment statuses to filter for, comma separated
|
|
4958
4970
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
4959
4971
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
4960
4972
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
4961
|
-
* @param {
|
|
4973
|
+
* @param {'MANDATE' | 'SINGLE'} [paymentType] The type of payment
|
|
4962
4974
|
* @param {string} [mandateId] The mandate the payment belongs to
|
|
4963
4975
|
* @param {string} [currency] The currency the payment is made in
|
|
4964
4976
|
* @param {number} [offset] default is 0
|
|
@@ -4966,7 +4978,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
4966
4978
|
* @param {*} [options] Override http request option.
|
|
4967
4979
|
* @throws {RequiredError}
|
|
4968
4980
|
*/
|
|
4969
|
-
listPayments: (dateFrom?: string, dateTo?: string,
|
|
4981
|
+
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', mandateId?: string, currency?: string, offset?: number, limit?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4970
4982
|
};
|
|
4971
4983
|
/**
|
|
4972
4984
|
* DefaultApi - functional programming interface
|
|
@@ -4977,7 +4989,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
4977
4989
|
* List mandates
|
|
4978
4990
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
4979
4991
|
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
4980
|
-
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'} [
|
|
4992
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'>} [statuses] The mandate statuses to filter for, comma separated
|
|
4981
4993
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
4982
4994
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
4983
4995
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
@@ -4986,16 +4998,16 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
4986
4998
|
* @param {*} [options] Override http request option.
|
|
4987
4999
|
* @throws {RequiredError}
|
|
4988
5000
|
*/
|
|
4989
|
-
listMandates(dateFrom?: string, dateTo?: string,
|
|
5001
|
+
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>>;
|
|
4990
5002
|
/**
|
|
4991
5003
|
* List Payments
|
|
4992
5004
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
4993
5005
|
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
4994
|
-
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'} [
|
|
5006
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>} [statuses] The payment statuses to filter for, comma separated
|
|
4995
5007
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
4996
5008
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
4997
5009
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
4998
|
-
* @param {
|
|
5010
|
+
* @param {'MANDATE' | 'SINGLE'} [paymentType] The type of payment
|
|
4999
5011
|
* @param {string} [mandateId] The mandate the payment belongs to
|
|
5000
5012
|
* @param {string} [currency] The currency the payment is made in
|
|
5001
5013
|
* @param {number} [offset] default is 0
|
|
@@ -5003,7 +5015,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
5003
5015
|
* @param {*} [options] Override http request option.
|
|
5004
5016
|
* @throws {RequiredError}
|
|
5005
5017
|
*/
|
|
5006
|
-
listPayments(dateFrom?: string, dateTo?: string,
|
|
5018
|
+
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', mandateId?: string, currency?: string, offset?: number, limit?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentsResponse>>;
|
|
5007
5019
|
};
|
|
5008
5020
|
/**
|
|
5009
5021
|
* DefaultApi - factory interface
|
|
@@ -5014,7 +5026,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
5014
5026
|
* List mandates
|
|
5015
5027
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
5016
5028
|
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
5017
|
-
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'} [
|
|
5029
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'>} [statuses] The mandate statuses to filter for, comma separated
|
|
5018
5030
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
5019
5031
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
5020
5032
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
@@ -5023,16 +5035,16 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
5023
5035
|
* @param {*} [options] Override http request option.
|
|
5024
5036
|
* @throws {RequiredError}
|
|
5025
5037
|
*/
|
|
5026
|
-
listMandates(dateFrom?: string, dateTo?: string,
|
|
5038
|
+
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>;
|
|
5027
5039
|
/**
|
|
5028
5040
|
* List Payments
|
|
5029
5041
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
5030
5042
|
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
5031
|
-
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'} [
|
|
5043
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>} [statuses] The payment statuses to filter for, comma separated
|
|
5032
5044
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
5033
5045
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
5034
5046
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
5035
|
-
* @param {
|
|
5047
|
+
* @param {'MANDATE' | 'SINGLE'} [paymentType] The type of payment
|
|
5036
5048
|
* @param {string} [mandateId] The mandate the payment belongs to
|
|
5037
5049
|
* @param {string} [currency] The currency the payment is made in
|
|
5038
5050
|
* @param {number} [offset] default is 0
|
|
@@ -5040,7 +5052,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
5040
5052
|
* @param {*} [options] Override http request option.
|
|
5041
5053
|
* @throws {RequiredError}
|
|
5042
5054
|
*/
|
|
5043
|
-
listPayments(dateFrom?: string, dateTo?: string,
|
|
5055
|
+
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', mandateId?: string, currency?: string, offset?: number, limit?: number, options?: any): AxiosPromise<ListPaymentsResponse>;
|
|
5044
5056
|
};
|
|
5045
5057
|
/**
|
|
5046
5058
|
* DefaultApi - interface
|
|
@@ -5052,7 +5064,7 @@ export interface DefaultApiInterface {
|
|
|
5052
5064
|
* List mandates
|
|
5053
5065
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
5054
5066
|
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
5055
|
-
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'} [
|
|
5067
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'>} [statuses] The mandate statuses to filter for, comma separated
|
|
5056
5068
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
5057
5069
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
5058
5070
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
@@ -5062,16 +5074,16 @@ export interface DefaultApiInterface {
|
|
|
5062
5074
|
* @throws {RequiredError}
|
|
5063
5075
|
* @memberof DefaultApiInterface
|
|
5064
5076
|
*/
|
|
5065
|
-
listMandates(dateFrom?: string, dateTo?: string,
|
|
5077
|
+
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>;
|
|
5066
5078
|
/**
|
|
5067
5079
|
* List Payments
|
|
5068
5080
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
5069
5081
|
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
5070
|
-
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'} [
|
|
5082
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>} [statuses] The payment statuses to filter for, comma separated
|
|
5071
5083
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
5072
5084
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
5073
5085
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
5074
|
-
* @param {
|
|
5086
|
+
* @param {'MANDATE' | 'SINGLE'} [paymentType] The type of payment
|
|
5075
5087
|
* @param {string} [mandateId] The mandate the payment belongs to
|
|
5076
5088
|
* @param {string} [currency] The currency the payment is made in
|
|
5077
5089
|
* @param {number} [offset] default is 0
|
|
@@ -5080,7 +5092,7 @@ export interface DefaultApiInterface {
|
|
|
5080
5092
|
* @throws {RequiredError}
|
|
5081
5093
|
* @memberof DefaultApiInterface
|
|
5082
5094
|
*/
|
|
5083
|
-
listPayments(dateFrom?: string, dateTo?: string,
|
|
5095
|
+
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', mandateId?: string, currency?: string, offset?: number, limit?: number, options?: AxiosRequestConfig): AxiosPromise<ListPaymentsResponse>;
|
|
5084
5096
|
}
|
|
5085
5097
|
/**
|
|
5086
5098
|
* DefaultApi - object-oriented interface
|
|
@@ -5093,7 +5105,7 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
5093
5105
|
* List mandates
|
|
5094
5106
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
5095
5107
|
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
5096
|
-
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'} [
|
|
5108
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'>} [statuses] The mandate statuses to filter for, comma separated
|
|
5097
5109
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
5098
5110
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
5099
5111
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
@@ -5103,16 +5115,16 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
5103
5115
|
* @throws {RequiredError}
|
|
5104
5116
|
* @memberof DefaultApi
|
|
5105
5117
|
*/
|
|
5106
|
-
listMandates(dateFrom?: string, dateTo?: string,
|
|
5118
|
+
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>>;
|
|
5107
5119
|
/**
|
|
5108
5120
|
* List Payments
|
|
5109
5121
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
5110
5122
|
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
5111
|
-
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'} [
|
|
5123
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>} [statuses] The payment statuses to filter for, comma separated
|
|
5112
5124
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
5113
5125
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
5114
5126
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
5115
|
-
* @param {
|
|
5127
|
+
* @param {'MANDATE' | 'SINGLE'} [paymentType] The type of payment
|
|
5116
5128
|
* @param {string} [mandateId] The mandate the payment belongs to
|
|
5117
5129
|
* @param {string} [currency] The currency the payment is made in
|
|
5118
5130
|
* @param {number} [offset] default is 0
|
|
@@ -5121,7 +5133,7 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
5121
5133
|
* @throws {RequiredError}
|
|
5122
5134
|
* @memberof DefaultApi
|
|
5123
5135
|
*/
|
|
5124
|
-
listPayments(dateFrom?: string, dateTo?: string,
|
|
5136
|
+
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', mandateId?: string, currency?: string, offset?: number, limit?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentsResponse>>;
|
|
5125
5137
|
}
|
|
5126
5138
|
/**
|
|
5127
5139
|
* LinkApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -1336,7 +1336,7 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1336
1336
|
* List mandates
|
|
1337
1337
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
1338
1338
|
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
1339
|
-
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'} [
|
|
1339
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'>} [statuses] The mandate statuses to filter for, comma separated
|
|
1340
1340
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
1341
1341
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
1342
1342
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
@@ -1345,7 +1345,7 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1345
1345
|
* @param {*} [options] Override http request option.
|
|
1346
1346
|
* @throws {RequiredError}
|
|
1347
1347
|
*/
|
|
1348
|
-
listMandates: (dateFrom, dateTo,
|
|
1348
|
+
listMandates: (dateFrom, dateTo, statuses, senderType, userId, institutionId, offset, limit, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1349
1349
|
const localVarPath = `/mandates`;
|
|
1350
1350
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1351
1351
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1367,8 +1367,8 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1367
1367
|
localVarQueryParameter['date_to'] =
|
|
1368
1368
|
dateTo instanceof Date ? dateTo.toISOString().substr(0, 10) : dateTo;
|
|
1369
1369
|
}
|
|
1370
|
-
if (
|
|
1371
|
-
localVarQueryParameter['
|
|
1370
|
+
if (statuses) {
|
|
1371
|
+
localVarQueryParameter['statuses'] = statuses.join(base_1.COLLECTION_FORMATS.csv);
|
|
1372
1372
|
}
|
|
1373
1373
|
if (senderType !== undefined) {
|
|
1374
1374
|
localVarQueryParameter['sender_type'] = senderType;
|
|
@@ -1397,11 +1397,11 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1397
1397
|
* List Payments
|
|
1398
1398
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
1399
1399
|
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
1400
|
-
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'} [
|
|
1400
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>} [statuses] The payment statuses to filter for, comma separated
|
|
1401
1401
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
1402
1402
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
1403
1403
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
1404
|
-
* @param {
|
|
1404
|
+
* @param {'MANDATE' | 'SINGLE'} [paymentType] The type of payment
|
|
1405
1405
|
* @param {string} [mandateId] The mandate the payment belongs to
|
|
1406
1406
|
* @param {string} [currency] The currency the payment is made in
|
|
1407
1407
|
* @param {number} [offset] default is 0
|
|
@@ -1409,7 +1409,7 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1409
1409
|
* @param {*} [options] Override http request option.
|
|
1410
1410
|
* @throws {RequiredError}
|
|
1411
1411
|
*/
|
|
1412
|
-
listPayments: (dateFrom, dateTo,
|
|
1412
|
+
listPayments: (dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1413
1413
|
const localVarPath = `/payments`;
|
|
1414
1414
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1415
1415
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -1431,8 +1431,8 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1431
1431
|
localVarQueryParameter['date_to'] =
|
|
1432
1432
|
dateTo instanceof Date ? dateTo.toISOString().substr(0, 10) : dateTo;
|
|
1433
1433
|
}
|
|
1434
|
-
if (
|
|
1435
|
-
localVarQueryParameter['
|
|
1434
|
+
if (statuses) {
|
|
1435
|
+
localVarQueryParameter['statuses'] = statuses.join(base_1.COLLECTION_FORMATS.csv);
|
|
1436
1436
|
}
|
|
1437
1437
|
if (senderType !== undefined) {
|
|
1438
1438
|
localVarQueryParameter['sender_type'] = senderType;
|
|
@@ -1479,7 +1479,7 @@ exports.DefaultApiFp = function (configuration) {
|
|
|
1479
1479
|
* List mandates
|
|
1480
1480
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
1481
1481
|
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
1482
|
-
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'} [
|
|
1482
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'>} [statuses] The mandate statuses to filter for, comma separated
|
|
1483
1483
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
1484
1484
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
1485
1485
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
@@ -1488,9 +1488,9 @@ exports.DefaultApiFp = function (configuration) {
|
|
|
1488
1488
|
* @param {*} [options] Override http request option.
|
|
1489
1489
|
* @throws {RequiredError}
|
|
1490
1490
|
*/
|
|
1491
|
-
listMandates(dateFrom, dateTo,
|
|
1491
|
+
listMandates(dateFrom, dateTo, statuses, senderType, userId, institutionId, offset, limit, options) {
|
|
1492
1492
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1493
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listMandates(dateFrom, dateTo,
|
|
1493
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listMandates(dateFrom, dateTo, statuses, senderType, userId, institutionId, offset, limit, options);
|
|
1494
1494
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1495
1495
|
});
|
|
1496
1496
|
},
|
|
@@ -1498,11 +1498,11 @@ exports.DefaultApiFp = function (configuration) {
|
|
|
1498
1498
|
* List Payments
|
|
1499
1499
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
1500
1500
|
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
1501
|
-
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'} [
|
|
1501
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>} [statuses] The payment statuses to filter for, comma separated
|
|
1502
1502
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
1503
1503
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
1504
1504
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
1505
|
-
* @param {
|
|
1505
|
+
* @param {'MANDATE' | 'SINGLE'} [paymentType] The type of payment
|
|
1506
1506
|
* @param {string} [mandateId] The mandate the payment belongs to
|
|
1507
1507
|
* @param {string} [currency] The currency the payment is made in
|
|
1508
1508
|
* @param {number} [offset] default is 0
|
|
@@ -1510,9 +1510,9 @@ exports.DefaultApiFp = function (configuration) {
|
|
|
1510
1510
|
* @param {*} [options] Override http request option.
|
|
1511
1511
|
* @throws {RequiredError}
|
|
1512
1512
|
*/
|
|
1513
|
-
listPayments(dateFrom, dateTo,
|
|
1513
|
+
listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options) {
|
|
1514
1514
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1515
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPayments(dateFrom, dateTo,
|
|
1515
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options);
|
|
1516
1516
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1517
1517
|
});
|
|
1518
1518
|
},
|
|
@@ -1529,7 +1529,7 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1529
1529
|
* List mandates
|
|
1530
1530
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
1531
1531
|
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
1532
|
-
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'} [
|
|
1532
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'>} [statuses] The mandate statuses to filter for, comma separated
|
|
1533
1533
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
1534
1534
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
1535
1535
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
@@ -1538,20 +1538,20 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1538
1538
|
* @param {*} [options] Override http request option.
|
|
1539
1539
|
* @throws {RequiredError}
|
|
1540
1540
|
*/
|
|
1541
|
-
listMandates(dateFrom, dateTo,
|
|
1541
|
+
listMandates(dateFrom, dateTo, statuses, senderType, userId, institutionId, offset, limit, options) {
|
|
1542
1542
|
return localVarFp
|
|
1543
|
-
.listMandates(dateFrom, dateTo,
|
|
1543
|
+
.listMandates(dateFrom, dateTo, statuses, senderType, userId, institutionId, offset, limit, options)
|
|
1544
1544
|
.then((request) => request(axios, basePath));
|
|
1545
1545
|
},
|
|
1546
1546
|
/**
|
|
1547
1547
|
* List Payments
|
|
1548
1548
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
1549
1549
|
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
1550
|
-
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'} [
|
|
1550
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>} [statuses] The payment statuses to filter for, comma separated
|
|
1551
1551
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
1552
1552
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
1553
1553
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
1554
|
-
* @param {
|
|
1554
|
+
* @param {'MANDATE' | 'SINGLE'} [paymentType] The type of payment
|
|
1555
1555
|
* @param {string} [mandateId] The mandate the payment belongs to
|
|
1556
1556
|
* @param {string} [currency] The currency the payment is made in
|
|
1557
1557
|
* @param {number} [offset] default is 0
|
|
@@ -1559,9 +1559,9 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1559
1559
|
* @param {*} [options] Override http request option.
|
|
1560
1560
|
* @throws {RequiredError}
|
|
1561
1561
|
*/
|
|
1562
|
-
listPayments(dateFrom, dateTo,
|
|
1562
|
+
listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options) {
|
|
1563
1563
|
return localVarFp
|
|
1564
|
-
.listPayments(dateFrom, dateTo,
|
|
1564
|
+
.listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options)
|
|
1565
1565
|
.then((request) => request(axios, basePath));
|
|
1566
1566
|
},
|
|
1567
1567
|
};
|
|
@@ -1577,7 +1577,7 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1577
1577
|
* List mandates
|
|
1578
1578
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
1579
1579
|
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
1580
|
-
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'} [
|
|
1580
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'>} [statuses] The mandate statuses to filter for, comma separated
|
|
1581
1581
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
1582
1582
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
1583
1583
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
@@ -1587,20 +1587,20 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1587
1587
|
* @throws {RequiredError}
|
|
1588
1588
|
* @memberof DefaultApi
|
|
1589
1589
|
*/
|
|
1590
|
-
listMandates(dateFrom, dateTo,
|
|
1590
|
+
listMandates(dateFrom, dateTo, statuses, senderType, userId, institutionId, offset, limit, options) {
|
|
1591
1591
|
return exports.DefaultApiFp(this.configuration)
|
|
1592
|
-
.listMandates(dateFrom, dateTo,
|
|
1592
|
+
.listMandates(dateFrom, dateTo, statuses, senderType, userId, institutionId, offset, limit, options)
|
|
1593
1593
|
.then((request) => request(this.axios, this.basePath));
|
|
1594
1594
|
}
|
|
1595
1595
|
/**
|
|
1596
1596
|
* List Payments
|
|
1597
1597
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
1598
1598
|
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
1599
|
-
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'} [
|
|
1599
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>} [statuses] The payment statuses to filter for, comma separated
|
|
1600
1600
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
1601
1601
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
1602
1602
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
1603
|
-
* @param {
|
|
1603
|
+
* @param {'MANDATE' | 'SINGLE'} [paymentType] The type of payment
|
|
1604
1604
|
* @param {string} [mandateId] The mandate the payment belongs to
|
|
1605
1605
|
* @param {string} [currency] The currency the payment is made in
|
|
1606
1606
|
* @param {number} [offset] default is 0
|
|
@@ -1609,9 +1609,9 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1609
1609
|
* @throws {RequiredError}
|
|
1610
1610
|
* @memberof DefaultApi
|
|
1611
1611
|
*/
|
|
1612
|
-
listPayments(dateFrom, dateTo,
|
|
1612
|
+
listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options) {
|
|
1613
1613
|
return exports.DefaultApiFp(this.configuration)
|
|
1614
|
-
.listPayments(dateFrom, dateTo,
|
|
1614
|
+
.listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options)
|
|
1615
1615
|
.then((request) => request(this.axios, this.basePath));
|
|
1616
1616
|
}
|
|
1617
1617
|
}
|