@finverse/sdk-typescript 0.0.293 → 0.0.294
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 +145 -2
- package/dist/api.js +184 -2
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -4052,6 +4052,19 @@ export interface ListPaymentsResponse {
|
|
|
4052
4052
|
*/
|
|
4053
4053
|
total_payments: number;
|
|
4054
4054
|
}
|
|
4055
|
+
/**
|
|
4056
|
+
*
|
|
4057
|
+
* @export
|
|
4058
|
+
* @interface ListPayoutsResponse
|
|
4059
|
+
*/
|
|
4060
|
+
export interface ListPayoutsResponse {
|
|
4061
|
+
/**
|
|
4062
|
+
*
|
|
4063
|
+
* @type {Array<PayoutSnapshotResponse>}
|
|
4064
|
+
* @memberof ListPayoutsResponse
|
|
4065
|
+
*/
|
|
4066
|
+
payouts: Array<PayoutSnapshotResponse>;
|
|
4067
|
+
}
|
|
4055
4068
|
/**
|
|
4056
4069
|
*
|
|
4057
4070
|
* @export
|
|
@@ -6462,13 +6475,13 @@ export interface PayoutSnapshotResponse {
|
|
|
6462
6475
|
* @type {string}
|
|
6463
6476
|
* @memberof PayoutSnapshotResponse
|
|
6464
6477
|
*/
|
|
6465
|
-
status?:
|
|
6478
|
+
status?: PayoutSnapshotResponseStatusEnum;
|
|
6466
6479
|
/**
|
|
6467
6480
|
*
|
|
6468
6481
|
* @type {string}
|
|
6469
6482
|
* @memberof PayoutSnapshotResponse
|
|
6470
6483
|
*/
|
|
6471
|
-
type?:
|
|
6484
|
+
type?: PayoutSnapshotResponseTypeEnum;
|
|
6472
6485
|
/**
|
|
6473
6486
|
*
|
|
6474
6487
|
* @type {string}
|
|
@@ -6556,6 +6569,22 @@ export interface PayoutSnapshotResponse {
|
|
|
6556
6569
|
*/
|
|
6557
6570
|
error?: FvEmbeddedErrorModel;
|
|
6558
6571
|
}
|
|
6572
|
+
export declare const PayoutSnapshotResponseStatusEnum: {
|
|
6573
|
+
readonly Executed: "EXECUTED";
|
|
6574
|
+
readonly Created: "CREATED";
|
|
6575
|
+
readonly Processing: "PROCESSING";
|
|
6576
|
+
readonly ProcessingFunds: "PROCESSING_FUNDS";
|
|
6577
|
+
readonly Cancelled: "CANCELLED";
|
|
6578
|
+
readonly Failed: "FAILED";
|
|
6579
|
+
readonly Funded: "FUNDED";
|
|
6580
|
+
readonly Submitted: "SUBMITTED";
|
|
6581
|
+
};
|
|
6582
|
+
export type PayoutSnapshotResponseStatusEnum = (typeof PayoutSnapshotResponseStatusEnum)[keyof typeof PayoutSnapshotResponseStatusEnum];
|
|
6583
|
+
export declare const PayoutSnapshotResponseTypeEnum: {
|
|
6584
|
+
readonly Manual: "MANUAL";
|
|
6585
|
+
readonly Scheduled: "SCHEDULED";
|
|
6586
|
+
};
|
|
6587
|
+
export type PayoutSnapshotResponseTypeEnum = (typeof PayoutSnapshotResponseTypeEnum)[keyof typeof PayoutSnapshotResponseTypeEnum];
|
|
6559
6588
|
/**
|
|
6560
6589
|
*
|
|
6561
6590
|
* @export
|
|
@@ -9005,6 +9034,24 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
9005
9034
|
* @throws {RequiredError}
|
|
9006
9035
|
*/
|
|
9007
9036
|
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>;
|
|
9037
|
+
/**
|
|
9038
|
+
* List payouts
|
|
9039
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
9040
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
9041
|
+
* @param {Array<ListPayoutsStatusesEnum>} [statuses] The payout statuses to filter for, comma separated
|
|
9042
|
+
* @param {Array<string>} [currencies]
|
|
9043
|
+
* @param {Array<ListPayoutsPayoutTypesEnum>} [payoutTypes]
|
|
9044
|
+
* @param {string} [mandateId]
|
|
9045
|
+
* @param {string} [senderAccountId]
|
|
9046
|
+
* @param {string} [recipientAccountId]
|
|
9047
|
+
* @param {string} [recipientUserId]
|
|
9048
|
+
* @param {string} [recipientExternalUserId]
|
|
9049
|
+
* @param {number} [offset] Default is 0
|
|
9050
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
9051
|
+
* @param {*} [options] Override http request option.
|
|
9052
|
+
* @throws {RequiredError}
|
|
9053
|
+
*/
|
|
9054
|
+
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
9055
|
/**
|
|
9009
9056
|
* Refresh payment attempt from payment link front-end
|
|
9010
9057
|
* @param {*} [options] Override http request option.
|
|
@@ -9235,6 +9282,24 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
9235
9282
|
* @throws {RequiredError}
|
|
9236
9283
|
*/
|
|
9237
9284
|
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>>;
|
|
9285
|
+
/**
|
|
9286
|
+
* List payouts
|
|
9287
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
9288
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
9289
|
+
* @param {Array<ListPayoutsStatusesEnum>} [statuses] The payout statuses to filter for, comma separated
|
|
9290
|
+
* @param {Array<string>} [currencies]
|
|
9291
|
+
* @param {Array<ListPayoutsPayoutTypesEnum>} [payoutTypes]
|
|
9292
|
+
* @param {string} [mandateId]
|
|
9293
|
+
* @param {string} [senderAccountId]
|
|
9294
|
+
* @param {string} [recipientAccountId]
|
|
9295
|
+
* @param {string} [recipientUserId]
|
|
9296
|
+
* @param {string} [recipientExternalUserId]
|
|
9297
|
+
* @param {number} [offset] Default is 0
|
|
9298
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
9299
|
+
* @param {*} [options] Override http request option.
|
|
9300
|
+
* @throws {RequiredError}
|
|
9301
|
+
*/
|
|
9302
|
+
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
9303
|
/**
|
|
9239
9304
|
* Refresh payment attempt from payment link front-end
|
|
9240
9305
|
* @param {*} [options] Override http request option.
|
|
@@ -9465,6 +9530,24 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
9465
9530
|
* @throws {RequiredError}
|
|
9466
9531
|
*/
|
|
9467
9532
|
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>;
|
|
9533
|
+
/**
|
|
9534
|
+
* List payouts
|
|
9535
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
9536
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
9537
|
+
* @param {Array<ListPayoutsStatusesEnum>} [statuses] The payout statuses to filter for, comma separated
|
|
9538
|
+
* @param {Array<string>} [currencies]
|
|
9539
|
+
* @param {Array<ListPayoutsPayoutTypesEnum>} [payoutTypes]
|
|
9540
|
+
* @param {string} [mandateId]
|
|
9541
|
+
* @param {string} [senderAccountId]
|
|
9542
|
+
* @param {string} [recipientAccountId]
|
|
9543
|
+
* @param {string} [recipientUserId]
|
|
9544
|
+
* @param {string} [recipientExternalUserId]
|
|
9545
|
+
* @param {number} [offset] Default is 0
|
|
9546
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
9547
|
+
* @param {*} [options] Override http request option.
|
|
9548
|
+
* @throws {RequiredError}
|
|
9549
|
+
*/
|
|
9550
|
+
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
9551
|
/**
|
|
9469
9552
|
* Refresh payment attempt from payment link front-end
|
|
9470
9553
|
* @param {*} [options] Override http request option.
|
|
@@ -9721,6 +9804,25 @@ export interface DefaultApiInterface {
|
|
|
9721
9804
|
* @memberof DefaultApiInterface
|
|
9722
9805
|
*/
|
|
9723
9806
|
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>;
|
|
9807
|
+
/**
|
|
9808
|
+
* List payouts
|
|
9809
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
9810
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
9811
|
+
* @param {Array<ListPayoutsStatusesEnum>} [statuses] The payout statuses to filter for, comma separated
|
|
9812
|
+
* @param {Array<string>} [currencies]
|
|
9813
|
+
* @param {Array<ListPayoutsPayoutTypesEnum>} [payoutTypes]
|
|
9814
|
+
* @param {string} [mandateId]
|
|
9815
|
+
* @param {string} [senderAccountId]
|
|
9816
|
+
* @param {string} [recipientAccountId]
|
|
9817
|
+
* @param {string} [recipientUserId]
|
|
9818
|
+
* @param {string} [recipientExternalUserId]
|
|
9819
|
+
* @param {number} [offset] Default is 0
|
|
9820
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
9821
|
+
* @param {*} [options] Override http request option.
|
|
9822
|
+
* @throws {RequiredError}
|
|
9823
|
+
* @memberof DefaultApiInterface
|
|
9824
|
+
*/
|
|
9825
|
+
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
9826
|
/**
|
|
9725
9827
|
* Refresh payment attempt from payment link front-end
|
|
9726
9828
|
* @param {*} [options] Override http request option.
|
|
@@ -9982,6 +10084,25 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
9982
10084
|
* @memberof DefaultApi
|
|
9983
10085
|
*/
|
|
9984
10086
|
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>>;
|
|
10087
|
+
/**
|
|
10088
|
+
* List payouts
|
|
10089
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
10090
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
10091
|
+
* @param {Array<ListPayoutsStatusesEnum>} [statuses] The payout statuses to filter for, comma separated
|
|
10092
|
+
* @param {Array<string>} [currencies]
|
|
10093
|
+
* @param {Array<ListPayoutsPayoutTypesEnum>} [payoutTypes]
|
|
10094
|
+
* @param {string} [mandateId]
|
|
10095
|
+
* @param {string} [senderAccountId]
|
|
10096
|
+
* @param {string} [recipientAccountId]
|
|
10097
|
+
* @param {string} [recipientUserId]
|
|
10098
|
+
* @param {string} [recipientExternalUserId]
|
|
10099
|
+
* @param {number} [offset] Default is 0
|
|
10100
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
10101
|
+
* @param {*} [options] Override http request option.
|
|
10102
|
+
* @throws {RequiredError}
|
|
10103
|
+
* @memberof DefaultApi
|
|
10104
|
+
*/
|
|
10105
|
+
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
10106
|
/**
|
|
9986
10107
|
* Refresh payment attempt from payment link front-end
|
|
9987
10108
|
* @param {*} [options] Override http request option.
|
|
@@ -10097,6 +10218,28 @@ export declare const ListPaymentsPaymentTypesEnum: {
|
|
|
10097
10218
|
readonly Manual: "MANUAL";
|
|
10098
10219
|
};
|
|
10099
10220
|
export type ListPaymentsPaymentTypesEnum = (typeof ListPaymentsPaymentTypesEnum)[keyof typeof ListPaymentsPaymentTypesEnum];
|
|
10221
|
+
/**
|
|
10222
|
+
* @export
|
|
10223
|
+
*/
|
|
10224
|
+
export declare const ListPayoutsStatusesEnum: {
|
|
10225
|
+
readonly Executed: "EXECUTED";
|
|
10226
|
+
readonly Created: "CREATED";
|
|
10227
|
+
readonly Processing: "PROCESSING";
|
|
10228
|
+
readonly ProcessingFunds: "PROCESSING_FUNDS";
|
|
10229
|
+
readonly Cancelled: "CANCELLED";
|
|
10230
|
+
readonly Failed: "FAILED";
|
|
10231
|
+
readonly Funded: "FUNDED";
|
|
10232
|
+
readonly Submitted: "SUBMITTED";
|
|
10233
|
+
};
|
|
10234
|
+
export type ListPayoutsStatusesEnum = (typeof ListPayoutsStatusesEnum)[keyof typeof ListPayoutsStatusesEnum];
|
|
10235
|
+
/**
|
|
10236
|
+
* @export
|
|
10237
|
+
*/
|
|
10238
|
+
export declare const ListPayoutsPayoutTypesEnum: {
|
|
10239
|
+
readonly Manual: "MANUAL";
|
|
10240
|
+
readonly Scheduled: "SCHEDULED";
|
|
10241
|
+
};
|
|
10242
|
+
export type ListPayoutsPayoutTypesEnum = (typeof ListPayoutsPayoutTypesEnum)[keyof typeof ListPayoutsPayoutTypesEnum];
|
|
10100
10243
|
/**
|
|
10101
10244
|
* LinkApi - axios parameter creator
|
|
10102
10245
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -23,8 +23,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.PaymentFvLinkResponseStatusEnum = 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.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.
|
|
27
|
-
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.GetBalanceHistorySourceEnum = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = void 0;
|
|
26
|
+
exports.LinkApiFactory = 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 = 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 = void 0;
|
|
28
28
|
const axios_1 = require("axios");
|
|
29
29
|
// Some imports not used depending on template conditions
|
|
30
30
|
// @ts-ignore
|
|
@@ -359,6 +359,20 @@ exports.PaymentUserWithoutEmailUserTypeEnum = {
|
|
|
359
359
|
Individual: 'INDIVIDUAL',
|
|
360
360
|
Business: 'BUSINESS',
|
|
361
361
|
};
|
|
362
|
+
exports.PayoutSnapshotResponseStatusEnum = {
|
|
363
|
+
Executed: 'EXECUTED',
|
|
364
|
+
Created: 'CREATED',
|
|
365
|
+
Processing: 'PROCESSING',
|
|
366
|
+
ProcessingFunds: 'PROCESSING_FUNDS',
|
|
367
|
+
Cancelled: 'CANCELLED',
|
|
368
|
+
Failed: 'FAILED',
|
|
369
|
+
Funded: 'FUNDED',
|
|
370
|
+
Submitted: 'SUBMITTED',
|
|
371
|
+
};
|
|
372
|
+
exports.PayoutSnapshotResponseTypeEnum = {
|
|
373
|
+
Manual: 'MANUAL',
|
|
374
|
+
Scheduled: 'SCHEDULED',
|
|
375
|
+
};
|
|
362
376
|
exports.RecipientAccountNumberTypeEnum = {
|
|
363
377
|
Local: 'LOCAL',
|
|
364
378
|
Iban: 'IBAN',
|
|
@@ -3085,6 +3099,83 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
3085
3099
|
options: localVarRequestOptions,
|
|
3086
3100
|
};
|
|
3087
3101
|
}),
|
|
3102
|
+
/**
|
|
3103
|
+
* List payouts
|
|
3104
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
3105
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
3106
|
+
* @param {Array<ListPayoutsStatusesEnum>} [statuses] The payout statuses to filter for, comma separated
|
|
3107
|
+
* @param {Array<string>} [currencies]
|
|
3108
|
+
* @param {Array<ListPayoutsPayoutTypesEnum>} [payoutTypes]
|
|
3109
|
+
* @param {string} [mandateId]
|
|
3110
|
+
* @param {string} [senderAccountId]
|
|
3111
|
+
* @param {string} [recipientAccountId]
|
|
3112
|
+
* @param {string} [recipientUserId]
|
|
3113
|
+
* @param {string} [recipientExternalUserId]
|
|
3114
|
+
* @param {number} [offset] Default is 0
|
|
3115
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
3116
|
+
* @param {*} [options] Override http request option.
|
|
3117
|
+
* @throws {RequiredError}
|
|
3118
|
+
*/
|
|
3119
|
+
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 = {}) {
|
|
3120
|
+
const localVarPath = `/payouts`;
|
|
3121
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3122
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3123
|
+
let baseOptions;
|
|
3124
|
+
if (configuration) {
|
|
3125
|
+
baseOptions = configuration.baseOptions;
|
|
3126
|
+
}
|
|
3127
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
3128
|
+
const localVarHeaderParameter = {};
|
|
3129
|
+
const localVarQueryParameter = {};
|
|
3130
|
+
// authentication Oauth2 required
|
|
3131
|
+
// oauth required
|
|
3132
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
3133
|
+
if (dateFrom !== undefined) {
|
|
3134
|
+
localVarQueryParameter['date_from'] =
|
|
3135
|
+
dateFrom instanceof Date ? dateFrom.toISOString().substring(0, 10) : dateFrom;
|
|
3136
|
+
}
|
|
3137
|
+
if (dateTo !== undefined) {
|
|
3138
|
+
localVarQueryParameter['date_to'] =
|
|
3139
|
+
dateTo instanceof Date ? dateTo.toISOString().substring(0, 10) : dateTo;
|
|
3140
|
+
}
|
|
3141
|
+
if (statuses) {
|
|
3142
|
+
localVarQueryParameter['statuses'] = statuses.join(base_1.COLLECTION_FORMATS.csv);
|
|
3143
|
+
}
|
|
3144
|
+
if (currencies) {
|
|
3145
|
+
localVarQueryParameter['currencies'] = currencies.join(base_1.COLLECTION_FORMATS.csv);
|
|
3146
|
+
}
|
|
3147
|
+
if (payoutTypes) {
|
|
3148
|
+
localVarQueryParameter['payout_types'] = payoutTypes.join(base_1.COLLECTION_FORMATS.csv);
|
|
3149
|
+
}
|
|
3150
|
+
if (mandateId !== undefined) {
|
|
3151
|
+
localVarQueryParameter['mandate_id'] = mandateId;
|
|
3152
|
+
}
|
|
3153
|
+
if (senderAccountId !== undefined) {
|
|
3154
|
+
localVarQueryParameter['sender_account_id'] = senderAccountId;
|
|
3155
|
+
}
|
|
3156
|
+
if (recipientAccountId !== undefined) {
|
|
3157
|
+
localVarQueryParameter['recipient_account_id'] = recipientAccountId;
|
|
3158
|
+
}
|
|
3159
|
+
if (recipientUserId !== undefined) {
|
|
3160
|
+
localVarQueryParameter['recipient_user_id'] = recipientUserId;
|
|
3161
|
+
}
|
|
3162
|
+
if (recipientExternalUserId !== undefined) {
|
|
3163
|
+
localVarQueryParameter['recipient_external_user_id'] = recipientExternalUserId;
|
|
3164
|
+
}
|
|
3165
|
+
if (offset !== undefined) {
|
|
3166
|
+
localVarQueryParameter['offset'] = offset;
|
|
3167
|
+
}
|
|
3168
|
+
if (limit !== undefined) {
|
|
3169
|
+
localVarQueryParameter['limit'] = limit;
|
|
3170
|
+
}
|
|
3171
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3172
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3173
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3174
|
+
return {
|
|
3175
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3176
|
+
options: localVarRequestOptions,
|
|
3177
|
+
};
|
|
3178
|
+
}),
|
|
3088
3179
|
/**
|
|
3089
3180
|
* Refresh payment attempt from payment link front-end
|
|
3090
3181
|
* @param {*} [options] Override http request option.
|
|
@@ -3613,6 +3704,32 @@ const DefaultApiFp = function (configuration) {
|
|
|
3613
3704
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3614
3705
|
});
|
|
3615
3706
|
},
|
|
3707
|
+
/**
|
|
3708
|
+
* List payouts
|
|
3709
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
3710
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
3711
|
+
* @param {Array<ListPayoutsStatusesEnum>} [statuses] The payout statuses to filter for, comma separated
|
|
3712
|
+
* @param {Array<string>} [currencies]
|
|
3713
|
+
* @param {Array<ListPayoutsPayoutTypesEnum>} [payoutTypes]
|
|
3714
|
+
* @param {string} [mandateId]
|
|
3715
|
+
* @param {string} [senderAccountId]
|
|
3716
|
+
* @param {string} [recipientAccountId]
|
|
3717
|
+
* @param {string} [recipientUserId]
|
|
3718
|
+
* @param {string} [recipientExternalUserId]
|
|
3719
|
+
* @param {number} [offset] Default is 0
|
|
3720
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
3721
|
+
* @param {*} [options] Override http request option.
|
|
3722
|
+
* @throws {RequiredError}
|
|
3723
|
+
*/
|
|
3724
|
+
listPayouts(dateFrom, dateTo, statuses, currencies, payoutTypes, mandateId, senderAccountId, recipientAccountId, recipientUserId, recipientExternalUserId, offset, limit, options) {
|
|
3725
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3726
|
+
var _a, _b, _c;
|
|
3727
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPayouts(dateFrom, dateTo, statuses, currencies, payoutTypes, mandateId, senderAccountId, recipientAccountId, recipientUserId, recipientExternalUserId, offset, limit, options);
|
|
3728
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3729
|
+
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;
|
|
3730
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3731
|
+
});
|
|
3732
|
+
},
|
|
3616
3733
|
/**
|
|
3617
3734
|
* Refresh payment attempt from payment link front-end
|
|
3618
3735
|
* @param {*} [options] Override http request option.
|
|
@@ -3949,6 +4066,28 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
3949
4066
|
.listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, paymentTypes, mandateId, currency, currencies, offset, limit, options)
|
|
3950
4067
|
.then((request) => request(axios, basePath));
|
|
3951
4068
|
},
|
|
4069
|
+
/**
|
|
4070
|
+
* List payouts
|
|
4071
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
4072
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
4073
|
+
* @param {Array<ListPayoutsStatusesEnum>} [statuses] The payout statuses to filter for, comma separated
|
|
4074
|
+
* @param {Array<string>} [currencies]
|
|
4075
|
+
* @param {Array<ListPayoutsPayoutTypesEnum>} [payoutTypes]
|
|
4076
|
+
* @param {string} [mandateId]
|
|
4077
|
+
* @param {string} [senderAccountId]
|
|
4078
|
+
* @param {string} [recipientAccountId]
|
|
4079
|
+
* @param {string} [recipientUserId]
|
|
4080
|
+
* @param {string} [recipientExternalUserId]
|
|
4081
|
+
* @param {number} [offset] Default is 0
|
|
4082
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
4083
|
+
* @param {*} [options] Override http request option.
|
|
4084
|
+
* @throws {RequiredError}
|
|
4085
|
+
*/
|
|
4086
|
+
listPayouts(dateFrom, dateTo, statuses, currencies, payoutTypes, mandateId, senderAccountId, recipientAccountId, recipientUserId, recipientExternalUserId, offset, limit, options) {
|
|
4087
|
+
return localVarFp
|
|
4088
|
+
.listPayouts(dateFrom, dateTo, statuses, currencies, payoutTypes, mandateId, senderAccountId, recipientAccountId, recipientUserId, recipientExternalUserId, offset, limit, options)
|
|
4089
|
+
.then((request) => request(axios, basePath));
|
|
4090
|
+
},
|
|
3952
4091
|
/**
|
|
3953
4092
|
* Refresh payment attempt from payment link front-end
|
|
3954
4093
|
* @param {*} [options] Override http request option.
|
|
@@ -4320,6 +4459,29 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
4320
4459
|
.listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, paymentTypes, mandateId, currency, currencies, offset, limit, options)
|
|
4321
4460
|
.then((request) => request(this.axios, this.basePath));
|
|
4322
4461
|
}
|
|
4462
|
+
/**
|
|
4463
|
+
* List payouts
|
|
4464
|
+
* @param {string} [dateFrom] ISO format (YYYY-MM-DD)
|
|
4465
|
+
* @param {string} [dateTo] ISO format (YYYY-MM-DD)
|
|
4466
|
+
* @param {Array<ListPayoutsStatusesEnum>} [statuses] The payout statuses to filter for, comma separated
|
|
4467
|
+
* @param {Array<string>} [currencies]
|
|
4468
|
+
* @param {Array<ListPayoutsPayoutTypesEnum>} [payoutTypes]
|
|
4469
|
+
* @param {string} [mandateId]
|
|
4470
|
+
* @param {string} [senderAccountId]
|
|
4471
|
+
* @param {string} [recipientAccountId]
|
|
4472
|
+
* @param {string} [recipientUserId]
|
|
4473
|
+
* @param {string} [recipientExternalUserId]
|
|
4474
|
+
* @param {number} [offset] Default is 0
|
|
4475
|
+
* @param {number} [limit] default is 500, max is 1000
|
|
4476
|
+
* @param {*} [options] Override http request option.
|
|
4477
|
+
* @throws {RequiredError}
|
|
4478
|
+
* @memberof DefaultApi
|
|
4479
|
+
*/
|
|
4480
|
+
listPayouts(dateFrom, dateTo, statuses, currencies, payoutTypes, mandateId, senderAccountId, recipientAccountId, recipientUserId, recipientExternalUserId, offset, limit, options) {
|
|
4481
|
+
return (0, exports.DefaultApiFp)(this.configuration)
|
|
4482
|
+
.listPayouts(dateFrom, dateTo, statuses, currencies, payoutTypes, mandateId, senderAccountId, recipientAccountId, recipientUserId, recipientExternalUserId, offset, limit, options)
|
|
4483
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4484
|
+
}
|
|
4323
4485
|
/**
|
|
4324
4486
|
* Refresh payment attempt from payment link front-end
|
|
4325
4487
|
* @param {*} [options] Override http request option.
|
|
@@ -4444,6 +4606,26 @@ exports.ListPaymentsPaymentTypesEnum = {
|
|
|
4444
4606
|
Card: 'CARD',
|
|
4445
4607
|
Manual: 'MANUAL',
|
|
4446
4608
|
};
|
|
4609
|
+
/**
|
|
4610
|
+
* @export
|
|
4611
|
+
*/
|
|
4612
|
+
exports.ListPayoutsStatusesEnum = {
|
|
4613
|
+
Executed: 'EXECUTED',
|
|
4614
|
+
Created: 'CREATED',
|
|
4615
|
+
Processing: 'PROCESSING',
|
|
4616
|
+
ProcessingFunds: 'PROCESSING_FUNDS',
|
|
4617
|
+
Cancelled: 'CANCELLED',
|
|
4618
|
+
Failed: 'FAILED',
|
|
4619
|
+
Funded: 'FUNDED',
|
|
4620
|
+
Submitted: 'SUBMITTED',
|
|
4621
|
+
};
|
|
4622
|
+
/**
|
|
4623
|
+
* @export
|
|
4624
|
+
*/
|
|
4625
|
+
exports.ListPayoutsPayoutTypesEnum = {
|
|
4626
|
+
Manual: 'MANUAL',
|
|
4627
|
+
Scheduled: 'SCHEDULED',
|
|
4628
|
+
};
|
|
4447
4629
|
/**
|
|
4448
4630
|
* LinkApi - axios parameter creator
|
|
4449
4631
|
* @export
|