@orderingstack/ordering-types 1.35.0 → 1.37.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/cjs/index.d.ts +2 -0
- package/dist/cjs/index.js +4 -0
- package/dist/esm/index.d.ts +2 -0
- package/dist/esm/index.js +4 -0
- package/package.json +1 -1
package/dist/cjs/index.d.ts
CHANGED
|
@@ -48,6 +48,7 @@ export declare enum EProductKind {
|
|
|
48
48
|
CATEGORY = "3e/group/category",
|
|
49
49
|
OPTIONS = "3e/group/options",
|
|
50
50
|
CONFIG = "3e/group/config",
|
|
51
|
+
GROUP_UPSELL = "3e/group/upsell",
|
|
51
52
|
STATIC = "3e/static",
|
|
52
53
|
REF = "3e/ref",
|
|
53
54
|
QUERY = "3e/query",
|
|
@@ -225,6 +226,7 @@ export interface IProduct {
|
|
|
225
226
|
filter?: IProductFilter;
|
|
226
227
|
fltCtx?: string;
|
|
227
228
|
emit?: IProductEmit;
|
|
229
|
+
isSup?: boolean;
|
|
228
230
|
qtyMin?: string;
|
|
229
231
|
qtyMax?: string;
|
|
230
232
|
_?: IProductExtra;
|
package/dist/cjs/index.js
CHANGED
|
@@ -30,8 +30,12 @@ var EProductKind;
|
|
|
30
30
|
EProductKind["GROUP"] = "3e/group";
|
|
31
31
|
EProductKind["PRODUCT"] = "3e/product";
|
|
32
32
|
EProductKind["CATEGORY"] = "3e/group/category";
|
|
33
|
+
// group created manually, products in it treated as virtual products
|
|
33
34
|
EProductKind["OPTIONS"] = "3e/group/options";
|
|
35
|
+
// group imported from POS, cannot be removed
|
|
34
36
|
EProductKind["CONFIG"] = "3e/group/config";
|
|
37
|
+
// Gdy menu api napotka produkt w grupie upsell, który sam w sobie również zawiera kolejne grupy upsell, świadomie zakończy dalsze zagłębianie się w tę gałąź drzewa.
|
|
38
|
+
EProductKind["GROUP_UPSELL"] = "3e/group/upsell";
|
|
35
39
|
EProductKind["STATIC"] = "3e/static";
|
|
36
40
|
EProductKind["REF"] = "3e/ref";
|
|
37
41
|
EProductKind["QUERY"] = "3e/query";
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -48,6 +48,7 @@ export declare enum EProductKind {
|
|
|
48
48
|
CATEGORY = "3e/group/category",
|
|
49
49
|
OPTIONS = "3e/group/options",
|
|
50
50
|
CONFIG = "3e/group/config",
|
|
51
|
+
GROUP_UPSELL = "3e/group/upsell",
|
|
51
52
|
STATIC = "3e/static",
|
|
52
53
|
REF = "3e/ref",
|
|
53
54
|
QUERY = "3e/query",
|
|
@@ -225,6 +226,7 @@ export interface IProduct {
|
|
|
225
226
|
filter?: IProductFilter;
|
|
226
227
|
fltCtx?: string;
|
|
227
228
|
emit?: IProductEmit;
|
|
229
|
+
isSup?: boolean;
|
|
228
230
|
qtyMin?: string;
|
|
229
231
|
qtyMax?: string;
|
|
230
232
|
_?: IProductExtra;
|
package/dist/esm/index.js
CHANGED
|
@@ -13,8 +13,12 @@ export var EProductKind;
|
|
|
13
13
|
EProductKind["GROUP"] = "3e/group";
|
|
14
14
|
EProductKind["PRODUCT"] = "3e/product";
|
|
15
15
|
EProductKind["CATEGORY"] = "3e/group/category";
|
|
16
|
+
// group created manually, products in it treated as virtual products
|
|
16
17
|
EProductKind["OPTIONS"] = "3e/group/options";
|
|
18
|
+
// group imported from POS, cannot be removed
|
|
17
19
|
EProductKind["CONFIG"] = "3e/group/config";
|
|
20
|
+
// Gdy menu api napotka produkt w grupie upsell, który sam w sobie również zawiera kolejne grupy upsell, świadomie zakończy dalsze zagłębianie się w tę gałąź drzewa.
|
|
21
|
+
EProductKind["GROUP_UPSELL"] = "3e/group/upsell";
|
|
18
22
|
EProductKind["STATIC"] = "3e/static";
|
|
19
23
|
EProductKind["REF"] = "3e/ref";
|
|
20
24
|
EProductKind["QUERY"] = "3e/query";
|