@deliverart/sdk-js-menu 2.5.29 → 2.5.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +25 -25
- package/dist/index.d.cts +140 -140
- package/dist/index.d.ts +140 -140
- package/dist/index.js +25 -25
- package/package.json +6 -6
package/dist/index.d.cts
CHANGED
|
@@ -37,7 +37,7 @@ declare const localeItemSchema: z.ZodObject<{
|
|
|
37
37
|
}, z.core.$strip>;
|
|
38
38
|
declare const salesPriceDTOSchema: z.ZodObject<{
|
|
39
39
|
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>>;
|
|
40
|
-
price: z.
|
|
40
|
+
price: z.ZodString;
|
|
41
41
|
}, z.core.$strip>;
|
|
42
42
|
declare const menuVersionSchema: z.ZodObject<{
|
|
43
43
|
id: z.ZodString;
|
|
@@ -152,25 +152,25 @@ declare const writableMenuItemSchema: z.ZodObject<{
|
|
|
152
152
|
CHOICE: "CHOICE";
|
|
153
153
|
BUNDLE: "BUNDLE";
|
|
154
154
|
}>;
|
|
155
|
-
price: z.
|
|
155
|
+
price: z.ZodString;
|
|
156
156
|
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>>;
|
|
157
|
-
channels: z.
|
|
157
|
+
channels: z.ZodArray<z.ZodEnum<{
|
|
158
158
|
application: "application";
|
|
159
159
|
ecommerce: "ecommerce";
|
|
160
160
|
deliveroo: "deliveroo";
|
|
161
161
|
justeat: "justeat";
|
|
162
162
|
glovo: "glovo";
|
|
163
|
-
}
|
|
164
|
-
tags: z.
|
|
163
|
+
}>>;
|
|
164
|
+
tags: z.ZodArray<z.ZodString>;
|
|
165
165
|
name: z.ZodArray<z.ZodObject<{
|
|
166
166
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
167
167
|
text: z.ZodNonOptional<z.ZodString>;
|
|
168
168
|
}, z.core.$strip>>;
|
|
169
|
-
description: z.
|
|
169
|
+
description: z.ZodArray<z.ZodObject<{
|
|
170
170
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
171
171
|
text: z.ZodNonOptional<z.ZodString>;
|
|
172
|
-
}, z.core.$strip
|
|
173
|
-
allergens: z.
|
|
172
|
+
}, z.core.$strip>>;
|
|
173
|
+
allergens: z.ZodArray<z.ZodEnum<{
|
|
174
174
|
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
175
175
|
crustaceans: "crustaceans";
|
|
176
176
|
nuts: "nuts";
|
|
@@ -186,24 +186,24 @@ declare const writableMenuItemSchema: z.ZodObject<{
|
|
|
186
186
|
soy: "soy";
|
|
187
187
|
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
188
188
|
mushrooms: "mushrooms";
|
|
189
|
-
}
|
|
190
|
-
diets: z.
|
|
189
|
+
}>>;
|
|
190
|
+
diets: z.ZodArray<z.ZodEnum<{
|
|
191
191
|
vegan: "vegan";
|
|
192
192
|
vegetarian: "vegetarian";
|
|
193
193
|
"gluten-free": "gluten-free";
|
|
194
194
|
"dairy-free": "dairy-free";
|
|
195
|
-
}
|
|
195
|
+
}>>;
|
|
196
196
|
taxRate: z.ZodCoercedNumber<unknown>;
|
|
197
|
-
containsAlcohol: z.
|
|
198
|
-
countable: z.
|
|
199
|
-
suspended: z.
|
|
200
|
-
compositions: z.
|
|
201
|
-
salesPrices: z.
|
|
197
|
+
containsAlcohol: z.ZodBoolean;
|
|
198
|
+
countable: z.ZodBoolean;
|
|
199
|
+
suspended: z.ZodBoolean;
|
|
200
|
+
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>>>;
|
|
201
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
202
202
|
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>>;
|
|
203
|
-
price: z.
|
|
204
|
-
}, z.core.$strip
|
|
203
|
+
price: z.ZodString;
|
|
204
|
+
}, z.core.$strip>>;
|
|
205
205
|
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>>;
|
|
206
|
-
images: z.
|
|
206
|
+
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>>>;
|
|
207
207
|
}, z.core.$strip>;
|
|
208
208
|
declare const menuItemCategorySchema: z.ZodObject<{
|
|
209
209
|
id: z.ZodString;
|
|
@@ -287,7 +287,7 @@ declare const writableMenuItemCategorySchema: z.ZodObject<{
|
|
|
287
287
|
suspended: z.ZodBoolean;
|
|
288
288
|
sorting: z.ZodCoercedNumber<unknown>;
|
|
289
289
|
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>>;
|
|
290
|
-
images: z.
|
|
290
|
+
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>>>;
|
|
291
291
|
}, z.core.$strip>;
|
|
292
292
|
declare const menuItemModifierSchema: z.ZodObject<{
|
|
293
293
|
id: z.ZodString;
|
|
@@ -377,7 +377,7 @@ declare const menuItemPriceOverrideSchema: z.ZodIntersection<z.ZodDiscriminatedU
|
|
|
377
377
|
suspended: z.ZodBoolean;
|
|
378
378
|
salesPrices: z.ZodArray<z.ZodObject<{
|
|
379
379
|
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>>;
|
|
380
|
-
price: z.
|
|
380
|
+
price: z.ZodString;
|
|
381
381
|
}, z.core.$strip>>;
|
|
382
382
|
createdAt: z.ZodString;
|
|
383
383
|
updatedAt: z.ZodString;
|
|
@@ -397,7 +397,7 @@ declare const menuItemPriceOverrideDetailsSchema: z.ZodIntersection<z.ZodDiscrim
|
|
|
397
397
|
suspended: z.ZodBoolean;
|
|
398
398
|
salesPrices: z.ZodArray<z.ZodObject<{
|
|
399
399
|
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>>;
|
|
400
|
-
price: z.
|
|
400
|
+
price: z.ZodString;
|
|
401
401
|
}, z.core.$strip>>;
|
|
402
402
|
createdAt: z.ZodString;
|
|
403
403
|
updatedAt: z.ZodString;
|
|
@@ -411,13 +411,13 @@ declare const writableMenuItemPriceOverrideSchema: z.ZodIntersection<z.ZodDiscri
|
|
|
411
411
|
type: z.ZodLiteral<"MODIFIER">;
|
|
412
412
|
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>>;
|
|
413
413
|
}, z.core.$strip>]>, z.ZodObject<{
|
|
414
|
-
price: z.
|
|
414
|
+
price: z.ZodString;
|
|
415
415
|
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>>;
|
|
416
|
-
suspended: z.
|
|
417
|
-
salesPrices: z.
|
|
416
|
+
suspended: z.ZodBoolean;
|
|
417
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
418
418
|
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>>;
|
|
419
|
-
price: z.
|
|
420
|
-
}, z.core.$strip
|
|
419
|
+
price: z.ZodString;
|
|
420
|
+
}, z.core.$strip>>;
|
|
421
421
|
}, z.core.$strip>>;
|
|
422
422
|
declare const writableMenuItemPriceOverridePartialSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
423
423
|
type: z.ZodLiteral<"ITEM">;
|
|
@@ -427,13 +427,13 @@ declare const writableMenuItemPriceOverridePartialSchema: z.ZodIntersection<z.Zo
|
|
|
427
427
|
type: z.ZodLiteral<"MODIFIER">;
|
|
428
428
|
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>>;
|
|
429
429
|
}, z.core.$strip>]>, z.ZodObject<{
|
|
430
|
-
price: z.ZodOptional<z.
|
|
430
|
+
price: z.ZodOptional<z.ZodString>;
|
|
431
431
|
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>>>;
|
|
432
|
-
suspended: z.ZodOptional<z.
|
|
433
|
-
salesPrices: z.ZodOptional<z.
|
|
432
|
+
suspended: z.ZodOptional<z.ZodBoolean>;
|
|
433
|
+
salesPrices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
434
434
|
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>>;
|
|
435
|
-
price: z.
|
|
436
|
-
}, z.core.$strip
|
|
435
|
+
price: z.ZodString;
|
|
436
|
+
}, z.core.$strip>>>;
|
|
437
437
|
}, z.core.$strip>>;
|
|
438
438
|
type WritableMenuItemPriceOverride = z.infer<typeof writableMenuItemPriceOverrideSchema>;
|
|
439
439
|
declare const menuItemsQuerySchema: z.ZodObject<{
|
|
@@ -855,7 +855,7 @@ declare const createMenuItemCategoryInputSchema: z.ZodObject<{
|
|
|
855
855
|
suspended: z.ZodNonOptional<z.ZodBoolean>;
|
|
856
856
|
sorting: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
857
857
|
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>>>;
|
|
858
|
-
images: z.ZodNonOptional<z.
|
|
858
|
+
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>>>>;
|
|
859
859
|
}, z.core.$strip>;
|
|
860
860
|
type CreateMenuItemCategoryInput = z.input<typeof createMenuItemCategoryInputSchema>;
|
|
861
861
|
declare const createMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
@@ -910,7 +910,7 @@ declare class CreateMenuItemCategory extends AbstractApiRequest<typeof createMen
|
|
|
910
910
|
suspended: z.ZodNonOptional<z.ZodBoolean>;
|
|
911
911
|
sorting: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
912
912
|
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>>>;
|
|
913
|
-
images: z.ZodNonOptional<z.
|
|
913
|
+
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>>>>;
|
|
914
914
|
}, z.core.$strip>;
|
|
915
915
|
readonly outputSchema: z.ZodObject<{
|
|
916
916
|
id: z.ZodString;
|
|
@@ -1350,7 +1350,7 @@ declare const updateMenuItemCategoryInputSchema: z.ZodObject<{
|
|
|
1350
1350
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1351
1351
|
}, z.core.$strip>>>;
|
|
1352
1352
|
suspended: z.ZodOptional<z.ZodBoolean>;
|
|
1353
|
-
images: z.ZodOptional<z.
|
|
1353
|
+
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>>>>;
|
|
1354
1354
|
sorting: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1355
1355
|
}, z.core.$strip>;
|
|
1356
1356
|
type UpdateMenuItemCategoryInput = z.input<typeof updateMenuItemCategoryInputSchema>;
|
|
@@ -1404,7 +1404,7 @@ declare class UpdateMenuItemCategory extends AbstractApiRequest<typeof updateMen
|
|
|
1404
1404
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1405
1405
|
}, z.core.$strip>>>;
|
|
1406
1406
|
suspended: z.ZodOptional<z.ZodBoolean>;
|
|
1407
|
-
images: z.ZodOptional<z.
|
|
1407
|
+
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>>>>;
|
|
1408
1408
|
sorting: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1409
1409
|
}, z.core.$strip>;
|
|
1410
1410
|
readonly outputSchema: z.ZodObject<{
|
|
@@ -2037,13 +2037,13 @@ declare const createMenuItemPriceOverrideInputSchema: z.ZodIntersection<z.ZodDis
|
|
|
2037
2037
|
type: z.ZodLiteral<"MODIFIER">;
|
|
2038
2038
|
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>>;
|
|
2039
2039
|
}, z.core.$strip>]>, z.ZodObject<{
|
|
2040
|
-
price: z.
|
|
2040
|
+
price: z.ZodString;
|
|
2041
2041
|
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>>;
|
|
2042
|
-
suspended: z.
|
|
2043
|
-
salesPrices: z.
|
|
2042
|
+
suspended: z.ZodBoolean;
|
|
2043
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2044
2044
|
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>>;
|
|
2045
|
-
price: z.
|
|
2046
|
-
}, z.core.$strip
|
|
2045
|
+
price: z.ZodString;
|
|
2046
|
+
}, z.core.$strip>>;
|
|
2047
2047
|
}, z.core.$strip>>;
|
|
2048
2048
|
type CreateMenuItemPriceOverrideInput = z.input<typeof createMenuItemPriceOverrideInputSchema>;
|
|
2049
2049
|
declare const createMenuItemPriceOverrideResponseSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2060,7 +2060,7 @@ declare const createMenuItemPriceOverrideResponseSchema: z.ZodIntersection<z.Zod
|
|
|
2060
2060
|
suspended: z.ZodBoolean;
|
|
2061
2061
|
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2062
2062
|
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>>;
|
|
2063
|
-
price: z.
|
|
2063
|
+
price: z.ZodString;
|
|
2064
2064
|
}, z.core.$strip>>;
|
|
2065
2065
|
createdAt: z.ZodString;
|
|
2066
2066
|
updatedAt: z.ZodString;
|
|
@@ -2078,13 +2078,13 @@ declare class CreateMenuItemPriceOverride extends AbstractApiRequest<typeof crea
|
|
|
2078
2078
|
type: z.ZodLiteral<"MODIFIER">;
|
|
2079
2079
|
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>>;
|
|
2080
2080
|
}, z.core.$strip>]>, z.ZodObject<{
|
|
2081
|
-
price: z.
|
|
2081
|
+
price: z.ZodString;
|
|
2082
2082
|
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>>;
|
|
2083
|
-
suspended: z.
|
|
2084
|
-
salesPrices: z.
|
|
2083
|
+
suspended: z.ZodBoolean;
|
|
2084
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2085
2085
|
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>>;
|
|
2086
|
-
price: z.
|
|
2087
|
-
}, z.core.$strip
|
|
2086
|
+
price: z.ZodString;
|
|
2087
|
+
}, z.core.$strip>>;
|
|
2088
2088
|
}, z.core.$strip>>;
|
|
2089
2089
|
readonly outputSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2090
2090
|
type: z.ZodLiteral<"ITEM">;
|
|
@@ -2100,7 +2100,7 @@ declare class CreateMenuItemPriceOverride extends AbstractApiRequest<typeof crea
|
|
|
2100
2100
|
suspended: z.ZodBoolean;
|
|
2101
2101
|
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2102
2102
|
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>>;
|
|
2103
|
-
price: z.
|
|
2103
|
+
price: z.ZodString;
|
|
2104
2104
|
}, z.core.$strip>>;
|
|
2105
2105
|
createdAt: z.ZodString;
|
|
2106
2106
|
updatedAt: z.ZodString;
|
|
@@ -2142,7 +2142,7 @@ declare const getMenuItemPriceOverrideDetailsResponseSchema: z.ZodIntersection<z
|
|
|
2142
2142
|
suspended: z.ZodBoolean;
|
|
2143
2143
|
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2144
2144
|
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>>;
|
|
2145
|
-
price: z.
|
|
2145
|
+
price: z.ZodString;
|
|
2146
2146
|
}, z.core.$strip>>;
|
|
2147
2147
|
createdAt: z.ZodString;
|
|
2148
2148
|
updatedAt: z.ZodString;
|
|
@@ -2167,7 +2167,7 @@ declare class GetMenuItemPriceOverrideDetails extends AbstractApiRequest<typeof
|
|
|
2167
2167
|
suspended: z.ZodBoolean;
|
|
2168
2168
|
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2169
2169
|
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>>;
|
|
2170
|
-
price: z.
|
|
2170
|
+
price: z.ZodString;
|
|
2171
2171
|
}, z.core.$strip>>;
|
|
2172
2172
|
createdAt: z.ZodString;
|
|
2173
2173
|
updatedAt: z.ZodString;
|
|
@@ -2229,7 +2229,7 @@ declare const getMenuItemPriceOverridesResponseSchema: z.ZodObject<{
|
|
|
2229
2229
|
suspended: z.ZodBoolean;
|
|
2230
2230
|
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2231
2231
|
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>>;
|
|
2232
|
-
price: z.
|
|
2232
|
+
price: z.ZodString;
|
|
2233
2233
|
}, z.core.$strip>>;
|
|
2234
2234
|
createdAt: z.ZodString;
|
|
2235
2235
|
updatedAt: z.ZodString;
|
|
@@ -2264,7 +2264,7 @@ declare class GetMenuItemPriceOverrides extends AbstractApiRequest<typeof getMen
|
|
|
2264
2264
|
suspended: z.ZodBoolean;
|
|
2265
2265
|
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2266
2266
|
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>>;
|
|
2267
|
-
price: z.
|
|
2267
|
+
price: z.ZodString;
|
|
2268
2268
|
}, z.core.$strip>>;
|
|
2269
2269
|
createdAt: z.ZodString;
|
|
2270
2270
|
updatedAt: z.ZodString;
|
|
@@ -2367,7 +2367,7 @@ declare const getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierRes
|
|
|
2367
2367
|
suspended: z.ZodBoolean;
|
|
2368
2368
|
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2369
2369
|
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>>;
|
|
2370
|
-
price: z.
|
|
2370
|
+
price: z.ZodString;
|
|
2371
2371
|
}, z.core.$strip>>;
|
|
2372
2372
|
createdAt: z.ZodString;
|
|
2373
2373
|
updatedAt: z.ZodString;
|
|
@@ -2392,7 +2392,7 @@ declare class GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifier ex
|
|
|
2392
2392
|
suspended: z.ZodBoolean;
|
|
2393
2393
|
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2394
2394
|
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>>;
|
|
2395
|
-
price: z.
|
|
2395
|
+
price: z.ZodString;
|
|
2396
2396
|
}, z.core.$strip>>;
|
|
2397
2397
|
createdAt: z.ZodString;
|
|
2398
2398
|
updatedAt: z.ZodString;
|
|
@@ -2487,7 +2487,7 @@ declare const getMenuItemPriceOverridesFromMenuItemModifierResponseSchema: z.Zod
|
|
|
2487
2487
|
suspended: z.ZodBoolean;
|
|
2488
2488
|
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2489
2489
|
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>>;
|
|
2490
|
-
price: z.
|
|
2490
|
+
price: z.ZodString;
|
|
2491
2491
|
}, z.core.$strip>>;
|
|
2492
2492
|
createdAt: z.ZodString;
|
|
2493
2493
|
updatedAt: z.ZodString;
|
|
@@ -2512,7 +2512,7 @@ declare class GetMenuItemPriceOverridesFromMenuItemModifier extends AbstractApiR
|
|
|
2512
2512
|
suspended: z.ZodBoolean;
|
|
2513
2513
|
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2514
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.
|
|
2515
|
+
price: z.ZodString;
|
|
2516
2516
|
}, z.core.$strip>>;
|
|
2517
2517
|
createdAt: z.ZodString;
|
|
2518
2518
|
updatedAt: z.ZodString;
|
|
@@ -2566,13 +2566,13 @@ declare const updateMenuItemPriceOverrideInputSchema: z.ZodIntersection<z.ZodDis
|
|
|
2566
2566
|
type: z.ZodLiteral<"MODIFIER">;
|
|
2567
2567
|
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>>;
|
|
2568
2568
|
}, z.core.$strip>]>, z.ZodObject<{
|
|
2569
|
-
price: z.ZodOptional<z.
|
|
2569
|
+
price: z.ZodOptional<z.ZodString>;
|
|
2570
2570
|
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>>>;
|
|
2571
|
-
suspended: z.ZodOptional<z.
|
|
2572
|
-
salesPrices: z.ZodOptional<z.
|
|
2571
|
+
suspended: z.ZodOptional<z.ZodBoolean>;
|
|
2572
|
+
salesPrices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2573
2573
|
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>>;
|
|
2574
|
-
price: z.
|
|
2575
|
-
}, z.core.$strip
|
|
2574
|
+
price: z.ZodString;
|
|
2575
|
+
}, z.core.$strip>>>;
|
|
2576
2576
|
}, z.core.$strip>>;
|
|
2577
2577
|
type UpdateMenuItemPriceOverrideInput = z.input<typeof updateMenuItemPriceOverrideInputSchema>;
|
|
2578
2578
|
declare const updateMenuItemPriceOverrideResponseSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2589,7 +2589,7 @@ declare const updateMenuItemPriceOverrideResponseSchema: z.ZodIntersection<z.Zod
|
|
|
2589
2589
|
suspended: z.ZodBoolean;
|
|
2590
2590
|
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2591
2591
|
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>>;
|
|
2592
|
-
price: z.
|
|
2592
|
+
price: z.ZodString;
|
|
2593
2593
|
}, z.core.$strip>>;
|
|
2594
2594
|
createdAt: z.ZodString;
|
|
2595
2595
|
updatedAt: z.ZodString;
|
|
@@ -2607,13 +2607,13 @@ declare class UpdateMenuItemPriceOverride extends AbstractApiRequest<typeof upda
|
|
|
2607
2607
|
type: z.ZodLiteral<"MODIFIER">;
|
|
2608
2608
|
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>>;
|
|
2609
2609
|
}, z.core.$strip>]>, z.ZodObject<{
|
|
2610
|
-
price: z.ZodOptional<z.
|
|
2610
|
+
price: z.ZodOptional<z.ZodString>;
|
|
2611
2611
|
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>>>;
|
|
2612
|
-
suspended: z.ZodOptional<z.
|
|
2613
|
-
salesPrices: z.ZodOptional<z.
|
|
2612
|
+
suspended: z.ZodOptional<z.ZodBoolean>;
|
|
2613
|
+
salesPrices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2614
2614
|
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>>;
|
|
2615
|
-
price: z.
|
|
2616
|
-
}, z.core.$strip
|
|
2615
|
+
price: z.ZodString;
|
|
2616
|
+
}, z.core.$strip>>>;
|
|
2617
2617
|
}, z.core.$strip>>;
|
|
2618
2618
|
readonly outputSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2619
2619
|
type: z.ZodLiteral<"ITEM">;
|
|
@@ -2629,7 +2629,7 @@ declare class UpdateMenuItemPriceOverride extends AbstractApiRequest<typeof upda
|
|
|
2629
2629
|
suspended: z.ZodBoolean;
|
|
2630
2630
|
salesPrices: z.ZodArray<z.ZodObject<{
|
|
2631
2631
|
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>>;
|
|
2632
|
-
price: z.
|
|
2632
|
+
price: z.ZodString;
|
|
2633
2633
|
}, z.core.$strip>>;
|
|
2634
2634
|
createdAt: z.ZodString;
|
|
2635
2635
|
updatedAt: z.ZodString;
|
|
@@ -2647,25 +2647,25 @@ declare const createMenuItemInputSchema: z.ZodObject<{
|
|
|
2647
2647
|
CHOICE: "CHOICE";
|
|
2648
2648
|
BUNDLE: "BUNDLE";
|
|
2649
2649
|
}>>;
|
|
2650
|
-
price: z.ZodNonOptional<z.
|
|
2650
|
+
price: z.ZodNonOptional<z.ZodString>;
|
|
2651
2651
|
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>>>;
|
|
2652
|
-
channels: z.ZodNonOptional<z.
|
|
2652
|
+
channels: z.ZodNonOptional<z.ZodArray<z.ZodEnum<{
|
|
2653
2653
|
application: "application";
|
|
2654
2654
|
ecommerce: "ecommerce";
|
|
2655
2655
|
deliveroo: "deliveroo";
|
|
2656
2656
|
justeat: "justeat";
|
|
2657
2657
|
glovo: "glovo";
|
|
2658
|
-
}
|
|
2659
|
-
tags: z.ZodNonOptional<z.
|
|
2658
|
+
}>>>;
|
|
2659
|
+
tags: z.ZodNonOptional<z.ZodArray<z.ZodString>>;
|
|
2660
2660
|
name: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
2661
2661
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2662
2662
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2663
2663
|
}, z.core.$strip>>>;
|
|
2664
|
-
description: z.ZodNonOptional<z.
|
|
2664
|
+
description: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
2665
2665
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2666
2666
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2667
|
-
}, z.core.$strip
|
|
2668
|
-
allergens: z.ZodNonOptional<z.
|
|
2667
|
+
}, z.core.$strip>>>;
|
|
2668
|
+
allergens: z.ZodNonOptional<z.ZodArray<z.ZodEnum<{
|
|
2669
2669
|
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
2670
2670
|
crustaceans: "crustaceans";
|
|
2671
2671
|
nuts: "nuts";
|
|
@@ -2681,24 +2681,24 @@ declare const createMenuItemInputSchema: z.ZodObject<{
|
|
|
2681
2681
|
soy: "soy";
|
|
2682
2682
|
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
2683
2683
|
mushrooms: "mushrooms";
|
|
2684
|
-
}
|
|
2685
|
-
diets: z.ZodNonOptional<z.
|
|
2684
|
+
}>>>;
|
|
2685
|
+
diets: z.ZodNonOptional<z.ZodArray<z.ZodEnum<{
|
|
2686
2686
|
vegan: "vegan";
|
|
2687
2687
|
vegetarian: "vegetarian";
|
|
2688
2688
|
"gluten-free": "gluten-free";
|
|
2689
2689
|
"dairy-free": "dairy-free";
|
|
2690
|
-
}
|
|
2690
|
+
}>>>;
|
|
2691
2691
|
taxRate: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
2692
|
-
containsAlcohol: z.ZodNonOptional<z.
|
|
2693
|
-
countable: z.ZodNonOptional<z.
|
|
2694
|
-
suspended: z.ZodNonOptional<z.
|
|
2695
|
-
compositions: z.ZodNonOptional<z.
|
|
2696
|
-
salesPrices: z.ZodNonOptional<z.
|
|
2692
|
+
containsAlcohol: z.ZodNonOptional<z.ZodBoolean>;
|
|
2693
|
+
countable: z.ZodNonOptional<z.ZodBoolean>;
|
|
2694
|
+
suspended: z.ZodNonOptional<z.ZodBoolean>;
|
|
2695
|
+
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>>>>;
|
|
2696
|
+
salesPrices: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
2697
2697
|
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>>;
|
|
2698
|
-
price: z.
|
|
2699
|
-
}, z.core.$strip
|
|
2698
|
+
price: z.ZodString;
|
|
2699
|
+
}, z.core.$strip>>>;
|
|
2700
2700
|
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>>>;
|
|
2701
|
-
images: z.ZodNonOptional<z.
|
|
2701
|
+
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>>>>;
|
|
2702
2702
|
}, z.core.$strip>;
|
|
2703
2703
|
type CreateMenuItemInput = z.input<typeof createMenuItemInputSchema>;
|
|
2704
2704
|
declare const createMenuItemResponseSchema: z.ZodType<MenuItemDetails, unknown, z.core.$ZodTypeInternals<MenuItemDetails, unknown>>;
|
|
@@ -2713,25 +2713,25 @@ declare class CreateMenuItem extends AbstractApiRequest<typeof createMenuItemInp
|
|
|
2713
2713
|
CHOICE: "CHOICE";
|
|
2714
2714
|
BUNDLE: "BUNDLE";
|
|
2715
2715
|
}>>;
|
|
2716
|
-
price: z.ZodNonOptional<z.
|
|
2716
|
+
price: z.ZodNonOptional<z.ZodString>;
|
|
2717
2717
|
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>>>;
|
|
2718
|
-
channels: z.ZodNonOptional<z.
|
|
2718
|
+
channels: z.ZodNonOptional<z.ZodArray<z.ZodEnum<{
|
|
2719
2719
|
application: "application";
|
|
2720
2720
|
ecommerce: "ecommerce";
|
|
2721
2721
|
deliveroo: "deliveroo";
|
|
2722
2722
|
justeat: "justeat";
|
|
2723
2723
|
glovo: "glovo";
|
|
2724
|
-
}
|
|
2725
|
-
tags: z.ZodNonOptional<z.
|
|
2724
|
+
}>>>;
|
|
2725
|
+
tags: z.ZodNonOptional<z.ZodArray<z.ZodString>>;
|
|
2726
2726
|
name: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
2727
2727
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2728
2728
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2729
2729
|
}, z.core.$strip>>>;
|
|
2730
|
-
description: z.ZodNonOptional<z.
|
|
2730
|
+
description: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
2731
2731
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2732
2732
|
text: z.ZodNonOptional<z.ZodString>;
|
|
2733
|
-
}, z.core.$strip
|
|
2734
|
-
allergens: z.ZodNonOptional<z.
|
|
2733
|
+
}, z.core.$strip>>>;
|
|
2734
|
+
allergens: z.ZodNonOptional<z.ZodArray<z.ZodEnum<{
|
|
2735
2735
|
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
2736
2736
|
crustaceans: "crustaceans";
|
|
2737
2737
|
nuts: "nuts";
|
|
@@ -2747,24 +2747,24 @@ declare class CreateMenuItem extends AbstractApiRequest<typeof createMenuItemInp
|
|
|
2747
2747
|
soy: "soy";
|
|
2748
2748
|
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
2749
2749
|
mushrooms: "mushrooms";
|
|
2750
|
-
}
|
|
2751
|
-
diets: z.ZodNonOptional<z.
|
|
2750
|
+
}>>>;
|
|
2751
|
+
diets: z.ZodNonOptional<z.ZodArray<z.ZodEnum<{
|
|
2752
2752
|
vegan: "vegan";
|
|
2753
2753
|
vegetarian: "vegetarian";
|
|
2754
2754
|
"gluten-free": "gluten-free";
|
|
2755
2755
|
"dairy-free": "dairy-free";
|
|
2756
|
-
}
|
|
2756
|
+
}>>>;
|
|
2757
2757
|
taxRate: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
2758
|
-
containsAlcohol: z.ZodNonOptional<z.
|
|
2759
|
-
countable: z.ZodNonOptional<z.
|
|
2760
|
-
suspended: z.ZodNonOptional<z.
|
|
2761
|
-
compositions: z.ZodNonOptional<z.
|
|
2762
|
-
salesPrices: z.ZodNonOptional<z.
|
|
2758
|
+
containsAlcohol: z.ZodNonOptional<z.ZodBoolean>;
|
|
2759
|
+
countable: z.ZodNonOptional<z.ZodBoolean>;
|
|
2760
|
+
suspended: z.ZodNonOptional<z.ZodBoolean>;
|
|
2761
|
+
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>>>>;
|
|
2762
|
+
salesPrices: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
2763
2763
|
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>>;
|
|
2764
|
-
price: z.
|
|
2765
|
-
}, z.core.$strip
|
|
2764
|
+
price: z.ZodString;
|
|
2765
|
+
}, z.core.$strip>>>;
|
|
2766
2766
|
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>>>;
|
|
2767
|
-
images: z.ZodNonOptional<z.
|
|
2767
|
+
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>>>>;
|
|
2768
2768
|
}, z.core.$strip>;
|
|
2769
2769
|
readonly outputSchema: z.ZodType<MenuItemDetails, unknown, z.core.$ZodTypeInternals<MenuItemDetails, unknown>>;
|
|
2770
2770
|
readonly querySchema: undefined;
|
|
@@ -3537,25 +3537,25 @@ declare const updateMenuItemInputSchema: z.ZodObject<{
|
|
|
3537
3537
|
CHOICE: "CHOICE";
|
|
3538
3538
|
BUNDLE: "BUNDLE";
|
|
3539
3539
|
}>>;
|
|
3540
|
-
price: z.ZodOptional<z.
|
|
3540
|
+
price: z.ZodOptional<z.ZodString>;
|
|
3541
3541
|
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>>>;
|
|
3542
|
-
channels: z.ZodOptional<z.
|
|
3542
|
+
channels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3543
3543
|
application: "application";
|
|
3544
3544
|
ecommerce: "ecommerce";
|
|
3545
3545
|
deliveroo: "deliveroo";
|
|
3546
3546
|
justeat: "justeat";
|
|
3547
3547
|
glovo: "glovo";
|
|
3548
|
-
}
|
|
3549
|
-
tags: z.ZodOptional<z.
|
|
3548
|
+
}>>>;
|
|
3549
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3550
3550
|
name: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3551
3551
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
3552
3552
|
text: z.ZodNonOptional<z.ZodString>;
|
|
3553
3553
|
}, z.core.$strip>>>;
|
|
3554
|
-
description: z.ZodOptional<z.
|
|
3554
|
+
description: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3555
3555
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
3556
3556
|
text: z.ZodNonOptional<z.ZodString>;
|
|
3557
|
-
}, z.core.$strip
|
|
3558
|
-
allergens: z.ZodOptional<z.
|
|
3557
|
+
}, z.core.$strip>>>;
|
|
3558
|
+
allergens: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3559
3559
|
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
3560
3560
|
crustaceans: "crustaceans";
|
|
3561
3561
|
nuts: "nuts";
|
|
@@ -3571,23 +3571,23 @@ declare const updateMenuItemInputSchema: z.ZodObject<{
|
|
|
3571
3571
|
soy: "soy";
|
|
3572
3572
|
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
3573
3573
|
mushrooms: "mushrooms";
|
|
3574
|
-
}
|
|
3575
|
-
diets: z.ZodOptional<z.
|
|
3574
|
+
}>>>;
|
|
3575
|
+
diets: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3576
3576
|
vegan: "vegan";
|
|
3577
3577
|
vegetarian: "vegetarian";
|
|
3578
3578
|
"gluten-free": "gluten-free";
|
|
3579
3579
|
"dairy-free": "dairy-free";
|
|
3580
|
-
}
|
|
3580
|
+
}>>>;
|
|
3581
3581
|
taxRate: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3582
|
-
containsAlcohol: z.ZodOptional<z.
|
|
3583
|
-
countable: z.ZodOptional<z.
|
|
3584
|
-
suspended: z.ZodOptional<z.
|
|
3585
|
-
compositions: z.ZodOptional<z.
|
|
3586
|
-
salesPrices: z.ZodOptional<z.
|
|
3582
|
+
containsAlcohol: z.ZodOptional<z.ZodBoolean>;
|
|
3583
|
+
countable: z.ZodOptional<z.ZodBoolean>;
|
|
3584
|
+
suspended: z.ZodOptional<z.ZodBoolean>;
|
|
3585
|
+
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>>>>;
|
|
3586
|
+
salesPrices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3587
3587
|
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>>;
|
|
3588
|
-
price: z.
|
|
3589
|
-
}, z.core.$strip
|
|
3590
|
-
images: z.ZodOptional<z.
|
|
3588
|
+
price: z.ZodString;
|
|
3589
|
+
}, z.core.$strip>>>;
|
|
3590
|
+
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>>>>;
|
|
3591
3591
|
}, z.core.$strip>;
|
|
3592
3592
|
type UpdateMenuItemInput = z.input<typeof updateMenuItemInputSchema>;
|
|
3593
3593
|
declare const updateMenuItemResponseSchema: z.ZodType<MenuItemDetails, unknown, z.core.$ZodTypeInternals<MenuItemDetails, unknown>>;
|
|
@@ -3602,25 +3602,25 @@ declare class UpdateMenuItem extends AbstractApiRequest<typeof updateMenuItemInp
|
|
|
3602
3602
|
CHOICE: "CHOICE";
|
|
3603
3603
|
BUNDLE: "BUNDLE";
|
|
3604
3604
|
}>>;
|
|
3605
|
-
price: z.ZodOptional<z.
|
|
3605
|
+
price: z.ZodOptional<z.ZodString>;
|
|
3606
3606
|
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>>>;
|
|
3607
|
-
channels: z.ZodOptional<z.
|
|
3607
|
+
channels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3608
3608
|
application: "application";
|
|
3609
3609
|
ecommerce: "ecommerce";
|
|
3610
3610
|
deliveroo: "deliveroo";
|
|
3611
3611
|
justeat: "justeat";
|
|
3612
3612
|
glovo: "glovo";
|
|
3613
|
-
}
|
|
3614
|
-
tags: z.ZodOptional<z.
|
|
3613
|
+
}>>>;
|
|
3614
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3615
3615
|
name: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3616
3616
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
3617
3617
|
text: z.ZodNonOptional<z.ZodString>;
|
|
3618
3618
|
}, z.core.$strip>>>;
|
|
3619
|
-
description: z.ZodOptional<z.
|
|
3619
|
+
description: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3620
3620
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
3621
3621
|
text: z.ZodNonOptional<z.ZodString>;
|
|
3622
|
-
}, z.core.$strip
|
|
3623
|
-
allergens: z.ZodOptional<z.
|
|
3622
|
+
}, z.core.$strip>>>;
|
|
3623
|
+
allergens: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3624
3624
|
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
3625
3625
|
crustaceans: "crustaceans";
|
|
3626
3626
|
nuts: "nuts";
|
|
@@ -3636,23 +3636,23 @@ declare class UpdateMenuItem extends AbstractApiRequest<typeof updateMenuItemInp
|
|
|
3636
3636
|
soy: "soy";
|
|
3637
3637
|
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
3638
3638
|
mushrooms: "mushrooms";
|
|
3639
|
-
}
|
|
3640
|
-
diets: z.ZodOptional<z.
|
|
3639
|
+
}>>>;
|
|
3640
|
+
diets: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
3641
3641
|
vegan: "vegan";
|
|
3642
3642
|
vegetarian: "vegetarian";
|
|
3643
3643
|
"gluten-free": "gluten-free";
|
|
3644
3644
|
"dairy-free": "dairy-free";
|
|
3645
|
-
}
|
|
3645
|
+
}>>>;
|
|
3646
3646
|
taxRate: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3647
|
-
containsAlcohol: z.ZodOptional<z.
|
|
3648
|
-
countable: z.ZodOptional<z.
|
|
3649
|
-
suspended: z.ZodOptional<z.
|
|
3650
|
-
compositions: z.ZodOptional<z.
|
|
3651
|
-
salesPrices: z.ZodOptional<z.
|
|
3647
|
+
containsAlcohol: z.ZodOptional<z.ZodBoolean>;
|
|
3648
|
+
countable: z.ZodOptional<z.ZodBoolean>;
|
|
3649
|
+
suspended: z.ZodOptional<z.ZodBoolean>;
|
|
3650
|
+
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>>>>;
|
|
3651
|
+
salesPrices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3652
3652
|
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>>;
|
|
3653
|
-
price: z.
|
|
3654
|
-
}, z.core.$strip
|
|
3655
|
-
images: z.ZodOptional<z.
|
|
3653
|
+
price: z.ZodString;
|
|
3654
|
+
}, z.core.$strip>>>;
|
|
3655
|
+
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>>>>;
|
|
3656
3656
|
}, z.core.$strip>;
|
|
3657
3657
|
readonly outputSchema: z.ZodType<MenuItemDetails, unknown, z.core.$ZodTypeInternals<MenuItemDetails, unknown>>;
|
|
3658
3658
|
readonly querySchema: undefined;
|