@compassdigital/sdk.typescript 3.50.0 → 3.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/.editorconfig +0 -1
  2. package/lib/index.d.ts +885 -295
  3. package/lib/index.d.ts.map +1 -1
  4. package/lib/index.js +958 -316
  5. package/lib/index.js.map +1 -1
  6. package/lib/interface/announcement.d.ts +1 -0
  7. package/lib/interface/announcement.d.ts.map +1 -1
  8. package/lib/interface/calendar.d.ts +1 -0
  9. package/lib/interface/calendar.d.ts.map +1 -1
  10. package/lib/interface/compassconnect.d.ts +1 -0
  11. package/lib/interface/compassconnect.d.ts.map +1 -1
  12. package/lib/interface/config.d.ts +1 -0
  13. package/lib/interface/config.d.ts.map +1 -1
  14. package/lib/interface/datalake.d.ts +1 -0
  15. package/lib/interface/datalake.d.ts.map +1 -1
  16. package/lib/interface/delivery.d.ts +19 -0
  17. package/lib/interface/delivery.d.ts.map +1 -1
  18. package/lib/interface/email.d.ts +1 -0
  19. package/lib/interface/email.d.ts.map +1 -1
  20. package/lib/interface/file.d.ts +1 -0
  21. package/lib/interface/file.d.ts.map +1 -1
  22. package/lib/interface/kds.d.ts +1 -0
  23. package/lib/interface/kds.d.ts.map +1 -1
  24. package/lib/interface/location.d.ts +1 -0
  25. package/lib/interface/location.d.ts.map +1 -1
  26. package/lib/interface/mealplan.d.ts +1 -0
  27. package/lib/interface/mealplan.d.ts.map +1 -1
  28. package/lib/interface/menu.d.ts +3289 -802
  29. package/lib/interface/menu.d.ts.map +1 -1
  30. package/lib/interface/notification.d.ts +1 -0
  31. package/lib/interface/notification.d.ts.map +1 -1
  32. package/lib/interface/order.d.ts +1 -0
  33. package/lib/interface/order.d.ts.map +1 -1
  34. package/lib/interface/partner.d.ts +20 -1
  35. package/lib/interface/partner.d.ts.map +1 -1
  36. package/lib/interface/payment.d.ts +21 -18
  37. package/lib/interface/payment.d.ts.map +1 -1
  38. package/lib/interface/permission.d.ts +1 -0
  39. package/lib/interface/permission.d.ts.map +1 -1
  40. package/lib/interface/promo.d.ts +1 -0
  41. package/lib/interface/promo.d.ts.map +1 -1
  42. package/lib/interface/report.d.ts +20 -0
  43. package/lib/interface/report.d.ts.map +1 -1
  44. package/lib/interface/shoppingcart.d.ts +13 -4
  45. package/lib/interface/shoppingcart.d.ts.map +1 -1
  46. package/lib/interface/task.d.ts +1 -0
  47. package/lib/interface/task.d.ts.map +1 -1
  48. package/lib/interface/user.d.ts +1 -0
  49. package/lib/interface/user.d.ts.map +1 -1
  50. package/lib/interface/vendor.d.ts +1 -0
  51. package/lib/interface/vendor.d.ts.map +1 -1
  52. package/manifest.json +39 -39
  53. package/package.json +3 -3
  54. package/src/index.ts +2291 -613
  55. package/src/interface/announcement.ts +1 -0
  56. package/src/interface/calendar.ts +1 -0
  57. package/src/interface/compassconnect.ts +1 -0
  58. package/src/interface/config.ts +1 -0
  59. package/src/interface/datalake.ts +1 -0
  60. package/src/interface/delivery.ts +28 -0
  61. package/src/interface/email.ts +1 -0
  62. package/src/interface/file.ts +1 -0
  63. package/src/interface/kds.ts +1 -0
  64. package/src/interface/location.ts +1 -0
  65. package/src/interface/mealplan.ts +1 -0
  66. package/src/interface/menu.ts +4281 -1043
  67. package/src/interface/notification.ts +1 -0
  68. package/src/interface/order.ts +1 -0
  69. package/src/interface/partner.ts +35 -2
  70. package/src/interface/payment.ts +28 -23
  71. package/src/interface/permission.ts +1 -0
  72. package/src/interface/promo.ts +1 -0
  73. package/src/interface/report.ts +37 -0
  74. package/src/interface/shoppingcart.ts +14 -4
  75. package/src/interface/task.ts +1 -0
  76. package/src/interface/user.ts +1 -0
  77. package/src/interface/vendor.ts +1 -0
