@compassdigital/sdk.typescript 4.5.0 → 4.7.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 (82) hide show
  1. package/lib/index.d.ts +96 -29
  2. package/lib/index.d.ts.map +1 -1
  3. package/lib/index.js +103 -28
  4. package/lib/index.js.map +1 -1
  5. package/lib/interface/ai.d.ts +3 -3
  6. package/lib/interface/ai.d.ts.map +1 -1
  7. package/lib/interface/announcement.d.ts +2 -2
  8. package/lib/interface/announcement.d.ts.map +1 -1
  9. package/lib/interface/calendar.d.ts +1 -1
  10. package/lib/interface/calendar.d.ts.map +1 -1
  11. package/lib/interface/centricos.d.ts +3 -3
  12. package/lib/interface/centricos.d.ts.map +1 -1
  13. package/lib/interface/compassconnect.d.ts +1 -1
  14. package/lib/interface/compassconnect.d.ts.map +1 -1
  15. package/lib/interface/config.d.ts +77 -17
  16. package/lib/interface/config.d.ts.map +1 -1
  17. package/lib/interface/datalake.d.ts +2 -2
  18. package/lib/interface/datalake.d.ts.map +1 -1
  19. package/lib/interface/delivery.d.ts +3 -3
  20. package/lib/interface/delivery.d.ts.map +1 -1
  21. package/lib/interface/email.d.ts +2 -2
  22. package/lib/interface/email.d.ts.map +1 -1
  23. package/lib/interface/file.d.ts +1 -1
  24. package/lib/interface/file.d.ts.map +1 -1
  25. package/lib/interface/frictionless.d.ts +132 -33
  26. package/lib/interface/frictionless.d.ts.map +1 -1
  27. package/lib/interface/kds.d.ts +1 -1
  28. package/lib/interface/kds.d.ts.map +1 -1
  29. package/lib/interface/location.d.ts +10 -10
  30. package/lib/interface/location.d.ts.map +1 -1
  31. package/lib/interface/mealplan.d.ts +2 -1
  32. package/lib/interface/mealplan.d.ts.map +1 -1
  33. package/lib/interface/menu.d.ts +324 -261
  34. package/lib/interface/menu.d.ts.map +1 -1
  35. package/lib/interface/notification.d.ts +2 -2
  36. package/lib/interface/notification.d.ts.map +1 -1
  37. package/lib/interface/order.d.ts +3 -3
  38. package/lib/interface/order.d.ts.map +1 -1
  39. package/lib/interface/partner.d.ts +16 -16
  40. package/lib/interface/partner.d.ts.map +1 -1
  41. package/lib/interface/payment.d.ts +12 -4
  42. package/lib/interface/payment.d.ts.map +1 -1
  43. package/lib/interface/promo.d.ts +4 -4
  44. package/lib/interface/promo.d.ts.map +1 -1
  45. package/lib/interface/report.d.ts +1 -1
  46. package/lib/interface/report.d.ts.map +1 -1
  47. package/lib/interface/shoppingcart.d.ts +7 -7
  48. package/lib/interface/shoppingcart.d.ts.map +1 -1
  49. package/lib/interface/task.d.ts +5 -5
  50. package/lib/interface/task.d.ts.map +1 -1
  51. package/lib/interface/user.d.ts +4 -4
  52. package/lib/interface/user.d.ts.map +1 -1
  53. package/lib/interface/vendor.d.ts +1 -1
  54. package/lib/interface/vendor.d.ts.map +1 -1
  55. package/manifest.json +2 -2
  56. package/package.json +2 -2
  57. package/src/index.ts +261 -71
  58. package/src/interface/ai.ts +3 -3
  59. package/src/interface/announcement.ts +2 -2
  60. package/src/interface/calendar.ts +1 -1
  61. package/src/interface/centricos.ts +3 -3
  62. package/src/interface/compassconnect.ts +1 -1
  63. package/src/interface/config.ts +83 -17
  64. package/src/interface/datalake.ts +2 -2
  65. package/src/interface/delivery.ts +3 -3
  66. package/src/interface/email.ts +2 -2
  67. package/src/interface/file.ts +1 -1
  68. package/src/interface/frictionless.ts +193 -43
  69. package/src/interface/kds.ts +1 -1
  70. package/src/interface/location.ts +10 -10
  71. package/src/interface/mealplan.ts +2 -1
  72. package/src/interface/menu.ts +357 -268
  73. package/src/interface/notification.ts +2 -2
  74. package/src/interface/order.ts +3 -3
  75. package/src/interface/partner.ts +16 -16
  76. package/src/interface/payment.ts +17 -4
  77. package/src/interface/promo.ts +4 -4
  78. package/src/interface/report.ts +1 -1
  79. package/src/interface/shoppingcart.ts +7 -7
  80. package/src/interface/task.ts +5 -5
  81. package/src/interface/user.ts +4 -4
  82. package/src/interface/vendor.ts +1 -1
@@ -70,7 +70,7 @@ export interface Item {
70
70
  };
71
71
  // The number of units that belong to this item. For example, a dozen doughnuts should have a unit value of 12
72
72
  unit?: number;
73
- ingredients?: any[];
73
+ ingredients?: Record<string, any>[];
74
74
  amount_off_exclusions?: AmountOffExclusionTypes[];
