@compassdigital/sdk.typescript 3.45.2 → 3.46.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 (109) hide show
  1. package/lib/index.d.ts +194 -22
  2. package/lib/index.d.ts.map +1 -1
  3. package/lib/index.js +212 -18
  4. package/lib/index.js.map +1 -1
  5. package/lib/interface/announcement.d.ts.map +1 -1
  6. package/lib/interface/announcement.js +1 -0
  7. package/lib/interface/announcement.js.map +1 -1
  8. package/lib/interface/calendar.d.ts.map +1 -1
  9. package/lib/interface/calendar.js +1 -0
  10. package/lib/interface/calendar.js.map +1 -1
  11. package/lib/interface/compassconnect.d.ts.map +1 -1
  12. package/lib/interface/compassconnect.js +1 -0
  13. package/lib/interface/compassconnect.js.map +1 -1
  14. package/lib/interface/config.d.ts.map +1 -1
  15. package/lib/interface/config.js +1 -0
  16. package/lib/interface/config.js.map +1 -1
  17. package/lib/interface/datalake.d.ts.map +1 -1
  18. package/lib/interface/datalake.js +1 -0
  19. package/lib/interface/datalake.js.map +1 -1
  20. package/lib/interface/delivery.d.ts +13 -13
  21. package/lib/interface/delivery.d.ts.map +1 -1
  22. package/lib/interface/delivery.js +1 -0
  23. package/lib/interface/delivery.js.map +1 -1
  24. package/lib/interface/email.d.ts.map +1 -1
  25. package/lib/interface/email.js +1 -0
  26. package/lib/interface/email.js.map +1 -1
  27. package/lib/interface/file.d.ts.map +1 -1
  28. package/lib/interface/file.js +1 -0
  29. package/lib/interface/file.js.map +1 -1
  30. package/lib/interface/kds.d.ts.map +1 -1
  31. package/lib/interface/kds.js +1 -0
  32. package/lib/interface/kds.js.map +1 -1
  33. package/lib/interface/location.d.ts.map +1 -1
  34. package/lib/interface/location.js +1 -0
  35. package/lib/interface/location.js.map +1 -1
  36. package/lib/interface/loyalty.d.ts.map +1 -1
  37. package/lib/interface/loyalty.js +1 -0
  38. package/lib/interface/loyalty.js.map +1 -1
  39. package/lib/interface/mealplan.d.ts.map +1 -1
  40. package/lib/interface/mealplan.js +1 -0
  41. package/lib/interface/mealplan.js.map +1 -1
  42. package/lib/interface/menu.d.ts +1058 -82
  43. package/lib/interface/menu.d.ts.map +1 -1
  44. package/lib/interface/menu.js +1 -0
  45. package/lib/interface/menu.js.map +1 -1
  46. package/lib/interface/notification.d.ts.map +1 -1
  47. package/lib/interface/notification.js +1 -0
  48. package/lib/interface/notification.js.map +1 -1
  49. package/lib/interface/order.d.ts +2 -0
  50. package/lib/interface/order.d.ts.map +1 -1
  51. package/lib/interface/order.js +1 -0
  52. package/lib/interface/order.js.map +1 -1
  53. package/lib/interface/partner.d.ts.map +1 -1
  54. package/lib/interface/partner.js +1 -0
  55. package/lib/interface/partner.js.map +1 -1
  56. package/lib/interface/payment.d.ts +7 -21
  57. package/lib/interface/payment.d.ts.map +1 -1
  58. package/lib/interface/payment.js +1 -0
  59. package/lib/interface/payment.js.map +1 -1
  60. package/lib/interface/permission.d.ts.map +1 -1
  61. package/lib/interface/permission.js +1 -0
  62. package/lib/interface/permission.js.map +1 -1
  63. package/lib/interface/promo.d.ts.map +1 -1
  64. package/lib/interface/promo.js +1 -0
  65. package/lib/interface/promo.js.map +1 -1
  66. package/lib/interface/report.d.ts.map +1 -1
  67. package/lib/interface/report.js +1 -0
  68. package/lib/interface/report.js.map +1 -1
  69. package/lib/interface/shoppingcart.d.ts.map +1 -1
  70. package/lib/interface/shoppingcart.js +1 -0
  71. package/lib/interface/shoppingcart.js.map +1 -1
  72. package/lib/interface/sms.js +1 -0
  73. package/lib/interface/sms.js.map +1 -1
  74. package/lib/interface/task.d.ts.map +1 -1
  75. package/lib/interface/task.js +1 -0
  76. package/lib/interface/task.js.map +1 -1
  77. package/lib/interface/user.d.ts.map +1 -1
  78. package/lib/interface/user.js +1 -0
  79. package/lib/interface/user.js.map +1 -1
  80. package/lib/interface/vendor.d.ts.map +1 -1
  81. package/lib/interface/vendor.js +1 -0
  82. package/lib/interface/vendor.js.map +1 -1
  83. package/package.json +2 -2
  84. package/src/index.ts +509 -36
  85. package/src/interface/announcement.ts +1 -0
  86. package/src/interface/calendar.ts +1 -0
  87. package/src/interface/compassconnect.ts +1 -0
  88. package/src/interface/config.ts +1 -0
  89. package/src/interface/datalake.ts +1 -0
  90. package/src/interface/delivery.ts +14 -13
  91. package/src/interface/email.ts +1 -0
  92. package/src/interface/file.ts +1 -0
  93. package/src/interface/kds.ts +1 -0
  94. package/src/interface/location.ts +1 -0
  95. package/src/interface/loyalty.ts +1 -0
  96. package/src/interface/mealplan.ts +1 -0
  97. package/src/interface/menu.ts +1392 -89
  98. package/src/interface/notification.ts +1 -0
  99. package/src/interface/order.ts +4 -0
  100. package/src/interface/partner.ts +1 -0
  101. package/src/interface/payment.ts +15 -41
  102. package/src/interface/permission.ts +1 -0
  103. package/src/interface/promo.ts +1 -0
  104. package/src/interface/report.ts +1 -0
  105. package/src/interface/shoppingcart.ts +1 -0
  106. package/src/interface/sms.ts +1 -0
  107. package/src/interface/task.ts +1 -0
  108. package/src/interface/user.ts +1 -0
  109. package/src/interface/vendor.ts +1 -0
