@deliverart/sdk-js-menu 2.5.8 → 2.5.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +159 -23
- package/dist/index.d.cts +1656 -277
- package/dist/index.d.ts +1656 -277
- package/dist/index.js +143 -23
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -1078,7 +1078,6 @@ declare const writableMenuItemCategorySchema: z.ZodObject<{
|
|
|
1078
1078
|
}, z.core.$strip>;
|
|
1079
1079
|
declare const menuItemModifierSchema: z.ZodObject<{
|
|
1080
1080
|
id: z.ZodString;
|
|
1081
|
-
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>>;
|
|
1082
1081
|
name: z.ZodArray<z.ZodObject<{
|
|
1083
1082
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1084
1083
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -1101,7 +1100,6 @@ declare const menuItemModifierSchema: z.ZodObject<{
|
|
|
1101
1100
|
type MenuItemModifier = z.infer<typeof menuItemModifierSchema>;
|
|
1102
1101
|
declare const menuItemModifierDetailsSchema: z.ZodObject<{
|
|
1103
1102
|
id: z.ZodString;
|
|
1104
|
-
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>>;
|
|
1105
1103
|
name: z.ZodArray<z.ZodObject<{
|
|
1106
1104
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1107
1105
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -1120,10 +1118,10 @@ declare const menuItemModifierDetailsSchema: z.ZodObject<{
|
|
|
1120
1118
|
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>>>;
|
|
1121
1119
|
createdAt: z.ZodString;
|
|
1122
1120
|
updatedAt: z.ZodString;
|
|
1121
|
+
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>>;
|
|
1123
1122
|
}, z.core.$strip>;
|
|
1124
1123
|
type MenuItemModifierDetails = z.infer<typeof menuItemModifierDetailsSchema>;
|
|
1125
1124
|
declare const writableMenuItemModifierSchema: z.ZodObject<{
|
|
1126
|
-
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>>;
|
|
1127
1125
|
name: z.ZodArray<z.ZodObject<{
|
|
1128
1126
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1129
1127
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -1138,6 +1136,7 @@ declare const writableMenuItemModifierSchema: z.ZodObject<{
|
|
|
1138
1136
|
maxSelection: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
1139
1137
|
repeatable: z.ZodBoolean;
|
|
1140
1138
|
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>>>;
|
|
1139
|
+
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>>;
|
|
1141
1140
|
}, z.core.$strip>;
|
|
1142
1141
|
declare const menuItemPriceOverrideSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1143
1142
|
type: z.ZodLiteral<"ITEM">;
|
|
@@ -2205,7 +2204,6 @@ declare class UpdateMenuItemCategory extends AbstractApiRequest<typeof updateMen
|
|
|
2205
2204
|
}
|
|
2206
2205
|
|
|
2207
2206
|
declare const createMenuItemModifierInputSchema: z.ZodObject<{
|
|
2208
|
-
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>>>;
|
|
2209
2207
|
name: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
2210
2208
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2211
2209
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -2220,11 +2218,11 @@ declare const createMenuItemModifierInputSchema: z.ZodObject<{
|
|
|
2220
2218
|
maxSelection: z.ZodNonOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
2221
2219
|
repeatable: z.ZodNonOptional<z.ZodBoolean>;
|
|
2222
2220
|
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>>>>;
|
|
2221
|
+
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>>>;
|
|
2223
2222
|
}, z.core.$strip>;
|
|
2224
2223
|
type CreateMenuItemModifierInput = z.input<typeof createMenuItemModifierInputSchema>;
|
|
2225
2224
|
declare const createMenuItemModifierResponseSchema: z.ZodObject<{
|
|
2226
2225
|
id: z.ZodString;
|
|
2227
|
-
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>>;
|
|
2228
2226
|
name: z.ZodArray<z.ZodObject<{
|
|
2229
2227
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2230
2228
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -2243,6 +2241,7 @@ declare const createMenuItemModifierResponseSchema: z.ZodObject<{
|
|
|
2243
2241
|
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>>>;
|
|
2244
2242
|
createdAt: z.ZodString;
|
|
2245
2243
|
updatedAt: z.ZodString;
|
|
2244
|
+
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>>;
|
|
2246
2245
|
}, z.core.$strip>;
|
|
2247
2246
|
type CreateMenuItemModifierResponse = z.output<typeof createMenuItemModifierResponseSchema>;
|
|
2248
2247
|
declare class CreateMenuItemModifier extends AbstractApiRequest<typeof createMenuItemModifierInputSchema, typeof createMenuItemModifierResponseSchema> {
|
|
@@ -2250,7 +2249,6 @@ declare class CreateMenuItemModifier extends AbstractApiRequest<typeof createMen
|
|
|
2250
2249
|
readonly contentType = "application/json";
|
|
2251
2250
|
readonly accept = "application/json";
|
|
2252
2251
|
readonly inputSchema: z.ZodObject<{
|
|
2253
|
-
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>>>;
|
|
2254
2252
|
name: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
2255
2253
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2256
2254
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -2265,10 +2263,10 @@ declare class CreateMenuItemModifier extends AbstractApiRequest<typeof createMen
|
|
|
2265
2263
|
maxSelection: z.ZodNonOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
2266
2264
|
repeatable: z.ZodNonOptional<z.ZodBoolean>;
|
|
2267
2265
|
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>>>>;
|
|
2266
|
+
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>>>;
|
|
2268
2267
|
}, z.core.$strip>;
|
|
2269
2268
|
readonly outputSchema: z.ZodObject<{
|
|
2270
2269
|
id: z.ZodString;
|
|
2271
|
-
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>>;
|
|
2272
2270
|
name: z.ZodArray<z.ZodObject<{
|
|
2273
2271
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2274
2272
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -2287,6 +2285,7 @@ declare class CreateMenuItemModifier extends AbstractApiRequest<typeof createMen
|
|
|
2287
2285
|
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>>>;
|
|
2288
2286
|
createdAt: z.ZodString;
|
|
2289
2287
|
updatedAt: z.ZodString;
|
|
2288
|
+
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>>;
|
|
2290
2289
|
}, z.core.$strip>;
|
|
2291
2290
|
readonly querySchema: undefined;
|
|
2292
2291
|
readonly headersSchema: undefined;
|
|
@@ -2313,7 +2312,6 @@ declare const getMenuItemModifierDetailsInputSchema: z.ZodUndefined;
|
|
|
2313
2312
|
type GetMenuItemModifierDetailsInput = z.infer<typeof getMenuItemModifierDetailsInputSchema>;
|
|
2314
2313
|
declare const getMenuItemModifierDetailsResponseSchema: z.ZodObject<{
|
|
2315
2314
|
id: z.ZodString;
|
|
2316
|
-
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>>;
|
|
2317
2315
|
name: z.ZodArray<z.ZodObject<{
|
|
2318
2316
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2319
2317
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -2332,6 +2330,7 @@ declare const getMenuItemModifierDetailsResponseSchema: z.ZodObject<{
|
|
|
2332
2330
|
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>>>;
|
|
2333
2331
|
createdAt: z.ZodString;
|
|
2334
2332
|
updatedAt: z.ZodString;
|
|
2333
|
+
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>>;
|
|
2335
2334
|
}, z.core.$strip>;
|
|
2336
2335
|
type GetMenuItemModifierDetailsResponse = z.infer<typeof getMenuItemModifierDetailsResponseSchema>;
|
|
2337
2336
|
declare class GetMenuItemModifierDetails extends AbstractApiRequest<typeof getMenuItemModifierDetailsInputSchema, typeof getMenuItemModifierDetailsResponseSchema> {
|
|
@@ -2341,7 +2340,6 @@ declare class GetMenuItemModifierDetails extends AbstractApiRequest<typeof getMe
|
|
|
2341
2340
|
readonly inputSchema: z.ZodUndefined;
|
|
2342
2341
|
readonly outputSchema: z.ZodObject<{
|
|
2343
2342
|
id: z.ZodString;
|
|
2344
|
-
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>>;
|
|
2345
2343
|
name: z.ZodArray<z.ZodObject<{
|
|
2346
2344
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2347
2345
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -2360,6 +2358,7 @@ declare class GetMenuItemModifierDetails extends AbstractApiRequest<typeof getMe
|
|
|
2360
2358
|
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>>>;
|
|
2361
2359
|
createdAt: z.ZodString;
|
|
2362
2360
|
updatedAt: z.ZodString;
|
|
2361
|
+
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>>;
|
|
2363
2362
|
}, z.core.$strip>;
|
|
2364
2363
|
readonly querySchema: undefined;
|
|
2365
2364
|
readonly headersSchema: undefined;
|
|
@@ -2400,7 +2399,6 @@ type GetMenuItemModifiersInput = z.input<typeof getMenuItemModifiersInputSchema>
|
|
|
2400
2399
|
declare const getMenuItemModifiersResponseSchema: z.ZodObject<{
|
|
2401
2400
|
data: z.ZodArray<z.ZodObject<{
|
|
2402
2401
|
id: z.ZodString;
|
|
2403
|
-
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>>;
|
|
2404
2402
|
name: z.ZodArray<z.ZodObject<{
|
|
2405
2403
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2406
2404
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -2438,7 +2436,6 @@ declare class GetMenuItemModifiers extends AbstractApiRequest<typeof getMenuItem
|
|
|
2438
2436
|
readonly outputSchema: z.ZodObject<{
|
|
2439
2437
|
data: z.ZodArray<z.ZodObject<{
|
|
2440
2438
|
id: z.ZodString;
|
|
2441
|
-
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>>;
|
|
2442
2439
|
name: z.ZodArray<z.ZodObject<{
|
|
2443
2440
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2444
2441
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -2533,7 +2530,6 @@ type GetMenuItemModifiersFromPointOfSaleInput = z.input<typeof getMenuItemModifi
|
|
|
2533
2530
|
declare const getMenuItemModifiersFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
2534
2531
|
data: z.ZodArray<z.ZodObject<{
|
|
2535
2532
|
id: z.ZodString;
|
|
2536
|
-
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>>;
|
|
2537
2533
|
name: z.ZodArray<z.ZodObject<{
|
|
2538
2534
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2539
2535
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -2571,7 +2567,6 @@ declare class GetMenuItemModifiersFromPointOfSale extends AbstractApiRequest<typ
|
|
|
2571
2567
|
readonly outputSchema: z.ZodObject<{
|
|
2572
2568
|
data: z.ZodArray<z.ZodObject<{
|
|
2573
2569
|
id: z.ZodString;
|
|
2574
|
-
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>>;
|
|
2575
2570
|
name: z.ZodArray<z.ZodObject<{
|
|
2576
2571
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2577
2572
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -2654,7 +2649,6 @@ declare const updateMenuItemModifierInputSchema: z.ZodObject<{
|
|
|
2654
2649
|
type UpdateMenuItemModifierInput = z.input<typeof updateMenuItemModifierInputSchema>;
|
|
2655
2650
|
declare const updateMenuItemModifierResponseSchema: z.ZodObject<{
|
|
2656
2651
|
id: z.ZodString;
|
|
2657
|
-
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>>;
|
|
2658
2652
|
name: z.ZodArray<z.ZodObject<{
|
|
2659
2653
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2660
2654
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -2673,6 +2667,7 @@ declare const updateMenuItemModifierResponseSchema: z.ZodObject<{
|
|
|
2673
2667
|
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>>>;
|
|
2674
2668
|
createdAt: z.ZodString;
|
|
2675
2669
|
updatedAt: z.ZodString;
|
|
2670
|
+
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>>;
|
|
2676
2671
|
}, z.core.$strip>;
|
|
2677
2672
|
type UpdateMenuItemModifierResponse = z.infer<typeof updateMenuItemModifierResponseSchema>;
|
|
2678
2673
|
declare class UpdateMenuItemModifier extends AbstractApiRequest<typeof updateMenuItemModifierInputSchema, typeof updateMenuItemModifierResponseSchema> {
|
|
@@ -2697,7 +2692,6 @@ declare class UpdateMenuItemModifier extends AbstractApiRequest<typeof updateMen
|
|
|
2697
2692
|
}, z.core.$strip>;
|
|
2698
2693
|
readonly outputSchema: z.ZodObject<{
|
|
2699
2694
|
id: z.ZodString;
|
|
2700
|
-
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>>;
|
|
2701
2695
|
name: z.ZodArray<z.ZodObject<{
|
|
2702
2696
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
2703
2697
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -2716,6 +2710,7 @@ declare class UpdateMenuItemModifier extends AbstractApiRequest<typeof updateMen
|
|
|
2716
2710
|
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>>>;
|
|
2717
2711
|
createdAt: z.ZodString;
|
|
2718
2712
|
updatedAt: z.ZodString;
|
|
2713
|
+
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>>;
|
|
2719
2714
|
}, z.core.$strip>;
|
|
2720
2715
|
readonly querySchema: undefined;
|
|
2721
2716
|
readonly headersSchema: undefined;
|
|
@@ -3029,6 +3024,254 @@ declare class GetMenuItemPriceOverrides extends AbstractApiRequest<typeof getMen
|
|
|
3029
3024
|
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuItemPriceOverride>;
|
|
3030
3025
|
}
|
|
3031
3026
|
|
|
3027
|
+
declare const getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierQuerySchema: z.ZodObject<{
|
|
3028
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3029
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3030
|
+
ITEM: "ITEM";
|
|
3031
|
+
MODIFIER: "MODIFIER";
|
|
3032
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3033
|
+
ITEM: "ITEM";
|
|
3034
|
+
MODIFIER: "MODIFIER";
|
|
3035
|
+
}>>]>>;
|
|
3036
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3037
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3038
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3039
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3040
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3041
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
3042
|
+
asc: "asc";
|
|
3043
|
+
desc: "desc";
|
|
3044
|
+
}>>;
|
|
3045
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
3046
|
+
asc: "asc";
|
|
3047
|
+
desc: "desc";
|
|
3048
|
+
}>>;
|
|
3049
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3050
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
3051
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3052
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
3053
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3054
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
3055
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3056
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
3057
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3058
|
+
}, z.core.$strip>;
|
|
3059
|
+
type GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierQueryParams = z.infer<typeof getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierQuerySchema>;
|
|
3060
|
+
declare const getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierInputSchema: z.ZodUndefined;
|
|
3061
|
+
type GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierInput = z.input<typeof getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierInputSchema>;
|
|
3062
|
+
declare const getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierResponseSchema: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3063
|
+
type: z.ZodLiteral<"ITEM">;
|
|
3064
|
+
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>>;
|
|
3065
|
+
fromModifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3066
|
+
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>>;
|
|
3067
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3068
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
3069
|
+
fromItem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3070
|
+
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>>;
|
|
3071
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
3072
|
+
id: z.ZodString;
|
|
3073
|
+
price: z.ZodString;
|
|
3074
|
+
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>>;
|
|
3075
|
+
suspended: z.ZodBoolean;
|
|
3076
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
3077
|
+
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>>;
|
|
3078
|
+
price: z.ZodDefault<z.ZodString>;
|
|
3079
|
+
}, z.core.$strip>>;
|
|
3080
|
+
createdAt: z.ZodString;
|
|
3081
|
+
updatedAt: z.ZodString;
|
|
3082
|
+
}, z.core.$strip>>>;
|
|
3083
|
+
type GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierResponse = z.infer<typeof getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierResponseSchema>;
|
|
3084
|
+
declare class GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifier extends AbstractApiRequest<typeof getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierInputSchema, typeof getMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierResponseSchema, GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierQueryParams> {
|
|
3085
|
+
readonly method = "GET";
|
|
3086
|
+
readonly contentType = "application/json";
|
|
3087
|
+
readonly accept = "application/json";
|
|
3088
|
+
readonly inputSchema: z.ZodUndefined;
|
|
3089
|
+
readonly outputSchema: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3090
|
+
type: z.ZodLiteral<"ITEM">;
|
|
3091
|
+
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>>;
|
|
3092
|
+
fromModifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3093
|
+
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>>;
|
|
3094
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3095
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
3096
|
+
fromItem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3097
|
+
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>>;
|
|
3098
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
3099
|
+
id: z.ZodString;
|
|
3100
|
+
price: z.ZodString;
|
|
3101
|
+
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>>;
|
|
3102
|
+
suspended: z.ZodBoolean;
|
|
3103
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
3104
|
+
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>>;
|
|
3105
|
+
price: z.ZodDefault<z.ZodString>;
|
|
3106
|
+
}, z.core.$strip>>;
|
|
3107
|
+
createdAt: z.ZodString;
|
|
3108
|
+
updatedAt: z.ZodString;
|
|
3109
|
+
}, z.core.$strip>>>;
|
|
3110
|
+
readonly querySchema: z.ZodObject<{
|
|
3111
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3112
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3113
|
+
ITEM: "ITEM";
|
|
3114
|
+
MODIFIER: "MODIFIER";
|
|
3115
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3116
|
+
ITEM: "ITEM";
|
|
3117
|
+
MODIFIER: "MODIFIER";
|
|
3118
|
+
}>>]>>;
|
|
3119
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3120
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3121
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3122
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3123
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3124
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
3125
|
+
asc: "asc";
|
|
3126
|
+
desc: "desc";
|
|
3127
|
+
}>>;
|
|
3128
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
3129
|
+
asc: "asc";
|
|
3130
|
+
desc: "desc";
|
|
3131
|
+
}>>;
|
|
3132
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3133
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
3134
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3135
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
3136
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3137
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
3138
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3139
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
3140
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3141
|
+
}, z.core.$strip>;
|
|
3142
|
+
readonly headersSchema: undefined;
|
|
3143
|
+
private readonly menuItemModifierId;
|
|
3144
|
+
constructor(menuItemModifierId: string, options?: {
|
|
3145
|
+
query?: GetMenuItemPriceOverridesAsVariantOverridesFromMenuItemModifierQueryParams;
|
|
3146
|
+
});
|
|
3147
|
+
getPath(): string;
|
|
3148
|
+
parseResponse(data: unknown): MenuItemPriceOverride[];
|
|
3149
|
+
}
|
|
3150
|
+
|
|
3151
|
+
declare const getMenuItemPriceOverridesFromMenuItemModifierQuerySchema: z.ZodObject<{
|
|
3152
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3153
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3154
|
+
ITEM: "ITEM";
|
|
3155
|
+
MODIFIER: "MODIFIER";
|
|
3156
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3157
|
+
ITEM: "ITEM";
|
|
3158
|
+
MODIFIER: "MODIFIER";
|
|
3159
|
+
}>>]>>;
|
|
3160
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3161
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3162
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3163
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3164
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3165
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
3166
|
+
asc: "asc";
|
|
3167
|
+
desc: "desc";
|
|
3168
|
+
}>>;
|
|
3169
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
3170
|
+
asc: "asc";
|
|
3171
|
+
desc: "desc";
|
|
3172
|
+
}>>;
|
|
3173
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3174
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
3175
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3176
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
3177
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3178
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
3179
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3180
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
3181
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3182
|
+
}, z.core.$strip>;
|
|
3183
|
+
type GetMenuItemPriceOverridesFromMenuItemModifierQueryParams = z.infer<typeof getMenuItemPriceOverridesFromMenuItemModifierQuerySchema>;
|
|
3184
|
+
declare const getMenuItemPriceOverridesFromMenuItemModifierInputSchema: z.ZodUndefined;
|
|
3185
|
+
type GetMenuItemPriceOverridesFromMenuItemModifierInput = z.input<typeof getMenuItemPriceOverridesFromMenuItemModifierInputSchema>;
|
|
3186
|
+
declare const getMenuItemPriceOverridesFromMenuItemModifierResponseSchema: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3187
|
+
type: z.ZodLiteral<"ITEM">;
|
|
3188
|
+
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>>;
|
|
3189
|
+
fromModifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3190
|
+
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>>;
|
|
3191
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3192
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
3193
|
+
fromItem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3194
|
+
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>>;
|
|
3195
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
3196
|
+
id: z.ZodString;
|
|
3197
|
+
price: z.ZodString;
|
|
3198
|
+
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>>;
|
|
3199
|
+
suspended: z.ZodBoolean;
|
|
3200
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
3201
|
+
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>>;
|
|
3202
|
+
price: z.ZodDefault<z.ZodString>;
|
|
3203
|
+
}, z.core.$strip>>;
|
|
3204
|
+
createdAt: z.ZodString;
|
|
3205
|
+
updatedAt: z.ZodString;
|
|
3206
|
+
}, z.core.$strip>>>;
|
|
3207
|
+
type GetMenuItemPriceOverridesFromMenuItemModifierResponse = z.infer<typeof getMenuItemPriceOverridesFromMenuItemModifierResponseSchema>;
|
|
3208
|
+
declare class GetMenuItemPriceOverridesFromMenuItemModifier extends AbstractApiRequest<typeof getMenuItemPriceOverridesFromMenuItemModifierInputSchema, typeof getMenuItemPriceOverridesFromMenuItemModifierResponseSchema, GetMenuItemPriceOverridesFromMenuItemModifierQueryParams> {
|
|
3209
|
+
readonly method = "GET";
|
|
3210
|
+
readonly contentType = "application/json";
|
|
3211
|
+
readonly accept = "application/json";
|
|
3212
|
+
readonly inputSchema: z.ZodUndefined;
|
|
3213
|
+
readonly outputSchema: z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3214
|
+
type: z.ZodLiteral<"ITEM">;
|
|
3215
|
+
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>>;
|
|
3216
|
+
fromModifier: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3217
|
+
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>>;
|
|
3218
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3219
|
+
type: z.ZodLiteral<"MODIFIER">;
|
|
3220
|
+
fromItem: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3221
|
+
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>>;
|
|
3222
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
3223
|
+
id: z.ZodString;
|
|
3224
|
+
price: z.ZodString;
|
|
3225
|
+
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>>;
|
|
3226
|
+
suspended: z.ZodBoolean;
|
|
3227
|
+
salesPrices: z.ZodArray<z.ZodObject<{
|
|
3228
|
+
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>>;
|
|
3229
|
+
price: z.ZodDefault<z.ZodString>;
|
|
3230
|
+
}, z.core.$strip>>;
|
|
3231
|
+
createdAt: z.ZodString;
|
|
3232
|
+
updatedAt: z.ZodString;
|
|
3233
|
+
}, z.core.$strip>>>;
|
|
3234
|
+
readonly querySchema: z.ZodObject<{
|
|
3235
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3236
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3237
|
+
ITEM: "ITEM";
|
|
3238
|
+
MODIFIER: "MODIFIER";
|
|
3239
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
3240
|
+
ITEM: "ITEM";
|
|
3241
|
+
MODIFIER: "MODIFIER";
|
|
3242
|
+
}>>]>>;
|
|
3243
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3244
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3245
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3246
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3247
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3248
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
3249
|
+
asc: "asc";
|
|
3250
|
+
desc: "desc";
|
|
3251
|
+
}>>;
|
|
3252
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
3253
|
+
asc: "asc";
|
|
3254
|
+
desc: "desc";
|
|
3255
|
+
}>>;
|
|
3256
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3257
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
3258
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3259
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
3260
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3261
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
3262
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3263
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
3264
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3265
|
+
}, z.core.$strip>;
|
|
3266
|
+
readonly headersSchema: undefined;
|
|
3267
|
+
private readonly menuItemModifierId;
|
|
3268
|
+
constructor(menuItemModifierId: string, options?: {
|
|
3269
|
+
query?: GetMenuItemPriceOverridesFromMenuItemModifierQueryParams;
|
|
3270
|
+
});
|
|
3271
|
+
getPath(): string;
|
|
3272
|
+
parseResponse(data: unknown): MenuItemPriceOverride[];
|
|
3273
|
+
}
|
|
3274
|
+
|
|
3032
3275
|
declare const updateMenuItemPriceOverrideInputSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3033
3276
|
type: z.ZodLiteral<"ITEM">;
|
|
3034
3277
|
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>>;
|
|
@@ -4779,7 +5022,7 @@ declare class GetMenuItems extends AbstractApiRequest<typeof getMenuItemsInputSc
|
|
|
4779
5022
|
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuItem>;
|
|
4780
5023
|
}
|
|
4781
5024
|
|
|
4782
|
-
declare const
|
|
5025
|
+
declare const getMenuItemsAsChoicesFromMenuItemModifierQuerySchema: z.ZodObject<{
|
|
4783
5026
|
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4784
5027
|
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4785
5028
|
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
@@ -4829,12 +5072,1398 @@ declare const getMenuItemsFromMenuItemCategoryQuerySchema: z.ZodObject<{
|
|
|
4829
5072
|
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
4830
5073
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4831
5074
|
}, z.core.$strip>;
|
|
4832
|
-
type
|
|
4833
|
-
declare const
|
|
4834
|
-
type
|
|
4835
|
-
declare const
|
|
4836
|
-
|
|
4837
|
-
|
|
5075
|
+
type GetMenuItemsAsChoicesFromMenuItemModifierQueryParams = z.infer<typeof getMenuItemsAsChoicesFromMenuItemModifierQuerySchema>;
|
|
5076
|
+
declare const getMenuItemsAsChoicesFromMenuItemModifierInputSchema: z.ZodUndefined;
|
|
5077
|
+
type GetMenuItemsAsChoicesFromMenuItemModifierInput = z.input<typeof getMenuItemsAsChoicesFromMenuItemModifierInputSchema>;
|
|
5078
|
+
declare const getMenuItemsAsChoicesFromMenuItemModifierResponseSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5079
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5080
|
+
createdAt: z.ZodString;
|
|
5081
|
+
updatedAt: z.ZodString;
|
|
5082
|
+
id: z.ZodString;
|
|
5083
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5084
|
+
application: "application";
|
|
5085
|
+
ecommerce: "ecommerce";
|
|
5086
|
+
deliveroo: "deliveroo";
|
|
5087
|
+
justeat: "justeat";
|
|
5088
|
+
glovo: "glovo";
|
|
5089
|
+
}>>>;
|
|
5090
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5091
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5092
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5093
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5094
|
+
}, z.core.$strip>>;
|
|
5095
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5096
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5097
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5098
|
+
}, z.core.$strip>>>;
|
|
5099
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5100
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5101
|
+
crustaceans: "crustaceans";
|
|
5102
|
+
nuts: "nuts";
|
|
5103
|
+
gluten: "gluten";
|
|
5104
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5105
|
+
lupins: "lupins";
|
|
5106
|
+
molluscs: "molluscs";
|
|
5107
|
+
mustard: "mustard";
|
|
5108
|
+
fish: "fish";
|
|
5109
|
+
celery: "celery";
|
|
5110
|
+
sesame: "sesame";
|
|
5111
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5112
|
+
soy: "soy";
|
|
5113
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5114
|
+
mushrooms: "mushrooms";
|
|
5115
|
+
}>>>;
|
|
5116
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5117
|
+
vegan: "vegan";
|
|
5118
|
+
vegetarian: "vegetarian";
|
|
5119
|
+
"gluten-free": "gluten-free";
|
|
5120
|
+
"dairy-free": "dairy-free";
|
|
5121
|
+
}>>>;
|
|
5122
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5123
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5124
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5125
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5126
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5127
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5128
|
+
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>>;
|
|
5129
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5130
|
+
}, z.core.$strip>>>;
|
|
5131
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5132
|
+
id: z.ZodString;
|
|
5133
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5134
|
+
contentUrl: z.ZodURL;
|
|
5135
|
+
filePath: z.ZodString;
|
|
5136
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5137
|
+
createdAt: z.ZodString;
|
|
5138
|
+
updatedAt: z.ZodString;
|
|
5139
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5140
|
+
id: z.ZodString;
|
|
5141
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5142
|
+
contentUrl: z.ZodURL;
|
|
5143
|
+
filePath: z.ZodString;
|
|
5144
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5145
|
+
createdAt: z.ZodString;
|
|
5146
|
+
updatedAt: z.ZodString;
|
|
5147
|
+
}, z.core.$strip>>>;
|
|
5148
|
+
}, z.core.$strip>>>;
|
|
5149
|
+
type: z.ZodLiteral<"CHOICE">;
|
|
5150
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5151
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5152
|
+
createdAt: z.ZodString;
|
|
5153
|
+
updatedAt: z.ZodString;
|
|
5154
|
+
id: z.ZodString;
|
|
5155
|
+
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>>;
|
|
5156
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5157
|
+
application: "application";
|
|
5158
|
+
ecommerce: "ecommerce";
|
|
5159
|
+
deliveroo: "deliveroo";
|
|
5160
|
+
justeat: "justeat";
|
|
5161
|
+
glovo: "glovo";
|
|
5162
|
+
}>>>;
|
|
5163
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5164
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5165
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5166
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5167
|
+
}, z.core.$strip>>;
|
|
5168
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5169
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5170
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5171
|
+
}, z.core.$strip>>>;
|
|
5172
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5173
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5174
|
+
crustaceans: "crustaceans";
|
|
5175
|
+
nuts: "nuts";
|
|
5176
|
+
gluten: "gluten";
|
|
5177
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5178
|
+
lupins: "lupins";
|
|
5179
|
+
molluscs: "molluscs";
|
|
5180
|
+
mustard: "mustard";
|
|
5181
|
+
fish: "fish";
|
|
5182
|
+
celery: "celery";
|
|
5183
|
+
sesame: "sesame";
|
|
5184
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5185
|
+
soy: "soy";
|
|
5186
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5187
|
+
mushrooms: "mushrooms";
|
|
5188
|
+
}>>>;
|
|
5189
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5190
|
+
vegan: "vegan";
|
|
5191
|
+
vegetarian: "vegetarian";
|
|
5192
|
+
"gluten-free": "gluten-free";
|
|
5193
|
+
"dairy-free": "dairy-free";
|
|
5194
|
+
}>>>;
|
|
5195
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5196
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5197
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5198
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5199
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5200
|
+
compositions: 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>>>>;
|
|
5201
|
+
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>>>>;
|
|
5202
|
+
variants: z.ZodDefault<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>>>>;
|
|
5203
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5204
|
+
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>>;
|
|
5205
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5206
|
+
}, z.core.$strip>>>;
|
|
5207
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5208
|
+
id: z.ZodString;
|
|
5209
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5210
|
+
contentUrl: z.ZodURL;
|
|
5211
|
+
filePath: z.ZodString;
|
|
5212
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5213
|
+
createdAt: z.ZodString;
|
|
5214
|
+
updatedAt: z.ZodString;
|
|
5215
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5216
|
+
id: z.ZodString;
|
|
5217
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5218
|
+
contentUrl: z.ZodURL;
|
|
5219
|
+
filePath: z.ZodString;
|
|
5220
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5221
|
+
createdAt: z.ZodString;
|
|
5222
|
+
updatedAt: z.ZodString;
|
|
5223
|
+
}, z.core.$strip>>>;
|
|
5224
|
+
}, z.core.$strip>>>;
|
|
5225
|
+
type: z.ZodLiteral<"ITEM">;
|
|
5226
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5227
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5228
|
+
createdAt: z.ZodString;
|
|
5229
|
+
updatedAt: z.ZodString;
|
|
5230
|
+
id: z.ZodString;
|
|
5231
|
+
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>>;
|
|
5232
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5233
|
+
application: "application";
|
|
5234
|
+
ecommerce: "ecommerce";
|
|
5235
|
+
deliveroo: "deliveroo";
|
|
5236
|
+
justeat: "justeat";
|
|
5237
|
+
glovo: "glovo";
|
|
5238
|
+
}>>>;
|
|
5239
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5240
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5241
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5242
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5243
|
+
}, z.core.$strip>>;
|
|
5244
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5245
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5246
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5247
|
+
}, z.core.$strip>>>;
|
|
5248
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5249
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5250
|
+
crustaceans: "crustaceans";
|
|
5251
|
+
nuts: "nuts";
|
|
5252
|
+
gluten: "gluten";
|
|
5253
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5254
|
+
lupins: "lupins";
|
|
5255
|
+
molluscs: "molluscs";
|
|
5256
|
+
mustard: "mustard";
|
|
5257
|
+
fish: "fish";
|
|
5258
|
+
celery: "celery";
|
|
5259
|
+
sesame: "sesame";
|
|
5260
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5261
|
+
soy: "soy";
|
|
5262
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5263
|
+
mushrooms: "mushrooms";
|
|
5264
|
+
}>>>;
|
|
5265
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5266
|
+
vegan: "vegan";
|
|
5267
|
+
vegetarian: "vegetarian";
|
|
5268
|
+
"gluten-free": "gluten-free";
|
|
5269
|
+
"dairy-free": "dairy-free";
|
|
5270
|
+
}>>>;
|
|
5271
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5272
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5273
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5274
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5275
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5276
|
+
compositions: 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>>>>;
|
|
5277
|
+
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>>>>;
|
|
5278
|
+
variants: z.ZodDefault<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>>>>;
|
|
5279
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5280
|
+
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>>;
|
|
5281
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5282
|
+
}, z.core.$strip>>>;
|
|
5283
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5284
|
+
id: z.ZodString;
|
|
5285
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5286
|
+
contentUrl: z.ZodURL;
|
|
5287
|
+
filePath: z.ZodString;
|
|
5288
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5289
|
+
createdAt: z.ZodString;
|
|
5290
|
+
updatedAt: z.ZodString;
|
|
5291
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5292
|
+
id: z.ZodString;
|
|
5293
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5294
|
+
contentUrl: z.ZodURL;
|
|
5295
|
+
filePath: z.ZodString;
|
|
5296
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5297
|
+
createdAt: z.ZodString;
|
|
5298
|
+
updatedAt: z.ZodString;
|
|
5299
|
+
}, z.core.$strip>>>;
|
|
5300
|
+
}, z.core.$strip>>>;
|
|
5301
|
+
type: z.ZodLiteral<"BUNDLE">;
|
|
5302
|
+
}, z.core.$strip>]>>;
|
|
5303
|
+
type GetMenuItemsAsChoicesFromMenuItemModifierResponse = z.infer<typeof getMenuItemsAsChoicesFromMenuItemModifierResponseSchema>;
|
|
5304
|
+
declare class GetMenuItemsAsChoicesFromMenuItemModifier extends AbstractApiRequest<typeof getMenuItemsAsChoicesFromMenuItemModifierInputSchema, typeof getMenuItemsAsChoicesFromMenuItemModifierResponseSchema, GetMenuItemsAsChoicesFromMenuItemModifierQueryParams> {
|
|
5305
|
+
readonly method = "GET";
|
|
5306
|
+
readonly contentType = "application/json";
|
|
5307
|
+
readonly accept = "application/json";
|
|
5308
|
+
readonly inputSchema: z.ZodUndefined;
|
|
5309
|
+
readonly outputSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5310
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5311
|
+
createdAt: z.ZodString;
|
|
5312
|
+
updatedAt: z.ZodString;
|
|
5313
|
+
id: z.ZodString;
|
|
5314
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5315
|
+
application: "application";
|
|
5316
|
+
ecommerce: "ecommerce";
|
|
5317
|
+
deliveroo: "deliveroo";
|
|
5318
|
+
justeat: "justeat";
|
|
5319
|
+
glovo: "glovo";
|
|
5320
|
+
}>>>;
|
|
5321
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5322
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5323
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5324
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5325
|
+
}, z.core.$strip>>;
|
|
5326
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5327
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5328
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5329
|
+
}, z.core.$strip>>>;
|
|
5330
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5331
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5332
|
+
crustaceans: "crustaceans";
|
|
5333
|
+
nuts: "nuts";
|
|
5334
|
+
gluten: "gluten";
|
|
5335
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5336
|
+
lupins: "lupins";
|
|
5337
|
+
molluscs: "molluscs";
|
|
5338
|
+
mustard: "mustard";
|
|
5339
|
+
fish: "fish";
|
|
5340
|
+
celery: "celery";
|
|
5341
|
+
sesame: "sesame";
|
|
5342
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5343
|
+
soy: "soy";
|
|
5344
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5345
|
+
mushrooms: "mushrooms";
|
|
5346
|
+
}>>>;
|
|
5347
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5348
|
+
vegan: "vegan";
|
|
5349
|
+
vegetarian: "vegetarian";
|
|
5350
|
+
"gluten-free": "gluten-free";
|
|
5351
|
+
"dairy-free": "dairy-free";
|
|
5352
|
+
}>>>;
|
|
5353
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5354
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5355
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5356
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5357
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5358
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5359
|
+
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>>;
|
|
5360
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5361
|
+
}, z.core.$strip>>>;
|
|
5362
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5363
|
+
id: z.ZodString;
|
|
5364
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5365
|
+
contentUrl: z.ZodURL;
|
|
5366
|
+
filePath: z.ZodString;
|
|
5367
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5368
|
+
createdAt: z.ZodString;
|
|
5369
|
+
updatedAt: z.ZodString;
|
|
5370
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5371
|
+
id: z.ZodString;
|
|
5372
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5373
|
+
contentUrl: z.ZodURL;
|
|
5374
|
+
filePath: z.ZodString;
|
|
5375
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5376
|
+
createdAt: z.ZodString;
|
|
5377
|
+
updatedAt: z.ZodString;
|
|
5378
|
+
}, z.core.$strip>>>;
|
|
5379
|
+
}, z.core.$strip>>>;
|
|
5380
|
+
type: z.ZodLiteral<"CHOICE">;
|
|
5381
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5382
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5383
|
+
createdAt: z.ZodString;
|
|
5384
|
+
updatedAt: z.ZodString;
|
|
5385
|
+
id: z.ZodString;
|
|
5386
|
+
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>>;
|
|
5387
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5388
|
+
application: "application";
|
|
5389
|
+
ecommerce: "ecommerce";
|
|
5390
|
+
deliveroo: "deliveroo";
|
|
5391
|
+
justeat: "justeat";
|
|
5392
|
+
glovo: "glovo";
|
|
5393
|
+
}>>>;
|
|
5394
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5395
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5396
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5397
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5398
|
+
}, z.core.$strip>>;
|
|
5399
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5400
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5401
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5402
|
+
}, z.core.$strip>>>;
|
|
5403
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5404
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5405
|
+
crustaceans: "crustaceans";
|
|
5406
|
+
nuts: "nuts";
|
|
5407
|
+
gluten: "gluten";
|
|
5408
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5409
|
+
lupins: "lupins";
|
|
5410
|
+
molluscs: "molluscs";
|
|
5411
|
+
mustard: "mustard";
|
|
5412
|
+
fish: "fish";
|
|
5413
|
+
celery: "celery";
|
|
5414
|
+
sesame: "sesame";
|
|
5415
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5416
|
+
soy: "soy";
|
|
5417
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5418
|
+
mushrooms: "mushrooms";
|
|
5419
|
+
}>>>;
|
|
5420
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5421
|
+
vegan: "vegan";
|
|
5422
|
+
vegetarian: "vegetarian";
|
|
5423
|
+
"gluten-free": "gluten-free";
|
|
5424
|
+
"dairy-free": "dairy-free";
|
|
5425
|
+
}>>>;
|
|
5426
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5427
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5428
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5429
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5430
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5431
|
+
compositions: 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>>>>;
|
|
5432
|
+
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>>>>;
|
|
5433
|
+
variants: z.ZodDefault<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>>>>;
|
|
5434
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5435
|
+
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>>;
|
|
5436
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5437
|
+
}, z.core.$strip>>>;
|
|
5438
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5439
|
+
id: z.ZodString;
|
|
5440
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5441
|
+
contentUrl: z.ZodURL;
|
|
5442
|
+
filePath: z.ZodString;
|
|
5443
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5444
|
+
createdAt: z.ZodString;
|
|
5445
|
+
updatedAt: z.ZodString;
|
|
5446
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5447
|
+
id: z.ZodString;
|
|
5448
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5449
|
+
contentUrl: z.ZodURL;
|
|
5450
|
+
filePath: z.ZodString;
|
|
5451
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5452
|
+
createdAt: z.ZodString;
|
|
5453
|
+
updatedAt: z.ZodString;
|
|
5454
|
+
}, z.core.$strip>>>;
|
|
5455
|
+
}, z.core.$strip>>>;
|
|
5456
|
+
type: z.ZodLiteral<"ITEM">;
|
|
5457
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5458
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5459
|
+
createdAt: z.ZodString;
|
|
5460
|
+
updatedAt: z.ZodString;
|
|
5461
|
+
id: z.ZodString;
|
|
5462
|
+
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>>;
|
|
5463
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5464
|
+
application: "application";
|
|
5465
|
+
ecommerce: "ecommerce";
|
|
5466
|
+
deliveroo: "deliveroo";
|
|
5467
|
+
justeat: "justeat";
|
|
5468
|
+
glovo: "glovo";
|
|
5469
|
+
}>>>;
|
|
5470
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5471
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5472
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5473
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5474
|
+
}, z.core.$strip>>;
|
|
5475
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5476
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5477
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5478
|
+
}, z.core.$strip>>>;
|
|
5479
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5480
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5481
|
+
crustaceans: "crustaceans";
|
|
5482
|
+
nuts: "nuts";
|
|
5483
|
+
gluten: "gluten";
|
|
5484
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5485
|
+
lupins: "lupins";
|
|
5486
|
+
molluscs: "molluscs";
|
|
5487
|
+
mustard: "mustard";
|
|
5488
|
+
fish: "fish";
|
|
5489
|
+
celery: "celery";
|
|
5490
|
+
sesame: "sesame";
|
|
5491
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5492
|
+
soy: "soy";
|
|
5493
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5494
|
+
mushrooms: "mushrooms";
|
|
5495
|
+
}>>>;
|
|
5496
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5497
|
+
vegan: "vegan";
|
|
5498
|
+
vegetarian: "vegetarian";
|
|
5499
|
+
"gluten-free": "gluten-free";
|
|
5500
|
+
"dairy-free": "dairy-free";
|
|
5501
|
+
}>>>;
|
|
5502
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5503
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5504
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5505
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5506
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5507
|
+
compositions: 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>>>>;
|
|
5508
|
+
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>>>>;
|
|
5509
|
+
variants: z.ZodDefault<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>>>>;
|
|
5510
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5511
|
+
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>>;
|
|
5512
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5513
|
+
}, z.core.$strip>>>;
|
|
5514
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5515
|
+
id: z.ZodString;
|
|
5516
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5517
|
+
contentUrl: z.ZodURL;
|
|
5518
|
+
filePath: z.ZodString;
|
|
5519
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5520
|
+
createdAt: z.ZodString;
|
|
5521
|
+
updatedAt: z.ZodString;
|
|
5522
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5523
|
+
id: z.ZodString;
|
|
5524
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5525
|
+
contentUrl: z.ZodURL;
|
|
5526
|
+
filePath: z.ZodString;
|
|
5527
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5528
|
+
createdAt: z.ZodString;
|
|
5529
|
+
updatedAt: z.ZodString;
|
|
5530
|
+
}, z.core.$strip>>>;
|
|
5531
|
+
}, z.core.$strip>>>;
|
|
5532
|
+
type: z.ZodLiteral<"BUNDLE">;
|
|
5533
|
+
}, z.core.$strip>]>>;
|
|
5534
|
+
readonly querySchema: z.ZodObject<{
|
|
5535
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5536
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5537
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5538
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5539
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5540
|
+
application: "application";
|
|
5541
|
+
ecommerce: "ecommerce";
|
|
5542
|
+
deliveroo: "deliveroo";
|
|
5543
|
+
justeat: "justeat";
|
|
5544
|
+
glovo: "glovo";
|
|
5545
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
5546
|
+
application: "application";
|
|
5547
|
+
ecommerce: "ecommerce";
|
|
5548
|
+
deliveroo: "deliveroo";
|
|
5549
|
+
justeat: "justeat";
|
|
5550
|
+
glovo: "glovo";
|
|
5551
|
+
}>>]>>;
|
|
5552
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5553
|
+
ITEM: "ITEM";
|
|
5554
|
+
CHOICE: "CHOICE";
|
|
5555
|
+
BUNDLE: "BUNDLE";
|
|
5556
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
5557
|
+
ITEM: "ITEM";
|
|
5558
|
+
CHOICE: "CHOICE";
|
|
5559
|
+
BUNDLE: "BUNDLE";
|
|
5560
|
+
}>>]>>;
|
|
5561
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5562
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5563
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5564
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5565
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5566
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
5567
|
+
asc: "asc";
|
|
5568
|
+
desc: "desc";
|
|
5569
|
+
}>>;
|
|
5570
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
5571
|
+
asc: "asc";
|
|
5572
|
+
desc: "desc";
|
|
5573
|
+
}>>;
|
|
5574
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5575
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
5576
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
5577
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
5578
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
5579
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
5580
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
5581
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
5582
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
5583
|
+
}, z.core.$strip>;
|
|
5584
|
+
readonly headersSchema: undefined;
|
|
5585
|
+
private readonly menuItemModifierId;
|
|
5586
|
+
constructor(menuItemModifierId: string, options?: {
|
|
5587
|
+
query?: GetMenuItemsAsChoicesFromMenuItemModifierQueryParams;
|
|
5588
|
+
});
|
|
5589
|
+
getPath(): string;
|
|
5590
|
+
parseResponse(data: unknown): MenuItem[];
|
|
5591
|
+
}
|
|
5592
|
+
|
|
5593
|
+
declare const getMenuItemsFromMenuItemCategoryQuerySchema: z.ZodObject<{
|
|
5594
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5595
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5596
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5597
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5598
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5599
|
+
application: "application";
|
|
5600
|
+
ecommerce: "ecommerce";
|
|
5601
|
+
deliveroo: "deliveroo";
|
|
5602
|
+
justeat: "justeat";
|
|
5603
|
+
glovo: "glovo";
|
|
5604
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
5605
|
+
application: "application";
|
|
5606
|
+
ecommerce: "ecommerce";
|
|
5607
|
+
deliveroo: "deliveroo";
|
|
5608
|
+
justeat: "justeat";
|
|
5609
|
+
glovo: "glovo";
|
|
5610
|
+
}>>]>>;
|
|
5611
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5612
|
+
ITEM: "ITEM";
|
|
5613
|
+
CHOICE: "CHOICE";
|
|
5614
|
+
BUNDLE: "BUNDLE";
|
|
5615
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
5616
|
+
ITEM: "ITEM";
|
|
5617
|
+
CHOICE: "CHOICE";
|
|
5618
|
+
BUNDLE: "BUNDLE";
|
|
5619
|
+
}>>]>>;
|
|
5620
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5621
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5622
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5623
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5624
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5625
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
5626
|
+
asc: "asc";
|
|
5627
|
+
desc: "desc";
|
|
5628
|
+
}>>;
|
|
5629
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
5630
|
+
asc: "asc";
|
|
5631
|
+
desc: "desc";
|
|
5632
|
+
}>>;
|
|
5633
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5634
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
5635
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
5636
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
5637
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
5638
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
5639
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
5640
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
5641
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
5642
|
+
}, z.core.$strip>;
|
|
5643
|
+
type GetMenuItemsFromMenuItemCategoryQueryParams = z.infer<typeof getMenuItemsFromMenuItemCategoryQuerySchema>;
|
|
5644
|
+
declare const getMenuItemsFromMenuItemCategoryInputSchema: z.ZodUndefined;
|
|
5645
|
+
type GetMenuItemsFromMenuItemCategoryInput = z.input<typeof getMenuItemsFromMenuItemCategoryInputSchema>;
|
|
5646
|
+
declare const getMenuItemsFromMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
5647
|
+
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5648
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5649
|
+
createdAt: z.ZodString;
|
|
5650
|
+
updatedAt: z.ZodString;
|
|
5651
|
+
id: z.ZodString;
|
|
5652
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5653
|
+
application: "application";
|
|
5654
|
+
ecommerce: "ecommerce";
|
|
5655
|
+
deliveroo: "deliveroo";
|
|
5656
|
+
justeat: "justeat";
|
|
5657
|
+
glovo: "glovo";
|
|
5658
|
+
}>>>;
|
|
5659
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5660
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5661
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5662
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5663
|
+
}, z.core.$strip>>;
|
|
5664
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5665
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5666
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5667
|
+
}, z.core.$strip>>>;
|
|
5668
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5669
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5670
|
+
crustaceans: "crustaceans";
|
|
5671
|
+
nuts: "nuts";
|
|
5672
|
+
gluten: "gluten";
|
|
5673
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5674
|
+
lupins: "lupins";
|
|
5675
|
+
molluscs: "molluscs";
|
|
5676
|
+
mustard: "mustard";
|
|
5677
|
+
fish: "fish";
|
|
5678
|
+
celery: "celery";
|
|
5679
|
+
sesame: "sesame";
|
|
5680
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5681
|
+
soy: "soy";
|
|
5682
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5683
|
+
mushrooms: "mushrooms";
|
|
5684
|
+
}>>>;
|
|
5685
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5686
|
+
vegan: "vegan";
|
|
5687
|
+
vegetarian: "vegetarian";
|
|
5688
|
+
"gluten-free": "gluten-free";
|
|
5689
|
+
"dairy-free": "dairy-free";
|
|
5690
|
+
}>>>;
|
|
5691
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5692
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5693
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5694
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5695
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5696
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5697
|
+
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>>;
|
|
5698
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5699
|
+
}, z.core.$strip>>>;
|
|
5700
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5701
|
+
id: z.ZodString;
|
|
5702
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5703
|
+
contentUrl: z.ZodURL;
|
|
5704
|
+
filePath: z.ZodString;
|
|
5705
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5706
|
+
createdAt: z.ZodString;
|
|
5707
|
+
updatedAt: z.ZodString;
|
|
5708
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5709
|
+
id: z.ZodString;
|
|
5710
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5711
|
+
contentUrl: z.ZodURL;
|
|
5712
|
+
filePath: z.ZodString;
|
|
5713
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5714
|
+
createdAt: z.ZodString;
|
|
5715
|
+
updatedAt: z.ZodString;
|
|
5716
|
+
}, z.core.$strip>>>;
|
|
5717
|
+
}, z.core.$strip>>>;
|
|
5718
|
+
type: z.ZodLiteral<"CHOICE">;
|
|
5719
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5720
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5721
|
+
createdAt: z.ZodString;
|
|
5722
|
+
updatedAt: z.ZodString;
|
|
5723
|
+
id: z.ZodString;
|
|
5724
|
+
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>>;
|
|
5725
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5726
|
+
application: "application";
|
|
5727
|
+
ecommerce: "ecommerce";
|
|
5728
|
+
deliveroo: "deliveroo";
|
|
5729
|
+
justeat: "justeat";
|
|
5730
|
+
glovo: "glovo";
|
|
5731
|
+
}>>>;
|
|
5732
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5733
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5734
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5735
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5736
|
+
}, z.core.$strip>>;
|
|
5737
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5738
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5739
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5740
|
+
}, z.core.$strip>>>;
|
|
5741
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5742
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5743
|
+
crustaceans: "crustaceans";
|
|
5744
|
+
nuts: "nuts";
|
|
5745
|
+
gluten: "gluten";
|
|
5746
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5747
|
+
lupins: "lupins";
|
|
5748
|
+
molluscs: "molluscs";
|
|
5749
|
+
mustard: "mustard";
|
|
5750
|
+
fish: "fish";
|
|
5751
|
+
celery: "celery";
|
|
5752
|
+
sesame: "sesame";
|
|
5753
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5754
|
+
soy: "soy";
|
|
5755
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5756
|
+
mushrooms: "mushrooms";
|
|
5757
|
+
}>>>;
|
|
5758
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5759
|
+
vegan: "vegan";
|
|
5760
|
+
vegetarian: "vegetarian";
|
|
5761
|
+
"gluten-free": "gluten-free";
|
|
5762
|
+
"dairy-free": "dairy-free";
|
|
5763
|
+
}>>>;
|
|
5764
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5765
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5766
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5767
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5768
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5769
|
+
compositions: 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>>>>;
|
|
5770
|
+
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>>>>;
|
|
5771
|
+
variants: z.ZodDefault<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>>>>;
|
|
5772
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5773
|
+
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>>;
|
|
5774
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5775
|
+
}, z.core.$strip>>>;
|
|
5776
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5777
|
+
id: z.ZodString;
|
|
5778
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5779
|
+
contentUrl: z.ZodURL;
|
|
5780
|
+
filePath: z.ZodString;
|
|
5781
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5782
|
+
createdAt: z.ZodString;
|
|
5783
|
+
updatedAt: z.ZodString;
|
|
5784
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5785
|
+
id: z.ZodString;
|
|
5786
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5787
|
+
contentUrl: z.ZodURL;
|
|
5788
|
+
filePath: z.ZodString;
|
|
5789
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5790
|
+
createdAt: z.ZodString;
|
|
5791
|
+
updatedAt: z.ZodString;
|
|
5792
|
+
}, z.core.$strip>>>;
|
|
5793
|
+
}, z.core.$strip>>>;
|
|
5794
|
+
type: z.ZodLiteral<"ITEM">;
|
|
5795
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5796
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5797
|
+
createdAt: z.ZodString;
|
|
5798
|
+
updatedAt: z.ZodString;
|
|
5799
|
+
id: z.ZodString;
|
|
5800
|
+
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>>;
|
|
5801
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5802
|
+
application: "application";
|
|
5803
|
+
ecommerce: "ecommerce";
|
|
5804
|
+
deliveroo: "deliveroo";
|
|
5805
|
+
justeat: "justeat";
|
|
5806
|
+
glovo: "glovo";
|
|
5807
|
+
}>>>;
|
|
5808
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5809
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5810
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5811
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5812
|
+
}, z.core.$strip>>;
|
|
5813
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5814
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5815
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5816
|
+
}, z.core.$strip>>>;
|
|
5817
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5818
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5819
|
+
crustaceans: "crustaceans";
|
|
5820
|
+
nuts: "nuts";
|
|
5821
|
+
gluten: "gluten";
|
|
5822
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5823
|
+
lupins: "lupins";
|
|
5824
|
+
molluscs: "molluscs";
|
|
5825
|
+
mustard: "mustard";
|
|
5826
|
+
fish: "fish";
|
|
5827
|
+
celery: "celery";
|
|
5828
|
+
sesame: "sesame";
|
|
5829
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5830
|
+
soy: "soy";
|
|
5831
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5832
|
+
mushrooms: "mushrooms";
|
|
5833
|
+
}>>>;
|
|
5834
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5835
|
+
vegan: "vegan";
|
|
5836
|
+
vegetarian: "vegetarian";
|
|
5837
|
+
"gluten-free": "gluten-free";
|
|
5838
|
+
"dairy-free": "dairy-free";
|
|
5839
|
+
}>>>;
|
|
5840
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5841
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5842
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5843
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5844
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5845
|
+
compositions: 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>>>>;
|
|
5846
|
+
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>>>>;
|
|
5847
|
+
variants: z.ZodDefault<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>>>>;
|
|
5848
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5849
|
+
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>>;
|
|
5850
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5851
|
+
}, z.core.$strip>>>;
|
|
5852
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5853
|
+
id: z.ZodString;
|
|
5854
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5855
|
+
contentUrl: z.ZodURL;
|
|
5856
|
+
filePath: z.ZodString;
|
|
5857
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5858
|
+
createdAt: z.ZodString;
|
|
5859
|
+
updatedAt: z.ZodString;
|
|
5860
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5861
|
+
id: z.ZodString;
|
|
5862
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5863
|
+
contentUrl: z.ZodURL;
|
|
5864
|
+
filePath: z.ZodString;
|
|
5865
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5866
|
+
createdAt: z.ZodString;
|
|
5867
|
+
updatedAt: z.ZodString;
|
|
5868
|
+
}, z.core.$strip>>>;
|
|
5869
|
+
}, z.core.$strip>>>;
|
|
5870
|
+
type: z.ZodLiteral<"BUNDLE">;
|
|
5871
|
+
}, z.core.$strip>]>>;
|
|
5872
|
+
pagination: z.ZodObject<{
|
|
5873
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
5874
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
5875
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
5876
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
5877
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
5878
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
5879
|
+
}, z.core.$strip>;
|
|
5880
|
+
}, z.core.$strip>;
|
|
5881
|
+
type GetMenuItemsFromMenuItemCategoryResponse = z.infer<typeof getMenuItemsFromMenuItemCategoryResponseSchema>;
|
|
5882
|
+
declare class GetMenuItemsFromMenuItemCategory extends AbstractApiRequest<typeof getMenuItemsFromMenuItemCategoryInputSchema, typeof getMenuItemsFromMenuItemCategoryResponseSchema, GetMenuItemsFromMenuItemCategoryQueryParams> {
|
|
5883
|
+
readonly method = "GET";
|
|
5884
|
+
readonly contentType = "application/json";
|
|
5885
|
+
readonly accept = "application/json";
|
|
5886
|
+
readonly inputSchema: z.ZodUndefined;
|
|
5887
|
+
readonly outputSchema: z.ZodObject<{
|
|
5888
|
+
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5889
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5890
|
+
createdAt: z.ZodString;
|
|
5891
|
+
updatedAt: z.ZodString;
|
|
5892
|
+
id: z.ZodString;
|
|
5893
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5894
|
+
application: "application";
|
|
5895
|
+
ecommerce: "ecommerce";
|
|
5896
|
+
deliveroo: "deliveroo";
|
|
5897
|
+
justeat: "justeat";
|
|
5898
|
+
glovo: "glovo";
|
|
5899
|
+
}>>>;
|
|
5900
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5901
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5902
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5903
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5904
|
+
}, z.core.$strip>>;
|
|
5905
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5906
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5907
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5908
|
+
}, z.core.$strip>>>;
|
|
5909
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5910
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5911
|
+
crustaceans: "crustaceans";
|
|
5912
|
+
nuts: "nuts";
|
|
5913
|
+
gluten: "gluten";
|
|
5914
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5915
|
+
lupins: "lupins";
|
|
5916
|
+
molluscs: "molluscs";
|
|
5917
|
+
mustard: "mustard";
|
|
5918
|
+
fish: "fish";
|
|
5919
|
+
celery: "celery";
|
|
5920
|
+
sesame: "sesame";
|
|
5921
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5922
|
+
soy: "soy";
|
|
5923
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5924
|
+
mushrooms: "mushrooms";
|
|
5925
|
+
}>>>;
|
|
5926
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5927
|
+
vegan: "vegan";
|
|
5928
|
+
vegetarian: "vegetarian";
|
|
5929
|
+
"gluten-free": "gluten-free";
|
|
5930
|
+
"dairy-free": "dairy-free";
|
|
5931
|
+
}>>>;
|
|
5932
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5933
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5934
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5935
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5936
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5937
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5938
|
+
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>>;
|
|
5939
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5940
|
+
}, z.core.$strip>>>;
|
|
5941
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5942
|
+
id: z.ZodString;
|
|
5943
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5944
|
+
contentUrl: z.ZodURL;
|
|
5945
|
+
filePath: z.ZodString;
|
|
5946
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5947
|
+
createdAt: z.ZodString;
|
|
5948
|
+
updatedAt: z.ZodString;
|
|
5949
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5950
|
+
id: z.ZodString;
|
|
5951
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5952
|
+
contentUrl: z.ZodURL;
|
|
5953
|
+
filePath: z.ZodString;
|
|
5954
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5955
|
+
createdAt: z.ZodString;
|
|
5956
|
+
updatedAt: z.ZodString;
|
|
5957
|
+
}, z.core.$strip>>>;
|
|
5958
|
+
}, z.core.$strip>>>;
|
|
5959
|
+
type: z.ZodLiteral<"CHOICE">;
|
|
5960
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5961
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5962
|
+
createdAt: z.ZodString;
|
|
5963
|
+
updatedAt: z.ZodString;
|
|
5964
|
+
id: z.ZodString;
|
|
5965
|
+
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>>;
|
|
5966
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5967
|
+
application: "application";
|
|
5968
|
+
ecommerce: "ecommerce";
|
|
5969
|
+
deliveroo: "deliveroo";
|
|
5970
|
+
justeat: "justeat";
|
|
5971
|
+
glovo: "glovo";
|
|
5972
|
+
}>>>;
|
|
5973
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5974
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5975
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5976
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5977
|
+
}, z.core.$strip>>;
|
|
5978
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5979
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5980
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5981
|
+
}, z.core.$strip>>>;
|
|
5982
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5983
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5984
|
+
crustaceans: "crustaceans";
|
|
5985
|
+
nuts: "nuts";
|
|
5986
|
+
gluten: "gluten";
|
|
5987
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5988
|
+
lupins: "lupins";
|
|
5989
|
+
molluscs: "molluscs";
|
|
5990
|
+
mustard: "mustard";
|
|
5991
|
+
fish: "fish";
|
|
5992
|
+
celery: "celery";
|
|
5993
|
+
sesame: "sesame";
|
|
5994
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5995
|
+
soy: "soy";
|
|
5996
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5997
|
+
mushrooms: "mushrooms";
|
|
5998
|
+
}>>>;
|
|
5999
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6000
|
+
vegan: "vegan";
|
|
6001
|
+
vegetarian: "vegetarian";
|
|
6002
|
+
"gluten-free": "gluten-free";
|
|
6003
|
+
"dairy-free": "dairy-free";
|
|
6004
|
+
}>>>;
|
|
6005
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
6006
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
6007
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
6008
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
6009
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
6010
|
+
compositions: 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>>>>;
|
|
6011
|
+
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>>>>;
|
|
6012
|
+
variants: z.ZodDefault<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>>>>;
|
|
6013
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6014
|
+
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>>;
|
|
6015
|
+
price: z.ZodDefault<z.ZodString>;
|
|
6016
|
+
}, z.core.$strip>>>;
|
|
6017
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6018
|
+
id: z.ZodString;
|
|
6019
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
6020
|
+
contentUrl: z.ZodURL;
|
|
6021
|
+
filePath: z.ZodString;
|
|
6022
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6023
|
+
createdAt: z.ZodString;
|
|
6024
|
+
updatedAt: z.ZodString;
|
|
6025
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6026
|
+
id: z.ZodString;
|
|
6027
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
6028
|
+
contentUrl: z.ZodURL;
|
|
6029
|
+
filePath: z.ZodString;
|
|
6030
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6031
|
+
createdAt: z.ZodString;
|
|
6032
|
+
updatedAt: z.ZodString;
|
|
6033
|
+
}, z.core.$strip>>>;
|
|
6034
|
+
}, z.core.$strip>>>;
|
|
6035
|
+
type: z.ZodLiteral<"ITEM">;
|
|
6036
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6037
|
+
price: z.ZodDefault<z.ZodString>;
|
|
6038
|
+
createdAt: z.ZodString;
|
|
6039
|
+
updatedAt: z.ZodString;
|
|
6040
|
+
id: z.ZodString;
|
|
6041
|
+
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>>;
|
|
6042
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6043
|
+
application: "application";
|
|
6044
|
+
ecommerce: "ecommerce";
|
|
6045
|
+
deliveroo: "deliveroo";
|
|
6046
|
+
justeat: "justeat";
|
|
6047
|
+
glovo: "glovo";
|
|
6048
|
+
}>>>;
|
|
6049
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6050
|
+
name: z.ZodArray<z.ZodObject<{
|
|
6051
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
6052
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
6053
|
+
}, z.core.$strip>>;
|
|
6054
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6055
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
6056
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
6057
|
+
}, z.core.$strip>>>;
|
|
6058
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6059
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
6060
|
+
crustaceans: "crustaceans";
|
|
6061
|
+
nuts: "nuts";
|
|
6062
|
+
gluten: "gluten";
|
|
6063
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
6064
|
+
lupins: "lupins";
|
|
6065
|
+
molluscs: "molluscs";
|
|
6066
|
+
mustard: "mustard";
|
|
6067
|
+
fish: "fish";
|
|
6068
|
+
celery: "celery";
|
|
6069
|
+
sesame: "sesame";
|
|
6070
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
6071
|
+
soy: "soy";
|
|
6072
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
6073
|
+
mushrooms: "mushrooms";
|
|
6074
|
+
}>>>;
|
|
6075
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6076
|
+
vegan: "vegan";
|
|
6077
|
+
vegetarian: "vegetarian";
|
|
6078
|
+
"gluten-free": "gluten-free";
|
|
6079
|
+
"dairy-free": "dairy-free";
|
|
6080
|
+
}>>>;
|
|
6081
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
6082
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
6083
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
6084
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
6085
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
6086
|
+
compositions: 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>>>>;
|
|
6087
|
+
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>>>>;
|
|
6088
|
+
variants: z.ZodDefault<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>>>>;
|
|
6089
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6090
|
+
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>>;
|
|
6091
|
+
price: z.ZodDefault<z.ZodString>;
|
|
6092
|
+
}, z.core.$strip>>>;
|
|
6093
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6094
|
+
id: z.ZodString;
|
|
6095
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
6096
|
+
contentUrl: z.ZodURL;
|
|
6097
|
+
filePath: z.ZodString;
|
|
6098
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6099
|
+
createdAt: z.ZodString;
|
|
6100
|
+
updatedAt: z.ZodString;
|
|
6101
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6102
|
+
id: z.ZodString;
|
|
6103
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
6104
|
+
contentUrl: z.ZodURL;
|
|
6105
|
+
filePath: z.ZodString;
|
|
6106
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6107
|
+
createdAt: z.ZodString;
|
|
6108
|
+
updatedAt: z.ZodString;
|
|
6109
|
+
}, z.core.$strip>>>;
|
|
6110
|
+
}, z.core.$strip>>>;
|
|
6111
|
+
type: z.ZodLiteral<"BUNDLE">;
|
|
6112
|
+
}, z.core.$strip>]>>;
|
|
6113
|
+
pagination: z.ZodObject<{
|
|
6114
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
6115
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
6116
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
6117
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
6118
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
6119
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
6120
|
+
}, z.core.$strip>;
|
|
6121
|
+
}, z.core.$strip>;
|
|
6122
|
+
readonly querySchema: z.ZodObject<{
|
|
6123
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
6124
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
6125
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
6126
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
6127
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
6128
|
+
application: "application";
|
|
6129
|
+
ecommerce: "ecommerce";
|
|
6130
|
+
deliveroo: "deliveroo";
|
|
6131
|
+
justeat: "justeat";
|
|
6132
|
+
glovo: "glovo";
|
|
6133
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
6134
|
+
application: "application";
|
|
6135
|
+
ecommerce: "ecommerce";
|
|
6136
|
+
deliveroo: "deliveroo";
|
|
6137
|
+
justeat: "justeat";
|
|
6138
|
+
glovo: "glovo";
|
|
6139
|
+
}>>]>>;
|
|
6140
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
6141
|
+
ITEM: "ITEM";
|
|
6142
|
+
CHOICE: "CHOICE";
|
|
6143
|
+
BUNDLE: "BUNDLE";
|
|
6144
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
6145
|
+
ITEM: "ITEM";
|
|
6146
|
+
CHOICE: "CHOICE";
|
|
6147
|
+
BUNDLE: "BUNDLE";
|
|
6148
|
+
}>>]>>;
|
|
6149
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6150
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6151
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6152
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6153
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6154
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
6155
|
+
asc: "asc";
|
|
6156
|
+
desc: "desc";
|
|
6157
|
+
}>>;
|
|
6158
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
6159
|
+
asc: "asc";
|
|
6160
|
+
desc: "desc";
|
|
6161
|
+
}>>;
|
|
6162
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6163
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
6164
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
6165
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
6166
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
6167
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
6168
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
6169
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
6170
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
6171
|
+
}, z.core.$strip>;
|
|
6172
|
+
readonly headersSchema: undefined;
|
|
6173
|
+
private readonly menuItemCategoryId;
|
|
6174
|
+
constructor(menuItemCategoryId: string, options?: {
|
|
6175
|
+
query?: GetMenuItemsFromMenuItemCategoryQueryParams;
|
|
6176
|
+
});
|
|
6177
|
+
getPath(): string;
|
|
6178
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuItem>;
|
|
6179
|
+
}
|
|
6180
|
+
|
|
6181
|
+
declare const getMenuItemsFromMenuItemModifierQuerySchema: z.ZodObject<{
|
|
6182
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
6183
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
6184
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
6185
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
6186
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
6187
|
+
application: "application";
|
|
6188
|
+
ecommerce: "ecommerce";
|
|
6189
|
+
deliveroo: "deliveroo";
|
|
6190
|
+
justeat: "justeat";
|
|
6191
|
+
glovo: "glovo";
|
|
6192
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
6193
|
+
application: "application";
|
|
6194
|
+
ecommerce: "ecommerce";
|
|
6195
|
+
deliveroo: "deliveroo";
|
|
6196
|
+
justeat: "justeat";
|
|
6197
|
+
glovo: "glovo";
|
|
6198
|
+
}>>]>>;
|
|
6199
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
6200
|
+
ITEM: "ITEM";
|
|
6201
|
+
CHOICE: "CHOICE";
|
|
6202
|
+
BUNDLE: "BUNDLE";
|
|
6203
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
6204
|
+
ITEM: "ITEM";
|
|
6205
|
+
CHOICE: "CHOICE";
|
|
6206
|
+
BUNDLE: "BUNDLE";
|
|
6207
|
+
}>>]>>;
|
|
6208
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6209
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6210
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6211
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6212
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6213
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
6214
|
+
asc: "asc";
|
|
6215
|
+
desc: "desc";
|
|
6216
|
+
}>>;
|
|
6217
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
6218
|
+
asc: "asc";
|
|
6219
|
+
desc: "desc";
|
|
6220
|
+
}>>;
|
|
6221
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6222
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
6223
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
6224
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
6225
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
6226
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
6227
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
6228
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
6229
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
6230
|
+
}, z.core.$strip>;
|
|
6231
|
+
type GetMenuItemsFromMenuItemModifierQueryParams = z.infer<typeof getMenuItemsFromMenuItemModifierQuerySchema>;
|
|
6232
|
+
declare const getMenuItemsFromMenuItemModifierInputSchema: z.ZodUndefined;
|
|
6233
|
+
type GetMenuItemsFromMenuItemModifierInput = z.input<typeof getMenuItemsFromMenuItemModifierInputSchema>;
|
|
6234
|
+
declare const getMenuItemsFromMenuItemModifierResponseSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6235
|
+
price: z.ZodDefault<z.ZodString>;
|
|
6236
|
+
createdAt: z.ZodString;
|
|
6237
|
+
updatedAt: z.ZodString;
|
|
6238
|
+
id: z.ZodString;
|
|
6239
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6240
|
+
application: "application";
|
|
6241
|
+
ecommerce: "ecommerce";
|
|
6242
|
+
deliveroo: "deliveroo";
|
|
6243
|
+
justeat: "justeat";
|
|
6244
|
+
glovo: "glovo";
|
|
6245
|
+
}>>>;
|
|
6246
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6247
|
+
name: z.ZodArray<z.ZodObject<{
|
|
6248
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
6249
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
6250
|
+
}, z.core.$strip>>;
|
|
6251
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6252
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
6253
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
6254
|
+
}, z.core.$strip>>>;
|
|
6255
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6256
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
6257
|
+
crustaceans: "crustaceans";
|
|
6258
|
+
nuts: "nuts";
|
|
6259
|
+
gluten: "gluten";
|
|
6260
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
6261
|
+
lupins: "lupins";
|
|
6262
|
+
molluscs: "molluscs";
|
|
6263
|
+
mustard: "mustard";
|
|
6264
|
+
fish: "fish";
|
|
6265
|
+
celery: "celery";
|
|
6266
|
+
sesame: "sesame";
|
|
6267
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
6268
|
+
soy: "soy";
|
|
6269
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
6270
|
+
mushrooms: "mushrooms";
|
|
6271
|
+
}>>>;
|
|
6272
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6273
|
+
vegan: "vegan";
|
|
6274
|
+
vegetarian: "vegetarian";
|
|
6275
|
+
"gluten-free": "gluten-free";
|
|
6276
|
+
"dairy-free": "dairy-free";
|
|
6277
|
+
}>>>;
|
|
6278
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
6279
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
6280
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
6281
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
6282
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
6283
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6284
|
+
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>>;
|
|
6285
|
+
price: z.ZodDefault<z.ZodString>;
|
|
6286
|
+
}, z.core.$strip>>>;
|
|
6287
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6288
|
+
id: z.ZodString;
|
|
6289
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
6290
|
+
contentUrl: z.ZodURL;
|
|
6291
|
+
filePath: z.ZodString;
|
|
6292
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6293
|
+
createdAt: z.ZodString;
|
|
6294
|
+
updatedAt: z.ZodString;
|
|
6295
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6296
|
+
id: z.ZodString;
|
|
6297
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
6298
|
+
contentUrl: z.ZodURL;
|
|
6299
|
+
filePath: z.ZodString;
|
|
6300
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6301
|
+
createdAt: z.ZodString;
|
|
6302
|
+
updatedAt: z.ZodString;
|
|
6303
|
+
}, z.core.$strip>>>;
|
|
6304
|
+
}, z.core.$strip>>>;
|
|
6305
|
+
type: z.ZodLiteral<"CHOICE">;
|
|
6306
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6307
|
+
price: z.ZodDefault<z.ZodString>;
|
|
6308
|
+
createdAt: z.ZodString;
|
|
6309
|
+
updatedAt: z.ZodString;
|
|
6310
|
+
id: z.ZodString;
|
|
6311
|
+
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>>;
|
|
6312
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6313
|
+
application: "application";
|
|
6314
|
+
ecommerce: "ecommerce";
|
|
6315
|
+
deliveroo: "deliveroo";
|
|
6316
|
+
justeat: "justeat";
|
|
6317
|
+
glovo: "glovo";
|
|
6318
|
+
}>>>;
|
|
6319
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6320
|
+
name: z.ZodArray<z.ZodObject<{
|
|
6321
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
6322
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
6323
|
+
}, z.core.$strip>>;
|
|
6324
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6325
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
6326
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
6327
|
+
}, z.core.$strip>>>;
|
|
6328
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6329
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
6330
|
+
crustaceans: "crustaceans";
|
|
6331
|
+
nuts: "nuts";
|
|
6332
|
+
gluten: "gluten";
|
|
6333
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
6334
|
+
lupins: "lupins";
|
|
6335
|
+
molluscs: "molluscs";
|
|
6336
|
+
mustard: "mustard";
|
|
6337
|
+
fish: "fish";
|
|
6338
|
+
celery: "celery";
|
|
6339
|
+
sesame: "sesame";
|
|
6340
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
6341
|
+
soy: "soy";
|
|
6342
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
6343
|
+
mushrooms: "mushrooms";
|
|
6344
|
+
}>>>;
|
|
6345
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6346
|
+
vegan: "vegan";
|
|
6347
|
+
vegetarian: "vegetarian";
|
|
6348
|
+
"gluten-free": "gluten-free";
|
|
6349
|
+
"dairy-free": "dairy-free";
|
|
6350
|
+
}>>>;
|
|
6351
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
6352
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
6353
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
6354
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
6355
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
6356
|
+
compositions: 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>>>>;
|
|
6357
|
+
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>>>>;
|
|
6358
|
+
variants: z.ZodDefault<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>>>>;
|
|
6359
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6360
|
+
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>>;
|
|
6361
|
+
price: z.ZodDefault<z.ZodString>;
|
|
6362
|
+
}, z.core.$strip>>>;
|
|
6363
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6364
|
+
id: z.ZodString;
|
|
6365
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
6366
|
+
contentUrl: z.ZodURL;
|
|
6367
|
+
filePath: z.ZodString;
|
|
6368
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6369
|
+
createdAt: z.ZodString;
|
|
6370
|
+
updatedAt: z.ZodString;
|
|
6371
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6372
|
+
id: z.ZodString;
|
|
6373
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
6374
|
+
contentUrl: z.ZodURL;
|
|
6375
|
+
filePath: z.ZodString;
|
|
6376
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6377
|
+
createdAt: z.ZodString;
|
|
6378
|
+
updatedAt: z.ZodString;
|
|
6379
|
+
}, z.core.$strip>>>;
|
|
6380
|
+
}, z.core.$strip>>>;
|
|
6381
|
+
type: z.ZodLiteral<"ITEM">;
|
|
6382
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6383
|
+
price: z.ZodDefault<z.ZodString>;
|
|
6384
|
+
createdAt: z.ZodString;
|
|
6385
|
+
updatedAt: z.ZodString;
|
|
6386
|
+
id: z.ZodString;
|
|
6387
|
+
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>>;
|
|
6388
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6389
|
+
application: "application";
|
|
6390
|
+
ecommerce: "ecommerce";
|
|
6391
|
+
deliveroo: "deliveroo";
|
|
6392
|
+
justeat: "justeat";
|
|
6393
|
+
glovo: "glovo";
|
|
6394
|
+
}>>>;
|
|
6395
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6396
|
+
name: z.ZodArray<z.ZodObject<{
|
|
6397
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
6398
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
6399
|
+
}, z.core.$strip>>;
|
|
6400
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6401
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
6402
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
6403
|
+
}, z.core.$strip>>>;
|
|
6404
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6405
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
6406
|
+
crustaceans: "crustaceans";
|
|
6407
|
+
nuts: "nuts";
|
|
6408
|
+
gluten: "gluten";
|
|
6409
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
6410
|
+
lupins: "lupins";
|
|
6411
|
+
molluscs: "molluscs";
|
|
6412
|
+
mustard: "mustard";
|
|
6413
|
+
fish: "fish";
|
|
6414
|
+
celery: "celery";
|
|
6415
|
+
sesame: "sesame";
|
|
6416
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
6417
|
+
soy: "soy";
|
|
6418
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
6419
|
+
mushrooms: "mushrooms";
|
|
6420
|
+
}>>>;
|
|
6421
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
6422
|
+
vegan: "vegan";
|
|
6423
|
+
vegetarian: "vegetarian";
|
|
6424
|
+
"gluten-free": "gluten-free";
|
|
6425
|
+
"dairy-free": "dairy-free";
|
|
6426
|
+
}>>>;
|
|
6427
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
6428
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
6429
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
6430
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
6431
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
6432
|
+
compositions: 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>>>>;
|
|
6433
|
+
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>>>>;
|
|
6434
|
+
variants: z.ZodDefault<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>>>>;
|
|
6435
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6436
|
+
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>>;
|
|
6437
|
+
price: z.ZodDefault<z.ZodString>;
|
|
6438
|
+
}, z.core.$strip>>>;
|
|
6439
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6440
|
+
id: z.ZodString;
|
|
6441
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
6442
|
+
contentUrl: z.ZodURL;
|
|
6443
|
+
filePath: z.ZodString;
|
|
6444
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6445
|
+
createdAt: z.ZodString;
|
|
6446
|
+
updatedAt: z.ZodString;
|
|
6447
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
6448
|
+
id: z.ZodString;
|
|
6449
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
6450
|
+
contentUrl: z.ZodURL;
|
|
6451
|
+
filePath: z.ZodString;
|
|
6452
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
6453
|
+
createdAt: z.ZodString;
|
|
6454
|
+
updatedAt: z.ZodString;
|
|
6455
|
+
}, z.core.$strip>>>;
|
|
6456
|
+
}, z.core.$strip>>>;
|
|
6457
|
+
type: z.ZodLiteral<"BUNDLE">;
|
|
6458
|
+
}, z.core.$strip>]>>;
|
|
6459
|
+
type GetMenuItemsFromMenuItemModifierResponse = z.infer<typeof getMenuItemsFromMenuItemModifierResponseSchema>;
|
|
6460
|
+
declare class GetMenuItemsFromMenuItemModifier extends AbstractApiRequest<typeof getMenuItemsFromMenuItemModifierInputSchema, typeof getMenuItemsFromMenuItemModifierResponseSchema, GetMenuItemsFromMenuItemModifierQueryParams> {
|
|
6461
|
+
readonly method = "GET";
|
|
6462
|
+
readonly contentType = "application/json";
|
|
6463
|
+
readonly accept = "application/json";
|
|
6464
|
+
readonly inputSchema: z.ZodUndefined;
|
|
6465
|
+
readonly outputSchema: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6466
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4838
6467
|
createdAt: z.ZodString;
|
|
4839
6468
|
updatedAt: z.ZodString;
|
|
4840
6469
|
id: z.ZodString;
|
|
@@ -5058,256 +6687,6 @@ declare const getMenuItemsFromMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
|
5058
6687
|
}, z.core.$strip>>>;
|
|
5059
6688
|
type: z.ZodLiteral<"BUNDLE">;
|
|
5060
6689
|
}, z.core.$strip>]>>;
|
|
5061
|
-
pagination: z.ZodObject<{
|
|
5062
|
-
from: z.ZodCoercedNumber<unknown>;
|
|
5063
|
-
to: z.ZodCoercedNumber<unknown>;
|
|
5064
|
-
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
5065
|
-
totalItems: z.ZodCoercedNumber<unknown>;
|
|
5066
|
-
currentPage: z.ZodCoercedNumber<unknown>;
|
|
5067
|
-
lastPage: z.ZodCoercedNumber<unknown>;
|
|
5068
|
-
}, z.core.$strip>;
|
|
5069
|
-
}, z.core.$strip>;
|
|
5070
|
-
type GetMenuItemsFromMenuItemCategoryResponse = z.infer<typeof getMenuItemsFromMenuItemCategoryResponseSchema>;
|
|
5071
|
-
declare class GetMenuItemsFromMenuItemCategory extends AbstractApiRequest<typeof getMenuItemsFromMenuItemCategoryInputSchema, typeof getMenuItemsFromMenuItemCategoryResponseSchema, GetMenuItemsFromMenuItemCategoryQueryParams> {
|
|
5072
|
-
readonly method = "GET";
|
|
5073
|
-
readonly contentType = "application/json";
|
|
5074
|
-
readonly accept = "application/json";
|
|
5075
|
-
readonly inputSchema: z.ZodUndefined;
|
|
5076
|
-
readonly outputSchema: z.ZodObject<{
|
|
5077
|
-
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5078
|
-
price: z.ZodDefault<z.ZodString>;
|
|
5079
|
-
createdAt: z.ZodString;
|
|
5080
|
-
updatedAt: z.ZodString;
|
|
5081
|
-
id: z.ZodString;
|
|
5082
|
-
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5083
|
-
application: "application";
|
|
5084
|
-
ecommerce: "ecommerce";
|
|
5085
|
-
deliveroo: "deliveroo";
|
|
5086
|
-
justeat: "justeat";
|
|
5087
|
-
glovo: "glovo";
|
|
5088
|
-
}>>>;
|
|
5089
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5090
|
-
name: z.ZodArray<z.ZodObject<{
|
|
5091
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
5092
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
5093
|
-
}, z.core.$strip>>;
|
|
5094
|
-
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5095
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
5096
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
5097
|
-
}, z.core.$strip>>>;
|
|
5098
|
-
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5099
|
-
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5100
|
-
crustaceans: "crustaceans";
|
|
5101
|
-
nuts: "nuts";
|
|
5102
|
-
gluten: "gluten";
|
|
5103
|
-
"milk-and-derivatives": "milk-and-derivatives";
|
|
5104
|
-
lupins: "lupins";
|
|
5105
|
-
molluscs: "molluscs";
|
|
5106
|
-
mustard: "mustard";
|
|
5107
|
-
fish: "fish";
|
|
5108
|
-
celery: "celery";
|
|
5109
|
-
sesame: "sesame";
|
|
5110
|
-
"sulfur-dioxide": "sulfur-dioxide";
|
|
5111
|
-
soy: "soy";
|
|
5112
|
-
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5113
|
-
mushrooms: "mushrooms";
|
|
5114
|
-
}>>>;
|
|
5115
|
-
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5116
|
-
vegan: "vegan";
|
|
5117
|
-
vegetarian: "vegetarian";
|
|
5118
|
-
"gluten-free": "gluten-free";
|
|
5119
|
-
"dairy-free": "dairy-free";
|
|
5120
|
-
}>>>;
|
|
5121
|
-
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5122
|
-
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5123
|
-
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5124
|
-
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5125
|
-
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5126
|
-
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5127
|
-
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>>;
|
|
5128
|
-
price: z.ZodDefault<z.ZodString>;
|
|
5129
|
-
}, z.core.$strip>>>;
|
|
5130
|
-
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5131
|
-
id: z.ZodString;
|
|
5132
|
-
variant: z.ZodNullable<z.ZodString>;
|
|
5133
|
-
contentUrl: z.ZodURL;
|
|
5134
|
-
filePath: z.ZodString;
|
|
5135
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5136
|
-
createdAt: z.ZodString;
|
|
5137
|
-
updatedAt: z.ZodString;
|
|
5138
|
-
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5139
|
-
id: z.ZodString;
|
|
5140
|
-
variant: z.ZodNullable<z.ZodString>;
|
|
5141
|
-
contentUrl: z.ZodURL;
|
|
5142
|
-
filePath: z.ZodString;
|
|
5143
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5144
|
-
createdAt: z.ZodString;
|
|
5145
|
-
updatedAt: z.ZodString;
|
|
5146
|
-
}, z.core.$strip>>>;
|
|
5147
|
-
}, z.core.$strip>>>;
|
|
5148
|
-
type: z.ZodLiteral<"CHOICE">;
|
|
5149
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5150
|
-
price: z.ZodDefault<z.ZodString>;
|
|
5151
|
-
createdAt: z.ZodString;
|
|
5152
|
-
updatedAt: z.ZodString;
|
|
5153
|
-
id: z.ZodString;
|
|
5154
|
-
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>>;
|
|
5155
|
-
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5156
|
-
application: "application";
|
|
5157
|
-
ecommerce: "ecommerce";
|
|
5158
|
-
deliveroo: "deliveroo";
|
|
5159
|
-
justeat: "justeat";
|
|
5160
|
-
glovo: "glovo";
|
|
5161
|
-
}>>>;
|
|
5162
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5163
|
-
name: z.ZodArray<z.ZodObject<{
|
|
5164
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
5165
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
5166
|
-
}, z.core.$strip>>;
|
|
5167
|
-
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5168
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
5169
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
5170
|
-
}, z.core.$strip>>>;
|
|
5171
|
-
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5172
|
-
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5173
|
-
crustaceans: "crustaceans";
|
|
5174
|
-
nuts: "nuts";
|
|
5175
|
-
gluten: "gluten";
|
|
5176
|
-
"milk-and-derivatives": "milk-and-derivatives";
|
|
5177
|
-
lupins: "lupins";
|
|
5178
|
-
molluscs: "molluscs";
|
|
5179
|
-
mustard: "mustard";
|
|
5180
|
-
fish: "fish";
|
|
5181
|
-
celery: "celery";
|
|
5182
|
-
sesame: "sesame";
|
|
5183
|
-
"sulfur-dioxide": "sulfur-dioxide";
|
|
5184
|
-
soy: "soy";
|
|
5185
|
-
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5186
|
-
mushrooms: "mushrooms";
|
|
5187
|
-
}>>>;
|
|
5188
|
-
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5189
|
-
vegan: "vegan";
|
|
5190
|
-
vegetarian: "vegetarian";
|
|
5191
|
-
"gluten-free": "gluten-free";
|
|
5192
|
-
"dairy-free": "dairy-free";
|
|
5193
|
-
}>>>;
|
|
5194
|
-
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5195
|
-
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5196
|
-
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5197
|
-
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5198
|
-
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5199
|
-
compositions: 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>>>>;
|
|
5200
|
-
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>>>>;
|
|
5201
|
-
variants: z.ZodDefault<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>>>>;
|
|
5202
|
-
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5203
|
-
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>>;
|
|
5204
|
-
price: z.ZodDefault<z.ZodString>;
|
|
5205
|
-
}, z.core.$strip>>>;
|
|
5206
|
-
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5207
|
-
id: z.ZodString;
|
|
5208
|
-
variant: z.ZodNullable<z.ZodString>;
|
|
5209
|
-
contentUrl: z.ZodURL;
|
|
5210
|
-
filePath: z.ZodString;
|
|
5211
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5212
|
-
createdAt: z.ZodString;
|
|
5213
|
-
updatedAt: z.ZodString;
|
|
5214
|
-
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5215
|
-
id: z.ZodString;
|
|
5216
|
-
variant: z.ZodNullable<z.ZodString>;
|
|
5217
|
-
contentUrl: z.ZodURL;
|
|
5218
|
-
filePath: z.ZodString;
|
|
5219
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5220
|
-
createdAt: z.ZodString;
|
|
5221
|
-
updatedAt: z.ZodString;
|
|
5222
|
-
}, z.core.$strip>>>;
|
|
5223
|
-
}, z.core.$strip>>>;
|
|
5224
|
-
type: z.ZodLiteral<"ITEM">;
|
|
5225
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5226
|
-
price: z.ZodDefault<z.ZodString>;
|
|
5227
|
-
createdAt: z.ZodString;
|
|
5228
|
-
updatedAt: z.ZodString;
|
|
5229
|
-
id: z.ZodString;
|
|
5230
|
-
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>>;
|
|
5231
|
-
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5232
|
-
application: "application";
|
|
5233
|
-
ecommerce: "ecommerce";
|
|
5234
|
-
deliveroo: "deliveroo";
|
|
5235
|
-
justeat: "justeat";
|
|
5236
|
-
glovo: "glovo";
|
|
5237
|
-
}>>>;
|
|
5238
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5239
|
-
name: z.ZodArray<z.ZodObject<{
|
|
5240
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
5241
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
5242
|
-
}, z.core.$strip>>;
|
|
5243
|
-
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5244
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
5245
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
5246
|
-
}, z.core.$strip>>>;
|
|
5247
|
-
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5248
|
-
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5249
|
-
crustaceans: "crustaceans";
|
|
5250
|
-
nuts: "nuts";
|
|
5251
|
-
gluten: "gluten";
|
|
5252
|
-
"milk-and-derivatives": "milk-and-derivatives";
|
|
5253
|
-
lupins: "lupins";
|
|
5254
|
-
molluscs: "molluscs";
|
|
5255
|
-
mustard: "mustard";
|
|
5256
|
-
fish: "fish";
|
|
5257
|
-
celery: "celery";
|
|
5258
|
-
sesame: "sesame";
|
|
5259
|
-
"sulfur-dioxide": "sulfur-dioxide";
|
|
5260
|
-
soy: "soy";
|
|
5261
|
-
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5262
|
-
mushrooms: "mushrooms";
|
|
5263
|
-
}>>>;
|
|
5264
|
-
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5265
|
-
vegan: "vegan";
|
|
5266
|
-
vegetarian: "vegetarian";
|
|
5267
|
-
"gluten-free": "gluten-free";
|
|
5268
|
-
"dairy-free": "dairy-free";
|
|
5269
|
-
}>>>;
|
|
5270
|
-
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5271
|
-
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5272
|
-
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5273
|
-
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5274
|
-
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5275
|
-
compositions: 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>>>>;
|
|
5276
|
-
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>>>>;
|
|
5277
|
-
variants: z.ZodDefault<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>>>>;
|
|
5278
|
-
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5279
|
-
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>>;
|
|
5280
|
-
price: z.ZodDefault<z.ZodString>;
|
|
5281
|
-
}, z.core.$strip>>>;
|
|
5282
|
-
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5283
|
-
id: z.ZodString;
|
|
5284
|
-
variant: z.ZodNullable<z.ZodString>;
|
|
5285
|
-
contentUrl: z.ZodURL;
|
|
5286
|
-
filePath: z.ZodString;
|
|
5287
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5288
|
-
createdAt: z.ZodString;
|
|
5289
|
-
updatedAt: z.ZodString;
|
|
5290
|
-
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5291
|
-
id: z.ZodString;
|
|
5292
|
-
variant: z.ZodNullable<z.ZodString>;
|
|
5293
|
-
contentUrl: z.ZodURL;
|
|
5294
|
-
filePath: z.ZodString;
|
|
5295
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5296
|
-
createdAt: z.ZodString;
|
|
5297
|
-
updatedAt: z.ZodString;
|
|
5298
|
-
}, z.core.$strip>>>;
|
|
5299
|
-
}, z.core.$strip>>>;
|
|
5300
|
-
type: z.ZodLiteral<"BUNDLE">;
|
|
5301
|
-
}, z.core.$strip>]>>;
|
|
5302
|
-
pagination: z.ZodObject<{
|
|
5303
|
-
from: z.ZodCoercedNumber<unknown>;
|
|
5304
|
-
to: z.ZodCoercedNumber<unknown>;
|
|
5305
|
-
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
5306
|
-
totalItems: z.ZodCoercedNumber<unknown>;
|
|
5307
|
-
currentPage: z.ZodCoercedNumber<unknown>;
|
|
5308
|
-
lastPage: z.ZodCoercedNumber<unknown>;
|
|
5309
|
-
}, z.core.$strip>;
|
|
5310
|
-
}, z.core.$strip>;
|
|
5311
6690
|
readonly querySchema: z.ZodObject<{
|
|
5312
6691
|
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5313
6692
|
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
@@ -5359,12 +6738,12 @@ declare class GetMenuItemsFromMenuItemCategory extends AbstractApiRequest<typeof
|
|
|
5359
6738
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
5360
6739
|
}, z.core.$strip>;
|
|
5361
6740
|
readonly headersSchema: undefined;
|
|
5362
|
-
private readonly
|
|
5363
|
-
constructor(
|
|
5364
|
-
query?:
|
|
6741
|
+
private readonly menuItemModifierId;
|
|
6742
|
+
constructor(menuItemModifierId: string, options?: {
|
|
6743
|
+
query?: GetMenuItemsFromMenuItemModifierQueryParams;
|
|
5365
6744
|
});
|
|
5366
6745
|
getPath(): string;
|
|
5367
|
-
parseResponse(data: unknown
|
|
6746
|
+
parseResponse(data: unknown): MenuItem[];
|
|
5368
6747
|
}
|
|
5369
6748
|
|
|
5370
6749
|
declare const getMenuItemsFromPointOfSaleQuerySchema: z.ZodObject<{
|
|
@@ -6657,4 +8036,4 @@ type MenuItemPriceOverrideSalesPriceIri = z.infer<typeof menuItemPriceOverrideSa
|
|
|
6657
8036
|
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>>;
|
|
6658
8037
|
type MenuItemPriceOverrideSalesPriceNullableIri = z.infer<typeof menuItemPriceOverrideSalesPriceNullableIriSchema>;
|
|
6659
8038
|
|
|
6660
|
-
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, type GetMenuItemPriceOverridesInput, type GetMenuItemPriceOverridesQueryParams, type GetMenuItemPriceOverridesResponse, GetMenuItems, GetMenuItemsFromMenuItemCategory, type GetMenuItemsFromMenuItemCategoryInput, type GetMenuItemsFromMenuItemCategoryQueryParams, type GetMenuItemsFromMenuItemCategoryResponse, 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 MenuItemCategoriesQueryParams, type MenuItemCategory, type MenuItemCategoryDetails, type MenuItemCategoryIri, type MenuItemCategoryNullableIri, type MenuItemDetails, type MenuItemDto, type MenuItemIri, 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 MenuItemsQueryParams, type MenuModifierDto, type MenuPriceDto, type MenuPriceOverrideDto, type MenuVersion, 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, getMenuItemPriceOverridesInputSchema, getMenuItemPriceOverridesQuerySchema, getMenuItemPriceOverridesResponseSchema, getMenuItemsFromMenuItemCategoryInputSchema, getMenuItemsFromMenuItemCategoryQuerySchema, getMenuItemsFromMenuItemCategoryResponseSchema, 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, menuVersionSchema, salesPriceDTOSchema, updateMenuItemCategoryInputSchema, updateMenuItemCategoryResponseSchema, updateMenuItemInputSchema, updateMenuItemModifierInputSchema, updateMenuItemModifierResponseSchema, updateMenuItemPriceOverrideInputSchema, updateMenuItemPriceOverrideResponseSchema, updateMenuItemResponseSchema, writableMenuItemCategorySchema, writableMenuItemModifierSchema, writableMenuItemPriceOverridePartialSchema, writableMenuItemPriceOverrideSchema, writableMenuItemSchema };
|
|
8039
|
+
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, GetMenuItemPriceOverridesFromMenuItemModifier, type GetMenuItemPriceOverridesFromMenuItemModifierInput, type GetMenuItemPriceOverridesFromMenuItemModifierQueryParams, type GetMenuItemPriceOverridesFromMenuItemModifierResponse, type GetMenuItemPriceOverridesInput, type GetMenuItemPriceOverridesQueryParams, type GetMenuItemPriceOverridesResponse, 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 MenuItemCategoriesQueryParams, type MenuItemCategory, type MenuItemCategoryDetails, type MenuItemCategoryIri, type MenuItemCategoryNullableIri, type MenuItemDetails, type MenuItemDto, type MenuItemIri, 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 MenuItemsQueryParams, type MenuModifierDto, type MenuPriceDto, type MenuPriceOverrideDto, type MenuVersion, 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, getMenuItemPriceOverridesFromMenuItemModifierInputSchema, getMenuItemPriceOverridesFromMenuItemModifierQuerySchema, getMenuItemPriceOverridesFromMenuItemModifierResponseSchema, getMenuItemPriceOverridesInputSchema, getMenuItemPriceOverridesQuerySchema, getMenuItemPriceOverridesResponseSchema, 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, menuVersionSchema, salesPriceDTOSchema, updateMenuItemCategoryInputSchema, updateMenuItemCategoryResponseSchema, updateMenuItemInputSchema, updateMenuItemModifierInputSchema, updateMenuItemModifierResponseSchema, updateMenuItemPriceOverrideInputSchema, updateMenuItemPriceOverrideResponseSchema, updateMenuItemResponseSchema, writableMenuItemCategorySchema, writableMenuItemModifierSchema, writableMenuItemPriceOverridePartialSchema, writableMenuItemPriceOverrideSchema, writableMenuItemSchema };
|