/* tslint:disable */ /* eslint-disable */ /** * loans/transactions * 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. */ /** * The sorting criteria used for when searching loan transactions. */ export interface LoanTransactionSortingCriteria { /** * 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 using the format [customFieldSetId].[customFieldId]. */ field: LoanTransactionSortingCriteriaFieldEnum; /** * The sorting order: `ASC` or `DESC`. The default order is `DESC`. */ order?: LoanTransactionSortingCriteriaOrderEnum; } export const LoanTransactionSortingCriteriaFieldEnum = { Id: 'id', ExternalId: 'externalId', CreationDate: 'creationDate', ValueDate: 'valueDate', ParentAccountId: 'parentAccountId', ProductId: 'productId', Amount: 'amount', OriginalAmount: 'originalAmount', OriginalCurrencyCode: 'originalCurrencyCode', BranchId: 'branchId', CentreId: 'centreId', TillId: 'tillId', TermsInterestSettingsInterestRate: 'terms.interestSettings.interestRate', TransactionDetailsTransactionChannelId: 'transactionDetails.transactionChannelId', FeesName: 'fees.name', AccountBalancesTotalBalance: 'accountBalances.totalBalance', AccountBalancesPrincipalBalance: 'accountBalances.principalBalance', AccountBalancesRedrawBalance: 'accountBalances.redrawBalance', AccountBalancesExpectedPrincipalRedraw: 'accountBalances.expectedPrincipalRedraw', AccountBalancesAdvancePosition: 'accountBalances.advancePosition', AccountBalancesArrearsPosition: 'accountBalances.arrearsPosition', AffectedAmountsPrincipalAmount: 'affectedAmounts.principalAmount', AffectedAmountsInterestAmount: 'affectedAmounts.interestAmount', AffectedAmountsInterestFromArrearsAmount: 'affectedAmounts.interestFromArrearsAmount', AffectedAmountsDeferredInterestAmount: 'affectedAmounts.deferredInterestAmount', AffectedAmountsFeesAmount: 'affectedAmounts.feesAmount', AffectedAmountsPenaltyAmount: 'affectedAmounts.penaltyAmount', AffectedAmountsOrganizationCommissionAmount: 'affectedAmounts.organizationCommissionAmount', AffectedAmountsFundersInterestAmount: 'affectedAmounts.fundersInterestAmount', TaxesTaxRate: 'taxes.taxRate', } as const; export type LoanTransactionSortingCriteriaFieldEnum = (typeof LoanTransactionSortingCriteriaFieldEnum)[keyof typeof LoanTransactionSortingCriteriaFieldEnum]; export const LoanTransactionSortingCriteriaOrderEnum = { Asc: 'ASC', Desc: 'DESC', } as const; export type LoanTransactionSortingCriteriaOrderEnum = (typeof LoanTransactionSortingCriteriaOrderEnum)[keyof typeof LoanTransactionSortingCriteriaOrderEnum];