2
0
mirror of https://github.com/frappe/books.git synced 2024-12-22 10:58:59 +00:00
books/models/types.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

66 lines
2.0 KiB
TypeScript
Raw Normal View History

2023-07-01 07:31:00 +00:00
export type InvoiceStatus = 'Draft' | 'Saved' | 'Unpaid' | 'Cancelled' | 'Paid' | 'Return' | 'ReturnIssued';
export enum ModelNameEnum {
Account = 'Account',
AccountingLedgerEntry = 'AccountingLedgerEntry',
AccountingSettings = 'AccountingSettings',
Address = 'Address',
2023-02-28 06:01:04 +00:00
Batch= 'Batch',
Color = 'Color',
Currency = 'Currency',
GetStarted = 'GetStarted',
2022-10-12 08:35:18 +00:00
Defaults = 'Defaults',
Item = 'Item',
2023-06-06 08:59:08 +00:00
ItemPrice = 'ItemPrice',
2022-07-08 17:51:21 +00:00
UOM = 'UOM',
UOMConversionItem = 'UOMConversionItem',
JournalEntry = 'JournalEntry',
JournalEntryAccount = 'JournalEntryAccount',
2022-07-20 08:44:36 +00:00
Misc = 'Misc',
NumberSeries = 'NumberSeries',
2024-08-09 05:11:54 +00:00
Lead = 'Lead',
Party = 'Party',
2024-08-22 10:24:24 +00:00
LoyaltyProgram = 'LoyaltyProgram',
LoyaltyPointEntry = 'LoyaltyPointEntry',
CollectionRulesItems = 'CollectionRulesItems',
2024-08-21 05:41:43 +00:00
CouponCode = 'CouponCode',
2024-09-11 10:38:41 +00:00
AppliedCouponCodes = 'AppliedCouponCodes',
Payment = 'Payment',
PaymentFor = 'PaymentFor',
2023-06-06 08:59:08 +00:00
PriceList = 'PriceList',
2024-01-30 12:55:50 +00:00
PricingRule = 'PricingRule',
PricingRuleItem = 'PricingRuleItem',
2024-01-30 12:56:05 +00:00
PricingRuleDetail = 'PricingRuleDetail',
PrintSettings = 'PrintSettings',
PrintTemplate = 'PrintTemplate',
PurchaseInvoice = 'PurchaseInvoice',
PurchaseInvoiceItem = 'PurchaseInvoiceItem',
SalesInvoice = 'SalesInvoice',
SalesInvoiceItem = 'SalesInvoiceItem',
SalesQuote = 'SalesQuote',
SalesQuoteItem = 'SalesQuoteItem',
2023-05-04 10:45:12 +00:00
SerialNumber = 'SerialNumber',
SetupWizard = 'SetupWizard',
Tax = 'Tax',
TaxDetail = 'TaxDetail',
TaxSummary = 'TaxSummary',
PatchRun = 'PatchRun',
SingleValue = 'SingleValue',
2022-11-18 08:44:29 +00:00
InventorySettings = 'InventorySettings',
SystemSettings = 'SystemSettings',
StockMovement = 'StockMovement',
StockMovementItem = 'StockMovementItem',
StockLedgerEntry = 'StockLedgerEntry',
Shipment = 'Shipment',
ShipmentItem = 'ShipmentItem',
PurchaseReceipt = 'PurchaseReceipt',
PurchaseReceiptItem = 'PurchaseReceiptItem',
Location = 'Location',
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-06-14 09:10:46 +00:00
export type ModelName = keyof typeof ModelNameEnum;