/* tslint:disable */ /* eslint-disable */ /** * gljournalentries * 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 general ledger journal entries. */ export interface GLJournalEntrySortingCriteria { /** * The field that can be used to sort the selection. These fields can be from the enumerated values or you can specify a custom field using the format [customFieldSetId].[customFieldId]. */ field: GLJournalEntrySortingCriteriaFieldEnum; /** * The sorting order: `ASC` or `DESC`. The default order is `DESC`. */ order?: GLJournalEntrySortingCriteriaOrderEnum; } export const GLJournalEntrySortingCriteriaFieldEnum = { EncodedKey: 'encodedKey', EntryId: 'entryId', BookingDate: 'bookingDate', CreationDate: 'creationDate', TransactionId: 'transactionId', GlAccountName: 'glAccountName', GlAccountId: 'glAccountId', GlAccountType: 'glAccountType', Debit: 'debit', Credit: 'credit', ForeignDebit: 'foreignDebit', ForeignCredit: 'foreignCredit', LoanAccountId: 'loanAccountId', UserName: 'userName', User: 'user', BranchName: 'branchName', ForeignCurrency: 'foreignCurrency', } as const; export type GLJournalEntrySortingCriteriaFieldEnum = (typeof GLJournalEntrySortingCriteriaFieldEnum)[keyof typeof GLJournalEntrySortingCriteriaFieldEnum]; export const GLJournalEntrySortingCriteriaOrderEnum = { Asc: 'ASC', Desc: 'DESC', } as const; export type GLJournalEntrySortingCriteriaOrderEnum = (typeof GLJournalEntrySortingCriteriaOrderEnum)[keyof typeof GLJournalEntrySortingCriteriaOrderEnum];