@final-commerce/common 2.3.0-staging.6 → 2.3.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.
- package/dist/index.d.mts +19 -193
- package/dist/index.d.ts +19 -193
- package/dist/index.js +12 -450
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -432
- package/dist/index.mjs.map +1 -1
- package/dist/pos-types/index.d.mts +101 -143
- package/dist/pos-types/index.d.ts +101 -143
- package/dist/pos-types/index.js.map +1 -1
- package/dist/pos-types/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -78,6 +78,9 @@ interface OrderSummary {
|
|
|
78
78
|
cartFeesTotal?: number;
|
|
79
79
|
taxableFeesTotal?: number;
|
|
80
80
|
nonTaxableFeesTotal?: number;
|
|
81
|
+
modifiersTotal?: number;
|
|
82
|
+
taxableModifiersTotal?: number;
|
|
83
|
+
nonTaxableModifiersTotal?: number;
|
|
81
84
|
totalTaxableSales?: number;
|
|
82
85
|
totalNonTaxableSales?: number;
|
|
83
86
|
tipTotal?: number;
|
|
@@ -143,6 +146,17 @@ interface OrderLineItemFee {
|
|
|
143
146
|
cartFee?: PriceModifierDetail;
|
|
144
147
|
itemFees?: PriceModifierDetail[];
|
|
145
148
|
}
|
|
149
|
+
interface OrderLineItemModifier {
|
|
150
|
+
modifierId: string;
|
|
151
|
+
modifierName: string;
|
|
152
|
+
choiceId: string;
|
|
153
|
+
choiceName: string;
|
|
154
|
+
unitPrice: number;
|
|
155
|
+
quantity: number;
|
|
156
|
+
total: number;
|
|
157
|
+
totalTax?: number;
|
|
158
|
+
taxes?: OrderTax[];
|
|
159
|
+
}
|
|
146
160
|
interface OrderLineItem {
|
|
147
161
|
id?: string;
|
|
148
162
|
productId?: string;
|
|
@@ -165,6 +179,7 @@ interface OrderLineItem {
|
|
|
165
179
|
taxes?: OrderTax[];
|
|
166
180
|
discount?: OrderLineItemDiscount;
|
|
167
181
|
fee?: OrderLineItemFee;
|
|
182
|
+
modifiers?: OrderLineItemModifier[];
|
|
168
183
|
lineNetWithFees?: number;
|
|
169
184
|
metadata?: Metadata[];
|
|
170
185
|
stock?: number;
|
|
@@ -443,8 +458,7 @@ declare enum NonRevenueItemType {
|
|
|
443
458
|
|
|
444
459
|
declare enum ProductType {
|
|
445
460
|
SIMPLE = "simple",
|
|
446
|
-
VARIABLE = "variable"
|
|
447
|
-
BOOKING = "booking"
|
|
461
|
+
VARIABLE = "variable"
|
|
448
462
|
}
|
|
449
463
|
declare enum ProductStatus {
|
|
450
464
|
ACTIVE = "active",
|
|
@@ -458,38 +472,11 @@ declare enum PaymentProcessor {
|
|
|
458
472
|
EXTERNAL = "external"
|
|
459
473
|
}
|
|
460
474
|
|
|
461
|
-
declare enum BookingType {
|
|
462
|
-
RENTAL = "rental",
|
|
463
|
-
APPOINTMENT = "appointment",
|
|
464
|
-
OVERNIGHT = "overnight",
|
|
465
|
-
GROUP = "group"
|
|
466
|
-
}
|
|
467
|
-
declare enum BookingRatePeriod {
|
|
468
|
-
SLOT = "slot",
|
|
469
|
-
DAY = "day",
|
|
470
|
-
NIGHT = "night",
|
|
471
|
-
WEEK = "week",
|
|
472
|
-
MONTH = "month"
|
|
473
|
-
}
|
|
474
|
-
declare enum BookingResourceKind {
|
|
475
|
-
ASSET = "asset",
|
|
476
|
-
ROOM = "room",
|
|
477
|
-
PROPERTY = "property",
|
|
478
|
-
SPACE = "space",
|
|
479
|
-
STAFF = "staff",
|
|
480
|
-
TABLE = "table"
|
|
481
|
-
}
|
|
482
|
-
declare enum ReservationStatus {
|
|
483
|
-
HELD = "held",
|
|
484
|
-
CONFIRMED = "confirmed",
|
|
485
|
-
CANCELLED = "cancelled",
|
|
486
|
-
EXPIRED = "expired"
|
|
487
|
-
}
|
|
488
|
-
|
|
489
475
|
interface RefundLineItem {
|
|
490
476
|
taxes?: OrderTax[];
|
|
491
477
|
discount?: RefundDiscount;
|
|
492
478
|
fee?: OrderLineItemFee;
|
|
479
|
+
modifiers?: OrderLineItemModifier[];
|
|
493
480
|
lineNetWithFees?: number;
|
|
494
481
|
quantity?: number;
|
|
495
482
|
stockQuantity?: number;
|
|
@@ -549,6 +536,9 @@ interface RefundSummary {
|
|
|
549
536
|
cartFeesTotal?: number;
|
|
550
537
|
taxableFeesTotal?: number;
|
|
551
538
|
nonTaxableFeesTotal?: number;
|
|
539
|
+
modifiersTotal?: number;
|
|
540
|
+
taxableModifiersTotal?: number;
|
|
541
|
+
nonTaxableModifiersTotal?: number;
|
|
552
542
|
totalTaxableSales?: number;
|
|
553
543
|
totalNonTaxableSales?: number;
|
|
554
544
|
tipTotal?: number;
|
|
@@ -588,31 +578,6 @@ interface TransactionPaymentData {
|
|
|
588
578
|
chargeId?: string;
|
|
589
579
|
}
|
|
590
580
|
|
|
591
|
-
interface OrderReservation {
|
|
592
|
-
internalId: string;
|
|
593
|
-
bookingId?: string;
|
|
594
|
-
productId: string;
|
|
595
|
-
variantId?: string | null;
|
|
596
|
-
resourceId: string;
|
|
597
|
-
name: string;
|
|
598
|
-
resourceName?: string;
|
|
599
|
-
price: number;
|
|
600
|
-
quantity?: number;
|
|
601
|
-
fulfilledQuantity?: number;
|
|
602
|
-
returnedQuantity?: number;
|
|
603
|
-
taxes?: OrderTax[];
|
|
604
|
-
discount?: OrderLineItemDiscount;
|
|
605
|
-
fee?: OrderLineItemFee;
|
|
606
|
-
totalTax?: number;
|
|
607
|
-
total: number;
|
|
608
|
-
taxTableId?: string;
|
|
609
|
-
startAt: string;
|
|
610
|
-
endAt: string;
|
|
611
|
-
bufferEndAt: string;
|
|
612
|
-
override?: boolean;
|
|
613
|
-
overriddenBy?: string | null;
|
|
614
|
-
}
|
|
615
|
-
|
|
616
581
|
interface Attribute extends BaseEntity {
|
|
617
582
|
optionName: string;
|
|
618
583
|
sortingOrder: number;
|
|
@@ -828,7 +793,6 @@ interface Order extends BaseEntity {
|
|
|
828
793
|
lineItems: Partial<OrderLineItem>[];
|
|
829
794
|
customSales?: OrderCustomSale[];
|
|
830
795
|
nonRevenueItems?: NonRevenueItem$1[];
|
|
831
|
-
reservations?: OrderReservation[];
|
|
832
796
|
refund?: OrderRefund[];
|
|
833
797
|
minorUnits?: number;
|
|
834
798
|
}
|
|
@@ -1165,22 +1129,6 @@ interface Variant extends BaseEntity {
|
|
|
1165
1129
|
stockVariantId?: string;
|
|
1166
1130
|
}
|
|
1167
1131
|
|
|
1168
|
-
interface Tax {
|
|
1169
|
-
id: string;
|
|
1170
|
-
name: string;
|
|
1171
|
-
percentage: number;
|
|
1172
|
-
amount: number;
|
|
1173
|
-
taxableAmount?: number;
|
|
1174
|
-
taxTableName: string;
|
|
1175
|
-
taxTableId: string;
|
|
1176
|
-
compounding?: boolean;
|
|
1177
|
-
priority?: number;
|
|
1178
|
-
}
|
|
1179
|
-
interface Tip {
|
|
1180
|
-
amount: number;
|
|
1181
|
-
percentage: number;
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1184
1132
|
interface Address {
|
|
1185
1133
|
firstName: string;
|
|
1186
1134
|
lastName: string;
|
|
@@ -1372,6 +1320,22 @@ interface PosDataItem {
|
|
|
1372
1320
|
};
|
|
1373
1321
|
}
|
|
1374
1322
|
|
|
1323
|
+
interface Tax {
|
|
1324
|
+
id: string;
|
|
1325
|
+
name: string;
|
|
1326
|
+
percentage: number;
|
|
1327
|
+
amount: number;
|
|
1328
|
+
taxableAmount?: number;
|
|
1329
|
+
taxTableName: string;
|
|
1330
|
+
taxTableId: string;
|
|
1331
|
+
compounding?: boolean;
|
|
1332
|
+
priority?: number;
|
|
1333
|
+
}
|
|
1334
|
+
interface Tip {
|
|
1335
|
+
amount: number;
|
|
1336
|
+
percentage: number;
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1375
1339
|
interface DiscountDetail {
|
|
1376
1340
|
percentage: number;
|
|
1377
1341
|
amount: number;
|
|
@@ -1405,6 +1369,7 @@ interface LineItem {
|
|
|
1405
1369
|
taxes: Tax[];
|
|
1406
1370
|
discount: DiscountLineItem;
|
|
1407
1371
|
fee: FeeLineItem;
|
|
1372
|
+
modifiers?: OrderLineItemModifier[];
|
|
1408
1373
|
totalTax: number;
|
|
1409
1374
|
total: number;
|
|
1410
1375
|
lineNetWithFees: number;
|
|
@@ -1478,6 +1443,9 @@ interface Summary {
|
|
|
1478
1443
|
cartFeesTotal?: number;
|
|
1479
1444
|
taxableFeesTotal?: number;
|
|
1480
1445
|
nonTaxableFeesTotal?: number;
|
|
1446
|
+
modifiersTotal?: number;
|
|
1447
|
+
taxableModifiersTotal?: number;
|
|
1448
|
+
nonTaxableModifiersTotal?: number;
|
|
1481
1449
|
totalTaxableSales?: number;
|
|
1482
1450
|
totalNonTaxableSales?: number;
|
|
1483
1451
|
tipTotal?: number;
|
|
@@ -1513,11 +1481,11 @@ interface RefundedLineItem {
|
|
|
1513
1481
|
description?: string;
|
|
1514
1482
|
images?: string[];
|
|
1515
1483
|
fee: FeeLineItem;
|
|
1484
|
+
modifiers?: OrderLineItemModifier[];
|
|
1516
1485
|
}
|
|
1517
1486
|
interface RefundItem {
|
|
1518
1487
|
lineItems: RefundedLineItem[];
|
|
1519
1488
|
customSales: RefundedCustomSale[];
|
|
1520
|
-
reservations?: OrderReservation[];
|
|
1521
1489
|
cartFees: CartFeeItem[];
|
|
1522
1490
|
tips: RefundedTipPayment[];
|
|
1523
1491
|
refundedBy: string;
|
|
@@ -1530,9 +1498,6 @@ interface RefundItem {
|
|
|
1530
1498
|
minorUnits?: number;
|
|
1531
1499
|
}
|
|
1532
1500
|
|
|
1533
|
-
type ActiveOrderReservation = Omit<OrderReservation, 'taxes'> & {
|
|
1534
|
-
taxes?: Tax[];
|
|
1535
|
-
};
|
|
1536
1501
|
type ActiveOrder = Enrich<Order, {
|
|
1537
1502
|
_id: string;
|
|
1538
1503
|
id?: string;
|
|
@@ -1556,7 +1521,6 @@ type ActiveOrder = Enrich<Order, {
|
|
|
1556
1521
|
shipping: Address | null;
|
|
1557
1522
|
lineItems: LineItem[];
|
|
1558
1523
|
customSales: CustomSale[];
|
|
1559
|
-
reservations?: ActiveOrderReservation[];
|
|
1560
1524
|
nonRevenueItems?: NonRevenueItem[];
|
|
1561
1525
|
refund?: RefundItem[];
|
|
1562
1526
|
signature?: string | null;
|
|
@@ -1569,6 +1533,46 @@ type ActiveOrder = Enrich<Order, {
|
|
|
1569
1533
|
station?: ActiveStation;
|
|
1570
1534
|
}>;
|
|
1571
1535
|
|
|
1536
|
+
type ModifierSelectionType = 'single' | 'multiple' | 'quantity';
|
|
1537
|
+
interface ResolvedModifierChoice {
|
|
1538
|
+
_id: string;
|
|
1539
|
+
name: string;
|
|
1540
|
+
price: number;
|
|
1541
|
+
isDefault?: boolean;
|
|
1542
|
+
defaultQuantity?: number;
|
|
1543
|
+
unavailableOutletIds?: string[];
|
|
1544
|
+
sortOrder: number;
|
|
1545
|
+
}
|
|
1546
|
+
interface ResolvedModifier {
|
|
1547
|
+
_id: string;
|
|
1548
|
+
name: string;
|
|
1549
|
+
selectionType: ModifierSelectionType;
|
|
1550
|
+
allowQuantity?: boolean;
|
|
1551
|
+
required: boolean;
|
|
1552
|
+
min?: number | null;
|
|
1553
|
+
max?: number | null;
|
|
1554
|
+
sortOrder: number;
|
|
1555
|
+
choices: ResolvedModifierChoice[];
|
|
1556
|
+
}
|
|
1557
|
+
interface ModifierChoiceSelection {
|
|
1558
|
+
choiceId: string;
|
|
1559
|
+
quantity: number;
|
|
1560
|
+
}
|
|
1561
|
+
interface ModifierSelection {
|
|
1562
|
+
modifierId: string;
|
|
1563
|
+
choices: ModifierChoiceSelection[];
|
|
1564
|
+
}
|
|
1565
|
+
interface CartLineModifier {
|
|
1566
|
+
modifierId: string;
|
|
1567
|
+
modifierName: string;
|
|
1568
|
+
choiceId: string;
|
|
1569
|
+
choiceName: string;
|
|
1570
|
+
label?: string;
|
|
1571
|
+
unitPrice: number;
|
|
1572
|
+
quantity: number;
|
|
1573
|
+
taxTableId?: string;
|
|
1574
|
+
}
|
|
1575
|
+
|
|
1572
1576
|
interface Discount {
|
|
1573
1577
|
value: number;
|
|
1574
1578
|
label?: string;
|
|
@@ -1616,6 +1620,8 @@ interface ActiveProduct {
|
|
|
1616
1620
|
stock: number;
|
|
1617
1621
|
allowBackOrder?: boolean;
|
|
1618
1622
|
fees?: CustomFee[];
|
|
1623
|
+
modifierSelections?: ModifierSelection[];
|
|
1624
|
+
modifiers?: CartLineModifier[];
|
|
1619
1625
|
currency?: CurrencyCode;
|
|
1620
1626
|
minorUnits?: number;
|
|
1621
1627
|
isUnlimited?: boolean;
|
|
@@ -1627,13 +1633,6 @@ interface ActiveProduct {
|
|
|
1627
1633
|
productType?: ProductType;
|
|
1628
1634
|
}
|
|
1629
1635
|
|
|
1630
|
-
interface CartReservation extends OrderReservation {
|
|
1631
|
-
bookingId: string;
|
|
1632
|
-
expiresAt?: string;
|
|
1633
|
-
discounts?: Discount[];
|
|
1634
|
-
fees?: CustomFee[];
|
|
1635
|
-
}
|
|
1636
|
-
|
|
1637
1636
|
interface ActiveCustomSales {
|
|
1638
1637
|
id: string;
|
|
1639
1638
|
name: string;
|
|
@@ -1658,13 +1657,11 @@ interface ActiveCart {
|
|
|
1658
1657
|
taxes?: Tax[];
|
|
1659
1658
|
total: number;
|
|
1660
1659
|
subtotal: number;
|
|
1661
|
-
itemCount?: number;
|
|
1662
1660
|
discount?: Discount;
|
|
1663
1661
|
customFee?: CustomFee[];
|
|
1664
1662
|
products: ActiveProduct[];
|
|
1665
1663
|
customSales?: ActiveCustomSales[];
|
|
1666
1664
|
nonRevenueItems?: NonRevenueItem[];
|
|
1667
|
-
reservations?: CartReservation[];
|
|
1668
1665
|
remainingBalance?: number;
|
|
1669
1666
|
amountToBeCharged: number;
|
|
1670
1667
|
customer?: Partial<ActiveCustomer | null> | null;
|
|
@@ -1746,8 +1743,8 @@ interface FullProduct {
|
|
|
1746
1743
|
supplier?: string;
|
|
1747
1744
|
sku?: string;
|
|
1748
1745
|
productType: ProductType;
|
|
1749
|
-
bookingRulesId?: string;
|
|
1750
1746
|
variants: ProductVariant[];
|
|
1747
|
+
modifiers?: ResolvedModifier[];
|
|
1751
1748
|
minPrice?: number;
|
|
1752
1749
|
maxPrice?: number;
|
|
1753
1750
|
price?: number;
|
|
@@ -1760,61 +1757,6 @@ interface FullProduct {
|
|
|
1760
1757
|
}
|
|
1761
1758
|
type ActiveFullProduct = FullProduct;
|
|
1762
1759
|
|
|
1763
|
-
interface BookingSlotResource {
|
|
1764
|
-
resourceId: string;
|
|
1765
|
-
name: string;
|
|
1766
|
-
capacity: number;
|
|
1767
|
-
booked: number;
|
|
1768
|
-
free: number;
|
|
1769
|
-
}
|
|
1770
|
-
interface BookingSlot {
|
|
1771
|
-
startAt: string;
|
|
1772
|
-
endAt: string;
|
|
1773
|
-
bufferEndAt: string;
|
|
1774
|
-
canStart: boolean;
|
|
1775
|
-
capacity: number;
|
|
1776
|
-
booked: number;
|
|
1777
|
-
free: number;
|
|
1778
|
-
resources: BookingSlotResource[];
|
|
1779
|
-
}
|
|
1780
|
-
interface BookingAvailability {
|
|
1781
|
-
productId: string;
|
|
1782
|
-
bookingRulesId: string;
|
|
1783
|
-
bookingType: BookingType;
|
|
1784
|
-
ratePeriod: BookingRatePeriod;
|
|
1785
|
-
minimumToRun?: number;
|
|
1786
|
-
minStay?: number;
|
|
1787
|
-
maxStay?: number;
|
|
1788
|
-
bookableUntil?: string;
|
|
1789
|
-
beyondWindow?: boolean;
|
|
1790
|
-
slots: BookingSlot[];
|
|
1791
|
-
}
|
|
1792
|
-
interface BookingResource {
|
|
1793
|
-
id: string;
|
|
1794
|
-
name: string;
|
|
1795
|
-
kind: BookingResourceKind;
|
|
1796
|
-
tag?: string;
|
|
1797
|
-
}
|
|
1798
|
-
interface Booking {
|
|
1799
|
-
id: string;
|
|
1800
|
-
productId: string;
|
|
1801
|
-
resourceId: string;
|
|
1802
|
-
variantId?: string;
|
|
1803
|
-
startAt: string;
|
|
1804
|
-
endAt: string;
|
|
1805
|
-
bufferEndAt: string;
|
|
1806
|
-
status: ReservationStatus;
|
|
1807
|
-
expiresAt?: string;
|
|
1808
|
-
orderId?: string;
|
|
1809
|
-
customerId?: string;
|
|
1810
|
-
productName?: string;
|
|
1811
|
-
resourceName?: string;
|
|
1812
|
-
customerName?: string;
|
|
1813
|
-
outletId?: string;
|
|
1814
|
-
outletName?: string;
|
|
1815
|
-
timeZone?: string;
|
|
1816
|
-
}
|
|
1817
|
-
|
|
1818
1760
|
interface ActiveSession {
|
|
1819
1761
|
id: string;
|
|
1820
1762
|
stationId: string;
|
|
@@ -1967,6 +1909,19 @@ interface ProdFeeBreakdown {
|
|
|
1967
1909
|
taxRateId?: string;
|
|
1968
1910
|
applyTaxes: boolean;
|
|
1969
1911
|
}
|
|
1912
|
+
interface ProdModifierBreakdown {
|
|
1913
|
+
modifierId: string;
|
|
1914
|
+
modifierName: string;
|
|
1915
|
+
choiceId: string;
|
|
1916
|
+
choiceName: string;
|
|
1917
|
+
label?: string;
|
|
1918
|
+
unitPrice: number;
|
|
1919
|
+
quantity: number;
|
|
1920
|
+
amount: number;
|
|
1921
|
+
tax: number;
|
|
1922
|
+
taxTableId?: string;
|
|
1923
|
+
taxes?: OrderTax[];
|
|
1924
|
+
}
|
|
1970
1925
|
interface ProductTaxDetails {
|
|
1971
1926
|
tax: number;
|
|
1972
1927
|
prodDiscount: number;
|
|
@@ -1995,6 +1950,9 @@ interface ProductTaxDetails {
|
|
|
1995
1950
|
prodDiscounts?: ProdDiscountBreakdown[];
|
|
1996
1951
|
fees?: ProdFeeBreakdown[];
|
|
1997
1952
|
lineNetWithFees?: number;
|
|
1953
|
+
modifierDisplay?: number;
|
|
1954
|
+
modifierTax?: number;
|
|
1955
|
+
modifiers?: ProdModifierBreakdown[];
|
|
1998
1956
|
}
|
|
1999
1957
|
interface CustomSaleDetails {
|
|
2000
1958
|
tax: number;
|
|
@@ -2317,4 +2275,4 @@ interface PubsubEventMessage {
|
|
|
2317
2275
|
}
|
|
2318
2276
|
type ServiceChannelMessage = PosBrainReadyMessage | HostHelloMessage | ServiceInitMessage | BootstrapMessage | TokenRefreshMessage | SelectionMessage | HostShutdownMessage | ReaderCapabilitiesMessage | RuntimeReadyMessage | HostNavigateMessage | SyncProgressMessage | DeviceOpRequestMessage | DeviceOpResponseMessage | PubsubTopicsRequestMessage | PubsubTopicsListMessage | PubsubSubscribeMessage | PubsubEventMessage;
|
|
2319
2277
|
|
|
2320
|
-
export { type ActiveCart, type ActiveCartProduct, type ActiveCompany, type ActiveCustomSales, type ActiveCustomer, type ActiveEntityChanges, ActiveEntityType, type ActiveFullProduct, type ActiveOrder, type
|
|
2278
|
+
export { type ActiveCart, type ActiveCartProduct, type ActiveCompany, type ActiveCustomSales, type ActiveCustomer, type ActiveEntityChanges, ActiveEntityType, type ActiveFullProduct, type ActiveOrder, 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 BootstrapMessage, type CalculatedTaxDetails, type CartDiscountItem, type CartFeeItem, type CartFeeTaxEntry, type CartFeesDetails, type CartLineModifier, 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 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 };
|