@compassdigital/sdk.typescript 3.77.0 → 4.0.0

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.
Files changed (78) hide show
  1. package/lib/index.d.ts +103 -81
  2. package/lib/index.d.ts.map +1 -1
  3. package/lib/index.js +90 -63
  4. package/lib/index.js.map +1 -1
  5. package/lib/interface/ai.d.ts +50 -0
  6. package/lib/interface/ai.d.ts.map +1 -0
  7. package/lib/interface/ai.js +5 -0
  8. package/lib/interface/ai.js.map +1 -0
  9. package/lib/interface/calendar.d.ts +1 -1
  10. package/lib/interface/datalake.d.ts +3 -3
  11. package/lib/interface/datalake.d.ts.map +1 -1
  12. package/lib/interface/delivery.d.ts +2 -2
  13. package/lib/interface/delivery.d.ts.map +1 -1
  14. package/lib/interface/file.d.ts +1 -1
  15. package/lib/interface/file.d.ts.map +1 -1
  16. package/lib/interface/frictionless.d.ts +24 -24
  17. package/lib/interface/frictionless.d.ts.map +1 -1
  18. package/lib/interface/location.d.ts +23 -14
  19. package/lib/interface/location.d.ts.map +1 -1
  20. package/lib/interface/location.js +12 -0
  21. package/lib/interface/location.js.map +1 -1
  22. package/lib/interface/mealplan.d.ts +6 -5
  23. package/lib/interface/mealplan.d.ts.map +1 -1
  24. package/lib/interface/menu.d.ts +585 -492
  25. package/lib/interface/menu.d.ts.map +1 -1
  26. package/lib/interface/menu.js +6 -0
  27. package/lib/interface/menu.js.map +1 -1
  28. package/lib/interface/notification.d.ts +2 -2
  29. package/lib/interface/notification.d.ts.map +1 -1
  30. package/lib/interface/order.d.ts +6 -6
  31. package/lib/interface/order.d.ts.map +1 -1
  32. package/lib/interface/partner.d.ts +11 -6
  33. package/lib/interface/partner.d.ts.map +1 -1
  34. package/lib/interface/partner.js +6 -0
  35. package/lib/interface/partner.js.map +1 -1
  36. package/lib/interface/payment.d.ts +4 -4
  37. package/lib/interface/payment.d.ts.map +1 -1
  38. package/lib/interface/payment.js +1 -1
  39. package/lib/interface/payment.js.map +1 -1
  40. package/lib/interface/promo.d.ts +13 -6
  41. package/lib/interface/promo.d.ts.map +1 -1
  42. package/lib/interface/promo.js +8 -0
  43. package/lib/interface/promo.js.map +1 -1
  44. package/lib/interface/report.d.ts +8 -8
  45. package/lib/interface/report.d.ts.map +1 -1
  46. package/lib/interface/shoppingcart.d.ts +14 -9
  47. package/lib/interface/shoppingcart.d.ts.map +1 -1
  48. package/lib/interface/shoppingcart.js +5 -0
  49. package/lib/interface/shoppingcart.js.map +1 -1
  50. package/lib/interface/task.d.ts +14 -14
  51. package/lib/interface/task.d.ts.map +1 -1
  52. package/lib/interface/user.d.ts +16 -21
  53. package/lib/interface/user.d.ts.map +1 -1
  54. package/lib/interface/vendor.d.ts +5 -5
  55. package/lib/interface/vendor.d.ts.map +1 -1
  56. package/manifest.json +4 -0
  57. package/package.json +2 -2
  58. package/src/index.ts +248 -193
  59. package/src/interface/ai.ts +72 -0
  60. package/src/interface/announcement.ts +1 -1
  61. package/src/interface/calendar.ts +1 -1
  62. package/src/interface/datalake.ts +5 -3
  63. package/src/interface/delivery.ts +15 -2
  64. package/src/interface/file.ts +1 -1
  65. package/src/interface/frictionless.ts +30 -36
  66. package/src/interface/location.ts +28 -20
  67. package/src/interface/mealplan.ts +8 -6
  68. package/src/interface/menu.ts +671 -574
  69. package/src/interface/notification.ts +2 -2
  70. package/src/interface/order.ts +23 -12
  71. package/src/interface/partner.ts +10 -6
  72. package/src/interface/payment.ts +5 -5
  73. package/src/interface/promo.ts +12 -6
  74. package/src/interface/report.ts +8 -8
  75. package/src/interface/shoppingcart.ts +14 -9
  76. package/src/interface/task.ts +26 -14
  77. package/src/interface/user.ts +21 -27
  78. package/src/interface/vendor.ts +5 -5
@@ -283,7 +283,11 @@ export interface Error {
283
283
  data?: any;
284
284
  }
285
285
 
286
- export type AmountOffExclusionTypes = string;
286
+ enum AmountOffExclusionTypes {
287
+ LOYALTY = "loyalty",
288
+ DISCOUNT = "discount",
289
+ PROMO = "promo",
290
+ }
287
291
 
