@deliverart/sdk-js-menu 2.5.2 → 2.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +102 -14
- package/dist/index.d.cts +1552 -163
- package/dist/index.d.ts +1552 -163
- package/dist/index.js +98 -15
- 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,238 @@ declare const menuItemSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
480
474
|
type: z.ZodLiteral<"BUNDLE">;
|
|
481
475
|
}, z.core.$strip>]>;
|
|
482
476
|
type MenuItem = z.infer<typeof menuItemSchema>;
|
|
483
|
-
declare const
|
|
477
|
+
declare const menuItemChoiceDetailsSchema: z.ZodObject<{
|
|
478
|
+
price: z.ZodDefault<z.ZodString>;
|
|
479
|
+
createdAt: z.ZodString;
|
|
480
|
+
updatedAt: z.ZodString;
|
|
481
|
+
id: z.ZodString;
|
|
482
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
483
|
+
application: "application";
|
|
484
|
+
ecommerce: "ecommerce";
|
|
485
|
+
deliveroo: "deliveroo";
|
|
486
|
+
justeat: "justeat";
|
|
487
|
+
glovo: "glovo";
|
|
488
|
+
}>>>;
|
|
489
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
490
|
+
name: z.ZodArray<z.ZodObject<{
|
|
491
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
492
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
493
|
+
}, z.core.$strip>>;
|
|
494
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
495
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
496
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
497
|
+
}, z.core.$strip>>>;
|
|
498
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
499
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
500
|
+
crustaceans: "crustaceans";
|
|
501
|
+
nuts: "nuts";
|
|
502
|
+
gluten: "gluten";
|
|
503
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
504
|
+
lupins: "lupins";
|
|
505
|
+
molluscs: "molluscs";
|
|
506
|
+
mustard: "mustard";
|
|
507
|
+
fish: "fish";
|
|
508
|
+
celery: "celery";
|
|
509
|
+
sesame: "sesame";
|
|
510
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
511
|
+
soy: "soy";
|
|
512
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
513
|
+
mushrooms: "mushrooms";
|
|
514
|
+
}>>>;
|
|
515
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
516
|
+
vegan: "vegan";
|
|
517
|
+
vegetarian: "vegetarian";
|
|
518
|
+
"gluten-free": "gluten-free";
|
|
519
|
+
"dairy-free": "dairy-free";
|
|
520
|
+
}>>>;
|
|
521
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
522
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
523
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
524
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
525
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
526
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
527
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
528
|
+
price: z.ZodDefault<z.ZodString>;
|
|
529
|
+
}, z.core.$strip>>>;
|
|
530
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
531
|
+
id: z.ZodString;
|
|
532
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
533
|
+
contentUrl: z.ZodURL;
|
|
534
|
+
filePath: z.ZodString;
|
|
535
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
536
|
+
createdAt: z.ZodString;
|
|
537
|
+
updatedAt: z.ZodString;
|
|
538
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
539
|
+
id: z.ZodString;
|
|
540
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
541
|
+
contentUrl: z.ZodURL;
|
|
542
|
+
filePath: z.ZodString;
|
|
543
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
544
|
+
createdAt: z.ZodString;
|
|
545
|
+
updatedAt: z.ZodString;
|
|
546
|
+
}, z.core.$strip>>>;
|
|
547
|
+
}, z.core.$strip>>>;
|
|
548
|
+
type: z.ZodLiteral<"CHOICE">;
|
|
549
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
550
|
+
}, z.core.$strip>;
|
|
551
|
+
declare const menuItemItemDetailsSchema: z.ZodObject<{
|
|
552
|
+
price: z.ZodDefault<z.ZodString>;
|
|
553
|
+
createdAt: z.ZodString;
|
|
554
|
+
updatedAt: z.ZodString;
|
|
555
|
+
id: z.ZodString;
|
|
556
|
+
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>;
|
|
557
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
558
|
+
application: "application";
|
|
559
|
+
ecommerce: "ecommerce";
|
|
560
|
+
deliveroo: "deliveroo";
|
|
561
|
+
justeat: "justeat";
|
|
562
|
+
glovo: "glovo";
|
|
563
|
+
}>>>;
|
|
564
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
565
|
+
name: z.ZodArray<z.ZodObject<{
|
|
566
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
567
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
568
|
+
}, z.core.$strip>>;
|
|
569
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
570
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
571
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
572
|
+
}, z.core.$strip>>>;
|
|
573
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
574
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
575
|
+
crustaceans: "crustaceans";
|
|
576
|
+
nuts: "nuts";
|
|
577
|
+
gluten: "gluten";
|
|
578
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
579
|
+
lupins: "lupins";
|
|
580
|
+
molluscs: "molluscs";
|
|
581
|
+
mustard: "mustard";
|
|
582
|
+
fish: "fish";
|
|
583
|
+
celery: "celery";
|
|
584
|
+
sesame: "sesame";
|
|
585
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
586
|
+
soy: "soy";
|
|
587
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
588
|
+
mushrooms: "mushrooms";
|
|
589
|
+
}>>>;
|
|
590
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
591
|
+
vegan: "vegan";
|
|
592
|
+
vegetarian: "vegetarian";
|
|
593
|
+
"gluten-free": "gluten-free";
|
|
594
|
+
"dairy-free": "dairy-free";
|
|
595
|
+
}>>>;
|
|
596
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
597
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
598
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
599
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
600
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
601
|
+
compositions: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>>;
|
|
602
|
+
modifiers: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown>>>>;
|
|
603
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>>;
|
|
604
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
605
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
606
|
+
price: z.ZodDefault<z.ZodString>;
|
|
607
|
+
}, z.core.$strip>>>;
|
|
608
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
609
|
+
id: z.ZodString;
|
|
610
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
611
|
+
contentUrl: z.ZodURL;
|
|
612
|
+
filePath: z.ZodString;
|
|
613
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
614
|
+
createdAt: z.ZodString;
|
|
615
|
+
updatedAt: z.ZodString;
|
|
616
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
617
|
+
id: z.ZodString;
|
|
618
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
619
|
+
contentUrl: z.ZodURL;
|
|
620
|
+
filePath: z.ZodString;
|
|
621
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
622
|
+
createdAt: z.ZodString;
|
|
623
|
+
updatedAt: z.ZodString;
|
|
624
|
+
}, z.core.$strip>>>;
|
|
625
|
+
}, z.core.$strip>>>;
|
|
626
|
+
type: z.ZodLiteral<"ITEM">;
|
|
627
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
628
|
+
}, z.core.$strip>;
|
|
629
|
+
declare const menuItemBundleDetailsSchema: z.ZodObject<{
|
|
484
630
|
price: z.ZodDefault<z.ZodString>;
|
|
631
|
+
createdAt: z.ZodString;
|
|
632
|
+
updatedAt: z.ZodString;
|
|
633
|
+
id: z.ZodString;
|
|
634
|
+
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>;
|
|
635
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
636
|
+
application: "application";
|
|
637
|
+
ecommerce: "ecommerce";
|
|
638
|
+
deliveroo: "deliveroo";
|
|
639
|
+
justeat: "justeat";
|
|
640
|
+
glovo: "glovo";
|
|
641
|
+
}>>>;
|
|
642
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
643
|
+
name: z.ZodArray<z.ZodObject<{
|
|
644
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
645
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
646
|
+
}, z.core.$strip>>;
|
|
647
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
648
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
649
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
650
|
+
}, z.core.$strip>>>;
|
|
651
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
652
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
653
|
+
crustaceans: "crustaceans";
|
|
654
|
+
nuts: "nuts";
|
|
655
|
+
gluten: "gluten";
|
|
656
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
657
|
+
lupins: "lupins";
|
|
658
|
+
molluscs: "molluscs";
|
|
659
|
+
mustard: "mustard";
|
|
660
|
+
fish: "fish";
|
|
661
|
+
celery: "celery";
|
|
662
|
+
sesame: "sesame";
|
|
663
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
664
|
+
soy: "soy";
|
|
665
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
666
|
+
mushrooms: "mushrooms";
|
|
667
|
+
}>>>;
|
|
668
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
669
|
+
vegan: "vegan";
|
|
670
|
+
vegetarian: "vegetarian";
|
|
671
|
+
"gluten-free": "gluten-free";
|
|
672
|
+
"dairy-free": "dairy-free";
|
|
673
|
+
}>>>;
|
|
674
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
675
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
676
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
677
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
678
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
679
|
+
compositions: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>>;
|
|
680
|
+
modifiers: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown>>>>;
|
|
681
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>>;
|
|
682
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
683
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
684
|
+
price: z.ZodDefault<z.ZodString>;
|
|
685
|
+
}, z.core.$strip>>>;
|
|
686
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
687
|
+
id: z.ZodString;
|
|
688
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
689
|
+
contentUrl: z.ZodURL;
|
|
690
|
+
filePath: z.ZodString;
|
|
691
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
692
|
+
createdAt: z.ZodString;
|
|
693
|
+
updatedAt: z.ZodString;
|
|
694
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
695
|
+
id: z.ZodString;
|
|
696
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
697
|
+
contentUrl: z.ZodURL;
|
|
698
|
+
filePath: z.ZodString;
|
|
699
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
700
|
+
createdAt: z.ZodString;
|
|
701
|
+
updatedAt: z.ZodString;
|
|
702
|
+
}, z.core.$strip>>>;
|
|
703
|
+
}, z.core.$strip>>>;
|
|
704
|
+
type: z.ZodLiteral<"BUNDLE">;
|
|
485
705
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
706
|
+
}, z.core.$strip>;
|
|
707
|
+
declare const menuItemDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
708
|
+
price: z.ZodDefault<z.ZodString>;
|
|
486
709
|
createdAt: z.ZodString;
|
|
487
710
|
updatedAt: z.ZodString;
|
|
488
711
|
id: z.ZodString;
|
|
@@ -553,9 +776,9 @@ declare const menuItemDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
553
776
|
}, z.core.$strip>>>;
|
|
554
777
|
}, z.core.$strip>>>;
|
|
555
778
|
type: z.ZodLiteral<"CHOICE">;
|
|
779
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
556
780
|
}, z.core.$strip>, z.ZodObject<{
|
|
557
781
|
price: z.ZodDefault<z.ZodString>;
|
|
558
|
-
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
559
782
|
createdAt: z.ZodString;
|
|
560
783
|
updatedAt: z.ZodString;
|
|
561
784
|
id: z.ZodString;
|
|
@@ -630,9 +853,9 @@ declare const menuItemDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
630
853
|
}, z.core.$strip>>>;
|
|
631
854
|
}, z.core.$strip>>>;
|
|
632
855
|
type: z.ZodLiteral<"ITEM">;
|
|
856
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
633
857
|
}, z.core.$strip>, z.ZodObject<{
|
|
634
858
|
price: z.ZodDefault<z.ZodString>;
|
|
635
|
-
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
636
859
|
createdAt: z.ZodString;
|
|
637
860
|
updatedAt: z.ZodString;
|
|
638
861
|
id: z.ZodString;
|
|
@@ -707,6 +930,7 @@ declare const menuItemDetailsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
707
930
|
}, z.core.$strip>>>;
|
|
708
931
|
}, z.core.$strip>>>;
|
|
709
932
|
type: z.ZodLiteral<"BUNDLE">;
|
|
933
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
710
934
|
}, z.core.$strip>]>;
|
|
711
935
|
type MenuItemDetails = z.infer<typeof menuItemDetailsSchema>;
|
|
712
936
|
declare const writableMenuItemSchema: z.ZodObject<{
|
|
@@ -716,7 +940,6 @@ declare const writableMenuItemSchema: z.ZodObject<{
|
|
|
716
940
|
BUNDLE: "BUNDLE";
|
|
717
941
|
}>;
|
|
718
942
|
price: z.ZodDefault<z.ZodString>;
|
|
719
|
-
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
720
943
|
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>;
|
|
721
944
|
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
722
945
|
application: "application";
|
|
@@ -766,11 +989,11 @@ declare const writableMenuItemSchema: z.ZodObject<{
|
|
|
766
989
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
767
990
|
price: z.ZodDefault<z.ZodString>;
|
|
768
991
|
}, z.core.$strip>>>;
|
|
992
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
769
993
|
images: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>>>;
|
|
770
994
|
}, z.core.$strip>;
|
|
771
995
|
declare const menuItemCategorySchema: z.ZodObject<{
|
|
772
996
|
id: z.ZodString;
|
|
773
|
-
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>>;
|
|
774
997
|
name: z.ZodArray<z.ZodObject<{
|
|
775
998
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
776
999
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -805,7 +1028,6 @@ declare const menuItemCategorySchema: z.ZodObject<{
|
|
|
805
1028
|
type MenuItemCategory = z.infer<typeof menuItemCategorySchema>;
|
|
806
1029
|
declare const menuItemCategoryDetailsSchema: z.ZodObject<{
|
|
807
1030
|
id: z.ZodString;
|
|
808
|
-
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>>;
|
|
809
1031
|
name: z.ZodArray<z.ZodObject<{
|
|
810
1032
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
811
1033
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -836,11 +1058,11 @@ declare const menuItemCategoryDetailsSchema: z.ZodObject<{
|
|
|
836
1058
|
}, z.core.$strip>>>;
|
|
837
1059
|
createdAt: z.ZodString;
|
|
838
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>>;
|
|
839
1062
|
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>>>>;
|
|
840
1063
|
}, z.core.$strip>;
|
|
841
1064
|
type MenuItemCategoryDetails = z.infer<typeof menuItemCategoryDetailsSchema>;
|
|
842
1065
|
declare const writableMenuItemCategorySchema: z.ZodObject<{
|
|
843
|
-
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>>;
|
|
844
1066
|
name: z.ZodArray<z.ZodObject<{
|
|
845
1067
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
846
1068
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -851,6 +1073,7 @@ declare const writableMenuItemCategorySchema: z.ZodObject<{
|
|
|
851
1073
|
}, z.core.$strip>>>;
|
|
852
1074
|
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
853
1075
|
sorting: z.ZodDefault<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>>;
|
|
854
1077
|
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>>>>;
|
|
855
1078
|
}, z.core.$strip>;
|
|
856
1079
|
declare const menuItemModifierSchema: z.ZodObject<{
|
|
@@ -1392,7 +1615,6 @@ declare const menuDtoSchema: z.ZodObject<{
|
|
|
1392
1615
|
type MenuDto = z.infer<typeof menuDtoSchema>;
|
|
1393
1616
|
|
|
1394
1617
|
declare const createMenuItemCategoryInputSchema: z.ZodObject<{
|
|
1395
|
-
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>>>;
|
|
1396
1618
|
name: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
1397
1619
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1398
1620
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -1403,12 +1625,12 @@ declare const createMenuItemCategoryInputSchema: z.ZodObject<{
|
|
|
1403
1625
|
}, z.core.$strip>>>>;
|
|
1404
1626
|
suspended: z.ZodNonOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1405
1627
|
sorting: z.ZodNonOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
1628
|
+
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>>>;
|
|
1406
1629
|
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>>>>>;
|
|
1407
1630
|
}, z.core.$strip>;
|
|
1408
1631
|
type CreateMenuItemCategoryInput = z.input<typeof createMenuItemCategoryInputSchema>;
|
|
1409
1632
|
declare const createMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
1410
1633
|
id: z.ZodString;
|
|
1411
|
-
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>>;
|
|
1412
1634
|
name: z.ZodArray<z.ZodObject<{
|
|
1413
1635
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1414
1636
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -1439,6 +1661,7 @@ declare const createMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
|
1439
1661
|
}, z.core.$strip>>>;
|
|
1440
1662
|
createdAt: z.ZodString;
|
|
1441
1663
|
updatedAt: z.ZodString;
|
|
1664
|
+
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>>;
|
|
1442
1665
|
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>>>>;
|
|
1443
1666
|
}, z.core.$strip>;
|
|
1444
1667
|
type CreateMenuItemCategoryResponse = z.output<typeof createMenuItemCategoryResponseSchema>;
|
|
@@ -1447,7 +1670,6 @@ declare class CreateMenuItemCategory extends AbstractApiRequest<typeof createMen
|
|
|
1447
1670
|
readonly contentType = "application/json";
|
|
1448
1671
|
readonly accept = "application/json";
|
|
1449
1672
|
readonly inputSchema: z.ZodObject<{
|
|
1450
|
-
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>>>;
|
|
1451
1673
|
name: z.ZodNonOptional<z.ZodArray<z.ZodObject<{
|
|
1452
1674
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1453
1675
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -1458,11 +1680,11 @@ declare class CreateMenuItemCategory extends AbstractApiRequest<typeof createMen
|
|
|
1458
1680
|
}, z.core.$strip>>>>;
|
|
1459
1681
|
suspended: z.ZodNonOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
1460
1682
|
sorting: z.ZodNonOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
|
|
1683
|
+
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>>>;
|
|
1461
1684
|
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>>>>>;
|
|
1462
1685
|
}, z.core.$strip>;
|
|
1463
1686
|
readonly outputSchema: z.ZodObject<{
|
|
1464
1687
|
id: z.ZodString;
|
|
1465
|
-
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>>;
|
|
1466
1688
|
name: z.ZodArray<z.ZodObject<{
|
|
1467
1689
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1468
1690
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -1493,6 +1715,7 @@ declare class CreateMenuItemCategory extends AbstractApiRequest<typeof createMen
|
|
|
1493
1715
|
}, z.core.$strip>>>;
|
|
1494
1716
|
createdAt: z.ZodString;
|
|
1495
1717
|
updatedAt: z.ZodString;
|
|
1718
|
+
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>>;
|
|
1496
1719
|
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>>>>;
|
|
1497
1720
|
}, z.core.$strip>;
|
|
1498
1721
|
readonly querySchema: undefined;
|
|
@@ -1538,7 +1761,6 @@ type GetMenuItemCategoriesInput = z.input<typeof getMenuItemCategoriesInputSchem
|
|
|
1538
1761
|
declare const getMenuItemCategoriesResponseSchema: z.ZodObject<{
|
|
1539
1762
|
data: z.ZodArray<z.ZodObject<{
|
|
1540
1763
|
id: z.ZodString;
|
|
1541
|
-
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>>;
|
|
1542
1764
|
name: z.ZodArray<z.ZodObject<{
|
|
1543
1765
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1544
1766
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -1588,7 +1810,6 @@ declare class GetMenuItemCategories extends AbstractApiRequest<typeof getMenuIte
|
|
|
1588
1810
|
readonly outputSchema: z.ZodObject<{
|
|
1589
1811
|
data: z.ZodArray<z.ZodObject<{
|
|
1590
1812
|
id: z.ZodString;
|
|
1591
|
-
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>>;
|
|
1592
1813
|
name: z.ZodArray<z.ZodObject<{
|
|
1593
1814
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1594
1815
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -1675,7 +1896,6 @@ type GetMenuItemCategoriesFromPointOfSaleInput = z.input<typeof getMenuItemCateg
|
|
|
1675
1896
|
declare const getMenuItemCategoriesFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
1676
1897
|
data: z.ZodArray<z.ZodObject<{
|
|
1677
1898
|
id: z.ZodString;
|
|
1678
|
-
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>>;
|
|
1679
1899
|
name: z.ZodArray<z.ZodObject<{
|
|
1680
1900
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1681
1901
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -1725,7 +1945,6 @@ declare class GetMenuItemCategoriesFromPointOfSale extends AbstractApiRequest<ty
|
|
|
1725
1945
|
readonly outputSchema: z.ZodObject<{
|
|
1726
1946
|
data: z.ZodArray<z.ZodObject<{
|
|
1727
1947
|
id: z.ZodString;
|
|
1728
|
-
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>>;
|
|
1729
1948
|
name: z.ZodArray<z.ZodObject<{
|
|
1730
1949
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1731
1950
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -1795,7 +2014,6 @@ declare const getMenuItemCategoryDetailsInputSchema: z.ZodUndefined;
|
|
|
1795
2014
|
type GetMenuItemCategoryDetailsInput = z.infer<typeof getMenuItemCategoryDetailsInputSchema>;
|
|
1796
2015
|
declare const getMenuItemCategoryDetailsResponseSchema: z.ZodObject<{
|
|
1797
2016
|
id: z.ZodString;
|
|
1798
|
-
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>>;
|
|
1799
2017
|
name: z.ZodArray<z.ZodObject<{
|
|
1800
2018
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1801
2019
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -1826,6 +2044,7 @@ declare const getMenuItemCategoryDetailsResponseSchema: z.ZodObject<{
|
|
|
1826
2044
|
}, z.core.$strip>>>;
|
|
1827
2045
|
createdAt: z.ZodString;
|
|
1828
2046
|
updatedAt: z.ZodString;
|
|
2047
|
+
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>>;
|
|
1829
2048
|
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>>>>;
|
|
1830
2049
|
}, z.core.$strip>;
|
|
1831
2050
|
type GetMenuItemCategoryDetailsResponse = z.infer<typeof getMenuItemCategoryDetailsResponseSchema>;
|
|
@@ -1836,7 +2055,6 @@ declare class GetMenuItemCategoryDetails extends AbstractApiRequest<typeof getMe
|
|
|
1836
2055
|
readonly inputSchema: z.ZodUndefined;
|
|
1837
2056
|
readonly outputSchema: z.ZodObject<{
|
|
1838
2057
|
id: z.ZodString;
|
|
1839
|
-
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>>;
|
|
1840
2058
|
name: z.ZodArray<z.ZodObject<{
|
|
1841
2059
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1842
2060
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -1867,6 +2085,7 @@ declare class GetMenuItemCategoryDetails extends AbstractApiRequest<typeof getMe
|
|
|
1867
2085
|
}, z.core.$strip>>>;
|
|
1868
2086
|
createdAt: z.ZodString;
|
|
1869
2087
|
updatedAt: z.ZodString;
|
|
2088
|
+
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>>;
|
|
1870
2089
|
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>>>>;
|
|
1871
2090
|
}, z.core.$strip>;
|
|
1872
2091
|
readonly querySchema: undefined;
|
|
@@ -1892,7 +2111,6 @@ declare const updateMenuItemCategoryInputSchema: z.ZodObject<{
|
|
|
1892
2111
|
type UpdateMenuItemCategoryInput = z.input<typeof updateMenuItemCategoryInputSchema>;
|
|
1893
2112
|
declare const updateMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
1894
2113
|
id: z.ZodString;
|
|
1895
|
-
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>>;
|
|
1896
2114
|
name: z.ZodArray<z.ZodObject<{
|
|
1897
2115
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1898
2116
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -1923,6 +2141,7 @@ declare const updateMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
|
1923
2141
|
}, z.core.$strip>>>;
|
|
1924
2142
|
createdAt: z.ZodString;
|
|
1925
2143
|
updatedAt: z.ZodString;
|
|
2144
|
+
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>>;
|
|
1926
2145
|
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>>>>;
|
|
1927
2146
|
}, z.core.$strip>;
|
|
1928
2147
|
type UpdateMenuItemCategoryResponse = z.infer<typeof updateMenuItemCategoryResponseSchema>;
|
|
@@ -1945,7 +2164,6 @@ declare class UpdateMenuItemCategory extends AbstractApiRequest<typeof updateMen
|
|
|
1945
2164
|
}, z.core.$strip>;
|
|
1946
2165
|
readonly outputSchema: z.ZodObject<{
|
|
1947
2166
|
id: z.ZodString;
|
|
1948
|
-
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>>;
|
|
1949
2167
|
name: z.ZodArray<z.ZodObject<{
|
|
1950
2168
|
locale: z.ZodNonOptional<z.ZodString>;
|
|
1951
2169
|
text: z.ZodNonOptional<z.ZodString>;
|
|
@@ -1976,6 +2194,7 @@ declare class UpdateMenuItemCategory extends AbstractApiRequest<typeof updateMen
|
|
|
1976
2194
|
}, z.core.$strip>>>;
|
|
1977
2195
|
createdAt: z.ZodString;
|
|
1978
2196
|
updatedAt: z.ZodString;
|
|
2197
|
+
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>>;
|
|
1979
2198
|
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>>>>;
|
|
1980
2199
|
}, z.core.$strip>;
|
|
1981
2200
|
readonly querySchema: undefined;
|
|
@@ -2774,7 +2993,6 @@ declare const createMenuItemInputSchema: z.ZodObject<{
|
|
|
2774
2993
|
BUNDLE: "BUNDLE";
|
|
2775
2994
|
}>>;
|
|
2776
2995
|
price: z.ZodNonOptional<z.ZodDefault<z.ZodString>>;
|
|
2777
|
-
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>>>;
|
|
2778
2996
|
category: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>>;
|
|
2779
2997
|
channels: z.ZodNonOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
2780
2998
|
application: "application";
|
|
@@ -2824,12 +3042,12 @@ declare const createMenuItemInputSchema: z.ZodObject<{
|
|
|
2824
3042
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
2825
3043
|
price: z.ZodDefault<z.ZodString>;
|
|
2826
3044
|
}, z.core.$strip>>>>;
|
|
3045
|
+
pointOfSale: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>>;
|
|
2827
3046
|
images: z.ZodNonOptional<z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>>>>;
|
|
2828
3047
|
}, z.core.$strip>;
|
|
2829
3048
|
type CreateMenuItemInput = z.input<typeof createMenuItemInputSchema>;
|
|
2830
3049
|
declare const createMenuItemResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2831
3050
|
price: z.ZodDefault<z.ZodString>;
|
|
2832
|
-
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>>;
|
|
2833
3051
|
createdAt: z.ZodString;
|
|
2834
3052
|
updatedAt: z.ZodString;
|
|
2835
3053
|
id: z.ZodString;
|
|
@@ -2900,9 +3118,9 @@ declare const createMenuItemResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2900
3118
|
}, z.core.$strip>>>;
|
|
2901
3119
|
}, z.core.$strip>>>;
|
|
2902
3120
|
type: z.ZodLiteral<"CHOICE">;
|
|
3121
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2903
3122
|
}, z.core.$strip>, z.ZodObject<{
|
|
2904
3123
|
price: z.ZodDefault<z.ZodString>;
|
|
2905
|
-
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>>;
|
|
2906
3124
|
createdAt: z.ZodString;
|
|
2907
3125
|
updatedAt: z.ZodString;
|
|
2908
3126
|
id: z.ZodString;
|
|
@@ -2977,9 +3195,9 @@ declare const createMenuItemResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
2977
3195
|
}, z.core.$strip>>>;
|
|
2978
3196
|
}, z.core.$strip>>>;
|
|
2979
3197
|
type: z.ZodLiteral<"ITEM">;
|
|
3198
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
2980
3199
|
}, z.core.$strip>, z.ZodObject<{
|
|
2981
3200
|
price: z.ZodDefault<z.ZodString>;
|
|
2982
|
-
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>>;
|
|
2983
3201
|
createdAt: z.ZodString;
|
|
2984
3202
|
updatedAt: z.ZodString;
|
|
2985
3203
|
id: z.ZodString;
|
|
@@ -3054,6 +3272,7 @@ declare const createMenuItemResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
3054
3272
|
}, z.core.$strip>>>;
|
|
3055
3273
|
}, z.core.$strip>>>;
|
|
3056
3274
|
type: z.ZodLiteral<"BUNDLE">;
|
|
3275
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
3057
3276
|
}, z.core.$strip>]>;
|
|
3058
3277
|
type CreateMenuItemResponse = z.output<typeof createMenuItemResponseSchema>;
|
|
3059
3278
|
declare class CreateMenuItem extends AbstractApiRequest<typeof createMenuItemInputSchema, typeof createMenuItemResponseSchema> {
|
|
@@ -3067,7 +3286,6 @@ declare class CreateMenuItem extends AbstractApiRequest<typeof createMenuItemInp
|
|
|
3067
3286
|
BUNDLE: "BUNDLE";
|
|
3068
3287
|
}>>;
|
|
3069
3288
|
price: z.ZodNonOptional<z.ZodDefault<z.ZodString>>;
|
|
3070
|
-
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>>>;
|
|
3071
3289
|
category: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>>;
|
|
3072
3290
|
channels: z.ZodNonOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
3073
3291
|
application: "application";
|
|
@@ -3117,11 +3335,11 @@ declare class CreateMenuItem extends AbstractApiRequest<typeof createMenuItemInp
|
|
|
3117
3335
|
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
3118
3336
|
price: z.ZodDefault<z.ZodString>;
|
|
3119
3337
|
}, z.core.$strip>>>>;
|
|
3338
|
+
pointOfSale: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>>;
|
|
3120
3339
|
images: z.ZodNonOptional<z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/images/:id">, unknown>>>>>;
|
|
3121
3340
|
}, z.core.$strip>;
|
|
3122
3341
|
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3123
3342
|
price: z.ZodDefault<z.ZodString>;
|
|
3124
|
-
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>>;
|
|
3125
3343
|
createdAt: z.ZodString;
|
|
3126
3344
|
updatedAt: z.ZodString;
|
|
3127
3345
|
id: z.ZodString;
|
|
@@ -3192,9 +3410,9 @@ declare class CreateMenuItem extends AbstractApiRequest<typeof createMenuItemInp
|
|
|
3192
3410
|
}, z.core.$strip>>>;
|
|
3193
3411
|
}, z.core.$strip>>>;
|
|
3194
3412
|
type: z.ZodLiteral<"CHOICE">;
|
|
3413
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
3195
3414
|
}, z.core.$strip>, z.ZodObject<{
|
|
3196
3415
|
price: z.ZodDefault<z.ZodString>;
|
|
3197
|
-
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>>;
|
|
3198
3416
|
createdAt: z.ZodString;
|
|
3199
3417
|
updatedAt: z.ZodString;
|
|
3200
3418
|
id: z.ZodString;
|
|
@@ -3269,9 +3487,9 @@ declare class CreateMenuItem extends AbstractApiRequest<typeof createMenuItemInp
|
|
|
3269
3487
|
}, z.core.$strip>>>;
|
|
3270
3488
|
}, z.core.$strip>>>;
|
|
3271
3489
|
type: z.ZodLiteral<"ITEM">;
|
|
3490
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
3272
3491
|
}, z.core.$strip>, z.ZodObject<{
|
|
3273
3492
|
price: z.ZodDefault<z.ZodString>;
|
|
3274
|
-
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>>;
|
|
3275
3493
|
createdAt: z.ZodString;
|
|
3276
3494
|
updatedAt: z.ZodString;
|
|
3277
3495
|
id: z.ZodString;
|
|
@@ -3346,6 +3564,7 @@ declare class CreateMenuItem extends AbstractApiRequest<typeof createMenuItemInp
|
|
|
3346
3564
|
}, z.core.$strip>>>;
|
|
3347
3565
|
}, z.core.$strip>>>;
|
|
3348
3566
|
type: z.ZodLiteral<"BUNDLE">;
|
|
3567
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
3349
3568
|
}, z.core.$strip>]>;
|
|
3350
3569
|
readonly querySchema: undefined;
|
|
3351
3570
|
readonly headersSchema: undefined;
|
|
@@ -3372,7 +3591,6 @@ declare const getMenuItemDetailsInputSchema: z.ZodUndefined;
|
|
|
3372
3591
|
type GetMenuItemDetailsInput = z.infer<typeof getMenuItemDetailsInputSchema>;
|
|
3373
3592
|
declare const getMenuItemDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3374
3593
|
price: z.ZodDefault<z.ZodString>;
|
|
3375
|
-
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>>;
|
|
3376
3594
|
createdAt: z.ZodString;
|
|
3377
3595
|
updatedAt: z.ZodString;
|
|
3378
3596
|
id: z.ZodString;
|
|
@@ -3443,9 +3661,9 @@ declare const getMenuItemDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
3443
3661
|
}, z.core.$strip>>>;
|
|
3444
3662
|
}, z.core.$strip>>>;
|
|
3445
3663
|
type: z.ZodLiteral<"CHOICE">;
|
|
3664
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
3446
3665
|
}, z.core.$strip>, z.ZodObject<{
|
|
3447
3666
|
price: z.ZodDefault<z.ZodString>;
|
|
3448
|
-
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>>;
|
|
3449
3667
|
createdAt: z.ZodString;
|
|
3450
3668
|
updatedAt: z.ZodString;
|
|
3451
3669
|
id: z.ZodString;
|
|
@@ -3520,9 +3738,9 @@ declare const getMenuItemDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
3520
3738
|
}, z.core.$strip>>>;
|
|
3521
3739
|
}, z.core.$strip>>>;
|
|
3522
3740
|
type: z.ZodLiteral<"ITEM">;
|
|
3741
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
3523
3742
|
}, z.core.$strip>, z.ZodObject<{
|
|
3524
3743
|
price: z.ZodDefault<z.ZodString>;
|
|
3525
|
-
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>>;
|
|
3526
3744
|
createdAt: z.ZodString;
|
|
3527
3745
|
updatedAt: z.ZodString;
|
|
3528
3746
|
id: z.ZodString;
|
|
@@ -3597,6 +3815,7 @@ declare const getMenuItemDetailsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
3597
3815
|
}, z.core.$strip>>>;
|
|
3598
3816
|
}, z.core.$strip>>>;
|
|
3599
3817
|
type: z.ZodLiteral<"BUNDLE">;
|
|
3818
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
3600
3819
|
}, z.core.$strip>]>;
|
|
3601
3820
|
type GetMenuItemDetailsResponse = z.infer<typeof getMenuItemDetailsResponseSchema>;
|
|
3602
3821
|
declare class GetMenuItemDetails extends AbstractApiRequest<typeof getMenuItemDetailsInputSchema, typeof getMenuItemDetailsResponseSchema> {
|
|
@@ -3606,7 +3825,6 @@ declare class GetMenuItemDetails extends AbstractApiRequest<typeof getMenuItemDe
|
|
|
3606
3825
|
readonly inputSchema: z.ZodUndefined;
|
|
3607
3826
|
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3608
3827
|
price: z.ZodDefault<z.ZodString>;
|
|
3609
|
-
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>>;
|
|
3610
3828
|
createdAt: z.ZodString;
|
|
3611
3829
|
updatedAt: z.ZodString;
|
|
3612
3830
|
id: z.ZodString;
|
|
@@ -3677,9 +3895,9 @@ declare class GetMenuItemDetails extends AbstractApiRequest<typeof getMenuItemDe
|
|
|
3677
3895
|
}, z.core.$strip>>>;
|
|
3678
3896
|
}, z.core.$strip>>>;
|
|
3679
3897
|
type: z.ZodLiteral<"CHOICE">;
|
|
3898
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
3680
3899
|
}, z.core.$strip>, z.ZodObject<{
|
|
3681
3900
|
price: z.ZodDefault<z.ZodString>;
|
|
3682
|
-
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>>;
|
|
3683
3901
|
createdAt: z.ZodString;
|
|
3684
3902
|
updatedAt: z.ZodString;
|
|
3685
3903
|
id: z.ZodString;
|
|
@@ -3754,9 +3972,9 @@ declare class GetMenuItemDetails extends AbstractApiRequest<typeof getMenuItemDe
|
|
|
3754
3972
|
}, z.core.$strip>>>;
|
|
3755
3973
|
}, z.core.$strip>>>;
|
|
3756
3974
|
type: z.ZodLiteral<"ITEM">;
|
|
3975
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
3757
3976
|
}, z.core.$strip>, z.ZodObject<{
|
|
3758
3977
|
price: z.ZodDefault<z.ZodString>;
|
|
3759
|
-
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>>;
|
|
3760
3978
|
createdAt: z.ZodString;
|
|
3761
3979
|
updatedAt: z.ZodString;
|
|
3762
3980
|
id: z.ZodString;
|
|
@@ -3831,6 +4049,7 @@ declare class GetMenuItemDetails extends AbstractApiRequest<typeof getMenuItemDe
|
|
|
3831
4049
|
}, z.core.$strip>>>;
|
|
3832
4050
|
}, z.core.$strip>>>;
|
|
3833
4051
|
type: z.ZodLiteral<"BUNDLE">;
|
|
4052
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
3834
4053
|
}, z.core.$strip>]>;
|
|
3835
4054
|
readonly querySchema: undefined;
|
|
3836
4055
|
readonly headersSchema: undefined;
|
|
@@ -3895,7 +4114,6 @@ type GetMenuItemsInput = z.input<typeof getMenuItemsInputSchema>;
|
|
|
3895
4114
|
declare const getMenuItemsResponseSchema: z.ZodObject<{
|
|
3896
4115
|
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3897
4116
|
price: z.ZodDefault<z.ZodString>;
|
|
3898
|
-
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
3899
4117
|
createdAt: z.ZodString;
|
|
3900
4118
|
updatedAt: z.ZodString;
|
|
3901
4119
|
id: z.ZodString;
|
|
@@ -3968,7 +4186,6 @@ declare const getMenuItemsResponseSchema: z.ZodObject<{
|
|
|
3968
4186
|
type: z.ZodLiteral<"CHOICE">;
|
|
3969
4187
|
}, z.core.$strip>, z.ZodObject<{
|
|
3970
4188
|
price: z.ZodDefault<z.ZodString>;
|
|
3971
|
-
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>>;
|
|
3972
4189
|
createdAt: z.ZodString;
|
|
3973
4190
|
updatedAt: z.ZodString;
|
|
3974
4191
|
id: z.ZodString;
|
|
@@ -4045,7 +4262,6 @@ declare const getMenuItemsResponseSchema: z.ZodObject<{
|
|
|
4045
4262
|
type: z.ZodLiteral<"ITEM">;
|
|
4046
4263
|
}, z.core.$strip>, z.ZodObject<{
|
|
4047
4264
|
price: z.ZodDefault<z.ZodString>;
|
|
4048
|
-
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>>;
|
|
4049
4265
|
createdAt: z.ZodString;
|
|
4050
4266
|
updatedAt: z.ZodString;
|
|
4051
4267
|
id: z.ZodString;
|
|
@@ -4139,7 +4355,6 @@ declare class GetMenuItems extends AbstractApiRequest<typeof getMenuItemsInputSc
|
|
|
4139
4355
|
readonly outputSchema: z.ZodObject<{
|
|
4140
4356
|
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4141
4357
|
price: z.ZodDefault<z.ZodString>;
|
|
4142
|
-
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>>;
|
|
4143
4358
|
createdAt: z.ZodString;
|
|
4144
4359
|
updatedAt: z.ZodString;
|
|
4145
4360
|
id: z.ZodString;
|
|
@@ -4212,7 +4427,6 @@ declare class GetMenuItems extends AbstractApiRequest<typeof getMenuItemsInputSc
|
|
|
4212
4427
|
type: z.ZodLiteral<"CHOICE">;
|
|
4213
4428
|
}, z.core.$strip>, z.ZodObject<{
|
|
4214
4429
|
price: z.ZodDefault<z.ZodString>;
|
|
4215
|
-
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>>;
|
|
4216
4430
|
createdAt: z.ZodString;
|
|
4217
4431
|
updatedAt: z.ZodString;
|
|
4218
4432
|
id: z.ZodString;
|
|
@@ -4289,7 +4503,6 @@ declare class GetMenuItems extends AbstractApiRequest<typeof getMenuItemsInputSc
|
|
|
4289
4503
|
type: z.ZodLiteral<"ITEM">;
|
|
4290
4504
|
}, z.core.$strip>, z.ZodObject<{
|
|
4291
4505
|
price: z.ZodDefault<z.ZodString>;
|
|
4292
|
-
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>>;
|
|
4293
4506
|
createdAt: z.ZodString;
|
|
4294
4507
|
updatedAt: z.ZodString;
|
|
4295
4508
|
id: z.ZodString;
|
|
@@ -4432,128 +4645,114 @@ declare class GetMenuItems extends AbstractApiRequest<typeof getMenuItemsInputSc
|
|
|
4432
4645
|
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuItem>;
|
|
4433
4646
|
}
|
|
4434
4647
|
|
|
4435
|
-
declare const
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
price: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
4442
|
-
category: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>>;
|
|
4443
|
-
channels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4648
|
+
declare const getMenuItemsFromMenuItemCategoryQuerySchema: z.ZodObject<{
|
|
4649
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4650
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4651
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4652
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4653
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4444
4654
|
application: "application";
|
|
4445
4655
|
ecommerce: "ecommerce";
|
|
4446
4656
|
deliveroo: "deliveroo";
|
|
4447
4657
|
justeat: "justeat";
|
|
4448
4658
|
glovo: "glovo";
|
|
4449
|
-
}
|
|
4450
|
-
tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
4451
|
-
name: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4452
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
4453
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
4454
|
-
}, z.core.$strip>>>;
|
|
4455
|
-
description: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4456
|
-
locale: z.ZodNonOptional<z.ZodString>;
|
|
4457
|
-
text: z.ZodNonOptional<z.ZodString>;
|
|
4458
|
-
}, z.core.$strip>>>>;
|
|
4459
|
-
allergens: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4460
|
-
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
4461
|
-
crustaceans: "crustaceans";
|
|
4462
|
-
nuts: "nuts";
|
|
4463
|
-
gluten: "gluten";
|
|
4464
|
-
"milk-and-derivatives": "milk-and-derivatives";
|
|
4465
|
-
lupins: "lupins";
|
|
4466
|
-
molluscs: "molluscs";
|
|
4467
|
-
mustard: "mustard";
|
|
4468
|
-
fish: "fish";
|
|
4469
|
-
celery: "celery";
|
|
4470
|
-
sesame: "sesame";
|
|
4471
|
-
"sulfur-dioxide": "sulfur-dioxide";
|
|
4472
|
-
soy: "soy";
|
|
4473
|
-
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
4474
|
-
mushrooms: "mushrooms";
|
|
4475
|
-
}>>>>;
|
|
4476
|
-
diets: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4477
|
-
vegan: "vegan";
|
|
4478
|
-
vegetarian: "vegetarian";
|
|
4479
|
-
"gluten-free": "gluten-free";
|
|
4480
|
-
"dairy-free": "dairy-free";
|
|
4481
|
-
}>>>>;
|
|
4482
|
-
taxRate: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4483
|
-
containsAlcohol: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
4484
|
-
countable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
4485
|
-
suspended: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
4486
|
-
compositions: z.ZodOptional<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>>>>>;
|
|
4487
|
-
salesPrices: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4488
|
-
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>>;
|
|
4489
|
-
price: z.ZodDefault<z.ZodString>;
|
|
4490
|
-
}, z.core.$strip>>>>;
|
|
4491
|
-
images: z.ZodOptional<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>>>>>;
|
|
4492
|
-
}, z.core.$strip>;
|
|
4493
|
-
type UpdateMenuItemInput = z.input<typeof updateMenuItemInputSchema>;
|
|
4494
|
-
declare const updateMenuItemResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4495
|
-
price: z.ZodDefault<z.ZodString>;
|
|
4496
|
-
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>>;
|
|
4497
|
-
createdAt: z.ZodString;
|
|
4498
|
-
updatedAt: z.ZodString;
|
|
4499
|
-
id: z.ZodString;
|
|
4500
|
-
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4659
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
4501
4660
|
application: "application";
|
|
4502
4661
|
ecommerce: "ecommerce";
|
|
4503
4662
|
deliveroo: "deliveroo";
|
|
4504
4663
|
justeat: "justeat";
|
|
4505
4664
|
glovo: "glovo";
|
|
4506
|
-
}
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
}
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
}
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4545
|
-
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>>;
|
|
4665
|
+
}>>]>>;
|
|
4666
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4667
|
+
ITEM: "ITEM";
|
|
4668
|
+
CHOICE: "CHOICE";
|
|
4669
|
+
BUNDLE: "BUNDLE";
|
|
4670
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
4671
|
+
ITEM: "ITEM";
|
|
4672
|
+
CHOICE: "CHOICE";
|
|
4673
|
+
BUNDLE: "BUNDLE";
|
|
4674
|
+
}>>]>>;
|
|
4675
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4676
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4677
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4678
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4679
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4680
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
4681
|
+
asc: "asc";
|
|
4682
|
+
desc: "desc";
|
|
4683
|
+
}>>;
|
|
4684
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
4685
|
+
asc: "asc";
|
|
4686
|
+
desc: "desc";
|
|
4687
|
+
}>>;
|
|
4688
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4689
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
4690
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4691
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
4692
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4693
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
4694
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4695
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
4696
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4697
|
+
}, z.core.$strip>;
|
|
4698
|
+
type GetMenuItemsFromMenuItemCategoryQueryParams = z.infer<typeof getMenuItemsFromMenuItemCategoryQuerySchema>;
|
|
4699
|
+
declare const getMenuItemsFromMenuItemCategoryInputSchema: z.ZodUndefined;
|
|
4700
|
+
type GetMenuItemsFromMenuItemCategoryInput = z.input<typeof getMenuItemsFromMenuItemCategoryInputSchema>;
|
|
4701
|
+
declare const getMenuItemsFromMenuItemCategoryResponseSchema: z.ZodObject<{
|
|
4702
|
+
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4546
4703
|
price: z.ZodDefault<z.ZodString>;
|
|
4547
|
-
}, z.core.$strip>>>;
|
|
4548
|
-
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4549
|
-
id: z.ZodString;
|
|
4550
|
-
variant: z.ZodNullable<z.ZodString>;
|
|
4551
|
-
contentUrl: z.ZodURL;
|
|
4552
|
-
filePath: z.ZodString;
|
|
4553
|
-
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4554
4704
|
createdAt: z.ZodString;
|
|
4555
4705
|
updatedAt: z.ZodString;
|
|
4556
|
-
|
|
4706
|
+
id: z.ZodString;
|
|
4707
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4708
|
+
application: "application";
|
|
4709
|
+
ecommerce: "ecommerce";
|
|
4710
|
+
deliveroo: "deliveroo";
|
|
4711
|
+
justeat: "justeat";
|
|
4712
|
+
glovo: "glovo";
|
|
4713
|
+
}>>>;
|
|
4714
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4715
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4716
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4717
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4718
|
+
}, z.core.$strip>>;
|
|
4719
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4720
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4721
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4722
|
+
}, z.core.$strip>>>;
|
|
4723
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4724
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
4725
|
+
crustaceans: "crustaceans";
|
|
4726
|
+
nuts: "nuts";
|
|
4727
|
+
gluten: "gluten";
|
|
4728
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
4729
|
+
lupins: "lupins";
|
|
4730
|
+
molluscs: "molluscs";
|
|
4731
|
+
mustard: "mustard";
|
|
4732
|
+
fish: "fish";
|
|
4733
|
+
celery: "celery";
|
|
4734
|
+
sesame: "sesame";
|
|
4735
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
4736
|
+
soy: "soy";
|
|
4737
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
4738
|
+
mushrooms: "mushrooms";
|
|
4739
|
+
}>>>;
|
|
4740
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4741
|
+
vegan: "vegan";
|
|
4742
|
+
vegetarian: "vegetarian";
|
|
4743
|
+
"gluten-free": "gluten-free";
|
|
4744
|
+
"dairy-free": "dairy-free";
|
|
4745
|
+
}>>>;
|
|
4746
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
4747
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
4748
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
4749
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
4750
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
4751
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4752
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
4753
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4754
|
+
}, z.core.$strip>>>;
|
|
4755
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4557
4756
|
id: z.ZodString;
|
|
4558
4757
|
variant: z.ZodNullable<z.ZodString>;
|
|
4559
4758
|
contentUrl: z.ZodURL;
|
|
@@ -4561,12 +4760,1201 @@ declare const updateMenuItemResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
4561
4760
|
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4562
4761
|
createdAt: z.ZodString;
|
|
4563
4762
|
updatedAt: z.ZodString;
|
|
4763
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4764
|
+
id: z.ZodString;
|
|
4765
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4766
|
+
contentUrl: z.ZodURL;
|
|
4767
|
+
filePath: z.ZodString;
|
|
4768
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4769
|
+
createdAt: z.ZodString;
|
|
4770
|
+
updatedAt: z.ZodString;
|
|
4771
|
+
}, z.core.$strip>>>;
|
|
4564
4772
|
}, z.core.$strip>>>;
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4773
|
+
type: z.ZodLiteral<"CHOICE">;
|
|
4774
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4775
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4776
|
+
createdAt: z.ZodString;
|
|
4777
|
+
updatedAt: z.ZodString;
|
|
4778
|
+
id: z.ZodString;
|
|
4779
|
+
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>;
|
|
4780
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4781
|
+
application: "application";
|
|
4782
|
+
ecommerce: "ecommerce";
|
|
4783
|
+
deliveroo: "deliveroo";
|
|
4784
|
+
justeat: "justeat";
|
|
4785
|
+
glovo: "glovo";
|
|
4786
|
+
}>>>;
|
|
4787
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4788
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4789
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4790
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4791
|
+
}, z.core.$strip>>;
|
|
4792
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4793
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4794
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4795
|
+
}, z.core.$strip>>>;
|
|
4796
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4797
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
4798
|
+
crustaceans: "crustaceans";
|
|
4799
|
+
nuts: "nuts";
|
|
4800
|
+
gluten: "gluten";
|
|
4801
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
4802
|
+
lupins: "lupins";
|
|
4803
|
+
molluscs: "molluscs";
|
|
4804
|
+
mustard: "mustard";
|
|
4805
|
+
fish: "fish";
|
|
4806
|
+
celery: "celery";
|
|
4807
|
+
sesame: "sesame";
|
|
4808
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
4809
|
+
soy: "soy";
|
|
4810
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
4811
|
+
mushrooms: "mushrooms";
|
|
4812
|
+
}>>>;
|
|
4813
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4814
|
+
vegan: "vegan";
|
|
4815
|
+
vegetarian: "vegetarian";
|
|
4816
|
+
"gluten-free": "gluten-free";
|
|
4817
|
+
"dairy-free": "dairy-free";
|
|
4818
|
+
}>>>;
|
|
4819
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
4820
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
4821
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
4822
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
4823
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
4824
|
+
compositions: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>>;
|
|
4825
|
+
modifiers: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown>>>>;
|
|
4826
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>>;
|
|
4827
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4828
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
4829
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4830
|
+
}, z.core.$strip>>>;
|
|
4831
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4832
|
+
id: z.ZodString;
|
|
4833
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4834
|
+
contentUrl: z.ZodURL;
|
|
4835
|
+
filePath: z.ZodString;
|
|
4836
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4837
|
+
createdAt: z.ZodString;
|
|
4838
|
+
updatedAt: z.ZodString;
|
|
4839
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4840
|
+
id: z.ZodString;
|
|
4841
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4842
|
+
contentUrl: z.ZodURL;
|
|
4843
|
+
filePath: z.ZodString;
|
|
4844
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4845
|
+
createdAt: z.ZodString;
|
|
4846
|
+
updatedAt: z.ZodString;
|
|
4847
|
+
}, z.core.$strip>>>;
|
|
4848
|
+
}, z.core.$strip>>>;
|
|
4849
|
+
type: z.ZodLiteral<"ITEM">;
|
|
4850
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4851
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4852
|
+
createdAt: z.ZodString;
|
|
4853
|
+
updatedAt: z.ZodString;
|
|
4854
|
+
id: z.ZodString;
|
|
4855
|
+
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>;
|
|
4856
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4857
|
+
application: "application";
|
|
4858
|
+
ecommerce: "ecommerce";
|
|
4859
|
+
deliveroo: "deliveroo";
|
|
4860
|
+
justeat: "justeat";
|
|
4861
|
+
glovo: "glovo";
|
|
4862
|
+
}>>>;
|
|
4863
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4864
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4865
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4866
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4867
|
+
}, z.core.$strip>>;
|
|
4868
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4869
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4870
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4871
|
+
}, z.core.$strip>>>;
|
|
4872
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4873
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
4874
|
+
crustaceans: "crustaceans";
|
|
4875
|
+
nuts: "nuts";
|
|
4876
|
+
gluten: "gluten";
|
|
4877
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
4878
|
+
lupins: "lupins";
|
|
4879
|
+
molluscs: "molluscs";
|
|
4880
|
+
mustard: "mustard";
|
|
4881
|
+
fish: "fish";
|
|
4882
|
+
celery: "celery";
|
|
4883
|
+
sesame: "sesame";
|
|
4884
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
4885
|
+
soy: "soy";
|
|
4886
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
4887
|
+
mushrooms: "mushrooms";
|
|
4888
|
+
}>>>;
|
|
4889
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4890
|
+
vegan: "vegan";
|
|
4891
|
+
vegetarian: "vegetarian";
|
|
4892
|
+
"gluten-free": "gluten-free";
|
|
4893
|
+
"dairy-free": "dairy-free";
|
|
4894
|
+
}>>>;
|
|
4895
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
4896
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
4897
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
4898
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
4899
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
4900
|
+
compositions: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>>;
|
|
4901
|
+
modifiers: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown>>>>;
|
|
4902
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>>;
|
|
4903
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4904
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
4905
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4906
|
+
}, z.core.$strip>>>;
|
|
4907
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4908
|
+
id: z.ZodString;
|
|
4909
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4910
|
+
contentUrl: z.ZodURL;
|
|
4911
|
+
filePath: z.ZodString;
|
|
4912
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4913
|
+
createdAt: z.ZodString;
|
|
4914
|
+
updatedAt: z.ZodString;
|
|
4915
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4916
|
+
id: z.ZodString;
|
|
4917
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4918
|
+
contentUrl: z.ZodURL;
|
|
4919
|
+
filePath: z.ZodString;
|
|
4920
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4921
|
+
createdAt: z.ZodString;
|
|
4922
|
+
updatedAt: z.ZodString;
|
|
4923
|
+
}, z.core.$strip>>>;
|
|
4924
|
+
}, z.core.$strip>>>;
|
|
4925
|
+
type: z.ZodLiteral<"BUNDLE">;
|
|
4926
|
+
}, z.core.$strip>]>>;
|
|
4927
|
+
pagination: z.ZodObject<{
|
|
4928
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
4929
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
4930
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
4931
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
4932
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
4933
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
4934
|
+
}, z.core.$strip>;
|
|
4935
|
+
}, z.core.$strip>;
|
|
4936
|
+
type GetMenuItemsFromMenuItemCategoryResponse = z.infer<typeof getMenuItemsFromMenuItemCategoryResponseSchema>;
|
|
4937
|
+
declare class GetMenuItemsFromMenuItemCategory extends AbstractApiRequest<typeof getMenuItemsFromMenuItemCategoryInputSchema, typeof getMenuItemsFromMenuItemCategoryResponseSchema, GetMenuItemsFromMenuItemCategoryQueryParams> {
|
|
4938
|
+
readonly method = "GET";
|
|
4939
|
+
readonly contentType = "application/json";
|
|
4940
|
+
readonly accept = "application/json";
|
|
4941
|
+
readonly inputSchema: z.ZodUndefined;
|
|
4942
|
+
readonly outputSchema: z.ZodObject<{
|
|
4943
|
+
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4944
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4945
|
+
createdAt: z.ZodString;
|
|
4946
|
+
updatedAt: z.ZodString;
|
|
4947
|
+
id: z.ZodString;
|
|
4948
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4949
|
+
application: "application";
|
|
4950
|
+
ecommerce: "ecommerce";
|
|
4951
|
+
deliveroo: "deliveroo";
|
|
4952
|
+
justeat: "justeat";
|
|
4953
|
+
glovo: "glovo";
|
|
4954
|
+
}>>>;
|
|
4955
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
4956
|
+
name: z.ZodArray<z.ZodObject<{
|
|
4957
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4958
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4959
|
+
}, z.core.$strip>>;
|
|
4960
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4961
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
4962
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
4963
|
+
}, z.core.$strip>>>;
|
|
4964
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4965
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
4966
|
+
crustaceans: "crustaceans";
|
|
4967
|
+
nuts: "nuts";
|
|
4968
|
+
gluten: "gluten";
|
|
4969
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
4970
|
+
lupins: "lupins";
|
|
4971
|
+
molluscs: "molluscs";
|
|
4972
|
+
mustard: "mustard";
|
|
4973
|
+
fish: "fish";
|
|
4974
|
+
celery: "celery";
|
|
4975
|
+
sesame: "sesame";
|
|
4976
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
4977
|
+
soy: "soy";
|
|
4978
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
4979
|
+
mushrooms: "mushrooms";
|
|
4980
|
+
}>>>;
|
|
4981
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
4982
|
+
vegan: "vegan";
|
|
4983
|
+
vegetarian: "vegetarian";
|
|
4984
|
+
"gluten-free": "gluten-free";
|
|
4985
|
+
"dairy-free": "dairy-free";
|
|
4986
|
+
}>>>;
|
|
4987
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
4988
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
4989
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
4990
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
4991
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
4992
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4993
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
4994
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4995
|
+
}, z.core.$strip>>>;
|
|
4996
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4997
|
+
id: z.ZodString;
|
|
4998
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
4999
|
+
contentUrl: z.ZodURL;
|
|
5000
|
+
filePath: z.ZodString;
|
|
5001
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5002
|
+
createdAt: z.ZodString;
|
|
5003
|
+
updatedAt: z.ZodString;
|
|
5004
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5005
|
+
id: z.ZodString;
|
|
5006
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5007
|
+
contentUrl: z.ZodURL;
|
|
5008
|
+
filePath: z.ZodString;
|
|
5009
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5010
|
+
createdAt: z.ZodString;
|
|
5011
|
+
updatedAt: z.ZodString;
|
|
5012
|
+
}, z.core.$strip>>>;
|
|
5013
|
+
}, z.core.$strip>>>;
|
|
5014
|
+
type: z.ZodLiteral<"CHOICE">;
|
|
5015
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5016
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5017
|
+
createdAt: z.ZodString;
|
|
5018
|
+
updatedAt: z.ZodString;
|
|
5019
|
+
id: z.ZodString;
|
|
5020
|
+
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>;
|
|
5021
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5022
|
+
application: "application";
|
|
5023
|
+
ecommerce: "ecommerce";
|
|
5024
|
+
deliveroo: "deliveroo";
|
|
5025
|
+
justeat: "justeat";
|
|
5026
|
+
glovo: "glovo";
|
|
5027
|
+
}>>>;
|
|
5028
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5029
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5030
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5031
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5032
|
+
}, z.core.$strip>>;
|
|
5033
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5034
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5035
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5036
|
+
}, z.core.$strip>>>;
|
|
5037
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5038
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5039
|
+
crustaceans: "crustaceans";
|
|
5040
|
+
nuts: "nuts";
|
|
5041
|
+
gluten: "gluten";
|
|
5042
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5043
|
+
lupins: "lupins";
|
|
5044
|
+
molluscs: "molluscs";
|
|
5045
|
+
mustard: "mustard";
|
|
5046
|
+
fish: "fish";
|
|
5047
|
+
celery: "celery";
|
|
5048
|
+
sesame: "sesame";
|
|
5049
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5050
|
+
soy: "soy";
|
|
5051
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5052
|
+
mushrooms: "mushrooms";
|
|
5053
|
+
}>>>;
|
|
5054
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5055
|
+
vegan: "vegan";
|
|
5056
|
+
vegetarian: "vegetarian";
|
|
5057
|
+
"gluten-free": "gluten-free";
|
|
5058
|
+
"dairy-free": "dairy-free";
|
|
5059
|
+
}>>>;
|
|
5060
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5061
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5062
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5063
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5064
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5065
|
+
compositions: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>>;
|
|
5066
|
+
modifiers: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown>>>>;
|
|
5067
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>>;
|
|
5068
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5069
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
5070
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5071
|
+
}, z.core.$strip>>>;
|
|
5072
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5073
|
+
id: z.ZodString;
|
|
5074
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5075
|
+
contentUrl: z.ZodURL;
|
|
5076
|
+
filePath: z.ZodString;
|
|
5077
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5078
|
+
createdAt: z.ZodString;
|
|
5079
|
+
updatedAt: z.ZodString;
|
|
5080
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5081
|
+
id: z.ZodString;
|
|
5082
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5083
|
+
contentUrl: z.ZodURL;
|
|
5084
|
+
filePath: z.ZodString;
|
|
5085
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5086
|
+
createdAt: z.ZodString;
|
|
5087
|
+
updatedAt: z.ZodString;
|
|
5088
|
+
}, z.core.$strip>>>;
|
|
5089
|
+
}, z.core.$strip>>>;
|
|
5090
|
+
type: z.ZodLiteral<"ITEM">;
|
|
5091
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5092
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5093
|
+
createdAt: z.ZodString;
|
|
5094
|
+
updatedAt: z.ZodString;
|
|
5095
|
+
id: z.ZodString;
|
|
5096
|
+
category: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>;
|
|
5097
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5098
|
+
application: "application";
|
|
5099
|
+
ecommerce: "ecommerce";
|
|
5100
|
+
deliveroo: "deliveroo";
|
|
5101
|
+
justeat: "justeat";
|
|
5102
|
+
glovo: "glovo";
|
|
5103
|
+
}>>>;
|
|
5104
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5105
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5106
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5107
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5108
|
+
}, z.core.$strip>>;
|
|
5109
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5110
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5111
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5112
|
+
}, z.core.$strip>>>;
|
|
5113
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5114
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5115
|
+
crustaceans: "crustaceans";
|
|
5116
|
+
nuts: "nuts";
|
|
5117
|
+
gluten: "gluten";
|
|
5118
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5119
|
+
lupins: "lupins";
|
|
5120
|
+
molluscs: "molluscs";
|
|
5121
|
+
mustard: "mustard";
|
|
5122
|
+
fish: "fish";
|
|
5123
|
+
celery: "celery";
|
|
5124
|
+
sesame: "sesame";
|
|
5125
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5126
|
+
soy: "soy";
|
|
5127
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5128
|
+
mushrooms: "mushrooms";
|
|
5129
|
+
}>>>;
|
|
5130
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5131
|
+
vegan: "vegan";
|
|
5132
|
+
vegetarian: "vegetarian";
|
|
5133
|
+
"gluten-free": "gluten-free";
|
|
5134
|
+
"dairy-free": "dairy-free";
|
|
5135
|
+
}>>>;
|
|
5136
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5137
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5138
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5139
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5140
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5141
|
+
compositions: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_items/:id">, unknown>>>>;
|
|
5142
|
+
modifiers: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_modifiers/:id">, unknown>>>>;
|
|
5143
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/:id">, unknown>>>>;
|
|
5144
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5145
|
+
salesMode: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/sales_modes/:id">, unknown>>;
|
|
5146
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5147
|
+
}, z.core.$strip>>>;
|
|
5148
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5149
|
+
id: z.ZodString;
|
|
5150
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5151
|
+
contentUrl: z.ZodURL;
|
|
5152
|
+
filePath: z.ZodString;
|
|
5153
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5154
|
+
createdAt: z.ZodString;
|
|
5155
|
+
updatedAt: z.ZodString;
|
|
5156
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5157
|
+
id: z.ZodString;
|
|
5158
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5159
|
+
contentUrl: z.ZodURL;
|
|
5160
|
+
filePath: z.ZodString;
|
|
5161
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5162
|
+
createdAt: z.ZodString;
|
|
5163
|
+
updatedAt: z.ZodString;
|
|
5164
|
+
}, z.core.$strip>>>;
|
|
5165
|
+
}, z.core.$strip>>>;
|
|
5166
|
+
type: z.ZodLiteral<"BUNDLE">;
|
|
5167
|
+
}, z.core.$strip>]>>;
|
|
5168
|
+
pagination: z.ZodObject<{
|
|
5169
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
5170
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
5171
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
5172
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
5173
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
5174
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
5175
|
+
}, z.core.$strip>;
|
|
5176
|
+
}, z.core.$strip>;
|
|
5177
|
+
readonly querySchema: z.ZodObject<{
|
|
5178
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5179
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5180
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5181
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5182
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5183
|
+
application: "application";
|
|
5184
|
+
ecommerce: "ecommerce";
|
|
5185
|
+
deliveroo: "deliveroo";
|
|
5186
|
+
justeat: "justeat";
|
|
5187
|
+
glovo: "glovo";
|
|
5188
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
5189
|
+
application: "application";
|
|
5190
|
+
ecommerce: "ecommerce";
|
|
5191
|
+
deliveroo: "deliveroo";
|
|
5192
|
+
justeat: "justeat";
|
|
5193
|
+
glovo: "glovo";
|
|
5194
|
+
}>>]>>;
|
|
5195
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5196
|
+
ITEM: "ITEM";
|
|
5197
|
+
CHOICE: "CHOICE";
|
|
5198
|
+
BUNDLE: "BUNDLE";
|
|
5199
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
5200
|
+
ITEM: "ITEM";
|
|
5201
|
+
CHOICE: "CHOICE";
|
|
5202
|
+
BUNDLE: "BUNDLE";
|
|
5203
|
+
}>>]>>;
|
|
5204
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5205
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5206
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5207
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5208
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5209
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
5210
|
+
asc: "asc";
|
|
5211
|
+
desc: "desc";
|
|
5212
|
+
}>>;
|
|
5213
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
5214
|
+
asc: "asc";
|
|
5215
|
+
desc: "desc";
|
|
5216
|
+
}>>;
|
|
5217
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5218
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
5219
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
5220
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
5221
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
5222
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
5223
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
5224
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
5225
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
5226
|
+
}, z.core.$strip>;
|
|
5227
|
+
readonly headersSchema: undefined;
|
|
5228
|
+
private readonly menuItemCategoryId;
|
|
5229
|
+
constructor(menuItemCategoryId: string, options?: {
|
|
5230
|
+
query?: GetMenuItemsFromMenuItemCategoryQueryParams;
|
|
5231
|
+
});
|
|
5232
|
+
getPath(): string;
|
|
5233
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuItem>;
|
|
5234
|
+
}
|
|
5235
|
+
|
|
5236
|
+
declare const getMenuItemsFromPointOfSaleQuerySchema: z.ZodObject<{
|
|
5237
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5238
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5239
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5240
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5241
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5242
|
+
application: "application";
|
|
5243
|
+
ecommerce: "ecommerce";
|
|
5244
|
+
deliveroo: "deliveroo";
|
|
5245
|
+
justeat: "justeat";
|
|
5246
|
+
glovo: "glovo";
|
|
5247
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
5248
|
+
application: "application";
|
|
5249
|
+
ecommerce: "ecommerce";
|
|
5250
|
+
deliveroo: "deliveroo";
|
|
5251
|
+
justeat: "justeat";
|
|
5252
|
+
glovo: "glovo";
|
|
5253
|
+
}>>]>>;
|
|
5254
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5255
|
+
ITEM: "ITEM";
|
|
5256
|
+
CHOICE: "CHOICE";
|
|
5257
|
+
BUNDLE: "BUNDLE";
|
|
5258
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
5259
|
+
ITEM: "ITEM";
|
|
5260
|
+
CHOICE: "CHOICE";
|
|
5261
|
+
BUNDLE: "BUNDLE";
|
|
5262
|
+
}>>]>>;
|
|
5263
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5264
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5265
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5266
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5267
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5268
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
5269
|
+
asc: "asc";
|
|
5270
|
+
desc: "desc";
|
|
5271
|
+
}>>;
|
|
5272
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
5273
|
+
asc: "asc";
|
|
5274
|
+
desc: "desc";
|
|
5275
|
+
}>>;
|
|
5276
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5277
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
5278
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
5279
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
5280
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
5281
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
5282
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
5283
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
5284
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
5285
|
+
}, z.core.$strip>;
|
|
5286
|
+
type GetMenuItemsFromPointOfSaleQueryParams = z.infer<typeof getMenuItemsFromPointOfSaleQuerySchema>;
|
|
5287
|
+
declare const getMenuItemsFromPointOfSaleInputSchema: z.ZodUndefined;
|
|
5288
|
+
type GetMenuItemsFromPointOfSaleInput = z.input<typeof getMenuItemsFromPointOfSaleInputSchema>;
|
|
5289
|
+
declare const getMenuItemsFromPointOfSaleResponseSchema: z.ZodObject<{
|
|
5290
|
+
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5291
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5292
|
+
createdAt: z.ZodString;
|
|
5293
|
+
updatedAt: z.ZodString;
|
|
5294
|
+
id: z.ZodString;
|
|
5295
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5296
|
+
application: "application";
|
|
5297
|
+
ecommerce: "ecommerce";
|
|
5298
|
+
deliveroo: "deliveroo";
|
|
5299
|
+
justeat: "justeat";
|
|
5300
|
+
glovo: "glovo";
|
|
5301
|
+
}>>>;
|
|
5302
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5303
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5304
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5305
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5306
|
+
}, z.core.$strip>>;
|
|
5307
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5308
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5309
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5310
|
+
}, z.core.$strip>>>;
|
|
5311
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5312
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5313
|
+
crustaceans: "crustaceans";
|
|
5314
|
+
nuts: "nuts";
|
|
5315
|
+
gluten: "gluten";
|
|
5316
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5317
|
+
lupins: "lupins";
|
|
5318
|
+
molluscs: "molluscs";
|
|
5319
|
+
mustard: "mustard";
|
|
5320
|
+
fish: "fish";
|
|
5321
|
+
celery: "celery";
|
|
5322
|
+
sesame: "sesame";
|
|
5323
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5324
|
+
soy: "soy";
|
|
5325
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5326
|
+
mushrooms: "mushrooms";
|
|
5327
|
+
}>>>;
|
|
5328
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5329
|
+
vegan: "vegan";
|
|
5330
|
+
vegetarian: "vegetarian";
|
|
5331
|
+
"gluten-free": "gluten-free";
|
|
5332
|
+
"dairy-free": "dairy-free";
|
|
5333
|
+
}>>>;
|
|
5334
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5335
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5336
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5337
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5338
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5339
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5340
|
+
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>>;
|
|
5341
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5342
|
+
}, z.core.$strip>>>;
|
|
5343
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5344
|
+
id: z.ZodString;
|
|
5345
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5346
|
+
contentUrl: z.ZodURL;
|
|
5347
|
+
filePath: z.ZodString;
|
|
5348
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5349
|
+
createdAt: z.ZodString;
|
|
5350
|
+
updatedAt: z.ZodString;
|
|
5351
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5352
|
+
id: z.ZodString;
|
|
5353
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5354
|
+
contentUrl: z.ZodURL;
|
|
5355
|
+
filePath: z.ZodString;
|
|
5356
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5357
|
+
createdAt: z.ZodString;
|
|
5358
|
+
updatedAt: z.ZodString;
|
|
5359
|
+
}, z.core.$strip>>>;
|
|
5360
|
+
}, z.core.$strip>>>;
|
|
5361
|
+
type: z.ZodLiteral<"CHOICE">;
|
|
5362
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5363
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5364
|
+
createdAt: z.ZodString;
|
|
5365
|
+
updatedAt: z.ZodString;
|
|
5366
|
+
id: z.ZodString;
|
|
5367
|
+
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>>;
|
|
5368
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5369
|
+
application: "application";
|
|
5370
|
+
ecommerce: "ecommerce";
|
|
5371
|
+
deliveroo: "deliveroo";
|
|
5372
|
+
justeat: "justeat";
|
|
5373
|
+
glovo: "glovo";
|
|
5374
|
+
}>>>;
|
|
5375
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5376
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5377
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5378
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5379
|
+
}, z.core.$strip>>;
|
|
5380
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5381
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5382
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5383
|
+
}, z.core.$strip>>>;
|
|
5384
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5385
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5386
|
+
crustaceans: "crustaceans";
|
|
5387
|
+
nuts: "nuts";
|
|
5388
|
+
gluten: "gluten";
|
|
5389
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5390
|
+
lupins: "lupins";
|
|
5391
|
+
molluscs: "molluscs";
|
|
5392
|
+
mustard: "mustard";
|
|
5393
|
+
fish: "fish";
|
|
5394
|
+
celery: "celery";
|
|
5395
|
+
sesame: "sesame";
|
|
5396
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5397
|
+
soy: "soy";
|
|
5398
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5399
|
+
mushrooms: "mushrooms";
|
|
5400
|
+
}>>>;
|
|
5401
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5402
|
+
vegan: "vegan";
|
|
5403
|
+
vegetarian: "vegetarian";
|
|
5404
|
+
"gluten-free": "gluten-free";
|
|
5405
|
+
"dairy-free": "dairy-free";
|
|
5406
|
+
}>>>;
|
|
5407
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5408
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5409
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5410
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5411
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5412
|
+
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>>>>;
|
|
5413
|
+
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>>>>;
|
|
5414
|
+
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>>>>;
|
|
5415
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5416
|
+
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>>;
|
|
5417
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5418
|
+
}, z.core.$strip>>>;
|
|
5419
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5420
|
+
id: z.ZodString;
|
|
5421
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5422
|
+
contentUrl: z.ZodURL;
|
|
5423
|
+
filePath: z.ZodString;
|
|
5424
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5425
|
+
createdAt: z.ZodString;
|
|
5426
|
+
updatedAt: z.ZodString;
|
|
5427
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5428
|
+
id: z.ZodString;
|
|
5429
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5430
|
+
contentUrl: z.ZodURL;
|
|
5431
|
+
filePath: z.ZodString;
|
|
5432
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5433
|
+
createdAt: z.ZodString;
|
|
5434
|
+
updatedAt: z.ZodString;
|
|
5435
|
+
}, z.core.$strip>>>;
|
|
5436
|
+
}, z.core.$strip>>>;
|
|
5437
|
+
type: z.ZodLiteral<"ITEM">;
|
|
5438
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5439
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5440
|
+
createdAt: z.ZodString;
|
|
5441
|
+
updatedAt: z.ZodString;
|
|
5442
|
+
id: z.ZodString;
|
|
5443
|
+
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>>;
|
|
5444
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5445
|
+
application: "application";
|
|
5446
|
+
ecommerce: "ecommerce";
|
|
5447
|
+
deliveroo: "deliveroo";
|
|
5448
|
+
justeat: "justeat";
|
|
5449
|
+
glovo: "glovo";
|
|
5450
|
+
}>>>;
|
|
5451
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5452
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5453
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5454
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5455
|
+
}, z.core.$strip>>;
|
|
5456
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5457
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5458
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5459
|
+
}, z.core.$strip>>>;
|
|
5460
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5461
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5462
|
+
crustaceans: "crustaceans";
|
|
5463
|
+
nuts: "nuts";
|
|
5464
|
+
gluten: "gluten";
|
|
5465
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5466
|
+
lupins: "lupins";
|
|
5467
|
+
molluscs: "molluscs";
|
|
5468
|
+
mustard: "mustard";
|
|
5469
|
+
fish: "fish";
|
|
5470
|
+
celery: "celery";
|
|
5471
|
+
sesame: "sesame";
|
|
5472
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5473
|
+
soy: "soy";
|
|
5474
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5475
|
+
mushrooms: "mushrooms";
|
|
5476
|
+
}>>>;
|
|
5477
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5478
|
+
vegan: "vegan";
|
|
5479
|
+
vegetarian: "vegetarian";
|
|
5480
|
+
"gluten-free": "gluten-free";
|
|
5481
|
+
"dairy-free": "dairy-free";
|
|
5482
|
+
}>>>;
|
|
5483
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5484
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5485
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5486
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5487
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5488
|
+
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>>>>;
|
|
5489
|
+
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>>>>;
|
|
5490
|
+
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>>>>;
|
|
5491
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5492
|
+
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>>;
|
|
5493
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5494
|
+
}, z.core.$strip>>>;
|
|
5495
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5496
|
+
id: z.ZodString;
|
|
5497
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5498
|
+
contentUrl: z.ZodURL;
|
|
5499
|
+
filePath: z.ZodString;
|
|
5500
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5501
|
+
createdAt: z.ZodString;
|
|
5502
|
+
updatedAt: z.ZodString;
|
|
5503
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5504
|
+
id: z.ZodString;
|
|
5505
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5506
|
+
contentUrl: z.ZodURL;
|
|
5507
|
+
filePath: z.ZodString;
|
|
5508
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5509
|
+
createdAt: z.ZodString;
|
|
5510
|
+
updatedAt: z.ZodString;
|
|
5511
|
+
}, z.core.$strip>>>;
|
|
5512
|
+
}, z.core.$strip>>>;
|
|
5513
|
+
type: z.ZodLiteral<"BUNDLE">;
|
|
5514
|
+
}, z.core.$strip>]>>;
|
|
5515
|
+
pagination: z.ZodObject<{
|
|
5516
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
5517
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
5518
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
5519
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
5520
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
5521
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
5522
|
+
}, z.core.$strip>;
|
|
5523
|
+
}, z.core.$strip>;
|
|
5524
|
+
type GetMenuItemsFromPointOfSaleResponse = z.infer<typeof getMenuItemsFromPointOfSaleResponseSchema>;
|
|
5525
|
+
declare class GetMenuItemsFromPointOfSale extends AbstractApiRequest<typeof getMenuItemsFromPointOfSaleInputSchema, typeof getMenuItemsFromPointOfSaleResponseSchema, GetMenuItemsFromPointOfSaleQueryParams> {
|
|
5526
|
+
readonly method = "GET";
|
|
5527
|
+
readonly contentType = "application/json";
|
|
5528
|
+
readonly accept = "application/json";
|
|
5529
|
+
readonly inputSchema: z.ZodUndefined;
|
|
5530
|
+
readonly outputSchema: z.ZodObject<{
|
|
5531
|
+
data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5532
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5533
|
+
createdAt: z.ZodString;
|
|
5534
|
+
updatedAt: z.ZodString;
|
|
5535
|
+
id: z.ZodString;
|
|
5536
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5537
|
+
application: "application";
|
|
5538
|
+
ecommerce: "ecommerce";
|
|
5539
|
+
deliveroo: "deliveroo";
|
|
5540
|
+
justeat: "justeat";
|
|
5541
|
+
glovo: "glovo";
|
|
5542
|
+
}>>>;
|
|
5543
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5544
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5545
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5546
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5547
|
+
}, z.core.$strip>>;
|
|
5548
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5549
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5550
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5551
|
+
}, z.core.$strip>>>;
|
|
5552
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5553
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5554
|
+
crustaceans: "crustaceans";
|
|
5555
|
+
nuts: "nuts";
|
|
5556
|
+
gluten: "gluten";
|
|
5557
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5558
|
+
lupins: "lupins";
|
|
5559
|
+
molluscs: "molluscs";
|
|
5560
|
+
mustard: "mustard";
|
|
5561
|
+
fish: "fish";
|
|
5562
|
+
celery: "celery";
|
|
5563
|
+
sesame: "sesame";
|
|
5564
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5565
|
+
soy: "soy";
|
|
5566
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5567
|
+
mushrooms: "mushrooms";
|
|
5568
|
+
}>>>;
|
|
5569
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5570
|
+
vegan: "vegan";
|
|
5571
|
+
vegetarian: "vegetarian";
|
|
5572
|
+
"gluten-free": "gluten-free";
|
|
5573
|
+
"dairy-free": "dairy-free";
|
|
5574
|
+
}>>>;
|
|
5575
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5576
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5577
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5578
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5579
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5580
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5581
|
+
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>>;
|
|
5582
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5583
|
+
}, z.core.$strip>>>;
|
|
5584
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5585
|
+
id: z.ZodString;
|
|
5586
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5587
|
+
contentUrl: z.ZodURL;
|
|
5588
|
+
filePath: z.ZodString;
|
|
5589
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5590
|
+
createdAt: z.ZodString;
|
|
5591
|
+
updatedAt: z.ZodString;
|
|
5592
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5593
|
+
id: z.ZodString;
|
|
5594
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5595
|
+
contentUrl: z.ZodURL;
|
|
5596
|
+
filePath: z.ZodString;
|
|
5597
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5598
|
+
createdAt: z.ZodString;
|
|
5599
|
+
updatedAt: z.ZodString;
|
|
5600
|
+
}, z.core.$strip>>>;
|
|
5601
|
+
}, z.core.$strip>>>;
|
|
5602
|
+
type: z.ZodLiteral<"CHOICE">;
|
|
5603
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5604
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5605
|
+
createdAt: z.ZodString;
|
|
5606
|
+
updatedAt: z.ZodString;
|
|
5607
|
+
id: z.ZodString;
|
|
5608
|
+
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>>;
|
|
5609
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5610
|
+
application: "application";
|
|
5611
|
+
ecommerce: "ecommerce";
|
|
5612
|
+
deliveroo: "deliveroo";
|
|
5613
|
+
justeat: "justeat";
|
|
5614
|
+
glovo: "glovo";
|
|
5615
|
+
}>>>;
|
|
5616
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5617
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5618
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5619
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5620
|
+
}, z.core.$strip>>;
|
|
5621
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5622
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5623
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5624
|
+
}, z.core.$strip>>>;
|
|
5625
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5626
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5627
|
+
crustaceans: "crustaceans";
|
|
5628
|
+
nuts: "nuts";
|
|
5629
|
+
gluten: "gluten";
|
|
5630
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5631
|
+
lupins: "lupins";
|
|
5632
|
+
molluscs: "molluscs";
|
|
5633
|
+
mustard: "mustard";
|
|
5634
|
+
fish: "fish";
|
|
5635
|
+
celery: "celery";
|
|
5636
|
+
sesame: "sesame";
|
|
5637
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5638
|
+
soy: "soy";
|
|
5639
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5640
|
+
mushrooms: "mushrooms";
|
|
5641
|
+
}>>>;
|
|
5642
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5643
|
+
vegan: "vegan";
|
|
5644
|
+
vegetarian: "vegetarian";
|
|
5645
|
+
"gluten-free": "gluten-free";
|
|
5646
|
+
"dairy-free": "dairy-free";
|
|
5647
|
+
}>>>;
|
|
5648
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5649
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5650
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5651
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5652
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5653
|
+
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>>>>;
|
|
5654
|
+
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>>>>;
|
|
5655
|
+
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>>>>;
|
|
5656
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5657
|
+
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>>;
|
|
5658
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5659
|
+
}, z.core.$strip>>>;
|
|
5660
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5661
|
+
id: z.ZodString;
|
|
5662
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5663
|
+
contentUrl: z.ZodURL;
|
|
5664
|
+
filePath: z.ZodString;
|
|
5665
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5666
|
+
createdAt: z.ZodString;
|
|
5667
|
+
updatedAt: z.ZodString;
|
|
5668
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5669
|
+
id: z.ZodString;
|
|
5670
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5671
|
+
contentUrl: z.ZodURL;
|
|
5672
|
+
filePath: z.ZodString;
|
|
5673
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5674
|
+
createdAt: z.ZodString;
|
|
5675
|
+
updatedAt: z.ZodString;
|
|
5676
|
+
}, z.core.$strip>>>;
|
|
5677
|
+
}, z.core.$strip>>>;
|
|
5678
|
+
type: z.ZodLiteral<"ITEM">;
|
|
5679
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5680
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5681
|
+
createdAt: z.ZodString;
|
|
5682
|
+
updatedAt: z.ZodString;
|
|
5683
|
+
id: z.ZodString;
|
|
5684
|
+
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>>;
|
|
5685
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5686
|
+
application: "application";
|
|
5687
|
+
ecommerce: "ecommerce";
|
|
5688
|
+
deliveroo: "deliveroo";
|
|
5689
|
+
justeat: "justeat";
|
|
5690
|
+
glovo: "glovo";
|
|
5691
|
+
}>>>;
|
|
5692
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5693
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5694
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5695
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5696
|
+
}, z.core.$strip>>;
|
|
5697
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5698
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5699
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5700
|
+
}, z.core.$strip>>>;
|
|
5701
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5702
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5703
|
+
crustaceans: "crustaceans";
|
|
5704
|
+
nuts: "nuts";
|
|
5705
|
+
gluten: "gluten";
|
|
5706
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5707
|
+
lupins: "lupins";
|
|
5708
|
+
molluscs: "molluscs";
|
|
5709
|
+
mustard: "mustard";
|
|
5710
|
+
fish: "fish";
|
|
5711
|
+
celery: "celery";
|
|
5712
|
+
sesame: "sesame";
|
|
5713
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5714
|
+
soy: "soy";
|
|
5715
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5716
|
+
mushrooms: "mushrooms";
|
|
5717
|
+
}>>>;
|
|
5718
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5719
|
+
vegan: "vegan";
|
|
5720
|
+
vegetarian: "vegetarian";
|
|
5721
|
+
"gluten-free": "gluten-free";
|
|
5722
|
+
"dairy-free": "dairy-free";
|
|
5723
|
+
}>>>;
|
|
5724
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5725
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5726
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5727
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5728
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5729
|
+
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>>>>;
|
|
5730
|
+
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>>>>;
|
|
5731
|
+
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>>>>;
|
|
5732
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5733
|
+
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>>;
|
|
5734
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5735
|
+
}, z.core.$strip>>>;
|
|
5736
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5737
|
+
id: z.ZodString;
|
|
5738
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5739
|
+
contentUrl: z.ZodURL;
|
|
5740
|
+
filePath: z.ZodString;
|
|
5741
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5742
|
+
createdAt: z.ZodString;
|
|
5743
|
+
updatedAt: z.ZodString;
|
|
5744
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5745
|
+
id: z.ZodString;
|
|
5746
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5747
|
+
contentUrl: z.ZodURL;
|
|
5748
|
+
filePath: z.ZodString;
|
|
5749
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5750
|
+
createdAt: z.ZodString;
|
|
5751
|
+
updatedAt: z.ZodString;
|
|
5752
|
+
}, z.core.$strip>>>;
|
|
5753
|
+
}, z.core.$strip>>>;
|
|
5754
|
+
type: z.ZodLiteral<"BUNDLE">;
|
|
5755
|
+
}, z.core.$strip>]>>;
|
|
5756
|
+
pagination: z.ZodObject<{
|
|
5757
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
5758
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
5759
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
5760
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
5761
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
5762
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
5763
|
+
}, z.core.$strip>;
|
|
5764
|
+
}, z.core.$strip>;
|
|
5765
|
+
readonly querySchema: z.ZodObject<{
|
|
5766
|
+
countable: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5767
|
+
soldIndividually: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5768
|
+
containsAlcohol: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5769
|
+
suspended: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5770
|
+
channels: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5771
|
+
application: "application";
|
|
5772
|
+
ecommerce: "ecommerce";
|
|
5773
|
+
deliveroo: "deliveroo";
|
|
5774
|
+
justeat: "justeat";
|
|
5775
|
+
glovo: "glovo";
|
|
5776
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
5777
|
+
application: "application";
|
|
5778
|
+
ecommerce: "ecommerce";
|
|
5779
|
+
deliveroo: "deliveroo";
|
|
5780
|
+
justeat: "justeat";
|
|
5781
|
+
glovo: "glovo";
|
|
5782
|
+
}>>]>>;
|
|
5783
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5784
|
+
ITEM: "ITEM";
|
|
5785
|
+
CHOICE: "CHOICE";
|
|
5786
|
+
BUNDLE: "BUNDLE";
|
|
5787
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
5788
|
+
ITEM: "ITEM";
|
|
5789
|
+
CHOICE: "CHOICE";
|
|
5790
|
+
BUNDLE: "BUNDLE";
|
|
5791
|
+
}>>]>>;
|
|
5792
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5793
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5794
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5795
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5796
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5797
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
5798
|
+
asc: "asc";
|
|
5799
|
+
desc: "desc";
|
|
5800
|
+
}>>;
|
|
5801
|
+
'order[price]': z.ZodOptional<z.ZodEnum<{
|
|
5802
|
+
asc: "asc";
|
|
5803
|
+
desc: "desc";
|
|
5804
|
+
}>>;
|
|
5805
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5806
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
5807
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
5808
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
5809
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
5810
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
5811
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
5812
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
5813
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
5814
|
+
}, z.core.$strip>;
|
|
5815
|
+
readonly headersSchema: undefined;
|
|
5816
|
+
private readonly pointOfSaleId;
|
|
5817
|
+
constructor(pointOfSaleId: string, options?: {
|
|
5818
|
+
query?: GetMenuItemsFromPointOfSaleQueryParams;
|
|
5819
|
+
});
|
|
5820
|
+
getPath(): string;
|
|
5821
|
+
parseResponse(data: unknown, rawResponse: Response): Paginated<MenuItem>;
|
|
5822
|
+
}
|
|
5823
|
+
|
|
5824
|
+
declare const updateMenuItemInputSchema: z.ZodObject<{
|
|
5825
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
5826
|
+
ITEM: "ITEM";
|
|
5827
|
+
CHOICE: "CHOICE";
|
|
5828
|
+
BUNDLE: "BUNDLE";
|
|
5829
|
+
}>>;
|
|
5830
|
+
price: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
5831
|
+
category: z.ZodOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_categories/:id"> | null, unknown>>>;
|
|
5832
|
+
channels: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5833
|
+
application: "application";
|
|
5834
|
+
ecommerce: "ecommerce";
|
|
5835
|
+
deliveroo: "deliveroo";
|
|
5836
|
+
justeat: "justeat";
|
|
5837
|
+
glovo: "glovo";
|
|
5838
|
+
}>>>>;
|
|
5839
|
+
tags: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
5840
|
+
name: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5841
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5842
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5843
|
+
}, z.core.$strip>>>;
|
|
5844
|
+
description: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5845
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5846
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5847
|
+
}, z.core.$strip>>>>;
|
|
5848
|
+
allergens: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5849
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5850
|
+
crustaceans: "crustaceans";
|
|
5851
|
+
nuts: "nuts";
|
|
5852
|
+
gluten: "gluten";
|
|
5853
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5854
|
+
lupins: "lupins";
|
|
5855
|
+
molluscs: "molluscs";
|
|
5856
|
+
mustard: "mustard";
|
|
5857
|
+
fish: "fish";
|
|
5858
|
+
celery: "celery";
|
|
5859
|
+
sesame: "sesame";
|
|
5860
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5861
|
+
soy: "soy";
|
|
5862
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5863
|
+
mushrooms: "mushrooms";
|
|
5864
|
+
}>>>>;
|
|
5865
|
+
diets: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5866
|
+
vegan: "vegan";
|
|
5867
|
+
vegetarian: "vegetarian";
|
|
5868
|
+
"gluten-free": "gluten-free";
|
|
5869
|
+
"dairy-free": "dairy-free";
|
|
5870
|
+
}>>>>;
|
|
5871
|
+
taxRate: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5872
|
+
containsAlcohol: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
5873
|
+
countable: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
5874
|
+
suspended: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
5875
|
+
compositions: z.ZodOptional<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>>>>>;
|
|
5876
|
+
salesPrices: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5877
|
+
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>>;
|
|
5878
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5879
|
+
}, z.core.$strip>>>>;
|
|
5880
|
+
images: z.ZodOptional<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>>>>>;
|
|
5881
|
+
}, z.core.$strip>;
|
|
5882
|
+
type UpdateMenuItemInput = z.input<typeof updateMenuItemInputSchema>;
|
|
5883
|
+
declare const updateMenuItemResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5884
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5885
|
+
createdAt: z.ZodString;
|
|
5886
|
+
updatedAt: z.ZodString;
|
|
5887
|
+
id: z.ZodString;
|
|
5888
|
+
channels: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5889
|
+
application: "application";
|
|
5890
|
+
ecommerce: "ecommerce";
|
|
5891
|
+
deliveroo: "deliveroo";
|
|
5892
|
+
justeat: "justeat";
|
|
5893
|
+
glovo: "glovo";
|
|
5894
|
+
}>>>;
|
|
5895
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5896
|
+
name: z.ZodArray<z.ZodObject<{
|
|
5897
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5898
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5899
|
+
}, z.core.$strip>>;
|
|
5900
|
+
description: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5901
|
+
locale: z.ZodNonOptional<z.ZodString>;
|
|
5902
|
+
text: z.ZodNonOptional<z.ZodString>;
|
|
5903
|
+
}, z.core.$strip>>>;
|
|
5904
|
+
allergens: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5905
|
+
"peanuts-and-derivatives": "peanuts-and-derivatives";
|
|
5906
|
+
crustaceans: "crustaceans";
|
|
5907
|
+
nuts: "nuts";
|
|
5908
|
+
gluten: "gluten";
|
|
5909
|
+
"milk-and-derivatives": "milk-and-derivatives";
|
|
5910
|
+
lupins: "lupins";
|
|
5911
|
+
molluscs: "molluscs";
|
|
5912
|
+
mustard: "mustard";
|
|
5913
|
+
fish: "fish";
|
|
5914
|
+
celery: "celery";
|
|
5915
|
+
sesame: "sesame";
|
|
5916
|
+
"sulfur-dioxide": "sulfur-dioxide";
|
|
5917
|
+
soy: "soy";
|
|
5918
|
+
"eggs-and-derivatives": "eggs-and-derivatives";
|
|
5919
|
+
mushrooms: "mushrooms";
|
|
5920
|
+
}>>>;
|
|
5921
|
+
diets: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
5922
|
+
vegan: "vegan";
|
|
5923
|
+
vegetarian: "vegetarian";
|
|
5924
|
+
"gluten-free": "gluten-free";
|
|
5925
|
+
"dairy-free": "dairy-free";
|
|
5926
|
+
}>>>;
|
|
5927
|
+
taxRate: z.ZodCoercedNumber<unknown>;
|
|
5928
|
+
containsAlcohol: z.ZodDefault<z.ZodBoolean>;
|
|
5929
|
+
countable: z.ZodDefault<z.ZodBoolean>;
|
|
5930
|
+
soldIndividually: z.ZodDefault<z.ZodBoolean>;
|
|
5931
|
+
suspended: z.ZodDefault<z.ZodBoolean>;
|
|
5932
|
+
salesPrices: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5933
|
+
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>>;
|
|
5934
|
+
price: z.ZodDefault<z.ZodString>;
|
|
5935
|
+
}, z.core.$strip>>>;
|
|
5936
|
+
images: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5937
|
+
id: z.ZodString;
|
|
5938
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5939
|
+
contentUrl: z.ZodURL;
|
|
5940
|
+
filePath: z.ZodString;
|
|
5941
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5942
|
+
createdAt: z.ZodString;
|
|
5943
|
+
updatedAt: z.ZodString;
|
|
5944
|
+
variants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
5945
|
+
id: z.ZodString;
|
|
5946
|
+
variant: z.ZodNullable<z.ZodString>;
|
|
5947
|
+
contentUrl: z.ZodURL;
|
|
5948
|
+
filePath: z.ZodString;
|
|
5949
|
+
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
5950
|
+
createdAt: z.ZodString;
|
|
5951
|
+
updatedAt: z.ZodString;
|
|
5952
|
+
}, z.core.$strip>>>;
|
|
5953
|
+
}, z.core.$strip>>>;
|
|
5954
|
+
type: z.ZodLiteral<"CHOICE">;
|
|
4569
5955
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
5956
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5957
|
+
price: z.ZodDefault<z.ZodString>;
|
|
4570
5958
|
createdAt: z.ZodString;
|
|
4571
5959
|
updatedAt: z.ZodString;
|
|
4572
5960
|
id: z.ZodString;
|
|
@@ -4641,9 +6029,9 @@ declare const updateMenuItemResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
4641
6029
|
}, z.core.$strip>>>;
|
|
4642
6030
|
}, z.core.$strip>>>;
|
|
4643
6031
|
type: z.ZodLiteral<"ITEM">;
|
|
6032
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
4644
6033
|
}, z.core.$strip>, z.ZodObject<{
|
|
4645
6034
|
price: z.ZodDefault<z.ZodString>;
|
|
4646
|
-
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>>;
|
|
4647
6035
|
createdAt: z.ZodString;
|
|
4648
6036
|
updatedAt: z.ZodString;
|
|
4649
6037
|
id: z.ZodString;
|
|
@@ -4718,6 +6106,7 @@ declare const updateMenuItemResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
4718
6106
|
}, z.core.$strip>>>;
|
|
4719
6107
|
}, z.core.$strip>>>;
|
|
4720
6108
|
type: z.ZodLiteral<"BUNDLE">;
|
|
6109
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
4721
6110
|
}, z.core.$strip>]>;
|
|
4722
6111
|
type UpdateMenuItemResponse = z.infer<typeof updateMenuItemResponseSchema>;
|
|
4723
6112
|
declare class UpdateMenuItem extends AbstractApiRequest<typeof updateMenuItemInputSchema, typeof updateMenuItemResponseSchema> {
|
|
@@ -4784,7 +6173,6 @@ declare class UpdateMenuItem extends AbstractApiRequest<typeof updateMenuItemInp
|
|
|
4784
6173
|
}, z.core.$strip>;
|
|
4785
6174
|
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4786
6175
|
price: z.ZodDefault<z.ZodString>;
|
|
4787
|
-
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>>;
|
|
4788
6176
|
createdAt: z.ZodString;
|
|
4789
6177
|
updatedAt: z.ZodString;
|
|
4790
6178
|
id: z.ZodString;
|
|
@@ -4855,9 +6243,9 @@ declare class UpdateMenuItem extends AbstractApiRequest<typeof updateMenuItemInp
|
|
|
4855
6243
|
}, z.core.$strip>>>;
|
|
4856
6244
|
}, z.core.$strip>>>;
|
|
4857
6245
|
type: z.ZodLiteral<"CHOICE">;
|
|
6246
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
4858
6247
|
}, z.core.$strip>, z.ZodObject<{
|
|
4859
6248
|
price: z.ZodDefault<z.ZodString>;
|
|
4860
|
-
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>>;
|
|
4861
6249
|
createdAt: z.ZodString;
|
|
4862
6250
|
updatedAt: z.ZodString;
|
|
4863
6251
|
id: z.ZodString;
|
|
@@ -4932,9 +6320,9 @@ declare class UpdateMenuItem extends AbstractApiRequest<typeof updateMenuItemInp
|
|
|
4932
6320
|
}, z.core.$strip>>>;
|
|
4933
6321
|
}, z.core.$strip>>>;
|
|
4934
6322
|
type: z.ZodLiteral<"ITEM">;
|
|
6323
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
4935
6324
|
}, z.core.$strip>, z.ZodObject<{
|
|
4936
6325
|
price: z.ZodDefault<z.ZodString>;
|
|
4937
|
-
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>>;
|
|
4938
6326
|
createdAt: z.ZodString;
|
|
4939
6327
|
updatedAt: z.ZodString;
|
|
4940
6328
|
id: z.ZodString;
|
|
@@ -5009,6 +6397,7 @@ declare class UpdateMenuItem extends AbstractApiRequest<typeof updateMenuItemInp
|
|
|
5009
6397
|
}, z.core.$strip>>>;
|
|
5010
6398
|
}, z.core.$strip>>>;
|
|
5011
6399
|
type: z.ZodLiteral<"BUNDLE">;
|
|
6400
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
5012
6401
|
}, z.core.$strip>]>;
|
|
5013
6402
|
readonly querySchema: undefined;
|
|
5014
6403
|
readonly headersSchema: undefined;
|
|
@@ -5134,4 +6523,4 @@ type MenuItemPriceOverrideSalesPriceIri = z.infer<typeof menuItemPriceOverrideSa
|
|
|
5134
6523
|
declare const menuItemPriceOverrideSalesPriceNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/sales_prices/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/menu_item_price_overrides/sales_prices/:id"> | null, unknown>>;
|
|
5135
6524
|
type MenuItemPriceOverrideSalesPriceNullableIri = z.infer<typeof menuItemPriceOverrideSalesPriceNullableIriSchema>;
|
|
5136
6525
|
|
|
5137
|
-
export { CreateMenuItem, CreateMenuItemCategory, type CreateMenuItemCategoryInput, type CreateMenuItemCategoryResponse, type CreateMenuItemInput, CreateMenuItemModifier, type CreateMenuItemModifierInput, type CreateMenuItemModifierResponse, CreateMenuItemPriceOverride, type CreateMenuItemPriceOverrideInput, type CreateMenuItemPriceOverrideResponse, type CreateMenuItemResponse, DeleteMenuItem, DeleteMenuItemCategory, DeleteMenuItemModifier, DeleteMenuItemPriceOverride, GetMenuItemCategories, GetMenuItemCategoriesFromPointOfSale, type GetMenuItemCategoriesFromPointOfSaleInput, type GetMenuItemCategoriesFromPointOfSaleQueryParams, type GetMenuItemCategoriesFromPointOfSaleResponse, type GetMenuItemCategoriesInput, type GetMenuItemCategoriesQueryParams, type GetMenuItemCategoriesResponse, GetMenuItemCategoryDetails, type GetMenuItemCategoryDetailsInput, type GetMenuItemCategoryDetailsResponse, GetMenuItemDetails, type GetMenuItemDetailsInput, type GetMenuItemDetailsResponse, GetMenuItemModifierDetails, type GetMenuItemModifierDetailsInput, type GetMenuItemModifierDetailsResponse, GetMenuItemModifiers, type GetMenuItemModifiersInput, type GetMenuItemModifiersQueryParams, type GetMenuItemModifiersResponse, GetMenuItemPriceOverrideDetails, type GetMenuItemPriceOverrideDetailsInput, type GetMenuItemPriceOverrideDetailsResponse, GetMenuItemPriceOverrides, type GetMenuItemPriceOverridesInput, type GetMenuItemPriceOverridesQueryParams, type GetMenuItemPriceOverridesResponse, GetMenuItems, type GetMenuItemsInput, type GetMenuItemsQueryParams, type GetMenuItemsResponse, GetMenuVersionDetails, type GetMenuVersionDetailsInput, type GetMenuVersionDetailsResponse, GetMenuVersions, type GetMenuVersionsInput, type GetMenuVersionsQueryParams, type GetMenuVersionsResponse, type MenuCategoryDto, type MenuDto, type MenuItem, type MenuItemCategoriesQueryParams, type MenuItemCategory, type MenuItemCategoryDetails, type MenuItemCategoryIri, type MenuItemCategoryNullableIri, type MenuItemDetails, type MenuItemDto, type MenuItemIri, type MenuItemModifier, type MenuItemModifierDetails, type MenuItemModifierIri, type MenuItemModifierNullableIri, type MenuItemModifiersQueryParams, type MenuItemNullableIri, type MenuItemPriceOverride, type MenuItemPriceOverrideDetails, type MenuItemPriceOverrideIri, type MenuItemPriceOverrideNullableIri, type MenuItemPriceOverrideSalesPriceIri, type MenuItemPriceOverrideSalesPriceNullableIri, type MenuItemPriceOverridesQueryParams, type MenuItemSalesPriceIri, type MenuItemSalesPriceNullableIri, type MenuItemsQueryParams, type MenuModifierDto, type MenuPriceDto, type MenuPriceOverrideDto, type MenuVersion, UpdateMenuItem, UpdateMenuItemCategory, type UpdateMenuItemCategoryInput, type UpdateMenuItemCategoryResponse, type UpdateMenuItemInput, UpdateMenuItemModifier, type UpdateMenuItemModifierInput, type UpdateMenuItemModifierResponse, UpdateMenuItemPriceOverride, type UpdateMenuItemPriceOverrideInput, type UpdateMenuItemPriceOverrideResponse, type UpdateMenuItemResponse, type WritableMenuItemPriceOverride, createMenuItemCategoryInputSchema, createMenuItemCategoryResponseSchema, createMenuItemInputSchema, createMenuItemModifierInputSchema, createMenuItemModifierResponseSchema, createMenuItemPriceOverrideInputSchema, createMenuItemPriceOverrideResponseSchema, createMenuItemResponseSchema, deleteMenuItemCategoryInputSchema, deleteMenuItemCategoryResponseSchema, deleteMenuItemInputSchema, deleteMenuItemModifierInputSchema, deleteMenuItemModifierResponseSchema, deleteMenuItemPriceOverrideInputSchema, deleteMenuItemPriceOverrideResponseSchema, deleteMenuItemResponseSchema, getMenuItemCategoriesFromPointOfSaleInputSchema, getMenuItemCategoriesFromPointOfSaleQuerySchema, getMenuItemCategoriesFromPointOfSaleResponseSchema, getMenuItemCategoriesInputSchema, getMenuItemCategoriesQuerySchema, getMenuItemCategoriesResponseSchema, getMenuItemCategoryDetailsInputSchema, getMenuItemCategoryDetailsResponseSchema, getMenuItemDetailsInputSchema, getMenuItemDetailsResponseSchema, getMenuItemModifierDetailsInputSchema, getMenuItemModifierDetailsResponseSchema, getMenuItemModifiersInputSchema, getMenuItemModifiersQuerySchema, getMenuItemModifiersResponseSchema, getMenuItemPriceOverrideDetailsInputSchema, getMenuItemPriceOverrideDetailsResponseSchema, getMenuItemPriceOverridesInputSchema, getMenuItemPriceOverridesQuerySchema, getMenuItemPriceOverridesResponseSchema, getMenuItemsInputSchema, getMenuItemsQuerySchema, getMenuItemsResponseSchema, getMenuVersionDetailsInputSchema, getMenuVersionDetailsResponseSchema, getMenuVersionsInputSchema, getMenuVersionsQuerySchema, getMenuVersionsResponseSchema, localeItemSchema, menuCategoryDtoSchema, menuDtoSchema, menuItemBundleSchema, menuItemCategoriesQuerySchema, menuItemCategoryDetailsSchema, menuItemCategoryIriSchema, menuItemCategoryNullableIriSchema, menuItemCategorySchema, menuItemChoiceSchema, menuItemDetailsSchema, menuItemDtoSchema, menuItemIriSchema, menuItemItemSchema, menuItemModifierDetailsSchema, menuItemModifierIriSchema, menuItemModifierNullableIriSchema, menuItemModifierSchema, menuItemModifiersQuerySchema, menuItemNullableIriSchema, menuItemPriceOverrideDetailsSchema, menuItemPriceOverrideIriSchema, menuItemPriceOverrideNullableIriSchema, menuItemPriceOverrideSalesPriceIriSchema, menuItemPriceOverrideSalesPriceNullableIriSchema, menuItemPriceOverrideSchema, menuItemPriceOverridesQuerySchema, menuItemSalesPriceIriSchema, menuItemSalesPriceNullableIriSchema, menuItemSchema, menuItemsQuerySchema, menuModifierDtoSchema, menuPriceDtoSchema, menuPriceOverrideDtoSchema, menuVersionSchema, salesPriceDTOSchema, updateMenuItemCategoryInputSchema, updateMenuItemCategoryResponseSchema, updateMenuItemInputSchema, updateMenuItemModifierInputSchema, updateMenuItemModifierResponseSchema, updateMenuItemPriceOverrideInputSchema, updateMenuItemPriceOverrideResponseSchema, updateMenuItemResponseSchema, writableMenuItemCategorySchema, writableMenuItemModifierSchema, writableMenuItemPriceOverridePartialSchema, writableMenuItemPriceOverrideSchema, writableMenuItemSchema };
|
|
6526
|
+
export { CreateMenuItem, CreateMenuItemCategory, type CreateMenuItemCategoryInput, type CreateMenuItemCategoryResponse, type CreateMenuItemInput, CreateMenuItemModifier, type CreateMenuItemModifierInput, type CreateMenuItemModifierResponse, CreateMenuItemPriceOverride, type CreateMenuItemPriceOverrideInput, type CreateMenuItemPriceOverrideResponse, type CreateMenuItemResponse, DeleteMenuItem, DeleteMenuItemCategory, DeleteMenuItemModifier, DeleteMenuItemPriceOverride, GetMenuItemCategories, GetMenuItemCategoriesFromPointOfSale, type GetMenuItemCategoriesFromPointOfSaleInput, type GetMenuItemCategoriesFromPointOfSaleQueryParams, type GetMenuItemCategoriesFromPointOfSaleResponse, type GetMenuItemCategoriesInput, type GetMenuItemCategoriesQueryParams, type GetMenuItemCategoriesResponse, GetMenuItemCategoryDetails, type GetMenuItemCategoryDetailsInput, type GetMenuItemCategoryDetailsResponse, GetMenuItemDetails, type GetMenuItemDetailsInput, type GetMenuItemDetailsResponse, GetMenuItemModifierDetails, type GetMenuItemModifierDetailsInput, type GetMenuItemModifierDetailsResponse, GetMenuItemModifiers, type GetMenuItemModifiersInput, type GetMenuItemModifiersQueryParams, type GetMenuItemModifiersResponse, GetMenuItemPriceOverrideDetails, type GetMenuItemPriceOverrideDetailsInput, type GetMenuItemPriceOverrideDetailsResponse, GetMenuItemPriceOverrides, type GetMenuItemPriceOverridesInput, type GetMenuItemPriceOverridesQueryParams, type GetMenuItemPriceOverridesResponse, GetMenuItems, GetMenuItemsFromMenuItemCategory, type GetMenuItemsFromMenuItemCategoryInput, type GetMenuItemsFromMenuItemCategoryQueryParams, type GetMenuItemsFromMenuItemCategoryResponse, GetMenuItemsFromPointOfSale, type GetMenuItemsFromPointOfSaleInput, type GetMenuItemsFromPointOfSaleQueryParams, type GetMenuItemsFromPointOfSaleResponse, type GetMenuItemsInput, type GetMenuItemsQueryParams, type GetMenuItemsResponse, GetMenuVersionDetails, type GetMenuVersionDetailsInput, type GetMenuVersionDetailsResponse, GetMenuVersions, type GetMenuVersionsInput, type GetMenuVersionsQueryParams, type GetMenuVersionsResponse, type MenuCategoryDto, type MenuDto, type MenuItem, type MenuItemCategoriesQueryParams, type MenuItemCategory, type MenuItemCategoryDetails, type MenuItemCategoryIri, type MenuItemCategoryNullableIri, type MenuItemDetails, type MenuItemDto, type MenuItemIri, type MenuItemModifier, type MenuItemModifierDetails, type MenuItemModifierIri, type MenuItemModifierNullableIri, type MenuItemModifiersQueryParams, type MenuItemNullableIri, type MenuItemPriceOverride, type MenuItemPriceOverrideDetails, type MenuItemPriceOverrideIri, type MenuItemPriceOverrideNullableIri, type MenuItemPriceOverrideSalesPriceIri, type MenuItemPriceOverrideSalesPriceNullableIri, type MenuItemPriceOverridesQueryParams, type MenuItemSalesPriceIri, type MenuItemSalesPriceNullableIri, type MenuItemsQueryParams, type MenuModifierDto, type MenuPriceDto, type MenuPriceOverrideDto, type MenuVersion, UpdateMenuItem, UpdateMenuItemCategory, type UpdateMenuItemCategoryInput, type UpdateMenuItemCategoryResponse, type UpdateMenuItemInput, UpdateMenuItemModifier, type UpdateMenuItemModifierInput, type UpdateMenuItemModifierResponse, UpdateMenuItemPriceOverride, type UpdateMenuItemPriceOverrideInput, type UpdateMenuItemPriceOverrideResponse, type UpdateMenuItemResponse, type WritableMenuItemPriceOverride, createMenuItemCategoryInputSchema, createMenuItemCategoryResponseSchema, createMenuItemInputSchema, createMenuItemModifierInputSchema, createMenuItemModifierResponseSchema, createMenuItemPriceOverrideInputSchema, createMenuItemPriceOverrideResponseSchema, createMenuItemResponseSchema, deleteMenuItemCategoryInputSchema, deleteMenuItemCategoryResponseSchema, deleteMenuItemInputSchema, deleteMenuItemModifierInputSchema, deleteMenuItemModifierResponseSchema, deleteMenuItemPriceOverrideInputSchema, deleteMenuItemPriceOverrideResponseSchema, deleteMenuItemResponseSchema, getMenuItemCategoriesFromPointOfSaleInputSchema, getMenuItemCategoriesFromPointOfSaleQuerySchema, getMenuItemCategoriesFromPointOfSaleResponseSchema, getMenuItemCategoriesInputSchema, getMenuItemCategoriesQuerySchema, getMenuItemCategoriesResponseSchema, getMenuItemCategoryDetailsInputSchema, getMenuItemCategoryDetailsResponseSchema, getMenuItemDetailsInputSchema, getMenuItemDetailsResponseSchema, getMenuItemModifierDetailsInputSchema, getMenuItemModifierDetailsResponseSchema, getMenuItemModifiersInputSchema, getMenuItemModifiersQuerySchema, getMenuItemModifiersResponseSchema, getMenuItemPriceOverrideDetailsInputSchema, getMenuItemPriceOverrideDetailsResponseSchema, getMenuItemPriceOverridesInputSchema, getMenuItemPriceOverridesQuerySchema, getMenuItemPriceOverridesResponseSchema, getMenuItemsFromMenuItemCategoryInputSchema, getMenuItemsFromMenuItemCategoryQuerySchema, getMenuItemsFromMenuItemCategoryResponseSchema, getMenuItemsFromPointOfSaleInputSchema, getMenuItemsFromPointOfSaleQuerySchema, getMenuItemsFromPointOfSaleResponseSchema, getMenuItemsInputSchema, getMenuItemsQuerySchema, getMenuItemsResponseSchema, getMenuVersionDetailsInputSchema, getMenuVersionDetailsResponseSchema, getMenuVersionsInputSchema, getMenuVersionsQuerySchema, getMenuVersionsResponseSchema, localeItemSchema, menuCategoryDtoSchema, menuDtoSchema, menuItemBundleDetailsSchema, menuItemBundleSchema, menuItemCategoriesQuerySchema, menuItemCategoryDetailsSchema, menuItemCategoryIriSchema, menuItemCategoryNullableIriSchema, menuItemCategorySchema, menuItemChoiceDetailsSchema, menuItemChoiceSchema, menuItemDetailsSchema, menuItemDtoSchema, menuItemIriSchema, menuItemItemDetailsSchema, menuItemItemSchema, menuItemModifierDetailsSchema, menuItemModifierIriSchema, menuItemModifierNullableIriSchema, menuItemModifierSchema, menuItemModifiersQuerySchema, menuItemNullableIriSchema, menuItemPriceOverrideDetailsSchema, menuItemPriceOverrideIriSchema, menuItemPriceOverrideNullableIriSchema, menuItemPriceOverrideSalesPriceIriSchema, menuItemPriceOverrideSalesPriceNullableIriSchema, menuItemPriceOverrideSchema, menuItemPriceOverridesQuerySchema, menuItemSalesPriceIriSchema, menuItemSalesPriceNullableIriSchema, menuItemSchema, menuItemsQuerySchema, menuModifierDtoSchema, menuPriceDtoSchema, menuPriceOverrideDtoSchema, menuVersionSchema, salesPriceDTOSchema, updateMenuItemCategoryInputSchema, updateMenuItemCategoryResponseSchema, updateMenuItemInputSchema, updateMenuItemModifierInputSchema, updateMenuItemModifierResponseSchema, updateMenuItemPriceOverrideInputSchema, updateMenuItemPriceOverrideResponseSchema, updateMenuItemResponseSchema, writableMenuItemCategorySchema, writableMenuItemModifierSchema, writableMenuItemPriceOverridePartialSchema, writableMenuItemPriceOverrideSchema, writableMenuItemSchema };
|