@deliverart/sdk-js-core 2.23.8 → 2.23.10
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.cjs +2 -0
- package/dist/index.js +2 -0
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -13727,6 +13727,8 @@ var menuItemTypes = ["ITEM", "CHOICE", "BUNDLE"];
|
|
|
13727
13727
|
var menuItemTypeSchema = external_exports.enum(menuItemTypes);
|
|
13728
13728
|
var menuItemModifierTargetItemTypes = ["ITEM", "BUNDLE"];
|
|
13729
13729
|
var menuItemModifierTargetItemTypeSchema = external_exports.enum(menuItemModifierTargetItemTypes);
|
|
13730
|
+
var menuItemModifierScopes = ["global", "category", "item"];
|
|
13731
|
+
var menuItemModifierScopeSchema = external_exports.enum(menuItemModifierScopes);
|
|
13730
13732
|
var orderTypes = ["delivery", "collection", "kitchen"];
|
|
13731
13733
|
var orderTypeSchema = external_exports.union([external_exports.enum(orderTypes), external_exports.literal("take_away")]).transform((value) => value === "take_away" ? "collection" : value);
|
|
13732
13734
|
var orderSources = ["application", "ecommerce", "partner"];
|
package/dist/index.js
CHANGED
|
@@ -13691,6 +13691,8 @@ var menuItemTypes = ["ITEM", "CHOICE", "BUNDLE"];
|
|
|
13691
13691
|
var menuItemTypeSchema = external_exports.enum(menuItemTypes);
|
|
13692
13692
|
var menuItemModifierTargetItemTypes = ["ITEM", "BUNDLE"];
|
|
13693
13693
|
var menuItemModifierTargetItemTypeSchema = external_exports.enum(menuItemModifierTargetItemTypes);
|
|
13694
|
+
var menuItemModifierScopes = ["global", "category", "item"];
|
|
13695
|
+
var menuItemModifierScopeSchema = external_exports.enum(menuItemModifierScopes);
|
|
13694
13696
|
var orderTypes = ["delivery", "collection", "kitchen"];
|
|
13695
13697
|
var orderTypeSchema = external_exports.union([external_exports.enum(orderTypes), external_exports.literal("take_away")]).transform((value) => value === "take_away" ? "collection" : value);
|
|
13696
13698
|
var orderSources = ["application", "ecommerce", "partner"];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deliverart/sdk-js-core",
|
|
3
3
|
"description": "Core SDK for DeliverArt, providing essential functionalities and utilities.",
|
|
4
|
-
"version": "2.23.
|
|
4
|
+
"version": "2.23.10",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/qs": "^6.14.0",
|
|
28
|
-
"@deliverart/sdk-js-global-types": "2.23.
|
|
28
|
+
"@deliverart/sdk-js-global-types": "2.23.10"
|
|
29
29
|
},
|
|
30
30
|
"scripts": {
|
|
31
31
|
"build": "tsup src/index.ts --dts --format esm,cjs",
|