@finverse/sdk-typescript 0.0.77 → 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 +231 -1
- package/dist/api.js +291 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -1409,7 +1409,7 @@ export interface GetMandateResponse {
|
|
|
1409
1409
|
*/
|
|
1410
1410
|
mandate_id: string;
|
|
1411
1411
|
/**
|
|
1412
|
-
* Mandate
|
|
1412
|
+
* Mandate Status
|
|
1413
1413
|
* @type {string}
|
|
1414
1414
|
* @memberof GetMandateResponse
|
|
1415
1415
|
*/
|
|
@@ -2567,6 +2567,44 @@ export interface ListAccountsResponse {
|
|
|
2567
2567
|
*/
|
|
2568
2568
|
institution?: InstitutionShort;
|
|
2569
2569
|
}
|
|
2570
|
+
/**
|
|
2571
|
+
*
|
|
2572
|
+
* @export
|
|
2573
|
+
* @interface ListMandatesResponse
|
|
2574
|
+
*/
|
|
2575
|
+
export interface ListMandatesResponse {
|
|
2576
|
+
/**
|
|
2577
|
+
*
|
|
2578
|
+
* @type {Array<GetMandateResponse>}
|
|
2579
|
+
* @memberof ListMandatesResponse
|
|
2580
|
+
*/
|
|
2581
|
+
mandates?: Array<GetMandateResponse>;
|
|
2582
|
+
/**
|
|
2583
|
+
*
|
|
2584
|
+
* @type {number}
|
|
2585
|
+
* @memberof ListMandatesResponse
|
|
2586
|
+
*/
|
|
2587
|
+
total_mandates: number;
|
|
2588
|
+
}
|
|
2589
|
+
/**
|
|
2590
|
+
*
|
|
2591
|
+
* @export
|
|
2592
|
+
* @interface ListPaymentsResponse
|
|
2593
|
+
*/
|
|
2594
|
+
export interface ListPaymentsResponse {
|
|
2595
|
+
/**
|
|
2596
|
+
*
|
|
2597
|
+
* @type {Array<PaymentResponse>}
|
|
2598
|
+
* @memberof ListPaymentsResponse
|
|
2599
|
+
*/
|
|
2600
|
+
payments?: Array<PaymentResponse>;
|
|
2601
|
+
/**
|
|
2602
|
+
*
|
|
2603
|
+
* @type {number}
|
|
2604
|
+
* @memberof ListPaymentsResponse
|
|
2605
|
+
*/
|
|
2606
|
+
total_payments: number;
|
|
2607
|
+
}
|
|
2570
2608
|
/**
|
|
2571
2609
|
*
|
|
2572
2610
|
* @export
|
|
@@ -4905,6 +4943,198 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
4905
4943
|
*/
|
|
4906
4944
|
submitAuthChecklist(submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SubmitAuthChecklistResponse>>;
|
|
4907
4945
|
}
|
|
4946
|
+
/**
|
|
4947
|
+
* DefaultApi - axios parameter creator
|
|
4948
|
+
* @export
|
|
4949
|
+
*/
|
|
4950
|
+
export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4951
|
+
/**
|
|
4952
|
+
* List mandates
|
|
4953
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
4954
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
4955
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'>} [statuses] The mandate statuses to filter for, comma separated
|
|
4956
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
4957
|
+
* @param {string} [userId] The user_id the mandate was setup for
|
|
4958
|
+
* @param {string} [institutionId] The institution the mandate was executed against
|
|
4959
|
+
* @param {number} [offset] default is 0
|
|
4960
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
4961
|
+
* @param {*} [options] Override http request option.
|
|
4962
|
+
* @throws {RequiredError}
|
|
4963
|
+
*/
|
|
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>;
|
|
4965
|
+
/**
|
|
4966
|
+
* List Payments
|
|
4967
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
4968
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
4969
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>} [statuses] The payment statuses to filter for, comma separated
|
|
4970
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
4971
|
+
* @param {string} [userId] The user_id the mandate was setup for
|
|
4972
|
+
* @param {string} [institutionId] The institution the mandate was executed against
|
|
4973
|
+
* @param {'MANDATE' | 'SINGLE'} [paymentType] The type of payment
|
|
4974
|
+
* @param {string} [mandateId] The mandate the payment belongs to
|
|
4975
|
+
* @param {string} [currency] The currency the payment is made in
|
|
4976
|
+
* @param {number} [offset] default is 0
|
|
4977
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
4978
|
+
* @param {*} [options] Override http request option.
|
|
4979
|
+
* @throws {RequiredError}
|
|
4980
|
+
*/
|
|
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>;
|
|
4982
|
+
};
|
|
4983
|
+
/**
|
|
4984
|
+
* DefaultApi - functional programming interface
|
|
4985
|
+
* @export
|
|
4986
|
+
*/
|
|
4987
|
+
export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
4988
|
+
/**
|
|
4989
|
+
* List mandates
|
|
4990
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
4991
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
4992
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'>} [statuses] The mandate statuses to filter for, comma separated
|
|
4993
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
4994
|
+
* @param {string} [userId] The user_id the mandate was setup for
|
|
4995
|
+
* @param {string} [institutionId] The institution the mandate was executed against
|
|
4996
|
+
* @param {number} [offset] default is 0
|
|
4997
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
4998
|
+
* @param {*} [options] Override http request option.
|
|
4999
|
+
* @throws {RequiredError}
|
|
5000
|
+
*/
|
|
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>>;
|
|
5002
|
+
/**
|
|
5003
|
+
* List Payments
|
|
5004
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
5005
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
5006
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>} [statuses] The payment statuses to filter for, comma separated
|
|
5007
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
5008
|
+
* @param {string} [userId] The user_id the mandate was setup for
|
|
5009
|
+
* @param {string} [institutionId] The institution the mandate was executed against
|
|
5010
|
+
* @param {'MANDATE' | 'SINGLE'} [paymentType] The type of payment
|
|
5011
|
+
* @param {string} [mandateId] The mandate the payment belongs to
|
|
5012
|
+
* @param {string} [currency] The currency the payment is made in
|
|
5013
|
+
* @param {number} [offset] default is 0
|
|
5014
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
5015
|
+
* @param {*} [options] Override http request option.
|
|
5016
|
+
* @throws {RequiredError}
|
|
5017
|
+
*/
|
|
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>>;
|
|
5019
|
+
};
|
|
5020
|
+
/**
|
|
5021
|
+
* DefaultApi - factory interface
|
|
5022
|
+
* @export
|
|
5023
|
+
*/
|
|
5024
|
+
export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5025
|
+
/**
|
|
5026
|
+
* List mandates
|
|
5027
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
5028
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
5029
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'>} [statuses] The mandate statuses to filter for, comma separated
|
|
5030
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
5031
|
+
* @param {string} [userId] The user_id the mandate was setup for
|
|
5032
|
+
* @param {string} [institutionId] The institution the mandate was executed against
|
|
5033
|
+
* @param {number} [offset] default is 0
|
|
5034
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
5035
|
+
* @param {*} [options] Override http request option.
|
|
5036
|
+
* @throws {RequiredError}
|
|
5037
|
+
*/
|
|
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>;
|
|
5039
|
+
/**
|
|
5040
|
+
* List Payments
|
|
5041
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
5042
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
5043
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>} [statuses] The payment statuses to filter for, comma separated
|
|
5044
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
5045
|
+
* @param {string} [userId] The user_id the mandate was setup for
|
|
5046
|
+
* @param {string} [institutionId] The institution the mandate was executed against
|
|
5047
|
+
* @param {'MANDATE' | 'SINGLE'} [paymentType] The type of payment
|
|
5048
|
+
* @param {string} [mandateId] The mandate the payment belongs to
|
|
5049
|
+
* @param {string} [currency] The currency the payment is made in
|
|
5050
|
+
* @param {number} [offset] default is 0
|
|
5051
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
5052
|
+
* @param {*} [options] Override http request option.
|
|
5053
|
+
* @throws {RequiredError}
|
|
5054
|
+
*/
|
|
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>;
|
|
5056
|
+
};
|
|
5057
|
+
/**
|
|
5058
|
+
* DefaultApi - interface
|
|
5059
|
+
* @export
|
|
5060
|
+
* @interface DefaultApi
|
|
5061
|
+
*/
|
|
5062
|
+
export interface DefaultApiInterface {
|
|
5063
|
+
/**
|
|
5064
|
+
* List mandates
|
|
5065
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
5066
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
5067
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'>} [statuses] The mandate statuses to filter for, comma separated
|
|
5068
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
5069
|
+
* @param {string} [userId] The user_id the mandate was setup for
|
|
5070
|
+
* @param {string} [institutionId] The institution the mandate was executed against
|
|
5071
|
+
* @param {number} [offset] default is 0
|
|
5072
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
5073
|
+
* @param {*} [options] Override http request option.
|
|
5074
|
+
* @throws {RequiredError}
|
|
5075
|
+
* @memberof DefaultApiInterface
|
|
5076
|
+
*/
|
|
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>;
|
|
5078
|
+
/**
|
|
5079
|
+
* List Payments
|
|
5080
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
5081
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
5082
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>} [statuses] The payment statuses to filter for, comma separated
|
|
5083
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
5084
|
+
* @param {string} [userId] The user_id the mandate was setup for
|
|
5085
|
+
* @param {string} [institutionId] The institution the mandate was executed against
|
|
5086
|
+
* @param {'MANDATE' | 'SINGLE'} [paymentType] The type of payment
|
|
5087
|
+
* @param {string} [mandateId] The mandate the payment belongs to
|
|
5088
|
+
* @param {string} [currency] The currency the payment is made in
|
|
5089
|
+
* @param {number} [offset] default is 0
|
|
5090
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
5091
|
+
* @param {*} [options] Override http request option.
|
|
5092
|
+
* @throws {RequiredError}
|
|
5093
|
+
* @memberof DefaultApiInterface
|
|
5094
|
+
*/
|
|
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>;
|
|
5096
|
+
}
|
|
5097
|
+
/**
|
|
5098
|
+
* DefaultApi - object-oriented interface
|
|
5099
|
+
* @export
|
|
5100
|
+
* @class DefaultApi
|
|
5101
|
+
* @extends {BaseAPI}
|
|
5102
|
+
*/
|
|
5103
|
+
export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
5104
|
+
/**
|
|
5105
|
+
* List mandates
|
|
5106
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
5107
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
5108
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'>} [statuses] The mandate statuses to filter for, comma separated
|
|
5109
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
5110
|
+
* @param {string} [userId] The user_id the mandate was setup for
|
|
5111
|
+
* @param {string} [institutionId] The institution the mandate was executed against
|
|
5112
|
+
* @param {number} [offset] default is 0
|
|
5113
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
5114
|
+
* @param {*} [options] Override http request option.
|
|
5115
|
+
* @throws {RequiredError}
|
|
5116
|
+
* @memberof DefaultApi
|
|
5117
|
+
*/
|
|
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>>;
|
|
5119
|
+
/**
|
|
5120
|
+
* List Payments
|
|
5121
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
5122
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
5123
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>} [statuses] The payment statuses to filter for, comma separated
|
|
5124
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
5125
|
+
* @param {string} [userId] The user_id the mandate was setup for
|
|
5126
|
+
* @param {string} [institutionId] The institution the mandate was executed against
|
|
5127
|
+
* @param {'MANDATE' | 'SINGLE'} [paymentType] The type of payment
|
|
5128
|
+
* @param {string} [mandateId] The mandate the payment belongs to
|
|
5129
|
+
* @param {string} [currency] The currency the payment is made in
|
|
5130
|
+
* @param {number} [offset] default is 0
|
|
5131
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
5132
|
+
* @param {*} [options] Override http request option.
|
|
5133
|
+
* @throws {RequiredError}
|
|
5134
|
+
* @memberof DefaultApi
|
|
5135
|
+
*/
|
|
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>>;
|
|
5137
|
+
}
|
|
4908
5138
|
/**
|
|
4909
5139
|
* LinkApi - axios parameter creator
|
|
4910
5140
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderDetailDetailsTypeEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentInstructionTypeEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = exports.GetMandateSenderSenderTypeEnum = exports.GetMandateResponseStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FvErrorModelTypeEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.CreateMandateSenderSenderTypeEnum = exports.CreateMandateResponseStatusEnum = exports.BadRequestModelV2ErrorTypeEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = exports.AccountTypeSubtypeEnum = exports.AccountTypeTypeEnum = void 0;
|
|
25
|
+
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderDetailDetailsTypeEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentInstructionTypeEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = exports.GetMandateSenderSenderTypeEnum = exports.GetMandateResponseStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FvErrorModelTypeEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.CreateMandateSenderSenderTypeEnum = exports.CreateMandateResponseStatusEnum = exports.BadRequestModelV2ErrorTypeEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = exports.AccountTypeSubtypeEnum = exports.AccountTypeTypeEnum = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -1326,6 +1326,296 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
1326
1326
|
}
|
|
1327
1327
|
}
|
|
1328
1328
|
exports.CustomerApi = CustomerApi;
|
|
1329
|
+
/**
|
|
1330
|
+
* DefaultApi - axios parameter creator
|
|
1331
|
+
* @export
|
|
1332
|
+
*/
|
|
1333
|
+
exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
1334
|
+
return {
|
|
1335
|
+
/**
|
|
1336
|
+
* List mandates
|
|
1337
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
1338
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
1339
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'>} [statuses] The mandate statuses to filter for, comma separated
|
|
1340
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
1341
|
+
* @param {string} [userId] The user_id the mandate was setup for
|
|
1342
|
+
* @param {string} [institutionId] The institution the mandate was executed against
|
|
1343
|
+
* @param {number} [offset] default is 0
|
|
1344
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
1345
|
+
* @param {*} [options] Override http request option.
|
|
1346
|
+
* @throws {RequiredError}
|
|
1347
|
+
*/
|
|
1348
|
+
listMandates: (dateFrom, dateTo, statuses, senderType, userId, institutionId, offset, limit, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1349
|
+
const localVarPath = `/mandates`;
|
|
1350
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1351
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1352
|
+
let baseOptions;
|
|
1353
|
+
if (configuration) {
|
|
1354
|
+
baseOptions = configuration.baseOptions;
|
|
1355
|
+
}
|
|
1356
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1357
|
+
const localVarHeaderParameter = {};
|
|
1358
|
+
const localVarQueryParameter = {};
|
|
1359
|
+
// authentication Oauth2 required
|
|
1360
|
+
// oauth required
|
|
1361
|
+
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
1362
|
+
if (dateFrom !== undefined) {
|
|
1363
|
+
localVarQueryParameter['date_from'] =
|
|
1364
|
+
dateFrom instanceof Date ? dateFrom.toISOString().substr(0, 10) : dateFrom;
|
|
1365
|
+
}
|
|
1366
|
+
if (dateTo !== undefined) {
|
|
1367
|
+
localVarQueryParameter['date_to'] =
|
|
1368
|
+
dateTo instanceof Date ? dateTo.toISOString().substr(0, 10) : dateTo;
|
|
1369
|
+
}
|
|
1370
|
+
if (statuses) {
|
|
1371
|
+
localVarQueryParameter['statuses'] = statuses.join(base_1.COLLECTION_FORMATS.csv);
|
|
1372
|
+
}
|
|
1373
|
+
if (senderType !== undefined) {
|
|
1374
|
+
localVarQueryParameter['sender_type'] = senderType;
|
|
1375
|
+
}
|
|
1376
|
+
if (userId !== undefined) {
|
|
1377
|
+
localVarQueryParameter['user_id'] = userId;
|
|
1378
|
+
}
|
|
1379
|
+
if (institutionId !== undefined) {
|
|
1380
|
+
localVarQueryParameter['institution_id'] = institutionId;
|
|
1381
|
+
}
|
|
1382
|
+
if (offset !== undefined) {
|
|
1383
|
+
localVarQueryParameter['offset'] = offset;
|
|
1384
|
+
}
|
|
1385
|
+
if (limit !== undefined) {
|
|
1386
|
+
localVarQueryParameter['limit'] = limit;
|
|
1387
|
+
}
|
|
1388
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1389
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1390
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1391
|
+
return {
|
|
1392
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
1393
|
+
options: localVarRequestOptions,
|
|
1394
|
+
};
|
|
1395
|
+
}),
|
|
1396
|
+
/**
|
|
1397
|
+
* List Payments
|
|
1398
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
1399
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
1400
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>} [statuses] The payment statuses to filter for, comma separated
|
|
1401
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
1402
|
+
* @param {string} [userId] The user_id the mandate was setup for
|
|
1403
|
+
* @param {string} [institutionId] The institution the mandate was executed against
|
|
1404
|
+
* @param {'MANDATE' | 'SINGLE'} [paymentType] The type of payment
|
|
1405
|
+
* @param {string} [mandateId] The mandate the payment belongs to
|
|
1406
|
+
* @param {string} [currency] The currency the payment is made in
|
|
1407
|
+
* @param {number} [offset] default is 0
|
|
1408
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
1409
|
+
* @param {*} [options] Override http request option.
|
|
1410
|
+
* @throws {RequiredError}
|
|
1411
|
+
*/
|
|
1412
|
+
listPayments: (dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1413
|
+
const localVarPath = `/payments`;
|
|
1414
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1415
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1416
|
+
let baseOptions;
|
|
1417
|
+
if (configuration) {
|
|
1418
|
+
baseOptions = configuration.baseOptions;
|
|
1419
|
+
}
|
|
1420
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1421
|
+
const localVarHeaderParameter = {};
|
|
1422
|
+
const localVarQueryParameter = {};
|
|
1423
|
+
// authentication Oauth2 required
|
|
1424
|
+
// oauth required
|
|
1425
|
+
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
1426
|
+
if (dateFrom !== undefined) {
|
|
1427
|
+
localVarQueryParameter['date_from'] =
|
|
1428
|
+
dateFrom instanceof Date ? dateFrom.toISOString().substr(0, 10) : dateFrom;
|
|
1429
|
+
}
|
|
1430
|
+
if (dateTo !== undefined) {
|
|
1431
|
+
localVarQueryParameter['date_to'] =
|
|
1432
|
+
dateTo instanceof Date ? dateTo.toISOString().substr(0, 10) : dateTo;
|
|
1433
|
+
}
|
|
1434
|
+
if (statuses) {
|
|
1435
|
+
localVarQueryParameter['statuses'] = statuses.join(base_1.COLLECTION_FORMATS.csv);
|
|
1436
|
+
}
|
|
1437
|
+
if (senderType !== undefined) {
|
|
1438
|
+
localVarQueryParameter['sender_type'] = senderType;
|
|
1439
|
+
}
|
|
1440
|
+
if (userId !== undefined) {
|
|
1441
|
+
localVarQueryParameter['user_id'] = userId;
|
|
1442
|
+
}
|
|
1443
|
+
if (institutionId !== undefined) {
|
|
1444
|
+
localVarQueryParameter['institution_id'] = institutionId;
|
|
1445
|
+
}
|
|
1446
|
+
if (paymentType !== undefined) {
|
|
1447
|
+
localVarQueryParameter['payment_type'] = paymentType;
|
|
1448
|
+
}
|
|
1449
|
+
if (mandateId !== undefined) {
|
|
1450
|
+
localVarQueryParameter['mandate_id'] = mandateId;
|
|
1451
|
+
}
|
|
1452
|
+
if (currency !== undefined) {
|
|
1453
|
+
localVarQueryParameter['currency'] = currency;
|
|
1454
|
+
}
|
|
1455
|
+
if (offset !== undefined) {
|
|
1456
|
+
localVarQueryParameter['offset'] = offset;
|
|
1457
|
+
}
|
|
1458
|
+
if (limit !== undefined) {
|
|
1459
|
+
localVarQueryParameter['limit'] = limit;
|
|
1460
|
+
}
|
|
1461
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1462
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1463
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1464
|
+
return {
|
|
1465
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
1466
|
+
options: localVarRequestOptions,
|
|
1467
|
+
};
|
|
1468
|
+
}),
|
|
1469
|
+
};
|
|
1470
|
+
};
|
|
1471
|
+
/**
|
|
1472
|
+
* DefaultApi - functional programming interface
|
|
1473
|
+
* @export
|
|
1474
|
+
*/
|
|
1475
|
+
exports.DefaultApiFp = function (configuration) {
|
|
1476
|
+
const localVarAxiosParamCreator = exports.DefaultApiAxiosParamCreator(configuration);
|
|
1477
|
+
return {
|
|
1478
|
+
/**
|
|
1479
|
+
* List mandates
|
|
1480
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
1481
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
1482
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'>} [statuses] The mandate statuses to filter for, comma separated
|
|
1483
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
1484
|
+
* @param {string} [userId] The user_id the mandate was setup for
|
|
1485
|
+
* @param {string} [institutionId] The institution the mandate was executed against
|
|
1486
|
+
* @param {number} [offset] default is 0
|
|
1487
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
1488
|
+
* @param {*} [options] Override http request option.
|
|
1489
|
+
* @throws {RequiredError}
|
|
1490
|
+
*/
|
|
1491
|
+
listMandates(dateFrom, dateTo, statuses, senderType, userId, institutionId, offset, limit, options) {
|
|
1492
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1493
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listMandates(dateFrom, dateTo, statuses, senderType, userId, institutionId, offset, limit, options);
|
|
1494
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1495
|
+
});
|
|
1496
|
+
},
|
|
1497
|
+
/**
|
|
1498
|
+
* List Payments
|
|
1499
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
1500
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
1501
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>} [statuses] The payment statuses to filter for, comma separated
|
|
1502
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
1503
|
+
* @param {string} [userId] The user_id the mandate was setup for
|
|
1504
|
+
* @param {string} [institutionId] The institution the mandate was executed against
|
|
1505
|
+
* @param {'MANDATE' | 'SINGLE'} [paymentType] The type of payment
|
|
1506
|
+
* @param {string} [mandateId] The mandate the payment belongs to
|
|
1507
|
+
* @param {string} [currency] The currency the payment is made in
|
|
1508
|
+
* @param {number} [offset] default is 0
|
|
1509
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
1510
|
+
* @param {*} [options] Override http request option.
|
|
1511
|
+
* @throws {RequiredError}
|
|
1512
|
+
*/
|
|
1513
|
+
listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options) {
|
|
1514
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1515
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options);
|
|
1516
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1517
|
+
});
|
|
1518
|
+
},
|
|
1519
|
+
};
|
|
1520
|
+
};
|
|
1521
|
+
/**
|
|
1522
|
+
* DefaultApi - factory interface
|
|
1523
|
+
* @export
|
|
1524
|
+
*/
|
|
1525
|
+
exports.DefaultApiFactory = function (configuration, basePath, axios) {
|
|
1526
|
+
const localVarFp = exports.DefaultApiFp(configuration);
|
|
1527
|
+
return {
|
|
1528
|
+
/**
|
|
1529
|
+
* List mandates
|
|
1530
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
1531
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
1532
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'>} [statuses] The mandate statuses to filter for, comma separated
|
|
1533
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
1534
|
+
* @param {string} [userId] The user_id the mandate was setup for
|
|
1535
|
+
* @param {string} [institutionId] The institution the mandate was executed against
|
|
1536
|
+
* @param {number} [offset] default is 0
|
|
1537
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
1538
|
+
* @param {*} [options] Override http request option.
|
|
1539
|
+
* @throws {RequiredError}
|
|
1540
|
+
*/
|
|
1541
|
+
listMandates(dateFrom, dateTo, statuses, senderType, userId, institutionId, offset, limit, options) {
|
|
1542
|
+
return localVarFp
|
|
1543
|
+
.listMandates(dateFrom, dateTo, statuses, senderType, userId, institutionId, offset, limit, options)
|
|
1544
|
+
.then((request) => request(axios, basePath));
|
|
1545
|
+
},
|
|
1546
|
+
/**
|
|
1547
|
+
* List Payments
|
|
1548
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
1549
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
1550
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>} [statuses] The payment statuses to filter for, comma separated
|
|
1551
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
1552
|
+
* @param {string} [userId] The user_id the mandate was setup for
|
|
1553
|
+
* @param {string} [institutionId] The institution the mandate was executed against
|
|
1554
|
+
* @param {'MANDATE' | 'SINGLE'} [paymentType] The type of payment
|
|
1555
|
+
* @param {string} [mandateId] The mandate the payment belongs to
|
|
1556
|
+
* @param {string} [currency] The currency the payment is made in
|
|
1557
|
+
* @param {number} [offset] default is 0
|
|
1558
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
1559
|
+
* @param {*} [options] Override http request option.
|
|
1560
|
+
* @throws {RequiredError}
|
|
1561
|
+
*/
|
|
1562
|
+
listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options) {
|
|
1563
|
+
return localVarFp
|
|
1564
|
+
.listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options)
|
|
1565
|
+
.then((request) => request(axios, basePath));
|
|
1566
|
+
},
|
|
1567
|
+
};
|
|
1568
|
+
};
|
|
1569
|
+
/**
|
|
1570
|
+
* DefaultApi - object-oriented interface
|
|
1571
|
+
* @export
|
|
1572
|
+
* @class DefaultApi
|
|
1573
|
+
* @extends {BaseAPI}
|
|
1574
|
+
*/
|
|
1575
|
+
class DefaultApi extends base_1.BaseAPI {
|
|
1576
|
+
/**
|
|
1577
|
+
* List mandates
|
|
1578
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
1579
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
1580
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'>} [statuses] The mandate statuses to filter for, comma separated
|
|
1581
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
1582
|
+
* @param {string} [userId] The user_id the mandate was setup for
|
|
1583
|
+
* @param {string} [institutionId] The institution the mandate was executed against
|
|
1584
|
+
* @param {number} [offset] default is 0
|
|
1585
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
1586
|
+
* @param {*} [options] Override http request option.
|
|
1587
|
+
* @throws {RequiredError}
|
|
1588
|
+
* @memberof DefaultApi
|
|
1589
|
+
*/
|
|
1590
|
+
listMandates(dateFrom, dateTo, statuses, senderType, userId, institutionId, offset, limit, options) {
|
|
1591
|
+
return exports.DefaultApiFp(this.configuration)
|
|
1592
|
+
.listMandates(dateFrom, dateTo, statuses, senderType, userId, institutionId, offset, limit, options)
|
|
1593
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1594
|
+
}
|
|
1595
|
+
/**
|
|
1596
|
+
* List Payments
|
|
1597
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
1598
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
1599
|
+
* @param {Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>} [statuses] The payment statuses to filter for, comma separated
|
|
1600
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
1601
|
+
* @param {string} [userId] The user_id the mandate was setup for
|
|
1602
|
+
* @param {string} [institutionId] The institution the mandate was executed against
|
|
1603
|
+
* @param {'MANDATE' | 'SINGLE'} [paymentType] The type of payment
|
|
1604
|
+
* @param {string} [mandateId] The mandate the payment belongs to
|
|
1605
|
+
* @param {string} [currency] The currency the payment is made in
|
|
1606
|
+
* @param {number} [offset] default is 0
|
|
1607
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
1608
|
+
* @param {*} [options] Override http request option.
|
|
1609
|
+
* @throws {RequiredError}
|
|
1610
|
+
* @memberof DefaultApi
|
|
1611
|
+
*/
|
|
1612
|
+
listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options) {
|
|
1613
|
+
return exports.DefaultApiFp(this.configuration)
|
|
1614
|
+
.listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options)
|
|
1615
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1616
|
+
}
|
|
1617
|
+
}
|
|
1618
|
+
exports.DefaultApi = DefaultApi;
|
|
1329
1619
|
/**
|
|
1330
1620
|
* LinkApi - axios parameter creator
|
|
1331
1621
|
* @export
|