@wix/auto_sdk_restaurants_item-modifier-groups 1.0.68 → 1.0.70
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/build/cjs/index.d.ts +35 -17
- package/build/cjs/index.js +806 -32
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +8 -8
- package/build/cjs/index.typings.js +784 -10
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +35 -17
- package/build/es/index.mjs +796 -32
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +8 -8
- package/build/es/index.typings.mjs +774 -10
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +35 -17
- package/build/internal/cjs/index.js +806 -32
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +8 -8
- package/build/internal/cjs/index.typings.js +784 -10
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +35 -17
- package/build/internal/es/index.mjs +796 -32
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +8 -8
- package/build/internal/es/index.typings.mjs +774 -10
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -899,7 +899,7 @@ interface ItemModifierGroupUpdatedEnvelope {
|
|
|
899
899
|
*/
|
|
900
900
|
declare function onItemModifierGroupUpdated(handler: (event: ItemModifierGroupUpdatedEnvelope) => void | Promise<void>): void;
|
|
901
901
|
/**
|
|
902
|
-
* > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus
|
|
902
|
+
* > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
903
903
|
*
|
|
904
904
|
* Creates a modifier group.
|
|
905
905
|
*
|
|
@@ -916,7 +916,7 @@ declare function onItemModifierGroupUpdated(handler: (event: ItemModifierGroupUp
|
|
|
916
916
|
*/
|
|
917
917
|
declare function createModifierGroup(modifierGroup: NonNullablePaths<ModifierGroup, `name`, 2>): Promise<NonNullablePaths<ModifierGroup, `modifiers` | `modifiers.${number}._id` | `businessLocationIds`, 4>>;
|
|
918
918
|
/**
|
|
919
|
-
* > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus
|
|
919
|
+
* > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
920
920
|
*
|
|
921
921
|
* Retrieves a modifier group by the ID.
|
|
922
922
|
* @param modifierGroupId - Modifier group ID.
|
|
@@ -930,7 +930,7 @@ declare function createModifierGroup(modifierGroup: NonNullablePaths<ModifierGro
|
|
|
930
930
|
*/
|
|
931
931
|
declare function getModifierGroup(modifierGroupId: string): Promise<NonNullablePaths<ModifierGroup, `modifiers` | `modifiers.${number}._id` | `businessLocationIds`, 4>>;
|
|
932
932
|
/**
|
|
933
|
-
* > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus
|
|
933
|
+
* > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
934
934
|
*
|
|
935
935
|
* Retrieves a list of up to 500 modifier groups.
|
|
936
936
|
* @public
|
|
@@ -1148,7 +1148,7 @@ declare const utils: {
|
|
|
1148
1148
|
};
|
|
1149
1149
|
};
|
|
1150
1150
|
/**
|
|
1151
|
-
* > **Note:** The Item API only works with the Wix Restaurants Menus
|
|
1151
|
+
* > **Note:** The Item API only works with the Wix Restaurants Menus app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
1152
1152
|
*
|
|
1153
1153
|
* Retrieves the number of modifier groups that match a specified filter.
|
|
1154
1154
|
*
|
|
@@ -1167,7 +1167,7 @@ interface CountModifierGroupsOptions {
|
|
|
1167
1167
|
filter?: Record<string, any> | null;
|
|
1168
1168
|
}
|
|
1169
1169
|
/**
|
|
1170
|
-
* > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus
|
|
1170
|
+
* > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
1171
1171
|
*
|
|
1172
1172
|
* Updates a modifier group.
|
|
1173
1173
|
*
|
|
@@ -1230,7 +1230,7 @@ interface UpdateModifierGroup {
|
|
|
1230
1230
|
businessLocationIds?: string[];
|
|
1231
1231
|
}
|
|
1232
1232
|
/**
|
|
1233
|
-
* > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus
|
|
1233
|
+
* > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
1234
1234
|
*
|
|
1235
1235
|
* Deletes a modifier group.
|
|
1236
1236
|
* @param modifierGroupId - Modifier group ID.
|
|
@@ -1243,7 +1243,7 @@ interface UpdateModifierGroup {
|
|
|
1243
1243
|
*/
|
|
1244
1244
|
declare function deleteModifierGroup(modifierGroupId: string): Promise<void>;
|
|
1245
1245
|
/**
|
|
1246
|
-
* > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus
|
|
1246
|
+
* > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
1247
1247
|
*
|
|
1248
1248
|
* Creates multiple modifier groups.
|
|
1249
1249
|
* @param modifierGroups - Modifier groups details.
|
|
@@ -1260,7 +1260,7 @@ interface BulkCreateModifierGroupsOptions {
|
|
|
1260
1260
|
returnEntity?: boolean;
|
|
1261
1261
|
}
|
|
1262
1262
|
/**
|
|
1263
|
-
* > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus
|
|
1263
|
+
* > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
1264
1264
|
*
|
|
1265
1265
|
* Updates multiple item modifier groups at once. This function supports partial updates.
|
|
1266
1266
|
* Each time a modifier group is updated, its revision increments by 1. The existing revision must be included when updating an item modifier group. This ensures you're working with the latest item information, and prevents unintended overwrites.
|