@deliverart/sdk-js-menu 0.0.0-dev-20260721002647
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/README.md +226 -0
- package/dist/index.cjs +1543 -0
- package/dist/index.d.cts +4488 -0
- package/dist/index.d.ts +4488 -0
- package/dist/index.js +1370 -0
- package/package.json +35 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,4488 @@
|
|
|
1
|
+
import * as _deliverart_sdk_js_global_types from '@deliverart/sdk-js-global-types';
|
|
2
|
+
import { menuChannelSchema, menuItemAllergenSchema, menuItemDietSchema } from '@deliverart/sdk-js-global-types';
|
|
3
|
+
export { MenuChannel, MenuItemAllergen, MenuItemDiet, MenuItemModifierScope, MenuItemPriceOverrideType, MenuItemType, menuChannelSchema, menuChannels, menuItemAllergenSchema, menuItemAllergens, menuItemDietSchema, menuItemDiets, menuItemModifierScopeSchema, menuItemModifierScopes, menuItemPriceOverrideTypeSchema, menuItemPriceOverrideTypes, menuItemTypeSchema, menuItemTypes } from '@deliverart/sdk-js-global-types';
|
|
4
|
+
import { imageSchema } from '@deliverart/sdk-js-image';
|
|
5
|
+
import { pointOfSaleIriSchema } from '@deliverart/sdk-js-point-of-sale';
|
|
6
|
+
import { z } from 'zod';
|
|
7
|
+
import { AbstractApiRequest } from '@deliverart/sdk-js-core';
|
|
8
|
+
|
|
9
|
+
declare const menuItemIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>;
|
|
10
|
+
type MenuItemIri = z.infer<typeof menuItemIriSchema>;
|
|
11
|
+
declare const menuItemNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
12
|
+
type MenuItemNullableIri = z.infer<typeof menuItemNullableIriSchema>;
|
|
13
|
+
declare const menuVersionIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:pointOfSaleId/menu_versions/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:pointOfSaleId/menu_versions/:id">, unknown>>;
|
|
14
|
+
type MenuVersionIri = z.infer<typeof menuVersionIriSchema>;
|
|
15
|
+
declare const menuVersionNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:pointOfSaleId/menu_versions/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:pointOfSaleId/menu_versions/:id"> | null, unknown>>;
|
|
16
|
+
type MenuVersionNullableIri = z.infer<typeof menuVersionNullableIriSchema>;
|
|
17
|
+
declare const menuItemSalesPriceIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/sales_prices/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/sales_prices/:id">, unknown>>;
|
|
18
|
+
type MenuItemSalesPriceIri = z.infer<typeof menuItemSalesPriceIriSchema>;
|
|
19
|
+
declare const menuItemSalesPriceNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/sales_prices/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/sales_prices/:id"> | null, unknown>>;
|
|
20
|
+
type MenuItemSalesPriceNullableIri = z.infer<typeof menuItemSalesPriceNullableIriSchema>;
|
|
21
|
+
declare const menuItemCategoryIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>;
|
|
22
|
+
type MenuItemCategoryIri = z.infer<typeof menuItemCategoryIriSchema>;
|
|
23
|
+
declare const menuItemCategoryNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>;
|
|
24
|
+
type MenuItemCategoryNullableIri = z.infer<typeof menuItemCategoryNullableIriSchema>;
|
|
25
|
+
declare const menuItemModifierIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown>>;
|
|
26
|
+
type MenuItemModifierIri = z.infer<typeof menuItemModifierIriSchema>;
|
|
27
|
+
declare const menuItemModifierNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
28
|
+
type MenuItemModifierNullableIri = z.infer<typeof menuItemModifierNullableIriSchema>;
|
|
29
|
+
declare const menuItemPriceOverrideIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>;
|
|
30
|
+
type MenuItemPriceOverrideIri = z.infer<typeof menuItemPriceOverrideIriSchema>;
|
|
31
|
+
declare const menuItemPriceOverrideNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id"> | null, unknown>>;
|
|
32
|
+
type MenuItemPriceOverrideNullableIri = z.infer<typeof menuItemPriceOverrideNullableIriSchema>;
|
|
33
|
+
declare const menuItemPriceOverrideSalesPriceIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/sales_prices/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/sales_prices/:id">, unknown>>;
|
|
34
|
+
type MenuItemPriceOverrideSalesPriceIri = z.infer<typeof menuItemPriceOverrideSalesPriceIriSchema>;
|
|
35
|
+
declare const menuItemPriceOverrideSalesPriceNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/sales_prices/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/sales_prices/:id"> | null, unknown>>;
|
|
36
|
+
type MenuItemPriceOverrideSalesPriceNullableIri = z.infer<typeof menuItemPriceOverrideSalesPriceNullableIriSchema>;
|
|
37
|
+
|
|
38
|
+
declare const localeItemSchema: z.ZodObject<{
|
|
39
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
40
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
declare const salesPriceDTOSchema: z.ZodObject<{
|
|
43
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
44
|
+
price: z.ZodString;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
declare const menuVersionSchema: z.ZodObject<{
|
|
47
|
+
id: z.ZodString;
|
|
48
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
49
|
+
contentUrl: z.ZodURL;
|
|
50
|
+
filePath: z.ZodString;
|
|
51
|
+
createdAt: z.ZodString;
|
|
52
|
+
updatedAt: z.ZodString;
|
|
53
|
+
}, z.core.$strip>;
|
|
54
|
+
type MenuVersion = z.infer<typeof menuVersionSchema>;
|
|
55
|
+
type MenuItemVariant = {
|
|
56
|
+
id: string;
|
|
57
|
+
type: 'ITEM';
|
|
58
|
+
price: string;
|
|
59
|
+
inModifier: MenuItemModifierNullableIri;
|
|
60
|
+
referenceItem: MenuItem;
|
|
61
|
+
suspended: boolean;
|
|
62
|
+
salesPrices: z.infer<typeof salesPriceDTOSchema>[];
|
|
63
|
+
createdAt: string;
|
|
64
|
+
updatedAt: string;
|
|
65
|
+
};
|
|
66
|
+
type MenuItemChoice = {
|
|
67
|
+
id: string;
|
|
68
|
+
channels: z.infer<typeof menuChannelSchema>[];
|
|
69
|
+
tags: string[];
|
|
70
|
+
type: 'CHOICE';
|
|
71
|
+
name: z.infer<typeof localeItemSchema>[];
|
|
72
|
+
description: z.infer<typeof localeItemSchema>[];
|
|
73
|
+
allergens: z.infer<typeof menuItemAllergenSchema>[];
|
|
74
|
+
diets: z.infer<typeof menuItemDietSchema>[];
|
|
75
|
+
price: string;
|
|
76
|
+
taxRate: number;
|
|
77
|
+
containsAlcohol: boolean;
|
|
78
|
+
countable: boolean;
|
|
79
|
+
soldIndividually: boolean;
|
|
80
|
+
suspended: boolean;
|
|
81
|
+
salesPrices: z.infer<typeof salesPriceDTOSchema>[];
|
|
82
|
+
images: z.infer<typeof imageSchema>[];
|
|
83
|
+
createdAt: string;
|
|
84
|
+
updatedAt: string;
|
|
85
|
+
};
|
|
86
|
+
type MenuItemItem = {
|
|
87
|
+
id: string;
|
|
88
|
+
channels: z.infer<typeof menuChannelSchema>[];
|
|
89
|
+
tags: string[];
|
|
90
|
+
category: z.infer<typeof menuItemCategoryNullableIriSchema>;
|
|
91
|
+
type: 'ITEM';
|
|
92
|
+
name: z.infer<typeof localeItemSchema>[];
|
|
93
|
+
description: z.infer<typeof localeItemSchema>[];
|
|
94
|
+
allergens: z.infer<typeof menuItemAllergenSchema>[];
|
|
95
|
+
diets: z.infer<typeof menuItemDietSchema>[];
|
|
96
|
+
price: string;
|
|
97
|
+
taxRate: number;
|
|
98
|
+
containsAlcohol: boolean;
|
|
99
|
+
countable: boolean;
|
|
100
|
+
soldIndividually: boolean;
|
|
101
|
+
suspended: boolean;
|
|
102
|
+
compositions: z.infer<typeof menuItemIriSchema>[];
|
|
103
|
+
modifiers: z.infer<typeof menuItemModifierIriSchema>[];
|
|
104
|
+
variants: MenuItemVariant[];
|
|
105
|
+
salesPrices: z.infer<typeof salesPriceDTOSchema>[];
|
|
106
|
+
images: z.infer<typeof imageSchema>[];
|
|
107
|
+
createdAt: string;
|
|
108
|
+
updatedAt: string;
|
|
109
|
+
};
|
|
110
|
+
type MenuItemBundle = {
|
|
111
|
+
id: string;
|
|
112
|
+
channels: z.infer<typeof menuChannelSchema>[];
|
|
113
|
+
tags: string[];
|
|
114
|
+
category: z.infer<typeof menuItemCategoryNullableIriSchema>;
|
|
115
|
+
type: 'BUNDLE';
|
|
116
|
+
name: z.infer<typeof localeItemSchema>[];
|
|
117
|
+
description: z.infer<typeof localeItemSchema>[];
|
|
118
|
+
allergens: z.infer<typeof menuItemAllergenSchema>[];
|
|
119
|
+
diets: z.infer<typeof menuItemDietSchema>[];
|
|
120
|
+
price: string;
|
|
121
|
+
taxRate: number;
|
|
122
|
+
containsAlcohol: boolean;
|
|
123
|
+
countable: boolean;
|
|
124
|
+
soldIndividually: boolean;
|
|
125
|
+
suspended: boolean;
|
|
126
|
+
compositions: z.infer<typeof menuItemIriSchema>[];
|
|
127
|
+
modifiers: z.infer<typeof menuItemModifierIriSchema>[];
|
|
128
|
+
variants: MenuItemVariant[];
|
|
129
|
+
salesPrices: z.infer<typeof salesPriceDTOSchema>[];
|
|
130
|
+
images: z.infer<typeof imageSchema>[];
|
|
131
|
+
createdAt: string;
|
|
132
|
+
updatedAt: string;
|
|
133
|
+
};
|
|
134
|
+
type MenuItem = MenuItemChoice | MenuItemItem | MenuItemBundle;
|
|
135
|
+
type MenuItemChoiceDetails = MenuItemChoice & {
|
|
136
|
+
pointOfSale: z.infer<typeof pointOfSaleIriSchema>;
|
|
137
|
+
};
|
|
138
|
+
type MenuItemItemDetails = MenuItemItem & {
|
|
139
|
+
pointOfSale: z.infer<typeof pointOfSaleIriSchema>;
|
|
140
|
+
};
|
|
141
|
+
type MenuItemBundleDetails = MenuItemBundle & {
|
|
142
|
+
pointOfSale: z.infer<typeof pointOfSaleIriSchema>;
|
|
143
|
+
};
|
|
144
|
+
type MenuItemDetails = MenuItemChoiceDetails | MenuItemItemDetails | MenuItemBundleDetails;
|
|
145
|
+
declare const menuItemChoiceSchema: z.ZodType<MenuItemChoice>;
|
|
146
|
+
declare const menuItemItemSchema: z.ZodType<MenuItemItem>;
|
|
147
|
+
declare const menuItemBundleSchema: z.ZodType<MenuItemBundle>;
|
|
148
|
+
declare const menuItemSchema: z.ZodType<MenuItem>;
|
|
149
|
+
declare const menuItemChoiceDetailsSchema: z.ZodType<MenuItemChoiceDetails>;
|
|
150
|
+
declare const menuItemItemDetailsSchema: z.ZodType<MenuItemItemDetails>;
|
|
151
|
+
declare const menuItemBundleDetailsSchema: z.ZodType<MenuItemBundleDetails>;
|
|
152
|
+
declare const menuItemDetailsSchema: z.ZodType<MenuItemDetails>;
|
|
153
|
+
declare const writableMenuItemSchema: z.ZodObject<{
|
|
154
|
+
type: z.ZodEnum<{
|
|
155
|
+
ITEM: "ITEM";
|
|
156
|
+
CHOICE: "CHOICE";
|
|
157
|
+
BUNDLE: "BUNDLE";
|
|
158
|
+
}>;
|
|
159
|
+
price: z.ZodString;
|
|
160
|
+
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>;
|
|
161
|
+
channels: z.ZodArray<z.ZodEnum<{
|
|
162
|
+
application: "application";
|
|
163
|
+
ecommerce: "ecommerce";
|
|
164
|
+
deliveroo: "deliveroo";
|
|
165
|
+
justeat: "justeat";
|
|
166
|
+
glovo: "glovo";
|
|
167
|
+
tilby: "tilby";
|
|
168
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
169
|
+
elephant: "elephant";
|
|
170
|
+
}>>;
|
|
171
|
+
tags: z.ZodArray<z.ZodString>;
|
|
172
|
+
name: z.ZodArray<z.ZodObject<{
|
|
173
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
174
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
175
|
+
}, z.core.$strip>>;
|
|
176
|
+
description: z.ZodArray<z.ZodObject<{
|
|
177
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
178
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
179
|
+
}, z.core.$strip>>;
|
|
180
|
+
allergens: z.ZodArray<z.ZodEnum<{
|
|
181
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
182
|
+
crustaceans: "crustaceans";
|
|
183
|
+
nuts: "nuts";
|
|
184
|
+
gluten: "gluten";
|
|
185
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
186
|
+
lupins: "lupins";
|
|
187
|
+
molluscs: "molluscs";
|
|
188
|
+
mustard: "mustard";
|
|
189
|
+
fish: "fish";
|
|
190
|
+
celery: "celery";
|
|
191
|
+
sesame: "sesame";
|
|
192
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
193
|
+
soy: "soy";
|
|
194
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
195
|
+
mushrooms: "mushrooms";
|
|
196
|
+
}>>;
|
|
197
|
+
diets: z.ZodArray<z.ZodEnum<{
|
|
198
|
+
vegan: "vegan";
|
|
199
|
+
vegetarian: "vegetarian";
|
|
200
|
+
"gluten-free": "gluten-free";
|
|
201
|
+
"dairy-free": "dairy-free";
|
|
202
|
+
}>>;
|
|
203
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
204
|
+
containsAlcohol: z.ZodBoolean;
|
|
205
|
+
countable: z.ZodBoolean;
|
|
206
|
+
suspended: z.ZodBoolean;
|
|
207
|
+
compositions: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
208
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
209
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
210
|
+
price: z.ZodString;
|
|
211
|
+
}, z.core.$strip>>;
|
|
212
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
213
|
+
images: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>>;
|
|
214
|
+
}, z.core.$strip>;
|
|
215
|
+
declare const menuItemCategorySchema: z.ZodObject<{
|
|
216
|
+
id: z.ZodString;
|
|
217
|
+
name: z.ZodArray<z.ZodObject<{
|
|
218
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
219
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
220
|
+
}, z.core.$strip>>;
|
|
221
|
+
description: z.ZodArray<z.ZodObject<{
|
|
222
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
223
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
224
|
+
}, z.core.$strip>>;
|
|
225
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
226
|
+
suspended: z.ZodBoolean;
|
|
227
|
+
images: z.ZodArray<z.ZodObject<{
|
|
228
|
+
id: z.ZodString;
|
|
229
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
230
|
+
contentUrl: z.ZodURL;
|
|
231
|
+
filePath: z.ZodString;
|
|
232
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
233
|
+
createdAt: z.ZodString;
|
|
234
|
+
updatedAt: z.ZodString;
|
|
235
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
236
|
+
id: z.ZodString;
|
|
237
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
238
|
+
contentUrl: z.ZodURL;
|
|
239
|
+
filePath: z.ZodString;
|
|
240
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
241
|
+
createdAt: z.ZodString;
|
|
242
|
+
updatedAt: z.ZodString;
|
|
243
|
+
}, z.core.$strip>>>;
|
|
244
|
+
}, z.core.$strip>>;
|
|
245
|
+
createdAt: z.ZodString;
|
|
246
|
+
updatedAt: z.ZodString;
|
|
247
|
+
}, z.core.$strip>;
|
|
248
|
+
type MenuItemCategory = z.infer<typeof menuItemCategorySchema>;
|
|
249
|
+
declare const menuItemCategoryDetailsSchema: z.ZodObject<{
|
|
250
|
+
id: z.ZodString;
|
|
251
|
+
name: z.ZodArray<z.ZodObject<{
|
|
252
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
253
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
254
|
+
}, z.core.$strip>>;
|
|
255
|
+
description: z.ZodArray<z.ZodObject<{
|
|
256
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
257
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
258
|
+
}, z.core.$strip>>;
|
|
259
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
260
|
+
suspended: z.ZodBoolean;
|
|
261
|
+
images: z.ZodArray<z.ZodObject<{
|
|
262
|
+
id: z.ZodString;
|
|
263
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
264
|
+
contentUrl: z.ZodURL;
|
|
265
|
+
filePath: z.ZodString;
|
|
266
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
267
|
+
createdAt: z.ZodString;
|
|
268
|
+
updatedAt: z.ZodString;
|
|
269
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
270
|
+
id: z.ZodString;
|
|
271
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
272
|
+
contentUrl: z.ZodURL;
|
|
273
|
+
filePath: z.ZodString;
|
|
274
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
275
|
+
createdAt: z.ZodString;
|
|
276
|
+
updatedAt: z.ZodString;
|
|
277
|
+
}, z.core.$strip>>>;
|
|
278
|
+
}, z.core.$strip>>;
|
|
279
|
+
createdAt: z.ZodString;
|
|
280
|
+
updatedAt: z.ZodString;
|
|
281
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
282
|
+
items: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>>;
|
|
283
|
+
modifiers: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown>>>>;
|
|
284
|
+
}, z.core.$strip>;
|
|
285
|
+
type MenuItemCategoryDetails = z.infer<typeof menuItemCategoryDetailsSchema>;
|
|
286
|
+
declare const writableMenuItemCategorySchema: z.ZodObject<{
|
|
287
|
+
name: z.ZodArray<z.ZodObject<{
|
|
288
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
289
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
290
|
+
}, z.core.$strip>>;
|
|
291
|
+
description: z.ZodArray<z.ZodObject<{
|
|
292
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
293
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
294
|
+
}, z.core.$strip>>;
|
|
295
|
+
suspended: z.ZodBoolean;
|
|
296
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
297
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
298
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>>>;
|
|
299
|
+
}, z.core.$strip>;
|
|
300
|
+
declare const menuItemModifierSchema: z.ZodObject<{
|
|
301
|
+
id: z.ZodString;
|
|
302
|
+
targetItemType: z.ZodEnum<{
|
|
303
|
+
ITEM: "ITEM";
|
|
304
|
+
BUNDLE: "BUNDLE";
|
|
305
|
+
}>;
|
|
306
|
+
scope: z.ZodEnum<{
|
|
307
|
+
global: "global";
|
|
308
|
+
category: "category";
|
|
309
|
+
item: "item";
|
|
310
|
+
}>;
|
|
311
|
+
category: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>>>;
|
|
312
|
+
referenceItem: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>>>;
|
|
313
|
+
name: z.ZodArray<z.ZodObject<{
|
|
314
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
315
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
316
|
+
}, z.core.$strip>>;
|
|
317
|
+
description: z.ZodArray<z.ZodObject<{
|
|
318
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
319
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
320
|
+
}, z.core.$strip>>;
|
|
321
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
322
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
323
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
324
|
+
repeatable: z.ZodBoolean;
|
|
325
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
326
|
+
choices: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
327
|
+
priceOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
328
|
+
variantOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
329
|
+
createdAt: z.ZodString;
|
|
330
|
+
updatedAt: z.ZodString;
|
|
331
|
+
}, z.core.$strip>;
|
|
332
|
+
type MenuItemModifier = z.infer<typeof menuItemModifierSchema>;
|
|
333
|
+
declare const menuItemModifierDetailsSchema: z.ZodObject<{
|
|
334
|
+
id: z.ZodString;
|
|
335
|
+
targetItemType: z.ZodEnum<{
|
|
336
|
+
ITEM: "ITEM";
|
|
337
|
+
BUNDLE: "BUNDLE";
|
|
338
|
+
}>;
|
|
339
|
+
scope: z.ZodEnum<{
|
|
340
|
+
global: "global";
|
|
341
|
+
category: "category";
|
|
342
|
+
item: "item";
|
|
343
|
+
}>;
|
|
344
|
+
category: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>>>;
|
|
345
|
+
referenceItem: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>>>;
|
|
346
|
+
name: z.ZodArray<z.ZodObject<{
|
|
347
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
348
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
349
|
+
}, z.core.$strip>>;
|
|
350
|
+
description: z.ZodArray<z.ZodObject<{
|
|
351
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
352
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
353
|
+
}, z.core.$strip>>;
|
|
354
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
355
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
356
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
357
|
+
repeatable: z.ZodBoolean;
|
|
358
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
359
|
+
choices: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
360
|
+
priceOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
361
|
+
variantOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
362
|
+
createdAt: z.ZodString;
|
|
363
|
+
updatedAt: z.ZodString;
|
|
364
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
365
|
+
}, z.core.$strip>;
|
|
366
|
+
type MenuItemModifierDetails = z.infer<typeof menuItemModifierDetailsSchema>;
|
|
367
|
+
declare const writableMenuItemModifierSchema: z.ZodObject<{
|
|
368
|
+
category: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>>>;
|
|
369
|
+
name: z.ZodArray<z.ZodObject<{
|
|
370
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
371
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
372
|
+
}, z.core.$strip>>;
|
|
373
|
+
description: z.ZodArray<z.ZodObject<{
|
|
374
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
375
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
376
|
+
}, z.core.$strip>>;
|
|
377
|
+
referenceItem: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>>>;
|
|
378
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
379
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
380
|
+
targetItemType: z.ZodEnum<{
|
|
381
|
+
ITEM: "ITEM";
|
|
382
|
+
BUNDLE: "BUNDLE";
|
|
383
|
+
}>;
|
|
384
|
+
scope: z.ZodEnum<{
|
|
385
|
+
global: "global";
|
|
386
|
+
category: "category";
|
|
387
|
+
item: "item";
|
|
388
|
+
}>;
|
|
389
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
390
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
391
|
+
repeatable: z.ZodBoolean;
|
|
392
|
+
choices: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
393
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
394
|
+
}, z.core.$strip>;
|
|
395
|
+
declare const menuItemPriceOverrideSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
396
|
+
type: z.ZodLiteral<"ITEM">;
|
|
397
|
+
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
398
|
+
inModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
399
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
400
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
401
|
+
fromModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
402
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
403
|
+
id: z.ZodString;
|
|
404
|
+
price: z.ZodString;
|
|
405
|
+
referenceItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
406
|
+
suspended: z.ZodBoolean;
|
|
407
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
408
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
409
|
+
price: z.ZodString;
|
|
410
|
+
}, z.core.$strip>>;
|
|
411
|
+
createdAt: z.ZodString;
|
|
412
|
+
updatedAt: z.ZodString;
|
|
413
|
+
}, z.core.$strip>>;
|
|
414
|
+
type MenuItemPriceOverride = z.infer<typeof menuItemPriceOverrideSchema>;
|
|
415
|
+
declare const menuItemPriceOverrideDetailsSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
416
|
+
type: z.ZodLiteral<"ITEM">;
|
|
417
|
+
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
418
|
+
inModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
419
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
420
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
421
|
+
fromModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
422
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
423
|
+
id: z.ZodString;
|
|
424
|
+
price: z.ZodString;
|
|
425
|
+
referenceItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
426
|
+
suspended: z.ZodBoolean;
|
|
427
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
428
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
429
|
+
price: z.ZodString;
|
|
430
|
+
}, z.core.$strip>>;
|
|
431
|
+
createdAt: z.ZodString;
|
|
432
|
+
updatedAt: z.ZodString;
|
|
433
|
+
}, z.core.$strip>>;
|
|
434
|
+
type MenuItemPriceOverrideDetails = z.infer<typeof menuItemPriceOverrideDetailsSchema>;
|
|
435
|
+
declare const writableMenuItemPriceOverrideSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
436
|
+
type: z.ZodLiteral<"ITEM">;
|
|
437
|
+
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
438
|
+
inModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
439
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
440
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
441
|
+
fromModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
442
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
443
|
+
price: z.ZodString;
|
|
444
|
+
referenceItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>;
|
|
445
|
+
suspended: z.ZodBoolean;
|
|
446
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
447
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
448
|
+
price: z.ZodString;
|
|
449
|
+
}, z.core.$strip>>;
|
|
450
|
+
}, z.core.$strip>>;
|
|
451
|
+
declare const writableMenuItemPriceOverridePartialSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
452
|
+
type: z.ZodLiteral<"ITEM">;
|
|
453
|
+
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
454
|
+
inModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
455
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
456
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
457
|
+
fromModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
458
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
459
|
+
price: z.ZodOptional<z.ZodString>;
|
|
460
|
+
referenceItem: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
461
|
+
suspended: z.ZodOptional<z.ZodBoolean>;
|
|
462
|
+
salesPrices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
463
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
464
|
+
price: z.ZodString;
|
|
465
|
+
}, z.core.$strip>>>;
|
|
466
|
+
}, z.core.$strip>>;
|
|
467
|
+
type WritableMenuItemPriceOverride = z.infer<typeof writableMenuItemPriceOverrideSchema>;
|
|
468
|
+
declare const menuItemsQuerySchema: z.ZodObject<{
|
|
469
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>]>>;
|
|
470
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
471
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
472
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
473
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
474
|
+
nameSort: z.ZodOptional<z.ZodString>;
|
|
475
|
+
category: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>>]>>;
|
|
476
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
477
|
+
application: "application";
|
|
478
|
+
ecommerce: "ecommerce";
|
|
479
|
+
deliveroo: "deliveroo";
|
|
480
|
+
justeat: "justeat";
|
|
481
|
+
glovo: "glovo";
|
|
482
|
+
tilby: "tilby";
|
|
483
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
484
|
+
elephant: "elephant";
|
|
485
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
486
|
+
application: "application";
|
|
487
|
+
ecommerce: "ecommerce";
|
|
488
|
+
deliveroo: "deliveroo";
|
|
489
|
+
justeat: "justeat";
|
|
490
|
+
glovo: "glovo";
|
|
491
|
+
tilby: "tilby";
|
|
492
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
493
|
+
elephant: "elephant";
|
|
494
|
+
}>>]>>;
|
|
495
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
496
|
+
ITEM: "ITEM";
|
|
497
|
+
CHOICE: "CHOICE";
|
|
498
|
+
BUNDLE: "BUNDLE";
|
|
499
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
500
|
+
ITEM: "ITEM";
|
|
501
|
+
CHOICE: "CHOICE";
|
|
502
|
+
BUNDLE: "BUNDLE";
|
|
503
|
+
}>>]>>;
|
|
504
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
505
|
+
'tags.match': z.ZodOptional<z.ZodEnum<{
|
|
506
|
+
all: "all";
|
|
507
|
+
any: "any";
|
|
508
|
+
}>>;
|
|
509
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
510
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
511
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
512
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
513
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
514
|
+
'order[nameSort]': z.ZodOptional<z.ZodEnum<{
|
|
515
|
+
asc: "asc";
|
|
516
|
+
desc: "desc";
|
|
517
|
+
}>>;
|
|
518
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
519
|
+
asc: "asc";
|
|
520
|
+
desc: "desc";
|
|
521
|
+
}>>;
|
|
522
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
523
|
+
asc: "asc";
|
|
524
|
+
desc: "desc";
|
|
525
|
+
}>>;
|
|
526
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
527
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
528
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
529
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
530
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
531
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
532
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
533
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
534
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
535
|
+
}, z.core.$strip>;
|
|
536
|
+
type MenuItemsQueryParams = z.infer<typeof menuItemsQuerySchema>;
|
|
537
|
+
declare const menuItemCategoriesQuerySchema: z.ZodObject<{
|
|
538
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>>]>>;
|
|
539
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
540
|
+
nameSort: z.ZodOptional<z.ZodString>;
|
|
541
|
+
'order[nameSort]': z.ZodOptional<z.ZodEnum<{
|
|
542
|
+
asc: "asc";
|
|
543
|
+
desc: "desc";
|
|
544
|
+
}>>;
|
|
545
|
+
'order[sorting]': z.ZodOptional<z.ZodEnum<{
|
|
546
|
+
asc: "asc";
|
|
547
|
+
desc: "desc";
|
|
548
|
+
}>>;
|
|
549
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
550
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
551
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
552
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
553
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
554
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
555
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
556
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
557
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
558
|
+
}, z.core.$strip>;
|
|
559
|
+
type MenuItemCategoriesQueryParams = z.infer<typeof menuItemCategoriesQuerySchema>;
|
|
560
|
+
declare const menuItemModifiersQuerySchema: z.ZodObject<{
|
|
561
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown>>>]>>;
|
|
562
|
+
targetItemType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
563
|
+
ITEM: "ITEM";
|
|
564
|
+
BUNDLE: "BUNDLE";
|
|
565
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
566
|
+
ITEM: "ITEM";
|
|
567
|
+
BUNDLE: "BUNDLE";
|
|
568
|
+
}>>]>>;
|
|
569
|
+
scope: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
570
|
+
global: "global";
|
|
571
|
+
category: "category";
|
|
572
|
+
item: "item";
|
|
573
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
574
|
+
global: "global";
|
|
575
|
+
category: "category";
|
|
576
|
+
item: "item";
|
|
577
|
+
}>>]>>;
|
|
578
|
+
category: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>>]>>;
|
|
579
|
+
referenceItem: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>]>>;
|
|
580
|
+
repeatable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
581
|
+
'minSelection[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
582
|
+
'minSelection[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
583
|
+
'minSelection[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
584
|
+
'minSelection[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
585
|
+
'minSelection[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
586
|
+
'maxSelection[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
587
|
+
'maxSelection[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
588
|
+
'maxSelection[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
589
|
+
'maxSelection[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
590
|
+
'maxSelection[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
591
|
+
'order[sorting]': z.ZodOptional<z.ZodEnum<{
|
|
592
|
+
asc: "asc";
|
|
593
|
+
desc: "desc";
|
|
594
|
+
}>>;
|
|
595
|
+
'order[nameSort]': z.ZodOptional<z.ZodEnum<{
|
|
596
|
+
asc: "asc";
|
|
597
|
+
desc: "desc";
|
|
598
|
+
}>>;
|
|
599
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
600
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
601
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
602
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
603
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
604
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
605
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
606
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
607
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
608
|
+
}, z.core.$strip>;
|
|
609
|
+
type MenuItemModifiersQueryParams = z.infer<typeof menuItemModifiersQuerySchema>;
|
|
610
|
+
declare const menuItemPriceOverridesQuerySchema: z.ZodObject<{
|
|
611
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>]>>;
|
|
612
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
613
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
614
|
+
ITEM: "ITEM";
|
|
615
|
+
MODIFIER: "MODIFIER";
|
|
616
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
617
|
+
ITEM: "ITEM";
|
|
618
|
+
MODIFIER: "MODIFIER";
|
|
619
|
+
}>>]>>;
|
|
620
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
621
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
622
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
623
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
624
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
625
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
626
|
+
asc: "asc";
|
|
627
|
+
desc: "desc";
|
|
628
|
+
}>>;
|
|
629
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
630
|
+
asc: "asc";
|
|
631
|
+
desc: "desc";
|
|
632
|
+
}>>;
|
|
633
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
634
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
635
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
636
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
637
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
638
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
639
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
640
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
641
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
642
|
+
}, z.core.$strip>;
|
|
643
|
+
type MenuItemPriceOverridesQueryParams = z.infer<typeof menuItemPriceOverridesQuerySchema>;
|
|
644
|
+
declare const menuPriceDtoSchema: z.ZodObject<{
|
|
645
|
+
salesModeId: z.ZodNullable<z.ZodUUID>;
|
|
646
|
+
salesModeName: z.ZodNullable<z.ZodString>;
|
|
647
|
+
price: z.ZodString;
|
|
648
|
+
}, z.core.$strict>;
|
|
649
|
+
type MenuPriceDto = z.infer<typeof menuPriceDtoSchema>;
|
|
650
|
+
declare const menuPriceOverrideDtoSchema: z.ZodObject<{
|
|
651
|
+
id: z.ZodUUID;
|
|
652
|
+
type: z.ZodEnum<{
|
|
653
|
+
ITEM: "ITEM";
|
|
654
|
+
MODIFIER: "MODIFIER";
|
|
655
|
+
}>;
|
|
656
|
+
prices: z.ZodArray<z.ZodObject<{
|
|
657
|
+
salesModeId: z.ZodNullable<z.ZodUUID>;
|
|
658
|
+
salesModeName: z.ZodNullable<z.ZodString>;
|
|
659
|
+
price: z.ZodString;
|
|
660
|
+
}, z.core.$strict>>;
|
|
661
|
+
suspended: z.ZodBoolean;
|
|
662
|
+
referenceItem: z.ZodUUID;
|
|
663
|
+
}, z.core.$strict>;
|
|
664
|
+
type MenuPriceOverrideDto = z.infer<typeof menuPriceOverrideDtoSchema>;
|
|
665
|
+
declare const menuCategoryDtoSchema: z.ZodObject<{
|
|
666
|
+
id: z.ZodUUID;
|
|
667
|
+
name: z.ZodArray<z.ZodObject<{
|
|
668
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
669
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
670
|
+
}, z.core.$strip>>;
|
|
671
|
+
description: z.ZodArray<z.ZodObject<{
|
|
672
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
673
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
674
|
+
}, z.core.$strip>>;
|
|
675
|
+
items: z.ZodArray<z.ZodUUID>;
|
|
676
|
+
}, z.core.$strict>;
|
|
677
|
+
type MenuCategoryDto = z.infer<typeof menuCategoryDtoSchema>;
|
|
678
|
+
declare const menuItemDtoSchema: z.ZodObject<{
|
|
679
|
+
id: z.ZodUUID;
|
|
680
|
+
type: z.ZodEnum<{
|
|
681
|
+
ITEM: "ITEM";
|
|
682
|
+
CHOICE: "CHOICE";
|
|
683
|
+
BUNDLE: "BUNDLE";
|
|
684
|
+
}>;
|
|
685
|
+
category: z.ZodNullable<z.ZodUUID>;
|
|
686
|
+
name: z.ZodArray<z.ZodObject<{
|
|
687
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
688
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
689
|
+
}, z.core.$strip>>;
|
|
690
|
+
description: z.ZodArray<z.ZodObject<{
|
|
691
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
692
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
693
|
+
}, z.core.$strip>>;
|
|
694
|
+
allergens: z.ZodArray<z.ZodEnum<{
|
|
695
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
696
|
+
crustaceans: "crustaceans";
|
|
697
|
+
nuts: "nuts";
|
|
698
|
+
gluten: "gluten";
|
|
699
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
700
|
+
lupins: "lupins";
|
|
701
|
+
molluscs: "molluscs";
|
|
702
|
+
mustard: "mustard";
|
|
703
|
+
fish: "fish";
|
|
704
|
+
celery: "celery";
|
|
705
|
+
sesame: "sesame";
|
|
706
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
707
|
+
soy: "soy";
|
|
708
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
709
|
+
mushrooms: "mushrooms";
|
|
710
|
+
}>>;
|
|
711
|
+
diets: z.ZodArray<z.ZodEnum<{
|
|
712
|
+
vegan: "vegan";
|
|
713
|
+
vegetarian: "vegetarian";
|
|
714
|
+
"gluten-free": "gluten-free";
|
|
715
|
+
"dairy-free": "dairy-free";
|
|
716
|
+
}>>;
|
|
717
|
+
prices: z.ZodArray<z.ZodObject<{
|
|
718
|
+
salesModeId: z.ZodNullable<z.ZodUUID>;
|
|
719
|
+
salesModeName: z.ZodNullable<z.ZodString>;
|
|
720
|
+
price: z.ZodString;
|
|
721
|
+
}, z.core.$strict>>;
|
|
722
|
+
containsAlcohol: z.ZodBoolean;
|
|
723
|
+
soldIndividually: z.ZodBoolean;
|
|
724
|
+
suspended: z.ZodBoolean;
|
|
725
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
726
|
+
id: z.ZodUUID;
|
|
727
|
+
type: z.ZodEnum<{
|
|
728
|
+
ITEM: "ITEM";
|
|
729
|
+
MODIFIER: "MODIFIER";
|
|
730
|
+
}>;
|
|
731
|
+
prices: z.ZodArray<z.ZodObject<{
|
|
732
|
+
salesModeId: z.ZodNullable<z.ZodUUID>;
|
|
733
|
+
salesModeName: z.ZodNullable<z.ZodString>;
|
|
734
|
+
price: z.ZodString;
|
|
735
|
+
}, z.core.$strict>>;
|
|
736
|
+
suspended: z.ZodBoolean;
|
|
737
|
+
referenceItem: z.ZodUUID;
|
|
738
|
+
}, z.core.$strict>>;
|
|
739
|
+
modifiers: z.ZodArray<z.ZodUUID>;
|
|
740
|
+
compositions: z.ZodArray<z.ZodUUID>;
|
|
741
|
+
}, z.core.$strict>;
|
|
742
|
+
type MenuItemDto = z.infer<typeof menuItemDtoSchema>;
|
|
743
|
+
declare const menuModifierDtoSchema: z.ZodObject<{
|
|
744
|
+
id: z.ZodUUID;
|
|
745
|
+
name: z.ZodArray<z.ZodObject<{
|
|
746
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
747
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
748
|
+
}, z.core.$strip>>;
|
|
749
|
+
description: z.ZodArray<z.ZodObject<{
|
|
750
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
751
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
752
|
+
}, z.core.$strip>>;
|
|
753
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
754
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
755
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
756
|
+
repeatable: z.ZodBoolean;
|
|
757
|
+
choices: z.ZodArray<z.ZodUUID>;
|
|
758
|
+
priceOverrides: z.ZodArray<z.ZodObject<{
|
|
759
|
+
id: z.ZodUUID;
|
|
760
|
+
type: z.ZodEnum<{
|
|
761
|
+
ITEM: "ITEM";
|
|
762
|
+
MODIFIER: "MODIFIER";
|
|
763
|
+
}>;
|
|
764
|
+
prices: z.ZodArray<z.ZodObject<{
|
|
765
|
+
salesModeId: z.ZodNullable<z.ZodUUID>;
|
|
766
|
+
salesModeName: z.ZodNullable<z.ZodString>;
|
|
767
|
+
price: z.ZodString;
|
|
768
|
+
}, z.core.$strict>>;
|
|
769
|
+
suspended: z.ZodBoolean;
|
|
770
|
+
referenceItem: z.ZodUUID;
|
|
771
|
+
}, z.core.$strict>>;
|
|
772
|
+
variantOverrides: z.ZodArray<z.ZodObject<{
|
|
773
|
+
id: z.ZodUUID;
|
|
774
|
+
type: z.ZodEnum<{
|
|
775
|
+
ITEM: "ITEM";
|
|
776
|
+
MODIFIER: "MODIFIER";
|
|
777
|
+
}>;
|
|
778
|
+
prices: z.ZodArray<z.ZodObject<{
|
|
779
|
+
salesModeId: z.ZodNullable<z.ZodUUID>;
|
|
780
|
+
salesModeName: z.ZodNullable<z.ZodString>;
|
|
781
|
+
price: z.ZodString;
|
|
782
|
+
}, z.core.$strict>>;
|
|
783
|
+
suspended: z.ZodBoolean;
|
|
784
|
+
referenceItem: z.ZodUUID;
|
|
785
|
+
}, z.core.$strict>>;
|
|
786
|
+
}, z.core.$strict>;
|
|
787
|
+
type MenuModifierDto = z.infer<typeof menuModifierDtoSchema>;
|
|
788
|
+
declare const menuDtoSchema: z.ZodObject<{
|
|
789
|
+
categories: z.ZodArray<z.ZodObject<{
|
|
790
|
+
id: z.ZodUUID;
|
|
791
|
+
name: z.ZodArray<z.ZodObject<{
|
|
792
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
793
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
794
|
+
}, z.core.$strip>>;
|
|
795
|
+
description: z.ZodArray<z.ZodObject<{
|
|
796
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
797
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
798
|
+
}, z.core.$strip>>;
|
|
799
|
+
items: z.ZodArray<z.ZodUUID>;
|
|
800
|
+
}, z.core.$strict>>;
|
|
801
|
+
items: z.ZodArray<z.ZodObject<{
|
|
802
|
+
id: z.ZodUUID;
|
|
803
|
+
type: z.ZodEnum<{
|
|
804
|
+
ITEM: "ITEM";
|
|
805
|
+
CHOICE: "CHOICE";
|
|
806
|
+
BUNDLE: "BUNDLE";
|
|
807
|
+
}>;
|
|
808
|
+
category: z.ZodNullable<z.ZodUUID>;
|
|
809
|
+
name: z.ZodArray<z.ZodObject<{
|
|
810
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
811
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
812
|
+
}, z.core.$strip>>;
|
|
813
|
+
description: z.ZodArray<z.ZodObject<{
|
|
814
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
815
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
816
|
+
}, z.core.$strip>>;
|
|
817
|
+
allergens: z.ZodArray<z.ZodEnum<{
|
|
818
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
819
|
+
crustaceans: "crustaceans";
|
|
820
|
+
nuts: "nuts";
|
|
821
|
+
gluten: "gluten";
|
|
822
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
823
|
+
lupins: "lupins";
|
|
824
|
+
molluscs: "molluscs";
|
|
825
|
+
mustard: "mustard";
|
|
826
|
+
fish: "fish";
|
|
827
|
+
celery: "celery";
|
|
828
|
+
sesame: "sesame";
|
|
829
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
830
|
+
soy: "soy";
|
|
831
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
832
|
+
mushrooms: "mushrooms";
|
|
833
|
+
}>>;
|
|
834
|
+
diets: z.ZodArray<z.ZodEnum<{
|
|
835
|
+
vegan: "vegan";
|
|
836
|
+
vegetarian: "vegetarian";
|
|
837
|
+
"gluten-free": "gluten-free";
|
|
838
|
+
"dairy-free": "dairy-free";
|
|
839
|
+
}>>;
|
|
840
|
+
prices: z.ZodArray<z.ZodObject<{
|
|
841
|
+
salesModeId: z.ZodNullable<z.ZodUUID>;
|
|
842
|
+
salesModeName: z.ZodNullable<z.ZodString>;
|
|
843
|
+
price: z.ZodString;
|
|
844
|
+
}, z.core.$strict>>;
|
|
845
|
+
containsAlcohol: z.ZodBoolean;
|
|
846
|
+
soldIndividually: z.ZodBoolean;
|
|
847
|
+
suspended: z.ZodBoolean;
|
|
848
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
849
|
+
id: z.ZodUUID;
|
|
850
|
+
type: z.ZodEnum<{
|
|
851
|
+
ITEM: "ITEM";
|
|
852
|
+
MODIFIER: "MODIFIER";
|
|
853
|
+
}>;
|
|
854
|
+
prices: z.ZodArray<z.ZodObject<{
|
|
855
|
+
salesModeId: z.ZodNullable<z.ZodUUID>;
|
|
856
|
+
salesModeName: z.ZodNullable<z.ZodString>;
|
|
857
|
+
price: z.ZodString;
|
|
858
|
+
}, z.core.$strict>>;
|
|
859
|
+
suspended: z.ZodBoolean;
|
|
860
|
+
referenceItem: z.ZodUUID;
|
|
861
|
+
}, z.core.$strict>>;
|
|
862
|
+
modifiers: z.ZodArray<z.ZodUUID>;
|
|
863
|
+
compositions: z.ZodArray<z.ZodUUID>;
|
|
864
|
+
}, z.core.$strict>>;
|
|
865
|
+
modifiers: z.ZodArray<z.ZodObject<{
|
|
866
|
+
id: z.ZodUUID;
|
|
867
|
+
name: z.ZodArray<z.ZodObject<{
|
|
868
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
869
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
870
|
+
}, z.core.$strip>>;
|
|
871
|
+
description: z.ZodArray<z.ZodObject<{
|
|
872
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
873
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
874
|
+
}, z.core.$strip>>;
|
|
875
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
876
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
877
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
878
|
+
repeatable: z.ZodBoolean;
|
|
879
|
+
choices: z.ZodArray<z.ZodUUID>;
|
|
880
|
+
priceOverrides: z.ZodArray<z.ZodObject<{
|
|
881
|
+
id: z.ZodUUID;
|
|
882
|
+
type: z.ZodEnum<{
|
|
883
|
+
ITEM: "ITEM";
|
|
884
|
+
MODIFIER: "MODIFIER";
|
|
885
|
+
}>;
|
|
886
|
+
prices: z.ZodArray<z.ZodObject<{
|
|
887
|
+
salesModeId: z.ZodNullable<z.ZodUUID>;
|
|
888
|
+
salesModeName: z.ZodNullable<z.ZodString>;
|
|
889
|
+
price: z.ZodString;
|
|
890
|
+
}, z.core.$strict>>;
|
|
891
|
+
suspended: z.ZodBoolean;
|
|
892
|
+
referenceItem: z.ZodUUID;
|
|
893
|
+
}, z.core.$strict>>;
|
|
894
|
+
variantOverrides: z.ZodArray<z.ZodObject<{
|
|
895
|
+
id: z.ZodUUID;
|
|
896
|
+
type: z.ZodEnum<{
|
|
897
|
+
ITEM: "ITEM";
|
|
898
|
+
MODIFIER: "MODIFIER";
|
|
899
|
+
}>;
|
|
900
|
+
prices: z.ZodArray<z.ZodObject<{
|
|
901
|
+
salesModeId: z.ZodNullable<z.ZodUUID>;
|
|
902
|
+
salesModeName: z.ZodNullable<z.ZodString>;
|
|
903
|
+
price: z.ZodString;
|
|
904
|
+
}, z.core.$strict>>;
|
|
905
|
+
suspended: z.ZodBoolean;
|
|
906
|
+
referenceItem: z.ZodUUID;
|
|
907
|
+
}, z.core.$strict>>;
|
|
908
|
+
}, z.core.$strict>>;
|
|
909
|
+
}, z.core.$strict>;
|
|
910
|
+
type MenuDto = z.infer<typeof menuDtoSchema>;
|
|
911
|
+
|
|
912
|
+
declare const createMenuItemCategoryInputSchema: z.ZodObject<{
|
|
913
|
+
name: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
914
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
915
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
916
|
+
}, z.core.$strip>>>;
|
|
917
|
+
description: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
918
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
919
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
920
|
+
}, z.core.$strip>>>;
|
|
921
|
+
suspended: z.ZodNonOptional<z.ZodBoolean>;
|
|
922
|
+
sorting: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
923
|
+
pointOfSale: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>>;
|
|
924
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>>>;
|
|
925
|
+
}, z.core.$strip>;
|
|
926
|
+
type CreateMenuItemCategoryInput = z.input<typeof createMenuItemCategoryInputSchema>;
|
|
927
|
+
declare const createMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
928
|
+
id: z.ZodString;
|
|
929
|
+
name: z.ZodArray<z.ZodObject<{
|
|
930
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
931
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
932
|
+
}, z.core.$strip>>;
|
|
933
|
+
description: z.ZodArray<z.ZodObject<{
|
|
934
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
935
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
936
|
+
}, z.core.$strip>>;
|
|
937
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
938
|
+
suspended: z.ZodBoolean;
|
|
939
|
+
images: z.ZodArray<z.ZodObject<{
|
|
940
|
+
id: z.ZodString;
|
|
941
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
942
|
+
contentUrl: z.ZodURL;
|
|
943
|
+
filePath: z.ZodString;
|
|
944
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
945
|
+
createdAt: z.ZodString;
|
|
946
|
+
updatedAt: z.ZodString;
|
|
947
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
948
|
+
id: z.ZodString;
|
|
949
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
950
|
+
contentUrl: z.ZodURL;
|
|
951
|
+
filePath: z.ZodString;
|
|
952
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
953
|
+
createdAt: z.ZodString;
|
|
954
|
+
updatedAt: z.ZodString;
|
|
955
|
+
}, z.core.$strip>>>;
|
|
956
|
+
}, z.core.$strip>>;
|
|
957
|
+
createdAt: z.ZodString;
|
|
958
|
+
updatedAt: z.ZodString;
|
|
959
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
960
|
+
items: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>>;
|
|
961
|
+
modifiers: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown>>>>;
|
|
962
|
+
}, z.core.$strip>;
|
|
963
|
+
type CreateMenuItemCategoryResponse = z.output<typeof createMenuItemCategoryResponseSchema>;
|
|
964
|
+
declare class CreateMenuItemCategory extends AbstractApiRequest<typeof createMenuItemCategoryInputSchema, typeof createMenuItemCategoryResponseSchema> {
|
|
965
|
+
readonly method = "POST";
|
|
966
|
+
readonly contentType = "application/json";
|
|
967
|
+
readonly accept = "application/json";
|
|
968
|
+
readonly inputSchema: z.ZodObject<{
|
|
969
|
+
name: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
970
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
971
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
972
|
+
}, z.core.$strip>>>;
|
|
973
|
+
description: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
974
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
975
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
976
|
+
}, z.core.$strip>>>;
|
|
977
|
+
suspended: z.ZodNonOptional<z.ZodBoolean>;
|
|
978
|
+
sorting: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
979
|
+
pointOfSale: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>>;
|
|
980
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>>>;
|
|
981
|
+
}, z.core.$strip>;
|
|
982
|
+
readonly outputSchema: z.ZodObject<{
|
|
983
|
+
id: z.ZodString;
|
|
984
|
+
name: z.ZodArray<z.ZodObject<{
|
|
985
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
986
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
987
|
+
}, z.core.$strip>>;
|
|
988
|
+
description: z.ZodArray<z.ZodObject<{
|
|
989
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
990
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
991
|
+
}, z.core.$strip>>;
|
|
992
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
993
|
+
suspended: z.ZodBoolean;
|
|
994
|
+
images: z.ZodArray<z.ZodObject<{
|
|
995
|
+
id: z.ZodString;
|
|
996
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
997
|
+
contentUrl: z.ZodURL;
|
|
998
|
+
filePath: z.ZodString;
|
|
999
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1000
|
+
createdAt: z.ZodString;
|
|
1001
|
+
updatedAt: z.ZodString;
|
|
1002
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1003
|
+
id: z.ZodString;
|
|
1004
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
1005
|
+
contentUrl: z.ZodURL;
|
|
1006
|
+
filePath: z.ZodString;
|
|
1007
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1008
|
+
createdAt: z.ZodString;
|
|
1009
|
+
updatedAt: z.ZodString;
|
|
1010
|
+
}, z.core.$strip>>>;
|
|
1011
|
+
}, z.core.$strip>>;
|
|
1012
|
+
createdAt: z.ZodString;
|
|
1013
|
+
updatedAt: z.ZodString;
|
|
1014
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
1015
|
+
items: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>>;
|
|
1016
|
+
modifiers: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown>>>>;
|
|
1017
|
+
}, z.core.$strip>;
|
|
1018
|
+
readonly querySchema: undefined;
|
|
1019
|
+
readonly headersSchema: undefined;
|
|
1020
|
+
constructor(input: CreateMenuItemCategoryInput);
|
|
1021
|
+
getPath(): string;
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
declare const deleteMenuItemCategoryInputSchema: z.ZodUndefined;
|
|
1025
|
+
declare const deleteMenuItemCategoryResponseSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
|
|
1026
|
+
declare class DeleteMenuItemCategory extends AbstractApiRequest<typeof deleteMenuItemCategoryInputSchema, typeof deleteMenuItemCategoryResponseSchema> {
|
|
1027
|
+
readonly method = "DELETE";
|
|
1028
|
+
readonly contentType = "application/json";
|
|
1029
|
+
readonly accept = "application/json";
|
|
1030
|
+
readonly inputSchema: z.ZodUndefined;
|
|
1031
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
|
|
1032
|
+
readonly querySchema: undefined;
|
|
1033
|
+
readonly headersSchema: undefined;
|
|
1034
|
+
private readonly menuItemCategoryId;
|
|
1035
|
+
constructor(menuItemCategoryId: string);
|
|
1036
|
+
getPath(): string;
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
declare const getMenuItemCategoriesQuerySchema: z.ZodObject<{
|
|
1040
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>>]>>;
|
|
1041
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
1042
|
+
nameSort: z.ZodOptional<z.ZodString>;
|
|
1043
|
+
'order[nameSort]': z.ZodOptional<z.ZodEnum<{
|
|
1044
|
+
asc: "asc";
|
|
1045
|
+
desc: "desc";
|
|
1046
|
+
}>>;
|
|
1047
|
+
'order[sorting]': z.ZodOptional<z.ZodEnum<{
|
|
1048
|
+
asc: "asc";
|
|
1049
|
+
desc: "desc";
|
|
1050
|
+
}>>;
|
|
1051
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1052
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
1053
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1054
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
1055
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1056
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
1057
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1058
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
1059
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1060
|
+
}, z.core.$strip>;
|
|
1061
|
+
type GetMenuItemCategoriesQueryParams = z.infer<typeof getMenuItemCategoriesQuerySchema>;
|
|
1062
|
+
declare const getMenuItemCategoriesInputSchema: z.ZodUndefined;
|
|
1063
|
+
type GetMenuItemCategoriesInput = z.input<typeof getMenuItemCategoriesInputSchema>;
|
|
1064
|
+
declare const getMenuItemCategoriesResponseSchema: z.ZodObject<{
|
|
1065
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1066
|
+
id: z.ZodString;
|
|
1067
|
+
name: z.ZodArray<z.ZodObject<{
|
|
1068
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1069
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1070
|
+
}, z.core.$strip>>;
|
|
1071
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1072
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1073
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1074
|
+
}, z.core.$strip>>;
|
|
1075
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1076
|
+
suspended: z.ZodBoolean;
|
|
1077
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1078
|
+
id: z.ZodString;
|
|
1079
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
1080
|
+
contentUrl: z.ZodURL;
|
|
1081
|
+
filePath: z.ZodString;
|
|
1082
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1083
|
+
createdAt: z.ZodString;
|
|
1084
|
+
updatedAt: z.ZodString;
|
|
1085
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1086
|
+
id: z.ZodString;
|
|
1087
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
1088
|
+
contentUrl: z.ZodURL;
|
|
1089
|
+
filePath: z.ZodString;
|
|
1090
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1091
|
+
createdAt: z.ZodString;
|
|
1092
|
+
updatedAt: z.ZodString;
|
|
1093
|
+
}, z.core.$strip>>>;
|
|
1094
|
+
}, z.core.$strip>>;
|
|
1095
|
+
createdAt: z.ZodString;
|
|
1096
|
+
updatedAt: z.ZodString;
|
|
1097
|
+
}, z.core.$strip>>;
|
|
1098
|
+
pagination: z.ZodObject<{
|
|
1099
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
1100
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
1101
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
1102
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
1103
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1104
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1105
|
+
}, z.core.$strip>;
|
|
1106
|
+
}, z.core.$strip>;
|
|
1107
|
+
type GetMenuItemCategoriesResponse = z.infer<typeof getMenuItemCategoriesResponseSchema>;
|
|
1108
|
+
declare class GetMenuItemCategories extends AbstractApiRequest<typeof getMenuItemCategoriesInputSchema, typeof getMenuItemCategoriesResponseSchema, GetMenuItemCategoriesQueryParams> {
|
|
1109
|
+
readonly method: "GET";
|
|
1110
|
+
readonly contentType: "application/json";
|
|
1111
|
+
readonly accept: "application/json";
|
|
1112
|
+
readonly inputSchema: z.ZodUndefined;
|
|
1113
|
+
readonly outputSchema: z.ZodObject<{
|
|
1114
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1115
|
+
id: z.ZodString;
|
|
1116
|
+
name: z.ZodArray<z.ZodObject<{
|
|
1117
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1118
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1119
|
+
}, z.core.$strip>>;
|
|
1120
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1121
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1122
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1123
|
+
}, z.core.$strip>>;
|
|
1124
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1125
|
+
suspended: z.ZodBoolean;
|
|
1126
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1127
|
+
id: z.ZodString;
|
|
1128
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
1129
|
+
contentUrl: z.ZodURL;
|
|
1130
|
+
filePath: z.ZodString;
|
|
1131
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1132
|
+
createdAt: z.ZodString;
|
|
1133
|
+
updatedAt: z.ZodString;
|
|
1134
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1135
|
+
id: z.ZodString;
|
|
1136
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
1137
|
+
contentUrl: z.ZodURL;
|
|
1138
|
+
filePath: z.ZodString;
|
|
1139
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1140
|
+
createdAt: z.ZodString;
|
|
1141
|
+
updatedAt: z.ZodString;
|
|
1142
|
+
}, z.core.$strip>>>;
|
|
1143
|
+
}, z.core.$strip>>;
|
|
1144
|
+
createdAt: z.ZodString;
|
|
1145
|
+
updatedAt: z.ZodString;
|
|
1146
|
+
}, z.core.$strip>>;
|
|
1147
|
+
pagination: z.ZodObject<{
|
|
1148
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
1149
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
1150
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
1151
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
1152
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1153
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1154
|
+
}, z.core.$strip>;
|
|
1155
|
+
}, z.core.$strip>;
|
|
1156
|
+
readonly querySchema: z.ZodObject<{
|
|
1157
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>>]>>;
|
|
1158
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
1159
|
+
nameSort: z.ZodOptional<z.ZodString>;
|
|
1160
|
+
'order[nameSort]': z.ZodOptional<z.ZodEnum<{
|
|
1161
|
+
asc: "asc";
|
|
1162
|
+
desc: "desc";
|
|
1163
|
+
}>>;
|
|
1164
|
+
'order[sorting]': z.ZodOptional<z.ZodEnum<{
|
|
1165
|
+
asc: "asc";
|
|
1166
|
+
desc: "desc";
|
|
1167
|
+
}>>;
|
|
1168
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1169
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
1170
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1171
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
1172
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1173
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
1174
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1175
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
1176
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1177
|
+
}, z.core.$strip>;
|
|
1178
|
+
readonly headersSchema: undefined;
|
|
1179
|
+
readonly listItemSchema: z.ZodObject<{
|
|
1180
|
+
id: z.ZodString;
|
|
1181
|
+
name: z.ZodArray<z.ZodObject<{
|
|
1182
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1183
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1184
|
+
}, z.core.$strip>>;
|
|
1185
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1186
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1187
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1188
|
+
}, z.core.$strip>>;
|
|
1189
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1190
|
+
suspended: z.ZodBoolean;
|
|
1191
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1192
|
+
id: z.ZodString;
|
|
1193
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
1194
|
+
contentUrl: z.ZodURL;
|
|
1195
|
+
filePath: z.ZodString;
|
|
1196
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1197
|
+
createdAt: z.ZodString;
|
|
1198
|
+
updatedAt: z.ZodString;
|
|
1199
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1200
|
+
id: z.ZodString;
|
|
1201
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
1202
|
+
contentUrl: z.ZodURL;
|
|
1203
|
+
filePath: z.ZodString;
|
|
1204
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1205
|
+
createdAt: z.ZodString;
|
|
1206
|
+
updatedAt: z.ZodString;
|
|
1207
|
+
}, z.core.$strip>>>;
|
|
1208
|
+
}, z.core.$strip>>;
|
|
1209
|
+
createdAt: z.ZodString;
|
|
1210
|
+
updatedAt: z.ZodString;
|
|
1211
|
+
}, z.core.$strip>;
|
|
1212
|
+
readonly paginationDefaultEnabled = true;
|
|
1213
|
+
constructor(options?: {
|
|
1214
|
+
query?: GetMenuItemCategoriesQueryParams;
|
|
1215
|
+
});
|
|
1216
|
+
getPath(): string;
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
declare const getMenuItemCategoriesFromPointOfSaleQuerySchema: z.ZodObject<{
|
|
1220
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>>]>>;
|
|
1221
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
1222
|
+
nameSort: z.ZodOptional<z.ZodString>;
|
|
1223
|
+
'order[nameSort]': z.ZodOptional<z.ZodEnum<{
|
|
1224
|
+
asc: "asc";
|
|
1225
|
+
desc: "desc";
|
|
1226
|
+
}>>;
|
|
1227
|
+
'order[sorting]': z.ZodOptional<z.ZodEnum<{
|
|
1228
|
+
asc: "asc";
|
|
1229
|
+
desc: "desc";
|
|
1230
|
+
}>>;
|
|
1231
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1232
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
1233
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1234
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
1235
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1236
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
1237
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1238
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
1239
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1240
|
+
}, z.core.$strip>;
|
|
1241
|
+
type GetMenuItemCategoriesFromPointOfSaleQueryParams = z.infer<typeof getMenuItemCategoriesFromPointOfSaleQuerySchema>;
|
|
1242
|
+
declare const getMenuItemCategoriesFromPointOfSaleInputSchema: z.ZodUndefined;
|
|
1243
|
+
type GetMenuItemCategoriesFromPointOfSaleInput = z.input<typeof getMenuItemCategoriesFromPointOfSaleInputSchema>;
|
|
1244
|
+
declare const getMenuItemCategoriesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
1245
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1246
|
+
id: z.ZodString;
|
|
1247
|
+
name: z.ZodArray<z.ZodObject<{
|
|
1248
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1249
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1250
|
+
}, z.core.$strip>>;
|
|
1251
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1252
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1253
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1254
|
+
}, z.core.$strip>>;
|
|
1255
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1256
|
+
suspended: z.ZodBoolean;
|
|
1257
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1258
|
+
id: z.ZodString;
|
|
1259
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
1260
|
+
contentUrl: z.ZodURL;
|
|
1261
|
+
filePath: z.ZodString;
|
|
1262
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1263
|
+
createdAt: z.ZodString;
|
|
1264
|
+
updatedAt: z.ZodString;
|
|
1265
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1266
|
+
id: z.ZodString;
|
|
1267
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
1268
|
+
contentUrl: z.ZodURL;
|
|
1269
|
+
filePath: z.ZodString;
|
|
1270
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1271
|
+
createdAt: z.ZodString;
|
|
1272
|
+
updatedAt: z.ZodString;
|
|
1273
|
+
}, z.core.$strip>>>;
|
|
1274
|
+
}, z.core.$strip>>;
|
|
1275
|
+
createdAt: z.ZodString;
|
|
1276
|
+
updatedAt: z.ZodString;
|
|
1277
|
+
}, z.core.$strip>>;
|
|
1278
|
+
pagination: z.ZodObject<{
|
|
1279
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
1280
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
1281
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
1282
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
1283
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1284
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1285
|
+
}, z.core.$strip>;
|
|
1286
|
+
}, z.core.$strip>;
|
|
1287
|
+
type GetMenuItemCategoriesFromPointOfSaleResponse = z.infer<typeof getMenuItemCategoriesFromPointOfSaleResponseSchema>;
|
|
1288
|
+
declare class GetMenuItemCategoriesFromPointOfSale extends AbstractApiRequest<typeof getMenuItemCategoriesFromPointOfSaleInputSchema, typeof getMenuItemCategoriesFromPointOfSaleResponseSchema, GetMenuItemCategoriesFromPointOfSaleQueryParams> {
|
|
1289
|
+
readonly method: "GET";
|
|
1290
|
+
readonly contentType: "application/json";
|
|
1291
|
+
readonly accept: "application/json";
|
|
1292
|
+
readonly inputSchema: z.ZodUndefined;
|
|
1293
|
+
readonly outputSchema: z.ZodObject<{
|
|
1294
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1295
|
+
id: z.ZodString;
|
|
1296
|
+
name: z.ZodArray<z.ZodObject<{
|
|
1297
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1298
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1299
|
+
}, z.core.$strip>>;
|
|
1300
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1301
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1302
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1303
|
+
}, z.core.$strip>>;
|
|
1304
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1305
|
+
suspended: z.ZodBoolean;
|
|
1306
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1307
|
+
id: z.ZodString;
|
|
1308
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
1309
|
+
contentUrl: z.ZodURL;
|
|
1310
|
+
filePath: z.ZodString;
|
|
1311
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1312
|
+
createdAt: z.ZodString;
|
|
1313
|
+
updatedAt: z.ZodString;
|
|
1314
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1315
|
+
id: z.ZodString;
|
|
1316
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
1317
|
+
contentUrl: z.ZodURL;
|
|
1318
|
+
filePath: z.ZodString;
|
|
1319
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1320
|
+
createdAt: z.ZodString;
|
|
1321
|
+
updatedAt: z.ZodString;
|
|
1322
|
+
}, z.core.$strip>>>;
|
|
1323
|
+
}, z.core.$strip>>;
|
|
1324
|
+
createdAt: z.ZodString;
|
|
1325
|
+
updatedAt: z.ZodString;
|
|
1326
|
+
}, z.core.$strip>>;
|
|
1327
|
+
pagination: z.ZodObject<{
|
|
1328
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
1329
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
1330
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
1331
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
1332
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1333
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1334
|
+
}, z.core.$strip>;
|
|
1335
|
+
}, z.core.$strip>;
|
|
1336
|
+
readonly querySchema: z.ZodObject<{
|
|
1337
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>>]>>;
|
|
1338
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
1339
|
+
nameSort: z.ZodOptional<z.ZodString>;
|
|
1340
|
+
'order[nameSort]': z.ZodOptional<z.ZodEnum<{
|
|
1341
|
+
asc: "asc";
|
|
1342
|
+
desc: "desc";
|
|
1343
|
+
}>>;
|
|
1344
|
+
'order[sorting]': z.ZodOptional<z.ZodEnum<{
|
|
1345
|
+
asc: "asc";
|
|
1346
|
+
desc: "desc";
|
|
1347
|
+
}>>;
|
|
1348
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1349
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
1350
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1351
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
1352
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1353
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
1354
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1355
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
1356
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1357
|
+
}, z.core.$strip>;
|
|
1358
|
+
readonly headersSchema: undefined;
|
|
1359
|
+
readonly listItemSchema: z.ZodObject<{
|
|
1360
|
+
id: z.ZodString;
|
|
1361
|
+
name: z.ZodArray<z.ZodObject<{
|
|
1362
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1363
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1364
|
+
}, z.core.$strip>>;
|
|
1365
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1366
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1367
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1368
|
+
}, z.core.$strip>>;
|
|
1369
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1370
|
+
suspended: z.ZodBoolean;
|
|
1371
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1372
|
+
id: z.ZodString;
|
|
1373
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
1374
|
+
contentUrl: z.ZodURL;
|
|
1375
|
+
filePath: z.ZodString;
|
|
1376
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1377
|
+
createdAt: z.ZodString;
|
|
1378
|
+
updatedAt: z.ZodString;
|
|
1379
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1380
|
+
id: z.ZodString;
|
|
1381
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
1382
|
+
contentUrl: z.ZodURL;
|
|
1383
|
+
filePath: z.ZodString;
|
|
1384
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1385
|
+
createdAt: z.ZodString;
|
|
1386
|
+
updatedAt: z.ZodString;
|
|
1387
|
+
}, z.core.$strip>>>;
|
|
1388
|
+
}, z.core.$strip>>;
|
|
1389
|
+
createdAt: z.ZodString;
|
|
1390
|
+
updatedAt: z.ZodString;
|
|
1391
|
+
}, z.core.$strip>;
|
|
1392
|
+
readonly paginationDefaultEnabled = true;
|
|
1393
|
+
private readonly pointOfSaleId;
|
|
1394
|
+
constructor(pointOfSaleId: string, options?: {
|
|
1395
|
+
query?: GetMenuItemCategoriesFromPointOfSaleQueryParams;
|
|
1396
|
+
});
|
|
1397
|
+
getPath(): string;
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
declare const getMenuItemCategoryDetailsInputSchema: z.ZodUndefined;
|
|
1401
|
+
type GetMenuItemCategoryDetailsInput = z.infer<typeof getMenuItemCategoryDetailsInputSchema>;
|
|
1402
|
+
declare const getMenuItemCategoryDetailsResponseSchema: z.ZodObject<{
|
|
1403
|
+
id: z.ZodString;
|
|
1404
|
+
name: z.ZodArray<z.ZodObject<{
|
|
1405
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1406
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1407
|
+
}, z.core.$strip>>;
|
|
1408
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1409
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1410
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1411
|
+
}, z.core.$strip>>;
|
|
1412
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1413
|
+
suspended: z.ZodBoolean;
|
|
1414
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1415
|
+
id: z.ZodString;
|
|
1416
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
1417
|
+
contentUrl: z.ZodURL;
|
|
1418
|
+
filePath: z.ZodString;
|
|
1419
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1420
|
+
createdAt: z.ZodString;
|
|
1421
|
+
updatedAt: z.ZodString;
|
|
1422
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1423
|
+
id: z.ZodString;
|
|
1424
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
1425
|
+
contentUrl: z.ZodURL;
|
|
1426
|
+
filePath: z.ZodString;
|
|
1427
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1428
|
+
createdAt: z.ZodString;
|
|
1429
|
+
updatedAt: z.ZodString;
|
|
1430
|
+
}, z.core.$strip>>>;
|
|
1431
|
+
}, z.core.$strip>>;
|
|
1432
|
+
createdAt: z.ZodString;
|
|
1433
|
+
updatedAt: z.ZodString;
|
|
1434
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
1435
|
+
items: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>>;
|
|
1436
|
+
modifiers: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown>>>>;
|
|
1437
|
+
}, z.core.$strip>;
|
|
1438
|
+
type GetMenuItemCategoryDetailsResponse = z.infer<typeof getMenuItemCategoryDetailsResponseSchema>;
|
|
1439
|
+
declare class GetMenuItemCategoryDetails extends AbstractApiRequest<typeof getMenuItemCategoryDetailsInputSchema, typeof getMenuItemCategoryDetailsResponseSchema> {
|
|
1440
|
+
readonly method = "GET";
|
|
1441
|
+
readonly contentType = "application/json";
|
|
1442
|
+
readonly accept = "application/json";
|
|
1443
|
+
readonly inputSchema: z.ZodUndefined;
|
|
1444
|
+
readonly outputSchema: z.ZodObject<{
|
|
1445
|
+
id: z.ZodString;
|
|
1446
|
+
name: z.ZodArray<z.ZodObject<{
|
|
1447
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1448
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1449
|
+
}, z.core.$strip>>;
|
|
1450
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1451
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1452
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1453
|
+
}, z.core.$strip>>;
|
|
1454
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1455
|
+
suspended: z.ZodBoolean;
|
|
1456
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1457
|
+
id: z.ZodString;
|
|
1458
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
1459
|
+
contentUrl: z.ZodURL;
|
|
1460
|
+
filePath: z.ZodString;
|
|
1461
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1462
|
+
createdAt: z.ZodString;
|
|
1463
|
+
updatedAt: z.ZodString;
|
|
1464
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1465
|
+
id: z.ZodString;
|
|
1466
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
1467
|
+
contentUrl: z.ZodURL;
|
|
1468
|
+
filePath: z.ZodString;
|
|
1469
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1470
|
+
createdAt: z.ZodString;
|
|
1471
|
+
updatedAt: z.ZodString;
|
|
1472
|
+
}, z.core.$strip>>>;
|
|
1473
|
+
}, z.core.$strip>>;
|
|
1474
|
+
createdAt: z.ZodString;
|
|
1475
|
+
updatedAt: z.ZodString;
|
|
1476
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
1477
|
+
items: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>>;
|
|
1478
|
+
modifiers: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown>>>>;
|
|
1479
|
+
}, z.core.$strip>;
|
|
1480
|
+
readonly querySchema: undefined;
|
|
1481
|
+
readonly headersSchema: undefined;
|
|
1482
|
+
private readonly menuItemCategoryId;
|
|
1483
|
+
constructor(menuItemCategoryId: string);
|
|
1484
|
+
getPath(): string;
|
|
1485
|
+
}
|
|
1486
|
+
|
|
1487
|
+
declare const updateMenuItemCategoryInputSchema: z.ZodObject<{
|
|
1488
|
+
name: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1489
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1490
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1491
|
+
}, z.core.$strip>>>;
|
|
1492
|
+
description: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1493
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1494
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1495
|
+
}, z.core.$strip>>>;
|
|
1496
|
+
suspended: z.ZodOptional<z.ZodBoolean>;
|
|
1497
|
+
images: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>>>>;
|
|
1498
|
+
sorting: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1499
|
+
}, z.core.$strip>;
|
|
1500
|
+
type UpdateMenuItemCategoryInput = z.input<typeof updateMenuItemCategoryInputSchema>;
|
|
1501
|
+
declare const updateMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
1502
|
+
id: z.ZodString;
|
|
1503
|
+
name: z.ZodArray<z.ZodObject<{
|
|
1504
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1505
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1506
|
+
}, z.core.$strip>>;
|
|
1507
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1508
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1509
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1510
|
+
}, z.core.$strip>>;
|
|
1511
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1512
|
+
suspended: z.ZodBoolean;
|
|
1513
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1514
|
+
id: z.ZodString;
|
|
1515
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
1516
|
+
contentUrl: z.ZodURL;
|
|
1517
|
+
filePath: z.ZodString;
|
|
1518
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1519
|
+
createdAt: z.ZodString;
|
|
1520
|
+
updatedAt: z.ZodString;
|
|
1521
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1522
|
+
id: z.ZodString;
|
|
1523
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
1524
|
+
contentUrl: z.ZodURL;
|
|
1525
|
+
filePath: z.ZodString;
|
|
1526
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1527
|
+
createdAt: z.ZodString;
|
|
1528
|
+
updatedAt: z.ZodString;
|
|
1529
|
+
}, z.core.$strip>>>;
|
|
1530
|
+
}, z.core.$strip>>;
|
|
1531
|
+
createdAt: z.ZodString;
|
|
1532
|
+
updatedAt: z.ZodString;
|
|
1533
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
1534
|
+
items: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>>;
|
|
1535
|
+
modifiers: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown>>>>;
|
|
1536
|
+
}, z.core.$strip>;
|
|
1537
|
+
type UpdateMenuItemCategoryResponse = z.infer<typeof updateMenuItemCategoryResponseSchema>;
|
|
1538
|
+
declare class UpdateMenuItemCategory extends AbstractApiRequest<typeof updateMenuItemCategoryInputSchema, typeof updateMenuItemCategoryResponseSchema> {
|
|
1539
|
+
readonly method = "PATCH";
|
|
1540
|
+
readonly contentType = "application/merge-patch+json";
|
|
1541
|
+
readonly accept = "application/json";
|
|
1542
|
+
readonly inputSchema: z.ZodObject<{
|
|
1543
|
+
name: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1544
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1545
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1546
|
+
}, z.core.$strip>>>;
|
|
1547
|
+
description: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1548
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1549
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1550
|
+
}, z.core.$strip>>>;
|
|
1551
|
+
suspended: z.ZodOptional<z.ZodBoolean>;
|
|
1552
|
+
images: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>>>>;
|
|
1553
|
+
sorting: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1554
|
+
}, z.core.$strip>;
|
|
1555
|
+
readonly outputSchema: z.ZodObject<{
|
|
1556
|
+
id: z.ZodString;
|
|
1557
|
+
name: z.ZodArray<z.ZodObject<{
|
|
1558
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1559
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1560
|
+
}, z.core.$strip>>;
|
|
1561
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1562
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1563
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1564
|
+
}, z.core.$strip>>;
|
|
1565
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1566
|
+
suspended: z.ZodBoolean;
|
|
1567
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1568
|
+
id: z.ZodString;
|
|
1569
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
1570
|
+
contentUrl: z.ZodURL;
|
|
1571
|
+
filePath: z.ZodString;
|
|
1572
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1573
|
+
createdAt: z.ZodString;
|
|
1574
|
+
updatedAt: z.ZodString;
|
|
1575
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1576
|
+
id: z.ZodString;
|
|
1577
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
1578
|
+
contentUrl: z.ZodURL;
|
|
1579
|
+
filePath: z.ZodString;
|
|
1580
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1581
|
+
createdAt: z.ZodString;
|
|
1582
|
+
updatedAt: z.ZodString;
|
|
1583
|
+
}, z.core.$strip>>>;
|
|
1584
|
+
}, z.core.$strip>>;
|
|
1585
|
+
createdAt: z.ZodString;
|
|
1586
|
+
updatedAt: z.ZodString;
|
|
1587
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
1588
|
+
items: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>>;
|
|
1589
|
+
modifiers: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown>>>>;
|
|
1590
|
+
}, z.core.$strip>;
|
|
1591
|
+
readonly querySchema: undefined;
|
|
1592
|
+
readonly headersSchema: undefined;
|
|
1593
|
+
private readonly menuItemCategoryId;
|
|
1594
|
+
constructor(menuItemCategoryId: string, input: UpdateMenuItemCategoryInput);
|
|
1595
|
+
getPath(): string;
|
|
1596
|
+
}
|
|
1597
|
+
|
|
1598
|
+
declare const createMenuItemModifierInputSchema: z.ZodObject<{
|
|
1599
|
+
category: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>>>>;
|
|
1600
|
+
name: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
1601
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1602
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1603
|
+
}, z.core.$strip>>>;
|
|
1604
|
+
description: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
1605
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1606
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1607
|
+
}, z.core.$strip>>>;
|
|
1608
|
+
sorting: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
1609
|
+
targetItemType: z.ZodNonOptional<z.ZodEnum<{
|
|
1610
|
+
ITEM: "ITEM";
|
|
1611
|
+
BUNDLE: "BUNDLE";
|
|
1612
|
+
}>>;
|
|
1613
|
+
scope: z.ZodNonOptional<z.ZodEnum<{
|
|
1614
|
+
global: "global";
|
|
1615
|
+
category: "category";
|
|
1616
|
+
item: "item";
|
|
1617
|
+
}>>;
|
|
1618
|
+
minSelection: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
1619
|
+
maxSelection: z.ZodNonOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
1620
|
+
repeatable: z.ZodNonOptional<z.ZodBoolean>;
|
|
1621
|
+
choices: z.ZodNonOptional<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>>;
|
|
1622
|
+
pointOfSale: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>>;
|
|
1623
|
+
items: z.ZodOptional<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>>;
|
|
1624
|
+
referenceItem: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>>>>;
|
|
1625
|
+
}, z.core.$strip>;
|
|
1626
|
+
type CreateMenuItemModifierInput = z.input<typeof createMenuItemModifierInputSchema>;
|
|
1627
|
+
declare const createMenuItemModifierResponseSchema: z.ZodObject<{
|
|
1628
|
+
id: z.ZodString;
|
|
1629
|
+
targetItemType: z.ZodEnum<{
|
|
1630
|
+
ITEM: "ITEM";
|
|
1631
|
+
BUNDLE: "BUNDLE";
|
|
1632
|
+
}>;
|
|
1633
|
+
scope: z.ZodEnum<{
|
|
1634
|
+
global: "global";
|
|
1635
|
+
category: "category";
|
|
1636
|
+
item: "item";
|
|
1637
|
+
}>;
|
|
1638
|
+
category: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>>>;
|
|
1639
|
+
referenceItem: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>>>;
|
|
1640
|
+
name: z.ZodArray<z.ZodObject<{
|
|
1641
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1642
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1643
|
+
}, z.core.$strip>>;
|
|
1644
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1645
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1646
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1647
|
+
}, z.core.$strip>>;
|
|
1648
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1649
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
1650
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1651
|
+
repeatable: z.ZodBoolean;
|
|
1652
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1653
|
+
choices: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1654
|
+
priceOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
1655
|
+
variantOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
1656
|
+
createdAt: z.ZodString;
|
|
1657
|
+
updatedAt: z.ZodString;
|
|
1658
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
1659
|
+
}, z.core.$strip>;
|
|
1660
|
+
type CreateMenuItemModifierResponse = z.output<typeof createMenuItemModifierResponseSchema>;
|
|
1661
|
+
declare class CreateMenuItemModifier extends AbstractApiRequest<typeof createMenuItemModifierInputSchema, typeof createMenuItemModifierResponseSchema> {
|
|
1662
|
+
readonly method = "POST";
|
|
1663
|
+
readonly contentType = "application/json";
|
|
1664
|
+
readonly accept = "application/json";
|
|
1665
|
+
readonly inputSchema: z.ZodObject<{
|
|
1666
|
+
category: z.ZodNonOptional<z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>>>>;
|
|
1667
|
+
name: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
1668
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1669
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1670
|
+
}, z.core.$strip>>>;
|
|
1671
|
+
description: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
1672
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1673
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1674
|
+
}, z.core.$strip>>>;
|
|
1675
|
+
sorting: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
1676
|
+
targetItemType: z.ZodNonOptional<z.ZodEnum<{
|
|
1677
|
+
ITEM: "ITEM";
|
|
1678
|
+
BUNDLE: "BUNDLE";
|
|
1679
|
+
}>>;
|
|
1680
|
+
scope: z.ZodNonOptional<z.ZodEnum<{
|
|
1681
|
+
global: "global";
|
|
1682
|
+
category: "category";
|
|
1683
|
+
item: "item";
|
|
1684
|
+
}>>;
|
|
1685
|
+
minSelection: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
1686
|
+
maxSelection: z.ZodNonOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
1687
|
+
repeatable: z.ZodNonOptional<z.ZodBoolean>;
|
|
1688
|
+
choices: z.ZodNonOptional<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>>;
|
|
1689
|
+
pointOfSale: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>>;
|
|
1690
|
+
items: z.ZodOptional<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>>;
|
|
1691
|
+
referenceItem: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>>>>;
|
|
1692
|
+
}, z.core.$strip>;
|
|
1693
|
+
readonly outputSchema: z.ZodObject<{
|
|
1694
|
+
id: z.ZodString;
|
|
1695
|
+
targetItemType: z.ZodEnum<{
|
|
1696
|
+
ITEM: "ITEM";
|
|
1697
|
+
BUNDLE: "BUNDLE";
|
|
1698
|
+
}>;
|
|
1699
|
+
scope: z.ZodEnum<{
|
|
1700
|
+
global: "global";
|
|
1701
|
+
category: "category";
|
|
1702
|
+
item: "item";
|
|
1703
|
+
}>;
|
|
1704
|
+
category: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>>>;
|
|
1705
|
+
referenceItem: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>>>;
|
|
1706
|
+
name: z.ZodArray<z.ZodObject<{
|
|
1707
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1708
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1709
|
+
}, z.core.$strip>>;
|
|
1710
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1711
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1712
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1713
|
+
}, z.core.$strip>>;
|
|
1714
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1715
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
1716
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1717
|
+
repeatable: z.ZodBoolean;
|
|
1718
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1719
|
+
choices: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1720
|
+
priceOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
1721
|
+
variantOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
1722
|
+
createdAt: z.ZodString;
|
|
1723
|
+
updatedAt: z.ZodString;
|
|
1724
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
1725
|
+
}, z.core.$strip>;
|
|
1726
|
+
readonly querySchema: undefined;
|
|
1727
|
+
readonly headersSchema: undefined;
|
|
1728
|
+
constructor(input: CreateMenuItemModifierInput);
|
|
1729
|
+
getPath(): string;
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
declare const deleteMenuItemModifierInputSchema: z.ZodUndefined;
|
|
1733
|
+
declare const deleteMenuItemModifierResponseSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
|
|
1734
|
+
declare class DeleteMenuItemModifier extends AbstractApiRequest<typeof deleteMenuItemModifierInputSchema, typeof deleteMenuItemModifierResponseSchema> {
|
|
1735
|
+
readonly method = "DELETE";
|
|
1736
|
+
readonly contentType = "application/json";
|
|
1737
|
+
readonly accept = "application/json";
|
|
1738
|
+
readonly inputSchema: z.ZodUndefined;
|
|
1739
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
|
|
1740
|
+
readonly querySchema: undefined;
|
|
1741
|
+
readonly headersSchema: undefined;
|
|
1742
|
+
private readonly menuItemModifierId;
|
|
1743
|
+
constructor(menuItemModifierId: string);
|
|
1744
|
+
getPath(): string;
|
|
1745
|
+
}
|
|
1746
|
+
|
|
1747
|
+
declare const getMenuItemModifierDetailsInputSchema: z.ZodUndefined;
|
|
1748
|
+
type GetMenuItemModifierDetailsInput = z.infer<typeof getMenuItemModifierDetailsInputSchema>;
|
|
1749
|
+
declare const getMenuItemModifierDetailsResponseSchema: z.ZodObject<{
|
|
1750
|
+
id: z.ZodString;
|
|
1751
|
+
targetItemType: z.ZodEnum<{
|
|
1752
|
+
ITEM: "ITEM";
|
|
1753
|
+
BUNDLE: "BUNDLE";
|
|
1754
|
+
}>;
|
|
1755
|
+
scope: z.ZodEnum<{
|
|
1756
|
+
global: "global";
|
|
1757
|
+
category: "category";
|
|
1758
|
+
item: "item";
|
|
1759
|
+
}>;
|
|
1760
|
+
category: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>>>;
|
|
1761
|
+
referenceItem: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>>>;
|
|
1762
|
+
name: z.ZodArray<z.ZodObject<{
|
|
1763
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1764
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1765
|
+
}, z.core.$strip>>;
|
|
1766
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1767
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1768
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1769
|
+
}, z.core.$strip>>;
|
|
1770
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1771
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
1772
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1773
|
+
repeatable: z.ZodBoolean;
|
|
1774
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1775
|
+
choices: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1776
|
+
priceOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
1777
|
+
variantOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
1778
|
+
createdAt: z.ZodString;
|
|
1779
|
+
updatedAt: z.ZodString;
|
|
1780
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
1781
|
+
}, z.core.$strip>;
|
|
1782
|
+
type GetMenuItemModifierDetailsResponse = z.infer<typeof getMenuItemModifierDetailsResponseSchema>;
|
|
1783
|
+
declare class GetMenuItemModifierDetails extends AbstractApiRequest<typeof getMenuItemModifierDetailsInputSchema, typeof getMenuItemModifierDetailsResponseSchema> {
|
|
1784
|
+
readonly method = "GET";
|
|
1785
|
+
readonly contentType = "application/json";
|
|
1786
|
+
readonly accept = "application/json";
|
|
1787
|
+
readonly inputSchema: z.ZodUndefined;
|
|
1788
|
+
readonly outputSchema: z.ZodObject<{
|
|
1789
|
+
id: z.ZodString;
|
|
1790
|
+
targetItemType: z.ZodEnum<{
|
|
1791
|
+
ITEM: "ITEM";
|
|
1792
|
+
BUNDLE: "BUNDLE";
|
|
1793
|
+
}>;
|
|
1794
|
+
scope: z.ZodEnum<{
|
|
1795
|
+
global: "global";
|
|
1796
|
+
category: "category";
|
|
1797
|
+
item: "item";
|
|
1798
|
+
}>;
|
|
1799
|
+
category: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>>>;
|
|
1800
|
+
referenceItem: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>>>;
|
|
1801
|
+
name: z.ZodArray<z.ZodObject<{
|
|
1802
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1803
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1804
|
+
}, z.core.$strip>>;
|
|
1805
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1806
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1807
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1808
|
+
}, z.core.$strip>>;
|
|
1809
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1810
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
1811
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1812
|
+
repeatable: z.ZodBoolean;
|
|
1813
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1814
|
+
choices: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1815
|
+
priceOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
1816
|
+
variantOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
1817
|
+
createdAt: z.ZodString;
|
|
1818
|
+
updatedAt: z.ZodString;
|
|
1819
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
1820
|
+
}, z.core.$strip>;
|
|
1821
|
+
readonly querySchema: undefined;
|
|
1822
|
+
readonly headersSchema: undefined;
|
|
1823
|
+
private readonly menuItemModifierId;
|
|
1824
|
+
constructor(menuItemModifierId: string);
|
|
1825
|
+
getPath(): string;
|
|
1826
|
+
}
|
|
1827
|
+
|
|
1828
|
+
declare const getMenuItemModifiersQuerySchema: z.ZodObject<{
|
|
1829
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown>>>]>>;
|
|
1830
|
+
targetItemType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1831
|
+
ITEM: "ITEM";
|
|
1832
|
+
BUNDLE: "BUNDLE";
|
|
1833
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
1834
|
+
ITEM: "ITEM";
|
|
1835
|
+
BUNDLE: "BUNDLE";
|
|
1836
|
+
}>>]>>;
|
|
1837
|
+
scope: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1838
|
+
global: "global";
|
|
1839
|
+
category: "category";
|
|
1840
|
+
item: "item";
|
|
1841
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
1842
|
+
global: "global";
|
|
1843
|
+
category: "category";
|
|
1844
|
+
item: "item";
|
|
1845
|
+
}>>]>>;
|
|
1846
|
+
category: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>>]>>;
|
|
1847
|
+
referenceItem: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>]>>;
|
|
1848
|
+
repeatable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
1849
|
+
'minSelection[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1850
|
+
'minSelection[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1851
|
+
'minSelection[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1852
|
+
'minSelection[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1853
|
+
'minSelection[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1854
|
+
'maxSelection[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1855
|
+
'maxSelection[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1856
|
+
'maxSelection[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1857
|
+
'maxSelection[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1858
|
+
'maxSelection[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1859
|
+
'order[sorting]': z.ZodOptional<z.ZodEnum<{
|
|
1860
|
+
asc: "asc";
|
|
1861
|
+
desc: "desc";
|
|
1862
|
+
}>>;
|
|
1863
|
+
'order[nameSort]': z.ZodOptional<z.ZodEnum<{
|
|
1864
|
+
asc: "asc";
|
|
1865
|
+
desc: "desc";
|
|
1866
|
+
}>>;
|
|
1867
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1868
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
1869
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1870
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
1871
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1872
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
1873
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1874
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
1875
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1876
|
+
}, z.core.$strip>;
|
|
1877
|
+
type GetMenuItemModifiersQueryParams = z.infer<typeof getMenuItemModifiersQuerySchema>;
|
|
1878
|
+
declare const getMenuItemModifiersInputSchema: z.ZodUndefined;
|
|
1879
|
+
type GetMenuItemModifiersInput = z.input<typeof getMenuItemModifiersInputSchema>;
|
|
1880
|
+
declare const getMenuItemModifiersResponseSchema: z.ZodObject<{
|
|
1881
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1882
|
+
id: z.ZodString;
|
|
1883
|
+
targetItemType: z.ZodEnum<{
|
|
1884
|
+
ITEM: "ITEM";
|
|
1885
|
+
BUNDLE: "BUNDLE";
|
|
1886
|
+
}>;
|
|
1887
|
+
scope: z.ZodEnum<{
|
|
1888
|
+
global: "global";
|
|
1889
|
+
category: "category";
|
|
1890
|
+
item: "item";
|
|
1891
|
+
}>;
|
|
1892
|
+
category: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>>>;
|
|
1893
|
+
referenceItem: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>>>;
|
|
1894
|
+
name: z.ZodArray<z.ZodObject<{
|
|
1895
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1896
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1897
|
+
}, z.core.$strip>>;
|
|
1898
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1899
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1900
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1901
|
+
}, z.core.$strip>>;
|
|
1902
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1903
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
1904
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1905
|
+
repeatable: z.ZodBoolean;
|
|
1906
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1907
|
+
choices: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1908
|
+
priceOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
1909
|
+
variantOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
1910
|
+
createdAt: z.ZodString;
|
|
1911
|
+
updatedAt: z.ZodString;
|
|
1912
|
+
}, z.core.$strip>>;
|
|
1913
|
+
pagination: z.ZodObject<{
|
|
1914
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
1915
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
1916
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
1917
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
1918
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1919
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1920
|
+
}, z.core.$strip>;
|
|
1921
|
+
}, z.core.$strip>;
|
|
1922
|
+
type GetMenuItemModifiersResponse = z.infer<typeof getMenuItemModifiersResponseSchema>;
|
|
1923
|
+
declare class GetMenuItemModifiers extends AbstractApiRequest<typeof getMenuItemModifiersInputSchema, typeof getMenuItemModifiersResponseSchema, GetMenuItemModifiersQueryParams> {
|
|
1924
|
+
readonly method: "GET";
|
|
1925
|
+
readonly contentType: "application/json";
|
|
1926
|
+
readonly accept: "application/json";
|
|
1927
|
+
readonly inputSchema: z.ZodUndefined;
|
|
1928
|
+
readonly outputSchema: z.ZodObject<{
|
|
1929
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1930
|
+
id: z.ZodString;
|
|
1931
|
+
targetItemType: z.ZodEnum<{
|
|
1932
|
+
ITEM: "ITEM";
|
|
1933
|
+
BUNDLE: "BUNDLE";
|
|
1934
|
+
}>;
|
|
1935
|
+
scope: z.ZodEnum<{
|
|
1936
|
+
global: "global";
|
|
1937
|
+
category: "category";
|
|
1938
|
+
item: "item";
|
|
1939
|
+
}>;
|
|
1940
|
+
category: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>>>;
|
|
1941
|
+
referenceItem: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>>>;
|
|
1942
|
+
name: z.ZodArray<z.ZodObject<{
|
|
1943
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1944
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1945
|
+
}, z.core.$strip>>;
|
|
1946
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1947
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1948
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1949
|
+
}, z.core.$strip>>;
|
|
1950
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1951
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
1952
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1953
|
+
repeatable: z.ZodBoolean;
|
|
1954
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1955
|
+
choices: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1956
|
+
priceOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
1957
|
+
variantOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
1958
|
+
createdAt: z.ZodString;
|
|
1959
|
+
updatedAt: z.ZodString;
|
|
1960
|
+
}, z.core.$strip>>;
|
|
1961
|
+
pagination: z.ZodObject<{
|
|
1962
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
1963
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
1964
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
1965
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
1966
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1967
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1968
|
+
}, z.core.$strip>;
|
|
1969
|
+
}, z.core.$strip>;
|
|
1970
|
+
readonly querySchema: z.ZodObject<{
|
|
1971
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown>>>]>>;
|
|
1972
|
+
targetItemType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1973
|
+
ITEM: "ITEM";
|
|
1974
|
+
BUNDLE: "BUNDLE";
|
|
1975
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
1976
|
+
ITEM: "ITEM";
|
|
1977
|
+
BUNDLE: "BUNDLE";
|
|
1978
|
+
}>>]>>;
|
|
1979
|
+
scope: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1980
|
+
global: "global";
|
|
1981
|
+
category: "category";
|
|
1982
|
+
item: "item";
|
|
1983
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
1984
|
+
global: "global";
|
|
1985
|
+
category: "category";
|
|
1986
|
+
item: "item";
|
|
1987
|
+
}>>]>>;
|
|
1988
|
+
category: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>>]>>;
|
|
1989
|
+
referenceItem: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>]>>;
|
|
1990
|
+
repeatable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
1991
|
+
'minSelection[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1992
|
+
'minSelection[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1993
|
+
'minSelection[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1994
|
+
'minSelection[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1995
|
+
'minSelection[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1996
|
+
'maxSelection[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1997
|
+
'maxSelection[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1998
|
+
'maxSelection[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1999
|
+
'maxSelection[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2000
|
+
'maxSelection[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2001
|
+
'order[sorting]': z.ZodOptional<z.ZodEnum<{
|
|
2002
|
+
asc: "asc";
|
|
2003
|
+
desc: "desc";
|
|
2004
|
+
}>>;
|
|
2005
|
+
'order[nameSort]': z.ZodOptional<z.ZodEnum<{
|
|
2006
|
+
asc: "asc";
|
|
2007
|
+
desc: "desc";
|
|
2008
|
+
}>>;
|
|
2009
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2010
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
2011
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2012
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
2013
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2014
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
2015
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2016
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
2017
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2018
|
+
}, z.core.$strip>;
|
|
2019
|
+
readonly headersSchema: undefined;
|
|
2020
|
+
readonly listItemSchema: z.ZodObject<{
|
|
2021
|
+
id: z.ZodString;
|
|
2022
|
+
targetItemType: z.ZodEnum<{
|
|
2023
|
+
ITEM: "ITEM";
|
|
2024
|
+
BUNDLE: "BUNDLE";
|
|
2025
|
+
}>;
|
|
2026
|
+
scope: z.ZodEnum<{
|
|
2027
|
+
global: "global";
|
|
2028
|
+
category: "category";
|
|
2029
|
+
item: "item";
|
|
2030
|
+
}>;
|
|
2031
|
+
category: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>>>;
|
|
2032
|
+
referenceItem: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>>>;
|
|
2033
|
+
name: z.ZodArray<z.ZodObject<{
|
|
2034
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
2035
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
2036
|
+
}, z.core.$strip>>;
|
|
2037
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2038
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
2039
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
2040
|
+
}, z.core.$strip>>;
|
|
2041
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2042
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
2043
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
2044
|
+
repeatable: z.ZodBoolean;
|
|
2045
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
2046
|
+
choices: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
2047
|
+
priceOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
2048
|
+
variantOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
2049
|
+
createdAt: z.ZodString;
|
|
2050
|
+
updatedAt: z.ZodString;
|
|
2051
|
+
}, z.core.$strip>;
|
|
2052
|
+
readonly paginationDefaultEnabled = true;
|
|
2053
|
+
constructor(options?: {
|
|
2054
|
+
query?: GetMenuItemModifiersQueryParams;
|
|
2055
|
+
});
|
|
2056
|
+
getPath(): string;
|
|
2057
|
+
}
|
|
2058
|
+
|
|
2059
|
+
declare const getMenuItemModifiersFromPointOfSaleQuerySchema: z.ZodObject<{
|
|
2060
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown>>>]>>;
|
|
2061
|
+
targetItemType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2062
|
+
ITEM: "ITEM";
|
|
2063
|
+
BUNDLE: "BUNDLE";
|
|
2064
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
2065
|
+
ITEM: "ITEM";
|
|
2066
|
+
BUNDLE: "BUNDLE";
|
|
2067
|
+
}>>]>>;
|
|
2068
|
+
scope: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2069
|
+
global: "global";
|
|
2070
|
+
category: "category";
|
|
2071
|
+
item: "item";
|
|
2072
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
2073
|
+
global: "global";
|
|
2074
|
+
category: "category";
|
|
2075
|
+
item: "item";
|
|
2076
|
+
}>>]>>;
|
|
2077
|
+
category: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>>]>>;
|
|
2078
|
+
referenceItem: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>]>>;
|
|
2079
|
+
repeatable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
2080
|
+
'minSelection[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2081
|
+
'minSelection[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2082
|
+
'minSelection[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2083
|
+
'minSelection[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2084
|
+
'minSelection[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2085
|
+
'maxSelection[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2086
|
+
'maxSelection[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2087
|
+
'maxSelection[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2088
|
+
'maxSelection[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2089
|
+
'maxSelection[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2090
|
+
'order[sorting]': z.ZodOptional<z.ZodEnum<{
|
|
2091
|
+
asc: "asc";
|
|
2092
|
+
desc: "desc";
|
|
2093
|
+
}>>;
|
|
2094
|
+
'order[nameSort]': z.ZodOptional<z.ZodEnum<{
|
|
2095
|
+
asc: "asc";
|
|
2096
|
+
desc: "desc";
|
|
2097
|
+
}>>;
|
|
2098
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2099
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
2100
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2101
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
2102
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2103
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
2104
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2105
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
2106
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2107
|
+
}, z.core.$strip>;
|
|
2108
|
+
type GetMenuItemModifiersFromPointOfSaleQueryParams = z.infer<typeof getMenuItemModifiersFromPointOfSaleQuerySchema>;
|
|
2109
|
+
declare const getMenuItemModifiersFromPointOfSaleInputSchema: z.ZodUndefined;
|
|
2110
|
+
type GetMenuItemModifiersFromPointOfSaleInput = z.input<typeof getMenuItemModifiersFromPointOfSaleInputSchema>;
|
|
2111
|
+
declare const getMenuItemModifiersFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
2112
|
+
data: z.ZodArray<z.ZodObject<{
|
|
2113
|
+
id: z.ZodString;
|
|
2114
|
+
targetItemType: z.ZodEnum<{
|
|
2115
|
+
ITEM: "ITEM";
|
|
2116
|
+
BUNDLE: "BUNDLE";
|
|
2117
|
+
}>;
|
|
2118
|
+
scope: z.ZodEnum<{
|
|
2119
|
+
global: "global";
|
|
2120
|
+
category: "category";
|
|
2121
|
+
item: "item";
|
|
2122
|
+
}>;
|
|
2123
|
+
category: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>>>;
|
|
2124
|
+
referenceItem: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>>>;
|
|
2125
|
+
name: z.ZodArray<z.ZodObject<{
|
|
2126
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
2127
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
2128
|
+
}, z.core.$strip>>;
|
|
2129
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2130
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
2131
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
2132
|
+
}, z.core.$strip>>;
|
|
2133
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2134
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
2135
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
2136
|
+
repeatable: z.ZodBoolean;
|
|
2137
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
2138
|
+
choices: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
2139
|
+
priceOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
2140
|
+
variantOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
2141
|
+
createdAt: z.ZodString;
|
|
2142
|
+
updatedAt: z.ZodString;
|
|
2143
|
+
}, z.core.$strip>>;
|
|
2144
|
+
pagination: z.ZodObject<{
|
|
2145
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
2146
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
2147
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
2148
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
2149
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2150
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2151
|
+
}, z.core.$strip>;
|
|
2152
|
+
}, z.core.$strip>;
|
|
2153
|
+
type GetMenuItemModifiersFromPointOfSaleResponse = z.infer<typeof getMenuItemModifiersFromPointOfSaleResponseSchema>;
|
|
2154
|
+
declare class GetMenuItemModifiersFromPointOfSale extends AbstractApiRequest<typeof getMenuItemModifiersFromPointOfSaleInputSchema, typeof getMenuItemModifiersFromPointOfSaleResponseSchema, GetMenuItemModifiersFromPointOfSaleQueryParams> {
|
|
2155
|
+
readonly method: "GET";
|
|
2156
|
+
readonly contentType: "application/json";
|
|
2157
|
+
readonly accept: "application/json";
|
|
2158
|
+
readonly inputSchema: z.ZodUndefined;
|
|
2159
|
+
readonly outputSchema: z.ZodObject<{
|
|
2160
|
+
data: z.ZodArray<z.ZodObject<{
|
|
2161
|
+
id: z.ZodString;
|
|
2162
|
+
targetItemType: z.ZodEnum<{
|
|
2163
|
+
ITEM: "ITEM";
|
|
2164
|
+
BUNDLE: "BUNDLE";
|
|
2165
|
+
}>;
|
|
2166
|
+
scope: z.ZodEnum<{
|
|
2167
|
+
global: "global";
|
|
2168
|
+
category: "category";
|
|
2169
|
+
item: "item";
|
|
2170
|
+
}>;
|
|
2171
|
+
category: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>>>;
|
|
2172
|
+
referenceItem: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>>>;
|
|
2173
|
+
name: z.ZodArray<z.ZodObject<{
|
|
2174
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
2175
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
2176
|
+
}, z.core.$strip>>;
|
|
2177
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2178
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
2179
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
2180
|
+
}, z.core.$strip>>;
|
|
2181
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2182
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
2183
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
2184
|
+
repeatable: z.ZodBoolean;
|
|
2185
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
2186
|
+
choices: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
2187
|
+
priceOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
2188
|
+
variantOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
2189
|
+
createdAt: z.ZodString;
|
|
2190
|
+
updatedAt: z.ZodString;
|
|
2191
|
+
}, z.core.$strip>>;
|
|
2192
|
+
pagination: z.ZodObject<{
|
|
2193
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
2194
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
2195
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
2196
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
2197
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2198
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2199
|
+
}, z.core.$strip>;
|
|
2200
|
+
}, z.core.$strip>;
|
|
2201
|
+
readonly querySchema: z.ZodObject<{
|
|
2202
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown>>>]>>;
|
|
2203
|
+
targetItemType: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2204
|
+
ITEM: "ITEM";
|
|
2205
|
+
BUNDLE: "BUNDLE";
|
|
2206
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
2207
|
+
ITEM: "ITEM";
|
|
2208
|
+
BUNDLE: "BUNDLE";
|
|
2209
|
+
}>>]>>;
|
|
2210
|
+
scope: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2211
|
+
global: "global";
|
|
2212
|
+
category: "category";
|
|
2213
|
+
item: "item";
|
|
2214
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
2215
|
+
global: "global";
|
|
2216
|
+
category: "category";
|
|
2217
|
+
item: "item";
|
|
2218
|
+
}>>]>>;
|
|
2219
|
+
category: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>>]>>;
|
|
2220
|
+
referenceItem: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>]>>;
|
|
2221
|
+
repeatable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
2222
|
+
'minSelection[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2223
|
+
'minSelection[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2224
|
+
'minSelection[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2225
|
+
'minSelection[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2226
|
+
'minSelection[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2227
|
+
'maxSelection[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2228
|
+
'maxSelection[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2229
|
+
'maxSelection[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2230
|
+
'maxSelection[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2231
|
+
'maxSelection[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2232
|
+
'order[sorting]': z.ZodOptional<z.ZodEnum<{
|
|
2233
|
+
asc: "asc";
|
|
2234
|
+
desc: "desc";
|
|
2235
|
+
}>>;
|
|
2236
|
+
'order[nameSort]': z.ZodOptional<z.ZodEnum<{
|
|
2237
|
+
asc: "asc";
|
|
2238
|
+
desc: "desc";
|
|
2239
|
+
}>>;
|
|
2240
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2241
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
2242
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2243
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
2244
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2245
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
2246
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2247
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
2248
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2249
|
+
}, z.core.$strip>;
|
|
2250
|
+
readonly headersSchema: undefined;
|
|
2251
|
+
readonly listItemSchema: z.ZodObject<{
|
|
2252
|
+
id: z.ZodString;
|
|
2253
|
+
targetItemType: z.ZodEnum<{
|
|
2254
|
+
ITEM: "ITEM";
|
|
2255
|
+
BUNDLE: "BUNDLE";
|
|
2256
|
+
}>;
|
|
2257
|
+
scope: z.ZodEnum<{
|
|
2258
|
+
global: "global";
|
|
2259
|
+
category: "category";
|
|
2260
|
+
item: "item";
|
|
2261
|
+
}>;
|
|
2262
|
+
category: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>>>;
|
|
2263
|
+
referenceItem: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>>>;
|
|
2264
|
+
name: z.ZodArray<z.ZodObject<{
|
|
2265
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
2266
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
2267
|
+
}, z.core.$strip>>;
|
|
2268
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2269
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
2270
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
2271
|
+
}, z.core.$strip>>;
|
|
2272
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2273
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
2274
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
2275
|
+
repeatable: z.ZodBoolean;
|
|
2276
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
2277
|
+
choices: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
2278
|
+
priceOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
2279
|
+
variantOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
2280
|
+
createdAt: z.ZodString;
|
|
2281
|
+
updatedAt: z.ZodString;
|
|
2282
|
+
}, z.core.$strip>;
|
|
2283
|
+
readonly paginationDefaultEnabled = true;
|
|
2284
|
+
private readonly pointOfSaleId;
|
|
2285
|
+
constructor(pointOfSaleId: string, options?: {
|
|
2286
|
+
query?: GetMenuItemModifiersFromPointOfSaleQueryParams;
|
|
2287
|
+
});
|
|
2288
|
+
getPath(): string;
|
|
2289
|
+
}
|
|
2290
|
+
|
|
2291
|
+
declare const updateMenuItemModifierInputSchema: z.ZodObject<{
|
|
2292
|
+
name: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2293
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
2294
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
2295
|
+
}, z.core.$strip>>>;
|
|
2296
|
+
description: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2297
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
2298
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
2299
|
+
}, z.core.$strip>>>;
|
|
2300
|
+
sorting: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2301
|
+
items: z.ZodOptional<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>>;
|
|
2302
|
+
minSelection: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2303
|
+
maxSelection: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
2304
|
+
repeatable: z.ZodOptional<z.ZodBoolean>;
|
|
2305
|
+
choices: z.ZodOptional<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>>;
|
|
2306
|
+
}, z.core.$strip>;
|
|
2307
|
+
type UpdateMenuItemModifierInput = z.input<typeof updateMenuItemModifierInputSchema>;
|
|
2308
|
+
declare const updateMenuItemModifierResponseSchema: z.ZodObject<{
|
|
2309
|
+
id: z.ZodString;
|
|
2310
|
+
targetItemType: z.ZodEnum<{
|
|
2311
|
+
ITEM: "ITEM";
|
|
2312
|
+
BUNDLE: "BUNDLE";
|
|
2313
|
+
}>;
|
|
2314
|
+
scope: z.ZodEnum<{
|
|
2315
|
+
global: "global";
|
|
2316
|
+
category: "category";
|
|
2317
|
+
item: "item";
|
|
2318
|
+
}>;
|
|
2319
|
+
category: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>>>;
|
|
2320
|
+
referenceItem: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>>>;
|
|
2321
|
+
name: z.ZodArray<z.ZodObject<{
|
|
2322
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
2323
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
2324
|
+
}, z.core.$strip>>;
|
|
2325
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2326
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
2327
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
2328
|
+
}, z.core.$strip>>;
|
|
2329
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2330
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
2331
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
2332
|
+
repeatable: z.ZodBoolean;
|
|
2333
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
2334
|
+
choices: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
2335
|
+
priceOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
2336
|
+
variantOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
2337
|
+
createdAt: z.ZodString;
|
|
2338
|
+
updatedAt: z.ZodString;
|
|
2339
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2340
|
+
}, z.core.$strip>;
|
|
2341
|
+
type UpdateMenuItemModifierResponse = z.infer<typeof updateMenuItemModifierResponseSchema>;
|
|
2342
|
+
declare class UpdateMenuItemModifier extends AbstractApiRequest<typeof updateMenuItemModifierInputSchema, typeof updateMenuItemModifierResponseSchema> {
|
|
2343
|
+
readonly method = "PATCH";
|
|
2344
|
+
readonly contentType = "application/merge-patch+json";
|
|
2345
|
+
readonly accept = "application/json";
|
|
2346
|
+
readonly inputSchema: z.ZodObject<{
|
|
2347
|
+
name: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2348
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
2349
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
2350
|
+
}, z.core.$strip>>>;
|
|
2351
|
+
description: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2352
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
2353
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
2354
|
+
}, z.core.$strip>>>;
|
|
2355
|
+
sorting: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2356
|
+
items: z.ZodOptional<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>>;
|
|
2357
|
+
minSelection: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2358
|
+
maxSelection: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
2359
|
+
repeatable: z.ZodOptional<z.ZodBoolean>;
|
|
2360
|
+
choices: z.ZodOptional<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>>;
|
|
2361
|
+
}, z.core.$strip>;
|
|
2362
|
+
readonly outputSchema: z.ZodObject<{
|
|
2363
|
+
id: z.ZodString;
|
|
2364
|
+
targetItemType: z.ZodEnum<{
|
|
2365
|
+
ITEM: "ITEM";
|
|
2366
|
+
BUNDLE: "BUNDLE";
|
|
2367
|
+
}>;
|
|
2368
|
+
scope: z.ZodEnum<{
|
|
2369
|
+
global: "global";
|
|
2370
|
+
category: "category";
|
|
2371
|
+
item: "item";
|
|
2372
|
+
}>;
|
|
2373
|
+
category: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>>>;
|
|
2374
|
+
referenceItem: z.ZodNullable<z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>>>;
|
|
2375
|
+
name: z.ZodArray<z.ZodObject<{
|
|
2376
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
2377
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
2378
|
+
}, z.core.$strip>>;
|
|
2379
|
+
description: z.ZodArray<z.ZodObject<{
|
|
2380
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
2381
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
2382
|
+
}, z.core.$strip>>;
|
|
2383
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2384
|
+
minSelection: z.ZodCoercedNumber<unknown>;
|
|
2385
|
+
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
2386
|
+
repeatable: z.ZodBoolean;
|
|
2387
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
2388
|
+
choices: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
2389
|
+
priceOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
2390
|
+
variantOverrides: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>;
|
|
2391
|
+
createdAt: z.ZodString;
|
|
2392
|
+
updatedAt: z.ZodString;
|
|
2393
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2394
|
+
}, z.core.$strip>;
|
|
2395
|
+
readonly querySchema: undefined;
|
|
2396
|
+
readonly headersSchema: undefined;
|
|
2397
|
+
private readonly menuItemModifierId;
|
|
2398
|
+
constructor(menuItemModifierId: string, input: UpdateMenuItemModifierInput);
|
|
2399
|
+
getPath(): string;
|
|
2400
|
+
}
|
|
2401
|
+
|
|
2402
|
+
declare const createMenuItemPriceOverrideInputSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2403
|
+
type: z.ZodLiteral<"ITEM">;
|
|
2404
|
+
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2405
|
+
inModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2406
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2407
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
2408
|
+
fromModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2409
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
2410
|
+
price: z.ZodString;
|
|
2411
|
+
referenceItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>;
|
|
2412
|
+
suspended: z.ZodBoolean;
|
|
2413
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2414
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
2415
|
+
price: z.ZodString;
|
|
2416
|
+
}, z.core.$strip>>;
|
|
2417
|
+
}, z.core.$strip>>;
|
|
2418
|
+
type CreateMenuItemPriceOverrideInput = z.input<typeof createMenuItemPriceOverrideInputSchema>;
|
|
2419
|
+
declare const createMenuItemPriceOverrideResponseSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2420
|
+
type: z.ZodLiteral<"ITEM">;
|
|
2421
|
+
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2422
|
+
inModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2423
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2424
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
2425
|
+
fromModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2426
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
2427
|
+
id: z.ZodString;
|
|
2428
|
+
price: z.ZodString;
|
|
2429
|
+
referenceItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2430
|
+
suspended: z.ZodBoolean;
|
|
2431
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2432
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
2433
|
+
price: z.ZodString;
|
|
2434
|
+
}, z.core.$strip>>;
|
|
2435
|
+
createdAt: z.ZodString;
|
|
2436
|
+
updatedAt: z.ZodString;
|
|
2437
|
+
}, z.core.$strip>>;
|
|
2438
|
+
type CreateMenuItemPriceOverrideResponse = z.output<typeof createMenuItemPriceOverrideResponseSchema>;
|
|
2439
|
+
declare class CreateMenuItemPriceOverride extends AbstractApiRequest<typeof createMenuItemPriceOverrideInputSchema, typeof createMenuItemPriceOverrideResponseSchema> {
|
|
2440
|
+
readonly method = "POST";
|
|
2441
|
+
readonly contentType = "application/json";
|
|
2442
|
+
readonly accept = "application/json";
|
|
2443
|
+
readonly inputSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2444
|
+
type: z.ZodLiteral<"ITEM">;
|
|
2445
|
+
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2446
|
+
inModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2447
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2448
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
2449
|
+
fromModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2450
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
2451
|
+
price: z.ZodString;
|
|
2452
|
+
referenceItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>;
|
|
2453
|
+
suspended: z.ZodBoolean;
|
|
2454
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2455
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
2456
|
+
price: z.ZodString;
|
|
2457
|
+
}, z.core.$strip>>;
|
|
2458
|
+
}, z.core.$strip>>;
|
|
2459
|
+
readonly outputSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2460
|
+
type: z.ZodLiteral<"ITEM">;
|
|
2461
|
+
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2462
|
+
inModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2463
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2464
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
2465
|
+
fromModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2466
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
2467
|
+
id: z.ZodString;
|
|
2468
|
+
price: z.ZodString;
|
|
2469
|
+
referenceItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2470
|
+
suspended: z.ZodBoolean;
|
|
2471
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2472
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
2473
|
+
price: z.ZodString;
|
|
2474
|
+
}, z.core.$strip>>;
|
|
2475
|
+
createdAt: z.ZodString;
|
|
2476
|
+
updatedAt: z.ZodString;
|
|
2477
|
+
}, z.core.$strip>>;
|
|
2478
|
+
readonly querySchema: undefined;
|
|
2479
|
+
readonly headersSchema: undefined;
|
|
2480
|
+
constructor(input: CreateMenuItemPriceOverrideInput);
|
|
2481
|
+
getPath(): string;
|
|
2482
|
+
}
|
|
2483
|
+
|
|
2484
|
+
declare const deleteMenuItemPriceOverrideInputSchema: z.ZodUndefined;
|
|
2485
|
+
declare const deleteMenuItemPriceOverrideResponseSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
|
|
2486
|
+
declare class DeleteMenuItemPriceOverride extends AbstractApiRequest<typeof deleteMenuItemPriceOverrideInputSchema, typeof deleteMenuItemPriceOverrideResponseSchema> {
|
|
2487
|
+
readonly method = "DELETE";
|
|
2488
|
+
readonly contentType = "application/json";
|
|
2489
|
+
readonly accept = "application/json";
|
|
2490
|
+
readonly inputSchema: z.ZodUndefined;
|
|
2491
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
|
|
2492
|
+
readonly querySchema: undefined;
|
|
2493
|
+
readonly headersSchema: undefined;
|
|
2494
|
+
private readonly menuItemPriceOverrideId;
|
|
2495
|
+
constructor(menuItemPriceOverrideId: string);
|
|
2496
|
+
getPath(): string;
|
|
2497
|
+
}
|
|
2498
|
+
|
|
2499
|
+
declare const getMenuItemPriceOverrideDetailsInputSchema: z.ZodUndefined;
|
|
2500
|
+
type GetMenuItemPriceOverrideDetailsInput = z.infer<typeof getMenuItemPriceOverrideDetailsInputSchema>;
|
|
2501
|
+
declare const getMenuItemPriceOverrideDetailsResponseSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2502
|
+
type: z.ZodLiteral<"ITEM">;
|
|
2503
|
+
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2504
|
+
inModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2505
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2506
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
2507
|
+
fromModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2508
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
2509
|
+
id: z.ZodString;
|
|
2510
|
+
price: z.ZodString;
|
|
2511
|
+
referenceItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2512
|
+
suspended: z.ZodBoolean;
|
|
2513
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2514
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
2515
|
+
price: z.ZodString;
|
|
2516
|
+
}, z.core.$strip>>;
|
|
2517
|
+
createdAt: z.ZodString;
|
|
2518
|
+
updatedAt: z.ZodString;
|
|
2519
|
+
}, z.core.$strip>>;
|
|
2520
|
+
type GetMenuItemPriceOverrideDetailsResponse = z.infer<typeof getMenuItemPriceOverrideDetailsResponseSchema>;
|
|
2521
|
+
declare class GetMenuItemPriceOverrideDetails extends AbstractApiRequest<typeof getMenuItemPriceOverrideDetailsInputSchema, typeof getMenuItemPriceOverrideDetailsResponseSchema> {
|
|
2522
|
+
readonly method = "GET";
|
|
2523
|
+
readonly contentType = "application/json";
|
|
2524
|
+
readonly accept = "application/json";
|
|
2525
|
+
readonly inputSchema: z.ZodUndefined;
|
|
2526
|
+
readonly outputSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2527
|
+
type: z.ZodLiteral<"ITEM">;
|
|
2528
|
+
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2529
|
+
inModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2530
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2531
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
2532
|
+
fromModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2533
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
2534
|
+
id: z.ZodString;
|
|
2535
|
+
price: z.ZodString;
|
|
2536
|
+
referenceItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2537
|
+
suspended: z.ZodBoolean;
|
|
2538
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2539
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
2540
|
+
price: z.ZodString;
|
|
2541
|
+
}, z.core.$strip>>;
|
|
2542
|
+
createdAt: z.ZodString;
|
|
2543
|
+
updatedAt: z.ZodString;
|
|
2544
|
+
}, z.core.$strip>>;
|
|
2545
|
+
readonly querySchema: undefined;
|
|
2546
|
+
readonly headersSchema: undefined;
|
|
2547
|
+
private readonly menuItemPriceOverrideId;
|
|
2548
|
+
constructor(menuItemPriceOverrideId: string);
|
|
2549
|
+
getPath(): string;
|
|
2550
|
+
}
|
|
2551
|
+
|
|
2552
|
+
declare const getMenuItemPriceOverridesQuerySchema: z.ZodObject<{
|
|
2553
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>]>>;
|
|
2554
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
2555
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2556
|
+
ITEM: "ITEM";
|
|
2557
|
+
MODIFIER: "MODIFIER";
|
|
2558
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
2559
|
+
ITEM: "ITEM";
|
|
2560
|
+
MODIFIER: "MODIFIER";
|
|
2561
|
+
}>>]>>;
|
|
2562
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2563
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2564
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2565
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2566
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2567
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
2568
|
+
asc: "asc";
|
|
2569
|
+
desc: "desc";
|
|
2570
|
+
}>>;
|
|
2571
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
2572
|
+
asc: "asc";
|
|
2573
|
+
desc: "desc";
|
|
2574
|
+
}>>;
|
|
2575
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2576
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
2577
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2578
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
2579
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2580
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
2581
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2582
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
2583
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2584
|
+
}, z.core.$strip>;
|
|
2585
|
+
type GetMenuItemPriceOverridesQueryParams = z.infer<typeof getMenuItemPriceOverridesQuerySchema>;
|
|
2586
|
+
declare const getMenuItemPriceOverridesInputSchema: z.ZodUndefined;
|
|
2587
|
+
type GetMenuItemPriceOverridesInput = z.input<typeof getMenuItemPriceOverridesInputSchema>;
|
|
2588
|
+
declare const getMenuItemPriceOverridesResponseSchema: z.ZodObject<{
|
|
2589
|
+
data: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2590
|
+
type: z.ZodLiteral<"ITEM">;
|
|
2591
|
+
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2592
|
+
inModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2593
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2594
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
2595
|
+
fromModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2596
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
2597
|
+
id: z.ZodString;
|
|
2598
|
+
price: z.ZodString;
|
|
2599
|
+
referenceItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2600
|
+
suspended: z.ZodBoolean;
|
|
2601
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2602
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
2603
|
+
price: z.ZodString;
|
|
2604
|
+
}, z.core.$strip>>;
|
|
2605
|
+
createdAt: z.ZodString;
|
|
2606
|
+
updatedAt: z.ZodString;
|
|
2607
|
+
}, z.core.$strip>>>;
|
|
2608
|
+
pagination: z.ZodObject<{
|
|
2609
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
2610
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
2611
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
2612
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
2613
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2614
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2615
|
+
}, z.core.$strip>;
|
|
2616
|
+
}, z.core.$strip>;
|
|
2617
|
+
type GetMenuItemPriceOverridesResponse = z.infer<typeof getMenuItemPriceOverridesResponseSchema>;
|
|
2618
|
+
declare class GetMenuItemPriceOverrides extends AbstractApiRequest<typeof getMenuItemPriceOverridesInputSchema, typeof getMenuItemPriceOverridesResponseSchema, GetMenuItemPriceOverridesQueryParams> {
|
|
2619
|
+
readonly method: "GET";
|
|
2620
|
+
readonly contentType: "application/json";
|
|
2621
|
+
readonly accept: "application/json";
|
|
2622
|
+
readonly inputSchema: z.ZodUndefined;
|
|
2623
|
+
readonly outputSchema: z.ZodObject<{
|
|
2624
|
+
data: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2625
|
+
type: z.ZodLiteral<"ITEM">;
|
|
2626
|
+
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2627
|
+
inModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2628
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2629
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
2630
|
+
fromModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2631
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
2632
|
+
id: z.ZodString;
|
|
2633
|
+
price: z.ZodString;
|
|
2634
|
+
referenceItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2635
|
+
suspended: z.ZodBoolean;
|
|
2636
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2637
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
2638
|
+
price: z.ZodString;
|
|
2639
|
+
}, z.core.$strip>>;
|
|
2640
|
+
createdAt: z.ZodString;
|
|
2641
|
+
updatedAt: z.ZodString;
|
|
2642
|
+
}, z.core.$strip>>>;
|
|
2643
|
+
pagination: z.ZodObject<{
|
|
2644
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
2645
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
2646
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
2647
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
2648
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
2649
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
2650
|
+
}, z.core.$strip>;
|
|
2651
|
+
}, z.core.$strip>;
|
|
2652
|
+
readonly querySchema: z.ZodObject<{
|
|
2653
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>]>>;
|
|
2654
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
2655
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2656
|
+
ITEM: "ITEM";
|
|
2657
|
+
MODIFIER: "MODIFIER";
|
|
2658
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
2659
|
+
ITEM: "ITEM";
|
|
2660
|
+
MODIFIER: "MODIFIER";
|
|
2661
|
+
}>>]>>;
|
|
2662
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2663
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2664
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2665
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2666
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2667
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
2668
|
+
asc: "asc";
|
|
2669
|
+
desc: "desc";
|
|
2670
|
+
}>>;
|
|
2671
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
2672
|
+
asc: "asc";
|
|
2673
|
+
desc: "desc";
|
|
2674
|
+
}>>;
|
|
2675
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2676
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
2677
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2678
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
2679
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2680
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
2681
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2682
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
2683
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2684
|
+
}, z.core.$strip>;
|
|
2685
|
+
readonly headersSchema: undefined;
|
|
2686
|
+
readonly listItemSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2687
|
+
type: z.ZodLiteral<"ITEM">;
|
|
2688
|
+
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2689
|
+
inModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2690
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2691
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
2692
|
+
fromModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2693
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
2694
|
+
id: z.ZodString;
|
|
2695
|
+
price: z.ZodString;
|
|
2696
|
+
referenceItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2697
|
+
suspended: z.ZodBoolean;
|
|
2698
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2699
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
2700
|
+
price: z.ZodString;
|
|
2701
|
+
}, z.core.$strip>>;
|
|
2702
|
+
createdAt: z.ZodString;
|
|
2703
|
+
updatedAt: z.ZodString;
|
|
2704
|
+
}, z.core.$strip>>;
|
|
2705
|
+
readonly paginationDefaultEnabled = true;
|
|
2706
|
+
constructor(options?: {
|
|
2707
|
+
query?: GetMenuItemPriceOverridesQueryParams;
|
|
2708
|
+
});
|
|
2709
|
+
getPath(): string;
|
|
2710
|
+
}
|
|
2711
|
+
|
|
2712
|
+
declare const getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierQuerySchema: z.ZodObject<{
|
|
2713
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>]>>;
|
|
2714
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
2715
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2716
|
+
ITEM: "ITEM";
|
|
2717
|
+
MODIFIER: "MODIFIER";
|
|
2718
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
2719
|
+
ITEM: "ITEM";
|
|
2720
|
+
MODIFIER: "MODIFIER";
|
|
2721
|
+
}>>]>>;
|
|
2722
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2723
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2724
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2725
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2726
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2727
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
2728
|
+
asc: "asc";
|
|
2729
|
+
desc: "desc";
|
|
2730
|
+
}>>;
|
|
2731
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
2732
|
+
asc: "asc";
|
|
2733
|
+
desc: "desc";
|
|
2734
|
+
}>>;
|
|
2735
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2736
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
2737
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2738
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
2739
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2740
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
2741
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2742
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
2743
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2744
|
+
}, z.core.$strip>;
|
|
2745
|
+
type GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierQueryParams = z.infer<typeof getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierQuerySchema>;
|
|
2746
|
+
declare const getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierInputSchema: z.ZodUndefined;
|
|
2747
|
+
type GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierInput = z.input<typeof getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierInputSchema>;
|
|
2748
|
+
declare const getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierResponseSchema: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2749
|
+
type: z.ZodLiteral<"ITEM">;
|
|
2750
|
+
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2751
|
+
inModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2752
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2753
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
2754
|
+
fromModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2755
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
2756
|
+
id: z.ZodString;
|
|
2757
|
+
price: z.ZodString;
|
|
2758
|
+
referenceItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2759
|
+
suspended: z.ZodBoolean;
|
|
2760
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2761
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
2762
|
+
price: z.ZodString;
|
|
2763
|
+
}, z.core.$strip>>;
|
|
2764
|
+
createdAt: z.ZodString;
|
|
2765
|
+
updatedAt: z.ZodString;
|
|
2766
|
+
}, z.core.$strip>>>;
|
|
2767
|
+
type GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierResponse = z.infer<typeof getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierResponseSchema>;
|
|
2768
|
+
declare class GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifier extends AbstractApiRequest<typeof getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierInputSchema, typeof getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierResponseSchema, GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierQueryParams> {
|
|
2769
|
+
readonly method: "GET";
|
|
2770
|
+
readonly contentType: "application/json";
|
|
2771
|
+
readonly accept: "application/json";
|
|
2772
|
+
readonly inputSchema: z.ZodUndefined;
|
|
2773
|
+
readonly outputSchema: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2774
|
+
type: z.ZodLiteral<"ITEM">;
|
|
2775
|
+
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2776
|
+
inModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2777
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2778
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
2779
|
+
fromModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2780
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
2781
|
+
id: z.ZodString;
|
|
2782
|
+
price: z.ZodString;
|
|
2783
|
+
referenceItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2784
|
+
suspended: z.ZodBoolean;
|
|
2785
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2786
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
2787
|
+
price: z.ZodString;
|
|
2788
|
+
}, z.core.$strip>>;
|
|
2789
|
+
createdAt: z.ZodString;
|
|
2790
|
+
updatedAt: z.ZodString;
|
|
2791
|
+
}, z.core.$strip>>>;
|
|
2792
|
+
readonly querySchema: z.ZodObject<{
|
|
2793
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>]>>;
|
|
2794
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
2795
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2796
|
+
ITEM: "ITEM";
|
|
2797
|
+
MODIFIER: "MODIFIER";
|
|
2798
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
2799
|
+
ITEM: "ITEM";
|
|
2800
|
+
MODIFIER: "MODIFIER";
|
|
2801
|
+
}>>]>>;
|
|
2802
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2803
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2804
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2805
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2806
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2807
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
2808
|
+
asc: "asc";
|
|
2809
|
+
desc: "desc";
|
|
2810
|
+
}>>;
|
|
2811
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
2812
|
+
asc: "asc";
|
|
2813
|
+
desc: "desc";
|
|
2814
|
+
}>>;
|
|
2815
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2816
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
2817
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2818
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
2819
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2820
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
2821
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2822
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
2823
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2824
|
+
}, z.core.$strip>;
|
|
2825
|
+
readonly headersSchema: undefined;
|
|
2826
|
+
readonly listItemSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2827
|
+
type: z.ZodLiteral<"ITEM">;
|
|
2828
|
+
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2829
|
+
inModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2830
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2831
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
2832
|
+
fromModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2833
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
2834
|
+
id: z.ZodString;
|
|
2835
|
+
price: z.ZodString;
|
|
2836
|
+
referenceItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2837
|
+
suspended: z.ZodBoolean;
|
|
2838
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2839
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
2840
|
+
price: z.ZodString;
|
|
2841
|
+
}, z.core.$strip>>;
|
|
2842
|
+
createdAt: z.ZodString;
|
|
2843
|
+
updatedAt: z.ZodString;
|
|
2844
|
+
}, z.core.$strip>>;
|
|
2845
|
+
readonly paginationDefaultEnabled = false;
|
|
2846
|
+
private readonly menuItemModifierId;
|
|
2847
|
+
constructor(menuItemModifierId: string, options?: {
|
|
2848
|
+
query?: GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierQueryParams;
|
|
2849
|
+
});
|
|
2850
|
+
getPath(): string;
|
|
2851
|
+
}
|
|
2852
|
+
|
|
2853
|
+
declare const getMenuItemPriceOverridesAsVariantsFromMenuItemQuerySchema: z.ZodObject<{
|
|
2854
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>]>>;
|
|
2855
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
2856
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2857
|
+
ITEM: "ITEM";
|
|
2858
|
+
MODIFIER: "MODIFIER";
|
|
2859
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
2860
|
+
ITEM: "ITEM";
|
|
2861
|
+
MODIFIER: "MODIFIER";
|
|
2862
|
+
}>>]>>;
|
|
2863
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2864
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2865
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2866
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2867
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2868
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
2869
|
+
asc: "asc";
|
|
2870
|
+
desc: "desc";
|
|
2871
|
+
}>>;
|
|
2872
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
2873
|
+
asc: "asc";
|
|
2874
|
+
desc: "desc";
|
|
2875
|
+
}>>;
|
|
2876
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2877
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
2878
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2879
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
2880
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2881
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
2882
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2883
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
2884
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2885
|
+
}, z.core.$strip>;
|
|
2886
|
+
type GetMenuItemPriceOverridesAsVariantsFromMenuItemQueryParams = z.infer<typeof getMenuItemPriceOverridesAsVariantsFromMenuItemQuerySchema>;
|
|
2887
|
+
declare const getMenuItemPriceOverridesAsVariantsFromMenuItemInputSchema: z.ZodUndefined;
|
|
2888
|
+
type GetMenuItemPriceOverridesAsVariantsFromMenuItemInput = z.input<typeof getMenuItemPriceOverridesAsVariantsFromMenuItemInputSchema>;
|
|
2889
|
+
declare const getMenuItemPriceOverridesAsVariantsFromMenuItemResponseSchema: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2890
|
+
type: z.ZodLiteral<"ITEM">;
|
|
2891
|
+
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2892
|
+
inModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2893
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2894
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
2895
|
+
fromModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2896
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
2897
|
+
id: z.ZodString;
|
|
2898
|
+
price: z.ZodString;
|
|
2899
|
+
referenceItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2900
|
+
suspended: z.ZodBoolean;
|
|
2901
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2902
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
2903
|
+
price: z.ZodString;
|
|
2904
|
+
}, z.core.$strip>>;
|
|
2905
|
+
createdAt: z.ZodString;
|
|
2906
|
+
updatedAt: z.ZodString;
|
|
2907
|
+
}, z.core.$strip>>>;
|
|
2908
|
+
type GetMenuItemPriceOverridesAsVariantsFromMenuItemResponse = z.infer<typeof getMenuItemPriceOverridesAsVariantsFromMenuItemResponseSchema>;
|
|
2909
|
+
declare class GetMenuItemPriceOverridesAsVariantsFromMenuItem extends AbstractApiRequest<typeof getMenuItemPriceOverridesAsVariantsFromMenuItemInputSchema, typeof getMenuItemPriceOverridesAsVariantsFromMenuItemResponseSchema, GetMenuItemPriceOverridesAsVariantsFromMenuItemQueryParams> {
|
|
2910
|
+
readonly method: "GET";
|
|
2911
|
+
readonly contentType: "application/json";
|
|
2912
|
+
readonly accept: "application/json";
|
|
2913
|
+
readonly inputSchema: z.ZodUndefined;
|
|
2914
|
+
readonly outputSchema: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2915
|
+
type: z.ZodLiteral<"ITEM">;
|
|
2916
|
+
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2917
|
+
inModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2918
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2919
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
2920
|
+
fromModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2921
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
2922
|
+
id: z.ZodString;
|
|
2923
|
+
price: z.ZodString;
|
|
2924
|
+
referenceItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2925
|
+
suspended: z.ZodBoolean;
|
|
2926
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2927
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
2928
|
+
price: z.ZodString;
|
|
2929
|
+
}, z.core.$strip>>;
|
|
2930
|
+
createdAt: z.ZodString;
|
|
2931
|
+
updatedAt: z.ZodString;
|
|
2932
|
+
}, z.core.$strip>>>;
|
|
2933
|
+
readonly querySchema: z.ZodObject<{
|
|
2934
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>]>>;
|
|
2935
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
2936
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2937
|
+
ITEM: "ITEM";
|
|
2938
|
+
MODIFIER: "MODIFIER";
|
|
2939
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
2940
|
+
ITEM: "ITEM";
|
|
2941
|
+
MODIFIER: "MODIFIER";
|
|
2942
|
+
}>>]>>;
|
|
2943
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2944
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2945
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2946
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2947
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2948
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
2949
|
+
asc: "asc";
|
|
2950
|
+
desc: "desc";
|
|
2951
|
+
}>>;
|
|
2952
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
2953
|
+
asc: "asc";
|
|
2954
|
+
desc: "desc";
|
|
2955
|
+
}>>;
|
|
2956
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
2957
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
2958
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2959
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
2960
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2961
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
2962
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
2963
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
2964
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
2965
|
+
}, z.core.$strip>;
|
|
2966
|
+
readonly headersSchema: undefined;
|
|
2967
|
+
readonly listItemSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2968
|
+
type: z.ZodLiteral<"ITEM">;
|
|
2969
|
+
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2970
|
+
inModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2971
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2972
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
2973
|
+
fromModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
2974
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
2975
|
+
id: z.ZodString;
|
|
2976
|
+
price: z.ZodString;
|
|
2977
|
+
referenceItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
2978
|
+
suspended: z.ZodBoolean;
|
|
2979
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2980
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
2981
|
+
price: z.ZodString;
|
|
2982
|
+
}, z.core.$strip>>;
|
|
2983
|
+
createdAt: z.ZodString;
|
|
2984
|
+
updatedAt: z.ZodString;
|
|
2985
|
+
}, z.core.$strip>>;
|
|
2986
|
+
readonly paginationDefaultEnabled = false;
|
|
2987
|
+
private readonly menuItemId;
|
|
2988
|
+
constructor(menuItemId: string, options?: {
|
|
2989
|
+
query?: GetMenuItemPriceOverridesAsVariantsFromMenuItemQueryParams;
|
|
2990
|
+
});
|
|
2991
|
+
getPath(): string;
|
|
2992
|
+
}
|
|
2993
|
+
|
|
2994
|
+
declare const getMenuItemPriceOverridesFromMenuItemModifierQuerySchema: z.ZodObject<{
|
|
2995
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>]>>;
|
|
2996
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
2997
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
2998
|
+
ITEM: "ITEM";
|
|
2999
|
+
MODIFIER: "MODIFIER";
|
|
3000
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3001
|
+
ITEM: "ITEM";
|
|
3002
|
+
MODIFIER: "MODIFIER";
|
|
3003
|
+
}>>]>>;
|
|
3004
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3005
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3006
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3007
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3008
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3009
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
3010
|
+
asc: "asc";
|
|
3011
|
+
desc: "desc";
|
|
3012
|
+
}>>;
|
|
3013
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
3014
|
+
asc: "asc";
|
|
3015
|
+
desc: "desc";
|
|
3016
|
+
}>>;
|
|
3017
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3018
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
3019
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3020
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
3021
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3022
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
3023
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3024
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
3025
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3026
|
+
}, z.core.$strip>;
|
|
3027
|
+
type GetMenuItemPriceOverridesFromMenuItemModifierQueryParams = z.infer<typeof getMenuItemPriceOverridesFromMenuItemModifierQuerySchema>;
|
|
3028
|
+
declare const getMenuItemPriceOverridesFromMenuItemModifierInputSchema: z.ZodUndefined;
|
|
3029
|
+
type GetMenuItemPriceOverridesFromMenuItemModifierInput = z.input<typeof getMenuItemPriceOverridesFromMenuItemModifierInputSchema>;
|
|
3030
|
+
declare const getMenuItemPriceOverridesFromMenuItemModifierResponseSchema: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3031
|
+
type: z.ZodLiteral<"ITEM">;
|
|
3032
|
+
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
3033
|
+
inModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
3034
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3035
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
3036
|
+
fromModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
3037
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
3038
|
+
id: z.ZodString;
|
|
3039
|
+
price: z.ZodString;
|
|
3040
|
+
referenceItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
3041
|
+
suspended: z.ZodBoolean;
|
|
3042
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
3043
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
3044
|
+
price: z.ZodString;
|
|
3045
|
+
}, z.core.$strip>>;
|
|
3046
|
+
createdAt: z.ZodString;
|
|
3047
|
+
updatedAt: z.ZodString;
|
|
3048
|
+
}, z.core.$strip>>>;
|
|
3049
|
+
type GetMenuItemPriceOverridesFromMenuItemModifierResponse = z.infer<typeof getMenuItemPriceOverridesFromMenuItemModifierResponseSchema>;
|
|
3050
|
+
declare class GetMenuItemPriceOverridesFromMenuItemModifier extends AbstractApiRequest<typeof getMenuItemPriceOverridesFromMenuItemModifierInputSchema, typeof getMenuItemPriceOverridesFromMenuItemModifierResponseSchema, GetMenuItemPriceOverridesFromMenuItemModifierQueryParams> {
|
|
3051
|
+
readonly method: "GET";
|
|
3052
|
+
readonly contentType: "application/json";
|
|
3053
|
+
readonly accept: "application/json";
|
|
3054
|
+
readonly inputSchema: z.ZodUndefined;
|
|
3055
|
+
readonly outputSchema: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3056
|
+
type: z.ZodLiteral<"ITEM">;
|
|
3057
|
+
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
3058
|
+
inModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
3059
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3060
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
3061
|
+
fromModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
3062
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
3063
|
+
id: z.ZodString;
|
|
3064
|
+
price: z.ZodString;
|
|
3065
|
+
referenceItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
3066
|
+
suspended: z.ZodBoolean;
|
|
3067
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
3068
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
3069
|
+
price: z.ZodString;
|
|
3070
|
+
}, z.core.$strip>>;
|
|
3071
|
+
createdAt: z.ZodString;
|
|
3072
|
+
updatedAt: z.ZodString;
|
|
3073
|
+
}, z.core.$strip>>>;
|
|
3074
|
+
readonly querySchema: z.ZodObject<{
|
|
3075
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>]>>;
|
|
3076
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3077
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3078
|
+
ITEM: "ITEM";
|
|
3079
|
+
MODIFIER: "MODIFIER";
|
|
3080
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3081
|
+
ITEM: "ITEM";
|
|
3082
|
+
MODIFIER: "MODIFIER";
|
|
3083
|
+
}>>]>>;
|
|
3084
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3085
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3086
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3087
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3088
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3089
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
3090
|
+
asc: "asc";
|
|
3091
|
+
desc: "desc";
|
|
3092
|
+
}>>;
|
|
3093
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
3094
|
+
asc: "asc";
|
|
3095
|
+
desc: "desc";
|
|
3096
|
+
}>>;
|
|
3097
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3098
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
3099
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3100
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
3101
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3102
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
3103
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3104
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
3105
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3106
|
+
}, z.core.$strip>;
|
|
3107
|
+
readonly headersSchema: undefined;
|
|
3108
|
+
readonly listItemSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3109
|
+
type: z.ZodLiteral<"ITEM">;
|
|
3110
|
+
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
3111
|
+
inModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
3112
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3113
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
3114
|
+
fromModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
3115
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
3116
|
+
id: z.ZodString;
|
|
3117
|
+
price: z.ZodString;
|
|
3118
|
+
referenceItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
3119
|
+
suspended: z.ZodBoolean;
|
|
3120
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
3121
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
3122
|
+
price: z.ZodString;
|
|
3123
|
+
}, z.core.$strip>>;
|
|
3124
|
+
createdAt: z.ZodString;
|
|
3125
|
+
updatedAt: z.ZodString;
|
|
3126
|
+
}, z.core.$strip>>;
|
|
3127
|
+
readonly paginationDefaultEnabled = false;
|
|
3128
|
+
private readonly menuItemModifierId;
|
|
3129
|
+
constructor(menuItemModifierId: string, options?: {
|
|
3130
|
+
query?: GetMenuItemPriceOverridesFromMenuItemModifierQueryParams;
|
|
3131
|
+
});
|
|
3132
|
+
getPath(): string;
|
|
3133
|
+
}
|
|
3134
|
+
|
|
3135
|
+
declare const updateMenuItemPriceOverrideInputSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3136
|
+
type: z.ZodLiteral<"ITEM">;
|
|
3137
|
+
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
3138
|
+
inModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
3139
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3140
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
3141
|
+
fromModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
3142
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
3143
|
+
price: z.ZodOptional<z.ZodString>;
|
|
3144
|
+
referenceItem: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
3145
|
+
suspended: z.ZodOptional<z.ZodBoolean>;
|
|
3146
|
+
salesPrices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3147
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
3148
|
+
price: z.ZodString;
|
|
3149
|
+
}, z.core.$strip>>>;
|
|
3150
|
+
}, z.core.$strip>>;
|
|
3151
|
+
type UpdateMenuItemPriceOverrideInput = z.input<typeof updateMenuItemPriceOverrideInputSchema>;
|
|
3152
|
+
declare const updateMenuItemPriceOverrideResponseSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3153
|
+
type: z.ZodLiteral<"ITEM">;
|
|
3154
|
+
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
3155
|
+
inModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
3156
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3157
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
3158
|
+
fromModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
3159
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
3160
|
+
id: z.ZodString;
|
|
3161
|
+
price: z.ZodString;
|
|
3162
|
+
referenceItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
3163
|
+
suspended: z.ZodBoolean;
|
|
3164
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
3165
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
3166
|
+
price: z.ZodString;
|
|
3167
|
+
}, z.core.$strip>>;
|
|
3168
|
+
createdAt: z.ZodString;
|
|
3169
|
+
updatedAt: z.ZodString;
|
|
3170
|
+
}, z.core.$strip>>;
|
|
3171
|
+
type UpdateMenuItemPriceOverrideResponse = z.infer<typeof updateMenuItemPriceOverrideResponseSchema>;
|
|
3172
|
+
declare class UpdateMenuItemPriceOverride extends AbstractApiRequest<typeof updateMenuItemPriceOverrideInputSchema, typeof updateMenuItemPriceOverrideResponseSchema> {
|
|
3173
|
+
readonly method = "PATCH";
|
|
3174
|
+
readonly contentType = "application/merge-patch+json";
|
|
3175
|
+
readonly accept = "application/json";
|
|
3176
|
+
readonly inputSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3177
|
+
type: z.ZodLiteral<"ITEM">;
|
|
3178
|
+
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
3179
|
+
inModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
3180
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3181
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
3182
|
+
fromModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
3183
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
3184
|
+
price: z.ZodOptional<z.ZodString>;
|
|
3185
|
+
referenceItem: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
3186
|
+
suspended: z.ZodOptional<z.ZodBoolean>;
|
|
3187
|
+
salesPrices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3188
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
3189
|
+
price: z.ZodString;
|
|
3190
|
+
}, z.core.$strip>>>;
|
|
3191
|
+
}, z.core.$strip>>;
|
|
3192
|
+
readonly outputSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3193
|
+
type: z.ZodLiteral<"ITEM">;
|
|
3194
|
+
fromItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
3195
|
+
inModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
3196
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3197
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
3198
|
+
fromModifier: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id"> | null, unknown>>;
|
|
3199
|
+
}, z.core.$strip>], "type">, z.ZodObject<{
|
|
3200
|
+
id: z.ZodString;
|
|
3201
|
+
price: z.ZodString;
|
|
3202
|
+
referenceItem: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id"> | null, unknown>>;
|
|
3203
|
+
suspended: z.ZodBoolean;
|
|
3204
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
3205
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
3206
|
+
price: z.ZodString;
|
|
3207
|
+
}, z.core.$strip>>;
|
|
3208
|
+
createdAt: z.ZodString;
|
|
3209
|
+
updatedAt: z.ZodString;
|
|
3210
|
+
}, z.core.$strip>>;
|
|
3211
|
+
readonly querySchema: undefined;
|
|
3212
|
+
readonly headersSchema: undefined;
|
|
3213
|
+
private readonly menuItemPriceOverrideId;
|
|
3214
|
+
constructor(menuItemPriceOverrideId: string, input: UpdateMenuItemPriceOverrideInput);
|
|
3215
|
+
getPath(): string;
|
|
3216
|
+
}
|
|
3217
|
+
|
|
3218
|
+
declare const createMenuItemInputSchema: z.ZodObject<{
|
|
3219
|
+
type: z.ZodNonOptional<z.ZodEnum<{
|
|
3220
|
+
ITEM: "ITEM";
|
|
3221
|
+
CHOICE: "CHOICE";
|
|
3222
|
+
BUNDLE: "BUNDLE";
|
|
3223
|
+
}>>;
|
|
3224
|
+
price: z.ZodNonOptional<z.ZodString>;
|
|
3225
|
+
category: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>>;
|
|
3226
|
+
channels: z.ZodNonOptional<z.ZodArray<z.ZodEnum<{
|
|
3227
|
+
application: "application";
|
|
3228
|
+
ecommerce: "ecommerce";
|
|
3229
|
+
deliveroo: "deliveroo";
|
|
3230
|
+
justeat: "justeat";
|
|
3231
|
+
glovo: "glovo";
|
|
3232
|
+
tilby: "tilby";
|
|
3233
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3234
|
+
elephant: "elephant";
|
|
3235
|
+
}>>>;
|
|
3236
|
+
tags: z.ZodNonOptional<z.ZodArray<z.ZodString>>;
|
|
3237
|
+
name: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
3238
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
3239
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
3240
|
+
}, z.core.$strip>>>;
|
|
3241
|
+
description: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
3242
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
3243
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
3244
|
+
}, z.core.$strip>>>;
|
|
3245
|
+
allergens: z.ZodNonOptional<z.ZodArray<z.ZodEnum<{
|
|
3246
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
3247
|
+
crustaceans: "crustaceans";
|
|
3248
|
+
nuts: "nuts";
|
|
3249
|
+
gluten: "gluten";
|
|
3250
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
3251
|
+
lupins: "lupins";
|
|
3252
|
+
molluscs: "molluscs";
|
|
3253
|
+
mustard: "mustard";
|
|
3254
|
+
fish: "fish";
|
|
3255
|
+
celery: "celery";
|
|
3256
|
+
sesame: "sesame";
|
|
3257
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
3258
|
+
soy: "soy";
|
|
3259
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
3260
|
+
mushrooms: "mushrooms";
|
|
3261
|
+
}>>>;
|
|
3262
|
+
diets: z.ZodNonOptional<z.ZodArray<z.ZodEnum<{
|
|
3263
|
+
vegan: "vegan";
|
|
3264
|
+
vegetarian: "vegetarian";
|
|
3265
|
+
"gluten-free": "gluten-free";
|
|
3266
|
+
"dairy-free": "dairy-free";
|
|
3267
|
+
}>>>;
|
|
3268
|
+
taxRate: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
3269
|
+
containsAlcohol: z.ZodNonOptional<z.ZodBoolean>;
|
|
3270
|
+
countable: z.ZodNonOptional<z.ZodBoolean>;
|
|
3271
|
+
suspended: z.ZodNonOptional<z.ZodBoolean>;
|
|
3272
|
+
compositions: z.ZodNonOptional<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>>;
|
|
3273
|
+
salesPrices: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
3274
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
3275
|
+
price: z.ZodString;
|
|
3276
|
+
}, z.core.$strip>>>;
|
|
3277
|
+
pointOfSale: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>>;
|
|
3278
|
+
images: z.ZodNonOptional<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>>>;
|
|
3279
|
+
}, z.core.$strip>;
|
|
3280
|
+
type CreateMenuItemInput = z.input<typeof createMenuItemInputSchema>;
|
|
3281
|
+
declare const createMenuItemResponseSchema: z.ZodType<MenuItemDetails, unknown, z.core.$ZodTypeInternals<MenuItemDetails, unknown>>;
|
|
3282
|
+
type CreateMenuItemResponse = z.output<typeof createMenuItemResponseSchema>;
|
|
3283
|
+
declare class CreateMenuItem extends AbstractApiRequest<typeof createMenuItemInputSchema, typeof createMenuItemResponseSchema> {
|
|
3284
|
+
readonly method = "POST";
|
|
3285
|
+
readonly contentType = "application/json";
|
|
3286
|
+
readonly accept = "application/json";
|
|
3287
|
+
readonly inputSchema: z.ZodObject<{
|
|
3288
|
+
type: z.ZodNonOptional<z.ZodEnum<{
|
|
3289
|
+
ITEM: "ITEM";
|
|
3290
|
+
CHOICE: "CHOICE";
|
|
3291
|
+
BUNDLE: "BUNDLE";
|
|
3292
|
+
}>>;
|
|
3293
|
+
price: z.ZodNonOptional<z.ZodString>;
|
|
3294
|
+
category: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>>;
|
|
3295
|
+
channels: z.ZodNonOptional<z.ZodArray<z.ZodEnum<{
|
|
3296
|
+
application: "application";
|
|
3297
|
+
ecommerce: "ecommerce";
|
|
3298
|
+
deliveroo: "deliveroo";
|
|
3299
|
+
justeat: "justeat";
|
|
3300
|
+
glovo: "glovo";
|
|
3301
|
+
tilby: "tilby";
|
|
3302
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3303
|
+
elephant: "elephant";
|
|
3304
|
+
}>>>;
|
|
3305
|
+
tags: z.ZodNonOptional<z.ZodArray<z.ZodString>>;
|
|
3306
|
+
name: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
3307
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
3308
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
3309
|
+
}, z.core.$strip>>>;
|
|
3310
|
+
description: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
3311
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
3312
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
3313
|
+
}, z.core.$strip>>>;
|
|
3314
|
+
allergens: z.ZodNonOptional<z.ZodArray<z.ZodEnum<{
|
|
3315
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
3316
|
+
crustaceans: "crustaceans";
|
|
3317
|
+
nuts: "nuts";
|
|
3318
|
+
gluten: "gluten";
|
|
3319
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
3320
|
+
lupins: "lupins";
|
|
3321
|
+
molluscs: "molluscs";
|
|
3322
|
+
mustard: "mustard";
|
|
3323
|
+
fish: "fish";
|
|
3324
|
+
celery: "celery";
|
|
3325
|
+
sesame: "sesame";
|
|
3326
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
3327
|
+
soy: "soy";
|
|
3328
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
3329
|
+
mushrooms: "mushrooms";
|
|
3330
|
+
}>>>;
|
|
3331
|
+
diets: z.ZodNonOptional<z.ZodArray<z.ZodEnum<{
|
|
3332
|
+
vegan: "vegan";
|
|
3333
|
+
vegetarian: "vegetarian";
|
|
3334
|
+
"gluten-free": "gluten-free";
|
|
3335
|
+
"dairy-free": "dairy-free";
|
|
3336
|
+
}>>>;
|
|
3337
|
+
taxRate: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
3338
|
+
containsAlcohol: z.ZodNonOptional<z.ZodBoolean>;
|
|
3339
|
+
countable: z.ZodNonOptional<z.ZodBoolean>;
|
|
3340
|
+
suspended: z.ZodNonOptional<z.ZodBoolean>;
|
|
3341
|
+
compositions: z.ZodNonOptional<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>>;
|
|
3342
|
+
salesPrices: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
3343
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
3344
|
+
price: z.ZodString;
|
|
3345
|
+
}, z.core.$strip>>>;
|
|
3346
|
+
pointOfSale: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>>;
|
|
3347
|
+
images: z.ZodNonOptional<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>>>;
|
|
3348
|
+
}, z.core.$strip>;
|
|
3349
|
+
readonly outputSchema: z.ZodType<MenuItemDetails, unknown, z.core.$ZodTypeInternals<MenuItemDetails, unknown>>;
|
|
3350
|
+
readonly querySchema: undefined;
|
|
3351
|
+
readonly headersSchema: undefined;
|
|
3352
|
+
constructor(input: CreateMenuItemInput);
|
|
3353
|
+
getPath(): string;
|
|
3354
|
+
}
|
|
3355
|
+
|
|
3356
|
+
declare const deleteMenuItemInputSchema: z.ZodUndefined;
|
|
3357
|
+
declare const deleteMenuItemResponseSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
|
|
3358
|
+
declare class DeleteMenuItem extends AbstractApiRequest<typeof deleteMenuItemInputSchema, typeof deleteMenuItemResponseSchema> {
|
|
3359
|
+
readonly method = "DELETE";
|
|
3360
|
+
readonly contentType = "application/json";
|
|
3361
|
+
readonly accept = "application/json";
|
|
3362
|
+
readonly inputSchema: z.ZodUndefined;
|
|
3363
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
|
|
3364
|
+
readonly querySchema: undefined;
|
|
3365
|
+
readonly headersSchema: undefined;
|
|
3366
|
+
private readonly menuItemId;
|
|
3367
|
+
constructor(menuItemId: string);
|
|
3368
|
+
getPath(): string;
|
|
3369
|
+
}
|
|
3370
|
+
|
|
3371
|
+
declare const getMenuItemDetailsInputSchema: z.ZodUndefined;
|
|
3372
|
+
type GetMenuItemDetailsInput = z.infer<typeof getMenuItemDetailsInputSchema>;
|
|
3373
|
+
declare const getMenuItemDetailsResponseSchema: z.ZodType<MenuItemDetails, unknown, z.core.$ZodTypeInternals<MenuItemDetails, unknown>>;
|
|
3374
|
+
type GetMenuItemDetailsResponse = z.infer<typeof getMenuItemDetailsResponseSchema>;
|
|
3375
|
+
declare class GetMenuItemDetails extends AbstractApiRequest<typeof getMenuItemDetailsInputSchema, typeof getMenuItemDetailsResponseSchema> {
|
|
3376
|
+
readonly method = "GET";
|
|
3377
|
+
readonly contentType = "application/json";
|
|
3378
|
+
readonly accept = "application/json";
|
|
3379
|
+
readonly inputSchema: z.ZodUndefined;
|
|
3380
|
+
readonly outputSchema: z.ZodType<MenuItemDetails, unknown, z.core.$ZodTypeInternals<MenuItemDetails, unknown>>;
|
|
3381
|
+
readonly querySchema: undefined;
|
|
3382
|
+
readonly headersSchema: undefined;
|
|
3383
|
+
private readonly menuItemId;
|
|
3384
|
+
constructor(menuItemId: string);
|
|
3385
|
+
getPath(): string;
|
|
3386
|
+
}
|
|
3387
|
+
|
|
3388
|
+
declare const getMenuItemsQuerySchema: z.ZodObject<{
|
|
3389
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>]>>;
|
|
3390
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3391
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3392
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3393
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3394
|
+
nameSort: z.ZodOptional<z.ZodString>;
|
|
3395
|
+
category: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>>]>>;
|
|
3396
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3397
|
+
application: "application";
|
|
3398
|
+
ecommerce: "ecommerce";
|
|
3399
|
+
deliveroo: "deliveroo";
|
|
3400
|
+
justeat: "justeat";
|
|
3401
|
+
glovo: "glovo";
|
|
3402
|
+
tilby: "tilby";
|
|
3403
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3404
|
+
elephant: "elephant";
|
|
3405
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3406
|
+
application: "application";
|
|
3407
|
+
ecommerce: "ecommerce";
|
|
3408
|
+
deliveroo: "deliveroo";
|
|
3409
|
+
justeat: "justeat";
|
|
3410
|
+
glovo: "glovo";
|
|
3411
|
+
tilby: "tilby";
|
|
3412
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3413
|
+
elephant: "elephant";
|
|
3414
|
+
}>>]>>;
|
|
3415
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3416
|
+
ITEM: "ITEM";
|
|
3417
|
+
CHOICE: "CHOICE";
|
|
3418
|
+
BUNDLE: "BUNDLE";
|
|
3419
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3420
|
+
ITEM: "ITEM";
|
|
3421
|
+
CHOICE: "CHOICE";
|
|
3422
|
+
BUNDLE: "BUNDLE";
|
|
3423
|
+
}>>]>>;
|
|
3424
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3425
|
+
'tags.match': z.ZodOptional<z.ZodEnum<{
|
|
3426
|
+
all: "all";
|
|
3427
|
+
any: "any";
|
|
3428
|
+
}>>;
|
|
3429
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3430
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3431
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3432
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3433
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3434
|
+
'order[nameSort]': z.ZodOptional<z.ZodEnum<{
|
|
3435
|
+
asc: "asc";
|
|
3436
|
+
desc: "desc";
|
|
3437
|
+
}>>;
|
|
3438
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
3439
|
+
asc: "asc";
|
|
3440
|
+
desc: "desc";
|
|
3441
|
+
}>>;
|
|
3442
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
3443
|
+
asc: "asc";
|
|
3444
|
+
desc: "desc";
|
|
3445
|
+
}>>;
|
|
3446
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3447
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
3448
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3449
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
3450
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3451
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
3452
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3453
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
3454
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3455
|
+
}, z.core.$strip>;
|
|
3456
|
+
type GetMenuItemsQueryParams = z.infer<typeof getMenuItemsQuerySchema>;
|
|
3457
|
+
declare const getMenuItemsInputSchema: z.ZodUndefined;
|
|
3458
|
+
type GetMenuItemsInput = z.input<typeof getMenuItemsInputSchema>;
|
|
3459
|
+
declare const getMenuItemsResponseSchema: z.ZodObject<{
|
|
3460
|
+
data: z.ZodArray<z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>>;
|
|
3461
|
+
pagination: z.ZodObject<{
|
|
3462
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
3463
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
3464
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
3465
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
3466
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3467
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3468
|
+
}, z.core.$strip>;
|
|
3469
|
+
}, z.core.$strip>;
|
|
3470
|
+
type GetMenuItemsResponse = z.infer<typeof getMenuItemsResponseSchema>;
|
|
3471
|
+
declare class GetMenuItems extends AbstractApiRequest<typeof getMenuItemsInputSchema, typeof getMenuItemsResponseSchema, GetMenuItemsQueryParams> {
|
|
3472
|
+
readonly method: "GET";
|
|
3473
|
+
readonly contentType: "application/json";
|
|
3474
|
+
readonly accept: "application/json";
|
|
3475
|
+
readonly inputSchema: z.ZodUndefined;
|
|
3476
|
+
readonly outputSchema: z.ZodObject<{
|
|
3477
|
+
data: z.ZodArray<z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>>;
|
|
3478
|
+
pagination: z.ZodObject<{
|
|
3479
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
3480
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
3481
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
3482
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
3483
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3484
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3485
|
+
}, z.core.$strip>;
|
|
3486
|
+
}, z.core.$strip>;
|
|
3487
|
+
readonly querySchema: z.ZodObject<{
|
|
3488
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>]>>;
|
|
3489
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3490
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3491
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3492
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3493
|
+
nameSort: z.ZodOptional<z.ZodString>;
|
|
3494
|
+
category: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>>]>>;
|
|
3495
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3496
|
+
application: "application";
|
|
3497
|
+
ecommerce: "ecommerce";
|
|
3498
|
+
deliveroo: "deliveroo";
|
|
3499
|
+
justeat: "justeat";
|
|
3500
|
+
glovo: "glovo";
|
|
3501
|
+
tilby: "tilby";
|
|
3502
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3503
|
+
elephant: "elephant";
|
|
3504
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3505
|
+
application: "application";
|
|
3506
|
+
ecommerce: "ecommerce";
|
|
3507
|
+
deliveroo: "deliveroo";
|
|
3508
|
+
justeat: "justeat";
|
|
3509
|
+
glovo: "glovo";
|
|
3510
|
+
tilby: "tilby";
|
|
3511
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3512
|
+
elephant: "elephant";
|
|
3513
|
+
}>>]>>;
|
|
3514
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3515
|
+
ITEM: "ITEM";
|
|
3516
|
+
CHOICE: "CHOICE";
|
|
3517
|
+
BUNDLE: "BUNDLE";
|
|
3518
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3519
|
+
ITEM: "ITEM";
|
|
3520
|
+
CHOICE: "CHOICE";
|
|
3521
|
+
BUNDLE: "BUNDLE";
|
|
3522
|
+
}>>]>>;
|
|
3523
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3524
|
+
'tags.match': z.ZodOptional<z.ZodEnum<{
|
|
3525
|
+
all: "all";
|
|
3526
|
+
any: "any";
|
|
3527
|
+
}>>;
|
|
3528
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3529
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3530
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3531
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3532
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3533
|
+
'order[nameSort]': z.ZodOptional<z.ZodEnum<{
|
|
3534
|
+
asc: "asc";
|
|
3535
|
+
desc: "desc";
|
|
3536
|
+
}>>;
|
|
3537
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
3538
|
+
asc: "asc";
|
|
3539
|
+
desc: "desc";
|
|
3540
|
+
}>>;
|
|
3541
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
3542
|
+
asc: "asc";
|
|
3543
|
+
desc: "desc";
|
|
3544
|
+
}>>;
|
|
3545
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3546
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
3547
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3548
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
3549
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3550
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
3551
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3552
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
3553
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3554
|
+
}, z.core.$strip>;
|
|
3555
|
+
readonly headersSchema: undefined;
|
|
3556
|
+
readonly listItemSchema: z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>;
|
|
3557
|
+
readonly paginationDefaultEnabled = true;
|
|
3558
|
+
constructor(options?: {
|
|
3559
|
+
query?: GetMenuItemsQueryParams;
|
|
3560
|
+
});
|
|
3561
|
+
getPath(): string;
|
|
3562
|
+
}
|
|
3563
|
+
|
|
3564
|
+
declare const getMenuItemsAsChoicesFromMenuItemModifierQuerySchema: z.ZodObject<{
|
|
3565
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>]>>;
|
|
3566
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3567
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3568
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3569
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3570
|
+
nameSort: z.ZodOptional<z.ZodString>;
|
|
3571
|
+
category: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>>]>>;
|
|
3572
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3573
|
+
application: "application";
|
|
3574
|
+
ecommerce: "ecommerce";
|
|
3575
|
+
deliveroo: "deliveroo";
|
|
3576
|
+
justeat: "justeat";
|
|
3577
|
+
glovo: "glovo";
|
|
3578
|
+
tilby: "tilby";
|
|
3579
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3580
|
+
elephant: "elephant";
|
|
3581
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3582
|
+
application: "application";
|
|
3583
|
+
ecommerce: "ecommerce";
|
|
3584
|
+
deliveroo: "deliveroo";
|
|
3585
|
+
justeat: "justeat";
|
|
3586
|
+
glovo: "glovo";
|
|
3587
|
+
tilby: "tilby";
|
|
3588
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3589
|
+
elephant: "elephant";
|
|
3590
|
+
}>>]>>;
|
|
3591
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3592
|
+
ITEM: "ITEM";
|
|
3593
|
+
CHOICE: "CHOICE";
|
|
3594
|
+
BUNDLE: "BUNDLE";
|
|
3595
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3596
|
+
ITEM: "ITEM";
|
|
3597
|
+
CHOICE: "CHOICE";
|
|
3598
|
+
BUNDLE: "BUNDLE";
|
|
3599
|
+
}>>]>>;
|
|
3600
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3601
|
+
'tags.match': z.ZodOptional<z.ZodEnum<{
|
|
3602
|
+
all: "all";
|
|
3603
|
+
any: "any";
|
|
3604
|
+
}>>;
|
|
3605
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3606
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3607
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3608
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3609
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3610
|
+
'order[nameSort]': z.ZodOptional<z.ZodEnum<{
|
|
3611
|
+
asc: "asc";
|
|
3612
|
+
desc: "desc";
|
|
3613
|
+
}>>;
|
|
3614
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
3615
|
+
asc: "asc";
|
|
3616
|
+
desc: "desc";
|
|
3617
|
+
}>>;
|
|
3618
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
3619
|
+
asc: "asc";
|
|
3620
|
+
desc: "desc";
|
|
3621
|
+
}>>;
|
|
3622
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3623
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
3624
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3625
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
3626
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3627
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
3628
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3629
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
3630
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3631
|
+
}, z.core.$strip>;
|
|
3632
|
+
type GetMenuItemsAsChoicesFromMenuItemModifierQueryParams = z.infer<typeof getMenuItemsAsChoicesFromMenuItemModifierQuerySchema>;
|
|
3633
|
+
declare const getMenuItemsAsChoicesFromMenuItemModifierInputSchema: z.ZodUndefined;
|
|
3634
|
+
type GetMenuItemsAsChoicesFromMenuItemModifierInput = z.input<typeof getMenuItemsAsChoicesFromMenuItemModifierInputSchema>;
|
|
3635
|
+
declare const getMenuItemsAsChoicesFromMenuItemModifierResponseSchema: z.ZodArray<z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>>;
|
|
3636
|
+
type GetMenuItemsAsChoicesFromMenuItemModifierResponse = z.infer<typeof getMenuItemsAsChoicesFromMenuItemModifierResponseSchema>;
|
|
3637
|
+
declare class GetMenuItemsAsChoicesFromMenuItemModifier extends AbstractApiRequest<typeof getMenuItemsAsChoicesFromMenuItemModifierInputSchema, typeof getMenuItemsAsChoicesFromMenuItemModifierResponseSchema, GetMenuItemsAsChoicesFromMenuItemModifierQueryParams> {
|
|
3638
|
+
readonly method: "GET";
|
|
3639
|
+
readonly contentType: "application/json";
|
|
3640
|
+
readonly accept: "application/json";
|
|
3641
|
+
readonly inputSchema: z.ZodUndefined;
|
|
3642
|
+
readonly outputSchema: z.ZodArray<z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>>;
|
|
3643
|
+
readonly querySchema: z.ZodObject<{
|
|
3644
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>]>>;
|
|
3645
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3646
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3647
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3648
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3649
|
+
nameSort: z.ZodOptional<z.ZodString>;
|
|
3650
|
+
category: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>>]>>;
|
|
3651
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3652
|
+
application: "application";
|
|
3653
|
+
ecommerce: "ecommerce";
|
|
3654
|
+
deliveroo: "deliveroo";
|
|
3655
|
+
justeat: "justeat";
|
|
3656
|
+
glovo: "glovo";
|
|
3657
|
+
tilby: "tilby";
|
|
3658
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3659
|
+
elephant: "elephant";
|
|
3660
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3661
|
+
application: "application";
|
|
3662
|
+
ecommerce: "ecommerce";
|
|
3663
|
+
deliveroo: "deliveroo";
|
|
3664
|
+
justeat: "justeat";
|
|
3665
|
+
glovo: "glovo";
|
|
3666
|
+
tilby: "tilby";
|
|
3667
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3668
|
+
elephant: "elephant";
|
|
3669
|
+
}>>]>>;
|
|
3670
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3671
|
+
ITEM: "ITEM";
|
|
3672
|
+
CHOICE: "CHOICE";
|
|
3673
|
+
BUNDLE: "BUNDLE";
|
|
3674
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3675
|
+
ITEM: "ITEM";
|
|
3676
|
+
CHOICE: "CHOICE";
|
|
3677
|
+
BUNDLE: "BUNDLE";
|
|
3678
|
+
}>>]>>;
|
|
3679
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3680
|
+
'tags.match': z.ZodOptional<z.ZodEnum<{
|
|
3681
|
+
all: "all";
|
|
3682
|
+
any: "any";
|
|
3683
|
+
}>>;
|
|
3684
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3685
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3686
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3687
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3688
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3689
|
+
'order[nameSort]': z.ZodOptional<z.ZodEnum<{
|
|
3690
|
+
asc: "asc";
|
|
3691
|
+
desc: "desc";
|
|
3692
|
+
}>>;
|
|
3693
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
3694
|
+
asc: "asc";
|
|
3695
|
+
desc: "desc";
|
|
3696
|
+
}>>;
|
|
3697
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
3698
|
+
asc: "asc";
|
|
3699
|
+
desc: "desc";
|
|
3700
|
+
}>>;
|
|
3701
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3702
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
3703
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3704
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
3705
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3706
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
3707
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3708
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
3709
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3710
|
+
}, z.core.$strip>;
|
|
3711
|
+
readonly headersSchema: undefined;
|
|
3712
|
+
readonly listItemSchema: z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>;
|
|
3713
|
+
readonly paginationDefaultEnabled = false;
|
|
3714
|
+
private readonly menuItemModifierId;
|
|
3715
|
+
constructor(menuItemModifierId: string, options?: {
|
|
3716
|
+
query?: GetMenuItemsAsChoicesFromMenuItemModifierQueryParams;
|
|
3717
|
+
});
|
|
3718
|
+
getPath(): string;
|
|
3719
|
+
}
|
|
3720
|
+
|
|
3721
|
+
declare const getMenuItemsFromMenuItemCategoryQuerySchema: z.ZodObject<{
|
|
3722
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>]>>;
|
|
3723
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3724
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3725
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3726
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3727
|
+
nameSort: z.ZodOptional<z.ZodString>;
|
|
3728
|
+
category: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>>]>>;
|
|
3729
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3730
|
+
application: "application";
|
|
3731
|
+
ecommerce: "ecommerce";
|
|
3732
|
+
deliveroo: "deliveroo";
|
|
3733
|
+
justeat: "justeat";
|
|
3734
|
+
glovo: "glovo";
|
|
3735
|
+
tilby: "tilby";
|
|
3736
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3737
|
+
elephant: "elephant";
|
|
3738
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3739
|
+
application: "application";
|
|
3740
|
+
ecommerce: "ecommerce";
|
|
3741
|
+
deliveroo: "deliveroo";
|
|
3742
|
+
justeat: "justeat";
|
|
3743
|
+
glovo: "glovo";
|
|
3744
|
+
tilby: "tilby";
|
|
3745
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3746
|
+
elephant: "elephant";
|
|
3747
|
+
}>>]>>;
|
|
3748
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3749
|
+
ITEM: "ITEM";
|
|
3750
|
+
CHOICE: "CHOICE";
|
|
3751
|
+
BUNDLE: "BUNDLE";
|
|
3752
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3753
|
+
ITEM: "ITEM";
|
|
3754
|
+
CHOICE: "CHOICE";
|
|
3755
|
+
BUNDLE: "BUNDLE";
|
|
3756
|
+
}>>]>>;
|
|
3757
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3758
|
+
'tags.match': z.ZodOptional<z.ZodEnum<{
|
|
3759
|
+
all: "all";
|
|
3760
|
+
any: "any";
|
|
3761
|
+
}>>;
|
|
3762
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3763
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3764
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3765
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3766
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3767
|
+
'order[nameSort]': z.ZodOptional<z.ZodEnum<{
|
|
3768
|
+
asc: "asc";
|
|
3769
|
+
desc: "desc";
|
|
3770
|
+
}>>;
|
|
3771
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
3772
|
+
asc: "asc";
|
|
3773
|
+
desc: "desc";
|
|
3774
|
+
}>>;
|
|
3775
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
3776
|
+
asc: "asc";
|
|
3777
|
+
desc: "desc";
|
|
3778
|
+
}>>;
|
|
3779
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3780
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
3781
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3782
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
3783
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3784
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
3785
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3786
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
3787
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3788
|
+
}, z.core.$strip>;
|
|
3789
|
+
type GetMenuItemsFromMenuItemCategoryQueryParams = z.infer<typeof getMenuItemsFromMenuItemCategoryQuerySchema>;
|
|
3790
|
+
declare const getMenuItemsFromMenuItemCategoryInputSchema: z.ZodUndefined;
|
|
3791
|
+
type GetMenuItemsFromMenuItemCategoryInput = z.input<typeof getMenuItemsFromMenuItemCategoryInputSchema>;
|
|
3792
|
+
declare const getMenuItemsFromMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
3793
|
+
data: z.ZodArray<z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>>;
|
|
3794
|
+
pagination: z.ZodObject<{
|
|
3795
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
3796
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
3797
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
3798
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
3799
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3800
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3801
|
+
}, z.core.$strip>;
|
|
3802
|
+
}, z.core.$strip>;
|
|
3803
|
+
type GetMenuItemsFromMenuItemCategoryResponse = z.infer<typeof getMenuItemsFromMenuItemCategoryResponseSchema>;
|
|
3804
|
+
declare class GetMenuItemsFromMenuItemCategory extends AbstractApiRequest<typeof getMenuItemsFromMenuItemCategoryInputSchema, typeof getMenuItemsFromMenuItemCategoryResponseSchema, GetMenuItemsFromMenuItemCategoryQueryParams> {
|
|
3805
|
+
readonly method: "GET";
|
|
3806
|
+
readonly contentType: "application/json";
|
|
3807
|
+
readonly accept: "application/json";
|
|
3808
|
+
readonly inputSchema: z.ZodUndefined;
|
|
3809
|
+
readonly outputSchema: z.ZodObject<{
|
|
3810
|
+
data: z.ZodArray<z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>>;
|
|
3811
|
+
pagination: z.ZodObject<{
|
|
3812
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
3813
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
3814
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
3815
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
3816
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3817
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3818
|
+
}, z.core.$strip>;
|
|
3819
|
+
}, z.core.$strip>;
|
|
3820
|
+
readonly querySchema: z.ZodObject<{
|
|
3821
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>]>>;
|
|
3822
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3823
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3824
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3825
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3826
|
+
nameSort: z.ZodOptional<z.ZodString>;
|
|
3827
|
+
category: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>>]>>;
|
|
3828
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3829
|
+
application: "application";
|
|
3830
|
+
ecommerce: "ecommerce";
|
|
3831
|
+
deliveroo: "deliveroo";
|
|
3832
|
+
justeat: "justeat";
|
|
3833
|
+
glovo: "glovo";
|
|
3834
|
+
tilby: "tilby";
|
|
3835
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3836
|
+
elephant: "elephant";
|
|
3837
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3838
|
+
application: "application";
|
|
3839
|
+
ecommerce: "ecommerce";
|
|
3840
|
+
deliveroo: "deliveroo";
|
|
3841
|
+
justeat: "justeat";
|
|
3842
|
+
glovo: "glovo";
|
|
3843
|
+
tilby: "tilby";
|
|
3844
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3845
|
+
elephant: "elephant";
|
|
3846
|
+
}>>]>>;
|
|
3847
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3848
|
+
ITEM: "ITEM";
|
|
3849
|
+
CHOICE: "CHOICE";
|
|
3850
|
+
BUNDLE: "BUNDLE";
|
|
3851
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3852
|
+
ITEM: "ITEM";
|
|
3853
|
+
CHOICE: "CHOICE";
|
|
3854
|
+
BUNDLE: "BUNDLE";
|
|
3855
|
+
}>>]>>;
|
|
3856
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3857
|
+
'tags.match': z.ZodOptional<z.ZodEnum<{
|
|
3858
|
+
all: "all";
|
|
3859
|
+
any: "any";
|
|
3860
|
+
}>>;
|
|
3861
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3862
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3863
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3864
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3865
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3866
|
+
'order[nameSort]': z.ZodOptional<z.ZodEnum<{
|
|
3867
|
+
asc: "asc";
|
|
3868
|
+
desc: "desc";
|
|
3869
|
+
}>>;
|
|
3870
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
3871
|
+
asc: "asc";
|
|
3872
|
+
desc: "desc";
|
|
3873
|
+
}>>;
|
|
3874
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
3875
|
+
asc: "asc";
|
|
3876
|
+
desc: "desc";
|
|
3877
|
+
}>>;
|
|
3878
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3879
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
3880
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3881
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
3882
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3883
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
3884
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3885
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
3886
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3887
|
+
}, z.core.$strip>;
|
|
3888
|
+
readonly headersSchema: undefined;
|
|
3889
|
+
readonly listItemSchema: z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>;
|
|
3890
|
+
readonly paginationDefaultEnabled = true;
|
|
3891
|
+
private readonly menuItemCategoryId;
|
|
3892
|
+
constructor(menuItemCategoryId: string, options?: {
|
|
3893
|
+
query?: GetMenuItemsFromMenuItemCategoryQueryParams;
|
|
3894
|
+
});
|
|
3895
|
+
getPath(): string;
|
|
3896
|
+
}
|
|
3897
|
+
|
|
3898
|
+
declare const getMenuItemsFromMenuItemModifierQuerySchema: z.ZodObject<{
|
|
3899
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>]>>;
|
|
3900
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3901
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3902
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3903
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3904
|
+
nameSort: z.ZodOptional<z.ZodString>;
|
|
3905
|
+
category: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>>]>>;
|
|
3906
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3907
|
+
application: "application";
|
|
3908
|
+
ecommerce: "ecommerce";
|
|
3909
|
+
deliveroo: "deliveroo";
|
|
3910
|
+
justeat: "justeat";
|
|
3911
|
+
glovo: "glovo";
|
|
3912
|
+
tilby: "tilby";
|
|
3913
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3914
|
+
elephant: "elephant";
|
|
3915
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3916
|
+
application: "application";
|
|
3917
|
+
ecommerce: "ecommerce";
|
|
3918
|
+
deliveroo: "deliveroo";
|
|
3919
|
+
justeat: "justeat";
|
|
3920
|
+
glovo: "glovo";
|
|
3921
|
+
tilby: "tilby";
|
|
3922
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3923
|
+
elephant: "elephant";
|
|
3924
|
+
}>>]>>;
|
|
3925
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3926
|
+
ITEM: "ITEM";
|
|
3927
|
+
CHOICE: "CHOICE";
|
|
3928
|
+
BUNDLE: "BUNDLE";
|
|
3929
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3930
|
+
ITEM: "ITEM";
|
|
3931
|
+
CHOICE: "CHOICE";
|
|
3932
|
+
BUNDLE: "BUNDLE";
|
|
3933
|
+
}>>]>>;
|
|
3934
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3935
|
+
'tags.match': z.ZodOptional<z.ZodEnum<{
|
|
3936
|
+
all: "all";
|
|
3937
|
+
any: "any";
|
|
3938
|
+
}>>;
|
|
3939
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3940
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3941
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3942
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3943
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3944
|
+
'order[nameSort]': z.ZodOptional<z.ZodEnum<{
|
|
3945
|
+
asc: "asc";
|
|
3946
|
+
desc: "desc";
|
|
3947
|
+
}>>;
|
|
3948
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
3949
|
+
asc: "asc";
|
|
3950
|
+
desc: "desc";
|
|
3951
|
+
}>>;
|
|
3952
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
3953
|
+
asc: "asc";
|
|
3954
|
+
desc: "desc";
|
|
3955
|
+
}>>;
|
|
3956
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3957
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
3958
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3959
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
3960
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3961
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
3962
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3963
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
3964
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3965
|
+
}, z.core.$strip>;
|
|
3966
|
+
type GetMenuItemsFromMenuItemModifierQueryParams = z.infer<typeof getMenuItemsFromMenuItemModifierQuerySchema>;
|
|
3967
|
+
declare const getMenuItemsFromMenuItemModifierInputSchema: z.ZodUndefined;
|
|
3968
|
+
type GetMenuItemsFromMenuItemModifierInput = z.input<typeof getMenuItemsFromMenuItemModifierInputSchema>;
|
|
3969
|
+
declare const getMenuItemsFromMenuItemModifierResponseSchema: z.ZodArray<z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>>;
|
|
3970
|
+
type GetMenuItemsFromMenuItemModifierResponse = z.infer<typeof getMenuItemsFromMenuItemModifierResponseSchema>;
|
|
3971
|
+
declare class GetMenuItemsFromMenuItemModifier extends AbstractApiRequest<typeof getMenuItemsFromMenuItemModifierInputSchema, typeof getMenuItemsFromMenuItemModifierResponseSchema, GetMenuItemsFromMenuItemModifierQueryParams> {
|
|
3972
|
+
readonly method: "GET";
|
|
3973
|
+
readonly contentType: "application/json";
|
|
3974
|
+
readonly accept: "application/json";
|
|
3975
|
+
readonly inputSchema: z.ZodUndefined;
|
|
3976
|
+
readonly outputSchema: z.ZodArray<z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>>;
|
|
3977
|
+
readonly querySchema: z.ZodObject<{
|
|
3978
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>]>>;
|
|
3979
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3980
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3981
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3982
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3983
|
+
nameSort: z.ZodOptional<z.ZodString>;
|
|
3984
|
+
category: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>>]>>;
|
|
3985
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3986
|
+
application: "application";
|
|
3987
|
+
ecommerce: "ecommerce";
|
|
3988
|
+
deliveroo: "deliveroo";
|
|
3989
|
+
justeat: "justeat";
|
|
3990
|
+
glovo: "glovo";
|
|
3991
|
+
tilby: "tilby";
|
|
3992
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
3993
|
+
elephant: "elephant";
|
|
3994
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3995
|
+
application: "application";
|
|
3996
|
+
ecommerce: "ecommerce";
|
|
3997
|
+
deliveroo: "deliveroo";
|
|
3998
|
+
justeat: "justeat";
|
|
3999
|
+
glovo: "glovo";
|
|
4000
|
+
tilby: "tilby";
|
|
4001
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
4002
|
+
elephant: "elephant";
|
|
4003
|
+
}>>]>>;
|
|
4004
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4005
|
+
ITEM: "ITEM";
|
|
4006
|
+
CHOICE: "CHOICE";
|
|
4007
|
+
BUNDLE: "BUNDLE";
|
|
4008
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
4009
|
+
ITEM: "ITEM";
|
|
4010
|
+
CHOICE: "CHOICE";
|
|
4011
|
+
BUNDLE: "BUNDLE";
|
|
4012
|
+
}>>]>>;
|
|
4013
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4014
|
+
'tags.match': z.ZodOptional<z.ZodEnum<{
|
|
4015
|
+
all: "all";
|
|
4016
|
+
any: "any";
|
|
4017
|
+
}>>;
|
|
4018
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4019
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4020
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4021
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4022
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4023
|
+
'order[nameSort]': z.ZodOptional<z.ZodEnum<{
|
|
4024
|
+
asc: "asc";
|
|
4025
|
+
desc: "desc";
|
|
4026
|
+
}>>;
|
|
4027
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
4028
|
+
asc: "asc";
|
|
4029
|
+
desc: "desc";
|
|
4030
|
+
}>>;
|
|
4031
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
4032
|
+
asc: "asc";
|
|
4033
|
+
desc: "desc";
|
|
4034
|
+
}>>;
|
|
4035
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4036
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
4037
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4038
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
4039
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4040
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
4041
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4042
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
4043
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4044
|
+
}, z.core.$strip>;
|
|
4045
|
+
readonly headersSchema: undefined;
|
|
4046
|
+
readonly listItemSchema: z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>;
|
|
4047
|
+
readonly paginationDefaultEnabled = false;
|
|
4048
|
+
private readonly menuItemModifierId;
|
|
4049
|
+
constructor(menuItemModifierId: string, options?: {
|
|
4050
|
+
query?: GetMenuItemsFromMenuItemModifierQueryParams;
|
|
4051
|
+
});
|
|
4052
|
+
getPath(): string;
|
|
4053
|
+
}
|
|
4054
|
+
|
|
4055
|
+
declare const getMenuItemsFromPointOfSaleQuerySchema: z.ZodObject<{
|
|
4056
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>]>>;
|
|
4057
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4058
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4059
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4060
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4061
|
+
nameSort: z.ZodOptional<z.ZodString>;
|
|
4062
|
+
category: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>>]>>;
|
|
4063
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4064
|
+
application: "application";
|
|
4065
|
+
ecommerce: "ecommerce";
|
|
4066
|
+
deliveroo: "deliveroo";
|
|
4067
|
+
justeat: "justeat";
|
|
4068
|
+
glovo: "glovo";
|
|
4069
|
+
tilby: "tilby";
|
|
4070
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
4071
|
+
elephant: "elephant";
|
|
4072
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
4073
|
+
application: "application";
|
|
4074
|
+
ecommerce: "ecommerce";
|
|
4075
|
+
deliveroo: "deliveroo";
|
|
4076
|
+
justeat: "justeat";
|
|
4077
|
+
glovo: "glovo";
|
|
4078
|
+
tilby: "tilby";
|
|
4079
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
4080
|
+
elephant: "elephant";
|
|
4081
|
+
}>>]>>;
|
|
4082
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4083
|
+
ITEM: "ITEM";
|
|
4084
|
+
CHOICE: "CHOICE";
|
|
4085
|
+
BUNDLE: "BUNDLE";
|
|
4086
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
4087
|
+
ITEM: "ITEM";
|
|
4088
|
+
CHOICE: "CHOICE";
|
|
4089
|
+
BUNDLE: "BUNDLE";
|
|
4090
|
+
}>>]>>;
|
|
4091
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4092
|
+
'tags.match': z.ZodOptional<z.ZodEnum<{
|
|
4093
|
+
all: "all";
|
|
4094
|
+
any: "any";
|
|
4095
|
+
}>>;
|
|
4096
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4097
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4098
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4099
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4100
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4101
|
+
'order[nameSort]': z.ZodOptional<z.ZodEnum<{
|
|
4102
|
+
asc: "asc";
|
|
4103
|
+
desc: "desc";
|
|
4104
|
+
}>>;
|
|
4105
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
4106
|
+
asc: "asc";
|
|
4107
|
+
desc: "desc";
|
|
4108
|
+
}>>;
|
|
4109
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
4110
|
+
asc: "asc";
|
|
4111
|
+
desc: "desc";
|
|
4112
|
+
}>>;
|
|
4113
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4114
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
4115
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4116
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
4117
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4118
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
4119
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4120
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
4121
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4122
|
+
}, z.core.$strip>;
|
|
4123
|
+
type GetMenuItemsFromPointOfSaleQueryParams = z.infer<typeof getMenuItemsFromPointOfSaleQuerySchema>;
|
|
4124
|
+
declare const getMenuItemsFromPointOfSaleInputSchema: z.ZodUndefined;
|
|
4125
|
+
type GetMenuItemsFromPointOfSaleInput = z.input<typeof getMenuItemsFromPointOfSaleInputSchema>;
|
|
4126
|
+
declare const getMenuItemsFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
4127
|
+
data: z.ZodArray<z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>>;
|
|
4128
|
+
pagination: z.ZodObject<{
|
|
4129
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
4130
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
4131
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
4132
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
4133
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
4134
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
4135
|
+
}, z.core.$strip>;
|
|
4136
|
+
}, z.core.$strip>;
|
|
4137
|
+
type GetMenuItemsFromPointOfSaleResponse = z.infer<typeof getMenuItemsFromPointOfSaleResponseSchema>;
|
|
4138
|
+
declare class GetMenuItemsFromPointOfSale extends AbstractApiRequest<typeof getMenuItemsFromPointOfSaleInputSchema, typeof getMenuItemsFromPointOfSaleResponseSchema, GetMenuItemsFromPointOfSaleQueryParams> {
|
|
4139
|
+
readonly method: "GET";
|
|
4140
|
+
readonly contentType: "application/json";
|
|
4141
|
+
readonly accept: "application/json";
|
|
4142
|
+
readonly inputSchema: z.ZodUndefined;
|
|
4143
|
+
readonly outputSchema: z.ZodObject<{
|
|
4144
|
+
data: z.ZodArray<z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>>;
|
|
4145
|
+
pagination: z.ZodObject<{
|
|
4146
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
4147
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
4148
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
4149
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
4150
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
4151
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
4152
|
+
}, z.core.$strip>;
|
|
4153
|
+
}, z.core.$strip>;
|
|
4154
|
+
readonly querySchema: z.ZodObject<{
|
|
4155
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>]>>;
|
|
4156
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4157
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4158
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4159
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4160
|
+
nameSort: z.ZodOptional<z.ZodString>;
|
|
4161
|
+
category: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id">, unknown>>>]>>;
|
|
4162
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4163
|
+
application: "application";
|
|
4164
|
+
ecommerce: "ecommerce";
|
|
4165
|
+
deliveroo: "deliveroo";
|
|
4166
|
+
justeat: "justeat";
|
|
4167
|
+
glovo: "glovo";
|
|
4168
|
+
tilby: "tilby";
|
|
4169
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
4170
|
+
elephant: "elephant";
|
|
4171
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
4172
|
+
application: "application";
|
|
4173
|
+
ecommerce: "ecommerce";
|
|
4174
|
+
deliveroo: "deliveroo";
|
|
4175
|
+
justeat: "justeat";
|
|
4176
|
+
glovo: "glovo";
|
|
4177
|
+
tilby: "tilby";
|
|
4178
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
4179
|
+
elephant: "elephant";
|
|
4180
|
+
}>>]>>;
|
|
4181
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4182
|
+
ITEM: "ITEM";
|
|
4183
|
+
CHOICE: "CHOICE";
|
|
4184
|
+
BUNDLE: "BUNDLE";
|
|
4185
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
4186
|
+
ITEM: "ITEM";
|
|
4187
|
+
CHOICE: "CHOICE";
|
|
4188
|
+
BUNDLE: "BUNDLE";
|
|
4189
|
+
}>>]>>;
|
|
4190
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4191
|
+
'tags.match': z.ZodOptional<z.ZodEnum<{
|
|
4192
|
+
all: "all";
|
|
4193
|
+
any: "any";
|
|
4194
|
+
}>>;
|
|
4195
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4196
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4197
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4198
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4199
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4200
|
+
'order[nameSort]': z.ZodOptional<z.ZodEnum<{
|
|
4201
|
+
asc: "asc";
|
|
4202
|
+
desc: "desc";
|
|
4203
|
+
}>>;
|
|
4204
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
4205
|
+
asc: "asc";
|
|
4206
|
+
desc: "desc";
|
|
4207
|
+
}>>;
|
|
4208
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
4209
|
+
asc: "asc";
|
|
4210
|
+
desc: "desc";
|
|
4211
|
+
}>>;
|
|
4212
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4213
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
4214
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4215
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
4216
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4217
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
4218
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4219
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
4220
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4221
|
+
}, z.core.$strip>;
|
|
4222
|
+
readonly headersSchema: undefined;
|
|
4223
|
+
readonly listItemSchema: z.ZodType<MenuItem, unknown, z.core.$ZodTypeInternals<MenuItem, unknown>>;
|
|
4224
|
+
readonly paginationDefaultEnabled = true;
|
|
4225
|
+
private readonly pointOfSaleId;
|
|
4226
|
+
constructor(pointOfSaleId: string, options?: {
|
|
4227
|
+
query?: GetMenuItemsFromPointOfSaleQueryParams;
|
|
4228
|
+
});
|
|
4229
|
+
getPath(): string;
|
|
4230
|
+
}
|
|
4231
|
+
|
|
4232
|
+
declare const getMenuItemTagsFromPointOfSaleInputSchema: z.ZodUndefined;
|
|
4233
|
+
type GetMenuItemTagsFromPointOfSaleInput = z.infer<typeof getMenuItemTagsFromPointOfSaleInputSchema>;
|
|
4234
|
+
declare const getMenuItemTagsFromPointOfSaleResponseSchema: z.ZodArray<z.ZodString>;
|
|
4235
|
+
type GetMenuItemTagsFromPointOfSaleResponse = z.infer<typeof getMenuItemTagsFromPointOfSaleResponseSchema>;
|
|
4236
|
+
declare class GetMenuItemTagsFromPointOfSale extends AbstractApiRequest<typeof getMenuItemTagsFromPointOfSaleInputSchema, typeof getMenuItemTagsFromPointOfSaleResponseSchema> {
|
|
4237
|
+
readonly method = "GET";
|
|
4238
|
+
readonly contentType = "application/json";
|
|
4239
|
+
readonly accept = "application/json";
|
|
4240
|
+
readonly inputSchema: z.ZodUndefined;
|
|
4241
|
+
readonly outputSchema: z.ZodArray<z.ZodString>;
|
|
4242
|
+
readonly querySchema: undefined;
|
|
4243
|
+
readonly headersSchema: undefined;
|
|
4244
|
+
private readonly pointOfSaleId;
|
|
4245
|
+
constructor(pointOfSaleId: string);
|
|
4246
|
+
getPath(): string;
|
|
4247
|
+
}
|
|
4248
|
+
|
|
4249
|
+
declare const updateMenuItemInputSchema: z.ZodObject<{
|
|
4250
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
4251
|
+
ITEM: "ITEM";
|
|
4252
|
+
CHOICE: "CHOICE";
|
|
4253
|
+
BUNDLE: "BUNDLE";
|
|
4254
|
+
}>>;
|
|
4255
|
+
price: z.ZodOptional<z.ZodString>;
|
|
4256
|
+
category: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>>;
|
|
4257
|
+
channels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4258
|
+
application: "application";
|
|
4259
|
+
ecommerce: "ecommerce";
|
|
4260
|
+
deliveroo: "deliveroo";
|
|
4261
|
+
justeat: "justeat";
|
|
4262
|
+
glovo: "glovo";
|
|
4263
|
+
tilby: "tilby";
|
|
4264
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
4265
|
+
elephant: "elephant";
|
|
4266
|
+
}>>>;
|
|
4267
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4268
|
+
name: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4269
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4270
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4271
|
+
}, z.core.$strip>>>;
|
|
4272
|
+
description: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4273
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4274
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4275
|
+
}, z.core.$strip>>>;
|
|
4276
|
+
allergens: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4277
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
4278
|
+
crustaceans: "crustaceans";
|
|
4279
|
+
nuts: "nuts";
|
|
4280
|
+
gluten: "gluten";
|
|
4281
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
4282
|
+
lupins: "lupins";
|
|
4283
|
+
molluscs: "molluscs";
|
|
4284
|
+
mustard: "mustard";
|
|
4285
|
+
fish: "fish";
|
|
4286
|
+
celery: "celery";
|
|
4287
|
+
sesame: "sesame";
|
|
4288
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
4289
|
+
soy: "soy";
|
|
4290
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
4291
|
+
mushrooms: "mushrooms";
|
|
4292
|
+
}>>>;
|
|
4293
|
+
diets: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4294
|
+
vegan: "vegan";
|
|
4295
|
+
vegetarian: "vegetarian";
|
|
4296
|
+
"gluten-free": "gluten-free";
|
|
4297
|
+
"dairy-free": "dairy-free";
|
|
4298
|
+
}>>>;
|
|
4299
|
+
taxRate: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4300
|
+
containsAlcohol: z.ZodOptional<z.ZodBoolean>;
|
|
4301
|
+
countable: z.ZodOptional<z.ZodBoolean>;
|
|
4302
|
+
suspended: z.ZodOptional<z.ZodBoolean>;
|
|
4303
|
+
compositions: z.ZodOptional<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>>;
|
|
4304
|
+
salesPrices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4305
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
4306
|
+
price: z.ZodString;
|
|
4307
|
+
}, z.core.$strip>>>;
|
|
4308
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>>>;
|
|
4309
|
+
}, z.core.$strip>;
|
|
4310
|
+
type UpdateMenuItemInput = z.input<typeof updateMenuItemInputSchema>;
|
|
4311
|
+
declare const updateMenuItemResponseSchema: z.ZodType<MenuItemDetails, unknown, z.core.$ZodTypeInternals<MenuItemDetails, unknown>>;
|
|
4312
|
+
type UpdateMenuItemResponse = z.infer<typeof updateMenuItemResponseSchema>;
|
|
4313
|
+
declare class UpdateMenuItem extends AbstractApiRequest<typeof updateMenuItemInputSchema, typeof updateMenuItemResponseSchema> {
|
|
4314
|
+
readonly method = "PATCH";
|
|
4315
|
+
readonly contentType = "application/merge-patch+json";
|
|
4316
|
+
readonly accept = "application/json";
|
|
4317
|
+
readonly inputSchema: z.ZodObject<{
|
|
4318
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
4319
|
+
ITEM: "ITEM";
|
|
4320
|
+
CHOICE: "CHOICE";
|
|
4321
|
+
BUNDLE: "BUNDLE";
|
|
4322
|
+
}>>;
|
|
4323
|
+
price: z.ZodOptional<z.ZodString>;
|
|
4324
|
+
category: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>>;
|
|
4325
|
+
channels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4326
|
+
application: "application";
|
|
4327
|
+
ecommerce: "ecommerce";
|
|
4328
|
+
deliveroo: "deliveroo";
|
|
4329
|
+
justeat: "justeat";
|
|
4330
|
+
glovo: "glovo";
|
|
4331
|
+
tilby: "tilby";
|
|
4332
|
+
cassa_in_cloud: "cassa_in_cloud";
|
|
4333
|
+
elephant: "elephant";
|
|
4334
|
+
}>>>;
|
|
4335
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4336
|
+
name: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4337
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4338
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4339
|
+
}, z.core.$strip>>>;
|
|
4340
|
+
description: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4341
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4342
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4343
|
+
}, z.core.$strip>>>;
|
|
4344
|
+
allergens: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4345
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
4346
|
+
crustaceans: "crustaceans";
|
|
4347
|
+
nuts: "nuts";
|
|
4348
|
+
gluten: "gluten";
|
|
4349
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
4350
|
+
lupins: "lupins";
|
|
4351
|
+
molluscs: "molluscs";
|
|
4352
|
+
mustard: "mustard";
|
|
4353
|
+
fish: "fish";
|
|
4354
|
+
celery: "celery";
|
|
4355
|
+
sesame: "sesame";
|
|
4356
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
4357
|
+
soy: "soy";
|
|
4358
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
4359
|
+
mushrooms: "mushrooms";
|
|
4360
|
+
}>>>;
|
|
4361
|
+
diets: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
4362
|
+
vegan: "vegan";
|
|
4363
|
+
vegetarian: "vegetarian";
|
|
4364
|
+
"gluten-free": "gluten-free";
|
|
4365
|
+
"dairy-free": "dairy-free";
|
|
4366
|
+
}>>>;
|
|
4367
|
+
taxRate: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4368
|
+
containsAlcohol: z.ZodOptional<z.ZodBoolean>;
|
|
4369
|
+
countable: z.ZodOptional<z.ZodBoolean>;
|
|
4370
|
+
suspended: z.ZodOptional<z.ZodBoolean>;
|
|
4371
|
+
compositions: z.ZodOptional<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>>;
|
|
4372
|
+
salesPrices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4373
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
4374
|
+
price: z.ZodString;
|
|
4375
|
+
}, z.core.$strip>>>;
|
|
4376
|
+
images: z.ZodOptional<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>>>;
|
|
4377
|
+
}, z.core.$strip>;
|
|
4378
|
+
readonly outputSchema: z.ZodType<MenuItemDetails, unknown, z.core.$ZodTypeInternals<MenuItemDetails, unknown>>;
|
|
4379
|
+
readonly querySchema: undefined;
|
|
4380
|
+
readonly headersSchema: undefined;
|
|
4381
|
+
private readonly menuItemId;
|
|
4382
|
+
constructor(menuItemId: string, input: UpdateMenuItemInput);
|
|
4383
|
+
getPath(): string;
|
|
4384
|
+
}
|
|
4385
|
+
|
|
4386
|
+
declare const getMenuVersionDetailsInputSchema: z.ZodUndefined;
|
|
4387
|
+
type GetMenuVersionDetailsInput = z.infer<typeof getMenuVersionDetailsInputSchema>;
|
|
4388
|
+
declare const getMenuVersionDetailsResponseSchema: z.ZodObject<{
|
|
4389
|
+
id: z.ZodString;
|
|
4390
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
4391
|
+
contentUrl: z.ZodURL;
|
|
4392
|
+
filePath: z.ZodString;
|
|
4393
|
+
createdAt: z.ZodString;
|
|
4394
|
+
updatedAt: z.ZodString;
|
|
4395
|
+
}, z.core.$strip>;
|
|
4396
|
+
type GetMenuVersionDetailsResponse = z.infer<typeof getMenuVersionDetailsResponseSchema>;
|
|
4397
|
+
declare class GetMenuVersionDetails extends AbstractApiRequest<typeof getMenuVersionDetailsInputSchema, typeof getMenuVersionDetailsResponseSchema> {
|
|
4398
|
+
readonly method = "GET";
|
|
4399
|
+
readonly contentType = "application/json";
|
|
4400
|
+
readonly accept = "application/json";
|
|
4401
|
+
readonly inputSchema: z.ZodUndefined;
|
|
4402
|
+
readonly outputSchema: z.ZodObject<{
|
|
4403
|
+
id: z.ZodString;
|
|
4404
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
4405
|
+
contentUrl: z.ZodURL;
|
|
4406
|
+
filePath: z.ZodString;
|
|
4407
|
+
createdAt: z.ZodString;
|
|
4408
|
+
updatedAt: z.ZodString;
|
|
4409
|
+
}, z.core.$strip>;
|
|
4410
|
+
readonly querySchema: undefined;
|
|
4411
|
+
readonly headersSchema: undefined;
|
|
4412
|
+
private readonly pointOfSaleId;
|
|
4413
|
+
private readonly menuVersionId;
|
|
4414
|
+
constructor(pointOfSaleId: string, menuVersionId: string);
|
|
4415
|
+
getPath(): string;
|
|
4416
|
+
}
|
|
4417
|
+
|
|
4418
|
+
declare const getMenuVersionsQuerySchema: z.ZodObject<{
|
|
4419
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:pointOfSaleId/menu_versions/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:pointOfSaleId/menu_versions/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:pointOfSaleId/menu_versions/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:pointOfSaleId/menu_versions/:id">, unknown>>>]>>;
|
|
4420
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4421
|
+
}, z.core.$strip>;
|
|
4422
|
+
type GetMenuVersionsQueryParams = z.infer<typeof getMenuVersionsQuerySchema>;
|
|
4423
|
+
declare const getMenuVersionsInputSchema: z.ZodUndefined;
|
|
4424
|
+
type GetMenuVersionsInput = z.input<typeof getMenuVersionsInputSchema>;
|
|
4425
|
+
declare const getMenuVersionsResponseSchema: z.ZodObject<{
|
|
4426
|
+
data: z.ZodArray<z.ZodObject<{
|
|
4427
|
+
id: z.ZodString;
|
|
4428
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
4429
|
+
contentUrl: z.ZodURL;
|
|
4430
|
+
filePath: z.ZodString;
|
|
4431
|
+
createdAt: z.ZodString;
|
|
4432
|
+
updatedAt: z.ZodString;
|
|
4433
|
+
}, z.core.$strip>>;
|
|
4434
|
+
pagination: z.ZodObject<{
|
|
4435
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
4436
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
4437
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
4438
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
4439
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
4440
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
4441
|
+
}, z.core.$strip>;
|
|
4442
|
+
}, z.core.$strip>;
|
|
4443
|
+
type GetMenuVersionsResponse = z.infer<typeof getMenuVersionsResponseSchema>;
|
|
4444
|
+
declare class GetMenuVersions extends AbstractApiRequest<typeof getMenuVersionsInputSchema, typeof getMenuVersionsResponseSchema> {
|
|
4445
|
+
readonly method: "GET";
|
|
4446
|
+
readonly contentType: "application/json";
|
|
4447
|
+
readonly accept: "application/json";
|
|
4448
|
+
readonly inputSchema: z.ZodUndefined;
|
|
4449
|
+
readonly outputSchema: z.ZodObject<{
|
|
4450
|
+
data: z.ZodArray<z.ZodObject<{
|
|
4451
|
+
id: z.ZodString;
|
|
4452
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
4453
|
+
contentUrl: z.ZodURL;
|
|
4454
|
+
filePath: z.ZodString;
|
|
4455
|
+
createdAt: z.ZodString;
|
|
4456
|
+
updatedAt: z.ZodString;
|
|
4457
|
+
}, z.core.$strip>>;
|
|
4458
|
+
pagination: z.ZodObject<{
|
|
4459
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
4460
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
4461
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
4462
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
4463
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
4464
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
4465
|
+
}, z.core.$strip>;
|
|
4466
|
+
}, z.core.$strip>;
|
|
4467
|
+
readonly querySchema: z.ZodObject<{
|
|
4468
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodUUID, z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:pointOfSaleId/menu_versions/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:pointOfSaleId/menu_versions/:id">, unknown>>, z.ZodArray<z.ZodUUID>, z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:pointOfSaleId/menu_versions/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:pointOfSaleId/menu_versions/:id">, unknown>>>]>>;
|
|
4469
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4470
|
+
}, z.core.$strip>;
|
|
4471
|
+
readonly headersSchema: undefined;
|
|
4472
|
+
readonly listItemSchema: z.ZodObject<{
|
|
4473
|
+
id: z.ZodString;
|
|
4474
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
4475
|
+
contentUrl: z.ZodURL;
|
|
4476
|
+
filePath: z.ZodString;
|
|
4477
|
+
createdAt: z.ZodString;
|
|
4478
|
+
updatedAt: z.ZodString;
|
|
4479
|
+
}, z.core.$strip>;
|
|
4480
|
+
readonly paginationDefaultEnabled = true;
|
|
4481
|
+
private readonly pointOfSaleId;
|
|
4482
|
+
constructor(pointOfSaleId: string, options?: {
|
|
4483
|
+
query?: GetMenuVersionsQueryParams;
|
|
4484
|
+
});
|
|
4485
|
+
getPath(): string;
|
|
4486
|
+
}
|
|
4487
|
+
|
|
4488
|
+
export { CreateMenuItem, CreateMenuItemCategory, type CreateMenuItemCategoryInput, type CreateMenuItemCategoryResponse, type CreateMenuItemInput, CreateMenuItemModifier, type CreateMenuItemModifierInput, type CreateMenuItemModifierResponse, CreateMenuItemPriceOverride, type CreateMenuItemPriceOverrideInput, type CreateMenuItemPriceOverrideResponse, type CreateMenuItemResponse, DeleteMenuItem, DeleteMenuItemCategory, DeleteMenuItemModifier, DeleteMenuItemPriceOverride, GetMenuItemCategories, GetMenuItemCategoriesFromPointOfSale, type GetMenuItemCategoriesFromPointOfSaleInput, type GetMenuItemCategoriesFromPointOfSaleQueryParams, type GetMenuItemCategoriesFromPointOfSaleResponse, type GetMenuItemCategoriesInput, type GetMenuItemCategoriesQueryParams, type GetMenuItemCategoriesResponse, GetMenuItemCategoryDetails, type GetMenuItemCategoryDetailsInput, type GetMenuItemCategoryDetailsResponse, GetMenuItemDetails, type GetMenuItemDetailsInput, type GetMenuItemDetailsResponse, GetMenuItemModifierDetails, type GetMenuItemModifierDetailsInput, type GetMenuItemModifierDetailsResponse, GetMenuItemModifiers, GetMenuItemModifiersFromPointOfSale, type GetMenuItemModifiersFromPointOfSaleInput, type GetMenuItemModifiersFromPointOfSaleQueryParams, type GetMenuItemModifiersFromPointOfSaleResponse, type GetMenuItemModifiersInput, type GetMenuItemModifiersQueryParams, type GetMenuItemModifiersResponse, GetMenuItemPriceOverrideDetails, type GetMenuItemPriceOverrideDetailsInput, type GetMenuItemPriceOverrideDetailsResponse, GetMenuItemPriceOverrides, GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifier, type GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierInput, type GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierQueryParams, type GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierResponse, GetMenuItemPriceOverridesAsVariantsFromMenuItem, type GetMenuItemPriceOverridesAsVariantsFromMenuItemInput, type GetMenuItemPriceOverridesAsVariantsFromMenuItemQueryParams, type GetMenuItemPriceOverridesAsVariantsFromMenuItemResponse, GetMenuItemPriceOverridesFromMenuItemModifier, type GetMenuItemPriceOverridesFromMenuItemModifierInput, type GetMenuItemPriceOverridesFromMenuItemModifierQueryParams, type GetMenuItemPriceOverridesFromMenuItemModifierResponse, type GetMenuItemPriceOverridesInput, type GetMenuItemPriceOverridesQueryParams, type GetMenuItemPriceOverridesResponse, GetMenuItemTagsFromPointOfSale, type GetMenuItemTagsFromPointOfSaleInput, type GetMenuItemTagsFromPointOfSaleResponse, GetMenuItems, GetMenuItemsAsChoicesFromMenuItemModifier, type GetMenuItemsAsChoicesFromMenuItemModifierInput, type GetMenuItemsAsChoicesFromMenuItemModifierQueryParams, type GetMenuItemsAsChoicesFromMenuItemModifierResponse, GetMenuItemsFromMenuItemCategory, type GetMenuItemsFromMenuItemCategoryInput, type GetMenuItemsFromMenuItemCategoryQueryParams, type GetMenuItemsFromMenuItemCategoryResponse, GetMenuItemsFromMenuItemModifier, type GetMenuItemsFromMenuItemModifierInput, type GetMenuItemsFromMenuItemModifierQueryParams, type GetMenuItemsFromMenuItemModifierResponse, GetMenuItemsFromPointOfSale, type GetMenuItemsFromPointOfSaleInput, type GetMenuItemsFromPointOfSaleQueryParams, type GetMenuItemsFromPointOfSaleResponse, type GetMenuItemsInput, type GetMenuItemsQueryParams, type GetMenuItemsResponse, GetMenuVersionDetails, type GetMenuVersionDetailsInput, type GetMenuVersionDetailsResponse, GetMenuVersions, type GetMenuVersionsInput, type GetMenuVersionsQueryParams, type GetMenuVersionsResponse, type MenuCategoryDto, type MenuDto, type MenuItem, type MenuItemBundle, type MenuItemBundleDetails, type MenuItemCategoriesQueryParams, type MenuItemCategory, type MenuItemCategoryDetails, type MenuItemCategoryIri, type MenuItemCategoryNullableIri, type MenuItemChoice, type MenuItemChoiceDetails, type MenuItemDetails, type MenuItemDto, type MenuItemIri, type MenuItemItem, type MenuItemItemDetails, type MenuItemModifier, type MenuItemModifierDetails, type MenuItemModifierIri, type MenuItemModifierNullableIri, type MenuItemModifiersQueryParams, type MenuItemNullableIri, type MenuItemPriceOverride, type MenuItemPriceOverrideDetails, type MenuItemPriceOverrideIri, type MenuItemPriceOverrideNullableIri, type MenuItemPriceOverrideSalesPriceIri, type MenuItemPriceOverrideSalesPriceNullableIri, type MenuItemPriceOverridesQueryParams, type MenuItemSalesPriceIri, type MenuItemSalesPriceNullableIri, type MenuItemVariant, type MenuItemsQueryParams, type MenuModifierDto, type MenuPriceDto, type MenuPriceOverrideDto, type MenuVersion, type MenuVersionIri, type MenuVersionNullableIri, UpdateMenuItem, UpdateMenuItemCategory, type UpdateMenuItemCategoryInput, type UpdateMenuItemCategoryResponse, type UpdateMenuItemInput, UpdateMenuItemModifier, type UpdateMenuItemModifierInput, type UpdateMenuItemModifierResponse, UpdateMenuItemPriceOverride, type UpdateMenuItemPriceOverrideInput, type UpdateMenuItemPriceOverrideResponse, type UpdateMenuItemResponse, type WritableMenuItemPriceOverride, createMenuItemCategoryInputSchema, createMenuItemCategoryResponseSchema, createMenuItemInputSchema, createMenuItemModifierInputSchema, createMenuItemModifierResponseSchema, createMenuItemPriceOverrideInputSchema, createMenuItemPriceOverrideResponseSchema, createMenuItemResponseSchema, deleteMenuItemCategoryInputSchema, deleteMenuItemCategoryResponseSchema, deleteMenuItemInputSchema, deleteMenuItemModifierInputSchema, deleteMenuItemModifierResponseSchema, deleteMenuItemPriceOverrideInputSchema, deleteMenuItemPriceOverrideResponseSchema, deleteMenuItemResponseSchema, getMenuItemCategoriesFromPointOfSaleInputSchema, getMenuItemCategoriesFromPointOfSaleQuerySchema, getMenuItemCategoriesFromPointOfSaleResponseSchema, getMenuItemCategoriesInputSchema, getMenuItemCategoriesQuerySchema, getMenuItemCategoriesResponseSchema, getMenuItemCategoryDetailsInputSchema, getMenuItemCategoryDetailsResponseSchema, getMenuItemDetailsInputSchema, getMenuItemDetailsResponseSchema, getMenuItemModifierDetailsInputSchema, getMenuItemModifierDetailsResponseSchema, getMenuItemModifiersFromPointOfSaleInputSchema, getMenuItemModifiersFromPointOfSaleQuerySchema, getMenuItemModifiersFromPointOfSaleResponseSchema, getMenuItemModifiersInputSchema, getMenuItemModifiersQuerySchema, getMenuItemModifiersResponseSchema, getMenuItemPriceOverrideDetailsInputSchema, getMenuItemPriceOverrideDetailsResponseSchema, getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierInputSchema, getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierQuerySchema, getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierResponseSchema, getMenuItemPriceOverridesAsVariantsFromMenuItemInputSchema, getMenuItemPriceOverridesAsVariantsFromMenuItemQuerySchema, getMenuItemPriceOverridesAsVariantsFromMenuItemResponseSchema, getMenuItemPriceOverridesFromMenuItemModifierInputSchema, getMenuItemPriceOverridesFromMenuItemModifierQuerySchema, getMenuItemPriceOverridesFromMenuItemModifierResponseSchema, getMenuItemPriceOverridesInputSchema, getMenuItemPriceOverridesQuerySchema, getMenuItemPriceOverridesResponseSchema, getMenuItemTagsFromPointOfSaleInputSchema, getMenuItemTagsFromPointOfSaleResponseSchema, getMenuItemsAsChoicesFromMenuItemModifierInputSchema, getMenuItemsAsChoicesFromMenuItemModifierQuerySchema, getMenuItemsAsChoicesFromMenuItemModifierResponseSchema, getMenuItemsFromMenuItemCategoryInputSchema, getMenuItemsFromMenuItemCategoryQuerySchema, getMenuItemsFromMenuItemCategoryResponseSchema, getMenuItemsFromMenuItemModifierInputSchema, getMenuItemsFromMenuItemModifierQuerySchema, getMenuItemsFromMenuItemModifierResponseSchema, getMenuItemsFromPointOfSaleInputSchema, getMenuItemsFromPointOfSaleQuerySchema, getMenuItemsFromPointOfSaleResponseSchema, getMenuItemsInputSchema, getMenuItemsQuerySchema, getMenuItemsResponseSchema, getMenuVersionDetailsInputSchema, getMenuVersionDetailsResponseSchema, getMenuVersionsInputSchema, getMenuVersionsQuerySchema, getMenuVersionsResponseSchema, localeItemSchema, menuCategoryDtoSchema, menuDtoSchema, menuItemBundleDetailsSchema, menuItemBundleSchema, menuItemCategoriesQuerySchema, menuItemCategoryDetailsSchema, menuItemCategoryIriSchema, menuItemCategoryNullableIriSchema, menuItemCategorySchema, menuItemChoiceDetailsSchema, menuItemChoiceSchema, menuItemDetailsSchema, menuItemDtoSchema, menuItemIriSchema, menuItemItemDetailsSchema, menuItemItemSchema, menuItemModifierDetailsSchema, menuItemModifierIriSchema, menuItemModifierNullableIriSchema, menuItemModifierSchema, menuItemModifiersQuerySchema, menuItemNullableIriSchema, menuItemPriceOverrideDetailsSchema, menuItemPriceOverrideIriSchema, menuItemPriceOverrideNullableIriSchema, menuItemPriceOverrideSalesPriceIriSchema, menuItemPriceOverrideSalesPriceNullableIriSchema, menuItemPriceOverrideSchema, menuItemPriceOverridesQuerySchema, menuItemSalesPriceIriSchema, menuItemSalesPriceNullableIriSchema, menuItemSchema, menuItemsQuerySchema, menuModifierDtoSchema, menuPriceDtoSchema, menuPriceOverrideDtoSchema, menuVersionIriSchema, menuVersionNullableIriSchema, menuVersionSchema, salesPriceDTOSchema, updateMenuItemCategoryInputSchema, updateMenuItemCategoryResponseSchema, updateMenuItemInputSchema, updateMenuItemModifierInputSchema, updateMenuItemModifierResponseSchema, updateMenuItemPriceOverrideInputSchema, updateMenuItemPriceOverrideResponseSchema, updateMenuItemResponseSchema, writableMenuItemCategorySchema, writableMenuItemModifierSchema, writableMenuItemPriceOverridePartialSchema, writableMenuItemPriceOverrideSchema, writableMenuItemSchema };
|