@compassdigital/sdk.typescript 3.45.0 → 3.45.2

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.
@@ -27,11 +27,27 @@ export interface LayoutListResponse {
27
27
  results?: Layout[];
28
28
  }
29
29
 
30
+ export interface BrandListResponse {
31
+ meta?: Meta;
32
+ results?: Brand[];
33
+ }
34
+
35
+ export interface StationListResponse {
36
+ meta?: Meta;
37
+ results?: Station[];
38
+ }
39
+
30
40
  export interface CategoryListResponse {
31
41
  meta?: Meta;
32
42
  results?: Category[];
33
43
  }
34
44
 
45
+ export type ItemToModifierGroupRelationshipList = ItemToModifierGroupRelationship[];
46
+
47
+ export type CategoryToItemRelationshipList = CategoryToItemRelationship[];
48
+
49
+ export type ModifierGroupToModifierRelationshipList = ModifierGroupToModifierRelationship[];
50
+
35
51
  export interface ItemToModifierGroupRelationshipListResponse {
36
52
  meta?: Meta;
37
53
  results?: ItemToModifierGroupRelationship[];
@@ -66,6 +82,7 @@ export interface Modifier {
66
82
  label?: string;
67
83
  price?: number;
68
84
  calories?: number;
85
+ priority?: number;
69
86
  posid?: string;
70
87
  tax_tags?: string[];
71
88
  is_active?: boolean;
@@ -73,6 +90,8 @@ export interface Modifier {
73
90
  created_at?: string;
74
91
  updated_at?: string;
75
92
  deleted_at?: string;
93
+ brand_id?: string;
94
+ station_id?: string;
76
95
  [index: string]: any;
77
96
  }
78
97
 
@@ -83,9 +102,12 @@ export interface ModifierGroup {
83
102
  min?: number;
84
103
  max?: number;
85
104
  is_active?: boolean;
105
+ priority?: number;
86
106
  created_at?: string;
87
107
  updated_at?: string;
88
108
  deleted_at?: string;
109
+ brand_id?: string;
110
+ station_id?: string;
89
111
  [index: string]: any;
90
112
  }
91
113
 
@@ -96,6 +118,7 @@ export interface LocalItem {
96
118
  label?: string;
97
119
  price?: number;
98
120
  calories?: number;
121
+ priority?: number;
99
122
  posid?: string;
100
123
  barcode?: string;
101
124
  tax_tags?: string[];
@@ -104,6 +127,8 @@ export interface LocalItem {
104
127
  created_at?: string;
105
128
  updated_at?: string;
106
129
  deleted_at?: string;
130
+ brand_id?: string;
131
+ station_id?: string;
107
132
  [index: string]: any;
108
133
  }
109
134
 
@@ -122,6 +147,24 @@ export interface Layout {
122
147
  created_at?: string;
123
148
  updated_at?: string;
124
149
  deleted_at?: string;
150
+ brand_id?: string;
151
+ station_id?: string;
152
+ [index: string]: any;
153
+ }
154
+
155
+ export interface Brand {
156
+ id?: string;
157
+ created_at?: string;
158
+ updated_at?: string;
159
+ deleted_at?: string;
160
+ [index: string]: any;
161
+ }
162
+
163
+ export interface Station {
164
+ id?: string;
165
+ created_at?: string;
166
+ updated_at?: string;
167
+ deleted_at?: string;
125
168
  [index: string]: any;
126
169
  }
127
170
 
@@ -131,6 +174,7 @@ export interface Category {
131
174
  label?: string;
132
175
  sequence?: number;
133
176
  is_active?: boolean;
177
+ priority?: number;
134
178
  created_at?: string;
135
179
  updated_at?: string;
136
180
  deleted_at?: string;
@@ -473,613 +517,798 @@ export interface ZippedExcelExport {
473
517
  format?: string;
474
518
  }
475
519
 
476
- // GET /menu/v2/modifiers
520
+ // GET /menu/v3/modifiers
477
521
 
478
- export interface GetMenuV2ModifiersQuery {
522
+ export interface GetMenuV3ModifiersQuery {
479
523
  // Graphql query string
480
524
  _query?: string;
481
525
  }
482
526
 
483
- export type GetMenuV2ModifiersResponse = ModifiersListResponse;
527
+ export type GetMenuV3ModifiersResponse = ModifiersListResponse;
484
528
 
485
- export interface GetMenuV2ModifiersRequest
529
+ export interface GetMenuV3ModifiersRequest
486
530
  extends BaseRequest,
487
- RequestQuery<GetMenuV2ModifiersQuery> {}
531
+ RequestQuery<GetMenuV3ModifiersQuery> {}
488
532
 
489
- // GET /menu/v2/modifier/{id}
533
+ // GET /menu/v3/modifier/{id}
490
534
 
491
- export interface GetMenuV2ModifierPath {
535
+ export interface GetMenuV3ModifierPath {
492
536
  id: string;
493
537
  }
494
538
 
495
- export interface GetMenuV2ModifierQuery {
539
+ export interface GetMenuV3ModifierQuery {
496
540
  // Graphql query string
497
541
  _query?: string;
498
542
  }
499
543
 
500
- export type GetMenuV2ModifierResponse = Modifier;
544
+ export type GetMenuV3ModifierResponse = Modifier;
501
545
 
502
- export interface GetMenuV2ModifierRequest
546
+ export interface GetMenuV3ModifierRequest
503
547
  extends BaseRequest,
504
- RequestQuery<GetMenuV2ModifierQuery>,
505
- GetMenuV2ModifierPath {}
548
+ RequestQuery<GetMenuV3ModifierQuery>,
549
+ GetMenuV3ModifierPath {}
506
550
 
507
- // PATCH /menu/v2/modifier/{id}
551
+ // PATCH /menu/v3/modifier/{id}
508
552
 
509
- export interface PatchMenuV2ModifierPath {
553
+ export interface PatchMenuV3ModifierPath {
510
554
  id: string;
511
555
  }
512
556
 
513
- export type PatchMenuV2ModifierBody = Modifier;
557
+ export type PatchMenuV3ModifierBody = Modifier;
514
558
 
515
- export type PatchMenuV2ModifierResponse = Modifier;
559
+ export type PatchMenuV3ModifierResponse = Modifier;
516
560
 
517
- export interface PatchMenuV2ModifierRequest extends BaseRequest, PatchMenuV2ModifierPath {
518
- body: PatchMenuV2ModifierBody;
561
+ export interface PatchMenuV3ModifierRequest extends BaseRequest, PatchMenuV3ModifierPath {
562
+ body: PatchMenuV3ModifierBody;
519
563
  }
520
564
 
521
- // POST /menu/v2/modifier
565
+ // POST /menu/v3/modifier
522
566
 
523
- export type PostMenuV2ModifierBody = Modifier;
567
+ export type PostMenuV3ModifierBody = Modifier;
524
568
 
525
- export type PostMenuV2ModifierResponse = Modifier;
569
+ export type PostMenuV3ModifierResponse = Modifier;
526
570
 
527
- export interface PostMenuV2ModifierRequest extends BaseRequest {
528
- body: PostMenuV2ModifierBody;
571
+ export interface PostMenuV3ModifierRequest extends BaseRequest {
572
+ body: PostMenuV3ModifierBody;
529
573
  }
530
574
 
531
- // GET /menu/v2/modifier/count
575
+ // GET /menu/v3/modifier/count
532
576
 
533
- export interface GetMenuV2ModifierCountQuery {
577
+ export interface GetMenuV3ModifierCountQuery {
534
578
  // Graphql query string
535
579
  _query?: string;
536
580
  }
537
581
 
538
- export interface GetMenuV2ModifierCountResponse {
582
+ export interface GetMenuV3ModifierCountResponse {
539
583
  count?: number;
540
584
  }
541
585
 
542
- export interface GetMenuV2ModifierCountRequest
586
+ export interface GetMenuV3ModifierCountRequest
543
587
  extends BaseRequest,
544
- RequestQuery<GetMenuV2ModifierCountQuery> {}
588
+ RequestQuery<GetMenuV3ModifierCountQuery> {}
545
589
 
546
- // GET /menu/v2/modifier-groups
590
+ // GET /menu/v3/modifier-groups
547
591
 
548
- export interface GetMenuV2ModifierGroupsQuery {
592
+ export interface GetMenuV3ModifierGroupsQuery {
549
593
  // Graphql query string
550
594
  _query?: string;
551
595
  }
552
596
 
553
- export type GetMenuV2ModifierGroupsResponse = ModifierGroupsListResponse;
597
+ export type GetMenuV3ModifierGroupsResponse = ModifierGroupsListResponse;
554
598
 
555
- export interface GetMenuV2ModifierGroupsRequest
599
+ export interface GetMenuV3ModifierGroupsRequest
556
600
  extends BaseRequest,
557
- RequestQuery<GetMenuV2ModifierGroupsQuery> {}
601
+ RequestQuery<GetMenuV3ModifierGroupsQuery> {}
558
602
 
559
- // POST /menu/v2/modifier-group
603
+ // POST /menu/v3/modifier-group
560
604
 
561
- export type PostMenuV2ModifierGroupBody = ModifierGroup;
605
+ export type PostMenuV3ModifierGroupBody = ModifierGroup;
562
606
 
563
- export type PostMenuV2ModifierGroupResponse = ModifierGroup;
607
+ export type PostMenuV3ModifierGroupResponse = ModifierGroup;
564
608
 
565
- export interface PostMenuV2ModifierGroupRequest extends BaseRequest {
566
- body: PostMenuV2ModifierGroupBody;
609
+ export interface PostMenuV3ModifierGroupRequest extends BaseRequest {
610
+ body: PostMenuV3ModifierGroupBody;
567
611
  }
568
612
 
569
- // GET /menu/v2/modifier-group/{id}
613
+ // GET /menu/v3/modifier-group/{id}
570
614
 
571
- export interface GetMenuV2ModifierGroupPath {
615
+ export interface GetMenuV3ModifierGroupPath {
572
616
  id: string;
573
617
  }
574
618
 
575
- export interface GetMenuV2ModifierGroupQuery {
619
+ export interface GetMenuV3ModifierGroupQuery {
576
620
  // Graphql query string
577
621
  _query?: string;
578
622
  }
579
623
 
580
- export type GetMenuV2ModifierGroupResponse = ModifierGroup;
624
+ export type GetMenuV3ModifierGroupResponse = ModifierGroup;
581
625
 
582
- export interface GetMenuV2ModifierGroupRequest
626
+ export interface GetMenuV3ModifierGroupRequest
583
627
  extends BaseRequest,
584
- RequestQuery<GetMenuV2ModifierGroupQuery>,
585
- GetMenuV2ModifierGroupPath {}
628
+ RequestQuery<GetMenuV3ModifierGroupQuery>,
629
+ GetMenuV3ModifierGroupPath {}
586
630
 
587
- // PATCH /menu/v2/modifier-group/{id}
631
+ // PATCH /menu/v3/modifier-group/{id}
588
632
 
589
- export interface PatchMenuV2ModifierGroupPath {
633
+ export interface PatchMenuV3ModifierGroupPath {
590
634
  id: string;
591
635
  }
592
636
 
593
- export type PatchMenuV2ModifierGroupBody = ModifierGroup;
637
+ export type PatchMenuV3ModifierGroupBody = ModifierGroup;
594
638
 
595
- export type PatchMenuV2ModifierGroupResponse = ModifierGroup;
639
+ export type PatchMenuV3ModifierGroupResponse = ModifierGroup;
596
640
 
597
- export interface PatchMenuV2ModifierGroupRequest extends BaseRequest, PatchMenuV2ModifierGroupPath {
598
- body: PatchMenuV2ModifierGroupBody;
641
+ export interface PatchMenuV3ModifierGroupRequest extends BaseRequest, PatchMenuV3ModifierGroupPath {
642
+ body: PatchMenuV3ModifierGroupBody;
599
643
  }
600
644
 
601
- // GET /menu/v2/modifier-group/count
645
+ // GET /menu/v3/modifier-group/count
602
646
 
603
- export interface GetMenuV2ModifierGroupCountQuery {
647
+ export interface GetMenuV3ModifierGroupCountQuery {
604
648
  // Graphql query string
605
649
  _query?: string;
606
650
  }
607
651
 
608
- export interface GetMenuV2ModifierGroupCountResponse {
652
+ export interface GetMenuV3ModifierGroupCountResponse {
609
653
  count?: number;
610
654
  }
611
655
 
612
- export interface GetMenuV2ModifierGroupCountRequest
656
+ export interface GetMenuV3ModifierGroupCountRequest
613
657
  extends BaseRequest,
614
- RequestQuery<GetMenuV2ModifierGroupCountQuery> {}
658
+ RequestQuery<GetMenuV3ModifierGroupCountQuery> {}
615
659
 
616
- // GET /menu/v2/modifier-group/relationships/modifiers
660
+ // GET /menu/v3/modifier-group/relationships/modifiers
617
661
 
618
- export interface GetMenuV2ModifierGroupRelationshipsModifiersQuery {
662
+ export interface GetMenuV3ModifierGroupRelationshipsModifiersQuery {
619
663
  // Graphql query string
620
664
  _query?: string;
621
665
  }
622
666
 
623
- export type GetMenuV2ModifierGroupRelationshipsModifiersResponse =
667
+ export type GetMenuV3ModifierGroupRelationshipsModifiersResponse =
624
668
  ModifierGroupToModifierRelationshipListResponse;
625
669
 
626
- export interface GetMenuV2ModifierGroupRelationshipsModifiersRequest
670
+ export interface GetMenuV3ModifierGroupRelationshipsModifiersRequest
627
671
  extends BaseRequest,
628
- RequestQuery<GetMenuV2ModifierGroupRelationshipsModifiersQuery> {}
672
+ RequestQuery<GetMenuV3ModifierGroupRelationshipsModifiersQuery> {}
673
+
674
+ // POST /menu/v3/modifier-group/relationships/modifiers
629
675
 
630
- // POST /menu/v2/modifier-group/relationships/modifier
676
+ export type PostMenuV3ModifierGroupRelationshipsModifiersBody =
677
+ ModifierGroupToModifierRelationshipList;
631
678
 
632
- export type PostMenuV2ModifierGroupRelationshipsModifierBody = ModifierGroupToModifierRelationship;
679
+ export type PostMenuV3ModifierGroupRelationshipsModifiersResponse =
680
+ ModifierGroupToModifierRelationshipListResponse;
633
681
 
634
- export type PostMenuV2ModifierGroupRelationshipsModifierResponse =
682
+ export interface PostMenuV3ModifierGroupRelationshipsModifiersRequest extends BaseRequest {
683
+ body: PostMenuV3ModifierGroupRelationshipsModifiersBody;
684
+ }
685
+
686
+ // POST /menu/v3/modifier-group/relationships/modifier
687
+
688
+ export type PostMenuV3ModifierGroupRelationshipsModifierBody = ModifierGroupToModifierRelationship;
689
+
690
+ export type PostMenuV3ModifierGroupRelationshipsModifierResponse =
635
691
  ModifierGroupToModifierRelationship;
636
692
 
637
- export interface PostMenuV2ModifierGroupRelationshipsModifierRequest extends BaseRequest {
638
- body: PostMenuV2ModifierGroupRelationshipsModifierBody;
693
+ export interface PostMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest {
694
+ body: PostMenuV3ModifierGroupRelationshipsModifierBody;
639
695
  }
640
696
 
641
- // GET /menu/v2/modifier-group/relationships/modifier/{id}
697
+ // GET /menu/v3/modifier-group/relationships/modifier/{id}
642
698
 
643
- export interface GetMenuV2ModifierGroupRelationshipsModifierPath {
699
+ export interface GetMenuV3ModifierGroupRelationshipsModifierPath {
644
700
  id: string;
645
701
  }
646
702
 
647
- export interface GetMenuV2ModifierGroupRelationshipsModifierQuery {
703
+ export interface GetMenuV3ModifierGroupRelationshipsModifierQuery {
648
704
  // Graphql query string
649
705
  _query?: string;
650
706
  }
651
707
 
652
- export type GetMenuV2ModifierGroupRelationshipsModifierResponse =
708
+ export type GetMenuV3ModifierGroupRelationshipsModifierResponse =
653
709
  ModifierGroupToModifierRelationship;
654
710
 
655
- export interface GetMenuV2ModifierGroupRelationshipsModifierRequest
711
+ export interface GetMenuV3ModifierGroupRelationshipsModifierRequest
656
712
  extends BaseRequest,
657
- RequestQuery<GetMenuV2ModifierGroupRelationshipsModifierQuery>,
658
- GetMenuV2ModifierGroupRelationshipsModifierPath {}
713
+ RequestQuery<GetMenuV3ModifierGroupRelationshipsModifierQuery>,
714
+ GetMenuV3ModifierGroupRelationshipsModifierPath {}
659
715
 
660
- // PATCH /menu/v2/modifier-group/relationships/modifier/{id}
716
+ // PATCH /menu/v3/modifier-group/relationships/modifier/{id}
661
717
 
662
- export interface PatchMenuV2ModifierGroupRelationshipsModifierPath {
718
+ export interface PatchMenuV3ModifierGroupRelationshipsModifierPath {
663
719
  id: string;
664
720
  }
665
721
 
666
- export type PatchMenuV2ModifierGroupRelationshipsModifierBody = ModifierGroupToModifierRelationship;
722
+ export type PatchMenuV3ModifierGroupRelationshipsModifierBody = ModifierGroupToModifierRelationship;
667
723
 
668
- export type PatchMenuV2ModifierGroupRelationshipsModifierResponse =
724
+ export type PatchMenuV3ModifierGroupRelationshipsModifierResponse =
669
725
  ModifierGroupToModifierRelationship;
670
726
 
671
- export interface PatchMenuV2ModifierGroupRelationshipsModifierRequest
727
+ export interface PatchMenuV3ModifierGroupRelationshipsModifierRequest
672
728
  extends BaseRequest,
673
- PatchMenuV2ModifierGroupRelationshipsModifierPath {
674
- body: PatchMenuV2ModifierGroupRelationshipsModifierBody;
729
+ PatchMenuV3ModifierGroupRelationshipsModifierPath {
730
+ body: PatchMenuV3ModifierGroupRelationshipsModifierBody;
675
731
  }
676
732
 
677
- // GET /menu/v2/items
733
+ // GET /menu/v3/items
678
734
 
679
- export interface GetMenuV2ItemsQuery {
735
+ export interface GetMenuV3ItemsQuery {
680
736
  // Graphql query string
681
737
  _query?: string;
682
738
  }
683
739
 
684
- export type GetMenuV2ItemsResponse = ItemsListResponse;
740
+ export type GetMenuV3ItemsResponse = ItemsListResponse;
685
741
 
686
- export interface GetMenuV2ItemsRequest extends BaseRequest, RequestQuery<GetMenuV2ItemsQuery> {}
742
+ export interface GetMenuV3ItemsRequest extends BaseRequest, RequestQuery<GetMenuV3ItemsQuery> {}
687
743
 
688
- // GET /menu/v2/item/{id}
744
+ // GET /menu/v3/item/{id}
689
745
 
690
- export interface GetMenuV2ItemPath {
746
+ export interface GetMenuV3ItemPath {
691
747
  id: string;
692
748
  }
693
749
 
694
- export interface GetMenuV2ItemQuery {
750
+ export interface GetMenuV3ItemQuery {
695
751
  // Graphql query string
696
752
  _query?: string;
697
753
  }
698
754
 
699
- export type GetMenuV2ItemResponse = LocalItem;
755
+ export type GetMenuV3ItemResponse = LocalItem;
700
756
 
701
- export interface GetMenuV2ItemRequest
757
+ export interface GetMenuV3ItemRequest
702
758
  extends BaseRequest,
703
- RequestQuery<GetMenuV2ItemQuery>,
704
- GetMenuV2ItemPath {}
759
+ RequestQuery<GetMenuV3ItemQuery>,
760
+ GetMenuV3ItemPath {}
705
761
 
706
- // PATCH /menu/v2/item/{id}
762
+ // PATCH /menu/v3/item/{id}
707
763
 
708
- export interface PatchMenuV2ItemPath {
764
+ export interface PatchMenuV3ItemPath {
709
765
  id: string;
710
766
  }
711
767
 
712
- export type PatchMenuV2ItemBody = LocalItem;
768
+ export type PatchMenuV3ItemBody = LocalItem;
713
769
 
714
- export type PatchMenuV2ItemResponse = LocalItem;
770
+ export type PatchMenuV3ItemResponse = LocalItem;
715
771
 
716
- export interface PatchMenuV2ItemRequest extends BaseRequest, PatchMenuV2ItemPath {
717
- body: PatchMenuV2ItemBody;
772
+ export interface PatchMenuV3ItemRequest extends BaseRequest, PatchMenuV3ItemPath {
773
+ body: PatchMenuV3ItemBody;
718
774
  }
719
775
 
720
- // POST /menu/v2/item
776
+ // POST /menu/v3/item
721
777
 
722
- export type PostMenuV2ItemBody = LocalItem;
778
+ export type PostMenuV3ItemBody = LocalItem;
723
779
 
724
- export type PostMenuV2ItemResponse = LocalItem;
780
+ export type PostMenuV3ItemResponse = LocalItem;
725
781
 
726
- export interface PostMenuV2ItemRequest extends BaseRequest {
727
- body: PostMenuV2ItemBody;
782
+ export interface PostMenuV3ItemRequest extends BaseRequest {
783
+ body: PostMenuV3ItemBody;
728
784
  }
729
785
 
730
- // GET /menu/v2/items/count
786
+ // GET /menu/v3/items/count
731
787
 
732
- export interface GetMenuV2ItemsCountQuery {
788
+ export interface GetMenuV3ItemsCountQuery {
733
789
  // Graphql query string
734
790
  _query?: string;
735
791
  }
736
792
 
737
- export interface GetMenuV2ItemsCountResponse {
793
+ export interface GetMenuV3ItemsCountResponse {
738
794
  count?: number;
739
795
  }
740
796
 
741
- export interface GetMenuV2ItemsCountRequest
797
+ export interface GetMenuV3ItemsCountRequest
742
798
  extends BaseRequest,
743
- RequestQuery<GetMenuV2ItemsCountQuery> {}
799
+ RequestQuery<GetMenuV3ItemsCountQuery> {}
744
800
 
745
- // GET /menu/v2/item/relationships/modifier-groups
801
+ // GET /menu/v3/item/relationships/modifier-groups
746
802
 
747
- export interface GetMenuV2ItemRelationshipsModifierGroupsQuery {
803
+ export interface GetMenuV3ItemRelationshipsModifierGroupsQuery {
748
804
  // Graphql query string
749
805
  _query?: string;
750
806
  }
751
807
 
752
- export type GetMenuV2ItemRelationshipsModifierGroupsResponse =
808
+ export type GetMenuV3ItemRelationshipsModifierGroupsResponse =
753
809
  ItemToModifierGroupRelationshipListResponse;
754
810
 
755
- export interface GetMenuV2ItemRelationshipsModifierGroupsRequest
811
+ export interface GetMenuV3ItemRelationshipsModifierGroupsRequest
756
812
  extends BaseRequest,
757
- RequestQuery<GetMenuV2ItemRelationshipsModifierGroupsQuery> {}
813
+ RequestQuery<GetMenuV3ItemRelationshipsModifierGroupsQuery> {}
814
+
815
+ // POST /menu/v3/item/relationships/modifier-groups
816
+
817
+ export type PostMenuV3ItemRelationshipsModifierGroupsBody = ItemToModifierGroupRelationshipList;
818
+
819
+ export type PostMenuV3ItemRelationshipsModifierGroupsResponse =
820
+ ItemToModifierGroupRelationshipListResponse;
821
+
822
+ export interface PostMenuV3ItemRelationshipsModifierGroupsRequest extends BaseRequest {
823
+ body: PostMenuV3ItemRelationshipsModifierGroupsBody;
824
+ }
758
825
 
759
- // POST /menu/v2/item/relationships/modifier-group
826
+ // POST /menu/v3/item/relationships/modifier-group
760
827
 
761
- export type PostMenuV2ItemRelationshipsModifierGroupBody = ItemToModifierGroupRelationship;
828
+ export type PostMenuV3ItemRelationshipsModifierGroupBody = ItemToModifierGroupRelationship;
762
829
 
763
- export type PostMenuV2ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
830
+ export type PostMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
764
831
 
765
- export interface PostMenuV2ItemRelationshipsModifierGroupRequest extends BaseRequest {
766
- body: PostMenuV2ItemRelationshipsModifierGroupBody;
832
+ export interface PostMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest {
833
+ body: PostMenuV3ItemRelationshipsModifierGroupBody;
767
834
  }
768
835
 
769
- // PATCH /menu/v2/item/relationships/modifier-group/{id}
836
+ // PATCH /menu/v3/item/relationships/modifier-group/{id}
770
837
 
771
- export interface PatchMenuV2ItemRelationshipsModifierGroupPath {
838
+ export interface PatchMenuV3ItemRelationshipsModifierGroupPath {
772
839
  id: string;
773
840
  }
774
841
 
775
- export type PatchMenuV2ItemRelationshipsModifierGroupBody = ItemToModifierGroupRelationship;
842
+ export type PatchMenuV3ItemRelationshipsModifierGroupBody = ItemToModifierGroupRelationship;
776
843
 
777
- export type PatchMenuV2ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
844
+ export type PatchMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
778
845
 
779
- export interface PatchMenuV2ItemRelationshipsModifierGroupRequest
846
+ export interface PatchMenuV3ItemRelationshipsModifierGroupRequest
780
847
  extends BaseRequest,
781
- PatchMenuV2ItemRelationshipsModifierGroupPath {
782
- body: PatchMenuV2ItemRelationshipsModifierGroupBody;
848
+ PatchMenuV3ItemRelationshipsModifierGroupPath {
849
+ body: PatchMenuV3ItemRelationshipsModifierGroupBody;
783
850
  }
784
851
 
785
- // DELETE /menu/v2/item/relationships/modifier-group/{id}
852
+ // DELETE /menu/v3/item/relationships/modifier-group/{id}
786
853
 
787
- export interface DeleteMenuV2ItemRelationshipsModifierGroupPath {
854
+ export interface DeleteMenuV3ItemRelationshipsModifierGroupPath {
788
855
  id: string;
789
856
  }
790
857
 
791
- export type DeleteMenuV2ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
858
+ export type DeleteMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
792
859
 
793
- export interface DeleteMenuV2ItemRelationshipsModifierGroupRequest
860
+ export interface DeleteMenuV3ItemRelationshipsModifierGroupRequest
794
861
  extends BaseRequest,
795
- DeleteMenuV2ItemRelationshipsModifierGroupPath {}
862
+ DeleteMenuV3ItemRelationshipsModifierGroupPath {}
796
863
 
797
- // GET /menu/v2/menus
864
+ // GET /menu/v3/layouts
798
865
 
799
- export interface GetMenuV2MenusQuery {
866
+ export interface GetMenuV3LayoutsQuery {
800
867
  // Graphql query string
801
868
  _query?: string;
802
869
  }
803
870
 
804
- export type GetMenuV2MenusResponse = MenuV2ListResponse;
871
+ export type GetMenuV3LayoutsResponse = LayoutListResponse;
805
872
 
806
- export interface GetMenuV2MenusRequest extends BaseRequest, RequestQuery<GetMenuV2MenusQuery> {}
873
+ export interface GetMenuV3LayoutsRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutsQuery> {}
807
874
 
808
- // GET /menu/v2/menu/{id}
875
+ // GET /menu/v3/layout/{id}/categories
809
876
 
810
- export interface GetMenuV2MenuPath {
877
+ export interface GetMenuV3LayoutCategoriesPath {
811
878
  id: string;
812
879
  }
813
880
 
814
- export interface GetMenuV2MenuQuery {
881
+ export interface GetMenuV3LayoutCategoriesQuery {
815
882
  // Graphql query string
816
883
  _query?: string;
817
884
  }
818
885
 
819
- export type GetMenuV2MenuResponse = MenuV2;
886
+ export type GetMenuV3LayoutCategoriesResponse = CategoryListResponse;
820
887
 
821
- export interface GetMenuV2MenuRequest
888
+ export interface GetMenuV3LayoutCategoriesRequest
822
889
  extends BaseRequest,
823
- RequestQuery<GetMenuV2MenuQuery>,
824
- GetMenuV2MenuPath {}
890
+ RequestQuery<GetMenuV3LayoutCategoriesQuery>,
891
+ GetMenuV3LayoutCategoriesPath {}
825
892
 
826
- // PATCH /menu/v2/menu/{id}
893
+ // GET /menu/v3/layout/{id}
827
894
 
828
- export interface PatchMenuV2MenuPath {
895
+ export interface GetMenuV3LayoutPath {
829
896
  id: string;
830
897
  }
831
898
 
832
- export type PatchMenuV2MenuBody = MenuV2;
899
+ export interface GetMenuV3LayoutQuery {
900
+ // Graphql query string
901
+ _query?: string;
902
+ }
833
903
 
834
- export type PatchMenuV2MenuResponse = MenuV2;
904
+ export type GetMenuV3LayoutResponse = Layout;
835
905
 
836
- export interface PatchMenuV2MenuRequest extends BaseRequest, PatchMenuV2MenuPath {
837
- body: PatchMenuV2MenuBody;
906
+ export interface GetMenuV3LayoutRequest
907
+ extends BaseRequest,
908
+ RequestQuery<GetMenuV3LayoutQuery>,
909
+ GetMenuV3LayoutPath {}
910
+
911
+ // PATCH /menu/v3/layout/{id}
912
+
913
+ export interface PatchMenuV3LayoutPath {
914
+ id: string;
838
915
  }
839
916
 
840
- // DELETE /menu/v2/menu/{id}
917
+ export type PatchMenuV3LayoutBody = Layout;
918
+
919
+ export type PatchMenuV3LayoutResponse = Layout;
841
920
 
842
- export interface DeleteMenuV2MenuPath {
921
+ export interface PatchMenuV3LayoutRequest extends BaseRequest, PatchMenuV3LayoutPath {
922
+ body: PatchMenuV3LayoutBody;
923
+ }
924
+
925
+ // DELETE /menu/v3/layout/{id}
926
+
927
+ export interface DeleteMenuV3LayoutPath {
843
928
  id: string;
844
929
  }
845
930
 
846
- export type DeleteMenuV2MenuResponse = MenuV2;
931
+ export type DeleteMenuV3LayoutResponse = Layout;
847
932
 
848
- export interface DeleteMenuV2MenuRequest extends BaseRequest, DeleteMenuV2MenuPath {}
933
+ export interface DeleteMenuV3LayoutRequest extends BaseRequest, DeleteMenuV3LayoutPath {}
849
934
 
850
- // POST /menu/v2/menu
935
+ // POST /menu/v3/layout
851
936
 
852
- export type PostMenuV2MenuBody = MenuV2;
937
+ export type PostMenuV3LayoutBody = Layout;
853
938
 
854
- export type PostMenuV2MenuResponse = MenuV2;
939
+ export type PostMenuV3LayoutResponse = Layout;
855
940
 
856
- export interface PostMenuV2MenuRequest extends BaseRequest {
857
- body: PostMenuV2MenuBody;
941
+ export interface PostMenuV3LayoutRequest extends BaseRequest {
942
+ body: PostMenuV3LayoutBody;
858
943
  }
859
944
 
860
- // GET /menu/v2/menus/count
945
+ // GET /menu/v3/layouts/count
861
946
 
862
- export interface GetMenuV2MenusCountQuery {
947
+ export interface GetMenuV3LayoutsCountQuery {
863
948
  // Graphql query string
864
949
  _query?: string;
865
950
  }
866
951
 
867
- export interface GetMenuV2MenusCountResponse {
952
+ export interface GetMenuV3LayoutsCountResponse {
868
953
  count?: number;
869
954
  }
870
955
 
871
- export interface GetMenuV2MenusCountRequest
956
+ export interface GetMenuV3LayoutsCountRequest
872
957
  extends BaseRequest,
873
- RequestQuery<GetMenuV2MenusCountQuery> {}
958
+ RequestQuery<GetMenuV3LayoutsCountQuery> {}
874
959
 
875
- // GET /menu/v2/layouts
960
+ // GET /menu/v3/categories
876
961
 
877
- export interface GetMenuV2LayoutsQuery {
962
+ export interface GetMenuV3CategoriesQuery {
878
963
  // Graphql query string
879
964
  _query?: string;
880
965
  }
881
966
 
882
- export type GetMenuV2LayoutsResponse = LayoutListResponse;
967
+ export type GetMenuV3CategoriesResponse = CategoryListResponse;
883
968
 
884
- export interface GetMenuV2LayoutsRequest extends BaseRequest, RequestQuery<GetMenuV2LayoutsQuery> {}
969
+ export interface GetMenuV3CategoriesRequest
970
+ extends BaseRequest,
971
+ RequestQuery<GetMenuV3CategoriesQuery> {}
885
972
 
886
- // GET /menu/v2/layout/{id}
973
+ // GET /menu/v3/category/{id}
887
974
 
888
- export interface GetMenuV2LayoutPath {
975
+ export interface GetMenuV3CategoryPath {
889
976
  id: string;
890
977
  }
891
978
 
892
- export interface GetMenuV2LayoutQuery {
979
+ export interface GetMenuV3CategoryQuery {
893
980
  // Graphql query string
894
981
  _query?: string;
895
982
  }
896
983
 
897
- export type GetMenuV2LayoutResponse = Layout;
984
+ export type GetMenuV3CategoryResponse = Category;
898
985
 
899
- export interface GetMenuV2LayoutRequest
986
+ export interface GetMenuV3CategoryRequest
900
987
  extends BaseRequest,
901
- RequestQuery<GetMenuV2LayoutQuery>,
902
- GetMenuV2LayoutPath {}
988
+ RequestQuery<GetMenuV3CategoryQuery>,
989
+ GetMenuV3CategoryPath {}
903
990
 
904
- // PATCH /menu/v2/layout/{id}
991
+ // PATCH /menu/v3/category/{id}
905
992
 
906
- export interface PatchMenuV2LayoutPath {
993
+ export interface PatchMenuV3CategoryPath {
907
994
  id: string;
908
995
  }
909
996
 
910
- export type PatchMenuV2LayoutBody = Layout;
997
+ export type PatchMenuV3CategoryBody = Category;
911
998
 
912
- export type PatchMenuV2LayoutResponse = Layout;
999
+ export type PatchMenuV3CategoryResponse = Category;
913
1000
 
914
- export interface PatchMenuV2LayoutRequest extends BaseRequest, PatchMenuV2LayoutPath {
915
- body: PatchMenuV2LayoutBody;
1001
+ export interface PatchMenuV3CategoryRequest extends BaseRequest, PatchMenuV3CategoryPath {
1002
+ body: PatchMenuV3CategoryBody;
916
1003
  }
917
1004
 
918
- // DELETE /menu/v2/layout/{id}
1005
+ // DELETE /menu/v3/category/{id}
919
1006
 
920
- export interface DeleteMenuV2LayoutPath {
1007
+ export interface DeleteMenuV3CategoryPath {
921
1008
  id: string;
922
1009
  }
923
1010
 
924
- export type DeleteMenuV2LayoutResponse = Layout;
1011
+ export type DeleteMenuV3CategoryResponse = Category;
925
1012
 
926
- export interface DeleteMenuV2LayoutRequest extends BaseRequest, DeleteMenuV2LayoutPath {}
1013
+ export interface DeleteMenuV3CategoryRequest extends BaseRequest, DeleteMenuV3CategoryPath {}
927
1014
 
928
- // POST /menu/v2/layout
1015
+ // POST /menu/v3/category
929
1016
 
930
- export type PostMenuV2LayoutBody = Layout;
1017
+ export type PostMenuV3CategoryBody = Category;
931
1018
 
932
- export type PostMenuV2LayoutResponse = Layout;
1019
+ export type PostMenuV3CategoryResponse = Category;
933
1020
 
934
- export interface PostMenuV2LayoutRequest extends BaseRequest {
935
- body: PostMenuV2LayoutBody;
1021
+ export interface PostMenuV3CategoryRequest extends BaseRequest {
1022
+ body: PostMenuV3CategoryBody;
936
1023
  }
937
1024
 
938
- // GET /menu/v2/layouts/count
1025
+ // GET /menu/v3/categories/count
939
1026
 
940
- export interface GetMenuV2LayoutsCountQuery {
1027
+ export interface GetMenuV3CategoriesCountQuery {
941
1028
  // Graphql query string
942
1029
  _query?: string;
943
1030
  }
944
1031
 
945
- export interface GetMenuV2LayoutsCountResponse {
1032
+ export interface GetMenuV3CategoriesCountResponse {
946
1033
  count?: number;
947
1034
  }
948
1035
 
949
- export interface GetMenuV2LayoutsCountRequest
1036
+ export interface GetMenuV3CategoriesCountRequest
1037
+ extends BaseRequest,
1038
+ RequestQuery<GetMenuV3CategoriesCountQuery> {}
1039
+
1040
+ // GET /menu/v3/category/relationships/items
1041
+
1042
+ export interface GetMenuV3CategoryRelationshipsItemsQuery {
1043
+ // Graphql query string
1044
+ _query?: string;
1045
+ }
1046
+
1047
+ export type GetMenuV3CategoryRelationshipsItemsResponse = CategoryToItemRelationshipListResponse;
1048
+
1049
+ export interface GetMenuV3CategoryRelationshipsItemsRequest
1050
+ extends BaseRequest,
1051
+ RequestQuery<GetMenuV3CategoryRelationshipsItemsQuery> {}
1052
+
1053
+ // POST /menu/v3/category/relationships/items
1054
+
1055
+ export type PostMenuV3CategoryRelationshipsItemsBody = CategoryToItemRelationshipList;
1056
+
1057
+ export type PostMenuV3CategoryRelationshipsItemsResponse = CategoryToItemRelationshipListResponse;
1058
+
1059
+ export interface PostMenuV3CategoryRelationshipsItemsRequest extends BaseRequest {
1060
+ body: PostMenuV3CategoryRelationshipsItemsBody;
1061
+ }
1062
+
1063
+ // POST /menu/v3/category/relationships/item
1064
+
1065
+ export type PostMenuV3CategoryRelationshipsItemBody = CategoryToItemRelationship;
1066
+
1067
+ export type PostMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationship;
1068
+
1069
+ export interface PostMenuV3CategoryRelationshipsItemRequest extends BaseRequest {
1070
+ body: PostMenuV3CategoryRelationshipsItemBody;
1071
+ }
1072
+
1073
+ // PATCH /menu/v3/category/relationships/item/{id}
1074
+
1075
+ export interface PatchMenuV3CategoryRelationshipsItemPath {
1076
+ id: string;
1077
+ }
1078
+
1079
+ export type PatchMenuV3CategoryRelationshipsItemBody = CategoryToItemRelationship;
1080
+
1081
+ export type PatchMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationship;
1082
+
1083
+ export interface PatchMenuV3CategoryRelationshipsItemRequest
1084
+ extends BaseRequest,
1085
+ PatchMenuV3CategoryRelationshipsItemPath {
1086
+ body: PatchMenuV3CategoryRelationshipsItemBody;
1087
+ }
1088
+
1089
+ // DELETE /menu/v3/category/relationships/item/{id}
1090
+
1091
+ export interface DeleteMenuV3CategoryRelationshipsItemPath {
1092
+ id: string;
1093
+ }
1094
+
1095
+ export type DeleteMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationship;
1096
+
1097
+ export interface DeleteMenuV3CategoryRelationshipsItemRequest
1098
+ extends BaseRequest,
1099
+ DeleteMenuV3CategoryRelationshipsItemPath {}
1100
+
1101
+ // GET /menu/v3/brands
1102
+
1103
+ export interface GetMenuV3BrandsQuery {
1104
+ // Graphql query string
1105
+ _query?: string;
1106
+ }
1107
+
1108
+ export type GetMenuV3BrandsResponse = BrandListResponse;
1109
+
1110
+ export interface GetMenuV3BrandsRequest extends BaseRequest, RequestQuery<GetMenuV3BrandsQuery> {}
1111
+
1112
+ // GET /menu/v3/brand/{id}/modifiers
1113
+
1114
+ export interface GetMenuV3BrandModifiersPath {
1115
+ id: string;
1116
+ }
1117
+
1118
+ export interface GetMenuV3BrandModifiersQuery {
1119
+ // Graphql query string
1120
+ _query?: string;
1121
+ }
1122
+
1123
+ export type GetMenuV3BrandModifiersResponse = ModifiersListResponse;
1124
+
1125
+ export interface GetMenuV3BrandModifiersRequest
1126
+ extends BaseRequest,
1127
+ RequestQuery<GetMenuV3BrandModifiersQuery>,
1128
+ GetMenuV3BrandModifiersPath {}
1129
+
1130
+ // GET /menu/v3/brand/{id}/modifier_groups
1131
+
1132
+ export interface GetMenuV3BrandModifier_groupsPath {
1133
+ id: string;
1134
+ }
1135
+
1136
+ export interface GetMenuV3BrandModifier_groupsQuery {
1137
+ // Graphql query string
1138
+ _query?: string;
1139
+ }
1140
+
1141
+ export type GetMenuV3BrandModifier_groupsResponse = ModifierGroupsListResponse;
1142
+
1143
+ export interface GetMenuV3BrandModifier_groupsRequest
950
1144
  extends BaseRequest,
951
- RequestQuery<GetMenuV2LayoutsCountQuery> {}
1145
+ RequestQuery<GetMenuV3BrandModifier_groupsQuery>,
1146
+ GetMenuV3BrandModifier_groupsPath {}
952
1147
 
953
- // GET /menu/v2/categories
1148
+ // GET /menu/v3/brand/{id}/items
954
1149
 
955
- export interface GetMenuV2CategoriesQuery {
1150
+ export interface GetMenuV3BrandItemsPath {
1151
+ id: string;
1152
+ }
1153
+
1154
+ export interface GetMenuV3BrandItemsQuery {
956
1155
  // Graphql query string
957
1156
  _query?: string;
958
1157
  }
959
1158
 
960
- export type GetMenuV2CategoriesResponse = CategoryListResponse;
1159
+ export type GetMenuV3BrandItemsResponse = ItemsListResponse;
961
1160
 
962
- export interface GetMenuV2CategoriesRequest
1161
+ export interface GetMenuV3BrandItemsRequest
963
1162
  extends BaseRequest,
964
- RequestQuery<GetMenuV2CategoriesQuery> {}
1163
+ RequestQuery<GetMenuV3BrandItemsQuery>,
1164
+ GetMenuV3BrandItemsPath {}
965
1165
 
966
- // GET /menu/v2/category/{id}
1166
+ // GET /menu/v3/brand/{id}
967
1167
 
968
- export interface GetMenuV2CategoryPath {
1168
+ export interface GetMenuV3BrandPath {
969
1169
  id: string;
970
1170
  }
971
1171
 
972
- export interface GetMenuV2CategoryQuery {
1172
+ export interface GetMenuV3BrandQuery {
973
1173
  // Graphql query string
974
1174
  _query?: string;
975
1175
  }
976
1176
 
977
- export type GetMenuV2CategoryResponse = Category;
1177
+ export type GetMenuV3BrandResponse = Brand;
978
1178
 
979
- export interface GetMenuV2CategoryRequest
1179
+ export interface GetMenuV3BrandRequest
980
1180
  extends BaseRequest,
981
- RequestQuery<GetMenuV2CategoryQuery>,
982
- GetMenuV2CategoryPath {}
1181
+ RequestQuery<GetMenuV3BrandQuery>,
1182
+ GetMenuV3BrandPath {}
983
1183
 
984
- // PATCH /menu/v2/category/{id}
1184
+ // PATCH /menu/v3/brand/{id}
985
1185
 
986
- export interface PatchMenuV2CategoryPath {
1186
+ export interface PatchMenuV3BrandPath {
987
1187
  id: string;
988
1188
  }
989
1189
 
990
- export type PatchMenuV2CategoryBody = Category;
1190
+ export type PatchMenuV3BrandBody = Brand;
991
1191
 
992
- export type PatchMenuV2CategoryResponse = Category;
1192
+ export type PatchMenuV3BrandResponse = Brand;
993
1193
 
994
- export interface PatchMenuV2CategoryRequest extends BaseRequest, PatchMenuV2CategoryPath {
995
- body: PatchMenuV2CategoryBody;
1194
+ export interface PatchMenuV3BrandRequest extends BaseRequest, PatchMenuV3BrandPath {
1195
+ body: PatchMenuV3BrandBody;
996
1196
  }
997
1197
 
998
- // DELETE /menu/v2/category/{id}
1198
+ // DELETE /menu/v3/brand/{id}
999
1199
 
1000
- export interface DeleteMenuV2CategoryPath {
1200
+ export interface DeleteMenuV3BrandPath {
1001
1201
  id: string;
1002
1202
  }
1003
1203
 
1004
- export type DeleteMenuV2CategoryResponse = Category;
1204
+ export type DeleteMenuV3BrandResponse = Brand;
1005
1205
 
1006
- export interface DeleteMenuV2CategoryRequest extends BaseRequest, DeleteMenuV2CategoryPath {}
1206
+ export interface DeleteMenuV3BrandRequest extends BaseRequest, DeleteMenuV3BrandPath {}
1007
1207
 
1008
- // POST /menu/v2/category
1208
+ // POST /menu/v3/brand
1009
1209
 
1010
- export type PostMenuV2CategoryBody = Category;
1210
+ export type PostMenuV3BrandBody = Brand;
1011
1211
 
1012
- export type PostMenuV2CategoryResponse = Category;
1212
+ export type PostMenuV3BrandResponse = Brand;
1013
1213
 
1014
- export interface PostMenuV2CategoryRequest extends BaseRequest {
1015
- body: PostMenuV2CategoryBody;
1214
+ export interface PostMenuV3BrandRequest extends BaseRequest {
1215
+ body: PostMenuV3BrandBody;
1016
1216
  }
1017
1217
 
1018
- // GET /menu/v2/categories/count
1218
+ // GET /menu/v3/brands/count
1019
1219
 
1020
- export interface GetMenuV2CategoriesCountQuery {
1220
+ export interface GetMenuV3BrandsCountQuery {
1021
1221
  // Graphql query string
1022
1222
  _query?: string;
1023
1223
  }
1024
1224
 
1025
- export interface GetMenuV2CategoriesCountResponse {
1225
+ export interface GetMenuV3BrandsCountResponse {
1026
1226
  count?: number;
1027
1227
  }
1028
1228
 
1029
- export interface GetMenuV2CategoriesCountRequest
1229
+ export interface GetMenuV3BrandsCountRequest
1030
1230
  extends BaseRequest,
1031
- RequestQuery<GetMenuV2CategoriesCountQuery> {}
1231
+ RequestQuery<GetMenuV3BrandsCountQuery> {}
1032
1232
 
1033
- // GET /menu/v2/category/relationships/items
1233
+ // GET /menu/v3/stations
1034
1234
 
1035
- export interface GetMenuV2CategoryRelationshipsItemsQuery {
1235
+ export interface GetMenuV3StationsQuery {
1036
1236
  // Graphql query string
1037
1237
  _query?: string;
1038
1238
  }
1039
1239
 
1040
- export type GetMenuV2CategoryRelationshipsItemsResponse = CategoryToItemRelationshipListResponse;
1240
+ export type GetMenuV3StationsResponse = StationListResponse;
1041
1241
 
1042
- export interface GetMenuV2CategoryRelationshipsItemsRequest
1242
+ export interface GetMenuV3StationsRequest
1043
1243
  extends BaseRequest,
1044
- RequestQuery<GetMenuV2CategoryRelationshipsItemsQuery> {}
1244
+ RequestQuery<GetMenuV3StationsQuery> {}
1045
1245
 
1046
- // POST /menu/v2/category/relationships/item
1246
+ // GET /menu/v3/station/{id}
1047
1247
 
1048
- export type PostMenuV2CategoryRelationshipsItemBody = CategoryToItemRelationship;
1049
-
1050
- export type PostMenuV2CategoryRelationshipsItemResponse = CategoryToItemRelationship;
1248
+ export interface GetMenuV3StationPath {
1249
+ id: string;
1250
+ }
1051
1251
 
1052
- export interface PostMenuV2CategoryRelationshipsItemRequest extends BaseRequest {
1053
- body: PostMenuV2CategoryRelationshipsItemBody;
1252
+ export interface GetMenuV3StationQuery {
1253
+ // Graphql query string
1254
+ _query?: string;
1054
1255
  }
1055
1256
 
1056
- // PATCH /menu/v2/category/relationships/item/{id}
1257
+ export type GetMenuV3StationResponse = Station;
1258
+
1259
+ export interface GetMenuV3StationRequest
1260
+ extends BaseRequest,
1261
+ RequestQuery<GetMenuV3StationQuery>,
1262
+ GetMenuV3StationPath {}
1263
+
1264
+ // PATCH /menu/v3/station/{id}
1057
1265
 
1058
- export interface PatchMenuV2CategoryRelationshipsItemPath {
1266
+ export interface PatchMenuV3StationPath {
1059
1267
  id: string;
1060
1268
  }
1061
1269
 
1062
- export type PatchMenuV2CategoryRelationshipsItemBody = CategoryToItemRelationship;
1270
+ export type PatchMenuV3StationBody = Station;
1063
1271
 
1064
- export type PatchMenuV2CategoryRelationshipsItemResponse = CategoryToItemRelationship;
1272
+ export type PatchMenuV3StationResponse = Station;
1065
1273
 
1066
- export interface PatchMenuV2CategoryRelationshipsItemRequest
1067
- extends BaseRequest,
1068
- PatchMenuV2CategoryRelationshipsItemPath {
1069
- body: PatchMenuV2CategoryRelationshipsItemBody;
1274
+ export interface PatchMenuV3StationRequest extends BaseRequest, PatchMenuV3StationPath {
1275
+ body: PatchMenuV3StationBody;
1070
1276
  }
1071
1277
 
1072
- // DELETE /menu/v2/category/relationships/item/{id}
1278
+ // DELETE /menu/v3/station/{id}
1073
1279
 
1074
- export interface DeleteMenuV2CategoryRelationshipsItemPath {
1280
+ export interface DeleteMenuV3StationPath {
1075
1281
  id: string;
1076
1282
  }
1077
1283
 
1078
- export type DeleteMenuV2CategoryRelationshipsItemResponse = CategoryToItemRelationship;
1284
+ export type DeleteMenuV3StationResponse = Station;
1285
+
1286
+ export interface DeleteMenuV3StationRequest extends BaseRequest, DeleteMenuV3StationPath {}
1287
+
1288
+ // POST /menu/v3/station
1289
+
1290
+ export type PostMenuV3StationBody = Station;
1291
+
1292
+ export type PostMenuV3StationResponse = Station;
1293
+
1294
+ export interface PostMenuV3StationRequest extends BaseRequest {
1295
+ body: PostMenuV3StationBody;
1296
+ }
1297
+
1298
+ // GET /menu/v3/stations/count
1299
+
1300
+ export interface GetMenuV3StationsCountQuery {
1301
+ // Graphql query string
1302
+ _query?: string;
1303
+ }
1304
+
1305
+ export interface GetMenuV3StationsCountResponse {
1306
+ count?: number;
1307
+ }
1079
1308
 
1080
- export interface DeleteMenuV2CategoryRelationshipsItemRequest
1309
+ export interface GetMenuV3StationsCountRequest
1081
1310
  extends BaseRequest,
1082
- DeleteMenuV2CategoryRelationshipsItemPath {}
1311
+ RequestQuery<GetMenuV3StationsCountQuery> {}
1083
1312
 
1084
1313
  // GET /menu/client/{client_id} - Get menu client
1085
1314