@compassdigital/sdk.typescript 3.50.0 → 3.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/.editorconfig +0 -1
  2. package/lib/index.d.ts +885 -295
  3. package/lib/index.d.ts.map +1 -1
  4. package/lib/index.js +958 -316
  5. package/lib/index.js.map +1 -1
  6. package/lib/interface/announcement.d.ts +1 -0
  7. package/lib/interface/announcement.d.ts.map +1 -1
  8. package/lib/interface/calendar.d.ts +1 -0
  9. package/lib/interface/calendar.d.ts.map +1 -1
  10. package/lib/interface/compassconnect.d.ts +1 -0
  11. package/lib/interface/compassconnect.d.ts.map +1 -1
  12. package/lib/interface/config.d.ts +1 -0
  13. package/lib/interface/config.d.ts.map +1 -1
  14. package/lib/interface/datalake.d.ts +1 -0
  15. package/lib/interface/datalake.d.ts.map +1 -1
  16. package/lib/interface/delivery.d.ts +19 -0
  17. package/lib/interface/delivery.d.ts.map +1 -1
  18. package/lib/interface/email.d.ts +1 -0
  19. package/lib/interface/email.d.ts.map +1 -1
  20. package/lib/interface/file.d.ts +1 -0
  21. package/lib/interface/file.d.ts.map +1 -1
  22. package/lib/interface/kds.d.ts +1 -0
  23. package/lib/interface/kds.d.ts.map +1 -1
  24. package/lib/interface/location.d.ts +1 -0
  25. package/lib/interface/location.d.ts.map +1 -1
  26. package/lib/interface/mealplan.d.ts +1 -0
  27. package/lib/interface/mealplan.d.ts.map +1 -1
  28. package/lib/interface/menu.d.ts +3289 -802
  29. package/lib/interface/menu.d.ts.map +1 -1
  30. package/lib/interface/notification.d.ts +1 -0
  31. package/lib/interface/notification.d.ts.map +1 -1
  32. package/lib/interface/order.d.ts +1 -0
  33. package/lib/interface/order.d.ts.map +1 -1
  34. package/lib/interface/partner.d.ts +20 -1
  35. package/lib/interface/partner.d.ts.map +1 -1
  36. package/lib/interface/payment.d.ts +21 -18
  37. package/lib/interface/payment.d.ts.map +1 -1
  38. package/lib/interface/permission.d.ts +1 -0
  39. package/lib/interface/permission.d.ts.map +1 -1
  40. package/lib/interface/promo.d.ts +1 -0
  41. package/lib/interface/promo.d.ts.map +1 -1
  42. package/lib/interface/report.d.ts +20 -0
  43. package/lib/interface/report.d.ts.map +1 -1
  44. package/lib/interface/shoppingcart.d.ts +13 -4
  45. package/lib/interface/shoppingcart.d.ts.map +1 -1
  46. package/lib/interface/task.d.ts +1 -0
  47. package/lib/interface/task.d.ts.map +1 -1
  48. package/lib/interface/user.d.ts +1 -0
  49. package/lib/interface/user.d.ts.map +1 -1
  50. package/lib/interface/vendor.d.ts +1 -0
  51. package/lib/interface/vendor.d.ts.map +1 -1
  52. package/manifest.json +39 -39
  53. package/package.json +3 -3
  54. package/src/index.ts +2291 -613
  55. package/src/interface/announcement.ts +1 -0
  56. package/src/interface/calendar.ts +1 -0
  57. package/src/interface/compassconnect.ts +1 -0
  58. package/src/interface/config.ts +1 -0
  59. package/src/interface/datalake.ts +1 -0
  60. package/src/interface/delivery.ts +28 -0
  61. package/src/interface/email.ts +1 -0
  62. package/src/interface/file.ts +1 -0
  63. package/src/interface/kds.ts +1 -0
  64. package/src/interface/location.ts +1 -0
  65. package/src/interface/mealplan.ts +1 -0
  66. package/src/interface/menu.ts +4281 -1043
  67. package/src/interface/notification.ts +1 -0
  68. package/src/interface/order.ts +1 -0
  69. package/src/interface/partner.ts +35 -2
  70. package/src/interface/payment.ts +28 -23
  71. package/src/interface/permission.ts +1 -0
  72. package/src/interface/promo.ts +1 -0
  73. package/src/interface/report.ts +37 -0
  74. package/src/interface/shoppingcart.ts +14 -4
  75. package/src/interface/task.ts +1 -0
  76. package/src/interface/user.ts +1 -0
  77. package/src/interface/vendor.ts +1 -0
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,178 @@ 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,
782
+ PostMenuV3ItemAttachmentQuery,
783
+ PostMenuV3ItemAttachmentResponse,
784
+ PostMenuV3BrandAttachmentQuery,
785
+ PostMenuV3BrandAttachmentResponse,
786
+ PostMenuV3BrandGroupBody,
787
+ PostMenuV3BrandGroupResponse,
788
+ GetMenuV3BrandGroupQuery,
789
+ GetMenuV3BrandGroupResponse,
790
+ PatchMenuV3BrandGroupBody,
791
+ PatchMenuV3BrandGroupResponse,
792
+ DeleteMenuV3BrandGroupResponse,
793
+ GetMenuV3BrandGroupsQuery,
794
+ GetMenuV3BrandGroupsResponse,
795
+ PostMenuV3BrandGroupsBody,
796
+ PostMenuV3BrandGroupsResponse,
797
+ GetMenuV3BrandGroupsCountQuery,
798
+ GetMenuV3BrandGroupsCountResponse,
799
+ GetMenuV3BrandGroupDraftBrandsQuery,
800
+ GetMenuV3BrandGroupDraftBrandsResponse,
801
+ GetMenuV3BrandGroupBrandsQuery,
802
+ GetMenuV3BrandGroupBrandsResponse,
803
+ GetMenuV3DraftBrandGroupBrandsQuery,
804
+ GetMenuV3DraftBrandGroupBrandsResponse,
667
805
  } from "./interface/menu";
668
806
 
