2
0
mirror of https://github.com/frappe/books.git synced 2025-01-22 22:58:28 +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 13:01:00 +05:30
export type InvoiceStatus = 'Draft' | 'Saved' | 'Unpaid' | 'Cancelled' | 'Paid' | 'Return' | 'ReturnIssued';
export enum ModelNameEnum {
Account = 'Account',
AccountingLedgerEntry = 'AccountingLedgerEntry',
AccountingSettings = 'AccountingSettings',
Address = 'Address',
2023-02-28 11:31:04 +05:30
Batch= 'Batch',
Color = 'Color',
Currency = 'Currency',
GetStarted = 'GetStarted',
2022-10-12 14:05:18 +05:30
Defaults = 'Defaults',
Item = 'Item',
2023-06-06 14:29:08 +05:30
ItemPrice = 'ItemPrice',
2022-07-08 23:21:21 +05:30
UOM = 'UOM',
UOMConversionItem = 'UOMConversionItem',
JournalEntry = 'JournalEntry',
JournalEntryAccount = 'JournalEntryAccount',
2022-07-20 14:14:36 +05:30
Misc = 'Misc',
NumberSeries = 'NumberSeries',
2024-08-09 10:41:54 +05:30
Lead = 'Lead',
Party = 'Party',
2024-08-22 15:54:24 +05:30
LoyaltyProgram = 'LoyaltyProgram',
LoyaltyPointEntry = 'LoyaltyPointEntry',
CollectionRulesItems = 'CollectionRulesItems',
2024-08-21 11:11:43 +05:30
CouponCode = 'CouponCode',
2024-09-11 16:08:41 +05:30
AppliedCouponCodes = 'AppliedCouponCodes',
Payment = 'Payment',
PaymentFor = 'PaymentFor',
2023-06-06 14:29:08 +05:30
PriceList = 'PriceList',
2024-01-30 18:25:50 +05:30
PricingRule = 'PricingRule',
PricingRuleItem = 'PricingRuleItem',
2024-01-30 18:26:05 +05:30
PricingRuleDetail = 'PricingRuleDetail',
PrintSettings = 'PrintSettings',
PrintTemplate = 'PrintTemplate',
PurchaseInvoice = 'PurchaseInvoice',
PurchaseInvoiceItem = 'PurchaseInvoiceItem',
SalesInvoice = 'SalesInvoice',
SalesInvoiceItem = 'SalesInvoiceItem',
SalesQuote = 'SalesQuote',
SalesQuoteItem = 'SalesQuoteItem',
2023-05-04 16:15:12 +05:30
SerialNumber = 'SerialNumber',
SetupWizard = 'SetupWizard',
Tax = 'Tax',
TaxDetail = 'TaxDetail',
TaxSummary = 'TaxSummary',
PatchRun = 'PatchRun',
SingleValue = 'SingleValue',
2022-11-18 14:14:29 +05:30
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 12:18:51 +05:30
CustomField = 'CustomField',
2023-09-05 17:33:42 +05:30
POSSettings = 'POSSettings',
2023-08-22 12:18:51 +05:30
POSShift = 'POSShift'
}
2022-06-14 14:40:46 +05:30
export type ModelName = keyof typeof ModelNameEnum;