@deliverart/sdk-js-menu 2.5.3 → 2.5.5
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 +107 -20
- package/dist/index.d.cts +1638 -249
- package/dist/index.d.ts +1638 -249
- package/dist/index.js +103 -21
- package/package.json +6 -6
package/dist/index.d.cts
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,8 @@ 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<{
|
|
484
478
|
price: z.ZodDefault<z.ZodString>;
|
|
485
|
-
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>>;
|
|
486
479
|
createdAt: z.ZodString;
|
|
487
480
|
updatedAt: z.ZodString;
|
|
488
481
|
id: z.ZodString;
|
|
@@ -553,9 +546,10 @@ declare const menuItemDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
553
546
|
}, z.core.$strip>>>;
|
|
554
547
|
}, z.core.$strip>>>;
|
|
555
548
|
type: z.ZodLiteral<"CHOICE">;
|
|
556
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
557
|
-
price: z.ZodDefault<z.ZodString>;
|
|
558
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>;
|
|
559
553
|
createdAt: z.ZodString;
|
|
560
554
|
updatedAt: z.ZodString;
|
|
561
555
|
id: z.ZodString;
|
|
@@ -630,9 +624,10 @@ declare const menuItemDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
630
624
|
}, z.core.$strip>>>;
|
|
631
625
|
}, z.core.$strip>>>;
|
|
632
626
|
type: z.ZodLiteral<"ITEM">;
|
|
633
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
634
|
-
price: z.ZodDefault<z.ZodString>;
|
|
635
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<{
|
|
630
|
+
price: z.ZodDefault<z.ZodString>;
|
|
636
631
|
createdAt: z.ZodString;
|
|
637
632
|
updatedAt: z.ZodString;
|
|
638
633
|
id: z.ZodString;
|
|
@@ -707,17 +702,13 @@ declare const menuItemDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
707
702
|
}, z.core.$strip>>>;
|
|
708
703
|
}, z.core.$strip>>>;
|
|
709
704
|
type: z.ZodLiteral<"BUNDLE">;
|
|
710
|
-
}, z.core.$strip>]>;
|
|
711
|
-
type MenuItemDetails = z.infer<typeof menuItemDetailsSchema>;
|
|
712
|
-
declare const writableMenuItemSchema: z.ZodObject<{
|
|
713
|
-
type: z.ZodEnum<{
|
|
714
|
-
ITEM: "ITEM";
|
|
715
|
-
CHOICE: "CHOICE";
|
|
716
|
-
BUNDLE: "BUNDLE";
|
|
717
|
-
}>;
|
|
718
|
-
price: z.ZodDefault<z.ZodString>;
|
|
719
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>>;
|
|
720
|
-
|
|
706
|
+
}, z.core.$strip>;
|
|
707
|
+
declare const menuItemDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
708
|
+
price: z.ZodDefault<z.ZodString>;
|
|
709
|
+
createdAt: z.ZodString;
|
|
710
|
+
updatedAt: z.ZodString;
|
|
711
|
+
id: z.ZodString;
|
|
721
712
|
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
722
713
|
application: "application";
|
|
723
714
|
ecommerce: "ecommerce";
|
|
@@ -760,16 +751,46 @@ declare const writableMenuItemSchema: z.ZodObject<{
|
|
|
760
751
|
taxRate: z.ZodCoercedNumber<unknown>;
|
|
761
752
|
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
762
753
|
countable: z.ZodDefault<z.ZodBoolean>;
|
|
754
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
763
755
|
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
764
|
-
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>>>>;
|
|
765
756
|
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
766
757
|
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
758
|
price: z.ZodDefault<z.ZodString>;
|
|
768
759
|
}, z.core.$strip>>>;
|
|
769
|
-
images: z.ZodDefault<z.ZodArray<z.
|
|
770
|
-
|
|
771
|
-
|
|
760
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
761
|
+
id: z.ZodString;
|
|
762
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
763
|
+
contentUrl: z.ZodURL;
|
|
764
|
+
filePath: z.ZodString;
|
|
765
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
766
|
+
createdAt: z.ZodString;
|
|
767
|
+
updatedAt: z.ZodString;
|
|
768
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
769
|
+
id: z.ZodString;
|
|
770
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
771
|
+
contentUrl: z.ZodURL;
|
|
772
|
+
filePath: z.ZodString;
|
|
773
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
774
|
+
createdAt: z.ZodString;
|
|
775
|
+
updatedAt: z.ZodString;
|
|
776
|
+
}, z.core.$strip>>>;
|
|
777
|
+
}, z.core.$strip>>>;
|
|
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>>;
|
|
780
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
781
|
+
price: z.ZodDefault<z.ZodString>;
|
|
782
|
+
createdAt: z.ZodString;
|
|
783
|
+
updatedAt: z.ZodString;
|
|
772
784
|
id: z.ZodString;
|
|
785
|
+
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>>;
|
|
786
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
787
|
+
application: "application";
|
|
788
|
+
ecommerce: "ecommerce";
|
|
789
|
+
deliveroo: "deliveroo";
|
|
790
|
+
justeat: "justeat";
|
|
791
|
+
glovo: "glovo";
|
|
792
|
+
}>>>;
|
|
793
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
773
794
|
name: z.ZodArray<z.ZodObject<{
|
|
774
795
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
775
796
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -778,8 +799,41 @@ declare const menuItemCategorySchema: z.ZodObject<{
|
|
|
778
799
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
779
800
|
text: z.ZodNonOptional<z.ZodString>;
|
|
780
801
|
}, z.core.$strip>>>;
|
|
781
|
-
|
|
802
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
803
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
804
|
+
crustaceans: "crustaceans";
|
|
805
|
+
nuts: "nuts";
|
|
806
|
+
gluten: "gluten";
|
|
807
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
808
|
+
lupins: "lupins";
|
|
809
|
+
molluscs: "molluscs";
|
|
810
|
+
mustard: "mustard";
|
|
811
|
+
fish: "fish";
|
|
812
|
+
celery: "celery";
|
|
813
|
+
sesame: "sesame";
|
|
814
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
815
|
+
soy: "soy";
|
|
816
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
817
|
+
mushrooms: "mushrooms";
|
|
818
|
+
}>>>;
|
|
819
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
820
|
+
vegan: "vegan";
|
|
821
|
+
vegetarian: "vegetarian";
|
|
822
|
+
"gluten-free": "gluten-free";
|
|
823
|
+
"dairy-free": "dairy-free";
|
|
824
|
+
}>>>;
|
|
825
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
826
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
827
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
828
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
782
829
|
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
830
|
+
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>>>>;
|
|
831
|
+
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>>>>;
|
|
832
|
+
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>>>>;
|
|
833
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
834
|
+
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>>;
|
|
835
|
+
price: z.ZodDefault<z.ZodString>;
|
|
836
|
+
}, z.core.$strip>>>;
|
|
783
837
|
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
784
838
|
id: z.ZodString;
|
|
785
839
|
variant: z.ZodNullable<z.ZodString>;
|
|
@@ -798,12 +852,22 @@ declare const menuItemCategorySchema: z.ZodObject<{
|
|
|
798
852
|
updatedAt: z.ZodString;
|
|
799
853
|
}, z.core.$strip>>>;
|
|
800
854
|
}, z.core.$strip>>>;
|
|
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>>;
|
|
857
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
858
|
+
price: z.ZodDefault<z.ZodString>;
|
|
801
859
|
createdAt: z.ZodString;
|
|
802
860
|
updatedAt: z.ZodString;
|
|
803
|
-
}, z.core.$strip>;
|
|
804
|
-
type MenuItemCategory = z.infer<typeof menuItemCategorySchema>;
|
|
805
|
-
declare const menuItemCategoryDetailsSchema: z.ZodObject<{
|
|
806
861
|
id: z.ZodString;
|
|
862
|
+
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>>;
|
|
863
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
864
|
+
application: "application";
|
|
865
|
+
ecommerce: "ecommerce";
|
|
866
|
+
deliveroo: "deliveroo";
|
|
867
|
+
justeat: "justeat";
|
|
868
|
+
glovo: "glovo";
|
|
869
|
+
}>>>;
|
|
870
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
807
871
|
name: z.ZodArray<z.ZodObject<{
|
|
808
872
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
809
873
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -812,8 +876,41 @@ declare const menuItemCategoryDetailsSchema: z.ZodObject<{
|
|
|
812
876
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
813
877
|
text: z.ZodNonOptional<z.ZodString>;
|
|
814
878
|
}, z.core.$strip>>>;
|
|
815
|
-
|
|
879
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
880
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
881
|
+
crustaceans: "crustaceans";
|
|
882
|
+
nuts: "nuts";
|
|
883
|
+
gluten: "gluten";
|
|
884
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
885
|
+
lupins: "lupins";
|
|
886
|
+
molluscs: "molluscs";
|
|
887
|
+
mustard: "mustard";
|
|
888
|
+
fish: "fish";
|
|
889
|
+
celery: "celery";
|
|
890
|
+
sesame: "sesame";
|
|
891
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
892
|
+
soy: "soy";
|
|
893
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
894
|
+
mushrooms: "mushrooms";
|
|
895
|
+
}>>>;
|
|
896
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
897
|
+
vegan: "vegan";
|
|
898
|
+
vegetarian: "vegetarian";
|
|
899
|
+
"gluten-free": "gluten-free";
|
|
900
|
+
"dairy-free": "dairy-free";
|
|
901
|
+
}>>>;
|
|
902
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
903
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
904
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
905
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
816
906
|
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
907
|
+
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>>>>;
|
|
908
|
+
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>>>>;
|
|
909
|
+
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>>>>;
|
|
910
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
911
|
+
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>>;
|
|
912
|
+
price: z.ZodDefault<z.ZodString>;
|
|
913
|
+
}, z.core.$strip>>>;
|
|
817
914
|
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
818
915
|
id: z.ZodString;
|
|
819
916
|
variant: z.ZodNullable<z.ZodString>;
|
|
@@ -832,13 +929,26 @@ declare const menuItemCategoryDetailsSchema: z.ZodObject<{
|
|
|
832
929
|
updatedAt: z.ZodString;
|
|
833
930
|
}, z.core.$strip>>>;
|
|
834
931
|
}, z.core.$strip>>>;
|
|
835
|
-
|
|
836
|
-
updatedAt: z.ZodString;
|
|
932
|
+
type: z.ZodLiteral<"BUNDLE">;
|
|
837
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>>;
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
934
|
+
}, z.core.$strip>]>;
|
|
935
|
+
type MenuItemDetails = z.infer<typeof menuItemDetailsSchema>;
|
|
936
|
+
declare const writableMenuItemSchema: z.ZodObject<{
|
|
937
|
+
type: z.ZodEnum<{
|
|
938
|
+
ITEM: "ITEM";
|
|
939
|
+
CHOICE: "CHOICE";
|
|
940
|
+
BUNDLE: "BUNDLE";
|
|
941
|
+
}>;
|
|
942
|
+
price: z.ZodDefault<z.ZodString>;
|
|
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>>;
|
|
944
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
945
|
+
application: "application";
|
|
946
|
+
ecommerce: "ecommerce";
|
|
947
|
+
deliveroo: "deliveroo";
|
|
948
|
+
justeat: "justeat";
|
|
949
|
+
glovo: "glovo";
|
|
950
|
+
}>>>;
|
|
951
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
842
952
|
name: z.ZodArray<z.ZodObject<{
|
|
843
953
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
844
954
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -847,46 +957,159 @@ declare const writableMenuItemCategorySchema: z.ZodObject<{
|
|
|
847
957
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
848
958
|
text: z.ZodNonOptional<z.ZodString>;
|
|
849
959
|
}, z.core.$strip>>>;
|
|
960
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
961
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
962
|
+
crustaceans: "crustaceans";
|
|
963
|
+
nuts: "nuts";
|
|
964
|
+
gluten: "gluten";
|
|
965
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
966
|
+
lupins: "lupins";
|
|
967
|
+
molluscs: "molluscs";
|
|
968
|
+
mustard: "mustard";
|
|
969
|
+
fish: "fish";
|
|
970
|
+
celery: "celery";
|
|
971
|
+
sesame: "sesame";
|
|
972
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
973
|
+
soy: "soy";
|
|
974
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
975
|
+
mushrooms: "mushrooms";
|
|
976
|
+
}>>>;
|
|
977
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
978
|
+
vegan: "vegan";
|
|
979
|
+
vegetarian: "vegetarian";
|
|
980
|
+
"gluten-free": "gluten-free";
|
|
981
|
+
"dairy-free": "dairy-free";
|
|
982
|
+
}>>>;
|
|
983
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
984
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
985
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
850
986
|
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
851
|
-
|
|
987
|
+
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>>>>;
|
|
988
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
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>>;
|
|
990
|
+
price: z.ZodDefault<z.ZodString>;
|
|
991
|
+
}, z.core.$strip>>>;
|
|
852
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>>;
|
|
853
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>>>>;
|
|
854
994
|
}, z.core.$strip>;
|
|
855
|
-
declare const
|
|
995
|
+
declare const menuItemCategorySchema: z.ZodObject<{
|
|
856
996
|
id: z.ZodString;
|
|
857
|
-
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>>;
|
|
858
997
|
name: z.ZodArray<z.ZodObject<{
|
|
859
998
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
860
999
|
text: z.ZodNonOptional<z.ZodString>;
|
|
861
1000
|
}, z.core.$strip>>;
|
|
862
|
-
description: z.
|
|
1001
|
+
description: z.ZodArray<z.ZodObject<{
|
|
863
1002
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
864
1003
|
text: z.ZodNonOptional<z.ZodString>;
|
|
865
|
-
}, z.core.$strip
|
|
866
|
-
sorting: z.
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
1004
|
+
}, z.core.$strip>>;
|
|
1005
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1006
|
+
suspended: z.ZodBoolean;
|
|
1007
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1008
|
+
id: z.ZodString;
|
|
1009
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
1010
|
+
contentUrl: z.ZodURL;
|
|
1011
|
+
filePath: z.ZodString;
|
|
1012
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1013
|
+
createdAt: z.ZodString;
|
|
1014
|
+
updatedAt: z.ZodString;
|
|
1015
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1016
|
+
id: z.ZodString;
|
|
1017
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
1018
|
+
contentUrl: z.ZodURL;
|
|
1019
|
+
filePath: z.ZodString;
|
|
1020
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1021
|
+
createdAt: z.ZodString;
|
|
1022
|
+
updatedAt: z.ZodString;
|
|
1023
|
+
}, z.core.$strip>>>;
|
|
1024
|
+
}, z.core.$strip>>;
|
|
874
1025
|
createdAt: z.ZodString;
|
|
875
1026
|
updatedAt: z.ZodString;
|
|
876
1027
|
}, z.core.$strip>;
|
|
877
|
-
type
|
|
878
|
-
declare const
|
|
1028
|
+
type MenuItemCategory = z.infer<typeof menuItemCategorySchema>;
|
|
1029
|
+
declare const menuItemCategoryDetailsSchema: z.ZodObject<{
|
|
879
1030
|
id: z.ZodString;
|
|
880
|
-
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>>;
|
|
881
1031
|
name: z.ZodArray<z.ZodObject<{
|
|
882
1032
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
883
1033
|
text: z.ZodNonOptional<z.ZodString>;
|
|
884
1034
|
}, z.core.$strip>>;
|
|
885
|
-
description: z.
|
|
1035
|
+
description: z.ZodArray<z.ZodObject<{
|
|
886
1036
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
887
1037
|
text: z.ZodNonOptional<z.ZodString>;
|
|
888
|
-
}, z.core.$strip
|
|
889
|
-
sorting: z.
|
|
1038
|
+
}, z.core.$strip>>;
|
|
1039
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1040
|
+
suspended: z.ZodBoolean;
|
|
1041
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1042
|
+
id: z.ZodString;
|
|
1043
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
1044
|
+
contentUrl: z.ZodURL;
|
|
1045
|
+
filePath: z.ZodString;
|
|
1046
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1047
|
+
createdAt: z.ZodString;
|
|
1048
|
+
updatedAt: z.ZodString;
|
|
1049
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1050
|
+
id: z.ZodString;
|
|
1051
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
1052
|
+
contentUrl: z.ZodURL;
|
|
1053
|
+
filePath: z.ZodString;
|
|
1054
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1055
|
+
createdAt: z.ZodString;
|
|
1056
|
+
updatedAt: z.ZodString;
|
|
1057
|
+
}, z.core.$strip>>>;
|
|
1058
|
+
}, z.core.$strip>>;
|
|
1059
|
+
createdAt: z.ZodString;
|
|
1060
|
+
updatedAt: z.ZodString;
|
|
1061
|
+
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>>;
|
|
1062
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1063
|
+
}, z.core.$strip>;
|
|
1064
|
+
type MenuItemCategoryDetails = z.infer<typeof menuItemCategoryDetailsSchema>;
|
|
1065
|
+
declare const writableMenuItemCategorySchema: z.ZodObject<{
|
|
1066
|
+
name: z.ZodArray<z.ZodObject<{
|
|
1067
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1068
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1069
|
+
}, z.core.$strip>>;
|
|
1070
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1071
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1072
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1073
|
+
}, z.core.$strip>>;
|
|
1074
|
+
suspended: z.ZodBoolean;
|
|
1075
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1076
|
+
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>>;
|
|
1077
|
+
}, z.core.$strip>;
|
|
1078
|
+
declare const menuItemModifierSchema: z.ZodObject<{
|
|
1079
|
+
id: z.ZodString;
|
|
1080
|
+
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>>;
|
|
1081
|
+
name: z.ZodArray<z.ZodObject<{
|
|
1082
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1083
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1084
|
+
}, z.core.$strip>>;
|
|
1085
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1086
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1087
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1088
|
+
}, z.core.$strip>>>;
|
|
1089
|
+
sorting: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
1090
|
+
minSelection: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
1091
|
+
maxSelection: z.ZodDefault<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
1092
|
+
repeatable: z.ZodDefault<z.ZodBoolean>;
|
|
1093
|
+
items: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>>;
|
|
1094
|
+
choices: 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>>>>;
|
|
1095
|
+
priceOverrides: 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>>>>;
|
|
1096
|
+
variantOverrides: 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>>>>;
|
|
1097
|
+
createdAt: z.ZodString;
|
|
1098
|
+
updatedAt: z.ZodString;
|
|
1099
|
+
}, z.core.$strip>;
|
|
1100
|
+
type MenuItemModifier = z.infer<typeof menuItemModifierSchema>;
|
|
1101
|
+
declare const menuItemModifierDetailsSchema: z.ZodObject<{
|
|
1102
|
+
id: z.ZodString;
|
|
1103
|
+
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>>;
|
|
1104
|
+
name: z.ZodArray<z.ZodObject<{
|
|
1105
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1106
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1107
|
+
}, z.core.$strip>>;
|
|
1108
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1109
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
1110
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
1111
|
+
}, z.core.$strip>>>;
|
|
1112
|
+
sorting: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
890
1113
|
minSelection: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
891
1114
|
maxSelection: z.ZodDefault<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
892
1115
|
repeatable: z.ZodDefault<z.ZodBoolean>;
|
|
@@ -1395,14 +1618,13 @@ declare const createMenuItemCategoryInputSchema: z.ZodObject<{
|
|
|
1395
1618
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1396
1619
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1397
1620
|
}, z.core.$strip>>>;
|
|
1398
|
-
description: z.ZodNonOptional<z.
|
|
1621
|
+
description: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
1399
1622
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1400
1623
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1401
|
-
}, z.core.$strip
|
|
1402
|
-
suspended: z.ZodNonOptional<z.
|
|
1403
|
-
sorting: z.ZodNonOptional<z.
|
|
1624
|
+
}, z.core.$strip>>>;
|
|
1625
|
+
suspended: z.ZodNonOptional<z.ZodBoolean>;
|
|
1626
|
+
sorting: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
1404
1627
|
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>>>;
|
|
1405
|
-
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>>>>>;
|
|
1406
1628
|
}, z.core.$strip>;
|
|
1407
1629
|
type CreateMenuItemCategoryInput = z.input<typeof createMenuItemCategoryInputSchema>;
|
|
1408
1630
|
declare const createMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
@@ -1411,13 +1633,13 @@ declare const createMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
|
1411
1633
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1412
1634
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1413
1635
|
}, z.core.$strip>>;
|
|
1414
|
-
description: z.
|
|
1636
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1415
1637
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1416
1638
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1417
|
-
}, z.core.$strip
|
|
1418
|
-
sorting: z.
|
|
1419
|
-
suspended: z.
|
|
1420
|
-
images: z.
|
|
1639
|
+
}, z.core.$strip>>;
|
|
1640
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1641
|
+
suspended: z.ZodBoolean;
|
|
1642
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1421
1643
|
id: z.ZodString;
|
|
1422
1644
|
variant: z.ZodNullable<z.ZodString>;
|
|
1423
1645
|
contentUrl: z.ZodURL;
|
|
@@ -1434,11 +1656,11 @@ declare const createMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
|
1434
1656
|
createdAt: z.ZodString;
|
|
1435
1657
|
updatedAt: z.ZodString;
|
|
1436
1658
|
}, z.core.$strip>>>;
|
|
1437
|
-
}, z.core.$strip
|
|
1659
|
+
}, z.core.$strip>>;
|
|
1438
1660
|
createdAt: z.ZodString;
|
|
1439
1661
|
updatedAt: z.ZodString;
|
|
1440
1662
|
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>>;
|
|
1441
|
-
items: z.
|
|
1663
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1442
1664
|
}, z.core.$strip>;
|
|
1443
1665
|
type CreateMenuItemCategoryResponse = z.output<typeof createMenuItemCategoryResponseSchema>;
|
|
1444
1666
|
declare class CreateMenuItemCategory extends AbstractApiRequest<typeof createMenuItemCategoryInputSchema, typeof createMenuItemCategoryResponseSchema> {
|
|
@@ -1450,14 +1672,13 @@ declare class CreateMenuItemCategory extends AbstractApiRequest<typeof createMen
|
|
|
1450
1672
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1451
1673
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1452
1674
|
}, z.core.$strip>>>;
|
|
1453
|
-
description: z.ZodNonOptional<z.
|
|
1675
|
+
description: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
1454
1676
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1455
1677
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1456
|
-
}, z.core.$strip
|
|
1457
|
-
suspended: z.ZodNonOptional<z.
|
|
1458
|
-
sorting: z.ZodNonOptional<z.
|
|
1678
|
+
}, z.core.$strip>>>;
|
|
1679
|
+
suspended: z.ZodNonOptional<z.ZodBoolean>;
|
|
1680
|
+
sorting: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
1459
1681
|
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>>>;
|
|
1460
|
-
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>>>>>;
|
|
1461
1682
|
}, z.core.$strip>;
|
|
1462
1683
|
readonly outputSchema: z.ZodObject<{
|
|
1463
1684
|
id: z.ZodString;
|
|
@@ -1465,13 +1686,13 @@ declare class CreateMenuItemCategory extends AbstractApiRequest<typeof createMen
|
|
|
1465
1686
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1466
1687
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1467
1688
|
}, z.core.$strip>>;
|
|
1468
|
-
description: z.
|
|
1689
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1469
1690
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1470
1691
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1471
|
-
}, z.core.$strip
|
|
1472
|
-
sorting: z.
|
|
1473
|
-
suspended: z.
|
|
1474
|
-
images: z.
|
|
1692
|
+
}, z.core.$strip>>;
|
|
1693
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1694
|
+
suspended: z.ZodBoolean;
|
|
1695
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1475
1696
|
id: z.ZodString;
|
|
1476
1697
|
variant: z.ZodNullable<z.ZodString>;
|
|
1477
1698
|
contentUrl: z.ZodURL;
|
|
@@ -1488,11 +1709,11 @@ declare class CreateMenuItemCategory extends AbstractApiRequest<typeof createMen
|
|
|
1488
1709
|
createdAt: z.ZodString;
|
|
1489
1710
|
updatedAt: z.ZodString;
|
|
1490
1711
|
}, z.core.$strip>>>;
|
|
1491
|
-
}, z.core.$strip
|
|
1712
|
+
}, z.core.$strip>>;
|
|
1492
1713
|
createdAt: z.ZodString;
|
|
1493
1714
|
updatedAt: z.ZodString;
|
|
1494
1715
|
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>>;
|
|
1495
|
-
items: z.
|
|
1716
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1496
1717
|
}, z.core.$strip>;
|
|
1497
1718
|
readonly querySchema: undefined;
|
|
1498
1719
|
readonly headersSchema: undefined;
|
|
@@ -1541,13 +1762,13 @@ declare const getMenuItemCategoriesResponseSchema: z.ZodObject<{
|
|
|
1541
1762
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1542
1763
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1543
1764
|
}, z.core.$strip>>;
|
|
1544
|
-
description: z.
|
|
1765
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1545
1766
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1546
1767
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1547
|
-
}, z.core.$strip
|
|
1548
|
-
sorting: z.
|
|
1549
|
-
suspended: z.
|
|
1550
|
-
images: z.
|
|
1768
|
+
}, z.core.$strip>>;
|
|
1769
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1770
|
+
suspended: z.ZodBoolean;
|
|
1771
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1551
1772
|
id: z.ZodString;
|
|
1552
1773
|
variant: z.ZodNullable<z.ZodString>;
|
|
1553
1774
|
contentUrl: z.ZodURL;
|
|
@@ -1564,7 +1785,7 @@ declare const getMenuItemCategoriesResponseSchema: z.ZodObject<{
|
|
|
1564
1785
|
createdAt: z.ZodString;
|
|
1565
1786
|
updatedAt: z.ZodString;
|
|
1566
1787
|
}, z.core.$strip>>>;
|
|
1567
|
-
}, z.core.$strip
|
|
1788
|
+
}, z.core.$strip>>;
|
|
1568
1789
|
createdAt: z.ZodString;
|
|
1569
1790
|
updatedAt: z.ZodString;
|
|
1570
1791
|
}, z.core.$strip>>;
|
|
@@ -1590,13 +1811,13 @@ declare class GetMenuItemCategories extends AbstractApiRequest<typeof getMenuIte
|
|
|
1590
1811
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1591
1812
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1592
1813
|
}, z.core.$strip>>;
|
|
1593
|
-
description: z.
|
|
1814
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1594
1815
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1595
1816
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1596
|
-
}, z.core.$strip
|
|
1597
|
-
sorting: z.
|
|
1598
|
-
suspended: z.
|
|
1599
|
-
images: z.
|
|
1817
|
+
}, z.core.$strip>>;
|
|
1818
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1819
|
+
suspended: z.ZodBoolean;
|
|
1820
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1600
1821
|
id: z.ZodString;
|
|
1601
1822
|
variant: z.ZodNullable<z.ZodString>;
|
|
1602
1823
|
contentUrl: z.ZodURL;
|
|
@@ -1613,7 +1834,7 @@ declare class GetMenuItemCategories extends AbstractApiRequest<typeof getMenuIte
|
|
|
1613
1834
|
createdAt: z.ZodString;
|
|
1614
1835
|
updatedAt: z.ZodString;
|
|
1615
1836
|
}, z.core.$strip>>>;
|
|
1616
|
-
}, z.core.$strip
|
|
1837
|
+
}, z.core.$strip>>;
|
|
1617
1838
|
createdAt: z.ZodString;
|
|
1618
1839
|
updatedAt: z.ZodString;
|
|
1619
1840
|
}, z.core.$strip>>;
|
|
@@ -1676,13 +1897,13 @@ declare const getMenuItemCategoriesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
1676
1897
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1677
1898
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1678
1899
|
}, z.core.$strip>>;
|
|
1679
|
-
description: z.
|
|
1900
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1680
1901
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1681
1902
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1682
|
-
}, z.core.$strip
|
|
1683
|
-
sorting: z.
|
|
1684
|
-
suspended: z.
|
|
1685
|
-
images: z.
|
|
1903
|
+
}, z.core.$strip>>;
|
|
1904
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1905
|
+
suspended: z.ZodBoolean;
|
|
1906
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1686
1907
|
id: z.ZodString;
|
|
1687
1908
|
variant: z.ZodNullable<z.ZodString>;
|
|
1688
1909
|
contentUrl: z.ZodURL;
|
|
@@ -1699,7 +1920,7 @@ declare const getMenuItemCategoriesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
|
1699
1920
|
createdAt: z.ZodString;
|
|
1700
1921
|
updatedAt: z.ZodString;
|
|
1701
1922
|
}, z.core.$strip>>>;
|
|
1702
|
-
}, z.core.$strip
|
|
1923
|
+
}, z.core.$strip>>;
|
|
1703
1924
|
createdAt: z.ZodString;
|
|
1704
1925
|
updatedAt: z.ZodString;
|
|
1705
1926
|
}, z.core.$strip>>;
|
|
@@ -1725,13 +1946,13 @@ declare class GetMenuItemCategoriesFromPointOfSale extends AbstractApiRequest<ty
|
|
|
1725
1946
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1726
1947
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1727
1948
|
}, z.core.$strip>>;
|
|
1728
|
-
description: z.
|
|
1949
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1729
1950
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1730
1951
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1731
|
-
}, z.core.$strip
|
|
1732
|
-
sorting: z.
|
|
1733
|
-
suspended: z.
|
|
1734
|
-
images: z.
|
|
1952
|
+
}, z.core.$strip>>;
|
|
1953
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
1954
|
+
suspended: z.ZodBoolean;
|
|
1955
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1735
1956
|
id: z.ZodString;
|
|
1736
1957
|
variant: z.ZodNullable<z.ZodString>;
|
|
1737
1958
|
contentUrl: z.ZodURL;
|
|
@@ -1748,7 +1969,7 @@ declare class GetMenuItemCategoriesFromPointOfSale extends AbstractApiRequest<ty
|
|
|
1748
1969
|
createdAt: z.ZodString;
|
|
1749
1970
|
updatedAt: z.ZodString;
|
|
1750
1971
|
}, z.core.$strip>>>;
|
|
1751
|
-
}, z.core.$strip
|
|
1972
|
+
}, z.core.$strip>>;
|
|
1752
1973
|
createdAt: z.ZodString;
|
|
1753
1974
|
updatedAt: z.ZodString;
|
|
1754
1975
|
}, z.core.$strip>>;
|
|
@@ -1794,13 +2015,13 @@ declare const getMenuItemCategoryDetailsResponseSchema: z.ZodObject<{
|
|
|
1794
2015
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1795
2016
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1796
2017
|
}, z.core.$strip>>;
|
|
1797
|
-
description: z.
|
|
2018
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1798
2019
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1799
2020
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1800
|
-
}, z.core.$strip
|
|
1801
|
-
sorting: z.
|
|
1802
|
-
suspended: z.
|
|
1803
|
-
images: z.
|
|
2021
|
+
}, z.core.$strip>>;
|
|
2022
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2023
|
+
suspended: z.ZodBoolean;
|
|
2024
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1804
2025
|
id: z.ZodString;
|
|
1805
2026
|
variant: z.ZodNullable<z.ZodString>;
|
|
1806
2027
|
contentUrl: z.ZodURL;
|
|
@@ -1817,11 +2038,11 @@ declare const getMenuItemCategoryDetailsResponseSchema: z.ZodObject<{
|
|
|
1817
2038
|
createdAt: z.ZodString;
|
|
1818
2039
|
updatedAt: z.ZodString;
|
|
1819
2040
|
}, z.core.$strip>>>;
|
|
1820
|
-
}, z.core.$strip
|
|
2041
|
+
}, z.core.$strip>>;
|
|
1821
2042
|
createdAt: z.ZodString;
|
|
1822
2043
|
updatedAt: z.ZodString;
|
|
1823
2044
|
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>>;
|
|
1824
|
-
items: z.
|
|
2045
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1825
2046
|
}, z.core.$strip>;
|
|
1826
2047
|
type GetMenuItemCategoryDetailsResponse = z.infer<typeof getMenuItemCategoryDetailsResponseSchema>;
|
|
1827
2048
|
declare class GetMenuItemCategoryDetails extends AbstractApiRequest<typeof getMenuItemCategoryDetailsInputSchema, typeof getMenuItemCategoryDetailsResponseSchema> {
|
|
@@ -1835,13 +2056,13 @@ declare class GetMenuItemCategoryDetails extends AbstractApiRequest<typeof getMe
|
|
|
1835
2056
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1836
2057
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1837
2058
|
}, z.core.$strip>>;
|
|
1838
|
-
description: z.
|
|
2059
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1839
2060
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1840
2061
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1841
|
-
}, z.core.$strip
|
|
1842
|
-
sorting: z.
|
|
1843
|
-
suspended: z.
|
|
1844
|
-
images: z.
|
|
2062
|
+
}, z.core.$strip>>;
|
|
2063
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2064
|
+
suspended: z.ZodBoolean;
|
|
2065
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1845
2066
|
id: z.ZodString;
|
|
1846
2067
|
variant: z.ZodNullable<z.ZodString>;
|
|
1847
2068
|
contentUrl: z.ZodURL;
|
|
@@ -1858,11 +2079,11 @@ declare class GetMenuItemCategoryDetails extends AbstractApiRequest<typeof getMe
|
|
|
1858
2079
|
createdAt: z.ZodString;
|
|
1859
2080
|
updatedAt: z.ZodString;
|
|
1860
2081
|
}, z.core.$strip>>>;
|
|
1861
|
-
}, z.core.$strip
|
|
2082
|
+
}, z.core.$strip>>;
|
|
1862
2083
|
createdAt: z.ZodString;
|
|
1863
2084
|
updatedAt: z.ZodString;
|
|
1864
2085
|
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>>;
|
|
1865
|
-
items: z.
|
|
2086
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1866
2087
|
}, z.core.$strip>;
|
|
1867
2088
|
readonly querySchema: undefined;
|
|
1868
2089
|
readonly headersSchema: undefined;
|
|
@@ -1876,13 +2097,12 @@ declare const updateMenuItemCategoryInputSchema: z.ZodObject<{
|
|
|
1876
2097
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1877
2098
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1878
2099
|
}, z.core.$strip>>>;
|
|
1879
|
-
description: z.ZodOptional<z.
|
|
2100
|
+
description: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1880
2101
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1881
2102
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1882
|
-
}, z.core.$strip
|
|
1883
|
-
suspended: z.ZodOptional<z.
|
|
1884
|
-
|
|
1885
|
-
sorting: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
2103
|
+
}, z.core.$strip>>>;
|
|
2104
|
+
suspended: z.ZodOptional<z.ZodBoolean>;
|
|
2105
|
+
sorting: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1886
2106
|
}, z.core.$strip>;
|
|
1887
2107
|
type UpdateMenuItemCategoryInput = z.input<typeof updateMenuItemCategoryInputSchema>;
|
|
1888
2108
|
declare const updateMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
@@ -1891,13 +2111,13 @@ declare const updateMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
|
1891
2111
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1892
2112
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1893
2113
|
}, z.core.$strip>>;
|
|
1894
|
-
description: z.
|
|
2114
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1895
2115
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1896
2116
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1897
|
-
}, z.core.$strip
|
|
1898
|
-
sorting: z.
|
|
1899
|
-
suspended: z.
|
|
1900
|
-
images: z.
|
|
2117
|
+
}, z.core.$strip>>;
|
|
2118
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2119
|
+
suspended: z.ZodBoolean;
|
|
2120
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1901
2121
|
id: z.ZodString;
|
|
1902
2122
|
variant: z.ZodNullable<z.ZodString>;
|
|
1903
2123
|
contentUrl: z.ZodURL;
|
|
@@ -1914,11 +2134,11 @@ declare const updateMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
|
1914
2134
|
createdAt: z.ZodString;
|
|
1915
2135
|
updatedAt: z.ZodString;
|
|
1916
2136
|
}, z.core.$strip>>>;
|
|
1917
|
-
}, z.core.$strip
|
|
2137
|
+
}, z.core.$strip>>;
|
|
1918
2138
|
createdAt: z.ZodString;
|
|
1919
2139
|
updatedAt: z.ZodString;
|
|
1920
2140
|
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>>;
|
|
1921
|
-
items: z.
|
|
2141
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1922
2142
|
}, z.core.$strip>;
|
|
1923
2143
|
type UpdateMenuItemCategoryResponse = z.infer<typeof updateMenuItemCategoryResponseSchema>;
|
|
1924
2144
|
declare class UpdateMenuItemCategory extends AbstractApiRequest<typeof updateMenuItemCategoryInputSchema, typeof updateMenuItemCategoryResponseSchema> {
|
|
@@ -1930,13 +2150,12 @@ declare class UpdateMenuItemCategory extends AbstractApiRequest<typeof updateMen
|
|
|
1930
2150
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1931
2151
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1932
2152
|
}, z.core.$strip>>>;
|
|
1933
|
-
description: z.ZodOptional<z.
|
|
2153
|
+
description: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1934
2154
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1935
2155
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1936
|
-
}, z.core.$strip
|
|
1937
|
-
suspended: z.ZodOptional<z.
|
|
1938
|
-
|
|
1939
|
-
sorting: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
2156
|
+
}, z.core.$strip>>>;
|
|
2157
|
+
suspended: z.ZodOptional<z.ZodBoolean>;
|
|
2158
|
+
sorting: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1940
2159
|
}, z.core.$strip>;
|
|
1941
2160
|
readonly outputSchema: z.ZodObject<{
|
|
1942
2161
|
id: z.ZodString;
|
|
@@ -1944,13 +2163,13 @@ declare class UpdateMenuItemCategory extends AbstractApiRequest<typeof updateMen
|
|
|
1944
2163
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1945
2164
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1946
2165
|
}, z.core.$strip>>;
|
|
1947
|
-
description: z.
|
|
2166
|
+
description: z.ZodArray<z.ZodObject<{
|
|
1948
2167
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1949
2168
|
text: z.ZodNonOptional<z.ZodString>;
|
|
1950
|
-
}, z.core.$strip
|
|
1951
|
-
sorting: z.
|
|
1952
|
-
suspended: z.
|
|
1953
|
-
images: z.
|
|
2169
|
+
}, z.core.$strip>>;
|
|
2170
|
+
sorting: z.ZodCoercedNumber<unknown>;
|
|
2171
|
+
suspended: z.ZodBoolean;
|
|
2172
|
+
images: z.ZodArray<z.ZodObject<{
|
|
1954
2173
|
id: z.ZodString;
|
|
1955
2174
|
variant: z.ZodNullable<z.ZodString>;
|
|
1956
2175
|
contentUrl: z.ZodURL;
|
|
@@ -1967,11 +2186,11 @@ declare class UpdateMenuItemCategory extends AbstractApiRequest<typeof updateMen
|
|
|
1967
2186
|
createdAt: z.ZodString;
|
|
1968
2187
|
updatedAt: z.ZodString;
|
|
1969
2188
|
}, z.core.$strip>>>;
|
|
1970
|
-
}, z.core.$strip
|
|
2189
|
+
}, z.core.$strip>>;
|
|
1971
2190
|
createdAt: z.ZodString;
|
|
1972
2191
|
updatedAt: z.ZodString;
|
|
1973
2192
|
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>>;
|
|
1974
|
-
items: z.
|
|
2193
|
+
items: z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>;
|
|
1975
2194
|
}, z.core.$strip>;
|
|
1976
2195
|
readonly querySchema: undefined;
|
|
1977
2196
|
readonly headersSchema: undefined;
|
|
@@ -2769,7 +2988,6 @@ declare const createMenuItemInputSchema: z.ZodObject<{
|
|
|
2769
2988
|
BUNDLE: "BUNDLE";
|
|
2770
2989
|
}>>;
|
|
2771
2990
|
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
2991
|
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
2992
|
channels: z.ZodNonOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2775
2993
|
application: "application";
|
|
@@ -2819,12 +3037,12 @@ declare const createMenuItemInputSchema: z.ZodObject<{
|
|
|
2819
3037
|
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
3038
|
price: z.ZodDefault<z.ZodString>;
|
|
2821
3039
|
}, z.core.$strip>>>>;
|
|
3040
|
+
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
3041
|
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
3042
|
}, z.core.$strip>;
|
|
2824
3043
|
type CreateMenuItemInput = z.input<typeof createMenuItemInputSchema>;
|
|
2825
3044
|
declare const createMenuItemResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2826
3045
|
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
3046
|
createdAt: z.ZodString;
|
|
2829
3047
|
updatedAt: z.ZodString;
|
|
2830
3048
|
id: z.ZodString;
|
|
@@ -2895,9 +3113,9 @@ declare const createMenuItemResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2895
3113
|
}, z.core.$strip>>>;
|
|
2896
3114
|
}, z.core.$strip>>>;
|
|
2897
3115
|
type: z.ZodLiteral<"CHOICE">;
|
|
3116
|
+
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
3117
|
}, z.core.$strip>, z.ZodObject<{
|
|
2899
3118
|
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
3119
|
createdAt: z.ZodString;
|
|
2902
3120
|
updatedAt: z.ZodString;
|
|
2903
3121
|
id: z.ZodString;
|
|
@@ -2972,9 +3190,9 @@ declare const createMenuItemResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2972
3190
|
}, z.core.$strip>>>;
|
|
2973
3191
|
}, z.core.$strip>>>;
|
|
2974
3192
|
type: z.ZodLiteral<"ITEM">;
|
|
3193
|
+
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
3194
|
}, z.core.$strip>, z.ZodObject<{
|
|
2976
3195
|
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
3196
|
createdAt: z.ZodString;
|
|
2979
3197
|
updatedAt: z.ZodString;
|
|
2980
3198
|
id: z.ZodString;
|
|
@@ -3049,6 +3267,7 @@ declare const createMenuItemResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
3049
3267
|
}, z.core.$strip>>>;
|
|
3050
3268
|
}, z.core.$strip>>>;
|
|
3051
3269
|
type: z.ZodLiteral<"BUNDLE">;
|
|
3270
|
+
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
3271
|
}, z.core.$strip>]>;
|
|
3053
3272
|
type CreateMenuItemResponse = z.output<typeof createMenuItemResponseSchema>;
|
|
3054
3273
|
declare class CreateMenuItem extends AbstractApiRequest<typeof createMenuItemInputSchema, typeof createMenuItemResponseSchema> {
|
|
@@ -3062,7 +3281,6 @@ declare class CreateMenuItem extends AbstractApiRequest<typeof createMenuItemInp
|
|
|
3062
3281
|
BUNDLE: "BUNDLE";
|
|
3063
3282
|
}>>;
|
|
3064
3283
|
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
3284
|
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
3285
|
channels: z.ZodNonOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
3068
3286
|
application: "application";
|
|
@@ -3112,11 +3330,11 @@ declare class CreateMenuItem extends AbstractApiRequest<typeof createMenuItemInp
|
|
|
3112
3330
|
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
3331
|
price: z.ZodDefault<z.ZodString>;
|
|
3114
3332
|
}, z.core.$strip>>>>;
|
|
3333
|
+
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
3334
|
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
3335
|
}, z.core.$strip>;
|
|
3117
3336
|
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3118
3337
|
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
3338
|
createdAt: z.ZodString;
|
|
3121
3339
|
updatedAt: z.ZodString;
|
|
3122
3340
|
id: z.ZodString;
|
|
@@ -3187,9 +3405,9 @@ declare class CreateMenuItem extends AbstractApiRequest<typeof createMenuItemInp
|
|
|
3187
3405
|
}, z.core.$strip>>>;
|
|
3188
3406
|
}, z.core.$strip>>>;
|
|
3189
3407
|
type: z.ZodLiteral<"CHOICE">;
|
|
3408
|
+
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
3409
|
}, z.core.$strip>, z.ZodObject<{
|
|
3191
3410
|
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
3411
|
createdAt: z.ZodString;
|
|
3194
3412
|
updatedAt: z.ZodString;
|
|
3195
3413
|
id: z.ZodString;
|
|
@@ -3264,9 +3482,9 @@ declare class CreateMenuItem extends AbstractApiRequest<typeof createMenuItemInp
|
|
|
3264
3482
|
}, z.core.$strip>>>;
|
|
3265
3483
|
}, z.core.$strip>>>;
|
|
3266
3484
|
type: z.ZodLiteral<"ITEM">;
|
|
3485
|
+
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
3486
|
}, z.core.$strip>, z.ZodObject<{
|
|
3268
3487
|
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
3488
|
createdAt: z.ZodString;
|
|
3271
3489
|
updatedAt: z.ZodString;
|
|
3272
3490
|
id: z.ZodString;
|
|
@@ -3341,6 +3559,7 @@ declare class CreateMenuItem extends AbstractApiRequest<typeof createMenuItemInp
|
|
|
3341
3559
|
}, z.core.$strip>>>;
|
|
3342
3560
|
}, z.core.$strip>>>;
|
|
3343
3561
|
type: z.ZodLiteral<"BUNDLE">;
|
|
3562
|
+
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
3563
|
}, z.core.$strip>]>;
|
|
3345
3564
|
readonly querySchema: undefined;
|
|
3346
3565
|
readonly headersSchema: undefined;
|
|
@@ -3367,7 +3586,6 @@ declare const getMenuItemDetailsInputSchema: z.ZodUndefined;
|
|
|
3367
3586
|
type GetMenuItemDetailsInput = z.infer<typeof getMenuItemDetailsInputSchema>;
|
|
3368
3587
|
declare const getMenuItemDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3369
3588
|
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
3589
|
createdAt: z.ZodString;
|
|
3372
3590
|
updatedAt: z.ZodString;
|
|
3373
3591
|
id: z.ZodString;
|
|
@@ -3438,9 +3656,9 @@ declare const getMenuItemDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
3438
3656
|
}, z.core.$strip>>>;
|
|
3439
3657
|
}, z.core.$strip>>>;
|
|
3440
3658
|
type: z.ZodLiteral<"CHOICE">;
|
|
3659
|
+
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
3660
|
}, z.core.$strip>, z.ZodObject<{
|
|
3442
3661
|
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
3662
|
createdAt: z.ZodString;
|
|
3445
3663
|
updatedAt: z.ZodString;
|
|
3446
3664
|
id: z.ZodString;
|
|
@@ -3515,9 +3733,9 @@ declare const getMenuItemDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
3515
3733
|
}, z.core.$strip>>>;
|
|
3516
3734
|
}, z.core.$strip>>>;
|
|
3517
3735
|
type: z.ZodLiteral<"ITEM">;
|
|
3736
|
+
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
3737
|
}, z.core.$strip>, z.ZodObject<{
|
|
3519
3738
|
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
3739
|
createdAt: z.ZodString;
|
|
3522
3740
|
updatedAt: z.ZodString;
|
|
3523
3741
|
id: z.ZodString;
|
|
@@ -3592,6 +3810,7 @@ declare const getMenuItemDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
3592
3810
|
}, z.core.$strip>>>;
|
|
3593
3811
|
}, z.core.$strip>>>;
|
|
3594
3812
|
type: z.ZodLiteral<"BUNDLE">;
|
|
3813
|
+
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
3814
|
}, z.core.$strip>]>;
|
|
3596
3815
|
type GetMenuItemDetailsResponse = z.infer<typeof getMenuItemDetailsResponseSchema>;
|
|
3597
3816
|
declare class GetMenuItemDetails extends AbstractApiRequest<typeof getMenuItemDetailsInputSchema, typeof getMenuItemDetailsResponseSchema> {
|
|
@@ -3601,7 +3820,6 @@ declare class GetMenuItemDetails extends AbstractApiRequest<typeof getMenuItemDe
|
|
|
3601
3820
|
readonly inputSchema: z.ZodUndefined;
|
|
3602
3821
|
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3603
3822
|
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
3823
|
createdAt: z.ZodString;
|
|
3606
3824
|
updatedAt: z.ZodString;
|
|
3607
3825
|
id: z.ZodString;
|
|
@@ -3672,9 +3890,9 @@ declare class GetMenuItemDetails extends AbstractApiRequest<typeof getMenuItemDe
|
|
|
3672
3890
|
}, z.core.$strip>>>;
|
|
3673
3891
|
}, z.core.$strip>>>;
|
|
3674
3892
|
type: z.ZodLiteral<"CHOICE">;
|
|
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>>;
|
|
3675
3894
|
}, z.core.$strip>, z.ZodObject<{
|
|
3676
3895
|
price: z.ZodDefault<z.ZodString>;
|
|
3677
|
-
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>>;
|
|
3678
3896
|
createdAt: z.ZodString;
|
|
3679
3897
|
updatedAt: z.ZodString;
|
|
3680
3898
|
id: z.ZodString;
|
|
@@ -3747,75 +3965,1182 @@ declare class GetMenuItemDetails extends AbstractApiRequest<typeof getMenuItemDe
|
|
|
3747
3965
|
createdAt: z.ZodString;
|
|
3748
3966
|
updatedAt: z.ZodString;
|
|
3749
3967
|
}, z.core.$strip>>>;
|
|
3750
|
-
}, z.core.$strip>>>;
|
|
3751
|
-
type: z.ZodLiteral<"ITEM">;
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
createdAt: z.ZodString;
|
|
3756
|
-
updatedAt: z.ZodString;
|
|
3757
|
-
id: z.ZodString;
|
|
3758
|
-
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>>;
|
|
3759
|
-
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
3760
|
-
application: "application";
|
|
3761
|
-
ecommerce: "ecommerce";
|
|
3762
|
-
deliveroo: "deliveroo";
|
|
3763
|
-
justeat: "justeat";
|
|
3764
|
-
glovo: "glovo";
|
|
3765
|
-
}>>>;
|
|
3766
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3767
|
-
name: z.ZodArray<z.ZodObject<{
|
|
3768
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
3769
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
3770
|
-
}, z.core.$strip>>;
|
|
3771
|
-
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3772
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
3773
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
3774
|
-
}, z.core.$strip>>>;
|
|
3775
|
-
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
3776
|
-
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
3777
|
-
crustaceans: "crustaceans";
|
|
3778
|
-
nuts: "nuts";
|
|
3779
|
-
gluten: "gluten";
|
|
3780
|
-
"milk-and-derivatives": "milk-and-derivatives";
|
|
3781
|
-
lupins: "lupins";
|
|
3782
|
-
molluscs: "molluscs";
|
|
3783
|
-
mustard: "mustard";
|
|
3784
|
-
fish: "fish";
|
|
3785
|
-
celery: "celery";
|
|
3786
|
-
sesame: "sesame";
|
|
3787
|
-
"sulfur-dioxide": "sulfur-dioxide";
|
|
3788
|
-
soy: "soy";
|
|
3789
|
-
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
3790
|
-
mushrooms: "mushrooms";
|
|
3791
|
-
}>>>;
|
|
3792
|
-
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
3793
|
-
vegan: "vegan";
|
|
3794
|
-
vegetarian: "vegetarian";
|
|
3795
|
-
"gluten-free": "gluten-free";
|
|
3796
|
-
"dairy-free": "dairy-free";
|
|
3797
|
-
}>>>;
|
|
3798
|
-
taxRate: z.ZodCoercedNumber<unknown>;
|
|
3799
|
-
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
3800
|
-
countable: z.ZodDefault<z.ZodBoolean>;
|
|
3801
|
-
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
3802
|
-
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
3803
|
-
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>>>>;
|
|
3804
|
-
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>>>>;
|
|
3805
|
-
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>>>>;
|
|
3806
|
-
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3807
|
-
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>>;
|
|
3968
|
+
}, z.core.$strip>>>;
|
|
3969
|
+
type: z.ZodLiteral<"ITEM">;
|
|
3970
|
+
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>>;
|
|
3971
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3972
|
+
price: z.ZodDefault<z.ZodString>;
|
|
3973
|
+
createdAt: z.ZodString;
|
|
3974
|
+
updatedAt: z.ZodString;
|
|
3975
|
+
id: z.ZodString;
|
|
3976
|
+
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>>;
|
|
3977
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
3978
|
+
application: "application";
|
|
3979
|
+
ecommerce: "ecommerce";
|
|
3980
|
+
deliveroo: "deliveroo";
|
|
3981
|
+
justeat: "justeat";
|
|
3982
|
+
glovo: "glovo";
|
|
3983
|
+
}>>>;
|
|
3984
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3985
|
+
name: z.ZodArray<z.ZodObject<{
|
|
3986
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
3987
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
3988
|
+
}, z.core.$strip>>;
|
|
3989
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3990
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
3991
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
3992
|
+
}, z.core.$strip>>>;
|
|
3993
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
3994
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
3995
|
+
crustaceans: "crustaceans";
|
|
3996
|
+
nuts: "nuts";
|
|
3997
|
+
gluten: "gluten";
|
|
3998
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
3999
|
+
lupins: "lupins";
|
|
4000
|
+
molluscs: "molluscs";
|
|
4001
|
+
mustard: "mustard";
|
|
4002
|
+
fish: "fish";
|
|
4003
|
+
celery: "celery";
|
|
4004
|
+
sesame: "sesame";
|
|
4005
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
4006
|
+
soy: "soy";
|
|
4007
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
4008
|
+
mushrooms: "mushrooms";
|
|
4009
|
+
}>>>;
|
|
4010
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4011
|
+
vegan: "vegan";
|
|
4012
|
+
vegetarian: "vegetarian";
|
|
4013
|
+
"gluten-free": "gluten-free";
|
|
4014
|
+
"dairy-free": "dairy-free";
|
|
4015
|
+
}>>>;
|
|
4016
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
4017
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
4018
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
4019
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
4020
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
4021
|
+
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>>>>;
|
|
4022
|
+
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>>>>;
|
|
4023
|
+
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>>>>;
|
|
4024
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4025
|
+
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>>;
|
|
4026
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4027
|
+
}, z.core.$strip>>>;
|
|
4028
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4029
|
+
id: z.ZodString;
|
|
4030
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4031
|
+
contentUrl: z.ZodURL;
|
|
4032
|
+
filePath: z.ZodString;
|
|
4033
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4034
|
+
createdAt: z.ZodString;
|
|
4035
|
+
updatedAt: z.ZodString;
|
|
4036
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4037
|
+
id: z.ZodString;
|
|
4038
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4039
|
+
contentUrl: z.ZodURL;
|
|
4040
|
+
filePath: z.ZodString;
|
|
4041
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4042
|
+
createdAt: z.ZodString;
|
|
4043
|
+
updatedAt: z.ZodString;
|
|
4044
|
+
}, z.core.$strip>>>;
|
|
4045
|
+
}, z.core.$strip>>>;
|
|
4046
|
+
type: z.ZodLiteral<"BUNDLE">;
|
|
4047
|
+
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>>;
|
|
4048
|
+
}, z.core.$strip>]>;
|
|
4049
|
+
readonly querySchema: undefined;
|
|
4050
|
+
readonly headersSchema: undefined;
|
|
4051
|
+
private readonly menuItemId;
|
|
4052
|
+
constructor(menuItemId: string);
|
|
4053
|
+
getPath(): string;
|
|
4054
|
+
}
|
|
4055
|
+
|
|
4056
|
+
declare const getMenuItemsQuerySchema: z.ZodObject<{
|
|
4057
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4058
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4059
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4060
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4061
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4062
|
+
application: "application";
|
|
4063
|
+
ecommerce: "ecommerce";
|
|
4064
|
+
deliveroo: "deliveroo";
|
|
4065
|
+
justeat: "justeat";
|
|
4066
|
+
glovo: "glovo";
|
|
4067
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
4068
|
+
application: "application";
|
|
4069
|
+
ecommerce: "ecommerce";
|
|
4070
|
+
deliveroo: "deliveroo";
|
|
4071
|
+
justeat: "justeat";
|
|
4072
|
+
glovo: "glovo";
|
|
4073
|
+
}>>]>>;
|
|
4074
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4075
|
+
ITEM: "ITEM";
|
|
4076
|
+
CHOICE: "CHOICE";
|
|
4077
|
+
BUNDLE: "BUNDLE";
|
|
4078
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
4079
|
+
ITEM: "ITEM";
|
|
4080
|
+
CHOICE: "CHOICE";
|
|
4081
|
+
BUNDLE: "BUNDLE";
|
|
4082
|
+
}>>]>>;
|
|
4083
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4084
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4085
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4086
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4087
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4088
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
4089
|
+
asc: "asc";
|
|
4090
|
+
desc: "desc";
|
|
4091
|
+
}>>;
|
|
4092
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
4093
|
+
asc: "asc";
|
|
4094
|
+
desc: "desc";
|
|
4095
|
+
}>>;
|
|
4096
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4097
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
4098
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4099
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
4100
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4101
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
4102
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4103
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
4104
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4105
|
+
}, z.core.$strip>;
|
|
4106
|
+
type GetMenuItemsQueryParams = z.infer<typeof getMenuItemsQuerySchema>;
|
|
4107
|
+
declare const getMenuItemsInputSchema: z.ZodUndefined;
|
|
4108
|
+
type GetMenuItemsInput = z.input<typeof getMenuItemsInputSchema>;
|
|
4109
|
+
declare const getMenuItemsResponseSchema: z.ZodObject<{
|
|
4110
|
+
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4111
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4112
|
+
createdAt: z.ZodString;
|
|
4113
|
+
updatedAt: z.ZodString;
|
|
4114
|
+
id: z.ZodString;
|
|
4115
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4116
|
+
application: "application";
|
|
4117
|
+
ecommerce: "ecommerce";
|
|
4118
|
+
deliveroo: "deliveroo";
|
|
4119
|
+
justeat: "justeat";
|
|
4120
|
+
glovo: "glovo";
|
|
4121
|
+
}>>>;
|
|
4122
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4123
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4124
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4125
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4126
|
+
}, z.core.$strip>>;
|
|
4127
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4128
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4129
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4130
|
+
}, z.core.$strip>>>;
|
|
4131
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4132
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
4133
|
+
crustaceans: "crustaceans";
|
|
4134
|
+
nuts: "nuts";
|
|
4135
|
+
gluten: "gluten";
|
|
4136
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
4137
|
+
lupins: "lupins";
|
|
4138
|
+
molluscs: "molluscs";
|
|
4139
|
+
mustard: "mustard";
|
|
4140
|
+
fish: "fish";
|
|
4141
|
+
celery: "celery";
|
|
4142
|
+
sesame: "sesame";
|
|
4143
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
4144
|
+
soy: "soy";
|
|
4145
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
4146
|
+
mushrooms: "mushrooms";
|
|
4147
|
+
}>>>;
|
|
4148
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4149
|
+
vegan: "vegan";
|
|
4150
|
+
vegetarian: "vegetarian";
|
|
4151
|
+
"gluten-free": "gluten-free";
|
|
4152
|
+
"dairy-free": "dairy-free";
|
|
4153
|
+
}>>>;
|
|
4154
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
4155
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
4156
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
4157
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
4158
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
4159
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4160
|
+
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>>;
|
|
4161
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4162
|
+
}, z.core.$strip>>>;
|
|
4163
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4164
|
+
id: z.ZodString;
|
|
4165
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4166
|
+
contentUrl: z.ZodURL;
|
|
4167
|
+
filePath: z.ZodString;
|
|
4168
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4169
|
+
createdAt: z.ZodString;
|
|
4170
|
+
updatedAt: z.ZodString;
|
|
4171
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4172
|
+
id: z.ZodString;
|
|
4173
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4174
|
+
contentUrl: z.ZodURL;
|
|
4175
|
+
filePath: z.ZodString;
|
|
4176
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4177
|
+
createdAt: z.ZodString;
|
|
4178
|
+
updatedAt: z.ZodString;
|
|
4179
|
+
}, z.core.$strip>>>;
|
|
4180
|
+
}, z.core.$strip>>>;
|
|
4181
|
+
type: z.ZodLiteral<"CHOICE">;
|
|
4182
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4183
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4184
|
+
createdAt: z.ZodString;
|
|
4185
|
+
updatedAt: z.ZodString;
|
|
4186
|
+
id: z.ZodString;
|
|
4187
|
+
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>>;
|
|
4188
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4189
|
+
application: "application";
|
|
4190
|
+
ecommerce: "ecommerce";
|
|
4191
|
+
deliveroo: "deliveroo";
|
|
4192
|
+
justeat: "justeat";
|
|
4193
|
+
glovo: "glovo";
|
|
4194
|
+
}>>>;
|
|
4195
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4196
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4197
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4198
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4199
|
+
}, z.core.$strip>>;
|
|
4200
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4201
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4202
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4203
|
+
}, z.core.$strip>>>;
|
|
4204
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4205
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
4206
|
+
crustaceans: "crustaceans";
|
|
4207
|
+
nuts: "nuts";
|
|
4208
|
+
gluten: "gluten";
|
|
4209
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
4210
|
+
lupins: "lupins";
|
|
4211
|
+
molluscs: "molluscs";
|
|
4212
|
+
mustard: "mustard";
|
|
4213
|
+
fish: "fish";
|
|
4214
|
+
celery: "celery";
|
|
4215
|
+
sesame: "sesame";
|
|
4216
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
4217
|
+
soy: "soy";
|
|
4218
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
4219
|
+
mushrooms: "mushrooms";
|
|
4220
|
+
}>>>;
|
|
4221
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4222
|
+
vegan: "vegan";
|
|
4223
|
+
vegetarian: "vegetarian";
|
|
4224
|
+
"gluten-free": "gluten-free";
|
|
4225
|
+
"dairy-free": "dairy-free";
|
|
4226
|
+
}>>>;
|
|
4227
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
4228
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
4229
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
4230
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
4231
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
4232
|
+
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>>>>;
|
|
4233
|
+
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>>>>;
|
|
4234
|
+
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>>>>;
|
|
4235
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4236
|
+
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>>;
|
|
4237
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4238
|
+
}, z.core.$strip>>>;
|
|
4239
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4240
|
+
id: z.ZodString;
|
|
4241
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4242
|
+
contentUrl: z.ZodURL;
|
|
4243
|
+
filePath: z.ZodString;
|
|
4244
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4245
|
+
createdAt: z.ZodString;
|
|
4246
|
+
updatedAt: z.ZodString;
|
|
4247
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4248
|
+
id: z.ZodString;
|
|
4249
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4250
|
+
contentUrl: z.ZodURL;
|
|
4251
|
+
filePath: z.ZodString;
|
|
4252
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4253
|
+
createdAt: z.ZodString;
|
|
4254
|
+
updatedAt: z.ZodString;
|
|
4255
|
+
}, z.core.$strip>>>;
|
|
4256
|
+
}, z.core.$strip>>>;
|
|
4257
|
+
type: z.ZodLiteral<"ITEM">;
|
|
4258
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4259
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4260
|
+
createdAt: z.ZodString;
|
|
4261
|
+
updatedAt: z.ZodString;
|
|
4262
|
+
id: z.ZodString;
|
|
4263
|
+
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>>;
|
|
4264
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4265
|
+
application: "application";
|
|
4266
|
+
ecommerce: "ecommerce";
|
|
4267
|
+
deliveroo: "deliveroo";
|
|
4268
|
+
justeat: "justeat";
|
|
4269
|
+
glovo: "glovo";
|
|
4270
|
+
}>>>;
|
|
4271
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4272
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4273
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4274
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4275
|
+
}, z.core.$strip>>;
|
|
4276
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4277
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4278
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4279
|
+
}, z.core.$strip>>>;
|
|
4280
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4281
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
4282
|
+
crustaceans: "crustaceans";
|
|
4283
|
+
nuts: "nuts";
|
|
4284
|
+
gluten: "gluten";
|
|
4285
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
4286
|
+
lupins: "lupins";
|
|
4287
|
+
molluscs: "molluscs";
|
|
4288
|
+
mustard: "mustard";
|
|
4289
|
+
fish: "fish";
|
|
4290
|
+
celery: "celery";
|
|
4291
|
+
sesame: "sesame";
|
|
4292
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
4293
|
+
soy: "soy";
|
|
4294
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
4295
|
+
mushrooms: "mushrooms";
|
|
4296
|
+
}>>>;
|
|
4297
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4298
|
+
vegan: "vegan";
|
|
4299
|
+
vegetarian: "vegetarian";
|
|
4300
|
+
"gluten-free": "gluten-free";
|
|
4301
|
+
"dairy-free": "dairy-free";
|
|
4302
|
+
}>>>;
|
|
4303
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
4304
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
4305
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
4306
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
4307
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
4308
|
+
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>>>>;
|
|
4309
|
+
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>>>>;
|
|
4310
|
+
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>>>>;
|
|
4311
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4312
|
+
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>>;
|
|
4313
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4314
|
+
}, z.core.$strip>>>;
|
|
4315
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4316
|
+
id: z.ZodString;
|
|
4317
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4318
|
+
contentUrl: z.ZodURL;
|
|
4319
|
+
filePath: z.ZodString;
|
|
4320
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4321
|
+
createdAt: z.ZodString;
|
|
4322
|
+
updatedAt: z.ZodString;
|
|
4323
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4324
|
+
id: z.ZodString;
|
|
4325
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4326
|
+
contentUrl: z.ZodURL;
|
|
4327
|
+
filePath: z.ZodString;
|
|
4328
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4329
|
+
createdAt: z.ZodString;
|
|
4330
|
+
updatedAt: z.ZodString;
|
|
4331
|
+
}, z.core.$strip>>>;
|
|
4332
|
+
}, z.core.$strip>>>;
|
|
4333
|
+
type: z.ZodLiteral<"BUNDLE">;
|
|
4334
|
+
}, z.core.$strip>]>>;
|
|
4335
|
+
pagination: z.ZodObject<{
|
|
4336
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
4337
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
4338
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
4339
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
4340
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
4341
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
4342
|
+
}, z.core.$strip>;
|
|
4343
|
+
}, z.core.$strip>;
|
|
4344
|
+
type GetMenuItemsResponse = z.infer<typeof getMenuItemsResponseSchema>;
|
|
4345
|
+
declare class GetMenuItems extends AbstractApiRequest<typeof getMenuItemsInputSchema, typeof getMenuItemsResponseSchema, GetMenuItemsQueryParams> {
|
|
4346
|
+
readonly method = "GET";
|
|
4347
|
+
readonly contentType = "application/json";
|
|
4348
|
+
readonly accept = "application/json";
|
|
4349
|
+
readonly inputSchema: z.ZodUndefined;
|
|
4350
|
+
readonly outputSchema: z.ZodObject<{
|
|
4351
|
+
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4352
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4353
|
+
createdAt: z.ZodString;
|
|
4354
|
+
updatedAt: z.ZodString;
|
|
4355
|
+
id: z.ZodString;
|
|
4356
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4357
|
+
application: "application";
|
|
4358
|
+
ecommerce: "ecommerce";
|
|
4359
|
+
deliveroo: "deliveroo";
|
|
4360
|
+
justeat: "justeat";
|
|
4361
|
+
glovo: "glovo";
|
|
4362
|
+
}>>>;
|
|
4363
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4364
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4365
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4366
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4367
|
+
}, z.core.$strip>>;
|
|
4368
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4369
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4370
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4371
|
+
}, z.core.$strip>>>;
|
|
4372
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4373
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
4374
|
+
crustaceans: "crustaceans";
|
|
4375
|
+
nuts: "nuts";
|
|
4376
|
+
gluten: "gluten";
|
|
4377
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
4378
|
+
lupins: "lupins";
|
|
4379
|
+
molluscs: "molluscs";
|
|
4380
|
+
mustard: "mustard";
|
|
4381
|
+
fish: "fish";
|
|
4382
|
+
celery: "celery";
|
|
4383
|
+
sesame: "sesame";
|
|
4384
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
4385
|
+
soy: "soy";
|
|
4386
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
4387
|
+
mushrooms: "mushrooms";
|
|
4388
|
+
}>>>;
|
|
4389
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4390
|
+
vegan: "vegan";
|
|
4391
|
+
vegetarian: "vegetarian";
|
|
4392
|
+
"gluten-free": "gluten-free";
|
|
4393
|
+
"dairy-free": "dairy-free";
|
|
4394
|
+
}>>>;
|
|
4395
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
4396
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
4397
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
4398
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
4399
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
4400
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4401
|
+
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>>;
|
|
4402
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4403
|
+
}, z.core.$strip>>>;
|
|
4404
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4405
|
+
id: z.ZodString;
|
|
4406
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4407
|
+
contentUrl: z.ZodURL;
|
|
4408
|
+
filePath: z.ZodString;
|
|
4409
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4410
|
+
createdAt: z.ZodString;
|
|
4411
|
+
updatedAt: z.ZodString;
|
|
4412
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4413
|
+
id: z.ZodString;
|
|
4414
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4415
|
+
contentUrl: z.ZodURL;
|
|
4416
|
+
filePath: z.ZodString;
|
|
4417
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4418
|
+
createdAt: z.ZodString;
|
|
4419
|
+
updatedAt: z.ZodString;
|
|
4420
|
+
}, z.core.$strip>>>;
|
|
4421
|
+
}, z.core.$strip>>>;
|
|
4422
|
+
type: z.ZodLiteral<"CHOICE">;
|
|
4423
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4424
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4425
|
+
createdAt: z.ZodString;
|
|
4426
|
+
updatedAt: z.ZodString;
|
|
4427
|
+
id: z.ZodString;
|
|
4428
|
+
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>>;
|
|
4429
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4430
|
+
application: "application";
|
|
4431
|
+
ecommerce: "ecommerce";
|
|
4432
|
+
deliveroo: "deliveroo";
|
|
4433
|
+
justeat: "justeat";
|
|
4434
|
+
glovo: "glovo";
|
|
4435
|
+
}>>>;
|
|
4436
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4437
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4438
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4439
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4440
|
+
}, z.core.$strip>>;
|
|
4441
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4442
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4443
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4444
|
+
}, z.core.$strip>>>;
|
|
4445
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4446
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
4447
|
+
crustaceans: "crustaceans";
|
|
4448
|
+
nuts: "nuts";
|
|
4449
|
+
gluten: "gluten";
|
|
4450
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
4451
|
+
lupins: "lupins";
|
|
4452
|
+
molluscs: "molluscs";
|
|
4453
|
+
mustard: "mustard";
|
|
4454
|
+
fish: "fish";
|
|
4455
|
+
celery: "celery";
|
|
4456
|
+
sesame: "sesame";
|
|
4457
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
4458
|
+
soy: "soy";
|
|
4459
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
4460
|
+
mushrooms: "mushrooms";
|
|
4461
|
+
}>>>;
|
|
4462
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4463
|
+
vegan: "vegan";
|
|
4464
|
+
vegetarian: "vegetarian";
|
|
4465
|
+
"gluten-free": "gluten-free";
|
|
4466
|
+
"dairy-free": "dairy-free";
|
|
4467
|
+
}>>>;
|
|
4468
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
4469
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
4470
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
4471
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
4472
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
4473
|
+
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>>>>;
|
|
4474
|
+
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>>>>;
|
|
4475
|
+
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>>>>;
|
|
4476
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4477
|
+
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>>;
|
|
4478
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4479
|
+
}, z.core.$strip>>>;
|
|
4480
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4481
|
+
id: z.ZodString;
|
|
4482
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4483
|
+
contentUrl: z.ZodURL;
|
|
4484
|
+
filePath: z.ZodString;
|
|
4485
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4486
|
+
createdAt: z.ZodString;
|
|
4487
|
+
updatedAt: z.ZodString;
|
|
4488
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4489
|
+
id: z.ZodString;
|
|
4490
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4491
|
+
contentUrl: z.ZodURL;
|
|
4492
|
+
filePath: z.ZodString;
|
|
4493
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4494
|
+
createdAt: z.ZodString;
|
|
4495
|
+
updatedAt: z.ZodString;
|
|
4496
|
+
}, z.core.$strip>>>;
|
|
4497
|
+
}, z.core.$strip>>>;
|
|
4498
|
+
type: z.ZodLiteral<"ITEM">;
|
|
4499
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4500
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4501
|
+
createdAt: z.ZodString;
|
|
4502
|
+
updatedAt: z.ZodString;
|
|
4503
|
+
id: z.ZodString;
|
|
4504
|
+
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>>;
|
|
4505
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4506
|
+
application: "application";
|
|
4507
|
+
ecommerce: "ecommerce";
|
|
4508
|
+
deliveroo: "deliveroo";
|
|
4509
|
+
justeat: "justeat";
|
|
4510
|
+
glovo: "glovo";
|
|
4511
|
+
}>>>;
|
|
4512
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4513
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4514
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4515
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4516
|
+
}, z.core.$strip>>;
|
|
4517
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4518
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4519
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4520
|
+
}, z.core.$strip>>>;
|
|
4521
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4522
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
4523
|
+
crustaceans: "crustaceans";
|
|
4524
|
+
nuts: "nuts";
|
|
4525
|
+
gluten: "gluten";
|
|
4526
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
4527
|
+
lupins: "lupins";
|
|
4528
|
+
molluscs: "molluscs";
|
|
4529
|
+
mustard: "mustard";
|
|
4530
|
+
fish: "fish";
|
|
4531
|
+
celery: "celery";
|
|
4532
|
+
sesame: "sesame";
|
|
4533
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
4534
|
+
soy: "soy";
|
|
4535
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
4536
|
+
mushrooms: "mushrooms";
|
|
4537
|
+
}>>>;
|
|
4538
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4539
|
+
vegan: "vegan";
|
|
4540
|
+
vegetarian: "vegetarian";
|
|
4541
|
+
"gluten-free": "gluten-free";
|
|
4542
|
+
"dairy-free": "dairy-free";
|
|
4543
|
+
}>>>;
|
|
4544
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
4545
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
4546
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
4547
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
4548
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
4549
|
+
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>>>>;
|
|
4550
|
+
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>>>>;
|
|
4551
|
+
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>>>>;
|
|
4552
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4553
|
+
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>>;
|
|
4554
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4555
|
+
}, z.core.$strip>>>;
|
|
4556
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4557
|
+
id: z.ZodString;
|
|
4558
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4559
|
+
contentUrl: z.ZodURL;
|
|
4560
|
+
filePath: z.ZodString;
|
|
4561
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4562
|
+
createdAt: z.ZodString;
|
|
4563
|
+
updatedAt: z.ZodString;
|
|
4564
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4565
|
+
id: z.ZodString;
|
|
4566
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4567
|
+
contentUrl: z.ZodURL;
|
|
4568
|
+
filePath: z.ZodString;
|
|
4569
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4570
|
+
createdAt: z.ZodString;
|
|
4571
|
+
updatedAt: z.ZodString;
|
|
4572
|
+
}, z.core.$strip>>>;
|
|
4573
|
+
}, z.core.$strip>>>;
|
|
4574
|
+
type: z.ZodLiteral<"BUNDLE">;
|
|
4575
|
+
}, z.core.$strip>]>>;
|
|
4576
|
+
pagination: z.ZodObject<{
|
|
4577
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
4578
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
4579
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
4580
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
4581
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
4582
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
4583
|
+
}, z.core.$strip>;
|
|
4584
|
+
}, z.core.$strip>;
|
|
4585
|
+
readonly querySchema: z.ZodObject<{
|
|
4586
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4587
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4588
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4589
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4590
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4591
|
+
application: "application";
|
|
4592
|
+
ecommerce: "ecommerce";
|
|
4593
|
+
deliveroo: "deliveroo";
|
|
4594
|
+
justeat: "justeat";
|
|
4595
|
+
glovo: "glovo";
|
|
4596
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
4597
|
+
application: "application";
|
|
4598
|
+
ecommerce: "ecommerce";
|
|
4599
|
+
deliveroo: "deliveroo";
|
|
4600
|
+
justeat: "justeat";
|
|
4601
|
+
glovo: "glovo";
|
|
4602
|
+
}>>]>>;
|
|
4603
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4604
|
+
ITEM: "ITEM";
|
|
4605
|
+
CHOICE: "CHOICE";
|
|
4606
|
+
BUNDLE: "BUNDLE";
|
|
4607
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
4608
|
+
ITEM: "ITEM";
|
|
4609
|
+
CHOICE: "CHOICE";
|
|
4610
|
+
BUNDLE: "BUNDLE";
|
|
4611
|
+
}>>]>>;
|
|
4612
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4613
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4614
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4615
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4616
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4617
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
4618
|
+
asc: "asc";
|
|
4619
|
+
desc: "desc";
|
|
4620
|
+
}>>;
|
|
4621
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
4622
|
+
asc: "asc";
|
|
4623
|
+
desc: "desc";
|
|
4624
|
+
}>>;
|
|
4625
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4626
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
4627
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4628
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
4629
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4630
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
4631
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4632
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
4633
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4634
|
+
}, z.core.$strip>;
|
|
4635
|
+
readonly headersSchema: undefined;
|
|
4636
|
+
constructor(options?: {
|
|
4637
|
+
query?: GetMenuItemsQueryParams;
|
|
4638
|
+
});
|
|
4639
|
+
getPath(): string;
|
|
4640
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuItem>;
|
|
4641
|
+
}
|
|
4642
|
+
|
|
4643
|
+
declare const getMenuItemsFromMenuItemCategoryQuerySchema: z.ZodObject<{
|
|
4644
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4645
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4646
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4647
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4648
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4649
|
+
application: "application";
|
|
4650
|
+
ecommerce: "ecommerce";
|
|
4651
|
+
deliveroo: "deliveroo";
|
|
4652
|
+
justeat: "justeat";
|
|
4653
|
+
glovo: "glovo";
|
|
4654
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
4655
|
+
application: "application";
|
|
4656
|
+
ecommerce: "ecommerce";
|
|
4657
|
+
deliveroo: "deliveroo";
|
|
4658
|
+
justeat: "justeat";
|
|
4659
|
+
glovo: "glovo";
|
|
4660
|
+
}>>]>>;
|
|
4661
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4662
|
+
ITEM: "ITEM";
|
|
4663
|
+
CHOICE: "CHOICE";
|
|
4664
|
+
BUNDLE: "BUNDLE";
|
|
4665
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
4666
|
+
ITEM: "ITEM";
|
|
4667
|
+
CHOICE: "CHOICE";
|
|
4668
|
+
BUNDLE: "BUNDLE";
|
|
4669
|
+
}>>]>>;
|
|
4670
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4671
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4672
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4673
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4674
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4675
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
4676
|
+
asc: "asc";
|
|
4677
|
+
desc: "desc";
|
|
4678
|
+
}>>;
|
|
4679
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
4680
|
+
asc: "asc";
|
|
4681
|
+
desc: "desc";
|
|
4682
|
+
}>>;
|
|
4683
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4684
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
4685
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4686
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
4687
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4688
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
4689
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4690
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
4691
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4692
|
+
}, z.core.$strip>;
|
|
4693
|
+
type GetMenuItemsFromMenuItemCategoryQueryParams = z.infer<typeof getMenuItemsFromMenuItemCategoryQuerySchema>;
|
|
4694
|
+
declare const getMenuItemsFromMenuItemCategoryInputSchema: z.ZodUndefined;
|
|
4695
|
+
type GetMenuItemsFromMenuItemCategoryInput = z.input<typeof getMenuItemsFromMenuItemCategoryInputSchema>;
|
|
4696
|
+
declare const getMenuItemsFromMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
4697
|
+
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4698
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4699
|
+
createdAt: z.ZodString;
|
|
4700
|
+
updatedAt: z.ZodString;
|
|
4701
|
+
id: z.ZodString;
|
|
4702
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4703
|
+
application: "application";
|
|
4704
|
+
ecommerce: "ecommerce";
|
|
4705
|
+
deliveroo: "deliveroo";
|
|
4706
|
+
justeat: "justeat";
|
|
4707
|
+
glovo: "glovo";
|
|
4708
|
+
}>>>;
|
|
4709
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4710
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4711
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4712
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4713
|
+
}, z.core.$strip>>;
|
|
4714
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4715
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4716
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4717
|
+
}, z.core.$strip>>>;
|
|
4718
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4719
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
4720
|
+
crustaceans: "crustaceans";
|
|
4721
|
+
nuts: "nuts";
|
|
4722
|
+
gluten: "gluten";
|
|
4723
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
4724
|
+
lupins: "lupins";
|
|
4725
|
+
molluscs: "molluscs";
|
|
4726
|
+
mustard: "mustard";
|
|
4727
|
+
fish: "fish";
|
|
4728
|
+
celery: "celery";
|
|
4729
|
+
sesame: "sesame";
|
|
4730
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
4731
|
+
soy: "soy";
|
|
4732
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
4733
|
+
mushrooms: "mushrooms";
|
|
4734
|
+
}>>>;
|
|
4735
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4736
|
+
vegan: "vegan";
|
|
4737
|
+
vegetarian: "vegetarian";
|
|
4738
|
+
"gluten-free": "gluten-free";
|
|
4739
|
+
"dairy-free": "dairy-free";
|
|
4740
|
+
}>>>;
|
|
4741
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
4742
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
4743
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
4744
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
4745
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
4746
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4747
|
+
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>>;
|
|
4748
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4749
|
+
}, z.core.$strip>>>;
|
|
4750
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4751
|
+
id: z.ZodString;
|
|
4752
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4753
|
+
contentUrl: z.ZodURL;
|
|
4754
|
+
filePath: z.ZodString;
|
|
4755
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4756
|
+
createdAt: z.ZodString;
|
|
4757
|
+
updatedAt: z.ZodString;
|
|
4758
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4759
|
+
id: z.ZodString;
|
|
4760
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4761
|
+
contentUrl: z.ZodURL;
|
|
4762
|
+
filePath: z.ZodString;
|
|
4763
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4764
|
+
createdAt: z.ZodString;
|
|
4765
|
+
updatedAt: z.ZodString;
|
|
4766
|
+
}, z.core.$strip>>>;
|
|
4767
|
+
}, z.core.$strip>>>;
|
|
4768
|
+
type: z.ZodLiteral<"CHOICE">;
|
|
4769
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4770
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4771
|
+
createdAt: z.ZodString;
|
|
4772
|
+
updatedAt: z.ZodString;
|
|
4773
|
+
id: z.ZodString;
|
|
4774
|
+
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>>;
|
|
4775
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4776
|
+
application: "application";
|
|
4777
|
+
ecommerce: "ecommerce";
|
|
4778
|
+
deliveroo: "deliveroo";
|
|
4779
|
+
justeat: "justeat";
|
|
4780
|
+
glovo: "glovo";
|
|
4781
|
+
}>>>;
|
|
4782
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4783
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4784
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4785
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4786
|
+
}, z.core.$strip>>;
|
|
4787
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4788
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4789
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4790
|
+
}, z.core.$strip>>>;
|
|
4791
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4792
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
4793
|
+
crustaceans: "crustaceans";
|
|
4794
|
+
nuts: "nuts";
|
|
4795
|
+
gluten: "gluten";
|
|
4796
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
4797
|
+
lupins: "lupins";
|
|
4798
|
+
molluscs: "molluscs";
|
|
4799
|
+
mustard: "mustard";
|
|
4800
|
+
fish: "fish";
|
|
4801
|
+
celery: "celery";
|
|
4802
|
+
sesame: "sesame";
|
|
4803
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
4804
|
+
soy: "soy";
|
|
4805
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
4806
|
+
mushrooms: "mushrooms";
|
|
4807
|
+
}>>>;
|
|
4808
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4809
|
+
vegan: "vegan";
|
|
4810
|
+
vegetarian: "vegetarian";
|
|
4811
|
+
"gluten-free": "gluten-free";
|
|
4812
|
+
"dairy-free": "dairy-free";
|
|
4813
|
+
}>>>;
|
|
4814
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
4815
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
4816
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
4817
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
4818
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
4819
|
+
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>>>>;
|
|
4820
|
+
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>>>>;
|
|
4821
|
+
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>>>>;
|
|
4822
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4823
|
+
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>>;
|
|
4824
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4825
|
+
}, z.core.$strip>>>;
|
|
4826
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4827
|
+
id: z.ZodString;
|
|
4828
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4829
|
+
contentUrl: z.ZodURL;
|
|
4830
|
+
filePath: z.ZodString;
|
|
4831
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4832
|
+
createdAt: z.ZodString;
|
|
4833
|
+
updatedAt: z.ZodString;
|
|
4834
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4835
|
+
id: z.ZodString;
|
|
4836
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4837
|
+
contentUrl: z.ZodURL;
|
|
4838
|
+
filePath: z.ZodString;
|
|
4839
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4840
|
+
createdAt: z.ZodString;
|
|
4841
|
+
updatedAt: z.ZodString;
|
|
4842
|
+
}, z.core.$strip>>>;
|
|
4843
|
+
}, z.core.$strip>>>;
|
|
4844
|
+
type: z.ZodLiteral<"ITEM">;
|
|
4845
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4846
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4847
|
+
createdAt: z.ZodString;
|
|
4848
|
+
updatedAt: z.ZodString;
|
|
4849
|
+
id: z.ZodString;
|
|
4850
|
+
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>>;
|
|
4851
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4852
|
+
application: "application";
|
|
4853
|
+
ecommerce: "ecommerce";
|
|
4854
|
+
deliveroo: "deliveroo";
|
|
4855
|
+
justeat: "justeat";
|
|
4856
|
+
glovo: "glovo";
|
|
4857
|
+
}>>>;
|
|
4858
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4859
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4860
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4861
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4862
|
+
}, z.core.$strip>>;
|
|
4863
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4864
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4865
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4866
|
+
}, z.core.$strip>>>;
|
|
4867
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4868
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
4869
|
+
crustaceans: "crustaceans";
|
|
4870
|
+
nuts: "nuts";
|
|
4871
|
+
gluten: "gluten";
|
|
4872
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
4873
|
+
lupins: "lupins";
|
|
4874
|
+
molluscs: "molluscs";
|
|
4875
|
+
mustard: "mustard";
|
|
4876
|
+
fish: "fish";
|
|
4877
|
+
celery: "celery";
|
|
4878
|
+
sesame: "sesame";
|
|
4879
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
4880
|
+
soy: "soy";
|
|
4881
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
4882
|
+
mushrooms: "mushrooms";
|
|
4883
|
+
}>>>;
|
|
4884
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4885
|
+
vegan: "vegan";
|
|
4886
|
+
vegetarian: "vegetarian";
|
|
4887
|
+
"gluten-free": "gluten-free";
|
|
4888
|
+
"dairy-free": "dairy-free";
|
|
4889
|
+
}>>>;
|
|
4890
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
4891
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
4892
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
4893
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
4894
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
4895
|
+
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>>>>;
|
|
4896
|
+
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>>>>;
|
|
4897
|
+
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>>>>;
|
|
4898
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4899
|
+
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>>;
|
|
4900
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4901
|
+
}, z.core.$strip>>>;
|
|
4902
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4903
|
+
id: z.ZodString;
|
|
4904
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4905
|
+
contentUrl: z.ZodURL;
|
|
4906
|
+
filePath: z.ZodString;
|
|
4907
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4908
|
+
createdAt: z.ZodString;
|
|
4909
|
+
updatedAt: z.ZodString;
|
|
4910
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4911
|
+
id: z.ZodString;
|
|
4912
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4913
|
+
contentUrl: z.ZodURL;
|
|
4914
|
+
filePath: z.ZodString;
|
|
4915
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4916
|
+
createdAt: z.ZodString;
|
|
4917
|
+
updatedAt: z.ZodString;
|
|
4918
|
+
}, z.core.$strip>>>;
|
|
4919
|
+
}, z.core.$strip>>>;
|
|
4920
|
+
type: z.ZodLiteral<"BUNDLE">;
|
|
4921
|
+
}, z.core.$strip>]>>;
|
|
4922
|
+
pagination: z.ZodObject<{
|
|
4923
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
4924
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
4925
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
4926
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
4927
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
4928
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
4929
|
+
}, z.core.$strip>;
|
|
4930
|
+
}, z.core.$strip>;
|
|
4931
|
+
type GetMenuItemsFromMenuItemCategoryResponse = z.infer<typeof getMenuItemsFromMenuItemCategoryResponseSchema>;
|
|
4932
|
+
declare class GetMenuItemsFromMenuItemCategory extends AbstractApiRequest<typeof getMenuItemsFromMenuItemCategoryInputSchema, typeof getMenuItemsFromMenuItemCategoryResponseSchema, GetMenuItemsFromMenuItemCategoryQueryParams> {
|
|
4933
|
+
readonly method = "GET";
|
|
4934
|
+
readonly contentType = "application/json";
|
|
4935
|
+
readonly accept = "application/json";
|
|
4936
|
+
readonly inputSchema: z.ZodUndefined;
|
|
4937
|
+
readonly outputSchema: z.ZodObject<{
|
|
4938
|
+
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4939
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4940
|
+
createdAt: z.ZodString;
|
|
4941
|
+
updatedAt: z.ZodString;
|
|
4942
|
+
id: z.ZodString;
|
|
4943
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4944
|
+
application: "application";
|
|
4945
|
+
ecommerce: "ecommerce";
|
|
4946
|
+
deliveroo: "deliveroo";
|
|
4947
|
+
justeat: "justeat";
|
|
4948
|
+
glovo: "glovo";
|
|
4949
|
+
}>>>;
|
|
4950
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4951
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4952
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4953
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4954
|
+
}, z.core.$strip>>;
|
|
4955
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4956
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4957
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4958
|
+
}, z.core.$strip>>>;
|
|
4959
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4960
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
4961
|
+
crustaceans: "crustaceans";
|
|
4962
|
+
nuts: "nuts";
|
|
4963
|
+
gluten: "gluten";
|
|
4964
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
4965
|
+
lupins: "lupins";
|
|
4966
|
+
molluscs: "molluscs";
|
|
4967
|
+
mustard: "mustard";
|
|
4968
|
+
fish: "fish";
|
|
4969
|
+
celery: "celery";
|
|
4970
|
+
sesame: "sesame";
|
|
4971
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
4972
|
+
soy: "soy";
|
|
4973
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
4974
|
+
mushrooms: "mushrooms";
|
|
4975
|
+
}>>>;
|
|
4976
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4977
|
+
vegan: "vegan";
|
|
4978
|
+
vegetarian: "vegetarian";
|
|
4979
|
+
"gluten-free": "gluten-free";
|
|
4980
|
+
"dairy-free": "dairy-free";
|
|
4981
|
+
}>>>;
|
|
4982
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
4983
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
4984
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
4985
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
4986
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
4987
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4988
|
+
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>>;
|
|
4989
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4990
|
+
}, z.core.$strip>>>;
|
|
4991
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4992
|
+
id: z.ZodString;
|
|
4993
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4994
|
+
contentUrl: z.ZodURL;
|
|
4995
|
+
filePath: z.ZodString;
|
|
4996
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4997
|
+
createdAt: z.ZodString;
|
|
4998
|
+
updatedAt: z.ZodString;
|
|
4999
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5000
|
+
id: z.ZodString;
|
|
5001
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5002
|
+
contentUrl: z.ZodURL;
|
|
5003
|
+
filePath: z.ZodString;
|
|
5004
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5005
|
+
createdAt: z.ZodString;
|
|
5006
|
+
updatedAt: z.ZodString;
|
|
5007
|
+
}, z.core.$strip>>>;
|
|
5008
|
+
}, z.core.$strip>>>;
|
|
5009
|
+
type: z.ZodLiteral<"CHOICE">;
|
|
5010
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5011
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5012
|
+
createdAt: z.ZodString;
|
|
5013
|
+
updatedAt: z.ZodString;
|
|
5014
|
+
id: z.ZodString;
|
|
5015
|
+
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>>;
|
|
5016
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5017
|
+
application: "application";
|
|
5018
|
+
ecommerce: "ecommerce";
|
|
5019
|
+
deliveroo: "deliveroo";
|
|
5020
|
+
justeat: "justeat";
|
|
5021
|
+
glovo: "glovo";
|
|
5022
|
+
}>>>;
|
|
5023
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5024
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5025
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5026
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5027
|
+
}, z.core.$strip>>;
|
|
5028
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5029
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5030
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5031
|
+
}, z.core.$strip>>>;
|
|
5032
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5033
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5034
|
+
crustaceans: "crustaceans";
|
|
5035
|
+
nuts: "nuts";
|
|
5036
|
+
gluten: "gluten";
|
|
5037
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5038
|
+
lupins: "lupins";
|
|
5039
|
+
molluscs: "molluscs";
|
|
5040
|
+
mustard: "mustard";
|
|
5041
|
+
fish: "fish";
|
|
5042
|
+
celery: "celery";
|
|
5043
|
+
sesame: "sesame";
|
|
5044
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5045
|
+
soy: "soy";
|
|
5046
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5047
|
+
mushrooms: "mushrooms";
|
|
5048
|
+
}>>>;
|
|
5049
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5050
|
+
vegan: "vegan";
|
|
5051
|
+
vegetarian: "vegetarian";
|
|
5052
|
+
"gluten-free": "gluten-free";
|
|
5053
|
+
"dairy-free": "dairy-free";
|
|
5054
|
+
}>>>;
|
|
5055
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5056
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5057
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5058
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5059
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5060
|
+
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>>>>;
|
|
5061
|
+
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>>>>;
|
|
5062
|
+
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>>>>;
|
|
5063
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5064
|
+
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>>;
|
|
5065
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5066
|
+
}, z.core.$strip>>>;
|
|
5067
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5068
|
+
id: z.ZodString;
|
|
5069
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5070
|
+
contentUrl: z.ZodURL;
|
|
5071
|
+
filePath: z.ZodString;
|
|
5072
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5073
|
+
createdAt: z.ZodString;
|
|
5074
|
+
updatedAt: z.ZodString;
|
|
5075
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5076
|
+
id: z.ZodString;
|
|
5077
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5078
|
+
contentUrl: z.ZodURL;
|
|
5079
|
+
filePath: z.ZodString;
|
|
5080
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5081
|
+
createdAt: z.ZodString;
|
|
5082
|
+
updatedAt: z.ZodString;
|
|
5083
|
+
}, z.core.$strip>>>;
|
|
5084
|
+
}, z.core.$strip>>>;
|
|
5085
|
+
type: z.ZodLiteral<"ITEM">;
|
|
5086
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3808
5087
|
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
5088
|
createdAt: z.ZodString;
|
|
3817
5089
|
updatedAt: z.ZodString;
|
|
3818
|
-
|
|
5090
|
+
id: z.ZodString;
|
|
5091
|
+
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>>;
|
|
5092
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5093
|
+
application: "application";
|
|
5094
|
+
ecommerce: "ecommerce";
|
|
5095
|
+
deliveroo: "deliveroo";
|
|
5096
|
+
justeat: "justeat";
|
|
5097
|
+
glovo: "glovo";
|
|
5098
|
+
}>>>;
|
|
5099
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5100
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5101
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5102
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5103
|
+
}, z.core.$strip>>;
|
|
5104
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5105
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5106
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5107
|
+
}, z.core.$strip>>>;
|
|
5108
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5109
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5110
|
+
crustaceans: "crustaceans";
|
|
5111
|
+
nuts: "nuts";
|
|
5112
|
+
gluten: "gluten";
|
|
5113
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5114
|
+
lupins: "lupins";
|
|
5115
|
+
molluscs: "molluscs";
|
|
5116
|
+
mustard: "mustard";
|
|
5117
|
+
fish: "fish";
|
|
5118
|
+
celery: "celery";
|
|
5119
|
+
sesame: "sesame";
|
|
5120
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5121
|
+
soy: "soy";
|
|
5122
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5123
|
+
mushrooms: "mushrooms";
|
|
5124
|
+
}>>>;
|
|
5125
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5126
|
+
vegan: "vegan";
|
|
5127
|
+
vegetarian: "vegetarian";
|
|
5128
|
+
"gluten-free": "gluten-free";
|
|
5129
|
+
"dairy-free": "dairy-free";
|
|
5130
|
+
}>>>;
|
|
5131
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5132
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5133
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5134
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5135
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5136
|
+
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>>>>;
|
|
5137
|
+
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>>>>;
|
|
5138
|
+
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>>>>;
|
|
5139
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5140
|
+
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>>;
|
|
5141
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5142
|
+
}, z.core.$strip>>>;
|
|
5143
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3819
5144
|
id: z.ZodString;
|
|
3820
5145
|
variant: z.ZodNullable<z.ZodString>;
|
|
3821
5146
|
contentUrl: z.ZodURL;
|
|
@@ -3823,18 +5148,87 @@ declare class GetMenuItemDetails extends AbstractApiRequest<typeof getMenuItemDe
|
|
|
3823
5148
|
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3824
5149
|
createdAt: z.ZodString;
|
|
3825
5150
|
updatedAt: z.ZodString;
|
|
5151
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5152
|
+
id: z.ZodString;
|
|
5153
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5154
|
+
contentUrl: z.ZodURL;
|
|
5155
|
+
filePath: z.ZodString;
|
|
5156
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5157
|
+
createdAt: z.ZodString;
|
|
5158
|
+
updatedAt: z.ZodString;
|
|
5159
|
+
}, z.core.$strip>>>;
|
|
3826
5160
|
}, z.core.$strip>>>;
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
5161
|
+
type: z.ZodLiteral<"BUNDLE">;
|
|
5162
|
+
}, z.core.$strip>]>>;
|
|
5163
|
+
pagination: z.ZodObject<{
|
|
5164
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
5165
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
5166
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
5167
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
5168
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
5169
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
5170
|
+
}, z.core.$strip>;
|
|
5171
|
+
}, z.core.$strip>;
|
|
5172
|
+
readonly querySchema: z.ZodObject<{
|
|
5173
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5174
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5175
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5176
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5177
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5178
|
+
application: "application";
|
|
5179
|
+
ecommerce: "ecommerce";
|
|
5180
|
+
deliveroo: "deliveroo";
|
|
5181
|
+
justeat: "justeat";
|
|
5182
|
+
glovo: "glovo";
|
|
5183
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
5184
|
+
application: "application";
|
|
5185
|
+
ecommerce: "ecommerce";
|
|
5186
|
+
deliveroo: "deliveroo";
|
|
5187
|
+
justeat: "justeat";
|
|
5188
|
+
glovo: "glovo";
|
|
5189
|
+
}>>]>>;
|
|
5190
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5191
|
+
ITEM: "ITEM";
|
|
5192
|
+
CHOICE: "CHOICE";
|
|
5193
|
+
BUNDLE: "BUNDLE";
|
|
5194
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
5195
|
+
ITEM: "ITEM";
|
|
5196
|
+
CHOICE: "CHOICE";
|
|
5197
|
+
BUNDLE: "BUNDLE";
|
|
5198
|
+
}>>]>>;
|
|
5199
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5200
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5201
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5202
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5203
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5204
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
5205
|
+
asc: "asc";
|
|
5206
|
+
desc: "desc";
|
|
5207
|
+
}>>;
|
|
5208
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
5209
|
+
asc: "asc";
|
|
5210
|
+
desc: "desc";
|
|
5211
|
+
}>>;
|
|
5212
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5213
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
5214
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
5215
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
5216
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
5217
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
5218
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
5219
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
5220
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
5221
|
+
}, z.core.$strip>;
|
|
3831
5222
|
readonly headersSchema: undefined;
|
|
3832
|
-
private readonly
|
|
3833
|
-
constructor(
|
|
5223
|
+
private readonly menuItemCategoryId;
|
|
5224
|
+
constructor(menuItemCategoryId: string, options?: {
|
|
5225
|
+
query?: GetMenuItemsFromMenuItemCategoryQueryParams;
|
|
5226
|
+
});
|
|
3834
5227
|
getPath(): string;
|
|
5228
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuItem>;
|
|
3835
5229
|
}
|
|
3836
5230
|
|
|
3837
|
-
declare const
|
|
5231
|
+
declare const getMenuItemsFromPointOfSaleQuerySchema: z.ZodObject<{
|
|
3838
5232
|
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3839
5233
|
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3840
5234
|
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
@@ -3884,13 +5278,12 @@ declare const getMenuItemsQuerySchema: z.ZodObject<{
|
|
|
3884
5278
|
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
3885
5279
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3886
5280
|
}, z.core.$strip>;
|
|
3887
|
-
type
|
|
3888
|
-
declare const
|
|
3889
|
-
type
|
|
3890
|
-
declare const
|
|
5281
|
+
type GetMenuItemsFromPointOfSaleQueryParams = z.infer<typeof getMenuItemsFromPointOfSaleQuerySchema>;
|
|
5282
|
+
declare const getMenuItemsFromPointOfSaleInputSchema: z.ZodUndefined;
|
|
5283
|
+
type GetMenuItemsFromPointOfSaleInput = z.input<typeof getMenuItemsFromPointOfSaleInputSchema>;
|
|
5284
|
+
declare const getMenuItemsFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
3891
5285
|
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3892
5286
|
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
5287
|
createdAt: z.ZodString;
|
|
3895
5288
|
updatedAt: z.ZodString;
|
|
3896
5289
|
id: z.ZodString;
|
|
@@ -3963,7 +5356,6 @@ declare const getMenuItemsResponseSchema: z.ZodObject<{
|
|
|
3963
5356
|
type: z.ZodLiteral<"CHOICE">;
|
|
3964
5357
|
}, z.core.$strip>, z.ZodObject<{
|
|
3965
5358
|
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
5359
|
createdAt: z.ZodString;
|
|
3968
5360
|
updatedAt: z.ZodString;
|
|
3969
5361
|
id: z.ZodString;
|
|
@@ -4040,7 +5432,6 @@ declare const getMenuItemsResponseSchema: z.ZodObject<{
|
|
|
4040
5432
|
type: z.ZodLiteral<"ITEM">;
|
|
4041
5433
|
}, z.core.$strip>, z.ZodObject<{
|
|
4042
5434
|
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
5435
|
createdAt: z.ZodString;
|
|
4045
5436
|
updatedAt: z.ZodString;
|
|
4046
5437
|
id: z.ZodString;
|
|
@@ -4125,8 +5516,8 @@ declare const getMenuItemsResponseSchema: z.ZodObject<{
|
|
|
4125
5516
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
4126
5517
|
}, z.core.$strip>;
|
|
4127
5518
|
}, z.core.$strip>;
|
|
4128
|
-
type
|
|
4129
|
-
declare class
|
|
5519
|
+
type GetMenuItemsFromPointOfSaleResponse = z.infer<typeof getMenuItemsFromPointOfSaleResponseSchema>;
|
|
5520
|
+
declare class GetMenuItemsFromPointOfSale extends AbstractApiRequest<typeof getMenuItemsFromPointOfSaleInputSchema, typeof getMenuItemsFromPointOfSaleResponseSchema, GetMenuItemsFromPointOfSaleQueryParams> {
|
|
4130
5521
|
readonly method = "GET";
|
|
4131
5522
|
readonly contentType = "application/json";
|
|
4132
5523
|
readonly accept = "application/json";
|
|
@@ -4134,7 +5525,6 @@ declare class GetMenuItems extends AbstractApiRequest<typeof getMenuItemsInputSc
|
|
|
4134
5525
|
readonly outputSchema: z.ZodObject<{
|
|
4135
5526
|
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4136
5527
|
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
5528
|
createdAt: z.ZodString;
|
|
4139
5529
|
updatedAt: z.ZodString;
|
|
4140
5530
|
id: z.ZodString;
|
|
@@ -4207,7 +5597,6 @@ declare class GetMenuItems extends AbstractApiRequest<typeof getMenuItemsInputSc
|
|
|
4207
5597
|
type: z.ZodLiteral<"CHOICE">;
|
|
4208
5598
|
}, z.core.$strip>, z.ZodObject<{
|
|
4209
5599
|
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
5600
|
createdAt: z.ZodString;
|
|
4212
5601
|
updatedAt: z.ZodString;
|
|
4213
5602
|
id: z.ZodString;
|
|
@@ -4284,7 +5673,6 @@ declare class GetMenuItems extends AbstractApiRequest<typeof getMenuItemsInputSc
|
|
|
4284
5673
|
type: z.ZodLiteral<"ITEM">;
|
|
4285
5674
|
}, z.core.$strip>, z.ZodObject<{
|
|
4286
5675
|
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
5676
|
createdAt: z.ZodString;
|
|
4289
5677
|
updatedAt: z.ZodString;
|
|
4290
5678
|
id: z.ZodString;
|
|
@@ -4420,8 +5808,9 @@ declare class GetMenuItems extends AbstractApiRequest<typeof getMenuItemsInputSc
|
|
|
4420
5808
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4421
5809
|
}, z.core.$strip>;
|
|
4422
5810
|
readonly headersSchema: undefined;
|
|
4423
|
-
|
|
4424
|
-
|
|
5811
|
+
private readonly pointOfSaleId;
|
|
5812
|
+
constructor(pointOfSaleId: string, options?: {
|
|
5813
|
+
query?: GetMenuItemsFromPointOfSaleQueryParams;
|
|
4425
5814
|
});
|
|
4426
5815
|
getPath(): string;
|
|
4427
5816
|
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuItem>;
|
|
@@ -4488,7 +5877,6 @@ declare const updateMenuItemInputSchema: z.ZodObject<{
|
|
|
4488
5877
|
type UpdateMenuItemInput = z.input<typeof updateMenuItemInputSchema>;
|
|
4489
5878
|
declare const updateMenuItemResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4490
5879
|
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
5880
|
createdAt: z.ZodString;
|
|
4493
5881
|
updatedAt: z.ZodString;
|
|
4494
5882
|
id: z.ZodString;
|
|
@@ -4559,9 +5947,9 @@ declare const updateMenuItemResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
4559
5947
|
}, z.core.$strip>>>;
|
|
4560
5948
|
}, z.core.$strip>>>;
|
|
4561
5949
|
type: z.ZodLiteral<"CHOICE">;
|
|
5950
|
+
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
5951
|
}, z.core.$strip>, z.ZodObject<{
|
|
4563
5952
|
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
5953
|
createdAt: z.ZodString;
|
|
4566
5954
|
updatedAt: z.ZodString;
|
|
4567
5955
|
id: z.ZodString;
|
|
@@ -4636,9 +6024,9 @@ declare const updateMenuItemResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
4636
6024
|
}, z.core.$strip>>>;
|
|
4637
6025
|
}, z.core.$strip>>>;
|
|
4638
6026
|
type: z.ZodLiteral<"ITEM">;
|
|
6027
|
+
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
6028
|
}, z.core.$strip>, z.ZodObject<{
|
|
4640
6029
|
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
6030
|
createdAt: z.ZodString;
|
|
4643
6031
|
updatedAt: z.ZodString;
|
|
4644
6032
|
id: z.ZodString;
|
|
@@ -4713,6 +6101,7 @@ declare const updateMenuItemResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
4713
6101
|
}, z.core.$strip>>>;
|
|
4714
6102
|
}, z.core.$strip>>>;
|
|
4715
6103
|
type: z.ZodLiteral<"BUNDLE">;
|
|
6104
|
+
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
6105
|
}, z.core.$strip>]>;
|
|
4717
6106
|
type UpdateMenuItemResponse = z.infer<typeof updateMenuItemResponseSchema>;
|
|
4718
6107
|
declare class UpdateMenuItem extends AbstractApiRequest<typeof updateMenuItemInputSchema, typeof updateMenuItemResponseSchema> {
|
|
@@ -4779,7 +6168,6 @@ declare class UpdateMenuItem extends AbstractApiRequest<typeof updateMenuItemInp
|
|
|
4779
6168
|
}, z.core.$strip>;
|
|
4780
6169
|
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4781
6170
|
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
6171
|
createdAt: z.ZodString;
|
|
4784
6172
|
updatedAt: z.ZodString;
|
|
4785
6173
|
id: z.ZodString;
|
|
@@ -4850,9 +6238,9 @@ declare class UpdateMenuItem extends AbstractApiRequest<typeof updateMenuItemInp
|
|
|
4850
6238
|
}, z.core.$strip>>>;
|
|
4851
6239
|
}, z.core.$strip>>>;
|
|
4852
6240
|
type: z.ZodLiteral<"CHOICE">;
|
|
6241
|
+
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
6242
|
}, z.core.$strip>, z.ZodObject<{
|
|
4854
6243
|
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
6244
|
createdAt: z.ZodString;
|
|
4857
6245
|
updatedAt: z.ZodString;
|
|
4858
6246
|
id: z.ZodString;
|
|
@@ -4927,9 +6315,9 @@ declare class UpdateMenuItem extends AbstractApiRequest<typeof updateMenuItemInp
|
|
|
4927
6315
|
}, z.core.$strip>>>;
|
|
4928
6316
|
}, z.core.$strip>>>;
|
|
4929
6317
|
type: z.ZodLiteral<"ITEM">;
|
|
6318
|
+
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
6319
|
}, z.core.$strip>, z.ZodObject<{
|
|
4931
6320
|
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
6321
|
createdAt: z.ZodString;
|
|
4934
6322
|
updatedAt: z.ZodString;
|
|
4935
6323
|
id: z.ZodString;
|
|
@@ -5004,6 +6392,7 @@ declare class UpdateMenuItem extends AbstractApiRequest<typeof updateMenuItemInp
|
|
|
5004
6392
|
}, z.core.$strip>>>;
|
|
5005
6393
|
}, z.core.$strip>>>;
|
|
5006
6394
|
type: z.ZodLiteral<"BUNDLE">;
|
|
6395
|
+
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
6396
|
}, z.core.$strip>]>;
|
|
5008
6397
|
readonly querySchema: undefined;
|
|
5009
6398
|
readonly headersSchema: undefined;
|
|
@@ -5129,4 +6518,4 @@ type MenuItemPriceOverrideSalesPriceIri = z.infer<typeof menuItemPriceOverrideSa
|
|
|
5129
6518
|
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
6519
|
type MenuItemPriceOverrideSalesPriceNullableIri = z.infer<typeof menuItemPriceOverrideSalesPriceNullableIriSchema>;
|
|
5131
6520
|
|
|
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 };
|
|
6521
|
+
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 };
|