2022-06-14 09:10:46 +00:00
|
|
|
export type InvoiceStatus = 'Draft' | 'Saved' | 'Unpaid' | 'Cancelled' | 'Paid';
|
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',
|
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',
|
|
|
|
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',
|
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;
|