@final-commerce/common 2.5.0-staging.1 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -156,27 +156,6 @@ interface OrderLineItemModifier {
156
156
  total: number;
157
157
  totalTax?: number;
158
158
  taxes?: OrderTax[];
159
- componentIndex?: number;
160
- }
161
- interface OrderLineItemComponent {
162
- productId: string;
163
- variantId: string;
164
- name: string;
165
- attributes?: string;
166
- sku?: string;
167
- productExternalId?: string;
168
- variantExternalId?: string;
169
- partName?: string;
170
- quantity: number;
171
- price: number;
172
- unitId?: string;
173
- unitAbbreviation?: string;
174
- unitRatioToBase?: number;
175
- stockQuantity?: number;
176
- stockVariantId?: string;
177
- taxTableId?: string;
178
- totalTax?: number;
179
- taxes?: OrderTax[];
180
159
  }
181
160
  interface OrderLineItem {
182
161
  id?: string;
@@ -201,7 +180,6 @@ interface OrderLineItem {
201
180
  discount?: OrderLineItemDiscount;
202
181
  fee?: OrderLineItemFee;
203
182
  modifiers?: OrderLineItemModifier[];
204
- components?: OrderLineItemComponent[];
205
183
  lineNetWithFees?: number;
206
184
  metadata?: Metadata[];
207
185
  stock?: number;
@@ -453,7 +431,8 @@ declare enum InventorySpecificActionType {
453
431
  APPLIED_FROM_WOO = "APPLIED_FROM_WOO",
454
432
  PO_RECEIVED = "PO_RECEIVED",
455
433
  EXTERNAL_SALE = "EXTERNAL_SALE",
456
- EXTERNAL_RESTOCK = "EXTERNAL_RESTOCK"
434
+ EXTERNAL_RESTOCK = "EXTERNAL_RESTOCK",
435
+ CUSTOM = "CUSTOM"
457
436
  }
458
437
  declare enum UserTypes {
459
438
  COMPANY_OWNER = "owner",
@@ -481,8 +460,7 @@ declare enum NonRevenueItemType {
481
460
  declare enum ProductType {
482
461
  SIMPLE = "simple",
483
462
  VARIABLE = "variable",
484
- BOOKING = "booking",
485
- COMPOSITE = "composite"
463
+ BOOKING = "booking"
486
464
  }
487
465
  declare enum ProductStatus {
488
466
  ACTIVE = "active",
@@ -529,7 +507,6 @@ interface RefundLineItem {
529
507
  discount?: RefundDiscount;
530
508
  fee?: OrderLineItemFee;
531
509
  modifiers?: OrderLineItemModifier[];
532
- components?: OrderLineItemComponent[];
533
510
  lineNetWithFees?: number;
534
511
  quantity?: number;
535
512
  stockQuantity?: number;
@@ -653,8 +630,6 @@ interface OrderReservation {
653
630
  startAt: string;
654
631
  endAt: string;
655
632
  bufferEndAt: string;
656
- lineItemInternalId?: string;
657
- componentIndex?: number;
658
633
  override?: boolean;
659
634
  overriddenBy?: string | null;
660
635
  }
@@ -1454,7 +1429,6 @@ interface LineItem {
1454
1429
  discount: DiscountLineItem;
1455
1430
  fee: FeeLineItem;
1456
1431
  modifiers?: OrderLineItemModifier[];
1457
- components?: OrderLineItemComponent[];
1458
1432
  totalTax: number;
1459
1433
  total: number;
1460
1434
  lineNetWithFees: number;
@@ -1567,7 +1541,6 @@ interface RefundedLineItem {
1567
1541
  images?: string[];
1568
1542
  fee: FeeLineItem;
1569
1543
  modifiers?: OrderLineItemModifier[];
1570
- components?: OrderLineItemComponent[];
1571
1544
  }
1572
1545
  interface RefundItem {
1573
1546
  lineItems: RefundedLineItem[];
@@ -1662,145 +1635,6 @@ interface CartLineModifier {
1662
1635
  unitPrice: number;
1663
1636
  quantity: number;
1664
1637
  taxTableId?: string;
1665
- componentIndex?: number;
1666
- }
1667
-
1668
- interface MeasurementUnit {
1669
- unitId: string;
1670
- companyId: string | null;
1671
- familyId: string;
1672
- name: string;
1673
- abbreviation: string;
1674
- ratioToBase: number;
1675
- precision: number;
1676
- systemKey?: string;
1677
- sellable?: false;
1678
- }
1679
-
1680
- interface Inventory {
1681
- warehouse: string;
1682
- outletId: string;
1683
- stock?: number | null;
1684
- }
1685
- interface ProductVariant {
1686
- sku: string;
1687
- price: number;
1688
- salePrice: number;
1689
- isOnSale: boolean;
1690
- barcode?: string;
1691
- costPrice?: number;
1692
- manageStock: boolean;
1693
- externalId: string;
1694
- inventory?: Inventory[];
1695
- allowBackorder?: boolean;
1696
- images?: string[];
1697
- attributes: {
1698
- name: string;
1699
- value?: string;
1700
- }[];
1701
- metadata?: {
1702
- key: string;
1703
- value: string;
1704
- }[];
1705
- _id: string;
1706
- isDeleted?: boolean;
1707
- currency?: CurrencyCode;
1708
- minorUnits?: number;
1709
- unitId?: string;
1710
- unit?: MeasurementUnit;
1711
- stockVariantId?: string;
1712
- }
1713
- interface FullProduct {
1714
- _id: string;
1715
- companyId?: string;
1716
- externalId: string;
1717
- taxTable: string;
1718
- name: string;
1719
- description?: string;
1720
- shortDescription?: string;
1721
- images?: string[];
1722
- categories: {
1723
- name: string;
1724
- externalId: string;
1725
- }[];
1726
- attributes: {
1727
- name: string;
1728
- values: string[];
1729
- }[];
1730
- tags?: string[];
1731
- supplier?: string;
1732
- sku?: string;
1733
- productType: ProductType;
1734
- bookingRulesId?: string;
1735
- composite?: Composite | null;
1736
- variants: ProductVariant[];
1737
- defaultVariantId?: string;
1738
- modifiers?: ResolvedModifier[];
1739
- minPrice?: number;
1740
- maxPrice?: number;
1741
- price?: number;
1742
- status?: string;
1743
- isDeleted?: boolean;
1744
- currency?: CurrencyCode;
1745
- minorUnits?: number;
1746
- createdAt?: string;
1747
- updatedAt?: string;
1748
- }
1749
- type ActiveFullProduct = FullProduct;
1750
-
1751
- type CompositeItemUnavailable = 'deleted' | 'inactive' | 'hidden' | 'empty' | 'out_of_stock' | 'by_date' | 'fully_booked';
1752
- interface CompositeChoice {
1753
- productId: string;
1754
- variantId: string;
1755
- name: string;
1756
- attributes: ProductVariant['attributes'];
1757
- modifiers?: ResolvedModifier[];
1758
- stockLeft?: number;
1759
- unit?: MeasurementUnit;
1760
- }
1761
- interface CompositeItem {
1762
- _id: string;
1763
- variantId: string | null;
1764
- categoryId: string | null;
1765
- name: string;
1766
- extraCharge: number;
1767
- quantity: number;
1768
- cost: number;
1769
- unavailable: CompositeItemUnavailable | null;
1770
- choices: CompositeChoice[];
1771
- }
1772
- interface CompositePart {
1773
- _id: string;
1774
- name: string | null;
1775
- required: boolean;
1776
- min: number;
1777
- max: number;
1778
- items: CompositeItem[];
1779
- defaultPick: Pick<CompositePick, 'itemId' | 'variantId'> | null;
1780
- }
1781
- interface Composite {
1782
- available: boolean;
1783
- basePrice: number | null;
1784
- fromPrice: number | null;
1785
- parts: CompositePart[];
1786
- }
1787
- interface CompositePick {
1788
- itemId: string;
1789
- variantId: string;
1790
- quantity?: number;
1791
- modifiers?: ModifierSelection[];
1792
- }
1793
- interface CartLineComponent {
1794
- partName?: string;
1795
- productId: string;
1796
- variantId: string;
1797
- name: string;
1798
- attributes?: ProductVariant['attributes'];
1799
- quantity: number;
1800
- unitPrice: number;
1801
- taxTableId?: string;
1802
- unit?: MeasurementUnit;
1803
- stockVariantId?: string;
1804
1638
  }
1805
1639
 
1806
1640
  interface Discount {
@@ -1817,6 +1651,18 @@ interface CustomFee {
1817
1651
  taxRateId?: string;
1818
1652
  }
1819
1653
 
1654
+ interface MeasurementUnit {
1655
+ unitId: string;
1656
+ companyId: string | null;
1657
+ familyId: string;
1658
+ name: string;
1659
+ abbreviation: string;
1660
+ ratioToBase: number;
1661
+ precision: number;
1662
+ systemKey?: string;
1663
+ sellable?: false;
1664
+ }
1665
+
1820
1666
  interface ActiveProduct {
1821
1667
  id: string;
1822
1668
  internalId: string;
@@ -1840,7 +1686,6 @@ interface ActiveProduct {
1840
1686
  fees?: CustomFee[];
1841
1687
  modifierSelections?: ModifierSelection[];
1842
1688
  modifiers?: CartLineModifier[];
1843
- components?: CartLineComponent[];
1844
1689
  currency?: CurrencyCode;
1845
1690
  minorUnits?: number;
1846
1691
  isUnlimited?: boolean;
@@ -1917,6 +1762,76 @@ interface ActiveCompany {
1917
1762
  settings?: unknown;
1918
1763
  }
1919
1764
 
1765
+ interface Inventory {
1766
+ warehouse: string;
1767
+ outletId: string;
1768
+ stock?: number | null;
1769
+ }
1770
+ interface ProductVariant {
1771
+ sku: string;
1772
+ price: number;
1773
+ salePrice: number;
1774
+ isOnSale: boolean;
1775
+ barcode?: string;
1776
+ costPrice?: number;
1777
+ manageStock: boolean;
1778
+ externalId: string;
1779
+ inventory?: Inventory[];
1780
+ allowBackorder?: boolean;
1781
+ images?: string[];
1782
+ attributes: {
1783
+ name: string;
1784
+ value?: string;
1785
+ }[];
1786
+ metadata?: {
1787
+ key: string;
1788
+ value: string;
1789
+ }[];
1790
+ _id: string;
1791
+ isDeleted?: boolean;
1792
+ currency?: CurrencyCode;
1793
+ minorUnits?: number;
1794
+ unitId?: string;
1795
+ unit?: MeasurementUnit;
1796
+ stockVariantId?: string;
1797
+ }
1798
+ interface FullProduct {
1799
+ _id: string;
1800
+ companyId?: string;
1801
+ externalId: string;
1802
+ taxTable: string;
1803
+ name: string;
1804
+ description?: string;
1805
+ shortDescription?: string;
1806
+ images?: string[];
1807
+ categories: {
1808
+ name: string;
1809
+ externalId: string;
1810
+ }[];
1811
+ attributes: {
1812
+ name: string;
1813
+ values: string[];
1814
+ }[];
1815
+ tags?: string[];
1816
+ supplier?: string;
1817
+ sku?: string;
1818
+ productType: ProductType;
1819
+ bookingRulesId?: string;
1820
+ variants: ProductVariant[];
1821
+ defaultVariantId?: string;
1822
+ modifiers?: ResolvedModifier[];
1823
+ minPrice?: number;
1824
+ maxPrice?: number;
1825
+ price?: number;
1826
+ status?: string;
1827
+ isDeleted?: boolean;
1828
+ currency?: CurrencyCode;
1829
+ minorUnits?: number;
1830
+ createdAt?: string;
1831
+ updatedAt?: string;
1832
+ }
1833
+ type ActiveFullProduct = FullProduct;
1834
+
1920
1835
  interface BookingSlotResource {
1921
1836
  resourceId: string;
1922
1837
  name: string;
@@ -2140,7 +2055,6 @@ interface ProdModifierBreakdown {
2140
2055
  tax: number;
2141
2056
  taxTableId?: string;
2142
2057
  taxes?: OrderTax[];
2143
- componentIndex?: number;
2144
2058
  }
2145
2059
  interface ProductTaxDetails {
2146
2060
  tax: number;
@@ -2394,7 +2308,11 @@ interface ReaderAvailability {
2394
2308
  bluetooth: boolean;
2395
2309
  unreferencedRefund?: boolean;
2396
2310
  }
2397
- type ServiceChannelMessageType = 'POSBRAIN_READY' | 'HOST_HELLO' | 'SERVICE_INIT' | 'BOOTSTRAP' | 'TOKEN_REFRESH' | 'SELECTION' | 'HOST_SHUTDOWN' | 'READER_CAPABILITIES' | 'RUNTIME_READY' | 'HOST_NAVIGATE' | 'SYNC_PROGRESS' | 'DEVICE_OP_REQUEST' | 'DEVICE_OP_RESPONSE' | 'PUBSUB_TOPICS_REQUEST' | 'PUBSUB_TOPICS_LIST' | 'PUBSUB_SUBSCRIBE' | 'PUBSUB_UNSUBSCRIBE' | 'PUBSUB_EVENT';
2311
+ type CashDrawerPolicy = 'everySale' | 'never';
2312
+ interface PrinterSettings {
2313
+ cashDrawer: CashDrawerPolicy;
2314
+ }
2315
+ type ServiceChannelMessageType = 'POSBRAIN_READY' | 'HOST_HELLO' | 'SERVICE_INIT' | 'BOOTSTRAP' | 'TOKEN_REFRESH' | 'SELECTION' | 'HOST_SHUTDOWN' | 'READER_CAPABILITIES' | 'PRINTER_SETTINGS' | 'RUNTIME_READY' | 'HOST_NAVIGATE' | 'SYNC_PROGRESS' | 'DEVICE_OP_REQUEST' | 'DEVICE_OP_RESPONSE' | 'PUBSUB_TOPICS_REQUEST' | 'PUBSUB_TOPICS_LIST' | 'PUBSUB_SUBSCRIBE' | 'PUBSUB_UNSUBSCRIBE' | 'PUBSUB_EVENT';
2398
2316
  interface PosBrainReadyMessage {
2399
2317
  type: 'POSBRAIN_READY';
2400
2318
  }
@@ -2415,6 +2333,7 @@ interface BootstrapMessage {
2415
2333
  apiUrl?: string;
2416
2334
  };
2417
2335
  paymentProvider?: PaymentProcessor;
2336
+ printerSettings?: PrinterSettings | null;
2418
2337
  }
2419
2338
  interface TokenRefreshMessage {
2420
2339
  type: 'TOKEN_REFRESH';
@@ -2431,6 +2350,10 @@ interface ReaderCapabilitiesMessage {
2431
2350
  type: 'READER_CAPABILITIES';
2432
2351
  readerCapabilities: ReaderCapabilities;
2433
2352
  }
2353
+ interface PrinterSettingsMessage {
2354
+ type: 'PRINTER_SETTINGS';
2355
+ printerSettings: PrinterSettings;
2356
+ }
2434
2357
  interface RuntimeReadyMessage {
2435
2358
  type: 'RUNTIME_READY';
2436
2359
  }
@@ -2493,6 +2416,6 @@ interface PubsubEventMessage {
2493
2416
  type: 'PUBSUB_EVENT';
2494
2417
  event: TopicEventWire;
2495
2418
  }
2496
- type ServiceChannelMessage = PosBrainReadyMessage | HostHelloMessage | ServiceInitMessage | BootstrapMessage | TokenRefreshMessage | SelectionMessage | HostShutdownMessage | ReaderCapabilitiesMessage | RuntimeReadyMessage | HostNavigateMessage | SyncProgressMessage | DeviceOpRequestMessage | DeviceOpResponseMessage | PubsubTopicsRequestMessage | PubsubTopicsListMessage | PubsubSubscribeMessage | PubsubEventMessage;
2419
+ type ServiceChannelMessage = PosBrainReadyMessage | HostHelloMessage | ServiceInitMessage | BootstrapMessage | TokenRefreshMessage | SelectionMessage | HostShutdownMessage | ReaderCapabilitiesMessage | PrinterSettingsMessage | RuntimeReadyMessage | HostNavigateMessage | SyncProgressMessage | DeviceOpRequestMessage | DeviceOpResponseMessage | PubsubTopicsRequestMessage | PubsubTopicsListMessage | PubsubSubscribeMessage | PubsubEventMessage;
2497
2420
 
2498
- export { type ActiveCart, type ActiveCartProduct, type ActiveCompany, type ActiveCustomSales, type ActiveCustomer, type ActiveEntityChanges, ActiveEntityType, type ActiveFullProduct, type ActiveOrder, type ActiveOrderReservation, type ActiveOutlet, type ActivePark, type ActiveProduct, type ActiveRefundOrder, type ActiveSession, type ActiveSplitPayment, type ActiveStation, type ActiveTaxDetails, type ActiveTimer, type ActiveUpdatedOrder, type ActiveUser, type ActiveUserRole, type Address, type Attribute, type AttributeEmbedded, type AttributeOption, type BaseDocument, type BaseEntity, type BaseTile, type Booking, type BookingAvailability, type BookingResource, type BookingSlot, type BookingSlotResource, type BootstrapMessage, type CalculatedTaxDetails, type CartDiscountItem, type CartFeeItem, type CartFeeTaxEntry, type CartFeesDetails, type CartLineComponent, type CartLineModifier, type CartReservation, type CashPaymentSettings, type CashRoundingIncrement, type Category, type CompanyExtension, type CompanySettingsEavValue, type CompanySettingsEavValueType, type Composite, type CompositeChoice, type CompositeItem, type CompositeItemUnavailable, type CompositePart, type CompositePick, type CustomExtension, type CustomFee, type CustomSale, type CustomSaleDetails, type CustomTable, type CustomTableField, type CustomTableMetadata, type CustomTableRow, type CustomTableValue, type Customer, type CustomerNote, type DeviceEnvAttribute, type DeviceEnvCategory, type DeviceEnvValue, type DeviceOpName, type DeviceOpRequestMessage, type DeviceOpResponseMessage, type Discount, type DiscountDetail, type DiscountLineItem, type Enrich, EnvironmentDataKeys, EnvironmentDataSubKeys, type FeeDetail, type FeeLineItem, type Flow, type FlowSettings, type FlowSettingsKey, type FlowWebApp, type FlowWebAppVersion, type FullProduct, type HostHelloMessage, type HostNavigateMessage, type HostNavigateTarget, type HostShutdownMessage, type Inventory, type LineItem, type Metadata, type MetadataItem, type ModifierChoiceSelection, type ModifierSelection, type ModifierSelectionType, type NonRevenueItem, type Note, type Order, type OrderCartDiscount, type OrderCartFee, type OrderCustomSale, type OrderCustomSaleDiscount, type OrderCustomSaleFee, type OrderLineItem, type OrderLineItemComponent, type OrderLineItemDiscount, type OrderLineItemFee, type OrderLineItemModifier, type OrderNote, type OrderPaymentMethod, type OrderPosData, type OrderRefund, type OrderRefundSummary, type OrderReservation, type OrderStateActor, type OrderStateActorType, type OrderStateConfig, type OrderStateEvent, type OrderStateEventTrigger, type OrderStateHistoryEntry, type OrderStateOperation, type OrderStatePair, type OrderSummary, type OrderSummaryPayments, type OrderTax, type OrderTip, type Outlet, type PaymentMethod, type PaymentResponse, type PaymentSetting, PaymentStatus, type PosBrainReadyMessage, type PosDataItem, type PriceModifierDetail, type PrinterDetails, ProcessorType, type ProdDiscountBreakdown, type ProdFeeBreakdown, type ProdModifierBreakdown, type Product, type ProductTaxDetails, type ProductVariant, type PubsubEventMessage, type PubsubSubscribeMessage, type PubsubTopicsListMessage, type PubsubTopicsRequestMessage, type Reader, type ReaderAvailability, type ReaderCapabilities, type ReaderCapabilitiesMessage, type Refund, type RefundCartDiscount, type RefundDiscount, type RefundItem, type RefundItemDiscount, type RefundLineItem, type RefundPayment, type RefundProcessingStatus, type RefundSummary, type RefundTip, type RefundedCustomSale, type RefundedLineItem, type RefundedTipPayment, type ResolvedModifier, type ResolvedModifierChoice, type Role, type RolePermission, type RuntimeReadyMessage, type SelectionContext, type SelectionFlowContext, type SelectionMessage, type SelectionRoleContext, type ServiceChannelMessage, type ServiceChannelMessageType, type ServiceInitMessage, type Session, type SessionClosingAmounts, type SmartGridSetting, type SmartGridSettings, type SmartGridSettingsData, type Station, type StripeAccount, type Summary, type SummaryPayments, type SyncProgressMessage, type Tax, type TaxRate, type TaxRateValue, type TaxTable, type TaxTableActive, type TaxTableRate, type TileGrid, type TimeClockEntry, type TimeClockEntryStatus, type Tip, type TipData, type TipPayment, type TipsDetails, type TokenRefreshMessage, type TopicDefinitionWire, type TopicEventWire, type Transaction, type TransactionPaymentData, type User, type UserType, type Variant, type VariantInventory };
2421
+ export { type ActiveCart, type ActiveCartProduct, type ActiveCompany, type ActiveCustomSales, type ActiveCustomer, type ActiveEntityChanges, ActiveEntityType, type ActiveFullProduct, type ActiveOrder, type ActiveOrderReservation, type ActiveOutlet, type ActivePark, type ActiveProduct, type ActiveRefundOrder, type ActiveSession, type ActiveSplitPayment, type ActiveStation, type ActiveTaxDetails, type ActiveTimer, type ActiveUpdatedOrder, type ActiveUser, type ActiveUserRole, type Address, type Attribute, type AttributeEmbedded, type AttributeOption, type BaseDocument, type BaseEntity, type BaseTile, type Booking, type BookingAvailability, type BookingResource, type BookingSlot, type BookingSlotResource, type BootstrapMessage, type CalculatedTaxDetails, type CartDiscountItem, type CartFeeItem, type CartFeeTaxEntry, type CartFeesDetails, type CartLineModifier, type CartReservation, type CashDrawerPolicy, type CashPaymentSettings, type CashRoundingIncrement, type Category, type CompanyExtension, type CompanySettingsEavValue, type CompanySettingsEavValueType, type CustomExtension, type CustomFee, type CustomSale, type CustomSaleDetails, type CustomTable, type CustomTableField, type CustomTableMetadata, type CustomTableRow, type CustomTableValue, type Customer, type CustomerNote, type DeviceEnvAttribute, type DeviceEnvCategory, type DeviceEnvValue, type DeviceOpName, type DeviceOpRequestMessage, type DeviceOpResponseMessage, type Discount, type DiscountDetail, type DiscountLineItem, type Enrich, EnvironmentDataKeys, EnvironmentDataSubKeys, type FeeDetail, type FeeLineItem, type Flow, type FlowSettings, type FlowSettingsKey, type FlowWebApp, type FlowWebAppVersion, type FullProduct, type HostHelloMessage, type HostNavigateMessage, type HostNavigateTarget, type HostShutdownMessage, type Inventory, type LineItem, type Metadata, type MetadataItem, type ModifierChoiceSelection, type ModifierSelection, type ModifierSelectionType, type NonRevenueItem, type Note, type Order, type OrderCartDiscount, type OrderCartFee, type OrderCustomSale, type OrderCustomSaleDiscount, type OrderCustomSaleFee, type OrderLineItem, type OrderLineItemDiscount, type OrderLineItemFee, type OrderLineItemModifier, type OrderNote, type OrderPaymentMethod, type OrderPosData, type OrderRefund, type OrderRefundSummary, type OrderReservation, type OrderStateActor, type OrderStateActorType, type OrderStateConfig, type OrderStateEvent, type OrderStateEventTrigger, type OrderStateHistoryEntry, type OrderStateOperation, type OrderStatePair, type OrderSummary, type OrderSummaryPayments, type OrderTax, type OrderTip, type Outlet, type PaymentMethod, type PaymentResponse, type PaymentSetting, PaymentStatus, type PosBrainReadyMessage, type PosDataItem, type PriceModifierDetail, type PrinterDetails, type PrinterSettings, type PrinterSettingsMessage, ProcessorType, type ProdDiscountBreakdown, type ProdFeeBreakdown, type ProdModifierBreakdown, type Product, type ProductTaxDetails, type ProductVariant, type PubsubEventMessage, type PubsubSubscribeMessage, type PubsubTopicsListMessage, type PubsubTopicsRequestMessage, type Reader, type ReaderAvailability, type ReaderCapabilities, type ReaderCapabilitiesMessage, type Refund, type RefundCartDiscount, type RefundDiscount, type RefundItem, type RefundItemDiscount, type RefundLineItem, type RefundPayment, type RefundProcessingStatus, type RefundSummary, type RefundTip, type RefundedCustomSale, type RefundedLineItem, type RefundedTipPayment, type ResolvedModifier, type ResolvedModifierChoice, type Role, type RolePermission, type RuntimeReadyMessage, type SelectionContext, type SelectionFlowContext, type SelectionMessage, type SelectionRoleContext, type ServiceChannelMessage, type ServiceChannelMessageType, type ServiceInitMessage, type Session, type SessionClosingAmounts, type SmartGridSetting, type SmartGridSettings, type SmartGridSettingsData, type Station, type StripeAccount, type Summary, type SummaryPayments, type SyncProgressMessage, type Tax, type TaxRate, type TaxRateValue, type TaxTable, type TaxTableActive, type TaxTableRate, type TileGrid, type TimeClockEntry, type TimeClockEntryStatus, type Tip, type TipData, type TipPayment, type TipsDetails, type TokenRefreshMessage, type TopicDefinitionWire, type TopicEventWire, type Transaction, type TransactionPaymentData, type User, type UserType, type Variant, type VariantInventory };