Versions in this module Expand all Collapse all v1 v1.2.0 Nov 30, 2024 Changes in this version + type Category struct + Id string + Name string + Products []CategoryProduct + type CategoryProduct struct + Id string + Name string + type ComponentConsumeLogs struct + Company string + Date time.Time + Id string + ItemName string + ItemOrderIndex uint + Name string + OrderId string + Quantity float32 + type ItemCost struct + Components []struct{ ... } + Cost float64 + DownstreamCost []ItemCost + ItemName string + Quantity float64 + RecipeId string + SalePrice float64 + type JSONFloat float64 + func (j JSONFloat) MarshalJSON() ([]byte, error) + type Material struct + Entries []MaterialEntry + Id string + Name string + Quantity float64 + Settings MaterialSettings + Unit string + type MaterialEntry struct + Company string + ExpirationDate time.Time + Id string + PurchasePrice float64 + PurchaseQuantity float32 + Quantity float32 + SKU string + type MaterialSettings struct + StockAlertTreshold float64 + type Order struct + Comment string + Cost float64 + Discount float64 + DisplayId string + Id string + IsPaid bool + IsPayLater bool + Items []OrderItem + SalePrice float64 + StartedAt time.Time + State string + SubmittedAt time.Time + type OrderItem struct + Comment string + Cost float64 + Id string + IsConsumeFromReady bool + Materials []OrderItemMaterial + Price float64 + Product Product + Quantity float64 + SalePrice float64 + SubItems []OrderItem + type OrderItemMaterial struct + Entry MaterialEntry + Material Material + Quantity float64 + type OrderQueueSettings struct + Next uint32 + Prefix string + type OrderSettings struct + Queues []OrderQueueSettings + type Product struct + Entries []ProductEntry + Id string + ImageURL string + Materials []Material + Name string + Price float64 + Quantity float64 + Ready float64 + SubProducts []Product + Unit string + type ProductEntry struct + Company string + Id string + PurchasePrice float64 + PurchaseQuantity float32 + Quantity float32 + SKU string + Unit string + type SalesLogs struct + Cost JSONFloat + Date time.Time + Id string + Items []ItemCost + OrderId string + SalePrice JSONFloat + TimeConsumed time.Time + Type string + type SalesPerDay struct + Costs float64 + Date string + Id string + Orders []SalesPerDayOrder + TotalSales float64 + type SalesPerDayOrder struct + Costs []ItemCost + Order Order + type Settings struct + Id string + Inventory struct{ ... } + Orders OrderSettings + type Topic struct + Name string + Subscribers []string + type WebsocketClientBaseMessage struct + Type string + type WebsocketOrderFinishClientMessage struct + OrderId string + type WebsocketOrderFinishServerMessage struct + OrderId string + type WebsocketSubscribeClientMessage struct + TopicName string + type WebsocketTopicClientMessage struct + TopicName string + type WebsocketTopicServerMessage struct + Key string + Message string + Severity string + TopicName string + Type string