@deliverart/sdk-js-menu 2.5.3 → 2.5.4
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 +100 -12
- package/dist/index.d.cts +1510 -116
- package/dist/index.d.ts +1510 -116
- package/dist/index.js +96 -13
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -23,7 +23,6 @@ declare const menuVersionSchema: z.ZodObject<{
|
|
|
23
23
|
type MenuVersion = z.infer<typeof menuVersionSchema>;
|
|
24
24
|
declare const menuItemChoiceSchema: z.ZodObject<{
|
|
25
25
|
price: z.ZodDefault<z.ZodString>;
|
|
26
|
-
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>>;
|
|
27
26
|
createdAt: z.ZodString;
|
|
28
27
|
updatedAt: z.ZodString;
|
|
29
28
|
id: z.ZodString;
|
|
@@ -97,7 +96,6 @@ declare const menuItemChoiceSchema: z.ZodObject<{
|
|
|
97
96
|
}, z.core.$strip>;
|
|
98
97
|
declare const menuItemItemSchema: z.ZodObject<{
|
|
99
98
|
price: z.ZodDefault<z.ZodString>;
|
|
100
|
-
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>>;
|
|
101
99
|
createdAt: z.ZodString;
|
|
102
100
|
updatedAt: z.ZodString;
|
|
103
101
|
id: z.ZodString;
|
|
@@ -175,7 +173,6 @@ declare const menuItemItemSchema: z.ZodObject<{
|
|
|
175
173
|
}, z.core.$strip>;
|
|
176
174
|
declare const menuItemBundleSchema: z.ZodObject<{
|
|
177
175
|
price: z.ZodDefault<z.ZodString>;
|
|
178
|
-
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>>;
|
|
179
176
|
createdAt: z.ZodString;
|
|
180
177
|
updatedAt: z.ZodString;
|
|
181
178
|
id: z.ZodString;
|
|
@@ -253,7 +250,6 @@ declare const menuItemBundleSchema: z.ZodObject<{
|
|
|
253
250
|
}, z.core.$strip>;
|
|
254
251
|
declare const menuItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
255
252
|
price: z.ZodDefault<z.ZodString>;
|
|
256
|
-
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>>;
|
|
257
253
|
createdAt: z.ZodString;
|
|
258
254
|
updatedAt: z.ZodString;
|
|
259
255
|
id: z.ZodString;
|
|
@@ -326,7 +322,6 @@ declare const menuItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
326
322
|
type: z.ZodLiteral<"CHOICE">;
|
|
327
323
|
}, z.core.$strip>, z.ZodObject<{
|
|
328
324
|
price: z.ZodDefault<z.ZodString>;
|
|
329
|
-
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>>;
|
|
330
325
|
createdAt: z.ZodString;
|
|
331
326
|
updatedAt: z.ZodString;
|
|
332
327
|
id: z.ZodString;
|
|
@@ -403,7 +398,6 @@ declare const menuItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
403
398
|
type: z.ZodLiteral<"ITEM">;
|
|
404
399
|
}, z.core.$strip>, z.ZodObject<{
|
|
405
400
|
price: z.ZodDefault<z.ZodString>;
|
|
406
|
-
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>>;
|
|
407
401
|
createdAt: z.ZodString;
|
|
408
402
|
updatedAt: z.ZodString;
|
|
409
403
|
id: z.ZodString;
|
|
@@ -480,9 +474,238 @@ declare const menuItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
480
474
|
type: z.ZodLiteral<"BUNDLE">;
|
|
481
475
|
}, z.core.$strip>]>;
|
|
482
476
|
type MenuItem = z.infer<typeof menuItemSchema>;
|
|
483
|
-
declare const
|
|
477
|
+
declare const menuItemChoiceDetailsSchema: z.ZodObject<{
|
|
478
|
+
price: z.ZodDefault<z.ZodString>;
|
|
479
|
+
createdAt: z.ZodString;
|
|
480
|
+
updatedAt: z.ZodString;
|
|
481
|
+
id: z.ZodString;
|
|
482
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
483
|
+
application: "application";
|
|
484
|
+
ecommerce: "ecommerce";
|
|
485
|
+
deliveroo: "deliveroo";
|
|
486
|
+
justeat: "justeat";
|
|
487
|
+
glovo: "glovo";
|
|
488
|
+
}>>>;
|
|
489
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
490
|
+
name: z.ZodArray<z.ZodObject<{
|
|
491
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
492
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
493
|
+
}, z.core.$strip>>;
|
|
494
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
495
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
496
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
497
|
+
}, z.core.$strip>>>;
|
|
498
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
499
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
500
|
+
crustaceans: "crustaceans";
|
|
501
|
+
nuts: "nuts";
|
|
502
|
+
gluten: "gluten";
|
|
503
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
504
|
+
lupins: "lupins";
|
|
505
|
+
molluscs: "molluscs";
|
|
506
|
+
mustard: "mustard";
|
|
507
|
+
fish: "fish";
|
|
508
|
+
celery: "celery";
|
|
509
|
+
sesame: "sesame";
|
|
510
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
511
|
+
soy: "soy";
|
|
512
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
513
|
+
mushrooms: "mushrooms";
|
|
514
|
+
}>>>;
|
|
515
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
516
|
+
vegan: "vegan";
|
|
517
|
+
vegetarian: "vegetarian";
|
|
518
|
+
"gluten-free": "gluten-free";
|
|
519
|
+
"dairy-free": "dairy-free";
|
|
520
|
+
}>>>;
|
|
521
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
522
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
523
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
524
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
525
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
526
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
527
|
+
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>>;
|
|
528
|
+
price: z.ZodDefault<z.ZodString>;
|
|
529
|
+
}, z.core.$strip>>>;
|
|
530
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
531
|
+
id: z.ZodString;
|
|
532
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
533
|
+
contentUrl: z.ZodURL;
|
|
534
|
+
filePath: z.ZodString;
|
|
535
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
536
|
+
createdAt: z.ZodString;
|
|
537
|
+
updatedAt: z.ZodString;
|
|
538
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
539
|
+
id: z.ZodString;
|
|
540
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
541
|
+
contentUrl: z.ZodURL;
|
|
542
|
+
filePath: z.ZodString;
|
|
543
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
544
|
+
createdAt: z.ZodString;
|
|
545
|
+
updatedAt: z.ZodString;
|
|
546
|
+
}, z.core.$strip>>>;
|
|
547
|
+
}, z.core.$strip>>>;
|
|
548
|
+
type: z.ZodLiteral<"CHOICE">;
|
|
549
|
+
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>>;
|
|
550
|
+
}, z.core.$strip>;
|
|
551
|
+
declare const menuItemItemDetailsSchema: z.ZodObject<{
|
|
552
|
+
price: z.ZodDefault<z.ZodString>;
|
|
553
|
+
createdAt: z.ZodString;
|
|
554
|
+
updatedAt: z.ZodString;
|
|
555
|
+
id: z.ZodString;
|
|
556
|
+
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>>;
|
|
557
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
558
|
+
application: "application";
|
|
559
|
+
ecommerce: "ecommerce";
|
|
560
|
+
deliveroo: "deliveroo";
|
|
561
|
+
justeat: "justeat";
|
|
562
|
+
glovo: "glovo";
|
|
563
|
+
}>>>;
|
|
564
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
565
|
+
name: z.ZodArray<z.ZodObject<{
|
|
566
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
567
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
568
|
+
}, z.core.$strip>>;
|
|
569
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
570
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
571
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
572
|
+
}, z.core.$strip>>>;
|
|
573
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
574
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
575
|
+
crustaceans: "crustaceans";
|
|
576
|
+
nuts: "nuts";
|
|
577
|
+
gluten: "gluten";
|
|
578
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
579
|
+
lupins: "lupins";
|
|
580
|
+
molluscs: "molluscs";
|
|
581
|
+
mustard: "mustard";
|
|
582
|
+
fish: "fish";
|
|
583
|
+
celery: "celery";
|
|
584
|
+
sesame: "sesame";
|
|
585
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
586
|
+
soy: "soy";
|
|
587
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
588
|
+
mushrooms: "mushrooms";
|
|
589
|
+
}>>>;
|
|
590
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
591
|
+
vegan: "vegan";
|
|
592
|
+
vegetarian: "vegetarian";
|
|
593
|
+
"gluten-free": "gluten-free";
|
|
594
|
+
"dairy-free": "dairy-free";
|
|
595
|
+
}>>>;
|
|
596
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
597
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
598
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
599
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
600
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
601
|
+
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>>>>;
|
|
602
|
+
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>>>>;
|
|
603
|
+
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>>>>;
|
|
604
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
605
|
+
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>>;
|
|
606
|
+
price: z.ZodDefault<z.ZodString>;
|
|
607
|
+
}, z.core.$strip>>>;
|
|
608
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
609
|
+
id: z.ZodString;
|
|
610
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
611
|
+
contentUrl: z.ZodURL;
|
|
612
|
+
filePath: z.ZodString;
|
|
613
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
614
|
+
createdAt: z.ZodString;
|
|
615
|
+
updatedAt: z.ZodString;
|
|
616
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
617
|
+
id: z.ZodString;
|
|
618
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
619
|
+
contentUrl: z.ZodURL;
|
|
620
|
+
filePath: z.ZodString;
|
|
621
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
622
|
+
createdAt: z.ZodString;
|
|
623
|
+
updatedAt: z.ZodString;
|
|
624
|
+
}, z.core.$strip>>>;
|
|
625
|
+
}, z.core.$strip>>>;
|
|
626
|
+
type: z.ZodLiteral<"ITEM">;
|
|
627
|
+
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>>;
|
|
628
|
+
}, z.core.$strip>;
|
|
629
|
+
declare const menuItemBundleDetailsSchema: z.ZodObject<{
|
|
484
630
|
price: z.ZodDefault<z.ZodString>;
|
|
631
|
+
createdAt: z.ZodString;
|
|
632
|
+
updatedAt: z.ZodString;
|
|
633
|
+
id: z.ZodString;
|
|
634
|
+
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>>;
|
|
635
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
636
|
+
application: "application";
|
|
637
|
+
ecommerce: "ecommerce";
|
|
638
|
+
deliveroo: "deliveroo";
|
|
639
|
+
justeat: "justeat";
|
|
640
|
+
glovo: "glovo";
|
|
641
|
+
}>>>;
|
|
642
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
643
|
+
name: z.ZodArray<z.ZodObject<{
|
|
644
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
645
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
646
|
+
}, z.core.$strip>>;
|
|
647
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
648
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
649
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
650
|
+
}, z.core.$strip>>>;
|
|
651
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
652
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
653
|
+
crustaceans: "crustaceans";
|
|
654
|
+
nuts: "nuts";
|
|
655
|
+
gluten: "gluten";
|
|
656
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
657
|
+
lupins: "lupins";
|
|
658
|
+
molluscs: "molluscs";
|
|
659
|
+
mustard: "mustard";
|
|
660
|
+
fish: "fish";
|
|
661
|
+
celery: "celery";
|
|
662
|
+
sesame: "sesame";
|
|
663
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
664
|
+
soy: "soy";
|
|
665
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
666
|
+
mushrooms: "mushrooms";
|
|
667
|
+
}>>>;
|
|
668
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
669
|
+
vegan: "vegan";
|
|
670
|
+
vegetarian: "vegetarian";
|
|
671
|
+
"gluten-free": "gluten-free";
|
|
672
|
+
"dairy-free": "dairy-free";
|
|
673
|
+
}>>>;
|
|
674
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
675
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
676
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
677
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
678
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
679
|
+
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>>>>;
|
|
680
|
+
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>>>>;
|
|
681
|
+
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>>>>;
|
|
682
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
683
|
+
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>>;
|
|
684
|
+
price: z.ZodDefault<z.ZodString>;
|
|
685
|
+
}, z.core.$strip>>>;
|
|
686
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
687
|
+
id: z.ZodString;
|
|
688
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
689
|
+
contentUrl: z.ZodURL;
|
|
690
|
+
filePath: z.ZodString;
|
|
691
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
692
|
+
createdAt: z.ZodString;
|
|
693
|
+
updatedAt: z.ZodString;
|
|
694
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
695
|
+
id: z.ZodString;
|
|
696
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
697
|
+
contentUrl: z.ZodURL;
|
|
698
|
+
filePath: z.ZodString;
|
|
699
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
700
|
+
createdAt: z.ZodString;
|
|
701
|
+
updatedAt: z.ZodString;
|
|
702
|
+
}, z.core.$strip>>>;
|
|
703
|
+
}, z.core.$strip>>>;
|
|
704
|
+
type: z.ZodLiteral<"BUNDLE">;
|
|
485
705
|
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>>;
|
|
706
|
+
}, z.core.$strip>;
|
|
707
|
+
declare const menuItemDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
708
|
+
price: z.ZodDefault<z.ZodString>;
|
|
486
709
|
createdAt: z.ZodString;
|
|
487
710
|
updatedAt: z.ZodString;
|
|
488
711
|
id: z.ZodString;
|
|
@@ -553,9 +776,9 @@ declare const menuItemDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
553
776
|
}, z.core.$strip>>>;
|
|
554
777
|
}, z.core.$strip>>>;
|
|
555
778
|
type: z.ZodLiteral<"CHOICE">;
|
|
779
|
+
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>>;
|
|
556
780
|
}, z.core.$strip>, z.ZodObject<{
|
|
557
781
|
price: z.ZodDefault<z.ZodString>;
|
|
558
|
-
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>>;
|
|
559
782
|
createdAt: z.ZodString;
|
|
560
783
|
updatedAt: z.ZodString;
|
|
561
784
|
id: z.ZodString;
|
|
@@ -630,9 +853,9 @@ declare const menuItemDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
630
853
|
}, z.core.$strip>>>;
|
|
631
854
|
}, z.core.$strip>>>;
|
|
632
855
|
type: z.ZodLiteral<"ITEM">;
|
|
856
|
+
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>>;
|
|
633
857
|
}, z.core.$strip>, z.ZodObject<{
|
|
634
858
|
price: z.ZodDefault<z.ZodString>;
|
|
635
|
-
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>>;
|
|
636
859
|
createdAt: z.ZodString;
|
|
637
860
|
updatedAt: z.ZodString;
|
|
638
861
|
id: z.ZodString;
|
|
@@ -707,6 +930,7 @@ declare const menuItemDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
707
930
|
}, z.core.$strip>>>;
|
|
708
931
|
}, z.core.$strip>>>;
|
|
709
932
|
type: z.ZodLiteral<"BUNDLE">;
|
|
933
|
+
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>>;
|
|
710
934
|
}, z.core.$strip>]>;
|
|
711
935
|
type MenuItemDetails = z.infer<typeof menuItemDetailsSchema>;
|
|
712
936
|
declare const writableMenuItemSchema: z.ZodObject<{
|
|
@@ -716,7 +940,6 @@ declare const writableMenuItemSchema: z.ZodObject<{
|
|
|
716
940
|
BUNDLE: "BUNDLE";
|
|
717
941
|
}>;
|
|
718
942
|
price: z.ZodDefault<z.ZodString>;
|
|
719
|
-
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>>;
|
|
720
943
|
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>>;
|
|
721
944
|
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
722
945
|
application: "application";
|
|
@@ -766,6 +989,7 @@ declare const writableMenuItemSchema: z.ZodObject<{
|
|
|
766
989
|
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>>;
|
|
767
990
|
price: z.ZodDefault<z.ZodString>;
|
|
768
991
|
}, z.core.$strip>>>;
|
|
992
|
+
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>>;
|
|
769
993
|
images: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>>>;
|
|
770
994
|
}, z.core.$strip>;
|
|
771
995
|
declare const menuItemCategorySchema: z.ZodObject<{
|
|
@@ -2769,7 +2993,6 @@ declare const createMenuItemInputSchema: z.ZodObject<{
|
|
|
2769
2993
|
BUNDLE: "BUNDLE";
|
|
2770
2994
|
}>>;
|
|
2771
2995
|
price: z.ZodNonOptional<z.ZodDefault<z.ZodString>>;
|
|
2772
|
-
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>>>;
|
|
2773
2996
|
category: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>>;
|
|
2774
2997
|
channels: z.ZodNonOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2775
2998
|
application: "application";
|
|
@@ -2819,12 +3042,12 @@ declare const createMenuItemInputSchema: z.ZodObject<{
|
|
|
2819
3042
|
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>>;
|
|
2820
3043
|
price: z.ZodDefault<z.ZodString>;
|
|
2821
3044
|
}, z.core.$strip>>>>;
|
|
3045
|
+
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>>>;
|
|
2822
3046
|
images: z.ZodNonOptional<z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>>>>;
|
|
2823
3047
|
}, z.core.$strip>;
|
|
2824
3048
|
type CreateMenuItemInput = z.input<typeof createMenuItemInputSchema>;
|
|
2825
3049
|
declare const createMenuItemResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2826
3050
|
price: z.ZodDefault<z.ZodString>;
|
|
2827
|
-
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>>;
|
|
2828
3051
|
createdAt: z.ZodString;
|
|
2829
3052
|
updatedAt: z.ZodString;
|
|
2830
3053
|
id: z.ZodString;
|
|
@@ -2895,9 +3118,9 @@ declare const createMenuItemResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2895
3118
|
}, z.core.$strip>>>;
|
|
2896
3119
|
}, z.core.$strip>>>;
|
|
2897
3120
|
type: z.ZodLiteral<"CHOICE">;
|
|
3121
|
+
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>>;
|
|
2898
3122
|
}, z.core.$strip>, z.ZodObject<{
|
|
2899
3123
|
price: z.ZodDefault<z.ZodString>;
|
|
2900
|
-
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>>;
|
|
2901
3124
|
createdAt: z.ZodString;
|
|
2902
3125
|
updatedAt: z.ZodString;
|
|
2903
3126
|
id: z.ZodString;
|
|
@@ -2972,9 +3195,9 @@ declare const createMenuItemResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2972
3195
|
}, z.core.$strip>>>;
|
|
2973
3196
|
}, z.core.$strip>>>;
|
|
2974
3197
|
type: z.ZodLiteral<"ITEM">;
|
|
3198
|
+
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>>;
|
|
2975
3199
|
}, z.core.$strip>, z.ZodObject<{
|
|
2976
3200
|
price: z.ZodDefault<z.ZodString>;
|
|
2977
|
-
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>>;
|
|
2978
3201
|
createdAt: z.ZodString;
|
|
2979
3202
|
updatedAt: z.ZodString;
|
|
2980
3203
|
id: z.ZodString;
|
|
@@ -3049,6 +3272,7 @@ declare const createMenuItemResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
3049
3272
|
}, z.core.$strip>>>;
|
|
3050
3273
|
}, z.core.$strip>>>;
|
|
3051
3274
|
type: z.ZodLiteral<"BUNDLE">;
|
|
3275
|
+
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>>;
|
|
3052
3276
|
}, z.core.$strip>]>;
|
|
3053
3277
|
type CreateMenuItemResponse = z.output<typeof createMenuItemResponseSchema>;
|
|
3054
3278
|
declare class CreateMenuItem extends AbstractApiRequest<typeof createMenuItemInputSchema, typeof createMenuItemResponseSchema> {
|
|
@@ -3062,7 +3286,6 @@ declare class CreateMenuItem extends AbstractApiRequest<typeof createMenuItemInp
|
|
|
3062
3286
|
BUNDLE: "BUNDLE";
|
|
3063
3287
|
}>>;
|
|
3064
3288
|
price: z.ZodNonOptional<z.ZodDefault<z.ZodString>>;
|
|
3065
|
-
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>>>;
|
|
3066
3289
|
category: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>>;
|
|
3067
3290
|
channels: z.ZodNonOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
3068
3291
|
application: "application";
|
|
@@ -3112,11 +3335,11 @@ declare class CreateMenuItem extends AbstractApiRequest<typeof createMenuItemInp
|
|
|
3112
3335
|
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>>;
|
|
3113
3336
|
price: z.ZodDefault<z.ZodString>;
|
|
3114
3337
|
}, z.core.$strip>>>>;
|
|
3338
|
+
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>>>;
|
|
3115
3339
|
images: z.ZodNonOptional<z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>>>>;
|
|
3116
3340
|
}, z.core.$strip>;
|
|
3117
3341
|
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3118
3342
|
price: z.ZodDefault<z.ZodString>;
|
|
3119
|
-
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>>;
|
|
3120
3343
|
createdAt: z.ZodString;
|
|
3121
3344
|
updatedAt: z.ZodString;
|
|
3122
3345
|
id: z.ZodString;
|
|
@@ -3187,9 +3410,9 @@ declare class CreateMenuItem extends AbstractApiRequest<typeof createMenuItemInp
|
|
|
3187
3410
|
}, z.core.$strip>>>;
|
|
3188
3411
|
}, z.core.$strip>>>;
|
|
3189
3412
|
type: z.ZodLiteral<"CHOICE">;
|
|
3413
|
+
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>>;
|
|
3190
3414
|
}, z.core.$strip>, z.ZodObject<{
|
|
3191
3415
|
price: z.ZodDefault<z.ZodString>;
|
|
3192
|
-
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>>;
|
|
3193
3416
|
createdAt: z.ZodString;
|
|
3194
3417
|
updatedAt: z.ZodString;
|
|
3195
3418
|
id: z.ZodString;
|
|
@@ -3264,9 +3487,9 @@ declare class CreateMenuItem extends AbstractApiRequest<typeof createMenuItemInp
|
|
|
3264
3487
|
}, z.core.$strip>>>;
|
|
3265
3488
|
}, z.core.$strip>>>;
|
|
3266
3489
|
type: z.ZodLiteral<"ITEM">;
|
|
3490
|
+
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>>;
|
|
3267
3491
|
}, z.core.$strip>, z.ZodObject<{
|
|
3268
3492
|
price: z.ZodDefault<z.ZodString>;
|
|
3269
|
-
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>>;
|
|
3270
3493
|
createdAt: z.ZodString;
|
|
3271
3494
|
updatedAt: z.ZodString;
|
|
3272
3495
|
id: z.ZodString;
|
|
@@ -3341,6 +3564,7 @@ declare class CreateMenuItem extends AbstractApiRequest<typeof createMenuItemInp
|
|
|
3341
3564
|
}, z.core.$strip>>>;
|
|
3342
3565
|
}, z.core.$strip>>>;
|
|
3343
3566
|
type: z.ZodLiteral<"BUNDLE">;
|
|
3567
|
+
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>>;
|
|
3344
3568
|
}, z.core.$strip>]>;
|
|
3345
3569
|
readonly querySchema: undefined;
|
|
3346
3570
|
readonly headersSchema: undefined;
|
|
@@ -3367,7 +3591,6 @@ declare const getMenuItemDetailsInputSchema: z.ZodUndefined;
|
|
|
3367
3591
|
type GetMenuItemDetailsInput = z.infer<typeof getMenuItemDetailsInputSchema>;
|
|
3368
3592
|
declare const getMenuItemDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3369
3593
|
price: z.ZodDefault<z.ZodString>;
|
|
3370
|
-
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>>;
|
|
3371
3594
|
createdAt: z.ZodString;
|
|
3372
3595
|
updatedAt: z.ZodString;
|
|
3373
3596
|
id: z.ZodString;
|
|
@@ -3438,9 +3661,9 @@ declare const getMenuItemDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
3438
3661
|
}, z.core.$strip>>>;
|
|
3439
3662
|
}, z.core.$strip>>>;
|
|
3440
3663
|
type: z.ZodLiteral<"CHOICE">;
|
|
3664
|
+
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>>;
|
|
3441
3665
|
}, z.core.$strip>, z.ZodObject<{
|
|
3442
3666
|
price: z.ZodDefault<z.ZodString>;
|
|
3443
|
-
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>>;
|
|
3444
3667
|
createdAt: z.ZodString;
|
|
3445
3668
|
updatedAt: z.ZodString;
|
|
3446
3669
|
id: z.ZodString;
|
|
@@ -3515,9 +3738,9 @@ declare const getMenuItemDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
3515
3738
|
}, z.core.$strip>>>;
|
|
3516
3739
|
}, z.core.$strip>>>;
|
|
3517
3740
|
type: z.ZodLiteral<"ITEM">;
|
|
3741
|
+
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>>;
|
|
3518
3742
|
}, z.core.$strip>, z.ZodObject<{
|
|
3519
3743
|
price: z.ZodDefault<z.ZodString>;
|
|
3520
|
-
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>>;
|
|
3521
3744
|
createdAt: z.ZodString;
|
|
3522
3745
|
updatedAt: z.ZodString;
|
|
3523
3746
|
id: z.ZodString;
|
|
@@ -3592,6 +3815,7 @@ declare const getMenuItemDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
3592
3815
|
}, z.core.$strip>>>;
|
|
3593
3816
|
}, z.core.$strip>>>;
|
|
3594
3817
|
type: z.ZodLiteral<"BUNDLE">;
|
|
3818
|
+
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>>;
|
|
3595
3819
|
}, z.core.$strip>]>;
|
|
3596
3820
|
type GetMenuItemDetailsResponse = z.infer<typeof getMenuItemDetailsResponseSchema>;
|
|
3597
3821
|
declare class GetMenuItemDetails extends AbstractApiRequest<typeof getMenuItemDetailsInputSchema, typeof getMenuItemDetailsResponseSchema> {
|
|
@@ -3601,7 +3825,6 @@ declare class GetMenuItemDetails extends AbstractApiRequest<typeof getMenuItemDe
|
|
|
3601
3825
|
readonly inputSchema: z.ZodUndefined;
|
|
3602
3826
|
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3603
3827
|
price: z.ZodDefault<z.ZodString>;
|
|
3604
|
-
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>>;
|
|
3605
3828
|
createdAt: z.ZodString;
|
|
3606
3829
|
updatedAt: z.ZodString;
|
|
3607
3830
|
id: z.ZodString;
|
|
@@ -3672,9 +3895,86 @@ declare class GetMenuItemDetails extends AbstractApiRequest<typeof getMenuItemDe
|
|
|
3672
3895
|
}, z.core.$strip>>>;
|
|
3673
3896
|
}, z.core.$strip>>>;
|
|
3674
3897
|
type: z.ZodLiteral<"CHOICE">;
|
|
3898
|
+
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>>;
|
|
3675
3899
|
}, z.core.$strip>, z.ZodObject<{
|
|
3676
3900
|
price: z.ZodDefault<z.ZodString>;
|
|
3901
|
+
createdAt: z.ZodString;
|
|
3902
|
+
updatedAt: z.ZodString;
|
|
3903
|
+
id: z.ZodString;
|
|
3904
|
+
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>>;
|
|
3905
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
3906
|
+
application: "application";
|
|
3907
|
+
ecommerce: "ecommerce";
|
|
3908
|
+
deliveroo: "deliveroo";
|
|
3909
|
+
justeat: "justeat";
|
|
3910
|
+
glovo: "glovo";
|
|
3911
|
+
}>>>;
|
|
3912
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3913
|
+
name: z.ZodArray<z.ZodObject<{
|
|
3914
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
3915
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
3916
|
+
}, z.core.$strip>>;
|
|
3917
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3918
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
3919
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
3920
|
+
}, z.core.$strip>>>;
|
|
3921
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
3922
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
3923
|
+
crustaceans: "crustaceans";
|
|
3924
|
+
nuts: "nuts";
|
|
3925
|
+
gluten: "gluten";
|
|
3926
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
3927
|
+
lupins: "lupins";
|
|
3928
|
+
molluscs: "molluscs";
|
|
3929
|
+
mustard: "mustard";
|
|
3930
|
+
fish: "fish";
|
|
3931
|
+
celery: "celery";
|
|
3932
|
+
sesame: "sesame";
|
|
3933
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
3934
|
+
soy: "soy";
|
|
3935
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
3936
|
+
mushrooms: "mushrooms";
|
|
3937
|
+
}>>>;
|
|
3938
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
3939
|
+
vegan: "vegan";
|
|
3940
|
+
vegetarian: "vegetarian";
|
|
3941
|
+
"gluten-free": "gluten-free";
|
|
3942
|
+
"dairy-free": "dairy-free";
|
|
3943
|
+
}>>>;
|
|
3944
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
3945
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
3946
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
3947
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
3948
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
3949
|
+
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>>>>;
|
|
3950
|
+
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>>>>;
|
|
3951
|
+
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>>>>;
|
|
3952
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3953
|
+
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>>;
|
|
3954
|
+
price: z.ZodDefault<z.ZodString>;
|
|
3955
|
+
}, z.core.$strip>>>;
|
|
3956
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3957
|
+
id: z.ZodString;
|
|
3958
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
3959
|
+
contentUrl: z.ZodURL;
|
|
3960
|
+
filePath: z.ZodString;
|
|
3961
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3962
|
+
createdAt: z.ZodString;
|
|
3963
|
+
updatedAt: z.ZodString;
|
|
3964
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3965
|
+
id: z.ZodString;
|
|
3966
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
3967
|
+
contentUrl: z.ZodURL;
|
|
3968
|
+
filePath: z.ZodString;
|
|
3969
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3970
|
+
createdAt: z.ZodString;
|
|
3971
|
+
updatedAt: z.ZodString;
|
|
3972
|
+
}, z.core.$strip>>>;
|
|
3973
|
+
}, z.core.$strip>>>;
|
|
3974
|
+
type: z.ZodLiteral<"ITEM">;
|
|
3677
3975
|
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>>;
|
|
3976
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3977
|
+
price: z.ZodDefault<z.ZodString>;
|
|
3678
3978
|
createdAt: z.ZodString;
|
|
3679
3979
|
updatedAt: z.ZodString;
|
|
3680
3980
|
id: z.ZodString;
|
|
@@ -3747,75 +4047,1105 @@ declare class GetMenuItemDetails extends AbstractApiRequest<typeof getMenuItemDe
|
|
|
3747
4047
|
createdAt: z.ZodString;
|
|
3748
4048
|
updatedAt: z.ZodString;
|
|
3749
4049
|
}, z.core.$strip>>>;
|
|
3750
|
-
}, z.core.$strip>>>;
|
|
3751
|
-
type: z.ZodLiteral<"
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
4050
|
+
}, z.core.$strip>>>;
|
|
4051
|
+
type: z.ZodLiteral<"BUNDLE">;
|
|
4052
|
+
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>>;
|
|
4053
|
+
}, z.core.$strip>]>;
|
|
4054
|
+
readonly querySchema: undefined;
|
|
4055
|
+
readonly headersSchema: undefined;
|
|
4056
|
+
private readonly menuItemId;
|
|
4057
|
+
constructor(menuItemId: string);
|
|
4058
|
+
getPath(): string;
|
|
4059
|
+
}
|
|
4060
|
+
|
|
4061
|
+
declare const getMenuItemsQuerySchema: z.ZodObject<{
|
|
4062
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4063
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4064
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4065
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4066
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4067
|
+
application: "application";
|
|
4068
|
+
ecommerce: "ecommerce";
|
|
4069
|
+
deliveroo: "deliveroo";
|
|
4070
|
+
justeat: "justeat";
|
|
4071
|
+
glovo: "glovo";
|
|
4072
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
4073
|
+
application: "application";
|
|
4074
|
+
ecommerce: "ecommerce";
|
|
4075
|
+
deliveroo: "deliveroo";
|
|
4076
|
+
justeat: "justeat";
|
|
4077
|
+
glovo: "glovo";
|
|
4078
|
+
}>>]>>;
|
|
4079
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4080
|
+
ITEM: "ITEM";
|
|
4081
|
+
CHOICE: "CHOICE";
|
|
4082
|
+
BUNDLE: "BUNDLE";
|
|
4083
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
4084
|
+
ITEM: "ITEM";
|
|
4085
|
+
CHOICE: "CHOICE";
|
|
4086
|
+
BUNDLE: "BUNDLE";
|
|
4087
|
+
}>>]>>;
|
|
4088
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4089
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4090
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4091
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4092
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4093
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
4094
|
+
asc: "asc";
|
|
4095
|
+
desc: "desc";
|
|
4096
|
+
}>>;
|
|
4097
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
4098
|
+
asc: "asc";
|
|
4099
|
+
desc: "desc";
|
|
4100
|
+
}>>;
|
|
4101
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4102
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
4103
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4104
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
4105
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4106
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
4107
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4108
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
4109
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4110
|
+
}, z.core.$strip>;
|
|
4111
|
+
type GetMenuItemsQueryParams = z.infer<typeof getMenuItemsQuerySchema>;
|
|
4112
|
+
declare const getMenuItemsInputSchema: z.ZodUndefined;
|
|
4113
|
+
type GetMenuItemsInput = z.input<typeof getMenuItemsInputSchema>;
|
|
4114
|
+
declare const getMenuItemsResponseSchema: z.ZodObject<{
|
|
4115
|
+
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4116
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4117
|
+
createdAt: z.ZodString;
|
|
4118
|
+
updatedAt: z.ZodString;
|
|
4119
|
+
id: z.ZodString;
|
|
4120
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4121
|
+
application: "application";
|
|
4122
|
+
ecommerce: "ecommerce";
|
|
4123
|
+
deliveroo: "deliveroo";
|
|
4124
|
+
justeat: "justeat";
|
|
4125
|
+
glovo: "glovo";
|
|
4126
|
+
}>>>;
|
|
4127
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4128
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4129
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4130
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4131
|
+
}, z.core.$strip>>;
|
|
4132
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4133
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4134
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4135
|
+
}, z.core.$strip>>>;
|
|
4136
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4137
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
4138
|
+
crustaceans: "crustaceans";
|
|
4139
|
+
nuts: "nuts";
|
|
4140
|
+
gluten: "gluten";
|
|
4141
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
4142
|
+
lupins: "lupins";
|
|
4143
|
+
molluscs: "molluscs";
|
|
4144
|
+
mustard: "mustard";
|
|
4145
|
+
fish: "fish";
|
|
4146
|
+
celery: "celery";
|
|
4147
|
+
sesame: "sesame";
|
|
4148
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
4149
|
+
soy: "soy";
|
|
4150
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
4151
|
+
mushrooms: "mushrooms";
|
|
4152
|
+
}>>>;
|
|
4153
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4154
|
+
vegan: "vegan";
|
|
4155
|
+
vegetarian: "vegetarian";
|
|
4156
|
+
"gluten-free": "gluten-free";
|
|
4157
|
+
"dairy-free": "dairy-free";
|
|
4158
|
+
}>>>;
|
|
4159
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
4160
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
4161
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
4162
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
4163
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
4164
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4165
|
+
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>>;
|
|
4166
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4167
|
+
}, z.core.$strip>>>;
|
|
4168
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4169
|
+
id: z.ZodString;
|
|
4170
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4171
|
+
contentUrl: z.ZodURL;
|
|
4172
|
+
filePath: z.ZodString;
|
|
4173
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4174
|
+
createdAt: z.ZodString;
|
|
4175
|
+
updatedAt: z.ZodString;
|
|
4176
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4177
|
+
id: z.ZodString;
|
|
4178
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4179
|
+
contentUrl: z.ZodURL;
|
|
4180
|
+
filePath: z.ZodString;
|
|
4181
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4182
|
+
createdAt: z.ZodString;
|
|
4183
|
+
updatedAt: z.ZodString;
|
|
4184
|
+
}, z.core.$strip>>>;
|
|
4185
|
+
}, z.core.$strip>>>;
|
|
4186
|
+
type: z.ZodLiteral<"CHOICE">;
|
|
4187
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4188
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4189
|
+
createdAt: z.ZodString;
|
|
4190
|
+
updatedAt: z.ZodString;
|
|
4191
|
+
id: z.ZodString;
|
|
4192
|
+
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>>;
|
|
4193
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4194
|
+
application: "application";
|
|
4195
|
+
ecommerce: "ecommerce";
|
|
4196
|
+
deliveroo: "deliveroo";
|
|
4197
|
+
justeat: "justeat";
|
|
4198
|
+
glovo: "glovo";
|
|
4199
|
+
}>>>;
|
|
4200
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4201
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4202
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4203
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4204
|
+
}, z.core.$strip>>;
|
|
4205
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4206
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4207
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4208
|
+
}, z.core.$strip>>>;
|
|
4209
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4210
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
4211
|
+
crustaceans: "crustaceans";
|
|
4212
|
+
nuts: "nuts";
|
|
4213
|
+
gluten: "gluten";
|
|
4214
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
4215
|
+
lupins: "lupins";
|
|
4216
|
+
molluscs: "molluscs";
|
|
4217
|
+
mustard: "mustard";
|
|
4218
|
+
fish: "fish";
|
|
4219
|
+
celery: "celery";
|
|
4220
|
+
sesame: "sesame";
|
|
4221
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
4222
|
+
soy: "soy";
|
|
4223
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
4224
|
+
mushrooms: "mushrooms";
|
|
4225
|
+
}>>>;
|
|
4226
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4227
|
+
vegan: "vegan";
|
|
4228
|
+
vegetarian: "vegetarian";
|
|
4229
|
+
"gluten-free": "gluten-free";
|
|
4230
|
+
"dairy-free": "dairy-free";
|
|
4231
|
+
}>>>;
|
|
4232
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
4233
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
4234
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
4235
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
4236
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
4237
|
+
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>>>>;
|
|
4238
|
+
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>>>>;
|
|
4239
|
+
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>>>>;
|
|
4240
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4241
|
+
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>>;
|
|
4242
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4243
|
+
}, z.core.$strip>>>;
|
|
4244
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4245
|
+
id: z.ZodString;
|
|
4246
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4247
|
+
contentUrl: z.ZodURL;
|
|
4248
|
+
filePath: z.ZodString;
|
|
4249
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4250
|
+
createdAt: z.ZodString;
|
|
4251
|
+
updatedAt: z.ZodString;
|
|
4252
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4253
|
+
id: z.ZodString;
|
|
4254
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4255
|
+
contentUrl: z.ZodURL;
|
|
4256
|
+
filePath: z.ZodString;
|
|
4257
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4258
|
+
createdAt: z.ZodString;
|
|
4259
|
+
updatedAt: z.ZodString;
|
|
4260
|
+
}, z.core.$strip>>>;
|
|
4261
|
+
}, z.core.$strip>>>;
|
|
4262
|
+
type: z.ZodLiteral<"ITEM">;
|
|
4263
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4264
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4265
|
+
createdAt: z.ZodString;
|
|
4266
|
+
updatedAt: z.ZodString;
|
|
4267
|
+
id: z.ZodString;
|
|
4268
|
+
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>>;
|
|
4269
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4270
|
+
application: "application";
|
|
4271
|
+
ecommerce: "ecommerce";
|
|
4272
|
+
deliveroo: "deliveroo";
|
|
4273
|
+
justeat: "justeat";
|
|
4274
|
+
glovo: "glovo";
|
|
4275
|
+
}>>>;
|
|
4276
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4277
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4278
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4279
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4280
|
+
}, z.core.$strip>>;
|
|
4281
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4282
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4283
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4284
|
+
}, z.core.$strip>>>;
|
|
4285
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4286
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
4287
|
+
crustaceans: "crustaceans";
|
|
4288
|
+
nuts: "nuts";
|
|
4289
|
+
gluten: "gluten";
|
|
4290
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
4291
|
+
lupins: "lupins";
|
|
4292
|
+
molluscs: "molluscs";
|
|
4293
|
+
mustard: "mustard";
|
|
4294
|
+
fish: "fish";
|
|
4295
|
+
celery: "celery";
|
|
4296
|
+
sesame: "sesame";
|
|
4297
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
4298
|
+
soy: "soy";
|
|
4299
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
4300
|
+
mushrooms: "mushrooms";
|
|
4301
|
+
}>>>;
|
|
4302
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4303
|
+
vegan: "vegan";
|
|
4304
|
+
vegetarian: "vegetarian";
|
|
4305
|
+
"gluten-free": "gluten-free";
|
|
4306
|
+
"dairy-free": "dairy-free";
|
|
4307
|
+
}>>>;
|
|
4308
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
4309
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
4310
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
4311
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
4312
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
4313
|
+
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>>>>;
|
|
4314
|
+
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>>>>;
|
|
4315
|
+
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>>>>;
|
|
4316
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4317
|
+
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>>;
|
|
4318
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4319
|
+
}, z.core.$strip>>>;
|
|
4320
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4321
|
+
id: z.ZodString;
|
|
4322
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4323
|
+
contentUrl: z.ZodURL;
|
|
4324
|
+
filePath: z.ZodString;
|
|
4325
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4326
|
+
createdAt: z.ZodString;
|
|
4327
|
+
updatedAt: z.ZodString;
|
|
4328
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4329
|
+
id: z.ZodString;
|
|
4330
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4331
|
+
contentUrl: z.ZodURL;
|
|
4332
|
+
filePath: z.ZodString;
|
|
4333
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4334
|
+
createdAt: z.ZodString;
|
|
4335
|
+
updatedAt: z.ZodString;
|
|
4336
|
+
}, z.core.$strip>>>;
|
|
4337
|
+
}, z.core.$strip>>>;
|
|
4338
|
+
type: z.ZodLiteral<"BUNDLE">;
|
|
4339
|
+
}, z.core.$strip>]>>;
|
|
4340
|
+
pagination: z.ZodObject<{
|
|
4341
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
4342
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
4343
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
4344
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
4345
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
4346
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
4347
|
+
}, z.core.$strip>;
|
|
4348
|
+
}, z.core.$strip>;
|
|
4349
|
+
type GetMenuItemsResponse = z.infer<typeof getMenuItemsResponseSchema>;
|
|
4350
|
+
declare class GetMenuItems extends AbstractApiRequest<typeof getMenuItemsInputSchema, typeof getMenuItemsResponseSchema, GetMenuItemsQueryParams> {
|
|
4351
|
+
readonly method = "GET";
|
|
4352
|
+
readonly contentType = "application/json";
|
|
4353
|
+
readonly accept = "application/json";
|
|
4354
|
+
readonly inputSchema: z.ZodUndefined;
|
|
4355
|
+
readonly outputSchema: z.ZodObject<{
|
|
4356
|
+
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4357
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4358
|
+
createdAt: z.ZodString;
|
|
4359
|
+
updatedAt: z.ZodString;
|
|
4360
|
+
id: z.ZodString;
|
|
4361
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4362
|
+
application: "application";
|
|
4363
|
+
ecommerce: "ecommerce";
|
|
4364
|
+
deliveroo: "deliveroo";
|
|
4365
|
+
justeat: "justeat";
|
|
4366
|
+
glovo: "glovo";
|
|
4367
|
+
}>>>;
|
|
4368
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4369
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4370
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4371
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4372
|
+
}, z.core.$strip>>;
|
|
4373
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4374
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4375
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4376
|
+
}, z.core.$strip>>>;
|
|
4377
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4378
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
4379
|
+
crustaceans: "crustaceans";
|
|
4380
|
+
nuts: "nuts";
|
|
4381
|
+
gluten: "gluten";
|
|
4382
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
4383
|
+
lupins: "lupins";
|
|
4384
|
+
molluscs: "molluscs";
|
|
4385
|
+
mustard: "mustard";
|
|
4386
|
+
fish: "fish";
|
|
4387
|
+
celery: "celery";
|
|
4388
|
+
sesame: "sesame";
|
|
4389
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
4390
|
+
soy: "soy";
|
|
4391
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
4392
|
+
mushrooms: "mushrooms";
|
|
4393
|
+
}>>>;
|
|
4394
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4395
|
+
vegan: "vegan";
|
|
4396
|
+
vegetarian: "vegetarian";
|
|
4397
|
+
"gluten-free": "gluten-free";
|
|
4398
|
+
"dairy-free": "dairy-free";
|
|
4399
|
+
}>>>;
|
|
4400
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
4401
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
4402
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
4403
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
4404
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
4405
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4406
|
+
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>>;
|
|
4407
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4408
|
+
}, z.core.$strip>>>;
|
|
4409
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4410
|
+
id: z.ZodString;
|
|
4411
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4412
|
+
contentUrl: z.ZodURL;
|
|
4413
|
+
filePath: z.ZodString;
|
|
4414
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4415
|
+
createdAt: z.ZodString;
|
|
4416
|
+
updatedAt: z.ZodString;
|
|
4417
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4418
|
+
id: z.ZodString;
|
|
4419
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4420
|
+
contentUrl: z.ZodURL;
|
|
4421
|
+
filePath: z.ZodString;
|
|
4422
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4423
|
+
createdAt: z.ZodString;
|
|
4424
|
+
updatedAt: z.ZodString;
|
|
4425
|
+
}, z.core.$strip>>>;
|
|
4426
|
+
}, z.core.$strip>>>;
|
|
4427
|
+
type: z.ZodLiteral<"CHOICE">;
|
|
4428
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4429
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4430
|
+
createdAt: z.ZodString;
|
|
4431
|
+
updatedAt: z.ZodString;
|
|
4432
|
+
id: z.ZodString;
|
|
4433
|
+
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>>;
|
|
4434
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4435
|
+
application: "application";
|
|
4436
|
+
ecommerce: "ecommerce";
|
|
4437
|
+
deliveroo: "deliveroo";
|
|
4438
|
+
justeat: "justeat";
|
|
4439
|
+
glovo: "glovo";
|
|
4440
|
+
}>>>;
|
|
4441
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4442
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4443
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4444
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4445
|
+
}, z.core.$strip>>;
|
|
4446
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4447
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4448
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4449
|
+
}, z.core.$strip>>>;
|
|
4450
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4451
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
4452
|
+
crustaceans: "crustaceans";
|
|
4453
|
+
nuts: "nuts";
|
|
4454
|
+
gluten: "gluten";
|
|
4455
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
4456
|
+
lupins: "lupins";
|
|
4457
|
+
molluscs: "molluscs";
|
|
4458
|
+
mustard: "mustard";
|
|
4459
|
+
fish: "fish";
|
|
4460
|
+
celery: "celery";
|
|
4461
|
+
sesame: "sesame";
|
|
4462
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
4463
|
+
soy: "soy";
|
|
4464
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
4465
|
+
mushrooms: "mushrooms";
|
|
4466
|
+
}>>>;
|
|
4467
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4468
|
+
vegan: "vegan";
|
|
4469
|
+
vegetarian: "vegetarian";
|
|
4470
|
+
"gluten-free": "gluten-free";
|
|
4471
|
+
"dairy-free": "dairy-free";
|
|
4472
|
+
}>>>;
|
|
4473
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
4474
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
4475
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
4476
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
4477
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
4478
|
+
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>>>>;
|
|
4479
|
+
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>>>>;
|
|
4480
|
+
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>>>>;
|
|
4481
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4482
|
+
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>>;
|
|
4483
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4484
|
+
}, z.core.$strip>>>;
|
|
4485
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4486
|
+
id: z.ZodString;
|
|
4487
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4488
|
+
contentUrl: z.ZodURL;
|
|
4489
|
+
filePath: z.ZodString;
|
|
4490
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4491
|
+
createdAt: z.ZodString;
|
|
4492
|
+
updatedAt: z.ZodString;
|
|
4493
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4494
|
+
id: z.ZodString;
|
|
4495
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4496
|
+
contentUrl: z.ZodURL;
|
|
4497
|
+
filePath: z.ZodString;
|
|
4498
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4499
|
+
createdAt: z.ZodString;
|
|
4500
|
+
updatedAt: z.ZodString;
|
|
4501
|
+
}, z.core.$strip>>>;
|
|
4502
|
+
}, z.core.$strip>>>;
|
|
4503
|
+
type: z.ZodLiteral<"ITEM">;
|
|
4504
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4505
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4506
|
+
createdAt: z.ZodString;
|
|
4507
|
+
updatedAt: z.ZodString;
|
|
4508
|
+
id: z.ZodString;
|
|
4509
|
+
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>>;
|
|
4510
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4511
|
+
application: "application";
|
|
4512
|
+
ecommerce: "ecommerce";
|
|
4513
|
+
deliveroo: "deliveroo";
|
|
4514
|
+
justeat: "justeat";
|
|
4515
|
+
glovo: "glovo";
|
|
4516
|
+
}>>>;
|
|
4517
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4518
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4519
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4520
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4521
|
+
}, z.core.$strip>>;
|
|
4522
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4523
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4524
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4525
|
+
}, z.core.$strip>>>;
|
|
4526
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4527
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
4528
|
+
crustaceans: "crustaceans";
|
|
4529
|
+
nuts: "nuts";
|
|
4530
|
+
gluten: "gluten";
|
|
4531
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
4532
|
+
lupins: "lupins";
|
|
4533
|
+
molluscs: "molluscs";
|
|
4534
|
+
mustard: "mustard";
|
|
4535
|
+
fish: "fish";
|
|
4536
|
+
celery: "celery";
|
|
4537
|
+
sesame: "sesame";
|
|
4538
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
4539
|
+
soy: "soy";
|
|
4540
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
4541
|
+
mushrooms: "mushrooms";
|
|
4542
|
+
}>>>;
|
|
4543
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4544
|
+
vegan: "vegan";
|
|
4545
|
+
vegetarian: "vegetarian";
|
|
4546
|
+
"gluten-free": "gluten-free";
|
|
4547
|
+
"dairy-free": "dairy-free";
|
|
4548
|
+
}>>>;
|
|
4549
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
4550
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
4551
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
4552
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
4553
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
4554
|
+
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>>>>;
|
|
4555
|
+
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>>>>;
|
|
4556
|
+
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>>>>;
|
|
4557
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4558
|
+
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>>;
|
|
4559
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4560
|
+
}, z.core.$strip>>>;
|
|
4561
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4562
|
+
id: z.ZodString;
|
|
4563
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4564
|
+
contentUrl: z.ZodURL;
|
|
4565
|
+
filePath: z.ZodString;
|
|
4566
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4567
|
+
createdAt: z.ZodString;
|
|
4568
|
+
updatedAt: z.ZodString;
|
|
4569
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4570
|
+
id: z.ZodString;
|
|
4571
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4572
|
+
contentUrl: z.ZodURL;
|
|
4573
|
+
filePath: z.ZodString;
|
|
4574
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4575
|
+
createdAt: z.ZodString;
|
|
4576
|
+
updatedAt: z.ZodString;
|
|
4577
|
+
}, z.core.$strip>>>;
|
|
4578
|
+
}, z.core.$strip>>>;
|
|
4579
|
+
type: z.ZodLiteral<"BUNDLE">;
|
|
4580
|
+
}, z.core.$strip>]>>;
|
|
4581
|
+
pagination: z.ZodObject<{
|
|
4582
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
4583
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
4584
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
4585
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
4586
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
4587
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
4588
|
+
}, z.core.$strip>;
|
|
4589
|
+
}, z.core.$strip>;
|
|
4590
|
+
readonly querySchema: z.ZodObject<{
|
|
4591
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4592
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4593
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4594
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4595
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4596
|
+
application: "application";
|
|
4597
|
+
ecommerce: "ecommerce";
|
|
4598
|
+
deliveroo: "deliveroo";
|
|
4599
|
+
justeat: "justeat";
|
|
4600
|
+
glovo: "glovo";
|
|
4601
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
4602
|
+
application: "application";
|
|
4603
|
+
ecommerce: "ecommerce";
|
|
4604
|
+
deliveroo: "deliveroo";
|
|
4605
|
+
justeat: "justeat";
|
|
4606
|
+
glovo: "glovo";
|
|
4607
|
+
}>>]>>;
|
|
4608
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4609
|
+
ITEM: "ITEM";
|
|
4610
|
+
CHOICE: "CHOICE";
|
|
4611
|
+
BUNDLE: "BUNDLE";
|
|
4612
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
4613
|
+
ITEM: "ITEM";
|
|
4614
|
+
CHOICE: "CHOICE";
|
|
4615
|
+
BUNDLE: "BUNDLE";
|
|
4616
|
+
}>>]>>;
|
|
4617
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4618
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4619
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4620
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4621
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4622
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
4623
|
+
asc: "asc";
|
|
4624
|
+
desc: "desc";
|
|
4625
|
+
}>>;
|
|
4626
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
4627
|
+
asc: "asc";
|
|
4628
|
+
desc: "desc";
|
|
4629
|
+
}>>;
|
|
4630
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4631
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
4632
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4633
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
4634
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4635
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
4636
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4637
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
4638
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4639
|
+
}, z.core.$strip>;
|
|
4640
|
+
readonly headersSchema: undefined;
|
|
4641
|
+
constructor(options?: {
|
|
4642
|
+
query?: GetMenuItemsQueryParams;
|
|
4643
|
+
});
|
|
4644
|
+
getPath(): string;
|
|
4645
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuItem>;
|
|
4646
|
+
}
|
|
4647
|
+
|
|
4648
|
+
declare const getMenuItemsFromMenuItemCategoryQuerySchema: z.ZodObject<{
|
|
4649
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4650
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4651
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4652
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4653
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4654
|
+
application: "application";
|
|
4655
|
+
ecommerce: "ecommerce";
|
|
4656
|
+
deliveroo: "deliveroo";
|
|
4657
|
+
justeat: "justeat";
|
|
4658
|
+
glovo: "glovo";
|
|
4659
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
4660
|
+
application: "application";
|
|
4661
|
+
ecommerce: "ecommerce";
|
|
4662
|
+
deliveroo: "deliveroo";
|
|
4663
|
+
justeat: "justeat";
|
|
4664
|
+
glovo: "glovo";
|
|
4665
|
+
}>>]>>;
|
|
4666
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4667
|
+
ITEM: "ITEM";
|
|
4668
|
+
CHOICE: "CHOICE";
|
|
4669
|
+
BUNDLE: "BUNDLE";
|
|
4670
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
4671
|
+
ITEM: "ITEM";
|
|
4672
|
+
CHOICE: "CHOICE";
|
|
4673
|
+
BUNDLE: "BUNDLE";
|
|
4674
|
+
}>>]>>;
|
|
4675
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4676
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4677
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4678
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4679
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4680
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
4681
|
+
asc: "asc";
|
|
4682
|
+
desc: "desc";
|
|
4683
|
+
}>>;
|
|
4684
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
4685
|
+
asc: "asc";
|
|
4686
|
+
desc: "desc";
|
|
4687
|
+
}>>;
|
|
4688
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4689
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
4690
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4691
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
4692
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4693
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
4694
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4695
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
4696
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4697
|
+
}, z.core.$strip>;
|
|
4698
|
+
type GetMenuItemsFromMenuItemCategoryQueryParams = z.infer<typeof getMenuItemsFromMenuItemCategoryQuerySchema>;
|
|
4699
|
+
declare const getMenuItemsFromMenuItemCategoryInputSchema: z.ZodUndefined;
|
|
4700
|
+
type GetMenuItemsFromMenuItemCategoryInput = z.input<typeof getMenuItemsFromMenuItemCategoryInputSchema>;
|
|
4701
|
+
declare const getMenuItemsFromMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
4702
|
+
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4703
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4704
|
+
createdAt: z.ZodString;
|
|
4705
|
+
updatedAt: z.ZodString;
|
|
4706
|
+
id: z.ZodString;
|
|
4707
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4708
|
+
application: "application";
|
|
4709
|
+
ecommerce: "ecommerce";
|
|
4710
|
+
deliveroo: "deliveroo";
|
|
4711
|
+
justeat: "justeat";
|
|
4712
|
+
glovo: "glovo";
|
|
4713
|
+
}>>>;
|
|
4714
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4715
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4716
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4717
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4718
|
+
}, z.core.$strip>>;
|
|
4719
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4720
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4721
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4722
|
+
}, z.core.$strip>>>;
|
|
4723
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4724
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
4725
|
+
crustaceans: "crustaceans";
|
|
4726
|
+
nuts: "nuts";
|
|
4727
|
+
gluten: "gluten";
|
|
4728
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
4729
|
+
lupins: "lupins";
|
|
4730
|
+
molluscs: "molluscs";
|
|
4731
|
+
mustard: "mustard";
|
|
4732
|
+
fish: "fish";
|
|
4733
|
+
celery: "celery";
|
|
4734
|
+
sesame: "sesame";
|
|
4735
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
4736
|
+
soy: "soy";
|
|
4737
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
4738
|
+
mushrooms: "mushrooms";
|
|
4739
|
+
}>>>;
|
|
4740
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4741
|
+
vegan: "vegan";
|
|
4742
|
+
vegetarian: "vegetarian";
|
|
4743
|
+
"gluten-free": "gluten-free";
|
|
4744
|
+
"dairy-free": "dairy-free";
|
|
4745
|
+
}>>>;
|
|
4746
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
4747
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
4748
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
4749
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
4750
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
4751
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4752
|
+
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>>;
|
|
4753
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4754
|
+
}, z.core.$strip>>>;
|
|
4755
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4756
|
+
id: z.ZodString;
|
|
4757
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4758
|
+
contentUrl: z.ZodURL;
|
|
4759
|
+
filePath: z.ZodString;
|
|
4760
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4761
|
+
createdAt: z.ZodString;
|
|
4762
|
+
updatedAt: z.ZodString;
|
|
4763
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4764
|
+
id: z.ZodString;
|
|
4765
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4766
|
+
contentUrl: z.ZodURL;
|
|
4767
|
+
filePath: z.ZodString;
|
|
4768
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4769
|
+
createdAt: z.ZodString;
|
|
4770
|
+
updatedAt: z.ZodString;
|
|
4771
|
+
}, z.core.$strip>>>;
|
|
4772
|
+
}, z.core.$strip>>>;
|
|
4773
|
+
type: z.ZodLiteral<"CHOICE">;
|
|
4774
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4775
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4776
|
+
createdAt: z.ZodString;
|
|
4777
|
+
updatedAt: z.ZodString;
|
|
4778
|
+
id: z.ZodString;
|
|
4779
|
+
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>>;
|
|
4780
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4781
|
+
application: "application";
|
|
4782
|
+
ecommerce: "ecommerce";
|
|
4783
|
+
deliveroo: "deliveroo";
|
|
4784
|
+
justeat: "justeat";
|
|
4785
|
+
glovo: "glovo";
|
|
4786
|
+
}>>>;
|
|
4787
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4788
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4789
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4790
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4791
|
+
}, z.core.$strip>>;
|
|
4792
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4793
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4794
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4795
|
+
}, z.core.$strip>>>;
|
|
4796
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4797
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
4798
|
+
crustaceans: "crustaceans";
|
|
4799
|
+
nuts: "nuts";
|
|
4800
|
+
gluten: "gluten";
|
|
4801
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
4802
|
+
lupins: "lupins";
|
|
4803
|
+
molluscs: "molluscs";
|
|
4804
|
+
mustard: "mustard";
|
|
4805
|
+
fish: "fish";
|
|
4806
|
+
celery: "celery";
|
|
4807
|
+
sesame: "sesame";
|
|
4808
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
4809
|
+
soy: "soy";
|
|
4810
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
4811
|
+
mushrooms: "mushrooms";
|
|
4812
|
+
}>>>;
|
|
4813
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4814
|
+
vegan: "vegan";
|
|
4815
|
+
vegetarian: "vegetarian";
|
|
4816
|
+
"gluten-free": "gluten-free";
|
|
4817
|
+
"dairy-free": "dairy-free";
|
|
4818
|
+
}>>>;
|
|
4819
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
4820
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
4821
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
4822
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
4823
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
4824
|
+
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>>>>;
|
|
4825
|
+
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>>>>;
|
|
4826
|
+
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>>>>;
|
|
4827
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4828
|
+
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>>;
|
|
4829
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4830
|
+
}, z.core.$strip>>>;
|
|
4831
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4832
|
+
id: z.ZodString;
|
|
4833
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4834
|
+
contentUrl: z.ZodURL;
|
|
4835
|
+
filePath: z.ZodString;
|
|
4836
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4837
|
+
createdAt: z.ZodString;
|
|
4838
|
+
updatedAt: z.ZodString;
|
|
4839
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4840
|
+
id: z.ZodString;
|
|
4841
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4842
|
+
contentUrl: z.ZodURL;
|
|
4843
|
+
filePath: z.ZodString;
|
|
4844
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4845
|
+
createdAt: z.ZodString;
|
|
4846
|
+
updatedAt: z.ZodString;
|
|
4847
|
+
}, z.core.$strip>>>;
|
|
4848
|
+
}, z.core.$strip>>>;
|
|
4849
|
+
type: z.ZodLiteral<"ITEM">;
|
|
4850
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4851
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4852
|
+
createdAt: z.ZodString;
|
|
4853
|
+
updatedAt: z.ZodString;
|
|
4854
|
+
id: z.ZodString;
|
|
4855
|
+
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>>;
|
|
4856
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4857
|
+
application: "application";
|
|
4858
|
+
ecommerce: "ecommerce";
|
|
4859
|
+
deliveroo: "deliveroo";
|
|
4860
|
+
justeat: "justeat";
|
|
4861
|
+
glovo: "glovo";
|
|
4862
|
+
}>>>;
|
|
4863
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4864
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4865
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4866
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4867
|
+
}, z.core.$strip>>;
|
|
4868
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4869
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4870
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4871
|
+
}, z.core.$strip>>>;
|
|
4872
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4873
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
4874
|
+
crustaceans: "crustaceans";
|
|
4875
|
+
nuts: "nuts";
|
|
4876
|
+
gluten: "gluten";
|
|
4877
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
4878
|
+
lupins: "lupins";
|
|
4879
|
+
molluscs: "molluscs";
|
|
4880
|
+
mustard: "mustard";
|
|
4881
|
+
fish: "fish";
|
|
4882
|
+
celery: "celery";
|
|
4883
|
+
sesame: "sesame";
|
|
4884
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
4885
|
+
soy: "soy";
|
|
4886
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
4887
|
+
mushrooms: "mushrooms";
|
|
4888
|
+
}>>>;
|
|
4889
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4890
|
+
vegan: "vegan";
|
|
4891
|
+
vegetarian: "vegetarian";
|
|
4892
|
+
"gluten-free": "gluten-free";
|
|
4893
|
+
"dairy-free": "dairy-free";
|
|
4894
|
+
}>>>;
|
|
4895
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
4896
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
4897
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
4898
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
4899
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
4900
|
+
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>>>>;
|
|
4901
|
+
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>>>>;
|
|
4902
|
+
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>>>>;
|
|
4903
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4904
|
+
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>>;
|
|
4905
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4906
|
+
}, z.core.$strip>>>;
|
|
4907
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4908
|
+
id: z.ZodString;
|
|
4909
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4910
|
+
contentUrl: z.ZodURL;
|
|
4911
|
+
filePath: z.ZodString;
|
|
4912
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4913
|
+
createdAt: z.ZodString;
|
|
4914
|
+
updatedAt: z.ZodString;
|
|
4915
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4916
|
+
id: z.ZodString;
|
|
4917
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4918
|
+
contentUrl: z.ZodURL;
|
|
4919
|
+
filePath: z.ZodString;
|
|
4920
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4921
|
+
createdAt: z.ZodString;
|
|
4922
|
+
updatedAt: z.ZodString;
|
|
4923
|
+
}, z.core.$strip>>>;
|
|
4924
|
+
}, z.core.$strip>>>;
|
|
4925
|
+
type: z.ZodLiteral<"BUNDLE">;
|
|
4926
|
+
}, z.core.$strip>]>>;
|
|
4927
|
+
pagination: z.ZodObject<{
|
|
4928
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
4929
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
4930
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
4931
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
4932
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
4933
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
4934
|
+
}, z.core.$strip>;
|
|
4935
|
+
}, z.core.$strip>;
|
|
4936
|
+
type GetMenuItemsFromMenuItemCategoryResponse = z.infer<typeof getMenuItemsFromMenuItemCategoryResponseSchema>;
|
|
4937
|
+
declare class GetMenuItemsFromMenuItemCategory extends AbstractApiRequest<typeof getMenuItemsFromMenuItemCategoryInputSchema, typeof getMenuItemsFromMenuItemCategoryResponseSchema, GetMenuItemsFromMenuItemCategoryQueryParams> {
|
|
4938
|
+
readonly method = "GET";
|
|
4939
|
+
readonly contentType = "application/json";
|
|
4940
|
+
readonly accept = "application/json";
|
|
4941
|
+
readonly inputSchema: z.ZodUndefined;
|
|
4942
|
+
readonly outputSchema: z.ZodObject<{
|
|
4943
|
+
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4944
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4945
|
+
createdAt: z.ZodString;
|
|
4946
|
+
updatedAt: z.ZodString;
|
|
4947
|
+
id: z.ZodString;
|
|
4948
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4949
|
+
application: "application";
|
|
4950
|
+
ecommerce: "ecommerce";
|
|
4951
|
+
deliveroo: "deliveroo";
|
|
4952
|
+
justeat: "justeat";
|
|
4953
|
+
glovo: "glovo";
|
|
4954
|
+
}>>>;
|
|
4955
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4956
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4957
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4958
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4959
|
+
}, z.core.$strip>>;
|
|
4960
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4961
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4962
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4963
|
+
}, z.core.$strip>>>;
|
|
4964
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4965
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
4966
|
+
crustaceans: "crustaceans";
|
|
4967
|
+
nuts: "nuts";
|
|
4968
|
+
gluten: "gluten";
|
|
4969
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
4970
|
+
lupins: "lupins";
|
|
4971
|
+
molluscs: "molluscs";
|
|
4972
|
+
mustard: "mustard";
|
|
4973
|
+
fish: "fish";
|
|
4974
|
+
celery: "celery";
|
|
4975
|
+
sesame: "sesame";
|
|
4976
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
4977
|
+
soy: "soy";
|
|
4978
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
4979
|
+
mushrooms: "mushrooms";
|
|
4980
|
+
}>>>;
|
|
4981
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4982
|
+
vegan: "vegan";
|
|
4983
|
+
vegetarian: "vegetarian";
|
|
4984
|
+
"gluten-free": "gluten-free";
|
|
4985
|
+
"dairy-free": "dairy-free";
|
|
4986
|
+
}>>>;
|
|
4987
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
4988
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
4989
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
4990
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
4991
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
4992
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4993
|
+
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>>;
|
|
4994
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4995
|
+
}, z.core.$strip>>>;
|
|
4996
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4997
|
+
id: z.ZodString;
|
|
4998
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4999
|
+
contentUrl: z.ZodURL;
|
|
5000
|
+
filePath: z.ZodString;
|
|
5001
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5002
|
+
createdAt: z.ZodString;
|
|
5003
|
+
updatedAt: z.ZodString;
|
|
5004
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5005
|
+
id: z.ZodString;
|
|
5006
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5007
|
+
contentUrl: z.ZodURL;
|
|
5008
|
+
filePath: z.ZodString;
|
|
5009
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5010
|
+
createdAt: z.ZodString;
|
|
5011
|
+
updatedAt: z.ZodString;
|
|
5012
|
+
}, z.core.$strip>>>;
|
|
5013
|
+
}, z.core.$strip>>>;
|
|
5014
|
+
type: z.ZodLiteral<"CHOICE">;
|
|
5015
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5016
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5017
|
+
createdAt: z.ZodString;
|
|
5018
|
+
updatedAt: z.ZodString;
|
|
5019
|
+
id: z.ZodString;
|
|
5020
|
+
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>>;
|
|
5021
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5022
|
+
application: "application";
|
|
5023
|
+
ecommerce: "ecommerce";
|
|
5024
|
+
deliveroo: "deliveroo";
|
|
5025
|
+
justeat: "justeat";
|
|
5026
|
+
glovo: "glovo";
|
|
5027
|
+
}>>>;
|
|
5028
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5029
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5030
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5031
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5032
|
+
}, z.core.$strip>>;
|
|
5033
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5034
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5035
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5036
|
+
}, z.core.$strip>>>;
|
|
5037
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5038
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5039
|
+
crustaceans: "crustaceans";
|
|
5040
|
+
nuts: "nuts";
|
|
5041
|
+
gluten: "gluten";
|
|
5042
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5043
|
+
lupins: "lupins";
|
|
5044
|
+
molluscs: "molluscs";
|
|
5045
|
+
mustard: "mustard";
|
|
5046
|
+
fish: "fish";
|
|
5047
|
+
celery: "celery";
|
|
5048
|
+
sesame: "sesame";
|
|
5049
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5050
|
+
soy: "soy";
|
|
5051
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5052
|
+
mushrooms: "mushrooms";
|
|
5053
|
+
}>>>;
|
|
5054
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5055
|
+
vegan: "vegan";
|
|
5056
|
+
vegetarian: "vegetarian";
|
|
5057
|
+
"gluten-free": "gluten-free";
|
|
5058
|
+
"dairy-free": "dairy-free";
|
|
5059
|
+
}>>>;
|
|
5060
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5061
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5062
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5063
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5064
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5065
|
+
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>>>>;
|
|
5066
|
+
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>>>>;
|
|
5067
|
+
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>>>>;
|
|
5068
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5069
|
+
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>>;
|
|
5070
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5071
|
+
}, z.core.$strip>>>;
|
|
5072
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5073
|
+
id: z.ZodString;
|
|
5074
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5075
|
+
contentUrl: z.ZodURL;
|
|
5076
|
+
filePath: z.ZodString;
|
|
5077
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5078
|
+
createdAt: z.ZodString;
|
|
5079
|
+
updatedAt: z.ZodString;
|
|
5080
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5081
|
+
id: z.ZodString;
|
|
5082
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5083
|
+
contentUrl: z.ZodURL;
|
|
5084
|
+
filePath: z.ZodString;
|
|
5085
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5086
|
+
createdAt: z.ZodString;
|
|
5087
|
+
updatedAt: z.ZodString;
|
|
5088
|
+
}, z.core.$strip>>>;
|
|
5089
|
+
}, z.core.$strip>>>;
|
|
5090
|
+
type: z.ZodLiteral<"ITEM">;
|
|
5091
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3808
5092
|
price: z.ZodDefault<z.ZodString>;
|
|
3809
|
-
}, z.core.$strip>>>;
|
|
3810
|
-
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3811
|
-
id: z.ZodString;
|
|
3812
|
-
variant: z.ZodNullable<z.ZodString>;
|
|
3813
|
-
contentUrl: z.ZodURL;
|
|
3814
|
-
filePath: z.ZodString;
|
|
3815
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3816
5093
|
createdAt: z.ZodString;
|
|
3817
5094
|
updatedAt: z.ZodString;
|
|
3818
|
-
|
|
5095
|
+
id: z.ZodString;
|
|
5096
|
+
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>>;
|
|
5097
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5098
|
+
application: "application";
|
|
5099
|
+
ecommerce: "ecommerce";
|
|
5100
|
+
deliveroo: "deliveroo";
|
|
5101
|
+
justeat: "justeat";
|
|
5102
|
+
glovo: "glovo";
|
|
5103
|
+
}>>>;
|
|
5104
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5105
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5106
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5107
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5108
|
+
}, z.core.$strip>>;
|
|
5109
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5110
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5111
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5112
|
+
}, z.core.$strip>>>;
|
|
5113
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5114
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5115
|
+
crustaceans: "crustaceans";
|
|
5116
|
+
nuts: "nuts";
|
|
5117
|
+
gluten: "gluten";
|
|
5118
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5119
|
+
lupins: "lupins";
|
|
5120
|
+
molluscs: "molluscs";
|
|
5121
|
+
mustard: "mustard";
|
|
5122
|
+
fish: "fish";
|
|
5123
|
+
celery: "celery";
|
|
5124
|
+
sesame: "sesame";
|
|
5125
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5126
|
+
soy: "soy";
|
|
5127
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5128
|
+
mushrooms: "mushrooms";
|
|
5129
|
+
}>>>;
|
|
5130
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5131
|
+
vegan: "vegan";
|
|
5132
|
+
vegetarian: "vegetarian";
|
|
5133
|
+
"gluten-free": "gluten-free";
|
|
5134
|
+
"dairy-free": "dairy-free";
|
|
5135
|
+
}>>>;
|
|
5136
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5137
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5138
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5139
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5140
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5141
|
+
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>>>>;
|
|
5142
|
+
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>>>>;
|
|
5143
|
+
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>>>>;
|
|
5144
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5145
|
+
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>>;
|
|
5146
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5147
|
+
}, z.core.$strip>>>;
|
|
5148
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3819
5149
|
id: z.ZodString;
|
|
3820
5150
|
variant: z.ZodNullable<z.ZodString>;
|
|
3821
5151
|
contentUrl: z.ZodURL;
|
|
@@ -3823,18 +5153,87 @@ declare class GetMenuItemDetails extends AbstractApiRequest<typeof getMenuItemDe
|
|
|
3823
5153
|
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3824
5154
|
createdAt: z.ZodString;
|
|
3825
5155
|
updatedAt: z.ZodString;
|
|
5156
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5157
|
+
id: z.ZodString;
|
|
5158
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5159
|
+
contentUrl: z.ZodURL;
|
|
5160
|
+
filePath: z.ZodString;
|
|
5161
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5162
|
+
createdAt: z.ZodString;
|
|
5163
|
+
updatedAt: z.ZodString;
|
|
5164
|
+
}, z.core.$strip>>>;
|
|
3826
5165
|
}, z.core.$strip>>>;
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
5166
|
+
type: z.ZodLiteral<"BUNDLE">;
|
|
5167
|
+
}, z.core.$strip>]>>;
|
|
5168
|
+
pagination: z.ZodObject<{
|
|
5169
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
5170
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
5171
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
5172
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
5173
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
5174
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
5175
|
+
}, z.core.$strip>;
|
|
5176
|
+
}, z.core.$strip>;
|
|
5177
|
+
readonly querySchema: z.ZodObject<{
|
|
5178
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5179
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5180
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5181
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5182
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5183
|
+
application: "application";
|
|
5184
|
+
ecommerce: "ecommerce";
|
|
5185
|
+
deliveroo: "deliveroo";
|
|
5186
|
+
justeat: "justeat";
|
|
5187
|
+
glovo: "glovo";
|
|
5188
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
5189
|
+
application: "application";
|
|
5190
|
+
ecommerce: "ecommerce";
|
|
5191
|
+
deliveroo: "deliveroo";
|
|
5192
|
+
justeat: "justeat";
|
|
5193
|
+
glovo: "glovo";
|
|
5194
|
+
}>>]>>;
|
|
5195
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5196
|
+
ITEM: "ITEM";
|
|
5197
|
+
CHOICE: "CHOICE";
|
|
5198
|
+
BUNDLE: "BUNDLE";
|
|
5199
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
5200
|
+
ITEM: "ITEM";
|
|
5201
|
+
CHOICE: "CHOICE";
|
|
5202
|
+
BUNDLE: "BUNDLE";
|
|
5203
|
+
}>>]>>;
|
|
5204
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5205
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5206
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5207
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5208
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5209
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
5210
|
+
asc: "asc";
|
|
5211
|
+
desc: "desc";
|
|
5212
|
+
}>>;
|
|
5213
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
5214
|
+
asc: "asc";
|
|
5215
|
+
desc: "desc";
|
|
5216
|
+
}>>;
|
|
5217
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5218
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
5219
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
5220
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
5221
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
5222
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
5223
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
5224
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
5225
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
5226
|
+
}, z.core.$strip>;
|
|
3831
5227
|
readonly headersSchema: undefined;
|
|
3832
|
-
private readonly
|
|
3833
|
-
constructor(
|
|
5228
|
+
private readonly menuItemCategoryId;
|
|
5229
|
+
constructor(menuItemCategoryId: string, options?: {
|
|
5230
|
+
query?: GetMenuItemsFromMenuItemCategoryQueryParams;
|
|
5231
|
+
});
|
|
3834
5232
|
getPath(): string;
|
|
5233
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuItem>;
|
|
3835
5234
|
}
|
|
3836
5235
|
|
|
3837
|
-
declare const
|
|
5236
|
+
declare const getMenuItemsFromPointOfSaleQuerySchema: z.ZodObject<{
|
|
3838
5237
|
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3839
5238
|
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3840
5239
|
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
@@ -3884,13 +5283,12 @@ declare const getMenuItemsQuerySchema: z.ZodObject<{
|
|
|
3884
5283
|
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
3885
5284
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3886
5285
|
}, z.core.$strip>;
|
|
3887
|
-
type
|
|
3888
|
-
declare const
|
|
3889
|
-
type
|
|
3890
|
-
declare const
|
|
5286
|
+
type GetMenuItemsFromPointOfSaleQueryParams = z.infer<typeof getMenuItemsFromPointOfSaleQuerySchema>;
|
|
5287
|
+
declare const getMenuItemsFromPointOfSaleInputSchema: z.ZodUndefined;
|
|
5288
|
+
type GetMenuItemsFromPointOfSaleInput = z.input<typeof getMenuItemsFromPointOfSaleInputSchema>;
|
|
5289
|
+
declare const getMenuItemsFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
3891
5290
|
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3892
5291
|
price: z.ZodDefault<z.ZodString>;
|
|
3893
|
-
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>>;
|
|
3894
5292
|
createdAt: z.ZodString;
|
|
3895
5293
|
updatedAt: z.ZodString;
|
|
3896
5294
|
id: z.ZodString;
|
|
@@ -3963,7 +5361,6 @@ declare const getMenuItemsResponseSchema: z.ZodObject<{
|
|
|
3963
5361
|
type: z.ZodLiteral<"CHOICE">;
|
|
3964
5362
|
}, z.core.$strip>, z.ZodObject<{
|
|
3965
5363
|
price: z.ZodDefault<z.ZodString>;
|
|
3966
|
-
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>>;
|
|
3967
5364
|
createdAt: z.ZodString;
|
|
3968
5365
|
updatedAt: z.ZodString;
|
|
3969
5366
|
id: z.ZodString;
|
|
@@ -4040,7 +5437,6 @@ declare const getMenuItemsResponseSchema: z.ZodObject<{
|
|
|
4040
5437
|
type: z.ZodLiteral<"ITEM">;
|
|
4041
5438
|
}, z.core.$strip>, z.ZodObject<{
|
|
4042
5439
|
price: z.ZodDefault<z.ZodString>;
|
|
4043
|
-
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>>;
|
|
4044
5440
|
createdAt: z.ZodString;
|
|
4045
5441
|
updatedAt: z.ZodString;
|
|
4046
5442
|
id: z.ZodString;
|
|
@@ -4125,8 +5521,8 @@ declare const getMenuItemsResponseSchema: z.ZodObject<{
|
|
|
4125
5521
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
4126
5522
|
}, z.core.$strip>;
|
|
4127
5523
|
}, z.core.$strip>;
|
|
4128
|
-
type
|
|
4129
|
-
declare class
|
|
5524
|
+
type GetMenuItemsFromPointOfSaleResponse = z.infer<typeof getMenuItemsFromPointOfSaleResponseSchema>;
|
|
5525
|
+
declare class GetMenuItemsFromPointOfSale extends AbstractApiRequest<typeof getMenuItemsFromPointOfSaleInputSchema, typeof getMenuItemsFromPointOfSaleResponseSchema, GetMenuItemsFromPointOfSaleQueryParams> {
|
|
4130
5526
|
readonly method = "GET";
|
|
4131
5527
|
readonly contentType = "application/json";
|
|
4132
5528
|
readonly accept = "application/json";
|
|
@@ -4134,7 +5530,6 @@ declare class GetMenuItems extends AbstractApiRequest<typeof getMenuItemsInputSc
|
|
|
4134
5530
|
readonly outputSchema: z.ZodObject<{
|
|
4135
5531
|
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4136
5532
|
price: z.ZodDefault<z.ZodString>;
|
|
4137
|
-
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>>;
|
|
4138
5533
|
createdAt: z.ZodString;
|
|
4139
5534
|
updatedAt: z.ZodString;
|
|
4140
5535
|
id: z.ZodString;
|
|
@@ -4207,7 +5602,6 @@ declare class GetMenuItems extends AbstractApiRequest<typeof getMenuItemsInputSc
|
|
|
4207
5602
|
type: z.ZodLiteral<"CHOICE">;
|
|
4208
5603
|
}, z.core.$strip>, z.ZodObject<{
|
|
4209
5604
|
price: z.ZodDefault<z.ZodString>;
|
|
4210
|
-
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>>;
|
|
4211
5605
|
createdAt: z.ZodString;
|
|
4212
5606
|
updatedAt: z.ZodString;
|
|
4213
5607
|
id: z.ZodString;
|
|
@@ -4284,7 +5678,6 @@ declare class GetMenuItems extends AbstractApiRequest<typeof getMenuItemsInputSc
|
|
|
4284
5678
|
type: z.ZodLiteral<"ITEM">;
|
|
4285
5679
|
}, z.core.$strip>, z.ZodObject<{
|
|
4286
5680
|
price: z.ZodDefault<z.ZodString>;
|
|
4287
|
-
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>>;
|
|
4288
5681
|
createdAt: z.ZodString;
|
|
4289
5682
|
updatedAt: z.ZodString;
|
|
4290
5683
|
id: z.ZodString;
|
|
@@ -4420,8 +5813,9 @@ declare class GetMenuItems extends AbstractApiRequest<typeof getMenuItemsInputSc
|
|
|
4420
5813
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4421
5814
|
}, z.core.$strip>;
|
|
4422
5815
|
readonly headersSchema: undefined;
|
|
4423
|
-
|
|
4424
|
-
|
|
5816
|
+
private readonly pointOfSaleId;
|
|
5817
|
+
constructor(pointOfSaleId: string, options?: {
|
|
5818
|
+
query?: GetMenuItemsFromPointOfSaleQueryParams;
|
|
4425
5819
|
});
|
|
4426
5820
|
getPath(): string;
|
|
4427
5821
|
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuItem>;
|
|
@@ -4488,7 +5882,6 @@ declare const updateMenuItemInputSchema: z.ZodObject<{
|
|
|
4488
5882
|
type UpdateMenuItemInput = z.input<typeof updateMenuItemInputSchema>;
|
|
4489
5883
|
declare const updateMenuItemResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4490
5884
|
price: z.ZodDefault<z.ZodString>;
|
|
4491
|
-
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>>;
|
|
4492
5885
|
createdAt: z.ZodString;
|
|
4493
5886
|
updatedAt: z.ZodString;
|
|
4494
5887
|
id: z.ZodString;
|
|
@@ -4559,9 +5952,9 @@ declare const updateMenuItemResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
4559
5952
|
}, z.core.$strip>>>;
|
|
4560
5953
|
}, z.core.$strip>>>;
|
|
4561
5954
|
type: z.ZodLiteral<"CHOICE">;
|
|
5955
|
+
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>>;
|
|
4562
5956
|
}, z.core.$strip>, z.ZodObject<{
|
|
4563
5957
|
price: z.ZodDefault<z.ZodString>;
|
|
4564
|
-
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>>;
|
|
4565
5958
|
createdAt: z.ZodString;
|
|
4566
5959
|
updatedAt: z.ZodString;
|
|
4567
5960
|
id: z.ZodString;
|
|
@@ -4636,9 +6029,9 @@ declare const updateMenuItemResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
4636
6029
|
}, z.core.$strip>>>;
|
|
4637
6030
|
}, z.core.$strip>>>;
|
|
4638
6031
|
type: z.ZodLiteral<"ITEM">;
|
|
6032
|
+
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>>;
|
|
4639
6033
|
}, z.core.$strip>, z.ZodObject<{
|
|
4640
6034
|
price: z.ZodDefault<z.ZodString>;
|
|
4641
|
-
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>>;
|
|
4642
6035
|
createdAt: z.ZodString;
|
|
4643
6036
|
updatedAt: z.ZodString;
|
|
4644
6037
|
id: z.ZodString;
|
|
@@ -4713,6 +6106,7 @@ declare const updateMenuItemResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
4713
6106
|
}, z.core.$strip>>>;
|
|
4714
6107
|
}, z.core.$strip>>>;
|
|
4715
6108
|
type: z.ZodLiteral<"BUNDLE">;
|
|
6109
|
+
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>>;
|
|
4716
6110
|
}, z.core.$strip>]>;
|
|
4717
6111
|
type UpdateMenuItemResponse = z.infer<typeof updateMenuItemResponseSchema>;
|
|
4718
6112
|
declare class UpdateMenuItem extends AbstractApiRequest<typeof updateMenuItemInputSchema, typeof updateMenuItemResponseSchema> {
|
|
@@ -4779,7 +6173,6 @@ declare class UpdateMenuItem extends AbstractApiRequest<typeof updateMenuItemInp
|
|
|
4779
6173
|
}, z.core.$strip>;
|
|
4780
6174
|
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4781
6175
|
price: z.ZodDefault<z.ZodString>;
|
|
4782
|
-
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>>;
|
|
4783
6176
|
createdAt: z.ZodString;
|
|
4784
6177
|
updatedAt: z.ZodString;
|
|
4785
6178
|
id: z.ZodString;
|
|
@@ -4850,9 +6243,9 @@ declare class UpdateMenuItem extends AbstractApiRequest<typeof updateMenuItemInp
|
|
|
4850
6243
|
}, z.core.$strip>>>;
|
|
4851
6244
|
}, z.core.$strip>>>;
|
|
4852
6245
|
type: z.ZodLiteral<"CHOICE">;
|
|
6246
|
+
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>>;
|
|
4853
6247
|
}, z.core.$strip>, z.ZodObject<{
|
|
4854
6248
|
price: z.ZodDefault<z.ZodString>;
|
|
4855
|
-
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>>;
|
|
4856
6249
|
createdAt: z.ZodString;
|
|
4857
6250
|
updatedAt: z.ZodString;
|
|
4858
6251
|
id: z.ZodString;
|
|
@@ -4927,9 +6320,9 @@ declare class UpdateMenuItem extends AbstractApiRequest<typeof updateMenuItemInp
|
|
|
4927
6320
|
}, z.core.$strip>>>;
|
|
4928
6321
|
}, z.core.$strip>>>;
|
|
4929
6322
|
type: z.ZodLiteral<"ITEM">;
|
|
6323
|
+
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>>;
|
|
4930
6324
|
}, z.core.$strip>, z.ZodObject<{
|
|
4931
6325
|
price: z.ZodDefault<z.ZodString>;
|
|
4932
|
-
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>>;
|
|
4933
6326
|
createdAt: z.ZodString;
|
|
4934
6327
|
updatedAt: z.ZodString;
|
|
4935
6328
|
id: z.ZodString;
|
|
@@ -5004,6 +6397,7 @@ declare class UpdateMenuItem extends AbstractApiRequest<typeof updateMenuItemInp
|
|
|
5004
6397
|
}, z.core.$strip>>>;
|
|
5005
6398
|
}, z.core.$strip>>>;
|
|
5006
6399
|
type: z.ZodLiteral<"BUNDLE">;
|
|
6400
|
+
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>>;
|
|
5007
6401
|
}, z.core.$strip>]>;
|
|
5008
6402
|
readonly querySchema: undefined;
|
|
5009
6403
|
readonly headersSchema: undefined;
|
|
@@ -5129,4 +6523,4 @@ type MenuItemPriceOverrideSalesPriceIri = z.infer<typeof menuItemPriceOverrideSa
|
|
|
5129
6523
|
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>>;
|
|
5130
6524
|
type MenuItemPriceOverrideSalesPriceNullableIri = z.infer<typeof menuItemPriceOverrideSalesPriceNullableIriSchema>;
|
|
5131
6525
|
|
|
5132
|
-
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, type GetMenuItemModifiersInput, type GetMenuItemModifiersQueryParams, type GetMenuItemModifiersResponse, GetMenuItemPriceOverrideDetails, type GetMenuItemPriceOverrideDetailsInput, type GetMenuItemPriceOverrideDetailsResponse, GetMenuItemPriceOverrides, type GetMenuItemPriceOverridesInput, type GetMenuItemPriceOverridesQueryParams, type GetMenuItemPriceOverridesResponse, GetMenuItems, 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, getMenuItemModifiersInputSchema, getMenuItemModifiersQuerySchema, getMenuItemModifiersResponseSchema, getMenuItemPriceOverrideDetailsInputSchema, getMenuItemPriceOverrideDetailsResponseSchema, getMenuItemPriceOverridesInputSchema, getMenuItemPriceOverridesQuerySchema, getMenuItemPriceOverridesResponseSchema, getMenuItemsInputSchema, getMenuItemsQuerySchema, getMenuItemsResponseSchema, getMenuVersionDetailsInputSchema, getMenuVersionDetailsResponseSchema, getMenuVersionsInputSchema, getMenuVersionsQuerySchema, getMenuVersionsResponseSchema, localeItemSchema, menuCategoryDtoSchema, menuDtoSchema, menuItemBundleSchema, menuItemCategoriesQuerySchema, menuItemCategoryDetailsSchema, menuItemCategoryIriSchema, menuItemCategoryNullableIriSchema, menuItemCategorySchema, menuItemChoiceSchema, menuItemDetailsSchema, menuItemDtoSchema, menuItemIriSchema, 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 };
|
|
6526
|
+
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, 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, 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 };
|