@retaila/shared-types 1.1.112 → 1.1.113
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 +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1577,6 +1577,12 @@ interface Cart {
|
|
|
1577
1577
|
description?: string;
|
|
1578
1578
|
isAutomatic?: boolean;
|
|
1579
1579
|
}[];
|
|
1580
|
+
freeShippingProgress?: {
|
|
1581
|
+
threshold: number;
|
|
1582
|
+
currentSubtotal: number;
|
|
1583
|
+
remaining: number;
|
|
1584
|
+
qualified: boolean;
|
|
1585
|
+
} | null;
|
|
1580
1586
|
}
|
|
1581
1587
|
interface CartItem {
|
|
1582
1588
|
id: string;
|
|
@@ -2749,6 +2755,7 @@ declare enum AnalyticsEventType {
|
|
|
2749
2755
|
PRODUCT_VIEW = "product_view",
|
|
2750
2756
|
PRODUCT_LIST_VIEW = "product_list_view",
|
|
2751
2757
|
PRODUCT_SEARCH = "product_search",
|
|
2758
|
+
SEARCH_SUGGESTION_CLICK = "search_suggestion_click",
|
|
2752
2759
|
ADD_TO_CART = "add_to_cart",
|
|
2753
2760
|
REMOVE_FROM_CART = "remove_from_cart",
|
|
2754
2761
|
UPDATE_CART_QUANTITY = "update_cart_quantity",
|
package/dist/index.d.ts
CHANGED
|
@@ -1577,6 +1577,12 @@ interface Cart {
|
|
|
1577
1577
|
description?: string;
|
|
1578
1578
|
isAutomatic?: boolean;
|
|
1579
1579
|
}[];
|
|
1580
|
+
freeShippingProgress?: {
|
|
1581
|
+
threshold: number;
|
|
1582
|
+
currentSubtotal: number;
|
|
1583
|
+
remaining: number;
|
|
1584
|
+
qualified: boolean;
|
|
1585
|
+
} | null;
|
|
1580
1586
|
}
|
|
1581
1587
|
interface CartItem {
|
|
1582
1588
|
id: string;
|
|
@@ -2749,6 +2755,7 @@ declare enum AnalyticsEventType {
|
|
|
2749
2755
|
PRODUCT_VIEW = "product_view",
|
|
2750
2756
|
PRODUCT_LIST_VIEW = "product_list_view",
|
|
2751
2757
|
PRODUCT_SEARCH = "product_search",
|
|
2758
|
+
SEARCH_SUGGESTION_CLICK = "search_suggestion_click",
|
|
2752
2759
|
ADD_TO_CART = "add_to_cart",
|
|
2753
2760
|
REMOVE_FROM_CART = "remove_from_cart",
|
|
2754
2761
|
UPDATE_CART_QUANTITY = "update_cart_quantity",
|
package/dist/index.js
CHANGED
|
@@ -1009,6 +1009,7 @@ var AnalyticsEventType = /* @__PURE__ */ ((AnalyticsEventType2) => {
|
|
|
1009
1009
|
AnalyticsEventType2["PRODUCT_VIEW"] = "product_view";
|
|
1010
1010
|
AnalyticsEventType2["PRODUCT_LIST_VIEW"] = "product_list_view";
|
|
1011
1011
|
AnalyticsEventType2["PRODUCT_SEARCH"] = "product_search";
|
|
1012
|
+
AnalyticsEventType2["SEARCH_SUGGESTION_CLICK"] = "search_suggestion_click";
|
|
1012
1013
|
AnalyticsEventType2["ADD_TO_CART"] = "add_to_cart";
|
|
1013
1014
|
AnalyticsEventType2["REMOVE_FROM_CART"] = "remove_from_cart";
|
|
1014
1015
|
AnalyticsEventType2["UPDATE_CART_QUANTITY"] = "update_cart_quantity";
|