package/src/index.ts CHANGED
@@ -27,8 +27,6 @@ import {
27
27
  GetPaymentMethodsResponse,
28
28
  GetPaymentHpcQuery,
29
29
  GetPaymentHpcResponse,
30
- GetPaymentHcaptchaVerifyQuery,
31
- GetPaymentHcaptchaVerifyResponse,
32
30
  GetPaymentBadgepayQuery,
33
31
  GetPaymentBadgepayResponse,
34
32
  PostPaymentBadgepayBody,
@@ -460,22 +458,28 @@ import {
460
458
  import {
461
459
  GetMenuV3ModifiersQuery,
462
460
  GetMenuV3ModifiersResponse,
461
+ PostMenuV3ModifiersBody,
462
+ PostMenuV3ModifiersResponse,
463
463
  GetMenuV3ModifierQuery,
464
464
  GetMenuV3ModifierResponse,
465
465
  PatchMenuV3ModifierBody,
466
466
  PatchMenuV3ModifierResponse,
467
+ DeleteMenuV3ModifierResponse,
467
468
  PostMenuV3ModifierBody,
468
469
  PostMenuV3ModifierResponse,
469
470
  GetMenuV3ModifierCountQuery,
470
471
  GetMenuV3ModifierCountResponse,
471
472
  GetMenuV3ModifierGroupsQuery,
472
473
  GetMenuV3ModifierGroupsResponse,
474
+ PostMenuV3ModifierGroupsBody,
475
+ PostMenuV3ModifierGroupsResponse,
473
476
  PostMenuV3ModifierGroupBody,
474
477
  PostMenuV3ModifierGroupResponse,
475
478
  GetMenuV3ModifierGroupQuery,
476
479
  GetMenuV3ModifierGroupResponse,
477
480
  PatchMenuV3ModifierGroupBody,
478
481
  PatchMenuV3ModifierGroupResponse,
482
+ DeleteMenuV3ModifierGroupResponse,
479
483
  GetMenuV3ModifierGroupCountQuery,
480
484
  GetMenuV3ModifierGroupCountResponse,
481
485
  GetMenuV3ModifierGroupRelationshipsModifiersQuery,
@@ -488,12 +492,16 @@ import {
488
492
  GetMenuV3ModifierGroupRelationshipsModifierResponse,
489
493
  PatchMenuV3ModifierGroupRelationshipsModifierBody,
490
494
  PatchMenuV3ModifierGroupRelationshipsModifierResponse,
495
+ DeleteMenuV3ModifierGroupRelationshipsModifierResponse,
491
496
  GetMenuV3ItemsQuery,
492
497
  GetMenuV3ItemsResponse,
498
+ PostMenuV3ItemsBody,
499
+ PostMenuV3ItemsResponse,
493
500
  GetMenuV3ItemQuery,
494
501
  GetMenuV3ItemResponse,
495
502
  PatchMenuV3ItemBody,
496
503
  PatchMenuV3ItemResponse,
504
+ DeleteMenuV3ItemResponse,
497
505
  PostMenuV3ItemBody,
498
506
  PostMenuV3ItemResponse,
499
507
  GetMenuV3ItemsCountQuery,
@@ -504,11 +512,15 @@ import {
504
512
  PostMenuV3ItemRelationshipsModifierGroupsResponse,
505
513
  PostMenuV3ItemRelationshipsModifierGroupBody,
506
514
  PostMenuV3ItemRelationshipsModifierGroupResponse,
515
+ GetMenuV3ItemRelationshipsModifierGroupQuery,
516
+ GetMenuV3ItemRelationshipsModifierGroupResponse,
507
517
  PatchMenuV3ItemRelationshipsModifierGroupBody,
508
518
  PatchMenuV3ItemRelationshipsModifierGroupResponse,
509
519
  DeleteMenuV3ItemRelationshipsModifierGroupResponse,
510
520
  GetMenuV3LayoutsQuery,
511
521
  GetMenuV3LayoutsResponse,
522
+ PostMenuV3LayoutsBody,
523
+ PostMenuV3LayoutsResponse,
512
524
  GetMenuV3LayoutCategoriesQuery,
513
525
  GetMenuV3LayoutCategoriesResponse,
514
526
  GetMenuV3LayoutQuery,
@@ -537,15 +549,19 @@ import {
537
549
  PostMenuV3CategoryRelationshipsItemsResponse,
538
550
  PostMenuV3CategoryRelationshipsItemBody,
539
551
  PostMenuV3CategoryRelationshipsItemResponse,
552
+ GetMenuV3CategoryRelationshipsItemQuery,
553
+ GetMenuV3CategoryRelationshipsItemResponse,
540
554
  PatchMenuV3CategoryRelationshipsItemBody,
541
555
  PatchMenuV3CategoryRelationshipsItemResponse,
542
556
  DeleteMenuV3CategoryRelationshipsItemResponse,
543
557
  GetMenuV3BrandsQuery,
544
558
  GetMenuV3BrandsResponse,
559
+ PostMenuV3BrandsBody,
560
+ PostMenuV3BrandsResponse,
545
561
  GetMenuV3BrandModifiersQuery,
546
562
  GetMenuV3BrandModifiersResponse,
547
- GetMenuV3BrandModifier_groupsQuery,
548
- GetMenuV3BrandModifier_groupsResponse,
563
+ GetMenuV3BrandModifierGroupsQuery,
564
+ GetMenuV3BrandModifierGroupsResponse,
549
565
  GetMenuV3BrandItemsQuery,
550
566
  GetMenuV3BrandItemsResponse,
551
567
  GetMenuV3BrandQuery,
@@ -559,6 +575,8 @@ import {
559
575
  GetMenuV3BrandsCountResponse,
560
576
  GetMenuV3StationsQuery,
561
577
  GetMenuV3StationsResponse,
578
+ PostMenuV3StationsBody,
579
+ PostMenuV3StationsResponse,
562
580
  GetMenuV3StationQuery,
563
581
  GetMenuV3StationResponse,
564
582
  PatchMenuV3StationBody,
@@ -626,6 +644,28 @@ import {
626
644
  PostMenuPartialGroupItemOptionsQuery,
627
645
  PostMenuPartialGroupItemOptionsBody,
628
646
  PostMenuPartialGroupItemOptionsResponse,
647
+ PostMenuV3LayoutPublishQuery,
648
+ PostMenuV3LayoutPublishResponse,
649
+ PostMenuV3CategorysBody,
650
+ PostMenuV3CategorysResponse,
651
+ GetMenuV3CategoryRelationshipsItemsCountQuery,
652
+ GetMenuV3CategoryRelationshipsItemsCountResponse,
653
+ GetMenuV3ItemRelationshipsModifierGroupsCountQuery,
654
+ GetMenuV3ItemRelationshipsModifierGroupsCountResponse,
655
+ GetMenuV3ModifierGroupsCountQuery,
656
+ GetMenuV3ModifierGroupsCountResponse,
657
+ GetMenuV3ModifierGroupRelationshipsModifiersCountQuery,
658
+ GetMenuV3ModifierGroupRelationshipsModifiersCountResponse,
659
+ GetMenuV3ModifiersCountQuery,
660
+ GetMenuV3ModifiersCountResponse,
661
+ GetMenuV3StationModifiersQuery,
662
+ GetMenuV3StationModifiersResponse,
663
+ GetMenuV3StationModifierGroupsQuery,
664
+ GetMenuV3StationModifierGroupsResponse,
665
+ GetMenuV3StationItemsQuery,
666
+ GetMenuV3StationItemsResponse,
667
+ GetMenuV3SiteLayoutsQuery,
668
+ GetMenuV3SiteLayoutsResponse,
629
669
  } from "./interface/menu";
630
670
 
631
671
  import {
@@ -987,26 +1027,6 @@ export class ServiceClient extends BaseServiceClient {
987
1027
  return this.request("payment", "get_payment_hpc", "get", `/payment/hpc`, null, options);
988
1028
  }
989
1029
 
990
- /**
991
- * GET /payment/hcaptcha/verify
992
- *
993
- * @param options - additional request options
994
- */
995
- get_payment_hcaptcha_verify(
996
- options?: {
997
- query?: GetPaymentHcaptchaVerifyQuery;
998
- } & RequestOptions
999
- ): ResponsePromise<GetPaymentHcaptchaVerifyResponse> {
1000
- return this.request(
1001
- "payment",
1002
- "get_payment_hcaptcha_verify",
1003
- "get",
1004
- `/payment/hcaptcha/verify`,
1005
- null,
1006
- options
1007
- );
1008
- }
1009
-
1010
1030
  /**
1011
1031
  * GET /payment/{id}/badgepay
1012
1032
  *
@@ -4777,6 +4797,26 @@ export class ServiceClient extends BaseServiceClient {
4777
4797
  );
4778
4798
  }
4779
4799
 
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
+
4780
4820
  /**
4781
4821
  * GET /menu/v3/modifier/{id}
4782
4822
  *
@@ -4803,7 +4843,7 @@ export class ServiceClient extends BaseServiceClient {
4803
4843
  * PATCH /menu/v3/modifier/{id}
4804
4844
  *
4805
4845
  * @param id
4806
- * @param body
4846
+ * @param body - A partially populated ModifierEntity
4807
4847
  * @param options - additional request options
4808
4848
  */
4809
4849
  patch_menu_v3_modifier(
@@ -4821,6 +4861,26 @@ export class ServiceClient extends BaseServiceClient {
4821
4861
  );
4822
4862
  }
4823
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
+
4824
4884
  /**
4825
4885
  * POST /menu/v3/modifier
4826
4886
  *
@@ -4881,6 +4941,26 @@ export class ServiceClient extends BaseServiceClient {
4881
4941
  );
4882
4942
  }
4883
4943
 
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
+
4884
4964
  /**
4885
4965
  * POST /menu/v3/modifier-group
4886
4966
  *
@@ -4927,7 +5007,7 @@ export class ServiceClient extends BaseServiceClient {
4927
5007
  * PATCH /menu/v3/modifier-group/{id}
4928
5008
  *
4929
5009
  * @param id
4930
- * @param body
5010
+ * @param body - A partially populated ModifierGroupEntity
4931
5011
  * @param options - additional request options
4932
5012
  */
4933
5013
  patch_menu_v3_modifier_group(
@@ -4945,6 +5025,26 @@ export class ServiceClient extends BaseServiceClient {
4945
5025
  );
4946
5026
  }
4947
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
+
4948
5048
  /**
4949
5049
  * GET /menu/v3/modifier-group/count
4950
5050
  *
@@ -5051,7 +5151,7 @@ export class ServiceClient extends BaseServiceClient {
5051
5151
  * PATCH /menu/v3/modifier-group/relationships/modifier/{id}
5052
5152
  *
5053
5153
  * @param id
5054
- * @param body
5154
+ * @param body - A partially populated ModifierGroupToModifierRelationship
5055
5155
  * @param options - additional request options
5056
5156
  */
5057
5157
  patch_menu_v3_modifier_group_relationships_modifier(
@@ -5069,6 +5169,26 @@ export class ServiceClient extends BaseServiceClient {
5069
5169
  );
5070
5170
  }
5071
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
+
5072
5192
  /**
5073
5193
  * GET /menu/v3/items
5074
5194
  *
@@ -5082,6 +5202,19 @@ export class ServiceClient extends BaseServiceClient {
5082
5202
  return this.request("menu", "get_menu_v3_items", "get", `/menu/v3/items`, null, options);
5083
5203
  }
5084
5204
 
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
+
5085
5218
  /**
5086
5219
  * GET /menu/v3/item/{id}
5087
5220
  *
@@ -5101,7 +5234,7 @@ export class ServiceClient extends BaseServiceClient {
5101
5234
  * PATCH /menu/v3/item/{id}
5102
5235
  *
5103
5236
  * @param id
5104
- * @param body
5237
+ * @param body - A partially populated ItemEntity
5105
5238
  * @param options - additional request options
5106
5239
  */
5107
5240
  patch_menu_v3_item(
@@ -5119,6 +5252,26 @@ export class ServiceClient extends BaseServiceClient {
5119
5252
  );
5120
5253
  }
5121
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
+
5122
5275
  /**
5123
5276
  * POST /menu/v3/item
5124
5277
  *
@@ -5212,11 +5365,33 @@ export class ServiceClient extends BaseServiceClient {
5212
5365
  );
5213
5366
  }
5214
5367
 
5368
+ /**
5369
+ * GET /menu/v3/item/relationships/modifier-group/{id}
5370
+ *
5371
+ * @param id
5372
+ * @param options - additional request options
5373
+ */
5374
+ get_menu_v3_item_relationships_modifier_group(
5375
+ id: string,
5376
+ options?: {
5377
+ query?: GetMenuV3ItemRelationshipsModifierGroupQuery;
5378
+ } & RequestOptions
5379
+ ): ResponsePromise<GetMenuV3ItemRelationshipsModifierGroupResponse> {
5380
+ return this.request(
5381
+ "menu",
5382
+ "get_menu_v3_item_relationships_modifier_group",
5383
+ "get",
5384
+ `/menu/v3/item/relationships/modifier-group/${id}`,
5385
+ null,
5386
+ options
5387
+ );
5388
+ }
5389
+
5215
5390
  /**
5216
5391
  * PATCH /menu/v3/item/relationships/modifier-group/{id}
5217
5392
  *
5218
5393
  * @param id
5219
- * @param body
5394
+ * @param body - A partially populated ItemToModifierGroupRelationship
5220
5395
  * @param options - additional request options
5221
5396
  */
5222
5397
  patch_menu_v3_item_relationships_modifier_group(
@@ -5267,6 +5442,19 @@ export class ServiceClient extends BaseServiceClient {
5267
5442
  return this.request("menu", "get_menu_v3_layouts", "get", `/menu/v3/layouts`, null, options);
5268
5443
  }
5269
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
+
5270
5458
  /**
5271
5459
  * GET /menu/v3/layout/{id}/categories
5272
5460
  *
@@ -5315,7 +5503,7 @@ export class ServiceClient extends BaseServiceClient {
5315
5503
  * PATCH /menu/v3/layout/{id}
5316
5504
  *
5317
5505
  * @param id
5318
- * @param body
5506
+ * @param body - A partially populated LayoutEntity
5319
5507
  * @param options - additional request options
5320
5508
  */
5321
5509
  patch_menu_v3_layout(
@@ -5432,7 +5620,7 @@ export class ServiceClient extends BaseServiceClient {
5432
5620
  * PATCH /menu/v3/category/{id}
5433
5621
  *
5434
5622
  * @param id
5435
- * @param body
5623
+ * @param body - A partially populated CategoryEntity
5436
5624
  * @param options - additional request options
5437
5625
  */
5438
5626
  patch_menu_v3_category(
@@ -5570,11 +5758,33 @@ export class ServiceClient extends BaseServiceClient {
5570
5758
  );
5571
5759
  }
5572
5760
 
5761
+ /**
5762
+ * GET /menu/v3/category/relationships/item/{id}
5763
+ *
5764
+ * @param id
5765
+ * @param options - additional request options
5766
+ */
5767
+ get_menu_v3_category_relationships_item(
5768
+ id: string,
5769
+ options?: {
5770
+ query?: GetMenuV3CategoryRelationshipsItemQuery;
5771
+ } & RequestOptions
5772
+ ): ResponsePromise<GetMenuV3CategoryRelationshipsItemResponse> {
5773
+ return this.request(
5774
+ "menu",
5775
+ "get_menu_v3_category_relationships_item",
5776
+ "get",
5777
+ `/menu/v3/category/relationships/item/${id}`,
5778
+ null,
5779
+ options
5780
+ );
5781
+ }
5782
+
5573
5783
  /**
5574
5784
  * PATCH /menu/v3/category/relationships/item/{id}
5575
5785
  *
5576
5786
  * @param id
5577
- * @param body
5787
+ * @param body - A partially populated CategoryToItemRelationship
5578
5788
  * @param options - additional request options
5579
5789
  */
5580
5790
  patch_menu_v3_category_relationships_item(
@@ -5625,6 +5835,19 @@ export class ServiceClient extends BaseServiceClient {
5625
5835
  return this.request("menu", "get_menu_v3_brands", "get", `/menu/v3/brands`, null, options);
5626
5836
  }
5627
5837
 
5838
+ /**
5839
+ * POST /menu/v3/brands
5840
+ *
5841
+ * @param body
5842
+ * @param options - additional request options
5843
+ */
5844
+ post_menu_v3_brands(
5845
+ body: PostMenuV3BrandsBody,
5846
+ options?: RequestOptions
5847
+ ): ResponsePromise<PostMenuV3BrandsResponse> {
5848
+ return this.request("menu", "post_menu_v3_brands", "post", `/menu/v3/brands`, body, options);
5849
+ }
5850
+
5628
5851
  /**
5629
5852
  * GET /menu/v3/brand/{id}/modifiers
5630
5853
  *
@@ -5656,9 +5879,9 @@ export class ServiceClient extends BaseServiceClient {
5656
5879
  get_menu_v3_brand_modifier_groups(
5657
5880
  id: string,
5658
5881
  options?: {
5659
- query?: GetMenuV3BrandModifier_groupsQuery;
5882
+ query?: GetMenuV3BrandModifierGroupsQuery;
5660
5883
  } & RequestOptions
5661
- ): ResponsePromise<GetMenuV3BrandModifier_groupsResponse> {
5884
+ ): ResponsePromise<GetMenuV3BrandModifierGroupsResponse> {
5662
5885
  return this.request(
5663
5886
  "menu",
5664
5887
  "get_menu_v3_brand_modifier_groups",
@@ -5710,7 +5933,7 @@ export class ServiceClient extends BaseServiceClient {
5710
5933
  * PATCH /menu/v3/brand/{id}
5711
5934
  *
5712
5935
  * @param id
5713
- * @param body
5936
+ * @param body - A partially populated BrandEntity
5714
5937
  * @param options - additional request options
5715
5938
  */
5716
5939
  patch_menu_v3_brand(
@@ -5794,6 +6017,26 @@ export class ServiceClient extends BaseServiceClient {
5794
6017
  return this.request("menu", "get_menu_v3_stations", "get", `/menu/v3/stations`, null, options);
5795
6018
  }
5796
6019
 
6020
+ /**
6021
+ * POST /menu/v3/stations
6022
+ *
6023
+ * @param body
6024
+ * @param options - additional request options
6025
+ */
6026
+ post_menu_v3_stations(
6027
+ body: PostMenuV3StationsBody,
6028
+ options?: RequestOptions
6029
+ ): ResponsePromise<PostMenuV3StationsResponse> {
6030
+ return this.request(
6031
+ "menu",
6032
+ "post_menu_v3_stations",
6033
+ "post",
6034
+ `/menu/v3/stations`,
6035
+ body,
6036
+ options
6037
+ );
6038
+ }
6039
+
5797
6040
  /**
5798
6041
  * GET /menu/v3/station/{id}
5799
6042
  *
@@ -5820,7 +6063,7 @@ export class ServiceClient extends BaseServiceClient {
5820
6063
  * PATCH /menu/v3/station/{id}
5821
6064
  *
5822
6065
  * @param id
5823
- * @param body
6066
+ * @param body - A partially populated StationEntity
5824
6067
  * @param options - additional request options
5825
6068
  */
5826
6069
  patch_menu_v3_station(
@@ -6424,6 +6667,236 @@ export class ServiceClient extends BaseServiceClient {
6424
6667
  );
6425
6668
  }
6426
6669
 
6670
+ /**
6671
+ * POST /menu/v3/layout/{id}/publish
6672
+ *
6673
+ * @param id
6674
+ * @param options - additional request options
6675
+ */
6676
+ post_menu_v3_layout_publish(
6677
+ id: string,
6678
+ options?: {
6679
+ query?: PostMenuV3LayoutPublishQuery;
6680
+ } & RequestOptions
6681
+ ): ResponsePromise<PostMenuV3LayoutPublishResponse> {
6682
+ return this.request(
6683
+ "menu",
6684
+ "post_menu_v3_layout_publish",
6685
+ "post",
6686
+ `/menu/v3/layout/${id}/publish`,
6687
+ null,
6688
+ options
6689
+ );
6690
+ }
6691
+
6692
+ /**
6693
+ * POST /menu/v3/categorys
6694
+ *
6695
+ * @param body
6696
+ * @param options - additional request options
6697
+ */
6698
+ post_menu_v3_categorys(
6699
+ body: PostMenuV3CategorysBody,
6700
+ options?: RequestOptions
6701
+ ): ResponsePromise<PostMenuV3CategorysResponse> {
6702
+ return this.request(
6703
+ "menu",
6704
+ "post_menu_v3_categorys",
6705
+ "post",
6706
+ `/menu/v3/categorys`,
6707
+ body,
6708
+ options
6709
+ );
6710
+ }
6711
+
6712
+ /**
6713
+ * GET /menu/v3/category/relationships/items/count
6714
+ *
6715
+ * @param options - additional request options
6716
+ */
6717
+ get_menu_v3_category_relationships_items_count(
6718
+ options?: {
6719
+ query?: GetMenuV3CategoryRelationshipsItemsCountQuery;
6720
+ } & RequestOptions
6721
+ ): ResponsePromise<GetMenuV3CategoryRelationshipsItemsCountResponse> {
6722
+ return this.request(
6723
+ "menu",
6724
+ "get_menu_v3_category_relationships_items_count",
6725
+ "get",
6726
+ `/menu/v3/category/relationships/items/count`,
6727
+ null,
6728
+ options
6729
+ );
6730
+ }
6731
+
6732
+ /**
6733
+ * GET /menu/v3/item/relationships/modifier-groups/count
6734
+ *
6735
+ * @param options - additional request options
6736
+ */
6737
+ get_menu_v3_item_relationships_modifier_groups_count(
6738
+ options?: {
6739
+ query?: GetMenuV3ItemRelationshipsModifierGroupsCountQuery;
6740
+ } & RequestOptions
6741
+ ): ResponsePromise<GetMenuV3ItemRelationshipsModifierGroupsCountResponse> {
6742
+ return this.request(
6743
+ "menu",
6744
+ "get_menu_v3_item_relationships_modifier_groups_count",
6745
+ "get",
6746
+ `/menu/v3/item/relationships/modifier-groups/count`,
6747
+ null,
6748
+ options
6749
+ );
6750
+ }
6751
+
6752
+ /**
6753
+ * GET /menu/v3/modifier-groups/count
6754
+ *
6755
+ * @param options - additional request options
6756
+ */
6757
+ get_menu_v3_modifier_groups_count(
6758
+ options?: {
6759
+ query?: GetMenuV3ModifierGroupsCountQuery;
6760
+ } & RequestOptions
6761
+ ): ResponsePromise<GetMenuV3ModifierGroupsCountResponse> {
6762
+ return this.request(
6763
+ "menu",
6764
+ "get_menu_v3_modifier_groups_count",
6765
+ "get",
6766
+ `/menu/v3/modifier-groups/count`,
6767
+ null,
6768
+ options
6769
+ );
6770
+ }
6771
+
6772
+ /**
6773
+ * GET /menu/v3/modifier-group/relationships/modifiers/count
6774
+ *
6775
+ * @param options - additional request options
6776
+ */
6777
+ get_menu_v3_modifier_group_relationships_modifiers_count(
6778
+ options?: {
6779
+ query?: GetMenuV3ModifierGroupRelationshipsModifiersCountQuery;
6780
+ } & RequestOptions
6781
+ ): ResponsePromise<GetMenuV3ModifierGroupRelationshipsModifiersCountResponse> {
6782
+ return this.request(
6783
+ "menu",
6784
+ "get_menu_v3_modifier_group_relationships_modifiers_count",
6785
+ "get",
6786
+ `/menu/v3/modifier-group/relationships/modifiers/count`,
6787
+ null,
6788
+ options
6789
+ );
6790
+ }
6791
+
6792
+ /**
6793
+ * GET /menu/v3/modifiers/count
6794
+ *
6795
+ * @param options - additional request options
6796
+ */
6797
+ get_menu_v3_modifiers_count(
6798
+ options?: {
6799
+ query?: GetMenuV3ModifiersCountQuery;
6800
+ } & RequestOptions
6801
+ ): ResponsePromise<GetMenuV3ModifiersCountResponse> {
6802
+ return this.request(
6803
+ "menu",
6804
+ "get_menu_v3_modifiers_count",
6805
+ "get",
6806
+ `/menu/v3/modifiers/count`,
6807
+ null,
6808
+ options
6809
+ );
6810
+ }
6811
+
6812
+ /**
6813
+ * GET /menu/v3/station/{id}/modifiers
6814
+ *
6815
+ * @param id
6816
+ * @param options - additional request options
6817
+ */
6818
+ get_menu_v3_station_modifiers(
6819
+ id: string,
6820
+ options?: {
6821
+ query?: GetMenuV3StationModifiersQuery;
6822
+ } & RequestOptions
6823
+ ): ResponsePromise<GetMenuV3StationModifiersResponse> {
6824
+ return this.request(
6825
+ "menu",
6826
+ "get_menu_v3_station_modifiers",
6827
+ "get",
6828
+ `/menu/v3/station/${id}/modifiers`,
6829
+ null,
6830
+ options
6831
+ );
6832
+ }
6833
+
6834
+ /**
6835
+ * GET /menu/v3/station/{id}/modifier_groups
6836
+ *
6837
+ * @param id
6838
+ * @param options - additional request options
6839
+ */
6840
+ get_menu_v3_station_modifier_groups(
6841
+ id: string,
6842
+ options?: {
6843
+ query?: GetMenuV3StationModifierGroupsQuery;
6844
+ } & RequestOptions
6845
+ ): ResponsePromise<GetMenuV3StationModifierGroupsResponse> {
6846
+ return this.request(
6847
+ "menu",
6848
+ "get_menu_v3_station_modifier_groups",
6849
+ "get",
6850
+ `/menu/v3/station/${id}/modifier_groups`,
6851
+ null,
6852
+ options
6853
+ );
6854
+ }
6855
+
6856
+ /**
6857
+ * GET /menu/v3/station/{id}/items
6858
+ *
6859
+ * @param id
6860
+ * @param options - additional request options
6861
+ */
6862
+ get_menu_v3_station_items(
6863
+ id: string,
6864
+ options?: {
6865
+ query?: GetMenuV3StationItemsQuery;
6866
+ } & RequestOptions
6867
+ ): ResponsePromise<GetMenuV3StationItemsResponse> {
6868
+ return this.request(
6869
+ "menu",
6870
+ "get_menu_v3_station_items",
6871
+ "get",
6872
+ `/menu/v3/station/${id}/items`,
6873
+ null,
6874
+ options
6875
+ );
6876
+ }
6877
+
6878
+ /**
6879
+ * GET /menu/v3/site/{id}/layouts
6880
+ *
6881
+ * @param id
6882
+ * @param options - additional request options
6883
+ */
6884
+ get_menu_v3_site_layouts(
6885
+ id: string,
6886
+ options?: {
6887
+ query?: GetMenuV3SiteLayoutsQuery;
6888
+ } & RequestOptions
6889
+ ): ResponsePromise<GetMenuV3SiteLayoutsResponse> {
6890
+ return this.request(
6891
+ "menu",
6892
+ "get_menu_v3_site_layouts",
6893
+ "get",
6894
+ `/menu/v3/site/${id}/layouts`,
6895
+ null,
6896
+ options
6897
+ );
6898
+ }
6899
+
6427
6900
  /**
6428
6901
  * GET /notification - Get all notifications
6429
6902
  *