2023-07-01 07:31:00 +00:00
|
|
|
export type InvoiceStatus = 'Draft' | 'Saved' | 'Unpaid' | 'Cancelled' | 'Paid' | 'Return' | 'ReturnIssued';
|
2022-04-18 11:29:20 +00:00
|
|
|
export enum ModelNameEnum {
|
|
|
|
Account = 'Account',
|
|
|
|
AccountingLedgerEntry = 'AccountingLedgerEntry',
|
|
|
|
AccountingSettings = 'AccountingSettings',
|
|
|
|
Address = 'Address',
|
2023-02-28 06:01:04 +00:00
|
|
|
Batch= 'Batch',
|
2022-04-18 11:29:20 +00:00
|
|
|
Color = 'Color',
|
|
|
|
Currency = 'Currency',
|
|
|
|
GetStarted = 'GetStarted',
|
2022-10-12 08:35:18 +00:00
|
|
|
Defaults = 'Defaults',
|
2022-04-18 11:29:20 +00:00
|
|
|
Item = 'Item',
|
2023-06-06 08:59:08 +00:00
|
|
|
ItemPrice = 'ItemPrice',
|
2022-07-08 17:51:21 +00:00
|
|
|
UOM = 'UOM',
|
2023-02-21 08:54:35 +00:00
|
|
|
UOMConversionItem = 'UOMConversionItem',
|
2022-04-18 11:29:20 +00:00
|
|
|
JournalEntry = 'JournalEntry',
|
|
|
|
JournalEntryAccount = 'JournalEntryAccount',
|
2022-07-20 08:44:36 +00:00
|
|
|
Misc = 'Misc',
|
2022-04-18 11:29:20 +00:00
|
|
|
NumberSeries = 'NumberSeries',
|
|
|
|
Party = 'Party',
|
|
|
|
Payment = 'Payment',
|
|
|
|
PaymentFor = 'PaymentFor',
|
2023-06-06 08:59:08 +00:00
|
|
|
PriceList = 'PriceList',
|
2022-04-18 11:29:20 +00:00
|
|
|
PrintSettings = 'PrintSettings',
|
2023-02-22 10:21:20 +00:00
|
|
|
PrintTemplate = 'PrintTemplate',
|
2022-04-18 11:29:20 +00:00
|
|
|
PurchaseInvoice = 'PurchaseInvoice',
|
|
|
|
PurchaseInvoiceItem = 'PurchaseInvoiceItem',
|
|
|
|
SalesInvoice = 'SalesInvoice',
|
|
|
|
SalesInvoiceItem = 'SalesInvoiceItem',
|
2023-05-04 10:45:12 +00:00
|
|
|
SerialNumber = 'SerialNumber',
|
2022-04-18 11:29:20 +00:00
|
|
|
SetupWizard = 'SetupWizard',
|
|
|
|
Tax = 'Tax',
|
|
|
|
TaxDetail = 'TaxDetail',
|
|
|
|
TaxSummary = 'TaxSummary',
|
|
|
|
PatchRun = 'PatchRun',
|
|
|
|
SingleValue = 'SingleValue',
|
2022-11-18 08:44:29 +00:00
|
|
|
InventorySettings = 'InventorySettings',
|
2022-04-18 11:29:20 +00:00
|
|
|
SystemSettings = 'SystemSettings',
|
2022-10-05 14:37:17 +00:00
|
|
|
StockMovement = 'StockMovement',
|
|
|
|
StockMovementItem = 'StockMovementItem',
|
|
|
|
StockLedgerEntry = 'StockLedgerEntry',
|
2022-11-14 08:30:11 +00:00
|
|
|
Shipment = 'Shipment',
|
|
|
|
ShipmentItem = 'ShipmentItem',
|
|
|
|
PurchaseReceipt = 'PurchaseReceipt',
|
|
|
|
PurchaseReceiptItem = 'PurchaseReceiptItem',
|
2022-10-05 14:37:17 +00:00
|
|
|
Location = 'Location',
|
2023-07-31 07:08:32 +00:00
|
|
|
CustomForm = 'CustomForm',
|
2023-08-22 06:48:51 +00:00
|
|
|
CustomField = 'CustomField',
|
2023-09-05 12:03:42 +00:00
|
|
|
POSSettings = 'POSSettings',
|
2023-08-22 06:48:51 +00:00
|
|
|
POSShift = 'POSShift'
|
2022-04-18 11:29:20 +00:00
|
|
|
}
|
2022-05-11 10:44:31 +00:00
|
|
|
|
2022-06-14 09:10:46 +00:00
|
|
|
export type ModelName = keyof typeof ModelNameEnum;
|