@compassdigital/sdk.typescript 3.50.0 → 3.51.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.
@@ -455,20 +455,23 @@ export interface CategoryDTO {
455
455
  priority?: number;
456
456
  is_active?: boolean;
457
457
  layout_id?: string;
458
+ brand_id?: string;
458
459
  id?: string;
459
460
  [index: string]: any;
460
461
  }
461
462
  export interface LayoutDTO {
462
- name: string;
463
463
  categories?: CategoryDTO[];
464
- brand_id: string;
465
- station_id: string;
466
464
  id?: string;
467
465
  created_at?: string;
468
466
  updated_at?: string;
469
467
  deleted_at?: string;
468
+ name: string;
469
+ brand_id: string;
470
+ station_id?: string;
471
+ version?: number;
470
472
  brand?: BrandDTO;
471
473
  station?: StationDTO;
474
+ changes?: LayoutChangeDTO[];
472
475
  [index: string]: any;
473
476
  }
474
477
  export interface BrandDTO {
@@ -486,17 +489,27 @@ export interface ItemDTO {
486
489
  is_active?: boolean;
487
490
  is_in_stock?: boolean;
488
491
  posid?: string;
489
- tax_tags?: string[];
492
+ tax_tags?: FilterFieldDTO[];
493
+ modifier_groups?: ItemToModifierGroupRelationshipDTO[];
490
494
  brand_id?: string;
491
495
  station_id?: string;
492
496
  id?: string;
497
+ categories?: any[];
498
+ brand?: BrandDTO;
499
+ station?: StationDTO;
500
+ changes?: ItemChangeDTO[];
493
501
  [index: string]: any;
494
502
  }
495
503
  export interface ItemToModifierGroupRelationshipDTO {
504
+ id?: string;
496
505
  modifier_group_id?: string;
497
506
  item_id?: string;
507
+ brand_id?: FilterFieldDTO;
498
508
  sequence?: number;
499
- id?: string;
509
+ modifier_group?: ModifierGroupDTO;
510
+ item?: any;
511
+ brand?: BrandDTO;
512
+ changes?: ItemToModifierGroupRelationshipChangeDTO[];
500
513
  [index: string]: any;
501
514
  }
502
515
  export interface ModifierGroupDTO {
@@ -506,16 +519,26 @@ export interface ModifierGroupDTO {
506
519
  max?: number;
507
520
  is_active?: boolean;
508
521
  priority?: number;
522
+ modifiers?: ModifierGroupToModifierRelationshipDTO[];
523
+ items?: any[];
509
524
  brand_id?: string;
510
525
  station_id?: string;
511
526
  id?: string;
527
+ brand?: BrandDTO;
528
+ station?: StationDTO;
529
+ changes?: ModifierGroupChangeDTO[];
512
530
  [index: string]: any;
513
531
  }
514
532
  export interface ModifierGroupToModifierRelationshipDTO {
533
+ id?: string;
515
534
  modifier_id?: string;
516
535
  modifier_group_id?: string;
536
+ brand_id?: FilterFieldDTO;
517
537
  sequence?: number;
518
- id?: string;
538
+ modifier?: ModifierDTO;
539
+ modifier_group?: any;
540
+ brand?: BrandDTO;
541
+ changes?: ModifierGroupToModifierRelationshipChangeDTO[];
519
542
  [index: string]: any;
520
543
  }
521
544
  export interface ModifierDTO {
@@ -525,13 +548,17 @@ export interface ModifierDTO {
525
548
  price?: number;
526
549
  calories?: number;
527
550
  priority?: number;
528
- tax_tags?: string[];
551
+ tax_tags?: FilterFieldDTO[];
529
552
  is_active?: boolean;
530
553
  is_in_stock?: boolean;
531
554
  posid?: string;
555
+ modifier_groups?: any[];
532
556
  brand_id?: string;
533
557
  station_id?: string;
534
558
  id?: string;
559
+ brand?: BrandDTO;
560
+ station?: StationDTO;
561
+ changes?: ModifierChangeDTO[];
535
562
  [index: string]: any;
536
563
  }
537
564
  export interface StationDTO {
@@ -540,10 +567,15 @@ export interface StationDTO {
540
567
  [index: string]: any;
541
568
  }
542
569
  export interface CategoryToItemRelationshipDTO {
570
+ id?: string;
543
571
  category_id?: string;
544
572
  item_id?: string;
573
+ brand_id?: FilterFieldDTO;
545
574
  sequence?: number;
546
- id?: string;
575
+ category?: CategoryCategoryDTO;
576
+ item?: ItemDTO;
577
+ brand?: BrandDTO;
578
+ changes?: CategoryToItemRelationshipChangeDTO[];
547
579
  [index: string]: any;
548
580
  }
549
581
  export interface InvalidInputErrorDTO {
@@ -669,224 +701,944 @@ export interface ItemEntityDTO {
669
701
  station?: StationDTO;
670
702
  [index: string]: any;
671
703
  }
672
- export interface GetMenuV3ModifiersQuery {
673
- filter?: any;
704
+ export interface LayoutChangeDTO {
705
+ id?: string;
706
+ insert?: string;
707
+ delete?: string;
708
+ snapshot_entity_id?: string;
709
+ [index: string]: any;
710
+ }
711
+ export interface GetOneOptionsDTO {
712
+ select?: string[];
713
+ relationships?: string[];
714
+ [index: string]: any;
715
+ }
716
+ export interface PaginationOptionsDTO {
674
717
  limit?: number;
675
718
  page?: number;
676
719
  sort_by?: string;
677
720
  sort_order?: string;
678
721
  soft_deleted?: string;
679
- select?: string[];
680
- relationships?: string[];
681
- _query?: string;
682
- }
683
- export interface GetMenuV3ModifiersResponse {
684
- meta: PaginationMetaDTO;
685
- results: ModifierDTO[];
686
722
  [index: string]: any;
687
723
  }
688
- export interface GetMenuV3ModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3ModifiersQuery> {
724
+ export interface ListResponseMetadataDTO {
725
+ total_results?: number;
726
+ total_pages?: number;
727
+ result_count?: number;
728
+ limit?: number;
729
+ page?: number;
730
+ sort_by?: string;
731
+ sort_order?: string;
732
+ soft_deleted?: string;
733
+ [index: string]: any;
689
734
  }
690
- export type PostMenuV3ModifiersBody = {
691
- name: string;
692
- label?: string;
693
- description?: string;
694
- price: number;
695
- calories?: number;
696
- priority?: number;
697
- tax_tags?: string[];
698
- is_active?: boolean;
699
- is_in_stock?: boolean;
700
- posid: string;
701
- modifier_groups?: ModifierGroupToModifierRelationshipDTO[];
702
- brand_id: string;
703
- station_id?: string;
704
- id?: any;
735
+ export interface CategoryCategoryDTO {
736
+ name?: FilterFieldDTO;
737
+ label?: FilterFieldDTO;
738
+ sequence?: FilterFieldDTO;
739
+ priority?: FilterFieldDTO;
740
+ is_active?: FilterFieldDTO;
741
+ layout_id?: FilterFieldDTO;
742
+ brand_id?: FilterFieldDTO;
743
+ id?: FilterFieldDTO;
744
+ version?: FilterFieldDTO;
745
+ created_at?: FilterFieldDTO;
746
+ updated_at?: FilterFieldDTO;
747
+ deleted_at?: FilterFieldDTO;
748
+ layout?: LayoutDTO;
749
+ items?: any[];
705
750
  brand?: BrandDTO;
706
- station?: StationDTO;
751
+ changes?: CategoryChangeDTO[];
707
752
  [index: string]: any;
708
- }[];
709
- export interface PostMenuV3ModifiersResponse {
710
- meta: PaginationMetaDTO;
711
- results: ModifierDTO[];
753
+ }
754
+ export interface CategoryChangeDTO {
755
+ id?: string;
756
+ insert?: FilterFieldDTO;
757
+ delete?: FilterFieldDTO;
758
+ snapshot_entity_id?: FilterFieldDTO;
759
+ snapshot_entity?: any;
712
760
  [index: string]: any;
713
761
  }
714
- export interface PostMenuV3ModifiersRequest extends BaseRequest {
715
- body: PostMenuV3ModifiersBody;
762
+ export interface ModifierChangeDTO {
763
+ id?: string;
764
+ insert?: FilterFieldDTO;
765
+ delete?: FilterFieldDTO;
766
+ snapshot_entity_id?: FilterFieldDTO;
767
+ snapshot_entity?: any;
768
+ [index: string]: any;
716
769
  }
717
- export interface GetMenuV3ModifierPath {
718
- id: string;
770
+ export interface ModifierGroupToModifierRelationshipChangeDTO {
771
+ id?: string;
772
+ insert?: FilterFieldDTO;
773
+ delete?: FilterFieldDTO;
774
+ snapshot_entity_id?: FilterFieldDTO;
775
+ snapshot_entity?: any;
776
+ [index: string]: any;
719
777
  }
720
- export interface GetMenuV3ModifierQuery {
721
- select?: string[];
722
- relationships?: string[];
723
- _query?: string;
778
+ export interface ModifierGroupChangeDTO {
779
+ id?: string;
780
+ insert?: FilterFieldDTO;
781
+ delete?: FilterFieldDTO;
782
+ snapshot_entity_id?: FilterFieldDTO;
783
+ snapshot_entity?: any;
784
+ [index: string]: any;
724
785
  }
725
- export type GetMenuV3ModifierResponse = ModifierDTO;
726
- export interface GetMenuV3ModifierRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierQuery>, GetMenuV3ModifierPath {
786
+ export interface ItemToModifierGroupRelationshipChangeDTO {
787
+ id?: string;
788
+ insert?: FilterFieldDTO;
789
+ delete?: FilterFieldDTO;
790
+ snapshot_entity_id?: FilterFieldDTO;
791
+ snapshot_entity?: any;
792
+ [index: string]: any;
727
793
  }
728
- export interface PatchMenuV3ModifierPath {
729
- id: string;
794
+ export interface ItemChangeDTO {
795
+ id?: string;
796
+ insert?: FilterFieldDTO;
797
+ delete?: FilterFieldDTO;
798
+ snapshot_entity_id?: FilterFieldDTO;
799
+ snapshot_entity?: any;
800
+ [index: string]: any;
801
+ }
802
+ export interface CategoryToItemRelationshipChangeDTO {
803
+ id?: string;
804
+ insert?: FilterFieldDTO;
805
+ delete?: FilterFieldDTO;
806
+ snapshot_entity_id?: FilterFieldDTO;
807
+ snapshot_entity?: any;
808
+ [index: string]: any;
809
+ }
810
+ export interface BrandChangeDTO {
811
+ id?: string;
812
+ insert?: string;
813
+ delete?: string;
814
+ snapshot_entity_id?: string;
815
+ [index: string]: any;
816
+ }
817
+ export interface PublishedLayoutDTO {
818
+ id?: string;
819
+ parent_id?: string;
820
+ name?: string;
821
+ brand_id?: string;
822
+ station_id?: string;
823
+ [index: string]: any;
730
824
  }
731
- export interface PatchMenuV3ModifierBody {
825
+ export interface PublishedItemDTO {
826
+ id?: string;
827
+ parent_id?: string;
732
828
  name?: string;
733
829
  label?: string;
734
830
  description?: string;
735
831
  price?: number;
832
+ barcode?: string;
736
833
  calories?: number;
737
834
  priority?: number;
738
- tax_tags?: string[];
739
835
  is_active?: boolean;
740
836
  is_in_stock?: boolean;
741
837
  posid?: string;
742
- modifier_groups?: ModifierGroupToModifierRelationshipDTO[];
838
+ tax_tags?: any[];
743
839
  brand_id?: string;
744
840
  station_id?: string;
745
- id?: string;
746
- brand?: BrandDTO;
747
- station?: StationDTO;
748
841
  [index: string]: any;
749
842
  }
750
- export type PatchMenuV3ModifierResponse = ModifierDTO;
751
- export interface PatchMenuV3ModifierRequest extends BaseRequest, PatchMenuV3ModifierPath {
752
- body: PatchMenuV3ModifierBody;
753
- }
754
- export interface DeleteMenuV3ModifierPath {
755
- id: string;
756
- }
757
- export type DeleteMenuV3ModifierResponse = ModifierDTO;
758
- export interface DeleteMenuV3ModifierRequest extends BaseRequest, DeleteMenuV3ModifierPath {
843
+ export interface PublishedModifierGroupDTO {
844
+ id?: string;
845
+ parent_id?: string;
846
+ name?: string;
847
+ label?: string;
848
+ min?: number;
849
+ max?: number;
850
+ is_active?: boolean;
851
+ priority?: number;
852
+ brand_id?: string;
853
+ station_id?: string;
854
+ [index: string]: any;
759
855
  }
760
- export interface PostMenuV3ModifierBody {
761
- name: string;
856
+ export interface PublishedModifierDTO {
857
+ id?: string;
858
+ parent_id?: string;
859
+ name?: string;
762
860
  label?: string;
763
861
  description?: string;
764
- price: number;
862
+ price?: number;
765
863
  calories?: number;
766
864
  priority?: number;
767
- tax_tags?: string[];
865
+ tax_tags?: any[];
768
866
  is_active?: boolean;
769
867
  is_in_stock?: boolean;
770
- posid: string;
771
- modifier_groups?: ModifierGroupToModifierRelationshipDTO[];
772
- brand_id: string;
868
+ posid?: string;
869
+ brand_id?: string;
773
870
  station_id?: string;
774
- brand?: BrandDTO;
775
- station?: StationDTO;
776
871
  [index: string]: any;
777
872
  }
778
- export type PostMenuV3ModifierResponse = ModifierDTO;
779
- export interface PostMenuV3ModifierRequest extends BaseRequest {
780
- body: PostMenuV3ModifierBody;
781
- }
782
- export interface GetMenuV3ModifierCountQuery {
783
- _query?: string;
784
- }
785
- export interface GetMenuV3ModifierCountResponse {
786
- count?: number;
787
- }
788
- export interface GetMenuV3ModifierCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierCountQuery> {
873
+ export interface PublishedCategoryDTO {
874
+ id?: string;
875
+ parent_id?: string;
876
+ name?: string;
877
+ label?: string;
878
+ sequence?: number;
879
+ priority?: number;
880
+ is_active?: boolean;
881
+ layout_id?: string;
882
+ brand_id?: string;
883
+ [index: string]: any;
789
884
  }
790
- export interface GetMenuV3ModifierGroupsQuery {
791
- filter?: any;
792
- limit?: number;
793
- page?: number;
794
- sort_by?: string;
795
- sort_order?: string;
796
- soft_deleted?: string;
797
- select?: string[];
798
- relationships?: string[];
799
- _query?: string;
885
+ export interface PublishedModifierGroupToModifierRelationshipDTO {
886
+ id?: string;
887
+ parent_id?: string;
888
+ modifier_id?: string;
889
+ modifier_group_id?: string;
890
+ brand_id?: string;
891
+ sequence?: number;
892
+ [index: string]: any;
800
893
  }
801
- export interface GetMenuV3ModifierGroupsResponse {
802
- meta: PaginationMetaDTO;
803
- results: ModifierGroupDTO[];
894
+ export interface PublishedItemToModifierGroupRelationshipDTO {
895
+ id?: string;
896
+ parent_id?: string;
897
+ modifier_group_id?: string;
898
+ item_id?: string;
899
+ brand_id?: string;
900
+ sequence?: number;
804
901
  [index: string]: any;
805
902
  }
806
- export interface GetMenuV3ModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupsQuery> {
903
+ export interface PublishedCategoryToItemRelationshipDTO {
904
+ id?: string;
905
+ parent_id?: string;
906
+ category_id?: string;
907
+ item_id?: string;
908
+ brand_id?: string;
909
+ sequence?: number;
910
+ [index: string]: any;
807
911
  }
808
- export type PostMenuV3ModifierGroupsBody = {
809
- name: string;
810
- label?: string;
811
- min?: number;
812
- max?: number;
813
- is_active?: boolean;
814
- priority?: number;
815
- modifiers?: ModifierGroupToModifierRelationshipDTO[];
816
- items?: ItemToModifierGroupRelationshipDTO[];
817
- brand_id: string;
818
- station_id?: string;
912
+ export interface PublishedBrandDTO {
913
+ parent?: any;
914
+ children?: any[];
915
+ layouts?: PublishedLayoutDTO[];
916
+ items?: PublishedItemDTO[];
917
+ modifier_groups?: PublishedModifierGroupDTO[];
918
+ modifiers?: PublishedModifierDTO[];
919
+ categories?: PublishedCategoryDTO[];
920
+ modifier_group_to_modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
921
+ item_to_modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
922
+ category_to_items?: PublishedCategoryToItemRelationshipDTO[];
923
+ parent_id?: string;
819
924
  id?: any;
820
- brand?: BrandDTO;
821
- station?: StationDTO;
822
- [index: string]: any;
823
- }[];
824
- export interface PostMenuV3ModifierGroupsResponse {
825
- meta: PaginationMetaDTO;
826
- results: ModifierGroupDTO[];
925
+ changes?: DraftBrandChangeDTO[];
827
926
  [index: string]: any;
828
927
  }
829
- export interface PostMenuV3ModifierGroupsRequest extends BaseRequest {
830
- body: PostMenuV3ModifierGroupsBody;
831
- }
832
- export interface PostMenuV3ModifierGroupBody {
928
+ export interface DraftLayoutDTO {
929
+ parent?: any;
930
+ children?: any[];
931
+ categories?: DraftCategoryDTO[];
932
+ parent_id?: string;
833
933
  name: string;
834
- label?: string;
835
- min?: number;
836
- max?: number;
837
- is_active?: boolean;
838
- priority?: number;
839
- modifiers?: ModifierGroupToModifierRelationshipDTO[];
840
- items?: ItemToModifierGroupRelationshipDTO[];
841
934
  brand_id: string;
935
+ id?: any;
842
936
  station_id?: string;
843
- brand?: BrandDTO;
937
+ brand?: DraftBrandDTO;
844
938
  station?: StationDTO;
939
+ changes?: DraftLayoutChangeDTO[];
845
940
  [index: string]: any;
846
941
  }
847
- export type PostMenuV3ModifierGroupResponse = ModifierGroupDTO;
848
- export interface PostMenuV3ModifierGroupRequest extends BaseRequest {
849
- body: PostMenuV3ModifierGroupBody;
850
- }
851
- export interface GetMenuV3ModifierGroupPath {
852
- id: string;
853
- }
854
- export interface GetMenuV3ModifierGroupQuery {
855
- select?: string[];
856
- relationships?: string[];
857
- _query?: string;
858
- }
859
- export type GetMenuV3ModifierGroupResponse = ModifierGroupDTO;
860
- export interface GetMenuV3ModifierGroupRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupQuery>, GetMenuV3ModifierGroupPath {
861
- }
862
- export interface PatchMenuV3ModifierGroupPath {
863
- id: string;
864
- }
865
- export interface PatchMenuV3ModifierGroupBody {
942
+ export interface DraftCategoryDTO {
943
+ parent_id?: string;
866
944
  name?: string;
867
945
  label?: string;
868
- min?: number;
869
- max?: number;
870
- is_active?: boolean;
946
+ sequence?: number;
871
947
  priority?: number;
872
- modifiers?: ModifierGroupToModifierRelationshipDTO[];
873
- items?: ItemToModifierGroupRelationshipDTO[];
948
+ is_active?: boolean;
949
+ layout_id?: string;
874
950
  brand_id?: string;
875
- station_id?: string;
876
951
  id?: string;
877
- brand?: BrandDTO;
878
- station?: StationDTO;
879
952
  [index: string]: any;
880
953
  }
881
- export type PatchMenuV3ModifierGroupResponse = ModifierGroupDTO;
882
- export interface PatchMenuV3ModifierGroupRequest extends BaseRequest, PatchMenuV3ModifierGroupPath {
883
- body: PatchMenuV3ModifierGroupBody;
954
+ export interface DraftBrandDTO {
955
+ parent_id?: string;
956
+ id?: string;
957
+ [index: string]: any;
884
958
  }
885
- export interface DeleteMenuV3ModifierGroupPath {
886
- id: string;
959
+ export interface DraftLayoutChangeDTO {
960
+ id?: string;
961
+ insert?: string;
962
+ delete?: string;
963
+ snapshot_entity_id?: string;
964
+ [index: string]: any;
965
+ }
966
+ export interface DraftLayoutDraftLayoutDTO {
967
+ parent_id?: any;
968
+ name?: any;
969
+ brand_id?: any;
970
+ station_id?: any;
971
+ id?: any;
972
+ version?: any;
973
+ created_at?: any;
974
+ updated_at?: any;
975
+ deleted_at?: any;
976
+ parent?: any;
977
+ children?: any[];
978
+ categories?: DraftCategoryDTO[];
979
+ brand?: DraftBrandDTO;
980
+ station?: StationDTO;
981
+ changes?: DraftLayoutChangeDTO[];
982
+ [index: string]: any;
983
+ }
984
+ export interface DraftCategoryDraftCategoryDTO {
985
+ parent_id?: FilterFieldDTO;
986
+ name?: FilterFieldDTO;
987
+ label?: FilterFieldDTO;
988
+ sequence?: FilterFieldDTO;
989
+ priority?: FilterFieldDTO;
990
+ is_active?: FilterFieldDTO;
991
+ layout_id?: FilterFieldDTO;
992
+ brand_id?: FilterFieldDTO;
993
+ id?: FilterFieldDTO;
994
+ version?: FilterFieldDTO;
995
+ created_at?: FilterFieldDTO;
996
+ updated_at?: FilterFieldDTO;
997
+ deleted_at?: FilterFieldDTO;
998
+ parent?: any;
999
+ children?: any[];
1000
+ layout?: DraftLayoutDTO;
1001
+ items?: DraftCategoryToItemRelationshipDTO[];
1002
+ brand?: DraftBrandDTO;
1003
+ changes?: DraftCategoryChangeDTO[];
1004
+ [index: string]: any;
1005
+ }
1006
+ export interface DraftCategoryToItemRelationshipDTO {
1007
+ parent?: any;
1008
+ children?: any[];
1009
+ id?: string;
1010
+ parent_id?: string;
1011
+ category_id?: string;
1012
+ item_id?: string;
1013
+ brand_id?: FilterFieldDTO;
1014
+ sequence?: number;
1015
+ category?: any;
1016
+ item?: DraftItemDTO;
1017
+ brand?: DraftBrandDTO;
1018
+ changes?: DraftCategoryToItemRelationshipChangeDTO[];
1019
+ [index: string]: any;
1020
+ }
1021
+ export interface DraftItemDTO {
1022
+ parent_id?: string;
1023
+ parent?: any;
1024
+ children?: any[];
1025
+ name?: string;
1026
+ label?: string;
1027
+ description?: string;
1028
+ price?: number;
1029
+ barcode?: string;
1030
+ calories?: number;
1031
+ priority?: number;
1032
+ is_active?: boolean;
1033
+ is_in_stock?: boolean;
1034
+ posid?: string;
1035
+ tax_tags?: FilterFieldDTO[];
1036
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
1037
+ brand_id?: string;
1038
+ station_id?: string;
1039
+ id?: string;
1040
+ categories?: any[];
1041
+ brand?: DraftBrandDTO;
1042
+ station?: StationDTO;
1043
+ changes?: DraftItemChangeDTO[];
1044
+ [index: string]: any;
1045
+ }
1046
+ export interface DraftItemToModifierGroupRelationshipDTO {
1047
+ parent?: any;
1048
+ children?: any[];
1049
+ id?: string;
1050
+ parent_id?: string;
1051
+ modifier_group_id?: string;
1052
+ item_id?: string;
1053
+ brand_id?: FilterFieldDTO;
1054
+ sequence?: number;
1055
+ modifier_group?: DraftModifierGroupDTO;
1056
+ item?: any;
1057
+ brand?: DraftBrandDTO;
1058
+ changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
1059
+ [index: string]: any;
1060
+ }
1061
+ export interface DraftModifierGroupDTO {
1062
+ parent_id?: string;
1063
+ parent?: any;
1064
+ children?: any[];
1065
+ name?: string;
1066
+ label?: string;
1067
+ min?: number;
1068
+ max?: number;
1069
+ is_active?: boolean;
1070
+ priority?: number;
1071
+ modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
1072
+ items?: any[];
1073
+ brand_id?: string;
1074
+ station_id?: string;
1075
+ id?: string;
1076
+ brand?: DraftBrandDTO;
1077
+ station?: StationDTO;
1078
+ changes?: DraftModifierGroupChangeDTO[];
1079
+ [index: string]: any;
1080
+ }
1081
+ export interface DraftModifierGroupToModifierRelationshipDTO {
1082
+ parent?: any;
1083
+ children?: any[];
1084
+ id?: string;
1085
+ parent_id?: string;
1086
+ modifier_id?: string;
1087
+ modifier_group_id?: string;
1088
+ brand_id?: FilterFieldDTO;
1089
+ sequence?: number;
1090
+ modifier?: DraftModifierDTO;
1091
+ modifier_group?: any;
1092
+ brand?: DraftBrandDTO;
1093
+ changes?: DraftModifierGroupToModifierRelationshipChangeDTO[];
1094
+ [index: string]: any;
1095
+ }
1096
+ export interface DraftModifierDTO {
1097
+ parent_id?: string;
1098
+ parent?: any;
1099
+ children?: any[];
1100
+ name?: string;
1101
+ label?: string;
1102
+ description?: string;
1103
+ price?: number;
1104
+ calories?: number;
1105
+ priority?: number;
1106
+ tax_tags?: FilterFieldDTO[];
1107
+ is_active?: boolean;
1108
+ is_in_stock?: boolean;
1109
+ posid?: string;
1110
+ modifier_groups?: any[];
1111
+ brand_id?: string;
1112
+ station_id?: string;
1113
+ id?: string;
1114
+ brand?: DraftBrandDTO;
1115
+ station?: StationDTO;
1116
+ changes?: DraftModifierChangeDTO[];
1117
+ [index: string]: any;
1118
+ }
1119
+ export interface DraftModifierChangeDTO {
1120
+ id?: string;
1121
+ insert?: FilterFieldDTO;
1122
+ delete?: FilterFieldDTO;
1123
+ snapshot_entity_id?: FilterFieldDTO;
1124
+ snapshot_entity?: any;
1125
+ [index: string]: any;
1126
+ }
1127
+ export interface DraftModifierGroupToModifierRelationshipChangeDTO {
1128
+ id?: string;
1129
+ insert?: FilterFieldDTO;
1130
+ delete?: FilterFieldDTO;
1131
+ snapshot_entity_id?: FilterFieldDTO;
1132
+ snapshot_entity?: any;
1133
+ [index: string]: any;
1134
+ }
1135
+ export interface DraftModifierGroupChangeDTO {
1136
+ id?: string;
1137
+ insert?: FilterFieldDTO;
1138
+ delete?: FilterFieldDTO;
1139
+ snapshot_entity_id?: FilterFieldDTO;
1140
+ snapshot_entity?: any;
1141
+ [index: string]: any;
1142
+ }
1143
+ export interface DraftItemToModifierGroupRelationshipChangeDTO {
1144
+ id?: string;
1145
+ insert?: FilterFieldDTO;
1146
+ delete?: FilterFieldDTO;
1147
+ snapshot_entity_id?: FilterFieldDTO;
1148
+ snapshot_entity?: any;
1149
+ [index: string]: any;
1150
+ }
1151
+ export interface DraftItemChangeDTO {
1152
+ id?: string;
1153
+ insert?: FilterFieldDTO;
1154
+ delete?: FilterFieldDTO;
1155
+ snapshot_entity_id?: FilterFieldDTO;
1156
+ snapshot_entity?: any;
1157
+ [index: string]: any;
1158
+ }
1159
+ export interface DraftCategoryToItemRelationshipChangeDTO {
1160
+ id?: string;
1161
+ insert?: FilterFieldDTO;
1162
+ delete?: FilterFieldDTO;
1163
+ snapshot_entity_id?: FilterFieldDTO;
1164
+ snapshot_entity?: any;
1165
+ [index: string]: any;
1166
+ }
1167
+ export interface DraftCategoryChangeDTO {
1168
+ id?: string;
1169
+ insert?: FilterFieldDTO;
1170
+ delete?: FilterFieldDTO;
1171
+ snapshot_entity_id?: FilterFieldDTO;
1172
+ snapshot_entity?: any;
1173
+ [index: string]: any;
1174
+ }
1175
+ export interface DraftCategoryToItemRelationshipDraftCategoryToItemRelationshipDTO {
1176
+ parent_id?: FilterFieldDTO;
1177
+ deleted_at?: FilterFieldDTO;
1178
+ category_id?: FilterFieldDTO;
1179
+ item_id?: FilterFieldDTO;
1180
+ brand_id?: FilterFieldDTO;
1181
+ sequence?: FilterFieldDTO;
1182
+ id?: FilterFieldDTO;
1183
+ version?: FilterFieldDTO;
1184
+ created_at?: FilterFieldDTO;
1185
+ updated_at?: FilterFieldDTO;
1186
+ parent?: any;
1187
+ children?: any[];
1188
+ category?: DraftCategoryDTO;
1189
+ item?: DraftItemDTO;
1190
+ brand?: DraftBrandDTO;
1191
+ changes?: DraftCategoryToItemRelationshipChangeDTO[];
1192
+ [index: string]: any;
1193
+ }
1194
+ export interface DraftItemDraftItemDTO {
1195
+ parent_id?: FilterFieldDTO;
1196
+ name?: FilterFieldDTO;
1197
+ label?: FilterFieldDTO;
1198
+ description?: FilterFieldDTO;
1199
+ price?: FilterFieldDTO;
1200
+ barcode?: FilterFieldDTO;
1201
+ calories?: FilterFieldDTO;
1202
+ priority?: FilterFieldDTO;
1203
+ is_active?: FilterFieldDTO;
1204
+ is_in_stock?: FilterFieldDTO;
1205
+ posid?: FilterFieldDTO;
1206
+ tax_tags?: FilterFieldDTO[];
1207
+ brand_id?: FilterFieldDTO;
1208
+ station_id?: FilterFieldDTO;
1209
+ id?: FilterFieldDTO;
1210
+ version?: FilterFieldDTO;
1211
+ created_at?: FilterFieldDTO;
1212
+ updated_at?: FilterFieldDTO;
1213
+ deleted_at?: FilterFieldDTO;
1214
+ parent?: any;
1215
+ children?: any[];
1216
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
1217
+ categories?: DraftCategoryToItemRelationshipDTO[];
1218
+ brand?: DraftBrandDTO;
1219
+ station?: StationDTO;
1220
+ changes?: DraftItemChangeDTO[];
1221
+ [index: string]: any;
1222
+ }
1223
+ export interface DraftItemToModifierGroupRelationshipDraftItemToModifierGroupRelationshipDTO {
1224
+ parent_id?: FilterFieldDTO;
1225
+ deleted_at?: FilterFieldDTO;
1226
+ modifier_group_id?: FilterFieldDTO;
1227
+ item_id?: FilterFieldDTO;
1228
+ brand_id?: FilterFieldDTO;
1229
+ sequence?: FilterFieldDTO;
1230
+ id?: FilterFieldDTO;
1231
+ version?: FilterFieldDTO;
1232
+ created_at?: FilterFieldDTO;
1233
+ updated_at?: FilterFieldDTO;
1234
+ parent?: any;
1235
+ children?: any[];
1236
+ modifier_group?: DraftModifierGroupDTO;
1237
+ item?: DraftItemDTO;
1238
+ brand?: DraftBrandDTO;
1239
+ changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
1240
+ [index: string]: any;
1241
+ }
1242
+ export interface DraftModifierGroupDraftModifierGroupDTO {
1243
+ parent_id?: FilterFieldDTO;
1244
+ name?: FilterFieldDTO;
1245
+ label?: FilterFieldDTO;
1246
+ min?: FilterFieldDTO;
1247
+ max?: FilterFieldDTO;
1248
+ is_active?: FilterFieldDTO;
1249
+ priority?: FilterFieldDTO;
1250
+ brand_id?: FilterFieldDTO;
1251
+ station_id?: FilterFieldDTO;
1252
+ id?: FilterFieldDTO;
1253
+ version?: FilterFieldDTO;
1254
+ created_at?: FilterFieldDTO;
1255
+ updated_at?: FilterFieldDTO;
1256
+ deleted_at?: FilterFieldDTO;
1257
+ parent?: any;
1258
+ children?: any[];
1259
+ modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
1260
+ items?: DraftItemToModifierGroupRelationshipDTO[];
1261
+ brand?: DraftBrandDTO;
1262
+ station?: StationDTO;
1263
+ changes?: DraftModifierGroupChangeDTO[];
1264
+ [index: string]: any;
1265
+ }
1266
+ export interface DraftModifierGroupToModifierRelationshipDraftModifierGroupToModifierRelationshipDTO {
1267
+ parent_id?: FilterFieldDTO;
1268
+ deleted_at?: FilterFieldDTO;
1269
+ modifier_id?: FilterFieldDTO;
1270
+ modifier_group_id?: FilterFieldDTO;
1271
+ brand_id?: FilterFieldDTO;
1272
+ sequence?: FilterFieldDTO;
1273
+ id?: FilterFieldDTO;
1274
+ version?: FilterFieldDTO;
1275
+ created_at?: FilterFieldDTO;
1276
+ updated_at?: FilterFieldDTO;
1277
+ parent?: any;
1278
+ children?: any[];
1279
+ modifier?: DraftModifierDTO;
1280
+ modifier_group?: DraftModifierGroupDTO;
1281
+ brand?: DraftBrandDTO;
1282
+ changes?: DraftModifierGroupToModifierRelationshipChangeDTO[];
1283
+ [index: string]: any;
1284
+ }
1285
+ export interface DraftModifierDraftModifierDTO {
1286
+ parent_id?: FilterFieldDTO;
1287
+ name?: FilterFieldDTO;
1288
+ label?: FilterFieldDTO;
1289
+ description?: FilterFieldDTO;
1290
+ price?: FilterFieldDTO;
1291
+ calories?: FilterFieldDTO;
1292
+ priority?: FilterFieldDTO;
1293
+ tax_tags?: FilterFieldDTO[];
1294
+ is_active?: FilterFieldDTO;
1295
+ is_in_stock?: FilterFieldDTO;
1296
+ posid?: FilterFieldDTO;
1297
+ brand_id?: FilterFieldDTO;
1298
+ station_id?: FilterFieldDTO;
1299
+ id?: FilterFieldDTO;
1300
+ version?: FilterFieldDTO;
1301
+ created_at?: FilterFieldDTO;
1302
+ updated_at?: FilterFieldDTO;
1303
+ deleted_at?: FilterFieldDTO;
1304
+ parent?: any;
1305
+ children?: any[];
1306
+ modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
1307
+ brand?: DraftBrandDTO;
1308
+ station?: StationDTO;
1309
+ changes?: DraftModifierChangeDTO[];
1310
+ [index: string]: any;
1311
+ }
1312
+ export interface DraftBrandChangeDTO {
1313
+ id?: string;
1314
+ insert?: string;
1315
+ delete?: string;
1316
+ snapshot_entity_id?: string;
1317
+ [index: string]: any;
1318
+ }
1319
+ export interface DraftBrandDraftBrandDTO {
1320
+ parent_id?: FilterFieldDTO;
1321
+ id?: FilterFieldDTO;
1322
+ version?: FilterFieldDTO;
1323
+ created_at?: FilterFieldDTO;
1324
+ updated_at?: FilterFieldDTO;
1325
+ deleted_at?: FilterFieldDTO;
1326
+ parent?: any;
1327
+ children?: any[];
1328
+ layouts?: DraftLayoutDTO[];
1329
+ items?: DraftItemDTO[];
1330
+ modifier_groups?: DraftModifierGroupDTO[];
1331
+ modifiers?: DraftModifierDTO[];
1332
+ categories?: DraftCategoryDTO[];
1333
+ changes?: DraftBrandChangeDTO[];
1334
+ modifier_group_to_modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
1335
+ item_to_modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
1336
+ category_to_items?: DraftCategoryToItemRelationshipDTO[];
1337
+ [index: string]: any;
1338
+ }
1339
+ export interface PublishedBrandPublishedBrandDTO {
1340
+ parent_id?: FilterFieldDTO;
1341
+ id?: FilterFieldDTO;
1342
+ version?: FilterFieldDTO;
1343
+ created_at?: FilterFieldDTO;
1344
+ updated_at?: FilterFieldDTO;
1345
+ deleted_at?: FilterFieldDTO;
1346
+ parent?: any;
1347
+ children?: any[];
1348
+ layouts?: PublishedLayoutDTO[];
1349
+ items?: PublishedItemDTO[];
1350
+ modifier_groups?: PublishedModifierGroupDTO[];
1351
+ modifiers?: PublishedModifierDTO[];
1352
+ categories?: PublishedCategoryDTO[];
1353
+ modifier_group_to_modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
1354
+ item_to_modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
1355
+ category_to_items?: PublishedCategoryToItemRelationshipDTO[];
1356
+ changes?: DraftBrandChangeDTO[];
1357
+ [index: string]: any;
1358
+ }
1359
+ export interface PublishedLayoutPublishedLayoutDTO {
1360
+ parent_id?: FilterFieldDTO;
1361
+ name?: FilterFieldDTO;
1362
+ brand_id?: FilterFieldDTO;
1363
+ station_id?: FilterFieldDTO;
1364
+ id?: FilterFieldDTO;
1365
+ version?: FilterFieldDTO;
1366
+ created_at?: FilterFieldDTO;
1367
+ updated_at?: FilterFieldDTO;
1368
+ deleted_at?: FilterFieldDTO;
1369
+ parent?: any;
1370
+ children?: any[];
1371
+ categories?: PublishedCategoryDTO[];
1372
+ brand?: PublishedBrandDTO;
1373
+ station?: StationDTO;
1374
+ changes?: DraftLayoutChangeDTO[];
1375
+ [index: string]: any;
1376
+ }
1377
+ export interface PublishedCategoryPublishedCategoryDTO {
1378
+ parent_id?: FilterFieldDTO;
1379
+ name?: FilterFieldDTO;
1380
+ label?: FilterFieldDTO;
1381
+ sequence?: FilterFieldDTO;
1382
+ priority?: FilterFieldDTO;
1383
+ is_active?: FilterFieldDTO;
1384
+ layout_id?: FilterFieldDTO;
1385
+ brand_id?: FilterFieldDTO;
1386
+ id?: FilterFieldDTO;
1387
+ version?: FilterFieldDTO;
1388
+ created_at?: FilterFieldDTO;
1389
+ updated_at?: FilterFieldDTO;
1390
+ deleted_at?: FilterFieldDTO;
1391
+ parent?: any;
1392
+ children?: any[];
1393
+ layout?: PublishedLayoutDTO;
1394
+ items?: PublishedCategoryToItemRelationshipDTO[];
1395
+ brand?: PublishedBrandDTO;
1396
+ changes?: DraftCategoryChangeDTO[];
1397
+ [index: string]: any;
1398
+ }
1399
+ export interface PublishedCategoryToItemRelationshipPublishedCategoryToItemRelationshipDTO {
1400
+ parent_id?: FilterFieldDTO;
1401
+ deleted_at?: FilterFieldDTO;
1402
+ category_id?: FilterFieldDTO;
1403
+ item_id?: FilterFieldDTO;
1404
+ brand_id?: FilterFieldDTO;
1405
+ sequence?: FilterFieldDTO;
1406
+ id?: FilterFieldDTO;
1407
+ version?: FilterFieldDTO;
1408
+ created_at?: FilterFieldDTO;
1409
+ updated_at?: FilterFieldDTO;
1410
+ parent?: any;
1411
+ children?: any[];
1412
+ category?: PublishedCategoryDTO;
1413
+ item?: PublishedItemDTO;
1414
+ brand?: PublishedBrandDTO;
1415
+ changes?: DraftCategoryToItemRelationshipChangeDTO[];
1416
+ [index: string]: any;
1417
+ }
1418
+ export interface PublishedItemPublishedItemDTO {
1419
+ parent_id?: FilterFieldDTO;
1420
+ name?: FilterFieldDTO;
1421
+ label?: FilterFieldDTO;
1422
+ description?: FilterFieldDTO;
1423
+ price?: FilterFieldDTO;
1424
+ barcode?: FilterFieldDTO;
1425
+ calories?: FilterFieldDTO;
1426
+ priority?: FilterFieldDTO;
1427
+ is_active?: FilterFieldDTO;
1428
+ is_in_stock?: FilterFieldDTO;
1429
+ posid?: FilterFieldDTO;
1430
+ tax_tags?: FilterFieldDTO[];
1431
+ brand_id?: FilterFieldDTO;
1432
+ station_id?: FilterFieldDTO;
1433
+ id?: FilterFieldDTO;
1434
+ version?: FilterFieldDTO;
1435
+ created_at?: FilterFieldDTO;
1436
+ updated_at?: FilterFieldDTO;
1437
+ deleted_at?: FilterFieldDTO;
1438
+ parent?: any;
1439
+ children?: any[];
1440
+ modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
1441
+ categories?: PublishedCategoryToItemRelationshipDTO[];
1442
+ brand?: PublishedBrandDTO;
1443
+ station?: StationDTO;
1444
+ changes?: DraftItemChangeDTO[];
1445
+ [index: string]: any;
1446
+ }
1447
+ export interface PublishedItemToModifierGroupRelationshipPublishedItemToModifierGroupRelationshipDTO {
1448
+ parent_id?: FilterFieldDTO;
1449
+ deleted_at?: FilterFieldDTO;
1450
+ modifier_group_id?: FilterFieldDTO;
1451
+ item_id?: FilterFieldDTO;
1452
+ brand_id?: FilterFieldDTO;
1453
+ sequence?: FilterFieldDTO;
1454
+ id?: FilterFieldDTO;
1455
+ version?: FilterFieldDTO;
1456
+ created_at?: FilterFieldDTO;
1457
+ updated_at?: FilterFieldDTO;
1458
+ parent?: any;
1459
+ children?: any[];
1460
+ item?: PublishedItemDTO;
1461
+ modifier_group?: PublishedModifierGroupDTO;
1462
+ brand?: PublishedBrandDTO;
1463
+ changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
1464
+ [index: string]: any;
1465
+ }
1466
+ export interface PublishedModifierGroupPublishedModifierGroupDTO {
1467
+ parent_id?: FilterFieldDTO;
1468
+ name?: FilterFieldDTO;
1469
+ label?: FilterFieldDTO;
1470
+ min?: FilterFieldDTO;
1471
+ max?: FilterFieldDTO;
1472
+ is_active?: FilterFieldDTO;
1473
+ priority?: FilterFieldDTO;
1474
+ brand_id?: FilterFieldDTO;
1475
+ station_id?: FilterFieldDTO;
1476
+ id?: FilterFieldDTO;
1477
+ version?: FilterFieldDTO;
1478
+ created_at?: FilterFieldDTO;
1479
+ updated_at?: FilterFieldDTO;
1480
+ deleted_at?: FilterFieldDTO;
1481
+ parent?: any;
1482
+ children?: any[];
1483
+ modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
1484
+ items?: PublishedItemToModifierGroupRelationshipDTO[];
1485
+ brand?: PublishedBrandDTO;
1486
+ station?: StationDTO;
1487
+ changes?: DraftModifierGroupChangeDTO[];
1488
+ [index: string]: any;
1489
+ }
1490
+ export interface PublishedModifierGroupToModifierRelationshipPublishedModifierGroupToModifierRelationshipDTO {
1491
+ parent_id?: FilterFieldDTO;
1492
+ deleted_at?: FilterFieldDTO;
1493
+ modifier_id?: FilterFieldDTO;
1494
+ modifier_group_id?: FilterFieldDTO;
1495
+ brand_id?: FilterFieldDTO;
1496
+ sequence?: FilterFieldDTO;
1497
+ id?: FilterFieldDTO;
1498
+ version?: FilterFieldDTO;
1499
+ created_at?: FilterFieldDTO;
1500
+ updated_at?: FilterFieldDTO;
1501
+ parent?: any;
1502
+ children?: any[];
1503
+ modifier_group?: PublishedModifierGroupDTO;
1504
+ modifier?: PublishedModifierDTO;
1505
+ brand?: PublishedBrandDTO;
1506
+ changes?: DraftModifierGroupToModifierRelationshipChangeDTO[];
1507
+ [index: string]: any;
1508
+ }
1509
+ export interface PublishedModifierPublishedModifierDTO {
1510
+ parent_id?: FilterFieldDTO;
1511
+ name?: FilterFieldDTO;
1512
+ label?: FilterFieldDTO;
1513
+ description?: FilterFieldDTO;
1514
+ price?: FilterFieldDTO;
1515
+ calories?: FilterFieldDTO;
1516
+ priority?: FilterFieldDTO;
1517
+ tax_tags?: FilterFieldDTO[];
1518
+ is_active?: FilterFieldDTO;
1519
+ is_in_stock?: FilterFieldDTO;
1520
+ posid?: FilterFieldDTO;
1521
+ brand_id?: FilterFieldDTO;
1522
+ station_id?: FilterFieldDTO;
1523
+ id?: FilterFieldDTO;
1524
+ version?: FilterFieldDTO;
1525
+ created_at?: FilterFieldDTO;
1526
+ updated_at?: FilterFieldDTO;
1527
+ deleted_at?: FilterFieldDTO;
1528
+ parent?: any;
1529
+ children?: any[];
1530
+ modifier_groups?: PublishedModifierGroupToModifierRelationshipDTO[];
1531
+ brand?: PublishedBrandDTO;
1532
+ station?: StationDTO;
1533
+ changes?: DraftModifierChangeDTO[];
1534
+ [index: string]: any;
1535
+ }
1536
+ export interface GetMenuV3ModifiersQuery {
1537
+ select?: string[];
1538
+ relationships?: string[];
1539
+ filter?: any;
1540
+ limit?: number;
1541
+ page?: number;
1542
+ sort_by?: string;
1543
+ sort_order?: string;
1544
+ soft_deleted?: string;
1545
+ _query?: string;
1546
+ }
1547
+ export interface GetMenuV3ModifiersResponse {
1548
+ results: PublishedModifierDTO[];
1549
+ meta?: ListResponseMetadataDTO;
1550
+ [index: string]: any;
1551
+ }
1552
+ export interface GetMenuV3ModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3ModifiersQuery> {
1553
+ }
1554
+ export interface GetMenuV3ModifierPath {
1555
+ id: string;
1556
+ }
1557
+ export interface GetMenuV3ModifierQuery {
1558
+ select?: string[];
1559
+ relationships?: string[];
1560
+ _query?: string;
1561
+ }
1562
+ export type GetMenuV3ModifierResponse = PublishedModifierDTO;
1563
+ export interface GetMenuV3ModifierRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierQuery>, GetMenuV3ModifierPath {
887
1564
  }
888
- export type DeleteMenuV3ModifierGroupResponse = ModifierGroupDTO;
889
- export interface DeleteMenuV3ModifierGroupRequest extends BaseRequest, DeleteMenuV3ModifierGroupPath {
1565
+ export interface PostMenuV3ModifierBody {
1566
+ name: string;
1567
+ label?: string;
1568
+ description?: string;
1569
+ price: number;
1570
+ calories?: number;
1571
+ priority?: number;
1572
+ tax_tags?: string[];
1573
+ is_active?: boolean;
1574
+ is_in_stock?: boolean;
1575
+ posid: string;
1576
+ modifier_groups?: ModifierGroupToModifierRelationshipDTO[];
1577
+ brand_id: string;
1578
+ station_id?: string;
1579
+ brand?: BrandDTO;
1580
+ station?: StationDTO;
1581
+ [index: string]: any;
1582
+ }
1583
+ export type PostMenuV3ModifierResponse = ModifierDTO;
1584
+ export interface PostMenuV3ModifierRequest extends BaseRequest {
1585
+ body: PostMenuV3ModifierBody;
1586
+ }
1587
+ export interface GetMenuV3ModifierCountQuery {
1588
+ _query?: string;
1589
+ }
1590
+ export interface GetMenuV3ModifierCountResponse {
1591
+ count?: number;
1592
+ }
1593
+ export interface GetMenuV3ModifierCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierCountQuery> {
1594
+ }
1595
+ export interface GetMenuV3ModifierGroupsQuery {
1596
+ select?: string[];
1597
+ relationships?: string[];
1598
+ filter?: any;
1599
+ limit?: number;
1600
+ page?: number;
1601
+ sort_by?: string;
1602
+ sort_order?: string;
1603
+ soft_deleted?: string;
1604
+ _query?: string;
1605
+ }
1606
+ export interface GetMenuV3ModifierGroupsResponse {
1607
+ results: PublishedModifierGroupDTO[];
1608
+ meta?: ListResponseMetadataDTO;
1609
+ [index: string]: any;
1610
+ }
1611
+ export interface GetMenuV3ModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupsQuery> {
1612
+ }
1613
+ export interface PostMenuV3ModifierGroupBody {
1614
+ name: string;
1615
+ label?: string;
1616
+ min?: number;
1617
+ max?: number;
1618
+ is_active?: boolean;
1619
+ priority?: number;
1620
+ modifiers?: ModifierGroupToModifierRelationshipDTO[];
1621
+ items?: ItemToModifierGroupRelationshipDTO[];
1622
+ brand_id: string;
1623
+ station_id?: string;
1624
+ brand?: BrandDTO;
1625
+ station?: StationDTO;
1626
+ [index: string]: any;
1627
+ }
1628
+ export type PostMenuV3ModifierGroupResponse = ModifierGroupDTO;
1629
+ export interface PostMenuV3ModifierGroupRequest extends BaseRequest {
1630
+ body: PostMenuV3ModifierGroupBody;
1631
+ }
1632
+ export interface GetMenuV3ModifierGroupPath {
1633
+ id: string;
1634
+ }
1635
+ export interface GetMenuV3ModifierGroupQuery {
1636
+ select?: string[];
1637
+ relationships?: string[];
1638
+ _query?: string;
1639
+ }
1640
+ export type GetMenuV3ModifierGroupResponse = PublishedModifierGroupDTO;
1641
+ export interface GetMenuV3ModifierGroupRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupQuery>, GetMenuV3ModifierGroupPath {
890
1642
  }
891
1643
  export interface GetMenuV3ModifierGroupCountQuery {
892
1644
  _query?: string;
@@ -897,40 +1649,23 @@ export interface GetMenuV3ModifierGroupCountResponse {
897
1649
  export interface GetMenuV3ModifierGroupCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupCountQuery> {
898
1650
  }
899
1651
  export interface GetMenuV3ModifierGroupRelationshipsModifiersQuery {
1652
+ select?: string[];
1653
+ relationships?: string[];
900
1654
  filter?: any;
901
1655
  limit?: number;
902
1656
  page?: number;
903
1657
  sort_by?: string;
904
1658
  sort_order?: string;
905
1659
  soft_deleted?: string;
906
- select?: string[];
907
- relationships?: string[];
908
1660
  _query?: string;
909
1661
  }
910
1662
  export interface GetMenuV3ModifierGroupRelationshipsModifiersResponse {
911
- meta: PaginationMetaDTO;
912
- results: ModifierGroupToModifierRelationshipDTO[];
1663
+ results: PublishedModifierGroupToModifierRelationshipDTO[];
1664
+ meta?: ListResponseMetadataDTO;
913
1665
  [index: string]: any;
914
1666
  }
915
1667
  export interface GetMenuV3ModifierGroupRelationshipsModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupRelationshipsModifiersQuery> {
916
1668
  }
917
- export type PostMenuV3ModifierGroupRelationshipsModifiersBody = {
918
- modifier_id: string;
919
- modifier_group_id: string;
920
- sequence?: number;
921
- id?: any;
922
- modifier?: ModifierDTO;
923
- modifier_group?: ModifierGroupDTO;
924
- [index: string]: any;
925
- }[];
926
- export interface PostMenuV3ModifierGroupRelationshipsModifiersResponse {
927
- meta: PaginationMetaDTO;
928
- results: ModifierGroupToModifierRelationshipDTO[];
929
- [index: string]: any;
930
- }
931
- export interface PostMenuV3ModifierGroupRelationshipsModifiersRequest extends BaseRequest {
932
- body: PostMenuV3ModifierGroupRelationshipsModifiersBody;
933
- }
934
1669
  export interface PostMenuV3ModifierGroupRelationshipsModifierBody {
935
1670
  modifier_id: string;
936
1671
  modifier_group_id: string;
@@ -951,50 +1686,39 @@ export interface GetMenuV3ModifierGroupRelationshipsModifierQuery {
951
1686
  relationships?: string[];
952
1687
  _query?: string;
953
1688
  }
954
- export type GetMenuV3ModifierGroupRelationshipsModifierResponse = ModifierGroupToModifierRelationshipDTO;
1689
+ export type GetMenuV3ModifierGroupRelationshipsModifierResponse = PublishedModifierGroupToModifierRelationshipDTO;
955
1690
  export interface GetMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupRelationshipsModifierQuery>, GetMenuV3ModifierGroupRelationshipsModifierPath {
956
1691
  }
957
- export interface PatchMenuV3ModifierGroupRelationshipsModifierPath {
958
- id: string;
959
- }
960
- export interface PatchMenuV3ModifierGroupRelationshipsModifierBody {
961
- modifier_id?: string;
962
- modifier_group_id?: string;
963
- sequence?: number;
964
- id?: string;
965
- modifier?: ModifierDTO;
966
- modifier_group?: ModifierGroupDTO;
967
- [index: string]: any;
968
- }
969
- export type PatchMenuV3ModifierGroupRelationshipsModifierResponse = ModifierGroupToModifierRelationshipDTO;
970
- export interface PatchMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest, PatchMenuV3ModifierGroupRelationshipsModifierPath {
971
- body: PatchMenuV3ModifierGroupRelationshipsModifierBody;
972
- }
973
- export interface DeleteMenuV3ModifierGroupRelationshipsModifierPath {
974
- id: string;
975
- }
976
- export type DeleteMenuV3ModifierGroupRelationshipsModifierResponse = ModifierGroupToModifierRelationshipDTO;
977
- export interface DeleteMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest, DeleteMenuV3ModifierGroupRelationshipsModifierPath {
978
- }
979
1692
  export interface GetMenuV3ItemsQuery {
1693
+ select?: string[];
1694
+ relationships?: string[];
980
1695
  filter?: any;
981
1696
  limit?: number;
982
1697
  page?: number;
983
1698
  sort_by?: string;
984
1699
  sort_order?: string;
985
1700
  soft_deleted?: string;
986
- select?: string[];
987
- relationships?: string[];
988
1701
  _query?: string;
989
1702
  }
990
1703
  export interface GetMenuV3ItemsResponse {
991
- meta: PaginationMetaDTO;
992
- results: ItemDTO[];
1704
+ results: PublishedItemDTO[];
1705
+ meta?: ListResponseMetadataDTO;
993
1706
  [index: string]: any;
994
1707
  }
995
1708
  export interface GetMenuV3ItemsRequest extends BaseRequest, RequestQuery<GetMenuV3ItemsQuery> {
996
1709
  }
997
- export type PostMenuV3ItemsBody = {
1710
+ export interface GetMenuV3ItemPath {
1711
+ id: string;
1712
+ }
1713
+ export interface GetMenuV3ItemQuery {
1714
+ select?: string[];
1715
+ relationships?: string[];
1716
+ _query?: string;
1717
+ }
1718
+ export type GetMenuV3ItemResponse = PublishedItemDTO;
1719
+ export interface GetMenuV3ItemRequest extends BaseRequest, RequestQuery<GetMenuV3ItemQuery>, GetMenuV3ItemPath {
1720
+ }
1721
+ export interface PostMenuV3ItemBody {
998
1722
  name: string;
999
1723
  label?: string;
1000
1724
  description?: string;
@@ -1009,88 +1733,14 @@ export type PostMenuV3ItemsBody = {
1009
1733
  modifier_groups?: ItemToModifierGroupRelationshipDTO[];
1010
1734
  brand_id: string;
1011
1735
  station_id?: string;
1012
- id?: any;
1013
1736
  categories?: CategoryToItemRelationshipDTO[];
1014
1737
  brand?: BrandDTO;
1015
1738
  station?: StationDTO;
1016
1739
  [index: string]: any;
1017
- }[];
1018
- export interface PostMenuV3ItemsResponse {
1019
- meta: PaginationMetaDTO;
1020
- results: ItemDTO[];
1021
- [index: string]: any;
1022
1740
  }
1023
- export interface PostMenuV3ItemsRequest extends BaseRequest {
1024
- body: PostMenuV3ItemsBody;
1025
- }
1026
- export interface GetMenuV3ItemPath {
1027
- id: string;
1028
- }
1029
- export interface GetMenuV3ItemQuery {
1030
- select?: string[];
1031
- relationships?: string[];
1032
- _query?: string;
1033
- }
1034
- export type GetMenuV3ItemResponse = ItemDTO;
1035
- export interface GetMenuV3ItemRequest extends BaseRequest, RequestQuery<GetMenuV3ItemQuery>, GetMenuV3ItemPath {
1036
- }
1037
- export interface PatchMenuV3ItemPath {
1038
- id: string;
1039
- }
1040
- export interface PatchMenuV3ItemBody {
1041
- name?: string;
1042
- label?: string;
1043
- description?: string;
1044
- price?: number;
1045
- barcode?: string;
1046
- calories?: number;
1047
- priority?: number;
1048
- is_active?: boolean;
1049
- is_in_stock?: boolean;
1050
- posid?: string;
1051
- tax_tags?: string[];
1052
- modifier_groups?: ItemToModifierGroupRelationshipDTO[];
1053
- brand_id?: string;
1054
- station_id?: string;
1055
- id?: string;
1056
- categories?: CategoryToItemRelationshipDTO[];
1057
- brand?: BrandDTO;
1058
- station?: StationDTO;
1059
- [index: string]: any;
1060
- }
1061
- export type PatchMenuV3ItemResponse = ItemDTO;
1062
- export interface PatchMenuV3ItemRequest extends BaseRequest, PatchMenuV3ItemPath {
1063
- body: PatchMenuV3ItemBody;
1064
- }
1065
- export interface DeleteMenuV3ItemPath {
1066
- id: string;
1067
- }
1068
- export type DeleteMenuV3ItemResponse = ItemDTO;
1069
- export interface DeleteMenuV3ItemRequest extends BaseRequest, DeleteMenuV3ItemPath {
1070
- }
1071
- export interface PostMenuV3ItemBody {
1072
- name: string;
1073
- label?: string;
1074
- description?: string;
1075
- price: number;
1076
- barcode?: string;
1077
- calories?: number;
1078
- priority?: number;
1079
- is_active?: boolean;
1080
- is_in_stock?: boolean;
1081
- posid: string;
1082
- tax_tags?: string[];
1083
- modifier_groups?: ItemToModifierGroupRelationshipDTO[];
1084
- brand_id: string;
1085
- station_id?: string;
1086
- categories?: CategoryToItemRelationshipDTO[];
1087
- brand?: BrandDTO;
1088
- station?: StationDTO;
1089
- [index: string]: any;
1090
- }
1091
- export type PostMenuV3ItemResponse = ItemDTO;
1092
- export interface PostMenuV3ItemRequest extends BaseRequest {
1093
- body: PostMenuV3ItemBody;
1741
+ export type PostMenuV3ItemResponse = ItemDTO;
1742
+ export interface PostMenuV3ItemRequest extends BaseRequest {
1743
+ body: PostMenuV3ItemBody;
1094
1744
  }
1095
1745
  export interface GetMenuV3ItemsCountQuery {
1096
1746
  filter?: any;
@@ -1103,40 +1753,23 @@ export interface GetMenuV3ItemsCountResponse {
1103
1753
  export interface GetMenuV3ItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3ItemsCountQuery> {
1104
1754
  }
1105
1755
  export interface GetMenuV3ItemRelationshipsModifierGroupsQuery {
1756
+ select?: string[];
1757
+ relationships?: string[];
1106
1758
  filter?: any;
1107
1759
  limit?: number;
1108
1760
  page?: number;
1109
1761
  sort_by?: string;
1110
1762
  sort_order?: string;
1111
1763
  soft_deleted?: string;
1112
- select?: string[];
1113
- relationships?: string[];
1114
1764
  _query?: string;
1115
1765
  }
1116
1766
  export interface GetMenuV3ItemRelationshipsModifierGroupsResponse {
1117
- meta: PaginationMetaDTO;
1118
- results: ItemToModifierGroupRelationshipDTO[];
1767
+ results: PublishedItemToModifierGroupRelationshipDTO[];
1768
+ meta?: ListResponseMetadataDTO;
1119
1769
  [index: string]: any;
1120
1770
  }
1121
1771
  export interface GetMenuV3ItemRelationshipsModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3ItemRelationshipsModifierGroupsQuery> {
1122
1772
  }
1123
- export type PostMenuV3ItemRelationshipsModifierGroupsBody = {
1124
- modifier_group_id: string;
1125
- item_id: string;
1126
- sequence?: number;
1127
- id?: any;
1128
- modifier_group?: ModifierGroupDTO;
1129
- item?: ItemDTO;
1130
- [index: string]: any;
1131
- }[];
1132
- export interface PostMenuV3ItemRelationshipsModifierGroupsResponse {
1133
- meta: PaginationMetaDTO;
1134
- results: ItemToModifierGroupRelationshipDTO[];
1135
- [index: string]: any;
1136
- }
1137
- export interface PostMenuV3ItemRelationshipsModifierGroupsRequest extends BaseRequest {
1138
- body: PostMenuV3ItemRelationshipsModifierGroupsBody;
1139
- }
1140
1773
  export interface PostMenuV3ItemRelationshipsModifierGroupBody {
1141
1774
  modifier_group_id: string;
1142
1775
  item_id: string;
@@ -1157,84 +1790,44 @@ export interface GetMenuV3ItemRelationshipsModifierGroupQuery {
1157
1790
  relationships?: string[];
1158
1791
  _query?: string;
1159
1792
  }
1160
- export type GetMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationshipDTO;
1793
+ export type GetMenuV3ItemRelationshipsModifierGroupResponse = PublishedItemToModifierGroupRelationshipDTO;
1161
1794
  export interface GetMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest, RequestQuery<GetMenuV3ItemRelationshipsModifierGroupQuery>, GetMenuV3ItemRelationshipsModifierGroupPath {
1162
1795
  }
1163
- export interface PatchMenuV3ItemRelationshipsModifierGroupPath {
1164
- id: string;
1165
- }
1166
- export interface PatchMenuV3ItemRelationshipsModifierGroupBody {
1167
- modifier_group_id?: string;
1168
- item_id?: string;
1169
- sequence?: number;
1170
- id?: string;
1171
- modifier_group?: ModifierGroupDTO;
1172
- item?: ItemDTO;
1173
- [index: string]: any;
1174
- }
1175
- export type PatchMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationshipDTO;
1176
- export interface PatchMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest, PatchMenuV3ItemRelationshipsModifierGroupPath {
1177
- body: PatchMenuV3ItemRelationshipsModifierGroupBody;
1178
- }
1179
- export interface DeleteMenuV3ItemRelationshipsModifierGroupPath {
1180
- id: string;
1181
- }
1182
- export type DeleteMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationshipDTO;
1183
- export interface DeleteMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest, DeleteMenuV3ItemRelationshipsModifierGroupPath {
1184
- }
1185
1796
  export interface GetMenuV3LayoutsQuery {
1797
+ select?: string[];
1798
+ relationships?: string[];
1186
1799
  filter?: any;
1187
1800
  limit?: number;
1188
1801
  page?: number;
1189
1802
  sort_by?: string;
1190
1803
  sort_order?: string;
1191
1804
  soft_deleted?: string;
1192
- select?: string[];
1193
- relationships?: string[];
1194
1805
  _query?: string;
1195
1806
  }
1196
1807
  export interface GetMenuV3LayoutsResponse {
1197
- meta: PaginationMetaDTO;
1198
- results: LayoutDTO[];
1808
+ results: PublishedLayoutDTO[];
1809
+ meta?: ListResponseMetadataDTO;
1199
1810
  [index: string]: any;
1200
1811
  }
1201
1812
  export interface GetMenuV3LayoutsRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutsQuery> {
1202
1813
  }
1203
- export type PostMenuV3LayoutsBody = {
1204
- name: string;
1205
- categories?: CategoryDTO[];
1206
- brand_id: string;
1207
- station_id: string;
1208
- id?: any;
1209
- brand?: BrandDTO;
1210
- station?: StationDTO;
1211
- [index: string]: any;
1212
- }[];
1213
- export interface PostMenuV3LayoutsResponse {
1214
- meta: PaginationMetaDTO;
1215
- results: LayoutDTO[];
1216
- [index: string]: any;
1217
- }
1218
- export interface PostMenuV3LayoutsRequest extends BaseRequest {
1219
- body: PostMenuV3LayoutsBody;
1220
- }
1221
1814
  export interface GetMenuV3LayoutCategoriesPath {
1222
1815
  id: string;
1223
1816
  }
1224
1817
  export interface GetMenuV3LayoutCategoriesQuery {
1818
+ select?: string[];
1819
+ relationships?: string[];
1225
1820
  filter?: any;
1226
1821
  limit?: number;
1227
1822
  page?: number;
1228
1823
  sort_by?: string;
1229
1824
  sort_order?: string;
1230
1825
  soft_deleted?: string;
1231
- select?: string[];
1232
- relationships?: string[];
1233
1826
  _query?: string;
1234
1827
  }
1235
1828
  export interface GetMenuV3LayoutCategoriesResponse {
1236
- meta: PaginationMetaDTO;
1237
- results: CategoryDTO[];
1829
+ results: DraftCategoryDTO[];
1830
+ meta?: ListResponseMetadataDTO;
1238
1831
  [index: string]: any;
1239
1832
  }
1240
1833
  export interface GetMenuV3LayoutCategoriesRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutCategoriesQuery>, GetMenuV3LayoutCategoriesPath {
@@ -1247,68 +1840,9 @@ export interface GetMenuV3LayoutQuery {
1247
1840
  relationships?: string[];
1248
1841
  _query?: string;
1249
1842
  }
1250
- export interface GetMenuV3LayoutResponse {
1251
- name: string;
1252
- categories?: CategoryDTO[];
1253
- brand_id: string;
1254
- station_id: string;
1255
- id?: string;
1256
- created_at?: string;
1257
- updated_at?: string;
1258
- deleted_at?: string;
1259
- brand?: BrandDTO;
1260
- station?: StationDTO;
1261
- [index: string]: any;
1262
- }
1843
+ export type GetMenuV3LayoutResponse = PublishedLayoutDTO;
1263
1844
  export interface GetMenuV3LayoutRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutQuery>, GetMenuV3LayoutPath {
1264
1845
  }
1265
- export interface PatchMenuV3LayoutPath {
1266
- id: string;
1267
- }
1268
- export interface PatchMenuV3LayoutBody {
1269
- name?: string;
1270
- categories?: CategoryDTO[];
1271
- brand_id?: string;
1272
- station_id?: string;
1273
- id?: string;
1274
- brand?: BrandDTO;
1275
- station?: StationDTO;
1276
- [index: string]: any;
1277
- }
1278
- export interface PatchMenuV3LayoutResponse {
1279
- name: string;
1280
- categories?: CategoryDTO[];
1281
- brand_id: string;
1282
- station_id: string;
1283
- id?: string;
1284
- created_at?: string;
1285
- updated_at?: string;
1286
- deleted_at?: string;
1287
- brand?: BrandDTO;
1288
- station?: StationDTO;
1289
- [index: string]: any;
1290
- }
1291
- export interface PatchMenuV3LayoutRequest extends BaseRequest, PatchMenuV3LayoutPath {
1292
- body: PatchMenuV3LayoutBody;
1293
- }
1294
- export interface DeleteMenuV3LayoutPath {
1295
- id: string;
1296
- }
1297
- export interface DeleteMenuV3LayoutResponse {
1298
- name: string;
1299
- categories?: CategoryDTO[];
1300
- brand_id: string;
1301
- station_id: string;
1302
- id?: string;
1303
- created_at?: string;
1304
- updated_at?: string;
1305
- deleted_at?: string;
1306
- brand?: BrandDTO;
1307
- station?: StationDTO;
1308
- [index: string]: any;
1309
- }
1310
- export interface DeleteMenuV3LayoutRequest extends BaseRequest, DeleteMenuV3LayoutPath {
1311
- }
1312
1846
  export interface PostMenuV3LayoutBody {
1313
1847
  name: string;
1314
1848
  categories?: CategoryDTO[];
@@ -1352,34 +1886,9 @@ export interface GetMenuV3CategoryQuery {
1352
1886
  relationships?: string[];
1353
1887
  _query?: string;
1354
1888
  }
1355
- export type GetMenuV3CategoryResponse = CategoryDTO;
1889
+ export type GetMenuV3CategoryResponse = PublishedCategoryDTO;
1356
1890
  export interface GetMenuV3CategoryRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryQuery>, GetMenuV3CategoryPath {
1357
1891
  }
1358
- export interface PatchMenuV3CategoryPath {
1359
- id: string;
1360
- }
1361
- export interface PatchMenuV3CategoryBody {
1362
- name?: string;
1363
- label?: string;
1364
- sequence?: number;
1365
- priority?: number;
1366
- is_active?: boolean;
1367
- layout_id?: string;
1368
- id?: string;
1369
- layout?: LayoutDTO;
1370
- items?: CategoryToItemRelationshipDTO[];
1371
- [index: string]: any;
1372
- }
1373
- export type PatchMenuV3CategoryResponse = CategoryDTO;
1374
- export interface PatchMenuV3CategoryRequest extends BaseRequest, PatchMenuV3CategoryPath {
1375
- body: PatchMenuV3CategoryBody;
1376
- }
1377
- export interface DeleteMenuV3CategoryPath {
1378
- id: string;
1379
- }
1380
- export type DeleteMenuV3CategoryResponse = CategoryDTO;
1381
- export interface DeleteMenuV3CategoryRequest extends BaseRequest, DeleteMenuV3CategoryPath {
1382
- }
1383
1892
  export interface PostMenuV3CategoryBody {
1384
1893
  name: string;
1385
1894
  label?: string;
@@ -1406,40 +1915,23 @@ export interface GetMenuV3CategoriesCountResponse {
1406
1915
  export interface GetMenuV3CategoriesCountRequest extends BaseRequest, RequestQuery<GetMenuV3CategoriesCountQuery> {
1407
1916
  }
1408
1917
  export interface GetMenuV3CategoryRelationshipsItemsQuery {
1918
+ select?: string[];
1919
+ relationships?: string[];
1409
1920
  filter?: any;
1410
1921
  limit?: number;
1411
1922
  page?: number;
1412
1923
  sort_by?: string;
1413
1924
  sort_order?: string;
1414
1925
  soft_deleted?: string;
1415
- select?: string[];
1416
- relationships?: string[];
1417
1926
  _query?: string;
1418
1927
  }
1419
1928
  export interface GetMenuV3CategoryRelationshipsItemsResponse {
1420
- meta: PaginationMetaDTO;
1421
- results: CategoryToItemRelationshipDTO[];
1929
+ results: PublishedCategoryToItemRelationshipDTO[];
1930
+ meta?: ListResponseMetadataDTO;
1422
1931
  [index: string]: any;
1423
1932
  }
1424
1933
  export interface GetMenuV3CategoryRelationshipsItemsRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryRelationshipsItemsQuery> {
1425
1934
  }
1426
- export type PostMenuV3CategoryRelationshipsItemsBody = {
1427
- category_id: string;
1428
- item_id: string;
1429
- sequence?: number;
1430
- id?: any;
1431
- category?: CategoryDTO;
1432
- item?: ItemDTO;
1433
- [index: string]: any;
1434
- }[];
1435
- export interface PostMenuV3CategoryRelationshipsItemsResponse {
1436
- meta: PaginationMetaDTO;
1437
- results: CategoryToItemRelationshipDTO[];
1438
- [index: string]: any;
1439
- }
1440
- export interface PostMenuV3CategoryRelationshipsItemsRequest extends BaseRequest {
1441
- body: PostMenuV3CategoryRelationshipsItemsBody;
1442
- }
1443
1935
  export interface PostMenuV3CategoryRelationshipsItemBody {
1444
1936
  category_id: string;
1445
1937
  item_id: string;
@@ -1460,60 +1952,46 @@ export interface GetMenuV3CategoryRelationshipsItemQuery {
1460
1952
  relationships?: string[];
1461
1953
  _query?: string;
1462
1954
  }
1463
- export type GetMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationshipDTO;
1955
+ export type GetMenuV3CategoryRelationshipsItemResponse = PublishedCategoryToItemRelationshipDTO;
1464
1956
  export interface GetMenuV3CategoryRelationshipsItemRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryRelationshipsItemQuery>, GetMenuV3CategoryRelationshipsItemPath {
1465
1957
  }
1466
- export interface PatchMenuV3CategoryRelationshipsItemPath {
1467
- id: string;
1468
- }
1469
- export interface PatchMenuV3CategoryRelationshipsItemBody {
1470
- category_id?: string;
1471
- item_id?: string;
1472
- sequence?: number;
1473
- id?: string;
1474
- category?: CategoryDTO;
1475
- item?: ItemDTO;
1476
- [index: string]: any;
1477
- }
1478
- export type PatchMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationshipDTO;
1479
- export interface PatchMenuV3CategoryRelationshipsItemRequest extends BaseRequest, PatchMenuV3CategoryRelationshipsItemPath {
1480
- body: PatchMenuV3CategoryRelationshipsItemBody;
1481
- }
1482
- export interface DeleteMenuV3CategoryRelationshipsItemPath {
1483
- id: string;
1484
- }
1485
- export type DeleteMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationshipDTO;
1486
- export interface DeleteMenuV3CategoryRelationshipsItemRequest extends BaseRequest, DeleteMenuV3CategoryRelationshipsItemPath {
1487
- }
1488
1958
  export interface GetMenuV3BrandsQuery {
1959
+ select?: string[];
1960
+ relationships?: string[];
1489
1961
  filter?: any;
1490
1962
  limit?: number;
1491
1963
  page?: number;
1492
1964
  sort_by?: string;
1493
1965
  sort_order?: string;
1494
1966
  soft_deleted?: string;
1495
- select?: string[];
1496
- relationships?: string[];
1497
1967
  _query?: string;
1498
1968
  }
1499
1969
  export interface GetMenuV3BrandsResponse {
1500
- meta: PaginationMetaDTO;
1501
- results: BrandDTO[];
1970
+ results: PublishedBrandDTO[];
1971
+ meta?: ListResponseMetadataDTO;
1502
1972
  [index: string]: any;
1503
1973
  }
1504
1974
  export interface GetMenuV3BrandsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandsQuery> {
1505
1975
  }
1506
1976
  export type PostMenuV3BrandsBody = {
1507
- layouts?: LayoutDTO[];
1508
- items?: ItemDTO[];
1509
- modifier_groups?: ModifierGroupDTO[];
1510
- modifiers?: ModifierDTO[];
1977
+ parent?: PublishedBrandDTO;
1978
+ children?: PublishedBrandDTO[];
1979
+ layouts?: PublishedLayoutDTO[];
1980
+ items?: PublishedItemDTO[];
1981
+ modifier_groups?: PublishedModifierGroupDTO[];
1982
+ modifiers?: PublishedModifierDTO[];
1983
+ categories?: PublishedCategoryDTO[];
1984
+ modifier_group_to_modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
1985
+ item_to_modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
1986
+ category_to_items?: PublishedCategoryToItemRelationshipDTO[];
1987
+ parent_id?: string;
1511
1988
  id?: any;
1989
+ changes?: DraftBrandChangeDTO[];
1512
1990
  [index: string]: any;
1513
1991
  }[];
1514
1992
  export interface PostMenuV3BrandsResponse {
1515
- meta: PaginationMetaDTO;
1516
- results: BrandDTO[];
1993
+ results: PublishedBrandDTO[];
1994
+ meta?: ListResponseMetadataDTO;
1517
1995
  [index: string]: any;
1518
1996
  }
1519
1997
  export interface PostMenuV3BrandsRequest extends BaseRequest {
@@ -1523,19 +2001,19 @@ export interface GetMenuV3BrandModifiersPath {
1523
2001
  id: string;
1524
2002
  }
1525
2003
  export interface GetMenuV3BrandModifiersQuery {
2004
+ select?: string[];
2005
+ relationships?: string[];
1526
2006
  filter?: any;
1527
2007
  limit?: number;
1528
2008
  page?: number;
1529
2009
  sort_by?: string;
1530
2010
  sort_order?: string;
1531
2011
  soft_deleted?: string;
1532
- select?: string[];
1533
- relationships?: string[];
1534
2012
  _query?: string;
1535
2013
  }
1536
2014
  export interface GetMenuV3BrandModifiersResponse {
1537
- meta: PaginationMetaDTO;
1538
- results: ModifierDTO[];
2015
+ results: DraftModifierDTO[];
2016
+ meta?: ListResponseMetadataDTO;
1539
2017
  [index: string]: any;
1540
2018
  }
1541
2019
  export interface GetMenuV3BrandModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3BrandModifiersQuery>, GetMenuV3BrandModifiersPath {
@@ -1544,19 +2022,19 @@ export interface GetMenuV3BrandModifierGroupsPath {
1544
2022
  id: string;
1545
2023
  }
1546
2024
  export interface GetMenuV3BrandModifierGroupsQuery {
2025
+ select?: string[];
2026
+ relationships?: string[];
1547
2027
  filter?: any;
1548
2028
  limit?: number;
1549
2029
  page?: number;
1550
2030
  sort_by?: string;
1551
2031
  sort_order?: string;
1552
2032
  soft_deleted?: string;
1553
- select?: string[];
1554
- relationships?: string[];
1555
2033
  _query?: string;
1556
2034
  }
1557
2035
  export interface GetMenuV3BrandModifierGroupsResponse {
1558
- meta: PaginationMetaDTO;
1559
- results: ModifierGroupDTO[];
2036
+ results: DraftModifierGroupDTO[];
2037
+ meta?: ListResponseMetadataDTO;
1560
2038
  [index: string]: any;
1561
2039
  }
1562
2040
  export interface GetMenuV3BrandModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandModifierGroupsQuery>, GetMenuV3BrandModifierGroupsPath {
@@ -1565,19 +2043,19 @@ export interface GetMenuV3BrandItemsPath {
1565
2043
  id: string;
1566
2044
  }
1567
2045
  export interface GetMenuV3BrandItemsQuery {
2046
+ select?: string[];
2047
+ relationships?: string[];
1568
2048
  filter?: any;
1569
2049
  limit?: number;
1570
2050
  page?: number;
1571
2051
  sort_by?: string;
1572
2052
  sort_order?: string;
1573
2053
  soft_deleted?: string;
1574
- select?: string[];
1575
- relationships?: string[];
1576
2054
  _query?: string;
1577
2055
  }
1578
2056
  export interface GetMenuV3BrandItemsResponse {
1579
- meta: PaginationMetaDTO;
1580
- results: ItemDTO[];
2057
+ results: DraftItemDTO[];
2058
+ meta?: ListResponseMetadataDTO;
1581
2059
  [index: string]: any;
1582
2060
  }
1583
2061
  export interface GetMenuV3BrandItemsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandItemsQuery>, GetMenuV3BrandItemsPath {
@@ -1590,38 +2068,55 @@ export interface GetMenuV3BrandQuery {
1590
2068
  relationships?: string[];
1591
2069
  _query?: string;
1592
2070
  }
1593
- export type GetMenuV3BrandResponse = BrandDTO;
2071
+ export type GetMenuV3BrandResponse = PublishedBrandDTO;
1594
2072
  export interface GetMenuV3BrandRequest extends BaseRequest, RequestQuery<GetMenuV3BrandQuery>, GetMenuV3BrandPath {
1595
2073
  }
1596
2074
  export interface PatchMenuV3BrandPath {
1597
2075
  id: string;
1598
2076
  }
1599
2077
  export interface PatchMenuV3BrandBody {
1600
- layouts?: LayoutDTO[];
1601
- items?: ItemDTO[];
1602
- modifier_groups?: ModifierGroupDTO[];
1603
- modifiers?: ModifierDTO[];
2078
+ parent?: PublishedBrandDTO;
2079
+ children?: PublishedBrandDTO[];
2080
+ layouts?: PublishedLayoutDTO[];
2081
+ items?: PublishedItemDTO[];
2082
+ modifier_groups?: PublishedModifierGroupDTO[];
2083
+ modifiers?: PublishedModifierDTO[];
2084
+ categories?: PublishedCategoryDTO[];
2085
+ modifier_group_to_modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
2086
+ item_to_modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
2087
+ category_to_items?: PublishedCategoryToItemRelationshipDTO[];
1604
2088
  id?: string;
2089
+ parent_id?: string;
2090
+ changes?: DraftBrandChangeDTO[];
1605
2091
  [index: string]: any;
1606
2092
  }
1607
- export type PatchMenuV3BrandResponse = BrandDTO;
2093
+ export type PatchMenuV3BrandResponse = PublishedBrandDTO;
1608
2094
  export interface PatchMenuV3BrandRequest extends BaseRequest, PatchMenuV3BrandPath {
1609
2095
  body: PatchMenuV3BrandBody;
1610
2096
  }
1611
2097
  export interface DeleteMenuV3BrandPath {
1612
2098
  id: string;
1613
2099
  }
1614
- export type DeleteMenuV3BrandResponse = BrandDTO;
2100
+ export type DeleteMenuV3BrandResponse = PublishedBrandDTO;
1615
2101
  export interface DeleteMenuV3BrandRequest extends BaseRequest, DeleteMenuV3BrandPath {
1616
2102
  }
1617
2103
  export interface PostMenuV3BrandBody {
1618
- layouts?: LayoutDTO[];
1619
- items?: ItemDTO[];
1620
- modifier_groups?: ModifierGroupDTO[];
1621
- modifiers?: ModifierDTO[];
2104
+ parent?: PublishedBrandDTO;
2105
+ children?: any[];
2106
+ layouts?: any[];
2107
+ items?: any[];
2108
+ modifier_groups?: any[];
2109
+ modifiers?: any[];
2110
+ categories?: any[];
2111
+ modifier_group_to_modifiers?: any[];
2112
+ item_to_modifier_groups?: any[];
2113
+ category_to_items?: any[];
2114
+ parent_id?: string;
2115
+ id?: any;
2116
+ changes?: DraftBrandChangeDTO[];
1622
2117
  [index: string]: any;
1623
2118
  }
1624
- export type PostMenuV3BrandResponse = BrandDTO;
2119
+ export type PostMenuV3BrandResponse = PublishedBrandDTO;
1625
2120
  export interface PostMenuV3BrandRequest extends BaseRequest {
1626
2121
  body: PostMenuV3BrandBody;
1627
2122
  }
@@ -1882,276 +2377,1626 @@ export interface GetMenuSectorMenusQuery {
1882
2377
  export type GetMenuSectorMenusResponse = Menus;
1883
2378
  export interface GetMenuSectorMenusRequest extends BaseRequest, RequestQuery<GetMenuSectorMenusQuery>, GetMenuSectorMenusPath {
1884
2379
  }
1885
- export interface GetMenuCompanyMenusPath {
1886
- company: string;
2380
+ export interface GetMenuCompanyMenusPath {
2381
+ company: string;
2382
+ }
2383
+ export interface GetMenuCompanyMenusQuery {
2384
+ _query?: string;
2385
+ }
2386
+ export type GetMenuCompanyMenusResponse = Menus;
2387
+ export interface GetMenuCompanyMenusRequest extends BaseRequest, RequestQuery<GetMenuCompanyMenusQuery>, GetMenuCompanyMenusPath {
2388
+ }
2389
+ export type PostMenuModifierGroupBody = CreateOptionsGroup;
2390
+ export type PostMenuModifierGroupResponse = OptionsGroup;
2391
+ export interface PostMenuModifierGroupRequest extends BaseRequest {
2392
+ body: PostMenuModifierGroupBody;
2393
+ }
2394
+ export interface GetMenuModifierGroupPath {
2395
+ id: string;
2396
+ }
2397
+ export interface GetMenuModifierGroupQuery {
2398
+ _query?: string;
2399
+ }
2400
+ export type GetMenuModifierGroupResponse = OptionsGroup;
2401
+ export interface GetMenuModifierGroupRequest extends BaseRequest, RequestQuery<GetMenuModifierGroupQuery>, GetMenuModifierGroupPath {
2402
+ }
2403
+ export interface PutMenuModifierGroupPath {
2404
+ id: string;
2405
+ }
2406
+ export type PutMenuModifierGroupBody = OptionsGroup;
2407
+ export type PutMenuModifierGroupResponse = OptionsGroup;
2408
+ export interface PutMenuModifierGroupRequest extends BaseRequest, PutMenuModifierGroupPath {
2409
+ body: PutMenuModifierGroupBody;
2410
+ }
2411
+ export interface DeleteMenuModifierGroupPath {
2412
+ id: string;
2413
+ }
2414
+ export type DeleteMenuModifierGroupResponse = Success;
2415
+ export interface DeleteMenuModifierGroupRequest extends BaseRequest, DeleteMenuModifierGroupPath {
2416
+ }
2417
+ export interface GetMenuCompanyModifierGroupsPath {
2418
+ company: string;
2419
+ }
2420
+ export interface GetMenuCompanyModifierGroupsQuery {
2421
+ _query?: string;
2422
+ }
2423
+ export type GetMenuCompanyModifierGroupsResponse = OptionsGroupList;
2424
+ export interface GetMenuCompanyModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuCompanyModifierGroupsQuery>, GetMenuCompanyModifierGroupsPath {
2425
+ }
2426
+ export interface GetMenuCompanyModifierGroupsExportPath {
2427
+ company: string;
2428
+ }
2429
+ export interface GetMenuCompanyModifierGroupsExportQuery {
2430
+ _query?: string;
2431
+ }
2432
+ export type GetMenuCompanyModifierGroupsExportResponse = ZippedExcelExport;
2433
+ export interface GetMenuCompanyModifierGroupsExportRequest extends BaseRequest, RequestQuery<GetMenuCompanyModifierGroupsExportQuery>, GetMenuCompanyModifierGroupsExportPath {
2434
+ }
2435
+ export interface GetMenuExportPath {
2436
+ id: string;
2437
+ }
2438
+ export interface GetMenuExportQuery {
2439
+ _query?: string;
2440
+ }
2441
+ export type GetMenuExportResponse = ZippedExcelExport;
2442
+ export interface GetMenuExportRequest extends BaseRequest, RequestQuery<GetMenuExportQuery>, GetMenuExportPath {
2443
+ }
2444
+ export interface GetMenuPartialGroupsPath {
2445
+ id: string;
2446
+ }
2447
+ export interface GetMenuPartialGroupsQuery {
2448
+ extended?: boolean;
2449
+ show_unlinked?: boolean;
2450
+ _query?: string;
2451
+ }
2452
+ export type GetMenuPartialGroupsResponse = Menu;
2453
+ export interface GetMenuPartialGroupsRequest extends BaseRequest, RequestQuery<GetMenuPartialGroupsQuery>, GetMenuPartialGroupsPath {
2454
+ }
2455
+ export interface GetMenuPartialGroupItemsPath {
2456
+ id: string;
2457
+ group_id: string;
2458
+ }
2459
+ export interface GetMenuPartialGroupItemsQuery {
2460
+ extended?: boolean;
2461
+ _query?: string;
2462
+ }
2463
+ export type GetMenuPartialGroupItemsResponse = Items;
2464
+ export interface GetMenuPartialGroupItemsRequest extends BaseRequest, RequestQuery<GetMenuPartialGroupItemsQuery>, GetMenuPartialGroupItemsPath {
2465
+ }
2466
+ export interface PostMenuPartialGroupItemOptionsPath {
2467
+ id: string;
2468
+ group_id: string;
2469
+ }
2470
+ export interface PostMenuPartialGroupItemOptionsQuery {
2471
+ extended?: boolean;
2472
+ }
2473
+ export interface PostMenuPartialGroupItemOptionsBody {
2474
+ item_id?: string[];
2475
+ }
2476
+ export type PostMenuPartialGroupItemOptionsResponse = Items;
2477
+ export interface PostMenuPartialGroupItemOptionsRequest extends BaseRequest, RequestQuery<PostMenuPartialGroupItemOptionsQuery>, PostMenuPartialGroupItemOptionsPath {
2478
+ body: PostMenuPartialGroupItemOptionsBody;
2479
+ }
2480
+ export interface PostMenuV3LayoutPublishPath {
2481
+ id: string;
2482
+ }
2483
+ export interface PostMenuV3LayoutPublishQuery {
2484
+ filter?: any;
2485
+ limit?: number;
2486
+ page?: number;
2487
+ sort_by?: string;
2488
+ sort_order?: string;
2489
+ soft_deleted?: string;
2490
+ select?: string[];
2491
+ relationships?: string[];
2492
+ }
2493
+ export interface PostMenuV3LayoutPublishResponse {
2494
+ status?: string;
2495
+ }
2496
+ export interface PostMenuV3LayoutPublishRequest extends BaseRequest, RequestQuery<PostMenuV3LayoutPublishQuery>, PostMenuV3LayoutPublishPath {
2497
+ }
2498
+ export type PostMenuV3CategorysBody = {
2499
+ name: string;
2500
+ label?: string;
2501
+ sequence?: number;
2502
+ priority?: number;
2503
+ is_active?: boolean;
2504
+ layout_id: string;
2505
+ id?: any;
2506
+ layout?: LayoutDTO;
2507
+ items?: CategoryToItemRelationshipDTO[];
2508
+ [index: string]: any;
2509
+ }[];
2510
+ export interface PostMenuV3CategorysResponse {
2511
+ meta: PaginationMetaDTO;
2512
+ results: CategoryDTO[];
2513
+ [index: string]: any;
2514
+ }
2515
+ export interface PostMenuV3CategorysRequest extends BaseRequest {
2516
+ body: PostMenuV3CategorysBody;
2517
+ }
2518
+ export interface GetMenuV3CategoryRelationshipsItemsCountQuery {
2519
+ filter?: any;
2520
+ _query?: string;
2521
+ }
2522
+ export interface GetMenuV3CategoryRelationshipsItemsCountResponse {
2523
+ count: number;
2524
+ [index: string]: any;
2525
+ }
2526
+ export interface GetMenuV3CategoryRelationshipsItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryRelationshipsItemsCountQuery> {
2527
+ }
2528
+ export interface GetMenuV3ItemRelationshipsModifierGroupsCountQuery {
2529
+ filter?: any;
2530
+ _query?: string;
2531
+ }
2532
+ export interface GetMenuV3ItemRelationshipsModifierGroupsCountResponse {
2533
+ count: number;
2534
+ [index: string]: any;
2535
+ }
2536
+ export interface GetMenuV3ItemRelationshipsModifierGroupsCountRequest extends BaseRequest, RequestQuery<GetMenuV3ItemRelationshipsModifierGroupsCountQuery> {
2537
+ }
2538
+ export interface GetMenuV3ModifierGroupsCountQuery {
2539
+ filter?: any;
2540
+ _query?: string;
2541
+ }
2542
+ export interface GetMenuV3ModifierGroupsCountResponse {
2543
+ count: number;
2544
+ [index: string]: any;
2545
+ }
2546
+ export interface GetMenuV3ModifierGroupsCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupsCountQuery> {
2547
+ }
2548
+ export interface GetMenuV3ModifierGroupRelationshipsModifiersCountQuery {
2549
+ filter?: any;
2550
+ _query?: string;
2551
+ }
2552
+ export interface GetMenuV3ModifierGroupRelationshipsModifiersCountResponse {
2553
+ count: number;
2554
+ [index: string]: any;
2555
+ }
2556
+ export interface GetMenuV3ModifierGroupRelationshipsModifiersCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupRelationshipsModifiersCountQuery> {
2557
+ }
2558
+ export interface GetMenuV3ModifiersCountQuery {
2559
+ filter?: any;
2560
+ _query?: string;
2561
+ }
2562
+ export interface GetMenuV3ModifiersCountResponse {
2563
+ count: number;
2564
+ [index: string]: any;
2565
+ }
2566
+ export interface GetMenuV3ModifiersCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifiersCountQuery> {
2567
+ }
2568
+ export interface GetMenuV3StationModifiersPath {
2569
+ id: string;
2570
+ }
2571
+ export interface GetMenuV3StationModifiersQuery {
2572
+ filter?: any;
2573
+ limit?: number;
2574
+ page?: number;
2575
+ sort_by?: string;
2576
+ sort_order?: string;
2577
+ soft_deleted?: string;
2578
+ select?: string[];
2579
+ relationships?: string[];
2580
+ _query?: string;
2581
+ }
2582
+ export interface GetMenuV3StationModifiersResponse {
2583
+ meta: PaginationMetaDTO;
2584
+ results: ModifierEntityDTO[];
2585
+ [index: string]: any;
2586
+ }
2587
+ export interface GetMenuV3StationModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3StationModifiersQuery>, GetMenuV3StationModifiersPath {
2588
+ }
2589
+ export interface GetMenuV3StationModifierGroupsPath {
2590
+ id: string;
2591
+ }
2592
+ export interface GetMenuV3StationModifierGroupsQuery {
2593
+ filter?: any;
2594
+ limit?: number;
2595
+ page?: number;
2596
+ sort_by?: string;
2597
+ sort_order?: string;
2598
+ soft_deleted?: string;
2599
+ select?: string[];
2600
+ relationships?: string[];
2601
+ _query?: string;
2602
+ }
2603
+ export interface GetMenuV3StationModifierGroupsResponse {
2604
+ meta: PaginationMetaDTO;
2605
+ results: ModifierGroupEntityDTO[];
2606
+ [index: string]: any;
2607
+ }
2608
+ export interface GetMenuV3StationModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3StationModifierGroupsQuery>, GetMenuV3StationModifierGroupsPath {
2609
+ }
2610
+ export interface GetMenuV3StationItemsPath {
2611
+ id: string;
2612
+ }
2613
+ export interface GetMenuV3StationItemsQuery {
2614
+ filter?: any;
2615
+ limit?: number;
2616
+ page?: number;
2617
+ sort_by?: string;
2618
+ sort_order?: string;
2619
+ soft_deleted?: string;
2620
+ select?: string[];
2621
+ relationships?: string[];
2622
+ _query?: string;
2623
+ }
2624
+ export interface GetMenuV3StationItemsResponse {
2625
+ meta: PaginationMetaDTO;
2626
+ results: ItemEntityDTO[];
2627
+ [index: string]: any;
2628
+ }
2629
+ export interface GetMenuV3StationItemsRequest extends BaseRequest, RequestQuery<GetMenuV3StationItemsQuery>, GetMenuV3StationItemsPath {
2630
+ }
2631
+ export interface GetMenuV3SiteLayoutsPath {
2632
+ id: string;
2633
+ }
2634
+ export interface GetMenuV3SiteLayoutsQuery {
2635
+ filter?: any;
2636
+ limit?: number;
2637
+ page?: number;
2638
+ sort_by?: string;
2639
+ sort_order?: string;
2640
+ soft_deleted?: string;
2641
+ select?: string[];
2642
+ relationships?: string[];
2643
+ _query?: string;
2644
+ }
2645
+ export interface GetMenuV3SiteLayoutsResponse {
2646
+ meta: PaginationMetaDTO;
2647
+ results: LayoutDTO[];
2648
+ [index: string]: any;
2649
+ }
2650
+ export interface GetMenuV3SiteLayoutsRequest extends BaseRequest, RequestQuery<GetMenuV3SiteLayoutsQuery>, GetMenuV3SiteLayoutsPath {
2651
+ }
2652
+ export interface PostMenuV3DraftLayoutBody {
2653
+ parent?: DraftLayoutDTO;
2654
+ children?: any[];
2655
+ categories?: any[];
2656
+ parent_id?: string;
2657
+ name: string;
2658
+ brand_id: string;
2659
+ id?: any;
2660
+ station_id?: string;
2661
+ brand?: any;
2662
+ station?: any;
2663
+ changes?: any[];
2664
+ [index: string]: any;
2665
+ }
2666
+ export type PostMenuV3DraftLayoutResponse = DraftLayoutDTO;
2667
+ export interface PostMenuV3DraftLayoutRequest extends BaseRequest {
2668
+ body: PostMenuV3DraftLayoutBody;
2669
+ }
2670
+ export interface GetMenuV3DraftLayoutPath {
2671
+ id: string;
2672
+ }
2673
+ export interface GetMenuV3DraftLayoutQuery {
2674
+ select?: string[];
2675
+ relationships?: string[];
2676
+ _query?: string;
2677
+ }
2678
+ export type GetMenuV3DraftLayoutResponse = DraftLayoutDTO;
2679
+ export interface GetMenuV3DraftLayoutRequest extends BaseRequest, RequestQuery<GetMenuV3DraftLayoutQuery>, GetMenuV3DraftLayoutPath {
2680
+ }
2681
+ export interface PatchMenuV3DraftLayoutPath {
2682
+ id: string;
2683
+ }
2684
+ export interface PatchMenuV3DraftLayoutBody {
2685
+ parent?: DraftLayoutDTO;
2686
+ children?: DraftLayoutDTO[];
2687
+ categories?: DraftCategoryDTO[];
2688
+ id?: string;
2689
+ parent_id?: string;
2690
+ name?: string;
2691
+ brand_id?: string;
2692
+ station_id?: string;
2693
+ brand?: DraftBrandDTO;
2694
+ station?: StationDTO;
2695
+ changes?: DraftLayoutChangeDTO[];
2696
+ [index: string]: any;
2697
+ }
2698
+ export type PatchMenuV3DraftLayoutResponse = DraftLayoutDTO;
2699
+ export interface PatchMenuV3DraftLayoutRequest extends BaseRequest, PatchMenuV3DraftLayoutPath {
2700
+ body: PatchMenuV3DraftLayoutBody;
2701
+ }
2702
+ export interface DeleteMenuV3DraftLayoutPath {
2703
+ id: string;
2704
+ }
2705
+ export type DeleteMenuV3DraftLayoutResponse = DraftLayoutDTO;
2706
+ export interface DeleteMenuV3DraftLayoutRequest extends BaseRequest, DeleteMenuV3DraftLayoutPath {
2707
+ }
2708
+ export interface GetMenuV3DraftLayoutsQuery {
2709
+ select?: string[];
2710
+ relationships?: string[];
2711
+ filter?: any;
2712
+ limit?: number;
2713
+ page?: number;
2714
+ sort_by?: string;
2715
+ sort_order?: string;
2716
+ soft_deleted?: string;
2717
+ _query?: string;
2718
+ }
2719
+ export interface GetMenuV3DraftLayoutsResponse {
2720
+ results: DraftLayoutDTO[];
2721
+ meta?: ListResponseMetadataDTO;
2722
+ [index: string]: any;
2723
+ }
2724
+ export interface GetMenuV3DraftLayoutsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftLayoutsQuery> {
2725
+ }
2726
+ export type PostMenuV3DraftLayoutsBody = {
2727
+ parent?: DraftLayoutDTO;
2728
+ children?: DraftLayoutDTO[];
2729
+ categories?: DraftCategoryDTO[];
2730
+ parent_id?: string;
2731
+ name: string;
2732
+ brand_id: string;
2733
+ id?: any;
2734
+ station_id?: string;
2735
+ brand?: DraftBrandDTO;
2736
+ station?: StationDTO;
2737
+ changes?: DraftLayoutChangeDTO[];
2738
+ [index: string]: any;
2739
+ }[];
2740
+ export interface PostMenuV3DraftLayoutsResponse {
2741
+ results: DraftLayoutDTO[];
2742
+ meta?: ListResponseMetadataDTO;
2743
+ [index: string]: any;
2744
+ }
2745
+ export interface PostMenuV3DraftLayoutsRequest extends BaseRequest {
2746
+ body: PostMenuV3DraftLayoutsBody;
2747
+ }
2748
+ export interface GetMenuV3DraftLayoutsCountQuery {
2749
+ filter?: any;
2750
+ _query?: string;
2751
+ }
2752
+ export interface GetMenuV3DraftLayoutsCountResponse {
2753
+ count: number;
2754
+ [index: string]: any;
2755
+ }
2756
+ export interface GetMenuV3DraftLayoutsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftLayoutsCountQuery> {
2757
+ }
2758
+ export interface GetMenuV3DraftLayoutCategoriesPath {
2759
+ id: string;
2760
+ }
2761
+ export interface GetMenuV3DraftLayoutCategoriesQuery {
2762
+ select?: string[];
2763
+ relationships?: string[];
2764
+ filter?: any;
2765
+ limit?: number;
2766
+ page?: number;
2767
+ sort_by?: string;
2768
+ sort_order?: string;
2769
+ soft_deleted?: string;
2770
+ _query?: string;
2771
+ }
2772
+ export interface GetMenuV3DraftLayoutCategoriesResponse {
2773
+ results: DraftCategoryDTO[];
2774
+ meta?: ListResponseMetadataDTO;
2775
+ [index: string]: any;
2776
+ }
2777
+ export interface GetMenuV3DraftLayoutCategoriesRequest extends BaseRequest, RequestQuery<GetMenuV3DraftLayoutCategoriesQuery>, GetMenuV3DraftLayoutCategoriesPath {
2778
+ }
2779
+ export interface PostMenuV3DraftLayoutPublishPath {
2780
+ id: string;
2781
+ }
2782
+ export interface PostMenuV3DraftLayoutPublishResponse {
2783
+ status?: string;
2784
+ }
2785
+ export interface PostMenuV3DraftLayoutPublishRequest extends BaseRequest, PostMenuV3DraftLayoutPublishPath {
2786
+ }
2787
+ export interface PostMenuV3DraftCategoryBody {
2788
+ parent_id?: string;
2789
+ parent?: DraftCategoryDTO;
2790
+ children?: DraftCategoryDTO[];
2791
+ name: string;
2792
+ label?: string;
2793
+ sequence?: number;
2794
+ priority?: number;
2795
+ is_active?: boolean;
2796
+ layout_id: string;
2797
+ brand_id: string;
2798
+ id?: any;
2799
+ layout?: DraftLayoutDTO;
2800
+ items?: DraftCategoryToItemRelationshipDTO[];
2801
+ brand?: DraftBrandDTO;
2802
+ changes?: DraftCategoryChangeDTO[];
2803
+ [index: string]: any;
2804
+ }
2805
+ export type PostMenuV3DraftCategoryResponse = DraftCategoryDTO;
2806
+ export interface PostMenuV3DraftCategoryRequest extends BaseRequest {
2807
+ body: PostMenuV3DraftCategoryBody;
2808
+ }
2809
+ export interface GetMenuV3DraftCategoryPath {
2810
+ id: string;
2811
+ }
2812
+ export interface GetMenuV3DraftCategoryQuery {
2813
+ select?: string[];
2814
+ relationships?: string[];
2815
+ _query?: string;
2816
+ }
2817
+ export type GetMenuV3DraftCategoryResponse = DraftCategoryDTO;
2818
+ export interface GetMenuV3DraftCategoryRequest extends BaseRequest, RequestQuery<GetMenuV3DraftCategoryQuery>, GetMenuV3DraftCategoryPath {
2819
+ }
2820
+ export interface PatchMenuV3DraftCategoryPath {
2821
+ id: string;
2822
+ }
2823
+ export interface PatchMenuV3DraftCategoryBody {
2824
+ parent_id?: string;
2825
+ parent?: DraftCategoryDTO;
2826
+ children?: DraftCategoryDTO[];
2827
+ name?: string;
2828
+ label?: string;
2829
+ sequence?: number;
2830
+ priority?: number;
2831
+ is_active?: boolean;
2832
+ layout_id?: string;
2833
+ brand_id?: string;
2834
+ id?: string;
2835
+ layout?: DraftLayoutDTO;
2836
+ items?: DraftCategoryToItemRelationshipDTO[];
2837
+ brand?: DraftBrandDTO;
2838
+ changes?: DraftCategoryChangeDTO[];
2839
+ [index: string]: any;
2840
+ }
2841
+ export type PatchMenuV3DraftCategoryResponse = DraftCategoryDTO;
2842
+ export interface PatchMenuV3DraftCategoryRequest extends BaseRequest, PatchMenuV3DraftCategoryPath {
2843
+ body: PatchMenuV3DraftCategoryBody;
2844
+ }
2845
+ export interface DeleteMenuV3DraftCategoryPath {
2846
+ id: string;
2847
+ }
2848
+ export type DeleteMenuV3DraftCategoryResponse = DraftCategoryDTO;
2849
+ export interface DeleteMenuV3DraftCategoryRequest extends BaseRequest, DeleteMenuV3DraftCategoryPath {
2850
+ }
2851
+ export interface GetMenuV3DraftCategoriesCountQuery {
2852
+ filter?: any;
2853
+ _query?: string;
2854
+ }
2855
+ export interface GetMenuV3DraftCategoriesCountResponse {
2856
+ count: number;
2857
+ [index: string]: any;
2858
+ }
2859
+ export interface GetMenuV3DraftCategoriesCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftCategoriesCountQuery> {
2860
+ }
2861
+ export type PostMenuV3DraftCategorysBody = {
2862
+ parent_id?: string;
2863
+ parent?: DraftCategoryDTO;
2864
+ children?: DraftCategoryDTO[];
2865
+ name: string;
2866
+ label?: string;
2867
+ sequence?: number;
2868
+ priority?: number;
2869
+ is_active?: boolean;
2870
+ layout_id: string;
2871
+ brand_id: string;
2872
+ id?: any;
2873
+ layout?: DraftLayoutDTO;
2874
+ items?: DraftCategoryToItemRelationshipDTO[];
2875
+ brand?: DraftBrandDTO;
2876
+ changes?: DraftCategoryChangeDTO[];
2877
+ [index: string]: any;
2878
+ }[];
2879
+ export interface PostMenuV3DraftCategorysResponse {
2880
+ results: DraftCategoryDTO[];
2881
+ meta?: ListResponseMetadataDTO;
2882
+ [index: string]: any;
2883
+ }
2884
+ export interface PostMenuV3DraftCategorysRequest extends BaseRequest {
2885
+ body: PostMenuV3DraftCategorysBody;
2886
+ }
2887
+ export interface PostMenuV3DraftCategoryRelationshipsItemBody {
2888
+ parent?: DraftCategoryToItemRelationshipDTO;
2889
+ children?: DraftCategoryToItemRelationshipDTO[];
2890
+ parent_id?: string;
2891
+ category_id: string;
2892
+ item_id: string;
2893
+ brand_id?: string;
2894
+ sequence?: number;
2895
+ id?: any;
2896
+ category?: DraftCategoryDTO;
2897
+ item?: DraftItemDTO;
2898
+ brand?: DraftBrandDTO;
2899
+ changes?: DraftCategoryToItemRelationshipChangeDTO[];
2900
+ [index: string]: any;
2901
+ }
2902
+ export type PostMenuV3DraftCategoryRelationshipsItemResponse = DraftCategoryToItemRelationshipDTO;
2903
+ export interface PostMenuV3DraftCategoryRelationshipsItemRequest extends BaseRequest {
2904
+ body: PostMenuV3DraftCategoryRelationshipsItemBody;
2905
+ }
2906
+ export interface GetMenuV3DraftCategoryRelationshipsItemPath {
2907
+ id: string;
2908
+ }
2909
+ export interface GetMenuV3DraftCategoryRelationshipsItemQuery {
2910
+ select?: string[];
2911
+ relationships?: string[];
2912
+ _query?: string;
2913
+ }
2914
+ export type GetMenuV3DraftCategoryRelationshipsItemResponse = DraftCategoryToItemRelationshipDTO;
2915
+ export interface GetMenuV3DraftCategoryRelationshipsItemRequest extends BaseRequest, RequestQuery<GetMenuV3DraftCategoryRelationshipsItemQuery>, GetMenuV3DraftCategoryRelationshipsItemPath {
2916
+ }
2917
+ export interface PatchMenuV3DraftCategoryRelationshipsItemPath {
2918
+ id: string;
2919
+ }
2920
+ export interface PatchMenuV3DraftCategoryRelationshipsItemBody {
2921
+ parent?: DraftCategoryToItemRelationshipDTO;
2922
+ children?: DraftCategoryToItemRelationshipDTO[];
2923
+ id?: string;
2924
+ parent_id?: string;
2925
+ category_id?: string;
2926
+ item_id?: string;
2927
+ brand_id?: string;
2928
+ sequence?: number;
2929
+ category?: DraftCategoryDTO;
2930
+ item?: DraftItemDTO;
2931
+ brand?: DraftBrandDTO;
2932
+ changes?: DraftCategoryToItemRelationshipChangeDTO[];
2933
+ [index: string]: any;
2934
+ }
2935
+ export type PatchMenuV3DraftCategoryRelationshipsItemResponse = DraftCategoryToItemRelationshipDTO;
2936
+ export interface PatchMenuV3DraftCategoryRelationshipsItemRequest extends BaseRequest, PatchMenuV3DraftCategoryRelationshipsItemPath {
2937
+ body: PatchMenuV3DraftCategoryRelationshipsItemBody;
2938
+ }
2939
+ export interface DeleteMenuV3DraftCategoryRelationshipsItemPath {
2940
+ id: string;
2941
+ }
2942
+ export type DeleteMenuV3DraftCategoryRelationshipsItemResponse = DraftCategoryToItemRelationshipDTO;
2943
+ export interface DeleteMenuV3DraftCategoryRelationshipsItemRequest extends BaseRequest, DeleteMenuV3DraftCategoryRelationshipsItemPath {
2944
+ }
2945
+ export interface GetMenuV3DraftCategoryRelationshipsItemsQuery {
2946
+ select?: string[];
2947
+ relationships?: string[];
2948
+ filter?: any;
2949
+ limit?: number;
2950
+ page?: number;
2951
+ sort_by?: string;
2952
+ sort_order?: string;
2953
+ soft_deleted?: string;
2954
+ _query?: string;
2955
+ }
2956
+ export interface GetMenuV3DraftCategoryRelationshipsItemsResponse {
2957
+ results: DraftCategoryToItemRelationshipDTO[];
2958
+ meta?: ListResponseMetadataDTO;
2959
+ [index: string]: any;
2960
+ }
2961
+ export interface GetMenuV3DraftCategoryRelationshipsItemsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftCategoryRelationshipsItemsQuery> {
2962
+ }
2963
+ export type PostMenuV3DraftCategoryRelationshipsItemsBody = {
2964
+ parent?: DraftCategoryToItemRelationshipDTO;
2965
+ children?: DraftCategoryToItemRelationshipDTO[];
2966
+ parent_id?: string;
2967
+ category_id: string;
2968
+ item_id: string;
2969
+ brand_id?: string;
2970
+ sequence?: number;
2971
+ id?: any;
2972
+ category?: DraftCategoryDTO;
2973
+ item?: DraftItemDTO;
2974
+ brand?: DraftBrandDTO;
2975
+ changes?: DraftCategoryToItemRelationshipChangeDTO[];
2976
+ [index: string]: any;
2977
+ }[];
2978
+ export interface PostMenuV3DraftCategoryRelationshipsItemsResponse {
2979
+ results: DraftCategoryToItemRelationshipDTO[];
2980
+ meta?: ListResponseMetadataDTO;
2981
+ [index: string]: any;
2982
+ }
2983
+ export interface PostMenuV3DraftCategoryRelationshipsItemsRequest extends BaseRequest {
2984
+ body: PostMenuV3DraftCategoryRelationshipsItemsBody;
2985
+ }
2986
+ export interface GetMenuV3DraftCategoryRelationshipsItemsCountQuery {
2987
+ filter?: any;
2988
+ _query?: string;
2989
+ }
2990
+ export interface GetMenuV3DraftCategoryRelationshipsItemsCountResponse {
2991
+ count: number;
2992
+ [index: string]: any;
2993
+ }
2994
+ export interface GetMenuV3DraftCategoryRelationshipsItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftCategoryRelationshipsItemsCountQuery> {
2995
+ }
2996
+ export interface PostMenuV3DraftItemBody {
2997
+ parent_id?: string;
2998
+ parent?: DraftItemDTO;
2999
+ children?: DraftItemDTO[];
3000
+ name: string;
3001
+ label?: string;
3002
+ description?: string;
3003
+ price: number;
3004
+ barcode?: string;
3005
+ calories?: number;
3006
+ priority?: number;
3007
+ is_active?: boolean;
3008
+ is_in_stock?: boolean;
3009
+ posid: string;
3010
+ tax_tags?: any[];
3011
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3012
+ brand_id: string;
3013
+ station_id?: string;
3014
+ id?: any;
3015
+ categories?: DraftCategoryToItemRelationshipDTO[];
3016
+ brand?: DraftBrandDTO;
3017
+ station?: StationDTO;
3018
+ changes?: DraftItemChangeDTO[];
3019
+ [index: string]: any;
3020
+ }
3021
+ export type PostMenuV3DraftItemResponse = DraftItemDTO;
3022
+ export interface PostMenuV3DraftItemRequest extends BaseRequest {
3023
+ body: PostMenuV3DraftItemBody;
3024
+ }
3025
+ export interface GetMenuV3DraftItemPath {
3026
+ id: string;
3027
+ }
3028
+ export interface GetMenuV3DraftItemQuery {
3029
+ select?: string[];
3030
+ relationships?: string[];
3031
+ _query?: string;
3032
+ }
3033
+ export type GetMenuV3DraftItemResponse = DraftItemDTO;
3034
+ export interface GetMenuV3DraftItemRequest extends BaseRequest, RequestQuery<GetMenuV3DraftItemQuery>, GetMenuV3DraftItemPath {
3035
+ }
3036
+ export interface PatchMenuV3DraftItemPath {
3037
+ id: string;
3038
+ }
3039
+ export interface PatchMenuV3DraftItemBody {
3040
+ parent_id?: string;
3041
+ parent?: DraftItemDTO;
3042
+ children?: DraftItemDTO[];
3043
+ name?: string;
3044
+ label?: string;
3045
+ description?: string;
3046
+ price?: number;
3047
+ barcode?: string;
3048
+ calories?: number;
3049
+ priority?: number;
3050
+ is_active?: boolean;
3051
+ is_in_stock?: boolean;
3052
+ posid?: string;
3053
+ tax_tags?: any[];
3054
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3055
+ brand_id?: string;
3056
+ station_id?: string;
3057
+ id?: string;
3058
+ categories?: DraftCategoryToItemRelationshipDTO[];
3059
+ brand?: DraftBrandDTO;
3060
+ station?: StationDTO;
3061
+ changes?: DraftItemChangeDTO[];
3062
+ [index: string]: any;
3063
+ }
3064
+ export type PatchMenuV3DraftItemResponse = DraftItemDTO;
3065
+ export interface PatchMenuV3DraftItemRequest extends BaseRequest, PatchMenuV3DraftItemPath {
3066
+ body: PatchMenuV3DraftItemBody;
3067
+ }
3068
+ export interface DeleteMenuV3DraftItemPath {
3069
+ id: string;
3070
+ }
3071
+ export type DeleteMenuV3DraftItemResponse = DraftItemDTO;
3072
+ export interface DeleteMenuV3DraftItemRequest extends BaseRequest, DeleteMenuV3DraftItemPath {
3073
+ }
3074
+ export interface GetMenuV3DraftItemsQuery {
3075
+ select?: string[];
3076
+ relationships?: string[];
3077
+ filter?: any;
3078
+ limit?: number;
3079
+ page?: number;
3080
+ sort_by?: string;
3081
+ sort_order?: string;
3082
+ soft_deleted?: string;
3083
+ _query?: string;
3084
+ }
3085
+ export interface GetMenuV3DraftItemsResponse {
3086
+ results: DraftItemDTO[];
3087
+ meta?: ListResponseMetadataDTO;
3088
+ [index: string]: any;
3089
+ }
3090
+ export interface GetMenuV3DraftItemsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftItemsQuery> {
3091
+ }
3092
+ export type PostMenuV3DraftItemsBody = {
3093
+ parent_id?: string;
3094
+ parent?: DraftItemDTO;
3095
+ children?: DraftItemDTO[];
3096
+ name: string;
3097
+ label?: string;
3098
+ description?: string;
3099
+ price: number;
3100
+ barcode?: string;
3101
+ calories?: number;
3102
+ priority?: number;
3103
+ is_active?: boolean;
3104
+ is_in_stock?: boolean;
3105
+ posid: string;
3106
+ tax_tags?: any[];
3107
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3108
+ brand_id: string;
3109
+ station_id?: string;
3110
+ id?: any;
3111
+ categories?: DraftCategoryToItemRelationshipDTO[];
3112
+ brand?: DraftBrandDTO;
3113
+ station?: StationDTO;
3114
+ changes?: DraftItemChangeDTO[];
3115
+ [index: string]: any;
3116
+ }[];
3117
+ export interface PostMenuV3DraftItemsResponse {
3118
+ results: DraftItemDTO[];
3119
+ meta?: ListResponseMetadataDTO;
3120
+ [index: string]: any;
3121
+ }
3122
+ export interface PostMenuV3DraftItemsRequest extends BaseRequest {
3123
+ body: PostMenuV3DraftItemsBody;
3124
+ }
3125
+ export interface GetMenuV3DraftItemsCountQuery {
3126
+ filter?: any;
3127
+ _query?: string;
3128
+ }
3129
+ export interface GetMenuV3DraftItemsCountResponse {
3130
+ count: number;
3131
+ [index: string]: any;
3132
+ }
3133
+ export interface GetMenuV3DraftItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftItemsCountQuery> {
3134
+ }
3135
+ export interface PostMenuV3DraftItemRelationshipsModifierGroupBody {
3136
+ parent?: DraftItemToModifierGroupRelationshipDTO;
3137
+ children?: DraftItemToModifierGroupRelationshipDTO[];
3138
+ parent_id?: string;
3139
+ modifier_group_id: string;
3140
+ item_id: string;
3141
+ brand_id?: string;
3142
+ sequence?: number;
3143
+ id?: any;
3144
+ modifier_group?: DraftModifierGroupDTO;
3145
+ item?: DraftItemDTO;
3146
+ brand?: DraftBrandDTO;
3147
+ changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
3148
+ [index: string]: any;
3149
+ }
3150
+ export type PostMenuV3DraftItemRelationshipsModifierGroupResponse = DraftItemToModifierGroupRelationshipDTO;
3151
+ export interface PostMenuV3DraftItemRelationshipsModifierGroupRequest extends BaseRequest {
3152
+ body: PostMenuV3DraftItemRelationshipsModifierGroupBody;
3153
+ }
3154
+ export interface GetMenuV3DraftItemRelationshipsModifierGroupPath {
3155
+ id: string;
3156
+ }
3157
+ export interface GetMenuV3DraftItemRelationshipsModifierGroupQuery {
3158
+ select?: string[];
3159
+ relationships?: string[];
3160
+ _query?: string;
3161
+ }
3162
+ export type GetMenuV3DraftItemRelationshipsModifierGroupResponse = DraftItemToModifierGroupRelationshipDTO;
3163
+ export interface GetMenuV3DraftItemRelationshipsModifierGroupRequest extends BaseRequest, RequestQuery<GetMenuV3DraftItemRelationshipsModifierGroupQuery>, GetMenuV3DraftItemRelationshipsModifierGroupPath {
3164
+ }
3165
+ export interface PatchMenuV3DraftItemRelationshipsModifierGroupPath {
3166
+ id: string;
3167
+ }
3168
+ export interface PatchMenuV3DraftItemRelationshipsModifierGroupBody {
3169
+ parent?: DraftItemToModifierGroupRelationshipDTO;
3170
+ children?: DraftItemToModifierGroupRelationshipDTO[];
3171
+ id?: string;
3172
+ parent_id?: string;
3173
+ modifier_group_id?: string;
3174
+ item_id?: string;
3175
+ brand_id?: string;
3176
+ sequence?: number;
3177
+ modifier_group?: DraftModifierGroupDTO;
3178
+ item?: DraftItemDTO;
3179
+ brand?: DraftBrandDTO;
3180
+ changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
3181
+ [index: string]: any;
3182
+ }
3183
+ export type PatchMenuV3DraftItemRelationshipsModifierGroupResponse = DraftItemToModifierGroupRelationshipDTO;
3184
+ export interface PatchMenuV3DraftItemRelationshipsModifierGroupRequest extends BaseRequest, PatchMenuV3DraftItemRelationshipsModifierGroupPath {
3185
+ body: PatchMenuV3DraftItemRelationshipsModifierGroupBody;
3186
+ }
3187
+ export interface DeleteMenuV3DraftItemRelationshipsModifierGroupPath {
3188
+ id: string;
3189
+ }
3190
+ export type DeleteMenuV3DraftItemRelationshipsModifierGroupResponse = DraftItemToModifierGroupRelationshipDTO;
3191
+ export interface DeleteMenuV3DraftItemRelationshipsModifierGroupRequest extends BaseRequest, DeleteMenuV3DraftItemRelationshipsModifierGroupPath {
3192
+ }
3193
+ export interface GetMenuV3DraftItemRelationshipsModifierGroupsQuery {
3194
+ select?: string[];
3195
+ relationships?: string[];
3196
+ filter?: any;
3197
+ limit?: number;
3198
+ page?: number;
3199
+ sort_by?: string;
3200
+ sort_order?: string;
3201
+ soft_deleted?: string;
3202
+ _query?: string;
3203
+ }
3204
+ export interface GetMenuV3DraftItemRelationshipsModifierGroupsResponse {
3205
+ results: DraftItemToModifierGroupRelationshipDTO[];
3206
+ meta?: ListResponseMetadataDTO;
3207
+ [index: string]: any;
3208
+ }
3209
+ export interface GetMenuV3DraftItemRelationshipsModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftItemRelationshipsModifierGroupsQuery> {
3210
+ }
3211
+ export type PostMenuV3DraftItemRelationshipsModifierGroupsBody = {
3212
+ parent?: DraftItemToModifierGroupRelationshipDTO;
3213
+ children?: DraftItemToModifierGroupRelationshipDTO[];
3214
+ parent_id?: string;
3215
+ modifier_group_id: string;
3216
+ item_id: string;
3217
+ brand_id?: string;
3218
+ sequence?: number;
3219
+ id?: any;
3220
+ modifier_group?: DraftModifierGroupDTO;
3221
+ item?: DraftItemDTO;
3222
+ brand?: DraftBrandDTO;
3223
+ changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
3224
+ [index: string]: any;
3225
+ }[];
3226
+ export interface PostMenuV3DraftItemRelationshipsModifierGroupsResponse {
3227
+ results: DraftItemToModifierGroupRelationshipDTO[];
3228
+ meta?: ListResponseMetadataDTO;
3229
+ [index: string]: any;
3230
+ }
3231
+ export interface PostMenuV3DraftItemRelationshipsModifierGroupsRequest extends BaseRequest {
3232
+ body: PostMenuV3DraftItemRelationshipsModifierGroupsBody;
3233
+ }
3234
+ export interface GetMenuV3DraftItemRelationshipsModifierGroupsCountQuery {
3235
+ filter?: any;
3236
+ _query?: string;
3237
+ }
3238
+ export interface GetMenuV3DraftItemRelationshipsModifierGroupsCountResponse {
3239
+ count: number;
3240
+ [index: string]: any;
3241
+ }
3242
+ export interface GetMenuV3DraftItemRelationshipsModifierGroupsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftItemRelationshipsModifierGroupsCountQuery> {
3243
+ }
3244
+ export interface PostMenuV3DraftModifierGroupBody {
3245
+ parent_id?: string;
3246
+ parent?: DraftModifierGroupDTO;
3247
+ children?: DraftModifierGroupDTO[];
3248
+ name: string;
3249
+ label?: string;
3250
+ min?: number;
3251
+ max?: number;
3252
+ is_active?: boolean;
3253
+ priority?: number;
3254
+ modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
3255
+ items?: DraftItemToModifierGroupRelationshipDTO[];
3256
+ brand_id: string;
3257
+ station_id?: string;
3258
+ id?: any;
3259
+ brand?: DraftBrandDTO;
3260
+ station?: StationDTO;
3261
+ changes?: DraftModifierGroupChangeDTO[];
3262
+ [index: string]: any;
3263
+ }
3264
+ export type PostMenuV3DraftModifierGroupResponse = DraftModifierGroupDTO;
3265
+ export interface PostMenuV3DraftModifierGroupRequest extends BaseRequest {
3266
+ body: PostMenuV3DraftModifierGroupBody;
3267
+ }
3268
+ export interface GetMenuV3DraftModifierGroupPath {
3269
+ id: string;
3270
+ }
3271
+ export interface GetMenuV3DraftModifierGroupQuery {
3272
+ select?: string[];
3273
+ relationships?: string[];
3274
+ _query?: string;
3275
+ }
3276
+ export type GetMenuV3DraftModifierGroupResponse = DraftModifierGroupDTO;
3277
+ export interface GetMenuV3DraftModifierGroupRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifierGroupQuery>, GetMenuV3DraftModifierGroupPath {
3278
+ }
3279
+ export interface PatchMenuV3DraftModifierGroupPath {
3280
+ id: string;
3281
+ }
3282
+ export interface PatchMenuV3DraftModifierGroupBody {
3283
+ parent_id?: string;
3284
+ parent?: DraftModifierGroupDTO;
3285
+ children?: DraftModifierGroupDTO[];
3286
+ name?: string;
3287
+ label?: string;
3288
+ min?: number;
3289
+ max?: number;
3290
+ is_active?: boolean;
3291
+ priority?: number;
3292
+ modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
3293
+ items?: DraftItemToModifierGroupRelationshipDTO[];
3294
+ brand_id?: string;
3295
+ station_id?: string;
3296
+ id?: string;
3297
+ brand?: DraftBrandDTO;
3298
+ station?: StationDTO;
3299
+ changes?: DraftModifierGroupChangeDTO[];
3300
+ [index: string]: any;
3301
+ }
3302
+ export type PatchMenuV3DraftModifierGroupResponse = DraftModifierGroupDTO;
3303
+ export interface PatchMenuV3DraftModifierGroupRequest extends BaseRequest, PatchMenuV3DraftModifierGroupPath {
3304
+ body: PatchMenuV3DraftModifierGroupBody;
3305
+ }
3306
+ export interface DeleteMenuV3DraftModifierGroupPath {
3307
+ id: string;
3308
+ }
3309
+ export type DeleteMenuV3DraftModifierGroupResponse = DraftModifierGroupDTO;
3310
+ export interface DeleteMenuV3DraftModifierGroupRequest extends BaseRequest, DeleteMenuV3DraftModifierGroupPath {
3311
+ }
3312
+ export interface GetMenuV3DraftModifierGroupsQuery {
3313
+ select?: string[];
3314
+ relationships?: string[];
3315
+ filter?: any;
3316
+ limit?: number;
3317
+ page?: number;
3318
+ sort_by?: string;
3319
+ sort_order?: string;
3320
+ soft_deleted?: string;
3321
+ _query?: string;
3322
+ }
3323
+ export interface GetMenuV3DraftModifierGroupsResponse {
3324
+ results: DraftModifierGroupDTO[];
3325
+ meta?: ListResponseMetadataDTO;
3326
+ [index: string]: any;
3327
+ }
3328
+ export interface GetMenuV3DraftModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifierGroupsQuery> {
3329
+ }
3330
+ export type PostMenuV3DraftModifierGroupsBody = {
3331
+ parent_id?: string;
3332
+ parent?: DraftModifierGroupDTO;
3333
+ children?: DraftModifierGroupDTO[];
3334
+ name: string;
3335
+ label?: string;
3336
+ min?: number;
3337
+ max?: number;
3338
+ is_active?: boolean;
3339
+ priority?: number;
3340
+ modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
3341
+ items?: DraftItemToModifierGroupRelationshipDTO[];
3342
+ brand_id: string;
3343
+ station_id?: string;
3344
+ id?: any;
3345
+ brand?: DraftBrandDTO;
3346
+ station?: StationDTO;
3347
+ changes?: DraftModifierGroupChangeDTO[];
3348
+ [index: string]: any;
3349
+ }[];
3350
+ export interface PostMenuV3DraftModifierGroupsResponse {
3351
+ results: DraftModifierGroupDTO[];
3352
+ meta?: ListResponseMetadataDTO;
3353
+ [index: string]: any;
3354
+ }
3355
+ export interface PostMenuV3DraftModifierGroupsRequest extends BaseRequest {
3356
+ body: PostMenuV3DraftModifierGroupsBody;
3357
+ }
3358
+ export interface GetMenuV3DraftModifierGroupsCountQuery {
3359
+ filter?: any;
3360
+ _query?: string;
3361
+ }
3362
+ export interface GetMenuV3DraftModifierGroupsCountResponse {
3363
+ count: number;
3364
+ [index: string]: any;
3365
+ }
3366
+ export interface GetMenuV3DraftModifierGroupsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifierGroupsCountQuery> {
3367
+ }
3368
+ export interface PostMenuV3DraftModifierGroupRelationshipsModifierBody {
3369
+ parent?: DraftModifierGroupToModifierRelationshipDTO;
3370
+ children?: DraftModifierGroupToModifierRelationshipDTO[];
3371
+ parent_id?: string;
3372
+ modifier_id: string;
3373
+ modifier_group_id: string;
3374
+ brand_id?: string;
3375
+ sequence?: number;
3376
+ id?: any;
3377
+ modifier?: DraftModifierDTO;
3378
+ modifier_group?: DraftModifierGroupDTO;
3379
+ brand?: DraftBrandDTO;
3380
+ changes?: DraftModifierGroupToModifierRelationshipChangeDTO[];
3381
+ [index: string]: any;
3382
+ }
3383
+ export type PostMenuV3DraftModifierGroupRelationshipsModifierResponse = DraftModifierGroupToModifierRelationshipDTO;
3384
+ export interface PostMenuV3DraftModifierGroupRelationshipsModifierRequest extends BaseRequest {
3385
+ body: PostMenuV3DraftModifierGroupRelationshipsModifierBody;
3386
+ }
3387
+ export interface GetMenuV3DraftModifierGroupRelationshipsModifierPath {
3388
+ id: string;
3389
+ }
3390
+ export interface GetMenuV3DraftModifierGroupRelationshipsModifierQuery {
3391
+ select?: string[];
3392
+ relationships?: string[];
3393
+ _query?: string;
3394
+ }
3395
+ export type GetMenuV3DraftModifierGroupRelationshipsModifierResponse = DraftModifierGroupToModifierRelationshipDTO;
3396
+ export interface GetMenuV3DraftModifierGroupRelationshipsModifierRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifierGroupRelationshipsModifierQuery>, GetMenuV3DraftModifierGroupRelationshipsModifierPath {
3397
+ }
3398
+ export interface PatchMenuV3DraftModifierGroupRelationshipsModifierPath {
3399
+ id: string;
3400
+ }
3401
+ export interface PatchMenuV3DraftModifierGroupRelationshipsModifierBody {
3402
+ parent?: DraftModifierGroupToModifierRelationshipDTO;
3403
+ children?: DraftModifierGroupToModifierRelationshipDTO[];
3404
+ id?: string;
3405
+ parent_id?: string;
3406
+ modifier_id?: string;
3407
+ modifier_group_id?: string;
3408
+ brand_id?: string;
3409
+ sequence?: number;
3410
+ modifier?: DraftModifierDTO;
3411
+ modifier_group?: DraftModifierGroupDTO;
3412
+ brand?: DraftBrandDTO;
3413
+ changes?: DraftModifierGroupToModifierRelationshipChangeDTO[];
3414
+ [index: string]: any;
3415
+ }
3416
+ export type PatchMenuV3DraftModifierGroupRelationshipsModifierResponse = DraftModifierGroupToModifierRelationshipDTO;
3417
+ export interface PatchMenuV3DraftModifierGroupRelationshipsModifierRequest extends BaseRequest, PatchMenuV3DraftModifierGroupRelationshipsModifierPath {
3418
+ body: PatchMenuV3DraftModifierGroupRelationshipsModifierBody;
3419
+ }
3420
+ export interface DeleteMenuV3DraftModifierGroupRelationshipsModifierPath {
3421
+ id: string;
3422
+ }
3423
+ export type DeleteMenuV3DraftModifierGroupRelationshipsModifierResponse = DraftModifierGroupToModifierRelationshipDTO;
3424
+ export interface DeleteMenuV3DraftModifierGroupRelationshipsModifierRequest extends BaseRequest, DeleteMenuV3DraftModifierGroupRelationshipsModifierPath {
3425
+ }
3426
+ export interface GetMenuV3DraftModifierGroupRelationshipsModifiersQuery {
3427
+ select?: string[];
3428
+ relationships?: string[];
3429
+ filter?: any;
3430
+ limit?: number;
3431
+ page?: number;
3432
+ sort_by?: string;
3433
+ sort_order?: string;
3434
+ soft_deleted?: string;
3435
+ _query?: string;
3436
+ }
3437
+ export interface GetMenuV3DraftModifierGroupRelationshipsModifiersResponse {
3438
+ results: DraftModifierGroupToModifierRelationshipDTO[];
3439
+ meta?: ListResponseMetadataDTO;
3440
+ [index: string]: any;
3441
+ }
3442
+ export interface GetMenuV3DraftModifierGroupRelationshipsModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifierGroupRelationshipsModifiersQuery> {
3443
+ }
3444
+ export type PostMenuV3DraftModifierGroupRelationshipsModifiersBody = {
3445
+ parent?: DraftModifierGroupToModifierRelationshipDTO;
3446
+ children?: DraftModifierGroupToModifierRelationshipDTO[];
3447
+ parent_id?: string;
3448
+ modifier_id: string;
3449
+ modifier_group_id: string;
3450
+ brand_id?: string;
3451
+ sequence?: number;
3452
+ id?: any;
3453
+ modifier?: DraftModifierDTO;
3454
+ modifier_group?: DraftModifierGroupDTO;
3455
+ brand?: DraftBrandDTO;
3456
+ changes?: DraftModifierGroupToModifierRelationshipChangeDTO[];
3457
+ [index: string]: any;
3458
+ }[];
3459
+ export interface PostMenuV3DraftModifierGroupRelationshipsModifiersResponse {
3460
+ results: DraftModifierGroupToModifierRelationshipDTO[];
3461
+ meta?: ListResponseMetadataDTO;
3462
+ [index: string]: any;
3463
+ }
3464
+ export interface PostMenuV3DraftModifierGroupRelationshipsModifiersRequest extends BaseRequest {
3465
+ body: PostMenuV3DraftModifierGroupRelationshipsModifiersBody;
3466
+ }
3467
+ export interface GetMenuV3DraftModifierGroupRelationshipsModifiersCountQuery {
3468
+ filter?: any;
3469
+ _query?: string;
3470
+ }
3471
+ export interface GetMenuV3DraftModifierGroupRelationshipsModifiersCountResponse {
3472
+ count: number;
3473
+ [index: string]: any;
3474
+ }
3475
+ export interface GetMenuV3DraftModifierGroupRelationshipsModifiersCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifierGroupRelationshipsModifiersCountQuery> {
3476
+ }
3477
+ export interface PostMenuV3DraftModifierBody {
3478
+ parent_id?: string;
3479
+ parent?: DraftModifierDTO;
3480
+ children?: DraftModifierDTO[];
3481
+ name: string;
3482
+ label?: string;
3483
+ description?: string;
3484
+ price: number;
3485
+ calories?: number;
3486
+ priority?: number;
3487
+ tax_tags?: any[];
3488
+ is_active?: boolean;
3489
+ is_in_stock?: boolean;
3490
+ posid: string;
3491
+ modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
3492
+ brand_id: string;
3493
+ station_id?: string;
3494
+ id?: any;
3495
+ brand?: DraftBrandDTO;
3496
+ station?: StationDTO;
3497
+ changes?: DraftModifierChangeDTO[];
3498
+ [index: string]: any;
3499
+ }
3500
+ export type PostMenuV3DraftModifierResponse = DraftModifierDTO;
3501
+ export interface PostMenuV3DraftModifierRequest extends BaseRequest {
3502
+ body: PostMenuV3DraftModifierBody;
3503
+ }
3504
+ export interface GetMenuV3DraftModifierPath {
3505
+ id: string;
3506
+ }
3507
+ export interface GetMenuV3DraftModifierQuery {
3508
+ select?: string[];
3509
+ relationships?: string[];
3510
+ _query?: string;
3511
+ }
3512
+ export type GetMenuV3DraftModifierResponse = DraftModifierDTO;
3513
+ export interface GetMenuV3DraftModifierRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifierQuery>, GetMenuV3DraftModifierPath {
3514
+ }
3515
+ export interface PatchMenuV3DraftModifierPath {
3516
+ id: string;
3517
+ }
3518
+ export interface PatchMenuV3DraftModifierBody {
3519
+ parent_id?: string;
3520
+ parent?: DraftModifierDTO;
3521
+ children?: DraftModifierDTO[];
3522
+ name?: string;
3523
+ label?: string;
3524
+ description?: string;
3525
+ price?: number;
3526
+ calories?: number;
3527
+ priority?: number;
3528
+ tax_tags?: any[];
3529
+ is_active?: boolean;
3530
+ is_in_stock?: boolean;
3531
+ posid?: string;
3532
+ modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
3533
+ brand_id?: string;
3534
+ station_id?: string;
3535
+ id?: string;
3536
+ brand?: DraftBrandDTO;
3537
+ station?: StationDTO;
3538
+ changes?: DraftModifierChangeDTO[];
3539
+ [index: string]: any;
3540
+ }
3541
+ export type PatchMenuV3DraftModifierResponse = DraftModifierDTO;
3542
+ export interface PatchMenuV3DraftModifierRequest extends BaseRequest, PatchMenuV3DraftModifierPath {
3543
+ body: PatchMenuV3DraftModifierBody;
3544
+ }
3545
+ export interface DeleteMenuV3DraftModifierPath {
3546
+ id: string;
3547
+ }
3548
+ export type DeleteMenuV3DraftModifierResponse = DraftModifierDTO;
3549
+ export interface DeleteMenuV3DraftModifierRequest extends BaseRequest, DeleteMenuV3DraftModifierPath {
3550
+ }
3551
+ export interface GetMenuV3DraftModifiersQuery {
3552
+ select?: string[];
3553
+ relationships?: string[];
3554
+ filter?: any;
3555
+ limit?: number;
3556
+ page?: number;
3557
+ sort_by?: string;
3558
+ sort_order?: string;
3559
+ soft_deleted?: string;
3560
+ _query?: string;
3561
+ }
3562
+ export interface GetMenuV3DraftModifiersResponse {
3563
+ results: DraftModifierDTO[];
3564
+ meta?: ListResponseMetadataDTO;
3565
+ [index: string]: any;
3566
+ }
3567
+ export interface GetMenuV3DraftModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifiersQuery> {
3568
+ }
3569
+ export type PostMenuV3DraftModifiersBody = {
3570
+ parent_id?: string;
3571
+ parent?: DraftModifierDTO;
3572
+ children?: DraftModifierDTO[];
3573
+ name: string;
3574
+ label?: string;
3575
+ description?: string;
3576
+ price: number;
3577
+ calories?: number;
3578
+ priority?: number;
3579
+ tax_tags?: any[];
3580
+ is_active?: boolean;
3581
+ is_in_stock?: boolean;
3582
+ posid: string;
3583
+ modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
3584
+ brand_id: string;
3585
+ station_id?: string;
3586
+ id?: any;
3587
+ brand?: DraftBrandDTO;
3588
+ station?: StationDTO;
3589
+ changes?: DraftModifierChangeDTO[];
3590
+ [index: string]: any;
3591
+ }[];
3592
+ export interface PostMenuV3DraftModifiersResponse {
3593
+ results: DraftModifierDTO[];
3594
+ meta?: ListResponseMetadataDTO;
3595
+ [index: string]: any;
3596
+ }
3597
+ export interface PostMenuV3DraftModifiersRequest extends BaseRequest {
3598
+ body: PostMenuV3DraftModifiersBody;
1887
3599
  }
1888
- export interface GetMenuCompanyMenusQuery {
3600
+ export interface GetMenuV3DraftModifiersCountQuery {
3601
+ filter?: any;
1889
3602
  _query?: string;
1890
3603
  }
1891
- export type GetMenuCompanyMenusResponse = Menus;
1892
- export interface GetMenuCompanyMenusRequest extends BaseRequest, RequestQuery<GetMenuCompanyMenusQuery>, GetMenuCompanyMenusPath {
3604
+ export interface GetMenuV3DraftModifiersCountResponse {
3605
+ count: number;
3606
+ [index: string]: any;
1893
3607
  }
1894
- export type PostMenuModifierGroupBody = CreateOptionsGroup;
1895
- export type PostMenuModifierGroupResponse = OptionsGroup;
1896
- export interface PostMenuModifierGroupRequest extends BaseRequest {
1897
- body: PostMenuModifierGroupBody;
3608
+ export interface GetMenuV3DraftModifiersCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifiersCountQuery> {
1898
3609
  }
1899
- export interface GetMenuModifierGroupPath {
3610
+ export interface PostMenuV3DraftBrandBody {
3611
+ parent_id?: string;
3612
+ parent?: DraftBrandDTO;
3613
+ children?: DraftBrandDTO[];
3614
+ layouts?: DraftLayoutDTO[];
3615
+ items?: DraftItemDTO[];
3616
+ modifier_groups?: DraftModifierGroupDTO[];
3617
+ modifiers?: DraftModifierDTO[];
3618
+ categories?: DraftCategoryDTO[];
3619
+ modifier_group_to_modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
3620
+ item_to_modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3621
+ category_to_items?: DraftCategoryToItemRelationshipDTO[];
3622
+ id?: any;
3623
+ changes?: DraftBrandChangeDTO[];
3624
+ [index: string]: any;
3625
+ }
3626
+ export type PostMenuV3DraftBrandResponse = DraftBrandDTO;
3627
+ export interface PostMenuV3DraftBrandRequest extends BaseRequest {
3628
+ body: PostMenuV3DraftBrandBody;
3629
+ }
3630
+ export interface GetMenuV3DraftBrandPath {
1900
3631
  id: string;
1901
3632
  }
1902
- export interface GetMenuModifierGroupQuery {
3633
+ export interface GetMenuV3DraftBrandQuery {
3634
+ select?: string[];
3635
+ relationships?: string[];
1903
3636
  _query?: string;
1904
3637
  }
1905
- export type GetMenuModifierGroupResponse = OptionsGroup;
1906
- export interface GetMenuModifierGroupRequest extends BaseRequest, RequestQuery<GetMenuModifierGroupQuery>, GetMenuModifierGroupPath {
3638
+ export type GetMenuV3DraftBrandResponse = DraftBrandDTO;
3639
+ export interface GetMenuV3DraftBrandRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandQuery>, GetMenuV3DraftBrandPath {
1907
3640
  }
1908
- export interface PutMenuModifierGroupPath {
3641
+ export interface PatchMenuV3DraftBrandPath {
1909
3642
  id: string;
1910
3643
  }
1911
- export type PutMenuModifierGroupBody = OptionsGroup;
1912
- export type PutMenuModifierGroupResponse = OptionsGroup;
1913
- export interface PutMenuModifierGroupRequest extends BaseRequest, PutMenuModifierGroupPath {
1914
- body: PutMenuModifierGroupBody;
3644
+ export interface PatchMenuV3DraftBrandBody {
3645
+ parent_id?: string;
3646
+ parent?: DraftBrandDTO;
3647
+ children?: DraftBrandDTO[];
3648
+ layouts?: DraftLayoutDTO[];
3649
+ items?: DraftItemDTO[];
3650
+ modifier_groups?: DraftModifierGroupDTO[];
3651
+ modifiers?: DraftModifierDTO[];
3652
+ categories?: DraftCategoryDTO[];
3653
+ modifier_group_to_modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
3654
+ item_to_modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3655
+ category_to_items?: DraftCategoryToItemRelationshipDTO[];
3656
+ id?: string;
3657
+ changes?: DraftBrandChangeDTO[];
3658
+ [index: string]: any;
1915
3659
  }
1916
- export interface DeleteMenuModifierGroupPath {
1917
- id: string;
3660
+ export type PatchMenuV3DraftBrandResponse = DraftBrandDTO;
3661
+ export interface PatchMenuV3DraftBrandRequest extends BaseRequest, PatchMenuV3DraftBrandPath {
3662
+ body: PatchMenuV3DraftBrandBody;
1918
3663
  }
1919
- export type DeleteMenuModifierGroupResponse = Success;
1920
- export interface DeleteMenuModifierGroupRequest extends BaseRequest, DeleteMenuModifierGroupPath {
3664
+ export interface DeleteMenuV3DraftBrandPath {
3665
+ id: string;
1921
3666
  }
1922
- export interface GetMenuCompanyModifierGroupsPath {
1923
- company: string;
3667
+ export type DeleteMenuV3DraftBrandResponse = DraftBrandDTO;
3668
+ export interface DeleteMenuV3DraftBrandRequest extends BaseRequest, DeleteMenuV3DraftBrandPath {
1924
3669
  }
1925
- export interface GetMenuCompanyModifierGroupsQuery {
3670
+ export interface GetMenuV3DraftBrandsQuery {
3671
+ select?: string[];
3672
+ relationships?: string[];
3673
+ filter?: any;
3674
+ limit?: number;
3675
+ page?: number;
3676
+ sort_by?: string;
3677
+ sort_order?: string;
3678
+ soft_deleted?: string;
1926
3679
  _query?: string;
1927
3680
  }
1928
- export type GetMenuCompanyModifierGroupsResponse = OptionsGroupList;
1929
- export interface GetMenuCompanyModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuCompanyModifierGroupsQuery>, GetMenuCompanyModifierGroupsPath {
1930
- }
1931
- export interface GetMenuCompanyModifierGroupsExportPath {
1932
- company: string;
3681
+ export interface GetMenuV3DraftBrandsResponse {
3682
+ results: DraftBrandDTO[];
3683
+ meta?: ListResponseMetadataDTO;
3684
+ [index: string]: any;
1933
3685
  }
1934
- export interface GetMenuCompanyModifierGroupsExportQuery {
1935
- _query?: string;
3686
+ export interface GetMenuV3DraftBrandsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandsQuery> {
1936
3687
  }
1937
- export type GetMenuCompanyModifierGroupsExportResponse = ZippedExcelExport;
1938
- export interface GetMenuCompanyModifierGroupsExportRequest extends BaseRequest, RequestQuery<GetMenuCompanyModifierGroupsExportQuery>, GetMenuCompanyModifierGroupsExportPath {
3688
+ export type PostMenuV3DraftBrandsBody = {
3689
+ parent_id?: string;
3690
+ parent?: DraftBrandDTO;
3691
+ children?: DraftBrandDTO[];
3692
+ layouts?: DraftLayoutDTO[];
3693
+ items?: DraftItemDTO[];
3694
+ modifier_groups?: DraftModifierGroupDTO[];
3695
+ modifiers?: DraftModifierDTO[];
3696
+ categories?: DraftCategoryDTO[];
3697
+ modifier_group_to_modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
3698
+ item_to_modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3699
+ category_to_items?: DraftCategoryToItemRelationshipDTO[];
3700
+ id?: any;
3701
+ changes?: DraftBrandChangeDTO[];
3702
+ [index: string]: any;
3703
+ }[];
3704
+ export interface PostMenuV3DraftBrandsResponse {
3705
+ results: DraftBrandDTO[];
3706
+ meta?: ListResponseMetadataDTO;
3707
+ [index: string]: any;
1939
3708
  }
1940
- export interface GetMenuExportPath {
1941
- id: string;
3709
+ export interface PostMenuV3DraftBrandsRequest extends BaseRequest {
3710
+ body: PostMenuV3DraftBrandsBody;
1942
3711
  }
1943
- export interface GetMenuExportQuery {
3712
+ export interface GetMenuV3DraftBrandsCountQuery {
3713
+ filter?: any;
1944
3714
  _query?: string;
1945
3715
  }
1946
- export type GetMenuExportResponse = ZippedExcelExport;
1947
- export interface GetMenuExportRequest extends BaseRequest, RequestQuery<GetMenuExportQuery>, GetMenuExportPath {
1948
- }
1949
- export interface GetMenuPartialGroupsPath {
1950
- id: string;
1951
- }
1952
- export interface GetMenuPartialGroupsQuery {
1953
- extended?: boolean;
1954
- show_unlinked?: boolean;
1955
- _query?: string;
3716
+ export interface GetMenuV3DraftBrandsCountResponse {
3717
+ count: number;
3718
+ [index: string]: any;
1956
3719
  }
1957
- export type GetMenuPartialGroupsResponse = Menu;
1958
- export interface GetMenuPartialGroupsRequest extends BaseRequest, RequestQuery<GetMenuPartialGroupsQuery>, GetMenuPartialGroupsPath {
3720
+ export interface GetMenuV3DraftBrandsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandsCountQuery> {
1959
3721
  }
1960
- export interface GetMenuPartialGroupItemsPath {
3722
+ export interface GetMenuV3DraftBrandModifiersPath {
1961
3723
  id: string;
1962
- group_id: string;
1963
3724
  }
1964
- export interface GetMenuPartialGroupItemsQuery {
1965
- extended?: boolean;
3725
+ export interface GetMenuV3DraftBrandModifiersQuery {
3726
+ select?: string[];
3727
+ relationships?: string[];
3728
+ filter?: any;
3729
+ limit?: number;
3730
+ page?: number;
3731
+ sort_by?: string;
3732
+ sort_order?: string;
3733
+ soft_deleted?: string;
1966
3734
  _query?: string;
1967
3735
  }
1968
- export type GetMenuPartialGroupItemsResponse = Items;
1969
- export interface GetMenuPartialGroupItemsRequest extends BaseRequest, RequestQuery<GetMenuPartialGroupItemsQuery>, GetMenuPartialGroupItemsPath {
3736
+ export interface GetMenuV3DraftBrandModifiersResponse {
3737
+ results: DraftModifierDTO[];
3738
+ meta?: ListResponseMetadataDTO;
3739
+ [index: string]: any;
1970
3740
  }
1971
- export interface PostMenuPartialGroupItemOptionsPath {
3741
+ export interface GetMenuV3DraftBrandModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandModifiersQuery>, GetMenuV3DraftBrandModifiersPath {
3742
+ }
3743
+ export interface GetMenuV3DraftBrandModifierGroupsPath {
1972
3744
  id: string;
1973
- group_id: string;
1974
3745
  }
1975
- export interface PostMenuPartialGroupItemOptionsQuery {
1976
- extended?: boolean;
3746
+ export interface GetMenuV3DraftBrandModifierGroupsQuery {
3747
+ select?: string[];
3748
+ relationships?: string[];
3749
+ filter?: any;
3750
+ limit?: number;
3751
+ page?: number;
3752
+ sort_by?: string;
3753
+ sort_order?: string;
3754
+ soft_deleted?: string;
3755
+ _query?: string;
1977
3756
  }
1978
- export interface PostMenuPartialGroupItemOptionsBody {
1979
- item_id?: string[];
3757
+ export interface GetMenuV3DraftBrandModifierGroupsResponse {
3758
+ results: DraftModifierGroupDTO[];
3759
+ meta?: ListResponseMetadataDTO;
3760
+ [index: string]: any;
1980
3761
  }
1981
- export type PostMenuPartialGroupItemOptionsResponse = Items;
1982
- export interface PostMenuPartialGroupItemOptionsRequest extends BaseRequest, RequestQuery<PostMenuPartialGroupItemOptionsQuery>, PostMenuPartialGroupItemOptionsPath {
1983
- body: PostMenuPartialGroupItemOptionsBody;
3762
+ export interface GetMenuV3DraftBrandModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandModifierGroupsQuery>, GetMenuV3DraftBrandModifierGroupsPath {
1984
3763
  }
1985
- export interface PostMenuV3LayoutPublishPath {
3764
+ export interface GetMenuV3DraftBrandItemsPath {
1986
3765
  id: string;
1987
3766
  }
1988
- export interface PostMenuV3LayoutPublishQuery {
3767
+ export interface GetMenuV3DraftBrandItemsQuery {
3768
+ select?: string[];
3769
+ relationships?: string[];
1989
3770
  filter?: any;
1990
3771
  limit?: number;
1991
3772
  page?: number;
1992
3773
  sort_by?: string;
1993
3774
  sort_order?: string;
1994
3775
  soft_deleted?: string;
1995
- select?: string[];
1996
- relationships?: string[];
3776
+ _query?: string;
1997
3777
  }
1998
- export interface PostMenuV3LayoutPublishResponse {
1999
- status?: string;
3778
+ export interface GetMenuV3DraftBrandItemsResponse {
3779
+ results: DraftItemDTO[];
3780
+ meta?: ListResponseMetadataDTO;
3781
+ [index: string]: any;
2000
3782
  }
2001
- export interface PostMenuV3LayoutPublishRequest extends BaseRequest, RequestQuery<PostMenuV3LayoutPublishQuery>, PostMenuV3LayoutPublishPath {
3783
+ export interface GetMenuV3DraftBrandItemsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandItemsQuery>, GetMenuV3DraftBrandItemsPath {
2002
3784
  }
2003
- export type PostMenuV3CategorysBody = {
2004
- name: string;
2005
- label?: string;
2006
- sequence?: number;
2007
- priority?: number;
2008
- is_active?: boolean;
2009
- layout_id: string;
2010
- id?: any;
2011
- layout?: LayoutDTO;
2012
- items?: CategoryToItemRelationshipDTO[];
2013
- [index: string]: any;
2014
- }[];
2015
- export interface PostMenuV3CategorysResponse {
2016
- meta: PaginationMetaDTO;
2017
- results: CategoryDTO[];
2018
- [index: string]: any;
3785
+ export interface PostMenuV3DraftBrandPublishPath {
3786
+ id: string;
2019
3787
  }
2020
- export interface PostMenuV3CategorysRequest extends BaseRequest {
2021
- body: PostMenuV3CategorysBody;
3788
+ export interface PostMenuV3DraftBrandPublishResponse {
3789
+ status?: string;
2022
3790
  }
2023
- export interface GetMenuV3CategoryRelationshipsItemsCountQuery {
2024
- filter?: any;
2025
- _query?: string;
3791
+ export interface PostMenuV3DraftBrandPublishRequest extends BaseRequest, PostMenuV3DraftBrandPublishPath {
2026
3792
  }
2027
- export interface GetMenuV3CategoryRelationshipsItemsCountResponse {
2028
- count: number;
3793
+ export interface PostMenuV3DraftStationBody {
3794
+ layouts?: DraftLayoutDTO[];
3795
+ items?: DraftItemDTO[];
3796
+ modifier_groups?: DraftModifierGroupDTO[];
3797
+ modifiers?: DraftModifierDTO[];
3798
+ name?: string;
2029
3799
  [index: string]: any;
2030
3800
  }
2031
- export interface GetMenuV3CategoryRelationshipsItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryRelationshipsItemsCountQuery> {
3801
+ export type PostMenuV3DraftStationResponse = StationDTO;
3802
+ export interface PostMenuV3DraftStationRequest extends BaseRequest {
3803
+ body: PostMenuV3DraftStationBody;
2032
3804
  }
2033
- export interface GetMenuV3ItemRelationshipsModifierGroupsCountQuery {
2034
- filter?: any;
3805
+ export interface GetMenuV3DraftStationPath {
3806
+ id: string;
3807
+ }
3808
+ export interface GetMenuV3DraftStationQuery {
3809
+ select?: string[];
3810
+ relationships?: string[];
2035
3811
  _query?: string;
2036
3812
  }
2037
- export interface GetMenuV3ItemRelationshipsModifierGroupsCountResponse {
2038
- count: number;
3813
+ export type GetMenuV3DraftStationResponse = StationDTO;
3814
+ export interface GetMenuV3DraftStationRequest extends BaseRequest, RequestQuery<GetMenuV3DraftStationQuery>, GetMenuV3DraftStationPath {
3815
+ }
3816
+ export interface PatchMenuV3DraftStationPath {
3817
+ id: string;
3818
+ }
3819
+ export interface PatchMenuV3DraftStationBody {
3820
+ layouts?: DraftLayoutDTO[];
3821
+ items?: DraftItemDTO[];
3822
+ modifier_groups?: DraftModifierGroupDTO[];
3823
+ modifiers?: DraftModifierDTO[];
3824
+ id?: string;
3825
+ name?: string;
2039
3826
  [index: string]: any;
2040
3827
  }
2041
- export interface GetMenuV3ItemRelationshipsModifierGroupsCountRequest extends BaseRequest, RequestQuery<GetMenuV3ItemRelationshipsModifierGroupsCountQuery> {
3828
+ export type PatchMenuV3DraftStationResponse = StationDTO;
3829
+ export interface PatchMenuV3DraftStationRequest extends BaseRequest, PatchMenuV3DraftStationPath {
3830
+ body: PatchMenuV3DraftStationBody;
2042
3831
  }
2043
- export interface GetMenuV3ModifierGroupsCountQuery {
3832
+ export interface DeleteMenuV3DraftStationPath {
3833
+ id: string;
3834
+ }
3835
+ export type DeleteMenuV3DraftStationResponse = StationDTO;
3836
+ export interface DeleteMenuV3DraftStationRequest extends BaseRequest, DeleteMenuV3DraftStationPath {
3837
+ }
3838
+ export interface GetMenuV3DraftStationsQuery {
3839
+ select?: string[];
3840
+ relationships?: string[];
2044
3841
  filter?: any;
3842
+ limit?: number;
3843
+ page?: number;
3844
+ sort_by?: string;
3845
+ sort_order?: string;
3846
+ soft_deleted?: string;
2045
3847
  _query?: string;
2046
3848
  }
2047
- export interface GetMenuV3ModifierGroupsCountResponse {
2048
- count: number;
3849
+ export interface GetMenuV3DraftStationsResponse {
3850
+ results: StationDTO[];
3851
+ meta?: ListResponseMetadataDTO;
2049
3852
  [index: string]: any;
2050
3853
  }
2051
- export interface GetMenuV3ModifierGroupsCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupsCountQuery> {
2052
- }
2053
- export interface GetMenuV3ModifierGroupRelationshipsModifiersCountQuery {
2054
- filter?: any;
2055
- _query?: string;
3854
+ export interface GetMenuV3DraftStationsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftStationsQuery> {
2056
3855
  }
2057
- export interface GetMenuV3ModifierGroupRelationshipsModifiersCountResponse {
2058
- count: number;
3856
+ export type PostMenuV3DraftStationsBody = {
3857
+ layouts?: DraftLayoutDTO[];
3858
+ items?: DraftItemDTO[];
3859
+ modifier_groups?: DraftModifierGroupDTO[];
3860
+ modifiers?: DraftModifierDTO[];
3861
+ id?: any;
3862
+ name?: string;
3863
+ [index: string]: any;
3864
+ }[];
3865
+ export interface PostMenuV3DraftStationsResponse {
3866
+ results: StationDTO[];
3867
+ meta?: ListResponseMetadataDTO;
2059
3868
  [index: string]: any;
2060
3869
  }
2061
- export interface GetMenuV3ModifierGroupRelationshipsModifiersCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupRelationshipsModifiersCountQuery> {
3870
+ export interface PostMenuV3DraftStationsRequest extends BaseRequest {
3871
+ body: PostMenuV3DraftStationsBody;
2062
3872
  }
2063
- export interface GetMenuV3ModifiersCountQuery {
3873
+ export interface GetMenuV3DraftStationsCountQuery {
2064
3874
  filter?: any;
2065
3875
  _query?: string;
2066
3876
  }
2067
- export interface GetMenuV3ModifiersCountResponse {
3877
+ export interface GetMenuV3DraftStationsCountResponse {
2068
3878
  count: number;
2069
3879
  [index: string]: any;
2070
3880
  }
2071
- export interface GetMenuV3ModifiersCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifiersCountQuery> {
3881
+ export interface GetMenuV3DraftStationsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftStationsCountQuery> {
2072
3882
  }
2073
- export interface GetMenuV3StationModifiersPath {
3883
+ export interface GetMenuV3DraftStationModifiersPath {
2074
3884
  id: string;
2075
3885
  }
2076
- export interface GetMenuV3StationModifiersQuery {
3886
+ export interface GetMenuV3DraftStationModifiersQuery {
3887
+ select?: string[];
3888
+ relationships?: string[];
2077
3889
  filter?: any;
2078
3890
  limit?: number;
2079
3891
  page?: number;
2080
3892
  sort_by?: string;
2081
3893
  sort_order?: string;
2082
3894
  soft_deleted?: string;
2083
- select?: string[];
2084
- relationships?: string[];
2085
3895
  _query?: string;
2086
3896
  }
2087
- export interface GetMenuV3StationModifiersResponse {
2088
- meta: PaginationMetaDTO;
2089
- results: ModifierEntityDTO[];
3897
+ export interface GetMenuV3DraftStationModifiersResponse {
3898
+ results: DraftModifierDTO[];
3899
+ meta?: ListResponseMetadataDTO;
2090
3900
  [index: string]: any;
2091
3901
  }
2092
- export interface GetMenuV3StationModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3StationModifiersQuery>, GetMenuV3StationModifiersPath {
3902
+ export interface GetMenuV3DraftStationModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3DraftStationModifiersQuery>, GetMenuV3DraftStationModifiersPath {
2093
3903
  }
2094
- export interface GetMenuV3StationModifierGroupsPath {
3904
+ export interface GetMenuV3DraftStationModifierGroupsPath {
2095
3905
  id: string;
2096
3906
  }
2097
- export interface GetMenuV3StationModifierGroupsQuery {
3907
+ export interface GetMenuV3DraftStationModifierGroupsQuery {
3908
+ select?: string[];
3909
+ relationships?: string[];
2098
3910
  filter?: any;
2099
3911
  limit?: number;
2100
3912
  page?: number;
2101
3913
  sort_by?: string;
2102
3914
  sort_order?: string;
2103
3915
  soft_deleted?: string;
2104
- select?: string[];
2105
- relationships?: string[];
2106
3916
  _query?: string;
2107
3917
  }
2108
- export interface GetMenuV3StationModifierGroupsResponse {
2109
- meta: PaginationMetaDTO;
2110
- results: ModifierGroupEntityDTO[];
3918
+ export interface GetMenuV3DraftStationModifierGroupsResponse {
3919
+ results: DraftModifierGroupDTO[];
3920
+ meta?: ListResponseMetadataDTO;
2111
3921
  [index: string]: any;
2112
3922
  }
2113
- export interface GetMenuV3StationModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3StationModifierGroupsQuery>, GetMenuV3StationModifierGroupsPath {
3923
+ export interface GetMenuV3DraftStationModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftStationModifierGroupsQuery>, GetMenuV3DraftStationModifierGroupsPath {
2114
3924
  }
2115
- export interface GetMenuV3StationItemsPath {
3925
+ export interface GetMenuV3DraftStationItemsPath {
2116
3926
  id: string;
2117
3927
  }
2118
- export interface GetMenuV3StationItemsQuery {
3928
+ export interface GetMenuV3DraftStationItemsQuery {
3929
+ select?: string[];
3930
+ relationships?: string[];
2119
3931
  filter?: any;
2120
3932
  limit?: number;
2121
3933
  page?: number;
2122
3934
  sort_by?: string;
2123
3935
  sort_order?: string;
2124
3936
  soft_deleted?: string;
2125
- select?: string[];
2126
- relationships?: string[];
2127
3937
  _query?: string;
2128
3938
  }
2129
- export interface GetMenuV3StationItemsResponse {
2130
- meta: PaginationMetaDTO;
2131
- results: ItemEntityDTO[];
3939
+ export interface GetMenuV3DraftStationItemsResponse {
3940
+ results: DraftItemDTO[];
3941
+ meta?: ListResponseMetadataDTO;
2132
3942
  [index: string]: any;
2133
3943
  }
2134
- export interface GetMenuV3StationItemsRequest extends BaseRequest, RequestQuery<GetMenuV3StationItemsQuery>, GetMenuV3StationItemsPath {
3944
+ export interface GetMenuV3DraftStationItemsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftStationItemsQuery>, GetMenuV3DraftStationItemsPath {
2135
3945
  }
2136
- export interface GetMenuV3SiteLayoutsPath {
3946
+ export interface GetMenuV3DraftSiteLayoutsPath {
2137
3947
  id: string;
2138
3948
  }
2139
- export interface GetMenuV3SiteLayoutsQuery {
3949
+ export interface GetMenuV3DraftSiteLayoutsQuery {
3950
+ select?: string[];
3951
+ relationships?: string[];
2140
3952
  filter?: any;
2141
3953
  limit?: number;
2142
3954
  page?: number;
2143
3955
  sort_by?: string;
2144
3956
  sort_order?: string;
2145
3957
  soft_deleted?: string;
2146
- select?: string[];
2147
- relationships?: string[];
2148
3958
  _query?: string;
2149
3959
  }
2150
- export interface GetMenuV3SiteLayoutsResponse {
2151
- meta: PaginationMetaDTO;
2152
- results: LayoutDTO[];
3960
+ export interface GetMenuV3DraftSiteLayoutsResponse {
3961
+ results: DraftLayoutDTO[];
3962
+ meta?: ListResponseMetadataDTO;
2153
3963
  [index: string]: any;
2154
3964
  }
2155
- export interface GetMenuV3SiteLayoutsRequest extends BaseRequest, RequestQuery<GetMenuV3SiteLayoutsQuery>, GetMenuV3SiteLayoutsPath {
3965
+ export interface GetMenuV3DraftSiteLayoutsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftSiteLayoutsQuery>, GetMenuV3DraftSiteLayoutsPath {
3966
+ }
3967
+ export interface GetMenuV3CategorysCountQuery {
3968
+ filter?: any;
3969
+ _query?: string;
3970
+ }
3971
+ export interface GetMenuV3CategorysCountResponse {
3972
+ count: number;
3973
+ [index: string]: any;
3974
+ }
3975
+ export interface GetMenuV3CategorysCountRequest extends BaseRequest, RequestQuery<GetMenuV3CategorysCountQuery> {
3976
+ }
3977
+ export interface PostMenuV3BrandLocalPath {
3978
+ id: string;
3979
+ }
3980
+ export interface PostMenuV3BrandLocalResponse {
3981
+ parent_id?: string;
3982
+ parent?: DraftBrandDTO;
3983
+ children?: DraftBrandDTO[];
3984
+ layouts?: DraftLayoutDTO[];
3985
+ items?: DraftItemDTO[];
3986
+ modifier_groups?: DraftModifierGroupDTO[];
3987
+ modifiers?: DraftModifierDTO[];
3988
+ categories?: DraftCategoryDTO[];
3989
+ modifier_group_to_modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
3990
+ item_to_modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3991
+ category_to_items?: DraftCategoryToItemRelationshipDTO[];
3992
+ id?: string;
3993
+ created_at?: string;
3994
+ updated_at?: string;
3995
+ deleted_at?: string;
3996
+ version?: number;
3997
+ changes?: DraftBrandChangeDTO[];
3998
+ [index: string]: any;
3999
+ }
4000
+ export interface PostMenuV3BrandLocalRequest extends BaseRequest, PostMenuV3BrandLocalPath {
2156
4001
  }
2157
4002
  //# sourceMappingURL=menu.d.ts.map