@final-commerce/common 2.5.1-preprod.4 → 2.6.0-staging.2
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 +185 -67
- package/dist/index.d.ts +185 -67
- package/dist/index.js +352 -86
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +335 -77
- package/dist/index.mjs.map +1 -1
- package/dist/pos-types/index.d.mts +183 -121
- package/dist/pos-types/index.d.ts +183 -121
- package/dist/pos-types/index.js +0 -1
- package/dist/pos-types/index.js.map +1 -1
- package/dist/pos-types/index.mjs +0 -1
- package/dist/pos-types/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -138,24 +138,6 @@ interface OrderPosData {
|
|
|
138
138
|
employee?: string;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
interface OrderAssignedUser {
|
|
142
|
-
userId: string;
|
|
143
|
-
assignedAt: string;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
interface OrderInCart {
|
|
147
|
-
active: boolean;
|
|
148
|
-
stationId: string | null;
|
|
149
|
-
since: string;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
interface OrderCustomStatus {
|
|
153
|
-
id: string;
|
|
154
|
-
label: string;
|
|
155
|
-
setAt: string;
|
|
156
|
-
setBy: string | null;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
141
|
interface OrderLineItemDiscount {
|
|
160
142
|
itemDiscounts?: PriceModifierDetail[];
|
|
161
143
|
cartDiscount?: PriceModifierDetail;
|
|
@@ -174,6 +156,27 @@ interface OrderLineItemModifier {
|
|
|
174
156
|
total: number;
|
|
175
157
|
totalTax?: number;
|
|
176
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[];
|
|
177
180
|
}
|
|
178
181
|
interface OrderLineItem {
|
|
179
182
|
id?: string;
|
|
@@ -198,6 +201,7 @@ interface OrderLineItem {
|
|
|
198
201
|
discount?: OrderLineItemDiscount;
|
|
199
202
|
fee?: OrderLineItemFee;
|
|
200
203
|
modifiers?: OrderLineItemModifier[];
|
|
204
|
+
components?: OrderLineItemComponent[];
|
|
201
205
|
lineNetWithFees?: number;
|
|
202
206
|
metadata?: Metadata[];
|
|
203
207
|
stock?: number;
|
|
@@ -449,8 +453,7 @@ declare enum InventorySpecificActionType {
|
|
|
449
453
|
APPLIED_FROM_WOO = "APPLIED_FROM_WOO",
|
|
450
454
|
PO_RECEIVED = "PO_RECEIVED",
|
|
451
455
|
EXTERNAL_SALE = "EXTERNAL_SALE",
|
|
452
|
-
EXTERNAL_RESTOCK = "EXTERNAL_RESTOCK"
|
|
453
|
-
CUSTOM = "CUSTOM"
|
|
456
|
+
EXTERNAL_RESTOCK = "EXTERNAL_RESTOCK"
|
|
454
457
|
}
|
|
455
458
|
declare enum UserTypes {
|
|
456
459
|
COMPANY_OWNER = "owner",
|
|
@@ -478,7 +481,8 @@ declare enum NonRevenueItemType {
|
|
|
478
481
|
declare enum ProductType {
|
|
479
482
|
SIMPLE = "simple",
|
|
480
483
|
VARIABLE = "variable",
|
|
481
|
-
BOOKING = "booking"
|
|
484
|
+
BOOKING = "booking",
|
|
485
|
+
COMPOSITE = "composite"
|
|
482
486
|
}
|
|
483
487
|
declare enum ProductStatus {
|
|
484
488
|
ACTIVE = "active",
|
|
@@ -525,6 +529,7 @@ interface RefundLineItem {
|
|
|
525
529
|
discount?: RefundDiscount;
|
|
526
530
|
fee?: OrderLineItemFee;
|
|
527
531
|
modifiers?: OrderLineItemModifier[];
|
|
532
|
+
components?: OrderLineItemComponent[];
|
|
528
533
|
lineNetWithFees?: number;
|
|
529
534
|
quantity?: number;
|
|
530
535
|
stockQuantity?: number;
|
|
@@ -648,6 +653,8 @@ interface OrderReservation {
|
|
|
648
653
|
startAt: string;
|
|
649
654
|
endAt: string;
|
|
650
655
|
bufferEndAt: string;
|
|
656
|
+
lineItemInternalId?: string;
|
|
657
|
+
componentIndex?: number;
|
|
651
658
|
override?: boolean;
|
|
652
659
|
overriddenBy?: string | null;
|
|
653
660
|
}
|
|
@@ -860,10 +867,6 @@ interface Order extends BaseEntity {
|
|
|
860
867
|
cartFees?: OrderCartFee[];
|
|
861
868
|
paymentMethods: OrderPaymentMethod[];
|
|
862
869
|
posData?: OrderPosData;
|
|
863
|
-
assignedUser?: OrderAssignedUser | null;
|
|
864
|
-
orderType?: string | null;
|
|
865
|
-
inCart?: OrderInCart;
|
|
866
|
-
customStatus?: OrderCustomStatus | null;
|
|
867
870
|
metadata?: Metadata[];
|
|
868
871
|
notes: OrderNote$1[];
|
|
869
872
|
billing?: Address$1;
|
|
@@ -916,6 +919,8 @@ interface Product extends BaseEntity {
|
|
|
916
919
|
images?: string[];
|
|
917
920
|
tags?: string[];
|
|
918
921
|
status?: ProductStatus;
|
|
922
|
+
notSoldInPos?: boolean;
|
|
923
|
+
notSoldOnline?: boolean;
|
|
919
924
|
minPrice?: number;
|
|
920
925
|
maxPrice?: number;
|
|
921
926
|
supplier?: string;
|
|
@@ -1198,6 +1203,8 @@ interface Variant extends BaseEntity {
|
|
|
1198
1203
|
salePrice?: number;
|
|
1199
1204
|
externalId?: string;
|
|
1200
1205
|
allowBackorder?: boolean;
|
|
1206
|
+
notSoldInPos?: boolean;
|
|
1207
|
+
notSoldOnline?: boolean;
|
|
1201
1208
|
costPrice?: number;
|
|
1202
1209
|
images?: string[];
|
|
1203
1210
|
currency?: CurrencyCode;
|
|
@@ -1451,6 +1458,7 @@ interface LineItem {
|
|
|
1451
1458
|
discount: DiscountLineItem;
|
|
1452
1459
|
fee: FeeLineItem;
|
|
1453
1460
|
modifiers?: OrderLineItemModifier[];
|
|
1461
|
+
components?: OrderLineItemComponent[];
|
|
1454
1462
|
totalTax: number;
|
|
1455
1463
|
total: number;
|
|
1456
1464
|
lineNetWithFees: number;
|
|
@@ -1563,6 +1571,7 @@ interface RefundedLineItem {
|
|
|
1563
1571
|
images?: string[];
|
|
1564
1572
|
fee: FeeLineItem;
|
|
1565
1573
|
modifiers?: OrderLineItemModifier[];
|
|
1574
|
+
components?: OrderLineItemComponent[];
|
|
1566
1575
|
}
|
|
1567
1576
|
interface RefundItem {
|
|
1568
1577
|
lineItems: RefundedLineItem[];
|
|
@@ -1657,6 +1666,149 @@ interface CartLineModifier {
|
|
|
1657
1666
|
unitPrice: number;
|
|
1658
1667
|
quantity: number;
|
|
1659
1668
|
taxTableId?: string;
|
|
1669
|
+
componentIndex?: number;
|
|
1670
|
+
}
|
|
1671
|
+
|
|
1672
|
+
interface MeasurementUnit {
|
|
1673
|
+
unitId: string;
|
|
1674
|
+
companyId: string | null;
|
|
1675
|
+
familyId: string;
|
|
1676
|
+
name: string;
|
|
1677
|
+
abbreviation: string;
|
|
1678
|
+
ratioToBase: number;
|
|
1679
|
+
precision: number;
|
|
1680
|
+
systemKey?: string;
|
|
1681
|
+
sellable?: false;
|
|
1682
|
+
}
|
|
1683
|
+
|
|
1684
|
+
interface Inventory {
|
|
1685
|
+
warehouse: string;
|
|
1686
|
+
outletId: string;
|
|
1687
|
+
stock?: number | null;
|
|
1688
|
+
}
|
|
1689
|
+
interface ProductVariant {
|
|
1690
|
+
sku: string;
|
|
1691
|
+
price: number;
|
|
1692
|
+
salePrice: number;
|
|
1693
|
+
isOnSale: boolean;
|
|
1694
|
+
barcode?: string;
|
|
1695
|
+
costPrice?: number;
|
|
1696
|
+
manageStock: boolean;
|
|
1697
|
+
externalId: string;
|
|
1698
|
+
inventory?: Inventory[];
|
|
1699
|
+
allowBackorder?: boolean;
|
|
1700
|
+
notSoldInPos?: boolean;
|
|
1701
|
+
notSoldOnline?: boolean;
|
|
1702
|
+
images?: string[];
|
|
1703
|
+
attributes: {
|
|
1704
|
+
name: string;
|
|
1705
|
+
value?: string;
|
|
1706
|
+
}[];
|
|
1707
|
+
metadata?: {
|
|
1708
|
+
key: string;
|
|
1709
|
+
value: string;
|
|
1710
|
+
}[];
|
|
1711
|
+
_id: string;
|
|
1712
|
+
isDeleted?: boolean;
|
|
1713
|
+
currency?: CurrencyCode;
|
|
1714
|
+
minorUnits?: number;
|
|
1715
|
+
unitId?: string;
|
|
1716
|
+
unit?: MeasurementUnit;
|
|
1717
|
+
stockVariantId?: string;
|
|
1718
|
+
}
|
|
1719
|
+
interface FullProduct {
|
|
1720
|
+
_id: string;
|
|
1721
|
+
companyId?: string;
|
|
1722
|
+
externalId: string;
|
|
1723
|
+
taxTable: string;
|
|
1724
|
+
name: string;
|
|
1725
|
+
description?: string;
|
|
1726
|
+
shortDescription?: string;
|
|
1727
|
+
images?: string[];
|
|
1728
|
+
categories: {
|
|
1729
|
+
name: string;
|
|
1730
|
+
externalId: string;
|
|
1731
|
+
}[];
|
|
1732
|
+
attributes: {
|
|
1733
|
+
name: string;
|
|
1734
|
+
values: string[];
|
|
1735
|
+
}[];
|
|
1736
|
+
tags?: string[];
|
|
1737
|
+
supplier?: string;
|
|
1738
|
+
sku?: string;
|
|
1739
|
+
productType: ProductType;
|
|
1740
|
+
bookingRulesId?: string;
|
|
1741
|
+
composite?: Composite | null;
|
|
1742
|
+
variants: ProductVariant[];
|
|
1743
|
+
defaultVariantId?: string;
|
|
1744
|
+
modifiers?: ResolvedModifier[];
|
|
1745
|
+
minPrice?: number;
|
|
1746
|
+
maxPrice?: number;
|
|
1747
|
+
price?: number;
|
|
1748
|
+
status?: string;
|
|
1749
|
+
notSoldInPos?: boolean;
|
|
1750
|
+
notSoldOnline?: boolean;
|
|
1751
|
+
isDeleted?: boolean;
|
|
1752
|
+
currency?: CurrencyCode;
|
|
1753
|
+
minorUnits?: number;
|
|
1754
|
+
createdAt?: string;
|
|
1755
|
+
updatedAt?: string;
|
|
1756
|
+
}
|
|
1757
|
+
type ActiveFullProduct = FullProduct;
|
|
1758
|
+
|
|
1759
|
+
type CompositeItemUnavailable = 'deleted' | 'inactive' | 'hidden' | 'empty' | 'out_of_stock' | 'by_date' | 'fully_booked' | 'marked_sold_out';
|
|
1760
|
+
interface CompositeChoice {
|
|
1761
|
+
productId: string;
|
|
1762
|
+
variantId: string;
|
|
1763
|
+
name: string;
|
|
1764
|
+
attributes: ProductVariant['attributes'];
|
|
1765
|
+
modifiers?: ResolvedModifier[];
|
|
1766
|
+
stockLeft?: number;
|
|
1767
|
+
unit?: MeasurementUnit;
|
|
1768
|
+
}
|
|
1769
|
+
interface CompositeItem {
|
|
1770
|
+
_id: string;
|
|
1771
|
+
variantId: string | null;
|
|
1772
|
+
categoryId: string | null;
|
|
1773
|
+
name: string;
|
|
1774
|
+
extraCharge: number;
|
|
1775
|
+
quantity: number;
|
|
1776
|
+
cost: number;
|
|
1777
|
+
unavailable: CompositeItemUnavailable | null;
|
|
1778
|
+
choices: CompositeChoice[];
|
|
1779
|
+
}
|
|
1780
|
+
interface CompositePart {
|
|
1781
|
+
_id: string;
|
|
1782
|
+
name: string | null;
|
|
1783
|
+
required: boolean;
|
|
1784
|
+
min: number;
|
|
1785
|
+
max: number;
|
|
1786
|
+
items: CompositeItem[];
|
|
1787
|
+
defaultPick: Pick<CompositePick, 'itemId' | 'variantId'> | null;
|
|
1788
|
+
}
|
|
1789
|
+
interface Composite {
|
|
1790
|
+
available: boolean;
|
|
1791
|
+
basePrice: number | null;
|
|
1792
|
+
fromPrice: number | null;
|
|
1793
|
+
parts: CompositePart[];
|
|
1794
|
+
}
|
|
1795
|
+
interface CompositePick {
|
|
1796
|
+
itemId: string;
|
|
1797
|
+
variantId: string;
|
|
1798
|
+
quantity?: number;
|
|
1799
|
+
modifiers?: ModifierSelection[];
|
|
1800
|
+
}
|
|
1801
|
+
interface CartLineComponent {
|
|
1802
|
+
partName?: string;
|
|
1803
|
+
productId: string;
|
|
1804
|
+
variantId: string;
|
|
1805
|
+
name: string;
|
|
1806
|
+
attributes?: ProductVariant['attributes'];
|
|
1807
|
+
quantity: number;
|
|
1808
|
+
unitPrice: number;
|
|
1809
|
+
taxTableId?: string;
|
|
1810
|
+
unit?: MeasurementUnit;
|
|
1811
|
+
stockVariantId?: string;
|
|
1660
1812
|
}
|
|
1661
1813
|
|
|
1662
1814
|
interface Discount {
|
|
@@ -1673,18 +1825,6 @@ interface CustomFee {
|
|
|
1673
1825
|
taxRateId?: string;
|
|
1674
1826
|
}
|
|
1675
1827
|
|
|
1676
|
-
interface MeasurementUnit {
|
|
1677
|
-
unitId: string;
|
|
1678
|
-
companyId: string | null;
|
|
1679
|
-
familyId: string;
|
|
1680
|
-
name: string;
|
|
1681
|
-
abbreviation: string;
|
|
1682
|
-
ratioToBase: number;
|
|
1683
|
-
precision: number;
|
|
1684
|
-
systemKey?: string;
|
|
1685
|
-
sellable?: false;
|
|
1686
|
-
}
|
|
1687
|
-
|
|
1688
1828
|
interface ActiveProduct {
|
|
1689
1829
|
id: string;
|
|
1690
1830
|
internalId: string;
|
|
@@ -1708,6 +1848,7 @@ interface ActiveProduct {
|
|
|
1708
1848
|
fees?: CustomFee[];
|
|
1709
1849
|
modifierSelections?: ModifierSelection[];
|
|
1710
1850
|
modifiers?: CartLineModifier[];
|
|
1851
|
+
components?: CartLineComponent[];
|
|
1711
1852
|
currency?: CurrencyCode;
|
|
1712
1853
|
minorUnits?: number;
|
|
1713
1854
|
isUnlimited?: boolean;
|
|
@@ -1784,76 +1925,6 @@ interface ActiveCompany {
|
|
|
1784
1925
|
settings?: unknown;
|
|
1785
1926
|
}
|
|
1786
1927
|
|
|
1787
|
-
interface Inventory {
|
|
1788
|
-
warehouse: string;
|
|
1789
|
-
outletId: string;
|
|
1790
|
-
stock?: number | null;
|
|
1791
|
-
}
|
|
1792
|
-
interface ProductVariant {
|
|
1793
|
-
sku: string;
|
|
1794
|
-
price: number;
|
|
1795
|
-
salePrice: number;
|
|
1796
|
-
isOnSale: boolean;
|
|
1797
|
-
barcode?: string;
|
|
1798
|
-
costPrice?: number;
|
|
1799
|
-
manageStock: boolean;
|
|
1800
|
-
externalId: string;
|
|
1801
|
-
inventory?: Inventory[];
|
|
1802
|
-
allowBackorder?: boolean;
|
|
1803
|
-
images?: string[];
|
|
1804
|
-
attributes: {
|
|
1805
|
-
name: string;
|
|
1806
|
-
value?: string;
|
|
1807
|
-
}[];
|
|
1808
|
-
metadata?: {
|
|
1809
|
-
key: string;
|
|
1810
|
-
value: string;
|
|
1811
|
-
}[];
|
|
1812
|
-
_id: string;
|
|
1813
|
-
isDeleted?: boolean;
|
|
1814
|
-
currency?: CurrencyCode;
|
|
1815
|
-
minorUnits?: number;
|
|
1816
|
-
unitId?: string;
|
|
1817
|
-
unit?: MeasurementUnit;
|
|
1818
|
-
stockVariantId?: string;
|
|
1819
|
-
}
|
|
1820
|
-
interface FullProduct {
|
|
1821
|
-
_id: string;
|
|
1822
|
-
companyId?: string;
|
|
1823
|
-
externalId: string;
|
|
1824
|
-
taxTable: string;
|
|
1825
|
-
name: string;
|
|
1826
|
-
description?: string;
|
|
1827
|
-
shortDescription?: string;
|
|
1828
|
-
images?: string[];
|
|
1829
|
-
categories: {
|
|
1830
|
-
name: string;
|
|
1831
|
-
externalId: string;
|
|
1832
|
-
}[];
|
|
1833
|
-
attributes: {
|
|
1834
|
-
name: string;
|
|
1835
|
-
values: string[];
|
|
1836
|
-
}[];
|
|
1837
|
-
tags?: string[];
|
|
1838
|
-
supplier?: string;
|
|
1839
|
-
sku?: string;
|
|
1840
|
-
productType: ProductType;
|
|
1841
|
-
bookingRulesId?: string;
|
|
1842
|
-
variants: ProductVariant[];
|
|
1843
|
-
defaultVariantId?: string;
|
|
1844
|
-
modifiers?: ResolvedModifier[];
|
|
1845
|
-
minPrice?: number;
|
|
1846
|
-
maxPrice?: number;
|
|
1847
|
-
price?: number;
|
|
1848
|
-
status?: string;
|
|
1849
|
-
isDeleted?: boolean;
|
|
1850
|
-
currency?: CurrencyCode;
|
|
1851
|
-
minorUnits?: number;
|
|
1852
|
-
createdAt?: string;
|
|
1853
|
-
updatedAt?: string;
|
|
1854
|
-
}
|
|
1855
|
-
type ActiveFullProduct = FullProduct;
|
|
1856
|
-
|
|
1857
1928
|
interface BookingSlotResource {
|
|
1858
1929
|
resourceId: string;
|
|
1859
1930
|
name: string;
|
|
@@ -1943,8 +2014,7 @@ declare enum ProcessorType {
|
|
|
1943
2014
|
VENDARA = "Vendara",
|
|
1944
2015
|
REDEEM = "Redeem",
|
|
1945
2016
|
INTEGRATION = "Integration",
|
|
1946
|
-
PAYMENT_LINK = "PaymentLink"
|
|
1947
|
-
EXTERNAL = "External"
|
|
2017
|
+
PAYMENT_LINK = "PaymentLink"
|
|
1948
2018
|
}
|
|
1949
2019
|
|
|
1950
2020
|
interface PrinterDetails {
|
|
@@ -2078,6 +2148,7 @@ interface ProdModifierBreakdown {
|
|
|
2078
2148
|
tax: number;
|
|
2079
2149
|
taxTableId?: string;
|
|
2080
2150
|
taxes?: OrderTax[];
|
|
2151
|
+
componentIndex?: number;
|
|
2081
2152
|
}
|
|
2082
2153
|
interface ProductTaxDetails {
|
|
2083
2154
|
tax: number;
|
|
@@ -2331,11 +2402,7 @@ interface ReaderAvailability {
|
|
|
2331
2402
|
bluetooth: boolean;
|
|
2332
2403
|
unreferencedRefund?: boolean;
|
|
2333
2404
|
}
|
|
2334
|
-
type
|
|
2335
|
-
interface PrinterSettings {
|
|
2336
|
-
cashDrawer: CashDrawerPolicy;
|
|
2337
|
-
}
|
|
2338
|
-
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';
|
|
2405
|
+
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';
|
|
2339
2406
|
interface PosBrainReadyMessage {
|
|
2340
2407
|
type: 'POSBRAIN_READY';
|
|
2341
2408
|
}
|
|
@@ -2356,7 +2423,6 @@ interface BootstrapMessage {
|
|
|
2356
2423
|
apiUrl?: string;
|
|
2357
2424
|
};
|
|
2358
2425
|
paymentProvider?: PaymentProcessor;
|
|
2359
|
-
printerSettings?: PrinterSettings | null;
|
|
2360
2426
|
}
|
|
2361
2427
|
interface TokenRefreshMessage {
|
|
2362
2428
|
type: 'TOKEN_REFRESH';
|
|
@@ -2373,10 +2439,6 @@ interface ReaderCapabilitiesMessage {
|
|
|
2373
2439
|
type: 'READER_CAPABILITIES';
|
|
2374
2440
|
readerCapabilities: ReaderCapabilities;
|
|
2375
2441
|
}
|
|
2376
|
-
interface PrinterSettingsMessage {
|
|
2377
|
-
type: 'PRINTER_SETTINGS';
|
|
2378
|
-
printerSettings: PrinterSettings;
|
|
2379
|
-
}
|
|
2380
2442
|
interface RuntimeReadyMessage {
|
|
2381
2443
|
type: 'RUNTIME_READY';
|
|
2382
2444
|
}
|
|
@@ -2439,6 +2501,6 @@ interface PubsubEventMessage {
|
|
|
2439
2501
|
type: 'PUBSUB_EVENT';
|
|
2440
2502
|
event: TopicEventWire;
|
|
2441
2503
|
}
|
|
2442
|
-
type ServiceChannelMessage = PosBrainReadyMessage | HostHelloMessage | ServiceInitMessage | BootstrapMessage | TokenRefreshMessage | SelectionMessage | HostShutdownMessage | ReaderCapabilitiesMessage |
|
|
2504
|
+
type ServiceChannelMessage = PosBrainReadyMessage | HostHelloMessage | ServiceInitMessage | BootstrapMessage | TokenRefreshMessage | SelectionMessage | HostShutdownMessage | ReaderCapabilitiesMessage | RuntimeReadyMessage | HostNavigateMessage | SyncProgressMessage | DeviceOpRequestMessage | DeviceOpResponseMessage | PubsubTopicsRequestMessage | PubsubTopicsListMessage | PubsubSubscribeMessage | PubsubEventMessage;
|
|
2443
2505
|
|
|
2444
|
-
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
|
|
2506
|
+
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 };
|