@finverse/sdk-typescript 0.0.78 → 0.0.80
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 +43 -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
|
*
|
|
@@ -3514,6 +3526,12 @@ export interface PaymentResponse {
|
|
|
3514
3526
|
* @memberof PaymentResponse
|
|
3515
3527
|
*/
|
|
3516
3528
|
sender?: GetMandateSender;
|
|
3529
|
+
/**
|
|
3530
|
+
* Timestamp in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
|
|
3531
|
+
* @type {string}
|
|
3532
|
+
* @memberof PaymentResponse
|
|
3533
|
+
*/
|
|
3534
|
+
transaction_date?: string | null;
|
|
3517
3535
|
/**
|
|
3518
3536
|
*
|
|
3519
3537
|
* @type {FvErrorModel}
|
|
@@ -4940,7 +4958,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
4940
4958
|
* List mandates
|
|
4941
4959
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
4942
4960
|
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
4943
|
-
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'} [
|
|
4961
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'>} [statuses] The mandate statuses to filter for, comma separated
|
|
4944
4962
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
4945
4963
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
4946
4964
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
@@ -4949,16 +4967,16 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
4949
4967
|
* @param {*} [options] Override http request option.
|
|
4950
4968
|
* @throws {RequiredError}
|
|
4951
4969
|
*/
|
|
4952
|
-
listMandates: (dateFrom?: string, dateTo?: string,
|
|
4970
|
+
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
4971
|
/**
|
|
4954
4972
|
* List Payments
|
|
4955
4973
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
4956
4974
|
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
4957
|
-
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'} [
|
|
4975
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>} [statuses] The payment statuses to filter for, comma separated
|
|
4958
4976
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
4959
4977
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
4960
4978
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
4961
|
-
* @param {
|
|
4979
|
+
* @param {'MANDATE' | 'SINGLE'} [paymentType] The type of payment
|
|
4962
4980
|
* @param {string} [mandateId] The mandate the payment belongs to
|
|
4963
4981
|
* @param {string} [currency] The currency the payment is made in
|
|
4964
4982
|
* @param {number} [offset] default is 0
|
|
@@ -4966,7 +4984,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
4966
4984
|
* @param {*} [options] Override http request option.
|
|
4967
4985
|
* @throws {RequiredError}
|
|
4968
4986
|
*/
|
|
4969
|
-
listPayments: (dateFrom?: string, dateTo?: string,
|
|
4987
|
+
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
4988
|
};
|
|
4971
4989
|
/**
|
|
4972
4990
|
* DefaultApi - functional programming interface
|
|
@@ -4977,7 +4995,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
4977
4995
|
* List mandates
|
|
4978
4996
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
4979
4997
|
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
4980
|
-
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'} [
|
|
4998
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'>} [statuses] The mandate statuses to filter for, comma separated
|
|
4981
4999
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
4982
5000
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
4983
5001
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
@@ -4986,16 +5004,16 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
4986
5004
|
* @param {*} [options] Override http request option.
|
|
4987
5005
|
* @throws {RequiredError}
|
|
4988
5006
|
*/
|
|
4989
|
-
listMandates(dateFrom?: string, dateTo?: string,
|
|
5007
|
+
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
5008
|
/**
|
|
4991
5009
|
* List Payments
|
|
4992
5010
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
4993
5011
|
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
4994
|
-
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'} [
|
|
5012
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>} [statuses] The payment statuses to filter for, comma separated
|
|
4995
5013
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
4996
5014
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
4997
5015
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
4998
|
-
* @param {
|
|
5016
|
+
* @param {'MANDATE' | 'SINGLE'} [paymentType] The type of payment
|
|
4999
5017
|
* @param {string} [mandateId] The mandate the payment belongs to
|
|
5000
5018
|
* @param {string} [currency] The currency the payment is made in
|
|
5001
5019
|
* @param {number} [offset] default is 0
|
|
@@ -5003,7 +5021,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
5003
5021
|
* @param {*} [options] Override http request option.
|
|
5004
5022
|
* @throws {RequiredError}
|
|
5005
5023
|
*/
|
|
5006
|
-
listPayments(dateFrom?: string, dateTo?: string,
|
|
5024
|
+
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
5025
|
};
|
|
5008
5026
|
/**
|
|
5009
5027
|
* DefaultApi - factory interface
|
|
@@ -5014,7 +5032,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
5014
5032
|
* List mandates
|
|
5015
5033
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
5016
5034
|
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
5017
|
-
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'} [
|
|
5035
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'>} [statuses] The mandate statuses to filter for, comma separated
|
|
5018
5036
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
5019
5037
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
5020
5038
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
@@ -5023,16 +5041,16 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
5023
5041
|
* @param {*} [options] Override http request option.
|
|
5024
5042
|
* @throws {RequiredError}
|
|
5025
5043
|
*/
|
|
5026
|
-
listMandates(dateFrom?: string, dateTo?: string,
|
|
5044
|
+
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
5045
|
/**
|
|
5028
5046
|
* List Payments
|
|
5029
5047
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
5030
5048
|
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
5031
|
-
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'} [
|
|
5049
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>} [statuses] The payment statuses to filter for, comma separated
|
|
5032
5050
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
5033
5051
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
5034
5052
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
5035
|
-
* @param {
|
|
5053
|
+
* @param {'MANDATE' | 'SINGLE'} [paymentType] The type of payment
|
|
5036
5054
|
* @param {string} [mandateId] The mandate the payment belongs to
|
|
5037
5055
|
* @param {string} [currency] The currency the payment is made in
|
|
5038
5056
|
* @param {number} [offset] default is 0
|
|
@@ -5040,7 +5058,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
5040
5058
|
* @param {*} [options] Override http request option.
|
|
5041
5059
|
* @throws {RequiredError}
|
|
5042
5060
|
*/
|
|
5043
|
-
listPayments(dateFrom?: string, dateTo?: string,
|
|
5061
|
+
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
5062
|
};
|
|
5045
5063
|
/**
|
|
5046
5064
|
* DefaultApi - interface
|
|
@@ -5052,7 +5070,7 @@ export interface DefaultApiInterface {
|
|
|
5052
5070
|
* List mandates
|
|
5053
5071
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
5054
5072
|
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
5055
|
-
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'} [
|
|
5073
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'>} [statuses] The mandate statuses to filter for, comma separated
|
|
5056
5074
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
5057
5075
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
5058
5076
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
@@ -5062,16 +5080,16 @@ export interface DefaultApiInterface {
|
|
|
5062
5080
|
* @throws {RequiredError}
|
|
5063
5081
|
* @memberof DefaultApiInterface
|
|
5064
5082
|
*/
|
|
5065
|
-
listMandates(dateFrom?: string, dateTo?: string,
|
|
5083
|
+
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
5084
|
/**
|
|
5067
5085
|
* List Payments
|
|
5068
5086
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
5069
5087
|
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
5070
|
-
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'} [
|
|
5088
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>} [statuses] The payment statuses to filter for, comma separated
|
|
5071
5089
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
5072
5090
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
5073
5091
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
5074
|
-
* @param {
|
|
5092
|
+
* @param {'MANDATE' | 'SINGLE'} [paymentType] The type of payment
|
|
5075
5093
|
* @param {string} [mandateId] The mandate the payment belongs to
|
|
5076
5094
|
* @param {string} [currency] The currency the payment is made in
|
|
5077
5095
|
* @param {number} [offset] default is 0
|
|
@@ -5080,7 +5098,7 @@ export interface DefaultApiInterface {
|
|
|
5080
5098
|
* @throws {RequiredError}
|
|
5081
5099
|
* @memberof DefaultApiInterface
|
|
5082
5100
|
*/
|
|
5083
|
-
listPayments(dateFrom?: string, dateTo?: string,
|
|
5101
|
+
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
5102
|
}
|
|
5085
5103
|
/**
|
|
5086
5104
|
* DefaultApi - object-oriented interface
|
|
@@ -5093,7 +5111,7 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
5093
5111
|
* List mandates
|
|
5094
5112
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
5095
5113
|
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
5096
|
-
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'} [
|
|
5114
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'>} [statuses] The mandate statuses to filter for, comma separated
|
|
5097
5115
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
5098
5116
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
5099
5117
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
@@ -5103,16 +5121,16 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
5103
5121
|
* @throws {RequiredError}
|
|
5104
5122
|
* @memberof DefaultApi
|
|
5105
5123
|
*/
|
|
5106
|
-
listMandates(dateFrom?: string, dateTo?: string,
|
|
5124
|
+
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
5125
|
/**
|
|
5108
5126
|
* List Payments
|
|
5109
5127
|
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
5110
5128
|
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
5111
|
-
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'} [
|
|
5129
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>} [statuses] The payment statuses to filter for, comma separated
|
|
5112
5130
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
5113
5131
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
5114
5132
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
5115
|
-
* @param {
|
|
5133
|
+
* @param {'MANDATE' | 'SINGLE'} [paymentType] The type of payment
|
|
5116
5134
|
* @param {string} [mandateId] The mandate the payment belongs to
|
|
5117
5135
|
* @param {string} [currency] The currency the payment is made in
|
|
5118
5136
|
* @param {number} [offset] default is 0
|
|
@@ -5121,7 +5139,7 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
5121
5139
|
* @throws {RequiredError}
|
|
5122
5140
|
* @memberof DefaultApi
|
|
5123
5141
|
*/
|
|
5124
|
-
listPayments(dateFrom?: string, dateTo?: string,
|
|
5142
|
+
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
5143
|
}
|
|
5126
5144
|
/**
|
|
5127
5145
|
* 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
|
}
|