75
75
  nutrition?: {
76
76
  kcal?: number;
@@ -280,7 +280,7 @@ export interface Success {
280
280
  export interface Error {
281
281
  error?: string;
282
282
  code?: number;
283
- data?: any;
283
+ data?: Record<string, any>;
284
284
  }
285
285
 
286
286
  export type AmountOffExclusionTypes = "loyalty" | "discount" | "promo";
@@ -314,7 +314,7 @@ export interface GlobalMenuGroupDTO {
314
314
  is_active?: boolean;
315
315
  posid_segment?: string;
316
316
  id?: string;
317
- permissions?: any;
317
+ permissions?: Record<string, any>;
318
318
  [index: string]: any;
319
319
  }
320
320
 
@@ -328,7 +328,7 @@ export interface DraftBrandDTO {
328
328
  local_menu_group_id?: string;
329
329
  global_menu_group_id?: string;
330
330
  posid_segment?: string;
331
- permissions?: any;
331
+ permissions?: Record<string, any>;
332
332
  [index: string]: any;
333
333
  }
334
334
 
@@ -342,7 +342,7 @@ export interface PublishedBrandDTO {
342
342
  local_menu_group_id?: string;
343
343
  global_menu_group_id?: string;
344
344
  posid_segment?: string;
345
- permissions?: any;
345
+ permissions?: Record<string, any>;
346
346
  [index: string]: any;
347
347
  }
348
348
 
@@ -362,7 +362,7 @@ export interface VendorMetadataDTO {
362
362
  modifier_group_id?: string;
363
363
  modifier_group_to_modifier_relationship_id?: string;
364
364
  modifier_id?: string;
365
- permissions?: any;
365
+ permissions?: Record<string, any>;
366
366
  [index: string]: any;
367
367
  }
368
368
 
@@ -461,7 +461,7 @@ export interface LocalMenuGroupDTO {
461
461
  deleted_at?: string;
462
462
  version?: number;
463
463
  vendor_metadata?: VendorMetadataDTO[];
464
- permissions?: any;
464
+ permissions?: Record<string, any>;
465
465
  [index: string]: any;
466
466
  }
467
467
 
@@ -479,22 +479,22 @@ export interface DraftBrandDraftBrandDTO {
479
479
  created_at?: FilterFieldDTO;
480
480
  updated_at?: FilterFieldDTO;
481
481
  deleted_at?: FilterFieldDTO;
482
- parent?: any;
483
- children?: any[];
482
+ parent?: Record<string, any>;
483
+ children?: Record<string, any>[];
484
484
  changes?: BrandChangeDTO[];
485
485
  local_menu_group?: LocalMenuGroupDTO;
486
486
  global_menu_group?: GlobalMenuGroupDTO;
487
487
  menus?: DraftMenuDTO[];
488
- categories?: any[];
489
- category_to_item_relationships?: any[];
490
- items?: any[];
491
- item_to_modifier_group_relationships?: any[];
492
- modifier_groups?: any[];
493
- modifier_group_to_modifier_relationships?: any[];
494
- modifiers?: any[];
488
+ categories?: Record<string, any>[];
489
+ category_to_item_relationships?: Record<string, any>[];
490
+ items?: Record<string, any>[];
491
+ item_to_modifier_group_relationships?: Record<string, any>[];
492
+ modifier_groups?: Record<string, any>[];
493
+ modifier_group_to_modifier_relationships?: Record<string, any>[];
494
+ modifiers?: Record<string, any>[];
495
495
  statuses?: BrandStatusDTO[];
496
496
  vendor_metadata?: VendorMetadataDTO[];
497
- attachments?: any;
497
+ attachments?: Record<string, any>;
498
498
  permissions?: FilterFieldDTO;
499
499
  [index: string]: any;
500
500
  }
@@ -504,21 +504,21 @@ export interface BrandChangeDTO {
504
504
  insert?: FilterFieldDTO;
505
505
  delete?: FilterFieldDTO;
506
506
  snapshot_entity_id?: FilterFieldDTO;
507
- snapshot_entity?: any;
507
+ snapshot_entity?: Record<string, any>;
508
508
  permissions?: FilterFieldDTO;
509
509
  [index: string]: any;
510
510
  }
511
511
 
512
512
  export interface DraftMenuDTO {
513
- parent?: any;
514
- children?: any[];
513
+ parent?: Record<string, any>;
514
+ children?: Record<string, any>[];
515
515
  categories?: DraftCategoryDTO[];
516
516
  id?: string;
517
517
  parent_id?: string;
518
518
  name?: string;
519
519
  brand_id?: string;
520
520
  applied_diff_snapshot?: FilterFieldDTO;
521
- brand?: any;
521
+ brand?: Record<string, any>;
522
522
  changes?: MenuChangeDTO[];
523
523
  vendor_metadata?: VendorMetadataDTO[];
524
524
  permissions?: FilterFieldDTO;
@@ -526,8 +526,8 @@ export interface DraftMenuDTO {
526
526
  }
527
527
 
528
528
  export interface DraftCategoryDTO {
529
- parent?: any;
530
- children?: any[];
529
+ parent?: Record<string, any>;
530
+ children?: Record<string, any>[];
531
531
  id?: string;
532
532
  parent_id?: string;
533
533
  name?: string;
@@ -537,18 +537,19 @@ export interface DraftCategoryDTO {
537
537
  brand_id?: string;
538
538
  menu_id?: string;
539
539
  applied_diff_snapshot?: FilterFieldDTO;
540
- menu?: any;
540
+ menu?: Record<string, any>;
541
541
  items?: DraftCategoryToItemRelationshipDTO[];
542
- brand?: any;
542
+ brand?: Record<string, any>;
543
543
  changes?: CategoryChangeDTO[];
544
544
  vendor_metadata?: VendorMetadataDTO[];
545
+ attachments?: Record<string, any>;
545
546
  permissions?: FilterFieldDTO;
546
547
  [index: string]: any;
547
548
  }
548
549
 
549
550
  export interface DraftCategoryToItemRelationshipDTO {
550
- parent?: any;
551
- children?: any[];
551
+ parent?: Record<string, any>;
552
+ children?: Record<string, any>[];
552
553
  id?: string;
553
554
  parent_id?: string;
554
555
  item_id?: string;
@@ -556,9 +557,9 @@ export interface DraftCategoryToItemRelationshipDTO {
556
557
  brand_id?: FilterFieldDTO;
557
558
  sequence?: number;
558
559
  applied_diff_snapshot?: FilterFieldDTO;
559
- category?: any;
560
+ category?: Record<string, any>;
560
561
  item?: DraftItemDTO;
561
- brand?: any;
562
+ brand?: Record<string, any>;
562
563
  changes?: CategoryToItemRelationshipChangeDTO[];
563
564
  vendor_metadata?: VendorMetadataDTO[];
564
565
  permissions?: FilterFieldDTO;
@@ -566,15 +567,15 @@ export interface DraftCategoryToItemRelationshipDTO {
566
567
  }
567
568
 
568
569
  export interface DraftItemDTO {
569
- parent?: any;
570
- children?: any[];
570
+ parent?: Record<string, any>;
571
+ children?: Record<string, any>[];
571
572
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
572
573
  id?: string;
573
574
  parent_id?: string;
574
575
  name?: string;
575
576
  label?: string;
576
577
  description?: string;
577
- reporting?: any;
578
+ reporting?: Record<string, any>;
578
579
  price?: number;
579
580
  barcode?: string;
580
581
  calories?: number;
@@ -585,19 +586,19 @@ export interface DraftItemDTO {
585
586
  line_route?: FilterFieldDTO;
586
587
  posid_segment?: FilterFieldDTO;
587
588
  applied_diff_snapshot?: FilterFieldDTO;
588
- brand?: any;
589
- categories?: any[];
589
+ brand?: Record<string, any>;
590
+ categories?: Record<string, any>[];
590
591
  changes?: ItemChangeDTO[];
591
592
  vendor_metadata?: VendorMetadataDTO[];
592
- attachments?: FileAttachmentsDTO;
593
- weight?: any;
593
+ attachments?: Record<string, any>;
594
+ weight?: Record<string, any>;
594
595
  permissions?: FilterFieldDTO;
595
596
  [index: string]: any;
596
597
  }
597
598
 
598
599
  export interface DraftItemToModifierGroupRelationshipDTO {
599
- parent?: any;
600
- children?: any[];
600
+ parent?: Record<string, any>;
601
+ children?: Record<string, any>[];
601
602
  id?: string;
602
603
  parent_id?: string;
603
604
  modifier_group_id?: string;
@@ -605,9 +606,9 @@ export interface DraftItemToModifierGroupRelationshipDTO {
605
606
  brand_id?: FilterFieldDTO;
606
607
  sequence?: number;
607
608
  applied_diff_snapshot?: FilterFieldDTO;
608
- item?: any;
609
+ item?: Record<string, any>;
609
610
  modifier_group?: DraftModifierGroupDTO;
610
- brand?: any;
611
+ brand?: Record<string, any>;
611
612
  changes?: ItemToModifierGroupRelationshipChangeDTO[];
612
613
  vendor_metadata?: VendorMetadataDTO[];
613
614
  permissions?: FilterFieldDTO;
@@ -615,10 +616,10 @@ export interface DraftItemToModifierGroupRelationshipDTO {
615
616
  }
616
617
 
617
618
  export interface DraftModifierGroupDTO {
618
- parent?: any;
619
- children?: any[];
619
+ parent?: Record<string, any>;
620
+ children?: Record<string, any>[];
620
621
  modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
621
- items?: any[];
622
+ items?: Record<string, any>[];
622
623
  id?: string;
623
624
  parent_id?: string;
624
625
  name?: string;
@@ -628,7 +629,7 @@ export interface DraftModifierGroupDTO {
628
629
  is_active?: boolean;
629
630
  brand_id?: string;
630
631
  applied_diff_snapshot?: FilterFieldDTO;
631
- brand?: any;
632
+ brand?: Record<string, any>;
632
633
  changes?: ModifierGroupChangeDTO[];
633
634
  vendor_metadata?: VendorMetadataDTO[];
634
635
  permissions?: FilterFieldDTO;
@@ -636,8 +637,8 @@ export interface DraftModifierGroupDTO {
636
637
  }
637
638
 
638
639
  export interface DraftModifierGroupToModifierRelationshipDTO {
639
- parent?: any;
640
- children?: any[];
640
+ parent?: Record<string, any>;
641
+ children?: Record<string, any>[];
641
642
  id?: string;
642
643
  parent_id?: string;
643
644
  modifier_id?: string;
@@ -646,8 +647,8 @@ export interface DraftModifierGroupToModifierRelationshipDTO {
646
647
  sequence?: number;
647
648
  applied_diff_snapshot?: FilterFieldDTO;
648
649
  modifier?: DraftModifierDTO;
649
- modifier_group?: any;
650
- brand?: any;
650
+ modifier_group?: Record<string, any>;
651
+ brand?: Record<string, any>;
651
652
  changes?: ModifierGroupToModifierRelationshipChangeDTO[];
652
653
  vendor_metadata?: VendorMetadataDTO[];
653
654
  permissions?: FilterFieldDTO;
@@ -655,9 +656,9 @@ export interface DraftModifierGroupToModifierRelationshipDTO {
655
656
  }
656
657
 
657
658
  export interface DraftModifierDTO {
658
- parent?: any;
659
- children?: any[];
660
- modifier_groups?: any[];
659
+ parent?: Record<string, any>;
660
+ children?: Record<string, any>[];
661
+ modifier_groups?: Record<string, any>[];
661
662
  id?: string;
662
663
  parent_id?: string;
663
664
  name?: string;
@@ -671,11 +672,13 @@ export interface DraftModifierDTO {
671
672
  reporting?: ReportingMetadataDTO;
672
673
  posid_segment?: FilterFieldDTO;
673
674
  brand_id?: string;
675
+ sizing?: FilterFieldDTO[];
674
676
  applied_diff_snapshot?: FilterFieldDTO;
675
- brand?: any;
677
+ brand?: Record<string, any>;
676
678
  changes?: ModifierChangeDTO[];
677
679
  vendor_metadata?: VendorMetadataDTO[];
678
680
  weight?: WeightDTO;
681
+ attachments?: FileAttachmentsDTO;
679
682
  permissions?: FilterFieldDTO;
680
683
  [index: string]: any;
681
684
  }
@@ -685,28 +688,34 @@ export interface ModifierChangeDTO {
685
688
  insert?: FilterFieldDTO;
686
689
  delete?: FilterFieldDTO;
687
690
  snapshot_entity_id?: FilterFieldDTO;
688
- snapshot_entity?: any;
691
+ snapshot_entity?: Record<string, any>;
689
692
  permissions?: FilterFieldDTO;
690
693
  [index: string]: any;
691
694
  }
692
695
 
693
696
  export interface ReportingMetadataDTO {
694
697
  category?: ReportingCategoryMetadataDTO;
695
- id?: any;
698
+ id?: Record<string, any>;
696
699
  [index: string]: any;
697
700
  }
698
701
 
699
702
  export interface ReportingCategoryMetadataDTO {
700
703
  primary?: "Food" | "Beverage" | "Sundry" | "Alcohol" | "Snack";
701
704
  secondary?: FilterFieldDTO;
702
- id?: any;
705
+ id?: Record<string, any>;
703
706
  [index: string]: any;
704
707
  }
705
708
 
706
709
  export interface WeightDTO {
707
710
  unit?: FilterFieldDTO;
708
711
  amount?: FilterFieldDTO;
709
- id?: any;
712
+ id?: Record<string, any>;
713
+ [index: string]: any;
714
+ }
715
+
716
+ export interface FileAttachmentsDTO {
717
+ thumbnail?: FilterFieldDTO;
718
+ id?: Record<string, any>;
710
719
  [index: string]: any;
711
720
  }
712
721
 
@@ -715,7 +724,7 @@ export interface ModifierGroupToModifierRelationshipChangeDTO {
715
724
  insert?: FilterFieldDTO;
716
725
  delete?: FilterFieldDTO;
717
726
  snapshot_entity_id?: FilterFieldDTO;
718
- snapshot_entity?: any;
727
+ snapshot_entity?: Record<string, any>;
719
728
  permissions?: FilterFieldDTO;
720
729
  [index: string]: any;
721
730
  }
@@ -725,7 +734,7 @@ export interface ModifierGroupChangeDTO {
725
734
  insert?: FilterFieldDTO;
726
735
  delete?: FilterFieldDTO;
727
736
  snapshot_entity_id?: FilterFieldDTO;
728
- snapshot_entity?: any;
737
+ snapshot_entity?: Record<string, any>;
729
738
  permissions?: FilterFieldDTO;
730
739
  [index: string]: any;
731
740
  }
@@ -735,7 +744,7 @@ export interface ItemToModifierGroupRelationshipChangeDTO {
735
744
  insert?: FilterFieldDTO;
736
745
  delete?: FilterFieldDTO;
737
746
  snapshot_entity_id?: FilterFieldDTO;
738
- snapshot_entity?: any;
747
+ snapshot_entity?: Record<string, any>;
739
748
  permissions?: FilterFieldDTO;
740
749
  [index: string]: any;
741
750
  }
@@ -745,23 +754,17 @@ export interface ItemChangeDTO {
745
754
  insert?: FilterFieldDTO;
746
755
  delete?: FilterFieldDTO;
747
756
  snapshot_entity_id?: FilterFieldDTO;
748
- snapshot_entity?: any;
757
+ snapshot_entity?: Record<string, any>;
749
758
  permissions?: FilterFieldDTO;
750
759
  [index: string]: any;
751
760
  }
752
761
 
753
- export interface FileAttachmentsDTO {
754
- thumbnail?: FilterFieldDTO;
755
- id?: any;
756
- [index: string]: any;
757
- }
758
-
759
762
  export interface CategoryToItemRelationshipChangeDTO {
760
763
  id?: string;
761
764
  insert?: FilterFieldDTO;
762
765
  delete?: FilterFieldDTO;
763
766
  snapshot_entity_id?: FilterFieldDTO;
764
- snapshot_entity?: any;
767
+ snapshot_entity?: Record<string, any>;
765
768
  permissions?: FilterFieldDTO;
766
769
  [index: string]: any;
767
770
  }
@@ -771,7 +774,7 @@ export interface CategoryChangeDTO {
771
774
  insert?: FilterFieldDTO;
772
775
  delete?: FilterFieldDTO;
773
776
  snapshot_entity_id?: FilterFieldDTO;
774
- snapshot_entity?: any;
777
+ snapshot_entity?: Record<string, any>;
775
778
  permissions?: FilterFieldDTO;
776
779
  [index: string]: any;
777
780
  }
@@ -781,7 +784,7 @@ export interface MenuChangeDTO {
781
784
  insert?: FilterFieldDTO;
782
785
  delete?: FilterFieldDTO;
783
786
  snapshot_entity_id?: FilterFieldDTO;
784
- snapshot_entity?: any;
787
+ snapshot_entity?: Record<string, any>;
785
788
  permissions?: FilterFieldDTO;
786
789
  [index: string]: any;
787
790
  }
@@ -792,7 +795,7 @@ export interface BrandStatusDTO {
792
795
  status?: string;
793
796
  metadata?: FilterFieldDTO;
794
797
  id?: string;
795
- brand?: any;
798
+ brand?: Record<string, any>;
796
799
  permissions?: FilterFieldDTO;
797
800
  [index: string]: any;
798
801
  }
@@ -807,8 +810,8 @@ export interface DraftMenuDraftMenuDTO {
807
810
  created_at?: FilterFieldDTO;
808
811
  updated_at?: FilterFieldDTO;
809
812
  deleted_at?: FilterFieldDTO;
810
- parent?: any;
811
- children?: any[];
813
+ parent?: Record<string, any>;
814
+ children?: Record<string, any>[];
812
815
  categories?: DraftCategoryDTO[];
813
816
  brand?: DraftBrandDTO;
814
817
  changes?: MenuChangeDTO[];
@@ -830,19 +833,21 @@ export interface DraftModifierDraftModifierDTO {
830
833
  posid?: FilterFieldDTO;
831
834
  posid_segment?: FilterFieldDTO;
832
835
  brand_id?: FilterFieldDTO;
836
+ sizing?: FilterFieldDTO[];
833
837
  id?: FilterFieldDTO;
834
838
  version?: FilterFieldDTO;
835
839
  created_at?: FilterFieldDTO;
836
840
  updated_at?: FilterFieldDTO;
837
841
  deleted_at?: FilterFieldDTO;
838
- parent?: any;
839
- children?: any[];
842
+ parent?: Record<string, any>;
843
+ children?: Record<string, any>[];
840
844
  modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
841
845
  brand?: DraftBrandDTO;
842
846
  changes?: ModifierChangeDTO[];
843
847
  vendor_metadata?: VendorMetadataDTO[];
844
848
  reporting?: ReportingMetadataDTO;
845
849
  weight?: WeightDTO;
850
+ attachments?: FileAttachmentsDTO;
846
851
  permissions?: FilterFieldDTO;
847
852
  [index: string]: any;
848
853
  }
@@ -861,8 +866,8 @@ export interface DraftModifierGroupDraftModifierGroupDTO {
861
866
  created_at?: FilterFieldDTO;
862
867
  updated_at?: FilterFieldDTO;
863
868
  deleted_at?: FilterFieldDTO;
864
- parent?: any;
865
- children?: any[];
869
+ parent?: Record<string, any>;
870
+ children?: Record<string, any>[];
866
871
  modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
867
872
  items?: DraftItemToModifierGroupRelationshipDTO[];
868
873
  brand?: DraftBrandDTO;
@@ -892,8 +897,8 @@ export interface DraftItemDraftItemDTO {
892
897
  created_at?: FilterFieldDTO;
893
898
  updated_at?: FilterFieldDTO;
894
899
  deleted_at?: FilterFieldDTO;
895
- parent?: any;
896
- children?: any[];
900
+ parent?: Record<string, any>;
901
+ children?: Record<string, any>[];
897
902
  brand?: DraftBrandDTO;
898
903
  categories?: DraftCategoryToItemRelationshipDTO[];
899
904
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
@@ -916,7 +921,7 @@ export interface GlobalDiffDependencyDTO {
916
921
  is_depended_by_id?: string;
917
922
  id?: string;
918
923
  depends_on?: GlobalDiffGlobalDiffDTO;
919
- is_depended_by?: any;
924
+ is_depended_by?: Record<string, any>;
920
925
  permissions?: FilterFieldDTO;
921
926
  [index: string]: any;
922
927
  }
@@ -936,8 +941,8 @@ export interface GlobalDiffGlobalDiffDTO {
936
941
  created_at?: FilterFieldDTO;
937
942
  updated_at?: FilterFieldDTO;
938
943
  deleted_at?: FilterFieldDTO;
939
- depends_on?: any[];
940
- is_depended_by?: any[];
944
+ depends_on?: Record<string, any>[];
945
+ is_depended_by?: Record<string, any>[];
941
946
  brand?: DraftBrandDTO;
942
947
  permissions?: FilterFieldDTO;
943
948
  [index: string]: any;
@@ -949,21 +954,21 @@ export interface DiffDTO {
949
954
  created_at?: string;
950
955
  updated_at?: string;
951
956
  deleted_at?: string;
952
- child_nodes?: any[];
957
+ child_nodes?: Record<string, any>[];
953
958
  name?: string;
954
959
  entity_type?: string;
955
960
  local_id?: string;
956
- changes?: any;
957
- local_changes?: any;
958
- local_snapshot?: any;
961
+ changes?: Record<string, any>;
962
+ local_changes?: Record<string, any>;
963
+ local_snapshot?: Record<string, any>;
959
964
  global_id?: string;
960
- global_snapshot?: any;
965
+ global_snapshot?: Record<string, any>;
961
966
  brand_id?: string;
962
967
  version?: number;
963
968
  depends_on?: GlobalDiffDependencyDTO[];
964
969
  is_depended_by?: GlobalDiffDependencyDTO[];
965
970
  brand?: DraftBrandDTO;
966
- permissions?: any;
971
+ permissions?: Record<string, any>;
967
972
  [index: string]: any;
968
973
  }
969
974
 
@@ -978,7 +983,7 @@ export interface PublishedMenuDTO {
978
983
  parent_id?: string;
979
984
  name?: string;
980
985
  brand_id?: string;
981
- permissions?: any;
986
+ permissions?: Record<string, any>;
982
987
  [index: string]: any;
983
988
  }
984
989
 
@@ -991,7 +996,7 @@ export interface PublishedCategoryDTO {
991
996
  is_active?: boolean;
992
997
  brand_id?: string;
993
998
  menu_id?: string;
994
- permissions?: any;
999
+ permissions?: Record<string, any>;
995
1000
  [index: string]: any;
996
1001
  }
997
1002
 
@@ -1002,7 +1007,7 @@ export interface PublishedCategoryToItemRelationshipDTO {
1002
1007
  category_id?: string;
1003
1008
  brand_id?: string;
1004
1009
  sequence?: number;
1005
- permissions?: any;
1010
+ permissions?: Record<string, any>;
1006
1011
  [index: string]: any;
1007
1012
  }
1008
1013
 
@@ -1017,11 +1022,11 @@ export interface PublishedItemDTO {
1017
1022
  calories?: number;
1018
1023
  is_active?: boolean;
1019
1024
  posid?: string;
1020
- tax_tags?: any[];
1025
+ tax_tags?: Record<string, any>[];
1021
1026
  brand_id?: string;
1022
1027
  line_route?: string;
1023
1028
  posid_segment?: string;
1024
- permissions?: any;
1029
+ permissions?: Record<string, any>;
1025
1030
  [index: string]: any;
1026
1031
  }
1027
1032
 
@@ -1032,7 +1037,7 @@ export interface PublishedItemToModifierGroupRelationshipDTO {
1032
1037
  item_id?: string;
1033
1038
  brand_id?: string;
1034
1039
  sequence?: number;
1035
- permissions?: any;
1040
+ permissions?: Record<string, any>;
1036
1041
  [index: string]: any;
1037
1042
  }
1038
1043
 
@@ -1045,7 +1050,7 @@ export interface PublishedModifierGroupDTO {
1045
1050
  max?: number;
1046
1051
  is_active?: boolean;
1047
1052
  brand_id?: string;
1048
- permissions?: any;
1053
+ permissions?: Record<string, any>;
1049
1054
  [index: string]: any;
1050
1055
  }
1051
1056
 
@@ -1056,7 +1061,7 @@ export interface PublishedModifierGroupToModifierRelationshipDTO {
1056
1061
  modifier_group_id?: string;
1057
1062
  brand_id?: string;
1058
1063
  sequence?: number;
1059
- permissions?: any;
1064
+ permissions?: Record<string, any>;
1060
1065
  [index: string]: any;
1061
1066
  }
1062
1067
 
@@ -1068,12 +1073,13 @@ export interface PublishedModifierDTO {
1068
1073
  description?: string;
1069
1074
  price?: number;
1070
1075
  calories?: number;
1071
- tax_tags?: any[];
1076
+ tax_tags?: Record<string, any>[];
1072
1077
  is_active?: boolean;
1073
1078
  posid?: string;
1074
1079
  posid_segment?: string;
1075
1080
  brand_id?: string;
1076
- permissions?: any;
1081
+ sizing?: Record<string, any>[];
1082
+ permissions?: Record<string, any>;
1077
1083
  [index: string]: any;
1078
1084
  }
1079
1085
 
@@ -1091,8 +1097,8 @@ export interface PublishedBrandPublishedBrandDTO {
1091
1097
  created_at?: FilterFieldDTO;
1092
1098
  updated_at?: FilterFieldDTO;
1093
1099
  deleted_at?: FilterFieldDTO;
1094
- parent?: any;
1095
- children?: any[];
1100
+ parent?: Record<string, any>;
1101
+ children?: Record<string, any>[];
1096
1102
  local_menu_group?: LocalMenuGroupDTO;
1097
1103
  global_menu_group?: GlobalMenuGroupDTO;
1098
1104
  menus?: PublishedMenuDTO[];
@@ -1122,13 +1128,14 @@ export interface DraftCategoryDraftCategoryDTO {
1122
1128
  created_at?: FilterFieldDTO;
1123
1129
  updated_at?: FilterFieldDTO;
1124
1130
  deleted_at?: FilterFieldDTO;
1125
- parent?: any;
1126
- children?: any[];
1131
+ parent?: Record<string, any>;
1132
+ children?: Record<string, any>[];
1127
1133
  menu?: DraftMenuDTO;
1128
1134
  items?: DraftCategoryToItemRelationshipDTO[];
1129
1135
  brand?: DraftBrandDTO;
1130
1136
  changes?: CategoryChangeDTO[];
1131
1137
  vendor_metadata?: VendorMetadataDTO[];
1138
+ attachments?: FileAttachmentsDTO;
1132
1139
  permissions?: FilterFieldDTO;
1133
1140
  [index: string]: any;
1134
1141
  }
@@ -1142,8 +1149,8 @@ export interface PublishedMenuPublishedMenuDTO {
1142
1149
  created_at?: FilterFieldDTO;
1143
1150
  updated_at?: FilterFieldDTO;
1144
1151
  deleted_at?: FilterFieldDTO;
1145
- parent?: any;
1146
- children?: any[];
1152
+ parent?: Record<string, any>;
1153
+ children?: Record<string, any>[];
1147
1154
  categories?: PublishedCategoryDTO[];
1148
1155
  brand?: PublishedBrandDTO;
1149
1156
  permissions?: FilterFieldDTO;
@@ -1163,11 +1170,12 @@ export interface PublishedCategoryPublishedCategoryDTO {
1163
1170
  created_at?: FilterFieldDTO;
1164
1171
  updated_at?: FilterFieldDTO;
1165
1172
  deleted_at?: FilterFieldDTO;
1166
- parent?: any;
1167
- children?: any[];
1173
+ parent?: Record<string, any>;
1174
+ children?: Record<string, any>[];
1168
1175
  menu?: PublishedMenuDTO;
1169
1176
  items?: PublishedCategoryToItemRelationshipDTO[];
1170
1177
  brand?: PublishedBrandDTO;
1178
+ attachments?: FileAttachmentsDTO;
1171
1179
  permissions?: FilterFieldDTO;
1172
1180
  [index: string]: any;
1173
1181
  }
@@ -1184,8 +1192,8 @@ export interface DraftCategoryToItemRelationshipDraftCategoryToItemRelationshipD
1184
1192
  version?: FilterFieldDTO;
1185
1193
  created_at?: FilterFieldDTO;
1186
1194
  updated_at?: FilterFieldDTO;
1187
- parent?: any;
1188
- children?: any[];
1195
+ parent?: Record<string, any>;
1196
+ children?: Record<string, any>[];
1189
1197
  category?: DraftCategoryDTO;
1190
1198
  item?: DraftItemDTO;
1191
1199
  brand?: DraftBrandDTO;
@@ -1206,8 +1214,8 @@ export interface PublishedCategoryToItemRelationshipPublishedCategoryToItemRelat
1206
1214
  version?: FilterFieldDTO;
1207
1215
  created_at?: FilterFieldDTO;
1208
1216
  updated_at?: FilterFieldDTO;
1209
- parent?: any;
1210
- children?: any[];
1217
+ parent?: Record<string, any>;
1218
+ children?: Record<string, any>[];
1211
1219
  category?: PublishedCategoryDTO;
1212
1220
  item?: PublishedItemDTO;
1213
1221
  brand?: PublishedBrandDTO;
@@ -1215,6 +1223,11 @@ export interface PublishedCategoryToItemRelationshipPublishedCategoryToItemRelat
1215
1223
  [index: string]: any;
1216
1224
  }
1217
1225
 
1226
+ export interface LineRouteSuggestion {
1227
+ line_route?: string;
1228
+ occurrences?: number;
1229
+ }
1230
+
1218
1231
  export interface DraftItemEntityDTO {
1219
1232
  parent?: DraftItemDTO;
1220
1233
  children?: DraftItemDTO[];
@@ -1233,11 +1246,11 @@ export interface DraftItemEntityDTO {
1233
1246
  calories?: number;
1234
1247
  is_active?: boolean;
1235
1248
  posid?: string;
1236
- tax_tags?: any[];
1249
+ tax_tags?: Record<string, any>[];
1237
1250
  brand_id: string;
1238
1251
  line_route?: string;
1239
1252
  posid_segment?: string;
1240
- applied_diff_snapshot?: any;
1253
+ applied_diff_snapshot?: Record<string, any>;
1241
1254
  version?: number;
1242
1255
  brand?: DraftBrandDTO;
1243
1256
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -1245,7 +1258,7 @@ export interface DraftItemEntityDTO {
1245
1258
  vendor_metadata?: VendorMetadataDTO[];
1246
1259
  attachments?: FileAttachmentsDTO;
1247
1260
  weight?: WeightDTO;
1248
- permissions?: any;
1261
+ permissions?: Record<string, any>;
1249
1262
  [index: string]: any;
1250
1263
  }
1251
1264
 
@@ -1268,8 +1281,8 @@ export interface PublishedItemPublishedItemDTO {
1268
1281
  created_at?: FilterFieldDTO;
1269
1282
  updated_at?: FilterFieldDTO;
1270
1283
  deleted_at?: FilterFieldDTO;
1271
- parent?: any;
1272
- children?: any[];
1284
+ parent?: Record<string, any>;
1285
+ children?: Record<string, any>[];
1273
1286
  brand?: PublishedBrandDTO;
1274
1287
  categories?: PublishedCategoryToItemRelationshipDTO[];
1275
1288
  modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
@@ -1292,8 +1305,8 @@ export interface DraftItemToModifierGroupRelationshipDraftItemToModifierGroupRel
1292
1305
  version?: FilterFieldDTO;
1293
1306
  created_at?: FilterFieldDTO;
1294
1307
  updated_at?: FilterFieldDTO;
1295
- parent?: any;
1296
- children?: any[];
1308
+ parent?: Record<string, any>;
1309
+ children?: Record<string, any>[];
1297
1310
  item?: DraftItemDTO;
1298
1311
  modifier_group?: DraftModifierGroupDTO;
1299
1312
  brand?: DraftBrandDTO;
@@ -1314,8 +1327,8 @@ export interface PublishedItemToModifierGroupRelationshipPublishedItemToModifier
1314
1327
  version?: FilterFieldDTO;
1315
1328
  created_at?: FilterFieldDTO;
1316
1329
  updated_at?: FilterFieldDTO;
1317
- parent?: any;
1318
- children?: any[];
1330
+ parent?: Record<string, any>;
1331
+ children?: Record<string, any>[];
1319
1332
  item?: PublishedItemDTO;
1320
1333
  modifier_group?: PublishedModifierGroupDTO;
1321
1334
  brand?: PublishedBrandDTO;
@@ -1336,8 +1349,8 @@ export interface PublishedModifierGroupPublishedModifierGroupDTO {
1336
1349
  created_at?: FilterFieldDTO;
1337
1350
  updated_at?: FilterFieldDTO;
1338
1351
  deleted_at?: FilterFieldDTO;
1339
- parent?: any;
1340
- children?: any[];
1352
+ parent?: Record<string, any>;
1353
+ children?: Record<string, any>[];
1341
1354
  modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
1342
1355
  items?: PublishedItemToModifierGroupRelationshipDTO[];
1343
1356
  brand?: PublishedBrandDTO;
@@ -1357,8 +1370,8 @@ export interface DraftModifierGroupToModifierRelationshipDraftModifierGroupToMod
1357
1370
  version?: FilterFieldDTO;
1358
1371
  created_at?: FilterFieldDTO;
1359
1372
  updated_at?: FilterFieldDTO;
1360
- parent?: any;
1361
- children?: any[];
1373
+ parent?: Record<string, any>;
1374
+ children?: Record<string, any>[];
1362
1375
  modifier?: DraftModifierDTO;
1363
1376
  modifier_group?: DraftModifierGroupDTO;
1364
1377
  brand?: DraftBrandDTO;
@@ -1379,8 +1392,8 @@ export interface PublishedModifierGroupToModifierRelationshipPublishedModifierGr
1379
1392
  version?: FilterFieldDTO;
1380
1393
  created_at?: FilterFieldDTO;
1381
1394
  updated_at?: FilterFieldDTO;
1382
- parent?: any;
1383
- children?: any[];
1395
+ parent?: Record<string, any>;
1396
+ children?: Record<string, any>[];
1384
1397
  modifier_group?: PublishedModifierGroupDTO;
1385
1398
  modifier?: PublishedModifierDTO;
1386
1399
  brand?: PublishedBrandDTO;
@@ -1402,19 +1415,21 @@ export interface DraftModifierEntityDTO {
1402
1415
  description?: string;
1403
1416
  price: number;
1404
1417
  calories?: number;
1405
- tax_tags?: any[];
1418
+ tax_tags?: Record<string, any>[];
1406
1419
  is_active?: boolean;
1407
1420
  posid?: string;
1408
1421
  reporting: ReportingMetadataDTO;
1409
1422
  posid_segment?: string;
1410
1423
  brand_id: string;
1411
- applied_diff_snapshot?: any;
1424
+ sizing?: Record<string, any>[];
1425
+ applied_diff_snapshot?: Record<string, any>;
1412
1426
  version?: number;
1413
1427
  brand?: DraftBrandDTO;
1414
1428
  changes?: ModifierChangeDTO[];
1415
1429
  vendor_metadata?: VendorMetadataDTO[];
1416
1430
  weight?: WeightDTO;
1417
- permissions?: any;
1431
+ attachments?: FileAttachmentsDTO;
1432
+ permissions?: Record<string, any>;
1418
1433
  [index: string]: any;
1419
1434
  }
1420
1435
 
@@ -1430,17 +1445,19 @@ export interface PublishedModifierPublishedModifierDTO {
1430
1445
  posid?: FilterFieldDTO;
1431
1446
  posid_segment?: FilterFieldDTO;
1432
1447
  brand_id?: FilterFieldDTO;
1448
+ sizing?: FilterFieldDTO[];
1433
1449
  id?: FilterFieldDTO;
1434
1450
  version?: FilterFieldDTO;
1435
1451
  created_at?: FilterFieldDTO;
1436
1452
  updated_at?: FilterFieldDTO;
1437
1453
  deleted_at?: FilterFieldDTO;
1438
- parent?: any;
1439
- children?: any[];
1454
+ parent?: Record<string, any>;
1455
+ children?: Record<string, any>[];
1440
1456
  modifier_groups?: PublishedModifierGroupToModifierRelationshipDTO[];
1441
1457
  brand?: PublishedBrandDTO;
1442
1458
  reporting?: ReportingMetadataDTO;
1443
1459
  weight?: WeightDTO;
1460
+ attachments?: FileAttachmentsDTO;
1444
1461
  permissions?: FilterFieldDTO;
1445
1462
  [index: string]: any;
1446
1463
  }
@@ -1453,17 +1470,17 @@ export interface GlobalDiffDTO {
1453
1470
  deleted_at?: string;
1454
1471
  entity_type?: string;
1455
1472
  local_id?: string;
1456
- changes?: any;
1457
- local_changes?: any;
1458
- local_snapshot?: any;
1473
+ changes?: Record<string, any>;
1474
+ local_changes?: Record<string, any>;
1475
+ local_snapshot?: Record<string, any>;
1459
1476
  global_id?: string;
1460
- global_snapshot?: any;
1477
+ global_snapshot?: Record<string, any>;
1461
1478
  brand_id?: string;
1462
1479
  version?: number;
1463
1480
  depends_on?: GlobalDiffDependencyDTO[];
1464
1481
  is_depended_by?: GlobalDiffDependencyDTO[];
1465
1482
  brand?: DraftBrandDTO;
1466
- permissions?: any;
1483
+ permissions?: Record<string, any>;
1467
1484
  [index: string]: any;
1468
1485
  }
1469
1486
 
@@ -1519,7 +1536,7 @@ export interface GetMenuHeadersQuery {
1519
1536
  _query?: string;
1520
1537
  }
1521
1538
 
1522
- export type GetMenuHeadersResponse = any;
1539
+ export type GetMenuHeadersResponse = Record<string, any>;
1523
1540
 
1524
1541
  export interface GetMenuHeadersRequest
1525
1542
  extends BaseRequest,
@@ -1990,7 +2007,7 @@ export interface PostMenuV3LocalMenuGroupBody {
1990
2007
  draft_brands?: DraftBrandDTO[];
1991
2008
  published_brands?: PublishedBrandDTO[];
1992
2009
  vendor_metadata?: VendorMetadataDTO[];
1993
- permissions?: any;
2010
+ permissions?: Record<string, any>;
1994
2011
  [index: string]: any;
1995
2012
  }
1996
2013
 
@@ -2006,7 +2023,7 @@ export interface PostMenuV3LocalMenuGroupResponse {
2006
2023
  deleted_at?: string;
2007
2024
  version?: number;
2008
2025
  vendor_metadata?: VendorMetadataDTO[];
2009
- permissions?: any;
2026
+ permissions?: Record<string, any>;
2010
2027
  [index: string]: any;
2011
2028
  }
2012
2029
 
@@ -2041,7 +2058,7 @@ export interface GetMenuV3LocalMenuGroupResponse {
2041
2058
  deleted_at?: string;
2042
2059
  version?: number;
2043
2060
  vendor_metadata?: VendorMetadataDTO[];
2044
- permissions?: any;
2061
+ permissions?: Record<string, any>;
2045
2062
  [index: string]: any;
2046
2063
  }
2047
2064
 
@@ -2065,7 +2082,7 @@ export interface PatchMenuV3LocalMenuGroupBody {
2065
2082
  id?: string;
2066
2083
  version?: number;
2067
2084
  vendor_metadata?: VendorMetadataDTO[];
2068
- permissions?: any;
2085
+ permissions?: Record<string, any>;
2069
2086
  [index: string]: any;
2070
2087
  }
2071
2088
 
@@ -2081,7 +2098,7 @@ export interface PatchMenuV3LocalMenuGroupResponse {
2081
2098
  deleted_at?: string;
2082
2099
  version?: number;
2083
2100
  vendor_metadata?: VendorMetadataDTO[];
2084
- permissions?: any;
2101
+ permissions?: Record<string, any>;
2085
2102
  [index: string]: any;
2086
2103
  }
2087
2104
 
@@ -2109,7 +2126,7 @@ export interface DeleteMenuV3LocalMenuGroupResponse {
2109
2126
  deleted_at?: string;
2110
2127
  version?: number;
2111
2128
  vendor_metadata?: VendorMetadataDTO[];
2112
- permissions?: any;
2129
+ permissions?: Record<string, any>;
2113
2130
  [index: string]: any;
2114
2131
  }
2115
2132
 
@@ -2158,9 +2175,9 @@ export type PostMenuV3LocalMenuGroupsBody = {
2158
2175
  allowed_global_menu_groups?: GlobalMenuGroupDTO[];
2159
2176
  draft_brands?: DraftBrandDTO[];
2160
2177
  published_brands?: PublishedBrandDTO[];
2161
- id?: any;
2178
+ id?: Record<string, any>;
2162
2179
  vendor_metadata?: VendorMetadataDTO[];
2163
- permissions?: any;
2180
+ permissions?: Record<string, any>;
2164
2181
  [index: string]: any;
2165
2182
  }[];
2166
2183
 
@@ -2355,7 +2372,7 @@ export interface PostMenuV3GlobalMenuGroupBody {
2355
2372
  published_brands?: PublishedBrandDTO[];
2356
2373
  posid_segment: string;
2357
2374
  vendor_metadata?: VendorMetadataDTO[];
2358
- permissions?: any;
2375
+ permissions?: Record<string, any>;
2359
2376
  [index: string]: any;
2360
2377
  }
2361
2378
 
@@ -2403,7 +2420,7 @@ export interface PatchMenuV3GlobalMenuGroupBody {
2403
2420
  id?: string;
2404
2421
  version?: number;
2405
2422
  vendor_metadata?: VendorMetadataDTO[];
2406
- permissions?: any;
2423
+ permissions?: Record<string, any>;
2407
2424
  [index: string]: any;
2408
2425
  }
2409
2426
 
@@ -2438,7 +2455,7 @@ export interface DeleteMenuV3GlobalMenuGroupResponse {
2438
2455
  deleted_at?: string;
2439
2456
  version?: number;
2440
2457
  vendor_metadata?: VendorMetadataDTO[];
2441
- permissions?: any;
2458
+ permissions?: Record<string, any>;
2442
2459
  [index: string]: any;
2443
2460
  }
2444
2461
 
@@ -2489,9 +2506,9 @@ export type PostMenuV3GlobalMenuGroupsBody = {
2489
2506
  draft_brands?: DraftBrandDTO[];
2490
2507
  published_brands?: PublishedBrandDTO[];
2491
2508
  posid_segment: string;
2492
- id?: any;
2509
+ id?: Record<string, any>;
2493
2510
  vendor_metadata?: VendorMetadataDTO[];
2494
- permissions?: any;
2511
+ permissions?: Record<string, any>;
2495
2512
  [index: string]: any;
2496
2513
  }[];
2497
2514
 
@@ -2623,13 +2640,13 @@ export interface PostMenuV3DraftBrandBody {
2623
2640
  local_menu_group_id?: string;
2624
2641
  global_menu_group_id?: string;
2625
2642
  posid_segment?: string;
2626
- id?: any;
2643
+ id?: Record<string, any>;
2627
2644
  changes?: BrandChangeDTO[];
2628
2645
  local_menu_group?: LocalMenuGroupDTO;
2629
2646
  global_menu_group?: GlobalMenuGroupDTO;
2630
2647
  vendor_metadata?: VendorMetadataDTO[];
2631
2648
  attachments?: FileAttachmentsDTO;
2632
- permissions?: any;
2649
+ permissions?: Record<string, any>;
2633
2650
  [index: string]: any;
2634
2651
  }
2635
2652
 
@@ -2694,7 +2711,7 @@ export interface PatchMenuV3DraftBrandBody {
2694
2711
  global_menu_group?: GlobalMenuGroupDTO;
2695
2712
  vendor_metadata?: VendorMetadataDTO[];
2696
2713
  attachments?: FileAttachmentsDTO;
2697
- permissions?: any;
2714
+ permissions?: Record<string, any>;
2698
2715
  [index: string]: any;
2699
2716
  }
2700
2717
 
@@ -2769,13 +2786,13 @@ export type PostMenuV3DraftBrandsBody = {
2769
2786
  local_menu_group_id?: string;
2770
2787
  global_menu_group_id?: string;
2771
2788
  posid_segment?: string;
2772
- id?: any;
2789
+ id?: Record<string, any>;
2773
2790
  changes?: BrandChangeDTO[];
2774
2791
  local_menu_group?: LocalMenuGroupDTO;
2775
2792
  global_menu_group?: GlobalMenuGroupDTO;
2776
2793
  vendor_metadata?: VendorMetadataDTO[];
2777
2794
  attachments?: FileAttachmentsDTO;
2778
- permissions?: any;
2795
+ permissions?: Record<string, any>;
2779
2796
  [index: string]: any;
2780
2797
  }[];
2781
2798
 
@@ -3131,11 +3148,11 @@ export interface PostMenuV3BrandBody {
3131
3148
  local_menu_group_id?: string;
3132
3149
  global_menu_group_id?: string;
3133
3150
  posid_segment?: string;
3134
- id?: any;
3151
+ id?: Record<string, any>;
3135
3152
  local_menu_group?: LocalMenuGroupDTO;
3136
3153
  global_menu_group?: GlobalMenuGroupDTO;
3137
3154
  attachments?: FileAttachmentsDTO;
3138
- permissions?: any;
3155
+ permissions?: Record<string, any>;
3139
3156
  [index: string]: any;
3140
3157
  }
3141
3158
 
@@ -3202,7 +3219,7 @@ export interface PatchMenuV3BrandBody {
3202
3219
  local_menu_group?: LocalMenuGroupDTO;
3203
3220
  global_menu_group?: GlobalMenuGroupDTO;
3204
3221
  attachments?: FileAttachmentsDTO;
3205
- permissions?: any;
3222
+ permissions?: Record<string, any>;
3206
3223
  [index: string]: any;
3207
3224
  }
3208
3225
 
@@ -3289,11 +3306,11 @@ export type PostMenuV3BrandsBody = {
3289
3306
  local_menu_group_id?: string;
3290
3307
  global_menu_group_id?: string;
3291
3308
  posid_segment?: string;
3292
- id?: any;
3309
+ id?: Record<string, any>;
3293
3310
  local_menu_group?: LocalMenuGroupDTO;
3294
3311
  global_menu_group?: GlobalMenuGroupDTO;
3295
3312
  attachments?: FileAttachmentsDTO;
3296
- permissions?: any;
3313
+ permissions?: Record<string, any>;
3297
3314
  [index: string]: any;
3298
3315
  }[];
3299
3316
 
@@ -3524,7 +3541,7 @@ export interface PostMenuV3BrandLocalResponse {
3524
3541
  global_menu_group?: GlobalMenuGroupDTO;
3525
3542
  vendor_metadata?: VendorMetadataDTO[];
3526
3543
  attachments?: FileAttachmentsDTO;
3527
- permissions?: any;
3544
+ permissions?: Record<string, any>;
3528
3545
  [index: string]: any;
3529
3546
  }
3530
3547
 
@@ -3542,12 +3559,12 @@ export interface PostMenuV3DraftMenuBody {
3542
3559
  parent_id?: string;
3543
3560
  name: string;
3544
3561
  brand_id: string;
3545
- id?: any;
3546
- applied_diff_snapshot?: any;
3562
+ id?: Record<string, any>;
3563
+ applied_diff_snapshot?: Record<string, any>;
3547
3564
  brand?: DraftBrandDTO;
3548
3565
  changes?: MenuChangeDTO[];
3549
3566
  vendor_metadata?: VendorMetadataDTO[];
3550
- permissions?: any;
3567
+ permissions?: Record<string, any>;
3551
3568
  [index: string]: any;
3552
3569
  }
3553
3570
 
@@ -3593,12 +3610,12 @@ export interface PatchMenuV3DraftMenuBody {
3593
3610
  parent_id?: string;
3594
3611
  name?: string;
3595
3612
  brand_id?: string;
3596
- applied_diff_snapshot?: any;
3613
+ applied_diff_snapshot?: Record<string, any>;
3597
3614
  version?: number;
3598
3615
  brand?: DraftBrandDTO;
3599
3616
  changes?: MenuChangeDTO[];
3600
3617
  vendor_metadata?: VendorMetadataDTO[];
3601
- permissions?: any;
3618
+ permissions?: Record<string, any>;
3602
3619
  [index: string]: any;
3603
3620
  }
3604
3621
 
@@ -3660,12 +3677,12 @@ export type PostMenuV3DraftMenusBody = {
3660
3677
  parent_id?: string;
3661
3678
  name: string;
3662
3679
  brand_id: string;
3663
- id?: any;
3664
- applied_diff_snapshot?: any;
3680
+ id?: Record<string, any>;
3681
+ applied_diff_snapshot?: Record<string, any>;
3665
3682
  brand?: DraftBrandDTO;
3666
3683
  changes?: MenuChangeDTO[];
3667
3684
  vendor_metadata?: VendorMetadataDTO[];
3668
- permissions?: any;
3685
+ permissions?: Record<string, any>;
3669
3686
  [index: string]: any;
3670
3687
  }[];
3671
3688
 
@@ -3878,14 +3895,15 @@ export interface PostMenuV3DraftCategoryBody {
3878
3895
  is_active?: boolean;
3879
3896
  brand_id: string;
3880
3897
  menu_id: string;
3881
- id?: any;
3882
- applied_diff_snapshot?: any;
3898
+ id?: Record<string, any>;
3899
+ applied_diff_snapshot?: Record<string, any>;
3883
3900
  menu?: DraftMenuDTO;
3884
3901
  items?: DraftCategoryToItemRelationshipDTO[];
3885
3902
  brand?: DraftBrandDTO;
3886
3903
  changes?: CategoryChangeDTO[];
3887
3904
  vendor_metadata?: VendorMetadataDTO[];
3888
- permissions?: any;
3905
+ attachments?: FileAttachmentsDTO;
3906
+ permissions?: Record<string, any>;
3889
3907
  [index: string]: any;
3890
3908
  }
3891
3909
 
@@ -3934,14 +3952,15 @@ export interface PatchMenuV3DraftCategoryBody {
3934
3952
  is_active?: boolean;
3935
3953
  brand_id?: string;
3936
3954
  menu_id?: string;
3937
- applied_diff_snapshot?: any;
3955
+ applied_diff_snapshot?: Record<string, any>;
3938
3956
  version?: number;
3939
3957
  menu?: DraftMenuDTO;
3940
3958
  items?: DraftCategoryToItemRelationshipDTO[];
3941
3959
  brand?: DraftBrandDTO;
3942
3960
  changes?: CategoryChangeDTO[];
3943
3961
  vendor_metadata?: VendorMetadataDTO[];
3944
- permissions?: any;
3962
+ attachments?: FileAttachmentsDTO;
3963
+ permissions?: Record<string, any>;
3945
3964
  [index: string]: any;
3946
3965
  }
3947
3966
 
@@ -3995,14 +4014,15 @@ export type PostMenuV3DraftCategoriesBody = {
3995
4014
  is_active?: boolean;
3996
4015
  brand_id: string;
3997
4016
  menu_id: string;
3998
- id?: any;
3999
- applied_diff_snapshot?: any;
4017
+ id?: Record<string, any>;
4018
+ applied_diff_snapshot?: Record<string, any>;
4000
4019
  menu?: DraftMenuDTO;
4001
4020
  items?: DraftCategoryToItemRelationshipDTO[];
4002
4021
  brand?: DraftBrandDTO;
4003
4022
  changes?: CategoryChangeDTO[];
4004
4023
  vendor_metadata?: VendorMetadataDTO[];
4005
- permissions?: any;
4024
+ attachments?: FileAttachmentsDTO;
4025
+ permissions?: Record<string, any>;
4006
4026
  [index: string]: any;
4007
4027
  }[];
4008
4028
 
@@ -4016,6 +4036,26 @@ export interface PostMenuV3DraftCategoriesRequest extends BaseRequest {
4016
4036
  body: PostMenuV3DraftCategoriesBody;
4017
4037
  }
4018
4038
 
4039
+ // POST /menu/v3/draft/category/{id}/attachment/{name}
4040
+
4041
+ export interface PostMenuV3DraftCategoryAttachmentPath {
4042
+ id: string;
4043
+ name: "thumbnail";
4044
+ }
4045
+
4046
+ export interface PostMenuV3DraftCategoryAttachmentQuery {
4047
+ "body.data"?: string;
4048
+ }
4049
+
4050
+ export interface PostMenuV3DraftCategoryAttachmentResponse {
4051
+ status?: string;
4052
+ }
4053
+
4054
+ export interface PostMenuV3DraftCategoryAttachmentRequest
4055
+ extends BaseRequest,
4056
+ RequestQuery<PostMenuV3DraftCategoryAttachmentQuery>,
4057
+ PostMenuV3DraftCategoryAttachmentPath {}
4058
+
4019
4059
  // GET /menu/v3/category/{id}
4020
4060
 
4021
4061
  export interface GetMenuV3CategoryPath {
@@ -4070,14 +4110,14 @@ export interface PostMenuV3DraftCategoryRelationshipsItemBody {
4070
4110
  category_id: string;
4071
4111
  brand_id: string;
4072
4112
  sequence?: number;
4073
- id?: any;
4074
- applied_diff_snapshot?: any;
4113
+ id?: Record<string, any>;
4114
+ applied_diff_snapshot?: Record<string, any>;
4075
4115
  category?: DraftCategoryDTO;
4076
4116
  item?: DraftItemDTO;
4077
4117
  brand?: DraftBrandDTO;
4078
4118
  changes?: CategoryToItemRelationshipChangeDTO[];
4079
4119
  vendor_metadata?: VendorMetadataDTO[];
4080
- permissions?: any;
4120
+ permissions?: Record<string, any>;
4081
4121
  [index: string]: any;
4082
4122
  }
4083
4123
 
@@ -4124,14 +4164,14 @@ export interface PatchMenuV3DraftCategoryRelationshipsItemBody {
4124
4164
  category_id?: string;
4125
4165
  brand_id?: string;
4126
4166
  sequence?: number;
4127
- applied_diff_snapshot?: any;
4167
+ applied_diff_snapshot?: Record<string, any>;
4128
4168
  version?: number;
4129
4169
  category?: DraftCategoryDTO;
4130
4170
  item?: DraftItemDTO;
4131
4171
  brand?: DraftBrandDTO;
4132
4172
  changes?: CategoryToItemRelationshipChangeDTO[];
4133
4173
  vendor_metadata?: VendorMetadataDTO[];
4134
- permissions?: any;
4174
+ permissions?: Record<string, any>;
4135
4175
  [index: string]: any;
4136
4176
  }
4137
4177
 
@@ -4198,14 +4238,14 @@ export type PostMenuV3DraftCategoryRelationshipsItemsBody = {
4198
4238
  category_id: string;
4199
4239
  brand_id: string;
4200
4240
  sequence?: number;
4201
- id?: any;
4202
- applied_diff_snapshot?: any;
4241
+ id?: Record<string, any>;
4242
+ applied_diff_snapshot?: Record<string, any>;
4203
4243
  category?: DraftCategoryDTO;
4204
4244
  item?: DraftItemDTO;
4205
4245
  brand?: DraftBrandDTO;
4206
4246
  changes?: CategoryToItemRelationshipChangeDTO[];
4207
4247
  vendor_metadata?: VendorMetadataDTO[];
4208
- permissions?: any;
4248
+ permissions?: Record<string, any>;
4209
4249
  [index: string]: any;
4210
4250
  }[];
4211
4251
 
@@ -4333,19 +4373,19 @@ export interface PostMenuV3DraftItemBody {
4333
4373
  calories?: number;
4334
4374
  is_active?: boolean;
4335
4375
  posid?: string;
4336
- tax_tags?: any[];
4376
+ tax_tags?: Record<string, any>[];
4337
4377
  brand_id: string;
4338
4378
  line_route?: string;
4339
4379
  posid_segment?: string;
4340
- id?: any;
4341
- applied_diff_snapshot?: any;
4380
+ id?: Record<string, any>;
4381
+ applied_diff_snapshot?: Record<string, any>;
4342
4382
  brand?: DraftBrandDTO;
4343
4383
  categories?: DraftCategoryToItemRelationshipDTO[];
4344
4384
  changes?: ItemChangeDTO[];
4345
4385
  vendor_metadata?: VendorMetadataDTO[];
4346
4386
  attachments?: FileAttachmentsDTO;
4347
4387
  weight?: WeightDTO;
4348
- permissions?: any;
4388
+ permissions?: Record<string, any>;
4349
4389
  [index: string]: any;
4350
4390
  }
4351
4391
 
@@ -4398,11 +4438,11 @@ export interface PatchMenuV3DraftItemBody {
4398
4438
  calories?: number;
4399
4439
  is_active?: boolean;
4400
4440
  posid?: string;
4401
- tax_tags?: any[];
4441
+ tax_tags?: Record<string, any>[];
4402
4442
  brand_id?: string;
4403
4443
  line_route?: string;
4404
4444
  posid_segment?: string;
4405
- applied_diff_snapshot?: any;
4445
+ applied_diff_snapshot?: Record<string, any>;
4406
4446
  version?: number;
4407
4447
  brand?: DraftBrandDTO;
4408
4448
  categories?: DraftCategoryToItemRelationshipDTO[];
@@ -4410,7 +4450,7 @@ export interface PatchMenuV3DraftItemBody {
4410
4450
  vendor_metadata?: VendorMetadataDTO[];
4411
4451
  attachments?: FileAttachmentsDTO;
4412
4452
  weight?: WeightDTO;
4413
- permissions?: any;
4453
+ permissions?: Record<string, any>;
4414
4454
  [index: string]: any;
4415
4455
  }
4416
4456
 
@@ -4479,19 +4519,19 @@ export type PostMenuV3DraftItemsBody = {
4479
4519
  calories?: number;
4480
4520
  is_active?: boolean;
4481
4521
  posid?: string;
4482
- tax_tags?: any[];
4522
+ tax_tags?: Record<string, any>[];
4483
4523
  brand_id: string;
4484
4524
  line_route?: string;
4485
4525
  posid_segment?: string;
4486
- id?: any;
4487
- applied_diff_snapshot?: any;
4526
+ id?: Record<string, any>;
4527
+ applied_diff_snapshot?: Record<string, any>;
4488
4528
  brand?: DraftBrandDTO;
4489
4529
  categories?: DraftCategoryToItemRelationshipDTO[];
4490
4530
  changes?: ItemChangeDTO[];
4491
4531
  vendor_metadata?: VendorMetadataDTO[];
4492
4532
  attachments?: FileAttachmentsDTO;
4493
4533
  weight?: WeightDTO;
4494
- permissions?: any;
4534
+ permissions?: Record<string, any>;
4495
4535
  [index: string]: any;
4496
4536
  }[];
4497
4537
 
@@ -4525,10 +4565,31 @@ export interface GetMenuV3DraftItemsCountRequest
4525
4565
  extends BaseRequest,
4526
4566
  RequestQuery<GetMenuV3DraftItemsCountQuery> {}
4527
4567
 
4568
+ // GET /menu/v3/draft/item/{id}/line-routes
4569
+
4570
+ export interface GetMenuV3DraftItemLineRoutesPath {
4571
+ id: string;
4572
+ }
4573
+
4574
+ export interface GetMenuV3DraftItemLineRoutesQuery {
4575
+ search?: string;
4576
+ // Graphql query string
4577
+ _query?: string;
4578
+ }
4579
+
4580
+ export interface GetMenuV3DraftItemLineRoutesResponse {
4581
+ results?: LineRouteSuggestion[];
4582
+ }
4583
+
4584
+ export interface GetMenuV3DraftItemLineRoutesRequest
4585
+ extends BaseRequest,
4586
+ RequestQuery<GetMenuV3DraftItemLineRoutesQuery>,
4587
+ GetMenuV3DraftItemLineRoutesPath {}
4588
+
4528
4589
  // PATCH /menu/v3/draft/items/bulk-update
4529
4590
 
4530
4591
  export interface PatchMenuV3DraftItemsBulkUpdateBody {
4531
- id_list: any[];
4592
+ id_list: Record<string, any>[];
4532
4593
  parent?: DraftItemDTO;
4533
4594
  children?: DraftItemDTO[];
4534
4595
  modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
@@ -4543,18 +4604,18 @@ export interface PatchMenuV3DraftItemsBulkUpdateBody {
4543
4604
  calories?: number;
4544
4605
  is_active?: boolean;
4545
4606
  posid?: string;
4546
- tax_tags?: any[];
4607
+ tax_tags?: Record<string, any>[];
4547
4608
  brand_id?: string;
4548
4609
  line_route?: string;
4549
4610
  posid_segment?: string;
4550
- applied_diff_snapshot?: any;
4611
+ applied_diff_snapshot?: Record<string, any>;
4551
4612
  brand?: DraftBrandDTO;
4552
4613
  categories?: DraftCategoryToItemRelationshipDTO[];
4553
4614
  changes?: ItemChangeDTO[];
4554
4615
  vendor_metadata?: VendorMetadataDTO[];
4555
4616
  attachments?: FileAttachmentsDTO;
4556
4617
  weight?: WeightDTO;
4557
- permissions?: any;
4618
+ permissions?: Record<string, any>;
4558
4619
  [index: string]: any;
4559
4620
  }
4560
4621
 
@@ -4566,74 +4627,74 @@ export interface PatchMenuV3DraftItemsBulkUpdateRequest extends BaseRequest {
4566
4627
  body: PatchMenuV3DraftItemsBulkUpdateBody;
4567
4628
  }
4568
4629
 
4569
- // POST /menu/v3/item/{id}/attachment/{name}
4630
+ // POST /menu/v3/draft/item/{id}/attachment/{name}
4570
4631
 
4571
- export interface PostMenuV3ItemAttachmentPath {
4632
+ export interface PostMenuV3DraftItemAttachmentPath {
4572
4633
  id: string;
4573
4634
  name: "thumbnail";
4574
4635
  }
4575
4636
 
4576
- export interface PostMenuV3ItemAttachmentQuery {
4637
+ export interface PostMenuV3DraftItemAttachmentQuery {
4577
4638
  "body.data"?: string;
4578
4639
  }
4579
4640
 
4580
- export interface PostMenuV3ItemAttachmentResponse {
4641
+ export interface PostMenuV3DraftItemAttachmentResponse {
4581
4642
  status?: string;
4582
4643
  }
4583
4644
 
4584
- export interface PostMenuV3ItemAttachmentRequest
4645
+ export interface PostMenuV3DraftItemAttachmentRequest
4585
4646
  extends BaseRequest,
4586
- RequestQuery<PostMenuV3ItemAttachmentQuery>,
4587
- PostMenuV3ItemAttachmentPath {}
4647
+ RequestQuery<PostMenuV3DraftItemAttachmentQuery>,
4648
+ PostMenuV3DraftItemAttachmentPath {}
4588
4649
 
4589
- // POST /menu/v3/items/validate
4650
+ // POST /menu/v3/draft/items/validate
4590
4651
 
4591
- export interface PostMenuV3ItemsValidateBody {
4652
+ export interface PostMenuV3DraftItemsValidateBody {
4592
4653
  brand_id: string;
4593
4654
  category_id?: string;
4594
4655
  data: string;
4595
4656
  [index: string]: any;
4596
4657
  }
4597
4658
 
4598
- export interface PostMenuV3ItemsValidateResponse {
4659
+ export interface PostMenuV3DraftItemsValidateResponse {
4599
4660
  s3_link?: string;
4600
4661
  }
4601
4662
 
4602
- export interface PostMenuV3ItemsValidateRequest extends BaseRequest {
4603
- body: PostMenuV3ItemsValidateBody;
4663
+ export interface PostMenuV3DraftItemsValidateRequest extends BaseRequest {
4664
+ body: PostMenuV3DraftItemsValidateBody;
4604
4665
  }
4605
4666
 
4606
- // POST /menu/v3/items/import
4667
+ // POST /menu/v3/draft/items/import
4607
4668
 
4608
- export interface PostMenuV3ItemsImportBody {
4669
+ export interface PostMenuV3DraftItemsImportBody {
4609
4670
  brand_id: string;
4610
4671
  category_id?: string;
4611
4672
  data: string;
4612
4673
  [index: string]: any;
4613
4674
  }
4614
4675
 
4615
- export interface PostMenuV3ItemsImportResponse {
4676
+ export interface PostMenuV3DraftItemsImportResponse {
4616
4677
  status?: string;
4617
4678
  }
4618
4679
 
4619
- export interface PostMenuV3ItemsImportRequest extends BaseRequest {
4620
- body: PostMenuV3ItemsImportBody;
4680
+ export interface PostMenuV3DraftItemsImportRequest extends BaseRequest {
4681
+ body: PostMenuV3DraftItemsImportBody;
4621
4682
  }
4622
4683
 
4623
- // POST /menu/v3/items/export
4684
+ // POST /menu/v3/draft/items/export
4624
4685
 
4625
- export interface PostMenuV3ItemsExportBody {
4686
+ export interface PostMenuV3DraftItemsExportBody {
4626
4687
  brand_id: string;
4627
4688
  category_id?: string;
4628
4689
  [index: string]: any;
4629
4690
  }
4630
4691
 
4631
- export interface PostMenuV3ItemsExportResponse {
4692
+ export interface PostMenuV3DraftItemsExportResponse {
4632
4693
  s3_link?: string;
4633
4694
  }
4634
4695
 
4635
- export interface PostMenuV3ItemsExportRequest extends BaseRequest {
4636
- body: PostMenuV3ItemsExportBody;
4696
+ export interface PostMenuV3DraftItemsExportRequest extends BaseRequest {
4697
+ body: PostMenuV3DraftItemsExportBody;
4637
4698
  }
4638
4699
 
4639
4700
  // GET /menu/v3/item/{id}
@@ -4722,14 +4783,14 @@ export interface PostMenuV3DraftItemRelationshipsModifierGroupBody {
4722
4783
  item_id: string;
4723
4784
  brand_id: string;
4724
4785
  sequence?: number;
4725
- id?: any;
4726
- applied_diff_snapshot?: any;
4786
+ id?: Record<string, any>;
4787
+ applied_diff_snapshot?: Record<string, any>;
4727
4788
  item?: DraftItemDTO;
4728
4789
  modifier_group?: DraftModifierGroupDTO;
4729
4790
  brand?: DraftBrandDTO;
4730
4791
  changes?: ItemToModifierGroupRelationshipChangeDTO[];
4731
4792
  vendor_metadata?: VendorMetadataDTO[];
4732
- permissions?: any;
4793
+ permissions?: Record<string, any>;
4733
4794
  [index: string]: any;
4734
4795
  }
4735
4796
 
@@ -4778,14 +4839,14 @@ export interface PatchMenuV3DraftItemRelationshipsModifierGroupBody {
4778
4839
  item_id?: string;
4779
4840
  brand_id?: string;
4780
4841
  sequence?: number;
4781
- applied_diff_snapshot?: any;
4842
+ applied_diff_snapshot?: Record<string, any>;
4782
4843
  version?: number;
4783
4844
  item?: DraftItemDTO;
4784
4845
  modifier_group?: DraftModifierGroupDTO;
4785
4846
  brand?: DraftBrandDTO;
4786
4847
  changes?: ItemToModifierGroupRelationshipChangeDTO[];
4787
4848
  vendor_metadata?: VendorMetadataDTO[];
4788
- permissions?: any;
4849
+ permissions?: Record<string, any>;
4789
4850
  [index: string]: any;
4790
4851
  }
4791
4852
 
@@ -4854,14 +4915,14 @@ export type PostMenuV3DraftItemRelationshipsModifierGroupsBody = {
4854
4915
  item_id: string;
4855
4916
  brand_id: string;
4856
4917
  sequence?: number;
4857
- id?: any;
4858
- applied_diff_snapshot?: any;
4918
+ id?: Record<string, any>;
4919
+ applied_diff_snapshot?: Record<string, any>;
4859
4920
  item?: DraftItemDTO;
4860
4921
  modifier_group?: DraftModifierGroupDTO;
4861
4922
  brand?: DraftBrandDTO;
4862
4923
  changes?: ItemToModifierGroupRelationshipChangeDTO[];
4863
4924
  vendor_metadata?: VendorMetadataDTO[];
4864
- permissions?: any;
4925
+ permissions?: Record<string, any>;
4865
4926
  [index: string]: any;
4866
4927
  }[];
4867
4928
 
@@ -4988,12 +5049,12 @@ export interface PostMenuV3DraftModifierGroupBody {
4988
5049
  max?: number;
4989
5050
  is_active?: boolean;
4990
5051
  brand_id: string;
4991
- id?: any;
4992
- applied_diff_snapshot?: any;
5052
+ id?: Record<string, any>;
5053
+ applied_diff_snapshot?: Record<string, any>;
4993
5054
  brand?: DraftBrandDTO;
4994
5055
  changes?: ModifierGroupChangeDTO[];
4995
5056
  vendor_metadata?: VendorMetadataDTO[];
4996
- permissions?: any;
5057
+ permissions?: Record<string, any>;
4997
5058
  [index: string]: any;
4998
5059
  }
4999
5060
 
@@ -5044,12 +5105,12 @@ export interface PatchMenuV3DraftModifierGroupBody {
5044
5105
  max?: number;
5045
5106
  is_active?: boolean;
5046
5107
  brand_id?: string;
5047
- applied_diff_snapshot?: any;
5108
+ applied_diff_snapshot?: Record<string, any>;
5048
5109
  version?: number;
5049
5110
  brand?: DraftBrandDTO;
5050
5111
  changes?: ModifierGroupChangeDTO[];
5051
5112
  vendor_metadata?: VendorMetadataDTO[];
5052
- permissions?: any;
5113
+ permissions?: Record<string, any>;
5053
5114
  [index: string]: any;
5054
5115
  }
5055
5116
 
@@ -5120,12 +5181,12 @@ export type PostMenuV3DraftModifierGroupsBody = {
5120
5181
  max?: number;
5121
5182
  is_active?: boolean;
5122
5183
  brand_id: string;
5123
- id?: any;
5124
- applied_diff_snapshot?: any;
5184
+ id?: Record<string, any>;
5185
+ applied_diff_snapshot?: Record<string, any>;
5125
5186
  brand?: DraftBrandDTO;
5126
5187
  changes?: ModifierGroupChangeDTO[];
5127
5188
  vendor_metadata?: VendorMetadataDTO[];
5128
- permissions?: any;
5189
+ permissions?: Record<string, any>;
5129
5190
  [index: string]: any;
5130
5191
  }[];
5131
5192
 
@@ -5181,12 +5242,12 @@ export interface PostMenuV3DraftModifierGroupDuplicateResponse {
5181
5242
  max?: number;
5182
5243
  is_active?: boolean;
5183
5244
  brand_id: string;
5184
- applied_diff_snapshot?: any;
5245
+ applied_diff_snapshot?: Record<string, any>;
5185
5246
  version?: number;
5186
5247
  brand?: DraftBrandDTO;
5187
5248
  changes?: ModifierGroupChangeDTO[];
5188
5249
  vendor_metadata?: VendorMetadataDTO[];
5189
- permissions?: any;
5250
+ permissions?: Record<string, any>;
5190
5251
  [index: string]: any;
5191
5252
  }
5192
5253
 
@@ -5282,14 +5343,14 @@ export interface PostMenuV3DraftModifierGroupRelationshipsModifierBody {
5282
5343
  modifier_group_id: string;
5283
5344
  brand_id: string;
5284
5345
  sequence?: number;
5285
- id?: any;
5286
- applied_diff_snapshot?: any;
5346
+ id?: Record<string, any>;
5347
+ applied_diff_snapshot?: Record<string, any>;
5287
5348
  modifier?: DraftModifierDTO;
5288
5349
  modifier_group?: DraftModifierGroupDTO;
5289
5350
  brand?: DraftBrandDTO;
5290
5351
  changes?: ModifierGroupToModifierRelationshipChangeDTO[];
5291
5352
  vendor_metadata?: VendorMetadataDTO[];
5292
- permissions?: any;
5353
+ permissions?: Record<string, any>;
5293
5354
  [index: string]: any;
5294
5355
  }
5295
5356
 
@@ -5338,14 +5399,14 @@ export interface PatchMenuV3DraftModifierGroupRelationshipsModifierBody {
5338
5399
  modifier_group_id?: string;
5339
5400
  brand_id?: string;
5340
5401
  sequence?: number;
5341
- applied_diff_snapshot?: any;
5402
+ applied_diff_snapshot?: Record<string, any>;
5342
5403
  version?: number;
5343
5404
  modifier?: DraftModifierDTO;
5344
5405
  modifier_group?: DraftModifierGroupDTO;
5345
5406
  brand?: DraftBrandDTO;
5346
5407
  changes?: ModifierGroupToModifierRelationshipChangeDTO[];
5347
5408
  vendor_metadata?: VendorMetadataDTO[];
5348
- permissions?: any;
5409
+ permissions?: Record<string, any>;
5349
5410
  [index: string]: any;
5350
5411
  }
5351
5412
 
@@ -5414,14 +5475,14 @@ export type PostMenuV3DraftModifierGroupRelationshipsModifiersBody = {
5414
5475
  modifier_group_id: string;
5415
5476
  brand_id: string;
5416
5477
  sequence?: number;
5417
- id?: any;
5418
- applied_diff_snapshot?: any;
5478
+ id?: Record<string, any>;
5479
+ applied_diff_snapshot?: Record<string, any>;
5419
5480
  modifier?: DraftModifierDTO;
5420
5481
  modifier_group?: DraftModifierGroupDTO;
5421
5482
  brand?: DraftBrandDTO;
5422
5483
  changes?: ModifierGroupToModifierRelationshipChangeDTO[];
5423
5484
  vendor_metadata?: VendorMetadataDTO[];
5424
- permissions?: any;
5485
+ permissions?: Record<string, any>;
5425
5486
  [index: string]: any;
5426
5487
  }[];
5427
5488
 
@@ -5546,19 +5607,21 @@ export interface PostMenuV3DraftModifierBody {
5546
5607
  description?: string;
5547
5608
  price: number;
5548
5609
  calories?: number;
5549
- tax_tags?: any[];
5610
+ tax_tags?: Record<string, any>[];
5550
5611
  is_active?: boolean;
5551
5612
  posid?: string;
5552
5613
  reporting: ReportingMetadataDTO;
5553
5614
  posid_segment?: string;
5554
5615
  brand_id: string;
5555
- id?: any;
5556
- applied_diff_snapshot?: any;
5616
+ sizing?: Record<string, any>[];
5617
+ id?: Record<string, any>;
5618
+ applied_diff_snapshot?: Record<string, any>;
5557
5619
  brand?: DraftBrandDTO;
5558
5620
  changes?: ModifierChangeDTO[];
5559
5621
  vendor_metadata?: VendorMetadataDTO[];
5560
5622
  weight?: WeightDTO;
5561
- permissions?: any;
5623
+ attachments?: FileAttachmentsDTO;
5624
+ permissions?: Record<string, any>;
5562
5625
  [index: string]: any;
5563
5626
  }
5564
5627
 
@@ -5607,19 +5670,21 @@ export interface PatchMenuV3DraftModifierBody {
5607
5670
  description?: string;
5608
5671
  price?: number;
5609
5672
  calories?: number;
5610
- tax_tags?: any[];
5673
+ tax_tags?: Record<string, any>[];
5611
5674
  is_active?: boolean;
5612
5675
  posid?: string;
5613
5676
  reporting?: ReportingMetadataDTO;
5614
5677
  posid_segment?: string;
5615
5678
  brand_id?: string;
5616
- applied_diff_snapshot?: any;
5679
+ sizing?: Record<string, any>[];
5680
+ applied_diff_snapshot?: Record<string, any>;
5617
5681
  version?: number;
5618
5682
  brand?: DraftBrandDTO;
5619
5683
  changes?: ModifierChangeDTO[];
5620
5684
  vendor_metadata?: VendorMetadataDTO[];
5621
5685
  weight?: WeightDTO;
5622
- permissions?: any;
5686
+ attachments?: FileAttachmentsDTO;
5687
+ permissions?: Record<string, any>;
5623
5688
  [index: string]: any;
5624
5689
  }
5625
5690
 
@@ -5686,19 +5751,21 @@ export type PostMenuV3DraftModifiersBody = {
5686
5751
  description?: string;
5687
5752
  price: number;
5688
5753
  calories?: number;
5689
- tax_tags?: any[];
5754
+ tax_tags?: Record<string, any>[];
5690
5755
  is_active?: boolean;
5691
5756
  posid?: string;
5692
5757
  reporting: ReportingMetadataDTO;
5693
5758
  posid_segment?: string;
5694
5759
  brand_id: string;
5695
- id?: any;
5696
- applied_diff_snapshot?: any;
5760
+ sizing?: Record<string, any>[];
5761
+ id?: Record<string, any>;
5762
+ applied_diff_snapshot?: Record<string, any>;
5697
5763
  brand?: DraftBrandDTO;
5698
5764
  changes?: ModifierChangeDTO[];
5699
5765
  vendor_metadata?: VendorMetadataDTO[];
5700
5766
  weight?: WeightDTO;
5701
- permissions?: any;
5767
+ attachments?: FileAttachmentsDTO;
5768
+ permissions?: Record<string, any>;
5702
5769
  [index: string]: any;
5703
5770
  }[];
5704
5771
 
@@ -5735,7 +5802,7 @@ export interface GetMenuV3DraftModifiersCountRequest
5735
5802
  // PATCH /menu/v3/draft/modifiers/bulk-update
5736
5803
 
5737
5804
  export interface PatchMenuV3DraftModifiersBulkUpdateBody {
5738
- id_list: any[];
5805
+ id_list: Record<string, any>[];
5739
5806
  parent?: DraftModifierDTO;
5740
5807
  children?: DraftModifierDTO[];
5741
5808
  modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
@@ -5746,18 +5813,20 @@ export interface PatchMenuV3DraftModifiersBulkUpdateBody {
5746
5813
  description?: string;
5747
5814
  price?: number;
5748
5815
  calories?: number;
5749
- tax_tags?: any[];
5816
+ tax_tags?: Record<string, any>[];
5750
5817
  is_active?: boolean;
5751
5818
  posid?: string;
5752
5819
  reporting?: ReportingMetadataDTO;
5753
5820
  posid_segment?: string;
5754
5821
  brand_id?: string;
5755
- applied_diff_snapshot?: any;
5822
+ sizing?: Record<string, any>[];
5823
+ applied_diff_snapshot?: Record<string, any>;
5756
5824
  brand?: DraftBrandDTO;
5757
5825
  changes?: ModifierChangeDTO[];
5758
5826
  vendor_metadata?: VendorMetadataDTO[];
5759
5827
  weight?: WeightDTO;
5760
- permissions?: any;
5828
+ attachments?: FileAttachmentsDTO;
5829
+ permissions?: Record<string, any>;
5761
5830
  [index: string]: any;
5762
5831
  }
5763
5832
 
@@ -5769,6 +5838,26 @@ export interface PatchMenuV3DraftModifiersBulkUpdateRequest extends BaseRequest
5769
5838
  body: PatchMenuV3DraftModifiersBulkUpdateBody;
5770
5839
  }
5771
5840
 
5841
+ // POST /menu/v3/draft/modifiers/{id}/attachment/{name}
5842
+
5843
+ export interface PostMenuV3DraftModifiersAttachmentPath {
5844
+ id: string;
5845
+ name: "thumbnail";
5846
+ }
5847
+
5848
+ export interface PostMenuV3DraftModifiersAttachmentQuery {
5849
+ "body.data"?: string;
5850
+ }
5851
+
5852
+ export interface PostMenuV3DraftModifiersAttachmentResponse {
5853
+ status?: string;
5854
+ }
5855
+
5856
+ export interface PostMenuV3DraftModifiersAttachmentRequest
5857
+ extends BaseRequest,
5858
+ RequestQuery<PostMenuV3DraftModifiersAttachmentQuery>,
5859
+ PostMenuV3DraftModifiersAttachmentPath {}
5860
+
5772
5861
  // GET /menu/v3/modifier/{id}
5773
5862
 
5774
5863
  export interface GetMenuV3ModifierPath {
@@ -5854,8 +5943,8 @@ export interface PostMenuV3IntegrationsTransltrImportQuery {
5854
5943
  }
5855
5944
 
5856
5945
  export interface PostMenuV3IntegrationsTransltrImportResponse {
5857
- errors?: any;
5858
- results?: any;
5946
+ errors?: Record<string, any>;
5947
+ results?: Record<string, any>;
5859
5948
  }
5860
5949
 
5861
5950
  export interface PostMenuV3IntegrationsTransltrImportRequest
@@ -5885,17 +5974,17 @@ export interface GetMenuV3GlobalDiffResponse {
5885
5974
  deleted_at?: string;
5886
5975
  entity_type?: string;
5887
5976
  local_id?: string;
5888
- changes?: any;
5889
- local_changes?: any;
5890
- local_snapshot?: any;
5977
+ changes?: Record<string, any>;
5978
+ local_changes?: Record<string, any>;
5979
+ local_snapshot?: Record<string, any>;
5891
5980
  global_id?: string;
5892
- global_snapshot?: any;
5981
+ global_snapshot?: Record<string, any>;
5893
5982
  brand_id?: string;
5894
5983
  version?: number;
5895
5984
  depends_on?: GlobalDiffDependencyDTO[];
5896
5985
  is_depended_by?: GlobalDiffDependencyDTO[];
5897
5986
  brand?: DraftBrandDTO;
5898
- permissions?: any;
5987
+ permissions?: Record<string, any>;
5899
5988
  [index: string]: any;
5900
5989
  }
5901
5990