@compassdigital/sdk.typescript 3.0.0-beta.8 → 3.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/README.md +121 -8
  2. package/bin/gen.js +484 -0
  3. package/bin/index.js +3 -0
  4. package/gen.ts +99 -41
  5. package/lib/base.d.ts +134 -9
  6. package/lib/base.d.ts.map +1 -1
  7. package/lib/base.js +293 -48
  8. package/lib/base.js.map +1 -1
  9. package/lib/index.d.ts +592 -337
  10. package/lib/index.d.ts.map +1 -1
  11. package/lib/index.js +544 -245
  12. package/lib/index.js.map +1 -1
  13. package/lib/interface/announcement.d.ts.map +1 -0
  14. package/lib/interface/announcement.js +4 -0
  15. package/lib/interface/announcement.js.map +1 -0
  16. package/lib/interface/brand.d.ts.map +1 -0
  17. package/lib/interface/brand.js +4 -0
  18. package/lib/interface/brand.js.map +1 -0
  19. package/lib/{calendar.d.ts → interface/calendar.d.ts} +4 -1
  20. package/lib/interface/calendar.d.ts.map +1 -0
  21. package/lib/interface/calendar.js +4 -0
  22. package/lib/interface/calendar.js.map +1 -0
  23. package/lib/interface/config.d.ts.map +1 -0
  24. package/lib/interface/config.js +4 -0
  25. package/lib/interface/config.js.map +1 -0
  26. package/lib/interface/datalake.d.ts.map +1 -0
  27. package/lib/interface/datalake.js +4 -0
  28. package/lib/interface/datalake.js.map +1 -0
  29. package/lib/interface/delivery.d.ts.map +1 -0
  30. package/lib/interface/delivery.js +4 -0
  31. package/lib/interface/delivery.js.map +1 -0
  32. package/lib/interface/dh.d.ts.map +1 -0
  33. package/lib/interface/dh.js +4 -0
  34. package/lib/interface/dh.js.map +1 -0
  35. package/lib/interface/email.d.ts +21 -0
  36. package/lib/interface/email.d.ts.map +1 -0
  37. package/lib/interface/email.js +4 -0
  38. package/lib/interface/email.js.map +1 -0
  39. package/lib/interface/file.d.ts.map +1 -0
  40. package/lib/interface/file.js +4 -0
  41. package/lib/interface/file.js.map +1 -0
  42. package/lib/{kds.d.ts → interface/kds.d.ts} +1 -0
  43. package/lib/interface/kds.d.ts.map +1 -0
  44. package/lib/interface/kds.js +4 -0
  45. package/lib/interface/kds.js.map +1 -0
  46. package/lib/{location.d.ts → interface/location.d.ts} +50 -20
  47. package/lib/interface/location.d.ts.map +1 -0
  48. package/lib/interface/location.js +4 -0
  49. package/lib/interface/location.js.map +1 -0
  50. package/lib/interface/logger.d.ts.map +1 -0
  51. package/lib/interface/logger.js +4 -0
  52. package/lib/interface/logger.js.map +1 -0
  53. package/lib/interface/loyalty.d.ts.map +1 -0
  54. package/lib/interface/loyalty.js +4 -0
  55. package/lib/interface/loyalty.js.map +1 -0
  56. package/lib/interface/mealplan.d.ts.map +1 -0
  57. package/lib/interface/mealplan.js +4 -0
  58. package/lib/interface/mealplan.js.map +1 -0
  59. package/lib/interface/menu.d.ts +448 -0
  60. package/lib/interface/menu.d.ts.map +1 -0
  61. package/lib/interface/menu.js +4 -0
  62. package/lib/interface/menu.js.map +1 -0
  63. package/lib/interface/message.d.ts.map +1 -0
  64. package/lib/interface/message.js +4 -0
  65. package/lib/interface/message.js.map +1 -0
  66. package/lib/{order.d.ts → interface/order.d.ts} +11 -4
  67. package/lib/interface/order.d.ts.map +1 -0
  68. package/lib/interface/order.js +4 -0
  69. package/lib/interface/order.js.map +1 -0
  70. package/lib/{partner.d.ts → interface/partner.d.ts} +243 -4
  71. package/lib/interface/partner.d.ts.map +1 -0
  72. package/lib/interface/partner.js +4 -0
  73. package/lib/interface/partner.js.map +1 -0
  74. package/lib/{payment.d.ts → interface/payment.d.ts} +1 -0
  75. package/lib/interface/payment.d.ts.map +1 -0
  76. package/lib/interface/payment.js +4 -0
  77. package/lib/interface/payment.js.map +1 -0
  78. package/lib/{promo.d.ts → interface/promo.d.ts} +1 -0
  79. package/lib/interface/promo.d.ts.map +1 -0
  80. package/lib/interface/promo.js +4 -0
  81. package/lib/interface/promo.js.map +1 -0
  82. package/lib/{report.d.ts → interface/report.d.ts} +2 -0
  83. package/lib/interface/report.d.ts.map +1 -0
  84. package/lib/interface/report.js +4 -0
  85. package/lib/interface/report.js.map +1 -0
  86. package/lib/interface/schedule.d.ts.map +1 -0
  87. package/lib/interface/schedule.js +4 -0
  88. package/lib/interface/schedule.js.map +1 -0
  89. package/lib/{shoppingcart.d.ts → interface/shoppingcart.d.ts} +10 -1
  90. package/lib/interface/shoppingcart.d.ts.map +1 -0
  91. package/lib/interface/shoppingcart.js +4 -0
  92. package/lib/interface/shoppingcart.js.map +1 -0
  93. package/lib/interface/task.d.ts.map +1 -0
  94. package/lib/interface/task.js +4 -0
  95. package/lib/interface/task.js.map +1 -0
  96. package/lib/{user.d.ts → interface/user.d.ts} +19 -0
  97. package/lib/interface/user.d.ts.map +1 -0
  98. package/lib/interface/user.js +4 -0
  99. package/lib/interface/user.js.map +1 -0
  100. package/lib/interface/vote.d.ts.map +1 -0
  101. package/lib/interface/vote.js +4 -0
  102. package/lib/interface/vote.js.map +1 -0
  103. package/manifest.json +4 -0
  104. package/package.json +15 -5
  105. package/src/base.ts +315 -35
  106. package/src/index.ts +2630 -988
  107. package/src/{announcement.ts → interface/announcement.ts} +2 -0
  108. package/src/{brand.ts → interface/brand.ts} +2 -0
  109. package/src/{calendar.ts → interface/calendar.ts} +7 -1
  110. package/src/{config.ts → interface/config.ts} +2 -0
  111. package/src/{datalake.ts → interface/datalake.ts} +2 -0
  112. package/src/{delivery.ts → interface/delivery.ts} +2 -0
  113. package/src/{dh.ts → interface/dh.ts} +2 -0
  114. package/src/interface/email.ts +30 -0
  115. package/src/{file.ts → interface/file.ts} +2 -0
  116. package/src/{kds.ts → interface/kds.ts} +4 -0
  117. package/src/{location.ts → interface/location.ts} +76 -35
  118. package/src/{logger.ts → interface/logger.ts} +2 -0
  119. package/src/{loyalty.ts → interface/loyalty.ts} +2 -0
  120. package/src/{mealplan.ts → interface/mealplan.ts} +2 -0
  121. package/src/interface/menu.ts +649 -0
  122. package/src/{message.ts → interface/message.ts} +2 -0
  123. package/src/{order.ts → interface/order.ts} +21 -6
  124. package/src/{partner.ts → interface/partner.ts} +291 -5
  125. package/src/{payment.ts → interface/payment.ts} +4 -0
  126. package/src/{promo.ts → interface/promo.ts} +3 -0
  127. package/src/{report.ts → interface/report.ts} +4 -0
  128. package/src/{schedule.ts → interface/schedule.ts} +2 -0
  129. package/src/{shoppingcart.ts → interface/shoppingcart.ts} +14 -1
  130. package/src/{task.ts → interface/task.ts} +2 -0
  131. package/src/{user.ts → interface/user.ts} +34 -1
  132. package/src/{vote.ts → interface/vote.ts} +2 -0
  133. package/template.ejs +3 -3
  134. package/test/client.test.ts +192 -0
  135. package/test/gen.test.ts +22 -0
  136. package/lib/announcement.d.ts.map +0 -1
  137. package/lib/announcement.js +0 -3
  138. package/lib/announcement.js.map +0 -1
  139. package/lib/brand.d.ts.map +0 -1
  140. package/lib/brand.js +0 -3
  141. package/lib/brand.js.map +0 -1
  142. package/lib/calendar.d.ts.map +0 -1
  143. package/lib/calendar.js +0 -3
  144. package/lib/calendar.js.map +0 -1
  145. package/lib/config.d.ts.map +0 -1
  146. package/lib/config.js +0 -3
  147. package/lib/config.js.map +0 -1
  148. package/lib/datalake.d.ts.map +0 -1
  149. package/lib/datalake.js +0 -3
  150. package/lib/datalake.js.map +0 -1
  151. package/lib/delivery.d.ts.map +0 -1
  152. package/lib/delivery.js +0 -3
  153. package/lib/delivery.js.map +0 -1
  154. package/lib/dh.d.ts.map +0 -1
  155. package/lib/dh.js +0 -3
  156. package/lib/dh.js.map +0 -1
  157. package/lib/email.d.ts +0 -5
  158. package/lib/email.d.ts.map +0 -1
  159. package/lib/email.js +0 -3
  160. package/lib/email.js.map +0 -1
  161. package/lib/file.d.ts.map +0 -1
  162. package/lib/file.js +0 -3
  163. package/lib/file.js.map +0 -1
  164. package/lib/kds.d.ts.map +0 -1
  165. package/lib/kds.js +0 -3
  166. package/lib/kds.js.map +0 -1
  167. package/lib/location.d.ts.map +0 -1
  168. package/lib/location.js +0 -3
  169. package/lib/location.js.map +0 -1
  170. package/lib/logger.d.ts.map +0 -1
  171. package/lib/logger.js +0 -3
  172. package/lib/logger.js.map +0 -1
  173. package/lib/loyalty.d.ts.map +0 -1
  174. package/lib/loyalty.js +0 -3
  175. package/lib/loyalty.js.map +0 -1
  176. package/lib/mealplan.d.ts.map +0 -1
  177. package/lib/mealplan.js +0 -3
  178. package/lib/mealplan.js.map +0 -1
  179. package/lib/message.d.ts.map +0 -1
  180. package/lib/message.js +0 -3
  181. package/lib/message.js.map +0 -1
  182. package/lib/order.d.ts.map +0 -1
  183. package/lib/order.js +0 -3
  184. package/lib/order.js.map +0 -1
  185. package/lib/partner.d.ts.map +0 -1
  186. package/lib/partner.js +0 -3
  187. package/lib/partner.js.map +0 -1
  188. package/lib/payment.d.ts.map +0 -1
  189. package/lib/payment.js +0 -3
  190. package/lib/payment.js.map +0 -1
  191. package/lib/promo.d.ts.map +0 -1
  192. package/lib/promo.js +0 -3
  193. package/lib/promo.js.map +0 -1
  194. package/lib/report.d.ts.map +0 -1
  195. package/lib/report.js +0 -3
  196. package/lib/report.js.map +0 -1
  197. package/lib/schedule.d.ts.map +0 -1
  198. package/lib/schedule.js +0 -3
  199. package/lib/schedule.js.map +0 -1
  200. package/lib/shoppingcart.d.ts.map +0 -1
  201. package/lib/shoppingcart.js +0 -3
  202. package/lib/shoppingcart.js.map +0 -1
  203. package/lib/task.d.ts.map +0 -1
  204. package/lib/task.js +0 -3
  205. package/lib/task.js.map +0 -1
  206. package/lib/user.d.ts.map +0 -1
  207. package/lib/user.js +0 -3
  208. package/lib/user.js.map +0 -1
  209. package/lib/vote.d.ts.map +0 -1
  210. package/lib/vote.js +0 -3
  211. package/lib/vote.js.map +0 -1
  212. package/src/email.ts +0 -4
  213. /package/lib/{announcement.d.ts → interface/announcement.d.ts} +0 -0
  214. /package/lib/{brand.d.ts → interface/brand.d.ts} +0 -0
  215. /package/lib/{config.d.ts → interface/config.d.ts} +0 -0
  216. /package/lib/{datalake.d.ts → interface/datalake.d.ts} +0 -0
  217. /package/lib/{delivery.d.ts → interface/delivery.d.ts} +0 -0
  218. /package/lib/{dh.d.ts → interface/dh.d.ts} +0 -0
  219. /package/lib/{file.d.ts → interface/file.d.ts} +0 -0
  220. /package/lib/{logger.d.ts → interface/logger.d.ts} +0 -0
  221. /package/lib/{loyalty.d.ts → interface/loyalty.d.ts} +0 -0
  222. /package/lib/{mealplan.d.ts → interface/mealplan.d.ts} +0 -0
  223. /package/lib/{message.d.ts → interface/message.d.ts} +0 -0
  224. /package/lib/{schedule.d.ts → interface/schedule.d.ts} +0 -0
  225. /package/lib/{task.d.ts → interface/task.d.ts} +0 -0
  226. /package/lib/{vote.d.ts → interface/vote.d.ts} +0 -0
package/lib/index.js CHANGED
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
+ // THIS FILE IS AUTOMATICALLY GENERATED, DO NOT MODIFY
2
3
  var __extends = (this && this.__extends) || (function () {
3
4
  var extendStatics = function (d, b) {
4
5
  extendStatics = Object.setPrototypeOf ||
@@ -14,11 +15,20 @@ var __extends = (this && this.__extends) || (function () {
14
15
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
16
  };
16
17
  })();
18
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
19
+ if (k2 === undefined) k2 = k;
20
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
21
+ }) : (function(o, m, k, k2) {
22
+ if (k2 === undefined) k2 = k;
23
+ o[k2] = m[k];
24
+ }));
25
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
+ };
17
28
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.ServiceClient = exports.ServiceError = void 0;
29
+ exports.ServiceClient = void 0;
19
30
  var base_1 = require("./base");