288
292
  export interface Menus {
289
293
  menus?: Menu[];
@@ -312,6 +316,7 @@ export interface ZippedExcelExport {
312
316
  export interface GlobalMenuGroupDTO {
313
317
  name?: string;
314
318
  is_active?: boolean;
319
+ posid_segment?: string;
315
320
  id?: string;
316
321
  permissions?: any;
317
322
  [index: string]: any;
@@ -322,10 +327,11 @@ export interface DraftBrandDTO {
322
327
  name?: string;
323
328
  description?: string;
324
329
  is_active?: boolean;
325
- type?: string;
330
+ type?: "global" | "local";
326
331
  parent_id?: string;
327
332
  local_menu_group_id?: string;
328
333
  global_menu_group_id?: string;
334
+ posid_segment?: string;
329
335
  permissions?: any;
330
336
  [index: string]: any;
331
337
  }
@@ -335,10 +341,11 @@ export interface PublishedBrandDTO {
335
341
  name?: string;
336
342
  description?: string;
337
343
  is_active?: boolean;
338
- type?: string;
344
+ type?: "global" | "local";
339
345
  parent_id?: string;
340
346
  local_menu_group_id?: string;
341
347
  global_menu_group_id?: string;
348
+ posid_segment?: string;
342
349
  permissions?: any;
343
350
  [index: string]: any;
344
351
  }
@@ -423,9 +430,9 @@ export interface PaginationOptionsDTO {
423
430
  page?: number;
424
431
  // A field to sort the results based on
425
432
  sort_by?: string;
426
- sort_order?: string;
433
+ sort_order?: "DESC" | "ASC";
427
434
  // How soft deleted records should be shown in the list
428
- soft_deleted?: string;
435
+ soft_deleted?: "include" | "exclude" | "only";
429
436
  [index: string]: any;
430
437
  }
431
438
 
@@ -440,9 +447,9 @@ export interface ListResponseMetadataDTO {
440
447
  page?: number;
441
448
  // A field to sort the results based on
442
449
  sort_by?: string;
443
- sort_order?: string;
450
+ sort_order?: "DESC" | "ASC";
444
451
  // How soft deleted records should be shown in the list
445
- soft_deleted?: string;
452
+ soft_deleted?: "include" | "exclude" | "only";
446
453
  [index: string]: any;
447
454
  }
448
455
 
@@ -470,6 +477,7 @@ export interface DraftBrandDraftBrandDTO {
470
477
  parent_id?: FilterFieldDTO;
471
478
  local_menu_group_id?: FilterFieldDTO;
472
479
  global_menu_group_id?: FilterFieldDTO;
480
+ posid_segment?: FilterFieldDTO;
473
481
  id?: FilterFieldDTO;
474
482
  version?: FilterFieldDTO;
475
483
  created_at?: FilterFieldDTO;
@@ -480,8 +488,7 @@ export interface DraftBrandDraftBrandDTO {
480
488
  changes?: BrandChangeDTO[];
481
489
  local_menu_group?: LocalMenuGroupDTO;
482
490
  global_menu_group?: GlobalMenuGroupDTO;
483
- posid_segment?: POSIDSegmentDTO;
484
- menus?: any[];
491
+ menus?: DraftMenuDTO[];
485
492
  categories?: any[];
486
493
  category_to_item_relationships?: any[];
487
494
  items?: any[];
@@ -506,108 +513,72 @@ export interface BrandChangeDTO {
506
513
  [index: string]: any;
507
514
  }
508
515
 
509
- export interface POSIDSegmentDTO {
510
- value?: FilterFieldDTO;
511
- modifier_id?: string;
512
- published_modifier?: PublishedModifierDTO;
513
- draft_modifier?: DraftModifierDTO;
514
- item_id?: string;
515
- published_item?: any;
516
- draft_item?: any;
517
- brand_id?: string;
518
- published_brand?: PublishedBrandDTO;
519
- draft_brand?: any;
520
- global_menu_group_id?: string;
521
- global_menu_group?: GlobalMenuGroupDTO;
522
- id?: string;
523
- permissions?: FilterFieldDTO;
524
- [index: string]: any;
525
- }
526
-
527
- export interface PublishedModifierDTO {
516
+ export interface DraftMenuDTO {
528
517
  parent?: any;
529
518
  children?: any[];
530
- posid_segment?: any;
531
- modifier_groups?: PublishedModifierGroupToModifierRelationshipDTO[];
519
+ categories?: DraftCategoryDTO[];
532
520
  id?: string;
533
521
  parent_id?: string;
534
522
  name?: string;
535
- label?: string;
536
- description?: string;
537
- price?: number;
538
- calories?: number;
539
- tax_tags?: FilterFieldDTO[];
540
- is_active?: boolean;
541
- posid?: FilterFieldDTO;
542
- reporting?: any;
543
523
  brand_id?: string;
544
- brand?: PublishedBrandDTO;
545
- weight?: any;
546
- permissions?: FilterFieldDTO;
547
- [index: string]: any;
548
- }
549
-
550
- export interface PublishedModifierGroupToModifierRelationshipDTO {
551
- parent?: any;
552
- children?: any[];
553
- id?: string;
554
- parent_id?: string;
555
- modifier_id?: string;
556
- modifier_group_id?: string;
557
- brand_id?: FilterFieldDTO;
558
- sequence?: number;
559
- modifier_group?: PublishedModifierGroupDTO;
560
- modifier?: any;
561
- brand?: PublishedBrandDTO;
524
+ applied_diff_snapshot?: FilterFieldDTO;
525
+ brand?: any;
526
+ changes?: MenuChangeDTO[];
527
+ vendor_metadata?: VendorMetadataDTO[];
562
528
  permissions?: FilterFieldDTO;
563
529
  [index: string]: any;
564
530
  }
565
531
 
566
- export interface PublishedModifierGroupDTO {
532
+ export interface DraftCategoryDTO {
567
533
  parent?: any;
568
534
  children?: any[];
569
- modifiers?: any[];
570
- items?: PublishedItemToModifierGroupRelationshipDTO[];
571
535
  id?: string;
572
536
  parent_id?: string;
573
537
  name?: string;
574
538
  label?: string;
575
- min?: number;
576
- max?: number;
539
+ sequence?: number;
577
540
  is_active?: boolean;
578
541
  brand_id?: string;
579
- brand?: PublishedBrandDTO;
542
+ menu_id?: string;
543
+ applied_diff_snapshot?: FilterFieldDTO;
544
+ menu?: any;
545
+ items?: DraftCategoryToItemRelationshipDTO[];
546
+ brand?: any;
547
+ changes?: CategoryChangeDTO[];
548
+ vendor_metadata?: VendorMetadataDTO[];
580
549
  permissions?: FilterFieldDTO;
581
550
  [index: string]: any;
582
551
  }
583
552
 
584
- export interface PublishedItemToModifierGroupRelationshipDTO {
553
+ export interface DraftCategoryToItemRelationshipDTO {
585
554
  parent?: any;
586
555
  children?: any[];
587
556
  id?: string;
588
557
  parent_id?: string;
589
- modifier_group_id?: string;
590
558
  item_id?: string;
559
+ category_id?: string;
591
560
  brand_id?: FilterFieldDTO;
592
561
  sequence?: number;
593
- item?: PublishedItemDTO;
594
- modifier_group?: any;
595
- brand?: PublishedBrandDTO;
562
+ applied_diff_snapshot?: FilterFieldDTO;
563
+ category?: any;
564
+ item?: DraftItemDTO;
565
+ brand?: any;
566
+ changes?: CategoryToItemRelationshipChangeDTO[];
567
+ vendor_metadata?: VendorMetadataDTO[];
596
568
  permissions?: FilterFieldDTO;
597
569
  [index: string]: any;
598
570
  }
599
571
 
600
- export interface PublishedItemDTO {
572
+ export interface DraftItemDTO {
601
573
  parent?: any;
602
574
  children?: any[];
603
- posid_segment?: any;
604
- modifier_groups?: any[];
575
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
605
576
  id?: string;
606
577
  parent_id?: string;
607
578
  name?: string;
608
579
  label?: string;
609
580
  description?: string;
610
- reporting?: ReportingMetadataDTO;
581
+ reporting?: any;
611
582
  price?: number;
612
583
  barcode?: string;
613
584
  calories?: number;
@@ -616,127 +587,32 @@ export interface PublishedItemDTO {
616
587
  tax_tags?: FilterFieldDTO[];
617
588
  brand_id?: string;
618
589
  line_route?: FilterFieldDTO;
619
- brand?: PublishedBrandDTO;
620
- categories?: PublishedCategoryToItemRelationshipDTO[];
621
- attachments?: FileAttachmentsDTO;
622
- weight?: WeightDTO;
623
- permissions?: FilterFieldDTO;
624
- [index: string]: any;
625
- }
626
-
627
- export interface PublishedCategoryToItemRelationshipDTO {
628
- parent?: any;
629
- children?: any[];
630
- id?: string;
631
- parent_id?: string;
632
- item_id?: string;
633
- category_id?: string;
634
- brand_id?: FilterFieldDTO;
635
- sequence?: number;
636
- category?: PublishedCategoryDTO;
637
- item?: any;
638
- brand?: PublishedBrandDTO;
639
- permissions?: FilterFieldDTO;
640
- [index: string]: any;
641
- }
642
-
643
- export interface PublishedCategoryDTO {
644
- parent?: any;
645
- children?: any[];
646
- id?: string;
647
- parent_id?: string;
648
- name?: string;
649
- label?: string;
650
- sequence?: number;
651
- is_active?: boolean;
652
- brand_id?: string;
653
- menu_id?: string;
654
- menu?: PublishedMenuDTO;
655
- items?: any[];
656
- brand?: PublishedBrandDTO;
657
- permissions?: FilterFieldDTO;
658
- [index: string]: any;
659
- }
660
-
661
- export interface PublishedMenuDTO {
662
- parent?: any;
663
- children?: any[];
664
- categories?: any[];
665
- id?: string;
666
- parent_id?: string;
667
- name?: string;
668
- brand_id?: string;
669
- brand?: PublishedBrandDTO;
670
- permissions?: FilterFieldDTO;
671
- [index: string]: any;
672
- }
673
-
674
- export interface ReportingMetadataDTO {
675
- category?: ReportingCategoryMetadataDTO;
676
- id?: any;
677
- [index: string]: any;
678
- }
679
-
680
- export interface ReportingCategoryMetadataDTO {
681
- primary?: string;
682
- secondary?: FilterFieldDTO;
683
- id?: any;
684
- [index: string]: any;
685
- }
686
-
687
- export interface FileAttachmentsDTO {
688
- thumbnail?: FilterFieldDTO;
689
- id?: any;
690
- [index: string]: any;
691
- }
692
-
693
- export interface WeightDTO {
694
- unit?: FilterFieldDTO;
695
- amount?: FilterFieldDTO;
696
- id?: any;
697
- [index: string]: any;
698
- }
699
-
700
- export interface DraftModifierDTO {
701
- parent?: any;
702
- children?: any[];
703
- posid_segment?: any;
704
- modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
705
- id?: string;
706
- parent_id?: string;
707
- name?: string;
708
- label?: string;
709
- description?: string;
710
- price?: number;
711
- calories?: number;
712
- tax_tags?: FilterFieldDTO[];
713
- is_active?: boolean;
714
- posid?: FilterFieldDTO;
715
- reporting?: any;
716
- brand_id?: string;
590
+ posid_segment?: FilterFieldDTO;
717
591
  applied_diff_snapshot?: FilterFieldDTO;
718
592
  brand?: any;
719
- changes?: ModifierChangeDTO[];
593
+ categories?: any[];
594
+ changes?: ItemChangeDTO[];
720
595
  vendor_metadata?: VendorMetadataDTO[];
596
+ attachments?: FileAttachmentsDTO;
721
597
  weight?: any;
722
598
  permissions?: FilterFieldDTO;
723
599
  [index: string]: any;
724
600
  }
725
601
 
726
- export interface DraftModifierGroupToModifierRelationshipDTO {
602
+ export interface DraftItemToModifierGroupRelationshipDTO {
727
603
  parent?: any;
728
604
  children?: any[];
729
605
  id?: string;
730
606
  parent_id?: string;
731
- modifier_id?: string;
732
607
  modifier_group_id?: string;
608
+ item_id?: string;
733
609
  brand_id?: FilterFieldDTO;
734
610
  sequence?: number;
735
611
  applied_diff_snapshot?: FilterFieldDTO;
736
- modifier?: any;
612
+ item?: any;
737
613
  modifier_group?: DraftModifierGroupDTO;
738
614
  brand?: any;
739
- changes?: ModifierGroupToModifierRelationshipChangeDTO[];
615
+ changes?: ItemToModifierGroupRelationshipChangeDTO[];
740
616
  vendor_metadata?: VendorMetadataDTO[];
741
617
  permissions?: FilterFieldDTO;
742
618
  [index: string]: any;
@@ -745,8 +621,8 @@ export interface DraftModifierGroupToModifierRelationshipDTO {
745
621
  export interface DraftModifierGroupDTO {
746
622
  parent?: any;
747
623
  children?: any[];
748
- modifiers?: any[];
749
- items?: DraftItemToModifierGroupRelationshipDTO[];
624
+ modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
625
+ items?: any[];
750
626
  id?: string;
751
627
  parent_id?: string;
752
628
  name?: string;
@@ -763,112 +639,82 @@ export interface DraftModifierGroupDTO {
763
639
  [index: string]: any;
764
640
  }
765
641
 
766
- export interface DraftItemToModifierGroupRelationshipDTO {
642
+ export interface DraftModifierGroupToModifierRelationshipDTO {
767
643
  parent?: any;
768
644
  children?: any[];
769
645
  id?: string;
770
646
  parent_id?: string;
647
+ modifier_id?: string;
771
648
  modifier_group_id?: string;
772
- item_id?: string;
773
649
  brand_id?: FilterFieldDTO;
774
650
  sequence?: number;
775
651
  applied_diff_snapshot?: FilterFieldDTO;
776
- item?: DraftItemDTO;
652
+ modifier?: DraftModifierDTO;
777
653
  modifier_group?: any;
778
654
  brand?: any;
779
- changes?: ItemToModifierGroupRelationshipChangeDTO[];
655
+ changes?: ModifierGroupToModifierRelationshipChangeDTO[];
780
656
  vendor_metadata?: VendorMetadataDTO[];
781
657
  permissions?: FilterFieldDTO;
782
658
  [index: string]: any;
783
659
  }
784
660
 
785
- export interface DraftItemDTO {
661
+ export interface DraftModifierDTO {
786
662
  parent?: any;
787
663
  children?: any[];
788
- posid_segment?: any;
789
664
  modifier_groups?: any[];
790
665
  id?: string;
791
666
  parent_id?: string;
792
667
  name?: string;
793
668
  label?: string;
794
669
  description?: string;
795
- reporting?: any;
796
670
  price?: number;
797
- barcode?: string;
798
671
  calories?: number;
672
+ tax_tags?: FilterFieldDTO[];
799
673
  is_active?: boolean;
800
674
  posid?: FilterFieldDTO;
801
- tax_tags?: FilterFieldDTO[];
675
+ reporting?: ReportingMetadataDTO;
676
+ posid_segment?: FilterFieldDTO;
802
677
  brand_id?: string;
803
- line_route?: FilterFieldDTO;
804
678
  applied_diff_snapshot?: FilterFieldDTO;
805
679
  brand?: any;
806
- categories?: DraftCategoryToItemRelationshipDTO[];
807
- changes?: ItemChangeDTO[];
680
+ changes?: ModifierChangeDTO[];
808
681
  vendor_metadata?: VendorMetadataDTO[];
809
- attachments?: any;
810
- weight?: any;
682
+ weight?: WeightDTO;
811
683
  permissions?: FilterFieldDTO;
812
684
  [index: string]: any;
813
685
  }
814
686
 
815
- export interface DraftCategoryToItemRelationshipDTO {
816
- parent?: any;
817
- children?: any[];
687
+ export interface ModifierChangeDTO {
818
688
  id?: string;
819
- parent_id?: string;
820
- item_id?: string;
821
- category_id?: string;
822
- brand_id?: FilterFieldDTO;
823
- sequence?: number;
824
- applied_diff_snapshot?: FilterFieldDTO;
825
- category?: DraftCategoryDTO;
826
- item?: any;
827
- brand?: any;
828
- changes?: CategoryToItemRelationshipChangeDTO[];
829
- vendor_metadata?: VendorMetadataDTO[];
689
+ insert?: FilterFieldDTO;
690
+ delete?: FilterFieldDTO;
691
+ snapshot_entity_id?: FilterFieldDTO;
692
+ snapshot_entity?: any;
830
693
  permissions?: FilterFieldDTO;
831
694
  [index: string]: any;
832
695
  }
833
696
 
834
- export interface DraftCategoryDTO {
835
- parent?: any;
836
- children?: any[];
837
- id?: string;
838
- parent_id?: string;
839
- name?: string;
840
- label?: string;
841
- sequence?: number;
842
- is_active?: boolean;
843
- brand_id?: string;
844
- menu_id?: string;
845
- applied_diff_snapshot?: FilterFieldDTO;
846
- menu?: DraftMenuDTO;
847
- items?: any[];
848
- brand?: any;
849
- changes?: CategoryChangeDTO[];
850
- vendor_metadata?: VendorMetadataDTO[];
851
- permissions?: FilterFieldDTO;
697
+ export interface ReportingMetadataDTO {
698
+ category?: ReportingCategoryMetadataDTO;
699
+ id?: any;
852
700
  [index: string]: any;
853
701
  }
854
702
 
855
- export interface DraftMenuDTO {
856
- parent?: any;
857
- children?: any[];
858
- categories?: any[];
859
- id?: string;
860
- parent_id?: string;
861
- name?: string;
862
- brand_id?: string;
863
- applied_diff_snapshot?: FilterFieldDTO;
864
- brand?: any;
865
- changes?: MenuChangeDTO[];
866
- vendor_metadata?: VendorMetadataDTO[];
867
- permissions?: FilterFieldDTO;
703
+ export interface ReportingCategoryMetadataDTO {
704
+ primary?: "Food" | "Beverage" | "Sundry" | "Alcohol" | "Snack";
705
+ secondary?: FilterFieldDTO;
706
+ id?: any;
868
707
  [index: string]: any;
869
708
  }
870
709
 
871
- export interface MenuChangeDTO {
710
+ export interface WeightDTO {
711
+ unit?: FilterFieldDTO;
712
+ amount?: FilterFieldDTO;
713
+ id?: any;
714
+ [index: string]: any;
715
+ }
716
+
717
+ export interface ModifierGroupToModifierRelationshipChangeDTO {
872
718
  id?: string;
873
719
  insert?: FilterFieldDTO;
874
720
  delete?: FilterFieldDTO;
@@ -878,7 +724,7 @@ export interface MenuChangeDTO {
878
724
  [index: string]: any;
879
725
  }
880
726
 
881
- export interface CategoryChangeDTO {
727
+ export interface ModifierGroupChangeDTO {
882
728
  id?: string;
883
729
  insert?: FilterFieldDTO;
884
730
  delete?: FilterFieldDTO;
@@ -888,7 +734,7 @@ export interface CategoryChangeDTO {
888
734
  [index: string]: any;
889
735
  }
890
736
 
891
- export interface CategoryToItemRelationshipChangeDTO {
737
+ export interface ItemToModifierGroupRelationshipChangeDTO {
892
738
  id?: string;
893
739
  insert?: FilterFieldDTO;
894
740
  delete?: FilterFieldDTO;
@@ -908,17 +754,13 @@ export interface ItemChangeDTO {
908
754
  [index: string]: any;
909
755
  }
910
756
 
911
- export interface ItemToModifierGroupRelationshipChangeDTO {
912
- id?: string;
913
- insert?: FilterFieldDTO;
914
- delete?: FilterFieldDTO;
915
- snapshot_entity_id?: FilterFieldDTO;
916
- snapshot_entity?: any;
917
- permissions?: FilterFieldDTO;
757
+ export interface FileAttachmentsDTO {
758
+ thumbnail?: FilterFieldDTO;
759
+ id?: any;
918
760
  [index: string]: any;
919
761
  }
920
762
 
921
- export interface ModifierGroupChangeDTO {
763
+ export interface CategoryToItemRelationshipChangeDTO {
922
764
  id?: string;
923
765
  insert?: FilterFieldDTO;
924
766
  delete?: FilterFieldDTO;
@@ -928,7 +770,7 @@ export interface ModifierGroupChangeDTO {
928
770
  [index: string]: any;
929
771
  }
930
772
 
931
- export interface ModifierGroupToModifierRelationshipChangeDTO {
773
+ export interface CategoryChangeDTO {
932
774
  id?: string;
933
775
  insert?: FilterFieldDTO;
934
776
  delete?: FilterFieldDTO;
@@ -938,7 +780,7 @@ export interface ModifierGroupToModifierRelationshipChangeDTO {
938
780
  [index: string]: any;
939
781
  }
940
782
 
941
- export interface ModifierChangeDTO {
783
+ export interface MenuChangeDTO {
942
784
  id?: string;
943
785
  insert?: FilterFieldDTO;
944
786
  delete?: FilterFieldDTO;
@@ -989,6 +831,7 @@ export interface DraftModifierDraftModifierDTO {
989
831
  tax_tags?: FilterFieldDTO[];
990
832
  is_active?: FilterFieldDTO;
991
833
  posid?: FilterFieldDTO;
834
+ posid_segment?: FilterFieldDTO;
992
835
  brand_id?: FilterFieldDTO;
993
836
  id?: FilterFieldDTO;
994
837
  version?: FilterFieldDTO;
@@ -997,7 +840,6 @@ export interface DraftModifierDraftModifierDTO {
997
840
  deleted_at?: FilterFieldDTO;
998
841
  parent?: any;
999
842
  children?: any[];
1000
- posid_segment?: POSIDSegmentDTO;
1001
843
  modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
1002
844
  brand?: DraftBrandDTO;
1003
845
  changes?: ModifierChangeDTO[];
@@ -1047,6 +889,7 @@ export interface DraftItemDraftItemDTO {
1047
889
  tax_tags?: FilterFieldDTO[];
1048
890
  brand_id?: FilterFieldDTO;
1049
891
  line_route?: FilterFieldDTO;
892
+ posid_segment?: FilterFieldDTO;
1050
893
  id?: FilterFieldDTO;
1051
894
  version?: FilterFieldDTO;
1052
895
  created_at?: FilterFieldDTO;
@@ -1054,7 +897,6 @@ export interface DraftItemDraftItemDTO {
1054
897
  deleted_at?: FilterFieldDTO;
1055
898
  parent?: any;
1056
899
  children?: any[];
1057
- posid_segment?: POSIDSegmentDTO;
1058
900
  brand?: DraftBrandDTO;
1059
901
  categories?: DraftCategoryToItemRelationshipDTO[];
1060
902
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
@@ -1072,65 +914,169 @@ export interface ReportingCategorySuggestion {
1072
914
  occurrences?: number;
1073
915
  }
1074
916
 
1075
- export interface GlobalDiffDependencyDTO {
1076
- depends_on_id?: string;
1077
- is_depended_by_id?: string;
917
+ export interface GlobalDiffDependencyDTO {
918
+ depends_on_id?: string;
919
+ is_depended_by_id?: string;
920
+ id?: string;
921
+ depends_on?: GlobalDiffGlobalDiffDTO;
922
+ is_depended_by?: any;
923
+ permissions?: FilterFieldDTO;
924
+ [index: string]: any;
925
+ }
926
+
927
+ export interface GlobalDiffGlobalDiffDTO {
928
+ action?: FilterFieldDTO;
929
+ entity_type?: FilterFieldDTO;
930
+ local_id?: FilterFieldDTO;
931
+ changes?: FilterFieldDTO;
932
+ local_changes?: FilterFieldDTO;
933
+ local_snapshot?: FilterFieldDTO;
934
+ global_id?: FilterFieldDTO;
935
+ global_snapshot?: FilterFieldDTO;
936
+ brand_id?: FilterFieldDTO;
937
+ id?: FilterFieldDTO;
938
+ version?: FilterFieldDTO;
939
+ created_at?: FilterFieldDTO;
940
+ updated_at?: FilterFieldDTO;
941
+ deleted_at?: FilterFieldDTO;
942
+ depends_on?: any[];
943
+ is_depended_by?: any[];
944
+ brand?: DraftBrandDTO;
945
+ permissions?: FilterFieldDTO;
946
+ [index: string]: any;
947
+ }
948
+
949
+ export interface DiffDTO {
950
+ action: "create" | "update" | "delete";
951
+ id?: string;
952
+ created_at?: string;
953
+ updated_at?: string;
954
+ deleted_at?: string;
955
+ child_nodes?: any[];
956
+ name?: string;
957
+ entity_type?: string;
958
+ local_id?: string;
959
+ changes?: any;
960
+ local_changes?: any;
961
+ local_snapshot?: any;
962
+ global_id?: string;
963
+ global_snapshot?: any;
964
+ brand_id?: string;
965
+ version?: number;
966
+ depends_on?: GlobalDiffDependencyDTO[];
967
+ is_depended_by?: GlobalDiffDependencyDTO[];
968
+ brand?: DraftBrandDTO;
969
+ permissions?: any;
970
+ [index: string]: any;
971
+ }
972
+
973
+ export interface ApplyDiffDTO {
974
+ overwrite?: boolean;
975
+ id: string;
976
+ [index: string]: any;
977
+ }
978
+
979
+ export interface PublishedMenuDTO {
980
+ id?: string;
981
+ parent_id?: string;
982
+ name?: string;
983
+ brand_id?: string;
984
+ permissions?: any;
985
+ [index: string]: any;
986
+ }
987
+
988
+ export interface PublishedCategoryDTO {
989
+ id?: string;
990
+ parent_id?: string;
991
+ name?: string;
992
+ label?: string;
993
+ sequence?: number;
994
+ is_active?: boolean;
995
+ brand_id?: string;
996
+ menu_id?: string;
997
+ permissions?: any;
998
+ [index: string]: any;
999
+ }
1000
+
1001
+ export interface PublishedCategoryToItemRelationshipDTO {
1002
+ id?: string;
1003
+ parent_id?: string;
1004
+ item_id?: string;
1005
+ category_id?: string;
1006
+ brand_id?: string;
1007
+ sequence?: number;
1008
+ permissions?: any;
1009
+ [index: string]: any;
1010
+ }
1011
+
1012
+ export interface PublishedItemDTO {
1078
1013
  id?: string;
1079
- depends_on?: GlobalDiffGlobalDiffDTO;
1080
- is_depended_by?: any;
1081
- permissions?: FilterFieldDTO;
1014
+ parent_id?: string;
1015
+ name?: string;
1016
+ label?: string;
1017
+ description?: string;
1018
+ price?: number;
1019
+ barcode?: string;
1020
+ calories?: number;
1021
+ is_active?: boolean;
1022
+ posid?: string;
1023
+ tax_tags?: any[];
1024
+ brand_id?: string;
1025
+ line_route?: string;
1026
+ posid_segment?: string;
1027
+ permissions?: any;
1082
1028
  [index: string]: any;
1083
1029
  }
1084
1030
 
1085
- export interface GlobalDiffGlobalDiffDTO {
1086
- action?: FilterFieldDTO;
1087
- entity_type?: FilterFieldDTO;
1088
- local_id?: FilterFieldDTO;
1089
- changes?: FilterFieldDTO;
1090
- local_changes?: FilterFieldDTO;
1091
- local_snapshot?: FilterFieldDTO;
1092
- global_id?: FilterFieldDTO;
1093
- global_snapshot?: FilterFieldDTO;
1094
- brand_id?: FilterFieldDTO;
1095
- id?: FilterFieldDTO;
1096
- version?: FilterFieldDTO;
1097
- created_at?: FilterFieldDTO;
1098
- updated_at?: FilterFieldDTO;
1099
- deleted_at?: FilterFieldDTO;
1100
- depends_on?: any[];
1101
- is_depended_by?: any[];
1102
- brand?: DraftBrandDTO;
1103
- permissions?: FilterFieldDTO;
1031
+ export interface PublishedItemToModifierGroupRelationshipDTO {
1032
+ id?: string;
1033
+ parent_id?: string;
1034
+ modifier_group_id?: string;
1035
+ item_id?: string;
1036
+ brand_id?: string;
1037
+ sequence?: number;
1038
+ permissions?: any;
1104
1039
  [index: string]: any;
1105
1040
  }
1106
1041
 
1107
- export interface DiffDTO {
1108
- action: string;
1042
+ export interface PublishedModifierGroupDTO {
1109
1043
  id?: string;
1110
- created_at?: string;
1111
- updated_at?: string;
1112
- deleted_at?: string;
1113
- child_nodes?: any[];
1044
+ parent_id?: string;
1114
1045
  name?: string;
1115
- entity_type?: string;
1116
- local_id?: string;
1117
- changes?: any;
1118
- local_changes?: any;
1119
- local_snapshot?: any;
1120
- global_id?: string;
1121
- global_snapshot?: any;
1046
+ label?: string;
1047
+ min?: number;
1048
+ max?: number;
1049
+ is_active?: boolean;
1122
1050
  brand_id?: string;
1123
- version?: number;
1124
- depends_on?: GlobalDiffDependencyDTO[];
1125
- is_depended_by?: GlobalDiffDependencyDTO[];
1126
- brand?: DraftBrandDTO;
1127
1051
  permissions?: any;
1128
1052
  [index: string]: any;
1129
1053
  }
1130
1054
 
1131
- export interface ApplyDiffDTO {
1132
- overwrite?: boolean;
1133
- id: string;
1055
+ export interface PublishedModifierGroupToModifierRelationshipDTO {
1056
+ id?: string;
1057
+ parent_id?: string;
1058
+ modifier_id?: string;
1059
+ modifier_group_id?: string;
1060
+ brand_id?: string;
1061
+ sequence?: number;
1062
+ permissions?: any;
1063
+ [index: string]: any;
1064
+ }
1065
+
1066
+ export interface PublishedModifierDTO {
1067
+ id?: string;
1068
+ parent_id?: string;
1069
+ name?: string;
1070
+ label?: string;
1071
+ description?: string;
1072
+ price?: number;
1073
+ calories?: number;
1074
+ tax_tags?: any[];
1075
+ is_active?: boolean;
1076
+ posid?: string;
1077
+ posid_segment?: string;
1078
+ brand_id?: string;
1079
+ permissions?: any;
1134
1080
  [index: string]: any;
1135
1081
  }
1136
1082
 
@@ -1142,6 +1088,7 @@ export interface PublishedBrandPublishedBrandDTO {
1142
1088
  parent_id?: FilterFieldDTO;
1143
1089
  local_menu_group_id?: FilterFieldDTO;
1144
1090
  global_menu_group_id?: FilterFieldDTO;
1091
+ posid_segment?: FilterFieldDTO;
1145
1092
  id?: FilterFieldDTO;
1146
1093
  version?: FilterFieldDTO;
1147
1094
  created_at?: FilterFieldDTO;
@@ -1151,7 +1098,6 @@ export interface PublishedBrandPublishedBrandDTO {
1151
1098
  children?: any[];
1152
1099
  local_menu_group?: LocalMenuGroupDTO;
1153
1100
  global_menu_group?: GlobalMenuGroupDTO;
1154
- posid_segment?: POSIDSegmentDTO;
1155
1101
  menus?: PublishedMenuDTO[];
1156
1102
  categories?: PublishedCategoryDTO[];
1157
1103
  category_to_item_relationships?: PublishedCategoryToItemRelationshipDTO[];
@@ -1275,7 +1221,6 @@ export interface PublishedCategoryToItemRelationshipPublishedCategoryToItemRelat
1275
1221
  export interface DraftItemEntityDTO {
1276
1222
  parent?: DraftItemDTO;
1277
1223
  children?: DraftItemDTO[];
1278
- posid_segment?: POSIDSegmentDTO;
1279
1224
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
1280
1225
  id?: string;
1281
1226
  created_at?: string;
@@ -1294,6 +1239,7 @@ export interface DraftItemEntityDTO {
1294
1239
  tax_tags?: any[];
1295
1240
  brand_id: string;
1296
1241
  line_route?: string;
1242
+ posid_segment?: string;
1297
1243
  applied_diff_snapshot?: any;
1298
1244
  version?: number;
1299
1245
  brand?: DraftBrandDTO;
@@ -1319,6 +1265,7 @@ export interface PublishedItemPublishedItemDTO {
1319
1265
  tax_tags?: FilterFieldDTO[];
1320
1266
  brand_id?: FilterFieldDTO;
1321
1267
  line_route?: FilterFieldDTO;
1268
+ posid_segment?: FilterFieldDTO;
1322
1269
  id?: FilterFieldDTO;
1323
1270
  version?: FilterFieldDTO;
1324
1271
  created_at?: FilterFieldDTO;
@@ -1326,7 +1273,6 @@ export interface PublishedItemPublishedItemDTO {
1326
1273
  deleted_at?: FilterFieldDTO;
1327
1274
  parent?: any;
1328
1275
  children?: any[];
1329
- posid_segment?: POSIDSegmentDTO;
1330
1276
  brand?: PublishedBrandDTO;
1331
1277
  categories?: PublishedCategoryToItemRelationshipDTO[];
1332
1278
  modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
@@ -1448,7 +1394,6 @@ export interface PublishedModifierGroupToModifierRelationshipPublishedModifierGr
1448
1394
  export interface DraftModifierEntityDTO {
1449
1395
  parent?: DraftModifierDTO;
1450
1396
  children?: DraftModifierDTO[];
1451
- posid_segment?: POSIDSegmentDTO;
1452
1397
  modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
1453
1398
  id?: string;
1454
1399
  created_at?: string;
@@ -1464,6 +1409,7 @@ export interface DraftModifierEntityDTO {
1464
1409
  is_active?: boolean;
1465
1410
  posid?: string;
1466
1411
  reporting: ReportingMetadataDTO;
1412
+ posid_segment?: string;
1467
1413
  brand_id: string;
1468
1414
  applied_diff_snapshot?: any;
1469
1415
  version?: number;
@@ -1485,6 +1431,7 @@ export interface PublishedModifierPublishedModifierDTO {
1485
1431
  tax_tags?: FilterFieldDTO[];
1486
1432
  is_active?: FilterFieldDTO;
1487
1433
  posid?: FilterFieldDTO;
1434
+ posid_segment?: FilterFieldDTO;
1488
1435
  brand_id?: FilterFieldDTO;
1489
1436
  id?: FilterFieldDTO;
1490
1437
  version?: FilterFieldDTO;
@@ -1493,7 +1440,6 @@ export interface PublishedModifierPublishedModifierDTO {
1493
1440
  deleted_at?: FilterFieldDTO;
1494
1441
  parent?: any;
1495
1442
  children?: any[];
1496
- posid_segment?: POSIDSegmentDTO;
1497
1443
  modifier_groups?: PublishedModifierGroupToModifierRelationshipDTO[];
1498
1444
  brand?: PublishedBrandDTO;
1499
1445
  reporting?: ReportingMetadataDTO;
@@ -1503,7 +1449,7 @@ export interface PublishedModifierPublishedModifierDTO {
1503
1449
  }
1504
1450
 
1505
1451
  export interface GlobalDiffDTO {
1506
- action: string;
1452
+ action: "create" | "update" | "delete";
1507
1453
  id?: string;
1508
1454
  created_at?: string;
1509
1455
  updated_at?: string;
@@ -1556,29 +1502,32 @@ export interface GetMenusRequest extends BaseRequest, RequestQuery<GetMenusQuery
1556
1502
 
1557
1503
  // POST /menu - Create a new Menu
1558
1504
 
1559
- export type PostMenuBody = Menu;
1505
+ export type CreateMenuBody = Menu;
1560
1506
 
1561
- export type PostMenuResponse = Menu;
1507
+ export type CreateMenuResponse = Menu;
1562
1508
 
1563
- export interface PostMenuRequest extends BaseRequest {
1564
- body: PostMenuBody;
1509
+ export interface CreateMenuRequest extends BaseRequest {
1510
+ body: CreateMenuBody;
1565
1511
  }
1566
1512
 
1567
1513
  // HEAD /menu/{id} - Get an individual Menu
1568
1514
 
1569
- export interface HeadMenuPath {
1515
+ export interface GetMenuHeadersPath {
1570
1516
  // menu
1571
1517
  id: string;
1572
1518
  }
1573
1519
 
1574
- export interface HeadMenuQuery {
1520
+ export interface GetMenuHeadersQuery {
1575
1521
  // fields to return
1576
1522
  _query?: string;
1577
1523
  }
1578
1524
 
1579
- export type HeadMenuResponse = any;
1525
+ export type GetMenuHeadersResponse = any;
1580
1526
 
1581
- export interface HeadMenuRequest extends BaseRequest, RequestQuery<HeadMenuQuery>, HeadMenuPath {}
1527
+ export interface GetMenuHeadersRequest
1528
+ extends BaseRequest,
1529
+ RequestQuery<GetMenuHeadersQuery>,
1530
+ GetMenuHeadersPath {}
1582
1531
 
1583
1532
  // GET /menu/{id} - Get an individual Menu
1584
1533
 
@@ -1605,22 +1554,25 @@ export interface GetMenuRequest extends BaseRequest, RequestQuery<GetMenuQuery>,
1605
1554
 
1606
1555
  // PUT /menu/{id} - Override a complete Menu
1607
1556
 
1608
- export interface PutMenuPath {
1557
+ export interface UpdateMenuPath {
1609
1558
  // menu
1610
1559
  id: string;
1611
1560
  }
1612
1561
 
1613
- export interface PutMenuQuery {
1562
+ export interface UpdateMenuQuery {
1614
1563
  // fields to return
1615
1564
  _query?: string;
1616
1565
  }
1617
1566
 
1618
- export type PutMenuBody = Menu;
1567
+ export type UpdateMenuBody = Menu;
1619
1568
 
1620
- export type PutMenuResponse = Menu;
1569
+ export type UpdateMenuResponse = Menu;
1621
1570
 
1622
- export interface PutMenuRequest extends BaseRequest, RequestQuery<PutMenuQuery>, PutMenuPath {
1623
- body: PutMenuBody;
1571
+ export interface UpdateMenuRequest
1572
+ extends BaseRequest,
1573
+ RequestQuery<UpdateMenuQuery>,
1574
+ UpdateMenuPath {
1575
+ body: UpdateMenuBody;
1624
1576
  }
1625
1577
 
1626
1578
  // DELETE /menu/{id} - Delete a Menu
@@ -1664,56 +1616,53 @@ export interface PatchMenuRequest extends BaseRequest, RequestQuery<PatchMenuQue
1664
1616
 
1665
1617
  // POST /menu/import - Import an existing Menu
1666
1618
 
1667
- export interface PostMenuImportMenuBody {
1619
+ export interface ImportMenuBody {
1668
1620
  // menu
1669
1621
  menu?: string;
1670
1622
  }
1671
1623
 
1672
- export type PostMenuImportMenuResponse = Menu;
1624
+ export type ImportMenuResponse = Menu;
1673
1625
 
1674
- export interface PostMenuImportMenuRequest extends BaseRequest {
1675
- body: PostMenuImportMenuBody;
1626
+ export interface ImportMenuRequest extends BaseRequest {
1627
+ body: ImportMenuBody;
1676
1628
  }
1677
1629
 
1678
1630
  // GET /menu/item/{id} - Get menu item
1679
1631
 
1680
- export interface GetMenuItemPath {
1632
+ export interface GetItemPath {
1681
1633
  // Item ID
1682
1634
  id: string;
1683
1635
  }
1684
1636
 
1685
- export interface GetMenuItemQuery {
1637
+ export interface GetItemQuery {
1686
1638
  // Graphql query string
1687
1639
  _query?: string;
1688
1640
  nocache?: boolean;
1689
1641
  }
1690
1642
 
1691
- export type GetMenuItemResponse = Item;
1643
+ export type GetItemResponse = Item;
1692
1644
 
1693
- export interface GetMenuItemRequest
1694
- extends BaseRequest,
1695
- RequestQuery<GetMenuItemQuery>,
1696
- GetMenuItemPath {}
1645
+ export interface GetItemRequest extends BaseRequest, RequestQuery<GetItemQuery>, GetItemPath {}
1697
1646
 
1698
1647
  // DELETE /menu/item/{id} - Delete a menu item
1699
1648
 
1700
- export interface DeleteMenuItemPath {
1649
+ export interface DeleteItemPath {
1701
1650
  // Item ID
1702
1651
  id: string;
1703
1652
  }
1704
1653
 
1705
- export type DeleteMenuItemResponse = Success;
1654
+ export type DeleteItemResponse = Success;
1706
1655
 
1707
- export interface DeleteMenuItemRequest extends BaseRequest, DeleteMenuItemPath {}
1656
+ export interface DeleteItemRequest extends BaseRequest, DeleteItemPath {}
1708
1657
 
1709
1658
  // POST /menu/item - Create a menu item
1710
1659
 
1711
- export type PostMenuItemBody = Item;
1660
+ export type CreateItemBody = Item;
1712
1661
 
1713
- export type PostMenuItemResponse = Item;
1662
+ export type CreateItemResponse = Item;
1714
1663
 
1715
- export interface PostMenuItemRequest extends BaseRequest {
1716
- body: PostMenuItemBody;
1664
+ export interface CreateItemRequest extends BaseRequest {
1665
+ body: CreateItemBody;
1717
1666
  }
1718
1667
 
1719
1668
  // GET /menu/items - Search for menu items
@@ -1730,44 +1679,42 @@ export interface GetMenuItemsRequest extends BaseRequest, RequestQuery<GetMenuIt
1730
1679
 
1731
1680
  // POST /menu/items/import/{location} - trigger import items
1732
1681
 
1733
- export interface PostMenuImportItemsCanteenPath {
1682
+ export interface ImportItemsCanteenPath {
1734
1683
  // Location ID
1735
1684
  location: string;
1736
1685
  }
1737
1686
 
1738
- export type PostMenuImportItemsCanteenResponse = Success;
1687
+ export type ImportItemsCanteenResponse = Success;
1739
1688
 
1740
- export interface PostMenuImportItemsCanteenRequest
1741
- extends BaseRequest,
1742
- PostMenuImportItemsCanteenPath {}
1689
+ export interface ImportItemsCanteenRequest extends BaseRequest, ImportItemsCanteenPath {}
1743
1690
 
1744
1691
  // GET /menu/items/location/{location} - Get all menu items for a location
1745
1692
 
1746
- export interface GetMenuLocationItemsPath {
1693
+ export interface GetLocationItemsPath {
1747
1694
  // Location ID
1748
1695
  location: string;
1749
1696
  }
1750
1697
 
1751
- export interface GetMenuLocationItemsQuery {
1698
+ export interface GetLocationItemsQuery {
1752
1699
  // Graphql query string
1753
1700
  _query?: string;
1754
1701
  }
1755
1702
 
1756
- export type GetMenuLocationItemsResponse = Items;
1703
+ export type GetLocationItemsResponse = Items;
1757
1704
 
1758
- export interface GetMenuLocationItemsRequest
1705
+ export interface GetLocationItemsRequest
1759
1706
  extends BaseRequest,
1760
- RequestQuery<GetMenuLocationItemsQuery>,
1761
- GetMenuLocationItemsPath {}
1707
+ RequestQuery<GetLocationItemsQuery>,
1708
+ GetLocationItemsPath {}
1762
1709
 
1763
1710
  // GET /menu/item/random/location/{location} - Get a random item
1764
1711
 
1765
- export interface GetMenuLocationItemRandomPath {
1712
+ export interface GetLocationItemRandomPath {
1766
1713
  // Location ID
1767
1714
  location: string;
1768
1715
  }
1769
1716
 
1770
- export interface GetMenuLocationItemRandomQuery {
1717
+ export interface GetLocationItemRandomQuery {
1771
1718
  // The idfa of the requesting device
1772
1719
  idfa?: string;
1773
1720
  // Is this device being used in a public area
@@ -1778,21 +1725,21 @@ export interface GetMenuLocationItemRandomQuery {
1778
1725
  _query?: string;
1779
1726
  }
1780
1727
 
1781
- export type GetMenuLocationItemRandomResponse = Item;
1728
+ export type GetLocationItemRandomResponse = Item;
1782
1729
 
1783
- export interface GetMenuLocationItemRandomRequest
1730
+ export interface GetLocationItemRandomRequest
1784
1731
  extends BaseRequest,
1785
- RequestQuery<GetMenuLocationItemRandomQuery>,
1786
- GetMenuLocationItemRandomPath {}
1732
+ RequestQuery<GetLocationItemRandomQuery>,
1733
+ GetLocationItemRandomPath {}
1787
1734
 
1788
1735
  // GET /menu/items/random/location/{location} - Get a set of random items
1789
1736
 
1790
- export interface GetMenuLocationItemsRandomPath {
1737
+ export interface GetLocationItemsRandomPath {
1791
1738
  // Location ID
1792
1739
  location: string;
1793
1740
  }
1794
1741
 
1795
- export interface GetMenuLocationItemsRandomQuery {
1742
+ export interface GetLocationItemsRandomQuery {
1796
1743
  // The idfa of the requesting device
1797
1744
  idfa?: string;
1798
1745
  // Is this device being used in a public area
@@ -1805,143 +1752,143 @@ export interface GetMenuLocationItemsRandomQuery {
1805
1752
  _query?: string;
1806
1753
  }
1807
1754
 
1808
- export type GetMenuLocationItemsRandomResponse = Items;
1755
+ export type GetLocationItemsRandomResponse = Items;
1809
1756
 
1810
- export interface GetMenuLocationItemsRandomRequest
1757
+ export interface GetLocationItemsRandomRequest
1811
1758
  extends BaseRequest,
1812
- RequestQuery<GetMenuLocationItemsRandomQuery>,
1813
- GetMenuLocationItemsRandomPath {}
1759
+ RequestQuery<GetLocationItemsRandomQuery>,
1760
+ GetLocationItemsRandomPath {}
1814
1761
 
1815
1762
  // GET /menu/sector/{sector} - Get menus that belong to sector
1816
1763
 
1817
- export interface GetMenuSectorMenusPath {
1764
+ export interface GetSectorMenusPath {
1818
1765
  // Sector ID
1819
1766
  sector: string;
1820
1767
  }
1821
1768
 
1822
- export interface GetMenuSectorMenusQuery {
1769
+ export interface GetSectorMenusQuery {
1823
1770
  // Graphql query string
1824
1771
  _query?: string;
1825
1772
  }
1826
1773
 
1827
- export type GetMenuSectorMenusResponse = Menus;
1774
+ export type GetSectorMenusResponse = Menus;
1828
1775
 
1829
- export interface GetMenuSectorMenusRequest
1776
+ export interface GetSectorMenusRequest
1830
1777
  extends BaseRequest,
1831
- RequestQuery<GetMenuSectorMenusQuery>,
1832
- GetMenuSectorMenusPath {}
1778
+ RequestQuery<GetSectorMenusQuery>,
1779
+ GetSectorMenusPath {}
1833
1780
 
1834
1781
  // GET /menu/company/{company} - Get menus that belong to company
1835
1782
 
1836
- export interface GetMenuCompanyMenusPath {
1783
+ export interface GetCompanyMenusPath {
1837
1784
  // Company ID
1838
1785
  company: string;
1839
1786
  }
1840
1787
 
1841
- export interface GetMenuCompanyMenusQuery {
1788
+ export interface GetCompanyMenusQuery {
1842
1789
  // Graphql query string
1843
1790
  _query?: string;
1844
1791
  }
1845
1792
 
1846
- export type GetMenuCompanyMenusResponse = Menus;
1793
+ export type GetCompanyMenusResponse = Menus;
1847
1794
 
1848
- export interface GetMenuCompanyMenusRequest
1795
+ export interface GetCompanyMenusRequest
1849
1796
  extends BaseRequest,
1850
- RequestQuery<GetMenuCompanyMenusQuery>,
1851
- GetMenuCompanyMenusPath {}
1797
+ RequestQuery<GetCompanyMenusQuery>,
1798
+ GetCompanyMenusPath {}
1852
1799
 
1853
1800
  // POST /menu/modifier/group - Create a new Menu Modifier Group
1854
1801
 
1855
- export type PostMenuModifierGroupBody = CreateOptionsGroup;
1802
+ export type CreateModifierGroupBody = CreateOptionsGroup;
1856
1803
 
1857
- export type PostMenuModifierGroupResponse = OptionsGroup;
1804
+ export type CreateModifierGroupResponse = OptionsGroup;
1858
1805
 
1859
- export interface PostMenuModifierGroupRequest extends BaseRequest {
1860
- body: PostMenuModifierGroupBody;
1806
+ export interface CreateModifierGroupRequest extends BaseRequest {
1807
+ body: CreateModifierGroupBody;
1861
1808
  }
1862
1809
 
1863
1810
  // GET /menu/modifier/group/{id} - Get a Menu Modifier Group
1864
1811
 
1865
- export interface GetMenuModifierGroupPath {
1812
+ export interface GetModifierGroupPath {
1866
1813
  // modifier_group
1867
1814
  id: string;
1868
1815
  }
1869
1816
 
1870
- export interface GetMenuModifierGroupQuery {
1817
+ export interface GetModifierGroupQuery {
1871
1818
  // Graphql query string
1872
1819
  _query?: string;
1873
1820
  }
1874
1821
 
1875
- export type GetMenuModifierGroupResponse = OptionsGroup;
1822
+ export type GetModifierGroupResponse = OptionsGroup;
1876
1823
 
1877
- export interface GetMenuModifierGroupRequest
1824
+ export interface GetModifierGroupRequest
1878
1825
  extends BaseRequest,
1879
- RequestQuery<GetMenuModifierGroupQuery>,
1880
- GetMenuModifierGroupPath {}
1826
+ RequestQuery<GetModifierGroupQuery>,
1827
+ GetModifierGroupPath {}
1881
1828
 
1882
1829
  // PUT /menu/modifier/group/{id} - Update a Menu Modifier Group
1883
1830
 
1884
- export interface PutMenuModifierGroupPath {
1831
+ export interface UpdateModifierGroupPath {
1885
1832
  // modifier_group
1886
1833
  id: string;
1887
1834
  }
1888
1835
 
1889
- export type PutMenuModifierGroupBody = OptionsGroup;
1836
+ export type UpdateModifierGroupBody = OptionsGroup;
1890
1837
 
1891
- export type PutMenuModifierGroupResponse = OptionsGroup;
1838
+ export type UpdateModifierGroupResponse = OptionsGroup;
1892
1839
 
1893
- export interface PutMenuModifierGroupRequest extends BaseRequest, PutMenuModifierGroupPath {
1894
- body: PutMenuModifierGroupBody;
1840
+ export interface UpdateModifierGroupRequest extends BaseRequest, UpdateModifierGroupPath {
1841
+ body: UpdateModifierGroupBody;
1895
1842
  }
1896
1843
 
1897
1844
  // DELETE /menu/modifier/group/{id} - Delete a Menu Modifier Group
1898
1845
 
1899
- export interface DeleteMenuModifierGroupPath {
1846
+ export interface DeleteModifierGroupPath {
1900
1847
  // modifier_group
1901
1848
  id: string;
1902
1849
  }
1903
1850
 
1904
- export type DeleteMenuModifierGroupResponse = Success;
1851
+ export type DeleteModifierGroupResponse = Success;
1905
1852
 
1906
- export interface DeleteMenuModifierGroupRequest extends BaseRequest, DeleteMenuModifierGroupPath {}
1853
+ export interface DeleteModifierGroupRequest extends BaseRequest, DeleteModifierGroupPath {}
1907
1854
 
1908
1855
  // GET /menu/modifier/group/company/{company} - Get the modifier groups that belong to company
1909
1856
 
1910
- export interface GetMenuCompanyModifierGroupsPath {
1857
+ export interface GetCompanyModifierGroupsPath {
1911
1858
  // Company ID
1912
1859
  company: string;
1913
1860
  }
1914
1861
 
1915
- export interface GetMenuCompanyModifierGroupsQuery {
1862
+ export interface GetCompanyModifierGroupsQuery {
1916
1863
  // Graphql query string
1917
1864
  _query?: string;
1918
1865
  }
1919
1866
 
1920
- export type GetMenuCompanyModifierGroupsResponse = OptionsGroupList;
1867
+ export type GetCompanyModifierGroupsResponse = OptionsGroupList;
1921
1868
 
1922
- export interface GetMenuCompanyModifierGroupsRequest
1869
+ export interface GetCompanyModifierGroupsRequest
1923
1870
  extends BaseRequest,
1924
- RequestQuery<GetMenuCompanyModifierGroupsQuery>,
1925
- GetMenuCompanyModifierGroupsPath {}
1871
+ RequestQuery<GetCompanyModifierGroupsQuery>,
1872
+ GetCompanyModifierGroupsPath {}
1926
1873
 
1927
1874
  // GET /menu/modifier/group/company/{company}/export - Export company modifier groups to zipped excel file.
1928
1875
 
1929
- export interface GetMenuCompanyModifierGroupsExportPath {
1876
+ export interface GetCompanyModifierGroupsExportPath {
1930
1877
  // Company ID
1931
1878
  company: string;
1932
1879
  }
1933
1880
 
1934
- export interface GetMenuCompanyModifierGroupsExportQuery {
1881
+ export interface GetCompanyModifierGroupsExportQuery {
1935
1882
  // Graphql query string
1936
1883
  _query?: string;
1937
1884
  }
1938
1885
 
1939
- export type GetMenuCompanyModifierGroupsExportResponse = ZippedExcelExport;
1886
+ export type GetCompanyModifierGroupsExportResponse = ZippedExcelExport;
1940
1887
 
1941
- export interface GetMenuCompanyModifierGroupsExportRequest
1888
+ export interface GetCompanyModifierGroupsExportRequest
1942
1889
  extends BaseRequest,
1943
- RequestQuery<GetMenuCompanyModifierGroupsExportQuery>,
1944
- GetMenuCompanyModifierGroupsExportPath {}
1890
+ RequestQuery<GetCompanyModifierGroupsExportQuery>,
1891
+ GetCompanyModifierGroupsExportPath {}
1945
1892
 
1946
1893
  // GET /menu/{id}/export - Export menu set to zipped excel file.
1947
1894
 
@@ -2181,15 +2128,17 @@ export interface GetMenuV3LocalMenuGroupsQuery {
2181
2128
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2182
2129
  relationships?: string[];
2183
2130
  // The fields that filtering is allowed on
2184
- filter?: any;
2131
+ filter?: {
2132
+ [index: string]: any;
2133
+ };
2185
2134
  // Number of records to load per page
2186
2135
  limit?: number;
2187
2136
  page?: number;
2188
2137
  // A field to sort the results based on
2189
2138
  sort_by?: string;
2190
- sort_order?: string;
2139
+ sort_order?: "DESC" | "ASC";
2191
2140
  // How soft deleted records should be shown in the list
2192
- soft_deleted?: string;
2141
+ soft_deleted?: "include" | "exclude" | "only";
2193
2142
  // Graphql query string
2194
2143
  _query?: string;
2195
2144
  }
@@ -2232,7 +2181,9 @@ export interface PostMenuV3LocalMenuGroupsRequest extends BaseRequest {
2232
2181
 
2233
2182
  export interface GetMenuV3LocalMenuGroupsCountQuery {
2234
2183
  // The fields that filtering is allowed on
2235
- filter?: any;
2184
+ filter?: {
2185
+ [index: string]: any;
2186
+ };
2236
2187
  // Graphql query string
2237
2188
  _query?: string;
2238
2189
  }
@@ -2258,15 +2209,17 @@ export interface GetMenuV3DraftLocalMenuGroupBrandsQuery {
2258
2209
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2259
2210
  relationships?: string[];
2260
2211
  // The fields that filtering is allowed on
2261
- filter?: any;
2212
+ filter?: {
2213
+ [index: string]: any;
2214
+ };
2262
2215
  // Number of records to load per page
2263
2216
  limit?: number;
2264
2217
  page?: number;
2265
2218
  // A field to sort the results based on
2266
2219
  sort_by?: string;
2267
- sort_order?: string;
2220
+ sort_order?: "DESC" | "ASC";
2268
2221
  // How soft deleted records should be shown in the list
2269
- soft_deleted?: string;
2222
+ soft_deleted?: "include" | "exclude" | "only";
2270
2223
  // Graphql query string
2271
2224
  _query?: string;
2272
2225
  }
@@ -2294,15 +2247,17 @@ export interface GetMenuV3LocalMenuGroupBrandsQuery {
2294
2247
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2295
2248
  relationships?: string[];
2296
2249
  // The fields that filtering is allowed on
2297
- filter?: any;
2250
+ filter?: {
2251
+ [index: string]: any;
2252
+ };
2298
2253
  // Number of records to load per page
2299
2254
  limit?: number;
2300
2255
  page?: number;
2301
2256
  // A field to sort the results based on
2302
2257
  sort_by?: string;
2303
- sort_order?: string;
2258
+ sort_order?: "DESC" | "ASC";
2304
2259
  // How soft deleted records should be shown in the list
2305
- soft_deleted?: string;
2260
+ soft_deleted?: "include" | "exclude" | "only";
2306
2261
  // Graphql query string
2307
2262
  _query?: string;
2308
2263
  }
@@ -2330,15 +2285,17 @@ export interface GetMenuV3LocalMenuGroupAllowedGlobalBrandsQuery {
2330
2285
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2331
2286
  relationships?: string[];
2332
2287
  // The fields that filtering is allowed on
2333
- filter?: any;
2288
+ filter?: {
2289
+ [index: string]: any;
2290
+ };
2334
2291
  // Number of records to load per page
2335
2292
  limit?: number;
2336
2293
  page?: number;
2337
2294
  // A field to sort the results based on
2338
2295
  sort_by?: string;
2339
- sort_order?: string;
2296
+ sort_order?: "DESC" | "ASC";
2340
2297
  // How soft deleted records should be shown in the list
2341
- soft_deleted?: string;
2298
+ soft_deleted?: "include" | "exclude" | "only";
2342
2299
  // Graphql query string
2343
2300
  _query?: string;
2344
2301
  }
@@ -2367,15 +2324,17 @@ export interface PostMenuV3LocalMenuGroupImportBrandsQuery {
2367
2324
  relationships?: string[];
2368
2325
  "body.brand_ids"?: string[];
2369
2326
  // The fields that filtering is allowed on
2370
- filter?: any;
2327
+ filter?: {
2328
+ [index: string]: any;
2329
+ };
2371
2330
  // Number of records to load per page
2372
2331
  limit?: number;
2373
2332
  page?: number;
2374
2333
  // A field to sort the results based on
2375
2334
  sort_by?: string;
2376
- sort_order?: string;
2335
+ sort_order?: "DESC" | "ASC";
2377
2336
  // How soft deleted records should be shown in the list
2378
- soft_deleted?: string;
2337
+ soft_deleted?: "include" | "exclude" | "only";
2379
2338
  }
2380
2339
 
2381
2340
  export interface PostMenuV3LocalMenuGroupImportBrandsResponse {
@@ -2397,7 +2356,7 @@ export interface PostMenuV3GlobalMenuGroupBody {
2397
2356
  allowed_local_menu_groups?: LocalMenuGroupDTO[];
2398
2357
  draft_brands?: DraftBrandDTO[];
2399
2358
  published_brands?: PublishedBrandDTO[];
2400
- posid_segment?: POSIDSegmentDTO;
2359
+ posid_segment?: string;
2401
2360
  vendor_metadata?: VendorMetadataDTO[];
2402
2361
  permissions?: any;
2403
2362
  [index: string]: any;
@@ -2443,7 +2402,7 @@ export interface PatchMenuV3GlobalMenuGroupBody {
2443
2402
  allowed_local_menu_groups?: LocalMenuGroupDTO[];
2444
2403
  draft_brands?: DraftBrandDTO[];
2445
2404
  published_brands?: PublishedBrandDTO[];
2446
- posid_segment?: POSIDSegmentDTO;
2405
+ posid_segment?: string;
2447
2406
  id?: string;
2448
2407
  version?: number;
2449
2408
  vendor_metadata?: VendorMetadataDTO[];
@@ -2475,7 +2434,7 @@ export interface DeleteMenuV3GlobalMenuGroupResponse {
2475
2434
  allowed_local_menu_groups?: LocalMenuGroupDTO[];
2476
2435
  draft_brands?: DraftBrandDTO[];
2477
2436
  published_brands?: PublishedBrandDTO[];
2478
- posid_segment?: POSIDSegmentDTO;
2437
+ posid_segment?: string;
2479
2438
  id?: string;
2480
2439
  created_at?: string;
2481
2440
  updated_at?: string;
@@ -2499,15 +2458,17 @@ export interface GetMenuV3GlobalMenuGroupsQuery {
2499
2458
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2500
2459
  relationships?: string[];
2501
2460
  // The fields that filtering is allowed on
2502
- filter?: any;
2461
+ filter?: {
2462
+ [index: string]: any;
2463
+ };
2503
2464
  // Number of records to load per page
2504
2465
  limit?: number;
2505
2466
  page?: number;
2506
2467
  // A field to sort the results based on
2507
2468
  sort_by?: string;
2508
- sort_order?: string;
2469
+ sort_order?: "DESC" | "ASC";
2509
2470
  // How soft deleted records should be shown in the list
2510
- soft_deleted?: string;
2471
+ soft_deleted?: "include" | "exclude" | "only";
2511
2472
  // Graphql query string
2512
2473
  _query?: string;
2513
2474
  }
@@ -2530,7 +2491,7 @@ export type PostMenuV3GlobalMenuGroupsBody = {
2530
2491
  allowed_local_menu_groups?: LocalMenuGroupDTO[];
2531
2492
  draft_brands?: DraftBrandDTO[];
2532
2493
  published_brands?: PublishedBrandDTO[];
2533
- posid_segment?: POSIDSegmentDTO;
2494
+ posid_segment?: string;
2534
2495
  id?: any;
2535
2496
  vendor_metadata?: VendorMetadataDTO[];
2536
2497
  permissions?: any;
@@ -2551,7 +2512,9 @@ export interface PostMenuV3GlobalMenuGroupsRequest extends BaseRequest {
2551
2512
 
2552
2513
  export interface GetMenuV3GlobalMenuGroupsCountQuery {
2553
2514
  // The fields that filtering is allowed on
2554
- filter?: any;
2515
+ filter?: {
2516
+ [index: string]: any;
2517
+ };
2555
2518
  // Graphql query string
2556
2519
  _query?: string;
2557
2520
  }
@@ -2577,15 +2540,17 @@ export interface GetMenuV3DraftGlobalMenuGroupBrandsQuery {
2577
2540
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2578
2541
  relationships?: string[];
2579
2542
  // The fields that filtering is allowed on
2580
- filter?: any;
2543
+ filter?: {
2544
+ [index: string]: any;
2545
+ };
2581
2546
  // Number of records to load per page
2582
2547
  limit?: number;
2583
2548
  page?: number;
2584
2549
  // A field to sort the results based on
2585
2550
  sort_by?: string;
2586
- sort_order?: string;
2551
+ sort_order?: "DESC" | "ASC";
2587
2552
  // How soft deleted records should be shown in the list
2588
- soft_deleted?: string;
2553
+ soft_deleted?: "include" | "exclude" | "only";
2589
2554
  // Graphql query string
2590
2555
  _query?: string;
2591
2556
  }
@@ -2613,15 +2578,17 @@ export interface GetMenuV3GlobalMenuGroupBrandsQuery {
2613
2578
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2614
2579
  relationships?: string[];
2615
2580
  // The fields that filtering is allowed on
2616
- filter?: any;
2581
+ filter?: {
2582
+ [index: string]: any;
2583
+ };
2617
2584
  // Number of records to load per page
2618
2585
  limit?: number;
2619
2586
  page?: number;
2620
2587
  // A field to sort the results based on
2621
2588
  sort_by?: string;
2622
- sort_order?: string;
2589
+ sort_order?: "DESC" | "ASC";
2623
2590
  // How soft deleted records should be shown in the list
2624
- soft_deleted?: string;
2591
+ soft_deleted?: "include" | "exclude" | "only";
2625
2592
  // Graphql query string
2626
2593
  _query?: string;
2627
2594
  }
@@ -2642,7 +2609,6 @@ export interface GetMenuV3GlobalMenuGroupBrandsRequest
2642
2609
  export interface PostMenuV3DraftBrandBody {
2643
2610
  parent?: DraftBrandDTO;
2644
2611
  children?: DraftBrandDTO[];
2645
- posid_segment?: POSIDSegmentDTO;
2646
2612
  menus?: DraftMenuDTO[];
2647
2613
  categories?: DraftCategoryDTO[];
2648
2614
  category_to_item_relationships?: DraftCategoryToItemRelationshipDTO[];
@@ -2655,10 +2621,11 @@ export interface PostMenuV3DraftBrandBody {
2655
2621
  name: string;
2656
2622
  description?: string;
2657
2623
  is_active?: boolean;
2658
- type?: string;
2624
+ type?: "global" | "local";
2659
2625
  parent_id?: string;
2660
2626
  local_menu_group_id?: string;
2661
2627
  global_menu_group_id?: string;
2628
+ posid_segment?: string;
2662
2629
  id?: any;
2663
2630
  changes?: BrandChangeDTO[];
2664
2631
  local_menu_group?: LocalMenuGroupDTO;
@@ -2706,7 +2673,6 @@ export interface PatchMenuV3DraftBrandPath {
2706
2673
  export interface PatchMenuV3DraftBrandBody {
2707
2674
  parent?: DraftBrandDTO;
2708
2675
  children?: DraftBrandDTO[];
2709
- posid_segment?: POSIDSegmentDTO;
2710
2676
  menus?: DraftMenuDTO[];
2711
2677
  categories?: DraftCategoryDTO[];
2712
2678
  category_to_item_relationships?: DraftCategoryToItemRelationshipDTO[];
@@ -2720,10 +2686,11 @@ export interface PatchMenuV3DraftBrandBody {
2720
2686
  name?: string;
2721
2687
  description?: string;
2722
2688
  is_active?: boolean;
2723
- type?: string;
2689
+ type?: "global" | "local";
2724
2690
  parent_id?: string;
2725
2691
  local_menu_group_id?: string;
2726
2692
  global_menu_group_id?: string;
2693
+ posid_segment?: string;
2727
2694
  version?: number;
2728
2695
  changes?: BrandChangeDTO[];
2729
2696
  local_menu_group?: LocalMenuGroupDTO;
@@ -2758,15 +2725,17 @@ export interface GetMenuV3DraftBrandsQuery {
2758
2725
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2759
2726
  relationships?: string[];
2760
2727
  // The fields that filtering is allowed on
2761
- filter?: any;
2728
+ filter?: {
2729
+ [index: string]: any;
2730
+ };
2762
2731
  // Number of records to load per page
2763
2732
  limit?: number;
2764
2733
  page?: number;
2765
2734
  // A field to sort the results based on
2766
2735
  sort_by?: string;
2767
- sort_order?: string;
2736
+ sort_order?: "DESC" | "ASC";
2768
2737
  // How soft deleted records should be shown in the list
2769
- soft_deleted?: string;
2738
+ soft_deleted?: "include" | "exclude" | "only";
2770
2739
  // Graphql query string
2771
2740
  _query?: string;
2772
2741
  }
@@ -2786,7 +2755,6 @@ export interface GetMenuV3DraftBrandsRequest
2786
2755
  export type PostMenuV3DraftBrandsBody = {
2787
2756
  parent?: DraftBrandDTO;
2788
2757
  children?: DraftBrandDTO[];
2789
- posid_segment?: POSIDSegmentDTO;
2790
2758
  menus?: DraftMenuDTO[];
2791
2759
  categories?: DraftCategoryDTO[];
2792
2760
  category_to_item_relationships?: DraftCategoryToItemRelationshipDTO[];
@@ -2799,10 +2767,11 @@ export type PostMenuV3DraftBrandsBody = {
2799
2767
  name: string;
2800
2768
  description?: string;
2801
2769
  is_active?: boolean;
2802
- type?: string;
2770
+ type?: "global" | "local";
2803
2771
  parent_id?: string;
2804
2772
  local_menu_group_id?: string;
2805
2773
  global_menu_group_id?: string;
2774
+ posid_segment?: string;
2806
2775
  id?: any;
2807
2776
  changes?: BrandChangeDTO[];
2808
2777
  local_menu_group?: LocalMenuGroupDTO;
@@ -2827,7 +2796,9 @@ export interface PostMenuV3DraftBrandsRequest extends BaseRequest {
2827
2796
 
2828
2797
  export interface GetMenuV3DraftBrandsCountQuery {
2829
2798
  // The fields that filtering is allowed on
2830
- filter?: any;
2799
+ filter?: {
2800
+ [index: string]: any;
2801
+ };
2831
2802
  // Graphql query string
2832
2803
  _query?: string;
2833
2804
  }
@@ -2853,15 +2824,17 @@ export interface GetMenuV3DraftBrandMenusQuery {
2853
2824
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2854
2825
  relationships?: string[];
2855
2826
  // The fields that filtering is allowed on
2856
- filter?: any;
2827
+ filter?: {
2828
+ [index: string]: any;
2829
+ };
2857
2830
  // Number of records to load per page
2858
2831
  limit?: number;
2859
2832
  page?: number;
2860
2833
  // A field to sort the results based on
2861
2834
  sort_by?: string;
2862
- sort_order?: string;
2835
+ sort_order?: "DESC" | "ASC";
2863
2836
  // How soft deleted records should be shown in the list
2864
- soft_deleted?: string;
2837
+ soft_deleted?: "include" | "exclude" | "only";
2865
2838
  // Graphql query string
2866
2839
  _query?: string;
2867
2840
  }
@@ -2889,15 +2862,17 @@ export interface GetMenuV3DraftBrandModifiersQuery {
2889
2862
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2890
2863
  relationships?: string[];
2891
2864
  // The fields that filtering is allowed on
2892
- filter?: any;
2865
+ filter?: {
2866
+ [index: string]: any;
2867
+ };
2893
2868
  // Number of records to load per page
2894
2869
  limit?: number;
2895
2870
  page?: number;
2896
2871
  // A field to sort the results based on
2897
2872
  sort_by?: string;
2898
- sort_order?: string;
2873
+ sort_order?: "DESC" | "ASC";
2899
2874
  // How soft deleted records should be shown in the list
2900
- soft_deleted?: string;
2875
+ soft_deleted?: "include" | "exclude" | "only";
2901
2876
  // Graphql query string
2902
2877
  _query?: string;
2903
2878
  }
@@ -2925,15 +2900,17 @@ export interface GetMenuV3DraftBrandModifierGroupsQuery {
2925
2900
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2926
2901
  relationships?: string[];
2927
2902
  // The fields that filtering is allowed on
2928
- filter?: any;
2903
+ filter?: {
2904
+ [index: string]: any;
2905
+ };
2929
2906
  // Number of records to load per page
2930
2907
  limit?: number;
2931
2908
  page?: number;
2932
2909
  // A field to sort the results based on
2933
2910
  sort_by?: string;
2934
- sort_order?: string;
2911
+ sort_order?: "DESC" | "ASC";
2935
2912
  // How soft deleted records should be shown in the list
2936
- soft_deleted?: string;
2913
+ soft_deleted?: "include" | "exclude" | "only";
2937
2914
  // Graphql query string
2938
2915
  _query?: string;
2939
2916
  }
@@ -2961,15 +2938,17 @@ export interface GetMenuV3DraftBrandItemsQuery {
2961
2938
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
2962
2939
  relationships?: string[];
2963
2940
  // The fields that filtering is allowed on
2964
- filter?: any;
2941
+ filter?: {
2942
+ [index: string]: any;
2943
+ };
2965
2944
  // Number of records to load per page
2966
2945
  limit?: number;
2967
2946
  page?: number;
2968
2947
  // A field to sort the results based on
2969
2948
  sort_by?: string;
2970
- sort_order?: string;
2949
+ sort_order?: "DESC" | "ASC";
2971
2950
  // How soft deleted records should be shown in the list
2972
- soft_deleted?: string;
2951
+ soft_deleted?: "include" | "exclude" | "only";
2973
2952
  // Graphql query string
2974
2953
  _query?: string;
2975
2954
  }
@@ -3067,17 +3046,20 @@ export interface GetMenuV3DraftBrandDiffsQuery {
3067
3046
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3068
3047
  relationships?: string[];
3069
3048
  // The fields that filtering is allowed on
3070
- filter?: any;
3049
+ filter?: {
3050
+ [index: string]: any;
3051
+ };
3071
3052
  // Number of records to load per page
3072
3053
  limit?: number;
3073
3054
  page?: number;
3074
3055
  // A field to sort the results based on
3075
3056
  sort_by?: string;
3076
- sort_order?: string;
3057
+ sort_order?: "DESC" | "ASC";
3077
3058
  // How soft deleted records should be shown in the list
3078
- soft_deleted?: string;
3059
+ soft_deleted?: "include" | "exclude" | "only";
3079
3060
  // Graphql query string
3080
3061
  _query?: string;
3062
+ nocache?: boolean;
3081
3063
  }
3082
3064
 
3083
3065
  export interface GetMenuV3DraftBrandDiffsResponse {
@@ -3112,7 +3094,7 @@ export interface PostMenuV3DraftBrandGlobalDiffsApplyRequest
3112
3094
 
3113
3095
  export interface PostMenuV3BrandAttachmentPath {
3114
3096
  id: string;
3115
- name: string;
3097
+ name: "thumbnail";
3116
3098
  }
3117
3099
 
3118
3100
  export interface PostMenuV3BrandAttachmentQuery {
@@ -3137,7 +3119,6 @@ export interface PostMenuV3BrandQuery {
3137
3119
  export interface PostMenuV3BrandBody {
3138
3120
  parent?: PublishedBrandDTO;
3139
3121
  children?: PublishedBrandDTO[];
3140
- posid_segment?: POSIDSegmentDTO;
3141
3122
  menus?: PublishedMenuDTO[];
3142
3123
  categories?: PublishedCategoryDTO[];
3143
3124
  category_to_item_relationships?: PublishedCategoryToItemRelationshipDTO[];
@@ -3149,10 +3130,11 @@ export interface PostMenuV3BrandBody {
3149
3130
  name: string;
3150
3131
  description?: string;
3151
3132
  is_active?: boolean;
3152
- type?: string;
3133
+ type?: "global" | "local";
3153
3134
  parent_id?: string;
3154
3135
  local_menu_group_id?: string;
3155
3136
  global_menu_group_id?: string;
3137
+ posid_segment?: string;
3156
3138
  id?: any;
3157
3139
  local_menu_group?: LocalMenuGroupDTO;
3158
3140
  global_menu_group?: GlobalMenuGroupDTO;
@@ -3203,7 +3185,6 @@ export interface PatchMenuV3BrandQuery {
3203
3185
  export interface PatchMenuV3BrandBody {
3204
3186
  parent?: PublishedBrandDTO;
3205
3187
  children?: PublishedBrandDTO[];
3206
- posid_segment?: POSIDSegmentDTO;
3207
3188
  menus?: PublishedMenuDTO[];
3208
3189
  categories?: PublishedCategoryDTO[];
3209
3190
  category_to_item_relationships?: PublishedCategoryToItemRelationshipDTO[];
@@ -3216,10 +3197,11 @@ export interface PatchMenuV3BrandBody {
3216
3197
  name?: string;
3217
3198
  description?: string;
3218
3199
  is_active?: boolean;
3219
- type?: string;
3200
+ type?: "global" | "local";
3220
3201
  parent_id?: string;
3221
3202
  local_menu_group_id?: string;
3222
3203
  global_menu_group_id?: string;
3204
+ posid_segment?: string;
3223
3205
  version?: number;
3224
3206
  local_menu_group?: LocalMenuGroupDTO;
3225
3207
  global_menu_group?: GlobalMenuGroupDTO;
@@ -3262,15 +3244,17 @@ export interface GetMenuV3BrandsQuery {
3262
3244
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3263
3245
  relationships?: string[];
3264
3246
  // The fields that filtering is allowed on
3265
- filter?: any;
3247
+ filter?: {
3248
+ [index: string]: any;
3249
+ };
3266
3250
  // Number of records to load per page
3267
3251
  limit?: number;
3268
3252
  page?: number;
3269
3253
  // A field to sort the results based on
3270
3254
  sort_by?: string;
3271
- sort_order?: string;
3255
+ sort_order?: "DESC" | "ASC";
3272
3256
  // How soft deleted records should be shown in the list
3273
- soft_deleted?: string;
3257
+ soft_deleted?: "include" | "exclude" | "only";
3274
3258
  // Graphql query string
3275
3259
  _query?: string;
3276
3260
  nocache?: boolean;
@@ -3293,7 +3277,6 @@ export interface PostMenuV3BrandsQuery {
3293
3277
  export type PostMenuV3BrandsBody = {
3294
3278
  parent?: PublishedBrandDTO;
3295
3279
  children?: PublishedBrandDTO[];
3296
- posid_segment?: POSIDSegmentDTO;
3297
3280
  menus?: PublishedMenuDTO[];
3298
3281
  categories?: PublishedCategoryDTO[];
3299
3282
  category_to_item_relationships?: PublishedCategoryToItemRelationshipDTO[];
@@ -3305,10 +3288,11 @@ export type PostMenuV3BrandsBody = {
3305
3288
  name: string;
3306
3289
  description?: string;
3307
3290
  is_active?: boolean;
3308
- type?: string;
3291
+ type?: "global" | "local";
3309
3292
  parent_id?: string;
3310
3293
  local_menu_group_id?: string;
3311
3294
  global_menu_group_id?: string;
3295
+ posid_segment?: string;
3312
3296
  id?: any;
3313
3297
  local_menu_group?: LocalMenuGroupDTO;
3314
3298
  global_menu_group?: GlobalMenuGroupDTO;
@@ -3331,7 +3315,9 @@ export interface PostMenuV3BrandsRequest extends BaseRequest, RequestQuery<PostM
3331
3315
 
3332
3316
  export interface GetMenuV3BrandsCountQuery {
3333
3317
  // The fields that filtering is allowed on
3334
- filter?: any;
3318
+ filter?: {
3319
+ [index: string]: any;
3320
+ };
3335
3321
  // Graphql query string
3336
3322
  _query?: string;
3337
3323
  nocache?: boolean;
@@ -3358,15 +3344,17 @@ export interface GetMenuV3BrandMenusQuery {
3358
3344
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3359
3345
  relationships?: string[];
3360
3346
  // The fields that filtering is allowed on
3361
- filter?: any;
3347
+ filter?: {
3348
+ [index: string]: any;
3349
+ };
3362
3350
  // Number of records to load per page
3363
3351
  limit?: number;
3364
3352
  page?: number;
3365
3353
  // A field to sort the results based on
3366
3354
  sort_by?: string;
3367
- sort_order?: string;
3355
+ sort_order?: "DESC" | "ASC";
3368
3356
  // How soft deleted records should be shown in the list
3369
- soft_deleted?: string;
3357
+ soft_deleted?: "include" | "exclude" | "only";
3370
3358
  // Graphql query string
3371
3359
  _query?: string;
3372
3360
  nocache?: boolean;
@@ -3395,15 +3383,17 @@ export interface GetMenuV3BrandModifiersQuery {
3395
3383
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3396
3384
  relationships?: string[];
3397
3385
  // The fields that filtering is allowed on
3398
- filter?: any;
3386
+ filter?: {
3387
+ [index: string]: any;
3388
+ };
3399
3389
  // Number of records to load per page
3400
3390
  limit?: number;
3401
3391
  page?: number;
3402
3392
  // A field to sort the results based on
3403
3393
  sort_by?: string;
3404
- sort_order?: string;
3394
+ sort_order?: "DESC" | "ASC";
3405
3395
  // How soft deleted records should be shown in the list
3406
- soft_deleted?: string;
3396
+ soft_deleted?: "include" | "exclude" | "only";
3407
3397
  // Graphql query string
3408
3398
  _query?: string;
3409
3399
  nocache?: boolean;
@@ -3432,15 +3422,17 @@ export interface GetMenuV3BrandModifierGroupsQuery {
3432
3422
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3433
3423
  relationships?: string[];
3434
3424
  // The fields that filtering is allowed on
3435
- filter?: any;
3425
+ filter?: {
3426
+ [index: string]: any;
3427
+ };
3436
3428
  // Number of records to load per page
3437
3429
  limit?: number;
3438
3430
  page?: number;
3439
3431
  // A field to sort the results based on
3440
3432
  sort_by?: string;
3441
- sort_order?: string;
3433
+ sort_order?: "DESC" | "ASC";
3442
3434
  // How soft deleted records should be shown in the list
3443
- soft_deleted?: string;
3435
+ soft_deleted?: "include" | "exclude" | "only";
3444
3436
  // Graphql query string
3445
3437
  _query?: string;
3446
3438
  nocache?: boolean;
@@ -3469,15 +3461,17 @@ export interface GetMenuV3BrandItemsQuery {
3469
3461
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3470
3462
  relationships?: string[];
3471
3463
  // The fields that filtering is allowed on
3472
- filter?: any;
3464
+ filter?: {
3465
+ [index: string]: any;
3466
+ };
3473
3467
  // Number of records to load per page
3474
3468
  limit?: number;
3475
3469
  page?: number;
3476
3470
  // A field to sort the results based on
3477
3471
  sort_by?: string;
3478
- sort_order?: string;
3472
+ sort_order?: "DESC" | "ASC";
3479
3473
  // How soft deleted records should be shown in the list
3480
- soft_deleted?: string;
3474
+ soft_deleted?: "include" | "exclude" | "only";
3481
3475
  // Graphql query string
3482
3476
  _query?: string;
3483
3477
  nocache?: boolean;
@@ -3507,7 +3501,6 @@ export interface PostMenuV3BrandLocalQuery {
3507
3501
  export interface PostMenuV3BrandLocalResponse {
3508
3502
  parent?: DraftBrandDTO;
3509
3503
  children?: DraftBrandDTO[];
3510
- posid_segment?: POSIDSegmentDTO;
3511
3504
  menus?: DraftMenuDTO[];
3512
3505
  categories?: DraftCategoryDTO[];
3513
3506
  category_to_item_relationships?: DraftCategoryToItemRelationshipDTO[];
@@ -3524,10 +3517,11 @@ export interface PostMenuV3BrandLocalResponse {
3524
3517
  name: string;
3525
3518
  description?: string;
3526
3519
  is_active?: boolean;
3527
- type?: string;
3520
+ type?: "global" | "local";
3528
3521
  parent_id?: string;
3529
3522
  local_menu_group_id?: string;
3530
3523
  global_menu_group_id?: string;
3524
+ posid_segment?: string;
3531
3525
  version?: number;
3532
3526
  changes?: BrandChangeDTO[];
3533
3527
  local_menu_group?: LocalMenuGroupDTO;
@@ -3636,15 +3630,17 @@ export interface GetMenuV3DraftMenusQuery {
3636
3630
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3637
3631
  relationships?: string[];
3638
3632
  // The fields that filtering is allowed on
3639
- filter?: any;
3633
+ filter?: {
3634
+ [index: string]: any;
3635
+ };
3640
3636
  // Number of records to load per page
3641
3637
  limit?: number;
3642
3638
  page?: number;
3643
3639
  // A field to sort the results based on
3644
3640
  sort_by?: string;
3645
- sort_order?: string;
3641
+ sort_order?: "DESC" | "ASC";
3646
3642
  // How soft deleted records should be shown in the list
3647
- soft_deleted?: string;
3643
+ soft_deleted?: "include" | "exclude" | "only";
3648
3644
  // Graphql query string
3649
3645
  _query?: string;
3650
3646
  }
@@ -3691,7 +3687,9 @@ export interface PostMenuV3DraftMenusRequest extends BaseRequest {
3691
3687
 
3692
3688
  export interface GetMenuV3DraftMenusCountQuery {
3693
3689
  // The fields that filtering is allowed on
3694
- filter?: any;
3690
+ filter?: {
3691
+ [index: string]: any;
3692
+ };
3695
3693
  // Graphql query string
3696
3694
  _query?: string;
3697
3695
  }
@@ -3717,15 +3715,17 @@ export interface GetMenuV3DraftMenuCategoriesQuery {
3717
3715
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3718
3716
  relationships?: string[];
3719
3717
  // The fields that filtering is allowed on
3720
- filter?: any;
3718
+ filter?: {
3719
+ [index: string]: any;
3720
+ };
3721
3721
  // Number of records to load per page
3722
3722
  limit?: number;
3723
3723
  page?: number;
3724
3724
  // A field to sort the results based on
3725
3725
  sort_by?: string;
3726
- sort_order?: string;
3726
+ sort_order?: "DESC" | "ASC";
3727
3727
  // How soft deleted records should be shown in the list
3728
- soft_deleted?: string;
3728
+ soft_deleted?: "include" | "exclude" | "only";
3729
3729
  // Graphql query string
3730
3730
  _query?: string;
3731
3731
  }
@@ -3786,15 +3786,17 @@ export interface GetMenuV3MenusQuery {
3786
3786
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3787
3787
  relationships?: string[];
3788
3788
  // The fields that filtering is allowed on
3789
- filter?: any;
3789
+ filter?: {
3790
+ [index: string]: any;
3791
+ };
3790
3792
  // Number of records to load per page
3791
3793
  limit?: number;
3792
3794
  page?: number;
3793
3795
  // A field to sort the results based on
3794
3796
  sort_by?: string;
3795
- sort_order?: string;
3797
+ sort_order?: "DESC" | "ASC";
3796
3798
  // How soft deleted records should be shown in the list
3797
- soft_deleted?: string;
3799
+ soft_deleted?: "include" | "exclude" | "only";
3798
3800
  // Graphql query string
3799
3801
  _query?: string;
3800
3802
  nocache?: boolean;
@@ -3812,7 +3814,9 @@ export interface GetMenuV3MenusRequest extends BaseRequest, RequestQuery<GetMenu
3812
3814
 
3813
3815
  export interface GetMenuV3MenusCountQuery {
3814
3816
  // The fields that filtering is allowed on
3815
- filter?: any;
3817
+ filter?: {
3818
+ [index: string]: any;
3819
+ };
3816
3820
  // Graphql query string
3817
3821
  _query?: string;
3818
3822
  nocache?: boolean;
@@ -3839,15 +3843,17 @@ export interface GetMenuV3MenuCategoriesQuery {
3839
3843
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
3840
3844
  relationships?: string[];
3841
3845
  // The fields that filtering is allowed on
3842
- filter?: any;
3846
+ filter?: {
3847
+ [index: string]: any;
3848
+ };
3843
3849
  // Number of records to load per page
3844
3850
  limit?: number;
3845
3851
  page?: number;
3846
3852
  // A field to sort the results based on
3847
3853
  sort_by?: string;
3848
- sort_order?: string;
3854
+ sort_order?: "DESC" | "ASC";
3849
3855
  // How soft deleted records should be shown in the list
3850
- soft_deleted?: string;
3856
+ soft_deleted?: "include" | "exclude" | "only";
3851
3857
  // Graphql query string
3852
3858
  _query?: string;
3853
3859
  nocache?: boolean;
@@ -3965,7 +3971,9 @@ export interface DeleteMenuV3DraftCategoryRequest
3965
3971
 
3966
3972
  export interface GetMenuV3DraftCategoriesCountQuery {
3967
3973
  // The fields that filtering is allowed on
3968
- filter?: any;
3974
+ filter?: {
3975
+ [index: string]: any;
3976
+ };
3969
3977
  // Graphql query string
3970
3978
  _query?: string;
3971
3979
  }
@@ -4039,7 +4047,9 @@ export interface GetMenuV3CategoryRequest
4039
4047
 
4040
4048
  export interface GetMenuV3CategorysCountQuery {
4041
4049
  // The fields that filtering is allowed on
4042
- filter?: any;
4050
+ filter?: {
4051
+ [index: string]: any;
4052
+ };
4043
4053
  // Graphql query string
4044
4054
  _query?: string;
4045
4055
  nocache?: boolean;
@@ -4157,15 +4167,17 @@ export interface GetMenuV3DraftCategoryRelationshipsItemsQuery {
4157
4167
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
4158
4168
  relationships?: string[];
4159
4169
  // The fields that filtering is allowed on
4160
- filter?: any;
4170
+ filter?: {
4171
+ [index: string]: any;
4172
+ };
4161
4173
  // Number of records to load per page
4162
4174
  limit?: number;
4163
4175
  page?: number;
4164
4176
  // A field to sort the results based on
4165
4177
  sort_by?: string;
4166
- sort_order?: string;
4178
+ sort_order?: "DESC" | "ASC";
4167
4179
  // How soft deleted records should be shown in the list
4168
- soft_deleted?: string;
4180
+ soft_deleted?: "include" | "exclude" | "only";
4169
4181
  // Graphql query string
4170
4182
  _query?: string;
4171
4183
  }
@@ -4215,7 +4227,9 @@ export interface PostMenuV3DraftCategoryRelationshipsItemsRequest extends BaseRe
4215
4227
 
4216
4228
  export interface GetMenuV3DraftCategoryRelationshipsItemsCountQuery {
4217
4229
  // The fields that filtering is allowed on
4218
- filter?: any;
4230
+ filter?: {
4231
+ [index: string]: any;
4232
+ };
4219
4233
  // Graphql query string
4220
4234
  _query?: string;
4221
4235
  }
@@ -4229,13 +4243,13 @@ export interface GetMenuV3DraftCategoryRelationshipsItemsCountRequest
4229
4243
  extends BaseRequest,
4230
4244
  RequestQuery<GetMenuV3DraftCategoryRelationshipsItemsCountQuery> {}
4231
4245
 
4232
- // GET /menu/v3/category/relationships/modifier-group/{id}
4246
+ // GET /menu/v3/category/relationships/item/{id}
4233
4247
 
4234
- export interface GetMenuV3CategoryRelationshipsModifierGroupPath {
4248
+ export interface GetMenuV3CategoryRelationshipsItemPath {
4235
4249
  id: string;
4236
4250
  }
4237
4251
 
4238
- export interface GetMenuV3CategoryRelationshipsModifierGroupQuery {
4252
+ export interface GetMenuV3CategoryRelationshipsItemQuery {
4239
4253
  // If specified, only the selected fields will be returned
4240
4254
  select?: string[];
4241
4255
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
@@ -4245,71 +4259,73 @@ export interface GetMenuV3CategoryRelationshipsModifierGroupQuery {
4245
4259
  nocache?: boolean;
4246
4260
  }
4247
4261
 
4248
- export type GetMenuV3CategoryRelationshipsModifierGroupResponse =
4249
- PublishedCategoryToItemRelationshipDTO;
4262
+ export type GetMenuV3CategoryRelationshipsItemResponse = PublishedCategoryToItemRelationshipDTO;
4250
4263
 
4251
- export interface GetMenuV3CategoryRelationshipsModifierGroupRequest
4264
+ export interface GetMenuV3CategoryRelationshipsItemRequest
4252
4265
  extends BaseRequest,
4253
- RequestQuery<GetMenuV3CategoryRelationshipsModifierGroupQuery>,
4254
- GetMenuV3CategoryRelationshipsModifierGroupPath {}
4266
+ RequestQuery<GetMenuV3CategoryRelationshipsItemQuery>,
4267
+ GetMenuV3CategoryRelationshipsItemPath {}
4255
4268
 
4256
- // GET /menu/v3/category/relationships/modifier-groups
4269
+ // GET /menu/v3/category/relationships/items
4257
4270
 
4258
- export interface GetMenuV3CategoryRelationshipsModifierGroupsQuery {
4271
+ export interface GetMenuV3CategoryRelationshipsItemsQuery {
4259
4272
  // If specified, only the selected fields will be returned
4260
4273
  select?: string[];
4261
4274
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
4262
4275
  relationships?: string[];
4263
4276
  // The fields that filtering is allowed on
4264
- filter?: any;
4277
+ filter?: {
4278
+ [index: string]: any;
4279
+ };
4265
4280
  // Number of records to load per page
4266
4281
  limit?: number;
4267
4282
  page?: number;
4268
4283
  // A field to sort the results based on
4269
4284
  sort_by?: string;
4270
- sort_order?: string;
4285
+ sort_order?: "DESC" | "ASC";
4271
4286
  // How soft deleted records should be shown in the list
4272
- soft_deleted?: string;
4287
+ soft_deleted?: "include" | "exclude" | "only";
4273
4288
  // Graphql query string
4274
4289
  _query?: string;
4275
4290
  nocache?: boolean;
4276
4291
  }
4277
4292
 
4278
- export interface GetMenuV3CategoryRelationshipsModifierGroupsResponse {
4293
+ export interface GetMenuV3CategoryRelationshipsItemsResponse {
4279
4294
  results: PublishedCategoryToItemRelationshipDTO[];
4280
4295
  meta?: ListResponseMetadataDTO;
4281
4296
  [index: string]: any;
4282
4297
  }
4283
4298
 
4284
- export interface GetMenuV3CategoryRelationshipsModifierGroupsRequest
4299
+ export interface GetMenuV3CategoryRelationshipsItemsRequest
4285
4300
  extends BaseRequest,
4286
- RequestQuery<GetMenuV3CategoryRelationshipsModifierGroupsQuery> {}
4301
+ RequestQuery<GetMenuV3CategoryRelationshipsItemsQuery> {}
4287
4302
 
4288
- // GET /menu/v3/category/relationships/modifier-groups/count
4303
+ // GET /menu/v3/category/relationships/items/count
4289
4304
 
4290
- export interface GetMenuV3CategoryRelationshipsModifierGroupsCountQuery {
4305
+ export interface GetMenuV3CategoryRelationshipsItemsCountQuery {
4291
4306
  // The fields that filtering is allowed on
4292
- filter?: any;
4307
+ filter?: {
4308
+ [index: string]: any;
4309
+ };
4293
4310
  // Graphql query string
4294
4311
  _query?: string;
4295
4312
  nocache?: boolean;
4296
4313
  }
4297
4314
 
4298
- export interface GetMenuV3CategoryRelationshipsModifierGroupsCountResponse {
4315
+ export interface GetMenuV3CategoryRelationshipsItemsCountResponse {
4299
4316
  count: number;
4300
4317
  [index: string]: any;
4301
4318
  }
4302
4319
 
4303
- export interface GetMenuV3CategoryRelationshipsModifierGroupsCountRequest
4320
+ export interface GetMenuV3CategoryRelationshipsItemsCountRequest
4304
4321
  extends BaseRequest,
4305
- RequestQuery<GetMenuV3CategoryRelationshipsModifierGroupsCountQuery> {}
4322
+ RequestQuery<GetMenuV3CategoryRelationshipsItemsCountQuery> {}
4306
4323
 
4307
4324
  // POST /menu/v3/draft/item
4308
4325
 
4309
4326
  export interface PostMenuV3DraftItemBody {
4310
4327
  parent?: DraftItemDTO;
4311
4328
  children?: DraftItemDTO[];
4312
- posid_segment?: POSIDSegmentDTO;
4313
4329
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
4314
4330
  parent_id?: string;
4315
4331
  name: string;
@@ -4324,6 +4340,7 @@ export interface PostMenuV3DraftItemBody {
4324
4340
  tax_tags?: any[];
4325
4341
  brand_id: string;
4326
4342
  line_route?: string;
4343
+ posid_segment?: string;
4327
4344
  id?: any;
4328
4345
  applied_diff_snapshot?: any;
4329
4346
  brand?: DraftBrandDTO;
@@ -4373,7 +4390,6 @@ export interface PatchMenuV3DraftItemPath {
4373
4390
  export interface PatchMenuV3DraftItemBody {
4374
4391
  parent?: DraftItemDTO;
4375
4392
  children?: DraftItemDTO[];
4376
- posid_segment?: POSIDSegmentDTO;
4377
4393
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
4378
4394
  id?: string;
4379
4395
  parent_id?: string;
@@ -4389,6 +4405,7 @@ export interface PatchMenuV3DraftItemBody {
4389
4405
  tax_tags?: any[];
4390
4406
  brand_id?: string;
4391
4407
  line_route?: string;
4408
+ posid_segment?: string;
4392
4409
  applied_diff_snapshot?: any;
4393
4410
  version?: number;
4394
4411
  brand?: DraftBrandDTO;
@@ -4425,15 +4442,17 @@ export interface GetMenuV3DraftItemsQuery {
4425
4442
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
4426
4443
  relationships?: string[];
4427
4444
  // The fields that filtering is allowed on
4428
- filter?: any;
4445
+ filter?: {
4446
+ [index: string]: any;
4447
+ };
4429
4448
  // Number of records to load per page
4430
4449
  limit?: number;
4431
4450
  page?: number;
4432
4451
  // A field to sort the results based on
4433
4452
  sort_by?: string;
4434
- sort_order?: string;
4453
+ sort_order?: "DESC" | "ASC";
4435
4454
  // How soft deleted records should be shown in the list
4436
- soft_deleted?: string;
4455
+ soft_deleted?: "include" | "exclude" | "only";
4437
4456
  // Graphql query string
4438
4457
  _query?: string;
4439
4458
  }
@@ -4453,7 +4472,6 @@ export interface GetMenuV3DraftItemsRequest
4453
4472
  export type PostMenuV3DraftItemsBody = {
4454
4473
  parent?: DraftItemDTO;
4455
4474
  children?: DraftItemDTO[];
4456
- posid_segment?: POSIDSegmentDTO;
4457
4475
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
4458
4476
  parent_id?: string;
4459
4477
  name: string;
@@ -4468,6 +4486,7 @@ export type PostMenuV3DraftItemsBody = {
4468
4486
  tax_tags?: any[];
4469
4487
  brand_id: string;
4470
4488
  line_route?: string;
4489
+ posid_segment?: string;
4471
4490
  id?: any;
4472
4491
  applied_diff_snapshot?: any;
4473
4492
  brand?: DraftBrandDTO;
@@ -4494,7 +4513,9 @@ export interface PostMenuV3DraftItemsRequest extends BaseRequest {
4494
4513
 
4495
4514
  export interface GetMenuV3DraftItemsCountQuery {
4496
4515
  // The fields that filtering is allowed on
4497
- filter?: any;
4516
+ filter?: {
4517
+ [index: string]: any;
4518
+ };
4498
4519
  // Graphql query string
4499
4520
  _query?: string;
4500
4521
  }
@@ -4514,7 +4535,6 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
4514
4535
  id_list: any[];
4515
4536
  parent?: DraftItemDTO;
4516
4537
  children?: DraftItemDTO[];
4517
- posid_segment?: POSIDSegmentDTO;
4518
4538
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
4519
4539
  id?: string;
4520
4540
  parent_id?: string;
@@ -4530,6 +4550,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
4530
4550
  tax_tags?: any[];
4531
4551
  brand_id?: string;
4532
4552
  line_route?: string;
4553
+ posid_segment?: string;
4533
4554
  applied_diff_snapshot?: any;
4534
4555
  brand?: DraftBrandDTO;
4535
4556
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -4553,7 +4574,7 @@ export interface PatchMenuV3DraftItemsBulkUpdateRequest extends BaseRequest {
4553
4574
 
4554
4575
  export interface PostMenuV3ItemAttachmentPath {
4555
4576
  id: string;
4556
- name: string;
4577
+ name: "thumbnail";
4557
4578
  }
4558
4579
 
4559
4580
  export interface PostMenuV3ItemAttachmentQuery {
@@ -4573,6 +4594,7 @@ export interface PostMenuV3ItemAttachmentRequest
4573
4594
 
4574
4595
  export interface PostMenuV3ItemsImportQuery {
4575
4596
  "body.brand_id"?: string;
4597
+ "body.category_id"?: string;
4576
4598
  "body.data"?: string;
4577
4599
  }
4578
4600
 
@@ -4615,15 +4637,17 @@ export interface GetMenuV3ItemsQuery {
4615
4637
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
4616
4638
  relationships?: string[];
4617
4639
  // The fields that filtering is allowed on
4618
- filter?: any;
4640
+ filter?: {
4641
+ [index: string]: any;
4642
+ };
4619
4643
  // Number of records to load per page
4620
4644
  limit?: number;
4621
4645
  page?: number;
4622
4646
  // A field to sort the results based on
4623
4647
  sort_by?: string;
4624
- sort_order?: string;
4648
+ sort_order?: "DESC" | "ASC";
4625
4649
  // How soft deleted records should be shown in the list
4626
- soft_deleted?: string;
4650
+ soft_deleted?: "include" | "exclude" | "only";
4627
4651
  // Graphql query string
4628
4652
  _query?: string;
4629
4653
  nocache?: boolean;
@@ -4641,7 +4665,9 @@ export interface GetMenuV3ItemsRequest extends BaseRequest, RequestQuery<GetMenu
4641
4665
 
4642
4666
  export interface GetMenuV3ItemsCountQuery {
4643
4667
  // The fields that filtering is allowed on
4644
- filter?: any;
4668
+ filter?: {
4669
+ [index: string]: any;
4670
+ };
4645
4671
  // Graphql query string
4646
4672
  _query?: string;
4647
4673
  nocache?: boolean;
@@ -4763,15 +4789,17 @@ export interface GetMenuV3DraftItemRelationshipsModifierGroupsQuery {
4763
4789
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
4764
4790
  relationships?: string[];
4765
4791
  // The fields that filtering is allowed on
4766
- filter?: any;
4792
+ filter?: {
4793
+ [index: string]: any;
4794
+ };
4767
4795
  // Number of records to load per page
4768
4796
  limit?: number;
4769
4797
  page?: number;
4770
4798
  // A field to sort the results based on
4771
4799
  sort_by?: string;
4772
- sort_order?: string;
4800
+ sort_order?: "DESC" | "ASC";
4773
4801
  // How soft deleted records should be shown in the list
4774
- soft_deleted?: string;
4802
+ soft_deleted?: "include" | "exclude" | "only";
4775
4803
  // Graphql query string
4776
4804
  _query?: string;
4777
4805
  }
@@ -4821,7 +4849,9 @@ export interface PostMenuV3DraftItemRelationshipsModifierGroupsRequest extends B
4821
4849
 
4822
4850
  export interface GetMenuV3DraftItemRelationshipsModifierGroupsCountQuery {
4823
4851
  // The fields that filtering is allowed on
4824
- filter?: any;
4852
+ filter?: {
4853
+ [index: string]: any;
4854
+ };
4825
4855
  // Graphql query string
4826
4856
  _query?: string;
4827
4857
  }
@@ -4867,15 +4897,17 @@ export interface GetMenuV3ItemRelationshipsModifierGroupsQuery {
4867
4897
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
4868
4898
  relationships?: string[];
4869
4899
  // The fields that filtering is allowed on
4870
- filter?: any;
4900
+ filter?: {
4901
+ [index: string]: any;
4902
+ };
4871
4903
  // Number of records to load per page
4872
4904
  limit?: number;
4873
4905
  page?: number;
4874
4906
  // A field to sort the results based on
4875
4907
  sort_by?: string;
4876
- sort_order?: string;
4908
+ sort_order?: "DESC" | "ASC";
4877
4909
  // How soft deleted records should be shown in the list
4878
- soft_deleted?: string;
4910
+ soft_deleted?: "include" | "exclude" | "only";
4879
4911
  // Graphql query string
4880
4912
  _query?: string;
4881
4913
  nocache?: boolean;
@@ -4895,7 +4927,9 @@ export interface GetMenuV3ItemRelationshipsModifierGroupsRequest
4895
4927
 
4896
4928
  export interface GetMenuV3ItemRelationshipsModifierGroupsCountQuery {
4897
4929
  // The fields that filtering is allowed on
4898
- filter?: any;
4930
+ filter?: {
4931
+ [index: string]: any;
4932
+ };
4899
4933
  // Graphql query string
4900
4934
  _query?: string;
4901
4935
  nocache?: boolean;
@@ -5017,15 +5051,17 @@ export interface GetMenuV3DraftModifierGroupsQuery {
5017
5051
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
5018
5052
  relationships?: string[];
5019
5053
  // The fields that filtering is allowed on
5020
- filter?: any;
5054
+ filter?: {
5055
+ [index: string]: any;
5056
+ };
5021
5057
  // Number of records to load per page
5022
5058
  limit?: number;
5023
5059
  page?: number;
5024
5060
  // A field to sort the results based on
5025
5061
  sort_by?: string;
5026
- sort_order?: string;
5062
+ sort_order?: "DESC" | "ASC";
5027
5063
  // How soft deleted records should be shown in the list
5028
- soft_deleted?: string;
5064
+ soft_deleted?: "include" | "exclude" | "only";
5029
5065
  // Graphql query string
5030
5066
  _query?: string;
5031
5067
  }
@@ -5077,7 +5113,9 @@ export interface PostMenuV3DraftModifierGroupsRequest extends BaseRequest {
5077
5113
 
5078
5114
  export interface GetMenuV3DraftModifierGroupsCountQuery {
5079
5115
  // The fields that filtering is allowed on
5080
- filter?: any;
5116
+ filter?: {
5117
+ [index: string]: any;
5118
+ };
5081
5119
  // Graphql query string
5082
5120
  _query?: string;
5083
5121
  }
@@ -5091,6 +5129,41 @@ export interface GetMenuV3DraftModifierGroupsCountRequest
5091
5129
  extends BaseRequest,
5092
5130
  RequestQuery<GetMenuV3DraftModifierGroupsCountQuery> {}
5093
5131
 
5132
+ // POST /menu/v3/draft/modifier-group/{id}/duplicate
5133
+
5134
+ export interface PostMenuV3DraftModifierGroupDuplicatePath {
5135
+ id: string;
5136
+ }
5137
+
5138
+ export interface PostMenuV3DraftModifierGroupDuplicateResponse {
5139
+ parent?: DraftModifierGroupDTO;
5140
+ children?: DraftModifierGroupDTO[];
5141
+ modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
5142
+ items?: DraftItemToModifierGroupRelationshipDTO[];
5143
+ id?: string;
5144
+ created_at?: string;
5145
+ updated_at?: string;
5146
+ deleted_at?: string;
5147
+ parent_id?: string;
5148
+ name: string;
5149
+ label?: string;
5150
+ min?: number;
5151
+ max?: number;
5152
+ is_active?: boolean;
5153
+ brand_id: string;
5154
+ applied_diff_snapshot?: any;
5155
+ version?: number;
5156
+ brand?: DraftBrandDTO;
5157
+ changes?: ModifierGroupChangeDTO[];
5158
+ vendor_metadata?: VendorMetadataDTO[];
5159
+ permissions?: any;
5160
+ [index: string]: any;
5161
+ }
5162
+
5163
+ export interface PostMenuV3DraftModifierGroupDuplicateRequest
5164
+ extends BaseRequest,
5165
+ PostMenuV3DraftModifierGroupDuplicatePath {}
5166
+
5094
5167
  // GET /menu/v3/modifier-group/{id}
5095
5168
 
5096
5169
  export interface GetMenuV3ModifierGroupPath {
@@ -5122,15 +5195,17 @@ export interface GetMenuV3ModifierGroupsQuery {
5122
5195
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
5123
5196
  relationships?: string[];
5124
5197
  // The fields that filtering is allowed on
5125
- filter?: any;
5198
+ filter?: {
5199
+ [index: string]: any;
5200
+ };
5126
5201
  // Number of records to load per page
5127
5202
  limit?: number;
5128
5203
  page?: number;
5129
5204
  // A field to sort the results based on
5130
5205
  sort_by?: string;
5131
- sort_order?: string;
5206
+ sort_order?: "DESC" | "ASC";
5132
5207
  // How soft deleted records should be shown in the list
5133
- soft_deleted?: string;
5208
+ soft_deleted?: "include" | "exclude" | "only";
5134
5209
  // Graphql query string
5135
5210
  _query?: string;
5136
5211
  nocache?: boolean;
@@ -5150,7 +5225,9 @@ export interface GetMenuV3ModifierGroupsRequest
5150
5225
 
5151
5226
  export interface GetMenuV3ModifierGroupsCountQuery {
5152
5227
  // The fields that filtering is allowed on
5153
- filter?: any;
5228
+ filter?: {
5229
+ [index: string]: any;
5230
+ };
5154
5231
  // Graphql query string
5155
5232
  _query?: string;
5156
5233
  nocache?: boolean;
@@ -5272,15 +5349,17 @@ export interface GetMenuV3DraftModifierGroupRelationshipsModifiersQuery {
5272
5349
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
5273
5350
  relationships?: string[];
5274
5351
  // The fields that filtering is allowed on
5275
- filter?: any;
5352
+ filter?: {
5353
+ [index: string]: any;
5354
+ };
5276
5355
  // Number of records to load per page
5277
5356
  limit?: number;
5278
5357
  page?: number;
5279
5358
  // A field to sort the results based on
5280
5359
  sort_by?: string;
5281
- sort_order?: string;
5360
+ sort_order?: "DESC" | "ASC";
5282
5361
  // How soft deleted records should be shown in the list
5283
- soft_deleted?: string;
5362
+ soft_deleted?: "include" | "exclude" | "only";
5284
5363
  // Graphql query string
5285
5364
  _query?: string;
5286
5365
  }
@@ -5330,7 +5409,9 @@ export interface PostMenuV3DraftModifierGroupRelationshipsModifiersRequest exten
5330
5409
 
5331
5410
  export interface GetMenuV3DraftModifierGroupRelationshipsModifiersCountQuery {
5332
5411
  // The fields that filtering is allowed on
5333
- filter?: any;
5412
+ filter?: {
5413
+ [index: string]: any;
5414
+ };
5334
5415
  // Graphql query string
5335
5416
  _query?: string;
5336
5417
  }
@@ -5376,15 +5457,17 @@ export interface GetMenuV3ModifierGroupRelationshipsModifiersQuery {
5376
5457
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
5377
5458
  relationships?: string[];
5378
5459
  // The fields that filtering is allowed on
5379
- filter?: any;
5460
+ filter?: {
5461
+ [index: string]: any;
5462
+ };
5380
5463
  // Number of records to load per page
5381
5464
  limit?: number;
5382
5465
  page?: number;
5383
5466
  // A field to sort the results based on
5384
5467
  sort_by?: string;
5385
- sort_order?: string;
5468
+ sort_order?: "DESC" | "ASC";
5386
5469
  // How soft deleted records should be shown in the list
5387
- soft_deleted?: string;
5470
+ soft_deleted?: "include" | "exclude" | "only";
5388
5471
  // Graphql query string
5389
5472
  _query?: string;
5390
5473
  nocache?: boolean;
@@ -5404,7 +5487,9 @@ export interface GetMenuV3ModifierGroupRelationshipsModifiersRequest
5404
5487
 
5405
5488
  export interface GetMenuV3ModifierGroupRelationshipsModifiersCountQuery {
5406
5489
  // The fields that filtering is allowed on
5407
- filter?: any;
5490
+ filter?: {
5491
+ [index: string]: any;
5492
+ };
5408
5493
  // Graphql query string
5409
5494
  _query?: string;
5410
5495
  nocache?: boolean;
@@ -5424,7 +5509,6 @@ export interface GetMenuV3ModifierGroupRelationshipsModifiersCountRequest
5424
5509
  export interface PostMenuV3DraftModifierBody {
5425
5510
  parent?: DraftModifierDTO;
5426
5511
  children?: DraftModifierDTO[];
5427
- posid_segment?: POSIDSegmentDTO;
5428
5512
  modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
5429
5513
  parent_id?: string;
5430
5514
  name: string;
@@ -5436,6 +5520,7 @@ export interface PostMenuV3DraftModifierBody {
5436
5520
  is_active?: boolean;
5437
5521
  posid?: string;
5438
5522
  reporting: ReportingMetadataDTO;
5523
+ posid_segment?: string;
5439
5524
  brand_id: string;
5440
5525
  id?: any;
5441
5526
  applied_diff_snapshot?: any;
@@ -5484,7 +5569,6 @@ export interface PatchMenuV3DraftModifierPath {
5484
5569
  export interface PatchMenuV3DraftModifierBody {
5485
5570
  parent?: DraftModifierDTO;
5486
5571
  children?: DraftModifierDTO[];
5487
- posid_segment?: POSIDSegmentDTO;
5488
5572
  modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
5489
5573
  id?: string;
5490
5574
  parent_id?: string;
@@ -5497,6 +5581,7 @@ export interface PatchMenuV3DraftModifierBody {
5497
5581
  is_active?: boolean;
5498
5582
  posid?: string;
5499
5583
  reporting?: ReportingMetadataDTO;
5584
+ posid_segment?: string;
5500
5585
  brand_id?: string;
5501
5586
  applied_diff_snapshot?: any;
5502
5587
  version?: number;
@@ -5534,15 +5619,17 @@ export interface GetMenuV3DraftModifiersQuery {
5534
5619
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
5535
5620
  relationships?: string[];
5536
5621
  // The fields that filtering is allowed on
5537
- filter?: any;
5622
+ filter?: {
5623
+ [index: string]: any;
5624
+ };
5538
5625
  // Number of records to load per page
5539
5626
  limit?: number;
5540
5627
  page?: number;
5541
5628
  // A field to sort the results based on
5542
5629
  sort_by?: string;
5543
- sort_order?: string;
5630
+ sort_order?: "DESC" | "ASC";
5544
5631
  // How soft deleted records should be shown in the list
5545
- soft_deleted?: string;
5632
+ soft_deleted?: "include" | "exclude" | "only";
5546
5633
  // Graphql query string
5547
5634
  _query?: string;
5548
5635
  }
@@ -5562,7 +5649,6 @@ export interface GetMenuV3DraftModifiersRequest
5562
5649
  export type PostMenuV3DraftModifiersBody = {
5563
5650
  parent?: DraftModifierDTO;
5564
5651
  children?: DraftModifierDTO[];
5565
- posid_segment?: POSIDSegmentDTO;
5566
5652
  modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
5567
5653
  parent_id?: string;
5568
5654
  name: string;
@@ -5574,6 +5660,7 @@ export type PostMenuV3DraftModifiersBody = {
5574
5660
  is_active?: boolean;
5575
5661
  posid?: string;
5576
5662
  reporting: ReportingMetadataDTO;
5663
+ posid_segment?: string;
5577
5664
  brand_id: string;
5578
5665
  id?: any;
5579
5666
  applied_diff_snapshot?: any;
@@ -5599,7 +5686,9 @@ export interface PostMenuV3DraftModifiersRequest extends BaseRequest {
5599
5686
 
5600
5687
  export interface GetMenuV3DraftModifiersCountQuery {
5601
5688
  // The fields that filtering is allowed on
5602
- filter?: any;
5689
+ filter?: {
5690
+ [index: string]: any;
5691
+ };
5603
5692
  // Graphql query string
5604
5693
  _query?: string;
5605
5694
  }
@@ -5619,7 +5708,6 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
5619
5708
  id_list: any[];
5620
5709
  parent?: DraftModifierDTO;
5621
5710
  children?: DraftModifierDTO[];
5622
- posid_segment?: POSIDSegmentDTO;
5623
5711
  modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
5624
5712
  id?: string;
5625
5713
  parent_id?: string;
@@ -5632,6 +5720,7 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
5632
5720
  is_active?: boolean;
5633
5721
  posid?: string;
5634
5722
  reporting?: ReportingMetadataDTO;
5723
+ posid_segment?: string;
5635
5724
  brand_id?: string;
5636
5725
  applied_diff_snapshot?: any;
5637
5726
  brand?: DraftBrandDTO;
@@ -5681,15 +5770,17 @@ export interface GetMenuV3ModifiersQuery {
5681
5770
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
5682
5771
  relationships?: string[];
5683
5772
  // The fields that filtering is allowed on
5684
- filter?: any;
5773
+ filter?: {
5774
+ [index: string]: any;
5775
+ };
5685
5776
  // Number of records to load per page
5686
5777
  limit?: number;
5687
5778
  page?: number;
5688
5779
  // A field to sort the results based on
5689
5780
  sort_by?: string;
5690
- sort_order?: string;
5781
+ sort_order?: "DESC" | "ASC";
5691
5782
  // How soft deleted records should be shown in the list
5692
- soft_deleted?: string;
5783
+ soft_deleted?: "include" | "exclude" | "only";
5693
5784
  // Graphql query string
5694
5785
  _query?: string;
5695
5786
  nocache?: boolean;
@@ -5709,7 +5800,9 @@ export interface GetMenuV3ModifiersRequest
5709
5800
 
5710
5801
  export interface GetMenuV3ModifiersCountQuery {
5711
5802
  // The fields that filtering is allowed on
5712
- filter?: any;
5803
+ filter?: {
5804
+ [index: string]: any;
5805
+ };
5713
5806
  // Graphql query string
5714
5807
  _query?: string;
5715
5808
  nocache?: boolean;
@@ -5755,7 +5848,7 @@ export interface GetMenuV3GlobalDiffQuery {
5755
5848
  }
5756
5849
 
5757
5850
  export interface GetMenuV3GlobalDiffResponse {
5758
- action: string;
5851
+ action: "create" | "update" | "delete";
5759
5852
  id?: string;
5760
5853
  created_at?: string;
5761
5854
  updated_at?: string;
@@ -5789,15 +5882,17 @@ export interface GetMenuV3GlobalDiffsQuery {
5789
5882
  // List of relationships to load alongside this entity. Can load nested relationships using the pattern 'children.grand_children.foo'
5790
5883
  relationships?: string[];
5791
5884
  // The fields that filtering is allowed on
5792
- filter?: any;
5885
+ filter?: {
5886
+ [index: string]: any;
5887
+ };
5793
5888
  // Number of records to load per page
5794
5889
  limit?: number;
5795
5890
  page?: number;
5796
5891
  // A field to sort the results based on
5797
5892
  sort_by?: string;
5798
- sort_order?: string;
5893
+ sort_order?: "DESC" | "ASC";
5799
5894
  // How soft deleted records should be shown in the list
5800
- soft_deleted?: string;
5895
+ soft_deleted?: "include" | "exclude" | "only";
5801
5896
  // Graphql query string
5802
5897
  _query?: string;
5803
5898
  }
@@ -5816,7 +5911,9 @@ export interface GetMenuV3GlobalDiffsRequest
5816
5911
 
5817
5912
  export interface GetMenuV3GlobalDiffsCountQuery {
5818
5913
  // The fields that filtering is allowed on
5819
- filter?: any;
5914
+ filter?: {
5915
+ [index: string]: any;
5916
+ };
5820
5917
  // Graphql query string
5821
5918
  _query?: string;
5822
5919
  }