@wix/auto_sdk_restaurants_item-modifier-groups 1.0.21 → 1.0.23
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/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.public.d.ts → index.d.mts} +36 -19
- package/build/{internal/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.public.d.ts → index.d.ts} +36 -19
- package/build/index.js +936 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +898 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/{es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.public.d.ts → index.d.mts} +36 -19
- package/build/{es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.public.d.ts → internal/index.d.ts} +36 -19
- package/build/internal/index.js +936 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +898 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/internal/meta.d.mts +361 -0
- package/build/internal/meta.d.ts +361 -0
- package/build/internal/meta.js +663 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +627 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/{es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.universal.d.ts → internal/restaurants-menus-v1-item-modifier-group-item-modifier-groups.universal-DrPx49Dj.d.mts} +85 -292
- package/build/internal/{cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.universal.d.ts → restaurants-menus-v1-item-modifier-group-item-modifier-groups.universal-DrPx49Dj.d.ts} +85 -292
- package/build/meta.d.mts +361 -0
- package/build/meta.d.ts +361 -0
- package/build/meta.js +663 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +627 -0
- package/build/meta.mjs.map +1 -0
- package/build/{cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.universal.d.ts → restaurants-menus-v1-item-modifier-group-item-modifier-groups.universal-DrPx49Dj.d.mts} +85 -292
- package/build/{internal/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.universal.d.ts → restaurants-menus-v1-item-modifier-group-item-modifier-groups.universal-DrPx49Dj.d.ts} +85 -292
- package/package.json +13 -12
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.context.d.ts +0 -24
- package/build/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.context.js +0 -29
- package/build/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.context.js.map +0 -1
- package/build/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.http.d.ts +0 -74
- package/build/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.http.js +0 -490
- package/build/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.http.js.map +0 -1
- package/build/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.meta.d.ts +0 -28
- package/build/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.meta.js +0 -218
- package/build/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.meta.js.map +0 -1
- package/build/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.public.js +0 -103
- package/build/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.public.js.map +0 -1
- package/build/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.types.d.ts +0 -663
- package/build/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.types.js +0 -17
- package/build/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.types.js.map +0 -1
- package/build/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.universal.js +0 -475
- package/build/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/package.json +0 -3
- package/build/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.context.d.ts +0 -24
- package/build/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.context.js +0 -24
- package/build/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.context.js.map +0 -1
- package/build/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.http.d.ts +0 -74
- package/build/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.http.js +0 -477
- package/build/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.http.js.map +0 -1
- package/build/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.meta.d.ts +0 -28
- package/build/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.meta.js +0 -182
- package/build/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.meta.js.map +0 -1
- package/build/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.public.js +0 -88
- package/build/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.public.js.map +0 -1
- package/build/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.types.d.ts +0 -663
- package/build/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.types.js +0 -14
- package/build/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.types.js.map +0 -1
- package/build/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.universal.js +0 -439
- package/build/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.context.d.ts +0 -24
- package/build/internal/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.context.js +0 -29
- package/build/internal/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.context.js.map +0 -1
- package/build/internal/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.http.d.ts +0 -74
- package/build/internal/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.http.js +0 -490
- package/build/internal/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.http.js.map +0 -1
- package/build/internal/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.meta.d.ts +0 -28
- package/build/internal/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.meta.js +0 -218
- package/build/internal/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.meta.js.map +0 -1
- package/build/internal/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.public.js +0 -103
- package/build/internal/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.public.js.map +0 -1
- package/build/internal/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.types.d.ts +0 -663
- package/build/internal/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.types.js +0 -17
- package/build/internal/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.types.js.map +0 -1
- package/build/internal/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.universal.js +0 -475
- package/build/internal/cjs/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.context.d.ts +0 -24
- package/build/internal/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.context.js +0 -24
- package/build/internal/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.context.js.map +0 -1
- package/build/internal/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.http.d.ts +0 -74
- package/build/internal/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.http.js +0 -477
- package/build/internal/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.http.js.map +0 -1
- package/build/internal/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.meta.d.ts +0 -28
- package/build/internal/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.meta.js +0 -182
- package/build/internal/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.meta.js.map +0 -1
- package/build/internal/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.public.js +0 -88
- package/build/internal/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.public.js.map +0 -1
- package/build/internal/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.types.d.ts +0 -663
- package/build/internal/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.types.js +0 -14
- package/build/internal/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.types.js.map +0 -1
- package/build/internal/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.universal.js +0 -439
- package/build/internal/es/src/restaurants-menus-v1-item-modifier-group-item-modifier-groups.universal.js.map +0 -1
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { EventDefinition,
|
|
2
|
-
import {
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare function createModifierGroup(httpClient: HttpClient): CreateModifierGroupSignature;
|
|
1
|
+
import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
+
import { M as ModifierGroup, L as ListModifierGroupsOptions, a as ListModifierGroupResponse, b as ModifierGroupsQueryBuilder, C as CountModifierGroupsOptions, c as CountModifierGroupsResponse, U as UpdateModifierGroup, B as BulkCreateModifierGroupsOptions, d as BulkCreateModifierGroupsResponse, e as MaskedModifierGroup, f as BulkUpdateModifierGroupsOptions, g as BulkUpdateModifierGroupsResponse, h as BulkDeleteModifierGroupsResponse, I as ItemModifierGroupCreatedEnvelope, i as ItemModifierGroupDeletedEnvelope, j as ItemModifierGroupUpdatedEnvelope } from './restaurants-menus-v1-item-modifier-group-item-modifier-groups.universal-DrPx49Dj.mjs';
|
|
3
|
+
export { ai as ActionEvent, A as AdditionalChargeInfo, n as App, Z as ApplicationError, an as BaseEventMetadata, _ as BulkActionMetadata, V as BulkCreateModifierGroupsRequest, X as BulkCreateModifierGroupsResult, a1 as BulkDeleteModifierGroupsRequest, a2 as BulkDeleteModifierGroupsResult, a9 as BulkItemResult, a6 as BulkUpdateBusinessLocationIdsPerEntityRequest, a8 as BulkUpdateBusinessLocationIdsPerEntityResponse, a3 as BulkUpdateBusinessLocationIdsRequest, a4 as BulkUpdateBusinessLocationIdsResponse, a5 as BulkUpdateBusinessLocationIdsResponseBulkItemResult, $ as BulkUpdateModifierGroupsRequest, a0 as BulkUpdateModifierGroupsResult, aa as CloneModifierGroupsRequest, ab as CloneModifierGroupsResponse, J as CountModifierGroupsRequest, q as CreateModifierGroupRequest, r as CreateModifierGroupResponse, u as CursorPaging, v as CursorPagingMetadata, x as CursorQuery, y as CursorQueryPagingMethodOneOf, w as Cursors, p as CustomTag, D as DeleteLocationIdsFromModifiers, O as DeleteModifierGroupRequest, T as DeleteModifierGroupResponse, ac as DomainEvent, ad as DomainEventBodyOneOf, aj as Empty, ae as EntityCreatedEvent, ah as EntityDeletedEvent, ag as EntityUpdatedEvent, ao as EventMetadata, E as ExtendedFields, F as File, G as GetModifierGroupRequest, s as GetModifierGroupResponse, al as IdentificationData, am as IdentificationDataIdOneOf, l as InvalidateCache, m as InvalidateCacheGetByOneOf, Y as ItemMetadata, t as ListModifierGroupRequest, ak as MessageEnvelope, k as Modifier, a7 as ModifierGroupIdLocationIds, ap as ModifierGroupsQueryResult, P as Page, Q as QueryModifierGroupsRequest, H as QueryModifierGroupsResponse, af as RestoreInfo, R as Rule, S as SortOrder, z as Sorting, o as URI, K as UpdateModifierGroupRequest, N as UpdateModifierGroupResponse, W as WebhookIdentityType } from './restaurants-menus-v1-item-modifier-group-item-modifier-groups.universal-DrPx49Dj.mjs';
|
|
4
|
+
|
|
5
|
+
declare function createModifierGroup$1(httpClient: HttpClient): CreateModifierGroupSignature;
|
|
7
6
|
interface CreateModifierGroupSignature {
|
|
8
7
|
/**
|
|
9
8
|
* > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -16,7 +15,7 @@ interface CreateModifierGroupSignature {
|
|
|
16
15
|
*/
|
|
17
16
|
(modifierGroup: ModifierGroup): Promise<ModifierGroup>;
|
|
18
17
|
}
|
|
19
|
-
|
|
18
|
+
declare function getModifierGroup$1(httpClient: HttpClient): GetModifierGroupSignature;
|
|
20
19
|
interface GetModifierGroupSignature {
|
|
21
20
|
/**
|
|
22
21
|
* > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -27,7 +26,7 @@ interface GetModifierGroupSignature {
|
|
|
27
26
|
*/
|
|
28
27
|
(modifierGroupId: string): Promise<ModifierGroup>;
|
|
29
28
|
}
|
|
30
|
-
|
|
29
|
+
declare function listModifierGroups$1(httpClient: HttpClient): ListModifierGroupsSignature;
|
|
31
30
|
interface ListModifierGroupsSignature {
|
|
32
31
|
/**
|
|
33
32
|
* > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -36,7 +35,7 @@ interface ListModifierGroupsSignature {
|
|
|
36
35
|
*/
|
|
37
36
|
(options?: ListModifierGroupsOptions | undefined): Promise<ListModifierGroupResponse>;
|
|
38
37
|
}
|
|
39
|
-
|
|
38
|
+
declare function queryModifierGroups$1(httpClient: HttpClient): QueryModifierGroupsSignature;
|
|
40
39
|
interface QueryModifierGroupsSignature {
|
|
41
40
|
/**
|
|
42
41
|
* Creates a query to retrieve a list of item modifier groups.
|
|
@@ -55,7 +54,7 @@ interface QueryModifierGroupsSignature {
|
|
|
55
54
|
*/
|
|
56
55
|
(): ModifierGroupsQueryBuilder;
|
|
57
56
|
}
|
|
58
|
-
|
|
57
|
+
declare function countModifierGroups$1(httpClient: HttpClient): CountModifierGroupsSignature;
|
|
59
58
|
interface CountModifierGroupsSignature {
|
|
60
59
|
/**
|
|
61
60
|
* > **Note:** The Item API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -66,7 +65,7 @@ interface CountModifierGroupsSignature {
|
|
|
66
65
|
*/
|
|
67
66
|
(options?: CountModifierGroupsOptions | undefined): Promise<CountModifierGroupsResponse>;
|
|
68
67
|
}
|
|
69
|
-
|
|
68
|
+
declare function updateModifierGroup$1(httpClient: HttpClient): UpdateModifierGroupSignature;
|
|
70
69
|
interface UpdateModifierGroupSignature {
|
|
71
70
|
/**
|
|
72
71
|
* > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -79,7 +78,7 @@ interface UpdateModifierGroupSignature {
|
|
|
79
78
|
*/
|
|
80
79
|
(_id: string, modifierGroup: UpdateModifierGroup): Promise<ModifierGroup>;
|
|
81
80
|
}
|
|
82
|
-
|
|
81
|
+
declare function deleteModifierGroup$1(httpClient: HttpClient): DeleteModifierGroupSignature;
|
|
83
82
|
interface DeleteModifierGroupSignature {
|
|
84
83
|
/**
|
|
85
84
|
* > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -89,7 +88,7 @@ interface DeleteModifierGroupSignature {
|
|
|
89
88
|
*/
|
|
90
89
|
(modifierGroupId: string): Promise<void>;
|
|
91
90
|
}
|
|
92
|
-
|
|
91
|
+
declare function bulkCreateModifierGroups$1(httpClient: HttpClient): BulkCreateModifierGroupsSignature;
|
|
93
92
|
interface BulkCreateModifierGroupsSignature {
|
|
94
93
|
/**
|
|
95
94
|
* > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -99,7 +98,7 @@ interface BulkCreateModifierGroupsSignature {
|
|
|
99
98
|
*/
|
|
100
99
|
(modifierGroups: ModifierGroup[], options?: BulkCreateModifierGroupsOptions | undefined): Promise<BulkCreateModifierGroupsResponse>;
|
|
101
100
|
}
|
|
102
|
-
|
|
101
|
+
declare function bulkUpdateModifierGroups$1(httpClient: HttpClient): BulkUpdateModifierGroupsSignature;
|
|
103
102
|
interface BulkUpdateModifierGroupsSignature {
|
|
104
103
|
/**
|
|
105
104
|
* > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -111,12 +110,30 @@ interface BulkUpdateModifierGroupsSignature {
|
|
|
111
110
|
*/
|
|
112
111
|
(modifierGroups: MaskedModifierGroup[], options?: BulkUpdateModifierGroupsOptions | undefined): Promise<BulkUpdateModifierGroupsResponse>;
|
|
113
112
|
}
|
|
114
|
-
|
|
113
|
+
declare function bulkDeleteModifierGroups$1(httpClient: HttpClient): BulkDeleteModifierGroupsSignature;
|
|
115
114
|
interface BulkDeleteModifierGroupsSignature {
|
|
116
115
|
/** @param - Modifier Group IDs. */
|
|
117
116
|
(ids: string[]): Promise<BulkDeleteModifierGroupsResponse>;
|
|
118
117
|
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
118
|
+
declare const onItemModifierGroupCreated$1: EventDefinition<ItemModifierGroupCreatedEnvelope, "wix.restaurants.menus.v1.item_modifier_group_created">;
|
|
119
|
+
declare const onItemModifierGroupDeleted$1: EventDefinition<ItemModifierGroupDeletedEnvelope, "wix.restaurants.menus.v1.item_modifier_group_deleted">;
|
|
120
|
+
declare const onItemModifierGroupUpdated$1: EventDefinition<ItemModifierGroupUpdatedEnvelope, "wix.restaurants.menus.v1.item_modifier_group_updated">;
|
|
121
|
+
|
|
122
|
+
declare const createModifierGroup: MaybeContext<BuildRESTFunction<typeof createModifierGroup$1> & typeof createModifierGroup$1>;
|
|
123
|
+
declare const getModifierGroup: MaybeContext<BuildRESTFunction<typeof getModifierGroup$1> & typeof getModifierGroup$1>;
|
|
124
|
+
declare const listModifierGroups: MaybeContext<BuildRESTFunction<typeof listModifierGroups$1> & typeof listModifierGroups$1>;
|
|
125
|
+
declare const queryModifierGroups: MaybeContext<BuildRESTFunction<typeof queryModifierGroups$1> & typeof queryModifierGroups$1>;
|
|
126
|
+
declare const countModifierGroups: MaybeContext<BuildRESTFunction<typeof countModifierGroups$1> & typeof countModifierGroups$1>;
|
|
127
|
+
declare const updateModifierGroup: MaybeContext<BuildRESTFunction<typeof updateModifierGroup$1> & typeof updateModifierGroup$1>;
|
|
128
|
+
declare const deleteModifierGroup: MaybeContext<BuildRESTFunction<typeof deleteModifierGroup$1> & typeof deleteModifierGroup$1>;
|
|
129
|
+
declare const bulkCreateModifierGroups: MaybeContext<BuildRESTFunction<typeof bulkCreateModifierGroups$1> & typeof bulkCreateModifierGroups$1>;
|
|
130
|
+
declare const bulkUpdateModifierGroups: MaybeContext<BuildRESTFunction<typeof bulkUpdateModifierGroups$1> & typeof bulkUpdateModifierGroups$1>;
|
|
131
|
+
declare const bulkDeleteModifierGroups: MaybeContext<BuildRESTFunction<typeof bulkDeleteModifierGroups$1> & typeof bulkDeleteModifierGroups$1>;
|
|
132
|
+
/** */
|
|
133
|
+
declare const onItemModifierGroupCreated: BuildEventDefinition<typeof onItemModifierGroupCreated$1>;
|
|
134
|
+
/** */
|
|
135
|
+
declare const onItemModifierGroupDeleted: BuildEventDefinition<typeof onItemModifierGroupDeleted$1>;
|
|
136
|
+
/** */
|
|
137
|
+
declare const onItemModifierGroupUpdated: BuildEventDefinition<typeof onItemModifierGroupUpdated$1>;
|
|
138
|
+
|
|
139
|
+
export { BulkCreateModifierGroupsOptions, BulkCreateModifierGroupsResponse, BulkDeleteModifierGroupsResponse, BulkUpdateModifierGroupsOptions, BulkUpdateModifierGroupsResponse, CountModifierGroupsOptions, CountModifierGroupsResponse, ItemModifierGroupCreatedEnvelope, ItemModifierGroupDeletedEnvelope, ItemModifierGroupUpdatedEnvelope, ListModifierGroupResponse, ListModifierGroupsOptions, MaskedModifierGroup, ModifierGroup, ModifierGroupsQueryBuilder, UpdateModifierGroup, bulkCreateModifierGroups, bulkDeleteModifierGroups, bulkUpdateModifierGroups, countModifierGroups, createModifierGroup, deleteModifierGroup, getModifierGroup, listModifierGroups, onItemModifierGroupCreated, onItemModifierGroupDeleted, onItemModifierGroupUpdated, queryModifierGroups, updateModifierGroup };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { EventDefinition,
|
|
2
|
-
import {
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare function createModifierGroup(httpClient: HttpClient): CreateModifierGroupSignature;
|
|
1
|
+
import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
+
import { M as ModifierGroup, L as ListModifierGroupsOptions, a as ListModifierGroupResponse, b as ModifierGroupsQueryBuilder, C as CountModifierGroupsOptions, c as CountModifierGroupsResponse, U as UpdateModifierGroup, B as BulkCreateModifierGroupsOptions, d as BulkCreateModifierGroupsResponse, e as MaskedModifierGroup, f as BulkUpdateModifierGroupsOptions, g as BulkUpdateModifierGroupsResponse, h as BulkDeleteModifierGroupsResponse, I as ItemModifierGroupCreatedEnvelope, i as ItemModifierGroupDeletedEnvelope, j as ItemModifierGroupUpdatedEnvelope } from './restaurants-menus-v1-item-modifier-group-item-modifier-groups.universal-DrPx49Dj.js';
|
|
3
|
+
export { ai as ActionEvent, A as AdditionalChargeInfo, n as App, Z as ApplicationError, an as BaseEventMetadata, _ as BulkActionMetadata, V as BulkCreateModifierGroupsRequest, X as BulkCreateModifierGroupsResult, a1 as BulkDeleteModifierGroupsRequest, a2 as BulkDeleteModifierGroupsResult, a9 as BulkItemResult, a6 as BulkUpdateBusinessLocationIdsPerEntityRequest, a8 as BulkUpdateBusinessLocationIdsPerEntityResponse, a3 as BulkUpdateBusinessLocationIdsRequest, a4 as BulkUpdateBusinessLocationIdsResponse, a5 as BulkUpdateBusinessLocationIdsResponseBulkItemResult, $ as BulkUpdateModifierGroupsRequest, a0 as BulkUpdateModifierGroupsResult, aa as CloneModifierGroupsRequest, ab as CloneModifierGroupsResponse, J as CountModifierGroupsRequest, q as CreateModifierGroupRequest, r as CreateModifierGroupResponse, u as CursorPaging, v as CursorPagingMetadata, x as CursorQuery, y as CursorQueryPagingMethodOneOf, w as Cursors, p as CustomTag, D as DeleteLocationIdsFromModifiers, O as DeleteModifierGroupRequest, T as DeleteModifierGroupResponse, ac as DomainEvent, ad as DomainEventBodyOneOf, aj as Empty, ae as EntityCreatedEvent, ah as EntityDeletedEvent, ag as EntityUpdatedEvent, ao as EventMetadata, E as ExtendedFields, F as File, G as GetModifierGroupRequest, s as GetModifierGroupResponse, al as IdentificationData, am as IdentificationDataIdOneOf, l as InvalidateCache, m as InvalidateCacheGetByOneOf, Y as ItemMetadata, t as ListModifierGroupRequest, ak as MessageEnvelope, k as Modifier, a7 as ModifierGroupIdLocationIds, ap as ModifierGroupsQueryResult, P as Page, Q as QueryModifierGroupsRequest, H as QueryModifierGroupsResponse, af as RestoreInfo, R as Rule, S as SortOrder, z as Sorting, o as URI, K as UpdateModifierGroupRequest, N as UpdateModifierGroupResponse, W as WebhookIdentityType } from './restaurants-menus-v1-item-modifier-group-item-modifier-groups.universal-DrPx49Dj.js';
|
|
4
|
+
|
|
5
|
+
declare function createModifierGroup$1(httpClient: HttpClient): CreateModifierGroupSignature;
|
|
7
6
|
interface CreateModifierGroupSignature {
|
|
8
7
|
/**
|
|
9
8
|
* > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -16,7 +15,7 @@ interface CreateModifierGroupSignature {
|
|
|
16
15
|
*/
|
|
17
16
|
(modifierGroup: ModifierGroup): Promise<ModifierGroup>;
|
|
18
17
|
}
|
|
19
|
-
|
|
18
|
+
declare function getModifierGroup$1(httpClient: HttpClient): GetModifierGroupSignature;
|
|
20
19
|
interface GetModifierGroupSignature {
|
|
21
20
|
/**
|
|
22
21
|
* > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -27,7 +26,7 @@ interface GetModifierGroupSignature {
|
|
|
27
26
|
*/
|
|
28
27
|
(modifierGroupId: string): Promise<ModifierGroup>;
|
|
29
28
|
}
|
|
30
|
-
|
|
29
|
+
declare function listModifierGroups$1(httpClient: HttpClient): ListModifierGroupsSignature;
|
|
31
30
|
interface ListModifierGroupsSignature {
|
|
32
31
|
/**
|
|
33
32
|
* > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -36,7 +35,7 @@ interface ListModifierGroupsSignature {
|
|
|
36
35
|
*/
|
|
37
36
|
(options?: ListModifierGroupsOptions | undefined): Promise<ListModifierGroupResponse>;
|
|
38
37
|
}
|
|
39
|
-
|
|
38
|
+
declare function queryModifierGroups$1(httpClient: HttpClient): QueryModifierGroupsSignature;
|
|
40
39
|
interface QueryModifierGroupsSignature {
|
|
41
40
|
/**
|
|
42
41
|
* Creates a query to retrieve a list of item modifier groups.
|
|
@@ -55,7 +54,7 @@ interface QueryModifierGroupsSignature {
|
|
|
55
54
|
*/
|
|
56
55
|
(): ModifierGroupsQueryBuilder;
|
|
57
56
|
}
|
|
58
|
-
|
|
57
|
+
declare function countModifierGroups$1(httpClient: HttpClient): CountModifierGroupsSignature;
|
|
59
58
|
interface CountModifierGroupsSignature {
|
|
60
59
|
/**
|
|
61
60
|
* > **Note:** The Item API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -66,7 +65,7 @@ interface CountModifierGroupsSignature {
|
|
|
66
65
|
*/
|
|
67
66
|
(options?: CountModifierGroupsOptions | undefined): Promise<CountModifierGroupsResponse>;
|
|
68
67
|
}
|
|
69
|
-
|
|
68
|
+
declare function updateModifierGroup$1(httpClient: HttpClient): UpdateModifierGroupSignature;
|
|
70
69
|
interface UpdateModifierGroupSignature {
|
|
71
70
|
/**
|
|
72
71
|
* > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -79,7 +78,7 @@ interface UpdateModifierGroupSignature {
|
|
|
79
78
|
*/
|
|
80
79
|
(_id: string, modifierGroup: UpdateModifierGroup): Promise<ModifierGroup>;
|
|
81
80
|
}
|
|
82
|
-
|
|
81
|
+
declare function deleteModifierGroup$1(httpClient: HttpClient): DeleteModifierGroupSignature;
|
|
83
82
|
interface DeleteModifierGroupSignature {
|
|
84
83
|
/**
|
|
85
84
|
* > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -89,7 +88,7 @@ interface DeleteModifierGroupSignature {
|
|
|
89
88
|
*/
|
|
90
89
|
(modifierGroupId: string): Promise<void>;
|
|
91
90
|
}
|
|
92
|
-
|
|
91
|
+
declare function bulkCreateModifierGroups$1(httpClient: HttpClient): BulkCreateModifierGroupsSignature;
|
|
93
92
|
interface BulkCreateModifierGroupsSignature {
|
|
94
93
|
/**
|
|
95
94
|
* > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -99,7 +98,7 @@ interface BulkCreateModifierGroupsSignature {
|
|
|
99
98
|
*/
|
|
100
99
|
(modifierGroups: ModifierGroup[], options?: BulkCreateModifierGroupsOptions | undefined): Promise<BulkCreateModifierGroupsResponse>;
|
|
101
100
|
}
|
|
102
|
-
|
|
101
|
+
declare function bulkUpdateModifierGroups$1(httpClient: HttpClient): BulkUpdateModifierGroupsSignature;
|
|
103
102
|
interface BulkUpdateModifierGroupsSignature {
|
|
104
103
|
/**
|
|
105
104
|
* > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new).
|
|
@@ -111,12 +110,30 @@ interface BulkUpdateModifierGroupsSignature {
|
|
|
111
110
|
*/
|
|
112
111
|
(modifierGroups: MaskedModifierGroup[], options?: BulkUpdateModifierGroupsOptions | undefined): Promise<BulkUpdateModifierGroupsResponse>;
|
|
113
112
|
}
|
|
114
|
-
|
|
113
|
+
declare function bulkDeleteModifierGroups$1(httpClient: HttpClient): BulkDeleteModifierGroupsSignature;
|
|
115
114
|
interface BulkDeleteModifierGroupsSignature {
|
|
116
115
|
/** @param - Modifier Group IDs. */
|
|
117
116
|
(ids: string[]): Promise<BulkDeleteModifierGroupsResponse>;
|
|
118
117
|
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
118
|
+
declare const onItemModifierGroupCreated$1: EventDefinition<ItemModifierGroupCreatedEnvelope, "wix.restaurants.menus.v1.item_modifier_group_created">;
|
|
119
|
+
declare const onItemModifierGroupDeleted$1: EventDefinition<ItemModifierGroupDeletedEnvelope, "wix.restaurants.menus.v1.item_modifier_group_deleted">;
|
|
120
|
+
declare const onItemModifierGroupUpdated$1: EventDefinition<ItemModifierGroupUpdatedEnvelope, "wix.restaurants.menus.v1.item_modifier_group_updated">;
|
|
121
|
+
|
|
122
|
+
declare const createModifierGroup: MaybeContext<BuildRESTFunction<typeof createModifierGroup$1> & typeof createModifierGroup$1>;
|
|
123
|
+
declare const getModifierGroup: MaybeContext<BuildRESTFunction<typeof getModifierGroup$1> & typeof getModifierGroup$1>;
|
|
124
|
+
declare const listModifierGroups: MaybeContext<BuildRESTFunction<typeof listModifierGroups$1> & typeof listModifierGroups$1>;
|
|
125
|
+
declare const queryModifierGroups: MaybeContext<BuildRESTFunction<typeof queryModifierGroups$1> & typeof queryModifierGroups$1>;
|
|
126
|
+
declare const countModifierGroups: MaybeContext<BuildRESTFunction<typeof countModifierGroups$1> & typeof countModifierGroups$1>;
|
|
127
|
+
declare const updateModifierGroup: MaybeContext<BuildRESTFunction<typeof updateModifierGroup$1> & typeof updateModifierGroup$1>;
|
|
128
|
+
declare const deleteModifierGroup: MaybeContext<BuildRESTFunction<typeof deleteModifierGroup$1> & typeof deleteModifierGroup$1>;
|
|
129
|
+
declare const bulkCreateModifierGroups: MaybeContext<BuildRESTFunction<typeof bulkCreateModifierGroups$1> & typeof bulkCreateModifierGroups$1>;
|
|
130
|
+
declare const bulkUpdateModifierGroups: MaybeContext<BuildRESTFunction<typeof bulkUpdateModifierGroups$1> & typeof bulkUpdateModifierGroups$1>;
|
|
131
|
+
declare const bulkDeleteModifierGroups: MaybeContext<BuildRESTFunction<typeof bulkDeleteModifierGroups$1> & typeof bulkDeleteModifierGroups$1>;
|
|
132
|
+
/** */
|
|
133
|
+
declare const onItemModifierGroupCreated: BuildEventDefinition<typeof onItemModifierGroupCreated$1>;
|
|
134
|
+
/** */
|
|
135
|
+
declare const onItemModifierGroupDeleted: BuildEventDefinition<typeof onItemModifierGroupDeleted$1>;
|
|
136
|
+
/** */
|
|
137
|
+
declare const onItemModifierGroupUpdated: BuildEventDefinition<typeof onItemModifierGroupUpdated$1>;
|
|
138
|
+
|
|
139
|
+
export { BulkCreateModifierGroupsOptions, BulkCreateModifierGroupsResponse, BulkDeleteModifierGroupsResponse, BulkUpdateModifierGroupsOptions, BulkUpdateModifierGroupsResponse, CountModifierGroupsOptions, CountModifierGroupsResponse, ItemModifierGroupCreatedEnvelope, ItemModifierGroupDeletedEnvelope, ItemModifierGroupUpdatedEnvelope, ListModifierGroupResponse, ListModifierGroupsOptions, MaskedModifierGroup, ModifierGroup, ModifierGroupsQueryBuilder, UpdateModifierGroup, bulkCreateModifierGroups, bulkDeleteModifierGroups, bulkUpdateModifierGroups, countModifierGroups, createModifierGroup, deleteModifierGroup, getModifierGroup, listModifierGroups, onItemModifierGroupCreated, onItemModifierGroupDeleted, onItemModifierGroupUpdated, queryModifierGroups, updateModifierGroup };
|