@compassdigital/sdk.typescript 3.50.0 → 3.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/index.ts CHANGED
@@ -27,12 +27,12 @@ import {
27
27
  GetPaymentMethodsResponse,
28
28
  GetPaymentHpcQuery,
29
29
  GetPaymentHpcResponse,
30
- GetPaymentBadgepayQuery,
31
- GetPaymentBadgepayResponse,
32
- PostPaymentBadgepayBody,
33
- PostPaymentBadgepayResponse,
34
- DeletePaymentBadgepayBody,
35
- DeletePaymentBadgepayResponse,
30
+ GetPaymentCashlessQuery,
31
+ GetPaymentCashlessResponse,
32
+ PostPaymentCashlessBody,
33
+ PostPaymentCashlessResponse,
34
+ DeletePaymentCashlessBody,
35
+ DeletePaymentCashlessResponse,
36
36
  } from "./interface/payment";
37
37
 
38
38
  import {
@@ -215,6 +215,8 @@ import {
215
215
  PostPartnerEventResponse,
216
216
  GetPartnerSwaggerQuery,
217
217
  GetPartnerSwaggerResponse,
218
+ PostPartnerMenuBody,
219
+ PostPartnerMenuResponse,
218
220
  } from "./interface/partner";
219
221
 
220
222
  import { PostEmailBody, PostEmailResponse } from "./interface/email";
@@ -367,6 +369,8 @@ import {
367
369
  DeleteReportEodGroupSubscribersResponse,
368
370
  PutReportEodGroupSubscribersBody,
369
371
  PutReportEodGroupSubscribersResponse,
372
+ GetReportEodGroupItemsQuery,
373
+ GetReportEodGroupItemsResponse,
370
374
  } from "./interface/report";
371
375
 
372
376
  import {
@@ -458,100 +462,62 @@ import {
458
462
  import {
459
463
  GetMenuV3ModifiersQuery,
460
464
  GetMenuV3ModifiersResponse,
461
- PostMenuV3ModifiersBody,
462
- PostMenuV3ModifiersResponse,
463
465
  GetMenuV3ModifierQuery,
464
466
  GetMenuV3ModifierResponse,
465
- PatchMenuV3ModifierBody,
466
- PatchMenuV3ModifierResponse,
467
- DeleteMenuV3ModifierResponse,
468
467
  PostMenuV3ModifierBody,
469
468
  PostMenuV3ModifierResponse,
470
469
  GetMenuV3ModifierCountQuery,
471
470
  GetMenuV3ModifierCountResponse,
472
471
  GetMenuV3ModifierGroupsQuery,
473
472
  GetMenuV3ModifierGroupsResponse,
474
- PostMenuV3ModifierGroupsBody,
475
- PostMenuV3ModifierGroupsResponse,
476
473
  PostMenuV3ModifierGroupBody,
477
474
  PostMenuV3ModifierGroupResponse,
478
475
  GetMenuV3ModifierGroupQuery,
479
476
  GetMenuV3ModifierGroupResponse,
480
- PatchMenuV3ModifierGroupBody,
481
- PatchMenuV3ModifierGroupResponse,
482
- DeleteMenuV3ModifierGroupResponse,
483
477
  GetMenuV3ModifierGroupCountQuery,
484
478
  GetMenuV3ModifierGroupCountResponse,
485
479
  GetMenuV3ModifierGroupRelationshipsModifiersQuery,
486
480
  GetMenuV3ModifierGroupRelationshipsModifiersResponse,
487
- PostMenuV3ModifierGroupRelationshipsModifiersBody,
488
- PostMenuV3ModifierGroupRelationshipsModifiersResponse,
489
481
  PostMenuV3ModifierGroupRelationshipsModifierBody,
490
482
  PostMenuV3ModifierGroupRelationshipsModifierResponse,
491
483
  GetMenuV3ModifierGroupRelationshipsModifierQuery,
492
484
  GetMenuV3ModifierGroupRelationshipsModifierResponse,
493
- PatchMenuV3ModifierGroupRelationshipsModifierBody,
494
- PatchMenuV3ModifierGroupRelationshipsModifierResponse,
495
- DeleteMenuV3ModifierGroupRelationshipsModifierResponse,
496
485
  GetMenuV3ItemsQuery,
497
486
  GetMenuV3ItemsResponse,
498
- PostMenuV3ItemsBody,
499
- PostMenuV3ItemsResponse,
500
487
  GetMenuV3ItemQuery,
501
488
  GetMenuV3ItemResponse,
502
- PatchMenuV3ItemBody,
503
- PatchMenuV3ItemResponse,
504
- DeleteMenuV3ItemResponse,
505
489
  PostMenuV3ItemBody,
506
490
  PostMenuV3ItemResponse,
507
491
  GetMenuV3ItemsCountQuery,
508
492
  GetMenuV3ItemsCountResponse,
509
493
  GetMenuV3ItemRelationshipsModifierGroupsQuery,
510
494
  GetMenuV3ItemRelationshipsModifierGroupsResponse,
511
- PostMenuV3ItemRelationshipsModifierGroupsBody,
512
- PostMenuV3ItemRelationshipsModifierGroupsResponse,
513
495
  PostMenuV3ItemRelationshipsModifierGroupBody,
514
496
  PostMenuV3ItemRelationshipsModifierGroupResponse,
515
497
  GetMenuV3ItemRelationshipsModifierGroupQuery,
516
498
  GetMenuV3ItemRelationshipsModifierGroupResponse,
517
- PatchMenuV3ItemRelationshipsModifierGroupBody,
518
- PatchMenuV3ItemRelationshipsModifierGroupResponse,
519
- DeleteMenuV3ItemRelationshipsModifierGroupResponse,
520
499
  GetMenuV3LayoutsQuery,
521
500
  GetMenuV3LayoutsResponse,
522
- PostMenuV3LayoutsBody,
523
- PostMenuV3LayoutsResponse,
524
501
  GetMenuV3LayoutCategoriesQuery,
525
502
  GetMenuV3LayoutCategoriesResponse,
526
503
  GetMenuV3LayoutQuery,
527
504
  GetMenuV3LayoutResponse,
528
- PatchMenuV3LayoutBody,
529
- PatchMenuV3LayoutResponse,
530
- DeleteMenuV3LayoutResponse,
531
505
  PostMenuV3LayoutBody,
532
506
  PostMenuV3LayoutResponse,
533
507
  GetMenuV3LayoutsCountQuery,
534
508
  GetMenuV3LayoutsCountResponse,
535
509
  GetMenuV3CategoryQuery,
536
510
  GetMenuV3CategoryResponse,
537
- PatchMenuV3CategoryBody,
538
- PatchMenuV3CategoryResponse,
539
- DeleteMenuV3CategoryResponse,
540
511
  PostMenuV3CategoryBody,
541
512
  PostMenuV3CategoryResponse,
542
513
  GetMenuV3CategoriesCountQuery,
543
514
  GetMenuV3CategoriesCountResponse,
544
515
  GetMenuV3CategoryRelationshipsItemsQuery,
545
516
  GetMenuV3CategoryRelationshipsItemsResponse,
546
- PostMenuV3CategoryRelationshipsItemsBody,
547
- PostMenuV3CategoryRelationshipsItemsResponse,
548
517
  PostMenuV3CategoryRelationshipsItemBody,
549
518
  PostMenuV3CategoryRelationshipsItemResponse,
550
519
  GetMenuV3CategoryRelationshipsItemQuery,
551
520
  GetMenuV3CategoryRelationshipsItemResponse,
552
- PatchMenuV3CategoryRelationshipsItemBody,
553
- PatchMenuV3CategoryRelationshipsItemResponse,
554
- DeleteMenuV3CategoryRelationshipsItemResponse,
555
521
  GetMenuV3BrandsQuery,
556
522
  GetMenuV3BrandsResponse,
557
523
  PostMenuV3BrandsBody,
@@ -664,6 +630,155 @@ import {
664
630
  GetMenuV3StationItemsResponse,
665
631
  GetMenuV3SiteLayoutsQuery,
666
632
  GetMenuV3SiteLayoutsResponse,
633
+ PostMenuV3DraftLayoutBody,
634
+ PostMenuV3DraftLayoutResponse,
635
+ GetMenuV3DraftLayoutQuery,
636
+ GetMenuV3DraftLayoutResponse,
637
+ PatchMenuV3DraftLayoutBody,
638
+ PatchMenuV3DraftLayoutResponse,
639
+ DeleteMenuV3DraftLayoutResponse,
640
+ GetMenuV3DraftLayoutsQuery,
641
+ GetMenuV3DraftLayoutsResponse,
642
+ PostMenuV3DraftLayoutsBody,
643
+ PostMenuV3DraftLayoutsResponse,
644
+ GetMenuV3DraftLayoutsCountQuery,
645
+ GetMenuV3DraftLayoutsCountResponse,
646
+ GetMenuV3DraftLayoutCategoriesQuery,
647
+ GetMenuV3DraftLayoutCategoriesResponse,
648
+ PostMenuV3DraftLayoutPublishResponse,
649
+ PostMenuV3DraftCategoryBody,
650
+ PostMenuV3DraftCategoryResponse,
651
+ GetMenuV3DraftCategoryQuery,
652
+ GetMenuV3DraftCategoryResponse,
653
+ PatchMenuV3DraftCategoryBody,
654
+ PatchMenuV3DraftCategoryResponse,
655
+ DeleteMenuV3DraftCategoryResponse,
656
+ GetMenuV3DraftCategoriesCountQuery,
657
+ GetMenuV3DraftCategoriesCountResponse,
658
+ PostMenuV3DraftCategorysBody,
659
+ PostMenuV3DraftCategorysResponse,
660
+ PostMenuV3DraftCategoryRelationshipsItemBody,
661
+ PostMenuV3DraftCategoryRelationshipsItemResponse,
662
+ GetMenuV3DraftCategoryRelationshipsItemQuery,
663
+ GetMenuV3DraftCategoryRelationshipsItemResponse,
664
+ PatchMenuV3DraftCategoryRelationshipsItemBody,
665
+ PatchMenuV3DraftCategoryRelationshipsItemResponse,
666
+ DeleteMenuV3DraftCategoryRelationshipsItemResponse,
667
+ GetMenuV3DraftCategoryRelationshipsItemsQuery,
668
+ GetMenuV3DraftCategoryRelationshipsItemsResponse,
669
+ PostMenuV3DraftCategoryRelationshipsItemsBody,
670
+ PostMenuV3DraftCategoryRelationshipsItemsResponse,
671
+ GetMenuV3DraftCategoryRelationshipsItemsCountQuery,
672
+ GetMenuV3DraftCategoryRelationshipsItemsCountResponse,
673
+ PostMenuV3DraftItemBody,
674
+ PostMenuV3DraftItemResponse,
675
+ GetMenuV3DraftItemQuery,
676
+ GetMenuV3DraftItemResponse,
677
+ PatchMenuV3DraftItemBody,
678
+ PatchMenuV3DraftItemResponse,
679
+ DeleteMenuV3DraftItemResponse,
680
+ GetMenuV3DraftItemsQuery,
681
+ GetMenuV3DraftItemsResponse,
682
+ PostMenuV3DraftItemsBody,
683
+ PostMenuV3DraftItemsResponse,
684
+ GetMenuV3DraftItemsCountQuery,
685
+ GetMenuV3DraftItemsCountResponse,
686
+ PostMenuV3DraftItemRelationshipsModifierGroupBody,
687
+ PostMenuV3DraftItemRelationshipsModifierGroupResponse,
688
+ GetMenuV3DraftItemRelationshipsModifierGroupQuery,
689
+ GetMenuV3DraftItemRelationshipsModifierGroupResponse,
690
+ PatchMenuV3DraftItemRelationshipsModifierGroupBody,
691
+ PatchMenuV3DraftItemRelationshipsModifierGroupResponse,
692
+ DeleteMenuV3DraftItemRelationshipsModifierGroupResponse,
693
+ GetMenuV3DraftItemRelationshipsModifierGroupsQuery,
694
+ GetMenuV3DraftItemRelationshipsModifierGroupsResponse,
695
+ PostMenuV3DraftItemRelationshipsModifierGroupsBody,
696
+ PostMenuV3DraftItemRelationshipsModifierGroupsResponse,
697
+ GetMenuV3DraftItemRelationshipsModifierGroupsCountQuery,
698
+ GetMenuV3DraftItemRelationshipsModifierGroupsCountResponse,
699
+ PostMenuV3DraftModifierGroupBody,
700
+ PostMenuV3DraftModifierGroupResponse,
701
+ GetMenuV3DraftModifierGroupQuery,
702
+ GetMenuV3DraftModifierGroupResponse,
703
+ PatchMenuV3DraftModifierGroupBody,
704
+ PatchMenuV3DraftModifierGroupResponse,
705
+ DeleteMenuV3DraftModifierGroupResponse,
706
+ GetMenuV3DraftModifierGroupsQuery,
707
+ GetMenuV3DraftModifierGroupsResponse,
708
+ PostMenuV3DraftModifierGroupsBody,
709
+ PostMenuV3DraftModifierGroupsResponse,
710
+ GetMenuV3DraftModifierGroupsCountQuery,
711
+ GetMenuV3DraftModifierGroupsCountResponse,
712
+ PostMenuV3DraftModifierGroupRelationshipsModifierBody,
713
+ PostMenuV3DraftModifierGroupRelationshipsModifierResponse,
714
+ GetMenuV3DraftModifierGroupRelationshipsModifierQuery,
715
+ GetMenuV3DraftModifierGroupRelationshipsModifierResponse,
716
+ PatchMenuV3DraftModifierGroupRelationshipsModifierBody,
717
+ PatchMenuV3DraftModifierGroupRelationshipsModifierResponse,
718
+ DeleteMenuV3DraftModifierGroupRelationshipsModifierResponse,
719
+ GetMenuV3DraftModifierGroupRelationshipsModifiersQuery,
720
+ GetMenuV3DraftModifierGroupRelationshipsModifiersResponse,
721
+ PostMenuV3DraftModifierGroupRelationshipsModifiersBody,
722
+ PostMenuV3DraftModifierGroupRelationshipsModifiersResponse,
723
+ GetMenuV3DraftModifierGroupRelationshipsModifiersCountQuery,
724
+ GetMenuV3DraftModifierGroupRelationshipsModifiersCountResponse,
725
+ PostMenuV3DraftModifierBody,
726
+ PostMenuV3DraftModifierResponse,
727
+ GetMenuV3DraftModifierQuery,
728
+ GetMenuV3DraftModifierResponse,
729
+ PatchMenuV3DraftModifierBody,
730
+ PatchMenuV3DraftModifierResponse,
731
+ DeleteMenuV3DraftModifierResponse,
732
+ GetMenuV3DraftModifiersQuery,
733
+ GetMenuV3DraftModifiersResponse,
734
+ PostMenuV3DraftModifiersBody,
735
+ PostMenuV3DraftModifiersResponse,
736
+ GetMenuV3DraftModifiersCountQuery,
737
+ GetMenuV3DraftModifiersCountResponse,
738
+ PostMenuV3DraftBrandBody,
739
+ PostMenuV3DraftBrandResponse,
740
+ GetMenuV3DraftBrandQuery,
741
+ GetMenuV3DraftBrandResponse,
742
+ PatchMenuV3DraftBrandBody,
743
+ PatchMenuV3DraftBrandResponse,
744
+ DeleteMenuV3DraftBrandResponse,
745
+ GetMenuV3DraftBrandsQuery,
746
+ GetMenuV3DraftBrandsResponse,
747
+ PostMenuV3DraftBrandsBody,
748
+ PostMenuV3DraftBrandsResponse,
749
+ GetMenuV3DraftBrandsCountQuery,
750
+ GetMenuV3DraftBrandsCountResponse,
751
+ GetMenuV3DraftBrandModifiersQuery,
752
+ GetMenuV3DraftBrandModifiersResponse,
753
+ GetMenuV3DraftBrandModifierGroupsQuery,
754
+ GetMenuV3DraftBrandModifierGroupsResponse,
755
+ GetMenuV3DraftBrandItemsQuery,
756
+ GetMenuV3DraftBrandItemsResponse,
757
+ PostMenuV3DraftBrandPublishResponse,
758
+ PostMenuV3DraftStationBody,
759
+ PostMenuV3DraftStationResponse,
760
+ GetMenuV3DraftStationQuery,
761
+ GetMenuV3DraftStationResponse,
762
+ PatchMenuV3DraftStationBody,
763
+ PatchMenuV3DraftStationResponse,
764
+ DeleteMenuV3DraftStationResponse,
765
+ GetMenuV3DraftStationsQuery,
766
+ GetMenuV3DraftStationsResponse,
767
+ PostMenuV3DraftStationsBody,
768
+ PostMenuV3DraftStationsResponse,
769
+ GetMenuV3DraftStationsCountQuery,
770
+ GetMenuV3DraftStationsCountResponse,
771
+ GetMenuV3DraftStationModifiersQuery,
772
+ GetMenuV3DraftStationModifiersResponse,
773
+ GetMenuV3DraftStationModifierGroupsQuery,
774
+ GetMenuV3DraftStationModifierGroupsResponse,
775
+ GetMenuV3DraftStationItemsQuery,
776
+ GetMenuV3DraftStationItemsResponse,
777
+ GetMenuV3DraftSiteLayoutsQuery,
778
+ GetMenuV3DraftSiteLayoutsResponse,
779
+ GetMenuV3CategorysCountQuery,
780
+ GetMenuV3CategorysCountResponse,
781
+ PostMenuV3BrandLocalResponse,
667
782
  } from "./interface/menu";
668
783
 
669
784
  import {
@@ -1028,66 +1143,66 @@ export class ServiceClient extends BaseServiceClient {
1028
1143
  }
1029
1144
 
1030
1145
  /**
1031
- * GET /payment/{id}/badgepay
1146
+ * GET /payment/{id}/cashless
1032
1147
  *
1033
1148
  * @param id - TODO: add parameter to swagger.json
1034
1149
  * @param options - additional request options
1035
1150
  */
1036
- get_payment_badgepay(
1151
+ get_payment_cashless(
1037
1152
  id: string,
1038
1153
  options?: {
1039
- query?: GetPaymentBadgepayQuery;
1154
+ query?: GetPaymentCashlessQuery;
1040
1155
  } & RequestOptions
1041
- ): ResponsePromise<GetPaymentBadgepayResponse> {
1156
+ ): ResponsePromise<GetPaymentCashlessResponse> {
1042
1157
  return this.request(
1043
1158
  "payment",
1044
- "get_payment_badgepay",
1159
+ "get_payment_cashless",
1045
1160
  "get",
1046
- `/payment/${id}/badgepay`,
1161
+ `/payment/${id}/cashless`,
1047
1162
  null,
1048
1163
  options
1049
1164
  );
1050
1165
  }
1051
1166
 
1052
1167
  /**
1053
- * POST /payment/{id}/badgepay
1168
+ * POST /payment/{id}/cashless
1054
1169
  *
1055
1170
  * @param id - TODO: add parameter to swagger.json
1056
1171
  * @param body
1057
1172
  * @param options - additional request options
1058
1173
  */
1059
- post_payment_badgepay(
1174
+ post_payment_cashless(
1060
1175
  id: string,
1061
- body: PostPaymentBadgepayBody,
1176
+ body: PostPaymentCashlessBody,
1062
1177
  options?: RequestOptions
1063
- ): ResponsePromise<PostPaymentBadgepayResponse> {
1178
+ ): ResponsePromise<PostPaymentCashlessResponse> {
1064
1179
  return this.request(
1065
1180
  "payment",
1066
- "post_payment_badgepay",
1181
+ "post_payment_cashless",
1067
1182
  "post",
1068
- `/payment/${id}/badgepay`,
1183
+ `/payment/${id}/cashless`,
1069
1184
  body,
1070
1185
  options
1071
1186
  );
1072
1187
  }
1073
1188
 
1074
1189
  /**
1075
- * DELETE /payment/{id}/badgepay
1190
+ * DELETE /payment/{id}/cashless
1076
1191
  *
1077
1192
  * @param id - TODO: add parameter to swagger.json
1078
1193
  * @param body
1079
1194
  * @param options - additional request options
1080
1195
  */
1081
- delete_payment_badgepay(
1196
+ delete_payment_cashless(
1082
1197
  id: string,
1083
- body: DeletePaymentBadgepayBody,
1198
+ body: DeletePaymentCashlessBody,
1084
1199
  options?: RequestOptions
1085
- ): ResponsePromise<DeletePaymentBadgepayResponse> {
1200
+ ): ResponsePromise<DeletePaymentCashlessResponse> {
1086
1201
  return this.request(
1087
1202
  "payment",
1088
- "delete_payment_badgepay",
1203
+ "delete_payment_cashless",
1089
1204
  "delete",
1090
- `/payment/${id}/badgepay`,
1205
+ `/payment/${id}/cashless`,
1091
1206
  body,
1092
1207
  options
1093
1208
  );
@@ -2860,6 +2975,28 @@ export class ServiceClient extends BaseServiceClient {
2860
2975
  );
2861
2976
  }
2862
2977
 
2978
+ /**
2979
+ * POST /partner/{id}/menu - Create a Partner menu from files(only xls for now)
2980
+ *
2981
+ * @param id - partner
2982
+ * @param body
2983
+ * @param options - additional request options
2984
+ */
2985
+ post_partner_menu(
2986
+ id: string,
2987
+ body: PostPartnerMenuBody,
2988
+ options?: RequestOptions
2989
+ ): ResponsePromise<PostPartnerMenuResponse> {
2990
+ return this.request(
2991
+ "partner",
2992
+ "post_partner_menu",
2993
+ "post",
2994
+ `/partner/${id}/menu`,
2995
+ body,
2996
+ options
2997
+ );
2998
+ }
2999
+
2863
3000
  /**
2864
3001
  * POST /email - Send an email
2865
3002
  *
@@ -4098,6 +4235,28 @@ export class ServiceClient extends BaseServiceClient {
4098
4235
  );
4099
4236
  }
4100
4237
 
4238
+ /**
4239
+ * GET /report/eod/group/{id}/items - Get items sales report for selected location group
4240
+ *
4241
+ * @param id
4242
+ * @param options - additional request options
4243
+ */
4244
+ get_report_eod_group_items(
4245
+ id: string,
4246
+ options: {
4247
+ query: GetReportEodGroupItemsQuery;
4248
+ } & RequestOptions
4249
+ ): ResponsePromise<GetReportEodGroupItemsResponse> {
4250
+ return this.request(
4251
+ "report",
4252
+ "get_report_eod_group_items",
4253
+ "get",
4254
+ `/report/eod/group/${id}/items`,
4255
+ null,
4256
+ options
4257
+ );
4258
+ }
4259
+
4101
4260
  /**
4102
4261
  * GET /user/auth - Gets the JWT token for a user
4103
4262
  *
@@ -4797,26 +4956,6 @@ export class ServiceClient extends BaseServiceClient {
4797
4956
  );
4798
4957
  }
4799
4958
 
4800
- /**
4801
- * POST /menu/v3/modifiers
4802
- *
4803
- * @param body
4804
- * @param options - additional request options
4805
- */
4806
- post_menu_v3_modifiers(
4807
- body: PostMenuV3ModifiersBody,
4808
- options?: RequestOptions
4809
- ): ResponsePromise<PostMenuV3ModifiersResponse> {
4810
- return this.request(
4811
- "menu",
4812
- "post_menu_v3_modifiers",
4813
- "post",
4814
- `/menu/v3/modifiers`,
4815
- body,
4816
- options
4817
- );
4818
- }
4819
-
4820
4959
  /**
4821
4960
  * GET /menu/v3/modifier/{id}
4822
4961
  *
@@ -4839,48 +4978,6 @@ export class ServiceClient extends BaseServiceClient {
4839
4978
  );
4840
4979
  }
4841
4980
 
4842
- /**
4843
- * PATCH /menu/v3/modifier/{id}
4844
- *
4845
- * @param id
4846
- * @param body - A partially populated ModifierEntity
4847
- * @param options - additional request options
4848
- */
4849
- patch_menu_v3_modifier(
4850
- id: string,
4851
- body: PatchMenuV3ModifierBody,
4852
- options?: RequestOptions
4853
- ): ResponsePromise<PatchMenuV3ModifierResponse> {
4854
- return this.request(
4855
- "menu",
4856
- "patch_menu_v3_modifier",
4857
- "patch",
4858
- `/menu/v3/modifier/${id}`,
4859
- body,
4860
- options
4861
- );
4862
- }
4863
-
4864
- /**
4865
- * DELETE /menu/v3/modifier/{id}
4866
- *
4867
- * @param id
4868
- * @param options - additional request options
4869
- */
4870
- delete_menu_v3_modifier(
4871
- id: string,
4872
- options?: RequestOptions
4873
- ): ResponsePromise<DeleteMenuV3ModifierResponse> {
4874
- return this.request(
4875
- "menu",
4876
- "delete_menu_v3_modifier",
4877
- "delete",
4878
- `/menu/v3/modifier/${id}`,
4879
- null,
4880
- options
4881
- );
4882
- }
4883
-
4884
4981
  /**
4885
4982
  * POST /menu/v3/modifier
4886
4983
  *
@@ -4941,26 +5038,6 @@ export class ServiceClient extends BaseServiceClient {
4941
5038
  );
4942
5039
  }
4943
5040
 
4944
- /**
4945
- * POST /menu/v3/modifier-groups
4946
- *
4947
- * @param body
4948
- * @param options - additional request options
4949
- */
4950
- post_menu_v3_modifier_groups(
4951
- body: PostMenuV3ModifierGroupsBody,
4952
- options?: RequestOptions
4953
- ): ResponsePromise<PostMenuV3ModifierGroupsResponse> {
4954
- return this.request(
4955
- "menu",
4956
- "post_menu_v3_modifier_groups",
4957
- "post",
4958
- `/menu/v3/modifier-groups`,
4959
- body,
4960
- options
4961
- );
4962
- }
4963
-
4964
5041
  /**
4965
5042
  * POST /menu/v3/modifier-group
4966
5043
  *
@@ -5003,48 +5080,6 @@ export class ServiceClient extends BaseServiceClient {
5003
5080
  );
5004
5081
  }
5005
5082
 
5006
- /**
5007
- * PATCH /menu/v3/modifier-group/{id}
5008
- *
5009
- * @param id
5010
- * @param body - A partially populated ModifierGroupEntity
5011
- * @param options - additional request options
5012
- */
5013
- patch_menu_v3_modifier_group(
5014
- id: string,
5015
- body: PatchMenuV3ModifierGroupBody,
5016
- options?: RequestOptions
5017
- ): ResponsePromise<PatchMenuV3ModifierGroupResponse> {
5018
- return this.request(
5019
- "menu",
5020
- "patch_menu_v3_modifier_group",
5021
- "patch",
5022
- `/menu/v3/modifier-group/${id}`,
5023
- body,
5024
- options
5025
- );
5026
- }
5027
-
5028
- /**
5029
- * DELETE /menu/v3/modifier-group/{id}
5030
- *
5031
- * @param id
5032
- * @param options - additional request options
5033
- */
5034
- delete_menu_v3_modifier_group(
5035
- id: string,
5036
- options?: RequestOptions
5037
- ): ResponsePromise<DeleteMenuV3ModifierGroupResponse> {
5038
- return this.request(
5039
- "menu",
5040
- "delete_menu_v3_modifier_group",
5041
- "delete",
5042
- `/menu/v3/modifier-group/${id}`,
5043
- null,
5044
- options
5045
- );
5046
- }
5047
-
5048
5083
  /**
5049
5084
  * GET /menu/v3/modifier-group/count
5050
5085
  *
@@ -5085,26 +5120,6 @@ export class ServiceClient extends BaseServiceClient {
5085
5120
  );
5086
5121
  }
5087
5122
 
5088
- /**
5089
- * POST /menu/v3/modifier-group/relationships/modifiers
5090
- *
5091
- * @param body
5092
- * @param options - additional request options
5093
- */
5094
- post_menu_v3_modifier_group_relationships_modifiers(
5095
- body: PostMenuV3ModifierGroupRelationshipsModifiersBody,
5096
- options?: RequestOptions
5097
- ): ResponsePromise<PostMenuV3ModifierGroupRelationshipsModifiersResponse> {
5098
- return this.request(
5099
- "menu",
5100
- "post_menu_v3_modifier_group_relationships_modifiers",
5101
- "post",
5102
- `/menu/v3/modifier-group/relationships/modifiers`,
5103
- body,
5104
- options
5105
- );
5106
- }
5107
-
5108
5123
  /**
5109
5124
  * POST /menu/v3/modifier-group/relationships/modifier
5110
5125
  *
@@ -5147,48 +5162,6 @@ export class ServiceClient extends BaseServiceClient {
5147
5162
  );
5148
5163
  }
5149
5164
 
5150
- /**
5151
- * PATCH /menu/v3/modifier-group/relationships/modifier/{id}
5152
- *
5153
- * @param id
5154
- * @param body - A partially populated ModifierGroupToModifierRelationship
5155
- * @param options - additional request options
5156
- */
5157
- patch_menu_v3_modifier_group_relationships_modifier(
5158
- id: string,
5159
- body: PatchMenuV3ModifierGroupRelationshipsModifierBody,
5160
- options?: RequestOptions
5161
- ): ResponsePromise<PatchMenuV3ModifierGroupRelationshipsModifierResponse> {
5162
- return this.request(
5163
- "menu",
5164
- "patch_menu_v3_modifier_group_relationships_modifier",
5165
- "patch",
5166
- `/menu/v3/modifier-group/relationships/modifier/${id}`,
5167
- body,
5168
- options
5169
- );
5170
- }
5171
-
5172
- /**
5173
- * DELETE /menu/v3/modifier-group/relationships/modifier/{id}
5174
- *
5175
- * @param id
5176
- * @param options - additional request options
5177
- */
5178
- delete_menu_v3_modifier_group_relationships_modifier(
5179
- id: string,
5180
- options?: RequestOptions
5181
- ): ResponsePromise<DeleteMenuV3ModifierGroupRelationshipsModifierResponse> {
5182
- return this.request(
5183
- "menu",
5184
- "delete_menu_v3_modifier_group_relationships_modifier",
5185
- "delete",
5186
- `/menu/v3/modifier-group/relationships/modifier/${id}`,
5187
- null,
5188
- options
5189
- );
5190
- }
5191
-
5192
5165
  /**
5193
5166
  * GET /menu/v3/items
5194
5167
  *
@@ -5202,19 +5175,6 @@ export class ServiceClient extends BaseServiceClient {
5202
5175
  return this.request("menu", "get_menu_v3_items", "get", `/menu/v3/items`, null, options);
5203
5176
  }
5204
5177
 
5205
- /**
5206
- * POST /menu/v3/items
5207
- *
5208
- * @param body
5209
- * @param options - additional request options
5210
- */
5211
- post_menu_v3_items(
5212
- body: PostMenuV3ItemsBody,
5213
- options?: RequestOptions
5214
- ): ResponsePromise<PostMenuV3ItemsResponse> {
5215
- return this.request("menu", "post_menu_v3_items", "post", `/menu/v3/items`, body, options);
5216
- }
5217
-
5218
5178
  /**
5219
5179
  * GET /menu/v3/item/{id}
5220
5180
  *
@@ -5230,48 +5190,6 @@ export class ServiceClient extends BaseServiceClient {
5230
5190
  return this.request("menu", "get_menu_v3_item", "get", `/menu/v3/item/${id}`, null, options);
5231
5191
  }
5232
5192
 
5233
- /**
5234
- * PATCH /menu/v3/item/{id}
5235
- *
5236
- * @param id
5237
- * @param body - A partially populated ItemEntity
5238
- * @param options - additional request options
5239
- */
5240
- patch_menu_v3_item(
5241
- id: string,
5242
- body: PatchMenuV3ItemBody,
5243
- options?: RequestOptions
5244
- ): ResponsePromise<PatchMenuV3ItemResponse> {
5245
- return this.request(
5246
- "menu",
5247
- "patch_menu_v3_item",
5248
- "patch",
5249
- `/menu/v3/item/${id}`,
5250
- body,
5251
- options
5252
- );
5253
- }
5254
-
5255
- /**
5256
- * DELETE /menu/v3/item/{id}
5257
- *
5258
- * @param id
5259
- * @param options - additional request options
5260
- */
5261
- delete_menu_v3_item(
5262
- id: string,
5263
- options?: RequestOptions
5264
- ): ResponsePromise<DeleteMenuV3ItemResponse> {
5265
- return this.request(
5266
- "menu",
5267
- "delete_menu_v3_item",
5268
- "delete",
5269
- `/menu/v3/item/${id}`,
5270
- null,
5271
- options
5272
- );
5273
- }
5274
-
5275
5193
  /**
5276
5194
  * POST /menu/v3/item
5277
5195
  *
@@ -5325,26 +5243,6 @@ export class ServiceClient extends BaseServiceClient {
5325
5243
  );
5326
5244
  }
5327
5245
 
5328
- /**
5329
- * POST /menu/v3/item/relationships/modifier-groups
5330
- *
5331
- * @param body
5332
- * @param options - additional request options
5333
- */
5334
- post_menu_v3_item_relationships_modifier_groups(
5335
- body: PostMenuV3ItemRelationshipsModifierGroupsBody,
5336
- options?: RequestOptions
5337
- ): ResponsePromise<PostMenuV3ItemRelationshipsModifierGroupsResponse> {
5338
- return this.request(
5339
- "menu",
5340
- "post_menu_v3_item_relationships_modifier_groups",
5341
- "post",
5342
- `/menu/v3/item/relationships/modifier-groups`,
5343
- body,
5344
- options
5345
- );
5346
- }
5347
-
5348
5246
  /**
5349
5247
  * POST /menu/v3/item/relationships/modifier-group
5350
5248
  *
@@ -5388,97 +5286,42 @@ export class ServiceClient extends BaseServiceClient {
5388
5286
  }
5389
5287
 
5390
5288
  /**
5391
- * PATCH /menu/v3/item/relationships/modifier-group/{id}
5289
+ * GET /menu/v3/layouts
5392
5290
  *
5393
- * @param id
5394
- * @param body - A partially populated ItemToModifierGroupRelationship
5395
5291
  * @param options - additional request options
5396
5292
  */
5397
- patch_menu_v3_item_relationships_modifier_group(
5398
- id: string,
5399
- body: PatchMenuV3ItemRelationshipsModifierGroupBody,
5400
- options?: RequestOptions
5401
- ): ResponsePromise<PatchMenuV3ItemRelationshipsModifierGroupResponse> {
5402
- return this.request(
5403
- "menu",
5404
- "patch_menu_v3_item_relationships_modifier_group",
5405
- "patch",
5406
- `/menu/v3/item/relationships/modifier-group/${id}`,
5407
- body,
5408
- options
5409
- );
5293
+ get_menu_v3_layouts(
5294
+ options?: {
5295
+ query?: GetMenuV3LayoutsQuery;
5296
+ } & RequestOptions
5297
+ ): ResponsePromise<GetMenuV3LayoutsResponse> {
5298
+ return this.request("menu", "get_menu_v3_layouts", "get", `/menu/v3/layouts`, null, options);
5410
5299
  }
5411
5300
 
5412
5301
  /**
5413
- * DELETE /menu/v3/item/relationships/modifier-group/{id}
5302
+ * GET /menu/v3/layout/{id}/categories
5414
5303
  *
5415
5304
  * @param id
5416
5305
  * @param options - additional request options
5417
5306
  */
5418
- delete_menu_v3_item_relationships_modifier_group(
5307
+ get_menu_v3_layout_categories(
5419
5308
  id: string,
5420
- options?: RequestOptions
5421
- ): ResponsePromise<DeleteMenuV3ItemRelationshipsModifierGroupResponse> {
5309
+ options?: {
5310
+ query?: GetMenuV3LayoutCategoriesQuery;
5311
+ } & RequestOptions
5312
+ ): ResponsePromise<GetMenuV3LayoutCategoriesResponse> {
5422
5313
  return this.request(
5423
5314
  "menu",
5424
- "delete_menu_v3_item_relationships_modifier_group",
5425
- "delete",
5426
- `/menu/v3/item/relationships/modifier-group/${id}`,
5315
+ "get_menu_v3_layout_categories",
5316
+ "get",
5317
+ `/menu/v3/layout/${id}/categories`,
5427
5318
  null,
5428
5319
  options
5429
5320
  );
5430
5321
  }
5431
5322
 
5432
5323
  /**
5433
- * GET /menu/v3/layouts
5434
- *
5435
- * @param options - additional request options
5436
- */
5437
- get_menu_v3_layouts(
5438
- options?: {
5439
- query?: GetMenuV3LayoutsQuery;
5440
- } & RequestOptions
5441
- ): ResponsePromise<GetMenuV3LayoutsResponse> {
5442
- return this.request("menu", "get_menu_v3_layouts", "get", `/menu/v3/layouts`, null, options);
5443
- }
5444
-
5445
- /**
5446
- * POST /menu/v3/layouts
5447
- *
5448
- * @param body
5449
- * @param options - additional request options
5450
- */
5451
- post_menu_v3_layouts(
5452
- body: PostMenuV3LayoutsBody,
5453
- options?: RequestOptions
5454
- ): ResponsePromise<PostMenuV3LayoutsResponse> {
5455
- return this.request("menu", "post_menu_v3_layouts", "post", `/menu/v3/layouts`, body, options);
5456
- }
5457
-
5458
- /**
5459
- * GET /menu/v3/layout/{id}/categories
5460
- *
5461
- * @param id
5462
- * @param options - additional request options
5463
- */
5464
- get_menu_v3_layout_categories(
5465
- id: string,
5466
- options?: {
5467
- query?: GetMenuV3LayoutCategoriesQuery;
5468
- } & RequestOptions
5469
- ): ResponsePromise<GetMenuV3LayoutCategoriesResponse> {
5470
- return this.request(
5471
- "menu",
5472
- "get_menu_v3_layout_categories",
5473
- "get",
5474
- `/menu/v3/layout/${id}/categories`,
5475
- null,
5476
- options
5477
- );
5478
- }
5479
-
5480
- /**
5481
- * GET /menu/v3/layout/{id}
5324
+ * GET /menu/v3/layout/{id}
5482
5325
  *
5483
5326
  * @param id
5484
5327
  * @param options - additional request options
@@ -5499,48 +5342,6 @@ export class ServiceClient extends BaseServiceClient {
5499
5342
  );
5500
5343
  }
5501
5344
 
5502
- /**
5503
- * PATCH /menu/v3/layout/{id}
5504
- *
5505
- * @param id
5506
- * @param body - A partially populated LayoutEntity
5507
- * @param options - additional request options
5508
- */
5509
- patch_menu_v3_layout(
5510
- id: string,
5511
- body: PatchMenuV3LayoutBody,
5512
- options?: RequestOptions
5513
- ): ResponsePromise<PatchMenuV3LayoutResponse> {
5514
- return this.request(
5515
- "menu",
5516
- "patch_menu_v3_layout",
5517
- "patch",
5518
- `/menu/v3/layout/${id}`,
5519
- body,
5520
- options
5521
- );
5522
- }
5523
-
5524
- /**
5525
- * DELETE /menu/v3/layout/{id}
5526
- *
5527
- * @param id
5528
- * @param options - additional request options
5529
- */
5530
- delete_menu_v3_layout(
5531
- id: string,
5532
- options?: RequestOptions
5533
- ): ResponsePromise<DeleteMenuV3LayoutResponse> {
5534
- return this.request(
5535
- "menu",
5536
- "delete_menu_v3_layout",
5537
- "delete",
5538
- `/menu/v3/layout/${id}`,
5539
- null,
5540
- options
5541
- );
5542
- }
5543
-
5544
5345
  /**
5545
5346
  * POST /menu/v3/layout
5546
5347
  *
@@ -5596,48 +5397,6 @@ export class ServiceClient extends BaseServiceClient {
5596
5397
  );
5597
5398
  }
5598
5399
 
5599
- /**
5600
- * PATCH /menu/v3/category/{id}
5601
- *
5602
- * @param id
5603
- * @param body - A partially populated CategoryEntity
5604
- * @param options - additional request options
5605
- */
5606
- patch_menu_v3_category(
5607
- id: string,
5608
- body: PatchMenuV3CategoryBody,
5609
- options?: RequestOptions
5610
- ): ResponsePromise<PatchMenuV3CategoryResponse> {
5611
- return this.request(
5612
- "menu",
5613
- "patch_menu_v3_category",
5614
- "patch",
5615
- `/menu/v3/category/${id}`,
5616
- body,
5617
- options
5618
- );
5619
- }
5620
-
5621
- /**
5622
- * DELETE /menu/v3/category/{id}
5623
- *
5624
- * @param id
5625
- * @param options - additional request options
5626
- */
5627
- delete_menu_v3_category(
5628
- id: string,
5629
- options?: RequestOptions
5630
- ): ResponsePromise<DeleteMenuV3CategoryResponse> {
5631
- return this.request(
5632
- "menu",
5633
- "delete_menu_v3_category",
5634
- "delete",
5635
- `/menu/v3/category/${id}`,
5636
- null,
5637
- options
5638
- );
5639
- }
5640
-
5641
5400
  /**
5642
5401
  * POST /menu/v3/category
5643
5402
  *
@@ -5698,26 +5457,6 @@ export class ServiceClient extends BaseServiceClient {
5698
5457
  );
5699
5458
  }
5700
5459
 
5701
- /**
5702
- * POST /menu/v3/category/relationships/items
5703
- *
5704
- * @param body
5705
- * @param options - additional request options
5706
- */
5707
- post_menu_v3_category_relationships_items(
5708
- body: PostMenuV3CategoryRelationshipsItemsBody,
5709
- options?: RequestOptions
5710
- ): ResponsePromise<PostMenuV3CategoryRelationshipsItemsResponse> {
5711
- return this.request(
5712
- "menu",
5713
- "post_menu_v3_category_relationships_items",
5714
- "post",
5715
- `/menu/v3/category/relationships/items`,
5716
- body,
5717
- options
5718
- );
5719
- }
5720
-
5721
5460
  /**
5722
5461
  * POST /menu/v3/category/relationships/item
5723
5462
  *
@@ -5760,48 +5499,6 @@ export class ServiceClient extends BaseServiceClient {
5760
5499
  );
5761
5500
  }
5762
5501
 
5763
- /**
5764
- * PATCH /menu/v3/category/relationships/item/{id}
5765
- *
5766
- * @param id
5767
- * @param body - A partially populated CategoryToItemRelationship
5768
- * @param options - additional request options
5769
- */
5770
- patch_menu_v3_category_relationships_item(
5771
- id: string,
5772
- body: PatchMenuV3CategoryRelationshipsItemBody,
5773
- options?: RequestOptions
5774
- ): ResponsePromise<PatchMenuV3CategoryRelationshipsItemResponse> {
5775
- return this.request(
5776
- "menu",
5777
- "patch_menu_v3_category_relationships_item",
5778
- "patch",
5779
- `/menu/v3/category/relationships/item/${id}`,
5780
- body,
5781
- options
5782
- );
5783
- }
5784
-
5785
- /**
5786
- * DELETE /menu/v3/category/relationships/item/{id}
5787
- *
5788
- * @param id
5789
- * @param options - additional request options
5790
- */
5791
- delete_menu_v3_category_relationships_item(
5792
- id: string,
5793
- options?: RequestOptions
5794
- ): ResponsePromise<DeleteMenuV3CategoryRelationshipsItemResponse> {
5795
- return this.request(
5796
- "menu",
5797
- "delete_menu_v3_category_relationships_item",
5798
- "delete",
5799
- `/menu/v3/category/relationships/item/${id}`,
5800
- null,
5801
- options
5802
- );
5803
- }
5804
-
5805
5502
  /**
5806
5503
  * GET /menu/v3/brands
5807
5504
  *
@@ -5913,7 +5610,7 @@ export class ServiceClient extends BaseServiceClient {
5913
5610
  * PATCH /menu/v3/brand/{id}
5914
5611
  *
5915
5612
  * @param id
5916
- * @param body - A partially populated BrandEntity
5613
+ * @param body - A partially populated PublishedBrandEntity
5917
5614
  * @param options - additional request options
5918
5615
  */
5919
5616
  patch_menu_v3_brand(
@@ -6877,6 +6574,1682 @@ export class ServiceClient extends BaseServiceClient {
6877
6574
  );
6878
6575
  }
6879
6576
 
6577
+ /**
6578
+ * POST /menu/v3/draft/layout
6579
+ *
6580
+ * @param body
6581
+ * @param options - additional request options
6582
+ */
6583
+ post_menu_v3_draft_layout(
6584
+ body: PostMenuV3DraftLayoutBody,
6585
+ options?: RequestOptions
6586
+ ): ResponsePromise<PostMenuV3DraftLayoutResponse> {
6587
+ return this.request(
6588
+ "menu",
6589
+ "post_menu_v3_draft_layout",
6590
+ "post",
6591
+ `/menu/v3/draft/layout`,
6592
+ body,
6593
+ options
6594
+ );
6595
+ }
6596
+
6597
+ /**
6598
+ * GET /menu/v3/draft/layout/{id}
6599
+ *
6600
+ * @param id
6601
+ * @param options - additional request options
6602
+ */
6603
+ get_menu_v3_draft_layout(
6604
+ id: string,
6605
+ options?: {
6606
+ query?: GetMenuV3DraftLayoutQuery;
6607
+ } & RequestOptions
6608
+ ): ResponsePromise<GetMenuV3DraftLayoutResponse> {
6609
+ return this.request(
6610
+ "menu",
6611
+ "get_menu_v3_draft_layout",
6612
+ "get",
6613
+ `/menu/v3/draft/layout/${id}`,
6614
+ null,
6615
+ options
6616
+ );
6617
+ }
6618
+
6619
+ /**
6620
+ * PATCH /menu/v3/draft/layout/{id}
6621
+ *
6622
+ * @param id
6623
+ * @param body - A partially populated DraftLayoutEntity
6624
+ * @param options - additional request options
6625
+ */
6626
+ patch_menu_v3_draft_layout(
6627
+ id: string,
6628
+ body: PatchMenuV3DraftLayoutBody,
6629
+ options?: RequestOptions
6630
+ ): ResponsePromise<PatchMenuV3DraftLayoutResponse> {
6631
+ return this.request(
6632
+ "menu",
6633
+ "patch_menu_v3_draft_layout",
6634
+ "patch",
6635
+ `/menu/v3/draft/layout/${id}`,
6636
+ body,
6637
+ options
6638
+ );
6639
+ }
6640
+
6641
+ /**
6642
+ * DELETE /menu/v3/draft/layout/{id}
6643
+ *
6644
+ * @param id
6645
+ * @param options - additional request options
6646
+ */
6647
+ delete_menu_v3_draft_layout(
6648
+ id: string,
6649
+ options?: RequestOptions
6650
+ ): ResponsePromise<DeleteMenuV3DraftLayoutResponse> {
6651
+ return this.request(
6652
+ "menu",
6653
+ "delete_menu_v3_draft_layout",
6654
+ "delete",
6655
+ `/menu/v3/draft/layout/${id}`,
6656
+ null,
6657
+ options
6658
+ );
6659
+ }
6660
+
6661
+ /**
6662
+ * GET /menu/v3/draft/layouts
6663
+ *
6664
+ * @param options - additional request options
6665
+ */
6666
+ get_menu_v3_draft_layouts(
6667
+ options?: {
6668
+ query?: GetMenuV3DraftLayoutsQuery;
6669
+ } & RequestOptions
6670
+ ): ResponsePromise<GetMenuV3DraftLayoutsResponse> {
6671
+ return this.request(
6672
+ "menu",
6673
+ "get_menu_v3_draft_layouts",
6674
+ "get",
6675
+ `/menu/v3/draft/layouts`,
6676
+ null,
6677
+ options
6678
+ );
6679
+ }
6680
+
6681
+ /**
6682
+ * POST /menu/v3/draft/layouts
6683
+ *
6684
+ * @param body
6685
+ * @param options - additional request options
6686
+ */
6687
+ post_menu_v3_draft_layouts(
6688
+ body: PostMenuV3DraftLayoutsBody,
6689
+ options?: RequestOptions
6690
+ ): ResponsePromise<PostMenuV3DraftLayoutsResponse> {
6691
+ return this.request(
6692
+ "menu",
6693
+ "post_menu_v3_draft_layouts",
6694
+ "post",
6695
+ `/menu/v3/draft/layouts`,
6696
+ body,
6697
+ options
6698
+ );
6699
+ }
6700
+
6701
+ /**
6702
+ * GET /menu/v3/draft/layouts/count
6703
+ *
6704
+ * @param options - additional request options
6705
+ */
6706
+ get_menu_v3_draft_layouts_count(
6707
+ options?: {
6708
+ query?: GetMenuV3DraftLayoutsCountQuery;
6709
+ } & RequestOptions
6710
+ ): ResponsePromise<GetMenuV3DraftLayoutsCountResponse> {
6711
+ return this.request(
6712
+ "menu",
6713
+ "get_menu_v3_draft_layouts_count",
6714
+ "get",
6715
+ `/menu/v3/draft/layouts/count`,
6716
+ null,
6717
+ options
6718
+ );
6719
+ }
6720
+
6721
+ /**
6722
+ * GET /menu/v3/draft/layout/{id}/categories
6723
+ *
6724
+ * @param id
6725
+ * @param options - additional request options
6726
+ */
6727
+ get_menu_v3_draft_layout_categories(
6728
+ id: string,
6729
+ options?: {
6730
+ query?: GetMenuV3DraftLayoutCategoriesQuery;
6731
+ } & RequestOptions
6732
+ ): ResponsePromise<GetMenuV3DraftLayoutCategoriesResponse> {
6733
+ return this.request(
6734
+ "menu",
6735
+ "get_menu_v3_draft_layout_categories",
6736
+ "get",
6737
+ `/menu/v3/draft/layout/${id}/categories`,
6738
+ null,
6739
+ options
6740
+ );
6741
+ }
6742
+
6743
+ /**
6744
+ * POST /menu/v3/draft/layout/{id}/publish
6745
+ *
6746
+ * @param id
6747
+ * @param options - additional request options
6748
+ */
6749
+ post_menu_v3_draft_layout_publish(
6750
+ id: string,
6751
+ options?: RequestOptions
6752
+ ): ResponsePromise<PostMenuV3DraftLayoutPublishResponse> {
6753
+ return this.request(
6754
+ "menu",
6755
+ "post_menu_v3_draft_layout_publish",
6756
+ "post",
6757
+ `/menu/v3/draft/layout/${id}/publish`,
6758
+ null,
6759
+ options
6760
+ );
6761
+ }
6762
+
6763
+ /**
6764
+ * POST /menu/v3/draft/category
6765
+ *
6766
+ * @param body
6767
+ * @param options - additional request options
6768
+ */
6769
+ post_menu_v3_draft_category(
6770
+ body: PostMenuV3DraftCategoryBody,
6771
+ options?: RequestOptions
6772
+ ): ResponsePromise<PostMenuV3DraftCategoryResponse> {
6773
+ return this.request(
6774
+ "menu",
6775
+ "post_menu_v3_draft_category",
6776
+ "post",
6777
+ `/menu/v3/draft/category`,
6778
+ body,
6779
+ options
6780
+ );
6781
+ }
6782
+
6783
+ /**
6784
+ * GET /menu/v3/draft/category/{id}
6785
+ *
6786
+ * @param id
6787
+ * @param options - additional request options
6788
+ */
6789
+ get_menu_v3_draft_category(
6790
+ id: string,
6791
+ options?: {
6792
+ query?: GetMenuV3DraftCategoryQuery;
6793
+ } & RequestOptions
6794
+ ): ResponsePromise<GetMenuV3DraftCategoryResponse> {
6795
+ return this.request(
6796
+ "menu",
6797
+ "get_menu_v3_draft_category",
6798
+ "get",
6799
+ `/menu/v3/draft/category/${id}`,
6800
+ null,
6801
+ options
6802
+ );
6803
+ }
6804
+
6805
+ /**
6806
+ * PATCH /menu/v3/draft/category/{id}
6807
+ *
6808
+ * @param id
6809
+ * @param body - A partially populated DraftCategoryEntity
6810
+ * @param options - additional request options
6811
+ */
6812
+ patch_menu_v3_draft_category(
6813
+ id: string,
6814
+ body: PatchMenuV3DraftCategoryBody,
6815
+ options?: RequestOptions
6816
+ ): ResponsePromise<PatchMenuV3DraftCategoryResponse> {
6817
+ return this.request(
6818
+ "menu",
6819
+ "patch_menu_v3_draft_category",
6820
+ "patch",
6821
+ `/menu/v3/draft/category/${id}`,
6822
+ body,
6823
+ options
6824
+ );
6825
+ }
6826
+
6827
+ /**
6828
+ * DELETE /menu/v3/draft/category/{id}
6829
+ *
6830
+ * @param id
6831
+ * @param options - additional request options
6832
+ */
6833
+ delete_menu_v3_draft_category(
6834
+ id: string,
6835
+ options?: RequestOptions
6836
+ ): ResponsePromise<DeleteMenuV3DraftCategoryResponse> {
6837
+ return this.request(
6838
+ "menu",
6839
+ "delete_menu_v3_draft_category",
6840
+ "delete",
6841
+ `/menu/v3/draft/category/${id}`,
6842
+ null,
6843
+ options
6844
+ );
6845
+ }
6846
+
6847
+ /**
6848
+ * GET /menu/v3/draft/categories/count
6849
+ *
6850
+ * @param options - additional request options
6851
+ */
6852
+ get_menu_v3_draft_categories_count(
6853
+ options?: {
6854
+ query?: GetMenuV3DraftCategoriesCountQuery;
6855
+ } & RequestOptions
6856
+ ): ResponsePromise<GetMenuV3DraftCategoriesCountResponse> {
6857
+ return this.request(
6858
+ "menu",
6859
+ "get_menu_v3_draft_categories_count",
6860
+ "get",
6861
+ `/menu/v3/draft/categories/count`,
6862
+ null,
6863
+ options
6864
+ );
6865
+ }
6866
+
6867
+ /**
6868
+ * POST /menu/v3/draft/categorys
6869
+ *
6870
+ * @param body
6871
+ * @param options - additional request options
6872
+ */
6873
+ post_menu_v3_draft_categorys(
6874
+ body: PostMenuV3DraftCategorysBody,
6875
+ options?: RequestOptions
6876
+ ): ResponsePromise<PostMenuV3DraftCategorysResponse> {
6877
+ return this.request(
6878
+ "menu",
6879
+ "post_menu_v3_draft_categorys",
6880
+ "post",
6881
+ `/menu/v3/draft/categorys`,
6882
+ body,
6883
+ options
6884
+ );
6885
+ }
6886
+
6887
+ /**
6888
+ * POST /menu/v3/draft/category/relationships/item
6889
+ *
6890
+ * @param body
6891
+ * @param options - additional request options
6892
+ */
6893
+ post_menu_v3_draft_category_relationships_item(
6894
+ body: PostMenuV3DraftCategoryRelationshipsItemBody,
6895
+ options?: RequestOptions
6896
+ ): ResponsePromise<PostMenuV3DraftCategoryRelationshipsItemResponse> {
6897
+ return this.request(
6898
+ "menu",
6899
+ "post_menu_v3_draft_category_relationships_item",
6900
+ "post",
6901
+ `/menu/v3/draft/category/relationships/item`,
6902
+ body,
6903
+ options
6904
+ );
6905
+ }
6906
+
6907
+ /**
6908
+ * GET /menu/v3/draft/category/relationships/item/{id}
6909
+ *
6910
+ * @param id
6911
+ * @param options - additional request options
6912
+ */
6913
+ get_menu_v3_draft_category_relationships_item(
6914
+ id: string,
6915
+ options?: {
6916
+ query?: GetMenuV3DraftCategoryRelationshipsItemQuery;
6917
+ } & RequestOptions
6918
+ ): ResponsePromise<GetMenuV3DraftCategoryRelationshipsItemResponse> {
6919
+ return this.request(
6920
+ "menu",
6921
+ "get_menu_v3_draft_category_relationships_item",
6922
+ "get",
6923
+ `/menu/v3/draft/category/relationships/item/${id}`,
6924
+ null,
6925
+ options
6926
+ );
6927
+ }
6928
+
6929
+ /**
6930
+ * PATCH /menu/v3/draft/category/relationships/item/{id}
6931
+ *
6932
+ * @param id
6933
+ * @param body - A partially populated DraftCategoryToItemRelationship
6934
+ * @param options - additional request options
6935
+ */
6936
+ patch_menu_v3_draft_category_relationships_item(
6937
+ id: string,
6938
+ body: PatchMenuV3DraftCategoryRelationshipsItemBody,
6939
+ options?: RequestOptions
6940
+ ): ResponsePromise<PatchMenuV3DraftCategoryRelationshipsItemResponse> {
6941
+ return this.request(
6942
+ "menu",
6943
+ "patch_menu_v3_draft_category_relationships_item",
6944
+ "patch",
6945
+ `/menu/v3/draft/category/relationships/item/${id}`,
6946
+ body,
6947
+ options
6948
+ );
6949
+ }
6950
+
6951
+ /**
6952
+ * DELETE /menu/v3/draft/category/relationships/item/{id}
6953
+ *
6954
+ * @param id
6955
+ * @param options - additional request options
6956
+ */
6957
+ delete_menu_v3_draft_category_relationships_item(
6958
+ id: string,
6959
+ options?: RequestOptions
6960
+ ): ResponsePromise<DeleteMenuV3DraftCategoryRelationshipsItemResponse> {
6961
+ return this.request(
6962
+ "menu",
6963
+ "delete_menu_v3_draft_category_relationships_item",
6964
+ "delete",
6965
+ `/menu/v3/draft/category/relationships/item/${id}`,
6966
+ null,
6967
+ options
6968
+ );
6969
+ }
6970
+
6971
+ /**
6972
+ * GET /menu/v3/draft/category/relationships/items
6973
+ *
6974
+ * @param options - additional request options
6975
+ */
6976
+ get_menu_v3_draft_category_relationships_items(
6977
+ options?: {
6978
+ query?: GetMenuV3DraftCategoryRelationshipsItemsQuery;
6979
+ } & RequestOptions
6980
+ ): ResponsePromise<GetMenuV3DraftCategoryRelationshipsItemsResponse> {
6981
+ return this.request(
6982
+ "menu",
6983
+ "get_menu_v3_draft_category_relationships_items",
6984
+ "get",
6985
+ `/menu/v3/draft/category/relationships/items`,
6986
+ null,
6987
+ options
6988
+ );
6989
+ }
6990
+
6991
+ /**
6992
+ * POST /menu/v3/draft/category/relationships/items
6993
+ *
6994
+ * @param body
6995
+ * @param options - additional request options
6996
+ */
6997
+ post_menu_v3_draft_category_relationships_items(
6998
+ body: PostMenuV3DraftCategoryRelationshipsItemsBody,
6999
+ options?: RequestOptions
7000
+ ): ResponsePromise<PostMenuV3DraftCategoryRelationshipsItemsResponse> {
7001
+ return this.request(
7002
+ "menu",
7003
+ "post_menu_v3_draft_category_relationships_items",
7004
+ "post",
7005
+ `/menu/v3/draft/category/relationships/items`,
7006
+ body,
7007
+ options
7008
+ );
7009
+ }
7010
+
7011
+ /**
7012
+ * GET /menu/v3/draft/category/relationships/items/count
7013
+ *
7014
+ * @param options - additional request options
7015
+ */
7016
+ get_menu_v3_draft_category_relationships_items_count(
7017
+ options?: {
7018
+ query?: GetMenuV3DraftCategoryRelationshipsItemsCountQuery;
7019
+ } & RequestOptions
7020
+ ): ResponsePromise<GetMenuV3DraftCategoryRelationshipsItemsCountResponse> {
7021
+ return this.request(
7022
+ "menu",
7023
+ "get_menu_v3_draft_category_relationships_items_count",
7024
+ "get",
7025
+ `/menu/v3/draft/category/relationships/items/count`,
7026
+ null,
7027
+ options
7028
+ );
7029
+ }
7030
+
7031
+ /**
7032
+ * POST /menu/v3/draft/item
7033
+ *
7034
+ * @param body
7035
+ * @param options - additional request options
7036
+ */
7037
+ post_menu_v3_draft_item(
7038
+ body: PostMenuV3DraftItemBody,
7039
+ options?: RequestOptions
7040
+ ): ResponsePromise<PostMenuV3DraftItemResponse> {
7041
+ return this.request(
7042
+ "menu",
7043
+ "post_menu_v3_draft_item",
7044
+ "post",
7045
+ `/menu/v3/draft/item`,
7046
+ body,
7047
+ options
7048
+ );
7049
+ }
7050
+
7051
+ /**
7052
+ * GET /menu/v3/draft/item/{id}
7053
+ *
7054
+ * @param id
7055
+ * @param options - additional request options
7056
+ */
7057
+ get_menu_v3_draft_item(
7058
+ id: string,
7059
+ options?: {
7060
+ query?: GetMenuV3DraftItemQuery;
7061
+ } & RequestOptions
7062
+ ): ResponsePromise<GetMenuV3DraftItemResponse> {
7063
+ return this.request(
7064
+ "menu",
7065
+ "get_menu_v3_draft_item",
7066
+ "get",
7067
+ `/menu/v3/draft/item/${id}`,
7068
+ null,
7069
+ options
7070
+ );
7071
+ }
7072
+
7073
+ /**
7074
+ * PATCH /menu/v3/draft/item/{id}
7075
+ *
7076
+ * @param id
7077
+ * @param body - A partially populated DraftItemEntity
7078
+ * @param options - additional request options
7079
+ */
7080
+ patch_menu_v3_draft_item(
7081
+ id: string,
7082
+ body: PatchMenuV3DraftItemBody,
7083
+ options?: RequestOptions
7084
+ ): ResponsePromise<PatchMenuV3DraftItemResponse> {
7085
+ return this.request(
7086
+ "menu",
7087
+ "patch_menu_v3_draft_item",
7088
+ "patch",
7089
+ `/menu/v3/draft/item/${id}`,
7090
+ body,
7091
+ options
7092
+ );
7093
+ }
7094
+
7095
+ /**
7096
+ * DELETE /menu/v3/draft/item/{id}
7097
+ *
7098
+ * @param id
7099
+ * @param options - additional request options
7100
+ */
7101
+ delete_menu_v3_draft_item(
7102
+ id: string,
7103
+ options?: RequestOptions
7104
+ ): ResponsePromise<DeleteMenuV3DraftItemResponse> {
7105
+ return this.request(
7106
+ "menu",
7107
+ "delete_menu_v3_draft_item",
7108
+ "delete",
7109
+ `/menu/v3/draft/item/${id}`,
7110
+ null,
7111
+ options
7112
+ );
7113
+ }
7114
+
7115
+ /**
7116
+ * GET /menu/v3/draft/items
7117
+ *
7118
+ * @param options - additional request options
7119
+ */
7120
+ get_menu_v3_draft_items(
7121
+ options?: {
7122
+ query?: GetMenuV3DraftItemsQuery;
7123
+ } & RequestOptions
7124
+ ): ResponsePromise<GetMenuV3DraftItemsResponse> {
7125
+ return this.request(
7126
+ "menu",
7127
+ "get_menu_v3_draft_items",
7128
+ "get",
7129
+ `/menu/v3/draft/items`,
7130
+ null,
7131
+ options
7132
+ );
7133
+ }
7134
+
7135
+ /**
7136
+ * POST /menu/v3/draft/items
7137
+ *
7138
+ * @param body
7139
+ * @param options - additional request options
7140
+ */
7141
+ post_menu_v3_draft_items(
7142
+ body: PostMenuV3DraftItemsBody,
7143
+ options?: RequestOptions
7144
+ ): ResponsePromise<PostMenuV3DraftItemsResponse> {
7145
+ return this.request(
7146
+ "menu",
7147
+ "post_menu_v3_draft_items",
7148
+ "post",
7149
+ `/menu/v3/draft/items`,
7150
+ body,
7151
+ options
7152
+ );
7153
+ }
7154
+
7155
+ /**
7156
+ * GET /menu/v3/draft/items/count
7157
+ *
7158
+ * @param options - additional request options
7159
+ */
7160
+ get_menu_v3_draft_items_count(
7161
+ options?: {
7162
+ query?: GetMenuV3DraftItemsCountQuery;
7163
+ } & RequestOptions
7164
+ ): ResponsePromise<GetMenuV3DraftItemsCountResponse> {
7165
+ return this.request(
7166
+ "menu",
7167
+ "get_menu_v3_draft_items_count",
7168
+ "get",
7169
+ `/menu/v3/draft/items/count`,
7170
+ null,
7171
+ options
7172
+ );
7173
+ }
7174
+
7175
+ /**
7176
+ * POST /menu/v3/draft/item/relationships/modifier-group
7177
+ *
7178
+ * @param body
7179
+ * @param options - additional request options
7180
+ */
7181
+ post_menu_v3_draft_item_relationships_modifier_group(
7182
+ body: PostMenuV3DraftItemRelationshipsModifierGroupBody,
7183
+ options?: RequestOptions
7184
+ ): ResponsePromise<PostMenuV3DraftItemRelationshipsModifierGroupResponse> {
7185
+ return this.request(
7186
+ "menu",
7187
+ "post_menu_v3_draft_item_relationships_modifier_group",
7188
+ "post",
7189
+ `/menu/v3/draft/item/relationships/modifier-group`,
7190
+ body,
7191
+ options
7192
+ );
7193
+ }
7194
+
7195
+ /**
7196
+ * GET /menu/v3/draft/item/relationships/modifier-group/{id}
7197
+ *
7198
+ * @param id
7199
+ * @param options - additional request options
7200
+ */
7201
+ get_menu_v3_draft_item_relationships_modifier_group(
7202
+ id: string,
7203
+ options?: {
7204
+ query?: GetMenuV3DraftItemRelationshipsModifierGroupQuery;
7205
+ } & RequestOptions
7206
+ ): ResponsePromise<GetMenuV3DraftItemRelationshipsModifierGroupResponse> {
7207
+ return this.request(
7208
+ "menu",
7209
+ "get_menu_v3_draft_item_relationships_modifier_group",
7210
+ "get",
7211
+ `/menu/v3/draft/item/relationships/modifier-group/${id}`,
7212
+ null,
7213
+ options
7214
+ );
7215
+ }
7216
+
7217
+ /**
7218
+ * PATCH /menu/v3/draft/item/relationships/modifier-group/{id}
7219
+ *
7220
+ * @param id
7221
+ * @param body - A partially populated DraftItemToModifierGroupRelationship
7222
+ * @param options - additional request options
7223
+ */
7224
+ patch_menu_v3_draft_item_relationships_modifier_group(
7225
+ id: string,
7226
+ body: PatchMenuV3DraftItemRelationshipsModifierGroupBody,
7227
+ options?: RequestOptions
7228
+ ): ResponsePromise<PatchMenuV3DraftItemRelationshipsModifierGroupResponse> {
7229
+ return this.request(
7230
+ "menu",
7231
+ "patch_menu_v3_draft_item_relationships_modifier_group",
7232
+ "patch",
7233
+ `/menu/v3/draft/item/relationships/modifier-group/${id}`,
7234
+ body,
7235
+ options
7236
+ );
7237
+ }
7238
+
7239
+ /**
7240
+ * DELETE /menu/v3/draft/item/relationships/modifier-group/{id}
7241
+ *
7242
+ * @param id
7243
+ * @param options - additional request options
7244
+ */
7245
+ delete_menu_v3_draft_item_relationships_modifier_group(
7246
+ id: string,
7247
+ options?: RequestOptions
7248
+ ): ResponsePromise<DeleteMenuV3DraftItemRelationshipsModifierGroupResponse> {
7249
+ return this.request(
7250
+ "menu",
7251
+ "delete_menu_v3_draft_item_relationships_modifier_group",
7252
+ "delete",
7253
+ `/menu/v3/draft/item/relationships/modifier-group/${id}`,
7254
+ null,
7255
+ options
7256
+ );
7257
+ }
7258
+
7259
+ /**
7260
+ * GET /menu/v3/draft/item/relationships/modifier-groups
7261
+ *
7262
+ * @param options - additional request options
7263
+ */
7264
+ get_menu_v3_draft_item_relationships_modifier_groups(
7265
+ options?: {
7266
+ query?: GetMenuV3DraftItemRelationshipsModifierGroupsQuery;
7267
+ } & RequestOptions
7268
+ ): ResponsePromise<GetMenuV3DraftItemRelationshipsModifierGroupsResponse> {
7269
+ return this.request(
7270
+ "menu",
7271
+ "get_menu_v3_draft_item_relationships_modifier_groups",
7272
+ "get",
7273
+ `/menu/v3/draft/item/relationships/modifier-groups`,
7274
+ null,
7275
+ options
7276
+ );
7277
+ }
7278
+
7279
+ /**
7280
+ * POST /menu/v3/draft/item/relationships/modifier-groups
7281
+ *
7282
+ * @param body
7283
+ * @param options - additional request options
7284
+ */
7285
+ post_menu_v3_draft_item_relationships_modifier_groups(
7286
+ body: PostMenuV3DraftItemRelationshipsModifierGroupsBody,
7287
+ options?: RequestOptions
7288
+ ): ResponsePromise<PostMenuV3DraftItemRelationshipsModifierGroupsResponse> {
7289
+ return this.request(
7290
+ "menu",
7291
+ "post_menu_v3_draft_item_relationships_modifier_groups",
7292
+ "post",
7293
+ `/menu/v3/draft/item/relationships/modifier-groups`,
7294
+ body,
7295
+ options
7296
+ );
7297
+ }
7298
+
7299
+ /**
7300
+ * GET /menu/v3/draft/item/relationships/modifier-groups/count
7301
+ *
7302
+ * @param options - additional request options
7303
+ */
7304
+ get_menu_v3_draft_item_relationships_modifier_groups_count(
7305
+ options?: {
7306
+ query?: GetMenuV3DraftItemRelationshipsModifierGroupsCountQuery;
7307
+ } & RequestOptions
7308
+ ): ResponsePromise<GetMenuV3DraftItemRelationshipsModifierGroupsCountResponse> {
7309
+ return this.request(
7310
+ "menu",
7311
+ "get_menu_v3_draft_item_relationships_modifier_groups_count",
7312
+ "get",
7313
+ `/menu/v3/draft/item/relationships/modifier-groups/count`,
7314
+ null,
7315
+ options
7316
+ );
7317
+ }
7318
+
7319
+ /**
7320
+ * POST /menu/v3/draft/modifier-group
7321
+ *
7322
+ * @param body
7323
+ * @param options - additional request options
7324
+ */
7325
+ post_menu_v3_draft_modifier_group(
7326
+ body: PostMenuV3DraftModifierGroupBody,
7327
+ options?: RequestOptions
7328
+ ): ResponsePromise<PostMenuV3DraftModifierGroupResponse> {
7329
+ return this.request(
7330
+ "menu",
7331
+ "post_menu_v3_draft_modifier_group",
7332
+ "post",
7333
+ `/menu/v3/draft/modifier-group`,
7334
+ body,
7335
+ options
7336
+ );
7337
+ }
7338
+
7339
+ /**
7340
+ * GET /menu/v3/draft/modifier-group/{id}
7341
+ *
7342
+ * @param id
7343
+ * @param options - additional request options
7344
+ */
7345
+ get_menu_v3_draft_modifier_group(
7346
+ id: string,
7347
+ options?: {
7348
+ query?: GetMenuV3DraftModifierGroupQuery;
7349
+ } & RequestOptions
7350
+ ): ResponsePromise<GetMenuV3DraftModifierGroupResponse> {
7351
+ return this.request(
7352
+ "menu",
7353
+ "get_menu_v3_draft_modifier_group",
7354
+ "get",
7355
+ `/menu/v3/draft/modifier-group/${id}`,
7356
+ null,
7357
+ options
7358
+ );
7359
+ }
7360
+
7361
+ /**
7362
+ * PATCH /menu/v3/draft/modifier-group/{id}
7363
+ *
7364
+ * @param id
7365
+ * @param body - A partially populated DraftModifierGroupEntity
7366
+ * @param options - additional request options
7367
+ */
7368
+ patch_menu_v3_draft_modifier_group(
7369
+ id: string,
7370
+ body: PatchMenuV3DraftModifierGroupBody,
7371
+ options?: RequestOptions
7372
+ ): ResponsePromise<PatchMenuV3DraftModifierGroupResponse> {
7373
+ return this.request(
7374
+ "menu",
7375
+ "patch_menu_v3_draft_modifier_group",
7376
+ "patch",
7377
+ `/menu/v3/draft/modifier-group/${id}`,
7378
+ body,
7379
+ options
7380
+ );
7381
+ }
7382
+
7383
+ /**
7384
+ * DELETE /menu/v3/draft/modifier-group/{id}
7385
+ *
7386
+ * @param id
7387
+ * @param options - additional request options
7388
+ */
7389
+ delete_menu_v3_draft_modifier_group(
7390
+ id: string,
7391
+ options?: RequestOptions
7392
+ ): ResponsePromise<DeleteMenuV3DraftModifierGroupResponse> {
7393
+ return this.request(
7394
+ "menu",
7395
+ "delete_menu_v3_draft_modifier_group",
7396
+ "delete",
7397
+ `/menu/v3/draft/modifier-group/${id}`,
7398
+ null,
7399
+ options
7400
+ );
7401
+ }
7402
+
7403
+ /**
7404
+ * GET /menu/v3/draft/modifier-groups
7405
+ *
7406
+ * @param options - additional request options
7407
+ */
7408
+ get_menu_v3_draft_modifier_groups(
7409
+ options?: {
7410
+ query?: GetMenuV3DraftModifierGroupsQuery;
7411
+ } & RequestOptions
7412
+ ): ResponsePromise<GetMenuV3DraftModifierGroupsResponse> {
7413
+ return this.request(
7414
+ "menu",
7415
+ "get_menu_v3_draft_modifier_groups",
7416
+ "get",
7417
+ `/menu/v3/draft/modifier-groups`,
7418
+ null,
7419
+ options
7420
+ );
7421
+ }
7422
+
7423
+ /**
7424
+ * POST /menu/v3/draft/modifier-groups
7425
+ *
7426
+ * @param body
7427
+ * @param options - additional request options
7428
+ */
7429
+ post_menu_v3_draft_modifier_groups(
7430
+ body: PostMenuV3DraftModifierGroupsBody,
7431
+ options?: RequestOptions
7432
+ ): ResponsePromise<PostMenuV3DraftModifierGroupsResponse> {
7433
+ return this.request(
7434
+ "menu",
7435
+ "post_menu_v3_draft_modifier_groups",
7436
+ "post",
7437
+ `/menu/v3/draft/modifier-groups`,
7438
+ body,
7439
+ options
7440
+ );
7441
+ }
7442
+
7443
+ /**
7444
+ * GET /menu/v3/draft/modifier-groups/count
7445
+ *
7446
+ * @param options - additional request options
7447
+ */
7448
+ get_menu_v3_draft_modifier_groups_count(
7449
+ options?: {
7450
+ query?: GetMenuV3DraftModifierGroupsCountQuery;
7451
+ } & RequestOptions
7452
+ ): ResponsePromise<GetMenuV3DraftModifierGroupsCountResponse> {
7453
+ return this.request(
7454
+ "menu",
7455
+ "get_menu_v3_draft_modifier_groups_count",
7456
+ "get",
7457
+ `/menu/v3/draft/modifier-groups/count`,
7458
+ null,
7459
+ options
7460
+ );
7461
+ }
7462
+
7463
+ /**
7464
+ * POST /menu/v3/draft/modifier-group/relationships/modifier
7465
+ *
7466
+ * @param body
7467
+ * @param options - additional request options
7468
+ */
7469
+ post_menu_v3_draft_modifier_group_relationships_modifier(
7470
+ body: PostMenuV3DraftModifierGroupRelationshipsModifierBody,
7471
+ options?: RequestOptions
7472
+ ): ResponsePromise<PostMenuV3DraftModifierGroupRelationshipsModifierResponse> {
7473
+ return this.request(
7474
+ "menu",
7475
+ "post_menu_v3_draft_modifier_group_relationships_modifier",
7476
+ "post",
7477
+ `/menu/v3/draft/modifier-group/relationships/modifier`,
7478
+ body,
7479
+ options
7480
+ );
7481
+ }
7482
+
7483
+ /**
7484
+ * GET /menu/v3/draft/modifier-group/relationships/modifier/{id}
7485
+ *
7486
+ * @param id
7487
+ * @param options - additional request options
7488
+ */
7489
+ get_menu_v3_draft_modifier_group_relationships_modifier(
7490
+ id: string,
7491
+ options?: {
7492
+ query?: GetMenuV3DraftModifierGroupRelationshipsModifierQuery;
7493
+ } & RequestOptions
7494
+ ): ResponsePromise<GetMenuV3DraftModifierGroupRelationshipsModifierResponse> {
7495
+ return this.request(
7496
+ "menu",
7497
+ "get_menu_v3_draft_modifier_group_relationships_modifier",
7498
+ "get",
7499
+ `/menu/v3/draft/modifier-group/relationships/modifier/${id}`,
7500
+ null,
7501
+ options
7502
+ );
7503
+ }
7504
+
7505
+ /**
7506
+ * PATCH /menu/v3/draft/modifier-group/relationships/modifier/{id}
7507
+ *
7508
+ * @param id
7509
+ * @param body - A partially populated DraftModifierGroupToModifierRelationship
7510
+ * @param options - additional request options
7511
+ */
7512
+ patch_menu_v3_draft_modifier_group_relationships_modifier(
7513
+ id: string,
7514
+ body: PatchMenuV3DraftModifierGroupRelationshipsModifierBody,
7515
+ options?: RequestOptions
7516
+ ): ResponsePromise<PatchMenuV3DraftModifierGroupRelationshipsModifierResponse> {
7517
+ return this.request(
7518
+ "menu",
7519
+ "patch_menu_v3_draft_modifier_group_relationships_modifier",
7520
+ "patch",
7521
+ `/menu/v3/draft/modifier-group/relationships/modifier/${id}`,
7522
+ body,
7523
+ options
7524
+ );
7525
+ }
7526
+
7527
+ /**
7528
+ * DELETE /menu/v3/draft/modifier-group/relationships/modifier/{id}
7529
+ *
7530
+ * @param id
7531
+ * @param options - additional request options
7532
+ */
7533
+ delete_menu_v3_draft_modifier_group_relationships_modifier(
7534
+ id: string,
7535
+ options?: RequestOptions
7536
+ ): ResponsePromise<DeleteMenuV3DraftModifierGroupRelationshipsModifierResponse> {
7537
+ return this.request(
7538
+ "menu",
7539
+ "delete_menu_v3_draft_modifier_group_relationships_modifier",
7540
+ "delete",
7541
+ `/menu/v3/draft/modifier-group/relationships/modifier/${id}`,
7542
+ null,
7543
+ options
7544
+ );
7545
+ }
7546
+
7547
+ /**
7548
+ * GET /menu/v3/draft/modifier-group/relationships/modifiers
7549
+ *
7550
+ * @param options - additional request options
7551
+ */
7552
+ get_menu_v3_draft_modifier_group_relationships_modifiers(
7553
+ options?: {
7554
+ query?: GetMenuV3DraftModifierGroupRelationshipsModifiersQuery;
7555
+ } & RequestOptions
7556
+ ): ResponsePromise<GetMenuV3DraftModifierGroupRelationshipsModifiersResponse> {
7557
+ return this.request(
7558
+ "menu",
7559
+ "get_menu_v3_draft_modifier_group_relationships_modifiers",
7560
+ "get",
7561
+ `/menu/v3/draft/modifier-group/relationships/modifiers`,
7562
+ null,
7563
+ options
7564
+ );
7565
+ }
7566
+
7567
+ /**
7568
+ * POST /menu/v3/draft/modifier-group/relationships/modifiers
7569
+ *
7570
+ * @param body
7571
+ * @param options - additional request options
7572
+ */
7573
+ post_menu_v3_draft_modifier_group_relationships_modifiers(
7574
+ body: PostMenuV3DraftModifierGroupRelationshipsModifiersBody,
7575
+ options?: RequestOptions
7576
+ ): ResponsePromise<PostMenuV3DraftModifierGroupRelationshipsModifiersResponse> {
7577
+ return this.request(
7578
+ "menu",
7579
+ "post_menu_v3_draft_modifier_group_relationships_modifiers",
7580
+ "post",
7581
+ `/menu/v3/draft/modifier-group/relationships/modifiers`,
7582
+ body,
7583
+ options
7584
+ );
7585
+ }
7586
+
7587
+ /**
7588
+ * GET /menu/v3/draft/modifier-group/relationships/modifiers/count
7589
+ *
7590
+ * @param options - additional request options
7591
+ */
7592
+ get_menu_v3_draft_modifier_group_relationships_modifiers_count(
7593
+ options?: {
7594
+ query?: GetMenuV3DraftModifierGroupRelationshipsModifiersCountQuery;
7595
+ } & RequestOptions
7596
+ ): ResponsePromise<GetMenuV3DraftModifierGroupRelationshipsModifiersCountResponse> {
7597
+ return this.request(
7598
+ "menu",
7599
+ "get_menu_v3_draft_modifier_group_relationships_modifiers_count",
7600
+ "get",
7601
+ `/menu/v3/draft/modifier-group/relationships/modifiers/count`,
7602
+ null,
7603
+ options
7604
+ );
7605
+ }
7606
+
7607
+ /**
7608
+ * POST /menu/v3/draft/modifier
7609
+ *
7610
+ * @param body
7611
+ * @param options - additional request options
7612
+ */
7613
+ post_menu_v3_draft_modifier(
7614
+ body: PostMenuV3DraftModifierBody,
7615
+ options?: RequestOptions
7616
+ ): ResponsePromise<PostMenuV3DraftModifierResponse> {
7617
+ return this.request(
7618
+ "menu",
7619
+ "post_menu_v3_draft_modifier",
7620
+ "post",
7621
+ `/menu/v3/draft/modifier`,
7622
+ body,
7623
+ options
7624
+ );
7625
+ }
7626
+
7627
+ /**
7628
+ * GET /menu/v3/draft/modifier/{id}
7629
+ *
7630
+ * @param id
7631
+ * @param options - additional request options
7632
+ */
7633
+ get_menu_v3_draft_modifier(
7634
+ id: string,
7635
+ options?: {
7636
+ query?: GetMenuV3DraftModifierQuery;
7637
+ } & RequestOptions
7638
+ ): ResponsePromise<GetMenuV3DraftModifierResponse> {
7639
+ return this.request(
7640
+ "menu",
7641
+ "get_menu_v3_draft_modifier",
7642
+ "get",
7643
+ `/menu/v3/draft/modifier/${id}`,
7644
+ null,
7645
+ options
7646
+ );
7647
+ }
7648
+
7649
+ /**
7650
+ * PATCH /menu/v3/draft/modifier/{id}
7651
+ *
7652
+ * @param id
7653
+ * @param body - A partially populated DraftModifierEntity
7654
+ * @param options - additional request options
7655
+ */
7656
+ patch_menu_v3_draft_modifier(
7657
+ id: string,
7658
+ body: PatchMenuV3DraftModifierBody,
7659
+ options?: RequestOptions
7660
+ ): ResponsePromise<PatchMenuV3DraftModifierResponse> {
7661
+ return this.request(
7662
+ "menu",
7663
+ "patch_menu_v3_draft_modifier",
7664
+ "patch",
7665
+ `/menu/v3/draft/modifier/${id}`,
7666
+ body,
7667
+ options
7668
+ );
7669
+ }
7670
+
7671
+ /**
7672
+ * DELETE /menu/v3/draft/modifier/{id}
7673
+ *
7674
+ * @param id
7675
+ * @param options - additional request options
7676
+ */
7677
+ delete_menu_v3_draft_modifier(
7678
+ id: string,
7679
+ options?: RequestOptions
7680
+ ): ResponsePromise<DeleteMenuV3DraftModifierResponse> {
7681
+ return this.request(
7682
+ "menu",
7683
+ "delete_menu_v3_draft_modifier",
7684
+ "delete",
7685
+ `/menu/v3/draft/modifier/${id}`,
7686
+ null,
7687
+ options
7688
+ );
7689
+ }
7690
+
7691
+ /**
7692
+ * GET /menu/v3/draft/modifiers
7693
+ *
7694
+ * @param options - additional request options
7695
+ */
7696
+ get_menu_v3_draft_modifiers(
7697
+ options?: {
7698
+ query?: GetMenuV3DraftModifiersQuery;
7699
+ } & RequestOptions
7700
+ ): ResponsePromise<GetMenuV3DraftModifiersResponse> {
7701
+ return this.request(
7702
+ "menu",
7703
+ "get_menu_v3_draft_modifiers",
7704
+ "get",
7705
+ `/menu/v3/draft/modifiers`,
7706
+ null,
7707
+ options
7708
+ );
7709
+ }
7710
+
7711
+ /**
7712
+ * POST /menu/v3/draft/modifiers
7713
+ *
7714
+ * @param body
7715
+ * @param options - additional request options
7716
+ */
7717
+ post_menu_v3_draft_modifiers(
7718
+ body: PostMenuV3DraftModifiersBody,
7719
+ options?: RequestOptions
7720
+ ): ResponsePromise<PostMenuV3DraftModifiersResponse> {
7721
+ return this.request(
7722
+ "menu",
7723
+ "post_menu_v3_draft_modifiers",
7724
+ "post",
7725
+ `/menu/v3/draft/modifiers`,
7726
+ body,
7727
+ options
7728
+ );
7729
+ }
7730
+
7731
+ /**
7732
+ * GET /menu/v3/draft/modifiers/count
7733
+ *
7734
+ * @param options - additional request options
7735
+ */
7736
+ get_menu_v3_draft_modifiers_count(
7737
+ options?: {
7738
+ query?: GetMenuV3DraftModifiersCountQuery;
7739
+ } & RequestOptions
7740
+ ): ResponsePromise<GetMenuV3DraftModifiersCountResponse> {
7741
+ return this.request(
7742
+ "menu",
7743
+ "get_menu_v3_draft_modifiers_count",
7744
+ "get",
7745
+ `/menu/v3/draft/modifiers/count`,
7746
+ null,
7747
+ options
7748
+ );
7749
+ }
7750
+
7751
+ /**
7752
+ * POST /menu/v3/draft/brand
7753
+ *
7754
+ * @param body
7755
+ * @param options - additional request options
7756
+ */
7757
+ post_menu_v3_draft_brand(
7758
+ body: PostMenuV3DraftBrandBody,
7759
+ options?: RequestOptions
7760
+ ): ResponsePromise<PostMenuV3DraftBrandResponse> {
7761
+ return this.request(
7762
+ "menu",
7763
+ "post_menu_v3_draft_brand",
7764
+ "post",
7765
+ `/menu/v3/draft/brand`,
7766
+ body,
7767
+ options
7768
+ );
7769
+ }
7770
+
7771
+ /**
7772
+ * GET /menu/v3/draft/brand/{id}
7773
+ *
7774
+ * @param id
7775
+ * @param options - additional request options
7776
+ */
7777
+ get_menu_v3_draft_brand(
7778
+ id: string,
7779
+ options?: {
7780
+ query?: GetMenuV3DraftBrandQuery;
7781
+ } & RequestOptions
7782
+ ): ResponsePromise<GetMenuV3DraftBrandResponse> {
7783
+ return this.request(
7784
+ "menu",
7785
+ "get_menu_v3_draft_brand",
7786
+ "get",
7787
+ `/menu/v3/draft/brand/${id}`,
7788
+ null,
7789
+ options
7790
+ );
7791
+ }
7792
+
7793
+ /**
7794
+ * PATCH /menu/v3/draft/brand/{id}
7795
+ *
7796
+ * @param id
7797
+ * @param body - A partially populated DraftBrandEntity
7798
+ * @param options - additional request options
7799
+ */
7800
+ patch_menu_v3_draft_brand(
7801
+ id: string,
7802
+ body: PatchMenuV3DraftBrandBody,
7803
+ options?: RequestOptions
7804
+ ): ResponsePromise<PatchMenuV3DraftBrandResponse> {
7805
+ return this.request(
7806
+ "menu",
7807
+ "patch_menu_v3_draft_brand",
7808
+ "patch",
7809
+ `/menu/v3/draft/brand/${id}`,
7810
+ body,
7811
+ options
7812
+ );
7813
+ }
7814
+
7815
+ /**
7816
+ * DELETE /menu/v3/draft/brand/{id}
7817
+ *
7818
+ * @param id
7819
+ * @param options - additional request options
7820
+ */
7821
+ delete_menu_v3_draft_brand(
7822
+ id: string,
7823
+ options?: RequestOptions
7824
+ ): ResponsePromise<DeleteMenuV3DraftBrandResponse> {
7825
+ return this.request(
7826
+ "menu",
7827
+ "delete_menu_v3_draft_brand",
7828
+ "delete",
7829
+ `/menu/v3/draft/brand/${id}`,
7830
+ null,
7831
+ options
7832
+ );
7833
+ }
7834
+
7835
+ /**
7836
+ * GET /menu/v3/draft/brands
7837
+ *
7838
+ * @param options - additional request options
7839
+ */
7840
+ get_menu_v3_draft_brands(
7841
+ options?: {
7842
+ query?: GetMenuV3DraftBrandsQuery;
7843
+ } & RequestOptions
7844
+ ): ResponsePromise<GetMenuV3DraftBrandsResponse> {
7845
+ return this.request(
7846
+ "menu",
7847
+ "get_menu_v3_draft_brands",
7848
+ "get",
7849
+ `/menu/v3/draft/brands`,
7850
+ null,
7851
+ options
7852
+ );
7853
+ }
7854
+
7855
+ /**
7856
+ * POST /menu/v3/draft/brands
7857
+ *
7858
+ * @param body
7859
+ * @param options - additional request options
7860
+ */
7861
+ post_menu_v3_draft_brands(
7862
+ body: PostMenuV3DraftBrandsBody,
7863
+ options?: RequestOptions
7864
+ ): ResponsePromise<PostMenuV3DraftBrandsResponse> {
7865
+ return this.request(
7866
+ "menu",
7867
+ "post_menu_v3_draft_brands",
7868
+ "post",
7869
+ `/menu/v3/draft/brands`,
7870
+ body,
7871
+ options
7872
+ );
7873
+ }
7874
+
7875
+ /**
7876
+ * GET /menu/v3/draft/brands/count
7877
+ *
7878
+ * @param options - additional request options
7879
+ */
7880
+ get_menu_v3_draft_brands_count(
7881
+ options?: {
7882
+ query?: GetMenuV3DraftBrandsCountQuery;
7883
+ } & RequestOptions
7884
+ ): ResponsePromise<GetMenuV3DraftBrandsCountResponse> {
7885
+ return this.request(
7886
+ "menu",
7887
+ "get_menu_v3_draft_brands_count",
7888
+ "get",
7889
+ `/menu/v3/draft/brands/count`,
7890
+ null,
7891
+ options
7892
+ );
7893
+ }
7894
+
7895
+ /**
7896
+ * GET /menu/v3/draft/brand/{id}/modifiers
7897
+ *
7898
+ * @param id
7899
+ * @param options - additional request options
7900
+ */
7901
+ get_menu_v3_draft_brand_modifiers(
7902
+ id: string,
7903
+ options?: {
7904
+ query?: GetMenuV3DraftBrandModifiersQuery;
7905
+ } & RequestOptions
7906
+ ): ResponsePromise<GetMenuV3DraftBrandModifiersResponse> {
7907
+ return this.request(
7908
+ "menu",
7909
+ "get_menu_v3_draft_brand_modifiers",
7910
+ "get",
7911
+ `/menu/v3/draft/brand/${id}/modifiers`,
7912
+ null,
7913
+ options
7914
+ );
7915
+ }
7916
+
7917
+ /**
7918
+ * GET /menu/v3/draft/brand/{id}/modifier_groups
7919
+ *
7920
+ * @param id
7921
+ * @param options - additional request options
7922
+ */
7923
+ get_menu_v3_draft_brand_modifier_groups(
7924
+ id: string,
7925
+ options?: {
7926
+ query?: GetMenuV3DraftBrandModifierGroupsQuery;
7927
+ } & RequestOptions
7928
+ ): ResponsePromise<GetMenuV3DraftBrandModifierGroupsResponse> {
7929
+ return this.request(
7930
+ "menu",
7931
+ "get_menu_v3_draft_brand_modifier_groups",
7932
+ "get",
7933
+ `/menu/v3/draft/brand/${id}/modifier_groups`,
7934
+ null,
7935
+ options
7936
+ );
7937
+ }
7938
+
7939
+ /**
7940
+ * GET /menu/v3/draft/brand/{id}/items
7941
+ *
7942
+ * @param id
7943
+ * @param options - additional request options
7944
+ */
7945
+ get_menu_v3_draft_brand_items(
7946
+ id: string,
7947
+ options?: {
7948
+ query?: GetMenuV3DraftBrandItemsQuery;
7949
+ } & RequestOptions
7950
+ ): ResponsePromise<GetMenuV3DraftBrandItemsResponse> {
7951
+ return this.request(
7952
+ "menu",
7953
+ "get_menu_v3_draft_brand_items",
7954
+ "get",
7955
+ `/menu/v3/draft/brand/${id}/items`,
7956
+ null,
7957
+ options
7958
+ );
7959
+ }
7960
+
7961
+ /**
7962
+ * POST /menu/v3/draft/brand/{id}/publish
7963
+ *
7964
+ * @param id
7965
+ * @param options - additional request options
7966
+ */
7967
+ post_menu_v3_draft_brand_publish(
7968
+ id: string,
7969
+ options?: RequestOptions
7970
+ ): ResponsePromise<PostMenuV3DraftBrandPublishResponse> {
7971
+ return this.request(
7972
+ "menu",
7973
+ "post_menu_v3_draft_brand_publish",
7974
+ "post",
7975
+ `/menu/v3/draft/brand/${id}/publish`,
7976
+ null,
7977
+ options
7978
+ );
7979
+ }
7980
+
7981
+ /**
7982
+ * POST /menu/v3/draft/station
7983
+ *
7984
+ * @param body
7985
+ * @param options - additional request options
7986
+ */
7987
+ post_menu_v3_draft_station(
7988
+ body: PostMenuV3DraftStationBody,
7989
+ options?: RequestOptions
7990
+ ): ResponsePromise<PostMenuV3DraftStationResponse> {
7991
+ return this.request(
7992
+ "menu",
7993
+ "post_menu_v3_draft_station",
7994
+ "post",
7995
+ `/menu/v3/draft/station`,
7996
+ body,
7997
+ options
7998
+ );
7999
+ }
8000
+
8001
+ /**
8002
+ * GET /menu/v3/draft/station/{id}
8003
+ *
8004
+ * @param id
8005
+ * @param options - additional request options
8006
+ */
8007
+ get_menu_v3_draft_station(
8008
+ id: string,
8009
+ options?: {
8010
+ query?: GetMenuV3DraftStationQuery;
8011
+ } & RequestOptions
8012
+ ): ResponsePromise<GetMenuV3DraftStationResponse> {
8013
+ return this.request(
8014
+ "menu",
8015
+ "get_menu_v3_draft_station",
8016
+ "get",
8017
+ `/menu/v3/draft/station/${id}`,
8018
+ null,
8019
+ options
8020
+ );
8021
+ }
8022
+
8023
+ /**
8024
+ * PATCH /menu/v3/draft/station/{id}
8025
+ *
8026
+ * @param id
8027
+ * @param body - A partially populated StationEntity
8028
+ * @param options - additional request options
8029
+ */
8030
+ patch_menu_v3_draft_station(
8031
+ id: string,
8032
+ body: PatchMenuV3DraftStationBody,
8033
+ options?: RequestOptions
8034
+ ): ResponsePromise<PatchMenuV3DraftStationResponse> {
8035
+ return this.request(
8036
+ "menu",
8037
+ "patch_menu_v3_draft_station",
8038
+ "patch",
8039
+ `/menu/v3/draft/station/${id}`,
8040
+ body,
8041
+ options
8042
+ );
8043
+ }
8044
+
8045
+ /**
8046
+ * DELETE /menu/v3/draft/station/{id}
8047
+ *
8048
+ * @param id
8049
+ * @param options - additional request options
8050
+ */
8051
+ delete_menu_v3_draft_station(
8052
+ id: string,
8053
+ options?: RequestOptions
8054
+ ): ResponsePromise<DeleteMenuV3DraftStationResponse> {
8055
+ return this.request(
8056
+ "menu",
8057
+ "delete_menu_v3_draft_station",
8058
+ "delete",
8059
+ `/menu/v3/draft/station/${id}`,
8060
+ null,
8061
+ options
8062
+ );
8063
+ }
8064
+
8065
+ /**
8066
+ * GET /menu/v3/draft/stations
8067
+ *
8068
+ * @param options - additional request options
8069
+ */
8070
+ get_menu_v3_draft_stations(
8071
+ options?: {
8072
+ query?: GetMenuV3DraftStationsQuery;
8073
+ } & RequestOptions
8074
+ ): ResponsePromise<GetMenuV3DraftStationsResponse> {
8075
+ return this.request(
8076
+ "menu",
8077
+ "get_menu_v3_draft_stations",
8078
+ "get",
8079
+ `/menu/v3/draft/stations`,
8080
+ null,
8081
+ options
8082
+ );
8083
+ }
8084
+
8085
+ /**
8086
+ * POST /menu/v3/draft/stations
8087
+ *
8088
+ * @param body
8089
+ * @param options - additional request options
8090
+ */
8091
+ post_menu_v3_draft_stations(
8092
+ body: PostMenuV3DraftStationsBody,
8093
+ options?: RequestOptions
8094
+ ): ResponsePromise<PostMenuV3DraftStationsResponse> {
8095
+ return this.request(
8096
+ "menu",
8097
+ "post_menu_v3_draft_stations",
8098
+ "post",
8099
+ `/menu/v3/draft/stations`,
8100
+ body,
8101
+ options
8102
+ );
8103
+ }
8104
+
8105
+ /**
8106
+ * GET /menu/v3/draft/stations/count
8107
+ *
8108
+ * @param options - additional request options
8109
+ */
8110
+ get_menu_v3_draft_stations_count(
8111
+ options?: {
8112
+ query?: GetMenuV3DraftStationsCountQuery;
8113
+ } & RequestOptions
8114
+ ): ResponsePromise<GetMenuV3DraftStationsCountResponse> {
8115
+ return this.request(
8116
+ "menu",
8117
+ "get_menu_v3_draft_stations_count",
8118
+ "get",
8119
+ `/menu/v3/draft/stations/count`,
8120
+ null,
8121
+ options
8122
+ );
8123
+ }
8124
+
8125
+ /**
8126
+ * GET /menu/v3/draft/station/{id}/modifiers
8127
+ *
8128
+ * @param id
8129
+ * @param options - additional request options
8130
+ */
8131
+ get_menu_v3_draft_station_modifiers(
8132
+ id: string,
8133
+ options?: {
8134
+ query?: GetMenuV3DraftStationModifiersQuery;
8135
+ } & RequestOptions
8136
+ ): ResponsePromise<GetMenuV3DraftStationModifiersResponse> {
8137
+ return this.request(
8138
+ "menu",
8139
+ "get_menu_v3_draft_station_modifiers",
8140
+ "get",
8141
+ `/menu/v3/draft/station/${id}/modifiers`,
8142
+ null,
8143
+ options
8144
+ );
8145
+ }
8146
+
8147
+ /**
8148
+ * GET /menu/v3/draft/station/{id}/modifier_groups
8149
+ *
8150
+ * @param id
8151
+ * @param options - additional request options
8152
+ */
8153
+ get_menu_v3_draft_station_modifier_groups(
8154
+ id: string,
8155
+ options?: {
8156
+ query?: GetMenuV3DraftStationModifierGroupsQuery;
8157
+ } & RequestOptions
8158
+ ): ResponsePromise<GetMenuV3DraftStationModifierGroupsResponse> {
8159
+ return this.request(
8160
+ "menu",
8161
+ "get_menu_v3_draft_station_modifier_groups",
8162
+ "get",
8163
+ `/menu/v3/draft/station/${id}/modifier_groups`,
8164
+ null,
8165
+ options
8166
+ );
8167
+ }
8168
+
8169
+ /**
8170
+ * GET /menu/v3/draft/station/{id}/items
8171
+ *
8172
+ * @param id
8173
+ * @param options - additional request options
8174
+ */
8175
+ get_menu_v3_draft_station_items(
8176
+ id: string,
8177
+ options?: {
8178
+ query?: GetMenuV3DraftStationItemsQuery;
8179
+ } & RequestOptions
8180
+ ): ResponsePromise<GetMenuV3DraftStationItemsResponse> {
8181
+ return this.request(
8182
+ "menu",
8183
+ "get_menu_v3_draft_station_items",
8184
+ "get",
8185
+ `/menu/v3/draft/station/${id}/items`,
8186
+ null,
8187
+ options
8188
+ );
8189
+ }
8190
+
8191
+ /**
8192
+ * GET /menu/v3/draft/site/{id}/layouts
8193
+ *
8194
+ * @param id
8195
+ * @param options - additional request options
8196
+ */
8197
+ get_menu_v3_draft_site_layouts(
8198
+ id: string,
8199
+ options?: {
8200
+ query?: GetMenuV3DraftSiteLayoutsQuery;
8201
+ } & RequestOptions
8202
+ ): ResponsePromise<GetMenuV3DraftSiteLayoutsResponse> {
8203
+ return this.request(
8204
+ "menu",
8205
+ "get_menu_v3_draft_site_layouts",
8206
+ "get",
8207
+ `/menu/v3/draft/site/${id}/layouts`,
8208
+ null,
8209
+ options
8210
+ );
8211
+ }
8212
+
8213
+ /**
8214
+ * GET /menu/v3/categorys/count
8215
+ *
8216
+ * @param options - additional request options
8217
+ */
8218
+ get_menu_v3_categorys_count(
8219
+ options?: {
8220
+ query?: GetMenuV3CategorysCountQuery;
8221
+ } & RequestOptions
8222
+ ): ResponsePromise<GetMenuV3CategorysCountResponse> {
8223
+ return this.request(
8224
+ "menu",
8225
+ "get_menu_v3_categorys_count",
8226
+ "get",
8227
+ `/menu/v3/categorys/count`,
8228
+ null,
8229
+ options
8230
+ );
8231
+ }
8232
+
8233
+ /**
8234
+ * POST /menu/v3/brand/{id}/local
8235
+ *
8236
+ * @param id
8237
+ * @param options - additional request options
8238
+ */
8239
+ post_menu_v3_brand_local(
8240
+ id: string,
8241
+ options?: RequestOptions
8242
+ ): ResponsePromise<PostMenuV3BrandLocalResponse> {
8243
+ return this.request(
8244
+ "menu",
8245
+ "post_menu_v3_brand_local",
8246
+ "post",
8247
+ `/menu/v3/brand/${id}/local`,
8248
+ null,
8249
+ options
8250
+ );
8251
+ }
8252
+
6880
8253
  /**
6881
8254
  * GET /notification - Get all notifications
6882
8255
  *