@final-commerce/common 2.4.0-staging.2 → 2.4.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.js +13 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -5
- package/dist/index.mjs.map +1 -1
- package/dist/pos-types/index.d.mts +4 -0
- package/dist/pos-types/index.d.ts +4 -0
- package/package.json +1 -1
|
@@ -539,6 +539,7 @@ interface RefundPayment {
|
|
|
539
539
|
processor?: string;
|
|
540
540
|
saleId?: string;
|
|
541
541
|
tendered?: number;
|
|
542
|
+
tip?: OrderTip | null;
|
|
542
543
|
}
|
|
543
544
|
|
|
544
545
|
interface RefundTip {
|
|
@@ -896,6 +897,7 @@ interface Product extends BaseEntity {
|
|
|
896
897
|
maxPrice?: number;
|
|
897
898
|
supplier?: string;
|
|
898
899
|
taxTable?: string | null;
|
|
900
|
+
defaultVariantId?: string;
|
|
899
901
|
categories?: string[];
|
|
900
902
|
outlets?: string[];
|
|
901
903
|
currency?: CurrencyCode;
|
|
@@ -1815,6 +1817,7 @@ interface FullProduct {
|
|
|
1815
1817
|
productType: ProductType;
|
|
1816
1818
|
bookingRulesId?: string;
|
|
1817
1819
|
variants: ProductVariant[];
|
|
1820
|
+
defaultVariantId?: string;
|
|
1818
1821
|
modifiers?: ResolvedModifier[];
|
|
1819
1822
|
minPrice?: number;
|
|
1820
1823
|
maxPrice?: number;
|
|
@@ -1865,6 +1868,7 @@ interface BookingResource {
|
|
|
1865
1868
|
name: string;
|
|
1866
1869
|
kind: BookingResourceKind;
|
|
1867
1870
|
tag?: string;
|
|
1871
|
+
image?: string;
|
|
1868
1872
|
}
|
|
1869
1873
|
interface Booking {
|
|
1870
1874
|
id: string;
|
|
@@ -539,6 +539,7 @@ interface RefundPayment {
|
|
|
539
539
|
processor?: string;
|
|
540
540
|
saleId?: string;
|
|
541
541
|
tendered?: number;
|
|
542
|
+
tip?: OrderTip | null;
|
|
542
543
|
}
|
|
543
544
|
|
|
544
545
|
interface RefundTip {
|
|
@@ -896,6 +897,7 @@ interface Product extends BaseEntity {
|
|
|
896
897
|
maxPrice?: number;
|
|
897
898
|
supplier?: string;
|
|
898
899
|
taxTable?: string | null;
|
|
900
|
+
defaultVariantId?: string;
|
|
899
901
|
categories?: string[];
|
|
900
902
|
outlets?: string[];
|
|
901
903
|
currency?: CurrencyCode;
|
|
@@ -1815,6 +1817,7 @@ interface FullProduct {
|
|
|
1815
1817
|
productType: ProductType;
|
|
1816
1818
|
bookingRulesId?: string;
|
|
1817
1819
|
variants: ProductVariant[];
|
|
1820
|
+
defaultVariantId?: string;
|
|
1818
1821
|
modifiers?: ResolvedModifier[];
|
|
1819
1822
|
minPrice?: number;
|
|
1820
1823
|
maxPrice?: number;
|
|
@@ -1865,6 +1868,7 @@ interface BookingResource {
|
|
|
1865
1868
|
name: string;
|
|
1866
1869
|
kind: BookingResourceKind;
|
|
1867
1870
|
tag?: string;
|
|
1871
|
+
image?: string;
|
|
1868
1872
|
}
|
|
1869
1873
|
interface Booking {
|
|
1870
1874
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@final-commerce/common",
|
|
3
|
-
"version": "2.4.0
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "Shared utilities, types, constants, and engineering governance configs for the Final Commerce platform.",
|
|
5
5
|
"homepage": "https://github.com/Final-Commerce/common#readme",
|
|
6
6
|
"bugs": {
|