import type { Configuration } from '../configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import globalAxios from 'axios'; import { type RequestArgs, BaseAPI } from '../base'; import type { CreditBalanceDepositTransactionInput } from '../models'; import type { DisbursementLoanTransactionInput } from '../models'; import type { FeeLoanTransactionInput } from '../models'; import type { LoanTransaction } from '../models'; import type { LoanTransactionAdjustmentDetails } from '../models'; import type { LoanTransactionSearchCriteria } from '../models'; import type { LockLoanAccountInput } from '../models'; import type { LockLoanTransactionsWrapper } from '../models'; import type { PaymentMadeTransactionInput } from '../models'; import type { PrincipalOverpaymentLoanTransactionInput } from '../models'; import type { RedrawRepaymentTransactionInputDTO } from '../models'; import type { RefundLoanTransactionInput } from '../models'; import type { RepaymentLoanTransactionInput } from '../models'; import type { UnlockLoanAccountInput } from '../models'; import type { WithdrawalRedrawTransactionInput } from '../models'; export declare const LoanTransactionsApiAxiosParamCreator: (configuration?: Configuration) => { adjust: (loanTransactionId: string, loanTransactionAdjustmentDetails: LoanTransactionAdjustmentDetails, idempotencyKey?: string, options?: RawAxiosRequestConfig) => Promise; applyFee: (loanAccountId: string, feeLoanTransactionInput: FeeLoanTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig) => Promise; applyLock: (loanAccountId: string, lockLoanAccountInput: LockLoanAccountInput, idempotencyKey?: string, options?: RawAxiosRequestConfig) => Promise; applyPaymentMade: (loanAccountId: string, paymentMadeTransactionInput: PaymentMadeTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig) => Promise; applyUnlock: (loanAccountId: string, unlockLoanAccountInput: UnlockLoanAccountInput, idempotencyKey?: string, options?: RawAxiosRequestConfig) => Promise; getAll: (loanAccountId: string, offset?: number, limit?: number, paginationDetails?: GetAllPaginationDetailsEnum, detailsLevel?: GetAllDetailsLevelEnum, options?: RawAxiosRequestConfig) => Promise; getById: (loanTransactionId: string, detailsLevel?: GetByIdDetailsLevelEnum, options?: RawAxiosRequestConfig) => Promise; getTransactionsForAllVersions: (loanAccountId: string, offset?: number, limit?: number, paginationDetails?: GetTransactionsForAllVersionsPaginationDetailsEnum, detailsLevel?: GetTransactionsForAllVersionsDetailsLevelEnum, options?: RawAxiosRequestConfig) => Promise; makeDepositOnCreditBalance: (loanAccountId: string, creditBalanceDepositTransactionInput: CreditBalanceDepositTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig) => Promise; makeDisbursement: (loanAccountId: string, disbursementLoanTransactionInput: DisbursementLoanTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig) => Promise; makePrincipalOverpayment: (loanAccountId: string, principalOverpaymentLoanTransactionInput: PrincipalOverpaymentLoanTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig) => Promise; makeRedrawRepayment: (loanAccountId: string, redrawRepaymentTransactionInputDTO: RedrawRepaymentTransactionInputDTO, idempotencyKey?: string, options?: RawAxiosRequestConfig) => Promise; makeRefund: (loanAccountId: string, refundLoanTransactionInput: RefundLoanTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig) => Promise; makeRepayment: (loanAccountId: string, repaymentLoanTransactionInput: RepaymentLoanTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig) => Promise; makeWithdrawal: (loanAccountId: string, withdrawalRedrawTransactionInput: WithdrawalRedrawTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig) => Promise; search: (loanTransactionSearchCriteria: LoanTransactionSearchCriteria, offset?: number, limit?: number, paginationDetails?: SearchPaginationDetailsEnum, cursor?: string, detailsLevel?: SearchDetailsLevelEnum, options?: RawAxiosRequestConfig) => Promise; }; export declare const LoanTransactionsApiFp: (configuration?: Configuration) => { adjust(loanTransactionId: string, loanTransactionAdjustmentDetails: LoanTransactionAdjustmentDetails, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; applyFee(loanAccountId: string, feeLoanTransactionInput: FeeLoanTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; applyLock(loanAccountId: string, lockLoanAccountInput: LockLoanAccountInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; applyPaymentMade(loanAccountId: string, paymentMadeTransactionInput: PaymentMadeTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; applyUnlock(loanAccountId: string, unlockLoanAccountInput: UnlockLoanAccountInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; getAll(loanAccountId: string, offset?: number, limit?: number, paginationDetails?: GetAllPaginationDetailsEnum, detailsLevel?: GetAllDetailsLevelEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>>; getById(loanTransactionId: string, detailsLevel?: GetByIdDetailsLevelEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; getTransactionsForAllVersions(loanAccountId: string, offset?: number, limit?: number, paginationDetails?: GetTransactionsForAllVersionsPaginationDetailsEnum, detailsLevel?: GetTransactionsForAllVersionsDetailsLevelEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>>; makeDepositOnCreditBalance(loanAccountId: string, creditBalanceDepositTransactionInput: CreditBalanceDepositTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; makeDisbursement(loanAccountId: string, disbursementLoanTransactionInput: DisbursementLoanTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; makePrincipalOverpayment(loanAccountId: string, principalOverpaymentLoanTransactionInput: PrincipalOverpaymentLoanTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; makeRedrawRepayment(loanAccountId: string, redrawRepaymentTransactionInputDTO: RedrawRepaymentTransactionInputDTO, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; makeRefund(loanAccountId: string, refundLoanTransactionInput: RefundLoanTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; makeRepayment(loanAccountId: string, repaymentLoanTransactionInput: RepaymentLoanTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; makeWithdrawal(loanAccountId: string, withdrawalRedrawTransactionInput: WithdrawalRedrawTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; search(loanTransactionSearchCriteria: LoanTransactionSearchCriteria, offset?: number, limit?: number, paginationDetails?: SearchPaginationDetailsEnum, cursor?: string, detailsLevel?: SearchDetailsLevelEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>>; }; export declare const LoanTransactionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { adjust(loanTransactionId: string, loanTransactionAdjustmentDetails: LoanTransactionAdjustmentDetails, idempotencyKey?: string, options?: RawAxiosRequestConfig): AxiosPromise; applyFee(loanAccountId: string, feeLoanTransactionInput: FeeLoanTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): AxiosPromise; applyLock(loanAccountId: string, lockLoanAccountInput: LockLoanAccountInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): AxiosPromise; applyPaymentMade(loanAccountId: string, paymentMadeTransactionInput: PaymentMadeTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): AxiosPromise; applyUnlock(loanAccountId: string, unlockLoanAccountInput: UnlockLoanAccountInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): AxiosPromise; getAll(loanAccountId: string, offset?: number, limit?: number, paginationDetails?: GetAllPaginationDetailsEnum, detailsLevel?: GetAllDetailsLevelEnum, options?: RawAxiosRequestConfig): AxiosPromise>; getById(loanTransactionId: string, detailsLevel?: GetByIdDetailsLevelEnum, options?: RawAxiosRequestConfig): AxiosPromise; getTransactionsForAllVersions(loanAccountId: string, offset?: number, limit?: number, paginationDetails?: GetTransactionsForAllVersionsPaginationDetailsEnum, detailsLevel?: GetTransactionsForAllVersionsDetailsLevelEnum, options?: RawAxiosRequestConfig): AxiosPromise>; makeDepositOnCreditBalance(loanAccountId: string, creditBalanceDepositTransactionInput: CreditBalanceDepositTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): AxiosPromise; makeDisbursement(loanAccountId: string, disbursementLoanTransactionInput: DisbursementLoanTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): AxiosPromise; makePrincipalOverpayment(loanAccountId: string, principalOverpaymentLoanTransactionInput: PrincipalOverpaymentLoanTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): AxiosPromise; makeRedrawRepayment(loanAccountId: string, redrawRepaymentTransactionInputDTO: RedrawRepaymentTransactionInputDTO, idempotencyKey?: string, options?: RawAxiosRequestConfig): AxiosPromise; makeRefund(loanAccountId: string, refundLoanTransactionInput: RefundLoanTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): AxiosPromise; makeRepayment(loanAccountId: string, repaymentLoanTransactionInput: RepaymentLoanTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): AxiosPromise; makeWithdrawal(loanAccountId: string, withdrawalRedrawTransactionInput: WithdrawalRedrawTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): AxiosPromise; search(loanTransactionSearchCriteria: LoanTransactionSearchCriteria, offset?: number, limit?: number, paginationDetails?: SearchPaginationDetailsEnum, cursor?: string, detailsLevel?: SearchDetailsLevelEnum, options?: RawAxiosRequestConfig): AxiosPromise>; }; export declare class LoanTransactionsApi extends BaseAPI { adjust(loanTransactionId: string, loanTransactionAdjustmentDetails: LoanTransactionAdjustmentDetails, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise>; applyFee(loanAccountId: string, feeLoanTransactionInput: FeeLoanTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise>; applyLock(loanAccountId: string, lockLoanAccountInput: LockLoanAccountInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise>; applyPaymentMade(loanAccountId: string, paymentMadeTransactionInput: PaymentMadeTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise>; applyUnlock(loanAccountId: string, unlockLoanAccountInput: UnlockLoanAccountInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise>; getAll(loanAccountId: string, offset?: number, limit?: number, paginationDetails?: GetAllPaginationDetailsEnum, detailsLevel?: GetAllDetailsLevelEnum, options?: RawAxiosRequestConfig): Promise>; getById(loanTransactionId: string, detailsLevel?: GetByIdDetailsLevelEnum, options?: RawAxiosRequestConfig): Promise>; getTransactionsForAllVersions(loanAccountId: string, offset?: number, limit?: number, paginationDetails?: GetTransactionsForAllVersionsPaginationDetailsEnum, detailsLevel?: GetTransactionsForAllVersionsDetailsLevelEnum, options?: RawAxiosRequestConfig): Promise>; makeDepositOnCreditBalance(loanAccountId: string, creditBalanceDepositTransactionInput: CreditBalanceDepositTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise>; makeDisbursement(loanAccountId: string, disbursementLoanTransactionInput: DisbursementLoanTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise>; makePrincipalOverpayment(loanAccountId: string, principalOverpaymentLoanTransactionInput: PrincipalOverpaymentLoanTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise>; makeRedrawRepayment(loanAccountId: string, redrawRepaymentTransactionInputDTO: RedrawRepaymentTransactionInputDTO, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise>; makeRefund(loanAccountId: string, refundLoanTransactionInput: RefundLoanTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise>; makeRepayment(loanAccountId: string, repaymentLoanTransactionInput: RepaymentLoanTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise>; makeWithdrawal(loanAccountId: string, withdrawalRedrawTransactionInput: WithdrawalRedrawTransactionInput, idempotencyKey?: string, options?: RawAxiosRequestConfig): Promise>; search(loanTransactionSearchCriteria: LoanTransactionSearchCriteria, offset?: number, limit?: number, paginationDetails?: SearchPaginationDetailsEnum, cursor?: string, detailsLevel?: SearchDetailsLevelEnum, options?: RawAxiosRequestConfig): Promise>; } export declare const GetAllPaginationDetailsEnum: { readonly On: "ON"; readonly Off: "OFF"; }; export type GetAllPaginationDetailsEnum = (typeof GetAllPaginationDetailsEnum)[keyof typeof GetAllPaginationDetailsEnum]; export declare const GetAllDetailsLevelEnum: { readonly Basic: "BASIC"; readonly Full: "FULL"; }; export type GetAllDetailsLevelEnum = (typeof GetAllDetailsLevelEnum)[keyof typeof GetAllDetailsLevelEnum]; export declare const GetByIdDetailsLevelEnum: { readonly Basic: "BASIC"; readonly Full: "FULL"; }; export type GetByIdDetailsLevelEnum = (typeof GetByIdDetailsLevelEnum)[keyof typeof GetByIdDetailsLevelEnum]; export declare const GetTransactionsForAllVersionsPaginationDetailsEnum: { readonly On: "ON"; readonly Off: "OFF"; }; export type GetTransactionsForAllVersionsPaginationDetailsEnum = (typeof GetTransactionsForAllVersionsPaginationDetailsEnum)[keyof typeof GetTransactionsForAllVersionsPaginationDetailsEnum]; export declare const GetTransactionsForAllVersionsDetailsLevelEnum: { readonly Basic: "BASIC"; readonly Full: "FULL"; }; export type GetTransactionsForAllVersionsDetailsLevelEnum = (typeof GetTransactionsForAllVersionsDetailsLevelEnum)[keyof typeof GetTransactionsForAllVersionsDetailsLevelEnum]; export declare const SearchPaginationDetailsEnum: { readonly On: "ON"; readonly Off: "OFF"; }; export type SearchPaginationDetailsEnum = (typeof SearchPaginationDetailsEnum)[keyof typeof SearchPaginationDetailsEnum]; export declare const SearchDetailsLevelEnum: { readonly Basic: "BASIC"; readonly Full: "FULL"; }; export type SearchDetailsLevelEnum = (typeof SearchDetailsLevelEnum)[keyof typeof SearchDetailsLevelEnum];