@compassdigital/sdk.typescript 3.45.0 → 3.45.1

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.
@@ -32,6 +32,12 @@ export interface CategoryListResponse {
32
32
  results?: Category[];
33
33
  }
34
34
 
35
+ export type ItemToModifierGroupRelationshipList = ItemToModifierGroupRelationship[];
36
+
37
+ export type CategoryToItemRelationshipList = CategoryToItemRelationship[];
38
+
39
+ export type ModifierGroupToModifierRelationshipList = ModifierGroupToModifierRelationship[];
40
+
35
41
  export interface ItemToModifierGroupRelationshipListResponse {
36
42
  meta?: Meta;
37
43
  results?: ItemToModifierGroupRelationship[];
@@ -66,6 +72,7 @@ export interface Modifier {
66
72
  label?: string;
67
73
  price?: number;
68
74
  calories?: number;
75
+ priority?: number;
69
76
  posid?: string;
70
77
  tax_tags?: string[];
71
78
  is_active?: boolean;
@@ -83,6 +90,7 @@ export interface ModifierGroup {
83
90
  min?: number;
84
91
  max?: number;
85
92
  is_active?: boolean;
93
+ priority?: number;
86
94
  created_at?: string;
87
95
  updated_at?: string;
88
96
  deleted_at?: string;
@@ -96,6 +104,7 @@ export interface LocalItem {
96
104
  label?: string;
97
105
  price?: number;
98
106
  calories?: number;
107
+ priority?: number;
99
108
  posid?: string;
100
109
  barcode?: string;
101
110
  tax_tags?: string[];
@@ -131,6 +140,7 @@ export interface Category {
131
140
  label?: string;
132
141
  sequence?: number;
133
142
  is_active?: boolean;
143
+ priority?: number;
134
144
  created_at?: string;
135
145
  updated_at?: string;
136
146
  deleted_at?: string;
@@ -473,613 +483,646 @@ export interface ZippedExcelExport {
473
483
  format?: string;
474
484
  }
475
485
 
476
- // GET /menu/v2/modifiers
486
+ // GET /menu/v3/modifiers
477
487
 
478
- export interface GetMenuV2ModifiersQuery {
488
+ export interface GetMenuV3ModifiersQuery {
479
489
  // Graphql query string
480
490
  _query?: string;
481
491
  }
482
492
 
483
- export type GetMenuV2ModifiersResponse = ModifiersListResponse;
493
+ export type GetMenuV3ModifiersResponse = ModifiersListResponse;
484
494
 
485
- export interface GetMenuV2ModifiersRequest
495
+ export interface GetMenuV3ModifiersRequest
486
496
  extends BaseRequest,
487
- RequestQuery<GetMenuV2ModifiersQuery> {}
497
+ RequestQuery<GetMenuV3ModifiersQuery> {}
488
498
 
489
- // GET /menu/v2/modifier/{id}
499
+ // GET /menu/v3/modifier/{id}
490
500
 
491
- export interface GetMenuV2ModifierPath {
501
+ export interface GetMenuV3ModifierPath {
492
502
  id: string;
493
503
  }
494
504
 
495
- export interface GetMenuV2ModifierQuery {
505
+ export interface GetMenuV3ModifierQuery {
496
506
  // Graphql query string
497
507
  _query?: string;
498
508
  }
499
509
 
500
- export type GetMenuV2ModifierResponse = Modifier;
510
+ export type GetMenuV3ModifierResponse = Modifier;
501
511
 
502
- export interface GetMenuV2ModifierRequest
512
+ export interface GetMenuV3ModifierRequest
503
513
  extends BaseRequest,
504
- RequestQuery<GetMenuV2ModifierQuery>,
505
- GetMenuV2ModifierPath {}
514
+ RequestQuery<GetMenuV3ModifierQuery>,
515
+ GetMenuV3ModifierPath {}
506
516
 
507
- // PATCH /menu/v2/modifier/{id}
517
+ // PATCH /menu/v3/modifier/{id}
508
518
 
509
- export interface PatchMenuV2ModifierPath {
519
+ export interface PatchMenuV3ModifierPath {
510
520
  id: string;
511
521
  }
512
522
 
513
- export type PatchMenuV2ModifierBody = Modifier;
523
+ export type PatchMenuV3ModifierBody = Modifier;
514
524
 
515
- export type PatchMenuV2ModifierResponse = Modifier;
525
+ export type PatchMenuV3ModifierResponse = Modifier;
516
526
 
517
- export interface PatchMenuV2ModifierRequest extends BaseRequest, PatchMenuV2ModifierPath {
518
- body: PatchMenuV2ModifierBody;
527
+ export interface PatchMenuV3ModifierRequest extends BaseRequest, PatchMenuV3ModifierPath {
528
+ body: PatchMenuV3ModifierBody;
519
529
  }
520
530
 
521
- // POST /menu/v2/modifier
531
+ // POST /menu/v3/modifier
522
532
 
523
- export type PostMenuV2ModifierBody = Modifier;
533
+ export type PostMenuV3ModifierBody = Modifier;
524
534
 
525
- export type PostMenuV2ModifierResponse = Modifier;
535
+ export type PostMenuV3ModifierResponse = Modifier;
526
536
 
527
- export interface PostMenuV2ModifierRequest extends BaseRequest {
528
- body: PostMenuV2ModifierBody;
537
+ export interface PostMenuV3ModifierRequest extends BaseRequest {
538
+ body: PostMenuV3ModifierBody;
529
539
  }
530
540
 
531
- // GET /menu/v2/modifier/count
541
+ // GET /menu/v3/modifier/count
532
542
 
533
- export interface GetMenuV2ModifierCountQuery {
543
+ export interface GetMenuV3ModifierCountQuery {
534
544
  // Graphql query string
535
545
  _query?: string;
536
546
  }
537
547
 
538
- export interface GetMenuV2ModifierCountResponse {
548
+ export interface GetMenuV3ModifierCountResponse {
539
549
  count?: number;
540
550
  }
541
551
 
542
- export interface GetMenuV2ModifierCountRequest
552
+ export interface GetMenuV3ModifierCountRequest
543
553
  extends BaseRequest,
544
- RequestQuery<GetMenuV2ModifierCountQuery> {}
554
+ RequestQuery<GetMenuV3ModifierCountQuery> {}
545
555
 
546
- // GET /menu/v2/modifier-groups
556
+ // GET /menu/v3/modifier-groups
547
557
 
548
- export interface GetMenuV2ModifierGroupsQuery {
558
+ export interface GetMenuV3ModifierGroupsQuery {
549
559
  // Graphql query string
550
560
  _query?: string;
551
561
  }
552
562
 
553
- export type GetMenuV2ModifierGroupsResponse = ModifierGroupsListResponse;
563
+ export type GetMenuV3ModifierGroupsResponse = ModifierGroupsListResponse;
554
564
 
555
- export interface GetMenuV2ModifierGroupsRequest
565
+ export interface GetMenuV3ModifierGroupsRequest
556
566
  extends BaseRequest,
557
- RequestQuery<GetMenuV2ModifierGroupsQuery> {}
567
+ RequestQuery<GetMenuV3ModifierGroupsQuery> {}
558
568
 
559
- // POST /menu/v2/modifier-group
569
+ // POST /menu/v3/modifier-group
560
570
 
561
- export type PostMenuV2ModifierGroupBody = ModifierGroup;
571
+ export type PostMenuV3ModifierGroupBody = ModifierGroup;
562
572
 
563
- export type PostMenuV2ModifierGroupResponse = ModifierGroup;
573
+ export type PostMenuV3ModifierGroupResponse = ModifierGroup;
564
574
 
565
- export interface PostMenuV2ModifierGroupRequest extends BaseRequest {
566
- body: PostMenuV2ModifierGroupBody;
575
+ export interface PostMenuV3ModifierGroupRequest extends BaseRequest {
576
+ body: PostMenuV3ModifierGroupBody;
567
577
  }
568
578
 
569
- // GET /menu/v2/modifier-group/{id}
579
+ // GET /menu/v3/modifier-group/{id}
570
580
 
571
- export interface GetMenuV2ModifierGroupPath {
581
+ export interface GetMenuV3ModifierGroupPath {
572
582
  id: string;
573
583
  }
574
584
 
575
- export interface GetMenuV2ModifierGroupQuery {
585
+ export interface GetMenuV3ModifierGroupQuery {
576
586
  // Graphql query string
577
587
  _query?: string;
578
588
  }
579
589
 
580
- export type GetMenuV2ModifierGroupResponse = ModifierGroup;
590
+ export type GetMenuV3ModifierGroupResponse = ModifierGroup;
581
591
 
582
- export interface GetMenuV2ModifierGroupRequest
592
+ export interface GetMenuV3ModifierGroupRequest
583
593
  extends BaseRequest,
584
- RequestQuery<GetMenuV2ModifierGroupQuery>,
585
- GetMenuV2ModifierGroupPath {}
594
+ RequestQuery<GetMenuV3ModifierGroupQuery>,
595
+ GetMenuV3ModifierGroupPath {}
586
596
 
587
- // PATCH /menu/v2/modifier-group/{id}
597
+ // PATCH /menu/v3/modifier-group/{id}
588
598
 
589
- export interface PatchMenuV2ModifierGroupPath {
599
+ export interface PatchMenuV3ModifierGroupPath {
590
600
  id: string;
591
601
  }
592
602
 
593
- export type PatchMenuV2ModifierGroupBody = ModifierGroup;
603
+ export type PatchMenuV3ModifierGroupBody = ModifierGroup;
594
604
 
595
- export type PatchMenuV2ModifierGroupResponse = ModifierGroup;
605
+ export type PatchMenuV3ModifierGroupResponse = ModifierGroup;
596
606
 
597
- export interface PatchMenuV2ModifierGroupRequest extends BaseRequest, PatchMenuV2ModifierGroupPath {
598
- body: PatchMenuV2ModifierGroupBody;
607
+ export interface PatchMenuV3ModifierGroupRequest extends BaseRequest, PatchMenuV3ModifierGroupPath {
608
+ body: PatchMenuV3ModifierGroupBody;
599
609
  }
600
610
 
601
- // GET /menu/v2/modifier-group/count
611
+ // GET /menu/v3/modifier-group/count
602
612
 
603
- export interface GetMenuV2ModifierGroupCountQuery {
613
+ export interface GetMenuV3ModifierGroupCountQuery {
604
614
  // Graphql query string
605
615
  _query?: string;
606
616
  }
607
617
 
608
- export interface GetMenuV2ModifierGroupCountResponse {
618
+ export interface GetMenuV3ModifierGroupCountResponse {
609
619
  count?: number;
610
620
  }
611
621
 
612
- export interface GetMenuV2ModifierGroupCountRequest
622
+ export interface GetMenuV3ModifierGroupCountRequest
613
623
  extends BaseRequest,
614
- RequestQuery<GetMenuV2ModifierGroupCountQuery> {}
624
+ RequestQuery<GetMenuV3ModifierGroupCountQuery> {}
615
625
 
616
- // GET /menu/v2/modifier-group/relationships/modifiers
626
+ // GET /menu/v3/modifier-group/relationships/modifiers
617
627
 
618
- export interface GetMenuV2ModifierGroupRelationshipsModifiersQuery {
628
+ export interface GetMenuV3ModifierGroupRelationshipsModifiersQuery {
619
629
  // Graphql query string
620
630
  _query?: string;
621
631
  }
622
632
 
623
- export type GetMenuV2ModifierGroupRelationshipsModifiersResponse =
633
+ export type GetMenuV3ModifierGroupRelationshipsModifiersResponse =
624
634
  ModifierGroupToModifierRelationshipListResponse;
625
635
 
626
- export interface GetMenuV2ModifierGroupRelationshipsModifiersRequest
636
+ export interface GetMenuV3ModifierGroupRelationshipsModifiersRequest
627
637
  extends BaseRequest,
628
- RequestQuery<GetMenuV2ModifierGroupRelationshipsModifiersQuery> {}
638
+ RequestQuery<GetMenuV3ModifierGroupRelationshipsModifiersQuery> {}
639
+
640
+ // POST /menu/v3/modifier-group/relationships/modifiers
641
+
642
+ export type PostMenuV3ModifierGroupRelationshipsModifiersBody =
643
+ ModifierGroupToModifierRelationshipList;
629
644
 
630
- // POST /menu/v2/modifier-group/relationships/modifier
645
+ export type PostMenuV3ModifierGroupRelationshipsModifiersResponse =
646
+ ModifierGroupToModifierRelationshipListResponse;
647
+
648
+ export interface PostMenuV3ModifierGroupRelationshipsModifiersRequest extends BaseRequest {
649
+ body: PostMenuV3ModifierGroupRelationshipsModifiersBody;
650
+ }
631
651
 
632
- export type PostMenuV2ModifierGroupRelationshipsModifierBody = ModifierGroupToModifierRelationship;
652
+ // POST /menu/v3/modifier-group/relationships/modifier
633
653
 
634
- export type PostMenuV2ModifierGroupRelationshipsModifierResponse =
654
+ export type PostMenuV3ModifierGroupRelationshipsModifierBody = ModifierGroupToModifierRelationship;
655
+
656
+ export type PostMenuV3ModifierGroupRelationshipsModifierResponse =
635
657
  ModifierGroupToModifierRelationship;
636
658
 
637
- export interface PostMenuV2ModifierGroupRelationshipsModifierRequest extends BaseRequest {
638
- body: PostMenuV2ModifierGroupRelationshipsModifierBody;
659
+ export interface PostMenuV3ModifierGroupRelationshipsModifierRequest extends BaseRequest {
660
+ body: PostMenuV3ModifierGroupRelationshipsModifierBody;
639
661
  }
640
662
 
641
- // GET /menu/v2/modifier-group/relationships/modifier/{id}
663
+ // GET /menu/v3/modifier-group/relationships/modifier/{id}
642
664
 
643
- export interface GetMenuV2ModifierGroupRelationshipsModifierPath {
665
+ export interface GetMenuV3ModifierGroupRelationshipsModifierPath {
644
666
  id: string;
645
667
  }
646
668
 
647
- export interface GetMenuV2ModifierGroupRelationshipsModifierQuery {
669
+ export interface GetMenuV3ModifierGroupRelationshipsModifierQuery {
648
670
  // Graphql query string
649
671
  _query?: string;
650
672
  }
651
673
 
652
- export type GetMenuV2ModifierGroupRelationshipsModifierResponse =
674
+ export type GetMenuV3ModifierGroupRelationshipsModifierResponse =
653
675
  ModifierGroupToModifierRelationship;
654
676
 
655
- export interface GetMenuV2ModifierGroupRelationshipsModifierRequest
677
+ export interface GetMenuV3ModifierGroupRelationshipsModifierRequest
656
678
  extends BaseRequest,
657
- RequestQuery<GetMenuV2ModifierGroupRelationshipsModifierQuery>,
658
- GetMenuV2ModifierGroupRelationshipsModifierPath {}
679
+ RequestQuery<GetMenuV3ModifierGroupRelationshipsModifierQuery>,
680
+ GetMenuV3ModifierGroupRelationshipsModifierPath {}
659
681
 
660
- // PATCH /menu/v2/modifier-group/relationships/modifier/{id}
682
+ // PATCH /menu/v3/modifier-group/relationships/modifier/{id}
661
683
 
662
- export interface PatchMenuV2ModifierGroupRelationshipsModifierPath {
684
+ export interface PatchMenuV3ModifierGroupRelationshipsModifierPath {
663
685
  id: string;
664
686
  }
665
687
 
666
- export type PatchMenuV2ModifierGroupRelationshipsModifierBody = ModifierGroupToModifierRelationship;
688
+ export type PatchMenuV3ModifierGroupRelationshipsModifierBody = ModifierGroupToModifierRelationship;
667
689
 
668
- export type PatchMenuV2ModifierGroupRelationshipsModifierResponse =
690
+ export type PatchMenuV3ModifierGroupRelationshipsModifierResponse =
669
691
  ModifierGroupToModifierRelationship;
670
692
 
671
- export interface PatchMenuV2ModifierGroupRelationshipsModifierRequest
693
+ export interface PatchMenuV3ModifierGroupRelationshipsModifierRequest
672
694
  extends BaseRequest,
673
- PatchMenuV2ModifierGroupRelationshipsModifierPath {
674
- body: PatchMenuV2ModifierGroupRelationshipsModifierBody;
695
+ PatchMenuV3ModifierGroupRelationshipsModifierPath {
696
+ body: PatchMenuV3ModifierGroupRelationshipsModifierBody;
675
697
  }
676
698
 
677
- // GET /menu/v2/items
699
+ // GET /menu/v3/items
678
700
 
679
- export interface GetMenuV2ItemsQuery {
701
+ export interface GetMenuV3ItemsQuery {
680
702
  // Graphql query string
681
703
  _query?: string;
682
704
  }
683
705
 
684
- export type GetMenuV2ItemsResponse = ItemsListResponse;
706
+ export type GetMenuV3ItemsResponse = ItemsListResponse;
685
707
 
686
- export interface GetMenuV2ItemsRequest extends BaseRequest, RequestQuery<GetMenuV2ItemsQuery> {}
708
+ export interface GetMenuV3ItemsRequest extends BaseRequest, RequestQuery<GetMenuV3ItemsQuery> {}
687
709
 
688
- // GET /menu/v2/item/{id}
710
+ // GET /menu/v3/item/{id}
689
711
 
690
- export interface GetMenuV2ItemPath {
712
+ export interface GetMenuV3ItemPath {
691
713
  id: string;
692
714
  }
693
715
 
694
- export interface GetMenuV2ItemQuery {
716
+ export interface GetMenuV3ItemQuery {
695
717
  // Graphql query string
696
718
  _query?: string;
697
719
  }
698
720
 
699
- export type GetMenuV2ItemResponse = LocalItem;
721
+ export type GetMenuV3ItemResponse = LocalItem;
700
722
 
701
- export interface GetMenuV2ItemRequest
723
+ export interface GetMenuV3ItemRequest
702
724
  extends BaseRequest,
703
- RequestQuery<GetMenuV2ItemQuery>,
704
- GetMenuV2ItemPath {}
725
+ RequestQuery<GetMenuV3ItemQuery>,
726
+ GetMenuV3ItemPath {}
705
727
 
706
- // PATCH /menu/v2/item/{id}
728
+ // PATCH /menu/v3/item/{id}
707
729
 
708
- export interface PatchMenuV2ItemPath {
730
+ export interface PatchMenuV3ItemPath {
709
731
  id: string;
710
732
  }
711
733
 
712
- export type PatchMenuV2ItemBody = LocalItem;
734
+ export type PatchMenuV3ItemBody = LocalItem;
713
735
 
714
- export type PatchMenuV2ItemResponse = LocalItem;
736
+ export type PatchMenuV3ItemResponse = LocalItem;
715
737
 
716
- export interface PatchMenuV2ItemRequest extends BaseRequest, PatchMenuV2ItemPath {
717
- body: PatchMenuV2ItemBody;
738
+ export interface PatchMenuV3ItemRequest extends BaseRequest, PatchMenuV3ItemPath {
739
+ body: PatchMenuV3ItemBody;
718
740
  }
719
741
 
720
- // POST /menu/v2/item
742
+ // POST /menu/v3/item
721
743
 
722
- export type PostMenuV2ItemBody = LocalItem;
744
+ export type PostMenuV3ItemBody = LocalItem;
723
745
 
724
- export type PostMenuV2ItemResponse = LocalItem;
746
+ export type PostMenuV3ItemResponse = LocalItem;
725
747
 
726
- export interface PostMenuV2ItemRequest extends BaseRequest {
727
- body: PostMenuV2ItemBody;
748
+ export interface PostMenuV3ItemRequest extends BaseRequest {
749
+ body: PostMenuV3ItemBody;
728
750
  }
729
751
 
730
- // GET /menu/v2/items/count
752
+ // GET /menu/v3/items/count
731
753
 
732
- export interface GetMenuV2ItemsCountQuery {
754
+ export interface GetMenuV3ItemsCountQuery {
733
755
  // Graphql query string
734
756
  _query?: string;
735
757
  }
736
758
 
737
- export interface GetMenuV2ItemsCountResponse {
759
+ export interface GetMenuV3ItemsCountResponse {
738
760
  count?: number;
739
761
  }
740
762
 
741
- export interface GetMenuV2ItemsCountRequest
763
+ export interface GetMenuV3ItemsCountRequest
742
764
  extends BaseRequest,
743
- RequestQuery<GetMenuV2ItemsCountQuery> {}
765
+ RequestQuery<GetMenuV3ItemsCountQuery> {}
744
766
 
745
- // GET /menu/v2/item/relationships/modifier-groups
767
+ // GET /menu/v3/item/relationships/modifier-groups
746
768
 
747
- export interface GetMenuV2ItemRelationshipsModifierGroupsQuery {
769
+ export interface GetMenuV3ItemRelationshipsModifierGroupsQuery {
748
770
  // Graphql query string
749
771
  _query?: string;
750
772
  }
751
773
 
752
- export type GetMenuV2ItemRelationshipsModifierGroupsResponse =
774
+ export type GetMenuV3ItemRelationshipsModifierGroupsResponse =
753
775
  ItemToModifierGroupRelationshipListResponse;
754
776
 
755
- export interface GetMenuV2ItemRelationshipsModifierGroupsRequest
777
+ export interface GetMenuV3ItemRelationshipsModifierGroupsRequest
756
778
  extends BaseRequest,
757
- RequestQuery<GetMenuV2ItemRelationshipsModifierGroupsQuery> {}
779
+ RequestQuery<GetMenuV3ItemRelationshipsModifierGroupsQuery> {}
780
+
781
+ // POST /menu/v3/item/relationships/modifier-groups
758
782
 
759
- // POST /menu/v2/item/relationships/modifier-group
783
+ export type PostMenuV3ItemRelationshipsModifierGroupsBody = ItemToModifierGroupRelationshipList;
760
784
 
761
- export type PostMenuV2ItemRelationshipsModifierGroupBody = ItemToModifierGroupRelationship;
785
+ export type PostMenuV3ItemRelationshipsModifierGroupsResponse =
786
+ ItemToModifierGroupRelationshipListResponse;
787
+
788
+ export interface PostMenuV3ItemRelationshipsModifierGroupsRequest extends BaseRequest {
789
+ body: PostMenuV3ItemRelationshipsModifierGroupsBody;
790
+ }
791
+
792
+ // POST /menu/v3/item/relationships/modifier-group
793
+
794
+ export type PostMenuV3ItemRelationshipsModifierGroupBody = ItemToModifierGroupRelationship;
762
795
 
763
- export type PostMenuV2ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
796
+ export type PostMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
764
797
 
765
- export interface PostMenuV2ItemRelationshipsModifierGroupRequest extends BaseRequest {
766
- body: PostMenuV2ItemRelationshipsModifierGroupBody;
798
+ export interface PostMenuV3ItemRelationshipsModifierGroupRequest extends BaseRequest {
799
+ body: PostMenuV3ItemRelationshipsModifierGroupBody;
767
800
  }
768
801
 
769
- // PATCH /menu/v2/item/relationships/modifier-group/{id}
802
+ // PATCH /menu/v3/item/relationships/modifier-group/{id}
770
803
 
771
- export interface PatchMenuV2ItemRelationshipsModifierGroupPath {
804
+ export interface PatchMenuV3ItemRelationshipsModifierGroupPath {
772
805
  id: string;
773
806
  }
774
807
 
775
- export type PatchMenuV2ItemRelationshipsModifierGroupBody = ItemToModifierGroupRelationship;
808
+ export type PatchMenuV3ItemRelationshipsModifierGroupBody = ItemToModifierGroupRelationship;
776
809
 
777
- export type PatchMenuV2ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
810
+ export type PatchMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
778
811
 
779
- export interface PatchMenuV2ItemRelationshipsModifierGroupRequest
812
+ export interface PatchMenuV3ItemRelationshipsModifierGroupRequest
780
813
  extends BaseRequest,
781
- PatchMenuV2ItemRelationshipsModifierGroupPath {
782
- body: PatchMenuV2ItemRelationshipsModifierGroupBody;
814
+ PatchMenuV3ItemRelationshipsModifierGroupPath {
815
+ body: PatchMenuV3ItemRelationshipsModifierGroupBody;
783
816
  }
784
817
 
785
- // DELETE /menu/v2/item/relationships/modifier-group/{id}
818
+ // DELETE /menu/v3/item/relationships/modifier-group/{id}
786
819
 
787
- export interface DeleteMenuV2ItemRelationshipsModifierGroupPath {
820
+ export interface DeleteMenuV3ItemRelationshipsModifierGroupPath {
788
821
  id: string;
789
822
  }
790
823
 
791
- export type DeleteMenuV2ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
824
+ export type DeleteMenuV3ItemRelationshipsModifierGroupResponse = ItemToModifierGroupRelationship;
792
825
 
793
- export interface DeleteMenuV2ItemRelationshipsModifierGroupRequest
826
+ export interface DeleteMenuV3ItemRelationshipsModifierGroupRequest
794
827
  extends BaseRequest,
795
- DeleteMenuV2ItemRelationshipsModifierGroupPath {}
828
+ DeleteMenuV3ItemRelationshipsModifierGroupPath {}
796
829
 
797
- // GET /menu/v2/menus
830
+ // GET /menu/v3/menus
798
831
 
799
- export interface GetMenuV2MenusQuery {
832
+ export interface GetMenuV3MenusQuery {
800
833
  // Graphql query string
801
834
  _query?: string;
802
835
  }
803
836
 
804
- export type GetMenuV2MenusResponse = MenuV2ListResponse;
837
+ export type GetMenuV3MenusResponse = MenuV2ListResponse;
805
838
 
806
- export interface GetMenuV2MenusRequest extends BaseRequest, RequestQuery<GetMenuV2MenusQuery> {}
839
+ export interface GetMenuV3MenusRequest extends BaseRequest, RequestQuery<GetMenuV3MenusQuery> {}
807
840
 
808
- // GET /menu/v2/menu/{id}
841
+ // GET /menu/v3/menu/{id}
809
842
 
810
- export interface GetMenuV2MenuPath {
843
+ export interface GetMenuV3MenuPath {
811
844
  id: string;
812
845
  }
813
846
 
814
- export interface GetMenuV2MenuQuery {
847
+ export interface GetMenuV3MenuQuery {
815
848
  // Graphql query string
816
849
  _query?: string;
817
850
  }
818
851
 
819
- export type GetMenuV2MenuResponse = MenuV2;
852
+ export type GetMenuV3MenuResponse = MenuV2;
820
853
 
821
- export interface GetMenuV2MenuRequest
854
+ export interface GetMenuV3MenuRequest
822
855
  extends BaseRequest,
823
- RequestQuery<GetMenuV2MenuQuery>,
824
- GetMenuV2MenuPath {}
856
+ RequestQuery<GetMenuV3MenuQuery>,
857
+ GetMenuV3MenuPath {}
825
858
 
826
- // PATCH /menu/v2/menu/{id}
859
+ // PATCH /menu/v3/menu/{id}
827
860
 
828
- export interface PatchMenuV2MenuPath {
861
+ export interface PatchMenuV3MenuPath {
829
862
  id: string;
830
863
  }
831
864
 
832
- export type PatchMenuV2MenuBody = MenuV2;
865
+ export type PatchMenuV3MenuBody = MenuV2;
833
866
 
834
- export type PatchMenuV2MenuResponse = MenuV2;
867
+ export type PatchMenuV3MenuResponse = MenuV2;
835
868
 
836
- export interface PatchMenuV2MenuRequest extends BaseRequest, PatchMenuV2MenuPath {
837
- body: PatchMenuV2MenuBody;
869
+ export interface PatchMenuV3MenuRequest extends BaseRequest, PatchMenuV3MenuPath {
870
+ body: PatchMenuV3MenuBody;
838
871
  }
839
872
 
840
- // DELETE /menu/v2/menu/{id}
873
+ // DELETE /menu/v3/menu/{id}
841
874
 
842
- export interface DeleteMenuV2MenuPath {
875
+ export interface DeleteMenuV3MenuPath {
843
876
  id: string;
844
877
  }
845
878
 
846
- export type DeleteMenuV2MenuResponse = MenuV2;
879
+ export type DeleteMenuV3MenuResponse = MenuV2;
847
880
 
848
- export interface DeleteMenuV2MenuRequest extends BaseRequest, DeleteMenuV2MenuPath {}
881
+ export interface DeleteMenuV3MenuRequest extends BaseRequest, DeleteMenuV3MenuPath {}
849
882
 
850
- // POST /menu/v2/menu
883
+ // POST /menu/v3/menu
851
884
 
852
- export type PostMenuV2MenuBody = MenuV2;
885
+ export type PostMenuV3MenuBody = MenuV2;
853
886
 
854
- export type PostMenuV2MenuResponse = MenuV2;
887
+ export type PostMenuV3MenuResponse = MenuV2;
855
888
 
856
- export interface PostMenuV2MenuRequest extends BaseRequest {
857
- body: PostMenuV2MenuBody;
889
+ export interface PostMenuV3MenuRequest extends BaseRequest {
890
+ body: PostMenuV3MenuBody;
858
891
  }
859
892
 
860
- // GET /menu/v2/menus/count
893
+ // GET /menu/v3/menus/count
861
894
 
862
- export interface GetMenuV2MenusCountQuery {
895
+ export interface GetMenuV3MenusCountQuery {
863
896
  // Graphql query string
864
897
  _query?: string;
865
898
  }
866
899
 
867
- export interface GetMenuV2MenusCountResponse {
900
+ export interface GetMenuV3MenusCountResponse {
868
901
  count?: number;
869
902
  }
870
903
 
871
- export interface GetMenuV2MenusCountRequest
904
+ export interface GetMenuV3MenusCountRequest
872
905
  extends BaseRequest,
873
- RequestQuery<GetMenuV2MenusCountQuery> {}
906
+ RequestQuery<GetMenuV3MenusCountQuery> {}
874
907
 
875
- // GET /menu/v2/layouts
908
+ // GET /menu/v3/layouts
876
909
 
877
- export interface GetMenuV2LayoutsQuery {
910
+ export interface GetMenuV3LayoutsQuery {
878
911
  // Graphql query string
879
912
  _query?: string;
880
913
  }
881
914
 
882
- export type GetMenuV2LayoutsResponse = LayoutListResponse;
915
+ export type GetMenuV3LayoutsResponse = LayoutListResponse;
883
916
 
884
- export interface GetMenuV2LayoutsRequest extends BaseRequest, RequestQuery<GetMenuV2LayoutsQuery> {}
917
+ export interface GetMenuV3LayoutsRequest extends BaseRequest, RequestQuery<GetMenuV3LayoutsQuery> {}
885
918
 
886
- // GET /menu/v2/layout/{id}
919
+ // GET /menu/v3/layout/{id}
887
920
 
888
- export interface GetMenuV2LayoutPath {
921
+ export interface GetMenuV3LayoutPath {
889
922
  id: string;
890
923
  }
891
924
 
892
- export interface GetMenuV2LayoutQuery {
925
+ export interface GetMenuV3LayoutQuery {
893
926
  // Graphql query string
894
927
  _query?: string;
895
928
  }
896
929
 
897
- export type GetMenuV2LayoutResponse = Layout;
930
+ export type GetMenuV3LayoutResponse = Layout;
898
931
 
899
- export interface GetMenuV2LayoutRequest
932
+ export interface GetMenuV3LayoutRequest
900
933
  extends BaseRequest,
901
- RequestQuery<GetMenuV2LayoutQuery>,
902
- GetMenuV2LayoutPath {}
934
+ RequestQuery<GetMenuV3LayoutQuery>,
935
+ GetMenuV3LayoutPath {}
903
936
 
904
- // PATCH /menu/v2/layout/{id}
937
+ // PATCH /menu/v3/layout/{id}
905
938
 
906
- export interface PatchMenuV2LayoutPath {
939
+ export interface PatchMenuV3LayoutPath {
907
940
  id: string;
908
941
  }
909
942
 
910
- export type PatchMenuV2LayoutBody = Layout;
943
+ export type PatchMenuV3LayoutBody = Layout;
911
944
 
912
- export type PatchMenuV2LayoutResponse = Layout;
945
+ export type PatchMenuV3LayoutResponse = Layout;
913
946
 
914
- export interface PatchMenuV2LayoutRequest extends BaseRequest, PatchMenuV2LayoutPath {
915
- body: PatchMenuV2LayoutBody;
947
+ export interface PatchMenuV3LayoutRequest extends BaseRequest, PatchMenuV3LayoutPath {
948
+ body: PatchMenuV3LayoutBody;
916
949
  }
917
950
 
918
- // DELETE /menu/v2/layout/{id}
951
+ // DELETE /menu/v3/layout/{id}
919
952
 
920
- export interface DeleteMenuV2LayoutPath {
953
+ export interface DeleteMenuV3LayoutPath {
921
954
  id: string;
922
955
  }
923
956
 
924
- export type DeleteMenuV2LayoutResponse = Layout;
957
+ export type DeleteMenuV3LayoutResponse = Layout;
925
958
 
926
- export interface DeleteMenuV2LayoutRequest extends BaseRequest, DeleteMenuV2LayoutPath {}
959
+ export interface DeleteMenuV3LayoutRequest extends BaseRequest, DeleteMenuV3LayoutPath {}
927
960
 
928
- // POST /menu/v2/layout
961
+ // POST /menu/v3/layout
929
962
 
930
- export type PostMenuV2LayoutBody = Layout;
963
+ export type PostMenuV3LayoutBody = Layout;
931
964
 
932
- export type PostMenuV2LayoutResponse = Layout;
965
+ export type PostMenuV3LayoutResponse = Layout;
933
966
 
934
- export interface PostMenuV2LayoutRequest extends BaseRequest {
935
- body: PostMenuV2LayoutBody;
967
+ export interface PostMenuV3LayoutRequest extends BaseRequest {
968
+ body: PostMenuV3LayoutBody;
936
969
  }
937
970
 
938
- // GET /menu/v2/layouts/count
971
+ // GET /menu/v3/layouts/count
939
972
 
940
- export interface GetMenuV2LayoutsCountQuery {
973
+ export interface GetMenuV3LayoutsCountQuery {
941
974
  // Graphql query string
942
975
  _query?: string;
943
976
  }
944
977
 
945
- export interface GetMenuV2LayoutsCountResponse {
978
+ export interface GetMenuV3LayoutsCountResponse {
946
979
  count?: number;
947
980
  }
948
981
 
949
- export interface GetMenuV2LayoutsCountRequest
982
+ export interface GetMenuV3LayoutsCountRequest
950
983
  extends BaseRequest,
951
- RequestQuery<GetMenuV2LayoutsCountQuery> {}
984
+ RequestQuery<GetMenuV3LayoutsCountQuery> {}
952
985
 
953
- // GET /menu/v2/categories
986
+ // GET /menu/v3/categories
954
987
 
955
- export interface GetMenuV2CategoriesQuery {
988
+ export interface GetMenuV3CategoriesQuery {
956
989
  // Graphql query string
957
990
  _query?: string;
958
991
  }
959
992
 
960
- export type GetMenuV2CategoriesResponse = CategoryListResponse;
993
+ export type GetMenuV3CategoriesResponse = CategoryListResponse;
961
994
 
962
- export interface GetMenuV2CategoriesRequest
995
+ export interface GetMenuV3CategoriesRequest
963
996
  extends BaseRequest,
964
- RequestQuery<GetMenuV2CategoriesQuery> {}
997
+ RequestQuery<GetMenuV3CategoriesQuery> {}
965
998
 
966
- // GET /menu/v2/category/{id}
999
+ // GET /menu/v3/category/{id}
967
1000
 
968
- export interface GetMenuV2CategoryPath {
1001
+ export interface GetMenuV3CategoryPath {
969
1002
  id: string;
970
1003
  }
971
1004
 
972
- export interface GetMenuV2CategoryQuery {
1005
+ export interface GetMenuV3CategoryQuery {
973
1006
  // Graphql query string
974
1007
  _query?: string;
975
1008
  }
976
1009
 
977
- export type GetMenuV2CategoryResponse = Category;
1010
+ export type GetMenuV3CategoryResponse = Category;
978
1011
 
979
- export interface GetMenuV2CategoryRequest
1012
+ export interface GetMenuV3CategoryRequest
980
1013
  extends BaseRequest,
981
- RequestQuery<GetMenuV2CategoryQuery>,
982
- GetMenuV2CategoryPath {}
1014
+ RequestQuery<GetMenuV3CategoryQuery>,
1015
+ GetMenuV3CategoryPath {}
983
1016
 
984
- // PATCH /menu/v2/category/{id}
1017
+ // PATCH /menu/v3/category/{id}
985
1018
 
986
- export interface PatchMenuV2CategoryPath {
1019
+ export interface PatchMenuV3CategoryPath {
987
1020
  id: string;
988
1021
  }
989
1022
 
990
- export type PatchMenuV2CategoryBody = Category;
1023
+ export type PatchMenuV3CategoryBody = Category;
991
1024
 
992
- export type PatchMenuV2CategoryResponse = Category;
1025
+ export type PatchMenuV3CategoryResponse = Category;
993
1026
 
994
- export interface PatchMenuV2CategoryRequest extends BaseRequest, PatchMenuV2CategoryPath {
995
- body: PatchMenuV2CategoryBody;
1027
+ export interface PatchMenuV3CategoryRequest extends BaseRequest, PatchMenuV3CategoryPath {
1028
+ body: PatchMenuV3CategoryBody;
996
1029
  }
997
1030
 
998
- // DELETE /menu/v2/category/{id}
1031
+ // DELETE /menu/v3/category/{id}
999
1032
 
1000
- export interface DeleteMenuV2CategoryPath {
1033
+ export interface DeleteMenuV3CategoryPath {
1001
1034
  id: string;
1002
1035
  }
1003
1036
 
1004
- export type DeleteMenuV2CategoryResponse = Category;
1037
+ export type DeleteMenuV3CategoryResponse = Category;
1005
1038
 
1006
- export interface DeleteMenuV2CategoryRequest extends BaseRequest, DeleteMenuV2CategoryPath {}
1039
+ export interface DeleteMenuV3CategoryRequest extends BaseRequest, DeleteMenuV3CategoryPath {}
1007
1040
 
1008
- // POST /menu/v2/category
1041
+ // POST /menu/v3/category
1009
1042
 
1010
- export type PostMenuV2CategoryBody = Category;
1043
+ export type PostMenuV3CategoryBody = Category;
1011
1044
 
1012
- export type PostMenuV2CategoryResponse = Category;
1045
+ export type PostMenuV3CategoryResponse = Category;
1013
1046
 
1014
- export interface PostMenuV2CategoryRequest extends BaseRequest {
1015
- body: PostMenuV2CategoryBody;
1047
+ export interface PostMenuV3CategoryRequest extends BaseRequest {
1048
+ body: PostMenuV3CategoryBody;
1016
1049
  }
1017
1050
 
1018
- // GET /menu/v2/categories/count
1051
+ // GET /menu/v3/categories/count
1019
1052
 
1020
- export interface GetMenuV2CategoriesCountQuery {
1053
+ export interface GetMenuV3CategoriesCountQuery {
1021
1054
  // Graphql query string
1022
1055
  _query?: string;
1023
1056
  }
1024
1057
 
1025
- export interface GetMenuV2CategoriesCountResponse {
1058
+ export interface GetMenuV3CategoriesCountResponse {
1026
1059
  count?: number;
1027
1060
  }
1028
1061
 
1029
- export interface GetMenuV2CategoriesCountRequest
1062
+ export interface GetMenuV3CategoriesCountRequest
1030
1063
  extends BaseRequest,
1031
- RequestQuery<GetMenuV2CategoriesCountQuery> {}
1064
+ RequestQuery<GetMenuV3CategoriesCountQuery> {}
1032
1065
 
1033
- // GET /menu/v2/category/relationships/items
1066
+ // GET /menu/v3/category/relationships/items
1034
1067
 
1035
- export interface GetMenuV2CategoryRelationshipsItemsQuery {
1068
+ export interface GetMenuV3CategoryRelationshipsItemsQuery {
1036
1069
  // Graphql query string
1037
1070
  _query?: string;
1038
1071
  }
1039
1072
 
1040
- export type GetMenuV2CategoryRelationshipsItemsResponse = CategoryToItemRelationshipListResponse;
1073
+ export type GetMenuV3CategoryRelationshipsItemsResponse = CategoryToItemRelationshipListResponse;
1041
1074
 
1042
- export interface GetMenuV2CategoryRelationshipsItemsRequest
1075
+ export interface GetMenuV3CategoryRelationshipsItemsRequest
1043
1076
  extends BaseRequest,
1044
- RequestQuery<GetMenuV2CategoryRelationshipsItemsQuery> {}
1077
+ RequestQuery<GetMenuV3CategoryRelationshipsItemsQuery> {}
1078
+
1079
+ // POST /menu/v3/category/relationships/items
1080
+
1081
+ export type PostMenuV3CategoryRelationshipsItemsBody = CategoryToItemRelationshipList;
1082
+
1083
+ export type PostMenuV3CategoryRelationshipsItemsResponse = CategoryToItemRelationshipListResponse;
1084
+
1085
+ export interface PostMenuV3CategoryRelationshipsItemsRequest extends BaseRequest {
1086
+ body: PostMenuV3CategoryRelationshipsItemsBody;
1087
+ }
1045
1088
 
1046
- // POST /menu/v2/category/relationships/item
1089
+ // POST /menu/v3/category/relationships/item
1047
1090
 
1048
- export type PostMenuV2CategoryRelationshipsItemBody = CategoryToItemRelationship;
1091
+ export type PostMenuV3CategoryRelationshipsItemBody = CategoryToItemRelationship;
1049
1092
 
1050
- export type PostMenuV2CategoryRelationshipsItemResponse = CategoryToItemRelationship;
1093
+ export type PostMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationship;
1051
1094
 
1052
- export interface PostMenuV2CategoryRelationshipsItemRequest extends BaseRequest {
1053
- body: PostMenuV2CategoryRelationshipsItemBody;
1095
+ export interface PostMenuV3CategoryRelationshipsItemRequest extends BaseRequest {
1096
+ body: PostMenuV3CategoryRelationshipsItemBody;
1054
1097
  }
1055
1098
 
1056
- // PATCH /menu/v2/category/relationships/item/{id}
1099
+ // PATCH /menu/v3/category/relationships/item/{id}
1057
1100
 
1058
- export interface PatchMenuV2CategoryRelationshipsItemPath {
1101
+ export interface PatchMenuV3CategoryRelationshipsItemPath {
1059
1102
  id: string;
1060
1103
  }
1061
1104
 
1062
- export type PatchMenuV2CategoryRelationshipsItemBody = CategoryToItemRelationship;
1105
+ export type PatchMenuV3CategoryRelationshipsItemBody = CategoryToItemRelationship;
1063
1106
 
1064
- export type PatchMenuV2CategoryRelationshipsItemResponse = CategoryToItemRelationship;
1107
+ export type PatchMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationship;
1065
1108
 
1066
- export interface PatchMenuV2CategoryRelationshipsItemRequest
1109
+ export interface PatchMenuV3CategoryRelationshipsItemRequest
1067
1110
  extends BaseRequest,
1068
- PatchMenuV2CategoryRelationshipsItemPath {
1069
- body: PatchMenuV2CategoryRelationshipsItemBody;
1111
+ PatchMenuV3CategoryRelationshipsItemPath {
1112
+ body: PatchMenuV3CategoryRelationshipsItemBody;
1070
1113
  }
1071
1114
 
1072
- // DELETE /menu/v2/category/relationships/item/{id}
1115
+ // DELETE /menu/v3/category/relationships/item/{id}
1073
1116
 
1074
- export interface DeleteMenuV2CategoryRelationshipsItemPath {
1117
+ export interface DeleteMenuV3CategoryRelationshipsItemPath {
1075
1118
  id: string;
1076
1119
  }
1077
1120
 
1078
- export type DeleteMenuV2CategoryRelationshipsItemResponse = CategoryToItemRelationship;
1121
+ export type DeleteMenuV3CategoryRelationshipsItemResponse = CategoryToItemRelationship;
1079
1122
 
1080
- export interface DeleteMenuV2CategoryRelationshipsItemRequest
1123
+ export interface DeleteMenuV3CategoryRelationshipsItemRequest
1081
1124
  extends BaseRequest,
1082
- DeleteMenuV2CategoryRelationshipsItemPath {}
1125
+ DeleteMenuV3CategoryRelationshipsItemPath {}
1083
1126
 
1084
1127
  // GET /menu/client/{client_id} - Get menu client
1085
1128