@@ -429,6 +429,7 @@ export interface Success {
429
429
  export interface Error {
430
430
  error?: string;
431
431
  code?: number;
432
+ data?: any;
432
433
  }
433
434
  export type AmountOffExclusionTypes = string;
434
435
  export interface Menus {
@@ -455,20 +456,23 @@ export interface CategoryDTO {
455
456
  priority?: number;
456
457
  is_active?: boolean;
457
458
  layout_id?: string;
459
+ brand_id?: string;
458
460
  id?: string;
459
461
  [index: string]: any;
460
462
  }
461
463
  export interface LayoutDTO {
462
- name: string;
463
464
  categories?: CategoryDTO[];
464
- brand_id: string;
465
- station_id: string;
466
465
  id?: string;
467
466
  created_at?: string;
468
467
  updated_at?: string;
469
468
  deleted_at?: string;
469
+ name: string;
470
+ brand_id: string;
471
+ station_id?: string;
472
+ version?: number;
470
473
  brand?: BrandDTO;
471
474
  station?: StationDTO;
475
+ changes?: LayoutChangeDTO[];
472
476
  [index: string]: any;
473
477
  }
474
478
  export interface BrandDTO {
@@ -486,17 +490,27 @@ export interface ItemDTO {
486
490
  is_active?: boolean;
487
491
  is_in_stock?: boolean;
488
492
  posid?: string;
489
- tax_tags?: string[];
493
+ tax_tags?: FilterFieldDTO[];
494
+ modifier_groups?: ItemToModifierGroupRelationshipDTO[];
490
495
  brand_id?: string;
491
496
  station_id?: string;
492
497
  id?: string;
498
+ categories?: any[];
499
+ brand?: BrandDTO;
500
+ station?: StationDTO;
501
+ changes?: ItemChangeDTO[];
493
502
  [index: string]: any;
494
503
  }
495
504
  export interface ItemToModifierGroupRelationshipDTO {
505
+ id?: string;
496
506
  modifier_group_id?: string;
497
507
  item_id?: string;
508
+ brand_id?: FilterFieldDTO;
498
509
  sequence?: number;
499
- id?: string;
510
+ modifier_group?: ModifierGroupDTO;
511
+ item?: any;
512
+ brand?: BrandDTO;
513
+ changes?: ItemToModifierGroupRelationshipChangeDTO[];
500
514
  [index: string]: any;
501
515
  }
502
516
  export interface ModifierGroupDTO {
@@ -506,16 +520,26 @@ export interface ModifierGroupDTO {
506
520
  max?: number;
507
521
  is_active?: boolean;
508
522
  priority?: number;
523
+ modifiers?: ModifierGroupToModifierRelationshipDTO[];
524
+ items?: any[];
509
525
  brand_id?: string;
510
526
  station_id?: string;
511
527
  id?: string;
528
+ brand?: BrandDTO;
529
+ station?: StationDTO;
530
+ changes?: ModifierGroupChangeDTO[];
512
531
  [index: string]: any;
513
532
  }
514
533
  export interface ModifierGroupToModifierRelationshipDTO {
534
+ id?: string;
515
535
  modifier_id?: string;
516
536
  modifier_group_id?: string;
537
+ brand_id?: FilterFieldDTO;
517
538
  sequence?: number;
518
- id?: string;
539
+ modifier?: ModifierDTO;
540
+ modifier_group?: any;
541
+ brand?: BrandDTO;
542
+ changes?: ModifierGroupToModifierRelationshipChangeDTO[];
519
543
  [index: string]: any;
520
544
  }
521
545
  export interface ModifierDTO {
@@ -525,13 +549,17 @@ export interface ModifierDTO {
525
549
  price?: number;
526
550
  calories?: number;
527
551
  priority?: number;
528
- tax_tags?: string[];
552
+ tax_tags?: FilterFieldDTO[];
529
553
  is_active?: boolean;
530
554
  is_in_stock?: boolean;
531
555
  posid?: string;
556
+ modifier_groups?: any[];
532
557
  brand_id?: string;
533
558
  station_id?: string;
534
559
  id?: string;
560
+ brand?: BrandDTO;
561
+ station?: StationDTO;
562
+ changes?: ModifierChangeDTO[];
535
563
  [index: string]: any;
536
564
  }
537
565
  export interface StationDTO {
@@ -540,10 +568,15 @@ export interface StationDTO {
540
568
  [index: string]: any;
541
569
  }
542
570
  export interface CategoryToItemRelationshipDTO {
571
+ id?: string;
543
572
  category_id?: string;
544
573
  item_id?: string;
574
+ brand_id?: FilterFieldDTO;
545
575
  sequence?: number;
546
- id?: string;
576
+ category?: CategoryCategoryDTO;
577
+ item?: ItemDTO;
578
+ brand?: BrandDTO;
579
+ changes?: CategoryToItemRelationshipChangeDTO[];
547
580
  [index: string]: any;
548
581
  }
549
582
  export interface InvalidInputErrorDTO {
@@ -567,16 +600,16 @@ export interface NotFoundErrorDTO {
567
600
  [index: string]: any;
568
601
  }
569
602
  export interface FilterFieldDTO {
570
- $equals?: string;
571
- $more_than?: string;
572
- $more_than_or_equal?: string;
573
- $less_than?: string;
574
- $less_than_or_equal?: string;
575
- $between?: string[];
576
- $not?: string;
577
- $in?: string[];
578
- $array_contains?: string[];
579
- $contains?: string;
603
+ $equals?: any;
604
+ $more_than?: any;
605
+ $more_than_or_equal?: any;
606
+ $less_than?: any;
607
+ $less_than_or_equal?: any;
608
+ $between?: any[];
609
+ $not?: any;
610
+ $in?: any[];
611
+ $array_contains?: any[];
612
+ $contains?: any;
580
613
  }
581
614
  export interface PaginationParamsDTO {
582
615
  limit?: number;
@@ -669,997 +702,1897 @@ export interface ItemEntityDTO {
669
702
  station?: StationDTO;
670
703
  [index: string]: any;
671
704
  }
672
- export interface GetMenuV3ModifiersQuery {
673
- filter?: any;
705
+ export interface LayoutChangeDTO {
706
+ id?: string;
707
+ insert?: string;
708
+ delete?: string;
709
+ snapshot_entity_id?: string;
710
+ [index: string]: any;
711
+ }
712
+ export interface GetOneOptionsDTO {
713
+ select?: string[];
714
+ relationships?: string[];
715
+ [index: string]: any;
716
+ }
717
+ export interface PaginationOptionsDTO {
674
718
  limit?: number;
675
719
  page?: number;
676
720
  sort_by?: string;
677
721
  sort_order?: string;
678
722
  soft_deleted?: string;
679
- select?: string[];
680
- relationships?: string[];
681
- _query?: string;
682
- }
683
- export interface GetMenuV3ModifiersResponse {
684
- meta: PaginationMetaDTO;
685
- results: ModifierDTO[];
686
723
  [index: string]: any;
687
724
  }
688
- export interface GetMenuV3ModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3ModifiersQuery> {
725
+ export interface ListResponseMetadataDTO {
726
+ total_results?: number;
727
+ total_pages?: number;
728
+ result_count?: number;
729
+ limit?: number;
730
+ page?: number;
731
+ sort_by?: string;
732
+ sort_order?: string;
733
+ soft_deleted?: string;
734
+ [index: string]: any;
689
735
  }
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;
736
+ export interface CategoryCategoryDTO {
737
+ name?: FilterFieldDTO;
738
+ label?: FilterFieldDTO;
739
+ sequence?: FilterFieldDTO;
740
+ priority?: FilterFieldDTO;
741
+ is_active?: FilterFieldDTO;
742
+ layout_id?: FilterFieldDTO;
743
+ brand_id?: FilterFieldDTO;
744
+ id?: FilterFieldDTO;
745
+ version?: FilterFieldDTO;
746
+ created_at?: FilterFieldDTO;
747
+ updated_at?: FilterFieldDTO;
748
+ deleted_at?: FilterFieldDTO;
749
+ layout?: LayoutDTO;
750
+ items?: any[];
705
751
  brand?: BrandDTO;
706
- station?: StationDTO;
752
+ changes?: CategoryChangeDTO[];
707
753
  [index: string]: any;
708
- }[];
709
- export interface PostMenuV3ModifiersResponse {
710
- meta: PaginationMetaDTO;
711
- results: ModifierDTO[];
754
+ }
755
+ export interface CategoryChangeDTO {
756
+ id?: string;
757
+ insert?: FilterFieldDTO;
758
+ delete?: FilterFieldDTO;
759
+ snapshot_entity_id?: FilterFieldDTO;
760
+ snapshot_entity?: any;
712
761
  [index: string]: any;
713
762
  }
714
- export interface PostMenuV3ModifiersRequest extends BaseRequest {
715
- body: PostMenuV3ModifiersBody;
763
+ export interface ModifierChangeDTO {
764
+ id?: string;
765
+ insert?: FilterFieldDTO;
766
+ delete?: FilterFieldDTO;
767
+ snapshot_entity_id?: FilterFieldDTO;
768
+ snapshot_entity?: any;
769
+ [index: string]: any;
716
770
  }
717
- export interface GetMenuV3ModifierPath {
718
- id: string;
771
+ export interface ModifierGroupToModifierRelationshipChangeDTO {
772
+ id?: string;
773
+ insert?: FilterFieldDTO;
774
+ delete?: FilterFieldDTO;
775
+ snapshot_entity_id?: FilterFieldDTO;
776
+ snapshot_entity?: any;
777
+ [index: string]: any;
719
778
  }
720
- export interface GetMenuV3ModifierQuery {
721
- select?: string[];
722
- relationships?: string[];
723
- _query?: string;
779
+ export interface ModifierGroupChangeDTO {
780
+ id?: string;
781
+ insert?: FilterFieldDTO;
782
+ delete?: FilterFieldDTO;
783
+ snapshot_entity_id?: FilterFieldDTO;
784
+ snapshot_entity?: any;
785
+ [index: string]: any;
724
786
  }
725
- export type GetMenuV3ModifierResponse = ModifierDTO;
726
- export interface GetMenuV3ModifierRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierQuery>, GetMenuV3ModifierPath {
787
+ export interface ItemToModifierGroupRelationshipChangeDTO {
788
+ id?: string;
789
+ insert?: FilterFieldDTO;
790
+ delete?: FilterFieldDTO;
791
+ snapshot_entity_id?: FilterFieldDTO;
792
+ snapshot_entity?: any;
793
+ [index: string]: any;
727
794
  }
728
- export interface PatchMenuV3ModifierPath {
729
- id: string;
795
+ export interface ItemChangeDTO {
796
+ id?: string;
797
+ insert?: FilterFieldDTO;
798
+ delete?: FilterFieldDTO;
799
+ snapshot_entity_id?: FilterFieldDTO;
800
+ snapshot_entity?: any;
801
+ [index: string]: any;
802
+ }
803
+ export interface CategoryToItemRelationshipChangeDTO {
804
+ id?: string;
805
+ insert?: FilterFieldDTO;
806
+ delete?: FilterFieldDTO;
807
+ snapshot_entity_id?: FilterFieldDTO;
808
+ snapshot_entity?: any;
809
+ [index: string]: any;
810
+ }
811
+ export interface BrandChangeDTO {
812
+ id?: string;
813
+ insert?: string;
814
+ delete?: string;
815
+ snapshot_entity_id?: string;
816
+ [index: string]: any;
817
+ }
818
+ export interface PublishedLayoutDTO {
819
+ id?: string;
820
+ parent_id?: string;
821
+ name?: string;
822
+ brand_id?: string;
823
+ station_id?: string;
824
+ [index: string]: any;
730
825
  }
731
- export interface PatchMenuV3ModifierBody {
826
+ export interface PublishedItemDTO {
827
+ id?: string;
828
+ parent_id?: string;
732
829
  name?: string;
733
830
  label?: string;
734
831
  description?: string;
735
832
  price?: number;
833
+ barcode?: string;
736
834
  calories?: number;
737
835
  priority?: number;
738
- tax_tags?: string[];
739
836
  is_active?: boolean;
740
837
  is_in_stock?: boolean;
741
838
  posid?: string;
742
- modifier_groups?: ModifierGroupToModifierRelationshipDTO[];
839
+ tax_tags?: any[];
743
840
  brand_id?: string;
744
841
  station_id?: string;
745
- id?: string;
746
- brand?: BrandDTO;
747
- station?: StationDTO;
748
842
  [index: string]: any;
749
843
  }
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 {
844
+ export interface PublishedModifierGroupDTO {
845
+ id?: string;
846
+ parent_id?: string;
847
+ name?: string;
848
+ label?: string;
849
+ min?: number;
850
+ max?: number;
851
+ is_active?: boolean;
852
+ priority?: number;
853
+ brand_id?: string;
854
+ station_id?: string;
855
+ [index: string]: any;
759
856
  }
760
- export interface PostMenuV3ModifierBody {
761
- name: string;
857
+ export interface PublishedModifierDTO {
858
+ id?: string;
859
+ parent_id?: string;
860
+ name?: string;
762
861
  label?: string;
763
862
  description?: string;
764
- price: number;
863
+ price?: number;
765
864
  calories?: number;
766
865
  priority?: number;
767
- tax_tags?: string[];
866
+ tax_tags?: any[];
768
867
  is_active?: boolean;
769
868
  is_in_stock?: boolean;
770
- posid: string;
771
- modifier_groups?: ModifierGroupToModifierRelationshipDTO[];
772
- brand_id: string;
869
+ posid?: string;
870
+ brand_id?: string;
773
871
  station_id?: string;
774
- brand?: BrandDTO;
775
- station?: StationDTO;
776
872
  [index: string]: any;
777
873
  }
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> {
874
+ export interface PublishedCategoryDTO {
875
+ id?: string;
876
+ parent_id?: string;
877
+ name?: string;
878
+ label?: string;
879
+ sequence?: number;
880
+ priority?: number;
881
+ is_active?: boolean;
882
+ layout_id?: string;
883
+ brand_id?: string;
884
+ [index: string]: any;
789
885
  }
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;
886
+ export interface PublishedModifierGroupToModifierRelationshipDTO {
887
+ id?: string;
888
+ parent_id?: string;
889
+ modifier_id?: string;
890
+ modifier_group_id?: string;
891
+ brand_id?: string;
892
+ sequence?: number;
893
+ [index: string]: any;
800
894
  }
801
- export interface GetMenuV3ModifierGroupsResponse {
802
- meta: PaginationMetaDTO;
803
- results: ModifierGroupDTO[];
895
+ export interface PublishedItemToModifierGroupRelationshipDTO {
896
+ id?: string;
897
+ parent_id?: string;
898
+ modifier_group_id?: string;
899
+ item_id?: string;
900
+ brand_id?: string;
901
+ sequence?: number;
804
902
  [index: string]: any;
805
903
  }
806
- export interface GetMenuV3ModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupsQuery> {
904
+ export interface PublishedCategoryToItemRelationshipDTO {
905
+ id?: string;
906
+ parent_id?: string;
907
+ category_id?: string;
908
+ item_id?: string;
909
+ brand_id?: string;
910
+ sequence?: number;
911
+ [index: string]: any;
807
912
  }
808
- export type PostMenuV3ModifierGroupsBody = {
809
- name: string;
810
- label?: string;
811
- min?: number;
812
- max?: number;
913
+ export interface PublishedBrandDTO {
914
+ id?: string;
915
+ name?: string;
916
+ description?: string;
813
917
  is_active?: boolean;
814
- priority?: number;
815
- modifiers?: ModifierGroupToModifierRelationshipDTO[];
816
- items?: ItemToModifierGroupRelationshipDTO[];
817
- brand_id: string;
818
- station_id?: string;
819
- id?: any;
820
- brand?: BrandDTO;
821
- station?: StationDTO;
822
- [index: string]: any;
823
- }[];
824
- export interface PostMenuV3ModifierGroupsResponse {
825
- meta: PaginationMetaDTO;
826
- results: ModifierGroupDTO[];
918
+ parent_id?: string;
919
+ brand_group_id?: string;
827
920
  [index: string]: any;
828
921
  }
829
- export interface PostMenuV3ModifierGroupsRequest extends BaseRequest {
830
- body: PostMenuV3ModifierGroupsBody;
831
- }
832
- export interface PostMenuV3ModifierGroupBody {
922
+ export interface DraftLayoutDTO {
923
+ parent?: any;
924
+ children?: any[];
925
+ categories?: DraftCategoryDTO[];
926
+ parent_id?: string;
833
927
  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
928
  brand_id: string;
929
+ id?: any;
842
930
  station_id?: string;
843
- brand?: BrandDTO;
931
+ brand?: DraftBrandDTO;
932
+ changes?: DraftLayoutChangeDTO[];
844
933
  station?: StationDTO;
845
934
  [index: string]: any;
846
935
  }
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 {
936
+ export interface DraftCategoryDTO {
937
+ parent_id?: string;
866
938
  name?: string;
867
939
  label?: string;
868
- min?: number;
869
- max?: number;
870
- is_active?: boolean;
940
+ sequence?: number;
871
941
  priority?: number;
872
- modifiers?: ModifierGroupToModifierRelationshipDTO[];
873
- items?: ItemToModifierGroupRelationshipDTO[];
942
+ is_active?: boolean;
943
+ layout_id?: string;
874
944
  brand_id?: string;
875
- station_id?: string;
876
945
  id?: string;
877
- brand?: BrandDTO;
878
- station?: StationDTO;
879
946
  [index: string]: any;
880
947
  }
881
- export type PatchMenuV3ModifierGroupResponse = ModifierGroupDTO;
882
- export interface PatchMenuV3ModifierGroupRequest extends BaseRequest, PatchMenuV3ModifierGroupPath {
883
- body: PatchMenuV3ModifierGroupBody;
884
- }
885
- export interface DeleteMenuV3ModifierGroupPath {
886
- id: string;
887
- }
888
- export type DeleteMenuV3ModifierGroupResponse = ModifierGroupDTO;
889
- export interface DeleteMenuV3ModifierGroupRequest extends BaseRequest, DeleteMenuV3ModifierGroupPath {
890
- }
891
- export interface GetMenuV3ModifierGroupCountQuery {
892
- _query?: string;
893
- }
894
- export interface GetMenuV3ModifierGroupCountResponse {
895
- count?: number;
896
- }
897
- export interface GetMenuV3ModifierGroupCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupCountQuery> {
898
- }
899
- export interface GetMenuV3ModifierGroupRelationshipsModifiersQuery {
900
- filter?: any;
901
- limit?: number;
902
- page?: number;
903
- sort_by?: string;
904
- sort_order?: string;
905
- soft_deleted?: string;
906
- select?: string[];
907
- relationships?: string[];
908
- _query?: string;
909
- }
910
- export interface GetMenuV3ModifierGroupRelationshipsModifiersResponse {
911
- meta: PaginationMetaDTO;
912
- results: ModifierGroupToModifierRelationshipDTO[];
948
+ export interface DraftBrandDTO {
949
+ id?: string;
950
+ name?: string;
951
+ description?: string;
952
+ is_active?: boolean;
953
+ parent_id?: string;
954
+ brand_group_id?: string;
913
955
  [index: string]: any;
914
956
  }
915
- export interface GetMenuV3ModifierGroupRelationshipsModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupRelationshipsModifiersQuery> {
957
+ export interface DraftLayoutChangeDTO {
958
+ id?: string;
959
+ insert?: string;
960
+ delete?: string;
961
+ snapshot_entity_id?: string;
962
+ [index: string]: any;
916
963
  }
917
- export type PostMenuV3ModifierGroupRelationshipsModifiersBody = {
918
- modifier_id: string;
919
- modifier_group_id: string;
920
- sequence?: number;
964
+ export interface DraftLayoutDraftLayoutDTO {
965
+ parent_id?: any;
966
+ name?: any;
967
+ brand_id?: any;
968
+ station_id?: any;
921
969
  id?: any;
922
- modifier?: ModifierDTO;
923
- modifier_group?: ModifierGroupDTO;
924
- [index: string]: any;
925
- }[];
926
- export interface PostMenuV3ModifierGroupRelationshipsModifiersResponse {
927
- meta: PaginationMetaDTO;
928
- results: ModifierGroupToModifierRelationshipDTO[];
970
+ version?: any;
971
+ created_at?: any;
972
+ updated_at?: any;
973
+ deleted_at?: any;
974
+ parent?: any;
975
+ children?: any[];
976
+ categories?: DraftCategoryDTO[];
977
+ brand?: DraftBrandDTO;
978
+ station?: StationDTO;
979
+ changes?: DraftLayoutChangeDTO[];
929
980
  [index: string]: any;
930
981
  }
931
- export interface PostMenuV3ModifierGroupRelationshipsModifiersRequest extends BaseRequest {
932
- body: PostMenuV3ModifierGroupRelationshipsModifiersBody;
933
- }
934
- export interface PostMenuV3ModifierGroupRelationshipsModifierBody {
935
- modifier_id: string;
936
- modifier_group_id: string;
937
- sequence?: number;
938
- modifier?: ModifierDTO;
939
- modifier_group?: ModifierGroupDTO;
982
+ export interface DraftCategoryDraftCategoryDTO {
983
+ parent_id?: FilterFieldDTO;
984
+ name?: FilterFieldDTO;
985
+ label?: FilterFieldDTO;
986
+ sequence?: FilterFieldDTO;
987
+ priority?: FilterFieldDTO;
988
+ is_active?: FilterFieldDTO;
989
+ layout_id?: FilterFieldDTO;
990
+ brand_id?: FilterFieldDTO;
991
+ id?: FilterFieldDTO;
992
+ version?: FilterFieldDTO;
993
+ created_at?: FilterFieldDTO;
994
+ updated_at?: FilterFieldDTO;
995
+ deleted_at?: FilterFieldDTO;
996
+ parent?: any;
997
+ children?: any[];
998
+ layout?: DraftLayoutDTO;
999
+ items?: DraftCategoryToItemRelationshipDTO[];
1000
+ brand?: DraftBrandDTO;
1001
+ changes?: DraftCategoryChangeDTO[];
940
1002
  [index: string]: any;
941
1003
  }
942
- export type PostMenuV3ModifierGroupRelationshipsModifierResponse = ModifierGroupToModifierRelationshipDTO;
943
- export interface PostMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest {
944
- body: PostMenuV3ModifierGroupRelationshipsModifierBody;
945
- }
946
- export interface GetMenuV3ModifierGroupRelationshipsModifierPath {
947
- id: string;
948
- }
949
- export interface GetMenuV3ModifierGroupRelationshipsModifierQuery {
950
- select?: string[];
951
- relationships?: string[];
952
- _query?: string;
953
- }
954
- export type GetMenuV3ModifierGroupRelationshipsModifierResponse = ModifierGroupToModifierRelationshipDTO;
955
- export interface GetMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupRelationshipsModifierQuery>, GetMenuV3ModifierGroupRelationshipsModifierPath {
956
- }
957
- export interface PatchMenuV3ModifierGroupRelationshipsModifierPath {
958
- id: string;
959
- }
960
- export interface PatchMenuV3ModifierGroupRelationshipsModifierBody {
961
- modifier_id?: string;
962
- modifier_group_id?: string;
963
- sequence?: number;
1004
+ export interface DraftCategoryToItemRelationshipDTO {
1005
+ parent?: any;
1006
+ children?: any[];
964
1007
  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
- export interface GetMenuV3ItemsQuery {
980
- filter?: any;
981
- limit?: number;
982
- page?: number;
983
- sort_by?: string;
984
- sort_order?: string;
985
- soft_deleted?: string;
986
- select?: string[];
987
- relationships?: string[];
988
- _query?: string;
989
- }
990
- export interface GetMenuV3ItemsResponse {
991
- meta: PaginationMetaDTO;
992
- results: ItemDTO[];
1008
+ parent_id?: string;
1009
+ category_id?: string;
1010
+ item_id?: string;
1011
+ brand_id?: FilterFieldDTO;
1012
+ sequence?: number;
1013
+ category?: any;
1014
+ item?: DraftItemDTO;
1015
+ brand?: DraftBrandDTO;
1016
+ changes?: DraftCategoryToItemRelationshipChangeDTO[];
993
1017
  [index: string]: any;
994
1018
  }
995
- export interface GetMenuV3ItemsRequest extends BaseRequest, RequestQuery<GetMenuV3ItemsQuery> {
996
- }
997
- export type PostMenuV3ItemsBody = {
998
- name: string;
1019
+ export interface DraftItemDTO {
1020
+ parent?: any;
1021
+ children?: any[];
1022
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
1023
+ id?: string;
1024
+ parent_id?: string;
1025
+ name?: string;
999
1026
  label?: string;
1000
1027
  description?: string;
1001
- price: number;
1028
+ price?: number;
1002
1029
  barcode?: string;
1003
1030
  calories?: number;
1004
1031
  priority?: number;
1005
1032
  is_active?: boolean;
1006
1033
  is_in_stock?: boolean;
1007
- posid: string;
1008
- tax_tags?: string[];
1009
- modifier_groups?: ItemToModifierGroupRelationshipDTO[];
1010
- brand_id: string;
1034
+ posid?: string;
1035
+ tax_tags?: FilterFieldDTO[];
1036
+ brand_id?: string;
1011
1037
  station_id?: string;
1012
- id?: any;
1013
- categories?: CategoryToItemRelationshipDTO[];
1014
- brand?: BrandDTO;
1038
+ brand?: DraftBrandDTO;
1039
+ changes?: DraftItemChangeDTO[];
1040
+ categories?: any[];
1015
1041
  station?: StationDTO;
1016
- [index: string]: any;
1017
- }[];
1018
- export interface PostMenuV3ItemsResponse {
1019
- meta: PaginationMetaDTO;
1020
- results: ItemDTO[];
1042
+ attachments?: FileAttachmentsDTO;
1021
1043
  [index: string]: any;
1022
1044
  }
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;
1045
+ export interface DraftItemToModifierGroupRelationshipDTO {
1046
+ parent?: any;
1047
+ children?: any[];
1048
+ id?: string;
1049
+ parent_id?: string;
1050
+ modifier_group_id?: string;
1051
+ item_id?: string;
1052
+ brand_id?: FilterFieldDTO;
1053
+ sequence?: number;
1054
+ item?: any;
1055
+ modifier_group?: DraftModifierGroupDTO;
1056
+ brand?: DraftBrandDTO;
1057
+ changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
1058
+ [index: string]: any;
1039
1059
  }
1040
- export interface PatchMenuV3ItemBody {
1060
+ export interface DraftModifierGroupDTO {
1061
+ parent_id?: string;
1062
+ parent?: any;
1063
+ children?: any[];
1041
1064
  name?: string;
1042
1065
  label?: string;
1043
- description?: string;
1044
- price?: number;
1045
- barcode?: string;
1046
- calories?: number;
1047
- priority?: number;
1066
+ min?: number;
1067
+ max?: number;
1048
1068
  is_active?: boolean;
1049
- is_in_stock?: boolean;
1050
- posid?: string;
1051
- tax_tags?: string[];
1052
- modifier_groups?: ItemToModifierGroupRelationshipDTO[];
1069
+ priority?: number;
1070
+ modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
1071
+ items?: any[];
1053
1072
  brand_id?: string;
1054
1073
  station_id?: string;
1055
1074
  id?: string;
1056
- categories?: CategoryToItemRelationshipDTO[];
1057
- brand?: BrandDTO;
1075
+ brand?: DraftBrandDTO;
1058
1076
  station?: StationDTO;
1077
+ changes?: DraftModifierGroupChangeDTO[];
1059
1078
  [index: string]: any;
1060
1079
  }
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 {
1080
+ export interface DraftModifierGroupToModifierRelationshipDTO {
1081
+ parent?: any;
1082
+ children?: any[];
1083
+ id?: string;
1084
+ parent_id?: string;
1085
+ modifier_id?: string;
1086
+ modifier_group_id?: string;
1087
+ brand_id?: FilterFieldDTO;
1088
+ sequence?: number;
1089
+ modifier?: DraftModifierDTO;
1090
+ modifier_group?: any;
1091
+ brand?: DraftBrandDTO;
1092
+ changes?: DraftModifierGroupToModifierRelationshipChangeDTO[];
1093
+ [index: string]: any;
1070
1094
  }
1071
- export interface PostMenuV3ItemBody {
1072
- name: string;
1095
+ export interface DraftModifierDTO {
1096
+ parent?: any;
1097
+ children?: any[];
1098
+ modifier_groups?: any[];
1099
+ id?: string;
1100
+ parent_id?: string;
1101
+ name?: string;
1073
1102
  label?: string;
1074
1103
  description?: string;
1075
- price: number;
1076
- barcode?: string;
1104
+ price?: number;
1077
1105
  calories?: number;
1078
1106
  priority?: number;
1107
+ tax_tags?: FilterFieldDTO[];
1079
1108
  is_active?: boolean;
1080
1109
  is_in_stock?: boolean;
1081
- posid: string;
1082
- tax_tags?: string[];
1083
- modifier_groups?: ItemToModifierGroupRelationshipDTO[];
1084
- brand_id: string;
1110
+ posid?: string;
1111
+ brand_id?: string;
1085
1112
  station_id?: string;
1086
- categories?: CategoryToItemRelationshipDTO[];
1087
- brand?: BrandDTO;
1113
+ brand?: DraftBrandDTO;
1114
+ changes?: DraftModifierChangeDTO[];
1088
1115
  station?: StationDTO;
1089
1116
  [index: string]: any;
1090
1117
  }
1091
- export type PostMenuV3ItemResponse = ItemDTO;
1092
- export interface PostMenuV3ItemRequest extends BaseRequest {
1093
- body: PostMenuV3ItemBody;
1118
+ export interface DraftModifierChangeDTO {
1119
+ id?: string;
1120
+ insert?: FilterFieldDTO;
1121
+ delete?: FilterFieldDTO;
1122
+ snapshot_entity_id?: FilterFieldDTO;
1123
+ snapshot_entity?: any;
1124
+ [index: string]: any;
1094
1125
  }
1095
- export interface GetMenuV3ItemsCountQuery {
1096
- filter?: any;
1097
- _query?: string;
1126
+ export interface DraftModifierGroupToModifierRelationshipChangeDTO {
1127
+ id?: string;
1128
+ insert?: FilterFieldDTO;
1129
+ delete?: FilterFieldDTO;
1130
+ snapshot_entity_id?: FilterFieldDTO;
1131
+ snapshot_entity?: any;
1132
+ [index: string]: any;
1098
1133
  }
1099
- export interface GetMenuV3ItemsCountResponse {
1100
- count: number;
1134
+ export interface DraftModifierGroupChangeDTO {
1135
+ id?: string;
1136
+ insert?: FilterFieldDTO;
1137
+ delete?: FilterFieldDTO;
1138
+ snapshot_entity_id?: FilterFieldDTO;
1139
+ snapshot_entity?: any;
1101
1140
  [index: string]: any;
1102
1141
  }
1103
- export interface GetMenuV3ItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3ItemsCountQuery> {
1142
+ export interface DraftItemToModifierGroupRelationshipChangeDTO {
1143
+ id?: string;
1144
+ insert?: FilterFieldDTO;
1145
+ delete?: FilterFieldDTO;
1146
+ snapshot_entity_id?: FilterFieldDTO;
1147
+ snapshot_entity?: any;
1148
+ [index: string]: any;
1104
1149
  }
1105
- export interface GetMenuV3ItemRelationshipsModifierGroupsQuery {
1106
- filter?: any;
1107
- limit?: number;
1108
- page?: number;
1109
- sort_by?: string;
1110
- sort_order?: string;
1111
- soft_deleted?: string;
1112
- select?: string[];
1113
- relationships?: string[];
1114
- _query?: string;
1150
+ export interface DraftItemChangeDTO {
1151
+ id?: string;
1152
+ insert?: FilterFieldDTO;
1153
+ delete?: FilterFieldDTO;
1154
+ snapshot_entity_id?: FilterFieldDTO;
1155
+ snapshot_entity?: any;
1156
+ [index: string]: any;
1115
1157
  }
1116
- export interface GetMenuV3ItemRelationshipsModifierGroupsResponse {
1117
- meta: PaginationMetaDTO;
1118
- results: ItemToModifierGroupRelationshipDTO[];
1158
+ export interface DraftCategoryToItemRelationshipChangeDTO {
1159
+ id?: string;
1160
+ insert?: FilterFieldDTO;
1161
+ delete?: FilterFieldDTO;
1162
+ snapshot_entity_id?: FilterFieldDTO;
1163
+ snapshot_entity?: any;
1119
1164
  [index: string]: any;
1120
1165
  }
1121
- export interface GetMenuV3ItemRelationshipsModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3ItemRelationshipsModifierGroupsQuery> {
1166
+ export interface DraftCategoryChangeDTO {
1167
+ id?: string;
1168
+ insert?: FilterFieldDTO;
1169
+ delete?: FilterFieldDTO;
1170
+ snapshot_entity_id?: FilterFieldDTO;
1171
+ snapshot_entity?: any;
1172
+ [index: string]: any;
1122
1173
  }
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;
1174
+ export interface DraftCategoryToItemRelationshipDraftCategoryToItemRelationshipDTO {
1175
+ parent_id?: FilterFieldDTO;
1176
+ deleted_at?: FilterFieldDTO;
1177
+ category_id?: FilterFieldDTO;
1178
+ item_id?: FilterFieldDTO;
1179
+ brand_id?: FilterFieldDTO;
1180
+ sequence?: FilterFieldDTO;
1181
+ id?: FilterFieldDTO;
1182
+ version?: FilterFieldDTO;
1183
+ created_at?: FilterFieldDTO;
1184
+ updated_at?: FilterFieldDTO;
1185
+ parent?: any;
1186
+ children?: any[];
1187
+ category?: DraftCategoryDTO;
1188
+ item?: DraftItemDTO;
1189
+ brand?: DraftBrandDTO;
1190
+ changes?: DraftCategoryToItemRelationshipChangeDTO[];
1130
1191
  [index: string]: any;
1131
- }[];
1132
- export interface PostMenuV3ItemRelationshipsModifierGroupsResponse {
1133
- meta: PaginationMetaDTO;
1134
- results: ItemToModifierGroupRelationshipDTO[];
1192
+ }
1193
+ export interface DraftItemDraftItemDTO {
1194
+ parent_id?: FilterFieldDTO;
1195
+ name?: FilterFieldDTO;
1196
+ label?: FilterFieldDTO;
1197
+ description?: FilterFieldDTO;
1198
+ price?: FilterFieldDTO;
1199
+ barcode?: FilterFieldDTO;
1200
+ calories?: FilterFieldDTO;
1201
+ priority?: FilterFieldDTO;
1202
+ is_active?: FilterFieldDTO;
1203
+ is_in_stock?: FilterFieldDTO;
1204
+ posid?: FilterFieldDTO;
1205
+ tax_tags?: FilterFieldDTO[];
1206
+ brand_id?: FilterFieldDTO;
1207
+ station_id?: FilterFieldDTO;
1208
+ id?: FilterFieldDTO;
1209
+ version?: FilterFieldDTO;
1210
+ created_at?: FilterFieldDTO;
1211
+ updated_at?: FilterFieldDTO;
1212
+ deleted_at?: FilterFieldDTO;
1213
+ parent?: any;
1214
+ children?: any[];
1215
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
1216
+ categories?: DraftCategoryToItemRelationshipDTO[];
1217
+ brand?: DraftBrandDTO;
1218
+ station?: StationDTO;
1219
+ changes?: DraftItemChangeDTO[];
1135
1220
  [index: string]: any;
1136
1221
  }
1137
- export interface PostMenuV3ItemRelationshipsModifierGroupsRequest extends BaseRequest {
1138
- body: PostMenuV3ItemRelationshipsModifierGroupsBody;
1222
+ export interface DraftItemToModifierGroupRelationshipDraftItemToModifierGroupRelationshipDTO {
1223
+ parent_id?: FilterFieldDTO;
1224
+ deleted_at?: FilterFieldDTO;
1225
+ modifier_group_id?: FilterFieldDTO;
1226
+ item_id?: FilterFieldDTO;
1227
+ brand_id?: FilterFieldDTO;
1228
+ sequence?: FilterFieldDTO;
1229
+ id?: FilterFieldDTO;
1230
+ version?: FilterFieldDTO;
1231
+ created_at?: FilterFieldDTO;
1232
+ updated_at?: FilterFieldDTO;
1233
+ parent?: any;
1234
+ children?: any[];
1235
+ modifier_group?: DraftModifierGroupDTO;
1236
+ item?: DraftItemDTO;
1237
+ brand?: DraftBrandDTO;
1238
+ changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
1239
+ [index: string]: any;
1139
1240
  }
1140
- export interface PostMenuV3ItemRelationshipsModifierGroupBody {
1141
- modifier_group_id: string;
1142
- item_id: string;
1143
- sequence?: number;
1144
- modifier_group?: ModifierGroupDTO;
1145
- item?: ItemDTO;
1241
+ export interface DraftModifierGroupDraftModifierGroupDTO {
1242
+ parent_id?: FilterFieldDTO;
1243
+ name?: FilterFieldDTO;
1244
+ label?: FilterFieldDTO;
1245
+ min?: FilterFieldDTO;
1246
+ max?: FilterFieldDTO;
1247
+ is_active?: FilterFieldDTO;
1248
+ priority?: FilterFieldDTO;
1249
+ brand_id?: FilterFieldDTO;
1250
+ station_id?: FilterFieldDTO;
1251
+ id?: FilterFieldDTO;
1252
+ version?: FilterFieldDTO;
1253
+ created_at?: FilterFieldDTO;
1254
+ updated_at?: FilterFieldDTO;
1255
+ deleted_at?: FilterFieldDTO;
1256
+ parent?: any;
1257
+ children?: any[];
1258
+ modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
1259
+ items?: DraftItemToModifierGroupRelationshipDTO[];
1260
+ brand?: DraftBrandDTO;
1261
+ station?: StationDTO;
1262
+ changes?: DraftModifierGroupChangeDTO[];
1146
1263
  [index: string]: any;
1147
1264
  }
1148
- export type PostMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationshipDTO;
1149
- export interface PostMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest {
1150
- body: PostMenuV3ItemRelationshipsModifierGroupBody;
1265
+ export interface DraftModifierGroupToModifierRelationshipDraftModifierGroupToModifierRelationshipDTO {
1266
+ parent_id?: FilterFieldDTO;
1267
+ deleted_at?: FilterFieldDTO;
1268
+ modifier_id?: FilterFieldDTO;
1269
+ modifier_group_id?: FilterFieldDTO;
1270
+ brand_id?: FilterFieldDTO;
1271
+ sequence?: FilterFieldDTO;
1272
+ id?: FilterFieldDTO;
1273
+ version?: FilterFieldDTO;
1274
+ created_at?: FilterFieldDTO;
1275
+ updated_at?: FilterFieldDTO;
1276
+ parent?: any;
1277
+ children?: any[];
1278
+ modifier?: DraftModifierDTO;
1279
+ modifier_group?: DraftModifierGroupDTO;
1280
+ brand?: DraftBrandDTO;
1281
+ changes?: DraftModifierGroupToModifierRelationshipChangeDTO[];
1282
+ [index: string]: any;
1151
1283
  }
1152
- export interface GetMenuV3ItemRelationshipsModifierGroupPath {
1153
- id: string;
1284
+ export interface DraftModifierDraftModifierDTO {
1285
+ parent_id?: FilterFieldDTO;
1286
+ name?: FilterFieldDTO;
1287
+ label?: FilterFieldDTO;
1288
+ description?: FilterFieldDTO;
1289
+ price?: FilterFieldDTO;
1290
+ calories?: FilterFieldDTO;
1291
+ priority?: FilterFieldDTO;
1292
+ tax_tags?: FilterFieldDTO[];
1293
+ is_active?: FilterFieldDTO;
1294
+ is_in_stock?: FilterFieldDTO;
1295
+ posid?: FilterFieldDTO;
1296
+ brand_id?: FilterFieldDTO;
1297
+ station_id?: FilterFieldDTO;
1298
+ id?: FilterFieldDTO;
1299
+ version?: FilterFieldDTO;
1300
+ created_at?: FilterFieldDTO;
1301
+ updated_at?: FilterFieldDTO;
1302
+ deleted_at?: FilterFieldDTO;
1303
+ parent?: any;
1304
+ children?: any[];
1305
+ modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
1306
+ brand?: DraftBrandDTO;
1307
+ station?: StationDTO;
1308
+ changes?: DraftModifierChangeDTO[];
1309
+ [index: string]: any;
1154
1310
  }
1155
- export interface GetMenuV3ItemRelationshipsModifierGroupQuery {
1156
- select?: string[];
1157
- relationships?: string[];
1158
- _query?: string;
1311
+ export interface DraftBrandChangeDTO {
1312
+ id?: string;
1313
+ insert?: string;
1314
+ delete?: string;
1315
+ snapshot_entity_id?: string;
1316
+ [index: string]: any;
1159
1317
  }
1160
- export type GetMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationshipDTO;
1161
- export interface GetMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest, RequestQuery<GetMenuV3ItemRelationshipsModifierGroupQuery>, GetMenuV3ItemRelationshipsModifierGroupPath {
1318
+ export interface DraftBrandDraftBrandDTO {
1319
+ parent_id?: FilterFieldDTO;
1320
+ id?: FilterFieldDTO;
1321
+ version?: FilterFieldDTO;
1322
+ created_at?: FilterFieldDTO;
1323
+ updated_at?: FilterFieldDTO;
1324
+ deleted_at?: FilterFieldDTO;
1325
+ parent?: any;
1326
+ children?: any[];
1327
+ layouts?: DraftLayoutDTO[];
1328
+ items?: DraftItemDTO[];
1329
+ modifier_groups?: DraftModifierGroupDTO[];
1330
+ modifiers?: DraftModifierDTO[];
1331
+ categories?: DraftCategoryDTO[];
1332
+ changes?: DraftBrandChangeDTO[];
1333
+ modifier_group_to_modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
1334
+ item_to_modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
1335
+ category_to_items?: DraftCategoryToItemRelationshipDTO[];
1336
+ [index: string]: any;
1162
1337
  }
1163
- export interface PatchMenuV3ItemRelationshipsModifierGroupPath {
1164
- id: string;
1338
+ export interface PublishedBrandPublishedBrandDTO {
1339
+ parent_id?: FilterFieldDTO;
1340
+ id?: FilterFieldDTO;
1341
+ version?: FilterFieldDTO;
1342
+ created_at?: FilterFieldDTO;
1343
+ updated_at?: FilterFieldDTO;
1344
+ deleted_at?: FilterFieldDTO;
1345
+ parent?: any;
1346
+ children?: any[];
1347
+ layouts?: PublishedLayoutDTO[];
1348
+ items?: PublishedItemDTO[];
1349
+ modifier_groups?: PublishedModifierGroupDTO[];
1350
+ modifiers?: PublishedModifierDTO[];
1351
+ categories?: PublishedCategoryDTO[];
1352
+ modifier_group_to_modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
1353
+ item_to_modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
1354
+ category_to_items?: PublishedCategoryToItemRelationshipDTO[];
1355
+ changes?: DraftBrandChangeDTO[];
1356
+ [index: string]: any;
1165
1357
  }
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;
1358
+ export interface PublishedLayoutPublishedLayoutDTO {
1359
+ parent_id?: FilterFieldDTO;
1360
+ name?: FilterFieldDTO;
1361
+ brand_id?: FilterFieldDTO;
1362
+ station_id?: FilterFieldDTO;
1363
+ id?: FilterFieldDTO;
1364
+ version?: FilterFieldDTO;
1365
+ created_at?: FilterFieldDTO;
1366
+ updated_at?: FilterFieldDTO;
1367
+ deleted_at?: FilterFieldDTO;
1368
+ parent?: any;
1369
+ children?: any[];
1370
+ categories?: PublishedCategoryDTO[];
1371
+ brand?: PublishedBrandDTO;
1372
+ station?: StationDTO;
1373
+ changes?: DraftLayoutChangeDTO[];
1173
1374
  [index: string]: any;
1174
1375
  }
1175
- export type PatchMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationshipDTO;
1176
- export interface PatchMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest, PatchMenuV3ItemRelationshipsModifierGroupPath {
1177
- body: PatchMenuV3ItemRelationshipsModifierGroupBody;
1376
+ export interface PublishedCategoryPublishedCategoryDTO {
1377
+ parent_id?: FilterFieldDTO;
1378
+ name?: FilterFieldDTO;
1379
+ label?: FilterFieldDTO;
1380
+ sequence?: FilterFieldDTO;
1381
+ priority?: FilterFieldDTO;
1382
+ is_active?: FilterFieldDTO;
1383
+ layout_id?: FilterFieldDTO;
1384
+ brand_id?: FilterFieldDTO;
1385
+ id?: FilterFieldDTO;
1386
+ version?: FilterFieldDTO;
1387
+ created_at?: FilterFieldDTO;
1388
+ updated_at?: FilterFieldDTO;
1389
+ deleted_at?: FilterFieldDTO;
1390
+ parent?: any;
1391
+ children?: any[];
1392
+ layout?: PublishedLayoutDTO;
1393
+ items?: PublishedCategoryToItemRelationshipDTO[];
1394
+ brand?: PublishedBrandDTO;
1395
+ changes?: DraftCategoryChangeDTO[];
1396
+ [index: string]: any;
1178
1397
  }
1179
- export interface DeleteMenuV3ItemRelationshipsModifierGroupPath {
1180
- id: string;
1398
+ export interface PublishedCategoryToItemRelationshipPublishedCategoryToItemRelationshipDTO {
1399
+ parent_id?: FilterFieldDTO;
1400
+ deleted_at?: FilterFieldDTO;
1401
+ category_id?: FilterFieldDTO;
1402
+ item_id?: FilterFieldDTO;
1403
+ brand_id?: FilterFieldDTO;
1404
+ sequence?: FilterFieldDTO;
1405
+ id?: FilterFieldDTO;
1406
+ version?: FilterFieldDTO;
1407
+ created_at?: FilterFieldDTO;
1408
+ updated_at?: FilterFieldDTO;
1409
+ parent?: any;
1410
+ children?: any[];
1411
+ category?: PublishedCategoryDTO;
1412
+ item?: PublishedItemDTO;
1413
+ brand?: PublishedBrandDTO;
1414
+ changes?: DraftCategoryToItemRelationshipChangeDTO[];
1415
+ [index: string]: any;
1181
1416
  }
1182
- export type DeleteMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationshipDTO;
1183
- export interface DeleteMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest, DeleteMenuV3ItemRelationshipsModifierGroupPath {
1417
+ export interface PublishedItemPublishedItemDTO {
1418
+ parent_id?: FilterFieldDTO;
1419
+ name?: FilterFieldDTO;
1420
+ label?: FilterFieldDTO;
1421
+ description?: FilterFieldDTO;
1422
+ price?: FilterFieldDTO;
1423
+ barcode?: FilterFieldDTO;
1424
+ calories?: FilterFieldDTO;
1425
+ priority?: FilterFieldDTO;
1426
+ is_active?: FilterFieldDTO;
1427
+ is_in_stock?: FilterFieldDTO;
1428
+ posid?: FilterFieldDTO;
1429
+ tax_tags?: FilterFieldDTO[];
1430
+ brand_id?: FilterFieldDTO;
1431
+ station_id?: FilterFieldDTO;
1432
+ id?: FilterFieldDTO;
1433
+ version?: FilterFieldDTO;
1434
+ created_at?: FilterFieldDTO;
1435
+ updated_at?: FilterFieldDTO;
1436
+ deleted_at?: FilterFieldDTO;
1437
+ parent?: any;
1438
+ children?: any[];
1439
+ modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
1440
+ categories?: PublishedCategoryToItemRelationshipDTO[];
1441
+ brand?: PublishedBrandDTO;
1442
+ station?: StationDTO;
1443
+ changes?: DraftItemChangeDTO[];
1444
+ [index: string]: any;
1184
1445
  }
1185
- export interface GetMenuV3LayoutsQuery {
1186
- filter?: any;
1187
- limit?: number;
1188
- page?: number;
1189
- sort_by?: string;
1190
- sort_order?: string;
1191
- soft_deleted?: string;
1192
- select?: string[];
1193
- relationships?: string[];
1194
- _query?: string;
1446
+ export interface PublishedItemToModifierGroupRelationshipPublishedItemToModifierGroupRelationshipDTO {
1447
+ parent_id?: FilterFieldDTO;
1448
+ deleted_at?: FilterFieldDTO;
1449
+ modifier_group_id?: FilterFieldDTO;
1450
+ item_id?: FilterFieldDTO;
1451
+ brand_id?: FilterFieldDTO;
1452
+ sequence?: FilterFieldDTO;
1453
+ id?: FilterFieldDTO;
1454
+ version?: FilterFieldDTO;
1455
+ created_at?: FilterFieldDTO;
1456
+ updated_at?: FilterFieldDTO;
1457
+ parent?: any;
1458
+ children?: any[];
1459
+ item?: PublishedItemDTO;
1460
+ modifier_group?: PublishedModifierGroupDTO;
1461
+ brand?: PublishedBrandDTO;
1462
+ changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
1463
+ [index: string]: any;
1195
1464
  }
1196
- export interface GetMenuV3LayoutsResponse {
1197
- meta: PaginationMetaDTO;
1198
- results: LayoutDTO[];
1465
+ export interface PublishedModifierGroupPublishedModifierGroupDTO {
1466
+ parent_id?: FilterFieldDTO;
1467
+ name?: FilterFieldDTO;
1468
+ label?: FilterFieldDTO;
1469
+ min?: FilterFieldDTO;
1470
+ max?: FilterFieldDTO;
1471
+ is_active?: FilterFieldDTO;
1472
+ priority?: FilterFieldDTO;
1473
+ brand_id?: FilterFieldDTO;
1474
+ station_id?: FilterFieldDTO;
1475
+ id?: FilterFieldDTO;
1476
+ version?: FilterFieldDTO;
1477
+ created_at?: FilterFieldDTO;
1478
+ updated_at?: FilterFieldDTO;
1479
+ deleted_at?: FilterFieldDTO;
1480
+ parent?: any;
1481
+ children?: any[];
1482
+ modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
1483
+ items?: PublishedItemToModifierGroupRelationshipDTO[];
1484
+ brand?: PublishedBrandDTO;
1485
+ station?: StationDTO;
1486
+ changes?: DraftModifierGroupChangeDTO[];
1199
1487
  [index: string]: any;
1200
1488
  }
1201
- export interface GetMenuV3LayoutsRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutsQuery> {
1489
+ export interface PublishedModifierGroupToModifierRelationshipPublishedModifierGroupToModifierRelationshipDTO {
1490
+ parent_id?: FilterFieldDTO;
1491
+ deleted_at?: FilterFieldDTO;
1492
+ modifier_id?: FilterFieldDTO;
1493
+ modifier_group_id?: FilterFieldDTO;
1494
+ brand_id?: FilterFieldDTO;
1495
+ sequence?: FilterFieldDTO;
1496
+ id?: FilterFieldDTO;
1497
+ version?: FilterFieldDTO;
1498
+ created_at?: FilterFieldDTO;
1499
+ updated_at?: FilterFieldDTO;
1500
+ parent?: any;
1501
+ children?: any[];
1502
+ modifier_group?: PublishedModifierGroupDTO;
1503
+ modifier?: PublishedModifierDTO;
1504
+ brand?: PublishedBrandDTO;
1505
+ changes?: DraftModifierGroupToModifierRelationshipChangeDTO[];
1506
+ [index: string]: any;
1202
1507
  }
1203
- export type PostMenuV3LayoutsBody = {
1204
- name: string;
1205
- categories?: CategoryDTO[];
1206
- brand_id: string;
1207
- station_id: string;
1508
+ export interface PublishedModifierPublishedModifierDTO {
1509
+ parent_id?: FilterFieldDTO;
1510
+ name?: FilterFieldDTO;
1511
+ label?: FilterFieldDTO;
1512
+ description?: FilterFieldDTO;
1513
+ price?: FilterFieldDTO;
1514
+ calories?: FilterFieldDTO;
1515
+ priority?: FilterFieldDTO;
1516
+ tax_tags?: FilterFieldDTO[];
1517
+ is_active?: FilterFieldDTO;
1518
+ is_in_stock?: FilterFieldDTO;
1519
+ posid?: FilterFieldDTO;
1520
+ brand_id?: FilterFieldDTO;
1521
+ station_id?: FilterFieldDTO;
1522
+ id?: FilterFieldDTO;
1523
+ version?: FilterFieldDTO;
1524
+ created_at?: FilterFieldDTO;
1525
+ updated_at?: FilterFieldDTO;
1526
+ deleted_at?: FilterFieldDTO;
1527
+ parent?: any;
1528
+ children?: any[];
1529
+ modifier_groups?: PublishedModifierGroupToModifierRelationshipDTO[];
1530
+ brand?: PublishedBrandDTO;
1531
+ station?: StationDTO;
1532
+ changes?: DraftModifierChangeDTO[];
1533
+ [index: string]: any;
1534
+ }
1535
+ export interface DraftLayoutDraftLayoutDraftLayoutDTO {
1536
+ parent_id?: any;
1537
+ name?: any;
1538
+ brand_id?: any;
1539
+ station_id?: any;
1208
1540
  id?: any;
1209
- brand?: BrandDTO;
1541
+ version?: any;
1542
+ created_at?: any;
1543
+ updated_at?: any;
1544
+ deleted_at?: any;
1545
+ parent?: any;
1546
+ children?: any[];
1547
+ categories?: DraftCategoryDTO[];
1548
+ brand?: DraftBrandDTO;
1549
+ changes?: DraftLayoutChangeDTO[];
1210
1550
  station?: StationDTO;
1211
1551
  [index: string]: any;
1212
- }[];
1213
- export interface PostMenuV3LayoutsResponse {
1214
- meta: PaginationMetaDTO;
1215
- results: LayoutDTO[];
1552
+ }
1553
+ export interface DraftCategoryDraftCategoryDraftCategoryDTO {
1554
+ parent_id?: FilterFieldDTO;
1555
+ name?: FilterFieldDTO;
1556
+ label?: FilterFieldDTO;
1557
+ sequence?: FilterFieldDTO;
1558
+ priority?: FilterFieldDTO;
1559
+ is_active?: FilterFieldDTO;
1560
+ layout_id?: FilterFieldDTO;
1561
+ brand_id?: FilterFieldDTO;
1562
+ id?: FilterFieldDTO;
1563
+ version?: FilterFieldDTO;
1564
+ created_at?: FilterFieldDTO;
1565
+ updated_at?: FilterFieldDTO;
1566
+ deleted_at?: FilterFieldDTO;
1567
+ parent?: any;
1568
+ children?: any[];
1569
+ layout?: DraftLayoutDTO;
1570
+ items?: DraftCategoryToItemRelationshipDTO[];
1571
+ brand?: DraftBrandDTO;
1572
+ changes?: DraftCategoryChangeDTO[];
1216
1573
  [index: string]: any;
1217
1574
  }
1218
- export interface PostMenuV3LayoutsRequest extends BaseRequest {
1219
- body: PostMenuV3LayoutsBody;
1575
+ export interface DraftCategoryToItemRelationshipDraftCategoryToItemRelationshipDraftCategoryToItemRelationshipDTO {
1576
+ parent_id?: FilterFieldDTO;
1577
+ deleted_at?: FilterFieldDTO;
1578
+ category_id?: FilterFieldDTO;
1579
+ item_id?: FilterFieldDTO;
1580
+ brand_id?: FilterFieldDTO;
1581
+ sequence?: FilterFieldDTO;
1582
+ id?: FilterFieldDTO;
1583
+ version?: FilterFieldDTO;
1584
+ created_at?: FilterFieldDTO;
1585
+ updated_at?: FilterFieldDTO;
1586
+ parent?: any;
1587
+ children?: any[];
1588
+ category?: DraftCategoryDTO;
1589
+ item?: DraftItemDTO;
1590
+ brand?: DraftBrandDTO;
1591
+ changes?: DraftCategoryToItemRelationshipChangeDTO[];
1592
+ [index: string]: any;
1220
1593
  }
1221
- export interface GetMenuV3LayoutCategoriesPath {
1222
- id: string;
1594
+ export interface DraftItemDraftItemDraftItemDraftItemDTO {
1595
+ parent_id?: FilterFieldDTO;
1596
+ name?: FilterFieldDTO;
1597
+ label?: FilterFieldDTO;
1598
+ description?: FilterFieldDTO;
1599
+ price?: FilterFieldDTO;
1600
+ barcode?: FilterFieldDTO;
1601
+ calories?: FilterFieldDTO;
1602
+ priority?: FilterFieldDTO;
1603
+ is_active?: FilterFieldDTO;
1604
+ is_in_stock?: FilterFieldDTO;
1605
+ posid?: FilterFieldDTO;
1606
+ tax_tags?: FilterFieldDTO[];
1607
+ brand_id?: FilterFieldDTO;
1608
+ station_id?: FilterFieldDTO;
1609
+ id?: FilterFieldDTO;
1610
+ version?: FilterFieldDTO;
1611
+ created_at?: FilterFieldDTO;
1612
+ updated_at?: FilterFieldDTO;
1613
+ deleted_at?: FilterFieldDTO;
1614
+ parent?: any;
1615
+ children?: any[];
1616
+ brand?: DraftBrandDTO;
1617
+ changes?: DraftItemChangeDTO[];
1618
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
1619
+ categories?: DraftCategoryToItemRelationshipDTO[];
1620
+ station?: StationDTO;
1621
+ attachments?: FileAttachmentsDTO;
1622
+ [index: string]: any;
1223
1623
  }
1224
- export interface GetMenuV3LayoutCategoriesQuery {
1225
- filter?: any;
1226
- limit?: number;
1227
- page?: number;
1228
- sort_by?: string;
1229
- sort_order?: string;
1230
- soft_deleted?: string;
1231
- select?: string[];
1232
- relationships?: string[];
1233
- _query?: string;
1624
+ export interface DraftItemToModifierGroupRelationshipDraftItemToModifierGroupRelationshipDraftItemToModifierGroupRelationshipDTO {
1625
+ parent_id?: FilterFieldDTO;
1626
+ deleted_at?: FilterFieldDTO;
1627
+ modifier_group_id?: FilterFieldDTO;
1628
+ item_id?: FilterFieldDTO;
1629
+ brand_id?: FilterFieldDTO;
1630
+ sequence?: FilterFieldDTO;
1631
+ id?: FilterFieldDTO;
1632
+ version?: FilterFieldDTO;
1633
+ created_at?: FilterFieldDTO;
1634
+ updated_at?: FilterFieldDTO;
1635
+ parent?: any;
1636
+ children?: any[];
1637
+ item?: DraftItemDTO;
1638
+ modifier_group?: DraftModifierGroupDTO;
1639
+ brand?: DraftBrandDTO;
1640
+ changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
1641
+ [index: string]: any;
1234
1642
  }
1235
- export interface GetMenuV3LayoutCategoriesResponse {
1236
- meta: PaginationMetaDTO;
1237
- results: CategoryDTO[];
1643
+ export interface DraftModifierGroupDraftModifierGroupDraftModifierGroupDraftModifierGroupDTO {
1644
+ parent_id?: FilterFieldDTO;
1645
+ name?: FilterFieldDTO;
1646
+ label?: FilterFieldDTO;
1647
+ min?: FilterFieldDTO;
1648
+ max?: FilterFieldDTO;
1649
+ is_active?: FilterFieldDTO;
1650
+ priority?: FilterFieldDTO;
1651
+ brand_id?: FilterFieldDTO;
1652
+ station_id?: FilterFieldDTO;
1653
+ id?: FilterFieldDTO;
1654
+ version?: FilterFieldDTO;
1655
+ created_at?: FilterFieldDTO;
1656
+ updated_at?: FilterFieldDTO;
1657
+ deleted_at?: FilterFieldDTO;
1658
+ parent?: any;
1659
+ children?: any[];
1660
+ modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
1661
+ items?: DraftItemToModifierGroupRelationshipDTO[];
1662
+ brand?: DraftBrandDTO;
1663
+ station?: StationDTO;
1664
+ changes?: DraftModifierGroupChangeDTO[];
1238
1665
  [index: string]: any;
1239
1666
  }
1240
- export interface GetMenuV3LayoutCategoriesRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutCategoriesQuery>, GetMenuV3LayoutCategoriesPath {
1667
+ export interface DraftModifierGroupToModifierRelationshipDraftModifierGroupToModifierRelationshipDraftModifierGroupToModifierRelationshipDTO {
1668
+ parent_id?: FilterFieldDTO;
1669
+ deleted_at?: FilterFieldDTO;
1670
+ modifier_id?: FilterFieldDTO;
1671
+ modifier_group_id?: FilterFieldDTO;
1672
+ brand_id?: FilterFieldDTO;
1673
+ sequence?: FilterFieldDTO;
1674
+ id?: FilterFieldDTO;
1675
+ version?: FilterFieldDTO;
1676
+ created_at?: FilterFieldDTO;
1677
+ updated_at?: FilterFieldDTO;
1678
+ parent?: any;
1679
+ children?: any[];
1680
+ modifier?: DraftModifierDTO;
1681
+ modifier_group?: DraftModifierGroupDTO;
1682
+ brand?: DraftBrandDTO;
1683
+ changes?: DraftModifierGroupToModifierRelationshipChangeDTO[];
1684
+ [index: string]: any;
1241
1685
  }
1242
- export interface GetMenuV3LayoutPath {
1243
- id: string;
1686
+ export interface DraftModifierDraftModifierDraftModifierDraftModifierDTO {
1687
+ parent_id?: FilterFieldDTO;
1688
+ name?: FilterFieldDTO;
1689
+ label?: FilterFieldDTO;
1690
+ description?: FilterFieldDTO;
1691
+ price?: FilterFieldDTO;
1692
+ calories?: FilterFieldDTO;
1693
+ priority?: FilterFieldDTO;
1694
+ tax_tags?: FilterFieldDTO[];
1695
+ is_active?: FilterFieldDTO;
1696
+ is_in_stock?: FilterFieldDTO;
1697
+ posid?: FilterFieldDTO;
1698
+ brand_id?: FilterFieldDTO;
1699
+ station_id?: FilterFieldDTO;
1700
+ id?: FilterFieldDTO;
1701
+ version?: FilterFieldDTO;
1702
+ created_at?: FilterFieldDTO;
1703
+ updated_at?: FilterFieldDTO;
1704
+ deleted_at?: FilterFieldDTO;
1705
+ parent?: any;
1706
+ children?: any[];
1707
+ modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
1708
+ brand?: DraftBrandDTO;
1709
+ changes?: DraftModifierChangeDTO[];
1710
+ station?: StationDTO;
1711
+ [index: string]: any;
1244
1712
  }
1245
- export interface GetMenuV3LayoutQuery {
1246
- select?: string[];
1247
- relationships?: string[];
1248
- _query?: string;
1713
+ export interface DraftBrandDraftBrandDraftBrandDTO {
1714
+ name?: FilterFieldDTO;
1715
+ description?: FilterFieldDTO;
1716
+ is_active?: FilterFieldDTO;
1717
+ parent_id?: FilterFieldDTO;
1718
+ brand_group_id?: FilterFieldDTO;
1719
+ id?: FilterFieldDTO;
1720
+ version?: FilterFieldDTO;
1721
+ created_at?: FilterFieldDTO;
1722
+ updated_at?: FilterFieldDTO;
1723
+ deleted_at?: FilterFieldDTO;
1724
+ parent?: any;
1725
+ children?: any[];
1726
+ changes?: DraftBrandChangeDTO[];
1727
+ brand_group?: BrandGroupDTO;
1728
+ layouts?: DraftLayoutDTO[];
1729
+ categories?: DraftCategoryDTO[];
1730
+ category_to_items?: DraftCategoryToItemRelationshipDTO[];
1731
+ items?: DraftItemDTO[];
1732
+ item_to_modifier_group_relationships?: DraftItemToModifierGroupRelationshipDTO[];
1733
+ modifier_groups?: DraftModifierGroupDTO[];
1734
+ modifier_group_to_modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
1735
+ modifiers?: DraftModifierDTO[];
1736
+ attachments?: FileAttachmentsDTO;
1737
+ [index: string]: any;
1249
1738
  }
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;
1739
+ export interface PublishedBrandPublishedBrandPublishedBrandDTO {
1740
+ name?: FilterFieldDTO;
1741
+ description?: FilterFieldDTO;
1742
+ is_active?: FilterFieldDTO;
1743
+ parent_id?: FilterFieldDTO;
1744
+ brand_group_id?: FilterFieldDTO;
1745
+ id?: FilterFieldDTO;
1746
+ version?: FilterFieldDTO;
1747
+ created_at?: FilterFieldDTO;
1748
+ updated_at?: FilterFieldDTO;
1749
+ deleted_at?: FilterFieldDTO;
1750
+ parent?: any;
1751
+ children?: any[];
1752
+ brand_group?: BrandGroupDTO;
1753
+ layouts?: PublishedLayoutDTO[];
1754
+ categories?: PublishedCategoryDTO[];
1755
+ category_to_items?: PublishedCategoryToItemRelationshipDTO[];
1756
+ items?: PublishedItemDTO[];
1757
+ item_to_modifier_group_relationships?: PublishedItemToModifierGroupRelationshipDTO[];
1758
+ modifier_groups?: PublishedModifierGroupDTO[];
1759
+ modifier_group_to_modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
1760
+ modifiers?: PublishedModifierDTO[];
1761
+ attachments?: FileAttachmentsDTO;
1762
+ [index: string]: any;
1763
+ }
1764
+ export interface PublishedLayoutPublishedLayoutPublishedLayoutDTO {
1765
+ parent_id?: FilterFieldDTO;
1766
+ name?: FilterFieldDTO;
1767
+ brand_id?: FilterFieldDTO;
1768
+ station_id?: FilterFieldDTO;
1769
+ id?: FilterFieldDTO;
1770
+ version?: FilterFieldDTO;
1771
+ created_at?: FilterFieldDTO;
1772
+ updated_at?: FilterFieldDTO;
1773
+ deleted_at?: FilterFieldDTO;
1774
+ parent?: any;
1775
+ children?: any[];
1776
+ categories?: PublishedCategoryDTO[];
1777
+ brand?: PublishedBrandDTO;
1260
1778
  station?: StationDTO;
1261
1779
  [index: string]: any;
1262
1780
  }
1263
- export interface GetMenuV3LayoutRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutQuery>, GetMenuV3LayoutPath {
1781
+ export interface PublishedCategoryPublishedCategoryPublishedCategoryDTO {
1782
+ parent_id?: FilterFieldDTO;
1783
+ name?: FilterFieldDTO;
1784
+ label?: FilterFieldDTO;
1785
+ sequence?: FilterFieldDTO;
1786
+ priority?: FilterFieldDTO;
1787
+ is_active?: FilterFieldDTO;
1788
+ layout_id?: FilterFieldDTO;
1789
+ brand_id?: FilterFieldDTO;
1790
+ id?: FilterFieldDTO;
1791
+ version?: FilterFieldDTO;
1792
+ created_at?: FilterFieldDTO;
1793
+ updated_at?: FilterFieldDTO;
1794
+ deleted_at?: FilterFieldDTO;
1795
+ parent?: any;
1796
+ children?: any[];
1797
+ layout?: PublishedLayoutDTO;
1798
+ items?: PublishedCategoryToItemRelationshipDTO[];
1799
+ brand?: PublishedBrandDTO;
1800
+ changes?: DraftCategoryChangeDTO[];
1801
+ [index: string]: any;
1264
1802
  }
1265
- export interface PatchMenuV3LayoutPath {
1266
- id: string;
1803
+ export interface PublishedCategoryToItemRelationshipPublishedCategoryToItemRelationshipPublishedCategoryToItemRelationshipDTO {
1804
+ parent_id?: FilterFieldDTO;
1805
+ deleted_at?: FilterFieldDTO;
1806
+ category_id?: FilterFieldDTO;
1807
+ item_id?: FilterFieldDTO;
1808
+ brand_id?: FilterFieldDTO;
1809
+ sequence?: FilterFieldDTO;
1810
+ id?: FilterFieldDTO;
1811
+ version?: FilterFieldDTO;
1812
+ created_at?: FilterFieldDTO;
1813
+ updated_at?: FilterFieldDTO;
1814
+ parent?: any;
1815
+ children?: any[];
1816
+ category?: PublishedCategoryDTO;
1817
+ item?: PublishedItemDTO;
1818
+ brand?: PublishedBrandDTO;
1819
+ changes?: DraftCategoryToItemRelationshipChangeDTO[];
1820
+ [index: string]: any;
1267
1821
  }
1268
- export interface PatchMenuV3LayoutBody {
1269
- name?: string;
1270
- categories?: CategoryDTO[];
1271
- brand_id?: string;
1272
- station_id?: string;
1273
- id?: string;
1274
- brand?: BrandDTO;
1822
+ export interface PublishedItemPublishedItemPublishedItemDTO {
1823
+ parent_id?: FilterFieldDTO;
1824
+ name?: FilterFieldDTO;
1825
+ label?: FilterFieldDTO;
1826
+ description?: FilterFieldDTO;
1827
+ price?: FilterFieldDTO;
1828
+ barcode?: FilterFieldDTO;
1829
+ calories?: FilterFieldDTO;
1830
+ priority?: FilterFieldDTO;
1831
+ is_active?: FilterFieldDTO;
1832
+ is_in_stock?: FilterFieldDTO;
1833
+ posid?: FilterFieldDTO;
1834
+ tax_tags?: FilterFieldDTO[];
1835
+ brand_id?: FilterFieldDTO;
1836
+ station_id?: FilterFieldDTO;
1837
+ id?: FilterFieldDTO;
1838
+ version?: FilterFieldDTO;
1839
+ created_at?: FilterFieldDTO;
1840
+ updated_at?: FilterFieldDTO;
1841
+ deleted_at?: FilterFieldDTO;
1842
+ parent?: any;
1843
+ children?: any[];
1844
+ brand?: PublishedBrandDTO;
1845
+ modifier_groups?: PublishedItemToModifierGroupRelationshipDTO[];
1846
+ categories?: PublishedCategoryToItemRelationshipDTO[];
1275
1847
  station?: StationDTO;
1848
+ attachments?: FileAttachmentsDTO;
1276
1849
  [index: string]: any;
1277
1850
  }
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;
1851
+ export interface PublishedItemToModifierGroupRelationshipPublishedItemToModifierGroupRelationshipPublishedItemToModifierGroupRelationshipDTO {
1852
+ parent_id?: FilterFieldDTO;
1853
+ deleted_at?: FilterFieldDTO;
1854
+ modifier_group_id?: FilterFieldDTO;
1855
+ item_id?: FilterFieldDTO;
1856
+ brand_id?: FilterFieldDTO;
1857
+ sequence?: FilterFieldDTO;
1858
+ id?: FilterFieldDTO;
1859
+ version?: FilterFieldDTO;
1860
+ created_at?: FilterFieldDTO;
1861
+ updated_at?: FilterFieldDTO;
1862
+ parent?: any;
1863
+ children?: any[];
1864
+ item?: PublishedItemDTO;
1865
+ modifier_group?: PublishedModifierGroupDTO;
1866
+ brand?: PublishedBrandDTO;
1289
1867
  [index: string]: any;
1290
1868
  }
1291
- export interface PatchMenuV3LayoutRequest extends BaseRequest, PatchMenuV3LayoutPath {
1292
- body: PatchMenuV3LayoutBody;
1869
+ export interface PublishedModifierGroupPublishedModifierGroupPublishedModifierGroupDTO {
1870
+ parent_id?: FilterFieldDTO;
1871
+ name?: FilterFieldDTO;
1872
+ label?: FilterFieldDTO;
1873
+ min?: FilterFieldDTO;
1874
+ max?: FilterFieldDTO;
1875
+ is_active?: FilterFieldDTO;
1876
+ priority?: FilterFieldDTO;
1877
+ brand_id?: FilterFieldDTO;
1878
+ station_id?: FilterFieldDTO;
1879
+ id?: FilterFieldDTO;
1880
+ version?: FilterFieldDTO;
1881
+ created_at?: FilterFieldDTO;
1882
+ updated_at?: FilterFieldDTO;
1883
+ deleted_at?: FilterFieldDTO;
1884
+ parent?: any;
1885
+ children?: any[];
1886
+ modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
1887
+ items?: PublishedItemToModifierGroupRelationshipDTO[];
1888
+ brand?: PublishedBrandDTO;
1889
+ station?: StationDTO;
1890
+ changes?: DraftModifierGroupChangeDTO[];
1891
+ [index: string]: any;
1293
1892
  }
1294
- export interface DeleteMenuV3LayoutPath {
1295
- id: string;
1893
+ export interface PublishedModifierGroupToModifierRelationshipPublishedModifierGroupToModifierRelationshipPublishedModifierGroupToModifierRelationshipDTO {
1894
+ parent_id?: FilterFieldDTO;
1895
+ deleted_at?: FilterFieldDTO;
1896
+ modifier_id?: FilterFieldDTO;
1897
+ modifier_group_id?: FilterFieldDTO;
1898
+ brand_id?: FilterFieldDTO;
1899
+ sequence?: FilterFieldDTO;
1900
+ id?: FilterFieldDTO;
1901
+ version?: FilterFieldDTO;
1902
+ created_at?: FilterFieldDTO;
1903
+ updated_at?: FilterFieldDTO;
1904
+ parent?: any;
1905
+ children?: any[];
1906
+ modifier_group?: PublishedModifierGroupDTO;
1907
+ modifier?: PublishedModifierDTO;
1908
+ brand?: PublishedBrandDTO;
1909
+ changes?: DraftModifierGroupToModifierRelationshipChangeDTO[];
1910
+ [index: string]: any;
1296
1911
  }
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;
1912
+ export interface PublishedModifierPublishedModifierPublishedModifierDTO {
1913
+ parent_id?: FilterFieldDTO;
1914
+ name?: FilterFieldDTO;
1915
+ label?: FilterFieldDTO;
1916
+ description?: FilterFieldDTO;
1917
+ price?: FilterFieldDTO;
1918
+ calories?: FilterFieldDTO;
1919
+ priority?: FilterFieldDTO;
1920
+ tax_tags?: FilterFieldDTO[];
1921
+ is_active?: FilterFieldDTO;
1922
+ is_in_stock?: FilterFieldDTO;
1923
+ posid?: FilterFieldDTO;
1924
+ brand_id?: FilterFieldDTO;
1925
+ station_id?: FilterFieldDTO;
1926
+ id?: FilterFieldDTO;
1927
+ version?: FilterFieldDTO;
1928
+ created_at?: FilterFieldDTO;
1929
+ updated_at?: FilterFieldDTO;
1930
+ deleted_at?: FilterFieldDTO;
1931
+ parent?: any;
1932
+ children?: any[];
1933
+ modifier_groups?: PublishedModifierGroupToModifierRelationshipDTO[];
1934
+ brand?: PublishedBrandDTO;
1307
1935
  station?: StationDTO;
1308
1936
  [index: string]: any;
1309
1937
  }
1310
- export interface DeleteMenuV3LayoutRequest extends BaseRequest, DeleteMenuV3LayoutPath {
1938
+ export interface AttachmentsDTO {
1939
+ thumbnail?: FilterFieldDTO;
1940
+ id?: any;
1941
+ [index: string]: any;
1311
1942
  }
1312
- export interface PostMenuV3LayoutBody {
1313
- name: string;
1314
- categories?: CategoryDTO[];
1315
- brand_id: string;
1316
- station_id: string;
1317
- brand?: BrandDTO;
1318
- station?: StationDTO;
1943
+ export interface SiteDTO {
1944
+ id?: string;
1945
+ name?: string;
1319
1946
  [index: string]: any;
1320
1947
  }
1321
- export interface PostMenuV3LayoutResponse {
1322
- name: string;
1323
- categories?: CategoryDTO[];
1324
- brand_id: string;
1325
- station_id: string;
1948
+ export interface BrandGroupDTO {
1949
+ name?: string;
1950
+ description?: string;
1326
1951
  id?: string;
1327
- created_at?: string;
1328
- updated_at?: string;
1329
- deleted_at?: string;
1330
- brand?: BrandDTO;
1331
- station?: StationDTO;
1332
1952
  [index: string]: any;
1333
1953
  }
1334
- export interface PostMenuV3LayoutRequest extends BaseRequest {
1335
- body: PostMenuV3LayoutBody;
1954
+ export interface FileAttachmentsDTO {
1955
+ thumbnail?: FilterFieldDTO;
1956
+ id?: any;
1957
+ [index: string]: any;
1336
1958
  }
1337
- export interface GetMenuV3LayoutsCountQuery {
1959
+ export interface GetMenuV3ModifiersQuery {
1960
+ select?: string[];
1961
+ relationships?: string[];
1338
1962
  filter?: any;
1963
+ limit?: number;
1964
+ page?: number;
1965
+ sort_by?: string;
1966
+ sort_order?: string;
1967
+ soft_deleted?: string;
1339
1968
  _query?: string;
1340
1969
  }
1341
- export interface GetMenuV3LayoutsCountResponse {
1342
- count: number;
1970
+ export interface GetMenuV3ModifiersResponse {
1971
+ results: PublishedModifierDTO[];
1972
+ meta?: ListResponseMetadataDTO;
1343
1973
  [index: string]: any;
1344
1974
  }
1345
- export interface GetMenuV3LayoutsCountRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutsCountQuery> {
1975
+ export interface GetMenuV3ModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3ModifiersQuery> {
1346
1976
  }
1347
- export interface GetMenuV3CategoryPath {
1977
+ export interface GetMenuV3ModifierPath {
1348
1978
  id: string;
1349
1979
  }
1350
- export interface GetMenuV3CategoryQuery {
1980
+ export interface GetMenuV3ModifierQuery {
1351
1981
  select?: string[];
1352
1982
  relationships?: string[];
1353
1983
  _query?: string;
1354
1984
  }
1355
- export type GetMenuV3CategoryResponse = CategoryDTO;
1356
- export interface GetMenuV3CategoryRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryQuery>, GetMenuV3CategoryPath {
1357
- }
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 {
1985
+ export type GetMenuV3ModifierResponse = PublishedModifierDTO;
1986
+ export interface GetMenuV3ModifierRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierQuery>, GetMenuV3ModifierPath {
1382
1987
  }
1383
- export interface PostMenuV3CategoryBody {
1988
+ export interface PostMenuV3ModifierBody {
1384
1989
  name: string;
1385
1990
  label?: string;
1386
- sequence?: number;
1991
+ description?: string;
1992
+ price: number;
1993
+ calories?: number;
1387
1994
  priority?: number;
1995
+ tax_tags?: string[];
1388
1996
  is_active?: boolean;
1389
- layout_id: string;
1390
- layout?: LayoutDTO;
1391
- items?: CategoryToItemRelationshipDTO[];
1997
+ is_in_stock?: boolean;
1998
+ posid: string;
1999
+ modifier_groups?: ModifierGroupToModifierRelationshipDTO[];
2000
+ brand_id: string;
2001
+ station_id?: string;
2002
+ brand?: BrandDTO;
2003
+ station?: StationDTO;
1392
2004
  [index: string]: any;
1393
2005
  }
1394
- export type PostMenuV3CategoryResponse = CategoryDTO;
1395
- export interface PostMenuV3CategoryRequest extends BaseRequest {
1396
- body: PostMenuV3CategoryBody;
2006
+ export type PostMenuV3ModifierResponse = ModifierDTO;
2007
+ export interface PostMenuV3ModifierRequest extends BaseRequest {
2008
+ body: PostMenuV3ModifierBody;
1397
2009
  }
1398
- export interface GetMenuV3CategoriesCountQuery {
1399
- filter?: any;
2010
+ export interface GetMenuV3ModifierCountQuery {
1400
2011
  _query?: string;
1401
2012
  }
1402
- export interface GetMenuV3CategoriesCountResponse {
1403
- count: number;
1404
- [index: string]: any;
2013
+ export interface GetMenuV3ModifierCountResponse {
2014
+ count?: number;
1405
2015
  }
1406
- export interface GetMenuV3CategoriesCountRequest extends BaseRequest, RequestQuery<GetMenuV3CategoriesCountQuery> {
2016
+ export interface GetMenuV3ModifierCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierCountQuery> {
1407
2017
  }
1408
- export interface GetMenuV3CategoryRelationshipsItemsQuery {
2018
+ export interface GetMenuV3ModifierGroupsQuery {
2019
+ select?: string[];
2020
+ relationships?: string[];
1409
2021
  filter?: any;
1410
2022
  limit?: number;
1411
2023
  page?: number;
1412
2024
  sort_by?: string;
1413
2025
  sort_order?: string;
1414
2026
  soft_deleted?: string;
1415
- select?: string[];
1416
- relationships?: string[];
1417
2027
  _query?: string;
1418
2028
  }
1419
- export interface GetMenuV3CategoryRelationshipsItemsResponse {
1420
- meta: PaginationMetaDTO;
1421
- results: CategoryToItemRelationshipDTO[];
1422
- [index: string]: any;
1423
- }
1424
- export interface GetMenuV3CategoryRelationshipsItemsRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryRelationshipsItemsQuery> {
1425
- }
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[];
2029
+ export interface GetMenuV3ModifierGroupsResponse {
2030
+ results: PublishedModifierGroupDTO[];
2031
+ meta?: ListResponseMetadataDTO;
1438
2032
  [index: string]: any;
1439
2033
  }
1440
- export interface PostMenuV3CategoryRelationshipsItemsRequest extends BaseRequest {
1441
- body: PostMenuV3CategoryRelationshipsItemsBody;
2034
+ export interface GetMenuV3ModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupsQuery> {
1442
2035
  }
1443
- export interface PostMenuV3CategoryRelationshipsItemBody {
1444
- category_id: string;
1445
- item_id: string;
1446
- sequence?: number;
1447
- category?: CategoryDTO;
1448
- item?: ItemDTO;
2036
+ export interface PostMenuV3ModifierGroupBody {
2037
+ name: string;
2038
+ label?: string;
2039
+ min?: number;
2040
+ max?: number;
2041
+ is_active?: boolean;
2042
+ priority?: number;
2043
+ modifiers?: ModifierGroupToModifierRelationshipDTO[];
2044
+ items?: ItemToModifierGroupRelationshipDTO[];
2045
+ brand_id: string;
2046
+ station_id?: string;
2047
+ brand?: BrandDTO;
2048
+ station?: StationDTO;
1449
2049
  [index: string]: any;
1450
2050
  }
1451
- export type PostMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationshipDTO;
1452
- export interface PostMenuV3CategoryRelationshipsItemRequest extends BaseRequest {
1453
- body: PostMenuV3CategoryRelationshipsItemBody;
2051
+ export type PostMenuV3ModifierGroupResponse = ModifierGroupDTO;
2052
+ export interface PostMenuV3ModifierGroupRequest extends BaseRequest {
2053
+ body: PostMenuV3ModifierGroupBody;
1454
2054
  }
1455
- export interface GetMenuV3CategoryRelationshipsItemPath {
2055
+ export interface GetMenuV3ModifierGroupPath {
1456
2056
  id: string;
1457
2057
  }
1458
- export interface GetMenuV3CategoryRelationshipsItemQuery {
2058
+ export interface GetMenuV3ModifierGroupQuery {
1459
2059
  select?: string[];
1460
2060
  relationships?: string[];
1461
2061
  _query?: string;
1462
2062
  }
1463
- export type GetMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationshipDTO;
1464
- export interface GetMenuV3CategoryRelationshipsItemRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryRelationshipsItemQuery>, GetMenuV3CategoryRelationshipsItemPath {
2063
+ export type GetMenuV3ModifierGroupResponse = PublishedModifierGroupDTO;
2064
+ export interface GetMenuV3ModifierGroupRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupQuery>, GetMenuV3ModifierGroupPath {
1465
2065
  }
1466
- export interface PatchMenuV3CategoryRelationshipsItemPath {
1467
- id: string;
2066
+ export interface GetMenuV3ModifierGroupCountQuery {
2067
+ _query?: string;
1468
2068
  }
1469
- export interface PatchMenuV3CategoryRelationshipsItemBody {
1470
- category_id?: string;
1471
- item_id?: string;
2069
+ export interface GetMenuV3ModifierGroupCountResponse {
2070
+ count?: number;
2071
+ }
2072
+ export interface GetMenuV3ModifierGroupCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupCountQuery> {
2073
+ }
2074
+ export interface GetMenuV3ModifierGroupRelationshipsModifiersQuery {
2075
+ select?: string[];
2076
+ relationships?: string[];
2077
+ filter?: any;
2078
+ limit?: number;
2079
+ page?: number;
2080
+ sort_by?: string;
2081
+ sort_order?: string;
2082
+ soft_deleted?: string;
2083
+ _query?: string;
2084
+ }
2085
+ export interface GetMenuV3ModifierGroupRelationshipsModifiersResponse {
2086
+ results: PublishedModifierGroupToModifierRelationshipDTO[];
2087
+ meta?: ListResponseMetadataDTO;
2088
+ [index: string]: any;
2089
+ }
2090
+ export interface GetMenuV3ModifierGroupRelationshipsModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupRelationshipsModifiersQuery> {
2091
+ }
2092
+ export interface PostMenuV3ModifierGroupRelationshipsModifierBody {
2093
+ modifier_id: string;
2094
+ modifier_group_id: string;
1472
2095
  sequence?: number;
1473
- id?: string;
1474
- category?: CategoryDTO;
1475
- item?: ItemDTO;
2096
+ modifier?: ModifierDTO;
2097
+ modifier_group?: ModifierGroupDTO;
1476
2098
  [index: string]: any;
1477
2099
  }
1478
- export type PatchMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationshipDTO;
1479
- export interface PatchMenuV3CategoryRelationshipsItemRequest extends BaseRequest, PatchMenuV3CategoryRelationshipsItemPath {
1480
- body: PatchMenuV3CategoryRelationshipsItemBody;
2100
+ export type PostMenuV3ModifierGroupRelationshipsModifierResponse = ModifierGroupToModifierRelationshipDTO;
2101
+ export interface PostMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest {
2102
+ body: PostMenuV3ModifierGroupRelationshipsModifierBody;
1481
2103
  }
1482
- export interface DeleteMenuV3CategoryRelationshipsItemPath {
2104
+ export interface GetMenuV3ModifierGroupRelationshipsModifierPath {
1483
2105
  id: string;
1484
2106
  }
1485
- export type DeleteMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationshipDTO;
1486
- export interface DeleteMenuV3CategoryRelationshipsItemRequest extends BaseRequest, DeleteMenuV3CategoryRelationshipsItemPath {
2107
+ export interface GetMenuV3ModifierGroupRelationshipsModifierQuery {
2108
+ select?: string[];
2109
+ relationships?: string[];
2110
+ _query?: string;
2111
+ }
2112
+ export type GetMenuV3ModifierGroupRelationshipsModifierResponse = PublishedModifierGroupToModifierRelationshipDTO;
2113
+ export interface GetMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupRelationshipsModifierQuery>, GetMenuV3ModifierGroupRelationshipsModifierPath {
1487
2114
  }
1488
- export interface GetMenuV3BrandsQuery {
2115
+ export interface GetMenuV3ItemsQuery {
2116
+ select?: string[];
2117
+ relationships?: string[];
1489
2118
  filter?: any;
1490
2119
  limit?: number;
1491
2120
  page?: number;
1492
2121
  sort_by?: string;
1493
2122
  sort_order?: string;
1494
2123
  soft_deleted?: string;
2124
+ _query?: string;
2125
+ }
2126
+ export interface GetMenuV3ItemsResponse {
2127
+ results: PublishedItemDTO[];
2128
+ meta?: ListResponseMetadataDTO;
2129
+ [index: string]: any;
2130
+ }
2131
+ export interface GetMenuV3ItemsRequest extends BaseRequest, RequestQuery<GetMenuV3ItemsQuery> {
2132
+ }
2133
+ export interface GetMenuV3ItemPath {
2134
+ id: string;
2135
+ }
2136
+ export interface GetMenuV3ItemQuery {
1495
2137
  select?: string[];
1496
2138
  relationships?: string[];
1497
2139
  _query?: string;
1498
2140
  }
1499
- export interface GetMenuV3BrandsResponse {
1500
- meta: PaginationMetaDTO;
1501
- results: BrandDTO[];
2141
+ export type GetMenuV3ItemResponse = PublishedItemDTO;
2142
+ export interface GetMenuV3ItemRequest extends BaseRequest, RequestQuery<GetMenuV3ItemQuery>, GetMenuV3ItemPath {
2143
+ }
2144
+ export interface PostMenuV3ItemBody {
2145
+ name: string;
2146
+ label?: string;
2147
+ description?: string;
2148
+ price: number;
2149
+ barcode?: string;
2150
+ calories?: number;
2151
+ priority?: number;
2152
+ is_active?: boolean;
2153
+ is_in_stock?: boolean;
2154
+ posid: string;
2155
+ tax_tags?: string[];
2156
+ modifier_groups?: ItemToModifierGroupRelationshipDTO[];
2157
+ brand_id: string;
2158
+ station_id?: string;
2159
+ categories?: CategoryToItemRelationshipDTO[];
2160
+ brand?: BrandDTO;
2161
+ station?: StationDTO;
1502
2162
  [index: string]: any;
1503
2163
  }
1504
- export interface GetMenuV3BrandsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandsQuery> {
2164
+ export type PostMenuV3ItemResponse = ItemDTO;
2165
+ export interface PostMenuV3ItemRequest extends BaseRequest {
2166
+ body: PostMenuV3ItemBody;
1505
2167
  }
1506
- export type PostMenuV3BrandsBody = {
1507
- layouts?: LayoutDTO[];
1508
- items?: ItemDTO[];
1509
- modifier_groups?: ModifierGroupDTO[];
1510
- modifiers?: ModifierDTO[];
1511
- id?: any;
1512
- [index: string]: any;
1513
- }[];
1514
- export interface PostMenuV3BrandsResponse {
1515
- meta: PaginationMetaDTO;
1516
- results: BrandDTO[];
1517
- [index: string]: any;
2168
+ export interface GetMenuV3ItemsCountQuery {
2169
+ filter?: any;
2170
+ _query?: string;
1518
2171
  }
1519
- export interface PostMenuV3BrandsRequest extends BaseRequest {
1520
- body: PostMenuV3BrandsBody;
2172
+ export interface GetMenuV3ItemsCountResponse {
2173
+ count: number;
2174
+ [index: string]: any;
1521
2175
  }
1522
- export interface GetMenuV3BrandModifiersPath {
1523
- id: string;
2176
+ export interface GetMenuV3ItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3ItemsCountQuery> {
1524
2177
  }
1525
- export interface GetMenuV3BrandModifiersQuery {
2178
+ export interface GetMenuV3ItemRelationshipsModifierGroupsQuery {
2179
+ select?: string[];
2180
+ relationships?: string[];
1526
2181
  filter?: any;
1527
2182
  limit?: number;
1528
2183
  page?: number;
1529
2184
  sort_by?: string;
1530
2185
  sort_order?: string;
1531
2186
  soft_deleted?: string;
1532
- select?: string[];
1533
- relationships?: string[];
1534
2187
  _query?: string;
1535
2188
  }
1536
- export interface GetMenuV3BrandModifiersResponse {
1537
- meta: PaginationMetaDTO;
1538
- results: ModifierDTO[];
2189
+ export interface GetMenuV3ItemRelationshipsModifierGroupsResponse {
2190
+ results: PublishedItemToModifierGroupRelationshipDTO[];
2191
+ meta?: ListResponseMetadataDTO;
1539
2192
  [index: string]: any;
1540
2193
  }
1541
- export interface GetMenuV3BrandModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3BrandModifiersQuery>, GetMenuV3BrandModifiersPath {
2194
+ export interface GetMenuV3ItemRelationshipsModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3ItemRelationshipsModifierGroupsQuery> {
1542
2195
  }
1543
- export interface GetMenuV3BrandModifierGroupsPath {
2196
+ export interface PostMenuV3ItemRelationshipsModifierGroupBody {
2197
+ modifier_group_id: string;
2198
+ item_id: string;
2199
+ sequence?: number;
2200
+ modifier_group?: ModifierGroupDTO;
2201
+ item?: ItemDTO;
2202
+ [index: string]: any;
2203
+ }
2204
+ export type PostMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationshipDTO;
2205
+ export interface PostMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest {
2206
+ body: PostMenuV3ItemRelationshipsModifierGroupBody;
2207
+ }
2208
+ export interface GetMenuV3ItemRelationshipsModifierGroupPath {
1544
2209
  id: string;
1545
2210
  }
1546
- export interface GetMenuV3BrandModifierGroupsQuery {
2211
+ export interface GetMenuV3ItemRelationshipsModifierGroupQuery {
2212
+ select?: string[];
2213
+ relationships?: string[];
2214
+ _query?: string;
2215
+ }
2216
+ export type GetMenuV3ItemRelationshipsModifierGroupResponse = PublishedItemToModifierGroupRelationshipDTO;
2217
+ export interface GetMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest, RequestQuery<GetMenuV3ItemRelationshipsModifierGroupQuery>, GetMenuV3ItemRelationshipsModifierGroupPath {
2218
+ }
2219
+ export interface GetMenuV3LayoutsQuery {
2220
+ select?: string[];
2221
+ relationships?: string[];
1547
2222
  filter?: any;
1548
2223
  limit?: number;
1549
2224
  page?: number;
1550
2225
  sort_by?: string;
1551
2226
  sort_order?: string;
1552
2227
  soft_deleted?: string;
1553
- select?: string[];
1554
- relationships?: string[];
1555
2228
  _query?: string;
1556
2229
  }
1557
- export interface GetMenuV3BrandModifierGroupsResponse {
1558
- meta: PaginationMetaDTO;
1559
- results: ModifierGroupDTO[];
2230
+ export interface GetMenuV3LayoutsResponse {
2231
+ results: PublishedLayoutDTO[];
2232
+ meta?: ListResponseMetadataDTO;
1560
2233
  [index: string]: any;
1561
2234
  }
1562
- export interface GetMenuV3BrandModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandModifierGroupsQuery>, GetMenuV3BrandModifierGroupsPath {
2235
+ export interface GetMenuV3LayoutsRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutsQuery> {
1563
2236
  }
1564
- export interface GetMenuV3BrandItemsPath {
2237
+ export interface GetMenuV3LayoutCategoriesPath {
1565
2238
  id: string;
1566
2239
  }
1567
- export interface GetMenuV3BrandItemsQuery {
2240
+ export interface GetMenuV3LayoutCategoriesQuery {
2241
+ select?: string[];
2242
+ relationships?: string[];
1568
2243
  filter?: any;
1569
2244
  limit?: number;
1570
2245
  page?: number;
1571
2246
  sort_by?: string;
1572
2247
  sort_order?: string;
1573
2248
  soft_deleted?: string;
1574
- select?: string[];
1575
- relationships?: string[];
1576
2249
  _query?: string;
1577
2250
  }
1578
- export interface GetMenuV3BrandItemsResponse {
1579
- meta: PaginationMetaDTO;
1580
- results: ItemDTO[];
2251
+ export interface GetMenuV3LayoutCategoriesResponse {
2252
+ results: DraftCategoryDTO[];
2253
+ meta?: ListResponseMetadataDTO;
1581
2254
  [index: string]: any;
1582
2255
  }
1583
- export interface GetMenuV3BrandItemsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandItemsQuery>, GetMenuV3BrandItemsPath {
2256
+ export interface GetMenuV3LayoutCategoriesRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutCategoriesQuery>, GetMenuV3LayoutCategoriesPath {
1584
2257
  }
1585
- export interface GetMenuV3BrandPath {
2258
+ export interface GetMenuV3LayoutPath {
1586
2259
  id: string;
1587
2260
  }
1588
- export interface GetMenuV3BrandQuery {
2261
+ export interface GetMenuV3LayoutQuery {
1589
2262
  select?: string[];
1590
2263
  relationships?: string[];
1591
2264
  _query?: string;
1592
2265
  }
1593
- export type GetMenuV3BrandResponse = BrandDTO;
1594
- export interface GetMenuV3BrandRequest extends BaseRequest, RequestQuery<GetMenuV3BrandQuery>, GetMenuV3BrandPath {
2266
+ export type GetMenuV3LayoutResponse = PublishedLayoutDTO;
2267
+ export interface GetMenuV3LayoutRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutQuery>, GetMenuV3LayoutPath {
1595
2268
  }
1596
- export interface PatchMenuV3BrandPath {
1597
- id: string;
2269
+ export interface PostMenuV3LayoutBody {
2270
+ name: string;
2271
+ categories?: CategoryDTO[];
2272
+ brand_id: string;
2273
+ station_id: string;
2274
+ brand?: BrandDTO;
2275
+ station?: StationDTO;
2276
+ [index: string]: any;
1598
2277
  }
1599
- export interface PatchMenuV3BrandBody {
1600
- layouts?: LayoutDTO[];
1601
- items?: ItemDTO[];
1602
- modifier_groups?: ModifierGroupDTO[];
1603
- modifiers?: ModifierDTO[];
2278
+ export interface PostMenuV3LayoutResponse {
2279
+ name: string;
2280
+ categories?: CategoryDTO[];
2281
+ brand_id: string;
2282
+ station_id: string;
1604
2283
  id?: string;
2284
+ created_at?: string;
2285
+ updated_at?: string;
2286
+ deleted_at?: string;
2287
+ brand?: BrandDTO;
2288
+ station?: StationDTO;
1605
2289
  [index: string]: any;
1606
2290
  }
1607
- export type PatchMenuV3BrandResponse = BrandDTO;
1608
- export interface PatchMenuV3BrandRequest extends BaseRequest, PatchMenuV3BrandPath {
1609
- body: PatchMenuV3BrandBody;
2291
+ export interface PostMenuV3LayoutRequest extends BaseRequest {
2292
+ body: PostMenuV3LayoutBody;
1610
2293
  }
1611
- export interface DeleteMenuV3BrandPath {
2294
+ export interface GetMenuV3LayoutsCountQuery {
2295
+ filter?: any;
2296
+ _query?: string;
2297
+ }
2298
+ export interface GetMenuV3LayoutsCountResponse {
2299
+ count: number;
2300
+ [index: string]: any;
2301
+ }
2302
+ export interface GetMenuV3LayoutsCountRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutsCountQuery> {
2303
+ }
2304
+ export interface GetMenuV3CategoryPath {
1612
2305
  id: string;
1613
2306
  }
1614
- export type DeleteMenuV3BrandResponse = BrandDTO;
1615
- export interface DeleteMenuV3BrandRequest extends BaseRequest, DeleteMenuV3BrandPath {
2307
+ export interface GetMenuV3CategoryQuery {
2308
+ select?: string[];
2309
+ relationships?: string[];
2310
+ _query?: string;
1616
2311
  }
1617
- export interface PostMenuV3BrandBody {
1618
- layouts?: LayoutDTO[];
1619
- items?: ItemDTO[];
1620
- modifier_groups?: ModifierGroupDTO[];
1621
- modifiers?: ModifierDTO[];
2312
+ export type GetMenuV3CategoryResponse = PublishedCategoryDTO;
2313
+ export interface GetMenuV3CategoryRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryQuery>, GetMenuV3CategoryPath {
2314
+ }
2315
+ export interface PostMenuV3CategoryBody {
2316
+ name: string;
2317
+ label?: string;
2318
+ sequence?: number;
2319
+ priority?: number;
2320
+ is_active?: boolean;
2321
+ layout_id: string;
2322
+ layout?: LayoutDTO;
2323
+ items?: CategoryToItemRelationshipDTO[];
1622
2324
  [index: string]: any;
1623
2325
  }
1624
- export type PostMenuV3BrandResponse = BrandDTO;
1625
- export interface PostMenuV3BrandRequest extends BaseRequest {
1626
- body: PostMenuV3BrandBody;
2326
+ export type PostMenuV3CategoryResponse = CategoryDTO;
2327
+ export interface PostMenuV3CategoryRequest extends BaseRequest {
2328
+ body: PostMenuV3CategoryBody;
1627
2329
  }
1628
- export interface GetMenuV3BrandsCountQuery {
2330
+ export interface GetMenuV3CategoriesCountQuery {
1629
2331
  filter?: any;
1630
2332
  _query?: string;
1631
2333
  }
1632
- export interface GetMenuV3BrandsCountResponse {
2334
+ export interface GetMenuV3CategoriesCountResponse {
1633
2335
  count: number;
1634
2336
  [index: string]: any;
1635
2337
  }
1636
- export interface GetMenuV3BrandsCountRequest extends BaseRequest, RequestQuery<GetMenuV3BrandsCountQuery> {
2338
+ export interface GetMenuV3CategoriesCountRequest extends BaseRequest, RequestQuery<GetMenuV3CategoriesCountQuery> {
1637
2339
  }
1638
- export interface GetMenuV3StationsQuery {
2340
+ export interface GetMenuV3CategoryRelationshipsItemsQuery {
2341
+ select?: string[];
2342
+ relationships?: string[];
1639
2343
  filter?: any;
1640
2344
  limit?: number;
1641
2345
  page?: number;
1642
2346
  sort_by?: string;
1643
2347
  sort_order?: string;
1644
2348
  soft_deleted?: string;
1645
- select?: string[];
1646
- relationships?: string[];
1647
2349
  _query?: string;
1648
2350
  }
1649
- export interface GetMenuV3StationsResponse {
1650
- meta: PaginationMetaDTO;
1651
- results: StationDTO[];
2351
+ export interface GetMenuV3CategoryRelationshipsItemsResponse {
2352
+ results: PublishedCategoryToItemRelationshipDTO[];
2353
+ meta?: ListResponseMetadataDTO;
1652
2354
  [index: string]: any;
1653
2355
  }
1654
- export interface GetMenuV3StationsRequest extends BaseRequest, RequestQuery<GetMenuV3StationsQuery> {
2356
+ export interface GetMenuV3CategoryRelationshipsItemsRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryRelationshipsItemsQuery> {
1655
2357
  }
1656
- export type PostMenuV3StationsBody = {
1657
- layouts?: LayoutDTO[];
1658
- items?: ItemDTO[];
1659
- modifier_groups?: ModifierGroupDTO[];
1660
- modifiers?: ModifierDTO[];
1661
- id?: any;
1662
- name?: string;
2358
+ export interface PostMenuV3CategoryRelationshipsItemBody {
2359
+ category_id: string;
2360
+ item_id: string;
2361
+ sequence?: number;
2362
+ category?: CategoryDTO;
2363
+ item?: ItemDTO;
2364
+ [index: string]: any;
2365
+ }
2366
+ export type PostMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationshipDTO;
2367
+ export interface PostMenuV3CategoryRelationshipsItemRequest extends BaseRequest {
2368
+ body: PostMenuV3CategoryRelationshipsItemBody;
2369
+ }
2370
+ export interface GetMenuV3CategoryRelationshipsItemPath {
2371
+ id: string;
2372
+ }
2373
+ export interface GetMenuV3CategoryRelationshipsItemQuery {
2374
+ select?: string[];
2375
+ relationships?: string[];
2376
+ _query?: string;
2377
+ }
2378
+ export type GetMenuV3CategoryRelationshipsItemResponse = PublishedCategoryToItemRelationshipDTO;
2379
+ export interface GetMenuV3CategoryRelationshipsItemRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryRelationshipsItemQuery>, GetMenuV3CategoryRelationshipsItemPath {
2380
+ }
2381
+ export interface GetMenuV3BrandsQuery {
2382
+ select?: string[];
2383
+ relationships?: string[];
2384
+ filter?: any;
2385
+ limit?: number;
2386
+ page?: number;
2387
+ sort_by?: string;
2388
+ sort_order?: string;
2389
+ soft_deleted?: string;
2390
+ _query?: string;
2391
+ }
2392
+ export interface GetMenuV3BrandsResponse {
2393
+ results: PublishedBrandDTO[];
2394
+ meta?: ListResponseMetadataDTO;
2395
+ [index: string]: any;
2396
+ }
2397
+ export interface GetMenuV3BrandsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandsQuery> {
2398
+ }
2399
+ export type PostMenuV3BrandsBody = {
2400
+ parent?: PublishedBrandDTO;
2401
+ children?: PublishedBrandDTO[];
2402
+ layouts?: PublishedLayoutDTO[];
2403
+ categories?: PublishedCategoryDTO[];
2404
+ category_to_items?: PublishedCategoryToItemRelationshipDTO[];
2405
+ items?: PublishedItemDTO[];
2406
+ item_to_modifier_group_relationships?: PublishedItemToModifierGroupRelationshipDTO[];
2407
+ modifier_groups?: PublishedModifierGroupDTO[];
2408
+ modifier_group_to_modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
2409
+ modifiers?: PublishedModifierDTO[];
2410
+ name: string;
2411
+ description?: string;
2412
+ is_active?: boolean;
2413
+ parent_id?: string;
2414
+ brand_group_id?: string;
2415
+ id?: any;
2416
+ brand_group?: BrandGroupDTO;
2417
+ attachments?: FileAttachmentsDTO;
2418
+ [index: string]: any;
2419
+ }[];
2420
+ export interface PostMenuV3BrandsResponse {
2421
+ results: PublishedBrandDTO[];
2422
+ meta?: ListResponseMetadataDTO;
2423
+ [index: string]: any;
2424
+ }
2425
+ export interface PostMenuV3BrandsRequest extends BaseRequest {
2426
+ body: PostMenuV3BrandsBody;
2427
+ }
2428
+ export interface GetMenuV3BrandModifiersPath {
2429
+ id: string;
2430
+ }
2431
+ export interface GetMenuV3BrandModifiersQuery {
2432
+ select?: string[];
2433
+ relationships?: string[];
2434
+ filter?: any;
2435
+ limit?: number;
2436
+ page?: number;
2437
+ sort_by?: string;
2438
+ sort_order?: string;
2439
+ soft_deleted?: string;
2440
+ _query?: string;
2441
+ }
2442
+ export interface GetMenuV3BrandModifiersResponse {
2443
+ results: DraftModifierDTO[];
2444
+ meta?: ListResponseMetadataDTO;
2445
+ [index: string]: any;
2446
+ }
2447
+ export interface GetMenuV3BrandModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3BrandModifiersQuery>, GetMenuV3BrandModifiersPath {
2448
+ }
2449
+ export interface GetMenuV3BrandModifierGroupsPath {
2450
+ id: string;
2451
+ }
2452
+ export interface GetMenuV3BrandModifierGroupsQuery {
2453
+ select?: string[];
2454
+ relationships?: string[];
2455
+ filter?: any;
2456
+ limit?: number;
2457
+ page?: number;
2458
+ sort_by?: string;
2459
+ sort_order?: string;
2460
+ soft_deleted?: string;
2461
+ _query?: string;
2462
+ }
2463
+ export interface GetMenuV3BrandModifierGroupsResponse {
2464
+ results: DraftModifierGroupDTO[];
2465
+ meta?: ListResponseMetadataDTO;
2466
+ [index: string]: any;
2467
+ }
2468
+ export interface GetMenuV3BrandModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandModifierGroupsQuery>, GetMenuV3BrandModifierGroupsPath {
2469
+ }
2470
+ export interface GetMenuV3BrandItemsPath {
2471
+ id: string;
2472
+ }
2473
+ export interface GetMenuV3BrandItemsQuery {
2474
+ select?: string[];
2475
+ relationships?: string[];
2476
+ filter?: any;
2477
+ limit?: number;
2478
+ page?: number;
2479
+ sort_by?: string;
2480
+ sort_order?: string;
2481
+ soft_deleted?: string;
2482
+ _query?: string;
2483
+ }
2484
+ export interface GetMenuV3BrandItemsResponse {
2485
+ results: DraftItemDTO[];
2486
+ meta?: ListResponseMetadataDTO;
2487
+ [index: string]: any;
2488
+ }
2489
+ export interface GetMenuV3BrandItemsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandItemsQuery>, GetMenuV3BrandItemsPath {
2490
+ }
2491
+ export interface GetMenuV3BrandPath {
2492
+ id: string;
2493
+ }
2494
+ export interface GetMenuV3BrandQuery {
2495
+ select?: string[];
2496
+ relationships?: string[];
2497
+ _query?: string;
2498
+ }
2499
+ export type GetMenuV3BrandResponse = PublishedBrandDTO;
2500
+ export interface GetMenuV3BrandRequest extends BaseRequest, RequestQuery<GetMenuV3BrandQuery>, GetMenuV3BrandPath {
2501
+ }
2502
+ export interface PatchMenuV3BrandPath {
2503
+ id: string;
2504
+ }
2505
+ export interface PatchMenuV3BrandBody {
2506
+ parent?: PublishedBrandDTO;
2507
+ children?: PublishedBrandDTO[];
2508
+ layouts?: PublishedLayoutDTO[];
2509
+ categories?: PublishedCategoryDTO[];
2510
+ category_to_items?: PublishedCategoryToItemRelationshipDTO[];
2511
+ items?: PublishedItemDTO[];
2512
+ item_to_modifier_group_relationships?: PublishedItemToModifierGroupRelationshipDTO[];
2513
+ modifier_groups?: PublishedModifierGroupDTO[];
2514
+ modifier_group_to_modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
2515
+ modifiers?: PublishedModifierDTO[];
2516
+ id?: string;
2517
+ name?: string;
2518
+ description?: string;
2519
+ is_active?: boolean;
2520
+ parent_id?: string;
2521
+ brand_group_id?: string;
2522
+ brand_group?: BrandGroupDTO;
2523
+ attachments?: FileAttachmentsDTO;
2524
+ [index: string]: any;
2525
+ }
2526
+ export type PatchMenuV3BrandResponse = PublishedBrandDTO;
2527
+ export interface PatchMenuV3BrandRequest extends BaseRequest, PatchMenuV3BrandPath {
2528
+ body: PatchMenuV3BrandBody;
2529
+ }
2530
+ export interface DeleteMenuV3BrandPath {
2531
+ id: string;
2532
+ }
2533
+ export type DeleteMenuV3BrandResponse = PublishedBrandDTO;
2534
+ export interface DeleteMenuV3BrandRequest extends BaseRequest, DeleteMenuV3BrandPath {
2535
+ }
2536
+ export interface PostMenuV3BrandBody {
2537
+ parent?: PublishedBrandDTO;
2538
+ children?: PublishedBrandDTO[];
2539
+ layouts?: PublishedLayoutDTO[];
2540
+ categories?: PublishedCategoryDTO[];
2541
+ category_to_items?: PublishedCategoryToItemRelationshipDTO[];
2542
+ items?: PublishedItemDTO[];
2543
+ item_to_modifier_group_relationships?: PublishedItemToModifierGroupRelationshipDTO[];
2544
+ modifier_groups?: PublishedModifierGroupDTO[];
2545
+ modifier_group_to_modifiers?: PublishedModifierGroupToModifierRelationshipDTO[];
2546
+ modifiers?: PublishedModifierDTO[];
2547
+ name: string;
2548
+ description?: string;
2549
+ is_active?: boolean;
2550
+ parent_id?: string;
2551
+ brand_group_id?: string;
2552
+ id?: any;
2553
+ brand_group?: BrandGroupDTO;
2554
+ attachments?: FileAttachmentsDTO;
2555
+ [index: string]: any;
2556
+ }
2557
+ export type PostMenuV3BrandResponse = PublishedBrandDTO;
2558
+ export interface PostMenuV3BrandRequest extends BaseRequest {
2559
+ body: PostMenuV3BrandBody;
2560
+ }
2561
+ export interface GetMenuV3BrandsCountQuery {
2562
+ filter?: any;
2563
+ _query?: string;
2564
+ }
2565
+ export interface GetMenuV3BrandsCountResponse {
2566
+ count: number;
2567
+ [index: string]: any;
2568
+ }
2569
+ export interface GetMenuV3BrandsCountRequest extends BaseRequest, RequestQuery<GetMenuV3BrandsCountQuery> {
2570
+ }
2571
+ export interface GetMenuV3StationsQuery {
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 GetMenuV3StationsResponse {
2583
+ meta: PaginationMetaDTO;
2584
+ results: StationDTO[];
2585
+ [index: string]: any;
2586
+ }
2587
+ export interface GetMenuV3StationsRequest extends BaseRequest, RequestQuery<GetMenuV3StationsQuery> {
2588
+ }
2589
+ export type PostMenuV3StationsBody = {
2590
+ layouts?: LayoutDTO[];
2591
+ items?: ItemDTO[];
2592
+ modifier_groups?: ModifierGroupDTO[];
2593
+ modifiers?: ModifierDTO[];
2594
+ id?: any;
2595
+ name?: string;
1663
2596
  [index: string]: any;
1664
2597
  }[];
1665
2598
  export interface PostMenuV3StationsResponse {
@@ -1928,230 +2861,1784 @@ export interface GetMenuCompanyModifierGroupsQuery {
1928
2861
  export type GetMenuCompanyModifierGroupsResponse = OptionsGroupList;
1929
2862
  export interface GetMenuCompanyModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuCompanyModifierGroupsQuery>, GetMenuCompanyModifierGroupsPath {
1930
2863
  }
1931
- export interface GetMenuCompanyModifierGroupsExportPath {
1932
- company: string;
2864
+ export interface GetMenuCompanyModifierGroupsExportPath {
2865
+ company: string;
2866
+ }
2867
+ export interface GetMenuCompanyModifierGroupsExportQuery {
2868
+ _query?: string;
2869
+ }
2870
+ export type GetMenuCompanyModifierGroupsExportResponse = ZippedExcelExport;
2871
+ export interface GetMenuCompanyModifierGroupsExportRequest extends BaseRequest, RequestQuery<GetMenuCompanyModifierGroupsExportQuery>, GetMenuCompanyModifierGroupsExportPath {
2872
+ }
2873
+ export interface GetMenuExportPath {
2874
+ id: string;
2875
+ }
2876
+ export interface GetMenuExportQuery {
2877
+ _query?: string;
2878
+ }
2879
+ export type GetMenuExportResponse = ZippedExcelExport;
2880
+ export interface GetMenuExportRequest extends BaseRequest, RequestQuery<GetMenuExportQuery>, GetMenuExportPath {
2881
+ }
2882
+ export interface GetMenuPartialGroupsPath {
2883
+ id: string;
2884
+ }
2885
+ export interface GetMenuPartialGroupsQuery {
2886
+ extended?: boolean;
2887
+ show_unlinked?: boolean;
2888
+ _query?: string;
2889
+ }
2890
+ export type GetMenuPartialGroupsResponse = Menu;
2891
+ export interface GetMenuPartialGroupsRequest extends BaseRequest, RequestQuery<GetMenuPartialGroupsQuery>, GetMenuPartialGroupsPath {
2892
+ }
2893
+ export interface GetMenuPartialGroupItemsPath {
2894
+ id: string;
2895
+ group_id: string;
2896
+ }
2897
+ export interface GetMenuPartialGroupItemsQuery {
2898
+ extended?: boolean;
2899
+ _query?: string;
2900
+ }
2901
+ export type GetMenuPartialGroupItemsResponse = Items;
2902
+ export interface GetMenuPartialGroupItemsRequest extends BaseRequest, RequestQuery<GetMenuPartialGroupItemsQuery>, GetMenuPartialGroupItemsPath {
2903
+ }
2904
+ export interface PostMenuPartialGroupItemOptionsPath {
2905
+ id: string;
2906
+ group_id: string;
2907
+ }
2908
+ export interface PostMenuPartialGroupItemOptionsQuery {
2909
+ extended?: boolean;
2910
+ }
2911
+ export interface PostMenuPartialGroupItemOptionsBody {
2912
+ item_id?: string[];
2913
+ }
2914
+ export type PostMenuPartialGroupItemOptionsResponse = Items;
2915
+ export interface PostMenuPartialGroupItemOptionsRequest extends BaseRequest, RequestQuery<PostMenuPartialGroupItemOptionsQuery>, PostMenuPartialGroupItemOptionsPath {
2916
+ body: PostMenuPartialGroupItemOptionsBody;
2917
+ }
2918
+ export interface PostMenuV3LayoutPublishPath {
2919
+ id: string;
2920
+ }
2921
+ export interface PostMenuV3LayoutPublishQuery {
2922
+ filter?: any;
2923
+ limit?: number;
2924
+ page?: number;
2925
+ sort_by?: string;
2926
+ sort_order?: string;
2927
+ soft_deleted?: string;
2928
+ select?: string[];
2929
+ relationships?: string[];
2930
+ }
2931
+ export interface PostMenuV3LayoutPublishResponse {
2932
+ status?: string;
2933
+ }
2934
+ export interface PostMenuV3LayoutPublishRequest extends BaseRequest, RequestQuery<PostMenuV3LayoutPublishQuery>, PostMenuV3LayoutPublishPath {
2935
+ }
2936
+ export type PostMenuV3CategorysBody = {
2937
+ name: string;
2938
+ label?: string;
2939
+ sequence?: number;
2940
+ priority?: number;
2941
+ is_active?: boolean;
2942
+ layout_id: string;
2943
+ id?: any;
2944
+ layout?: LayoutDTO;
2945
+ items?: CategoryToItemRelationshipDTO[];
2946
+ [index: string]: any;
2947
+ }[];
2948
+ export interface PostMenuV3CategorysResponse {
2949
+ meta: PaginationMetaDTO;
2950
+ results: CategoryDTO[];
2951
+ [index: string]: any;
2952
+ }
2953
+ export interface PostMenuV3CategorysRequest extends BaseRequest {
2954
+ body: PostMenuV3CategorysBody;
2955
+ }
2956
+ export interface GetMenuV3CategoryRelationshipsItemsCountQuery {
2957
+ filter?: any;
2958
+ _query?: string;
2959
+ }
2960
+ export interface GetMenuV3CategoryRelationshipsItemsCountResponse {
2961
+ count: number;
2962
+ [index: string]: any;
2963
+ }
2964
+ export interface GetMenuV3CategoryRelationshipsItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryRelationshipsItemsCountQuery> {
2965
+ }
2966
+ export interface GetMenuV3ItemRelationshipsModifierGroupsCountQuery {
2967
+ filter?: any;
2968
+ _query?: string;
2969
+ }
2970
+ export interface GetMenuV3ItemRelationshipsModifierGroupsCountResponse {
2971
+ count: number;
2972
+ [index: string]: any;
2973
+ }
2974
+ export interface GetMenuV3ItemRelationshipsModifierGroupsCountRequest extends BaseRequest, RequestQuery<GetMenuV3ItemRelationshipsModifierGroupsCountQuery> {
2975
+ }
2976
+ export interface GetMenuV3ModifierGroupsCountQuery {
2977
+ filter?: any;
2978
+ _query?: string;
2979
+ }
2980
+ export interface GetMenuV3ModifierGroupsCountResponse {
2981
+ count: number;
2982
+ [index: string]: any;
2983
+ }
2984
+ export interface GetMenuV3ModifierGroupsCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupsCountQuery> {
2985
+ }
2986
+ export interface GetMenuV3ModifierGroupRelationshipsModifiersCountQuery {
2987
+ filter?: any;
2988
+ _query?: string;
2989
+ }
2990
+ export interface GetMenuV3ModifierGroupRelationshipsModifiersCountResponse {
2991
+ count: number;
2992
+ [index: string]: any;
2993
+ }
2994
+ export interface GetMenuV3ModifierGroupRelationshipsModifiersCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupRelationshipsModifiersCountQuery> {
2995
+ }
2996
+ export interface GetMenuV3ModifiersCountQuery {
2997
+ filter?: any;
2998
+ _query?: string;
2999
+ }
3000
+ export interface GetMenuV3ModifiersCountResponse {
3001
+ count: number;
3002
+ [index: string]: any;
3003
+ }
3004
+ export interface GetMenuV3ModifiersCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifiersCountQuery> {
3005
+ }
3006
+ export interface GetMenuV3StationModifiersPath {
3007
+ id: string;
3008
+ }
3009
+ export interface GetMenuV3StationModifiersQuery {
3010
+ filter?: any;
3011
+ limit?: number;
3012
+ page?: number;
3013
+ sort_by?: string;
3014
+ sort_order?: string;
3015
+ soft_deleted?: string;
3016
+ select?: string[];
3017
+ relationships?: string[];
3018
+ _query?: string;
3019
+ }
3020
+ export interface GetMenuV3StationModifiersResponse {
3021
+ meta: PaginationMetaDTO;
3022
+ results: ModifierEntityDTO[];
3023
+ [index: string]: any;
3024
+ }
3025
+ export interface GetMenuV3StationModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3StationModifiersQuery>, GetMenuV3StationModifiersPath {
3026
+ }
3027
+ export interface GetMenuV3StationModifierGroupsPath {
3028
+ id: string;
3029
+ }
3030
+ export interface GetMenuV3StationModifierGroupsQuery {
3031
+ filter?: any;
3032
+ limit?: number;
3033
+ page?: number;
3034
+ sort_by?: string;
3035
+ sort_order?: string;
3036
+ soft_deleted?: string;
3037
+ select?: string[];
3038
+ relationships?: string[];
3039
+ _query?: string;
3040
+ }
3041
+ export interface GetMenuV3StationModifierGroupsResponse {
3042
+ meta: PaginationMetaDTO;
3043
+ results: ModifierGroupEntityDTO[];
3044
+ [index: string]: any;
3045
+ }
3046
+ export interface GetMenuV3StationModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3StationModifierGroupsQuery>, GetMenuV3StationModifierGroupsPath {
3047
+ }
3048
+ export interface GetMenuV3StationItemsPath {
3049
+ id: string;
3050
+ }
3051
+ export interface GetMenuV3StationItemsQuery {
3052
+ filter?: any;
3053
+ limit?: number;
3054
+ page?: number;
3055
+ sort_by?: string;
3056
+ sort_order?: string;
3057
+ soft_deleted?: string;
3058
+ select?: string[];
3059
+ relationships?: string[];
3060
+ _query?: string;
3061
+ }
3062
+ export interface GetMenuV3StationItemsResponse {
3063
+ meta: PaginationMetaDTO;
3064
+ results: ItemEntityDTO[];
3065
+ [index: string]: any;
3066
+ }
3067
+ export interface GetMenuV3StationItemsRequest extends BaseRequest, RequestQuery<GetMenuV3StationItemsQuery>, GetMenuV3StationItemsPath {
3068
+ }
3069
+ export interface GetMenuV3SiteLayoutsPath {
3070
+ id: string;
3071
+ }
3072
+ export interface GetMenuV3SiteLayoutsQuery {
3073
+ filter?: any;
3074
+ limit?: number;
3075
+ page?: number;
3076
+ sort_by?: string;
3077
+ sort_order?: string;
3078
+ soft_deleted?: string;
3079
+ select?: string[];
3080
+ relationships?: string[];
3081
+ _query?: string;
3082
+ }
3083
+ export interface GetMenuV3SiteLayoutsResponse {
3084
+ meta: PaginationMetaDTO;
3085
+ results: LayoutDTO[];
3086
+ [index: string]: any;
3087
+ }
3088
+ export interface GetMenuV3SiteLayoutsRequest extends BaseRequest, RequestQuery<GetMenuV3SiteLayoutsQuery>, GetMenuV3SiteLayoutsPath {
3089
+ }
3090
+ export interface PostMenuV3DraftLayoutBody {
3091
+ parent?: DraftLayoutDTO;
3092
+ children?: any[];
3093
+ categories?: any[];
3094
+ parent_id?: string;
3095
+ name: string;
3096
+ brand_id: string;
3097
+ id?: any;
3098
+ station_id?: string;
3099
+ brand?: any;
3100
+ changes?: any[];
3101
+ station?: any;
3102
+ [index: string]: any;
3103
+ }
3104
+ export type PostMenuV3DraftLayoutResponse = DraftLayoutDTO;
3105
+ export interface PostMenuV3DraftLayoutRequest extends BaseRequest {
3106
+ body: PostMenuV3DraftLayoutBody;
3107
+ }
3108
+ export interface GetMenuV3DraftLayoutPath {
3109
+ id: string;
3110
+ }
3111
+ export interface GetMenuV3DraftLayoutQuery {
3112
+ select?: string[];
3113
+ relationships?: string[];
3114
+ _query?: string;
3115
+ }
3116
+ export type GetMenuV3DraftLayoutResponse = DraftLayoutDTO;
3117
+ export interface GetMenuV3DraftLayoutRequest extends BaseRequest, RequestQuery<GetMenuV3DraftLayoutQuery>, GetMenuV3DraftLayoutPath {
3118
+ }
3119
+ export interface PatchMenuV3DraftLayoutPath {
3120
+ id: string;
3121
+ }
3122
+ export interface PatchMenuV3DraftLayoutBody {
3123
+ parent?: DraftLayoutDTO;
3124
+ children?: DraftLayoutDTO[];
3125
+ categories?: DraftCategoryDTO[];
3126
+ id?: string;
3127
+ parent_id?: string;
3128
+ name?: string;
3129
+ brand_id?: string;
3130
+ station_id?: string;
3131
+ brand?: DraftBrandDTO;
3132
+ changes?: DraftLayoutChangeDTO[];
3133
+ station?: StationDTO;
3134
+ [index: string]: any;
3135
+ }
3136
+ export type PatchMenuV3DraftLayoutResponse = DraftLayoutDTO;
3137
+ export interface PatchMenuV3DraftLayoutRequest extends BaseRequest, PatchMenuV3DraftLayoutPath {
3138
+ body: PatchMenuV3DraftLayoutBody;
3139
+ }
3140
+ export interface DeleteMenuV3DraftLayoutPath {
3141
+ id: string;
3142
+ }
3143
+ export type DeleteMenuV3DraftLayoutResponse = DraftLayoutDTO;
3144
+ export interface DeleteMenuV3DraftLayoutRequest extends BaseRequest, DeleteMenuV3DraftLayoutPath {
3145
+ }
3146
+ export interface GetMenuV3DraftLayoutsQuery {
3147
+ select?: string[];
3148
+ relationships?: string[];
3149
+ filter?: any;
3150
+ limit?: number;
3151
+ page?: number;
3152
+ sort_by?: string;
3153
+ sort_order?: string;
3154
+ soft_deleted?: string;
3155
+ _query?: string;
3156
+ }
3157
+ export interface GetMenuV3DraftLayoutsResponse {
3158
+ results: DraftLayoutDTO[];
3159
+ meta?: ListResponseMetadataDTO;
3160
+ [index: string]: any;
3161
+ }
3162
+ export interface GetMenuV3DraftLayoutsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftLayoutsQuery> {
3163
+ }
3164
+ export type PostMenuV3DraftLayoutsBody = {
3165
+ parent?: DraftLayoutDTO;
3166
+ children?: DraftLayoutDTO[];
3167
+ categories?: DraftCategoryDTO[];
3168
+ parent_id?: string;
3169
+ name: string;
3170
+ brand_id: string;
3171
+ id?: any;
3172
+ station_id?: string;
3173
+ brand?: DraftBrandDTO;
3174
+ changes?: DraftLayoutChangeDTO[];
3175
+ station?: StationDTO;
3176
+ [index: string]: any;
3177
+ }[];
3178
+ export interface PostMenuV3DraftLayoutsResponse {
3179
+ results: DraftLayoutDTO[];
3180
+ meta?: ListResponseMetadataDTO;
3181
+ [index: string]: any;
3182
+ }
3183
+ export interface PostMenuV3DraftLayoutsRequest extends BaseRequest {
3184
+ body: PostMenuV3DraftLayoutsBody;
3185
+ }
3186
+ export interface GetMenuV3DraftLayoutsCountQuery {
3187
+ filter?: any;
3188
+ _query?: string;
3189
+ }
3190
+ export interface GetMenuV3DraftLayoutsCountResponse {
3191
+ count: number;
3192
+ [index: string]: any;
3193
+ }
3194
+ export interface GetMenuV3DraftLayoutsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftLayoutsCountQuery> {
3195
+ }
3196
+ export interface GetMenuV3DraftLayoutCategoriesPath {
3197
+ id: string;
3198
+ }
3199
+ export interface GetMenuV3DraftLayoutCategoriesQuery {
3200
+ select?: string[];
3201
+ relationships?: string[];
3202
+ filter?: any;
3203
+ limit?: number;
3204
+ page?: number;
3205
+ sort_by?: string;
3206
+ sort_order?: string;
3207
+ soft_deleted?: string;
3208
+ _query?: string;
3209
+ }
3210
+ export interface GetMenuV3DraftLayoutCategoriesResponse {
3211
+ results: DraftCategoryDTO[];
3212
+ meta?: ListResponseMetadataDTO;
3213
+ [index: string]: any;
3214
+ }
3215
+ export interface GetMenuV3DraftLayoutCategoriesRequest extends BaseRequest, RequestQuery<GetMenuV3DraftLayoutCategoriesQuery>, GetMenuV3DraftLayoutCategoriesPath {
3216
+ }
3217
+ export interface PostMenuV3DraftLayoutPublishPath {
3218
+ id: string;
3219
+ }
3220
+ export interface PostMenuV3DraftLayoutPublishResponse {
3221
+ status?: string;
3222
+ }
3223
+ export interface PostMenuV3DraftLayoutPublishRequest extends BaseRequest, PostMenuV3DraftLayoutPublishPath {
3224
+ }
3225
+ export interface PostMenuV3DraftCategoryBody {
3226
+ parent_id?: string;
3227
+ parent?: DraftCategoryDTO;
3228
+ children?: DraftCategoryDTO[];
3229
+ name: string;
3230
+ label?: string;
3231
+ sequence?: number;
3232
+ priority?: number;
3233
+ is_active?: boolean;
3234
+ layout_id: string;
3235
+ brand_id: string;
3236
+ id?: any;
3237
+ layout?: DraftLayoutDTO;
3238
+ items?: DraftCategoryToItemRelationshipDTO[];
3239
+ brand?: DraftBrandDTO;
3240
+ changes?: DraftCategoryChangeDTO[];
3241
+ [index: string]: any;
3242
+ }
3243
+ export type PostMenuV3DraftCategoryResponse = DraftCategoryDTO;
3244
+ export interface PostMenuV3DraftCategoryRequest extends BaseRequest {
3245
+ body: PostMenuV3DraftCategoryBody;
3246
+ }
3247
+ export interface GetMenuV3DraftCategoryPath {
3248
+ id: string;
3249
+ }
3250
+ export interface GetMenuV3DraftCategoryQuery {
3251
+ select?: string[];
3252
+ relationships?: string[];
3253
+ _query?: string;
3254
+ }
3255
+ export type GetMenuV3DraftCategoryResponse = DraftCategoryDTO;
3256
+ export interface GetMenuV3DraftCategoryRequest extends BaseRequest, RequestQuery<GetMenuV3DraftCategoryQuery>, GetMenuV3DraftCategoryPath {
3257
+ }
3258
+ export interface PatchMenuV3DraftCategoryPath {
3259
+ id: string;
3260
+ }
3261
+ export interface PatchMenuV3DraftCategoryBody {
3262
+ parent_id?: string;
3263
+ parent?: DraftCategoryDTO;
3264
+ children?: DraftCategoryDTO[];
3265
+ name?: string;
3266
+ label?: string;
3267
+ sequence?: number;
3268
+ priority?: number;
3269
+ is_active?: boolean;
3270
+ layout_id?: string;
3271
+ brand_id?: string;
3272
+ id?: string;
3273
+ layout?: DraftLayoutDTO;
3274
+ items?: DraftCategoryToItemRelationshipDTO[];
3275
+ brand?: DraftBrandDTO;
3276
+ changes?: DraftCategoryChangeDTO[];
3277
+ [index: string]: any;
3278
+ }
3279
+ export type PatchMenuV3DraftCategoryResponse = DraftCategoryDTO;
3280
+ export interface PatchMenuV3DraftCategoryRequest extends BaseRequest, PatchMenuV3DraftCategoryPath {
3281
+ body: PatchMenuV3DraftCategoryBody;
3282
+ }
3283
+ export interface DeleteMenuV3DraftCategoryPath {
3284
+ id: string;
3285
+ }
3286
+ export type DeleteMenuV3DraftCategoryResponse = DraftCategoryDTO;
3287
+ export interface DeleteMenuV3DraftCategoryRequest extends BaseRequest, DeleteMenuV3DraftCategoryPath {
3288
+ }
3289
+ export interface GetMenuV3DraftCategoriesCountQuery {
3290
+ filter?: any;
3291
+ _query?: string;
3292
+ }
3293
+ export interface GetMenuV3DraftCategoriesCountResponse {
3294
+ count: number;
3295
+ [index: string]: any;
3296
+ }
3297
+ export interface GetMenuV3DraftCategoriesCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftCategoriesCountQuery> {
3298
+ }
3299
+ export type PostMenuV3DraftCategorysBody = {
3300
+ parent_id?: string;
3301
+ parent?: DraftCategoryDTO;
3302
+ children?: DraftCategoryDTO[];
3303
+ name: string;
3304
+ label?: string;
3305
+ sequence?: number;
3306
+ priority?: number;
3307
+ is_active?: boolean;
3308
+ layout_id: string;
3309
+ brand_id: string;
3310
+ id?: any;
3311
+ layout?: DraftLayoutDTO;
3312
+ items?: DraftCategoryToItemRelationshipDTO[];
3313
+ brand?: DraftBrandDTO;
3314
+ changes?: DraftCategoryChangeDTO[];
3315
+ [index: string]: any;
3316
+ }[];
3317
+ export interface PostMenuV3DraftCategorysResponse {
3318
+ results: DraftCategoryDTO[];
3319
+ meta?: ListResponseMetadataDTO;
3320
+ [index: string]: any;
3321
+ }
3322
+ export interface PostMenuV3DraftCategorysRequest extends BaseRequest {
3323
+ body: PostMenuV3DraftCategorysBody;
3324
+ }
3325
+ export interface PostMenuV3DraftCategoryRelationshipsItemBody {
3326
+ parent?: DraftCategoryToItemRelationshipDTO;
3327
+ children?: DraftCategoryToItemRelationshipDTO[];
3328
+ parent_id?: string;
3329
+ category_id: string;
3330
+ item_id: string;
3331
+ brand_id?: string;
3332
+ sequence?: number;
3333
+ id?: any;
3334
+ category?: DraftCategoryDTO;
3335
+ item?: DraftItemDTO;
3336
+ brand?: DraftBrandDTO;
3337
+ changes?: DraftCategoryToItemRelationshipChangeDTO[];
3338
+ [index: string]: any;
3339
+ }
3340
+ export type PostMenuV3DraftCategoryRelationshipsItemResponse = DraftCategoryToItemRelationshipDTO;
3341
+ export interface PostMenuV3DraftCategoryRelationshipsItemRequest extends BaseRequest {
3342
+ body: PostMenuV3DraftCategoryRelationshipsItemBody;
3343
+ }
3344
+ export interface GetMenuV3DraftCategoryRelationshipsItemPath {
3345
+ id: string;
3346
+ }
3347
+ export interface GetMenuV3DraftCategoryRelationshipsItemQuery {
3348
+ select?: string[];
3349
+ relationships?: string[];
3350
+ _query?: string;
3351
+ }
3352
+ export type GetMenuV3DraftCategoryRelationshipsItemResponse = DraftCategoryToItemRelationshipDTO;
3353
+ export interface GetMenuV3DraftCategoryRelationshipsItemRequest extends BaseRequest, RequestQuery<GetMenuV3DraftCategoryRelationshipsItemQuery>, GetMenuV3DraftCategoryRelationshipsItemPath {
3354
+ }
3355
+ export interface PatchMenuV3DraftCategoryRelationshipsItemPath {
3356
+ id: string;
3357
+ }
3358
+ export interface PatchMenuV3DraftCategoryRelationshipsItemBody {
3359
+ parent?: DraftCategoryToItemRelationshipDTO;
3360
+ children?: DraftCategoryToItemRelationshipDTO[];
3361
+ id?: string;
3362
+ parent_id?: string;
3363
+ category_id?: string;
3364
+ item_id?: string;
3365
+ brand_id?: string;
3366
+ sequence?: number;
3367
+ category?: DraftCategoryDTO;
3368
+ item?: DraftItemDTO;
3369
+ brand?: DraftBrandDTO;
3370
+ changes?: DraftCategoryToItemRelationshipChangeDTO[];
3371
+ [index: string]: any;
3372
+ }
3373
+ export type PatchMenuV3DraftCategoryRelationshipsItemResponse = DraftCategoryToItemRelationshipDTO;
3374
+ export interface PatchMenuV3DraftCategoryRelationshipsItemRequest extends BaseRequest, PatchMenuV3DraftCategoryRelationshipsItemPath {
3375
+ body: PatchMenuV3DraftCategoryRelationshipsItemBody;
3376
+ }
3377
+ export interface DeleteMenuV3DraftCategoryRelationshipsItemPath {
3378
+ id: string;
3379
+ }
3380
+ export type DeleteMenuV3DraftCategoryRelationshipsItemResponse = DraftCategoryToItemRelationshipDTO;
3381
+ export interface DeleteMenuV3DraftCategoryRelationshipsItemRequest extends BaseRequest, DeleteMenuV3DraftCategoryRelationshipsItemPath {
3382
+ }
3383
+ export interface GetMenuV3DraftCategoryRelationshipsItemsQuery {
3384
+ select?: string[];
3385
+ relationships?: string[];
3386
+ filter?: any;
3387
+ limit?: number;
3388
+ page?: number;
3389
+ sort_by?: string;
3390
+ sort_order?: string;
3391
+ soft_deleted?: string;
3392
+ _query?: string;
3393
+ }
3394
+ export interface GetMenuV3DraftCategoryRelationshipsItemsResponse {
3395
+ results: DraftCategoryToItemRelationshipDTO[];
3396
+ meta?: ListResponseMetadataDTO;
3397
+ [index: string]: any;
3398
+ }
3399
+ export interface GetMenuV3DraftCategoryRelationshipsItemsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftCategoryRelationshipsItemsQuery> {
3400
+ }
3401
+ export type PostMenuV3DraftCategoryRelationshipsItemsBody = {
3402
+ parent?: DraftCategoryToItemRelationshipDTO;
3403
+ children?: DraftCategoryToItemRelationshipDTO[];
3404
+ parent_id?: string;
3405
+ category_id: string;
3406
+ item_id: string;
3407
+ brand_id?: string;
3408
+ sequence?: number;
3409
+ id?: any;
3410
+ category?: DraftCategoryDTO;
3411
+ item?: DraftItemDTO;
3412
+ brand?: DraftBrandDTO;
3413
+ changes?: DraftCategoryToItemRelationshipChangeDTO[];
3414
+ [index: string]: any;
3415
+ }[];
3416
+ export interface PostMenuV3DraftCategoryRelationshipsItemsResponse {
3417
+ results: DraftCategoryToItemRelationshipDTO[];
3418
+ meta?: ListResponseMetadataDTO;
3419
+ [index: string]: any;
3420
+ }
3421
+ export interface PostMenuV3DraftCategoryRelationshipsItemsRequest extends BaseRequest {
3422
+ body: PostMenuV3DraftCategoryRelationshipsItemsBody;
3423
+ }
3424
+ export interface GetMenuV3DraftCategoryRelationshipsItemsCountQuery {
3425
+ filter?: any;
3426
+ _query?: string;
3427
+ }
3428
+ export interface GetMenuV3DraftCategoryRelationshipsItemsCountResponse {
3429
+ count: number;
3430
+ [index: string]: any;
3431
+ }
3432
+ export interface GetMenuV3DraftCategoryRelationshipsItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftCategoryRelationshipsItemsCountQuery> {
3433
+ }
3434
+ export interface PostMenuV3DraftItemBody {
3435
+ parent?: DraftItemDTO;
3436
+ children?: DraftItemDTO[];
3437
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3438
+ parent_id?: string;
3439
+ name: string;
3440
+ label?: string;
3441
+ description?: string;
3442
+ price: number;
3443
+ barcode?: string;
3444
+ calories?: number;
3445
+ priority?: number;
3446
+ is_active?: boolean;
3447
+ is_in_stock?: boolean;
3448
+ posid: string;
3449
+ tax_tags?: any[];
3450
+ brand_id: string;
3451
+ station_id?: string;
3452
+ id?: any;
3453
+ brand?: DraftBrandDTO;
3454
+ changes?: DraftItemChangeDTO[];
3455
+ categories?: DraftCategoryToItemRelationshipDTO[];
3456
+ station?: StationDTO;
3457
+ attachments?: FileAttachmentsDTO;
3458
+ [index: string]: any;
3459
+ }
3460
+ export type PostMenuV3DraftItemResponse = DraftItemDTO;
3461
+ export interface PostMenuV3DraftItemRequest extends BaseRequest {
3462
+ body: PostMenuV3DraftItemBody;
3463
+ }
3464
+ export interface GetMenuV3DraftItemPath {
3465
+ id: string;
3466
+ }
3467
+ export interface GetMenuV3DraftItemQuery {
3468
+ select?: string[];
3469
+ relationships?: string[];
3470
+ _query?: string;
3471
+ }
3472
+ export type GetMenuV3DraftItemResponse = DraftItemDTO;
3473
+ export interface GetMenuV3DraftItemRequest extends BaseRequest, RequestQuery<GetMenuV3DraftItemQuery>, GetMenuV3DraftItemPath {
3474
+ }
3475
+ export interface PatchMenuV3DraftItemPath {
3476
+ id: string;
3477
+ }
3478
+ export interface PatchMenuV3DraftItemBody {
3479
+ parent?: DraftItemDTO;
3480
+ children?: DraftItemDTO[];
3481
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3482
+ id?: string;
3483
+ parent_id?: string;
3484
+ name?: string;
3485
+ label?: string;
3486
+ description?: string;
3487
+ price?: number;
3488
+ barcode?: string;
3489
+ calories?: number;
3490
+ priority?: number;
3491
+ is_active?: boolean;
3492
+ is_in_stock?: boolean;
3493
+ posid?: string;
3494
+ tax_tags?: any[];
3495
+ brand_id?: string;
3496
+ station_id?: string;
3497
+ brand?: DraftBrandDTO;
3498
+ changes?: DraftItemChangeDTO[];
3499
+ categories?: DraftCategoryToItemRelationshipDTO[];
3500
+ station?: StationDTO;
3501
+ attachments?: FileAttachmentsDTO;
3502
+ [index: string]: any;
3503
+ }
3504
+ export type PatchMenuV3DraftItemResponse = DraftItemDTO;
3505
+ export interface PatchMenuV3DraftItemRequest extends BaseRequest, PatchMenuV3DraftItemPath {
3506
+ body: PatchMenuV3DraftItemBody;
3507
+ }
3508
+ export interface DeleteMenuV3DraftItemPath {
3509
+ id: string;
3510
+ }
3511
+ export type DeleteMenuV3DraftItemResponse = DraftItemDTO;
3512
+ export interface DeleteMenuV3DraftItemRequest extends BaseRequest, DeleteMenuV3DraftItemPath {
3513
+ }
3514
+ export interface GetMenuV3DraftItemsQuery {
3515
+ select?: string[];
3516
+ relationships?: string[];
3517
+ filter?: any;
3518
+ limit?: number;
3519
+ page?: number;
3520
+ sort_by?: string;
3521
+ sort_order?: string;
3522
+ soft_deleted?: string;
3523
+ _query?: string;
3524
+ }
3525
+ export interface GetMenuV3DraftItemsResponse {
3526
+ results: DraftItemDTO[];
3527
+ meta?: ListResponseMetadataDTO;
3528
+ [index: string]: any;
3529
+ }
3530
+ export interface GetMenuV3DraftItemsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftItemsQuery> {
3531
+ }
3532
+ export type PostMenuV3DraftItemsBody = {
3533
+ parent?: DraftItemDTO;
3534
+ children?: DraftItemDTO[];
3535
+ modifier_groups?: DraftItemToModifierGroupRelationshipDTO[];
3536
+ parent_id?: string;
3537
+ name: string;
3538
+ label?: string;
3539
+ description?: string;
3540
+ price: number;
3541
+ barcode?: string;
3542
+ calories?: number;
3543
+ priority?: number;
3544
+ is_active?: boolean;
3545
+ is_in_stock?: boolean;
3546
+ posid: string;
3547
+ tax_tags?: any[];
3548
+ brand_id: string;
3549
+ station_id?: string;
3550
+ id?: any;
3551
+ brand?: DraftBrandDTO;
3552
+ changes?: DraftItemChangeDTO[];
3553
+ categories?: DraftCategoryToItemRelationshipDTO[];
3554
+ station?: StationDTO;
3555
+ attachments?: FileAttachmentsDTO;
3556
+ [index: string]: any;
3557
+ }[];
3558
+ export interface PostMenuV3DraftItemsResponse {
3559
+ results: DraftItemDTO[];
3560
+ meta?: ListResponseMetadataDTO;
3561
+ [index: string]: any;
3562
+ }
3563
+ export interface PostMenuV3DraftItemsRequest extends BaseRequest {
3564
+ body: PostMenuV3DraftItemsBody;
3565
+ }
3566
+ export interface GetMenuV3DraftItemsCountQuery {
3567
+ filter?: any;
3568
+ _query?: string;
3569
+ }
3570
+ export interface GetMenuV3DraftItemsCountResponse {
3571
+ count: number;
3572
+ [index: string]: any;
3573
+ }
3574
+ export interface GetMenuV3DraftItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftItemsCountQuery> {
3575
+ }
3576
+ export interface PostMenuV3DraftItemRelationshipsModifierGroupBody {
3577
+ parent?: DraftItemToModifierGroupRelationshipDTO;
3578
+ children?: DraftItemToModifierGroupRelationshipDTO[];
3579
+ parent_id?: string;
3580
+ modifier_group_id: string;
3581
+ item_id: string;
3582
+ brand_id?: string;
3583
+ sequence?: number;
3584
+ id?: any;
3585
+ item?: DraftItemDTO;
3586
+ modifier_group?: DraftModifierGroupDTO;
3587
+ brand?: DraftBrandDTO;
3588
+ changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
3589
+ [index: string]: any;
3590
+ }
3591
+ export type PostMenuV3DraftItemRelationshipsModifierGroupResponse = DraftItemToModifierGroupRelationshipDTO;
3592
+ export interface PostMenuV3DraftItemRelationshipsModifierGroupRequest extends BaseRequest {
3593
+ body: PostMenuV3DraftItemRelationshipsModifierGroupBody;
3594
+ }
3595
+ export interface GetMenuV3DraftItemRelationshipsModifierGroupPath {
3596
+ id: string;
3597
+ }
3598
+ export interface GetMenuV3DraftItemRelationshipsModifierGroupQuery {
3599
+ select?: string[];
3600
+ relationships?: string[];
3601
+ _query?: string;
3602
+ }
3603
+ export type GetMenuV3DraftItemRelationshipsModifierGroupResponse = DraftItemToModifierGroupRelationshipDTO;
3604
+ export interface GetMenuV3DraftItemRelationshipsModifierGroupRequest extends BaseRequest, RequestQuery<GetMenuV3DraftItemRelationshipsModifierGroupQuery>, GetMenuV3DraftItemRelationshipsModifierGroupPath {
3605
+ }
3606
+ export interface PatchMenuV3DraftItemRelationshipsModifierGroupPath {
3607
+ id: string;
3608
+ }
3609
+ export interface PatchMenuV3DraftItemRelationshipsModifierGroupBody {
3610
+ parent?: DraftItemToModifierGroupRelationshipDTO;
3611
+ children?: DraftItemToModifierGroupRelationshipDTO[];
3612
+ id?: string;
3613
+ parent_id?: string;
3614
+ modifier_group_id?: string;
3615
+ item_id?: string;
3616
+ brand_id?: string;
3617
+ sequence?: number;
3618
+ item?: DraftItemDTO;
3619
+ modifier_group?: DraftModifierGroupDTO;
3620
+ brand?: DraftBrandDTO;
3621
+ changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
3622
+ [index: string]: any;
3623
+ }
3624
+ export type PatchMenuV3DraftItemRelationshipsModifierGroupResponse = DraftItemToModifierGroupRelationshipDTO;
3625
+ export interface PatchMenuV3DraftItemRelationshipsModifierGroupRequest extends BaseRequest, PatchMenuV3DraftItemRelationshipsModifierGroupPath {
3626
+ body: PatchMenuV3DraftItemRelationshipsModifierGroupBody;
3627
+ }
3628
+ export interface DeleteMenuV3DraftItemRelationshipsModifierGroupPath {
3629
+ id: string;
3630
+ }
3631
+ export type DeleteMenuV3DraftItemRelationshipsModifierGroupResponse = DraftItemToModifierGroupRelationshipDTO;
3632
+ export interface DeleteMenuV3DraftItemRelationshipsModifierGroupRequest extends BaseRequest, DeleteMenuV3DraftItemRelationshipsModifierGroupPath {
3633
+ }
3634
+ export interface GetMenuV3DraftItemRelationshipsModifierGroupsQuery {
3635
+ select?: string[];
3636
+ relationships?: string[];
3637
+ filter?: any;
3638
+ limit?: number;
3639
+ page?: number;
3640
+ sort_by?: string;
3641
+ sort_order?: string;
3642
+ soft_deleted?: string;
3643
+ _query?: string;
3644
+ }
3645
+ export interface GetMenuV3DraftItemRelationshipsModifierGroupsResponse {
3646
+ results: DraftItemToModifierGroupRelationshipDTO[];
3647
+ meta?: ListResponseMetadataDTO;
3648
+ [index: string]: any;
3649
+ }
3650
+ export interface GetMenuV3DraftItemRelationshipsModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftItemRelationshipsModifierGroupsQuery> {
3651
+ }
3652
+ export type PostMenuV3DraftItemRelationshipsModifierGroupsBody = {
3653
+ parent?: DraftItemToModifierGroupRelationshipDTO;
3654
+ children?: DraftItemToModifierGroupRelationshipDTO[];
3655
+ parent_id?: string;
3656
+ modifier_group_id: string;
3657
+ item_id: string;
3658
+ brand_id?: string;
3659
+ sequence?: number;
3660
+ id?: any;
3661
+ item?: DraftItemDTO;
3662
+ modifier_group?: DraftModifierGroupDTO;
3663
+ brand?: DraftBrandDTO;
3664
+ changes?: DraftItemToModifierGroupRelationshipChangeDTO[];
3665
+ [index: string]: any;
3666
+ }[];
3667
+ export interface PostMenuV3DraftItemRelationshipsModifierGroupsResponse {
3668
+ results: DraftItemToModifierGroupRelationshipDTO[];
3669
+ meta?: ListResponseMetadataDTO;
3670
+ [index: string]: any;
3671
+ }
3672
+ export interface PostMenuV3DraftItemRelationshipsModifierGroupsRequest extends BaseRequest {
3673
+ body: PostMenuV3DraftItemRelationshipsModifierGroupsBody;
3674
+ }
3675
+ export interface GetMenuV3DraftItemRelationshipsModifierGroupsCountQuery {
3676
+ filter?: any;
3677
+ _query?: string;
3678
+ }
3679
+ export interface GetMenuV3DraftItemRelationshipsModifierGroupsCountResponse {
3680
+ count: number;
3681
+ [index: string]: any;
3682
+ }
3683
+ export interface GetMenuV3DraftItemRelationshipsModifierGroupsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftItemRelationshipsModifierGroupsCountQuery> {
3684
+ }
3685
+ export interface PostMenuV3DraftModifierGroupBody {
3686
+ parent_id?: string;
3687
+ parent?: DraftModifierGroupDTO;
3688
+ children?: DraftModifierGroupDTO[];
3689
+ name: string;
3690
+ label?: string;
3691
+ min?: number;
3692
+ max?: number;
3693
+ is_active?: boolean;
3694
+ priority?: number;
3695
+ modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
3696
+ items?: DraftItemToModifierGroupRelationshipDTO[];
3697
+ brand_id: string;
3698
+ station_id?: string;
3699
+ id?: any;
3700
+ brand?: DraftBrandDTO;
3701
+ station?: StationDTO;
3702
+ changes?: DraftModifierGroupChangeDTO[];
3703
+ [index: string]: any;
3704
+ }
3705
+ export type PostMenuV3DraftModifierGroupResponse = DraftModifierGroupDTO;
3706
+ export interface PostMenuV3DraftModifierGroupRequest extends BaseRequest {
3707
+ body: PostMenuV3DraftModifierGroupBody;
3708
+ }
3709
+ export interface GetMenuV3DraftModifierGroupPath {
3710
+ id: string;
3711
+ }
3712
+ export interface GetMenuV3DraftModifierGroupQuery {
3713
+ select?: string[];
3714
+ relationships?: string[];
3715
+ _query?: string;
3716
+ }
3717
+ export type GetMenuV3DraftModifierGroupResponse = DraftModifierGroupDTO;
3718
+ export interface GetMenuV3DraftModifierGroupRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifierGroupQuery>, GetMenuV3DraftModifierGroupPath {
3719
+ }
3720
+ export interface PatchMenuV3DraftModifierGroupPath {
3721
+ id: string;
3722
+ }
3723
+ export interface PatchMenuV3DraftModifierGroupBody {
3724
+ parent_id?: string;
3725
+ parent?: DraftModifierGroupDTO;
3726
+ children?: DraftModifierGroupDTO[];
3727
+ name?: string;
3728
+ label?: string;
3729
+ min?: number;
3730
+ max?: number;
3731
+ is_active?: boolean;
3732
+ priority?: number;
3733
+ modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
3734
+ items?: DraftItemToModifierGroupRelationshipDTO[];
3735
+ brand_id?: string;
3736
+ station_id?: string;
3737
+ id?: string;
3738
+ brand?: DraftBrandDTO;
3739
+ station?: StationDTO;
3740
+ changes?: DraftModifierGroupChangeDTO[];
3741
+ [index: string]: any;
3742
+ }
3743
+ export type PatchMenuV3DraftModifierGroupResponse = DraftModifierGroupDTO;
3744
+ export interface PatchMenuV3DraftModifierGroupRequest extends BaseRequest, PatchMenuV3DraftModifierGroupPath {
3745
+ body: PatchMenuV3DraftModifierGroupBody;
3746
+ }
3747
+ export interface DeleteMenuV3DraftModifierGroupPath {
3748
+ id: string;
3749
+ }
3750
+ export type DeleteMenuV3DraftModifierGroupResponse = DraftModifierGroupDTO;
3751
+ export interface DeleteMenuV3DraftModifierGroupRequest extends BaseRequest, DeleteMenuV3DraftModifierGroupPath {
3752
+ }
3753
+ export interface GetMenuV3DraftModifierGroupsQuery {
3754
+ select?: string[];
3755
+ relationships?: string[];
3756
+ filter?: any;
3757
+ limit?: number;
3758
+ page?: number;
3759
+ sort_by?: string;
3760
+ sort_order?: string;
3761
+ soft_deleted?: string;
3762
+ _query?: string;
3763
+ }
3764
+ export interface GetMenuV3DraftModifierGroupsResponse {
3765
+ results: DraftModifierGroupDTO[];
3766
+ meta?: ListResponseMetadataDTO;
3767
+ [index: string]: any;
3768
+ }
3769
+ export interface GetMenuV3DraftModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifierGroupsQuery> {
3770
+ }
3771
+ export type PostMenuV3DraftModifierGroupsBody = {
3772
+ parent_id?: string;
3773
+ parent?: DraftModifierGroupDTO;
3774
+ children?: DraftModifierGroupDTO[];
3775
+ name: string;
3776
+ label?: string;
3777
+ min?: number;
3778
+ max?: number;
3779
+ is_active?: boolean;
3780
+ priority?: number;
3781
+ modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
3782
+ items?: DraftItemToModifierGroupRelationshipDTO[];
3783
+ brand_id: string;
3784
+ station_id?: string;
3785
+ id?: any;
3786
+ brand?: DraftBrandDTO;
3787
+ station?: StationDTO;
3788
+ changes?: DraftModifierGroupChangeDTO[];
3789
+ [index: string]: any;
3790
+ }[];
3791
+ export interface PostMenuV3DraftModifierGroupsResponse {
3792
+ results: DraftModifierGroupDTO[];
3793
+ meta?: ListResponseMetadataDTO;
3794
+ [index: string]: any;
3795
+ }
3796
+ export interface PostMenuV3DraftModifierGroupsRequest extends BaseRequest {
3797
+ body: PostMenuV3DraftModifierGroupsBody;
3798
+ }
3799
+ export interface GetMenuV3DraftModifierGroupsCountQuery {
3800
+ filter?: any;
3801
+ _query?: string;
3802
+ }
3803
+ export interface GetMenuV3DraftModifierGroupsCountResponse {
3804
+ count: number;
3805
+ [index: string]: any;
3806
+ }
3807
+ export interface GetMenuV3DraftModifierGroupsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifierGroupsCountQuery> {
3808
+ }
3809
+ export interface PostMenuV3DraftModifierGroupRelationshipsModifierBody {
3810
+ parent?: DraftModifierGroupToModifierRelationshipDTO;
3811
+ children?: DraftModifierGroupToModifierRelationshipDTO[];
3812
+ parent_id?: string;
3813
+ modifier_id: string;
3814
+ modifier_group_id: string;
3815
+ brand_id?: string;
3816
+ sequence?: number;
3817
+ id?: any;
3818
+ modifier?: DraftModifierDTO;
3819
+ modifier_group?: DraftModifierGroupDTO;
3820
+ brand?: DraftBrandDTO;
3821
+ changes?: DraftModifierGroupToModifierRelationshipChangeDTO[];
3822
+ [index: string]: any;
3823
+ }
3824
+ export type PostMenuV3DraftModifierGroupRelationshipsModifierResponse = DraftModifierGroupToModifierRelationshipDTO;
3825
+ export interface PostMenuV3DraftModifierGroupRelationshipsModifierRequest extends BaseRequest {
3826
+ body: PostMenuV3DraftModifierGroupRelationshipsModifierBody;
3827
+ }
3828
+ export interface GetMenuV3DraftModifierGroupRelationshipsModifierPath {
3829
+ id: string;
3830
+ }
3831
+ export interface GetMenuV3DraftModifierGroupRelationshipsModifierQuery {
3832
+ select?: string[];
3833
+ relationships?: string[];
3834
+ _query?: string;
3835
+ }
3836
+ export type GetMenuV3DraftModifierGroupRelationshipsModifierResponse = DraftModifierGroupToModifierRelationshipDTO;
3837
+ export interface GetMenuV3DraftModifierGroupRelationshipsModifierRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifierGroupRelationshipsModifierQuery>, GetMenuV3DraftModifierGroupRelationshipsModifierPath {
3838
+ }
3839
+ export interface PatchMenuV3DraftModifierGroupRelationshipsModifierPath {
3840
+ id: string;
3841
+ }
3842
+ export interface PatchMenuV3DraftModifierGroupRelationshipsModifierBody {
3843
+ parent?: DraftModifierGroupToModifierRelationshipDTO;
3844
+ children?: DraftModifierGroupToModifierRelationshipDTO[];
3845
+ id?: string;
3846
+ parent_id?: string;
3847
+ modifier_id?: string;
3848
+ modifier_group_id?: string;
3849
+ brand_id?: string;
3850
+ sequence?: number;
3851
+ modifier?: DraftModifierDTO;
3852
+ modifier_group?: DraftModifierGroupDTO;
3853
+ brand?: DraftBrandDTO;
3854
+ changes?: DraftModifierGroupToModifierRelationshipChangeDTO[];
3855
+ [index: string]: any;
3856
+ }
3857
+ export type PatchMenuV3DraftModifierGroupRelationshipsModifierResponse = DraftModifierGroupToModifierRelationshipDTO;
3858
+ export interface PatchMenuV3DraftModifierGroupRelationshipsModifierRequest extends BaseRequest, PatchMenuV3DraftModifierGroupRelationshipsModifierPath {
3859
+ body: PatchMenuV3DraftModifierGroupRelationshipsModifierBody;
3860
+ }
3861
+ export interface DeleteMenuV3DraftModifierGroupRelationshipsModifierPath {
3862
+ id: string;
3863
+ }
3864
+ export type DeleteMenuV3DraftModifierGroupRelationshipsModifierResponse = DraftModifierGroupToModifierRelationshipDTO;
3865
+ export interface DeleteMenuV3DraftModifierGroupRelationshipsModifierRequest extends BaseRequest, DeleteMenuV3DraftModifierGroupRelationshipsModifierPath {
3866
+ }
3867
+ export interface GetMenuV3DraftModifierGroupRelationshipsModifiersQuery {
3868
+ select?: string[];
3869
+ relationships?: string[];
3870
+ filter?: any;
3871
+ limit?: number;
3872
+ page?: number;
3873
+ sort_by?: string;
3874
+ sort_order?: string;
3875
+ soft_deleted?: string;
3876
+ _query?: string;
3877
+ }
3878
+ export interface GetMenuV3DraftModifierGroupRelationshipsModifiersResponse {
3879
+ results: DraftModifierGroupToModifierRelationshipDTO[];
3880
+ meta?: ListResponseMetadataDTO;
3881
+ [index: string]: any;
3882
+ }
3883
+ export interface GetMenuV3DraftModifierGroupRelationshipsModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifierGroupRelationshipsModifiersQuery> {
3884
+ }
3885
+ export type PostMenuV3DraftModifierGroupRelationshipsModifiersBody = {
3886
+ parent?: DraftModifierGroupToModifierRelationshipDTO;
3887
+ children?: DraftModifierGroupToModifierRelationshipDTO[];
3888
+ parent_id?: string;
3889
+ modifier_id: string;
3890
+ modifier_group_id: string;
3891
+ brand_id?: string;
3892
+ sequence?: number;
3893
+ id?: any;
3894
+ modifier?: DraftModifierDTO;
3895
+ modifier_group?: DraftModifierGroupDTO;
3896
+ brand?: DraftBrandDTO;
3897
+ changes?: DraftModifierGroupToModifierRelationshipChangeDTO[];
3898
+ [index: string]: any;
3899
+ }[];
3900
+ export interface PostMenuV3DraftModifierGroupRelationshipsModifiersResponse {
3901
+ results: DraftModifierGroupToModifierRelationshipDTO[];
3902
+ meta?: ListResponseMetadataDTO;
3903
+ [index: string]: any;
3904
+ }
3905
+ export interface PostMenuV3DraftModifierGroupRelationshipsModifiersRequest extends BaseRequest {
3906
+ body: PostMenuV3DraftModifierGroupRelationshipsModifiersBody;
3907
+ }
3908
+ export interface GetMenuV3DraftModifierGroupRelationshipsModifiersCountQuery {
3909
+ filter?: any;
3910
+ _query?: string;
3911
+ }
3912
+ export interface GetMenuV3DraftModifierGroupRelationshipsModifiersCountResponse {
3913
+ count: number;
3914
+ [index: string]: any;
3915
+ }
3916
+ export interface GetMenuV3DraftModifierGroupRelationshipsModifiersCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifierGroupRelationshipsModifiersCountQuery> {
3917
+ }
3918
+ export interface PostMenuV3DraftModifierBody {
3919
+ parent?: DraftModifierDTO;
3920
+ children?: DraftModifierDTO[];
3921
+ modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
3922
+ parent_id?: string;
3923
+ name: string;
3924
+ label?: string;
3925
+ description?: string;
3926
+ price: number;
3927
+ calories?: number;
3928
+ priority?: number;
3929
+ tax_tags?: any[];
3930
+ is_active?: boolean;
3931
+ is_in_stock?: boolean;
3932
+ posid: string;
3933
+ brand_id: string;
3934
+ station_id?: string;
3935
+ id?: any;
3936
+ brand?: DraftBrandDTO;
3937
+ changes?: DraftModifierChangeDTO[];
3938
+ station?: StationDTO;
3939
+ [index: string]: any;
3940
+ }
3941
+ export type PostMenuV3DraftModifierResponse = DraftModifierDTO;
3942
+ export interface PostMenuV3DraftModifierRequest extends BaseRequest {
3943
+ body: PostMenuV3DraftModifierBody;
3944
+ }
3945
+ export interface GetMenuV3DraftModifierPath {
3946
+ id: string;
3947
+ }
3948
+ export interface GetMenuV3DraftModifierQuery {
3949
+ select?: string[];
3950
+ relationships?: string[];
3951
+ _query?: string;
3952
+ }
3953
+ export type GetMenuV3DraftModifierResponse = DraftModifierDTO;
3954
+ export interface GetMenuV3DraftModifierRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifierQuery>, GetMenuV3DraftModifierPath {
3955
+ }
3956
+ export interface PatchMenuV3DraftModifierPath {
3957
+ id: string;
3958
+ }
3959
+ export interface PatchMenuV3DraftModifierBody {
3960
+ parent?: DraftModifierDTO;
3961
+ children?: DraftModifierDTO[];
3962
+ modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
3963
+ id?: string;
3964
+ parent_id?: string;
3965
+ name?: string;
3966
+ label?: string;
3967
+ description?: string;
3968
+ price?: number;
3969
+ calories?: number;
3970
+ priority?: number;
3971
+ tax_tags?: any[];
3972
+ is_active?: boolean;
3973
+ is_in_stock?: boolean;
3974
+ posid?: string;
3975
+ brand_id?: string;
3976
+ station_id?: string;
3977
+ brand?: DraftBrandDTO;
3978
+ changes?: DraftModifierChangeDTO[];
3979
+ station?: StationDTO;
3980
+ [index: string]: any;
3981
+ }
3982
+ export type PatchMenuV3DraftModifierResponse = DraftModifierDTO;
3983
+ export interface PatchMenuV3DraftModifierRequest extends BaseRequest, PatchMenuV3DraftModifierPath {
3984
+ body: PatchMenuV3DraftModifierBody;
3985
+ }
3986
+ export interface DeleteMenuV3DraftModifierPath {
3987
+ id: string;
3988
+ }
3989
+ export type DeleteMenuV3DraftModifierResponse = DraftModifierDTO;
3990
+ export interface DeleteMenuV3DraftModifierRequest extends BaseRequest, DeleteMenuV3DraftModifierPath {
3991
+ }
3992
+ export interface GetMenuV3DraftModifiersQuery {
3993
+ select?: string[];
3994
+ relationships?: string[];
3995
+ filter?: any;
3996
+ limit?: number;
3997
+ page?: number;
3998
+ sort_by?: string;
3999
+ sort_order?: string;
4000
+ soft_deleted?: string;
4001
+ _query?: string;
4002
+ }
4003
+ export interface GetMenuV3DraftModifiersResponse {
4004
+ results: DraftModifierDTO[];
4005
+ meta?: ListResponseMetadataDTO;
4006
+ [index: string]: any;
4007
+ }
4008
+ export interface GetMenuV3DraftModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifiersQuery> {
4009
+ }
4010
+ export type PostMenuV3DraftModifiersBody = {
4011
+ parent?: DraftModifierDTO;
4012
+ children?: DraftModifierDTO[];
4013
+ modifier_groups?: DraftModifierGroupToModifierRelationshipDTO[];
4014
+ parent_id?: string;
4015
+ name: string;
4016
+ label?: string;
4017
+ description?: string;
4018
+ price: number;
4019
+ calories?: number;
4020
+ priority?: number;
4021
+ tax_tags?: any[];
4022
+ is_active?: boolean;
4023
+ is_in_stock?: boolean;
4024
+ posid: string;
4025
+ brand_id: string;
4026
+ station_id?: string;
4027
+ id?: any;
4028
+ brand?: DraftBrandDTO;
4029
+ changes?: DraftModifierChangeDTO[];
4030
+ station?: StationDTO;
4031
+ [index: string]: any;
4032
+ }[];
4033
+ export interface PostMenuV3DraftModifiersResponse {
4034
+ results: DraftModifierDTO[];
4035
+ meta?: ListResponseMetadataDTO;
4036
+ [index: string]: any;
4037
+ }
4038
+ export interface PostMenuV3DraftModifiersRequest extends BaseRequest {
4039
+ body: PostMenuV3DraftModifiersBody;
4040
+ }
4041
+ export interface GetMenuV3DraftModifiersCountQuery {
4042
+ filter?: any;
4043
+ _query?: string;
4044
+ }
4045
+ export interface GetMenuV3DraftModifiersCountResponse {
4046
+ count: number;
4047
+ [index: string]: any;
4048
+ }
4049
+ export interface GetMenuV3DraftModifiersCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftModifiersCountQuery> {
4050
+ }
4051
+ export interface PostMenuV3DraftBrandBody {
4052
+ parent?: DraftBrandDTO;
4053
+ children?: DraftBrandDTO[];
4054
+ layouts?: DraftLayoutDTO[];
4055
+ categories?: DraftCategoryDTO[];
4056
+ category_to_items?: DraftCategoryToItemRelationshipDTO[];
4057
+ items?: DraftItemDTO[];
4058
+ item_to_modifier_group_relationships?: DraftItemToModifierGroupRelationshipDTO[];
4059
+ modifier_groups?: DraftModifierGroupDTO[];
4060
+ modifier_group_to_modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
4061
+ modifiers?: DraftModifierDTO[];
4062
+ name: string;
4063
+ description?: string;
4064
+ is_active?: boolean;
4065
+ parent_id?: string;
4066
+ brand_group_id?: string;
4067
+ id?: any;
4068
+ changes?: DraftBrandChangeDTO[];
4069
+ brand_group?: BrandGroupDTO;
4070
+ attachments?: FileAttachmentsDTO;
4071
+ [index: string]: any;
4072
+ }
4073
+ export type PostMenuV3DraftBrandResponse = DraftBrandDTO;
4074
+ export interface PostMenuV3DraftBrandRequest extends BaseRequest {
4075
+ body: PostMenuV3DraftBrandBody;
4076
+ }
4077
+ export interface GetMenuV3DraftBrandPath {
4078
+ id: string;
4079
+ }
4080
+ export interface GetMenuV3DraftBrandQuery {
4081
+ select?: string[];
4082
+ relationships?: string[];
4083
+ _query?: string;
4084
+ }
4085
+ export type GetMenuV3DraftBrandResponse = DraftBrandDTO;
4086
+ export interface GetMenuV3DraftBrandRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandQuery>, GetMenuV3DraftBrandPath {
4087
+ }
4088
+ export interface PatchMenuV3DraftBrandPath {
4089
+ id: string;
4090
+ }
4091
+ export interface PatchMenuV3DraftBrandBody {
4092
+ parent?: DraftBrandDTO;
4093
+ children?: DraftBrandDTO[];
4094
+ layouts?: DraftLayoutDTO[];
4095
+ categories?: DraftCategoryDTO[];
4096
+ category_to_items?: DraftCategoryToItemRelationshipDTO[];
4097
+ items?: DraftItemDTO[];
4098
+ item_to_modifier_group_relationships?: DraftItemToModifierGroupRelationshipDTO[];
4099
+ modifier_groups?: DraftModifierGroupDTO[];
4100
+ modifier_group_to_modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
4101
+ modifiers?: DraftModifierDTO[];
4102
+ id?: string;
4103
+ name?: string;
4104
+ description?: string;
4105
+ is_active?: boolean;
4106
+ parent_id?: string;
4107
+ brand_group_id?: string;
4108
+ changes?: DraftBrandChangeDTO[];
4109
+ brand_group?: BrandGroupDTO;
4110
+ attachments?: FileAttachmentsDTO;
4111
+ [index: string]: any;
4112
+ }
4113
+ export type PatchMenuV3DraftBrandResponse = DraftBrandDTO;
4114
+ export interface PatchMenuV3DraftBrandRequest extends BaseRequest, PatchMenuV3DraftBrandPath {
4115
+ body: PatchMenuV3DraftBrandBody;
4116
+ }
4117
+ export interface DeleteMenuV3DraftBrandPath {
4118
+ id: string;
4119
+ }
4120
+ export type DeleteMenuV3DraftBrandResponse = DraftBrandDTO;
4121
+ export interface DeleteMenuV3DraftBrandRequest extends BaseRequest, DeleteMenuV3DraftBrandPath {
4122
+ }
4123
+ export interface GetMenuV3DraftBrandsQuery {
4124
+ select?: string[];
4125
+ relationships?: string[];
4126
+ filter?: any;
4127
+ limit?: number;
4128
+ page?: number;
4129
+ sort_by?: string;
4130
+ sort_order?: string;
4131
+ soft_deleted?: string;
4132
+ _query?: string;
4133
+ }
4134
+ export interface GetMenuV3DraftBrandsResponse {
4135
+ results: DraftBrandDTO[];
4136
+ meta?: ListResponseMetadataDTO;
4137
+ [index: string]: any;
4138
+ }
4139
+ export interface GetMenuV3DraftBrandsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandsQuery> {
4140
+ }
4141
+ export type PostMenuV3DraftBrandsBody = {
4142
+ parent?: DraftBrandDTO;
4143
+ children?: DraftBrandDTO[];
4144
+ layouts?: DraftLayoutDTO[];
4145
+ categories?: DraftCategoryDTO[];
4146
+ category_to_items?: DraftCategoryToItemRelationshipDTO[];
4147
+ items?: DraftItemDTO[];
4148
+ item_to_modifier_group_relationships?: DraftItemToModifierGroupRelationshipDTO[];
4149
+ modifier_groups?: DraftModifierGroupDTO[];
4150
+ modifier_group_to_modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
4151
+ modifiers?: DraftModifierDTO[];
4152
+ name: string;
4153
+ description?: string;
4154
+ is_active?: boolean;
4155
+ parent_id?: string;
4156
+ brand_group_id?: string;
4157
+ id?: any;
4158
+ changes?: DraftBrandChangeDTO[];
4159
+ brand_group?: BrandGroupDTO;
4160
+ attachments?: FileAttachmentsDTO;
4161
+ [index: string]: any;
4162
+ }[];
4163
+ export interface PostMenuV3DraftBrandsResponse {
4164
+ results: DraftBrandDTO[];
4165
+ meta?: ListResponseMetadataDTO;
4166
+ [index: string]: any;
4167
+ }
4168
+ export interface PostMenuV3DraftBrandsRequest extends BaseRequest {
4169
+ body: PostMenuV3DraftBrandsBody;
4170
+ }
4171
+ export interface GetMenuV3DraftBrandsCountQuery {
4172
+ filter?: any;
4173
+ _query?: string;
4174
+ }
4175
+ export interface GetMenuV3DraftBrandsCountResponse {
4176
+ count: number;
4177
+ [index: string]: any;
4178
+ }
4179
+ export interface GetMenuV3DraftBrandsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandsCountQuery> {
4180
+ }
4181
+ export interface GetMenuV3DraftBrandModifiersPath {
4182
+ id: string;
4183
+ }
4184
+ export interface GetMenuV3DraftBrandModifiersQuery {
4185
+ select?: string[];
4186
+ relationships?: string[];
4187
+ filter?: any;
4188
+ limit?: number;
4189
+ page?: number;
4190
+ sort_by?: string;
4191
+ sort_order?: string;
4192
+ soft_deleted?: string;
4193
+ _query?: string;
4194
+ }
4195
+ export interface GetMenuV3DraftBrandModifiersResponse {
4196
+ results: DraftModifierDTO[];
4197
+ meta?: ListResponseMetadataDTO;
4198
+ [index: string]: any;
4199
+ }
4200
+ export interface GetMenuV3DraftBrandModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandModifiersQuery>, GetMenuV3DraftBrandModifiersPath {
1933
4201
  }
1934
- export interface GetMenuCompanyModifierGroupsExportQuery {
4202
+ export interface GetMenuV3DraftBrandModifierGroupsPath {
4203
+ id: string;
4204
+ }
4205
+ export interface GetMenuV3DraftBrandModifierGroupsQuery {
4206
+ select?: string[];
4207
+ relationships?: string[];
4208
+ filter?: any;
4209
+ limit?: number;
4210
+ page?: number;
4211
+ sort_by?: string;
4212
+ sort_order?: string;
4213
+ soft_deleted?: string;
1935
4214
  _query?: string;
1936
4215
  }
1937
- export type GetMenuCompanyModifierGroupsExportResponse = ZippedExcelExport;
1938
- export interface GetMenuCompanyModifierGroupsExportRequest extends BaseRequest, RequestQuery<GetMenuCompanyModifierGroupsExportQuery>, GetMenuCompanyModifierGroupsExportPath {
4216
+ export interface GetMenuV3DraftBrandModifierGroupsResponse {
4217
+ results: DraftModifierGroupDTO[];
4218
+ meta?: ListResponseMetadataDTO;
4219
+ [index: string]: any;
1939
4220
  }
1940
- export interface GetMenuExportPath {
4221
+ export interface GetMenuV3DraftBrandModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandModifierGroupsQuery>, GetMenuV3DraftBrandModifierGroupsPath {
4222
+ }
4223
+ export interface GetMenuV3DraftBrandItemsPath {
1941
4224
  id: string;
1942
4225
  }
1943
- export interface GetMenuExportQuery {
4226
+ export interface GetMenuV3DraftBrandItemsQuery {
4227
+ select?: string[];
4228
+ relationships?: string[];
4229
+ filter?: any;
4230
+ limit?: number;
4231
+ page?: number;
4232
+ sort_by?: string;
4233
+ sort_order?: string;
4234
+ soft_deleted?: string;
1944
4235
  _query?: string;
1945
4236
  }
1946
- export type GetMenuExportResponse = ZippedExcelExport;
1947
- export interface GetMenuExportRequest extends BaseRequest, RequestQuery<GetMenuExportQuery>, GetMenuExportPath {
4237
+ export interface GetMenuV3DraftBrandItemsResponse {
4238
+ results: DraftItemDTO[];
4239
+ meta?: ListResponseMetadataDTO;
4240
+ [index: string]: any;
1948
4241
  }
1949
- export interface GetMenuPartialGroupsPath {
4242
+ export interface GetMenuV3DraftBrandItemsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandItemsQuery>, GetMenuV3DraftBrandItemsPath {
4243
+ }
4244
+ export interface PostMenuV3DraftBrandPublishPath {
1950
4245
  id: string;
1951
4246
  }
1952
- export interface GetMenuPartialGroupsQuery {
1953
- extended?: boolean;
1954
- show_unlinked?: boolean;
1955
- _query?: string;
4247
+ export interface PostMenuV3DraftBrandPublishResponse {
4248
+ status?: string;
1956
4249
  }
1957
- export type GetMenuPartialGroupsResponse = Menu;
1958
- export interface GetMenuPartialGroupsRequest extends BaseRequest, RequestQuery<GetMenuPartialGroupsQuery>, GetMenuPartialGroupsPath {
4250
+ export interface PostMenuV3DraftBrandPublishRequest extends BaseRequest, PostMenuV3DraftBrandPublishPath {
1959
4251
  }
1960
- export interface GetMenuPartialGroupItemsPath {
4252
+ export interface PostMenuV3DraftStationBody {
4253
+ layouts?: DraftLayoutDTO[];
4254
+ items?: DraftItemDTO[];
4255
+ modifier_groups?: DraftModifierGroupDTO[];
4256
+ modifiers?: DraftModifierDTO[];
4257
+ name?: string;
4258
+ site?: SiteDTO;
4259
+ [index: string]: any;
4260
+ }
4261
+ export type PostMenuV3DraftStationResponse = StationDTO;
4262
+ export interface PostMenuV3DraftStationRequest extends BaseRequest {
4263
+ body: PostMenuV3DraftStationBody;
4264
+ }
4265
+ export interface GetMenuV3DraftStationPath {
1961
4266
  id: string;
1962
- group_id: string;
1963
4267
  }
1964
- export interface GetMenuPartialGroupItemsQuery {
1965
- extended?: boolean;
4268
+ export interface GetMenuV3DraftStationQuery {
4269
+ select?: string[];
4270
+ relationships?: string[];
1966
4271
  _query?: string;
1967
4272
  }
1968
- export type GetMenuPartialGroupItemsResponse = Items;
1969
- export interface GetMenuPartialGroupItemsRequest extends BaseRequest, RequestQuery<GetMenuPartialGroupItemsQuery>, GetMenuPartialGroupItemsPath {
4273
+ export type GetMenuV3DraftStationResponse = StationDTO;
4274
+ export interface GetMenuV3DraftStationRequest extends BaseRequest, RequestQuery<GetMenuV3DraftStationQuery>, GetMenuV3DraftStationPath {
1970
4275
  }
1971
- export interface PostMenuPartialGroupItemOptionsPath {
4276
+ export interface PatchMenuV3DraftStationPath {
1972
4277
  id: string;
1973
- group_id: string;
1974
- }
1975
- export interface PostMenuPartialGroupItemOptionsQuery {
1976
- extended?: boolean;
1977
4278
  }
1978
- export interface PostMenuPartialGroupItemOptionsBody {
1979
- item_id?: string[];
4279
+ export interface PatchMenuV3DraftStationBody {
4280
+ layouts?: DraftLayoutDTO[];
4281
+ items?: DraftItemDTO[];
4282
+ modifier_groups?: DraftModifierGroupDTO[];
4283
+ modifiers?: DraftModifierDTO[];
4284
+ id?: string;
4285
+ name?: string;
4286
+ site?: SiteDTO;
4287
+ [index: string]: any;
1980
4288
  }
1981
- export type PostMenuPartialGroupItemOptionsResponse = Items;
1982
- export interface PostMenuPartialGroupItemOptionsRequest extends BaseRequest, RequestQuery<PostMenuPartialGroupItemOptionsQuery>, PostMenuPartialGroupItemOptionsPath {
1983
- body: PostMenuPartialGroupItemOptionsBody;
4289
+ export type PatchMenuV3DraftStationResponse = StationDTO;
4290
+ export interface PatchMenuV3DraftStationRequest extends BaseRequest, PatchMenuV3DraftStationPath {
4291
+ body: PatchMenuV3DraftStationBody;
1984
4292
  }
1985
- export interface PostMenuV3LayoutPublishPath {
4293
+ export interface DeleteMenuV3DraftStationPath {
1986
4294
  id: string;
1987
4295
  }
1988
- export interface PostMenuV3LayoutPublishQuery {
4296
+ export type DeleteMenuV3DraftStationResponse = StationDTO;
4297
+ export interface DeleteMenuV3DraftStationRequest extends BaseRequest, DeleteMenuV3DraftStationPath {
4298
+ }
4299
+ export interface GetMenuV3DraftStationsQuery {
4300
+ select?: string[];
4301
+ relationships?: string[];
1989
4302
  filter?: any;
1990
4303
  limit?: number;
1991
4304
  page?: number;
1992
4305
  sort_by?: string;
1993
4306
  sort_order?: string;
1994
4307
  soft_deleted?: string;
1995
- select?: string[];
1996
- relationships?: string[];
4308
+ _query?: string;
1997
4309
  }
1998
- export interface PostMenuV3LayoutPublishResponse {
1999
- status?: string;
4310
+ export interface GetMenuV3DraftStationsResponse {
4311
+ results: StationDTO[];
4312
+ meta?: ListResponseMetadataDTO;
4313
+ [index: string]: any;
2000
4314
  }
2001
- export interface PostMenuV3LayoutPublishRequest extends BaseRequest, RequestQuery<PostMenuV3LayoutPublishQuery>, PostMenuV3LayoutPublishPath {
4315
+ export interface GetMenuV3DraftStationsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftStationsQuery> {
2002
4316
  }
2003
- export type PostMenuV3CategorysBody = {
2004
- name: string;
2005
- label?: string;
2006
- sequence?: number;
2007
- priority?: number;
2008
- is_active?: boolean;
2009
- layout_id: string;
4317
+ export type PostMenuV3DraftStationsBody = {
4318
+ layouts?: DraftLayoutDTO[];
4319
+ items?: DraftItemDTO[];
4320
+ modifier_groups?: DraftModifierGroupDTO[];
4321
+ modifiers?: DraftModifierDTO[];
2010
4322
  id?: any;
2011
- layout?: LayoutDTO;
2012
- items?: CategoryToItemRelationshipDTO[];
4323
+ name?: string;
4324
+ site?: SiteDTO;
2013
4325
  [index: string]: any;
2014
4326
  }[];
2015
- export interface PostMenuV3CategorysResponse {
2016
- meta: PaginationMetaDTO;
2017
- results: CategoryDTO[];
4327
+ export interface PostMenuV3DraftStationsResponse {
4328
+ results: StationDTO[];
4329
+ meta?: ListResponseMetadataDTO;
2018
4330
  [index: string]: any;
2019
4331
  }
2020
- export interface PostMenuV3CategorysRequest extends BaseRequest {
2021
- body: PostMenuV3CategorysBody;
4332
+ export interface PostMenuV3DraftStationsRequest extends BaseRequest {
4333
+ body: PostMenuV3DraftStationsBody;
2022
4334
  }
2023
- export interface GetMenuV3CategoryRelationshipsItemsCountQuery {
4335
+ export interface GetMenuV3DraftStationsCountQuery {
2024
4336
  filter?: any;
2025
4337
  _query?: string;
2026
4338
  }
2027
- export interface GetMenuV3CategoryRelationshipsItemsCountResponse {
4339
+ export interface GetMenuV3DraftStationsCountResponse {
2028
4340
  count: number;
2029
4341
  [index: string]: any;
2030
4342
  }
2031
- export interface GetMenuV3CategoryRelationshipsItemsCountRequest extends BaseRequest, RequestQuery<GetMenuV3CategoryRelationshipsItemsCountQuery> {
4343
+ export interface GetMenuV3DraftStationsCountRequest extends BaseRequest, RequestQuery<GetMenuV3DraftStationsCountQuery> {
2032
4344
  }
2033
- export interface GetMenuV3ItemRelationshipsModifierGroupsCountQuery {
4345
+ export interface GetMenuV3DraftStationModifiersPath {
4346
+ id: string;
4347
+ }
4348
+ export interface GetMenuV3DraftStationModifiersQuery {
4349
+ select?: string[];
4350
+ relationships?: string[];
2034
4351
  filter?: any;
4352
+ limit?: number;
4353
+ page?: number;
4354
+ sort_by?: string;
4355
+ sort_order?: string;
4356
+ soft_deleted?: string;
2035
4357
  _query?: string;
2036
4358
  }
2037
- export interface GetMenuV3ItemRelationshipsModifierGroupsCountResponse {
2038
- count: number;
4359
+ export interface GetMenuV3DraftStationModifiersResponse {
4360
+ results: DraftModifierDTO[];
4361
+ meta?: ListResponseMetadataDTO;
2039
4362
  [index: string]: any;
2040
4363
  }
2041
- export interface GetMenuV3ItemRelationshipsModifierGroupsCountRequest extends BaseRequest, RequestQuery<GetMenuV3ItemRelationshipsModifierGroupsCountQuery> {
4364
+ export interface GetMenuV3DraftStationModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3DraftStationModifiersQuery>, GetMenuV3DraftStationModifiersPath {
2042
4365
  }
2043
- export interface GetMenuV3ModifierGroupsCountQuery {
4366
+ export interface GetMenuV3DraftStationModifierGroupsPath {
4367
+ id: string;
4368
+ }
4369
+ export interface GetMenuV3DraftStationModifierGroupsQuery {
4370
+ select?: string[];
4371
+ relationships?: string[];
2044
4372
  filter?: any;
4373
+ limit?: number;
4374
+ page?: number;
4375
+ sort_by?: string;
4376
+ sort_order?: string;
4377
+ soft_deleted?: string;
2045
4378
  _query?: string;
2046
4379
  }
2047
- export interface GetMenuV3ModifierGroupsCountResponse {
2048
- count: number;
4380
+ export interface GetMenuV3DraftStationModifierGroupsResponse {
4381
+ results: DraftModifierGroupDTO[];
4382
+ meta?: ListResponseMetadataDTO;
2049
4383
  [index: string]: any;
2050
4384
  }
2051
- export interface GetMenuV3ModifierGroupsCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupsCountQuery> {
4385
+ export interface GetMenuV3DraftStationModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftStationModifierGroupsQuery>, GetMenuV3DraftStationModifierGroupsPath {
2052
4386
  }
2053
- export interface GetMenuV3ModifierGroupRelationshipsModifiersCountQuery {
4387
+ export interface GetMenuV3DraftStationItemsPath {
4388
+ id: string;
4389
+ }
4390
+ export interface GetMenuV3DraftStationItemsQuery {
4391
+ select?: string[];
4392
+ relationships?: string[];
4393
+ filter?: any;
4394
+ limit?: number;
4395
+ page?: number;
4396
+ sort_by?: string;
4397
+ sort_order?: string;
4398
+ soft_deleted?: string;
4399
+ _query?: string;
4400
+ }
4401
+ export interface GetMenuV3DraftStationItemsResponse {
4402
+ results: DraftItemDTO[];
4403
+ meta?: ListResponseMetadataDTO;
4404
+ [index: string]: any;
4405
+ }
4406
+ export interface GetMenuV3DraftStationItemsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftStationItemsQuery>, GetMenuV3DraftStationItemsPath {
4407
+ }
4408
+ export interface GetMenuV3DraftSiteLayoutsPath {
4409
+ id: string;
4410
+ }
4411
+ export interface GetMenuV3DraftSiteLayoutsQuery {
4412
+ select?: string[];
4413
+ relationships?: string[];
2054
4414
  filter?: any;
4415
+ limit?: number;
4416
+ page?: number;
4417
+ sort_by?: string;
4418
+ sort_order?: string;
4419
+ soft_deleted?: string;
2055
4420
  _query?: string;
2056
4421
  }
2057
- export interface GetMenuV3ModifierGroupRelationshipsModifiersCountResponse {
2058
- count: number;
4422
+ export interface GetMenuV3DraftSiteLayoutsResponse {
4423
+ results: DraftLayoutDTO[];
4424
+ meta?: ListResponseMetadataDTO;
2059
4425
  [index: string]: any;
2060
4426
  }
2061
- export interface GetMenuV3ModifierGroupRelationshipsModifiersCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifierGroupRelationshipsModifiersCountQuery> {
4427
+ export interface GetMenuV3DraftSiteLayoutsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftSiteLayoutsQuery>, GetMenuV3DraftSiteLayoutsPath {
2062
4428
  }
2063
- export interface GetMenuV3ModifiersCountQuery {
4429
+ export interface GetMenuV3CategorysCountQuery {
2064
4430
  filter?: any;
2065
4431
  _query?: string;
2066
4432
  }
2067
- export interface GetMenuV3ModifiersCountResponse {
4433
+ export interface GetMenuV3CategorysCountResponse {
2068
4434
  count: number;
2069
4435
  [index: string]: any;
2070
4436
  }
2071
- export interface GetMenuV3ModifiersCountRequest extends BaseRequest, RequestQuery<GetMenuV3ModifiersCountQuery> {
4437
+ export interface GetMenuV3CategorysCountRequest extends BaseRequest, RequestQuery<GetMenuV3CategorysCountQuery> {
2072
4438
  }
2073
- export interface GetMenuV3StationModifiersPath {
4439
+ export interface PostMenuV3BrandLocalPath {
2074
4440
  id: string;
2075
4441
  }
2076
- export interface GetMenuV3StationModifiersQuery {
4442
+ export interface PostMenuV3BrandLocalResponse {
4443
+ parent?: DraftBrandDTO;
4444
+ children?: DraftBrandDTO[];
4445
+ layouts?: DraftLayoutDTO[];
4446
+ categories?: DraftCategoryDTO[];
4447
+ category_to_items?: DraftCategoryToItemRelationshipDTO[];
4448
+ items?: DraftItemDTO[];
4449
+ item_to_modifier_group_relationships?: DraftItemToModifierGroupRelationshipDTO[];
4450
+ modifier_groups?: DraftModifierGroupDTO[];
4451
+ modifier_group_to_modifiers?: DraftModifierGroupToModifierRelationshipDTO[];
4452
+ modifiers?: DraftModifierDTO[];
4453
+ id?: string;
4454
+ created_at?: string;
4455
+ updated_at?: string;
4456
+ deleted_at?: string;
4457
+ name: string;
4458
+ description?: string;
4459
+ is_active?: boolean;
4460
+ parent_id?: string;
4461
+ brand_group_id?: string;
4462
+ version?: number;
4463
+ changes?: DraftBrandChangeDTO[];
4464
+ brand_group?: BrandGroupDTO;
4465
+ attachments?: FileAttachmentsDTO;
4466
+ [index: string]: any;
4467
+ }
4468
+ export interface PostMenuV3BrandLocalRequest extends BaseRequest, PostMenuV3BrandLocalPath {
4469
+ }
4470
+ export interface PostMenuV3ItemAttachmentPath {
4471
+ id: string;
4472
+ name: string;
4473
+ }
4474
+ export interface PostMenuV3ItemAttachmentQuery {
4475
+ "body.data"?: string;
4476
+ }
4477
+ export interface PostMenuV3ItemAttachmentResponse {
4478
+ status?: string;
4479
+ }
4480
+ export interface PostMenuV3ItemAttachmentRequest extends BaseRequest, RequestQuery<PostMenuV3ItemAttachmentQuery>, PostMenuV3ItemAttachmentPath {
4481
+ }
4482
+ export interface PostMenuV3BrandAttachmentPath {
4483
+ id: string;
4484
+ name: string;
4485
+ }
4486
+ export interface PostMenuV3BrandAttachmentQuery {
4487
+ "body.data"?: string;
4488
+ }
4489
+ export interface PostMenuV3BrandAttachmentResponse {
4490
+ status?: string;
4491
+ }
4492
+ export interface PostMenuV3BrandAttachmentRequest extends BaseRequest, RequestQuery<PostMenuV3BrandAttachmentQuery>, PostMenuV3BrandAttachmentPath {
4493
+ }
4494
+ export interface PostMenuV3BrandGroupBody {
4495
+ name: string;
4496
+ description?: string;
4497
+ draft_brands?: DraftBrandDTO[];
4498
+ published_brands?: PublishedBrandDTO[];
4499
+ [index: string]: any;
4500
+ }
4501
+ export type PostMenuV3BrandGroupResponse = BrandGroupDTO;
4502
+ export interface PostMenuV3BrandGroupRequest extends BaseRequest {
4503
+ body: PostMenuV3BrandGroupBody;
4504
+ }
4505
+ export interface GetMenuV3BrandGroupPath {
4506
+ id: string;
4507
+ }
4508
+ export interface GetMenuV3BrandGroupQuery {
4509
+ select?: string[];
4510
+ relationships?: string[];
4511
+ _query?: string;
4512
+ }
4513
+ export type GetMenuV3BrandGroupResponse = BrandGroupDTO;
4514
+ export interface GetMenuV3BrandGroupRequest extends BaseRequest, RequestQuery<GetMenuV3BrandGroupQuery>, GetMenuV3BrandGroupPath {
4515
+ }
4516
+ export interface PatchMenuV3BrandGroupPath {
4517
+ id: string;
4518
+ }
4519
+ export interface PatchMenuV3BrandGroupBody {
4520
+ name?: string;
4521
+ description?: string;
4522
+ draft_brands?: DraftBrandDTO[];
4523
+ published_brands?: PublishedBrandDTO[];
4524
+ id?: string;
4525
+ [index: string]: any;
4526
+ }
4527
+ export type PatchMenuV3BrandGroupResponse = BrandGroupDTO;
4528
+ export interface PatchMenuV3BrandGroupRequest extends BaseRequest, PatchMenuV3BrandGroupPath {
4529
+ body: PatchMenuV3BrandGroupBody;
4530
+ }
4531
+ export interface DeleteMenuV3BrandGroupPath {
4532
+ id: string;
4533
+ }
4534
+ export type DeleteMenuV3BrandGroupResponse = BrandGroupDTO;
4535
+ export interface DeleteMenuV3BrandGroupRequest extends BaseRequest, DeleteMenuV3BrandGroupPath {
4536
+ }
4537
+ export interface GetMenuV3BrandGroupsQuery {
4538
+ select?: string[];
4539
+ relationships?: string[];
2077
4540
  filter?: any;
2078
4541
  limit?: number;
2079
4542
  page?: number;
2080
4543
  sort_by?: string;
2081
4544
  sort_order?: string;
2082
4545
  soft_deleted?: string;
2083
- select?: string[];
2084
- relationships?: string[];
2085
4546
  _query?: string;
2086
4547
  }
2087
- export interface GetMenuV3StationModifiersResponse {
2088
- meta: PaginationMetaDTO;
2089
- results: ModifierEntityDTO[];
4548
+ export interface GetMenuV3BrandGroupsResponse {
4549
+ results: BrandGroupDTO[];
4550
+ meta?: ListResponseMetadataDTO;
2090
4551
  [index: string]: any;
2091
4552
  }
2092
- export interface GetMenuV3StationModifiersRequest extends BaseRequest, RequestQuery<GetMenuV3StationModifiersQuery>, GetMenuV3StationModifiersPath {
4553
+ export interface GetMenuV3BrandGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandGroupsQuery> {
2093
4554
  }
2094
- export interface GetMenuV3StationModifierGroupsPath {
4555
+ export type PostMenuV3BrandGroupsBody = {
4556
+ name: string;
4557
+ description?: string;
4558
+ draft_brands?: DraftBrandDTO[];
4559
+ published_brands?: PublishedBrandDTO[];
4560
+ id?: any;
4561
+ [index: string]: any;
4562
+ }[];
4563
+ export interface PostMenuV3BrandGroupsResponse {
4564
+ results: BrandGroupDTO[];
4565
+ meta?: ListResponseMetadataDTO;
4566
+ [index: string]: any;
4567
+ }
4568
+ export interface PostMenuV3BrandGroupsRequest extends BaseRequest {
4569
+ body: PostMenuV3BrandGroupsBody;
4570
+ }
4571
+ export interface GetMenuV3BrandGroupsCountQuery {
4572
+ filter?: any;
4573
+ _query?: string;
4574
+ }
4575
+ export interface GetMenuV3BrandGroupsCountResponse {
4576
+ count: number;
4577
+ [index: string]: any;
4578
+ }
4579
+ export interface GetMenuV3BrandGroupsCountRequest extends BaseRequest, RequestQuery<GetMenuV3BrandGroupsCountQuery> {
4580
+ }
4581
+ export interface GetMenuV3BrandGroupDraftBrandsPath {
2095
4582
  id: string;
2096
4583
  }
2097
- export interface GetMenuV3StationModifierGroupsQuery {
4584
+ export interface GetMenuV3BrandGroupDraftBrandsQuery {
4585
+ select?: string[];
4586
+ relationships?: string[];
2098
4587
  filter?: any;
2099
4588
  limit?: number;
2100
4589
  page?: number;
2101
4590
  sort_by?: string;
2102
4591
  sort_order?: string;
2103
4592
  soft_deleted?: string;
2104
- select?: string[];
2105
- relationships?: string[];
2106
4593
  _query?: string;
2107
4594
  }
2108
- export interface GetMenuV3StationModifierGroupsResponse {
2109
- meta: PaginationMetaDTO;
2110
- results: ModifierGroupEntityDTO[];
4595
+ export interface GetMenuV3BrandGroupDraftBrandsResponse {
4596
+ results: DraftBrandDTO[];
4597
+ meta?: ListResponseMetadataDTO;
2111
4598
  [index: string]: any;
2112
4599
  }
2113
- export interface GetMenuV3StationModifierGroupsRequest extends BaseRequest, RequestQuery<GetMenuV3StationModifierGroupsQuery>, GetMenuV3StationModifierGroupsPath {
4600
+ export interface GetMenuV3BrandGroupDraftBrandsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandGroupDraftBrandsQuery>, GetMenuV3BrandGroupDraftBrandsPath {
2114
4601
  }
2115
- export interface GetMenuV3StationItemsPath {
4602
+ export interface GetMenuV3BrandGroupBrandsPath {
2116
4603
  id: string;
2117
4604
  }
2118
- export interface GetMenuV3StationItemsQuery {
4605
+ export interface GetMenuV3BrandGroupBrandsQuery {
4606
+ select?: string[];
4607
+ relationships?: string[];
2119
4608
  filter?: any;
2120
4609
  limit?: number;
2121
4610
  page?: number;
2122
4611
  sort_by?: string;
2123
4612
  sort_order?: string;
2124
4613
  soft_deleted?: string;
2125
- select?: string[];
2126
- relationships?: string[];
2127
4614
  _query?: string;
2128
4615
  }
2129
- export interface GetMenuV3StationItemsResponse {
2130
- meta: PaginationMetaDTO;
2131
- results: ItemEntityDTO[];
4616
+ export interface GetMenuV3BrandGroupBrandsResponse {
4617
+ results: DraftBrandDTO[];
4618
+ meta?: ListResponseMetadataDTO;
2132
4619
  [index: string]: any;
2133
4620
  }
2134
- export interface GetMenuV3StationItemsRequest extends BaseRequest, RequestQuery<GetMenuV3StationItemsQuery>, GetMenuV3StationItemsPath {
4621
+ export interface GetMenuV3BrandGroupBrandsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandGroupBrandsQuery>, GetMenuV3BrandGroupBrandsPath {
2135
4622
  }
2136
- export interface GetMenuV3SiteLayoutsPath {
4623
+ export interface GetMenuV3DraftBrandGroupBrandsPath {
2137
4624
  id: string;
2138
4625
  }
2139
- export interface GetMenuV3SiteLayoutsQuery {
4626
+ export interface GetMenuV3DraftBrandGroupBrandsQuery {
4627
+ select?: string[];
4628
+ relationships?: string[];
2140
4629
  filter?: any;
2141
4630
  limit?: number;
2142
4631
  page?: number;
2143
4632
  sort_by?: string;
2144
4633
  sort_order?: string;
2145
4634
  soft_deleted?: string;
2146
- select?: string[];
2147
- relationships?: string[];
2148
4635
  _query?: string;
2149
4636
  }
2150
- export interface GetMenuV3SiteLayoutsResponse {
2151
- meta: PaginationMetaDTO;
2152
- results: LayoutDTO[];
4637
+ export interface GetMenuV3DraftBrandGroupBrandsResponse {
4638
+ results: DraftBrandDTO[];
4639
+ meta?: ListResponseMetadataDTO;
2153
4640
  [index: string]: any;
2154
4641
  }
2155
- export interface GetMenuV3SiteLayoutsRequest extends BaseRequest, RequestQuery<GetMenuV3SiteLayoutsQuery>, GetMenuV3SiteLayoutsPath {
4642
+ export interface GetMenuV3DraftBrandGroupBrandsRequest extends BaseRequest, RequestQuery<GetMenuV3DraftBrandGroupBrandsQuery>, GetMenuV3DraftBrandGroupBrandsPath {
2156
4643
  }
2157
4644
  //# sourceMappingURL=menu.d.ts.map