@finverse/sdk-typescript 0.0.293 → 0.0.295
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 +170 -2
- package/dist/api.js +191 -3
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -2081,7 +2081,32 @@ export interface FVCardDetails {
|
|
|
2081
2081
|
* @memberof FVCardDetails
|
|
2082
2082
|
*/
|
|
2083
2083
|
collection_entity_name?: string;
|
|
2084
|
+
/**
|
|
2085
|
+
*
|
|
2086
|
+
* @type {string}
|
|
2087
|
+
* @memberof FVCardDetails
|
|
2088
|
+
*/
|
|
2089
|
+
country?: string;
|
|
2090
|
+
/**
|
|
2091
|
+
*
|
|
2092
|
+
* @type {string}
|
|
2093
|
+
* @memberof FVCardDetails
|
|
2094
|
+
*/
|
|
2095
|
+
fingerprint?: string;
|
|
2096
|
+
/**
|
|
2097
|
+
*
|
|
2098
|
+
* @type {string}
|
|
2099
|
+
* @memberof FVCardDetails
|
|
2100
|
+
*/
|
|
2101
|
+
funding?: FVCardDetailsFundingEnum;
|
|
2084
2102
|
}
|
|
2103
|
+
export declare const FVCardDetailsFundingEnum: {
|
|
2104
|
+
readonly Unknown: "UNKNOWN";
|
|
2105
|
+
readonly Credit: "CREDIT";
|
|
2106
|
+
readonly Debit: "DEBIT";
|
|
2107
|
+
readonly Prepaid: "PREPAID";
|
|
2108
|
+
};
|
|
2109
|
+
export type FVCardDetailsFundingEnum = (typeof FVCardDetailsFundingEnum)[keyof typeof FVCardDetailsFundingEnum];
|
|
2085
2110
|
/**
|
|
2086
2111
|
*
|
|
2087
2112
|
* @export
|
|
@@ -4052,6 +4077,19 @@ export interface ListPaymentsResponse {
|
|
|
4052
4077
|
*/
|
|
4053
4078
|
total_payments: number;
|
|
4054
4079
|
}
|
|
4080
|
+
/**
|
|
4081
|
+
*
|
|
4082
|
+
* @export
|
|
4083
|
+
* @interface ListPayoutsResponse
|
|
4084
|
+
*/
|
|
4085
|
+
export interface ListPayoutsResponse {
|
|
4086
|
+
/**
|
|
4087
|
+
*
|
|
4088
|
+
* @type {Array<PayoutSnapshotResponse>}
|
|
4089
|
+
* @memberof ListPayoutsResponse
|
|
4090
|
+
*/
|
|
4091
|
+
payouts: Array<PayoutSnapshotResponse>;
|
|
4092
|
+
}
|
|
4055
4093
|
/**
|
|
4056
4094
|
*
|
|
4057
4095
|
* @export
|
|
@@ -6462,13 +6500,13 @@ export interface PayoutSnapshotResponse {
|
|
|
6462
6500
|
* @type {string}
|
|
6463
6501
|
* @memberof PayoutSnapshotResponse
|
|
6464
6502
|
*/
|
|
6465
|
-
status?:
|
|
6503
|
+
status?: PayoutSnapshotResponseStatusEnum;
|
|
6466
6504
|
/**
|
|
6467
6505
|
*
|
|
6468
6506
|
* @type {string}
|
|
6469
6507
|
* @memberof PayoutSnapshotResponse
|
|
6470
6508
|
*/
|
|
6471
|
-
type?:
|
|
6509
|
+
type?: PayoutSnapshotResponseTypeEnum;
|
|
6472
6510
|
/**
|
|
6473
6511
|
*
|
|
6474
6512
|
* @type {string}
|
|
@@ -6556,6 +6594,22 @@ export interface PayoutSnapshotResponse {
|
|
|
6556
6594
|
*/
|
|
6557
6595
|
error?: FvEmbeddedErrorModel;
|
|
6558
6596
|
}
|
|
6597
|
+
export declare const PayoutSnapshotResponseStatusEnum: {
|
|
6598
|
+
readonly Executed: "EXECUTED";
|
|
6599
|
+
readonly Created: "CREATED";
|
|
6600
|
+
readonly Processing: "PROCESSING";
|
|
6601
|
+
readonly ProcessingFunds: "PROCESSING_FUNDS";
|
|
6602
|
+
readonly Cancelled: "CANCELLED";
|
|
6603
|
+
readonly Failed: "FAILED";
|
|
6604
|
+
readonly Funded: "FUNDED";
|
|
6605
|
+
readonly Submitted: "SUBMITTED";
|
|
6606
|
+
};
|
|
6607
|
+
export type PayoutSnapshotResponseStatusEnum = (typeof PayoutSnapshotResponseStatusEnum)[keyof typeof PayoutSnapshotResponseStatusEnum];
|
|
6608
|
+
export declare const PayoutSnapshotResponseTypeEnum: {
|
|
6609
|
+
readonly Manual: "MANUAL";
|
|
6610
|
+
readonly Scheduled: "SCHEDULED";
|
|
6611
|
+
};
|
|
6612
|
+
export type PayoutSnapshotResponseTypeEnum = (typeof PayoutSnapshotResponseTypeEnum)[keyof typeof PayoutSnapshotResponseTypeEnum];
|
|
6559
6613
|
/**
|
|
6560
6614
|
*
|
|
6561
6615
|
* @export
|
|
@@ -9005,6 +9059,24 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
9005
9059
|
* @throws {RequiredError}
|
|
9006
9060
|
*/
|
|
9007
9061
|
listPayments: (dateFrom?: string, dateTo?: string, statuses?: Array<ListPaymentsStatusesEnum>, senderType?: ListPaymentsSenderTypeEnum, userId?: string, institutionId?: string, paymentType?: ListPaymentsPaymentTypeEnum, paymentTypes?: Array<ListPaymentsPaymentTypesEnum>, mandateId?: string, currency?: string, currencies?: Array<string>, offset?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9062
|
+
/**
|
|
9063
|
+
* List payouts
|
|
9064
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
9065
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
9066
|
+
* @param {Array<ListPayoutsStatusesEnum>} [statuses] The payout statuses to filter for, comma separated
|
|
9067
|
+
* @param {Array<string>} [currencies]
|
|
9068
|
+
* @param {Array<ListPayoutsPayoutTypesEnum>} [payoutTypes]
|
|
9069
|
+
* @param {string} [mandateId]
|
|
9070
|
+
* @param {string} [senderAccountId]
|
|
9071
|
+
* @param {string} [recipientAccountId]
|
|
9072
|
+
* @param {string} [recipientUserId]
|
|
9073
|
+
* @param {string} [recipientExternalUserId]
|
|
9074
|
+
* @param {number} [offset] Default is 0
|
|
9075
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
9076
|
+
* @param {*} [options] Override http request option.
|
|
9077
|
+
* @throws {RequiredError}
|
|
9078
|
+
*/
|
|
9079
|
+
listPayouts: (dateFrom?: string, dateTo?: string, statuses?: Array<ListPayoutsStatusesEnum>, currencies?: Array<string>, payoutTypes?: Array<ListPayoutsPayoutTypesEnum>, mandateId?: string, senderAccountId?: string, recipientAccountId?: string, recipientUserId?: string, recipientExternalUserId?: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9008
9080
|
/**
|
|
9009
9081
|
* Refresh payment attempt from payment link front-end
|
|
9010
9082
|
* @param {*} [options] Override http request option.
|
|
@@ -9235,6 +9307,24 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
9235
9307
|
* @throws {RequiredError}
|
|
9236
9308
|
*/
|
|
9237
9309
|
listPayments(dateFrom?: string, dateTo?: string, statuses?: Array<ListPaymentsStatusesEnum>, senderType?: ListPaymentsSenderTypeEnum, userId?: string, institutionId?: string, paymentType?: ListPaymentsPaymentTypeEnum, paymentTypes?: Array<ListPaymentsPaymentTypesEnum>, mandateId?: string, currency?: string, currencies?: Array<string>, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentsResponse>>;
|
|
9310
|
+
/**
|
|
9311
|
+
* List payouts
|
|
9312
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
9313
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
9314
|
+
* @param {Array<ListPayoutsStatusesEnum>} [statuses] The payout statuses to filter for, comma separated
|
|
9315
|
+
* @param {Array<string>} [currencies]
|
|
9316
|
+
* @param {Array<ListPayoutsPayoutTypesEnum>} [payoutTypes]
|
|
9317
|
+
* @param {string} [mandateId]
|
|
9318
|
+
* @param {string} [senderAccountId]
|
|
9319
|
+
* @param {string} [recipientAccountId]
|
|
9320
|
+
* @param {string} [recipientUserId]
|
|
9321
|
+
* @param {string} [recipientExternalUserId]
|
|
9322
|
+
* @param {number} [offset] Default is 0
|
|
9323
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
9324
|
+
* @param {*} [options] Override http request option.
|
|
9325
|
+
* @throws {RequiredError}
|
|
9326
|
+
*/
|
|
9327
|
+
listPayouts(dateFrom?: string, dateTo?: string, statuses?: Array<ListPayoutsStatusesEnum>, currencies?: Array<string>, payoutTypes?: Array<ListPayoutsPayoutTypesEnum>, mandateId?: string, senderAccountId?: string, recipientAccountId?: string, recipientUserId?: string, recipientExternalUserId?: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPayoutsResponse>>;
|
|
9238
9328
|
/**
|
|
9239
9329
|
* Refresh payment attempt from payment link front-end
|
|
9240
9330
|
* @param {*} [options] Override http request option.
|
|
@@ -9465,6 +9555,24 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
9465
9555
|
* @throws {RequiredError}
|
|
9466
9556
|
*/
|
|
9467
9557
|
listPayments(dateFrom?: string, dateTo?: string, statuses?: Array<ListPaymentsStatusesEnum>, senderType?: ListPaymentsSenderTypeEnum, userId?: string, institutionId?: string, paymentType?: ListPaymentsPaymentTypeEnum, paymentTypes?: Array<ListPaymentsPaymentTypesEnum>, mandateId?: string, currency?: string, currencies?: Array<string>, offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ListPaymentsResponse>;
|
|
9558
|
+
/**
|
|
9559
|
+
* List payouts
|
|
9560
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
9561
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
9562
|
+
* @param {Array<ListPayoutsStatusesEnum>} [statuses] The payout statuses to filter for, comma separated
|
|
9563
|
+
* @param {Array<string>} [currencies]
|
|
9564
|
+
* @param {Array<ListPayoutsPayoutTypesEnum>} [payoutTypes]
|
|
9565
|
+
* @param {string} [mandateId]
|
|
9566
|
+
* @param {string} [senderAccountId]
|
|
9567
|
+
* @param {string} [recipientAccountId]
|
|
9568
|
+
* @param {string} [recipientUserId]
|
|
9569
|
+
* @param {string} [recipientExternalUserId]
|
|
9570
|
+
* @param {number} [offset] Default is 0
|
|
9571
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
9572
|
+
* @param {*} [options] Override http request option.
|
|
9573
|
+
* @throws {RequiredError}
|
|
9574
|
+
*/
|
|
9575
|
+
listPayouts(dateFrom?: string, dateTo?: string, statuses?: Array<ListPayoutsStatusesEnum>, currencies?: Array<string>, payoutTypes?: Array<ListPayoutsPayoutTypesEnum>, mandateId?: string, senderAccountId?: string, recipientAccountId?: string, recipientUserId?: string, recipientExternalUserId?: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ListPayoutsResponse>;
|
|
9468
9576
|
/**
|
|
9469
9577
|
* Refresh payment attempt from payment link front-end
|
|
9470
9578
|
* @param {*} [options] Override http request option.
|
|
@@ -9721,6 +9829,25 @@ export interface DefaultApiInterface {
|
|
|
9721
9829
|
* @memberof DefaultApiInterface
|
|
9722
9830
|
*/
|
|
9723
9831
|
listPayments(dateFrom?: string, dateTo?: string, statuses?: Array<ListPaymentsStatusesEnum>, senderType?: ListPaymentsSenderTypeEnum, userId?: string, institutionId?: string, paymentType?: ListPaymentsPaymentTypeEnum, paymentTypes?: Array<ListPaymentsPaymentTypesEnum>, mandateId?: string, currency?: string, currencies?: Array<string>, offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ListPaymentsResponse>;
|
|
9832
|
+
/**
|
|
9833
|
+
* List payouts
|
|
9834
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
9835
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
9836
|
+
* @param {Array<ListPayoutsStatusesEnum>} [statuses] The payout statuses to filter for, comma separated
|
|
9837
|
+
* @param {Array<string>} [currencies]
|
|
9838
|
+
* @param {Array<ListPayoutsPayoutTypesEnum>} [payoutTypes]
|
|
9839
|
+
* @param {string} [mandateId]
|
|
9840
|
+
* @param {string} [senderAccountId]
|
|
9841
|
+
* @param {string} [recipientAccountId]
|
|
9842
|
+
* @param {string} [recipientUserId]
|
|
9843
|
+
* @param {string} [recipientExternalUserId]
|
|
9844
|
+
* @param {number} [offset] Default is 0
|
|
9845
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
9846
|
+
* @param {*} [options] Override http request option.
|
|
9847
|
+
* @throws {RequiredError}
|
|
9848
|
+
* @memberof DefaultApiInterface
|
|
9849
|
+
*/
|
|
9850
|
+
listPayouts(dateFrom?: string, dateTo?: string, statuses?: Array<ListPayoutsStatusesEnum>, currencies?: Array<string>, payoutTypes?: Array<ListPayoutsPayoutTypesEnum>, mandateId?: string, senderAccountId?: string, recipientAccountId?: string, recipientUserId?: string, recipientExternalUserId?: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ListPayoutsResponse>;
|
|
9724
9851
|
/**
|
|
9725
9852
|
* Refresh payment attempt from payment link front-end
|
|
9726
9853
|
* @param {*} [options] Override http request option.
|
|
@@ -9982,6 +10109,25 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
9982
10109
|
* @memberof DefaultApi
|
|
9983
10110
|
*/
|
|
9984
10111
|
listPayments(dateFrom?: string, dateTo?: string, statuses?: Array<ListPaymentsStatusesEnum>, senderType?: ListPaymentsSenderTypeEnum, userId?: string, institutionId?: string, paymentType?: ListPaymentsPaymentTypeEnum, paymentTypes?: Array<ListPaymentsPaymentTypesEnum>, mandateId?: string, currency?: string, currencies?: Array<string>, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentsResponse, any>>;
|
|
10112
|
+
/**
|
|
10113
|
+
* List payouts
|
|
10114
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
10115
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
10116
|
+
* @param {Array<ListPayoutsStatusesEnum>} [statuses] The payout statuses to filter for, comma separated
|
|
10117
|
+
* @param {Array<string>} [currencies]
|
|
10118
|
+
* @param {Array<ListPayoutsPayoutTypesEnum>} [payoutTypes]
|
|
10119
|
+
* @param {string} [mandateId]
|
|
10120
|
+
* @param {string} [senderAccountId]
|
|
10121
|
+
* @param {string} [recipientAccountId]
|
|
10122
|
+
* @param {string} [recipientUserId]
|
|
10123
|
+
* @param {string} [recipientExternalUserId]
|
|
10124
|
+
* @param {number} [offset] Default is 0
|
|
10125
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
10126
|
+
* @param {*} [options] Override http request option.
|
|
10127
|
+
* @throws {RequiredError}
|
|
10128
|
+
* @memberof DefaultApi
|
|
10129
|
+
*/
|
|
10130
|
+
listPayouts(dateFrom?: string, dateTo?: string, statuses?: Array<ListPayoutsStatusesEnum>, currencies?: Array<string>, payoutTypes?: Array<ListPayoutsPayoutTypesEnum>, mandateId?: string, senderAccountId?: string, recipientAccountId?: string, recipientUserId?: string, recipientExternalUserId?: string, offset?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPayoutsResponse, any>>;
|
|
9985
10131
|
/**
|
|
9986
10132
|
* Refresh payment attempt from payment link front-end
|
|
9987
10133
|
* @param {*} [options] Override http request option.
|
|
@@ -10097,6 +10243,28 @@ export declare const ListPaymentsPaymentTypesEnum: {
|
|
|
10097
10243
|
readonly Manual: "MANUAL";
|
|
10098
10244
|
};
|
|
10099
10245
|
export type ListPaymentsPaymentTypesEnum = (typeof ListPaymentsPaymentTypesEnum)[keyof typeof ListPaymentsPaymentTypesEnum];
|
|
10246
|
+
/**
|
|
10247
|
+
* @export
|
|
10248
|
+
*/
|
|
10249
|
+
export declare const ListPayoutsStatusesEnum: {
|
|
10250
|
+
readonly Executed: "EXECUTED";
|
|
10251
|
+
readonly Created: "CREATED";
|
|
10252
|
+
readonly Processing: "PROCESSING";
|
|
10253
|
+
readonly ProcessingFunds: "PROCESSING_FUNDS";
|
|
10254
|
+
readonly Cancelled: "CANCELLED";
|
|
10255
|
+
readonly Failed: "FAILED";
|
|
10256
|
+
readonly Funded: "FUNDED";
|
|
10257
|
+
readonly Submitted: "SUBMITTED";
|
|
10258
|
+
};
|
|
10259
|
+
export type ListPayoutsStatusesEnum = (typeof ListPayoutsStatusesEnum)[keyof typeof ListPayoutsStatusesEnum];
|
|
10260
|
+
/**
|
|
10261
|
+
* @export
|
|
10262
|
+
*/
|
|
10263
|
+
export declare const ListPayoutsPayoutTypesEnum: {
|
|
10264
|
+
readonly Manual: "MANUAL";
|
|
10265
|
+
readonly Scheduled: "SCHEDULED";
|
|
10266
|
+
};
|
|
10267
|
+
export type ListPayoutsPayoutTypesEnum = (typeof ListPayoutsPayoutTypesEnum)[keyof typeof ListPayoutsPayoutTypesEnum];
|
|
10100
10268
|
/**
|
|
10101
10269
|
* LinkApi - axios parameter creator
|
|
10102
10270
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -22,9 +22,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.GetBalanceHistorySourceEnum = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = void 0;
|
|
25
|
+
exports.PaymentAccountDetailsAccountTypeEnum = exports.ManualPaymentConfirmationResponseStatusEnum = exports.MandateSenderAccountAccountTypeEnum = exports.MandateRecipientAccountAccountTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.MandateAuthLinkCustomizationsLanguageEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestLanguageEnum = exports.LinkTokenRequestUiModeEnum = exports.LineItemItemTypeEnum = exports.IntegrationMetadataResponseIntegrationIdEnum = exports.IntegrationMetadataRequestIntegrationIdEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = exports.GetMandateSenderUserTypeEnum = exports.GetMandateResponseStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FvErrorModelV2TypeEnum = exports.FvErrorModelTypeEnum = exports.FvEmbeddedErrorModelTypeEnum = exports.FeePaidByEnum = exports.FVCardDetailsFundingEnum = exports.FVCardStatusEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentUserRequestUserTypeEnum = exports.CreatePaymentMethodRequestPaymentMethodTypeEnum = exports.CreatePaymentLinkRequestModeEnum = exports.CreatePaymentLinkMandateRequestSenderTypeEnum = exports.CreatePaymentAccountRequestAccountTypeEnum = exports.CreateMandateSenderUserTypeEnum = exports.CreateMandateResponseStatusEnum = exports.CreateMandateRequestWithDdaReferenceStatusEnum = exports.CreateCardRequestStatusEnum = exports.CardFvLinkResponseStatusEnum = exports.BadRequestModelV2ErrorTypeEnum = exports.AutopayEnrollmentConfigurationEnrollmentPrefillValueEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = exports.AccountTypeSubtypeEnum = exports.AccountTypeTypeEnum = void 0;
|
|
26
|
+
exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.ListPayoutsPayoutTypesEnum = exports.ListPayoutsStatusesEnum = exports.ListPaymentsPaymentTypesEnum = exports.ListPaymentsPaymentTypeEnum = exports.ListPaymentsSenderTypeEnum = exports.ListPaymentsStatusesEnum = exports.ListMandatesSenderTypeEnum = exports.ListMandatesStatusesEnum = exports.ListDetokenizedMandatesSenderTypeEnum = exports.ListDetokenizedMandatesStatusesEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.ListInstitutionsInstitutionTypeEnum = exports.GetLineItemsForDisplayPaymentTypeEnum = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.UpdateTestPaymentStatusRequestStatusEnum = exports.UpdatePaymentUserRequestUserTypeEnum = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderDetailDetailsTypeEnum = exports.RefreshLoginIdentityLinkCustomizationsUiModeEnum = exports.RefreshLoginIdentityLinkCustomizationsLanguageEnum = exports.RecipientAccountResponseAccountTypeEnum = exports.RecipientAccountNumberTypeEnum = exports.PayoutSnapshotResponseTypeEnum = exports.PayoutSnapshotResponseStatusEnum = exports.PaymentUserWithoutEmailUserTypeEnum = exports.PaymentUserUserTypeEnum = exports.PaymentSetupOptionsPaymentMethodTypesEnum = exports.PaymentSetupOptionsFuturePaymentsEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentMethodIntegrationMetadataIntegrationIdEnum = exports.PaymentLinkTokenResponseTokenTypeEnum = exports.PaymentLinkResponseSessionStatusEnum = exports.PaymentLinkResponseStatusEnum = exports.PaymentLinkResponseModeEnum = exports.PaymentLinkCustomizationsUiModeEnum = exports.PaymentLinkCustomizationsLanguageEnum = exports.PaymentInstructionTypeEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.PaymentFvLinkResponseStatusEnum = void 0;
|
|
27
|
+
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.GetBalanceHistorySourceEnum = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.TokenGrantTypeEnum = exports.LinkApi = exports.LinkApiFactory = void 0;
|
|
28
28
|
const axios_1 = require("axios");
|
|
29
29
|
// Some imports not used depending on template conditions
|
|
30
30
|
// @ts-ignore
|
|
@@ -135,6 +135,12 @@ exports.FVCardStatusEnum = {
|
|
|
135
135
|
Processing: 'PROCESSING',
|
|
136
136
|
Succeeded: 'SUCCEEDED',
|
|
137
137
|
};
|
|
138
|
+
exports.FVCardDetailsFundingEnum = {
|
|
139
|
+
Unknown: 'UNKNOWN',
|
|
140
|
+
Credit: 'CREDIT',
|
|
141
|
+
Debit: 'DEBIT',
|
|
142
|
+
Prepaid: 'PREPAID',
|
|
143
|
+
};
|
|
138
144
|
exports.FeePaidByEnum = {
|
|
139
145
|
Recipient: 'RECIPIENT',
|
|
140
146
|
Sender: 'SENDER',
|
|
@@ -359,6 +365,20 @@ exports.PaymentUserWithoutEmailUserTypeEnum = {
|
|
|
359
365
|
Individual: 'INDIVIDUAL',
|
|
360
366
|
Business: 'BUSINESS',
|
|
361
367
|
};
|
|
368
|
+
exports.PayoutSnapshotResponseStatusEnum = {
|
|
369
|
+
Executed: 'EXECUTED',
|
|
370
|
+
Created: 'CREATED',
|
|
371
|
+
Processing: 'PROCESSING',
|
|
372
|
+
ProcessingFunds: 'PROCESSING_FUNDS',
|
|
373
|
+
Cancelled: 'CANCELLED',
|
|
374
|
+
Failed: 'FAILED',
|
|
375
|
+
Funded: 'FUNDED',
|
|
376
|
+
Submitted: 'SUBMITTED',
|
|
377
|
+
};
|
|
378
|
+
exports.PayoutSnapshotResponseTypeEnum = {
|
|
379
|
+
Manual: 'MANUAL',
|
|
380
|
+
Scheduled: 'SCHEDULED',
|
|
381
|
+
};
|
|
362
382
|
exports.RecipientAccountNumberTypeEnum = {
|
|
363
383
|
Local: 'LOCAL',
|
|
364
384
|
Iban: 'IBAN',
|
|
@@ -3085,6 +3105,83 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
3085
3105
|
options: localVarRequestOptions,
|
|
3086
3106
|
};
|
|
3087
3107
|
}),
|
|
3108
|
+
/**
|
|
3109
|
+
* List payouts
|
|
3110
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
3111
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
3112
|
+
* @param {Array<ListPayoutsStatusesEnum>} [statuses] The payout statuses to filter for, comma separated
|
|
3113
|
+
* @param {Array<string>} [currencies]
|
|
3114
|
+
* @param {Array<ListPayoutsPayoutTypesEnum>} [payoutTypes]
|
|
3115
|
+
* @param {string} [mandateId]
|
|
3116
|
+
* @param {string} [senderAccountId]
|
|
3117
|
+
* @param {string} [recipientAccountId]
|
|
3118
|
+
* @param {string} [recipientUserId]
|
|
3119
|
+
* @param {string} [recipientExternalUserId]
|
|
3120
|
+
* @param {number} [offset] Default is 0
|
|
3121
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
3122
|
+
* @param {*} [options] Override http request option.
|
|
3123
|
+
* @throws {RequiredError}
|
|
3124
|
+
*/
|
|
3125
|
+
listPayouts: (dateFrom_1, dateTo_1, statuses_1, currencies_1, payoutTypes_1, mandateId_1, senderAccountId_1, recipientAccountId_1, recipientUserId_1, recipientExternalUserId_1, offset_1, limit_1, ...args_1) => __awaiter(this, [dateFrom_1, dateTo_1, statuses_1, currencies_1, payoutTypes_1, mandateId_1, senderAccountId_1, recipientAccountId_1, recipientUserId_1, recipientExternalUserId_1, offset_1, limit_1, ...args_1], void 0, function* (dateFrom, dateTo, statuses, currencies, payoutTypes, mandateId, senderAccountId, recipientAccountId, recipientUserId, recipientExternalUserId, offset, limit, options = {}) {
|
|
3126
|
+
const localVarPath = `/payouts`;
|
|
3127
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3128
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3129
|
+
let baseOptions;
|
|
3130
|
+
if (configuration) {
|
|
3131
|
+
baseOptions = configuration.baseOptions;
|
|
3132
|
+
}
|
|
3133
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3134
|
+
const localVarHeaderParameter = {};
|
|
3135
|
+
const localVarQueryParameter = {};
|
|
3136
|
+
// authentication Oauth2 required
|
|
3137
|
+
// oauth required
|
|
3138
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
3139
|
+
if (dateFrom !== undefined) {
|
|
3140
|
+
localVarQueryParameter['date_from'] =
|
|
3141
|
+
dateFrom instanceof Date ? dateFrom.toISOString().substring(0, 10) : dateFrom;
|
|
3142
|
+
}
|
|
3143
|
+
if (dateTo !== undefined) {
|
|
3144
|
+
localVarQueryParameter['date_to'] =
|
|
3145
|
+
dateTo instanceof Date ? dateTo.toISOString().substring(0, 10) : dateTo;
|
|
3146
|
+
}
|
|
3147
|
+
if (statuses) {
|
|
3148
|
+
localVarQueryParameter['statuses'] = statuses.join(base_1.COLLECTION_FORMATS.csv);
|
|
3149
|
+
}
|
|
3150
|
+
if (currencies) {
|
|
3151
|
+
localVarQueryParameter['currencies'] = currencies.join(base_1.COLLECTION_FORMATS.csv);
|
|
3152
|
+
}
|
|
3153
|
+
if (payoutTypes) {
|
|
3154
|
+
localVarQueryParameter['payout_types'] = payoutTypes.join(base_1.COLLECTION_FORMATS.csv);
|
|
3155
|
+
}
|
|
3156
|
+
if (mandateId !== undefined) {
|
|
3157
|
+
localVarQueryParameter['mandate_id'] = mandateId;
|
|
3158
|
+
}
|
|
3159
|
+
if (senderAccountId !== undefined) {
|
|
3160
|
+
localVarQueryParameter['sender_account_id'] = senderAccountId;
|
|
3161
|
+
}
|
|
3162
|
+
if (recipientAccountId !== undefined) {
|
|
3163
|
+
localVarQueryParameter['recipient_account_id'] = recipientAccountId;
|
|
3164
|
+
}
|
|
3165
|
+
if (recipientUserId !== undefined) {
|
|
3166
|
+
localVarQueryParameter['recipient_user_id'] = recipientUserId;
|
|
3167
|
+
}
|
|
3168
|
+
if (recipientExternalUserId !== undefined) {
|
|
3169
|
+
localVarQueryParameter['recipient_external_user_id'] = recipientExternalUserId;
|
|
3170
|
+
}
|
|
3171
|
+
if (offset !== undefined) {
|
|
3172
|
+
localVarQueryParameter['offset'] = offset;
|
|
3173
|
+
}
|
|
3174
|
+
if (limit !== undefined) {
|
|
3175
|
+
localVarQueryParameter['limit'] = limit;
|
|
3176
|
+
}
|
|
3177
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3178
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3179
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3180
|
+
return {
|
|
3181
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3182
|
+
options: localVarRequestOptions,
|
|
3183
|
+
};
|
|
3184
|
+
}),
|
|
3088
3185
|
/**
|
|
3089
3186
|
* Refresh payment attempt from payment link front-end
|
|
3090
3187
|
* @param {*} [options] Override http request option.
|
|
@@ -3613,6 +3710,32 @@ const DefaultApiFp = function (configuration) {
|
|
|
3613
3710
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3614
3711
|
});
|
|
3615
3712
|
},
|
|
3713
|
+
/**
|
|
3714
|
+
* List payouts
|
|
3715
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
3716
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
3717
|
+
* @param {Array<ListPayoutsStatusesEnum>} [statuses] The payout statuses to filter for, comma separated
|
|
3718
|
+
* @param {Array<string>} [currencies]
|
|
3719
|
+
* @param {Array<ListPayoutsPayoutTypesEnum>} [payoutTypes]
|
|
3720
|
+
* @param {string} [mandateId]
|
|
3721
|
+
* @param {string} [senderAccountId]
|
|
3722
|
+
* @param {string} [recipientAccountId]
|
|
3723
|
+
* @param {string} [recipientUserId]
|
|
3724
|
+
* @param {string} [recipientExternalUserId]
|
|
3725
|
+
* @param {number} [offset] Default is 0
|
|
3726
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
3727
|
+
* @param {*} [options] Override http request option.
|
|
3728
|
+
* @throws {RequiredError}
|
|
3729
|
+
*/
|
|
3730
|
+
listPayouts(dateFrom, dateTo, statuses, currencies, payoutTypes, mandateId, senderAccountId, recipientAccountId, recipientUserId, recipientExternalUserId, offset, limit, options) {
|
|
3731
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3732
|
+
var _a, _b, _c;
|
|
3733
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPayouts(dateFrom, dateTo, statuses, currencies, payoutTypes, mandateId, senderAccountId, recipientAccountId, recipientUserId, recipientExternalUserId, offset, limit, options);
|
|
3734
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3735
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.listPayouts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3736
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3737
|
+
});
|
|
3738
|
+
},
|
|
3616
3739
|
/**
|
|
3617
3740
|
* Refresh payment attempt from payment link front-end
|
|
3618
3741
|
* @param {*} [options] Override http request option.
|
|
@@ -3949,6 +4072,28 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
3949
4072
|
.listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, paymentTypes, mandateId, currency, currencies, offset, limit, options)
|
|
3950
4073
|
.then((request) => request(axios, basePath));
|
|
3951
4074
|
},
|
|
4075
|
+
/**
|
|
4076
|
+
* List payouts
|
|
4077
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
4078
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
4079
|
+
* @param {Array<ListPayoutsStatusesEnum>} [statuses] The payout statuses to filter for, comma separated
|
|
4080
|
+
* @param {Array<string>} [currencies]
|
|
4081
|
+
* @param {Array<ListPayoutsPayoutTypesEnum>} [payoutTypes]
|
|
4082
|
+
* @param {string} [mandateId]
|
|
4083
|
+
* @param {string} [senderAccountId]
|
|
4084
|
+
* @param {string} [recipientAccountId]
|
|
4085
|
+
* @param {string} [recipientUserId]
|
|
4086
|
+
* @param {string} [recipientExternalUserId]
|
|
4087
|
+
* @param {number} [offset] Default is 0
|
|
4088
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
4089
|
+
* @param {*} [options] Override http request option.
|
|
4090
|
+
* @throws {RequiredError}
|
|
4091
|
+
*/
|
|
4092
|
+
listPayouts(dateFrom, dateTo, statuses, currencies, payoutTypes, mandateId, senderAccountId, recipientAccountId, recipientUserId, recipientExternalUserId, offset, limit, options) {
|
|
4093
|
+
return localVarFp
|
|
4094
|
+
.listPayouts(dateFrom, dateTo, statuses, currencies, payoutTypes, mandateId, senderAccountId, recipientAccountId, recipientUserId, recipientExternalUserId, offset, limit, options)
|
|
4095
|
+
.then((request) => request(axios, basePath));
|
|
4096
|
+
},
|
|
3952
4097
|
/**
|
|
3953
4098
|
* Refresh payment attempt from payment link front-end
|
|
3954
4099
|
* @param {*} [options] Override http request option.
|
|
@@ -4320,6 +4465,29 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
4320
4465
|
.listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, paymentTypes, mandateId, currency, currencies, offset, limit, options)
|
|
4321
4466
|
.then((request) => request(this.axios, this.basePath));
|
|
4322
4467
|
}
|
|
4468
|
+
/**
|
|
4469
|
+
* List payouts
|
|
4470
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
4471
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
4472
|
+
* @param {Array<ListPayoutsStatusesEnum>} [statuses] The payout statuses to filter for, comma separated
|
|
4473
|
+
* @param {Array<string>} [currencies]
|
|
4474
|
+
* @param {Array<ListPayoutsPayoutTypesEnum>} [payoutTypes]
|
|
4475
|
+
* @param {string} [mandateId]
|
|
4476
|
+
* @param {string} [senderAccountId]
|
|
4477
|
+
* @param {string} [recipientAccountId]
|
|
4478
|
+
* @param {string} [recipientUserId]
|
|
4479
|
+
* @param {string} [recipientExternalUserId]
|
|
4480
|
+
* @param {number} [offset] Default is 0
|
|
4481
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
4482
|
+
* @param {*} [options] Override http request option.
|
|
4483
|
+
* @throws {RequiredError}
|
|
4484
|
+
* @memberof DefaultApi
|
|
4485
|
+
*/
|
|
4486
|
+
listPayouts(dateFrom, dateTo, statuses, currencies, payoutTypes, mandateId, senderAccountId, recipientAccountId, recipientUserId, recipientExternalUserId, offset, limit, options) {
|
|
4487
|
+
return (0, exports.DefaultApiFp)(this.configuration)
|
|
4488
|
+
.listPayouts(dateFrom, dateTo, statuses, currencies, payoutTypes, mandateId, senderAccountId, recipientAccountId, recipientUserId, recipientExternalUserId, offset, limit, options)
|
|
4489
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4490
|
+
}
|
|
4323
4491
|
/**
|
|
4324
4492
|
* Refresh payment attempt from payment link front-end
|
|
4325
4493
|
* @param {*} [options] Override http request option.
|
|
@@ -4444,6 +4612,26 @@ exports.ListPaymentsPaymentTypesEnum = {
|
|
|
4444
4612
|
Card: 'CARD',
|
|
4445
4613
|
Manual: 'MANUAL',
|
|
4446
4614
|
};
|
|
4615
|
+
/**
|
|
4616
|
+
* @export
|
|
4617
|
+
*/
|
|
4618
|
+
exports.ListPayoutsStatusesEnum = {
|
|
4619
|
+
Executed: 'EXECUTED',
|
|
4620
|
+
Created: 'CREATED',
|
|
4621
|
+
Processing: 'PROCESSING',
|
|
4622
|
+
ProcessingFunds: 'PROCESSING_FUNDS',
|
|
4623
|
+
Cancelled: 'CANCELLED',
|
|
4624
|
+
Failed: 'FAILED',
|
|
4625
|
+
Funded: 'FUNDED',
|
|
4626
|
+
Submitted: 'SUBMITTED',
|
|
4627
|
+
};
|
|
4628
|
+
/**
|
|
4629
|
+
* @export
|
|
4630
|
+
*/
|
|
4631
|
+
exports.ListPayoutsPayoutTypesEnum = {
|
|
4632
|
+
Manual: 'MANUAL',
|
|
4633
|
+
Scheduled: 'SCHEDULED',
|
|
4634
|
+
};
|
|
4447
4635
|
/**
|
|
4448
4636
|
* LinkApi - axios parameter creator
|
|
4449
4637
|
* @export
|