@finverse/sdk-typescript 0.0.76 → 0.0.78
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 +219 -33
- package/dist/api.js +291 -19
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -683,12 +683,6 @@ export interface CreateMandateResponse {
|
|
|
683
683
|
* @memberof CreateMandateResponse
|
|
684
684
|
*/
|
|
685
685
|
mandate_id: string;
|
|
686
|
-
/**
|
|
687
|
-
* Mandate status (deprecated)
|
|
688
|
-
* @type {string}
|
|
689
|
-
* @memberof CreateMandateResponse
|
|
690
|
-
*/
|
|
691
|
-
mandate_status: CreateMandateResponseMandateStatusEnum;
|
|
692
686
|
/**
|
|
693
687
|
* Mandate status
|
|
694
688
|
* @type {string}
|
|
@@ -720,16 +714,6 @@ export interface CreateMandateResponse {
|
|
|
720
714
|
*/
|
|
721
715
|
error?: FvErrorModel;
|
|
722
716
|
}
|
|
723
|
-
export declare const CreateMandateResponseMandateStatusEnum: {
|
|
724
|
-
readonly AuthorizationRequired: "AUTHORIZATION_REQUIRED";
|
|
725
|
-
readonly Authorizing: "AUTHORIZING";
|
|
726
|
-
readonly Processing: "PROCESSING";
|
|
727
|
-
readonly Submitted: "SUBMITTED";
|
|
728
|
-
readonly Succeeded: "SUCCEEDED";
|
|
729
|
-
readonly Failed: "FAILED";
|
|
730
|
-
readonly Revoked: "REVOKED";
|
|
731
|
-
};
|
|
732
|
-
export declare type CreateMandateResponseMandateStatusEnum = typeof CreateMandateResponseMandateStatusEnum[keyof typeof CreateMandateResponseMandateStatusEnum];
|
|
733
717
|
export declare const CreateMandateResponseStatusEnum: {
|
|
734
718
|
readonly AuthorizationRequired: "AUTHORIZATION_REQUIRED";
|
|
735
719
|
readonly Authorizing: "AUTHORIZING";
|
|
@@ -1425,13 +1409,7 @@ export interface GetMandateResponse {
|
|
|
1425
1409
|
*/
|
|
1426
1410
|
mandate_id: string;
|
|
1427
1411
|
/**
|
|
1428
|
-
* Mandate
|
|
1429
|
-
* @type {string}
|
|
1430
|
-
* @memberof GetMandateResponse
|
|
1431
|
-
*/
|
|
1432
|
-
mandate_status: GetMandateResponseMandateStatusEnum;
|
|
1433
|
-
/**
|
|
1434
|
-
* Mandate status
|
|
1412
|
+
* Mandate Status
|
|
1435
1413
|
* @type {string}
|
|
1436
1414
|
* @memberof GetMandateResponse
|
|
1437
1415
|
*/
|
|
@@ -1461,16 +1439,6 @@ export interface GetMandateResponse {
|
|
|
1461
1439
|
*/
|
|
1462
1440
|
error?: FvErrorModel;
|
|
1463
1441
|
}
|
|
1464
|
-
export declare const GetMandateResponseMandateStatusEnum: {
|
|
1465
|
-
readonly AuthorizationRequired: "AUTHORIZATION_REQUIRED";
|
|
1466
|
-
readonly Authorizing: "AUTHORIZING";
|
|
1467
|
-
readonly Processing: "PROCESSING";
|
|
1468
|
-
readonly Submitted: "SUBMITTED";
|
|
1469
|
-
readonly Succeeded: "SUCCEEDED";
|
|
1470
|
-
readonly Failed: "FAILED";
|
|
1471
|
-
readonly Revoked: "REVOKED";
|
|
1472
|
-
};
|
|
1473
|
-
export declare type GetMandateResponseMandateStatusEnum = typeof GetMandateResponseMandateStatusEnum[keyof typeof GetMandateResponseMandateStatusEnum];
|
|
1474
1442
|
export declare const GetMandateResponseStatusEnum: {
|
|
1475
1443
|
readonly AuthorizationRequired: "AUTHORIZATION_REQUIRED";
|
|
1476
1444
|
readonly Authorizing: "AUTHORIZING";
|
|
@@ -2599,6 +2567,32 @@ export interface ListAccountsResponse {
|
|
|
2599
2567
|
*/
|
|
2600
2568
|
institution?: InstitutionShort;
|
|
2601
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
|
+
*
|
|
2585
|
+
* @export
|
|
2586
|
+
* @interface ListPaymentsResponse
|
|
2587
|
+
*/
|
|
2588
|
+
export interface ListPaymentsResponse {
|
|
2589
|
+
/**
|
|
2590
|
+
*
|
|
2591
|
+
* @type {Array<PaymentResponse>}
|
|
2592
|
+
* @memberof ListPaymentsResponse
|
|
2593
|
+
*/
|
|
2594
|
+
payments?: Array<PaymentResponse>;
|
|
2595
|
+
}
|
|
2602
2596
|
/**
|
|
2603
2597
|
*
|
|
2604
2598
|
* @export
|
|
@@ -4937,6 +4931,198 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
4937
4931
|
*/
|
|
4938
4932
|
submitAuthChecklist(submitAuthChecklistRequest: SubmitAuthChecklistRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SubmitAuthChecklistResponse>>;
|
|
4939
4933
|
}
|
|
4934
|
+
/**
|
|
4935
|
+
* DefaultApi - axios parameter creator
|
|
4936
|
+
* @export
|
|
4937
|
+
*/
|
|
4938
|
+
export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4939
|
+
/**
|
|
4940
|
+
* List mandates
|
|
4941
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
4942
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
4943
|
+
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'} [status] The mandate status to query for
|
|
4944
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
4945
|
+
* @param {string} [userId] The user_id the mandate was setup for
|
|
4946
|
+
* @param {string} [institutionId] The institution the mandate was executed against
|
|
4947
|
+
* @param {number} [offset] default is 0
|
|
4948
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
4949
|
+
* @param {*} [options] Override http request option.
|
|
4950
|
+
* @throws {RequiredError}
|
|
4951
|
+
*/
|
|
4952
|
+
listMandates: (dateFrom?: string, dateTo?: string, status?: 'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED', senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, offset?: number, limit?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4953
|
+
/**
|
|
4954
|
+
* List Payments
|
|
4955
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
4956
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
4957
|
+
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'} [status] The payment status to query for
|
|
4958
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
4959
|
+
* @param {string} [userId] The user_id the mandate was setup for
|
|
4960
|
+
* @param {string} [institutionId] The institution the mandate was executed against
|
|
4961
|
+
* @param {string} [paymentType] The type of payment
|
|
4962
|
+
* @param {string} [mandateId] The mandate the payment belongs to
|
|
4963
|
+
* @param {string} [currency] The currency the payment is made in
|
|
4964
|
+
* @param {number} [offset] default is 0
|
|
4965
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
4966
|
+
* @param {*} [options] Override http request option.
|
|
4967
|
+
* @throws {RequiredError}
|
|
4968
|
+
*/
|
|
4969
|
+
listPayments: (dateFrom?: string, dateTo?: string, status?: 'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED', senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: string, mandateId?: string, currency?: string, offset?: number, limit?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
4970
|
+
};
|
|
4971
|
+
/**
|
|
4972
|
+
* DefaultApi - functional programming interface
|
|
4973
|
+
* @export
|
|
4974
|
+
*/
|
|
4975
|
+
export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
4976
|
+
/**
|
|
4977
|
+
* List mandates
|
|
4978
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
4979
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
4980
|
+
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'} [status] The mandate status to query for
|
|
4981
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
4982
|
+
* @param {string} [userId] The user_id the mandate was setup for
|
|
4983
|
+
* @param {string} [institutionId] The institution the mandate was executed against
|
|
4984
|
+
* @param {number} [offset] default is 0
|
|
4985
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
4986
|
+
* @param {*} [options] Override http request option.
|
|
4987
|
+
* @throws {RequiredError}
|
|
4988
|
+
*/
|
|
4989
|
+
listMandates(dateFrom?: string, dateTo?: string, status?: '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
|
+
/**
|
|
4991
|
+
* List Payments
|
|
4992
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
4993
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
4994
|
+
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'} [status] The payment status to query for
|
|
4995
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
4996
|
+
* @param {string} [userId] The user_id the mandate was setup for
|
|
4997
|
+
* @param {string} [institutionId] The institution the mandate was executed against
|
|
4998
|
+
* @param {string} [paymentType] The type of payment
|
|
4999
|
+
* @param {string} [mandateId] The mandate the payment belongs to
|
|
5000
|
+
* @param {string} [currency] The currency the payment is made in
|
|
5001
|
+
* @param {number} [offset] default is 0
|
|
5002
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
5003
|
+
* @param {*} [options] Override http request option.
|
|
5004
|
+
* @throws {RequiredError}
|
|
5005
|
+
*/
|
|
5006
|
+
listPayments(dateFrom?: string, dateTo?: string, status?: 'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED', senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: string, mandateId?: string, currency?: string, offset?: number, limit?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentsResponse>>;
|
|
5007
|
+
};
|
|
5008
|
+
/**
|
|
5009
|
+
* DefaultApi - factory interface
|
|
5010
|
+
* @export
|
|
5011
|
+
*/
|
|
5012
|
+
export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5013
|
+
/**
|
|
5014
|
+
* List mandates
|
|
5015
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
5016
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
5017
|
+
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'} [status] The mandate status to query for
|
|
5018
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
5019
|
+
* @param {string} [userId] The user_id the mandate was setup for
|
|
5020
|
+
* @param {string} [institutionId] The institution the mandate was executed against
|
|
5021
|
+
* @param {number} [offset] default is 0
|
|
5022
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
5023
|
+
* @param {*} [options] Override http request option.
|
|
5024
|
+
* @throws {RequiredError}
|
|
5025
|
+
*/
|
|
5026
|
+
listMandates(dateFrom?: string, dateTo?: string, status?: 'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED', senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, offset?: number, limit?: number, options?: any): AxiosPromise<ListMandatesResponse>;
|
|
5027
|
+
/**
|
|
5028
|
+
* List Payments
|
|
5029
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
5030
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
5031
|
+
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'} [status] The payment status to query for
|
|
5032
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
5033
|
+
* @param {string} [userId] The user_id the mandate was setup for
|
|
5034
|
+
* @param {string} [institutionId] The institution the mandate was executed against
|
|
5035
|
+
* @param {string} [paymentType] The type of payment
|
|
5036
|
+
* @param {string} [mandateId] The mandate the payment belongs to
|
|
5037
|
+
* @param {string} [currency] The currency the payment is made in
|
|
5038
|
+
* @param {number} [offset] default is 0
|
|
5039
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
5040
|
+
* @param {*} [options] Override http request option.
|
|
5041
|
+
* @throws {RequiredError}
|
|
5042
|
+
*/
|
|
5043
|
+
listPayments(dateFrom?: string, dateTo?: string, status?: 'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED', senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: string, mandateId?: string, currency?: string, offset?: number, limit?: number, options?: any): AxiosPromise<ListPaymentsResponse>;
|
|
5044
|
+
};
|
|
5045
|
+
/**
|
|
5046
|
+
* DefaultApi - interface
|
|
5047
|
+
* @export
|
|
5048
|
+
* @interface DefaultApi
|
|
5049
|
+
*/
|
|
5050
|
+
export interface DefaultApiInterface {
|
|
5051
|
+
/**
|
|
5052
|
+
* List mandates
|
|
5053
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
5054
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
5055
|
+
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'} [status] The mandate status to query for
|
|
5056
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
5057
|
+
* @param {string} [userId] The user_id the mandate was setup for
|
|
5058
|
+
* @param {string} [institutionId] The institution the mandate was executed against
|
|
5059
|
+
* @param {number} [offset] default is 0
|
|
5060
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
5061
|
+
* @param {*} [options] Override http request option.
|
|
5062
|
+
* @throws {RequiredError}
|
|
5063
|
+
* @memberof DefaultApiInterface
|
|
5064
|
+
*/
|
|
5065
|
+
listMandates(dateFrom?: string, dateTo?: string, status?: 'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED', senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, offset?: number, limit?: number, options?: AxiosRequestConfig): AxiosPromise<ListMandatesResponse>;
|
|
5066
|
+
/**
|
|
5067
|
+
* List Payments
|
|
5068
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
5069
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
5070
|
+
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'} [status] The payment status to query for
|
|
5071
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
5072
|
+
* @param {string} [userId] The user_id the mandate was setup for
|
|
5073
|
+
* @param {string} [institutionId] The institution the mandate was executed against
|
|
5074
|
+
* @param {string} [paymentType] The type of payment
|
|
5075
|
+
* @param {string} [mandateId] The mandate the payment belongs to
|
|
5076
|
+
* @param {string} [currency] The currency the payment is made in
|
|
5077
|
+
* @param {number} [offset] default is 0
|
|
5078
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
5079
|
+
* @param {*} [options] Override http request option.
|
|
5080
|
+
* @throws {RequiredError}
|
|
5081
|
+
* @memberof DefaultApiInterface
|
|
5082
|
+
*/
|
|
5083
|
+
listPayments(dateFrom?: string, dateTo?: string, status?: 'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED', senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: string, mandateId?: string, currency?: string, offset?: number, limit?: number, options?: AxiosRequestConfig): AxiosPromise<ListPaymentsResponse>;
|
|
5084
|
+
}
|
|
5085
|
+
/**
|
|
5086
|
+
* DefaultApi - object-oriented interface
|
|
5087
|
+
* @export
|
|
5088
|
+
* @class DefaultApi
|
|
5089
|
+
* @extends {BaseAPI}
|
|
5090
|
+
*/
|
|
5091
|
+
export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
5092
|
+
/**
|
|
5093
|
+
* List mandates
|
|
5094
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
5095
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
5096
|
+
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'} [status] The mandate status to query for
|
|
5097
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
5098
|
+
* @param {string} [userId] The user_id the mandate was setup for
|
|
5099
|
+
* @param {string} [institutionId] The institution the mandate was executed against
|
|
5100
|
+
* @param {number} [offset] default is 0
|
|
5101
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
5102
|
+
* @param {*} [options] Override http request option.
|
|
5103
|
+
* @throws {RequiredError}
|
|
5104
|
+
* @memberof DefaultApi
|
|
5105
|
+
*/
|
|
5106
|
+
listMandates(dateFrom?: string, dateTo?: string, status?: '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
|
+
/**
|
|
5108
|
+
* List Payments
|
|
5109
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
5110
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
5111
|
+
* @param {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'} [status] The payment status to query for
|
|
5112
|
+
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
5113
|
+
* @param {string} [userId] The user_id the mandate was setup for
|
|
5114
|
+
* @param {string} [institutionId] The institution the mandate was executed against
|
|
5115
|
+
* @param {string} [paymentType] The type of payment
|
|
5116
|
+
* @param {string} [mandateId] The mandate the payment belongs to
|
|
5117
|
+
* @param {string} [currency] The currency the payment is made in
|
|
5118
|
+
* @param {number} [offset] default is 0
|
|
5119
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
5120
|
+
* @param {*} [options] Override http request option.
|
|
5121
|
+
* @throws {RequiredError}
|
|
5122
|
+
* @memberof DefaultApi
|
|
5123
|
+
*/
|
|
5124
|
+
listPayments(dateFrom?: string, dateTo?: string, status?: 'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED', senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: string, mandateId?: string, currency?: string, offset?: number, limit?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentsResponse>>;
|
|
5125
|
+
}
|
|
4940
5126
|
/**
|
|
4941
5127
|
* LinkApi - axios parameter creator
|
|
4942
5128
|
* @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.
|
|
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
|
|
@@ -75,15 +75,6 @@ exports.BadRequestModelV2ErrorTypeEnum = {
|
|
|
75
75
|
LinkError: 'LINK_ERROR',
|
|
76
76
|
ApiError: 'API_ERROR',
|
|
77
77
|
};
|
|
78
|
-
exports.CreateMandateResponseMandateStatusEnum = {
|
|
79
|
-
AuthorizationRequired: 'AUTHORIZATION_REQUIRED',
|
|
80
|
-
Authorizing: 'AUTHORIZING',
|
|
81
|
-
Processing: 'PROCESSING',
|
|
82
|
-
Submitted: 'SUBMITTED',
|
|
83
|
-
Succeeded: 'SUCCEEDED',
|
|
84
|
-
Failed: 'FAILED',
|
|
85
|
-
Revoked: 'REVOKED',
|
|
86
|
-
};
|
|
87
78
|
exports.CreateMandateResponseStatusEnum = {
|
|
88
79
|
AuthorizationRequired: 'AUTHORIZATION_REQUIRED',
|
|
89
80
|
Authorizing: 'AUTHORIZING',
|
|
@@ -125,15 +116,6 @@ exports.GetMandateAuthResponseSenderTypeEnum = {
|
|
|
125
116
|
Individual: 'INDIVIDUAL',
|
|
126
117
|
Business: 'BUSINESS',
|
|
127
118
|
};
|
|
128
|
-
exports.GetMandateResponseMandateStatusEnum = {
|
|
129
|
-
AuthorizationRequired: 'AUTHORIZATION_REQUIRED',
|
|
130
|
-
Authorizing: 'AUTHORIZING',
|
|
131
|
-
Processing: 'PROCESSING',
|
|
132
|
-
Submitted: 'SUBMITTED',
|
|
133
|
-
Succeeded: 'SUCCEEDED',
|
|
134
|
-
Failed: 'FAILED',
|
|
135
|
-
Revoked: 'REVOKED',
|
|
136
|
-
};
|
|
137
119
|
exports.GetMandateResponseStatusEnum = {
|
|
138
120
|
AuthorizationRequired: 'AUTHORIZATION_REQUIRED',
|
|
139
121
|
Authorizing: 'AUTHORIZING',
|
|
@@ -1344,6 +1326,296 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
1344
1326
|
}
|
|
1345
1327
|
}
|
|
1346
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 {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'} [status] The mandate status to query for
|
|
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, status, 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 (status !== undefined) {
|
|
1371
|
+
localVarQueryParameter['status'] = status;
|
|
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 {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'} [status] The payment status to query for
|
|
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 {string} [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, status, 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 (status !== undefined) {
|
|
1435
|
+
localVarQueryParameter['status'] = status;
|
|
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 {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'} [status] The mandate status to query for
|
|
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, status, senderType, userId, institutionId, offset, limit, options) {
|
|
1492
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1493
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listMandates(dateFrom, dateTo, status, 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 {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'} [status] The payment status to query for
|
|
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 {string} [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, status, 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, status, 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 {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'} [status] The mandate status to query for
|
|
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, status, senderType, userId, institutionId, offset, limit, options) {
|
|
1542
|
+
return localVarFp
|
|
1543
|
+
.listMandates(dateFrom, dateTo, status, 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 {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'} [status] The payment status to query for
|
|
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 {string} [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, status, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options) {
|
|
1563
|
+
return localVarFp
|
|
1564
|
+
.listPayments(dateFrom, dateTo, status, 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 {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'SUCCEEDED' | 'FAILED' | 'REVOKED'} [status] The mandate status to query for
|
|
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, status, senderType, userId, institutionId, offset, limit, options) {
|
|
1591
|
+
return exports.DefaultApiFp(this.configuration)
|
|
1592
|
+
.listMandates(dateFrom, dateTo, status, 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 {'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'} [status] The payment status to query for
|
|
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 {string} [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, status, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options) {
|
|
1613
|
+
return exports.DefaultApiFp(this.configuration)
|
|
1614
|
+
.listPayments(dateFrom, dateTo, status, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options)
|
|
1615
|
+
.then((request) => request(this.axios, this.basePath));
|
|
1616
|
+
}
|
|
1617
|
+
}
|
|
1618
|
+
exports.DefaultApi = DefaultApi;
|
|
1347
1619
|
/**
|
|
1348
1620
|
* LinkApi - axios parameter creator
|
|
1349
1621
|
* @export
|