20
- var base_2 = require("./base");
21
- Object.defineProperty(exports, "ServiceError", { enumerable: true, get: function () { return base_2.ServiceError; } });
31
+ __exportStar(require("./base"), exports);
22
32
  var ServiceClient = /** @class */ (function (_super) {
23
33
  __extends(ServiceClient, _super);
24
34
  function ServiceClient() {
@@ -32,7 +42,7 @@ var ServiceClient = /** @class */ (function (_super) {
32
42
  * @param options - additional request options
33
43
  */
34
44
  ServiceClient.prototype.post_payment_transaction = function (id, body, options) {
35
- return this.request("post", "/payment/" + id + "/transaction", body, options);
45
+ return this.request("payment", "post_payment_transaction", "post", "/payment/" + id + "/transaction", body, options);
36
46
  };
37
47
  /**
38
48
  * POST /payment/{id}/transaction/{transaction_id}/refund
@@ -43,7 +53,7 @@ var ServiceClient = /** @class */ (function (_super) {
43
53
  * @param options - additional request options
44
54
  */
45
55
  ServiceClient.prototype.post_payment_transaction_refund = function (id, transaction_id, body, options) {
46
- return this.request("post", "/payment/" + id + "/transaction/" + transaction_id + "/refund", body, options);
56
+ return this.request("payment", "post_payment_transaction_refund", "post", "/payment/" + id + "/transaction/" + transaction_id + "/refund", body, options);
47
57
  };
48
58
  /**
49
59
  * GET /payment/{id}/clienttoken
@@ -52,7 +62,7 @@ var ServiceClient = /** @class */ (function (_super) {
52
62
  * @param options - additional request options
53
63
  */
54
64
  ServiceClient.prototype.get_payment_clienttoken = function (id, options) {
55
- return this.request("get", "/payment/" + id + "/clienttoken", null, options);
65
+ return this.request("payment", "get_payment_clienttoken", "get", "/payment/" + id + "/clienttoken", null, options);
56
66
  };
57
67
  /**
58
68
  * POST /payment/{id}/paymenttoken
@@ -62,7 +72,7 @@ var ServiceClient = /** @class */ (function (_super) {
62
72
  * @param options - additional request options
63
73
  */
64
74
  ServiceClient.prototype.post_payment_paymenttoken = function (id, body, options) {
65
- return this.request("post", "/payment/" + id + "/paymenttoken", body, options);
75
+ return this.request("payment", "post_payment_paymenttoken", "post", "/payment/" + id + "/paymenttoken", body, options);
66
76
  };
67
77
  /**
68
78
  * POST /payment/consumer
@@ -71,7 +81,7 @@ var ServiceClient = /** @class */ (function (_super) {
71
81
  * @param options - additional request options
72
82
  */
73
83
  ServiceClient.prototype.post_payment_consumer = function (body, options) {
74
- return this.request("post", "/payment/consumer", body, options);
84
+ return this.request("payment", "post_payment_consumer", "post", "/payment/consumer", body, options);
75
85
  };
76
86
  /**
77
87
  * POST /payment/method
@@ -80,7 +90,7 @@ var ServiceClient = /** @class */ (function (_super) {
80
90
  * @param options - additional request options
81
91
  */
82
92
  ServiceClient.prototype.post_payment_method = function (body, options) {
83
- return this.request("post", "/payment/method", body, options);
93
+ return this.request("payment", "post_payment_method", "post", "/payment/method", body, options);
84
94
  };
85
95
  /**
86
96
  * GET /payment/{id}/method - Get a users available payment methods
@@ -89,7 +99,7 @@ var ServiceClient = /** @class */ (function (_super) {
89
99
  * @param options - additional request options
90
100
  */
91
101
  ServiceClient.prototype.get_payment_method = function (id, options) {
92
- return this.request("get", "/payment/" + id + "/method", null, options);
102
+ return this.request("payment", "get_payment_method", "get", "/payment/" + id + "/method", null, options);
93
103
  };
94
104
  /**
95
105
  * DELETE /payment/{id}/method/{method_id}
@@ -100,7 +110,7 @@ var ServiceClient = /** @class */ (function (_super) {
100
110
  * @param options - additional request options
101
111
  */
102
112
  ServiceClient.prototype.delete_payment_method = function (id, method_id, body, options) {
103
- return this.request("delete", "/payment/" + id + "/method/" + method_id, body, options);
113
+ return this.request("payment", "delete_payment_method", "delete", "/payment/" + id + "/method/" + method_id, body, options);
104
114
  };
105
115
  /**
106
116
  * GET /payment/token
@@ -108,7 +118,7 @@ var ServiceClient = /** @class */ (function (_super) {
108
118
  * @param options - additional request options
109
119
  */
110
120
  ServiceClient.prototype.get_payment_token = function (options) {
111
- return this.request("get", "/payment/token", null, options);
121
+ return this.request("payment", "get_payment_token", "get", "/payment/token", null, options);
112
122
  };
113
123
  /**
114
124
  * POST /payment/token
@@ -117,7 +127,7 @@ var ServiceClient = /** @class */ (function (_super) {
117
127
  * @param options - additional request options
118
128
  */
119
129
  ServiceClient.prototype.post_payment_token = function (body, options) {
120
- return this.request("post", "/payment/token", body, options);
130
+ return this.request("payment", "post_payment_token", "post", "/payment/token", body, options);
121
131
  };
122
132
  /**
123
133
  * PUT /payment/token
@@ -126,7 +136,7 @@ var ServiceClient = /** @class */ (function (_super) {
126
136
  * @param options - additional request options
127
137
  */
128
138
  ServiceClient.prototype.put_payment_token = function (body, options) {
129
- return this.request("put", "/payment/token", body, options);
139
+ return this.request("payment", "put_payment_token", "put", "/payment/token", body, options);
130
140
  };
131
141
  /**
132
142
  * DELETE /payment/token
@@ -135,7 +145,7 @@ var ServiceClient = /** @class */ (function (_super) {
135
145
  * @param options - additional request options
136
146
  */
137
147
  ServiceClient.prototype.delete_payment_token = function (body, options) {
138
- return this.request("delete", "/payment/token", body, options);
148
+ return this.request("payment", "delete_payment_token", "delete", "/payment/token", body, options);
139
149
  };
140
150
  /**
141
151
  * GET /payment/methods
@@ -143,7 +153,7 @@ var ServiceClient = /** @class */ (function (_super) {
143
153
  * @param options - additional request options
144
154
  */
145
155
  ServiceClient.prototype.get_payment_methods = function (options) {
146
- return this.request("get", "/payment/methods", null, options);
156
+ return this.request("payment", "get_payment_methods", "get", "/payment/methods", null, options);
147
157
  };
148
158
  /**
149
159
  * GET /payment/hpc
@@ -151,7 +161,7 @@ var ServiceClient = /** @class */ (function (_super) {
151
161
  * @param options - additional request options
152
162
  */
153
163
  ServiceClient.prototype.get_payment_hpc = function (options) {
154
- return this.request("get", "/payment/hpc", null, options);
164
+ return this.request("payment", "get_payment_hpc", "get", "/payment/hpc", null, options);
155
165
  };
156
166
  /**
157
167
  * POST /order - Create an Order
@@ -160,7 +170,7 @@ var ServiceClient = /** @class */ (function (_super) {
160
170
  * @param options - additional request options
161
171
  */
162
172
  ServiceClient.prototype.post_order = function (body, options) {
163
- return this.request("post", "/order", body, options);
173
+ return this.request("order", "post_order", "post", "/order", body, options);
164
174
  };
165
175
  /**
166
176
  * GET /order/{id} - Get an individual order
@@ -169,7 +179,7 @@ var ServiceClient = /** @class */ (function (_super) {
169
179
  * @param options - additional request options
170
180
  */
171
181
  ServiceClient.prototype.get_order = function (id, options) {
172
- return this.request("get", "/order/" + id, null, options);
182
+ return this.request("order", "get_order", "get", "/order/" + id, null, options);
173
183
  };
174
184
  /**
175
185
  * PUT /order/{id} - Update an individual order
@@ -178,7 +188,7 @@ var ServiceClient = /** @class */ (function (_super) {
178
188
  * @param options - additional request options
179
189
  */
180
190
  ServiceClient.prototype.put_order = function (id, options) {
181
- return this.request("put", "/order/" + id, null, options);
191
+ return this.request("order", "put_order", "put", "/order/" + id, null, options);
182
192
  };
183
193
  /**
184
194
  * PATCH /order/{id} - Update an existing order
@@ -188,7 +198,7 @@ var ServiceClient = /** @class */ (function (_super) {
188
198
  * @param options - additional request options
189
199
  */
190
200
  ServiceClient.prototype.patch_order = function (id, body, options) {
191
- return this.request("patch", "/order/" + id, body, options);
201
+ return this.request("order", "patch_order", "patch", "/order/" + id, body, options);
192
202
  };
193
203
  /**
194
204
  * POST /order/{id}/issue - Create an issue with an order
@@ -198,7 +208,7 @@ var ServiceClient = /** @class */ (function (_super) {
198
208
  * @param options - additional request options
199
209
  */
200
210
  ServiceClient.prototype.post_order_issue = function (id, body, options) {
201
- return this.request("post", "/order/" + id + "/issue", body, options);
211
+ return this.request("order", "post_order_issue", "post", "/order/" + id + "/issue", body, options);
202
212
  };
203
213
  /**
204
214
  * PATCH /order/{id}/refund - Issue a refund on an existing order
@@ -208,7 +218,7 @@ var ServiceClient = /** @class */ (function (_super) {
208
218
  * @param options - additional request options
209
219
  */
210
220
  ServiceClient.prototype.patch_order_refund = function (id, body, options) {
211
- return this.request("patch", "/order/" + id + "/refund", body, options);
221
+ return this.request("order", "patch_order_refund", "patch", "/order/" + id + "/refund", body, options);
212
222
  };
213
223
  /**
214
224
  * GET /order/customer/{id} - Get all orders for a Customer
@@ -217,7 +227,7 @@ var ServiceClient = /** @class */ (function (_super) {
217
227
  * @param options - additional request options
218
228
  */
219
229
  ServiceClient.prototype.get_order_customer_orders = function (id, options) {
220
- return this.request("get", "/order/customer/" + id, null, options);
230
+ return this.request("order", "get_order_customer_orders", "get", "/order/customer/" + id, null, options);
221
231
  };
222
232
  /**
223
233
  * GET /order/customer/{id}/location/brand/{location_brand} - Get all orders for a Customer for a specific Location Brand
@@ -227,7 +237,7 @@ var ServiceClient = /** @class */ (function (_super) {
227
237
  * @param options - additional request options
228
238
  */
229
239
  ServiceClient.prototype.get_order_customer_orders_brand = function (id, location_brand, options) {
230
- return this.request("get", "/order/customer/" + id + "/location/brand/" + location_brand, null, options);
240
+ return this.request("order", "get_order_customer_orders_brand", "get", "/order/customer/" + id + "/location/brand/" + location_brand, null, options);
231
241
  };
232
242
  /**
233
243
  * GET /order/location/brand/{id} - Get all orders for a location Brand
@@ -235,8 +245,8 @@ var ServiceClient = /** @class */ (function (_super) {
235
245
  * @param id - The location brand ID
236
246
  * @param options - additional request options
237
247
  */
238
- ServiceClient.prototype.get_order_brand_orders = function (id, options) {
239
- return this.request("get", "/order/location/brand/" + id, null, options);
248
+ ServiceClient.prototype.get_order_location_brand = function (id, options) {
249
+ return this.request("order", "get_order_location_brand", "get", "/order/location/brand/" + id, null, options);
240
250
  };
241
251
  /**
242
252
  * GET /order/location/{id} - Get all orders for a location
@@ -245,7 +255,7 @@ var ServiceClient = /** @class */ (function (_super) {
245
255
  * @param options - additional request options
246
256
  */
247
257
  ServiceClient.prototype.get_order_location_orders = function (id, options) {
248
- return this.request("get", "/order/location/" + id, null, options);
258
+ return this.request("order", "get_order_location_orders", "get", "/order/location/" + id, null, options);
249
259
  };
250
260
  /**
251
261
  * GET /order/location/group/{id} - Get all orders for a location group
@@ -254,7 +264,16 @@ var ServiceClient = /** @class */ (function (_super) {
254
264
  * @param options - additional request options
255
265
  */
256
266
  ServiceClient.prototype.get_order_group_orders = function (id, options) {
257
- return this.request("get", "/order/location/group/" + id, null, options);
267
+ return this.request("order", "get_order_group_orders", "get", "/order/location/group/" + id, null, options);
268
+ };
269
+ /**
270
+ * PATCH /order/{id}/checkin - Accept an order by checking in
271
+ *
272
+ * @param id - The order ID
273
+ * @param options - additional request options
274
+ */
275
+ ServiceClient.prototype.patch_order_checkin = function (id, options) {
276
+ return this.request("order", "patch_order_checkin", "patch", "/order/" + id + "/checkin", null, options);
258
277
  };
259
278
  /**
260
279
  * POST /location - Create a new location
@@ -263,7 +282,7 @@ var ServiceClient = /** @class */ (function (_super) {
263
282
  * @param options - additional request options
264
283
  */
265
284
  ServiceClient.prototype.post_location = function (body, options) {
266
- return this.request("post", "/location", body, options);
285
+ return this.request("location", "post_location", "post", "/location", body, options);
267
286
  };
268
287
  /**
269
288
  * GET /location - Get all location
@@ -271,7 +290,7 @@ var ServiceClient = /** @class */ (function (_super) {
271
290
  * @param options - additional request options
272
291
  */
273
292
  ServiceClient.prototype.get_locations = function (options) {
274
- return this.request("get", "/location", null, options);
293
+ return this.request("location", "get_locations", "get", "/location", null, options);
275
294
  };
276
295
  /**
277
296
  * GET /location/search - Gets Location within a radius of the provided point
@@ -279,7 +298,7 @@ var ServiceClient = /** @class */ (function (_super) {
279
298
  * @param options - additional request options
280
299
  */
281
300
  ServiceClient.prototype.get_location_search = function (options) {
282
- return this.request("get", "/location/search", null, options);
301
+ return this.request("location", "get_location_search", "get", "/location/search", null, options);
283
302
  };
284
303
  /**
285
304
  * GET /location/{id} - Get an individual Location
@@ -288,7 +307,7 @@ var ServiceClient = /** @class */ (function (_super) {
288
307
  * @param options - additional request options
289
308
  */
290
309
  ServiceClient.prototype.get_location = function (id, options) {
291
- return this.request("get", "/location/" + id, null, options);
310
+ return this.request("location", "get_location", "get", "/location/" + id, null, options);
292
311
  };
293
312
  /**
294
313
  * PUT /location/{id} - Override a complete Location
@@ -298,7 +317,7 @@ var ServiceClient = /** @class */ (function (_super) {
298
317
  * @param options - additional request options
299
318
  */
300
319
  ServiceClient.prototype.put_location = function (id, body, options) {
301
- return this.request("put", "/location/" + id, body, options);
320
+ return this.request("location", "put_location", "put", "/location/" + id, body, options);
302
321
  };
303
322
  /**
304
323
  * DELETE /location/{id} - Delete brands from a Location
@@ -308,7 +327,7 @@ var ServiceClient = /** @class */ (function (_super) {
308
327
  * @param options - additional request options
309
328
  */
310
329
  ServiceClient.prototype.delete_location = function (id, body, options) {
311
- return this.request("delete", "/location/" + id, body, options);
330
+ return this.request("location", "delete_location", "delete", "/location/" + id, body, options);
312
331
  };
313
332
  /**
314
333
  * PATCH /location/{id} - Update a Location
@@ -318,7 +337,7 @@ var ServiceClient = /** @class */ (function (_super) {
318
337
  * @param options - additional request options
319
338
  */
320
339
  ServiceClient.prototype.patch_location = function (id, body, options) {
321
- return this.request("patch", "/location/" + id, body, options);
340
+ return this.request("location", "patch_location", "patch", "/location/" + id, body, options);
322
341
  };
323
342
  /**
324
343
  * GET /location/pos/{id} - Get information about a POS
@@ -327,7 +346,7 @@ var ServiceClient = /** @class */ (function (_super) {
327
346
  * @param options - additional request options
328
347
  */
329
348
  ServiceClient.prototype.get_location_pos = function (id, options) {
330
- return this.request("get", "/location/pos/" + id, null, options);
349
+ return this.request("location", "get_location_pos", "get", "/location/pos/" + id, null, options);
331
350
  };
332
351
  /**
333
352
  * PUT /location/pos/{id} - Set information about a POS
@@ -337,7 +356,7 @@ var ServiceClient = /** @class */ (function (_super) {
337
356
  * @param options - additional request options
338
357
  */
339
358
  ServiceClient.prototype.put_location_pos = function (id, body, options) {
340
- return this.request("put", "/location/pos/" + id, body, options);
359
+ return this.request("location", "put_location_pos", "put", "/location/pos/" + id, body, options);
341
360
  };
342
361
  /**
343
362
  * GET /location/multigroup - Get all the top level multigroups
@@ -345,7 +364,7 @@ var ServiceClient = /** @class */ (function (_super) {
345
364
  * @param options - additional request options
346
365
  */
347
366
  ServiceClient.prototype.get_location_multigroups = function (options) {
348
- return this.request("get", "/location/multigroup", null, options);
367
+ return this.request("location", "get_location_multigroups", "get", "/location/multigroup", null, options);
349
368
  };
350
369
  /**
351
370
  * POST /location/multigroup - Create a new multigroup
@@ -354,7 +373,7 @@ var ServiceClient = /** @class */ (function (_super) {
354
373
  * @param options - additional request options
355
374
  */
356
375
  ServiceClient.prototype.post_location_multigroup = function (body, options) {
357
- return this.request("post", "/location/multigroup", body, options);
376
+ return this.request("location", "post_location_multigroup", "post", "/location/multigroup", body, options);
358
377
  };
359
378
  /**
360
379
  * GET /location/multigroup/{id} - Get a multigroup
@@ -363,7 +382,7 @@ var ServiceClient = /** @class */ (function (_super) {
363
382
  * @param options - additional request options
364
383
  */
365
384
  ServiceClient.prototype.get_location_multigroup = function (id, options) {
366
- return this.request("get", "/location/multigroup/" + id, null, options);
385
+ return this.request("location", "get_location_multigroup", "get", "/location/multigroup/" + id, null, options);
367
386
  };
368
387
  /**
369
388
  * PUT /location/multigroup/{id} - Override a complete multigroup
@@ -373,7 +392,7 @@ var ServiceClient = /** @class */ (function (_super) {
373
392
  * @param options - additional request options
374
393
  */
375
394
  ServiceClient.prototype.put_location_multigroup = function (id, body, options) {
376
- return this.request("put", "/location/multigroup/" + id, body, options);
395
+ return this.request("location", "put_location_multigroup", "put", "/location/multigroup/" + id, body, options);
377
396
  };
378
397
  /**
379
398
  * DELETE /location/multigroup/{id} - Delete groups from a multigroup
@@ -383,7 +402,7 @@ var ServiceClient = /** @class */ (function (_super) {
383
402
  * @param options - additional request options
384
403
  */
385
404
  ServiceClient.prototype.delete_location_multigroup = function (id, body, options) {
386
- return this.request("delete", "/location/multigroup/" + id, body, options);
405
+ return this.request("location", "delete_location_multigroup", "delete", "/location/multigroup/" + id, body, options);
387
406
  };
388
407
  /**
389
408
  * PATCH /location/multigroup/{id} - Update a multigroup
@@ -393,7 +412,7 @@ var ServiceClient = /** @class */ (function (_super) {
393
412
  * @param options - additional request options
394
413
  */
395
414
  ServiceClient.prototype.patch_location_multigroup = function (id, body, options) {
396
- return this.request("patch", "/location/multigroup/" + id, body, options);
415
+ return this.request("location", "patch_location_multigroup", "patch", "/location/multigroup/" + id, body, options);
397
416
  };
398
417
  /**
399
418
  * GET /location/multigroup/{id}/user/{user_id} - Get all the groups in a multigroup specific to user permissions
@@ -403,7 +422,7 @@ var ServiceClient = /** @class */ (function (_super) {
403
422
  * @param options - additional request options
404
423
  */
405
424
  ServiceClient.prototype.get_location_user_multigroup = function (id, user_id, options) {
406
- return this.request("get", "/location/multigroup/" + id + "/user/" + user_id, null, options);
425
+ return this.request("location", "get_location_user_multigroup", "get", "/location/multigroup/" + id + "/user/" + user_id, null, options);
407
426
  };
408
427
  /**
409
428
  * POST /location/group - Create a new group
@@ -412,7 +431,7 @@ var ServiceClient = /** @class */ (function (_super) {
412
431
  * @param options - additional request options
413
432
  */
414
433
  ServiceClient.prototype.post_location_group = function (body, options) {
415
- return this.request("post", "/location/group", body, options);
434
+ return this.request("location", "post_location_group", "post", "/location/group", body, options);
416
435
  };
417
436
  /**
418
437
  * GET /location/group/{id} - Get an individual Group based on id or latitude/longitude
@@ -421,7 +440,7 @@ var ServiceClient = /** @class */ (function (_super) {
421
440
  * @param options - additional request options
422
441
  */
423
442
  ServiceClient.prototype.get_location_group = function (id, options) {
424
- return this.request("get", "/location/group/" + id, null, options);
443
+ return this.request("location", "get_location_group", "get", "/location/group/" + id, null, options);
425
444
  };
426
445
  /**
427
446
  * PUT /location/group/{id} - Override a complete Group
@@ -431,7 +450,7 @@ var ServiceClient = /** @class */ (function (_super) {
431
450
  * @param options - additional request options
432
451
  */
433
452
  ServiceClient.prototype.put_location_group = function (id, body, options) {
434
- return this.request("put", "/location/group/" + id, body, options);
453
+ return this.request("location", "put_location_group", "put", "/location/group/" + id, body, options);
435
454
  };
436
455
  /**
437
456
  * DELETE /location/group/{id} - Delete locations from a Group
@@ -441,7 +460,7 @@ var ServiceClient = /** @class */ (function (_super) {
441
460
  * @param options - additional request options
442
461
  */
443
462
  ServiceClient.prototype.delete_location_group = function (id, body, options) {
444
- return this.request("delete", "/location/group/" + id, body, options);
463
+ return this.request("location", "delete_location_group", "delete", "/location/group/" + id, body, options);
445
464
  };
446
465
  /**
447
466
  * PATCH /location/group/{id} - Update a Group
@@ -451,7 +470,7 @@ var ServiceClient = /** @class */ (function (_super) {
451
470
  * @param options - additional request options
452
471
  */
453
472
  ServiceClient.prototype.patch_location_group = function (id, body, options) {
454
- return this.request("patch", "/location/group/" + id, body, options);
473
+ return this.request("location", "patch_location_group", "patch", "/location/group/" + id, body, options);
455
474
  };
456
475
  /**
457
476
  * GET /location/group/{id}/deliverydestination - Get all delivery destinations for group
@@ -460,7 +479,7 @@ var ServiceClient = /** @class */ (function (_super) {
460
479
  * @param options - additional request options
461
480
  */
462
481
  ServiceClient.prototype.get_location_group_deliverydestinations = function (id, options) {
463
- return this.request("get", "/location/group/" + id + "/deliverydestination", null, options);
482
+ return this.request("location", "get_location_group_deliverydestinations", "get", "/location/group/" + id + "/deliverydestination", null, options);
464
483
  };
465
484
  /**
466
485
  * POST /location/group/{id}/deliverydestination - Create a new location group delivery destination
@@ -470,38 +489,37 @@ var ServiceClient = /** @class */ (function (_super) {
470
489
  * @param options - additional request options
471
490
  */
472
491
  ServiceClient.prototype.post_location_group_deliverydestination = function (id, body, options) {
473
- return this.request("post", "/location/group/" + id + "/deliverydestination", body, options);
492
+ return this.request("location", "post_location_group_deliverydestination", "post", "/location/group/" + id + "/deliverydestination", body, options);
474
493
  };
475
494
  /**
476
- * GET /location/group/{id}/deliverydestination/{delivery_destination} - Get a delivery destination
495
+ * PATCH /location/group/{id}/deliverydestination - Patch single or multiple delivery destinations
477
496
  *
478
497
  * @param id - Group ID
479
- * @param delivery_destination - Delivery Destination ID
498
+ * @param body
480
499
  * @param options - additional request options
481
500
  */
482
- ServiceClient.prototype.get_location_group_deliverydestination = function (id, delivery_destination, options) {
483
- return this.request("get", "/location/group/" + id + "/deliverydestination/" + delivery_destination, null, options);
501
+ ServiceClient.prototype.patch_location_group_deliverydestination = function (id, body, options) {
502
+ return this.request("location", "patch_location_group_deliverydestination", "patch", "/location/group/" + id + "/deliverydestination", body, options);
484
503
  };
485
504
  /**
486
- * PATCH /location/group/{id}/deliverydestination/{delivery_destination} - Patch a delivery destination
505
+ * DELETE /location/group/{id}/deliverydestination - Delete single or multiple delivery destinations
487
506
  *
488
507
  * @param id - Group ID
489
- * @param delivery_destination - Delivery Destination ID
490
508
  * @param body
491
509
  * @param options - additional request options
492
510
  */
493
- ServiceClient.prototype.patch_location_group_deliverydestination = function (id, delivery_destination, body, options) {
494
- return this.request("patch", "/location/group/" + id + "/deliverydestination/" + delivery_destination, body, options);
511
+ ServiceClient.prototype.delete_location_group_deliverydestination = function (id, body, options) {
512
+ return this.request("location", "delete_location_group_deliverydestination", "delete", "/location/group/" + id + "/deliverydestination", body, options);
495
513
  };
496
514
  /**
497
- * DELETE /location/group/{id}/deliverydestination/{delivery_destination} - Delete a delivery destination
515
+ * GET /location/group/{id}/deliverydestination/{delivery_destination} - Get a delivery destination
498
516
  *
499
517
  * @param id - Group ID
500
518
  * @param delivery_destination - Delivery Destination ID
501
519
  * @param options - additional request options
502
520
  */
503
- ServiceClient.prototype.delete_location_group_deliverydestination = function (id, delivery_destination, options) {
504
- return this.request("delete", "/location/group/" + id + "/deliverydestination/" + delivery_destination, null, options);
521
+ ServiceClient.prototype.get_location_group_deliverydestination = function (id, delivery_destination, options) {
522
+ return this.request("location", "get_location_group_deliverydestination", "get", "/location/group/" + id + "/deliverydestination/" + delivery_destination, null, options);
505
523
  };
506
524
  /**
507
525
  * GET /location/group/{id}/user/{user_id} - Get a location group info specific to user read permissions
@@ -511,7 +529,7 @@ var ServiceClient = /** @class */ (function (_super) {
511
529
  * @param options - additional request options
512
530
  */
513
531
  ServiceClient.prototype.get_location_user_group = function (id, user_id, options) {
514
- return this.request("get", "/location/group/" + id + "/user/" + user_id, null, options);
532
+ return this.request("location", "get_location_user_group", "get", "/location/group/" + id + "/user/" + user_id, null, options);
515
533
  };
516
534
  /**
517
535
  * GET /location/brands - Get all location brands
@@ -519,7 +537,7 @@ var ServiceClient = /** @class */ (function (_super) {
519
537
  * @param options - additional request options
520
538
  */
521
539
  ServiceClient.prototype.get_location_brands = function (options) {
522
- return this.request("get", "/location/brands", null, options);
540
+ return this.request("location", "get_location_brands", "get", "/location/brands", null, options);
523
541
  };
524
542
  /**
525
543
  * GET /location/brand/{id}/deliverydestinations - Get delivery destinations for a brand
@@ -528,7 +546,7 @@ var ServiceClient = /** @class */ (function (_super) {
528
546
  * @param options - additional request options
529
547
  */
530
548
  ServiceClient.prototype.get_location_brand_destinations = function (id, options) {
531
- return this.request("get", "/location/brand/" + id + "/deliverydestinations", null, options);
549
+ return this.request("location", "get_location_brand_destinations", "get", "/location/brand/" + id + "/deliverydestinations", null, options);
532
550
  };
533
551
  /**
534
552
  * POST /location/brand/{id}/document - Attach document to a brand
@@ -538,7 +556,7 @@ var ServiceClient = /** @class */ (function (_super) {
538
556
  * @param options - additional request options
539
557
  */
540
558
  ServiceClient.prototype.post_location_brand_document = function (id, body, options) {
541
- return this.request("post", "/location/brand/" + id + "/document", body, options);
559
+ return this.request("location", "post_location_brand_document", "post", "/location/brand/" + id + "/document", body, options);
542
560
  };
543
561
  /**
544
562
  * PATCH /location/brand/{id}/document - Edit location document
@@ -547,7 +565,7 @@ var ServiceClient = /** @class */ (function (_super) {
547
565
  * @param options - additional request options
548
566
  */
549
567
  ServiceClient.prototype.patch_location_brand_document = function (id, options) {
550
- return this.request("patch", "/location/brand/" + id + "/document", null, options);
568
+ return this.request("location", "patch_location_brand_document", "patch", "/location/brand/" + id + "/document", null, options);
551
569
  };
552
570
  /**
553
571
  * DELETE /location/brand/{id}/document - Deleted brand document
@@ -556,7 +574,7 @@ var ServiceClient = /** @class */ (function (_super) {
556
574
  * @param options - additional request options
557
575
  */
558
576
  ServiceClient.prototype.delete_location_brand_document = function (id, options) {
559
- return this.request("delete", "/location/brand/" + id + "/document", null, options);
577
+ return this.request("location", "delete_location_brand_document", "delete", "/location/brand/" + id + "/document", null, options);
560
578
  };
561
579
  /**
562
580
  * GET /location/brand/{id}/documents - Get location brand attached documents
@@ -565,7 +583,7 @@ var ServiceClient = /** @class */ (function (_super) {
565
583
  * @param options - additional request options
566
584
  */
567
585
  ServiceClient.prototype.get_location_brand_documents = function (id, options) {
568
- return this.request("get", "/location/brand/" + id + "/documents", null, options);
586
+ return this.request("location", "get_location_brand_documents", "get", "/location/brand/" + id + "/documents", null, options);
569
587
  };
570
588
  /**
571
589
  * GET /location/brand/{id}/timeslots - Get location brand timeslots
@@ -574,7 +592,7 @@ var ServiceClient = /** @class */ (function (_super) {
574
592
  * @param options - additional request options
575
593
  */
576
594
  ServiceClient.prototype.get_location_brand_timeslots = function (id, options) {
577
- return this.request("get", "/location/brand/" + id + "/timeslots", null, options);
595
+ return this.request("location", "get_location_brand_timeslots", "get", "/location/brand/" + id + "/timeslots", null, options);
578
596
  };
579
597
  /**
580
598
  * POST /location/marketplace/timeslots - Get Market Place timeslots
@@ -583,7 +601,7 @@ var ServiceClient = /** @class */ (function (_super) {
583
601
  * @param options - additional request options
584
602
  */
585
603
  ServiceClient.prototype.post_location_marketplace_timeslots = function (body, options) {
586
- return this.request("post", "/location/marketplace/timeslots", body, options);
604
+ return this.request("location", "post_location_marketplace_timeslots", "post", "/location/marketplace/timeslots", body, options);
587
605
  };
588
606
  /**
589
607
  * POST /location/marketplace/timeslots/delivery - Get Marketplace delivery timeslots
@@ -592,7 +610,7 @@ var ServiceClient = /** @class */ (function (_super) {
592
610
  * @param options - additional request options
593
611
  */
594
612
  ServiceClient.prototype.post_location_marketplace_timeslots_delivery = function (body, options) {
595
- return this.request("post", "/location/marketplace/timeslots/delivery", body, options);
613
+ return this.request("location", "post_location_marketplace_timeslots_delivery", "post", "/location/marketplace/timeslots/delivery", body, options);
596
614
  };
597
615
  /**
598
616
  * GET /location/brand/{id}/timeslots/menu/{menu} - Get location brand timeslots for menu
@@ -602,7 +620,7 @@ var ServiceClient = /** @class */ (function (_super) {
602
620
  * @param options - additional request options
603
621
  */
604
622
  ServiceClient.prototype.get_location_brand_menu_timeslots = function (id, menu, options) {
605
- return this.request("get", "/location/brand/" + id + "/timeslots/menu/" + menu, null, options);
623
+ return this.request("location", "get_location_brand_menu_timeslots", "get", "/location/brand/" + id + "/timeslots/menu/" + menu, null, options);
606
624
  };
607
625
  /**
608
626
  * GET /location/brand/{id}/timeslots/delivery - Get location brand delivery timeslots
@@ -611,7 +629,7 @@ var ServiceClient = /** @class */ (function (_super) {
611
629
  * @param options - additional request options
612
630
  */
613
631
  ServiceClient.prototype.get_location_brand_delivery_timeslots = function (id, options) {
614
- return this.request("get", "/location/brand/" + id + "/timeslots/delivery", null, options);
632
+ return this.request("location", "get_location_brand_delivery_timeslots", "get", "/location/brand/" + id + "/timeslots/delivery", null, options);
615
633
  };
616
634
  /**
617
635
  * GET /location/brand/{id}/timeslots/delivery/menu/{menu} - Get location brand delivery timeslots for menu
@@ -621,7 +639,7 @@ var ServiceClient = /** @class */ (function (_super) {
621
639
  * @param options - additional request options
622
640
  */
623
641
  ServiceClient.prototype.get_location_brand_menu_delivery_timeslosts = function (id, menu, options) {
624
- return this.request("get", "/location/brand/" + id + "/timeslots/delivery/menu/" + menu, null, options);
642
+ return this.request("location", "get_location_brand_menu_delivery_timeslosts", "get", "/location/brand/" + id + "/timeslots/delivery/menu/" + menu, null, options);
625
643
  };
626
644
  /**
627
645
  * POST /location/brand - Create a new Brand
@@ -630,7 +648,7 @@ var ServiceClient = /** @class */ (function (_super) {
630
648
  * @param options - additional request options
631
649
  */
632
650
  ServiceClient.prototype.post_location_brand = function (body, options) {
633
- return this.request("post", "/location/brand", body, options);
651
+ return this.request("location", "post_location_brand", "post", "/location/brand", body, options);
634
652
  };
635
653
  /**
636
654
  * GET /location/brand/{id} - Get location brand
@@ -639,7 +657,7 @@ var ServiceClient = /** @class */ (function (_super) {
639
657
  * @param options - additional request options
640
658
  */
641
659
  ServiceClient.prototype.get_location_brand = function (id, options) {
642
- return this.request("get", "/location/brand/" + id, null, options);
660
+ return this.request("location", "get_location_brand", "get", "/location/brand/" + id, null, options);
643
661
  };
644
662
  /**
645
663
  * PATCH /location/brand/{id} - Update location brand
@@ -649,7 +667,7 @@ var ServiceClient = /** @class */ (function (_super) {
649
667
  * @param options - additional request options
650
668
  */
651
669
  ServiceClient.prototype.patch_location_brand = function (id, body, options) {
652
- return this.request("patch", "/location/brand/" + id, body, options);
670
+ return this.request("location", "patch_location_brand", "patch", "/location/brand/" + id, body, options);
653
671
  };
654
672
  /**
655
673
  * DELETE /location/brand/{id} - Delete data from a Brand
@@ -659,7 +677,7 @@ var ServiceClient = /** @class */ (function (_super) {
659
677
  * @param options - additional request options
660
678
  */
661
679
  ServiceClient.prototype.delete_location_brand = function (id, body, options) {
662
- return this.request("delete", "/location/brand/" + id, body, options);
680
+ return this.request("location", "delete_location_brand", "delete", "/location/brand/" + id, body, options);
663
681
  };
664
682
  /**
665
683
  * PUT /location/brand/{id} - Update location brand
@@ -669,7 +687,7 @@ var ServiceClient = /** @class */ (function (_super) {
669
687
  * @param options - additional request options
670
688
  */
671
689
  ServiceClient.prototype.put_location_brand = function (id, body, options) {
672
- return this.request("put", "/location/brand/" + id, body, options);
690
+ return this.request("location", "put_location_brand", "put", "/location/brand/" + id, body, options);
673
691
  };
674
692
  /**
675
693
  * GET /location/sector - Get list of all the sectors
@@ -677,7 +695,7 @@ var ServiceClient = /** @class */ (function (_super) {
677
695
  * @param options - additional request options
678
696
  */
679
697
  ServiceClient.prototype.get_location_sectors = function (options) {
680
- return this.request("get", "/location/sector", null, options);
698
+ return this.request("location", "get_location_sectors", "get", "/location/sector", null, options);
681
699
  };
682
700
  /**
683
701
  * POST /location/sector - Create a new sector
@@ -686,7 +704,7 @@ var ServiceClient = /** @class */ (function (_super) {
686
704
  * @param options - additional request options
687
705
  */
688
706
  ServiceClient.prototype.post_location_sector = function (body, options) {
689
- return this.request("post", "/location/sector", body, options);
707
+ return this.request("location", "post_location_sector", "post", "/location/sector", body, options);
690
708
  };
691
709
  /**
692
710
  * GET /location/sector/{id} - Get a sector
@@ -695,7 +713,7 @@ var ServiceClient = /** @class */ (function (_super) {
695
713
  * @param options - additional request options
696
714
  */
697
715
  ServiceClient.prototype.get_location_sector = function (id, options) {
698
- return this.request("get", "/location/sector/" + id, null, options);
716
+ return this.request("location", "get_location_sector", "get", "/location/sector/" + id, null, options);
699
717
  };
700
718
  /**
701
719
  * PATCH /location/sector/{id} - Update a sector
@@ -705,7 +723,7 @@ var ServiceClient = /** @class */ (function (_super) {
705
723
  * @param options - additional request options
706
724
  */
707
725
  ServiceClient.prototype.patch_location_sector = function (id, body, options) {
708
- return this.request("patch", "/location/sector/" + id, body, options);
726
+ return this.request("location", "patch_location_sector", "patch", "/location/sector/" + id, body, options);
709
727
  };
710
728
  /**
711
729
  * POST /location/company - Create a new company
@@ -714,7 +732,7 @@ var ServiceClient = /** @class */ (function (_super) {
714
732
  * @param options - additional request options
715
733
  */
716
734
  ServiceClient.prototype.post_location_company = function (body, options) {
717
- return this.request("post", "/location/company", body, options);
735
+ return this.request("location", "post_location_company", "post", "/location/company", body, options);
718
736
  };
719
737
  /**
720
738
  * GET /location/company/{id} - Get a company within sector
@@ -723,7 +741,7 @@ var ServiceClient = /** @class */ (function (_super) {
723
741
  * @param options - additional request options
724
742
  */
725
743
  ServiceClient.prototype.get_location_company = function (id, options) {
726
- return this.request("get", "/location/company/" + id, null, options);
744
+ return this.request("location", "get_location_company", "get", "/location/company/" + id, null, options);
727
745
  };
728
746
  /**
729
747
  * PATCH /location/company/{id} - Update a company
@@ -733,7 +751,16 @@ var ServiceClient = /** @class */ (function (_super) {
733
751
  * @param options - additional request options
734
752
  */
735
753
  ServiceClient.prototype.patch_location_company = function (id, body, options) {
736
- return this.request("patch", "/location/company/" + id, body, options);
754
+ return this.request("location", "patch_location_company", "patch", "/location/company/" + id, body, options);
755
+ };
756
+ /**
757
+ * GET /location/brand/external/{external_id} - Get an individual Location filtered by external_id
758
+ *
759
+ * @param external_id - external location id
760
+ * @param options - additional request options
761
+ */
762
+ ServiceClient.prototype.get_location_brand_external = function (external_id, options) {
763
+ return this.request("location", "get_location_brand_external", "get", "/location/brand/external/" + external_id, null, options);
737
764
  };
738
765
  /**
739
766
  * POST /shoppingcart/ - Create a new ShoppingCart
@@ -742,7 +769,7 @@ var ServiceClient = /** @class */ (function (_super) {
742
769
  * @param options - additional request options
743
770
  */
744
771
  ServiceClient.prototype.post_shoppingcart_cart = function (body, options) {
745
- return this.request("post", "/shoppingcart/", body, options);
772
+ return this.request("shoppingcart", "post_shoppingcart_cart", "post", "/shoppingcart/", body, options);
746
773
  };
747
774
  /**
748
775
  * PUT /shoppingcart/{id} - Put a menu item into a ShoppingCart
@@ -752,7 +779,7 @@ var ServiceClient = /** @class */ (function (_super) {
752
779
  * @param options - additional request options
753
780
  */
754
781
  ServiceClient.prototype.put_shoppingcart_cart_items = function (id, body, options) {
755
- return this.request("put", "/shoppingcart/" + id, body, options);
782
+ return this.request("shoppingcart", "put_shoppingcart_cart_items", "put", "/shoppingcart/" + id, body, options);
756
783
  };
757
784
  /**
758
785
  * DELETE /shoppingcart/{id} - Delete a menu item from a ShoppingCart
@@ -762,7 +789,7 @@ var ServiceClient = /** @class */ (function (_super) {
762
789
  * @param options - additional request options
763
790
  */
764
791
  ServiceClient.prototype.delete_shoppingcart_cart_items = function (id, body, options) {
765
- return this.request("delete", "/shoppingcart/" + id, body, options);
792
+ return this.request("shoppingcart", "delete_shoppingcart_cart_items", "delete", "/shoppingcart/" + id, body, options);
766
793
  };
767
794
  /**
768
795
  * GET /shoppingcart/{id} - Get an individual ShoppingCart
@@ -771,7 +798,7 @@ var ServiceClient = /** @class */ (function (_super) {
771
798
  * @param options - additional request options
772
799
  */
773
800
  ServiceClient.prototype.get_shoppingcart_cart = function (id, options) {
774
- return this.request("get", "/shoppingcart/" + id, null, options);
801
+ return this.request("shoppingcart", "get_shoppingcart_cart", "get", "/shoppingcart/" + id, null, options);
775
802
  };
776
803
  /**
777
804
  * PATCH /shoppingcart/{id} - Update a ShoppingCart
@@ -780,7 +807,7 @@ var ServiceClient = /** @class */ (function (_super) {
780
807
  * @param options - additional request options
781
808
  */
782
809
  ServiceClient.prototype.patch_shoppingcart_cart = function (id, options) {
783
- return this.request("patch", "/shoppingcart/" + id, null, options);
810
+ return this.request("shoppingcart", "patch_shoppingcart_cart", "patch", "/shoppingcart/" + id, null, options);
784
811
  };
785
812
  /**
786
813
  * PUT /shoppingcart/{id}/promo - Put a promo in a ShoppingCart
@@ -790,7 +817,7 @@ var ServiceClient = /** @class */ (function (_super) {
790
817
  * @param options - additional request options
791
818
  */
792
819
  ServiceClient.prototype.put_shoppingcart_cart_promo = function (id, body, options) {
793
- return this.request("put", "/shoppingcart/" + id + "/promo", body, options);
820
+ return this.request("shoppingcart", "put_shoppingcart_cart_promo", "put", "/shoppingcart/" + id + "/promo", body, options);
794
821
  };
795
822
  /**
796
823
  * DELETE /shoppingcart/{id}/promo - Delete the promo in a ShoppingCart
@@ -799,7 +826,7 @@ var ServiceClient = /** @class */ (function (_super) {
799
826
  * @param options - additional request options
800
827
  */
801
828
  ServiceClient.prototype.delete_shoppingcart_cart_promo = function (id, options) {
802
- return this.request("delete", "/shoppingcart/" + id + "/promo", null, options);
829
+ return this.request("shoppingcart", "delete_shoppingcart_cart_promo", "delete", "/shoppingcart/" + id + "/promo", null, options);
803
830
  };
804
831
  /**
805
832
  * PUT /shoppingcart/{id}/paymentmethod/ - Change payment method used in shopping cart
@@ -809,7 +836,7 @@ var ServiceClient = /** @class */ (function (_super) {
809
836
  * @param options - additional request options
810
837
  */
811
838
  ServiceClient.prototype.put_shoppingcart_cart_payment = function (id, body, options) {
812
- return this.request("put", "/shoppingcart/" + id + "/paymentmethod/", body, options);
839
+ return this.request("shoppingcart", "put_shoppingcart_cart_payment", "put", "/shoppingcart/" + id + "/paymentmethod/", body, options);
813
840
  };
814
841
  /**
815
842
  * PUT /shoppingcart/{id}/order/ - Store information about the order created with this shopping cart
@@ -819,7 +846,7 @@ var ServiceClient = /** @class */ (function (_super) {
819
846
  * @param options - additional request options
820
847
  */
821
848
  ServiceClient.prototype.put_shoppingcart_cart_order = function (id, body, options) {
822
- return this.request("put", "/shoppingcart/" + id + "/order/", body, options);
849
+ return this.request("shoppingcart", "put_shoppingcart_cart_order", "put", "/shoppingcart/" + id + "/order/", body, options);
823
850
  };
824
851
  /**
825
852
  * PUT /shoppingcart/{id}/loyalty/{user_id} - Apply a loyalty coupon in a ShoppingCart
@@ -830,7 +857,7 @@ var ServiceClient = /** @class */ (function (_super) {
830
857
  * @param options - additional request options
831
858
  */
832
859
  ServiceClient.prototype.put_shoppingcart_cart_loyalty = function (id, user_id, body, options) {
833
- return this.request("put", "/shoppingcart/" + id + "/loyalty/" + user_id, body, options);
860
+ return this.request("shoppingcart", "put_shoppingcart_cart_loyalty", "put", "/shoppingcart/" + id + "/loyalty/" + user_id, body, options);
834
861
  };
835
862
  /**
836
863
  * DELETE /shoppingcart/{id}/loyalty/{user_id} - Delete loyalty coupon in shoppingCart
@@ -840,7 +867,7 @@ var ServiceClient = /** @class */ (function (_super) {
840
867
  * @param options - additional request options
841
868
  */
842
869
  ServiceClient.prototype.delete_shoppingcart_cart_loyalty = function (id, user_id, options) {
843
- return this.request("delete", "/shoppingcart/" + id + "/loyalty/" + user_id, null, options);
870
+ return this.request("shoppingcart", "delete_shoppingcart_cart_loyalty", "delete", "/shoppingcart/" + id + "/loyalty/" + user_id, null, options);
844
871
  };
845
872
  /**
846
873
  * POST /shoppingcart/{id}/clone - Create a shopping cart from existing shopping cart
@@ -850,7 +877,7 @@ var ServiceClient = /** @class */ (function (_super) {
850
877
  * @param options - additional request options
851
878
  */
852
879
  ServiceClient.prototype.post_shoppingcart_clone_cart = function (id, body, options) {
853
- return this.request("post", "/shoppingcart/" + id + "/clone", body, options);
880
+ return this.request("shoppingcart", "post_shoppingcart_clone_cart", "post", "/shoppingcart/" + id + "/clone", body, options);
854
881
  };
855
882
  /**
856
883
  * POST /shoppingcart/bulk - Get multiple ShoppingCarts
@@ -859,7 +886,7 @@ var ServiceClient = /** @class */ (function (_super) {
859
886
  * @param options - additional request options
860
887
  */
861
888
  ServiceClient.prototype.post_shoppingcart_bulk = function (body, options) {
862
- return this.request("post", "/shoppingcart/bulk", body, options);
889
+ return this.request("shoppingcart", "post_shoppingcart_bulk", "post", "/shoppingcart/bulk", body, options);
863
890
  };
864
891
  /**
865
892
  * POST /partner/standardcognition/shoppingcart - Calculates a shoppingcart
@@ -868,7 +895,7 @@ var ServiceClient = /** @class */ (function (_super) {
868
895
  * @param options - additional request options
869
896
  */
870
897
  ServiceClient.prototype.post_partner_standardcognition_shoppingcart = function (body, options) {
871
- return this.request("post", "/partner/standardcognition/shoppingcart", body, options);
898
+ return this.request("partner", "post_partner_standardcognition_shoppingcart", "post", "/partner/standardcognition/shoppingcart", body, options);
872
899
  };
873
900
  /**
874
901
  * GET /partner/standardcognition/locations - Gets the locations where Standard Cognition is available
@@ -876,7 +903,24 @@ var ServiceClient = /** @class */ (function (_super) {
876
903
  * @param options - additional request options
877
904
  */
878
905
  ServiceClient.prototype.get_partner_standardcognition_locations = function (options) {
879
- return this.request("get", "/partner/standardcognition/locations", null, options);
906
+ return this.request("partner", "get_partner_standardcognition_locations", "get", "/partner/standardcognition/locations", null, options);
907
+ };
908
+ /**
909
+ * GET /partner/standardcognition/stores - Gets the UUID for all the Standard Cognition external locations
910
+ *
911
+ * @param options - additional request options
912
+ */
913
+ ServiceClient.prototype.get_partner_standardcognition_stores = function (options) {
914
+ return this.request("partner", "get_partner_standardcognition_stores", "get", "/partner/standardcognition/stores", null, options);
915
+ };
916
+ /**
917
+ * POST /partner/standardcognition/menu - Create new Standard Cognition menu from JSON files
918
+ *
919
+ * @param body
920
+ * @param options - additional request options
921
+ */
922
+ ServiceClient.prototype.post_partner_standardcognition_menu = function (body, options) {
923
+ return this.request("partner", "post_partner_standardcognition_menu", "post", "/partner/standardcognition/menu", body, options);
880
924
  };
881
925
  /**
882
926
  * GET /partner/coolr/locations - Gets the locations where Coolr is available
@@ -884,7 +928,7 @@ var ServiceClient = /** @class */ (function (_super) {
884
928
  * @param options - additional request options
885
929
  */
886
930
  ServiceClient.prototype.get_partner_coolr_locations = function (options) {
887
- return this.request("get", "/partner/coolr/locations", null, options);
931
+ return this.request("partner", "get_partner_coolr_locations", "get", "/partner/coolr/locations", null, options);
888
932
  };
889
933
  /**
890
934
  * GET /partner/coolr/{id}/images - Gets the latest images for Coolr Location AssetID
@@ -893,7 +937,7 @@ var ServiceClient = /** @class */ (function (_super) {
893
937
  * @param options - additional request options
894
938
  */
895
939
  ServiceClient.prototype.get_partner_coolr_images = function (id, options) {
896
- return this.request("get", "/partner/coolr/" + id + "/images", null, options);
940
+ return this.request("partner", "get_partner_coolr_images", "get", "/partner/coolr/" + id + "/images", null, options);
897
941
  };
898
942
  /**
899
943
  * GET /partner/swagger.json
@@ -901,7 +945,16 @@ var ServiceClient = /** @class */ (function (_super) {
901
945
  * @param options - additional request options
902
946
  */
903
947
  ServiceClient.prototype.get_partner_swagger = function (options) {
904
- return this.request("get", "/partner/swagger.json", null, options);
948
+ return this.request("partner", "get_partner_swagger", "get", "/partner/swagger.json", null, options);
949
+ };
950
+ /**
951
+ * POST /email - Send an email
952
+ *
953
+ * @param body
954
+ * @param options - additional request options
955
+ */
956
+ ServiceClient.prototype.post_email = function (body, options) {
957
+ return this.request("email", "post_email", "post", "/email", body, options);
905
958
  };
906
959
  /**
907
960
  * POST /task/ - Create new Task
@@ -910,7 +963,7 @@ var ServiceClient = /** @class */ (function (_super) {
910
963
  * @param options - additional request options
911
964
  */
912
965
  ServiceClient.prototype.post_task = function (body, options) {
913
- return this.request("post", "/task/", body, options);
966
+ return this.request("task", "post_task", "post", "/task/", body, options);
914
967
  };
915
968
  /**
916
969
  * GET /task/{id} - Get task based on passed ID
@@ -919,7 +972,7 @@ var ServiceClient = /** @class */ (function (_super) {
919
972
  * @param options - additional request options
920
973
  */
921
974
  ServiceClient.prototype.get_task = function (id, options) {
922
- return this.request("get", "/task/" + id, null, options);
975
+ return this.request("task", "get_task", "get", "/task/" + id, null, options);
923
976
  };
924
977
  /**
925
978
  * PATCH /task/{id} - Update Task
@@ -929,7 +982,7 @@ var ServiceClient = /** @class */ (function (_super) {
929
982
  * @param options - additional request options
930
983
  */
931
984
  ServiceClient.prototype.patch_task = function (id, body, options) {
932
- return this.request("patch", "/task/" + id, body, options);
985
+ return this.request("task", "patch_task", "patch", "/task/" + id, body, options);
933
986
  };
934
987
  /**
935
988
  * DELETE /task/{id} - Delete Task
@@ -938,7 +991,7 @@ var ServiceClient = /** @class */ (function (_super) {
938
991
  * @param options - additional request options
939
992
  */
940
993
  ServiceClient.prototype.delete_task = function (id, options) {
941
- return this.request("delete", "/task/" + id, null, options);
994
+ return this.request("task", "delete_task", "delete", "/task/" + id, null, options);
942
995
  };
943
996
  /**
944
997
  * GET /task/order/{id} - Get task based on passed order ID
@@ -947,7 +1000,7 @@ var ServiceClient = /** @class */ (function (_super) {
947
1000
  * @param options - additional request options
948
1001
  */
949
1002
  ServiceClient.prototype.get_task_order = function (id, options) {
950
- return this.request("get", "/task/order/" + id, null, options);
1003
+ return this.request("task", "get_task_order", "get", "/task/order/" + id, null, options);
951
1004
  };
952
1005
  /**
953
1006
  * GET /task/order/{id}/kds - Get KDS tasks based on passed order ID
@@ -956,7 +1009,7 @@ var ServiceClient = /** @class */ (function (_super) {
956
1009
  * @param options - additional request options
957
1010
  */
958
1011
  ServiceClient.prototype.get_task_order_kds = function (id, options) {
959
- return this.request("get", "/task/order/" + id + "/kds", null, options);
1012
+ return this.request("task", "get_task_order_kds", "get", "/task/order/" + id + "/kds", null, options);
960
1013
  };
961
1014
  /**
962
1015
  * PATCH /task/order/{id}/kds - Update an order and its associated tasks
@@ -966,7 +1019,7 @@ var ServiceClient = /** @class */ (function (_super) {
966
1019
  * @param options - additional request options
967
1020
  */
968
1021
  ServiceClient.prototype.patch_task_order_kds = function (id, body, options) {
969
- return this.request("patch", "/task/order/" + id + "/kds", body, options);
1022
+ return this.request("task", "patch_task_order_kds", "patch", "/task/order/" + id + "/kds", body, options);
970
1023
  };
971
1024
  /**
972
1025
  * GET /task/assignee/{id} - Get Assignee tasks
@@ -975,7 +1028,7 @@ var ServiceClient = /** @class */ (function (_super) {
975
1028
  * @param options - additional request options
976
1029
  */
977
1030
  ServiceClient.prototype.get_task_assignee = function (id, options) {
978
- return this.request("get", "/task/assignee/" + id, null, options);
1031
+ return this.request("task", "get_task_assignee", "get", "/task/assignee/" + id, null, options);
979
1032
  };
980
1033
  /**
981
1034
  * GET /task/location/brand/{id} - Get location brand tasks
@@ -984,7 +1037,7 @@ var ServiceClient = /** @class */ (function (_super) {
984
1037
  * @param options - additional request options
985
1038
  */
986
1039
  ServiceClient.prototype.get_task_location_brand = function (id, options) {
987
- return this.request("get", "/task/location/brand/" + id, null, options);
1040
+ return this.request("task", "get_task_location_brand", "get", "/task/location/brand/" + id, null, options);
988
1041
  };
989
1042
  /**
990
1043
  * GET /task/location/group/{id} - Get location group tasks
@@ -993,7 +1046,7 @@ var ServiceClient = /** @class */ (function (_super) {
993
1046
  * @param options - additional request options
994
1047
  */
995
1048
  ServiceClient.prototype.get_task_location_group = function (id, options) {
996
- return this.request("get", "/task/location/group/" + id, null, options);
1049
+ return this.request("task", "get_task_location_group", "get", "/task/location/group/" + id, null, options);
997
1050
  };
998
1051
  /**
999
1052
  * GET /kds/devices - Get kds devices for a specified unit number
@@ -1001,7 +1054,7 @@ var ServiceClient = /** @class */ (function (_super) {
1001
1054
  * @param options - additional request options
1002
1055
  */
1003
1056
  ServiceClient.prototype.get_kds_devices = function (options) {
1004
- return this.request("get", "/kds/devices", null, options);
1057
+ return this.request("kds", "get_kds_devices", "get", "/kds/devices", null, options);
1005
1058
  };
1006
1059
  /**
1007
1060
  * POST /kds/device/auth - Get auth token for a device
@@ -1010,7 +1063,7 @@ var ServiceClient = /** @class */ (function (_super) {
1010
1063
  * @param options - additional request options
1011
1064
  */
1012
1065
  ServiceClient.prototype.post_kds_device_auth = function (body, options) {
1013
- return this.request("post", "/kds/device/auth", body, options);
1066
+ return this.request("kds", "post_kds_device_auth", "post", "/kds/device/auth", body, options);
1014
1067
  };
1015
1068
  /**
1016
1069
  * DELETE /kds/device/auth/{device_id} - Delete authorization for specified serial_number
@@ -1019,7 +1072,7 @@ var ServiceClient = /** @class */ (function (_super) {
1019
1072
  * @param options - additional request options
1020
1073
  */
1021
1074
  ServiceClient.prototype.delete_kds_device_auth = function (device_id, options) {
1022
- return this.request("delete", "/kds/device/auth/" + device_id, null, options);
1075
+ return this.request("kds", "delete_kds_device_auth", "delete", "/kds/device/auth/" + device_id, null, options);
1023
1076
  };
1024
1077
  /**
1025
1078
  * GET /kds/swagger.json - Get a swagger for kds service
@@ -1027,7 +1080,7 @@ var ServiceClient = /** @class */ (function (_super) {
1027
1080
  * @param options - additional request options
1028
1081
  */
1029
1082
  ServiceClient.prototype.get_kds_swagger = function (options) {
1030
- return this.request("get", "/kds/swagger.json", null, options);
1083
+ return this.request("kds", "get_kds_swagger", "get", "/kds/swagger.json", null, options);
1031
1084
  };
1032
1085
  /**
1033
1086
  * POST /mealplan/{id} - Authenticate against the meal plan provider
@@ -1037,7 +1090,7 @@ var ServiceClient = /** @class */ (function (_super) {
1037
1090
  * @param options - additional request options
1038
1091
  */
1039
1092
  ServiceClient.prototype.post_mealplan = function (id, body, options) {
1040
- return this.request("post", "/mealplan/" + id, body, options);
1093
+ return this.request("mealplan", "post_mealplan", "post", "/mealplan/" + id, body, options);
1041
1094
  };
1042
1095
  /**
1043
1096
  * PUT /mealplan/{id} - Save a token for access to the meal plan
@@ -1047,7 +1100,7 @@ var ServiceClient = /** @class */ (function (_super) {
1047
1100
  * @param options - additional request options
1048
1101
  */
1049
1102
  ServiceClient.prototype.put_mealplan = function (id, body, options) {
1050
- return this.request("put", "/mealplan/" + id, body, options);
1103
+ return this.request("mealplan", "put_mealplan", "put", "/mealplan/" + id, body, options);
1051
1104
  };
1052
1105
  /**
1053
1106
  * GET /mealplan/{id} - Check the user's meal plan tenders and get the authentication configuration
@@ -1056,7 +1109,7 @@ var ServiceClient = /** @class */ (function (_super) {
1056
1109
  * @param options - additional request options
1057
1110
  */
1058
1111
  ServiceClient.prototype.get_mealplan = function (id, options) {
1059
- return this.request("get", "/mealplan/" + id, null, options);
1112
+ return this.request("mealplan", "get_mealplan", "get", "/mealplan/" + id, null, options);
1060
1113
  };
1061
1114
  /**
1062
1115
  * DELETE /mealplan/{id} - Delete a mealplan or a tender from the user's account
@@ -1066,7 +1119,7 @@ var ServiceClient = /** @class */ (function (_super) {
1066
1119
  * @param options - additional request options
1067
1120
  */
1068
1121
  ServiceClient.prototype.delete_mealplan = function (id, body, options) {
1069
- return this.request("delete", "/mealplan/" + id, body, options);
1122
+ return this.request("mealplan", "delete_mealplan", "delete", "/mealplan/" + id, body, options);
1070
1123
  };
1071
1124
  /**
1072
1125
  * POST /mealplan/{id}/callback - Callback endpoint for meal plans that make a call back from a webview workflow
@@ -1075,7 +1128,7 @@ var ServiceClient = /** @class */ (function (_super) {
1075
1128
  * @param options - additional request options
1076
1129
  */
1077
1130
  ServiceClient.prototype.post_mealplan_callback = function (id, options) {
1078
- return this.request("post", "/mealplan/" + id + "/callback", null, options);
1131
+ return this.request("mealplan", "post_mealplan_callback", "post", "/mealplan/" + id + "/callback", null, options);
1079
1132
  };
1080
1133
  /**
1081
1134
  * GET /mealplan/{id}/tender/{tender} - Check the user's tender balance
@@ -1085,7 +1138,7 @@ var ServiceClient = /** @class */ (function (_super) {
1085
1138
  * @param options - additional request options
1086
1139
  */
1087
1140
  ServiceClient.prototype.get_mealplan_tender = function (id, tender, options) {
1088
- return this.request("get", "/mealplan/" + id + "/tender/" + tender, null, options);
1141
+ return this.request("mealplan", "get_mealplan_tender", "get", "/mealplan/" + id + "/tender/" + tender, null, options);
1089
1142
  };
1090
1143
  /**
1091
1144
  * DELETE /mealplan/{id}/tender/{tender} - Debit an amount from the tender balance
@@ -1095,7 +1148,7 @@ var ServiceClient = /** @class */ (function (_super) {
1095
1148
  * @param options - additional request options
1096
1149
  */
1097
1150
  ServiceClient.prototype.delete_mealplan_tender = function (id, tender, options) {
1098
- return this.request("delete", "/mealplan/" + id + "/tender/" + tender, null, options);
1151
+ return this.request("mealplan", "delete_mealplan_tender", "delete", "/mealplan/" + id + "/tender/" + tender, null, options);
1099
1152
  };
1100
1153
  /**
1101
1154
  * PATCH /mealplan/{id}/tender/{tender} - Refund an amount to the tender balance
@@ -1106,7 +1159,7 @@ var ServiceClient = /** @class */ (function (_super) {
1106
1159
  * @param options - additional request options
1107
1160
  */
1108
1161
  ServiceClient.prototype.patch_mealplan_tender = function (id, tender, body, options) {
1109
- return this.request("patch", "/mealplan/" + id + "/tender/" + tender, body, options);
1162
+ return this.request("mealplan", "patch_mealplan_tender", "patch", "/mealplan/" + id + "/tender/" + tender, body, options);
1110
1163
  };
1111
1164
  /**
1112
1165
  * POST /mealplan/{id}/verify - Send verification email to user linking a mealplan
@@ -1116,7 +1169,7 @@ var ServiceClient = /** @class */ (function (_super) {
1116
1169
  * @param options - additional request options
1117
1170
  */
1118
1171
  ServiceClient.prototype.post_mealplan_verify = function (id, body, options) {
1119
- return this.request("post", "/mealplan/" + id + "/verify", body, options);
1172
+ return this.request("mealplan", "post_mealplan_verify", "post", "/mealplan/" + id + "/verify", body, options);
1120
1173
  };
1121
1174
  /**
1122
1175
  * PUT /mealplan/{id}/verify - Verify email address using provided payload
@@ -1126,7 +1179,7 @@ var ServiceClient = /** @class */ (function (_super) {
1126
1179
  * @param options - additional request options
1127
1180
  */
1128
1181
  ServiceClient.prototype.put_mealplan_verify = function (id, body, options) {
1129
- return this.request("put", "/mealplan/" + id + "/verify", body, options);
1182
+ return this.request("mealplan", "put_mealplan_verify", "put", "/mealplan/" + id + "/verify", body, options);
1130
1183
  };
1131
1184
  /**
1132
1185
  * POST /mealplan/{id}/authorize - Authorize Transaction
@@ -1136,7 +1189,7 @@ var ServiceClient = /** @class */ (function (_super) {
1136
1189
  * @param options - additional request options
1137
1190
  */
1138
1191
  ServiceClient.prototype.post_mealplan_authorize = function (id, body, options) {
1139
- return this.request("post", "/mealplan/" + id + "/authorize", body, options);
1192
+ return this.request("mealplan", "post_mealplan_authorize", "post", "/mealplan/" + id + "/authorize", body, options);
1140
1193
  };
1141
1194
  /**
1142
1195
  * POST /datalake/sql - Query datalake for data
@@ -1145,7 +1198,7 @@ var ServiceClient = /** @class */ (function (_super) {
1145
1198
  * @param options - additional request options
1146
1199
  */
1147
1200
  ServiceClient.prototype.post_datalake_sql = function (body, options) {
1148
- return this.request("post", "/datalake/sql", body, options);
1201
+ return this.request("datalake", "post_datalake_sql", "post", "/datalake/sql", body, options);
1149
1202
  };
1150
1203
  /**
1151
1204
  * GET /swagger.json
@@ -1153,7 +1206,7 @@ var ServiceClient = /** @class */ (function (_super) {
1153
1206
  * @param options - additional request options
1154
1207
  */
1155
1208
  ServiceClient.prototype.get_swagger = function (options) {
1156
- return this.request("get", "/swagger.json", null, options);
1209
+ return this.request("datalake", "get_swagger", "get", "/swagger.json", null, options);
1157
1210
  };
1158
1211
  /**
1159
1212
  * POST /promo - Create a new promotion
@@ -1162,7 +1215,7 @@ var ServiceClient = /** @class */ (function (_super) {
1162
1215
  * @param options - additional request options
1163
1216
  */
1164
1217
  ServiceClient.prototype.post_promo = function (body, options) {
1165
- return this.request("post", "/promo", body, options);
1218
+ return this.request("promo", "post_promo", "post", "/promo", body, options);
1166
1219
  };
1167
1220
  /**
1168
1221
  * GET /promo - Get all promotions
@@ -1170,7 +1223,7 @@ var ServiceClient = /** @class */ (function (_super) {
1170
1223
  * @param options - additional request options
1171
1224
  */
1172
1225
  ServiceClient.prototype.get_promos = function (options) {
1173
- return this.request("get", "/promo", null, options);
1226
+ return this.request("promo", "get_promos", "get", "/promo", null, options);
1174
1227
  };
1175
1228
  /**
1176
1229
  * GET /promo/{id} - Get an individual promotion
@@ -1179,7 +1232,7 @@ var ServiceClient = /** @class */ (function (_super) {
1179
1232
  * @param options - additional request options
1180
1233
  */
1181
1234
  ServiceClient.prototype.get_promo = function (id, options) {
1182
- return this.request("get", "/promo/" + id, null, options);
1235
+ return this.request("promo", "get_promo", "get", "/promo/" + id, null, options);
1183
1236
  };
1184
1237
  /**
1185
1238
  * PUT /promo/{id} - Update a promotion
@@ -1189,7 +1242,7 @@ var ServiceClient = /** @class */ (function (_super) {
1189
1242
  * @param options - additional request options
1190
1243
  */
1191
1244
  ServiceClient.prototype.put_promo = function (id, body, options) {
1192
- return this.request("put", "/promo/" + id, body, options);
1245
+ return this.request("promo", "put_promo", "put", "/promo/" + id, body, options);
1193
1246
  };
1194
1247
  /**
1195
1248
  * DELETE /promo/{id} - Delete promotion
@@ -1198,7 +1251,7 @@ var ServiceClient = /** @class */ (function (_super) {
1198
1251
  * @param options - additional request options
1199
1252
  */
1200
1253
  ServiceClient.prototype.delete_promo = function (id, options) {
1201
- return this.request("delete", "/promo/" + id, null, options);
1254
+ return this.request("promo", "delete_promo", "delete", "/promo/" + id, null, options);
1202
1255
  };
1203
1256
  /**
1204
1257
  * GET /promo/company/{company}/location/group/{location_group} - Get all promotions within company for a location group
@@ -1208,7 +1261,7 @@ var ServiceClient = /** @class */ (function (_super) {
1208
1261
  * @param options - additional request options
1209
1262
  */
1210
1263
  ServiceClient.prototype.get_promo_company_location_group = function (company, location_group, options) {
1211
- return this.request("get", "/promo/company/" + company + "/location/group/" + location_group, null, options);
1264
+ return this.request("promo", "get_promo_company_location_group", "get", "/promo/company/" + company + "/location/group/" + location_group, null, options);
1212
1265
  };
1213
1266
  /**
1214
1267
  * POST /promo/validate/voucher - Validate a promo voucher
@@ -1217,7 +1270,7 @@ var ServiceClient = /** @class */ (function (_super) {
1217
1270
  * @param options - additional request options
1218
1271
  */
1219
1272
  ServiceClient.prototype.post_promo_validate_voucher = function (body, options) {
1220
- return this.request("post", "/promo/validate/voucher", body, options);
1273
+ return this.request("promo", "post_promo_validate_voucher", "post", "/promo/validate/voucher", body, options);
1221
1274
  };
1222
1275
  /**
1223
1276
  * POST /promo/redeem/voucher - Redeem a promo voucher
@@ -1226,7 +1279,7 @@ var ServiceClient = /** @class */ (function (_super) {
1226
1279
  * @param options - additional request options
1227
1280
  */
1228
1281
  ServiceClient.prototype.post_promo_redeem_voucher = function (body, options) {
1229
- return this.request("post", "/promo/redeem/voucher", body, options);
1282
+ return this.request("promo", "post_promo_redeem_voucher", "post", "/promo/redeem/voucher", body, options);
1230
1283
  };
1231
1284
  /**
1232
1285
  * POST /promo/voucher - Create new voucher
@@ -1235,7 +1288,7 @@ var ServiceClient = /** @class */ (function (_super) {
1235
1288
  * @param options - additional request options
1236
1289
  */
1237
1290
  ServiceClient.prototype.post_promo_voucher = function (body, options) {
1238
- return this.request("post", "/promo/voucher", body, options);
1291
+ return this.request("promo", "post_promo_voucher", "post", "/promo/voucher", body, options);
1239
1292
  };
1240
1293
  /**
1241
1294
  * PUT /promo/voucher/{id} - Update voucher
@@ -1245,7 +1298,7 @@ var ServiceClient = /** @class */ (function (_super) {
1245
1298
  * @param options - additional request options
1246
1299
  */
1247
1300
  ServiceClient.prototype.put_promo_voucher = function (id, body, options) {
1248
- return this.request("put", "/promo/voucher/" + id, body, options);
1301
+ return this.request("promo", "put_promo_voucher", "put", "/promo/voucher/" + id, body, options);
1249
1302
  };
1250
1303
  /**
1251
1304
  * DELETE /promo/voucher/{id} - Delete voucher
@@ -1254,7 +1307,7 @@ var ServiceClient = /** @class */ (function (_super) {
1254
1307
  * @param options - additional request options
1255
1308
  */
1256
1309
  ServiceClient.prototype.delete_promo_voucher = function (id, options) {
1257
- return this.request("delete", "/promo/voucher/" + id, null, options);
1310
+ return this.request("promo", "delete_promo_voucher", "delete", "/promo/voucher/" + id, null, options);
1258
1311
  };
1259
1312
  /**
1260
1313
  * POST /promo/customer/ - Add user to voucherify
@@ -1263,7 +1316,7 @@ var ServiceClient = /** @class */ (function (_super) {
1263
1316
  * @param options - additional request options
1264
1317
  */
1265
1318
  ServiceClient.prototype.post_promo_customer = function (body, options) {
1266
- return this.request("post", "/promo/customer/", body, options);
1319
+ return this.request("promo", "post_promo_customer", "post", "/promo/customer/", body, options);
1267
1320
  };
1268
1321
  /**
1269
1322
  * DELETE /promo/customer/ - Delete user from voucherify
@@ -1272,7 +1325,7 @@ var ServiceClient = /** @class */ (function (_super) {
1272
1325
  * @param options - additional request options
1273
1326
  */
1274
1327
  ServiceClient.prototype.delete_promo_customer = function (body, options) {
1275
- return this.request("delete", "/promo/customer/", body, options);
1328
+ return this.request("promo", "delete_promo_customer", "delete", "/promo/customer/", body, options);
1276
1329
  };
1277
1330
  /**
1278
1331
  * POST /promo/voucher/{id}/reverse - Reverse a redemption from a promo voucher
@@ -1282,7 +1335,7 @@ var ServiceClient = /** @class */ (function (_super) {
1282
1335
  * @param options - additional request options
1283
1336
  */
1284
1337
  ServiceClient.prototype.post_promo_voucher_reverse = function (id, body, options) {
1285
- return this.request("post", "/promo/voucher/" + id + "/reverse", body, options);
1338
+ return this.request("promo", "post_promo_voucher_reverse", "post", "/promo/voucher/" + id + "/reverse", body, options);
1286
1339
  };
1287
1340
  /**
1288
1341
  * POST /promo/voucherify/activity/execute - Execute a Journey custom Activity request
@@ -1291,7 +1344,7 @@ var ServiceClient = /** @class */ (function (_super) {
1291
1344
  * @param options - additional request options
1292
1345
  */
1293
1346
  ServiceClient.prototype.post_promo_voucherify_activity_execute = function (body, options) {
1294
- return this.request("post", "/promo/voucherify/activity/execute", body, options);
1347
+ return this.request("promo", "post_promo_voucherify_activity_execute", "post", "/promo/voucherify/activity/execute", body, options);
1295
1348
  };
1296
1349
  /**
1297
1350
  * GET /promo/voucherify/activity/config.json - Get SFMC Journey Custom Activity configuration
@@ -1299,7 +1352,7 @@ var ServiceClient = /** @class */ (function (_super) {
1299
1352
  * @param options - additional request options
1300
1353
  */
1301
1354
  ServiceClient.prototype.get_promo_voucherify_activity_config = function (options) {
1302
- return this.request("get", "/promo/voucherify/activity/config.json", null, options);
1355
+ return this.request("promo", "get_promo_voucherify_activity_config", "get", "/promo/voucherify/activity/config.json", null, options);
1303
1356
  };
1304
1357
  /**
1305
1358
  * POST /dh/sql
@@ -1307,7 +1360,7 @@ var ServiceClient = /** @class */ (function (_super) {
1307
1360
  * @param options - additional request options
1308
1361
  */
1309
1362
  ServiceClient.prototype.post_dh_sql = function (options) {
1310
- return this.request("post", "/dh/sql", null, options);
1363
+ return this.request("dh", "post_dh_sql", "post", "/dh/sql", null, options);
1311
1364
  };
1312
1365
  /**
1313
1366
  * GET /config/{key} - get a configuration
@@ -1316,7 +1369,7 @@ var ServiceClient = /** @class */ (function (_super) {
1316
1369
  * @param options - additional request options
1317
1370
  */
1318
1371
  ServiceClient.prototype.get_config = function (key, options) {
1319
- return this.request("get", "/config/" + key, null, options);
1372
+ return this.request("config", "get_config", "get", "/config/" + key, null, options);
1320
1373
  };
1321
1374
  /**
1322
1375
  * POST /config/{key} - Create a configuration
@@ -1326,7 +1379,7 @@ var ServiceClient = /** @class */ (function (_super) {
1326
1379
  * @param options - additional request options
1327
1380
  */
1328
1381
  ServiceClient.prototype.post_config = function (key, body, options) {
1329
- return this.request("post", "/config/" + key, body, options);
1382
+ return this.request("config", "post_config", "post", "/config/" + key, body, options);
1330
1383
  };
1331
1384
  /**
1332
1385
  * PUT /config/{key} - Update a configuration
@@ -1336,7 +1389,7 @@ var ServiceClient = /** @class */ (function (_super) {
1336
1389
  * @param options - additional request options
1337
1390
  */
1338
1391
  ServiceClient.prototype.put_config = function (key, body, options) {
1339
- return this.request("put", "/config/" + key, body, options);
1392
+ return this.request("config", "put_config", "put", "/config/" + key, body, options);
1340
1393
  };
1341
1394
  /**
1342
1395
  * DELETE /config/{key} - Delete a configuration
@@ -1345,7 +1398,7 @@ var ServiceClient = /** @class */ (function (_super) {
1345
1398
  * @param options - additional request options
1346
1399
  */
1347
1400
  ServiceClient.prototype.delete_config = function (key, options) {
1348
- return this.request("delete", "/config/" + key, null, options);
1401
+ return this.request("config", "delete_config", "delete", "/config/" + key, null, options);
1349
1402
  };
1350
1403
  /**
1351
1404
  * GET /config/public/{key} - get a public configuration
@@ -1354,7 +1407,7 @@ var ServiceClient = /** @class */ (function (_super) {
1354
1407
  * @param options - additional request options
1355
1408
  */
1356
1409
  ServiceClient.prototype.get_config_public = function (key, options) {
1357
- return this.request("get", "/config/public/" + key, null, options);
1410
+ return this.request("config", "get_config_public", "get", "/config/public/" + key, null, options);
1358
1411
  };
1359
1412
  /**
1360
1413
  * POST /config/public/{key} - Create a public configuration
@@ -1364,7 +1417,7 @@ var ServiceClient = /** @class */ (function (_super) {
1364
1417
  * @param options - additional request options
1365
1418
  */
1366
1419
  ServiceClient.prototype.post_config_public = function (key, body, options) {
1367
- return this.request("post", "/config/public/" + key, body, options);
1420
+ return this.request("config", "post_config_public", "post", "/config/public/" + key, body, options);
1368
1421
  };
1369
1422
  /**
1370
1423
  * PUT /config/public/{key} - Update a public configuration
@@ -1374,7 +1427,7 @@ var ServiceClient = /** @class */ (function (_super) {
1374
1427
  * @param options - additional request options
1375
1428
  */
1376
1429
  ServiceClient.prototype.put_config_public = function (key, body, options) {
1377
- return this.request("put", "/config/public/" + key, body, options);
1430
+ return this.request("config", "put_config_public", "put", "/config/public/" + key, body, options);
1378
1431
  };
1379
1432
  /**
1380
1433
  * DELETE /config/public/{key} - Delete a public configuration
@@ -1383,7 +1436,7 @@ var ServiceClient = /** @class */ (function (_super) {
1383
1436
  * @param options - additional request options
1384
1437
  */
1385
1438
  ServiceClient.prototype.delete_config_public = function (key, options) {
1386
- return this.request("delete", "/config/public/" + key, null, options);
1439
+ return this.request("config", "delete_config_public", "delete", "/config/public/" + key, null, options);
1387
1440
  };
1388
1441
  /**
1389
1442
  * POST /announcement - Create Announcement
@@ -1392,7 +1445,7 @@ var ServiceClient = /** @class */ (function (_super) {
1392
1445
  * @param options - additional request options
1393
1446
  */
1394
1447
  ServiceClient.prototype.post_announcement = function (body, options) {
1395
- return this.request("post", "/announcement", body, options);
1448
+ return this.request("announcement", "post_announcement", "post", "/announcement", body, options);
1396
1449
  };
1397
1450
  /**
1398
1451
  * GET /announcement/resource/{id} - Get Announcements for a specific entity
@@ -1401,7 +1454,7 @@ var ServiceClient = /** @class */ (function (_super) {
1401
1454
  * @param options - additional request options
1402
1455
  */
1403
1456
  ServiceClient.prototype.get_announcement_resource = function (id, options) {
1404
- return this.request("get", "/announcement/resource/" + id, null, options);
1457
+ return this.request("announcement", "get_announcement_resource", "get", "/announcement/resource/" + id, null, options);
1405
1458
  };
1406
1459
  /**
1407
1460
  * GET /announcement/resource - Get Announcements
@@ -1409,7 +1462,7 @@ var ServiceClient = /** @class */ (function (_super) {
1409
1462
  * @param options - additional request options
1410
1463
  */
1411
1464
  ServiceClient.prototype.get_announcement_resources = function (options) {
1412
- return this.request("get", "/announcement/resource", null, options);
1465
+ return this.request("announcement", "get_announcement_resources", "get", "/announcement/resource", null, options);
1413
1466
  };
1414
1467
  /**
1415
1468
  * GET /announcement/{id} - Get Announcement
@@ -1418,7 +1471,7 @@ var ServiceClient = /** @class */ (function (_super) {
1418
1471
  * @param options - additional request options
1419
1472
  */
1420
1473
  ServiceClient.prototype.get_announcement = function (id, options) {
1421
- return this.request("get", "/announcement/" + id, null, options);
1474
+ return this.request("announcement", "get_announcement", "get", "/announcement/" + id, null, options);
1422
1475
  };
1423
1476
  /**
1424
1477
  * PUT /announcement/{id} - Update Announcement
@@ -1428,7 +1481,7 @@ var ServiceClient = /** @class */ (function (_super) {
1428
1481
  * @param options - additional request options
1429
1482
  */
1430
1483
  ServiceClient.prototype.put_announcement = function (id, body, options) {
1431
- return this.request("put", "/announcement/" + id, body, options);
1484
+ return this.request("announcement", "put_announcement", "put", "/announcement/" + id, body, options);
1432
1485
  };
1433
1486
  /**
1434
1487
  * DELETE /announcement/{id} - Delete announcement item
@@ -1437,7 +1490,7 @@ var ServiceClient = /** @class */ (function (_super) {
1437
1490
  * @param options - additional request options
1438
1491
  */
1439
1492
  ServiceClient.prototype.delete_announcement = function (id, options) {
1440
- return this.request("delete", "/announcement/" + id, null, options);
1493
+ return this.request("announcement", "delete_announcement", "delete", "/announcement/" + id, null, options);
1441
1494
  };
1442
1495
  /**
1443
1496
  * GET /report/analytics/group/{location_group}/{report_type}
@@ -1447,7 +1500,7 @@ var ServiceClient = /** @class */ (function (_super) {
1447
1500
  * @param options - additional request options
1448
1501
  */
1449
1502
  ServiceClient.prototype.get_report_analytics_group = function (location_group, report_type, options) {
1450
- return this.request("get", "/report/analytics/group/" + location_group + "/" + report_type, null, options);
1503
+ return this.request("report", "get_report_analytics_group", "get", "/report/analytics/group/" + location_group + "/" + report_type, null, options);
1451
1504
  };
1452
1505
  /**
1453
1506
  * GET /report/analytics/combined/group/{location_group}
@@ -1456,7 +1509,7 @@ var ServiceClient = /** @class */ (function (_super) {
1456
1509
  * @param options - additional request options
1457
1510
  */
1458
1511
  ServiceClient.prototype.get_report_analytics_combined_group = function (location_group, options) {
1459
- return this.request("get", "/report/analytics/combined/group/" + location_group, null, options);
1512
+ return this.request("report", "get_report_analytics_combined_group", "get", "/report/analytics/combined/group/" + location_group, null, options);
1460
1513
  };
1461
1514
  /**
1462
1515
  * GET /report/analytics/exactmobile/totals
@@ -1464,7 +1517,7 @@ var ServiceClient = /** @class */ (function (_super) {
1464
1517
  * @param options - additional request options
1465
1518
  */
1466
1519
  ServiceClient.prototype.get_report_analytics_exactmobile_totals = function (options) {
1467
- return this.request("get", "/report/analytics/exactmobile/totals", null, options);
1520
+ return this.request("report", "get_report_analytics_exactmobile_totals", "get", "/report/analytics/exactmobile/totals", null, options);
1468
1521
  };
1469
1522
  /**
1470
1523
  * GET /report/analytics/exactmobile/transactions
@@ -1472,7 +1525,7 @@ var ServiceClient = /** @class */ (function (_super) {
1472
1525
  * @param options - additional request options
1473
1526
  */
1474
1527
  ServiceClient.prototype.get_report_analytics_exactmobile_transactions = function (options) {
1475
- return this.request("get", "/report/analytics/exactmobile/transactions", null, options);
1528
+ return this.request("report", "get_report_analytics_exactmobile_transactions", "get", "/report/analytics/exactmobile/transactions", null, options);
1476
1529
  };
1477
1530
  /**
1478
1531
  * GET /report/analytics/exactmobile/discrepancies
@@ -1480,7 +1533,7 @@ var ServiceClient = /** @class */ (function (_super) {
1480
1533
  * @param options - additional request options
1481
1534
  */
1482
1535
  ServiceClient.prototype.get_report_analytics_exactmobile_discrepancies = function (options) {
1483
- return this.request("get", "/report/analytics/exactmobile/discrepancies", null, options);
1536
+ return this.request("report", "get_report_analytics_exactmobile_discrepancies", "get", "/report/analytics/exactmobile/discrepancies", null, options);
1484
1537
  };
1485
1538
  /**
1486
1539
  * GET /report/analytics/tracker/report/{id}
@@ -1489,7 +1542,7 @@ var ServiceClient = /** @class */ (function (_super) {
1489
1542
  * @param options - additional request options
1490
1543
  */
1491
1544
  ServiceClient.prototype.get_report_analytics_tracker_report = function (id, options) {
1492
- return this.request("get", "/report/analytics/tracker/report/" + id, null, options);
1545
+ return this.request("report", "get_report_analytics_tracker_report", "get", "/report/analytics/tracker/report/" + id, null, options);
1493
1546
  };
1494
1547
  /**
1495
1548
  * GET /report/eod/group/{id} - Get reports for selected location group
@@ -1498,7 +1551,7 @@ var ServiceClient = /** @class */ (function (_super) {
1498
1551
  * @param options - additional request options
1499
1552
  */
1500
1553
  ServiceClient.prototype.get_report_eod_group = function (id, options) {
1501
- return this.request("get", "/report/eod/group/" + id, null, options);
1554
+ return this.request("report", "get_report_eod_group", "get", "/report/eod/group/" + id, null, options);
1502
1555
  };
1503
1556
  /**
1504
1557
  * GET /report/eod/group/{id}/subscribers - Get reports for selected location group
@@ -1507,7 +1560,7 @@ var ServiceClient = /** @class */ (function (_super) {
1507
1560
  * @param options - additional request options
1508
1561
  */
1509
1562
  ServiceClient.prototype.get_report_eod_group_subscribers = function (id, options) {
1510
- return this.request("get", "/report/eod/group/" + id + "/subscribers", null, options);
1563
+ return this.request("report", "get_report_eod_group_subscribers", "get", "/report/eod/group/" + id + "/subscribers", null, options);
1511
1564
  };
1512
1565
  /**
1513
1566
  * POST /report/eod/group/{id}/subscribers - Add emails to selected location group
@@ -1517,7 +1570,7 @@ var ServiceClient = /** @class */ (function (_super) {
1517
1570
  * @param options - additional request options
1518
1571
  */
1519
1572
  ServiceClient.prototype.post_report_eod_group_subscribers = function (id, body, options) {
1520
- return this.request("post", "/report/eod/group/" + id + "/subscribers", body, options);
1573
+ return this.request("report", "post_report_eod_group_subscribers", "post", "/report/eod/group/" + id + "/subscribers", body, options);
1521
1574
  };
1522
1575
  /**
1523
1576
  * DELETE /report/eod/group/{id}/subscribers - deletes subscribers from selected group
@@ -1526,7 +1579,7 @@ var ServiceClient = /** @class */ (function (_super) {
1526
1579
  * @param options - additional request options
1527
1580
  */
1528
1581
  ServiceClient.prototype.delete_report_eod_group_subscribers = function (id, options) {
1529
- return this.request("delete", "/report/eod/group/" + id + "/subscribers", null, options);
1582
+ return this.request("report", "delete_report_eod_group_subscribers", "delete", "/report/eod/group/" + id + "/subscribers", null, options);
1530
1583
  };
1531
1584
  /**
1532
1585
  * PUT /report/eod/group/{id}/subscribers - replace all subscribers from selected location group with payload
@@ -1536,7 +1589,7 @@ var ServiceClient = /** @class */ (function (_super) {
1536
1589
  * @param options - additional request options
1537
1590
  */
1538
1591
  ServiceClient.prototype.put_report_eod_group_subscribers = function (id, body, options) {
1539
- return this.request("put", "/report/eod/group/" + id + "/subscribers", body, options);
1592
+ return this.request("report", "put_report_eod_group_subscribers", "put", "/report/eod/group/" + id + "/subscribers", body, options);
1540
1593
  };
1541
1594
  /**
1542
1595
  * GET /report/discrepancy/subscribers - Get subscribers for discrepency widget
@@ -1544,7 +1597,7 @@ var ServiceClient = /** @class */ (function (_super) {
1544
1597
  * @param options - additional request options
1545
1598
  */
1546
1599
  ServiceClient.prototype.get_report_discrepancy_subscribers = function (options) {
1547
- return this.request("get", "/report/discrepancy/subscribers", null, options);
1600
+ return this.request("report", "get_report_discrepancy_subscribers", "get", "/report/discrepancy/subscribers", null, options);
1548
1601
  };
1549
1602
  /**
1550
1603
  * DELETE /report/discrepancy/subscribers - deletes subscriber from discrepency
@@ -1552,7 +1605,7 @@ var ServiceClient = /** @class */ (function (_super) {
1552
1605
  * @param options - additional request options
1553
1606
  */
1554
1607
  ServiceClient.prototype.delete_report_discrepancy_subscribers = function (options) {
1555
- return this.request("delete", "/report/discrepancy/subscribers", null, options);
1608
+ return this.request("report", "delete_report_discrepancy_subscribers", "delete", "/report/discrepancy/subscribers", null, options);
1556
1609
  };
1557
1610
  /**
1558
1611
  * POST /report/discrepancy/subscribers - Create new discrepancy subscriber
@@ -1561,7 +1614,7 @@ var ServiceClient = /** @class */ (function (_super) {
1561
1614
  * @param options - additional request options
1562
1615
  */
1563
1616
  ServiceClient.prototype.post_report_discrepancy_subscribers = function (body, options) {
1564
- return this.request("post", "/report/discrepancy/subscribers", body, options);
1617
+ return this.request("report", "post_report_discrepancy_subscribers", "post", "/report/discrepancy/subscribers", body, options);
1565
1618
  };
1566
1619
  /**
1567
1620
  * GET /user/auth - Gets the JWT token for a user
@@ -1569,7 +1622,7 @@ var ServiceClient = /** @class */ (function (_super) {
1569
1622
  * @param options - additional request options
1570
1623
  */
1571
1624
  ServiceClient.prototype.get_user_auth = function (options) {
1572
- return this.request("get", "/user/auth", null, options);
1625
+ return this.request("user", "get_user_auth", "get", "/user/auth", null, options);
1573
1626
  };
1574
1627
  /**
1575
1628
  * POST /user/auth - Use refresh token to generate a new access token and refresh token
@@ -1578,7 +1631,7 @@ var ServiceClient = /** @class */ (function (_super) {
1578
1631
  * @param options - additional request options
1579
1632
  */
1580
1633
  ServiceClient.prototype.post_user_auth = function (body, options) {
1581
- return this.request("post", "/user/auth", body, options);
1634
+ return this.request("user", "post_user_auth", "post", "/user/auth", body, options);
1582
1635
  };
1583
1636
  /**
1584
1637
  * GET /user/zendesk - Get zendesk JWT token to allow web widget to search restricted articles
@@ -1586,7 +1639,7 @@ var ServiceClient = /** @class */ (function (_super) {
1586
1639
  * @param options - additional request options
1587
1640
  */
1588
1641
  ServiceClient.prototype.get_user_zendesk = function (options) {
1589
- return this.request("get", "/user/zendesk", null, options);
1642
+ return this.request("user", "get_user_zendesk", "get", "/user/zendesk", null, options);
1590
1643
  };
1591
1644
  /**
1592
1645
  * POST /user - Create an User
@@ -1595,7 +1648,7 @@ var ServiceClient = /** @class */ (function (_super) {
1595
1648
  * @param options - additional request options
1596
1649
  */
1597
1650
  ServiceClient.prototype.post_user = function (body, options) {
1598
- return this.request("post", "/user", body, options);
1651
+ return this.request("user", "post_user", "post", "/user", body, options);
1599
1652
  };
1600
1653
  /**
1601
1654
  * GET /user/{id} - Get an individual user
@@ -1604,7 +1657,7 @@ var ServiceClient = /** @class */ (function (_super) {
1604
1657
  * @param options - additional request options
1605
1658
  */
1606
1659
  ServiceClient.prototype.get_user = function (id, options) {
1607
- return this.request("get", "/user/" + id, null, options);
1660
+ return this.request("user", "get_user", "get", "/user/" + id, null, options);
1608
1661
  };
1609
1662
  /**
1610
1663
  * PUT /user/{id} - Update an individual user
@@ -1614,7 +1667,7 @@ var ServiceClient = /** @class */ (function (_super) {
1614
1667
  * @param options - additional request options
1615
1668
  */
1616
1669
  ServiceClient.prototype.put_user = function (id, body, options) {
1617
- return this.request("put", "/user/" + id, body, options);
1670
+ return this.request("user", "put_user", "put", "/user/" + id, body, options);
1618
1671
  };
1619
1672
  /**
1620
1673
  * PATCH /user/{id} - Update an individual user
@@ -1624,7 +1677,7 @@ var ServiceClient = /** @class */ (function (_super) {
1624
1677
  * @param options - additional request options
1625
1678
  */
1626
1679
  ServiceClient.prototype.patch_user = function (id, body, options) {
1627
- return this.request("patch", "/user/" + id, body, options);
1680
+ return this.request("user", "patch_user", "patch", "/user/" + id, body, options);
1628
1681
  };
1629
1682
  /**
1630
1683
  * DELETE /user/{id} - delete an individual user
@@ -1633,7 +1686,7 @@ var ServiceClient = /** @class */ (function (_super) {
1633
1686
  * @param options - additional request options
1634
1687
  */
1635
1688
  ServiceClient.prototype.delete_user = function (id, options) {
1636
- return this.request("delete", "/user/" + id, null, options);
1689
+ return this.request("user", "delete_user", "delete", "/user/" + id, null, options);
1637
1690
  };
1638
1691
  /**
1639
1692
  * POST /user/device/auth - Endpoint for generating/retrieving KDS device token
@@ -1642,7 +1695,7 @@ var ServiceClient = /** @class */ (function (_super) {
1642
1695
  * @param options - additional request options
1643
1696
  */
1644
1697
  ServiceClient.prototype.post_user_kds_token = function (body, options) {
1645
- return this.request("post", "/user/device/auth", body, options);
1698
+ return this.request("user", "post_user_kds_token", "post", "/user/device/auth", body, options);
1646
1699
  };
1647
1700
  /**
1648
1701
  * GET /user/device/auth - Endpoint retrieving KDS device token
@@ -1650,7 +1703,7 @@ var ServiceClient = /** @class */ (function (_super) {
1650
1703
  * @param options - additional request options
1651
1704
  */
1652
1705
  ServiceClient.prototype.get_user_kds_token = function (options) {
1653
- return this.request("get", "/user/device/auth", null, options);
1706
+ return this.request("user", "get_user_kds_token", "get", "/user/device/auth", null, options);
1654
1707
  };
1655
1708
  /**
1656
1709
  * DELETE /user/device/auth/{device_id} - Endpoint for deleting a device by specified device_id
@@ -1659,16 +1712,17 @@ var ServiceClient = /** @class */ (function (_super) {
1659
1712
  * @param options - additional request options
1660
1713
  */
1661
1714
  ServiceClient.prototype.delete_user_device_auth = function (device_id, options) {
1662
- return this.request("delete", "/user/device/auth/" + device_id, null, options);
1715
+ return this.request("user", "delete_user_device_auth", "delete", "/user/device/auth/" + device_id, null, options);
1663
1716
  };
1664
1717
  /**
1665
1718
  * PATCH /user/device/auth/{device_id} - Endpoint for authorizing device to retrieve valid kds token
1666
1719
  *
1667
1720
  * @param device_id - KDS device ID
1721
+ * @param body
1668
1722
  * @param options - additional request options
1669
1723
  */
1670
- ServiceClient.prototype.patch_user_auth_kds = function (device_id, options) {
1671
- return this.request("patch", "/user/device/auth/" + device_id, null, options);
1724
+ ServiceClient.prototype.patch_user_auth_kds = function (device_id, body, options) {
1725
+ return this.request("user", "patch_user_auth_kds", "patch", "/user/device/auth/" + device_id, body, options);
1672
1726
  };
1673
1727
  /**
1674
1728
  * POST /user/{id}/changepassword - Change the users password
@@ -1678,7 +1732,7 @@ var ServiceClient = /** @class */ (function (_super) {
1678
1732
  * @param options - additional request options
1679
1733
  */
1680
1734
  ServiceClient.prototype.post_user_change_password = function (id, body, options) {
1681
- return this.request("post", "/user/" + id + "/changepassword", body, options);
1735
+ return this.request("user", "post_user_change_password", "post", "/user/" + id + "/changepassword", body, options);
1682
1736
  };
1683
1737
  /**
1684
1738
  * DELETE /user/logout - Logs out current user
@@ -1686,7 +1740,7 @@ var ServiceClient = /** @class */ (function (_super) {
1686
1740
  * @param options - additional request options
1687
1741
  */
1688
1742
  ServiceClient.prototype.delete_user_logout = function (options) {
1689
- return this.request("delete", "/user/logout", null, options);
1743
+ return this.request("user", "delete_user_logout", "delete", "/user/logout", null, options);
1690
1744
  };
1691
1745
  /**
1692
1746
  * POST /user/{id}/secret/{key} - Add a secret key
@@ -1697,7 +1751,7 @@ var ServiceClient = /** @class */ (function (_super) {
1697
1751
  * @param options - additional request options
1698
1752
  */
1699
1753
  ServiceClient.prototype.post_user_add_secret = function (id, key, body, options) {
1700
- return this.request("post", "/user/" + id + "/secret/" + key, body, options);
1754
+ return this.request("user", "post_user_add_secret", "post", "/user/" + id + "/secret/" + key, body, options);
1701
1755
  };
1702
1756
  /**
1703
1757
  * GET /user/{id}/secret/{key} - Get back a secret key
@@ -1707,7 +1761,7 @@ var ServiceClient = /** @class */ (function (_super) {
1707
1761
  * @param options - additional request options
1708
1762
  */
1709
1763
  ServiceClient.prototype.get_user_secret = function (id, key, options) {
1710
- return this.request("get", "/user/" + id + "/secret/" + key, null, options);
1764
+ return this.request("user", "get_user_secret", "get", "/user/" + id + "/secret/" + key, null, options);
1711
1765
  };
1712
1766
  /**
1713
1767
  * POST /user/forgotpassword - Reset the users password
@@ -1716,7 +1770,7 @@ var ServiceClient = /** @class */ (function (_super) {
1716
1770
  * @param options - additional request options
1717
1771
  */
1718
1772
  ServiceClient.prototype.post_user_reset_password = function (body, options) {
1719
- return this.request("post", "/user/forgotpassword", body, options);
1773
+ return this.request("user", "post_user_reset_password", "post", "/user/forgotpassword", body, options);
1720
1774
  };
1721
1775
  /**
1722
1776
  * POST /user/{id}/resetpassword - Reset the users password using a reset token
@@ -1726,7 +1780,7 @@ var ServiceClient = /** @class */ (function (_super) {
1726
1780
  * @param options - additional request options
1727
1781
  */
1728
1782
  ServiceClient.prototype.post_user_reset_password_token = function (id, body, options) {
1729
- return this.request("post", "/user/" + id + "/resetpassword", body, options);
1783
+ return this.request("user", "post_user_reset_password_token", "post", "/user/" + id + "/resetpassword", body, options);
1730
1784
  };
1731
1785
  /**
1732
1786
  * GET /user/realm/{realm} - Get all the users in a realm
@@ -1735,7 +1789,7 @@ var ServiceClient = /** @class */ (function (_super) {
1735
1789
  * @param options - additional request options
1736
1790
  */
1737
1791
  ServiceClient.prototype.get_user_realm_users = function (realm, options) {
1738
- return this.request("get", "/user/realm/" + realm, null, options);
1792
+ return this.request("user", "get_user_realm_users", "get", "/user/realm/" + realm, null, options);
1739
1793
  };
1740
1794
  /**
1741
1795
  * GET /user/{id}/permissions - Get user permissions
@@ -1744,7 +1798,7 @@ var ServiceClient = /** @class */ (function (_super) {
1744
1798
  * @param options - additional request options
1745
1799
  */
1746
1800
  ServiceClient.prototype.get_user_permissions = function (id, options) {
1747
- return this.request("get", "/user/" + id + "/permissions", null, options);
1801
+ return this.request("user", "get_user_permissions", "get", "/user/" + id + "/permissions", null, options);
1748
1802
  };
1749
1803
  /**
1750
1804
  * PUT /user/{id}/permissions - Update user permissions
@@ -1754,7 +1808,7 @@ var ServiceClient = /** @class */ (function (_super) {
1754
1808
  * @param options - additional request options
1755
1809
  */
1756
1810
  ServiceClient.prototype.put_user_permissions = function (id, body, options) {
1757
- return this.request("put", "/user/" + id + "/permissions", body, options);
1811
+ return this.request("user", "put_user_permissions", "put", "/user/" + id + "/permissions", body, options);
1758
1812
  };
1759
1813
  /**
1760
1814
  * POST /user/{id}/checkin - Create check-in for user
@@ -1764,7 +1818,7 @@ var ServiceClient = /** @class */ (function (_super) {
1764
1818
  * @param options - additional request options
1765
1819
  */
1766
1820
  ServiceClient.prototype.post_user_check_in = function (id, body, options) {
1767
- return this.request("post", "/user/" + id + "/checkin", body, options);
1821
+ return this.request("user", "post_user_check_in", "post", "/user/" + id + "/checkin", body, options);
1768
1822
  };
1769
1823
  /**
1770
1824
  * PATCH /user/{id}/checkin/{checkin_id} - Update check-in
@@ -1775,7 +1829,7 @@ var ServiceClient = /** @class */ (function (_super) {
1775
1829
  * @param options - additional request options
1776
1830
  */
1777
1831
  ServiceClient.prototype.patch_user_checkin = function (id, checkin_id, body, options) {
1778
- return this.request("patch", "/user/" + id + "/checkin/" + checkin_id, body, options);
1832
+ return this.request("user", "patch_user_checkin", "patch", "/user/" + id + "/checkin/" + checkin_id, body, options);
1779
1833
  };
1780
1834
  /**
1781
1835
  * GET /user/checkin/search - Search check-in
@@ -1783,7 +1837,7 @@ var ServiceClient = /** @class */ (function (_super) {
1783
1837
  * @param options - additional request options
1784
1838
  */
1785
1839
  ServiceClient.prototype.get_user_search_check_in = function (options) {
1786
- return this.request("get", "/user/checkin/search", null, options);
1840
+ return this.request("user", "get_user_search_check_in", "get", "/user/checkin/search", null, options);
1787
1841
  };
1788
1842
  /**
1789
1843
  * POST /user/{id}/verification - Send email verification to user
@@ -1792,7 +1846,7 @@ var ServiceClient = /** @class */ (function (_super) {
1792
1846
  * @param options - additional request options
1793
1847
  */
1794
1848
  ServiceClient.prototype.post_user_send_email_verification = function (id, options) {
1795
- return this.request("post", "/user/" + id + "/verification", null, options);
1849
+ return this.request("user", "post_user_send_email_verification", "post", "/user/" + id + "/verification", null, options);
1796
1850
  };
1797
1851
  /**
1798
1852
  * PUT /user/{id}/verification/confirm - Verify a users email
@@ -1802,7 +1856,17 @@ var ServiceClient = /** @class */ (function (_super) {
1802
1856
  * @param options - additional request options
1803
1857
  */
1804
1858
  ServiceClient.prototype.put_user_verify_user_email = function (id, body, options) {
1805
- return this.request("put", "/user/" + id + "/verification/confirm", body, options);
1859
+ return this.request("user", "put_user_verify_user_email", "put", "/user/" + id + "/verification/confirm", body, options);
1860
+ };
1861
+ /**
1862
+ * PUT /user/{id}/verification/phone - Send phone verification to user
1863
+ *
1864
+ * @param id - realm
1865
+ * @param body
1866
+ * @param options - additional request options
1867
+ */
1868
+ ServiceClient.prototype.put_user_verification_phone = function (id, body, options) {
1869
+ return this.request("user", "put_user_verification_phone", "put", "/user/" + id + "/verification/phone", body, options);
1806
1870
  };
1807
1871
  /**
1808
1872
  * POST /loyalty/{id}/enroll/{user_id} - Enroll logged in user in Loyalty program
@@ -1812,7 +1876,7 @@ var ServiceClient = /** @class */ (function (_super) {
1812
1876
  * @param options - additional request options
1813
1877
  */
1814
1878
  ServiceClient.prototype.post_loyalty_enroll = function (id, user_id, options) {
1815
- return this.request("post", "/loyalty/" + id + "/enroll/" + user_id, null, options);
1879
+ return this.request("loyalty", "post_loyalty_enroll", "post", "/loyalty/" + id + "/enroll/" + user_id, null, options);
1816
1880
  };
1817
1881
  /**
1818
1882
  * GET /loyalty/{id}/points - Get potential points user could earn from certain event in Loyalty program
@@ -1821,7 +1885,7 @@ var ServiceClient = /** @class */ (function (_super) {
1821
1885
  * @param options - additional request options
1822
1886
  */
1823
1887
  ServiceClient.prototype.get_loyalty_points = function (id, options) {
1824
- return this.request("get", "/loyalty/" + id + "/points", null, options);
1888
+ return this.request("loyalty", "get_loyalty_points", "get", "/loyalty/" + id + "/points", null, options);
1825
1889
  };
1826
1890
  /**
1827
1891
  * GET /loyalty/{id}/offers/{user_id} - Get offers for the logged in user
@@ -1831,7 +1895,7 @@ var ServiceClient = /** @class */ (function (_super) {
1831
1895
  * @param options - additional request options
1832
1896
  */
1833
1897
  ServiceClient.prototype.get_loyalty_offers = function (id, user_id, options) {
1834
- return this.request("get", "/loyalty/" + id + "/offers/" + user_id, null, options);
1898
+ return this.request("loyalty", "get_loyalty_offers", "get", "/loyalty/" + id + "/offers/" + user_id, null, options);
1835
1899
  };
1836
1900
  /**
1837
1901
  * GET /loyalty/{id}/enrollmentstatus/{user_id} - Get enrollment status for logged in user
@@ -1841,7 +1905,7 @@ var ServiceClient = /** @class */ (function (_super) {
1841
1905
  * @param options - additional request options
1842
1906
  */
1843
1907
  ServiceClient.prototype.get_loyalty_enrollmentstatus = function (id, user_id, options) {
1844
- return this.request("get", "/loyalty/" + id + "/enrollmentstatus/" + user_id, null, options);
1908
+ return this.request("loyalty", "get_loyalty_enrollmentstatus", "get", "/loyalty/" + id + "/enrollmentstatus/" + user_id, null, options);
1845
1909
  };
1846
1910
  /**
1847
1911
  * GET /loyalty/{id}/balance/{user_id} - Get loyalty point balance for logged in user
@@ -1851,7 +1915,7 @@ var ServiceClient = /** @class */ (function (_super) {
1851
1915
  * @param options - additional request options
1852
1916
  */
1853
1917
  ServiceClient.prototype.get_loyalty_balance = function (id, user_id, options) {
1854
- return this.request("get", "/loyalty/" + id + "/balance/" + user_id, null, options);
1918
+ return this.request("loyalty", "get_loyalty_balance", "get", "/loyalty/" + id + "/balance/" + user_id, null, options);
1855
1919
  };
1856
1920
  /**
1857
1921
  * GET /loyalty/{id}/opportunities/{user_id} - Get earning opportunities for the logged in user
@@ -1861,7 +1925,7 @@ var ServiceClient = /** @class */ (function (_super) {
1861
1925
  * @param options - additional request options
1862
1926
  */
1863
1927
  ServiceClient.prototype.get_loyalty_opportunities = function (id, user_id, options) {
1864
- return this.request("get", "/loyalty/" + id + "/opportunities/" + user_id, null, options);
1928
+ return this.request("loyalty", "get_loyalty_opportunities", "get", "/loyalty/" + id + "/opportunities/" + user_id, null, options);
1865
1929
  };
1866
1930
  /**
1867
1931
  * POST /loyalty/{id}/opportunities/{user_id} - Record an event for the logged in user
@@ -1871,7 +1935,7 @@ var ServiceClient = /** @class */ (function (_super) {
1871
1935
  * @param options - additional request options
1872
1936
  */
1873
1937
  ServiceClient.prototype.post_loyalty_opportunities = function (id, user_id, options) {
1874
- return this.request("post", "/loyalty/" + id + "/opportunities/" + user_id, null, options);
1938
+ return this.request("loyalty", "post_loyalty_opportunities", "post", "/loyalty/" + id + "/opportunities/" + user_id, null, options);
1875
1939
  };
1876
1940
  /**
1877
1941
  * GET /loyalty/{id}/rewards/{user_id} - Get rewards available for the logged in user
@@ -1881,7 +1945,7 @@ var ServiceClient = /** @class */ (function (_super) {
1881
1945
  * @param options - additional request options
1882
1946
  */
1883
1947
  ServiceClient.prototype.get_loyalty_rewards = function (id, user_id, options) {
1884
- return this.request("get", "/loyalty/" + id + "/rewards/" + user_id, null, options);
1948
+ return this.request("loyalty", "get_loyalty_rewards", "get", "/loyalty/" + id + "/rewards/" + user_id, null, options);
1885
1949
  };
1886
1950
  /**
1887
1951
  * GET /loyalty/{id}/coupons/{user_id} - Get coupons available for the logged in user
@@ -1891,7 +1955,7 @@ var ServiceClient = /** @class */ (function (_super) {
1891
1955
  * @param options - additional request options
1892
1956
  */
1893
1957
  ServiceClient.prototype.get_loyalty_coupons = function (id, user_id, options) {
1894
- return this.request("get", "/loyalty/" + id + "/coupons/" + user_id, null, options);
1958
+ return this.request("loyalty", "get_loyalty_coupons", "get", "/loyalty/" + id + "/coupons/" + user_id, null, options);
1895
1959
  };
1896
1960
  /**
1897
1961
  * GET /loyalty/{id}/orderpoints/{user_id} - Get potential loyalty point points for an order based on amount.
@@ -1901,7 +1965,7 @@ var ServiceClient = /** @class */ (function (_super) {
1901
1965
  * @param options - additional request options
1902
1966
  */
1903
1967
  ServiceClient.prototype.get_loyalty_orderpoints = function (id, user_id, options) {
1904
- return this.request("get", "/loyalty/" + id + "/orderpoints/" + user_id, null, options);
1968
+ return this.request("loyalty", "get_loyalty_orderpoints", "get", "/loyalty/" + id + "/orderpoints/" + user_id, null, options);
1905
1969
  };
1906
1970
  /**
1907
1971
  * POST /loyalty/{id}/orderpoints/{user_id} - Get potential loyalty point points for a order based on amount and items
@@ -1912,7 +1976,7 @@ var ServiceClient = /** @class */ (function (_super) {
1912
1976
  * @param options - additional request options
1913
1977
  */
1914
1978
  ServiceClient.prototype.post_loyalty_orderpoints = function (id, user_id, body, options) {
1915
- return this.request("post", "/loyalty/" + id + "/orderpoints/" + user_id, body, options);
1979
+ return this.request("loyalty", "post_loyalty_orderpoints", "post", "/loyalty/" + id + "/orderpoints/" + user_id, body, options);
1916
1980
  };
1917
1981
  /**
1918
1982
  * POST /loyalty/{id}/purchase/{user_id} - Record purchase event
@@ -1923,7 +1987,7 @@ var ServiceClient = /** @class */ (function (_super) {
1923
1987
  * @param options - additional request options
1924
1988
  */
1925
1989
  ServiceClient.prototype.post_loyalty_purchase = function (id, user_id, body, options) {
1926
- return this.request("post", "/loyalty/" + id + "/purchase/" + user_id, body, options);
1990
+ return this.request("loyalty", "post_loyalty_purchase", "post", "/loyalty/" + id + "/purchase/" + user_id, body, options);
1927
1991
  };
1928
1992
  /**
1929
1993
  * POST /loyalty/{id}/buyreward/{user_id} - Redeem rewards to coupons
@@ -1934,7 +1998,7 @@ var ServiceClient = /** @class */ (function (_super) {
1934
1998
  * @param options - additional request options
1935
1999
  */
1936
2000
  ServiceClient.prototype.post_loyalty_buyreward = function (id, user_id, body, options) {
1937
- return this.request("post", "/loyalty/" + id + "/buyreward/" + user_id, body, options);
2001
+ return this.request("loyalty", "post_loyalty_buyreward", "post", "/loyalty/" + id + "/buyreward/" + user_id, body, options);
1938
2002
  };
1939
2003
  /**
1940
2004
  * GET /loyalty/{id}/history/{user_id} - Get history of loyalty transactions for user
@@ -1944,7 +2008,7 @@ var ServiceClient = /** @class */ (function (_super) {
1944
2008
  * @param options - additional request options
1945
2009
  */
1946
2010
  ServiceClient.prototype.get_loyalty_history = function (id, user_id, options) {
1947
- return this.request("get", "/loyalty/" + id + "/history/" + user_id, null, options);
2011
+ return this.request("loyalty", "get_loyalty_history", "get", "/loyalty/" + id + "/history/" + user_id, null, options);
1948
2012
  };
1949
2013
  /**
1950
2014
  * GET /loyalty/{id}/coupon/{user_id}/{coupon_id} - get coupon's information
@@ -1955,7 +2019,7 @@ var ServiceClient = /** @class */ (function (_super) {
1955
2019
  * @param options - additional request options
1956
2020
  */
1957
2021
  ServiceClient.prototype.get_loyalty_coupon = function (id, user_id, coupon_id, options) {
1958
- return this.request("get", "/loyalty/" + id + "/coupon/" + user_id + "/" + coupon_id, null, options);
2022
+ return this.request("loyalty", "get_loyalty_coupon", "get", "/loyalty/" + id + "/coupon/" + user_id + "/" + coupon_id, null, options);
1959
2023
  };
1960
2024
  /**
1961
2025
  * PATCH /loyalty/{id}/coupon/{user_id}/{coupon_id} - Update coupon's status
@@ -1967,7 +2031,7 @@ var ServiceClient = /** @class */ (function (_super) {
1967
2031
  * @param options - additional request options
1968
2032
  */
1969
2033
  ServiceClient.prototype.patch_loyalty_coupon = function (id, user_id, coupon_id, body, options) {
1970
- return this.request("patch", "/loyalty/" + id + "/coupon/" + user_id + "/" + coupon_id, body, options);
2034
+ return this.request("loyalty", "patch_loyalty_coupon", "patch", "/loyalty/" + id + "/coupon/" + user_id + "/" + coupon_id, body, options);
1971
2035
  };
1972
2036
  /**
1973
2037
  * GET /loyalty/{id}/search - Search CDL user id by internal 500friends id
@@ -1976,7 +2040,7 @@ var ServiceClient = /** @class */ (function (_super) {
1976
2040
  * @param options - additional request options
1977
2041
  */
1978
2042
  ServiceClient.prototype.get_loyalty_search = function (id, options) {
1979
- return this.request("get", "/loyalty/" + id + "/search", null, options);
2043
+ return this.request("loyalty", "get_loyalty_search", "get", "/loyalty/" + id + "/search", null, options);
1980
2044
  };
1981
2045
  /**
1982
2046
  * GET /loyalty/{id}/users - Get all loyalty users updated after specific date
@@ -1985,7 +2049,7 @@ var ServiceClient = /** @class */ (function (_super) {
1985
2049
  * @param options - additional request options
1986
2050
  */
1987
2051
  ServiceClient.prototype.get_loyalty_users = function (id, options) {
1988
- return this.request("get", "/loyalty/" + id + "/users", null, options);
2052
+ return this.request("loyalty", "get_loyalty_users", "get", "/loyalty/" + id + "/users", null, options);
1989
2053
  };
1990
2054
  /**
1991
2055
  * GET /loyalty/{id}/events - Get all loyalty events updated after specific date
@@ -1994,7 +2058,7 @@ var ServiceClient = /** @class */ (function (_super) {
1994
2058
  * @param options - additional request options
1995
2059
  */
1996
2060
  ServiceClient.prototype.get_loyalty_events = function (id, options) {
1997
- return this.request("get", "/loyalty/" + id + "/events", null, options);
2061
+ return this.request("loyalty", "get_loyalty_events", "get", "/loyalty/" + id + "/events", null, options);
1998
2062
  };
1999
2063
  /**
2000
2064
  * GET /brand/{id}
@@ -2003,7 +2067,7 @@ var ServiceClient = /** @class */ (function (_super) {
2003
2067
  * @param options - additional request options
2004
2068
  */
2005
2069
  ServiceClient.prototype.get_brand = function (id, options) {
2006
- return this.request("get", "/brand/" + id, null, options);
2070
+ return this.request("brand", "get_brand", "get", "/brand/" + id, null, options);
2007
2071
  };
2008
2072
  /**
2009
2073
  * GET /brand
@@ -2011,7 +2075,7 @@ var ServiceClient = /** @class */ (function (_super) {
2011
2075
  * @param options - additional request options
2012
2076
  */
2013
2077
  ServiceClient.prototype.get_brands = function (options) {
2014
- return this.request("get", "/brand", null, options);
2078
+ return this.request("brand", "get_brands", "get", "/brand", null, options);
2015
2079
  };
2016
2080
  /**
2017
2081
  * GET /calendar/{id}
@@ -2020,7 +2084,7 @@ var ServiceClient = /** @class */ (function (_super) {
2020
2084
  * @param options - additional request options
2021
2085
  */
2022
2086
  ServiceClient.prototype.get_calendar = function (id, options) {
2023
- return this.request("get", "/calendar/" + id, null, options);
2087
+ return this.request("calendar", "get_calendar", "get", "/calendar/" + id, null, options);
2024
2088
  };
2025
2089
  /**
2026
2090
  * PUT /calendar/{id} - Set the calendar for an id. Overrides previous record
@@ -2030,7 +2094,7 @@ var ServiceClient = /** @class */ (function (_super) {
2030
2094
  * @param options - additional request options
2031
2095
  */
2032
2096
  ServiceClient.prototype.put_calendar = function (id, body, options) {
2033
- return this.request("put", "/calendar/" + id, body, options);
2097
+ return this.request("calendar", "put_calendar", "put", "/calendar/" + id, body, options);
2034
2098
  };
2035
2099
  /**
2036
2100
  * GET /calendar/{id}/cdl - Get the calendar events in a CDL compatible format for next 7 days
@@ -2039,7 +2103,7 @@ var ServiceClient = /** @class */ (function (_super) {
2039
2103
  * @param options - additional request options
2040
2104
  */
2041
2105
  ServiceClient.prototype.get_calendar_cdl = function (id, options) {
2042
- return this.request("get", "/calendar/" + id + "/cdl", null, options);
2106
+ return this.request("calendar", "get_calendar_cdl", "get", "/calendar/" + id + "/cdl", null, options);
2043
2107
  };
2044
2108
  /**
2045
2109
  * GET /calendar/swagger.json
@@ -2047,7 +2111,7 @@ var ServiceClient = /** @class */ (function (_super) {
2047
2111
  * @param options - additional request options
2048
2112
  */
2049
2113
  ServiceClient.prototype.get_calendar_swagger = function (options) {
2050
- return this.request("get", "/calendar/swagger.json", null, options);
2114
+ return this.request("calendar", "get_calendar_swagger", "get", "/calendar/swagger.json", null, options);
2051
2115
  };
2052
2116
  /**
2053
2117
  * POST /calendar/{id}/sync - Trigger synchronization of calendar to location API
@@ -2056,7 +2120,7 @@ var ServiceClient = /** @class */ (function (_super) {
2056
2120
  * @param options - additional request options
2057
2121
  */
2058
2122
  ServiceClient.prototype.post_calendar_sync = function (id, options) {
2059
- return this.request("post", "/calendar/" + id + "/sync", null, options);
2123
+ return this.request("calendar", "post_calendar_sync", "post", "/calendar/" + id + "/sync", null, options);
2060
2124
  };
2061
2125
  /**
2062
2126
  * POST /delivery/order - make reservation
@@ -2065,7 +2129,7 @@ var ServiceClient = /** @class */ (function (_super) {
2065
2129
  * @param options - additional request options
2066
2130
  */
2067
2131
  ServiceClient.prototype.post_delivery_order = function (body, options) {
2068
- return this.request("post", "/delivery/order", body, options);
2132
+ return this.request("delivery", "post_delivery_order", "post", "/delivery/order", body, options);
2069
2133
  };
2070
2134
  /**
2071
2135
  * PATCH /delivery/order/{order_id} - confirm order
@@ -2074,7 +2138,7 @@ var ServiceClient = /** @class */ (function (_super) {
2074
2138
  * @param options - additional request options
2075
2139
  */
2076
2140
  ServiceClient.prototype.patch_delivery_order = function (order_id, options) {
2077
- return this.request("patch", "/delivery/order/" + order_id, null, options);
2141
+ return this.request("delivery", "patch_delivery_order", "patch", "/delivery/order/" + order_id, null, options);
2078
2142
  };
2079
2143
  /**
2080
2144
  * GET /delivery/order/{order_id} - get order
@@ -2083,7 +2147,7 @@ var ServiceClient = /** @class */ (function (_super) {
2083
2147
  * @param options - additional request options
2084
2148
  */
2085
2149
  ServiceClient.prototype.get_delivery_order = function (order_id, options) {
2086
- return this.request("get", "/delivery/order/" + order_id, null, options);
2150
+ return this.request("delivery", "get_delivery_order", "get", "/delivery/order/" + order_id, null, options);
2087
2151
  };
2088
2152
  /**
2089
2153
  * POST /schedule - Create a new schedule
@@ -2092,7 +2156,7 @@ var ServiceClient = /** @class */ (function (_super) {
2092
2156
  * @param options - additional request options
2093
2157
  */
2094
2158
  ServiceClient.prototype.post_schedule = function (body, options) {
2095
- return this.request("post", "/schedule", body, options);
2159
+ return this.request("schedule", "post_schedule", "post", "/schedule", body, options);
2096
2160
  };
2097
2161
  /**
2098
2162
  * GET /schedule - Get schedule
@@ -2100,7 +2164,7 @@ var ServiceClient = /** @class */ (function (_super) {
2100
2164
  * @param options - additional request options
2101
2165
  */
2102
2166
  ServiceClient.prototype.get_schedules = function (options) {
2103
- return this.request("get", "/schedule", null, options);
2167
+ return this.request("schedule", "get_schedules", "get", "/schedule", null, options);
2104
2168
  };
2105
2169
  /**
2106
2170
  * GET /schedule/{id} - Get an individual schedule
@@ -2109,7 +2173,7 @@ var ServiceClient = /** @class */ (function (_super) {
2109
2173
  * @param options - additional request options
2110
2174
  */
2111
2175
  ServiceClient.prototype.get_schedule = function (id, options) {
2112
- return this.request("get", "/schedule/" + id, null, options);
2176
+ return this.request("schedule", "get_schedule", "get", "/schedule/" + id, null, options);
2113
2177
  };
2114
2178
  /**
2115
2179
  * PUT /schedule/{id} - Update a schedule
@@ -2119,7 +2183,7 @@ var ServiceClient = /** @class */ (function (_super) {
2119
2183
  * @param options - additional request options
2120
2184
  */
2121
2185
  ServiceClient.prototype.put_schedule = function (id, body, options) {
2122
- return this.request("put", "/schedule/" + id, body, options);
2186
+ return this.request("schedule", "put_schedule", "put", "/schedule/" + id, body, options);
2123
2187
  };
2124
2188
  /**
2125
2189
  * DELETE /schedule/{id} - Delete schedule
@@ -2128,7 +2192,7 @@ var ServiceClient = /** @class */ (function (_super) {
2128
2192
  * @param options - additional request options
2129
2193
  */
2130
2194
  ServiceClient.prototype.delete_schedule = function (id, options) {
2131
- return this.request("delete", "/schedule/" + id, null, options);
2195
+ return this.request("schedule", "delete_schedule", "delete", "/schedule/" + id, null, options);
2132
2196
  };
2133
2197
  /**
2134
2198
  * POST /vote - Submit a vote for an item
@@ -2137,7 +2201,7 @@ var ServiceClient = /** @class */ (function (_super) {
2137
2201
  * @param options - additional request options
2138
2202
  */
2139
2203
  ServiceClient.prototype.post_vote = function (body, options) {
2140
- return this.request("post", "/vote", body, options);
2204
+ return this.request("vote", "post_vote", "post", "/vote", body, options);
2141
2205
  };
2142
2206
  /**
2143
2207
  * GET /vote/idfa/{idfa} - Get votes for an idfa
@@ -2146,7 +2210,7 @@ var ServiceClient = /** @class */ (function (_super) {
2146
2210
  * @param options - additional request options
2147
2211
  */
2148
2212
  ServiceClient.prototype.get_vote_idfa = function (idfa, options) {
2149
- return this.request("get", "/vote/idfa/" + idfa, null, options);
2213
+ return this.request("vote", "get_vote_idfa", "get", "/vote/idfa/" + idfa, null, options);
2150
2214
  };
2151
2215
  /**
2152
2216
  * POST /file - Upload a file to CDL S3
@@ -2155,7 +2219,7 @@ var ServiceClient = /** @class */ (function (_super) {
2155
2219
  * @param options - additional request options
2156
2220
  */
2157
2221
  ServiceClient.prototype.post_file = function (body, options) {
2158
- return this.request("post", "/file", body, options);
2222
+ return this.request("file", "post_file", "post", "/file", body, options);
2159
2223
  };
2160
2224
  /**
2161
2225
  * POST /message - Create a Message
@@ -2164,7 +2228,7 @@ var ServiceClient = /** @class */ (function (_super) {
2164
2228
  * @param options - additional request options
2165
2229
  */
2166
2230
  ServiceClient.prototype.post_message = function (body, options) {
2167
- return this.request("post", "/message", body, options);
2231
+ return this.request("message", "post_message", "post", "/message", body, options);
2168
2232
  };
2169
2233
  /**
2170
2234
  * GET /message/{id} - Get a Message
@@ -2173,7 +2237,7 @@ var ServiceClient = /** @class */ (function (_super) {
2173
2237
  * @param options - additional request options
2174
2238
  */
2175
2239
  ServiceClient.prototype.get_message = function (id, options) {
2176
- return this.request("get", "/message/" + id, null, options);
2240
+ return this.request("message", "get_message", "get", "/message/" + id, null, options);
2177
2241
  };
2178
2242
  /**
2179
2243
  * GET /logger/{id}/brand/status - Get status changes of all brands
@@ -2182,7 +2246,242 @@ var ServiceClient = /** @class */ (function (_super) {
2182
2246
  * @param options - additional request options
2183
2247
  */
2184
2248
  ServiceClient.prototype.get_logger_brand_status = function (id, options) {
2185
- return this.request("get", "/logger/" + id + "/brand/status", null, options);
2249
+ return this.request("logger", "get_logger_brand_status", "get", "/logger/" + id + "/brand/status", null, options);
2250
+ };
2251
+ /**
2252
+ * GET /menu/client/{client_id} - Get menu client
2253
+ *
2254
+ * @param client_id
2255
+ * @param options - additional request options
2256
+ */
2257
+ ServiceClient.prototype.get_menu_client = function (client_id, options) {
2258
+ return this.request("menu", "get_menu_client", "get", "/menu/client/" + client_id, null, options);
2259
+ };
2260
+ /**
2261
+ * GET /menu - Get Menus or search for Menus
2262
+ *
2263
+ * @param options - additional request options
2264
+ */
2265
+ ServiceClient.prototype.get_menus = function (options) {
2266
+ return this.request("menu", "get_menus", "get", "/menu", null, options);
2267
+ };
2268
+ /**
2269
+ * POST /menu - Create a new Menu
2270
+ *
2271
+ * @param body
2272
+ * @param options - additional request options
2273
+ */
2274
+ ServiceClient.prototype.post_menu = function (body, options) {
2275
+ return this.request("menu", "post_menu", "post", "/menu", body, options);
2276
+ };
2277
+ /**
2278
+ * HEAD /menu/{id} - Get an individual Menu
2279
+ *
2280
+ * @param id - menu
2281
+ * @param options - additional request options
2282
+ */
2283
+ ServiceClient.prototype.head_menu = function (id, options) {
2284
+ return this.request("menu", "head_menu", "head", "/menu/" + id, null, options);
2285
+ };
2286
+ /**
2287
+ * GET /menu/{id} - Get an individual Menu
2288
+ *
2289
+ * @param id - menu
2290
+ * @param options - additional request options
2291
+ */
2292
+ ServiceClient.prototype.get_menu = function (id, options) {
2293
+ return this.request("menu", "get_menu", "get", "/menu/" + id, null, options);
2294
+ };
2295
+ /**
2296
+ * PUT /menu/{id} - Override a complete Menu
2297
+ *
2298
+ * @param id - menu
2299
+ * @param body
2300
+ * @param options - additional request options
2301
+ */
2302
+ ServiceClient.prototype.put_menu = function (id, body, options) {
2303
+ return this.request("menu", "put_menu", "put", "/menu/" + id, body, options);
2304
+ };
2305
+ /**
2306
+ * DELETE /menu/{id} - Delete a Menu
2307
+ *
2308
+ * @param id - menu
2309
+ * @param options - additional request options
2310
+ */
2311
+ ServiceClient.prototype.delete_menu = function (id, options) {
2312
+ return this.request("menu", "delete_menu", "delete", "/menu/" + id, null, options);
2313
+ };
2314
+ /**
2315
+ * PATCH /menu/{id} - Update a menu
2316
+ *
2317
+ * @param id - menu
2318
+ * @param body
2319
+ * @param options - additional request options
2320
+ */
2321
+ ServiceClient.prototype.patch_menu = function (id, body, options) {
2322
+ return this.request("menu", "patch_menu", "patch", "/menu/" + id, body, options);
2323
+ };
2324
+ /**
2325
+ * POST /menu/import - Import an existing Menu
2326
+ *
2327
+ * @param body
2328
+ * @param options - additional request options
2329
+ */
2330
+ ServiceClient.prototype.post_menu_import_menu = function (body, options) {
2331
+ return this.request("menu", "post_menu_import_menu", "post", "/menu/import", body, options);
2332
+ };
2333
+ /**
2334
+ * GET /menu/item/{id} - Get menu item
2335
+ *
2336
+ * @param id - Item ID
2337
+ * @param options - additional request options
2338
+ */
2339
+ ServiceClient.prototype.get_menu_item = function (id, options) {
2340
+ return this.request("menu", "get_menu_item", "get", "/menu/item/" + id, null, options);
2341
+ };
2342
+ /**
2343
+ * DELETE /menu/item/{id} - Delete a menu item
2344
+ *
2345
+ * @param id - Item ID
2346
+ * @param options - additional request options
2347
+ */
2348
+ ServiceClient.prototype.delete_menu_item = function (id, options) {
2349
+ return this.request("menu", "delete_menu_item", "delete", "/menu/item/" + id, null, options);
2350
+ };
2351
+ /**
2352
+ * POST /menu/item - Create a menu item
2353
+ *
2354
+ * @param body
2355
+ * @param options - additional request options
2356
+ */
2357
+ ServiceClient.prototype.post_menu_item = function (body, options) {
2358
+ return this.request("menu", "post_menu_item", "post", "/menu/item", body, options);
2359
+ };
2360
+ /**
2361
+ * GET /menu/items - Search for menu items
2362
+ *
2363
+ * @param options - additional request options
2364
+ */
2365
+ ServiceClient.prototype.get_menu_items = function (options) {
2366
+ return this.request("menu", "get_menu_items", "get", "/menu/items", null, options);
2367
+ };
2368
+ /**
2369
+ * POST /menu/items/import/{location} - trigger import items
2370
+ *
2371
+ * @param location - Location ID
2372
+ * @param options - additional request options
2373
+ */
2374
+ ServiceClient.prototype.post_menu_import_items_canteen = function (location, options) {
2375
+ return this.request("menu", "post_menu_import_items_canteen", "post", "/menu/items/import/" + location, null, options);
2376
+ };
2377
+ /**
2378
+ * GET /menu/items/location/{location} - Get all menu items for a location
2379
+ *
2380
+ * @param location - Location ID
2381
+ * @param options - additional request options
2382
+ */
2383
+ ServiceClient.prototype.get_menu_location_items = function (location, options) {
2384
+ return this.request("menu", "get_menu_location_items", "get", "/menu/items/location/" + location, null, options);
2385
+ };
2386
+ /**
2387
+ * GET /menu/item/random/location/{location} - Get a random item
2388
+ *
2389
+ * @param location - Location ID
2390
+ * @param options - additional request options
2391
+ */
2392
+ ServiceClient.prototype.get_menu_location_item_random = function (location, options) {
2393
+ return this.request("menu", "get_menu_location_item_random", "get", "/menu/item/random/location/" + location, null, options);
2394
+ };
2395
+ /**
2396
+ * GET /menu/items/random/location/{location} - Get a set of random items
2397
+ *
2398
+ * @param location - Location ID
2399
+ * @param options - additional request options
2400
+ */
2401
+ ServiceClient.prototype.get_menu_location_items_random = function (location, options) {
2402
+ return this.request("menu", "get_menu_location_items_random", "get", "/menu/items/random/location/" + location, null, options);
2403
+ };
2404
+ /**
2405
+ * GET /menu/sector/{sector} - Get menus that belong to sector
2406
+ *
2407
+ * @param sector - Sector ID
2408
+ * @param options - additional request options
2409
+ */
2410
+ ServiceClient.prototype.get_menu_sector_menus = function (sector, options) {
2411
+ return this.request("menu", "get_menu_sector_menus", "get", "/menu/sector/" + sector, null, options);
2412
+ };
2413
+ /**
2414
+ * GET /menu/company/{company} - Get menus that belong to company
2415
+ *
2416
+ * @param company - Company ID
2417
+ * @param options - additional request options
2418
+ */
2419
+ ServiceClient.prototype.get_menu_company_menus = function (company, options) {
2420
+ return this.request("menu", "get_menu_company_menus", "get", "/menu/company/" + company, null, options);
2421
+ };
2422
+ /**
2423
+ * POST /menu/modifier/group - Create a new Menu Modifier Group
2424
+ *
2425
+ * @param body
2426
+ * @param options - additional request options
2427
+ */
2428
+ ServiceClient.prototype.post_menu_modifier_group = function (body, options) {
2429
+ return this.request("menu", "post_menu_modifier_group", "post", "/menu/modifier/group", body, options);
2430
+ };
2431
+ /**
2432
+ * GET /menu/modifier/group/{id} - Get a Menu Modifier Group
2433
+ *
2434
+ * @param id - modifier_group
2435
+ * @param options - additional request options
2436
+ */
2437
+ ServiceClient.prototype.get_menu_modifier_group = function (id, options) {
2438
+ return this.request("menu", "get_menu_modifier_group", "get", "/menu/modifier/group/" + id, null, options);
2439
+ };
2440
+ /**
2441
+ * PUT /menu/modifier/group/{id} - Update a Menu Modifier Group
2442
+ *
2443
+ * @param id - modifier_group
2444
+ * @param body
2445
+ * @param options - additional request options
2446
+ */
2447
+ ServiceClient.prototype.put_menu_modifier_group = function (id, body, options) {
2448
+ return this.request("menu", "put_menu_modifier_group", "put", "/menu/modifier/group/" + id, body, options);
2449
+ };
2450
+ /**
2451
+ * DELETE /menu/modifier/group/{id} - Delete a Menu Modifier Group
2452
+ *
2453
+ * @param id - modifier_group
2454
+ * @param options - additional request options
2455
+ */
2456
+ ServiceClient.prototype.delete_menu_modifier_group = function (id, options) {
2457
+ return this.request("menu", "delete_menu_modifier_group", "delete", "/menu/modifier/group/" + id, null, options);
2458
+ };
2459
+ /**
2460
+ * GET /menu/modifier/group/company/{company} - Get the modifier groups that belong to company
2461
+ *
2462
+ * @param company - Company ID
2463
+ * @param options - additional request options
2464
+ */
2465
+ ServiceClient.prototype.get_menu_company_modifier_groups = function (company, options) {
2466
+ return this.request("menu", "get_menu_company_modifier_groups", "get", "/menu/modifier/group/company/" + company, null, options);
2467
+ };
2468
+ /**
2469
+ * GET /menu/modifier/group/company/{company}/export - Export company modifier groups to zipped excel file.
2470
+ *
2471
+ * @param company - Company ID
2472
+ * @param options - additional request options
2473
+ */
2474
+ ServiceClient.prototype.get_menu_company_modifier_groups_export = function (company, options) {
2475
+ return this.request("menu", "get_menu_company_modifier_groups_export", "get", "/menu/modifier/group/company/" + company + "/export", null, options);
2476
+ };
2477
+ /**
2478
+ * GET /menu/{id}/export - Export menu set to zipped excel file.
2479
+ *
2480
+ * @param id - menu; TODO: cannot use compassdigital.id as path parameter
2481
+ * @param options - additional request options
2482
+ */
2483
+ ServiceClient.prototype.get_menu_export = function (id, options) {
2484
+ return this.request("menu", "get_menu_export", "get", "/menu/" + id + "/export", null, options);
2186
2485
  };
2187
2486
  return ServiceClient;
2188
2487
  }(base_1.BaseServiceClient));