669
807
  import {
@@ -746,6 +884,8 @@ import {
746
884
  GetDeliveryOrderResponse,
747
885
  GetDeliveryQuery,
748
886
  GetDeliveryResponse,
887
+ PostDeliveryAvailabilityBody,
888
+ PostDeliveryAvailabilityResponse,
749
889
  } from "./interface/delivery";
750
890
 
751
891
  import {
@@ -1028,66 +1168,66 @@ export class ServiceClient extends BaseServiceClient {
1028
1168
  }
1029
1169
 
1030
1170
  /**
1031
- * GET /payment/{id}/badgepay
1171
+ * GET /payment/{id}/cashless
1032
1172
  *
1033
1173
  * @param id - TODO: add parameter to swagger.json
1034
1174
  * @param options - additional request options
1035
1175
  */
1036
- get_payment_badgepay(
1176
+ get_payment_cashless(
1037
1177
  id: string,
1038
1178
  options?: {
1039
- query?: GetPaymentBadgepayQuery;
1179
+ query?: GetPaymentCashlessQuery;
1040
1180
  } & RequestOptions
1041
- ): ResponsePromise<GetPaymentBadgepayResponse> {
1181
+ ): ResponsePromise<GetPaymentCashlessResponse> {
1042
1182
  return this.request(
1043
1183
  "payment",
1044
- "get_payment_badgepay",
1184
+ "get_payment_cashless",
1045
1185
  "get",
1046
- `/payment/${id}/badgepay`,
1186
+ `/payment/${id}/cashless`,
1047
1187
  null,
1048
1188
  options
1049
1189
  );
1050
1190
  }
1051
1191
 
1052
1192
  /**
1053
- * POST /payment/{id}/badgepay
1193
+ * POST /payment/{id}/cashless
1054
1194
  *
1055
1195
  * @param id - TODO: add parameter to swagger.json
1056
1196
  * @param body
1057
1197
  * @param options - additional request options
1058
1198
  */
1059
- post_payment_badgepay(
1199
+ post_payment_cashless(
1060
1200
  id: string,
1061
- body: PostPaymentBadgepayBody,
1201
+ body: PostPaymentCashlessBody,
1062
1202
  options?: RequestOptions
1063
- ): ResponsePromise<PostPaymentBadgepayResponse> {
1203
+ ): ResponsePromise<PostPaymentCashlessResponse> {
1064
1204
  return this.request(
1065
1205
  "payment",
1066
- "post_payment_badgepay",
1206
+ "post_payment_cashless",
1067
1207
  "post",
1068
- `/payment/${id}/badgepay`,
1208
+ `/payment/${id}/cashless`,
1069
1209
  body,
1070
1210
  options
1071
1211
  );
1072
1212
  }
1073
1213
 
1074
1214
  /**
1075
- * DELETE /payment/{id}/badgepay
1215
+ * DELETE /payment/{id}/cashless
1076
1216
  *
1077
1217
  * @param id - TODO: add parameter to swagger.json
1078
1218
  * @param body
1079
1219
  * @param options - additional request options
1080
1220
  */
1081
- delete_payment_badgepay(
1221
+ delete_payment_cashless(
1082
1222
  id: string,
1083
- body: DeletePaymentBadgepayBody,
1223
+ body: DeletePaymentCashlessBody,
1084
1224
  options?: RequestOptions
1085
- ): ResponsePromise<DeletePaymentBadgepayResponse> {
1225
+ ): ResponsePromise<DeletePaymentCashlessResponse> {
1086
1226
  return this.request(
1087
1227
  "payment",
1088
- "delete_payment_badgepay",
1228
+ "delete_payment_cashless",
1089
1229
  "delete",
1090
- `/payment/${id}/badgepay`,
1230
+ `/payment/${id}/cashless`,
1091
1231
  body,
1092
1232
  options
1093
1233
  );
@@ -2860,6 +3000,28 @@ export class ServiceClient extends BaseServiceClient {
2860
3000
  );
2861
3001
  }
2862
3002
 
3003
+ /**
3004
+ * POST /partner/{id}/menu - Create a Partner menu from files(only xls for now)
3005
+ *
3006
+ * @param id - partner
3007
+ * @param body
3008
+ * @param options - additional request options
3009
+ */
3010
+ post_partner_menu(
3011
+ id: string,
3012
+ body: PostPartnerMenuBody,
3013
+ options?: RequestOptions
3014
+ ): ResponsePromise<PostPartnerMenuResponse> {
3015
+ return this.request(
3016
+ "partner",
3017
+ "post_partner_menu",
3018
+ "post",
3019
+ `/partner/${id}/menu`,
3020
+ body,
3021
+ options
3022
+ );
3023
+ }
3024
+
2863
3025
  /**
2864
3026
  * POST /email - Send an email
2865
3027
  *
@@ -4098,6 +4260,28 @@ export class ServiceClient extends BaseServiceClient {
4098
4260
  );
4099
4261
  }
4100
4262
 
4263
+ /**
4264
+ * GET /report/eod/group/{id}/items - Get items sales report for selected location group
4265
+ *
4266
+ * @param id
4267
+ * @param options - additional request options
4268
+ */
4269
+ get_report_eod_group_items(
4270
+ id: string,
4271
+ options: {
4272
+ query: GetReportEodGroupItemsQuery;
4273
+ } & RequestOptions
4274
+ ): ResponsePromise<GetReportEodGroupItemsResponse> {
4275
+ return this.request(
4276
+ "report",
4277
+ "get_report_eod_group_items",
4278
+ "get",
4279
+ `/report/eod/group/${id}/items`,
4280
+ null,
4281
+ options
4282
+ );
4283
+ }
4284
+
4101
4285
  /**
4102
4286
  * GET /user/auth - Gets the JWT token for a user
4103
4287
  *
@@ -4797,26 +4981,6 @@ export class ServiceClient extends BaseServiceClient {
4797
4981
  );
4798
4982
  }
4799
4983
 
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
4984
  /**
4821
4985
  * GET /menu/v3/modifier/{id}
4822
4986
  *
@@ -4839,48 +5003,6 @@ export class ServiceClient extends BaseServiceClient {
4839
5003
  );
4840
5004
  }
4841
5005
 
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
5006
  /**
4885
5007
  * POST /menu/v3/modifier
4886
5008
  *
@@ -4941,26 +5063,6 @@ export class ServiceClient extends BaseServiceClient {
4941
5063
  );
4942
5064
  }
4943
5065
 
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
5066
  /**
4965
5067
  * POST /menu/v3/modifier-group
4966
5068
  *
@@ -5003,48 +5105,6 @@ export class ServiceClient extends BaseServiceClient {
5003
5105
  );
5004
5106
  }
5005
5107
 
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
5108
  /**
5049
5109
  * GET /menu/v3/modifier-group/count
5050
5110
  *
@@ -5085,26 +5145,6 @@ export class ServiceClient extends BaseServiceClient {
5085
5145
  );
5086
5146
  }
5087
5147
 
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
5148
  /**
5109
5149
  * POST /menu/v3/modifier-group/relationships/modifier
5110
5150
  *
@@ -5147,48 +5187,6 @@ export class ServiceClient extends BaseServiceClient {
5147
5187
  );
5148
5188
  }
5149
5189
 
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
5190
  /**
5193
5191
  * GET /menu/v3/items
5194
5192
  *
@@ -5202,19 +5200,6 @@ export class ServiceClient extends BaseServiceClient {
5202
5200
  return this.request("menu", "get_menu_v3_items", "get", `/menu/v3/items`, null, options);
5203
5201
  }
5204
5202
 
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
5203
  /**
5219
5204
  * GET /menu/v3/item/{id}
5220
5205
  *
@@ -5230,48 +5215,6 @@ export class ServiceClient extends BaseServiceClient {
5230
5215
  return this.request("menu", "get_menu_v3_item", "get", `/menu/v3/item/${id}`, null, options);
5231
5216
  }
5232
5217
 
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
5218
  /**
5276
5219
  * POST /menu/v3/item
5277
5220
  *
@@ -5325,26 +5268,6 @@ export class ServiceClient extends BaseServiceClient {
5325
5268
  );
5326
5269
  }
5327
5270
 
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
5271
  /**
5349
5272
  * POST /menu/v3/item/relationships/modifier-group
5350
5273
  *
@@ -5388,97 +5311,42 @@ export class ServiceClient extends BaseServiceClient {
5388
5311
  }
5389
5312
 
5390
5313
  /**
5391
- * PATCH /menu/v3/item/relationships/modifier-group/{id}
5314
+ * GET /menu/v3/layouts
5392
5315
  *
5393
- * @param id
5394
- * @param body - A partially populated ItemToModifierGroupRelationship
5395
5316
  * @param options - additional request options
5396
5317
  */
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
- );
5318
+ get_menu_v3_layouts(
5319
+ options?: {
5320
+ query?: GetMenuV3LayoutsQuery;
5321
+ } & RequestOptions
5322
+ ): ResponsePromise<GetMenuV3LayoutsResponse> {
5323
+ return this.request("menu", "get_menu_v3_layouts", "get", `/menu/v3/layouts`, null, options);
5410
5324
  }
5411
5325
 
5412
5326
  /**
5413
- * DELETE /menu/v3/item/relationships/modifier-group/{id}
5327
+ * GET /menu/v3/layout/{id}/categories
5414
5328
  *
5415
5329
  * @param id
5416
5330
  * @param options - additional request options
5417
5331
  */
5418
- delete_menu_v3_item_relationships_modifier_group(
5332
+ get_menu_v3_layout_categories(
5419
5333
  id: string,
5420
- options?: RequestOptions
5421
- ): ResponsePromise<DeleteMenuV3ItemRelationshipsModifierGroupResponse> {
5334
+ options?: {
5335
+ query?: GetMenuV3LayoutCategoriesQuery;
5336
+ } & RequestOptions
5337
+ ): ResponsePromise<GetMenuV3LayoutCategoriesResponse> {
5422
5338
  return this.request(
5423
5339
  "menu",
5424
- "delete_menu_v3_item_relationships_modifier_group",
5425
- "delete",
5426
- `/menu/v3/item/relationships/modifier-group/${id}`,
5340
+ "get_menu_v3_layout_categories",
5341
+ "get",
5342
+ `/menu/v3/layout/${id}/categories`,
5427
5343
  null,
5428
5344
  options
5429
5345
  );
5430
5346
  }
5431
5347
 
5432
5348
  /**
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}
5349
+ * GET /menu/v3/layout/{id}
5482
5350
  *
5483
5351
  * @param id
5484
5352
  * @param options - additional request options
@@ -5499,48 +5367,6 @@ export class ServiceClient extends BaseServiceClient {
5499
5367
  );
5500
5368
  }
5501
5369
 
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
5370
  /**
5545
5371
  * POST /menu/v3/layout
5546
5372
  *
@@ -5596,48 +5422,6 @@ export class ServiceClient extends BaseServiceClient {
5596
5422
  );
5597
5423
  }
5598
5424
 
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
5425
  /**
5642
5426
  * POST /menu/v3/category
5643
5427
  *
@@ -5698,26 +5482,6 @@ export class ServiceClient extends BaseServiceClient {
5698
5482
  );
5699
5483
  }
5700
5484
 
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
5485
  /**
5722
5486
  * POST /menu/v3/category/relationships/item
5723
5487
  *
@@ -5760,48 +5524,6 @@ export class ServiceClient extends BaseServiceClient {
5760
5524
  );
5761
5525
  }
5762
5526
 
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
5527
  /**
5806
5528
  * GET /menu/v3/brands
5807
5529
  *
@@ -5913,7 +5635,7 @@ export class ServiceClient extends BaseServiceClient {
5913
5635
  * PATCH /menu/v3/brand/{id}
5914
5636
  *
5915
5637
  * @param id
5916
- * @param body - A partially populated BrandEntity
5638
+ * @param body - A partially populated PublishedBrandEntity
5917
5639
  * @param options - additional request options
5918
5640
  */
5919
5641
  patch_menu_v3_brand(
@@ -6878,164 +6600,2098 @@ export class ServiceClient extends BaseServiceClient {
6878
6600
  }
6879
6601
 
6880
6602
  /**
6881
- * GET /notification - Get all notifications
6603
+ * POST /menu/v3/draft/layout
6882
6604
  *
6605
+ * @param body
6883
6606
  * @param options - additional request options
6884
6607
  */
6885
- get_notifications(
6886
- options: {
6887
- query: GetNotificationsQuery;
6888
- } & RequestOptions
6889
- ): ResponsePromise<GetNotificationsResponse> {
6890
- return this.request("notification", "get_notifications", "get", `/notification`, null, options);
6608
+ post_menu_v3_draft_layout(
6609
+ body: PostMenuV3DraftLayoutBody,
6610
+ options?: RequestOptions
6611
+ ): ResponsePromise<PostMenuV3DraftLayoutResponse> {
6612
+ return this.request(
6613
+ "menu",
6614
+ "post_menu_v3_draft_layout",
6615
+ "post",
6616
+ `/menu/v3/draft/layout`,
6617
+ body,
6618
+ options
6619
+ );
6891
6620
  }
6892
6621
 
6893
6622
  /**
6894
- * POST /notification - Create a notification
6623
+ * GET /menu/v3/draft/layout/{id}
6895
6624
  *
6896
- * @param body
6625
+ * @param id
6897
6626
  * @param options - additional request options
6898
6627
  */
6899
- post_notification(
6900
- body: PostNotificationBody,
6901
- options?: RequestOptions
6902
- ): ResponsePromise<PostNotificationResponse> {
6628
+ get_menu_v3_draft_layout(
6629
+ id: string,
6630
+ options?: {
6631
+ query?: GetMenuV3DraftLayoutQuery;
6632
+ } & RequestOptions
6633
+ ): ResponsePromise<GetMenuV3DraftLayoutResponse> {
6903
6634
  return this.request(
6904
- "notification",
6905
- "post_notification",
6906
- "post",
6907
- `/notification`,
6908
- body,
6635
+ "menu",
6636
+ "get_menu_v3_draft_layout",
6637
+ "get",
6638
+ `/menu/v3/draft/layout/${id}`,
6639
+ null,
6909
6640
  options
6910
6641
  );
6911
6642
  }
6912
6643
 
6913
6644
  /**
6914
- * PATCH /notification/{id} - Update a notification
6645
+ * PATCH /menu/v3/draft/layout/{id}
6915
6646
  *
6916
- * @param id - Id of a notification
6917
- * @param body
6647
+ * @param id
6648
+ * @param body - A partially populated DraftLayoutEntity
6918
6649
  * @param options - additional request options
6919
6650
  */
6920
- patch_notification(
6651
+ patch_menu_v3_draft_layout(
6921
6652
  id: string,
6922
- body: PatchNotificationBody,
6653
+ body: PatchMenuV3DraftLayoutBody,
6923
6654
  options?: RequestOptions
6924
- ): ResponsePromise<PatchNotificationResponse> {
6655
+ ): ResponsePromise<PatchMenuV3DraftLayoutResponse> {
6925
6656
  return this.request(
6926
- "notification",
6927
- "patch_notification",
6657
+ "menu",
6658
+ "patch_menu_v3_draft_layout",
6928
6659
  "patch",
6929
- `/notification/${id}`,
6660
+ `/menu/v3/draft/layout/${id}`,
6930
6661
  body,
6931
6662
  options
6932
6663
  );
6933
6664
  }
6934
6665
 
6935
6666
  /**
6936
- * DELETE /notification/{id} - Delete a notification
6667
+ * DELETE /menu/v3/draft/layout/{id}
6937
6668
  *
6938
- * @param id - Id of a notification
6669
+ * @param id
6939
6670
  * @param options - additional request options
6940
6671
  */
6941
- delete_notification(
6672
+ delete_menu_v3_draft_layout(
6942
6673
  id: string,
6943
6674
  options?: RequestOptions
6944
- ): ResponsePromise<DeleteNotificationResponse> {
6675
+ ): ResponsePromise<DeleteMenuV3DraftLayoutResponse> {
6945
6676
  return this.request(
6946
- "notification",
6947
- "delete_notification",
6677
+ "menu",
6678
+ "delete_menu_v3_draft_layout",
6948
6679
  "delete",
6949
- `/notification/${id}`,
6680
+ `/menu/v3/draft/layout/${id}`,
6950
6681
  null,
6951
6682
  options
6952
6683
  );
6953
6684
  }
6954
6685
 
6955
6686
  /**
6956
- * POST /notification/{id}/status - Set a notification status for request user
6687
+ * GET /menu/v3/draft/layouts
6957
6688
  *
6958
- * @param id - Id of a notification
6959
- * @param body - Status to set
6960
6689
  * @param options - additional request options
6961
6690
  */
6962
- post_notification_status(
6963
- id: string,
6964
- body: PostNotificationStatusBody,
6965
- options?: RequestOptions
6966
- ): ResponsePromise<PostNotificationStatusResponse> {
6691
+ get_menu_v3_draft_layouts(
6692
+ options?: {
6693
+ query?: GetMenuV3DraftLayoutsQuery;
6694
+ } & RequestOptions
6695
+ ): ResponsePromise<GetMenuV3DraftLayoutsResponse> {
6967
6696
  return this.request(
6968
- "notification",
6969
- "post_notification_status",
6970
- "post",
6971
- `/notification/${id}/status`,
6972
- body,
6697
+ "menu",
6698
+ "get_menu_v3_draft_layouts",
6699
+ "get",
6700
+ `/menu/v3/draft/layouts`,
6701
+ null,
6973
6702
  options
6974
6703
  );
6975
6704
  }
6976
6705
 
6977
6706
  /**
6978
- * POST /notification/device/push - Send a push notification to user's device
6707
+ * POST /menu/v3/draft/layouts
6979
6708
  *
6980
- * @param body - Push notification to send
6709
+ * @param body
6981
6710
  * @param options - additional request options
6982
6711
  */
6983
- post_notification_device_push(
6984
- body: PostNotificationDevicePushBody,
6712
+ post_menu_v3_draft_layouts(
6713
+ body: PostMenuV3DraftLayoutsBody,
6985
6714
  options?: RequestOptions
6986
- ): ResponsePromise<PostNotificationDevicePushResponse> {
6715
+ ): ResponsePromise<PostMenuV3DraftLayoutsResponse> {
6987
6716
  return this.request(
6988
- "notification",
6989
- "post_notification_device_push",
6717
+ "menu",
6718
+ "post_menu_v3_draft_layouts",
6990
6719
  "post",
6991
- `/notification/device/push`,
6720
+ `/menu/v3/draft/layouts`,
6992
6721
  body,
6993
6722
  options
6994
6723
  );
6995
6724
  }
6996
6725
 
6997
6726
  /**
6998
- * GET /notification/swagger.json - Get a swagger for notification service
6727
+ * GET /menu/v3/draft/layouts/count
6999
6728
  *
7000
6729
  * @param options - additional request options
7001
6730
  */
7002
- get_notification_swagger(
6731
+ get_menu_v3_draft_layouts_count(
7003
6732
  options?: {
7004
- query?: GetNotificationSwaggerQuery;
6733
+ query?: GetMenuV3DraftLayoutsCountQuery;
7005
6734
  } & RequestOptions
7006
- ): ResponsePromise<GetNotificationSwaggerResponse> {
6735
+ ): ResponsePromise<GetMenuV3DraftLayoutsCountResponse> {
7007
6736
  return this.request(
7008
- "notification",
7009
- "get_notification_swagger",
6737
+ "menu",
6738
+ "get_menu_v3_draft_layouts_count",
7010
6739
  "get",
7011
- `/notification/swagger.json`,
6740
+ `/menu/v3/draft/layouts/count`,
7012
6741
  null,
7013
6742
  options
7014
6743
  );
7015
6744
  }
7016
6745
 
7017
6746
  /**
7018
- * GET /compassconnect/get_oms_token - Gets an OMS token
6747
+ * GET /menu/v3/draft/layout/{id}/categories
7019
6748
  *
6749
+ * @param id
7020
6750
  * @param options - additional request options
7021
6751
  */
7022
- get_compassconnect_oms_token(
7023
- options: {
7024
- query: GetCompassconnectOmsTokenQuery;
6752
+ get_menu_v3_draft_layout_categories(
6753
+ id: string,
6754
+ options?: {
6755
+ query?: GetMenuV3DraftLayoutCategoriesQuery;
7025
6756
  } & RequestOptions
7026
- ): ResponsePromise<GetCompassconnectOmsTokenResponse> {
6757
+ ): ResponsePromise<GetMenuV3DraftLayoutCategoriesResponse> {
7027
6758
  return this.request(
7028
- "compassconnect",
7029
- "get_compassconnect_oms_token",
6759
+ "menu",
6760
+ "get_menu_v3_draft_layout_categories",
7030
6761
  "get",
7031
- `/compassconnect/get_oms_token`,
6762
+ `/menu/v3/draft/layout/${id}/categories`,
7032
6763
  null,
7033
6764
  options
7034
6765
  );
7035
6766
  }
7036
6767
 
7037
6768
  /**
7038
- * POST /vendor/application - Create a new application for review
6769
+ * POST /menu/v3/draft/layout/{id}/publish
6770
+ *
6771
+ * @param id
6772
+ * @param options - additional request options
6773
+ */
6774
+ post_menu_v3_draft_layout_publish(
6775
+ id: string,
6776
+ options?: RequestOptions
6777
+ ): ResponsePromise<PostMenuV3DraftLayoutPublishResponse> {
6778
+ return this.request(
6779
+ "menu",
6780
+ "post_menu_v3_draft_layout_publish",
6781
+ "post",
6782
+ `/menu/v3/draft/layout/${id}/publish`,
6783
+ null,
6784
+ options
6785
+ );
6786
+ }
6787
+
6788
+ /**
6789
+ * POST /menu/v3/draft/category
6790
+ *
6791
+ * @param body
6792
+ * @param options - additional request options
6793
+ */
6794
+ post_menu_v3_draft_category(
6795
+ body: PostMenuV3DraftCategoryBody,
6796
+ options?: RequestOptions
6797
+ ): ResponsePromise<PostMenuV3DraftCategoryResponse> {
6798
+ return this.request(
6799
+ "menu",
6800
+ "post_menu_v3_draft_category",
6801
+ "post",
6802
+ `/menu/v3/draft/category`,
6803
+ body,
6804
+ options
6805
+ );
6806
+ }
6807
+
6808
+ /**
6809
+ * GET /menu/v3/draft/category/{id}
6810
+ *
6811
+ * @param id
6812
+ * @param options - additional request options
6813
+ */
6814
+ get_menu_v3_draft_category(
6815
+ id: string,
6816
+ options?: {
6817
+ query?: GetMenuV3DraftCategoryQuery;
6818
+ } & RequestOptions
6819
+ ): ResponsePromise<GetMenuV3DraftCategoryResponse> {
6820
+ return this.request(
6821
+ "menu",
6822
+ "get_menu_v3_draft_category",
6823
+ "get",
6824
+ `/menu/v3/draft/category/${id}`,
6825
+ null,
6826
+ options
6827
+ );
6828
+ }
6829
+
6830
+ /**
6831
+ * PATCH /menu/v3/draft/category/{id}
6832
+ *
6833
+ * @param id
6834
+ * @param body - A partially populated DraftCategoryEntity
6835
+ * @param options - additional request options
6836
+ */
6837
+ patch_menu_v3_draft_category(
6838
+ id: string,
6839
+ body: PatchMenuV3DraftCategoryBody,
6840
+ options?: RequestOptions
6841
+ ): ResponsePromise<PatchMenuV3DraftCategoryResponse> {
6842
+ return this.request(
6843
+ "menu",
6844
+ "patch_menu_v3_draft_category",
6845
+ "patch",
6846
+ `/menu/v3/draft/category/${id}`,
6847
+ body,
6848
+ options
6849
+ );
6850
+ }
6851
+
6852
+ /**
6853
+ * DELETE /menu/v3/draft/category/{id}
6854
+ *
6855
+ * @param id
6856
+ * @param options - additional request options
6857
+ */
6858
+ delete_menu_v3_draft_category(
6859
+ id: string,
6860
+ options?: RequestOptions
6861
+ ): ResponsePromise<DeleteMenuV3DraftCategoryResponse> {
6862
+ return this.request(
6863
+ "menu",
6864
+ "delete_menu_v3_draft_category",
6865
+ "delete",
6866
+ `/menu/v3/draft/category/${id}`,
6867
+ null,
6868
+ options
6869
+ );
6870
+ }
6871
+
6872
+ /**
6873
+ * GET /menu/v3/draft/categories/count
6874
+ *
6875
+ * @param options - additional request options
6876
+ */
6877
+ get_menu_v3_draft_categories_count(
6878
+ options?: {
6879
+ query?: GetMenuV3DraftCategoriesCountQuery;
6880
+ } & RequestOptions
6881
+ ): ResponsePromise<GetMenuV3DraftCategoriesCountResponse> {
6882
+ return this.request(
6883
+ "menu",
6884
+ "get_menu_v3_draft_categories_count",
6885
+ "get",
6886
+ `/menu/v3/draft/categories/count`,
6887
+ null,
6888
+ options
6889
+ );
6890
+ }
6891
+
6892
+ /**
6893
+ * POST /menu/v3/draft/categorys
6894
+ *
6895
+ * @param body
6896
+ * @param options - additional request options
6897
+ */
6898
+ post_menu_v3_draft_categorys(
6899
+ body: PostMenuV3DraftCategorysBody,
6900
+ options?: RequestOptions
6901
+ ): ResponsePromise<PostMenuV3DraftCategorysResponse> {
6902
+ return this.request(
6903
+ "menu",
6904
+ "post_menu_v3_draft_categorys",
6905
+ "post",
6906
+ `/menu/v3/draft/categorys`,
6907
+ body,
6908
+ options
6909
+ );
6910
+ }
6911
+
6912
+ /**
6913
+ * POST /menu/v3/draft/category/relationships/item
6914
+ *
6915
+ * @param body
6916
+ * @param options - additional request options
6917
+ */
6918
+ post_menu_v3_draft_category_relationships_item(
6919
+ body: PostMenuV3DraftCategoryRelationshipsItemBody,
6920
+ options?: RequestOptions
6921
+ ): ResponsePromise<PostMenuV3DraftCategoryRelationshipsItemResponse> {
6922
+ return this.request(
6923
+ "menu",
6924
+ "post_menu_v3_draft_category_relationships_item",
6925
+ "post",
6926
+ `/menu/v3/draft/category/relationships/item`,
6927
+ body,
6928
+ options
6929
+ );
6930
+ }
6931
+
6932
+ /**
6933
+ * GET /menu/v3/draft/category/relationships/item/{id}
6934
+ *
6935
+ * @param id
6936
+ * @param options - additional request options
6937
+ */
6938
+ get_menu_v3_draft_category_relationships_item(
6939
+ id: string,
6940
+ options?: {
6941
+ query?: GetMenuV3DraftCategoryRelationshipsItemQuery;
6942
+ } & RequestOptions
6943
+ ): ResponsePromise<GetMenuV3DraftCategoryRelationshipsItemResponse> {
6944
+ return this.request(
6945
+ "menu",
6946
+ "get_menu_v3_draft_category_relationships_item",
6947
+ "get",
6948
+ `/menu/v3/draft/category/relationships/item/${id}`,
6949
+ null,
6950
+ options
6951
+ );
6952
+ }
6953
+
6954
+ /**
6955
+ * PATCH /menu/v3/draft/category/relationships/item/{id}
6956
+ *
6957
+ * @param id
6958
+ * @param body - A partially populated DraftCategoryToItemRelationship
6959
+ * @param options - additional request options
6960
+ */
6961
+ patch_menu_v3_draft_category_relationships_item(
6962
+ id: string,
6963
+ body: PatchMenuV3DraftCategoryRelationshipsItemBody,
6964
+ options?: RequestOptions
6965
+ ): ResponsePromise<PatchMenuV3DraftCategoryRelationshipsItemResponse> {
6966
+ return this.request(
6967
+ "menu",
6968
+ "patch_menu_v3_draft_category_relationships_item",
6969
+ "patch",
6970
+ `/menu/v3/draft/category/relationships/item/${id}`,
6971
+ body,
6972
+ options
6973
+ );
6974
+ }
6975
+
6976
+ /**
6977
+ * DELETE /menu/v3/draft/category/relationships/item/{id}
6978
+ *
6979
+ * @param id
6980
+ * @param options - additional request options
6981
+ */
6982
+ delete_menu_v3_draft_category_relationships_item(
6983
+ id: string,
6984
+ options?: RequestOptions
6985
+ ): ResponsePromise<DeleteMenuV3DraftCategoryRelationshipsItemResponse> {
6986
+ return this.request(
6987
+ "menu",
6988
+ "delete_menu_v3_draft_category_relationships_item",
6989
+ "delete",
6990
+ `/menu/v3/draft/category/relationships/item/${id}`,
6991
+ null,
6992
+ options
6993
+ );
6994
+ }
6995
+
6996
+ /**
6997
+ * GET /menu/v3/draft/category/relationships/items
6998
+ *
6999
+ * @param options - additional request options
7000
+ */
7001
+ get_menu_v3_draft_category_relationships_items(
7002
+ options?: {
7003
+ query?: GetMenuV3DraftCategoryRelationshipsItemsQuery;
7004
+ } & RequestOptions
7005
+ ): ResponsePromise<GetMenuV3DraftCategoryRelationshipsItemsResponse> {
7006
+ return this.request(
7007
+ "menu",
7008
+ "get_menu_v3_draft_category_relationships_items",
7009
+ "get",
7010
+ `/menu/v3/draft/category/relationships/items`,
7011
+ null,
7012
+ options
7013
+ );
7014
+ }
7015
+
7016
+ /**
7017
+ * POST /menu/v3/draft/category/relationships/items
7018
+ *
7019
+ * @param body
7020
+ * @param options - additional request options
7021
+ */
7022
+ post_menu_v3_draft_category_relationships_items(
7023
+ body: PostMenuV3DraftCategoryRelationshipsItemsBody,
7024
+ options?: RequestOptions
7025
+ ): ResponsePromise<PostMenuV3DraftCategoryRelationshipsItemsResponse> {
7026
+ return this.request(
7027
+ "menu",
7028
+ "post_menu_v3_draft_category_relationships_items",
7029
+ "post",
7030
+ `/menu/v3/draft/category/relationships/items`,
7031
+ body,
7032
+ options
7033
+ );
7034
+ }
7035
+
7036
+ /**
7037
+ * GET /menu/v3/draft/category/relationships/items/count
7038
+ *
7039
+ * @param options - additional request options
7040
+ */
7041
+ get_menu_v3_draft_category_relationships_items_count(
7042
+ options?: {
7043
+ query?: GetMenuV3DraftCategoryRelationshipsItemsCountQuery;
7044
+ } & RequestOptions
7045
+ ): ResponsePromise<GetMenuV3DraftCategoryRelationshipsItemsCountResponse> {
7046
+ return this.request(
7047
+ "menu",
7048
+ "get_menu_v3_draft_category_relationships_items_count",
7049
+ "get",
7050
+ `/menu/v3/draft/category/relationships/items/count`,
7051
+ null,
7052
+ options
7053
+ );
7054
+ }
7055
+
7056
+ /**
7057
+ * POST /menu/v3/draft/item
7058
+ *
7059
+ * @param body
7060
+ * @param options - additional request options
7061
+ */
7062
+ post_menu_v3_draft_item(
7063
+ body: PostMenuV3DraftItemBody,
7064
+ options?: RequestOptions
7065
+ ): ResponsePromise<PostMenuV3DraftItemResponse> {
7066
+ return this.request(
7067
+ "menu",
7068
+ "post_menu_v3_draft_item",
7069
+ "post",
7070
+ `/menu/v3/draft/item`,
7071
+ body,
7072
+ options
7073
+ );
7074
+ }
7075
+
7076
+ /**
7077
+ * GET /menu/v3/draft/item/{id}
7078
+ *
7079
+ * @param id
7080
+ * @param options - additional request options
7081
+ */
7082
+ get_menu_v3_draft_item(
7083
+ id: string,
7084
+ options?: {
7085
+ query?: GetMenuV3DraftItemQuery;
7086
+ } & RequestOptions
7087
+ ): ResponsePromise<GetMenuV3DraftItemResponse> {
7088
+ return this.request(
7089
+ "menu",
7090
+ "get_menu_v3_draft_item",
7091
+ "get",
7092
+ `/menu/v3/draft/item/${id}`,
7093
+ null,
7094
+ options
7095
+ );
7096
+ }
7097
+
7098
+ /**
7099
+ * PATCH /menu/v3/draft/item/{id}
7100
+ *
7101
+ * @param id
7102
+ * @param body - A partially populated DraftItemEntity
7103
+ * @param options - additional request options
7104
+ */
7105
+ patch_menu_v3_draft_item(
7106
+ id: string,
7107
+ body: PatchMenuV3DraftItemBody,
7108
+ options?: RequestOptions
7109
+ ): ResponsePromise<PatchMenuV3DraftItemResponse> {
7110
+ return this.request(
7111
+ "menu",
7112
+ "patch_menu_v3_draft_item",
7113
+ "patch",
7114
+ `/menu/v3/draft/item/${id}`,
7115
+ body,
7116
+ options
7117
+ );
7118
+ }
7119
+
7120
+ /**
7121
+ * DELETE /menu/v3/draft/item/{id}
7122
+ *
7123
+ * @param id
7124
+ * @param options - additional request options
7125
+ */
7126
+ delete_menu_v3_draft_item(
7127
+ id: string,
7128
+ options?: RequestOptions
7129
+ ): ResponsePromise<DeleteMenuV3DraftItemResponse> {
7130
+ return this.request(
7131
+ "menu",
7132
+ "delete_menu_v3_draft_item",
7133
+ "delete",
7134
+ `/menu/v3/draft/item/${id}`,
7135
+ null,
7136
+ options
7137
+ );
7138
+ }
7139
+
7140
+ /**
7141
+ * GET /menu/v3/draft/items
7142
+ *
7143
+ * @param options - additional request options
7144
+ */
7145
+ get_menu_v3_draft_items(
7146
+ options?: {
7147
+ query?: GetMenuV3DraftItemsQuery;
7148
+ } & RequestOptions
7149
+ ): ResponsePromise<GetMenuV3DraftItemsResponse> {
7150
+ return this.request(
7151
+ "menu",
7152
+ "get_menu_v3_draft_items",
7153
+ "get",
7154
+ `/menu/v3/draft/items`,
7155
+ null,
7156
+ options
7157
+ );
7158
+ }
7159
+
7160
+ /**
7161
+ * POST /menu/v3/draft/items
7162
+ *
7163
+ * @param body
7164
+ * @param options - additional request options
7165
+ */
7166
+ post_menu_v3_draft_items(
7167
+ body: PostMenuV3DraftItemsBody,
7168
+ options?: RequestOptions
7169
+ ): ResponsePromise<PostMenuV3DraftItemsResponse> {
7170
+ return this.request(
7171
+ "menu",
7172
+ "post_menu_v3_draft_items",
7173
+ "post",
7174
+ `/menu/v3/draft/items`,
7175
+ body,
7176
+ options
7177
+ );
7178
+ }
7179
+
7180
+ /**
7181
+ * GET /menu/v3/draft/items/count
7182
+ *
7183
+ * @param options - additional request options
7184
+ */
7185
+ get_menu_v3_draft_items_count(
7186
+ options?: {
7187
+ query?: GetMenuV3DraftItemsCountQuery;
7188
+ } & RequestOptions
7189
+ ): ResponsePromise<GetMenuV3DraftItemsCountResponse> {
7190
+ return this.request(
7191
+ "menu",
7192
+ "get_menu_v3_draft_items_count",
7193
+ "get",
7194
+ `/menu/v3/draft/items/count`,
7195
+ null,
7196
+ options
7197
+ );
7198
+ }
7199
+
7200
+ /**
7201
+ * POST /menu/v3/draft/item/relationships/modifier-group
7202
+ *
7203
+ * @param body
7204
+ * @param options - additional request options
7205
+ */
7206
+ post_menu_v3_draft_item_relationships_modifier_group(
7207
+ body: PostMenuV3DraftItemRelationshipsModifierGroupBody,
7208
+ options?: RequestOptions
7209
+ ): ResponsePromise<PostMenuV3DraftItemRelationshipsModifierGroupResponse> {
7210
+ return this.request(
7211
+ "menu",
7212
+ "post_menu_v3_draft_item_relationships_modifier_group",
7213
+ "post",
7214
+ `/menu/v3/draft/item/relationships/modifier-group`,
7215
+ body,
7216
+ options
7217
+ );
7218
+ }
7219
+
7220
+ /**
7221
+ * GET /menu/v3/draft/item/relationships/modifier-group/{id}
7222
+ *
7223
+ * @param id
7224
+ * @param options - additional request options
7225
+ */
7226
+ get_menu_v3_draft_item_relationships_modifier_group(
7227
+ id: string,
7228
+ options?: {
7229
+ query?: GetMenuV3DraftItemRelationshipsModifierGroupQuery;
7230
+ } & RequestOptions
7231
+ ): ResponsePromise<GetMenuV3DraftItemRelationshipsModifierGroupResponse> {
7232
+ return this.request(
7233
+ "menu",
7234
+ "get_menu_v3_draft_item_relationships_modifier_group",
7235
+ "get",
7236
+ `/menu/v3/draft/item/relationships/modifier-group/${id}`,
7237
+ null,
7238
+ options
7239
+ );
7240
+ }
7241
+
7242
+ /**
7243
+ * PATCH /menu/v3/draft/item/relationships/modifier-group/{id}
7244
+ *
7245
+ * @param id
7246
+ * @param body - A partially populated DraftItemToModifierGroupRelationship
7247
+ * @param options - additional request options
7248
+ */
7249
+ patch_menu_v3_draft_item_relationships_modifier_group(
7250
+ id: string,
7251
+ body: PatchMenuV3DraftItemRelationshipsModifierGroupBody,
7252
+ options?: RequestOptions
7253
+ ): ResponsePromise<PatchMenuV3DraftItemRelationshipsModifierGroupResponse> {
7254
+ return this.request(
7255
+ "menu",
7256
+ "patch_menu_v3_draft_item_relationships_modifier_group",
7257
+ "patch",
7258
+ `/menu/v3/draft/item/relationships/modifier-group/${id}`,
7259
+ body,
7260
+ options
7261
+ );
7262
+ }
7263
+
7264
+ /**
7265
+ * DELETE /menu/v3/draft/item/relationships/modifier-group/{id}
7266
+ *
7267
+ * @param id
7268
+ * @param options - additional request options
7269
+ */
7270
+ delete_menu_v3_draft_item_relationships_modifier_group(
7271
+ id: string,
7272
+ options?: RequestOptions
7273
+ ): ResponsePromise<DeleteMenuV3DraftItemRelationshipsModifierGroupResponse> {
7274
+ return this.request(
7275
+ "menu",
7276
+ "delete_menu_v3_draft_item_relationships_modifier_group",
7277
+ "delete",
7278
+ `/menu/v3/draft/item/relationships/modifier-group/${id}`,
7279
+ null,
7280
+ options
7281
+ );
7282
+ }
7283
+
7284
+ /**
7285
+ * GET /menu/v3/draft/item/relationships/modifier-groups
7286
+ *
7287
+ * @param options - additional request options
7288
+ */
7289
+ get_menu_v3_draft_item_relationships_modifier_groups(
7290
+ options?: {
7291
+ query?: GetMenuV3DraftItemRelationshipsModifierGroupsQuery;
7292
+ } & RequestOptions
7293
+ ): ResponsePromise<GetMenuV3DraftItemRelationshipsModifierGroupsResponse> {
7294
+ return this.request(
7295
+ "menu",
7296
+ "get_menu_v3_draft_item_relationships_modifier_groups",
7297
+ "get",
7298
+ `/menu/v3/draft/item/relationships/modifier-groups`,
7299
+ null,
7300
+ options
7301
+ );
7302
+ }
7303
+
7304
+ /**
7305
+ * POST /menu/v3/draft/item/relationships/modifier-groups
7306
+ *
7307
+ * @param body
7308
+ * @param options - additional request options
7309
+ */
7310
+ post_menu_v3_draft_item_relationships_modifier_groups(
7311
+ body: PostMenuV3DraftItemRelationshipsModifierGroupsBody,
7312
+ options?: RequestOptions
7313
+ ): ResponsePromise<PostMenuV3DraftItemRelationshipsModifierGroupsResponse> {
7314
+ return this.request(
7315
+ "menu",
7316
+ "post_menu_v3_draft_item_relationships_modifier_groups",
7317
+ "post",
7318
+ `/menu/v3/draft/item/relationships/modifier-groups`,
7319
+ body,
7320
+ options
7321
+ );
7322
+ }
7323
+
7324
+ /**
7325
+ * GET /menu/v3/draft/item/relationships/modifier-groups/count
7326
+ *
7327
+ * @param options - additional request options
7328
+ */
7329
+ get_menu_v3_draft_item_relationships_modifier_groups_count(
7330
+ options?: {
7331
+ query?: GetMenuV3DraftItemRelationshipsModifierGroupsCountQuery;
7332
+ } & RequestOptions
7333
+ ): ResponsePromise<GetMenuV3DraftItemRelationshipsModifierGroupsCountResponse> {
7334
+ return this.request(
7335
+ "menu",
7336
+ "get_menu_v3_draft_item_relationships_modifier_groups_count",
7337
+ "get",
7338
+ `/menu/v3/draft/item/relationships/modifier-groups/count`,
7339
+ null,
7340
+ options
7341
+ );
7342
+ }
7343
+
7344
+ /**
7345
+ * POST /menu/v3/draft/modifier-group
7346
+ *
7347
+ * @param body
7348
+ * @param options - additional request options
7349
+ */
7350
+ post_menu_v3_draft_modifier_group(
7351
+ body: PostMenuV3DraftModifierGroupBody,
7352
+ options?: RequestOptions
7353
+ ): ResponsePromise<PostMenuV3DraftModifierGroupResponse> {
7354
+ return this.request(
7355
+ "menu",
7356
+ "post_menu_v3_draft_modifier_group",
7357
+ "post",
7358
+ `/menu/v3/draft/modifier-group`,
7359
+ body,
7360
+ options
7361
+ );
7362
+ }
7363
+
7364
+ /**
7365
+ * GET /menu/v3/draft/modifier-group/{id}
7366
+ *
7367
+ * @param id
7368
+ * @param options - additional request options
7369
+ */
7370
+ get_menu_v3_draft_modifier_group(
7371
+ id: string,
7372
+ options?: {
7373
+ query?: GetMenuV3DraftModifierGroupQuery;
7374
+ } & RequestOptions
7375
+ ): ResponsePromise<GetMenuV3DraftModifierGroupResponse> {
7376
+ return this.request(
7377
+ "menu",
7378
+ "get_menu_v3_draft_modifier_group",
7379
+ "get",
7380
+ `/menu/v3/draft/modifier-group/${id}`,
7381
+ null,
7382
+ options
7383
+ );
7384
+ }
7385
+
7386
+ /**
7387
+ * PATCH /menu/v3/draft/modifier-group/{id}
7388
+ *
7389
+ * @param id
7390
+ * @param body - A partially populated DraftModifierGroupEntity
7391
+ * @param options - additional request options
7392
+ */
7393
+ patch_menu_v3_draft_modifier_group(
7394
+ id: string,
7395
+ body: PatchMenuV3DraftModifierGroupBody,
7396
+ options?: RequestOptions
7397
+ ): ResponsePromise<PatchMenuV3DraftModifierGroupResponse> {
7398
+ return this.request(
7399
+ "menu",
7400
+ "patch_menu_v3_draft_modifier_group",
7401
+ "patch",
7402
+ `/menu/v3/draft/modifier-group/${id}`,
7403
+ body,
7404
+ options
7405
+ );
7406
+ }
7407
+
7408
+ /**
7409
+ * DELETE /menu/v3/draft/modifier-group/{id}
7410
+ *
7411
+ * @param id
7412
+ * @param options - additional request options
7413
+ */
7414
+ delete_menu_v3_draft_modifier_group(
7415
+ id: string,
7416
+ options?: RequestOptions
7417
+ ): ResponsePromise<DeleteMenuV3DraftModifierGroupResponse> {
7418
+ return this.request(
7419
+ "menu",
7420
+ "delete_menu_v3_draft_modifier_group",
7421
+ "delete",
7422
+ `/menu/v3/draft/modifier-group/${id}`,
7423
+ null,
7424
+ options
7425
+ );
7426
+ }
7427
+
7428
+ /**
7429
+ * GET /menu/v3/draft/modifier-groups
7430
+ *
7431
+ * @param options - additional request options
7432
+ */
7433
+ get_menu_v3_draft_modifier_groups(
7434
+ options?: {
7435
+ query?: GetMenuV3DraftModifierGroupsQuery;
7436
+ } & RequestOptions
7437
+ ): ResponsePromise<GetMenuV3DraftModifierGroupsResponse> {
7438
+ return this.request(
7439
+ "menu",
7440
+ "get_menu_v3_draft_modifier_groups",
7441
+ "get",
7442
+ `/menu/v3/draft/modifier-groups`,
7443
+ null,
7444
+ options
7445
+ );
7446
+ }
7447
+
7448
+ /**
7449
+ * POST /menu/v3/draft/modifier-groups
7450
+ *
7451
+ * @param body
7452
+ * @param options - additional request options
7453
+ */
7454
+ post_menu_v3_draft_modifier_groups(
7455
+ body: PostMenuV3DraftModifierGroupsBody,
7456
+ options?: RequestOptions
7457
+ ): ResponsePromise<PostMenuV3DraftModifierGroupsResponse> {
7458
+ return this.request(
7459
+ "menu",
7460
+ "post_menu_v3_draft_modifier_groups",
7461
+ "post",
7462
+ `/menu/v3/draft/modifier-groups`,
7463
+ body,
7464
+ options
7465
+ );
7466
+ }
7467
+
7468
+ /**
7469
+ * GET /menu/v3/draft/modifier-groups/count
7470
+ *
7471
+ * @param options - additional request options
7472
+ */
7473
+ get_menu_v3_draft_modifier_groups_count(
7474
+ options?: {
7475
+ query?: GetMenuV3DraftModifierGroupsCountQuery;
7476
+ } & RequestOptions
7477
+ ): ResponsePromise<GetMenuV3DraftModifierGroupsCountResponse> {
7478
+ return this.request(
7479
+ "menu",
7480
+ "get_menu_v3_draft_modifier_groups_count",
7481
+ "get",
7482
+ `/menu/v3/draft/modifier-groups/count`,
7483
+ null,
7484
+ options
7485
+ );
7486
+ }
7487
+
7488
+ /**
7489
+ * POST /menu/v3/draft/modifier-group/relationships/modifier
7490
+ *
7491
+ * @param body
7492
+ * @param options - additional request options
7493
+ */
7494
+ post_menu_v3_draft_modifier_group_relationships_modifier(
7495
+ body: PostMenuV3DraftModifierGroupRelationshipsModifierBody,
7496
+ options?: RequestOptions
7497
+ ): ResponsePromise<PostMenuV3DraftModifierGroupRelationshipsModifierResponse> {
7498
+ return this.request(
7499
+ "menu",
7500
+ "post_menu_v3_draft_modifier_group_relationships_modifier",
7501
+ "post",
7502
+ `/menu/v3/draft/modifier-group/relationships/modifier`,
7503
+ body,
7504
+ options
7505
+ );
7506
+ }
7507
+
7508
+ /**
7509
+ * GET /menu/v3/draft/modifier-group/relationships/modifier/{id}
7510
+ *
7511
+ * @param id
7512
+ * @param options - additional request options
7513
+ */
7514
+ get_menu_v3_draft_modifier_group_relationships_modifier(
7515
+ id: string,
7516
+ options?: {
7517
+ query?: GetMenuV3DraftModifierGroupRelationshipsModifierQuery;
7518
+ } & RequestOptions
7519
+ ): ResponsePromise<GetMenuV3DraftModifierGroupRelationshipsModifierResponse> {
7520
+ return this.request(
7521
+ "menu",
7522
+ "get_menu_v3_draft_modifier_group_relationships_modifier",
7523
+ "get",
7524
+ `/menu/v3/draft/modifier-group/relationships/modifier/${id}`,
7525
+ null,
7526
+ options
7527
+ );
7528
+ }
7529
+
7530
+ /**
7531
+ * PATCH /menu/v3/draft/modifier-group/relationships/modifier/{id}
7532
+ *
7533
+ * @param id
7534
+ * @param body - A partially populated DraftModifierGroupToModifierRelationship
7535
+ * @param options - additional request options
7536
+ */
7537
+ patch_menu_v3_draft_modifier_group_relationships_modifier(
7538
+ id: string,
7539
+ body: PatchMenuV3DraftModifierGroupRelationshipsModifierBody,
7540
+ options?: RequestOptions
7541
+ ): ResponsePromise<PatchMenuV3DraftModifierGroupRelationshipsModifierResponse> {
7542
+ return this.request(
7543
+ "menu",
7544
+ "patch_menu_v3_draft_modifier_group_relationships_modifier",
7545
+ "patch",
7546
+ `/menu/v3/draft/modifier-group/relationships/modifier/${id}`,
7547
+ body,
7548
+ options
7549
+ );
7550
+ }
7551
+
7552
+ /**
7553
+ * DELETE /menu/v3/draft/modifier-group/relationships/modifier/{id}
7554
+ *
7555
+ * @param id
7556
+ * @param options - additional request options
7557
+ */
7558
+ delete_menu_v3_draft_modifier_group_relationships_modifier(
7559
+ id: string,
7560
+ options?: RequestOptions
7561
+ ): ResponsePromise<DeleteMenuV3DraftModifierGroupRelationshipsModifierResponse> {
7562
+ return this.request(
7563
+ "menu",
7564
+ "delete_menu_v3_draft_modifier_group_relationships_modifier",
7565
+ "delete",
7566
+ `/menu/v3/draft/modifier-group/relationships/modifier/${id}`,
7567
+ null,
7568
+ options
7569
+ );
7570
+ }
7571
+
7572
+ /**
7573
+ * GET /menu/v3/draft/modifier-group/relationships/modifiers
7574
+ *
7575
+ * @param options - additional request options
7576
+ */
7577
+ get_menu_v3_draft_modifier_group_relationships_modifiers(
7578
+ options?: {
7579
+ query?: GetMenuV3DraftModifierGroupRelationshipsModifiersQuery;
7580
+ } & RequestOptions
7581
+ ): ResponsePromise<GetMenuV3DraftModifierGroupRelationshipsModifiersResponse> {
7582
+ return this.request(
7583
+ "menu",
7584
+ "get_menu_v3_draft_modifier_group_relationships_modifiers",
7585
+ "get",
7586
+ `/menu/v3/draft/modifier-group/relationships/modifiers`,
7587
+ null,
7588
+ options
7589
+ );
7590
+ }
7591
+
7592
+ /**
7593
+ * POST /menu/v3/draft/modifier-group/relationships/modifiers
7594
+ *
7595
+ * @param body
7596
+ * @param options - additional request options
7597
+ */
7598
+ post_menu_v3_draft_modifier_group_relationships_modifiers(
7599
+ body: PostMenuV3DraftModifierGroupRelationshipsModifiersBody,
7600
+ options?: RequestOptions
7601
+ ): ResponsePromise<PostMenuV3DraftModifierGroupRelationshipsModifiersResponse> {
7602
+ return this.request(
7603
+ "menu",
7604
+ "post_menu_v3_draft_modifier_group_relationships_modifiers",
7605
+ "post",
7606
+ `/menu/v3/draft/modifier-group/relationships/modifiers`,
7607
+ body,
7608
+ options
7609
+ );
7610
+ }
7611
+
7612
+ /**
7613
+ * GET /menu/v3/draft/modifier-group/relationships/modifiers/count
7614
+ *
7615
+ * @param options - additional request options
7616
+ */
7617
+ get_menu_v3_draft_modifier_group_relationships_modifiers_count(
7618
+ options?: {
7619
+ query?: GetMenuV3DraftModifierGroupRelationshipsModifiersCountQuery;
7620
+ } & RequestOptions
7621
+ ): ResponsePromise<GetMenuV3DraftModifierGroupRelationshipsModifiersCountResponse> {
7622
+ return this.request(
7623
+ "menu",
7624
+ "get_menu_v3_draft_modifier_group_relationships_modifiers_count",
7625
+ "get",
7626
+ `/menu/v3/draft/modifier-group/relationships/modifiers/count`,
7627
+ null,
7628
+ options
7629
+ );
7630
+ }
7631
+
7632
+ /**
7633
+ * POST /menu/v3/draft/modifier
7634
+ *
7635
+ * @param body
7636
+ * @param options - additional request options
7637
+ */
7638
+ post_menu_v3_draft_modifier(
7639
+ body: PostMenuV3DraftModifierBody,
7640
+ options?: RequestOptions
7641
+ ): ResponsePromise<PostMenuV3DraftModifierResponse> {
7642
+ return this.request(
7643
+ "menu",
7644
+ "post_menu_v3_draft_modifier",
7645
+ "post",
7646
+ `/menu/v3/draft/modifier`,
7647
+ body,
7648
+ options
7649
+ );
7650
+ }
7651
+
7652
+ /**
7653
+ * GET /menu/v3/draft/modifier/{id}
7654
+ *
7655
+ * @param id
7656
+ * @param options - additional request options
7657
+ */
7658
+ get_menu_v3_draft_modifier(
7659
+ id: string,
7660
+ options?: {
7661
+ query?: GetMenuV3DraftModifierQuery;
7662
+ } & RequestOptions
7663
+ ): ResponsePromise<GetMenuV3DraftModifierResponse> {
7664
+ return this.request(
7665
+ "menu",
7666
+ "get_menu_v3_draft_modifier",
7667
+ "get",
7668
+ `/menu/v3/draft/modifier/${id}`,
7669
+ null,
7670
+ options
7671
+ );
7672
+ }
7673
+
7674
+ /**
7675
+ * PATCH /menu/v3/draft/modifier/{id}
7676
+ *
7677
+ * @param id
7678
+ * @param body - A partially populated DraftModifierEntity
7679
+ * @param options - additional request options
7680
+ */
7681
+ patch_menu_v3_draft_modifier(
7682
+ id: string,
7683
+ body: PatchMenuV3DraftModifierBody,
7684
+ options?: RequestOptions
7685
+ ): ResponsePromise<PatchMenuV3DraftModifierResponse> {
7686
+ return this.request(
7687
+ "menu",
7688
+ "patch_menu_v3_draft_modifier",
7689
+ "patch",
7690
+ `/menu/v3/draft/modifier/${id}`,
7691
+ body,
7692
+ options
7693
+ );
7694
+ }
7695
+
7696
+ /**
7697
+ * DELETE /menu/v3/draft/modifier/{id}
7698
+ *
7699
+ * @param id
7700
+ * @param options - additional request options
7701
+ */
7702
+ delete_menu_v3_draft_modifier(
7703
+ id: string,
7704
+ options?: RequestOptions
7705
+ ): ResponsePromise<DeleteMenuV3DraftModifierResponse> {
7706
+ return this.request(
7707
+ "menu",
7708
+ "delete_menu_v3_draft_modifier",
7709
+ "delete",
7710
+ `/menu/v3/draft/modifier/${id}`,
7711
+ null,
7712
+ options
7713
+ );
7714
+ }
7715
+
7716
+ /**
7717
+ * GET /menu/v3/draft/modifiers
7718
+ *
7719
+ * @param options - additional request options
7720
+ */
7721
+ get_menu_v3_draft_modifiers(
7722
+ options?: {
7723
+ query?: GetMenuV3DraftModifiersQuery;
7724
+ } & RequestOptions
7725
+ ): ResponsePromise<GetMenuV3DraftModifiersResponse> {
7726
+ return this.request(
7727
+ "menu",
7728
+ "get_menu_v3_draft_modifiers",
7729
+ "get",
7730
+ `/menu/v3/draft/modifiers`,
7731
+ null,
7732
+ options
7733
+ );
7734
+ }
7735
+
7736
+ /**
7737
+ * POST /menu/v3/draft/modifiers
7738
+ *
7739
+ * @param body
7740
+ * @param options - additional request options
7741
+ */
7742
+ post_menu_v3_draft_modifiers(
7743
+ body: PostMenuV3DraftModifiersBody,
7744
+ options?: RequestOptions
7745
+ ): ResponsePromise<PostMenuV3DraftModifiersResponse> {
7746
+ return this.request(
7747
+ "menu",
7748
+ "post_menu_v3_draft_modifiers",
7749
+ "post",
7750
+ `/menu/v3/draft/modifiers`,
7751
+ body,
7752
+ options
7753
+ );
7754
+ }
7755
+
7756
+ /**
7757
+ * GET /menu/v3/draft/modifiers/count
7758
+ *
7759
+ * @param options - additional request options
7760
+ */
7761
+ get_menu_v3_draft_modifiers_count(
7762
+ options?: {
7763
+ query?: GetMenuV3DraftModifiersCountQuery;
7764
+ } & RequestOptions
7765
+ ): ResponsePromise<GetMenuV3DraftModifiersCountResponse> {
7766
+ return this.request(
7767
+ "menu",
7768
+ "get_menu_v3_draft_modifiers_count",
7769
+ "get",
7770
+ `/menu/v3/draft/modifiers/count`,
7771
+ null,
7772
+ options
7773
+ );
7774
+ }
7775
+
7776
+ /**
7777
+ * POST /menu/v3/draft/brand
7778
+ *
7779
+ * @param body
7780
+ * @param options - additional request options
7781
+ */
7782
+ post_menu_v3_draft_brand(
7783
+ body: PostMenuV3DraftBrandBody,
7784
+ options?: RequestOptions
7785
+ ): ResponsePromise<PostMenuV3DraftBrandResponse> {
7786
+ return this.request(
7787
+ "menu",
7788
+ "post_menu_v3_draft_brand",
7789
+ "post",
7790
+ `/menu/v3/draft/brand`,
7791
+ body,
7792
+ options
7793
+ );
7794
+ }
7795
+
7796
+ /**
7797
+ * GET /menu/v3/draft/brand/{id}
7798
+ *
7799
+ * @param id
7800
+ * @param options - additional request options
7801
+ */
7802
+ get_menu_v3_draft_brand(
7803
+ id: string,
7804
+ options?: {
7805
+ query?: GetMenuV3DraftBrandQuery;
7806
+ } & RequestOptions
7807
+ ): ResponsePromise<GetMenuV3DraftBrandResponse> {
7808
+ return this.request(
7809
+ "menu",
7810
+ "get_menu_v3_draft_brand",
7811
+ "get",
7812
+ `/menu/v3/draft/brand/${id}`,
7813
+ null,
7814
+ options
7815
+ );
7816
+ }
7817
+
7818
+ /**
7819
+ * PATCH /menu/v3/draft/brand/{id}
7820
+ *
7821
+ * @param id
7822
+ * @param body - A partially populated DraftBrandEntity
7823
+ * @param options - additional request options
7824
+ */
7825
+ patch_menu_v3_draft_brand(
7826
+ id: string,
7827
+ body: PatchMenuV3DraftBrandBody,
7828
+ options?: RequestOptions
7829
+ ): ResponsePromise<PatchMenuV3DraftBrandResponse> {
7830
+ return this.request(
7831
+ "menu",
7832
+ "patch_menu_v3_draft_brand",
7833
+ "patch",
7834
+ `/menu/v3/draft/brand/${id}`,
7835
+ body,
7836
+ options
7837
+ );
7838
+ }
7839
+
7840
+ /**
7841
+ * DELETE /menu/v3/draft/brand/{id}
7842
+ *
7843
+ * @param id
7844
+ * @param options - additional request options
7845
+ */
7846
+ delete_menu_v3_draft_brand(
7847
+ id: string,
7848
+ options?: RequestOptions
7849
+ ): ResponsePromise<DeleteMenuV3DraftBrandResponse> {
7850
+ return this.request(
7851
+ "menu",
7852
+ "delete_menu_v3_draft_brand",
7853
+ "delete",
7854
+ `/menu/v3/draft/brand/${id}`,
7855
+ null,
7856
+ options
7857
+ );
7858
+ }
7859
+
7860
+ /**
7861
+ * GET /menu/v3/draft/brands
7862
+ *
7863
+ * @param options - additional request options
7864
+ */
7865
+ get_menu_v3_draft_brands(
7866
+ options?: {
7867
+ query?: GetMenuV3DraftBrandsQuery;
7868
+ } & RequestOptions
7869
+ ): ResponsePromise<GetMenuV3DraftBrandsResponse> {
7870
+ return this.request(
7871
+ "menu",
7872
+ "get_menu_v3_draft_brands",
7873
+ "get",
7874
+ `/menu/v3/draft/brands`,
7875
+ null,
7876
+ options
7877
+ );
7878
+ }
7879
+
7880
+ /**
7881
+ * POST /menu/v3/draft/brands
7882
+ *
7883
+ * @param body
7884
+ * @param options - additional request options
7885
+ */
7886
+ post_menu_v3_draft_brands(
7887
+ body: PostMenuV3DraftBrandsBody,
7888
+ options?: RequestOptions
7889
+ ): ResponsePromise<PostMenuV3DraftBrandsResponse> {
7890
+ return this.request(
7891
+ "menu",
7892
+ "post_menu_v3_draft_brands",
7893
+ "post",
7894
+ `/menu/v3/draft/brands`,
7895
+ body,
7896
+ options
7897
+ );
7898
+ }
7899
+
7900
+ /**
7901
+ * GET /menu/v3/draft/brands/count
7902
+ *
7903
+ * @param options - additional request options
7904
+ */
7905
+ get_menu_v3_draft_brands_count(
7906
+ options?: {
7907
+ query?: GetMenuV3DraftBrandsCountQuery;
7908
+ } & RequestOptions
7909
+ ): ResponsePromise<GetMenuV3DraftBrandsCountResponse> {
7910
+ return this.request(
7911
+ "menu",
7912
+ "get_menu_v3_draft_brands_count",
7913
+ "get",
7914
+ `/menu/v3/draft/brands/count`,
7915
+ null,
7916
+ options
7917
+ );
7918
+ }
7919
+
7920
+ /**
7921
+ * GET /menu/v3/draft/brand/{id}/modifiers
7922
+ *
7923
+ * @param id
7924
+ * @param options - additional request options
7925
+ */
7926
+ get_menu_v3_draft_brand_modifiers(
7927
+ id: string,
7928
+ options?: {
7929
+ query?: GetMenuV3DraftBrandModifiersQuery;
7930
+ } & RequestOptions
7931
+ ): ResponsePromise<GetMenuV3DraftBrandModifiersResponse> {
7932
+ return this.request(
7933
+ "menu",
7934
+ "get_menu_v3_draft_brand_modifiers",
7935
+ "get",
7936
+ `/menu/v3/draft/brand/${id}/modifiers`,
7937
+ null,
7938
+ options
7939
+ );
7940
+ }
7941
+
7942
+ /**
7943
+ * GET /menu/v3/draft/brand/{id}/modifier_groups
7944
+ *
7945
+ * @param id
7946
+ * @param options - additional request options
7947
+ */
7948
+ get_menu_v3_draft_brand_modifier_groups(
7949
+ id: string,
7950
+ options?: {
7951
+ query?: GetMenuV3DraftBrandModifierGroupsQuery;
7952
+ } & RequestOptions
7953
+ ): ResponsePromise<GetMenuV3DraftBrandModifierGroupsResponse> {
7954
+ return this.request(
7955
+ "menu",
7956
+ "get_menu_v3_draft_brand_modifier_groups",
7957
+ "get",
7958
+ `/menu/v3/draft/brand/${id}/modifier_groups`,
7959
+ null,
7960
+ options
7961
+ );
7962
+ }
7963
+
7964
+ /**
7965
+ * GET /menu/v3/draft/brand/{id}/items
7966
+ *
7967
+ * @param id
7968
+ * @param options - additional request options
7969
+ */
7970
+ get_menu_v3_draft_brand_items(
7971
+ id: string,
7972
+ options?: {
7973
+ query?: GetMenuV3DraftBrandItemsQuery;
7974
+ } & RequestOptions
7975
+ ): ResponsePromise<GetMenuV3DraftBrandItemsResponse> {
7976
+ return this.request(
7977
+ "menu",
7978
+ "get_menu_v3_draft_brand_items",
7979
+ "get",
7980
+ `/menu/v3/draft/brand/${id}/items`,
7981
+ null,
7982
+ options
7983
+ );
7984
+ }
7985
+
7986
+ /**
7987
+ * POST /menu/v3/draft/brand/{id}/publish
7988
+ *
7989
+ * @param id
7990
+ * @param options - additional request options
7991
+ */
7992
+ post_menu_v3_draft_brand_publish(
7993
+ id: string,
7994
+ options?: RequestOptions
7995
+ ): ResponsePromise<PostMenuV3DraftBrandPublishResponse> {
7996
+ return this.request(
7997
+ "menu",
7998
+ "post_menu_v3_draft_brand_publish",
7999
+ "post",
8000
+ `/menu/v3/draft/brand/${id}/publish`,
8001
+ null,
8002
+ options
8003
+ );
8004
+ }
8005
+
8006
+ /**
8007
+ * POST /menu/v3/draft/station
8008
+ *
8009
+ * @param body
8010
+ * @param options - additional request options
8011
+ */
8012
+ post_menu_v3_draft_station(
8013
+ body: PostMenuV3DraftStationBody,
8014
+ options?: RequestOptions
8015
+ ): ResponsePromise<PostMenuV3DraftStationResponse> {
8016
+ return this.request(
8017
+ "menu",
8018
+ "post_menu_v3_draft_station",
8019
+ "post",
8020
+ `/menu/v3/draft/station`,
8021
+ body,
8022
+ options
8023
+ );
8024
+ }
8025
+
8026
+ /**
8027
+ * GET /menu/v3/draft/station/{id}
8028
+ *
8029
+ * @param id
8030
+ * @param options - additional request options
8031
+ */
8032
+ get_menu_v3_draft_station(
8033
+ id: string,
8034
+ options?: {
8035
+ query?: GetMenuV3DraftStationQuery;
8036
+ } & RequestOptions
8037
+ ): ResponsePromise<GetMenuV3DraftStationResponse> {
8038
+ return this.request(
8039
+ "menu",
8040
+ "get_menu_v3_draft_station",
8041
+ "get",
8042
+ `/menu/v3/draft/station/${id}`,
8043
+ null,
8044
+ options
8045
+ );
8046
+ }
8047
+
8048
+ /**
8049
+ * PATCH /menu/v3/draft/station/{id}
8050
+ *
8051
+ * @param id
8052
+ * @param body - A partially populated StationEntity
8053
+ * @param options - additional request options
8054
+ */
8055
+ patch_menu_v3_draft_station(
8056
+ id: string,
8057
+ body: PatchMenuV3DraftStationBody,
8058
+ options?: RequestOptions
8059
+ ): ResponsePromise<PatchMenuV3DraftStationResponse> {
8060
+ return this.request(
8061
+ "menu",
8062
+ "patch_menu_v3_draft_station",
8063
+ "patch",
8064
+ `/menu/v3/draft/station/${id}`,
8065
+ body,
8066
+ options
8067
+ );
8068
+ }
8069
+
8070
+ /**
8071
+ * DELETE /menu/v3/draft/station/{id}
8072
+ *
8073
+ * @param id
8074
+ * @param options - additional request options
8075
+ */
8076
+ delete_menu_v3_draft_station(
8077
+ id: string,
8078
+ options?: RequestOptions
8079
+ ): ResponsePromise<DeleteMenuV3DraftStationResponse> {
8080
+ return this.request(
8081
+ "menu",
8082
+ "delete_menu_v3_draft_station",
8083
+ "delete",
8084
+ `/menu/v3/draft/station/${id}`,
8085
+ null,
8086
+ options
8087
+ );
8088
+ }
8089
+
8090
+ /**
8091
+ * GET /menu/v3/draft/stations
8092
+ *
8093
+ * @param options - additional request options
8094
+ */
8095
+ get_menu_v3_draft_stations(
8096
+ options?: {
8097
+ query?: GetMenuV3DraftStationsQuery;
8098
+ } & RequestOptions
8099
+ ): ResponsePromise<GetMenuV3DraftStationsResponse> {
8100
+ return this.request(
8101
+ "menu",
8102
+ "get_menu_v3_draft_stations",
8103
+ "get",
8104
+ `/menu/v3/draft/stations`,
8105
+ null,
8106
+ options
8107
+ );
8108
+ }
8109
+
8110
+ /**
8111
+ * POST /menu/v3/draft/stations
8112
+ *
8113
+ * @param body
8114
+ * @param options - additional request options
8115
+ */
8116
+ post_menu_v3_draft_stations(
8117
+ body: PostMenuV3DraftStationsBody,
8118
+ options?: RequestOptions
8119
+ ): ResponsePromise<PostMenuV3DraftStationsResponse> {
8120
+ return this.request(
8121
+ "menu",
8122
+ "post_menu_v3_draft_stations",
8123
+ "post",
8124
+ `/menu/v3/draft/stations`,
8125
+ body,
8126
+ options
8127
+ );
8128
+ }
8129
+
8130
+ /**
8131
+ * GET /menu/v3/draft/stations/count
8132
+ *
8133
+ * @param options - additional request options
8134
+ */
8135
+ get_menu_v3_draft_stations_count(
8136
+ options?: {
8137
+ query?: GetMenuV3DraftStationsCountQuery;
8138
+ } & RequestOptions
8139
+ ): ResponsePromise<GetMenuV3DraftStationsCountResponse> {
8140
+ return this.request(
8141
+ "menu",
8142
+ "get_menu_v3_draft_stations_count",
8143
+ "get",
8144
+ `/menu/v3/draft/stations/count`,
8145
+ null,
8146
+ options
8147
+ );
8148
+ }
8149
+
8150
+ /**
8151
+ * GET /menu/v3/draft/station/{id}/modifiers
8152
+ *
8153
+ * @param id
8154
+ * @param options - additional request options
8155
+ */
8156
+ get_menu_v3_draft_station_modifiers(
8157
+ id: string,
8158
+ options?: {
8159
+ query?: GetMenuV3DraftStationModifiersQuery;
8160
+ } & RequestOptions
8161
+ ): ResponsePromise<GetMenuV3DraftStationModifiersResponse> {
8162
+ return this.request(
8163
+ "menu",
8164
+ "get_menu_v3_draft_station_modifiers",
8165
+ "get",
8166
+ `/menu/v3/draft/station/${id}/modifiers`,
8167
+ null,
8168
+ options
8169
+ );
8170
+ }
8171
+
8172
+ /**
8173
+ * GET /menu/v3/draft/station/{id}/modifier_groups
8174
+ *
8175
+ * @param id
8176
+ * @param options - additional request options
8177
+ */
8178
+ get_menu_v3_draft_station_modifier_groups(
8179
+ id: string,
8180
+ options?: {
8181
+ query?: GetMenuV3DraftStationModifierGroupsQuery;
8182
+ } & RequestOptions
8183
+ ): ResponsePromise<GetMenuV3DraftStationModifierGroupsResponse> {
8184
+ return this.request(
8185
+ "menu",
8186
+ "get_menu_v3_draft_station_modifier_groups",
8187
+ "get",
8188
+ `/menu/v3/draft/station/${id}/modifier_groups`,
8189
+ null,
8190
+ options
8191
+ );
8192
+ }
8193
+
8194
+ /**
8195
+ * GET /menu/v3/draft/station/{id}/items
8196
+ *
8197
+ * @param id
8198
+ * @param options - additional request options
8199
+ */
8200
+ get_menu_v3_draft_station_items(
8201
+ id: string,
8202
+ options?: {
8203
+ query?: GetMenuV3DraftStationItemsQuery;
8204
+ } & RequestOptions
8205
+ ): ResponsePromise<GetMenuV3DraftStationItemsResponse> {
8206
+ return this.request(
8207
+ "menu",
8208
+ "get_menu_v3_draft_station_items",
8209
+ "get",
8210
+ `/menu/v3/draft/station/${id}/items`,
8211
+ null,
8212
+ options
8213
+ );
8214
+ }
8215
+
8216
+ /**
8217
+ * GET /menu/v3/draft/site/{id}/layouts
8218
+ *
8219
+ * @param id
8220
+ * @param options - additional request options
8221
+ */
8222
+ get_menu_v3_draft_site_layouts(
8223
+ id: string,
8224
+ options?: {
8225
+ query?: GetMenuV3DraftSiteLayoutsQuery;
8226
+ } & RequestOptions
8227
+ ): ResponsePromise<GetMenuV3DraftSiteLayoutsResponse> {
8228
+ return this.request(
8229
+ "menu",
8230
+ "get_menu_v3_draft_site_layouts",
8231
+ "get",
8232
+ `/menu/v3/draft/site/${id}/layouts`,
8233
+ null,
8234
+ options
8235
+ );
8236
+ }
8237
+
8238
+ /**
8239
+ * GET /menu/v3/categorys/count
8240
+ *
8241
+ * @param options - additional request options
8242
+ */
8243
+ get_menu_v3_categorys_count(
8244
+ options?: {
8245
+ query?: GetMenuV3CategorysCountQuery;
8246
+ } & RequestOptions
8247
+ ): ResponsePromise<GetMenuV3CategorysCountResponse> {
8248
+ return this.request(
8249
+ "menu",
8250
+ "get_menu_v3_categorys_count",
8251
+ "get",
8252
+ `/menu/v3/categorys/count`,
8253
+ null,
8254
+ options
8255
+ );
8256
+ }
8257
+
8258
+ /**
8259
+ * POST /menu/v3/brand/{id}/local
8260
+ *
8261
+ * @param id
8262
+ * @param options - additional request options
8263
+ */
8264
+ post_menu_v3_brand_local(
8265
+ id: string,
8266
+ options?: RequestOptions
8267
+ ): ResponsePromise<PostMenuV3BrandLocalResponse> {
8268
+ return this.request(
8269
+ "menu",
8270
+ "post_menu_v3_brand_local",
8271
+ "post",
8272
+ `/menu/v3/brand/${id}/local`,
8273
+ null,
8274
+ options
8275
+ );
8276
+ }
8277
+
8278
+ /**
8279
+ * POST /menu/v3/item/{id}/attachment/{name}
8280
+ *
8281
+ * @param id
8282
+ * @param name
8283
+ * @param options - additional request options
8284
+ */
8285
+ post_menu_v3_item_attachment(
8286
+ id: string,
8287
+ name: string,
8288
+ options?: {
8289
+ query?: PostMenuV3ItemAttachmentQuery;
8290
+ } & RequestOptions
8291
+ ): ResponsePromise<PostMenuV3ItemAttachmentResponse> {
8292
+ return this.request(
8293
+ "menu",
8294
+ "post_menu_v3_item_attachment",
8295
+ "post",
8296
+ `/menu/v3/item/${id}/attachment/${name}`,
8297
+ null,
8298
+ options
8299
+ );
8300
+ }
8301
+
8302
+ /**
8303
+ * POST /menu/v3/brand/{id}/attachment/{name}
8304
+ *
8305
+ * @param id
8306
+ * @param name
8307
+ * @param options - additional request options
8308
+ */
8309
+ post_menu_v3_brand_attachment(
8310
+ id: string,
8311
+ name: string,
8312
+ options?: {
8313
+ query?: PostMenuV3BrandAttachmentQuery;
8314
+ } & RequestOptions
8315
+ ): ResponsePromise<PostMenuV3BrandAttachmentResponse> {
8316
+ return this.request(
8317
+ "menu",
8318
+ "post_menu_v3_brand_attachment",
8319
+ "post",
8320
+ `/menu/v3/brand/${id}/attachment/${name}`,
8321
+ null,
8322
+ options
8323
+ );
8324
+ }
8325
+
8326
+ /**
8327
+ * POST /menu/v3/brand-group
8328
+ *
8329
+ * @param body
8330
+ * @param options - additional request options
8331
+ */
8332
+ post_menu_v3_brand_group(
8333
+ body: PostMenuV3BrandGroupBody,
8334
+ options?: RequestOptions
8335
+ ): ResponsePromise<PostMenuV3BrandGroupResponse> {
8336
+ return this.request(
8337
+ "menu",
8338
+ "post_menu_v3_brand_group",
8339
+ "post",
8340
+ `/menu/v3/brand-group`,
8341
+ body,
8342
+ options
8343
+ );
8344
+ }
8345
+
8346
+ /**
8347
+ * GET /menu/v3/brand-group/{id}
8348
+ *
8349
+ * @param id
8350
+ * @param options - additional request options
8351
+ */
8352
+ get_menu_v3_brand_group(
8353
+ id: string,
8354
+ options?: {
8355
+ query?: GetMenuV3BrandGroupQuery;
8356
+ } & RequestOptions
8357
+ ): ResponsePromise<GetMenuV3BrandGroupResponse> {
8358
+ return this.request(
8359
+ "menu",
8360
+ "get_menu_v3_brand_group",
8361
+ "get",
8362
+ `/menu/v3/brand-group/${id}`,
8363
+ null,
8364
+ options
8365
+ );
8366
+ }
8367
+
8368
+ /**
8369
+ * PATCH /menu/v3/brand-group/{id}
8370
+ *
8371
+ * @param id
8372
+ * @param body - A partially populated BrandGroupEntity
8373
+ * @param options - additional request options
8374
+ */
8375
+ patch_menu_v3_brand_group(
8376
+ id: string,
8377
+ body: PatchMenuV3BrandGroupBody,
8378
+ options?: RequestOptions
8379
+ ): ResponsePromise<PatchMenuV3BrandGroupResponse> {
8380
+ return this.request(
8381
+ "menu",
8382
+ "patch_menu_v3_brand_group",
8383
+ "patch",
8384
+ `/menu/v3/brand-group/${id}`,
8385
+ body,
8386
+ options
8387
+ );
8388
+ }
8389
+
8390
+ /**
8391
+ * DELETE /menu/v3/brand-group/{id}
8392
+ *
8393
+ * @param id
8394
+ * @param options - additional request options
8395
+ */
8396
+ delete_menu_v3_brand_group(
8397
+ id: string,
8398
+ options?: RequestOptions
8399
+ ): ResponsePromise<DeleteMenuV3BrandGroupResponse> {
8400
+ return this.request(
8401
+ "menu",
8402
+ "delete_menu_v3_brand_group",
8403
+ "delete",
8404
+ `/menu/v3/brand-group/${id}`,
8405
+ null,
8406
+ options
8407
+ );
8408
+ }
8409
+
8410
+ /**
8411
+ * GET /menu/v3/brand-groups
8412
+ *
8413
+ * @param options - additional request options
8414
+ */
8415
+ get_menu_v3_brand_groups(
8416
+ options?: {
8417
+ query?: GetMenuV3BrandGroupsQuery;
8418
+ } & RequestOptions
8419
+ ): ResponsePromise<GetMenuV3BrandGroupsResponse> {
8420
+ return this.request(
8421
+ "menu",
8422
+ "get_menu_v3_brand_groups",
8423
+ "get",
8424
+ `/menu/v3/brand-groups`,
8425
+ null,
8426
+ options
8427
+ );
8428
+ }
8429
+
8430
+ /**
8431
+ * POST /menu/v3/brand-groups
8432
+ *
8433
+ * @param body
8434
+ * @param options - additional request options
8435
+ */
8436
+ post_menu_v3_brand_groups(
8437
+ body: PostMenuV3BrandGroupsBody,
8438
+ options?: RequestOptions
8439
+ ): ResponsePromise<PostMenuV3BrandGroupsResponse> {
8440
+ return this.request(
8441
+ "menu",
8442
+ "post_menu_v3_brand_groups",
8443
+ "post",
8444
+ `/menu/v3/brand-groups`,
8445
+ body,
8446
+ options
8447
+ );
8448
+ }
8449
+
8450
+ /**
8451
+ * GET /menu/v3/brand-groups/count
8452
+ *
8453
+ * @param options - additional request options
8454
+ */
8455
+ get_menu_v3_brand_groups_count(
8456
+ options?: {
8457
+ query?: GetMenuV3BrandGroupsCountQuery;
8458
+ } & RequestOptions
8459
+ ): ResponsePromise<GetMenuV3BrandGroupsCountResponse> {
8460
+ return this.request(
8461
+ "menu",
8462
+ "get_menu_v3_brand_groups_count",
8463
+ "get",
8464
+ `/menu/v3/brand-groups/count`,
8465
+ null,
8466
+ options
8467
+ );
8468
+ }
8469
+
8470
+ /**
8471
+ * GET /menu/v3/brand-group/{id}/draft/brands
8472
+ *
8473
+ * @param id
8474
+ * @param options - additional request options
8475
+ */
8476
+ get_menu_v3_brand_group_draft_brands(
8477
+ id: string,
8478
+ options?: {
8479
+ query?: GetMenuV3BrandGroupDraftBrandsQuery;
8480
+ } & RequestOptions
8481
+ ): ResponsePromise<GetMenuV3BrandGroupDraftBrandsResponse> {
8482
+ return this.request(
8483
+ "menu",
8484
+ "get_menu_v3_brand_group_draft_brands",
8485
+ "get",
8486
+ `/menu/v3/brand-group/${id}/draft/brands`,
8487
+ null,
8488
+ options
8489
+ );
8490
+ }
8491
+
8492
+ /**
8493
+ * GET /menu/v3/brand-group/{id}/brands
8494
+ *
8495
+ * @param id
8496
+ * @param options - additional request options
8497
+ */
8498
+ get_menu_v3_brand_group_brands(
8499
+ id: string,
8500
+ options?: {
8501
+ query?: GetMenuV3BrandGroupBrandsQuery;
8502
+ } & RequestOptions
8503
+ ): ResponsePromise<GetMenuV3BrandGroupBrandsResponse> {
8504
+ return this.request(
8505
+ "menu",
8506
+ "get_menu_v3_brand_group_brands",
8507
+ "get",
8508
+ `/menu/v3/brand-group/${id}/brands`,
8509
+ null,
8510
+ options
8511
+ );
8512
+ }
8513
+
8514
+ /**
8515
+ * GET /menu/v3/draft/brand-group/{id}/brands
8516
+ *
8517
+ * @param id
8518
+ * @param options - additional request options
8519
+ */
8520
+ get_menu_v3_draft_brand_group_brands(
8521
+ id: string,
8522
+ options?: {
8523
+ query?: GetMenuV3DraftBrandGroupBrandsQuery;
8524
+ } & RequestOptions
8525
+ ): ResponsePromise<GetMenuV3DraftBrandGroupBrandsResponse> {
8526
+ return this.request(
8527
+ "menu",
8528
+ "get_menu_v3_draft_brand_group_brands",
8529
+ "get",
8530
+ `/menu/v3/draft/brand-group/${id}/brands`,
8531
+ null,
8532
+ options
8533
+ );
8534
+ }
8535
+
8536
+ /**
8537
+ * GET /notification - Get all notifications
8538
+ *
8539
+ * @param options - additional request options
8540
+ */
8541
+ get_notifications(
8542
+ options: {
8543
+ query: GetNotificationsQuery;
8544
+ } & RequestOptions
8545
+ ): ResponsePromise<GetNotificationsResponse> {
8546
+ return this.request("notification", "get_notifications", "get", `/notification`, null, options);
8547
+ }
8548
+
8549
+ /**
8550
+ * POST /notification - Create a notification
8551
+ *
8552
+ * @param body
8553
+ * @param options - additional request options
8554
+ */
8555
+ post_notification(
8556
+ body: PostNotificationBody,
8557
+ options?: RequestOptions
8558
+ ): ResponsePromise<PostNotificationResponse> {
8559
+ return this.request(
8560
+ "notification",
8561
+ "post_notification",
8562
+ "post",
8563
+ `/notification`,
8564
+ body,
8565
+ options
8566
+ );
8567
+ }
8568
+
8569
+ /**
8570
+ * PATCH /notification/{id} - Update a notification
8571
+ *
8572
+ * @param id - Id of a notification
8573
+ * @param body
8574
+ * @param options - additional request options
8575
+ */
8576
+ patch_notification(
8577
+ id: string,
8578
+ body: PatchNotificationBody,
8579
+ options?: RequestOptions
8580
+ ): ResponsePromise<PatchNotificationResponse> {
8581
+ return this.request(
8582
+ "notification",
8583
+ "patch_notification",
8584
+ "patch",
8585
+ `/notification/${id}`,
8586
+ body,
8587
+ options
8588
+ );
8589
+ }
8590
+
8591
+ /**
8592
+ * DELETE /notification/{id} - Delete a notification
8593
+ *
8594
+ * @param id - Id of a notification
8595
+ * @param options - additional request options
8596
+ */
8597
+ delete_notification(
8598
+ id: string,
8599
+ options?: RequestOptions
8600
+ ): ResponsePromise<DeleteNotificationResponse> {
8601
+ return this.request(
8602
+ "notification",
8603
+ "delete_notification",
8604
+ "delete",
8605
+ `/notification/${id}`,
8606
+ null,
8607
+ options
8608
+ );
8609
+ }
8610
+
8611
+ /**
8612
+ * POST /notification/{id}/status - Set a notification status for request user
8613
+ *
8614
+ * @param id - Id of a notification
8615
+ * @param body - Status to set
8616
+ * @param options - additional request options
8617
+ */
8618
+ post_notification_status(
8619
+ id: string,
8620
+ body: PostNotificationStatusBody,
8621
+ options?: RequestOptions
8622
+ ): ResponsePromise<PostNotificationStatusResponse> {
8623
+ return this.request(
8624
+ "notification",
8625
+ "post_notification_status",
8626
+ "post",
8627
+ `/notification/${id}/status`,
8628
+ body,
8629
+ options
8630
+ );
8631
+ }
8632
+
8633
+ /**
8634
+ * POST /notification/device/push - Send a push notification to user's device
8635
+ *
8636
+ * @param body - Push notification to send
8637
+ * @param options - additional request options
8638
+ */
8639
+ post_notification_device_push(
8640
+ body: PostNotificationDevicePushBody,
8641
+ options?: RequestOptions
8642
+ ): ResponsePromise<PostNotificationDevicePushResponse> {
8643
+ return this.request(
8644
+ "notification",
8645
+ "post_notification_device_push",
8646
+ "post",
8647
+ `/notification/device/push`,
8648
+ body,
8649
+ options
8650
+ );
8651
+ }
8652
+
8653
+ /**
8654
+ * GET /notification/swagger.json - Get a swagger for notification service
8655
+ *
8656
+ * @param options - additional request options
8657
+ */
8658
+ get_notification_swagger(
8659
+ options?: {
8660
+ query?: GetNotificationSwaggerQuery;
8661
+ } & RequestOptions
8662
+ ): ResponsePromise<GetNotificationSwaggerResponse> {
8663
+ return this.request(
8664
+ "notification",
8665
+ "get_notification_swagger",
8666
+ "get",
8667
+ `/notification/swagger.json`,
8668
+ null,
8669
+ options
8670
+ );
8671
+ }
8672
+
8673
+ /**
8674
+ * GET /compassconnect/get_oms_token - Gets an OMS token
8675
+ *
8676
+ * @param options - additional request options
8677
+ */
8678
+ get_compassconnect_oms_token(
8679
+ options: {
8680
+ query: GetCompassconnectOmsTokenQuery;
8681
+ } & RequestOptions
8682
+ ): ResponsePromise<GetCompassconnectOmsTokenResponse> {
8683
+ return this.request(
8684
+ "compassconnect",
8685
+ "get_compassconnect_oms_token",
8686
+ "get",
8687
+ `/compassconnect/get_oms_token`,
8688
+ null,
8689
+ options
8690
+ );
8691
+ }
8692
+
8693
+ /**
8694
+ * POST /vendor/application - Create a new application for review
7039
8695
  *
7040
8696
  * @param body
7041
8697
  * @param options - additional request options
@@ -7543,6 +9199,28 @@ export class ServiceClient extends BaseServiceClient {
7543
9199
  return this.request("delivery", "get_delivery", "get", `/delivery/${id}`, null, options);
7544
9200
  }
7545
9201
 
9202
+ /**
9203
+ * POST /delivery/{id}/availability - Get delivery availability for provided brand and coordinates
9204
+ *
9205
+ * @param id - delivery provider id
9206
+ * @param body - Order object that needs to be created
9207
+ * @param options - additional request options
9208
+ */
9209
+ post_delivery_availability(
9210
+ id: string,
9211
+ body: PostDeliveryAvailabilityBody,
9212
+ options?: RequestOptions
9213
+ ): ResponsePromise<PostDeliveryAvailabilityResponse> {
9214
+ return this.request(
9215
+ "delivery",
9216
+ "post_delivery_availability",
9217
+ "post",
9218
+ `/delivery/${id}/availability`,
9219
+ body,
9220
+ options
9221
+ );
9222
+ }
9223
+
7546
9224
  /**
7547
9225
  * POST /loyalty/{id}/enroll/{user_id} - Enroll logged in user in Loyalty program
7548
9226
  *