/* tslint:disable */ /* eslint-disable */ /** * loans * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v2 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * Represents the sorting criteria used for loan account searches. */ export interface LoanAccountSortingCriteria { /** * Contains the field that can be used as sorting selection. Can be native (one from the provided list) or otherwise can specify a custom field definition using the format [customFieldSetId].[customFieldId]. */ field: LoanAccountSortingCriteriaFieldEnum; /** * The sorting order: `ASC` or `DESC`. The default order is `DESC`. */ order?: LoanAccountSortingCriteriaOrderEnum; } export const LoanAccountSortingCriteriaFieldEnum = { EncodedKey: 'encodedKey', LoanName: 'loanName', Id: 'id', AccountHolderId: 'accountHolderId', Recipient: 'recipient', CreationDate: 'creationDate', ApprovedDate: 'approvedDate', LastModifiedDate: 'lastModifiedDate', LastSetToArrearsDate: 'lastSetToArrearsDate', LastLockedDate: 'lastLockedDate', ClosedDate: 'closedDate', DaysInArrears: 'daysInArrears', DaysLate: 'daysLate', LoanAmount: 'loanAmount', TranchesAmount: 'tranches.amount', NumInstallments: 'numInstallments', AccruedInterest: 'accruedInterest', AccruedPenalty: 'accruedPenalty', PenaltySettingsPenaltyRate: 'penaltySettings.penaltyRate', ArrearsTolerancePeriod: 'arrearsTolerancePeriod', InterestSettingsInterestSpread: 'interestSettings.interestSpread', TotalPaid: 'totalPaid', TotalBalance: 'totalBalance', TotalDue: 'totalDue', FirstRepaymentDate: 'firstRepaymentDate', LastPaymentDate: 'lastPaymentDate', LastPaymentAmount: 'lastPaymentAmount', ExpectedMaturity: 'expectedMaturity', RescheduledAccountKey: 'rescheduledAccountKey', RefinancedAccountId: 'refinancedAccountId', OriginalAccountKey: 'originalAccountKey', TaxRate: 'taxRate', TaxPaid: 'taxPaid', TaxDue: 'taxDue', SettlementAccountKey: 'settlementAccountKey', InterestCommission: 'interestCommission', NumberOfFunds: 'numberOfFunds', FundsEnabled: 'fundsEnabled', AvailableAmount: 'availableAmount', WasRescheduled: 'wasRescheduled', WasRefinanced: 'wasRefinanced', ExpectedPrincipalRedraw: 'expectedPrincipalRedraw', BalancesPrincipalDue: 'balances.principalDue', BalancesPrincipalPaid: 'balances.principalPaid', BalancesPrincipalBalance: 'balances.principalBalance', BalancesInterestDue: 'balances.interestDue', BalancesInterestPaid: 'balances.interestPaid', BalanceInterestBalance: 'balance.interestBalance', BalancesRedrawBalance: 'balances.redrawBalance', BalancesFeesDue: 'balances.feesDue', BalancesFeesBalance: 'balances.feesBalance', BalancesFeesPaid: 'balances.feesPaid', BalancesPenaltyDue: 'balances.penaltyDue', BalancesPenaltyPaid: 'balances.penaltyPaid', BalancesPenaltyBalance: 'balances.penaltyBalance', FundingSourcesAmount: 'fundingSources.amount', FundingSourcesSharePercentage: 'fundingSources.sharePercentage', } as const; export type LoanAccountSortingCriteriaFieldEnum = (typeof LoanAccountSortingCriteriaFieldEnum)[keyof typeof LoanAccountSortingCriteriaFieldEnum]; export const LoanAccountSortingCriteriaOrderEnum = { Asc: 'ASC', Desc: 'DESC', } as const; export type LoanAccountSortingCriteriaOrderEnum = (typeof LoanAccountSortingCriteriaOrderEnum)[keyof typeof LoanAccountSortingCriteriaOrderEnum];