@compassdigital/sdk.typescript 4.67.0 → 4.68.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.d.ts +58 -57
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +503 -501
- package/lib/index.js.map +1 -1
- package/lib/interface/ai.d.ts +1 -1
- package/lib/interface/ai.d.ts.map +1 -1
- package/lib/interface/announcement.d.ts +1 -1
- package/lib/interface/announcement.d.ts.map +1 -1
- package/lib/interface/auth.d.ts +3 -3
- package/lib/interface/auth.d.ts.map +1 -1
- package/lib/interface/calendar.d.ts +2 -2
- package/lib/interface/calendar.d.ts.map +1 -1
- package/lib/interface/centricos.d.ts +11 -11
- package/lib/interface/centricos.d.ts.map +1 -1
- package/lib/interface/compassconnect.d.ts +1 -1
- package/lib/interface/compassconnect.d.ts.map +1 -1
- package/lib/interface/config.d.ts +1 -1
- package/lib/interface/config.d.ts.map +1 -1
- package/lib/interface/datalake.d.ts +1 -1
- package/lib/interface/datalake.d.ts.map +1 -1
- package/lib/interface/email.d.ts +1 -1
- package/lib/interface/email.d.ts.map +1 -1
- package/lib/interface/file.d.ts +2 -2
- package/lib/interface/file.d.ts.map +1 -1
- package/lib/interface/frictionless.d.ts +9 -9
- package/lib/interface/frictionless.d.ts.map +1 -1
- package/lib/interface/kds.d.ts +1 -1
- package/lib/interface/kds.d.ts.map +1 -1
- package/lib/interface/location.d.ts +5 -3
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/mealplan.d.ts +2 -1
- package/lib/interface/mealplan.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +149 -109
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/notification.d.ts +3 -3
- package/lib/interface/notification.d.ts.map +1 -1
- package/lib/interface/order.d.ts +7 -7
- package/lib/interface/order.d.ts.map +1 -1
- package/lib/interface/partner.d.ts +10 -10
- package/lib/interface/partner.d.ts.map +1 -1
- package/lib/interface/payment.d.ts +3 -3
- package/lib/interface/payment.d.ts.map +1 -1
- package/lib/interface/promo.d.ts +8 -8
- package/lib/interface/promo.d.ts.map +1 -1
- package/lib/interface/report.d.ts +10 -10
- package/lib/interface/report.d.ts.map +1 -1
- package/lib/interface/search.d.ts +8 -8
- package/lib/interface/search.d.ts.map +1 -1
- package/lib/interface/shoppingcart.d.ts +7 -7
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/lib/interface/task.d.ts +8 -8
- package/lib/interface/task.d.ts.map +1 -1
- package/lib/interface/tax.d.ts +2 -2
- package/lib/interface/tax.d.ts.map +1 -1
- package/lib/interface/user.d.ts +16 -16
- package/lib/interface/user.d.ts.map +1 -1
- package/lib/interface/vendor.d.ts +6 -6
- package/lib/interface/vendor.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +10395 -10394
- package/src/interface/ai.ts +22 -22
- package/src/interface/announcement.ts +60 -60
- package/src/interface/auth.ts +68 -68
- package/src/interface/calendar.ts +94 -94
- package/src/interface/centricos.ts +145 -145
- package/src/interface/compassconnect.ts +59 -59
- package/src/interface/config.ts +166 -166
- package/src/interface/datalake.ts +13 -13
- package/src/interface/email.ts +13 -13
- package/src/interface/file.ts +18 -18
- package/src/interface/frictionless.ts +177 -177
- package/src/interface/kds.ts +49 -49
- package/src/interface/location.ts +771 -769
- package/src/interface/mealplan.ts +155 -154
- package/src/interface/menu.ts +4079 -4018
- package/src/interface/notification.ts +51 -51
- package/src/interface/order.ts +464 -464
- package/src/interface/partner.ts +823 -823
- package/src/interface/payment.ts +278 -278
- package/src/interface/promo.ts +373 -373
- package/src/interface/report.ts +348 -348
- package/src/interface/search.ts +135 -135
- package/src/interface/shoppingcart.ts +429 -429
- package/src/interface/task.ts +212 -212
- package/src/interface/tax.ts +69 -69
- package/src/interface/user.ts +410 -410
- package/src/interface/vendor.ts +215 -215
package/lib/index.js
CHANGED
|
@@ -27,7 +27,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
27
27
|
* @param options - additional request options
|
|
28
28
|
*/
|
|
29
29
|
post_payment_transaction(id, body, options) {
|
|
30
|
-
return this.request(
|
|
30
|
+
return this.request('payment', 'post_payment_transaction', 'post', `/payment/${id}/transaction`, body, options);
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
33
|
* POST /payment/{id}/transaction/{transaction_id}/refund
|
|
@@ -38,7 +38,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
38
38
|
* @param options - additional request options
|
|
39
39
|
*/
|
|
40
40
|
post_payment_transaction_refund(id, transaction_id, body, options) {
|
|
41
|
-
return this.request(
|
|
41
|
+
return this.request('payment', 'post_payment_transaction_refund', 'post', `/payment/${id}/transaction/${transaction_id}/refund`, body, options);
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
44
|
* GET /payment/{id}/clienttoken
|
|
@@ -47,7 +47,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
47
47
|
* @param options - additional request options
|
|
48
48
|
*/
|
|
49
49
|
get_payment_clienttoken(id, options) {
|
|
50
|
-
return this.request(
|
|
50
|
+
return this.request('payment', 'get_payment_clienttoken', 'get', `/payment/${id}/clienttoken`, null, options);
|
|
51
51
|
}
|
|
52
52
|
/**
|
|
53
53
|
* POST /payment/{id}/paymenttoken
|
|
@@ -57,7 +57,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
57
57
|
* @param options - additional request options
|
|
58
58
|
*/
|
|
59
59
|
post_payment_paymenttoken(id, body, options) {
|
|
60
|
-
return this.request(
|
|
60
|
+
return this.request('payment', 'post_payment_paymenttoken', 'post', `/payment/${id}/paymenttoken`, body, options);
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
63
|
* POST /payment/consumer
|
|
@@ -66,7 +66,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
66
66
|
* @param options - additional request options
|
|
67
67
|
*/
|
|
68
68
|
post_payment_consumer(body, options) {
|
|
69
|
-
return this.request(
|
|
69
|
+
return this.request('payment', 'post_payment_consumer', 'post', `/payment/consumer`, body, options);
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
72
|
* POST /payment/method
|
|
@@ -75,7 +75,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
75
75
|
* @param options - additional request options
|
|
76
76
|
*/
|
|
77
77
|
post_payment_method(body, options) {
|
|
78
|
-
return this.request(
|
|
78
|
+
return this.request('payment', 'post_payment_method', 'post', `/payment/method`, body, options);
|
|
79
79
|
}
|
|
80
80
|
/**
|
|
81
81
|
* GET /payment/token
|
|
@@ -83,7 +83,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
83
83
|
* @param options - additional request options
|
|
84
84
|
*/
|
|
85
85
|
get_payment_token(options) {
|
|
86
|
-
return this.request(
|
|
86
|
+
return this.request('payment', 'get_payment_token', 'get', `/payment/token`, null, options);
|
|
87
87
|
}
|
|
88
88
|
/**
|
|
89
89
|
* POST /payment/token
|
|
@@ -92,7 +92,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
92
92
|
* @param options - additional request options
|
|
93
93
|
*/
|
|
94
94
|
post_payment_token(body, options) {
|
|
95
|
-
return this.request(
|
|
95
|
+
return this.request('payment', 'post_payment_token', 'post', `/payment/token`, body, options);
|
|
96
96
|
}
|
|
97
97
|
/**
|
|
98
98
|
* PUT /payment/token
|
|
@@ -101,7 +101,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
101
101
|
* @param options - additional request options
|
|
102
102
|
*/
|
|
103
103
|
put_payment_token(body, options) {
|
|
104
|
-
return this.request(
|
|
104
|
+
return this.request('payment', 'put_payment_token', 'put', `/payment/token`, body, options);
|
|
105
105
|
}
|
|
106
106
|
/**
|
|
107
107
|
* DELETE /payment/token
|
|
@@ -110,7 +110,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
110
110
|
* @param options - additional request options
|
|
111
111
|
*/
|
|
112
112
|
delete_payment_token(body, options) {
|
|
113
|
-
return this.request(
|
|
113
|
+
return this.request('payment', 'delete_payment_token', 'delete', `/payment/token`, body, options);
|
|
114
114
|
}
|
|
115
115
|
/**
|
|
116
116
|
* GET /payment/methods
|
|
@@ -118,7 +118,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
118
118
|
* @param options - additional request options
|
|
119
119
|
*/
|
|
120
120
|
get_payment_methods(options) {
|
|
121
|
-
return this.request(
|
|
121
|
+
return this.request('payment', 'get_payment_methods', 'get', `/payment/methods`, null, options);
|
|
122
122
|
}
|
|
123
123
|
/**
|
|
124
124
|
* GET /payment/hpc
|
|
@@ -126,7 +126,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
126
126
|
* @param options - additional request options
|
|
127
127
|
*/
|
|
128
128
|
get_payment_hpc(options) {
|
|
129
|
-
return this.request(
|
|
129
|
+
return this.request('payment', 'get_payment_hpc', 'get', `/payment/hpc`, null, options);
|
|
130
130
|
}
|
|
131
131
|
/**
|
|
132
132
|
* GET /payment/{id}/cashless
|
|
@@ -135,7 +135,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
135
135
|
* @param options - additional request options
|
|
136
136
|
*/
|
|
137
137
|
get_payment_cashless(id, options) {
|
|
138
|
-
return this.request(
|
|
138
|
+
return this.request('payment', 'get_payment_cashless', 'get', `/payment/${id}/cashless`, null, options);
|
|
139
139
|
}
|
|
140
140
|
/**
|
|
141
141
|
* POST /payment/{id}/cashless
|
|
@@ -145,7 +145,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
145
145
|
* @param options - additional request options
|
|
146
146
|
*/
|
|
147
147
|
post_payment_cashless(id, body, options) {
|
|
148
|
-
return this.request(
|
|
148
|
+
return this.request('payment', 'post_payment_cashless', 'post', `/payment/${id}/cashless`, body, options);
|
|
149
149
|
}
|
|
150
150
|
/**
|
|
151
151
|
* DELETE /payment/{id}/cashless
|
|
@@ -155,7 +155,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
155
155
|
* @param options - additional request options
|
|
156
156
|
*/
|
|
157
157
|
delete_payment_cashless(id, body, options) {
|
|
158
|
-
return this.request(
|
|
158
|
+
return this.request('payment', 'delete_payment_cashless', 'delete', `/payment/${id}/cashless`, body, options);
|
|
159
159
|
}
|
|
160
160
|
/**
|
|
161
161
|
* POST /payment/configvalidate
|
|
@@ -164,7 +164,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
164
164
|
* @param options - additional request options
|
|
165
165
|
*/
|
|
166
166
|
post_payment_configvalidate(body, options) {
|
|
167
|
-
return this.request(
|
|
167
|
+
return this.request('payment', 'post_payment_configvalidate', 'post', `/payment/configvalidate`, body, options);
|
|
168
168
|
}
|
|
169
169
|
/**
|
|
170
170
|
* POST /payment/validatemerchant
|
|
@@ -173,7 +173,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
173
173
|
* @param options - additional request options
|
|
174
174
|
*/
|
|
175
175
|
post_payment_validatemerchant(body, options) {
|
|
176
|
-
return this.request(
|
|
176
|
+
return this.request('payment', 'post_payment_validatemerchant', 'post', `/payment/validatemerchant`, body, options);
|
|
177
177
|
}
|
|
178
178
|
/**
|
|
179
179
|
* POST /order - Create an Order
|
|
@@ -182,7 +182,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
182
182
|
* @param options - additional request options
|
|
183
183
|
*/
|
|
184
184
|
post_order(body, options) {
|
|
185
|
-
return this.request(
|
|
185
|
+
return this.request('order', 'post_order', 'post', `/order`, body, options);
|
|
186
186
|
}
|
|
187
187
|
/**
|
|
188
188
|
* GET /order/{id} - Get an individual order
|
|
@@ -191,7 +191,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
191
191
|
* @param options - additional request options
|
|
192
192
|
*/
|
|
193
193
|
get_order(id, options) {
|
|
194
|
-
return this.request(
|
|
194
|
+
return this.request('order', 'get_order', 'get', `/order/${id}`, null, options);
|
|
195
195
|
}
|
|
196
196
|
/**
|
|
197
197
|
* PUT /order/{id} - Update an individual order
|
|
@@ -200,7 +200,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
200
200
|
* @param options - additional request options
|
|
201
201
|
*/
|
|
202
202
|
put_order(id, options) {
|
|
203
|
-
return this.request(
|
|
203
|
+
return this.request('order', 'put_order', 'put', `/order/${id}`, null, options);
|
|
204
204
|
}
|
|
205
205
|
/**
|
|
206
206
|
* PATCH /order/{id} - Update an existing order
|
|
@@ -210,7 +210,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
210
210
|
* @param options - additional request options
|
|
211
211
|
*/
|
|
212
212
|
patch_order(id, body, options) {
|
|
213
|
-
return this.request(
|
|
213
|
+
return this.request('order', 'patch_order', 'patch', `/order/${id}`, body, options);
|
|
214
214
|
}
|
|
215
215
|
/**
|
|
216
216
|
* POST /order/{id}/issue - Create an issue with an order
|
|
@@ -220,7 +220,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
220
220
|
* @param options - additional request options
|
|
221
221
|
*/
|
|
222
222
|
post_order_issue(id, body, options) {
|
|
223
|
-
return this.request(
|
|
223
|
+
return this.request('order', 'post_order_issue', 'post', `/order/${id}/issue`, body, options);
|
|
224
224
|
}
|
|
225
225
|
/**
|
|
226
226
|
* PATCH /order/{id}/refund - Issue a refund on an existing order
|
|
@@ -230,7 +230,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
230
230
|
* @param options - additional request options
|
|
231
231
|
*/
|
|
232
232
|
patch_order_refund(id, body, options) {
|
|
233
|
-
return this.request(
|
|
233
|
+
return this.request('order', 'patch_order_refund', 'patch', `/order/${id}/refund`, body, options);
|
|
234
234
|
}
|
|
235
235
|
/**
|
|
236
236
|
* GET /order/customer/{id} - Get all orders for a Customer
|
|
@@ -239,7 +239,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
239
239
|
* @param options - additional request options
|
|
240
240
|
*/
|
|
241
241
|
get_order_customer_orders(id, options) {
|
|
242
|
-
return this.request(
|
|
242
|
+
return this.request('order', 'get_order_customer_orders', 'get', `/order/customer/${id}`, null, options);
|
|
243
243
|
}
|
|
244
244
|
/**
|
|
245
245
|
* GET /order/customer/{id}/location/brand/{location_brand} - Get all orders for a Customer for a specific Location Brand
|
|
@@ -249,7 +249,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
249
249
|
* @param options - additional request options
|
|
250
250
|
*/
|
|
251
251
|
get_order_customer_orders_brand(id, location_brand, options) {
|
|
252
|
-
return this.request(
|
|
252
|
+
return this.request('order', 'get_order_customer_orders_brand', 'get', `/order/customer/${id}/location/brand/${location_brand}`, null, options);
|
|
253
253
|
}
|
|
254
254
|
/**
|
|
255
255
|
* GET /order/location/brand/{id} - Get all orders for a location Brand
|
|
@@ -258,7 +258,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
258
258
|
* @param options - additional request options
|
|
259
259
|
*/
|
|
260
260
|
get_order_location_brand(id, options) {
|
|
261
|
-
return this.request(
|
|
261
|
+
return this.request('order', 'get_order_location_brand', 'get', `/order/location/brand/${id}`, null, options);
|
|
262
262
|
}
|
|
263
263
|
/**
|
|
264
264
|
* GET /order/location/{id} - Get all orders for a location
|
|
@@ -267,7 +267,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
267
267
|
* @param options - additional request options
|
|
268
268
|
*/
|
|
269
269
|
get_order_location_orders(id, options) {
|
|
270
|
-
return this.request(
|
|
270
|
+
return this.request('order', 'get_order_location_orders', 'get', `/order/location/${id}`, null, options);
|
|
271
271
|
}
|
|
272
272
|
/**
|
|
273
273
|
* GET /order/location/group/{id} - Get all orders for a location group
|
|
@@ -276,7 +276,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
276
276
|
* @param options - additional request options
|
|
277
277
|
*/
|
|
278
278
|
get_order_group_orders(id, options) {
|
|
279
|
-
return this.request(
|
|
279
|
+
return this.request('order', 'get_order_group_orders', 'get', `/order/location/group/${id}`, null, options);
|
|
280
280
|
}
|
|
281
281
|
/**
|
|
282
282
|
* GET /order/user/{id} - Get all delivery orders for a User related to the order in the details (Runner)
|
|
@@ -285,7 +285,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
285
285
|
* @param options - additional request options
|
|
286
286
|
*/
|
|
287
287
|
get_order_user_orders(id, options) {
|
|
288
|
-
return this.request(
|
|
288
|
+
return this.request('order', 'get_order_user_orders', 'get', `/order/user/${id}`, null, options);
|
|
289
289
|
}
|
|
290
290
|
/**
|
|
291
291
|
* PATCH /order/{id}/checkin - Accept an order by checking in
|
|
@@ -294,7 +294,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
294
294
|
* @param options - additional request options
|
|
295
295
|
*/
|
|
296
296
|
patch_order_checkin(id, options) {
|
|
297
|
-
return this.request(
|
|
297
|
+
return this.request('order', 'patch_order_checkin', 'patch', `/order/${id}/checkin`, null, options);
|
|
298
298
|
}
|
|
299
299
|
/**
|
|
300
300
|
* POST /order/apex/sns - Update apex integrated order
|
|
@@ -303,7 +303,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
303
303
|
* @param options - additional request options
|
|
304
304
|
*/
|
|
305
305
|
post_order_apex_sns(body, options) {
|
|
306
|
-
return this.request(
|
|
306
|
+
return this.request('order', 'post_order_apex_sns', 'post', `/order/apex/sns`, body, options);
|
|
307
307
|
}
|
|
308
308
|
/**
|
|
309
309
|
* POST /location - Create a new location
|
|
@@ -312,7 +312,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
312
312
|
* @param options - additional request options
|
|
313
313
|
*/
|
|
314
314
|
post_location(body, options) {
|
|
315
|
-
return this.request(
|
|
315
|
+
return this.request('location', 'post_location', 'post', `/location`, body, options);
|
|
316
316
|
}
|
|
317
317
|
/**
|
|
318
318
|
* GET /location - Get all location
|
|
@@ -320,7 +320,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
320
320
|
* @param options - additional request options
|
|
321
321
|
*/
|
|
322
322
|
get_locations(options) {
|
|
323
|
-
return this.request(
|
|
323
|
+
return this.request('location', 'get_locations', 'get', `/location`, null, options);
|
|
324
324
|
}
|
|
325
325
|
/**
|
|
326
326
|
* GET /location/search - Gets Location within a radius of the provided point
|
|
@@ -328,7 +328,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
328
328
|
* @param options - additional request options
|
|
329
329
|
*/
|
|
330
330
|
get_location_search(options) {
|
|
331
|
-
return this.request(
|
|
331
|
+
return this.request('location', 'get_location_search', 'get', `/location/search`, null, options);
|
|
332
332
|
}
|
|
333
333
|
/**
|
|
334
334
|
* GET /location/{id} - Get an individual Location
|
|
@@ -337,7 +337,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
337
337
|
* @param options - additional request options
|
|
338
338
|
*/
|
|
339
339
|
get_location(id, options) {
|
|
340
|
-
return this.request(
|
|
340
|
+
return this.request('location', 'get_location', 'get', `/location/${id}`, null, options);
|
|
341
341
|
}
|
|
342
342
|
/**
|
|
343
343
|
* PUT /location/{id} - Override a complete Location
|
|
@@ -347,7 +347,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
347
347
|
* @param options - additional request options
|
|
348
348
|
*/
|
|
349
349
|
put_location(id, body, options) {
|
|
350
|
-
return this.request(
|
|
350
|
+
return this.request('location', 'put_location', 'put', `/location/${id}`, body, options);
|
|
351
351
|
}
|
|
352
352
|
/**
|
|
353
353
|
* DELETE /location/{id} - Delete brands from a Location
|
|
@@ -357,7 +357,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
357
357
|
* @param options - additional request options
|
|
358
358
|
*/
|
|
359
359
|
delete_location(id, body, options) {
|
|
360
|
-
return this.request(
|
|
360
|
+
return this.request('location', 'delete_location', 'delete', `/location/${id}`, body, options);
|
|
361
361
|
}
|
|
362
362
|
/**
|
|
363
363
|
* PATCH /location/{id} - Update a Location
|
|
@@ -367,7 +367,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
367
367
|
* @param options - additional request options
|
|
368
368
|
*/
|
|
369
369
|
patch_location(id, body, options) {
|
|
370
|
-
return this.request(
|
|
370
|
+
return this.request('location', 'patch_location', 'patch', `/location/${id}`, body, options);
|
|
371
371
|
}
|
|
372
372
|
/**
|
|
373
373
|
* GET /location/multigroup - Get all the top level multigroups
|
|
@@ -375,7 +375,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
375
375
|
* @param options - additional request options
|
|
376
376
|
*/
|
|
377
377
|
get_location_multigroups(options) {
|
|
378
|
-
return this.request(
|
|
378
|
+
return this.request('location', 'get_location_multigroups', 'get', `/location/multigroup`, null, options);
|
|
379
379
|
}
|
|
380
380
|
/**
|
|
381
381
|
* POST /location/multigroup - Create a new multigroup
|
|
@@ -384,7 +384,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
384
384
|
* @param options - additional request options
|
|
385
385
|
*/
|
|
386
386
|
post_location_multigroup(body, options) {
|
|
387
|
-
return this.request(
|
|
387
|
+
return this.request('location', 'post_location_multigroup', 'post', `/location/multigroup`, body, options);
|
|
388
388
|
}
|
|
389
389
|
/**
|
|
390
390
|
* GET /location/multigroup/{id} - Get a multigroup
|
|
@@ -393,7 +393,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
393
393
|
* @param options - additional request options
|
|
394
394
|
*/
|
|
395
395
|
get_location_multigroup(id, options) {
|
|
396
|
-
return this.request(
|
|
396
|
+
return this.request('location', 'get_location_multigroup', 'get', `/location/multigroup/${id}`, null, options);
|
|
397
397
|
}
|
|
398
398
|
/**
|
|
399
399
|
* PUT /location/multigroup/{id} - Override a complete multigroup
|
|
@@ -403,7 +403,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
403
403
|
* @param options - additional request options
|
|
404
404
|
*/
|
|
405
405
|
put_location_multigroup(id, body, options) {
|
|
406
|
-
return this.request(
|
|
406
|
+
return this.request('location', 'put_location_multigroup', 'put', `/location/multigroup/${id}`, body, options);
|
|
407
407
|
}
|
|
408
408
|
/**
|
|
409
409
|
* DELETE /location/multigroup/{id} - Delete groups from a multigroup
|
|
@@ -413,7 +413,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
413
413
|
* @param options - additional request options
|
|
414
414
|
*/
|
|
415
415
|
delete_location_multigroup(id, body, options) {
|
|
416
|
-
return this.request(
|
|
416
|
+
return this.request('location', 'delete_location_multigroup', 'delete', `/location/multigroup/${id}`, body, options);
|
|
417
417
|
}
|
|
418
418
|
/**
|
|
419
419
|
* PATCH /location/multigroup/{id} - Update a multigroup
|
|
@@ -423,7 +423,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
423
423
|
* @param options - additional request options
|
|
424
424
|
*/
|
|
425
425
|
patch_location_multigroup(id, body, options) {
|
|
426
|
-
return this.request(
|
|
426
|
+
return this.request('location', 'patch_location_multigroup', 'patch', `/location/multigroup/${id}`, body, options);
|
|
427
427
|
}
|
|
428
428
|
/**
|
|
429
429
|
* GET /location/multigroup/{id}/user/{user_id} - Get all the groups in a multigroup specific to user permissions
|
|
@@ -433,7 +433,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
433
433
|
* @param options - additional request options
|
|
434
434
|
*/
|
|
435
435
|
get_location_user_multigroup(id, user_id, options) {
|
|
436
|
-
return this.request(
|
|
436
|
+
return this.request('location', 'get_location_user_multigroup', 'get', `/location/multigroup/${id}/user/${user_id}`, null, options);
|
|
437
437
|
}
|
|
438
438
|
/**
|
|
439
439
|
* POST /location/group - Create a new group
|
|
@@ -442,7 +442,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
442
442
|
* @param options - additional request options
|
|
443
443
|
*/
|
|
444
444
|
post_location_group(body, options) {
|
|
445
|
-
return this.request(
|
|
445
|
+
return this.request('location', 'post_location_group', 'post', `/location/group`, body, options);
|
|
446
446
|
}
|
|
447
447
|
/**
|
|
448
448
|
* GET /location/group/{id} - Get an individual Group based on id or latitude/longitude
|
|
@@ -451,7 +451,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
451
451
|
* @param options - additional request options
|
|
452
452
|
*/
|
|
453
453
|
get_location_group(id, options) {
|
|
454
|
-
return this.request(
|
|
454
|
+
return this.request('location', 'get_location_group', 'get', `/location/group/${id}`, null, options);
|
|
455
455
|
}
|
|
456
456
|
/**
|
|
457
457
|
* PUT /location/group/{id} - Override a complete Group
|
|
@@ -461,7 +461,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
461
461
|
* @param options - additional request options
|
|
462
462
|
*/
|
|
463
463
|
put_location_group(id, body, options) {
|
|
464
|
-
return this.request(
|
|
464
|
+
return this.request('location', 'put_location_group', 'put', `/location/group/${id}`, body, options);
|
|
465
465
|
}
|
|
466
466
|
/**
|
|
467
467
|
* DELETE /location/group/{id} - Delete locations from a Group
|
|
@@ -471,7 +471,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
471
471
|
* @param options - additional request options
|
|
472
472
|
*/
|
|
473
473
|
delete_location_group(id, body, options) {
|
|
474
|
-
return this.request(
|
|
474
|
+
return this.request('location', 'delete_location_group', 'delete', `/location/group/${id}`, body, options);
|
|
475
475
|
}
|
|
476
476
|
/**
|
|
477
477
|
* PATCH /location/group/{id} - Update a Group
|
|
@@ -481,7 +481,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
481
481
|
* @param options - additional request options
|
|
482
482
|
*/
|
|
483
483
|
patch_location_group(id, body, options) {
|
|
484
|
-
return this.request(
|
|
484
|
+
return this.request('location', 'patch_location_group', 'patch', `/location/group/${id}`, body, options);
|
|
485
485
|
}
|
|
486
486
|
/**
|
|
487
487
|
* GET /location/group/{id}/waittimes - Get an individual Group's estimated wait times based on id
|
|
@@ -490,7 +490,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
490
490
|
* @param options - additional request options
|
|
491
491
|
*/
|
|
492
492
|
get_location_group_waittimes(id, options) {
|
|
493
|
-
return this.request(
|
|
493
|
+
return this.request('location', 'get_location_group_waittimes', 'get', `/location/group/${id}/waittimes`, null, options);
|
|
494
494
|
}
|
|
495
495
|
/**
|
|
496
496
|
* GET /location/group/{id}/deliverydestination - Get all delivery destinations for group
|
|
@@ -499,7 +499,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
499
499
|
* @param options - additional request options
|
|
500
500
|
*/
|
|
501
501
|
get_location_group_deliverydestinations(id, options) {
|
|
502
|
-
return this.request(
|
|
502
|
+
return this.request('location', 'get_location_group_deliverydestinations', 'get', `/location/group/${id}/deliverydestination`, null, options);
|
|
503
503
|
}
|
|
504
504
|
/**
|
|
505
505
|
* POST /location/group/{id}/deliverydestination - Create a new location group delivery destination
|
|
@@ -509,7 +509,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
509
509
|
* @param options - additional request options
|
|
510
510
|
*/
|
|
511
511
|
post_location_group_deliverydestination(id, body, options) {
|
|
512
|
-
return this.request(
|
|
512
|
+
return this.request('location', 'post_location_group_deliverydestination', 'post', `/location/group/${id}/deliverydestination`, body, options);
|
|
513
513
|
}
|
|
514
514
|
/**
|
|
515
515
|
* PATCH /location/group/{id}/deliverydestination - Patch single or multiple delivery destinations
|
|
@@ -519,7 +519,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
519
519
|
* @param options - additional request options
|
|
520
520
|
*/
|
|
521
521
|
patch_location_group_deliverydestination(id, body, options) {
|
|
522
|
-
return this.request(
|
|
522
|
+
return this.request('location', 'patch_location_group_deliverydestination', 'patch', `/location/group/${id}/deliverydestination`, body, options);
|
|
523
523
|
}
|
|
524
524
|
/**
|
|
525
525
|
* DELETE /location/group/{id}/deliverydestination - Delete single or multiple delivery destinations
|
|
@@ -529,7 +529,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
529
529
|
* @param options - additional request options
|
|
530
530
|
*/
|
|
531
531
|
delete_location_group_deliverydestination(id, body, options) {
|
|
532
|
-
return this.request(
|
|
532
|
+
return this.request('location', 'delete_location_group_deliverydestination', 'delete', `/location/group/${id}/deliverydestination`, body, options);
|
|
533
533
|
}
|
|
534
534
|
/**
|
|
535
535
|
* GET /location/group/{id}/deliverydestination/{delivery_destination} - Get a delivery destination
|
|
@@ -539,7 +539,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
539
539
|
* @param options - additional request options
|
|
540
540
|
*/
|
|
541
541
|
get_location_group_deliverydestination(id, delivery_destination, options) {
|
|
542
|
-
return this.request(
|
|
542
|
+
return this.request('location', 'get_location_group_deliverydestination', 'get', `/location/group/${id}/deliverydestination/${delivery_destination}`, null, options);
|
|
543
543
|
}
|
|
544
544
|
/**
|
|
545
545
|
* GET /location/brands - Get all location brands
|
|
@@ -547,7 +547,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
547
547
|
* @param options - additional request options
|
|
548
548
|
*/
|
|
549
549
|
get_location_brands(options) {
|
|
550
|
-
return this.request(
|
|
550
|
+
return this.request('location', 'get_location_brands', 'get', `/location/brands`, null, options);
|
|
551
551
|
}
|
|
552
552
|
/**
|
|
553
553
|
* GET /location/brand/{id}/deliverydestinations - Get delivery destinations for a brand
|
|
@@ -556,7 +556,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
556
556
|
* @param options - additional request options
|
|
557
557
|
*/
|
|
558
558
|
get_location_brand_destinations(id, options) {
|
|
559
|
-
return this.request(
|
|
559
|
+
return this.request('location', 'get_location_brand_destinations', 'get', `/location/brand/${id}/deliverydestinations`, null, options);
|
|
560
560
|
}
|
|
561
561
|
/**
|
|
562
562
|
* GET /location/brand/{id}/timeslots - Get location brand timeslots
|
|
@@ -565,7 +565,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
565
565
|
* @param options - additional request options
|
|
566
566
|
*/
|
|
567
567
|
get_location_brand_timeslots(id, options) {
|
|
568
|
-
return this.request(
|
|
568
|
+
return this.request('location', 'get_location_brand_timeslots', 'get', `/location/brand/${id}/timeslots`, null, options);
|
|
569
569
|
}
|
|
570
570
|
/**
|
|
571
571
|
* POST /location/marketplace/timeslots - Get Market Place timeslots
|
|
@@ -574,7 +574,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
574
574
|
* @param options - additional request options
|
|
575
575
|
*/
|
|
576
576
|
post_location_marketplace_timeslots(body, options) {
|
|
577
|
-
return this.request(
|
|
577
|
+
return this.request('location', 'post_location_marketplace_timeslots', 'post', `/location/marketplace/timeslots`, body, options);
|
|
578
578
|
}
|
|
579
579
|
/**
|
|
580
580
|
* POST /location/marketplace/timeslots/delivery - Get Marketplace delivery timeslots
|
|
@@ -583,7 +583,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
583
583
|
* @param options - additional request options
|
|
584
584
|
*/
|
|
585
585
|
post_location_marketplace_timeslots_delivery(body, options) {
|
|
586
|
-
return this.request(
|
|
586
|
+
return this.request('location', 'post_location_marketplace_timeslots_delivery', 'post', `/location/marketplace/timeslots/delivery`, body, options);
|
|
587
587
|
}
|
|
588
588
|
/**
|
|
589
589
|
* GET /location/brand/{id}/timeslots/menu/{menu} - Get location brand timeslots for menu
|
|
@@ -593,7 +593,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
593
593
|
* @param options - additional request options
|
|
594
594
|
*/
|
|
595
595
|
get_location_brand_menu_timeslots(id, menu, options) {
|
|
596
|
-
return this.request(
|
|
596
|
+
return this.request('location', 'get_location_brand_menu_timeslots', 'get', `/location/brand/${id}/timeslots/menu/${menu}`, null, options);
|
|
597
597
|
}
|
|
598
598
|
/**
|
|
599
599
|
* GET /location/brand/{id}/timeslots/delivery - Get location brand delivery timeslots
|
|
@@ -602,7 +602,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
602
602
|
* @param options - additional request options
|
|
603
603
|
*/
|
|
604
604
|
get_location_brand_delivery_timeslots(id, options) {
|
|
605
|
-
return this.request(
|
|
605
|
+
return this.request('location', 'get_location_brand_delivery_timeslots', 'get', `/location/brand/${id}/timeslots/delivery`, null, options);
|
|
606
606
|
}
|
|
607
607
|
/**
|
|
608
608
|
* GET /location/brand/{id}/timeslots/delivery/menu/{menu} - Get location brand delivery timeslots for menu
|
|
@@ -612,7 +612,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
612
612
|
* @param options - additional request options
|
|
613
613
|
*/
|
|
614
614
|
get_location_brand_menu_delivery_timeslosts(id, menu, options) {
|
|
615
|
-
return this.request(
|
|
615
|
+
return this.request('location', 'get_location_brand_menu_delivery_timeslosts', 'get', `/location/brand/${id}/timeslots/delivery/menu/${menu}`, null, options);
|
|
616
616
|
}
|
|
617
617
|
/**
|
|
618
618
|
* POST /location/brand - Create a new Brand
|
|
@@ -621,7 +621,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
621
621
|
* @param options - additional request options
|
|
622
622
|
*/
|
|
623
623
|
post_location_brand(body, options) {
|
|
624
|
-
return this.request(
|
|
624
|
+
return this.request('location', 'post_location_brand', 'post', `/location/brand`, body, options);
|
|
625
625
|
}
|
|
626
626
|
/**
|
|
627
627
|
* PATCH /location/brand/bulk - Update multiple brands
|
|
@@ -630,7 +630,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
630
630
|
* @param options - additional request options
|
|
631
631
|
*/
|
|
632
632
|
patch_location_brand_bulk(body, options) {
|
|
633
|
-
return this.request(
|
|
633
|
+
return this.request('location', 'patch_location_brand_bulk', 'patch', `/location/brand/bulk`, body, options);
|
|
634
634
|
}
|
|
635
635
|
/**
|
|
636
636
|
* GET /location/brand/{id} - Get location brand
|
|
@@ -639,7 +639,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
639
639
|
* @param options - additional request options
|
|
640
640
|
*/
|
|
641
641
|
get_location_brand(id, options) {
|
|
642
|
-
return this.request(
|
|
642
|
+
return this.request('location', 'get_location_brand', 'get', `/location/brand/${id}`, null, options);
|
|
643
643
|
}
|
|
644
644
|
/**
|
|
645
645
|
* PATCH /location/brand/{id} - Update location brand
|
|
@@ -649,7 +649,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
649
649
|
* @param options - additional request options
|
|
650
650
|
*/
|
|
651
651
|
patch_location_brand(id, body, options) {
|
|
652
|
-
return this.request(
|
|
652
|
+
return this.request('location', 'patch_location_brand', 'patch', `/location/brand/${id}`, body, options);
|
|
653
653
|
}
|
|
654
654
|
/**
|
|
655
655
|
* DELETE /location/brand/{id} - Delete data from a Brand
|
|
@@ -658,7 +658,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
658
658
|
* @param options - additional request options
|
|
659
659
|
*/
|
|
660
660
|
delete_location_brand(id, options) {
|
|
661
|
-
return this.request(
|
|
661
|
+
return this.request('location', 'delete_location_brand', 'delete', `/location/brand/${id}`, null, options);
|
|
662
662
|
}
|
|
663
663
|
/**
|
|
664
664
|
* PUT /location/brand/{id} - Update location brand
|
|
@@ -668,7 +668,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
668
668
|
* @param options - additional request options
|
|
669
669
|
*/
|
|
670
670
|
put_location_brand(id, body, options) {
|
|
671
|
-
return this.request(
|
|
671
|
+
return this.request('location', 'put_location_brand', 'put', `/location/brand/${id}`, body, options);
|
|
672
672
|
}
|
|
673
673
|
/**
|
|
674
674
|
* GET /location/sector - Get list of all the sectors
|
|
@@ -676,7 +676,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
676
676
|
* @param options - additional request options
|
|
677
677
|
*/
|
|
678
678
|
get_location_sectors(options) {
|
|
679
|
-
return this.request(
|
|
679
|
+
return this.request('location', 'get_location_sectors', 'get', `/location/sector`, null, options);
|
|
680
680
|
}
|
|
681
681
|
/**
|
|
682
682
|
* POST /location/sector - Create a new sector
|
|
@@ -685,7 +685,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
685
685
|
* @param options - additional request options
|
|
686
686
|
*/
|
|
687
687
|
post_location_sector(body, options) {
|
|
688
|
-
return this.request(
|
|
688
|
+
return this.request('location', 'post_location_sector', 'post', `/location/sector`, body, options);
|
|
689
689
|
}
|
|
690
690
|
/**
|
|
691
691
|
* GET /location/sector/{id} - Get a sector
|
|
@@ -694,7 +694,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
694
694
|
* @param options - additional request options
|
|
695
695
|
*/
|
|
696
696
|
get_location_sector(id, options) {
|
|
697
|
-
return this.request(
|
|
697
|
+
return this.request('location', 'get_location_sector', 'get', `/location/sector/${id}`, null, options);
|
|
698
698
|
}
|
|
699
699
|
/**
|
|
700
700
|
* PATCH /location/sector/{id} - Update a sector
|
|
@@ -704,7 +704,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
704
704
|
* @param options - additional request options
|
|
705
705
|
*/
|
|
706
706
|
patch_location_sector(id, body, options) {
|
|
707
|
-
return this.request(
|
|
707
|
+
return this.request('location', 'patch_location_sector', 'patch', `/location/sector/${id}`, body, options);
|
|
708
708
|
}
|
|
709
709
|
/**
|
|
710
710
|
* POST /location/company - Create a new company
|
|
@@ -713,7 +713,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
713
713
|
* @param options - additional request options
|
|
714
714
|
*/
|
|
715
715
|
post_location_company(body, options) {
|
|
716
|
-
return this.request(
|
|
716
|
+
return this.request('location', 'post_location_company', 'post', `/location/company`, body, options);
|
|
717
717
|
}
|
|
718
718
|
/**
|
|
719
719
|
* GET /location/company/{id} - Get a company within sector
|
|
@@ -722,7 +722,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
722
722
|
* @param options - additional request options
|
|
723
723
|
*/
|
|
724
724
|
get_location_company(id, options) {
|
|
725
|
-
return this.request(
|
|
725
|
+
return this.request('location', 'get_location_company', 'get', `/location/company/${id}`, null, options);
|
|
726
726
|
}
|
|
727
727
|
/**
|
|
728
728
|
* PATCH /location/company/{id} - Update a company
|
|
@@ -732,7 +732,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
732
732
|
* @param options - additional request options
|
|
733
733
|
*/
|
|
734
734
|
patch_location_company(id, body, options) {
|
|
735
|
-
return this.request(
|
|
735
|
+
return this.request('location', 'patch_location_company', 'patch', `/location/company/${id}`, body, options);
|
|
736
736
|
}
|
|
737
737
|
/**
|
|
738
738
|
* DELETE /location/record/{id} - Delete a Brand, Location, Group, or MultiGroup
|
|
@@ -741,7 +741,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
741
741
|
* @param options - additional request options
|
|
742
742
|
*/
|
|
743
743
|
delete_location_record(id, options) {
|
|
744
|
-
return this.request(
|
|
744
|
+
return this.request('location', 'delete_location_record', 'delete', `/location/record/${id}`, null, options);
|
|
745
745
|
}
|
|
746
746
|
/**
|
|
747
747
|
* GET /location/v2/groups - Get a list of groups
|
|
@@ -749,7 +749,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
749
749
|
* @param options - additional request options
|
|
750
750
|
*/
|
|
751
751
|
get_location_v2_groups(options) {
|
|
752
|
-
return this.request(
|
|
752
|
+
return this.request('location', 'get_location_v2_groups', 'get', `/location/v2/groups`, null, options);
|
|
753
753
|
}
|
|
754
754
|
/**
|
|
755
755
|
* GET /location/menu_association/{id}/brand - Get menu association for a brand
|
|
@@ -758,7 +758,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
758
758
|
* @param options - additional request options
|
|
759
759
|
*/
|
|
760
760
|
get_location_menu_association_brand(id, options) {
|
|
761
|
-
return this.request(
|
|
761
|
+
return this.request('location', 'get_location_menu_association_brand', 'get', `/location/menu_association/${id}/brand`, null, options);
|
|
762
762
|
}
|
|
763
763
|
/**
|
|
764
764
|
* GET /location/menu_association/{id}/menu - Get menu association for a brand
|
|
@@ -767,7 +767,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
767
767
|
* @param options - additional request options
|
|
768
768
|
*/
|
|
769
769
|
get_location_menu_association_menu(id, options) {
|
|
770
|
-
return this.request(
|
|
770
|
+
return this.request('location', 'get_location_menu_association_menu', 'get', `/location/menu_association/${id}/menu`, null, options);
|
|
771
771
|
}
|
|
772
772
|
/**
|
|
773
773
|
* POST /shoppingcart - Create a new ShoppingCart
|
|
@@ -776,7 +776,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
776
776
|
* @param options - additional request options
|
|
777
777
|
*/
|
|
778
778
|
post_shoppingcart_cart(body, options) {
|
|
779
|
-
return this.request(
|
|
779
|
+
return this.request('shoppingcart', 'post_shoppingcart_cart', 'post', `/shoppingcart`, body, options);
|
|
780
780
|
}
|
|
781
781
|
/**
|
|
782
782
|
* PUT /shoppingcart/{id} - Put a menu item into a ShoppingCart
|
|
@@ -786,7 +786,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
786
786
|
* @param options - additional request options
|
|
787
787
|
*/
|
|
788
788
|
put_shoppingcart_cart_items(id, body, options) {
|
|
789
|
-
return this.request(
|
|
789
|
+
return this.request('shoppingcart', 'put_shoppingcart_cart_items', 'put', `/shoppingcart/${id}`, body, options);
|
|
790
790
|
}
|
|
791
791
|
/**
|
|
792
792
|
* DELETE /shoppingcart/{id} - Delete a menu item from a ShoppingCart
|
|
@@ -796,7 +796,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
796
796
|
* @param options - additional request options
|
|
797
797
|
*/
|
|
798
798
|
delete_shoppingcart_cart_items(id, body, options) {
|
|
799
|
-
return this.request(
|
|
799
|
+
return this.request('shoppingcart', 'delete_shoppingcart_cart_items', 'delete', `/shoppingcart/${id}`, body, options);
|
|
800
800
|
}
|
|
801
801
|
/**
|
|
802
802
|
* GET /shoppingcart/{id} - Get an individual ShoppingCart
|
|
@@ -805,7 +805,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
805
805
|
* @param options - additional request options
|
|
806
806
|
*/
|
|
807
807
|
get_shoppingcart_cart(id, options) {
|
|
808
|
-
return this.request(
|
|
808
|
+
return this.request('shoppingcart', 'get_shoppingcart_cart', 'get', `/shoppingcart/${id}`, null, options);
|
|
809
809
|
}
|
|
810
810
|
/**
|
|
811
811
|
* PATCH /shoppingcart/{id} - Update a ShoppingCart
|
|
@@ -815,7 +815,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
815
815
|
* @param options - additional request options
|
|
816
816
|
*/
|
|
817
817
|
patch_shoppingcart_cart(id, body, options) {
|
|
818
|
-
return this.request(
|
|
818
|
+
return this.request('shoppingcart', 'patch_shoppingcart_cart', 'patch', `/shoppingcart/${id}`, body, options);
|
|
819
819
|
}
|
|
820
820
|
/**
|
|
821
821
|
* PUT /shoppingcart/{id}/promo - Put a promo in a ShoppingCart
|
|
@@ -825,7 +825,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
825
825
|
* @param options - additional request options
|
|
826
826
|
*/
|
|
827
827
|
put_shoppingcart_cart_promo(id, body, options) {
|
|
828
|
-
return this.request(
|
|
828
|
+
return this.request('shoppingcart', 'put_shoppingcart_cart_promo', 'put', `/shoppingcart/${id}/promo`, body, options);
|
|
829
829
|
}
|
|
830
830
|
/**
|
|
831
831
|
* DELETE /shoppingcart/{id}/promo - Delete the promo in a ShoppingCart
|
|
@@ -834,7 +834,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
834
834
|
* @param options - additional request options
|
|
835
835
|
*/
|
|
836
836
|
delete_shoppingcart_cart_promo(id, options) {
|
|
837
|
-
return this.request(
|
|
837
|
+
return this.request('shoppingcart', 'delete_shoppingcart_cart_promo', 'delete', `/shoppingcart/${id}/promo`, null, options);
|
|
838
838
|
}
|
|
839
839
|
/**
|
|
840
840
|
* PUT /shoppingcart/{id}/paymentmethod - Change payment method used in shopping cart
|
|
@@ -844,7 +844,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
844
844
|
* @param options - additional request options
|
|
845
845
|
*/
|
|
846
846
|
put_shoppingcart_cart_payment(id, body, options) {
|
|
847
|
-
return this.request(
|
|
847
|
+
return this.request('shoppingcart', 'put_shoppingcart_cart_payment', 'put', `/shoppingcart/${id}/paymentmethod`, body, options);
|
|
848
848
|
}
|
|
849
849
|
/**
|
|
850
850
|
* GET /shoppingcart/{id}/paymentmethods - Get a list of payment methods for cart
|
|
@@ -853,7 +853,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
853
853
|
* @param options - additional request options
|
|
854
854
|
*/
|
|
855
855
|
get_shoppingcart_payment_methods(id, options) {
|
|
856
|
-
return this.request(
|
|
856
|
+
return this.request('shoppingcart', 'get_shoppingcart_payment_methods', 'get', `/shoppingcart/${id}/paymentmethods`, null, options);
|
|
857
857
|
}
|
|
858
858
|
/**
|
|
859
859
|
* PUT /shoppingcart/{id}/order - Store information about the order created with this shopping cart
|
|
@@ -863,7 +863,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
863
863
|
* @param options - additional request options
|
|
864
864
|
*/
|
|
865
865
|
put_shoppingcart_cart_order(id, body, options) {
|
|
866
|
-
return this.request(
|
|
866
|
+
return this.request('shoppingcart', 'put_shoppingcart_cart_order', 'put', `/shoppingcart/${id}/order`, body, options);
|
|
867
867
|
}
|
|
868
868
|
/**
|
|
869
869
|
* POST /shoppingcart/{id}/clone - Create a shopping cart from existing shopping cart
|
|
@@ -873,7 +873,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
873
873
|
* @param options - additional request options
|
|
874
874
|
*/
|
|
875
875
|
post_shoppingcart_clone_cart(id, body, options) {
|
|
876
|
-
return this.request(
|
|
876
|
+
return this.request('shoppingcart', 'post_shoppingcart_clone_cart', 'post', `/shoppingcart/${id}/clone`, body, options);
|
|
877
877
|
}
|
|
878
878
|
/**
|
|
879
879
|
* PUT /shoppingcart/{id}/checkout - handle ui checkout flow and call taxjar for full tax breakdown
|
|
@@ -882,7 +882,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
882
882
|
* @param options - additional request options
|
|
883
883
|
*/
|
|
884
884
|
put_shoppingcart_checkout(id, options) {
|
|
885
|
-
return this.request(
|
|
885
|
+
return this.request('shoppingcart', 'put_shoppingcart_checkout', 'put', `/shoppingcart/${id}/checkout`, null, options);
|
|
886
886
|
}
|
|
887
887
|
/**
|
|
888
888
|
* POST /shoppingcart/bulk - Get multiple ShoppingCarts
|
|
@@ -891,7 +891,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
891
891
|
* @param options - additional request options
|
|
892
892
|
*/
|
|
893
893
|
post_shoppingcart_bulk(body, options) {
|
|
894
|
-
return this.request(
|
|
894
|
+
return this.request('shoppingcart', 'post_shoppingcart_bulk', 'post', `/shoppingcart/bulk`, body, options);
|
|
895
895
|
}
|
|
896
896
|
/**
|
|
897
897
|
* POST /partner/event/{id} - Send an event from 3rd party to our system
|
|
@@ -901,7 +901,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
901
901
|
* @param options - additional request options
|
|
902
902
|
*/
|
|
903
903
|
post_partner_event(id, body, options) {
|
|
904
|
-
return this.request(
|
|
904
|
+
return this.request('partner', 'post_partner_event', 'post', `/partner/event/${id}`, body, options);
|
|
905
905
|
}
|
|
906
906
|
/**
|
|
907
907
|
* GET /partner/swagger.json
|
|
@@ -909,7 +909,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
909
909
|
* @param options - additional request options
|
|
910
910
|
*/
|
|
911
911
|
get_partner_swagger(options) {
|
|
912
|
-
return this.request(
|
|
912
|
+
return this.request('partner', 'get_partner_swagger', 'get', `/partner/swagger.json`, null, options);
|
|
913
913
|
}
|
|
914
914
|
/**
|
|
915
915
|
* POST /partner/{id}/menu - Create a Partner menu from files(only xls for now)
|
|
@@ -919,7 +919,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
919
919
|
* @param options - additional request options
|
|
920
920
|
*/
|
|
921
921
|
post_partner_menu(id, body, options) {
|
|
922
|
-
return this.request(
|
|
922
|
+
return this.request('partner', 'post_partner_menu', 'post', `/partner/${id}/menu`, body, options);
|
|
923
923
|
}
|
|
924
924
|
/**
|
|
925
925
|
* POST /email - Send an email
|
|
@@ -928,7 +928,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
928
928
|
* @param options - additional request options
|
|
929
929
|
*/
|
|
930
930
|
post_email(body, options) {
|
|
931
|
-
return this.request(
|
|
931
|
+
return this.request('email', 'post_email', 'post', `/email`, body, options);
|
|
932
932
|
}
|
|
933
933
|
/**
|
|
934
934
|
* POST /task - Create new Task
|
|
@@ -937,7 +937,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
937
937
|
* @param options - additional request options
|
|
938
938
|
*/
|
|
939
939
|
post_task(body, options) {
|
|
940
|
-
return this.request(
|
|
940
|
+
return this.request('task', 'post_task', 'post', `/task`, body, options);
|
|
941
941
|
}
|
|
942
942
|
/**
|
|
943
943
|
* GET /task/{id} - Get task based on passed ID
|
|
@@ -946,7 +946,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
946
946
|
* @param options - additional request options
|
|
947
947
|
*/
|
|
948
948
|
get_task(id, options) {
|
|
949
|
-
return this.request(
|
|
949
|
+
return this.request('task', 'get_task', 'get', `/task/${id}`, null, options);
|
|
950
950
|
}
|
|
951
951
|
/**
|
|
952
952
|
* PATCH /task/{id} - Update Task
|
|
@@ -956,7 +956,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
956
956
|
* @param options - additional request options
|
|
957
957
|
*/
|
|
958
958
|
patch_task(id, body, options) {
|
|
959
|
-
return this.request(
|
|
959
|
+
return this.request('task', 'patch_task', 'patch', `/task/${id}`, body, options);
|
|
960
960
|
}
|
|
961
961
|
/**
|
|
962
962
|
* DELETE /task/{id} - Delete Task
|
|
@@ -965,7 +965,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
965
965
|
* @param options - additional request options
|
|
966
966
|
*/
|
|
967
967
|
delete_task(id, options) {
|
|
968
|
-
return this.request(
|
|
968
|
+
return this.request('task', 'delete_task', 'delete', `/task/${id}`, null, options);
|
|
969
969
|
}
|
|
970
970
|
/**
|
|
971
971
|
* GET /task/order/{id} - Get task based on passed order ID
|
|
@@ -974,7 +974,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
974
974
|
* @param options - additional request options
|
|
975
975
|
*/
|
|
976
976
|
get_task_order(id, options) {
|
|
977
|
-
return this.request(
|
|
977
|
+
return this.request('task', 'get_task_order', 'get', `/task/order/${id}`, null, options);
|
|
978
978
|
}
|
|
979
979
|
/**
|
|
980
980
|
* GET /task/order/{id}/kds - Get KDS tasks based on passed order ID
|
|
@@ -983,7 +983,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
983
983
|
* @param options - additional request options
|
|
984
984
|
*/
|
|
985
985
|
get_task_order_kds(id, options) {
|
|
986
|
-
return this.request(
|
|
986
|
+
return this.request('task', 'get_task_order_kds', 'get', `/task/order/${id}/kds`, null, options);
|
|
987
987
|
}
|
|
988
988
|
/**
|
|
989
989
|
* PATCH /task/order/{id}/kds - Update an order and its associated tasks
|
|
@@ -993,7 +993,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
993
993
|
* @param options - additional request options
|
|
994
994
|
*/
|
|
995
995
|
patch_task_order_kds(id, body, options) {
|
|
996
|
-
return this.request(
|
|
996
|
+
return this.request('task', 'patch_task_order_kds', 'patch', `/task/order/${id}/kds`, body, options);
|
|
997
997
|
}
|
|
998
998
|
/**
|
|
999
999
|
* GET /task/assignee/{id} - Get Assignee tasks
|
|
@@ -1002,7 +1002,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1002
1002
|
* @param options - additional request options
|
|
1003
1003
|
*/
|
|
1004
1004
|
get_task_assignee(id, options) {
|
|
1005
|
-
return this.request(
|
|
1005
|
+
return this.request('task', 'get_task_assignee', 'get', `/task/assignee/${id}`, null, options);
|
|
1006
1006
|
}
|
|
1007
1007
|
/**
|
|
1008
1008
|
* GET /task/location/brand/{id} - Get location brand tasks
|
|
@@ -1011,7 +1011,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1011
1011
|
* @param options - additional request options
|
|
1012
1012
|
*/
|
|
1013
1013
|
get_task_location_brand(id, options) {
|
|
1014
|
-
return this.request(
|
|
1014
|
+
return this.request('task', 'get_task_location_brand', 'get', `/task/location/brand/${id}`, null, options);
|
|
1015
1015
|
}
|
|
1016
1016
|
/**
|
|
1017
1017
|
* GET /task/location/group/{id} - Get location group tasks
|
|
@@ -1020,7 +1020,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1020
1020
|
* @param options - additional request options
|
|
1021
1021
|
*/
|
|
1022
1022
|
get_task_location_group(id, options) {
|
|
1023
|
-
return this.request(
|
|
1023
|
+
return this.request('task', 'get_task_location_group', 'get', `/task/location/group/${id}`, null, options);
|
|
1024
1024
|
}
|
|
1025
1025
|
/**
|
|
1026
1026
|
* GET /kds/devices - Get kds devices for a specified unit number
|
|
@@ -1028,7 +1028,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1028
1028
|
* @param options - additional request options
|
|
1029
1029
|
*/
|
|
1030
1030
|
get_kds_devices(options) {
|
|
1031
|
-
return this.request(
|
|
1031
|
+
return this.request('kds', 'get_kds_devices', 'get', `/kds/devices`, null, options);
|
|
1032
1032
|
}
|
|
1033
1033
|
/**
|
|
1034
1034
|
* POST /kds/device/auth - Get auth token for a device
|
|
@@ -1037,7 +1037,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1037
1037
|
* @param options - additional request options
|
|
1038
1038
|
*/
|
|
1039
1039
|
post_kds_device_auth(body, options) {
|
|
1040
|
-
return this.request(
|
|
1040
|
+
return this.request('kds', 'post_kds_device_auth', 'post', `/kds/device/auth`, body, options);
|
|
1041
1041
|
}
|
|
1042
1042
|
/**
|
|
1043
1043
|
* DELETE /kds/device/auth/{device_id} - Delete authorization for specified serial_number
|
|
@@ -1046,7 +1046,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1046
1046
|
* @param options - additional request options
|
|
1047
1047
|
*/
|
|
1048
1048
|
delete_kds_device_auth(device_id, options) {
|
|
1049
|
-
return this.request(
|
|
1049
|
+
return this.request('kds', 'delete_kds_device_auth', 'delete', `/kds/device/auth/${device_id}`, null, options);
|
|
1050
1050
|
}
|
|
1051
1051
|
/**
|
|
1052
1052
|
* PATCH /kds/device/info/{device_id} - Update additional information related to the kds
|
|
@@ -1056,7 +1056,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1056
1056
|
* @param options - additional request options
|
|
1057
1057
|
*/
|
|
1058
1058
|
patch_kds_device_info(device_id, body, options) {
|
|
1059
|
-
return this.request(
|
|
1059
|
+
return this.request('kds', 'patch_kds_device_info', 'patch', `/kds/device/info/${device_id}`, body, options);
|
|
1060
1060
|
}
|
|
1061
1061
|
/**
|
|
1062
1062
|
* DELETE /kds/device/info/{device_id} - Delete additional information related to the kds
|
|
@@ -1065,7 +1065,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1065
1065
|
* @param options - additional request options
|
|
1066
1066
|
*/
|
|
1067
1067
|
delete_kds_device_info(device_id, options) {
|
|
1068
|
-
return this.request(
|
|
1068
|
+
return this.request('kds', 'delete_kds_device_info', 'delete', `/kds/device/info/${device_id}`, null, options);
|
|
1069
1069
|
}
|
|
1070
1070
|
/**
|
|
1071
1071
|
* GET /kds/swagger.json - Get a swagger for kds service
|
|
@@ -1073,7 +1073,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1073
1073
|
* @param options - additional request options
|
|
1074
1074
|
*/
|
|
1075
1075
|
get_kds_swagger(options) {
|
|
1076
|
-
return this.request(
|
|
1076
|
+
return this.request('kds', 'get_kds_swagger', 'get', `/kds/swagger.json`, null, options);
|
|
1077
1077
|
}
|
|
1078
1078
|
/**
|
|
1079
1079
|
* POST /mealplan/{id} - Authenticate against the meal plan provider
|
|
@@ -1083,7 +1083,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1083
1083
|
* @param options - additional request options
|
|
1084
1084
|
*/
|
|
1085
1085
|
post_mealplan(id, body, options) {
|
|
1086
|
-
return this.request(
|
|
1086
|
+
return this.request('mealplan', 'post_mealplan', 'post', `/mealplan/${id}`, body, options);
|
|
1087
1087
|
}
|
|
1088
1088
|
/**
|
|
1089
1089
|
* PUT /mealplan/{id} - Save a token for access to the meal plan
|
|
@@ -1093,7 +1093,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1093
1093
|
* @param options - additional request options
|
|
1094
1094
|
*/
|
|
1095
1095
|
put_mealplan(id, body, options) {
|
|
1096
|
-
return this.request(
|
|
1096
|
+
return this.request('mealplan', 'put_mealplan', 'put', `/mealplan/${id}`, body, options);
|
|
1097
1097
|
}
|
|
1098
1098
|
/**
|
|
1099
1099
|
* GET /mealplan/{id} - Check the user's meal plan tenders and get the authentication configuration
|
|
@@ -1102,7 +1102,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1102
1102
|
* @param options - additional request options
|
|
1103
1103
|
*/
|
|
1104
1104
|
get_mealplan(id, options) {
|
|
1105
|
-
return this.request(
|
|
1105
|
+
return this.request('mealplan', 'get_mealplan', 'get', `/mealplan/${id}`, null, options);
|
|
1106
1106
|
}
|
|
1107
1107
|
/**
|
|
1108
1108
|
* DELETE /mealplan/{id} - Delete a mealplan or a tender from the user's account
|
|
@@ -1112,7 +1112,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1112
1112
|
* @param options - additional request options
|
|
1113
1113
|
*/
|
|
1114
1114
|
delete_mealplan(id, body, options) {
|
|
1115
|
-
return this.request(
|
|
1115
|
+
return this.request('mealplan', 'delete_mealplan', 'delete', `/mealplan/${id}`, body, options);
|
|
1116
1116
|
}
|
|
1117
1117
|
/**
|
|
1118
1118
|
* POST /mealplan/{id}/callback - Callback endpoint for meal plans that make a call back from a webview workflow
|
|
@@ -1122,7 +1122,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1122
1122
|
* @param options - additional request options
|
|
1123
1123
|
*/
|
|
1124
1124
|
post_mealplan_callback(id, body, options) {
|
|
1125
|
-
return this.request(
|
|
1125
|
+
return this.request('mealplan', 'post_mealplan_callback', 'post', `/mealplan/${id}/callback`, body, options);
|
|
1126
1126
|
}
|
|
1127
1127
|
/**
|
|
1128
1128
|
* GET /mealplan/{id}/tender/{tender} - Check the user's tender balance
|
|
@@ -1132,7 +1132,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1132
1132
|
* @param options - additional request options
|
|
1133
1133
|
*/
|
|
1134
1134
|
get_mealplan_tender(id, tender, options) {
|
|
1135
|
-
return this.request(
|
|
1135
|
+
return this.request('mealplan', 'get_mealplan_tender', 'get', `/mealplan/${id}/tender/${tender}`, null, options);
|
|
1136
1136
|
}
|
|
1137
1137
|
/**
|
|
1138
1138
|
* DELETE /mealplan/{id}/tender/{tender} - Debit an amount from the tender balance
|
|
@@ -1143,7 +1143,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1143
1143
|
* @param options - additional request options
|
|
1144
1144
|
*/
|
|
1145
1145
|
delete_mealplan_tender(id, tender, body, options) {
|
|
1146
|
-
return this.request(
|
|
1146
|
+
return this.request('mealplan', 'delete_mealplan_tender', 'delete', `/mealplan/${id}/tender/${tender}`, body, options);
|
|
1147
1147
|
}
|
|
1148
1148
|
/**
|
|
1149
1149
|
* PATCH /mealplan/{id}/tender/{tender} - Refund an amount to the tender balance
|
|
@@ -1154,7 +1154,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1154
1154
|
* @param options - additional request options
|
|
1155
1155
|
*/
|
|
1156
1156
|
patch_mealplan_tender(id, tender, body, options) {
|
|
1157
|
-
return this.request(
|
|
1157
|
+
return this.request('mealplan', 'patch_mealplan_tender', 'patch', `/mealplan/${id}/tender/${tender}`, body, options);
|
|
1158
1158
|
}
|
|
1159
1159
|
/**
|
|
1160
1160
|
* POST /mealplan/{id}/verify - Send verification email to user linking a mealplan
|
|
@@ -1164,7 +1164,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1164
1164
|
* @param options - additional request options
|
|
1165
1165
|
*/
|
|
1166
1166
|
post_mealplan_verify(id, body, options) {
|
|
1167
|
-
return this.request(
|
|
1167
|
+
return this.request('mealplan', 'post_mealplan_verify', 'post', `/mealplan/${id}/verify`, body, options);
|
|
1168
1168
|
}
|
|
1169
1169
|
/**
|
|
1170
1170
|
* PUT /mealplan/{id}/verify - Verify email address using provided payload
|
|
@@ -1174,7 +1174,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1174
1174
|
* @param options - additional request options
|
|
1175
1175
|
*/
|
|
1176
1176
|
put_mealplan_verify(id, body, options) {
|
|
1177
|
-
return this.request(
|
|
1177
|
+
return this.request('mealplan', 'put_mealplan_verify', 'put', `/mealplan/${id}/verify`, body, options);
|
|
1178
1178
|
}
|
|
1179
1179
|
/**
|
|
1180
1180
|
* POST /mealplan/{id}/authorize - Authorize Transaction
|
|
@@ -1184,7 +1184,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1184
1184
|
* @param options - additional request options
|
|
1185
1185
|
*/
|
|
1186
1186
|
post_mealplan_authorize(id, body, options) {
|
|
1187
|
-
return this.request(
|
|
1187
|
+
return this.request('mealplan', 'post_mealplan_authorize', 'post', `/mealplan/${id}/authorize`, body, options);
|
|
1188
1188
|
}
|
|
1189
1189
|
/**
|
|
1190
1190
|
* POST /datalake/sql - Query datalake for data
|
|
@@ -1193,7 +1193,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1193
1193
|
* @param options - additional request options
|
|
1194
1194
|
*/
|
|
1195
1195
|
post_datalake_sql(body, options) {
|
|
1196
|
-
return this.request(
|
|
1196
|
+
return this.request('datalake', 'post_datalake_sql', 'post', `/datalake/sql`, body, options);
|
|
1197
1197
|
}
|
|
1198
1198
|
/**
|
|
1199
1199
|
* GET /swagger.json
|
|
@@ -1201,7 +1201,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1201
1201
|
* @param options - additional request options
|
|
1202
1202
|
*/
|
|
1203
1203
|
get_datalake_swagger(options) {
|
|
1204
|
-
return this.request(
|
|
1204
|
+
return this.request('datalake', 'get_datalake_swagger', 'get', `/swagger.json`, null, options);
|
|
1205
1205
|
}
|
|
1206
1206
|
/**
|
|
1207
1207
|
* POST /promo - Create a new promotion
|
|
@@ -1210,7 +1210,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1210
1210
|
* @param options - additional request options
|
|
1211
1211
|
*/
|
|
1212
1212
|
post_promo(body, options) {
|
|
1213
|
-
return this.request(
|
|
1213
|
+
return this.request('promo', 'post_promo', 'post', `/promo`, body, options);
|
|
1214
1214
|
}
|
|
1215
1215
|
/**
|
|
1216
1216
|
* GET /promo - Get all promotions
|
|
@@ -1218,7 +1218,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1218
1218
|
* @param options - additional request options
|
|
1219
1219
|
*/
|
|
1220
1220
|
get_promos(options) {
|
|
1221
|
-
return this.request(
|
|
1221
|
+
return this.request('promo', 'get_promos', 'get', `/promo`, null, options);
|
|
1222
1222
|
}
|
|
1223
1223
|
/**
|
|
1224
1224
|
* GET /promo/{id} - Get an individual promotion
|
|
@@ -1227,7 +1227,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1227
1227
|
* @param options - additional request options
|
|
1228
1228
|
*/
|
|
1229
1229
|
get_promo(id, options) {
|
|
1230
|
-
return this.request(
|
|
1230
|
+
return this.request('promo', 'get_promo', 'get', `/promo/${id}`, null, options);
|
|
1231
1231
|
}
|
|
1232
1232
|
/**
|
|
1233
1233
|
* PUT /promo/{id} - Update a promotion
|
|
@@ -1237,7 +1237,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1237
1237
|
* @param options - additional request options
|
|
1238
1238
|
*/
|
|
1239
1239
|
put_promo(id, body, options) {
|
|
1240
|
-
return this.request(
|
|
1240
|
+
return this.request('promo', 'put_promo', 'put', `/promo/${id}`, body, options);
|
|
1241
1241
|
}
|
|
1242
1242
|
/**
|
|
1243
1243
|
* DELETE /promo/{id} - Delete promotion
|
|
@@ -1246,7 +1246,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1246
1246
|
* @param options - additional request options
|
|
1247
1247
|
*/
|
|
1248
1248
|
delete_promo(id, options) {
|
|
1249
|
-
return this.request(
|
|
1249
|
+
return this.request('promo', 'delete_promo', 'delete', `/promo/${id}`, null, options);
|
|
1250
1250
|
}
|
|
1251
1251
|
/**
|
|
1252
1252
|
* GET /promo/company/{company}/location/group/{location_group} - Get all promotions within company for a location group
|
|
@@ -1256,7 +1256,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1256
1256
|
* @param options - additional request options
|
|
1257
1257
|
*/
|
|
1258
1258
|
get_promo_company_location_group(company, location_group, options) {
|
|
1259
|
-
return this.request(
|
|
1259
|
+
return this.request('promo', 'get_promo_company_location_group', 'get', `/promo/company/${company}/location/group/${location_group}`, null, options);
|
|
1260
1260
|
}
|
|
1261
1261
|
/**
|
|
1262
1262
|
* POST /promo/validate/voucher - Validate a promo voucher
|
|
@@ -1265,7 +1265,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1265
1265
|
* @param options - additional request options
|
|
1266
1266
|
*/
|
|
1267
1267
|
post_promo_validate_voucher(body, options) {
|
|
1268
|
-
return this.request(
|
|
1268
|
+
return this.request('promo', 'post_promo_validate_voucher', 'post', `/promo/validate/voucher`, body, options);
|
|
1269
1269
|
}
|
|
1270
1270
|
/**
|
|
1271
1271
|
* POST /promo/redeem/voucher - Redeem a promo voucher
|
|
@@ -1274,7 +1274,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1274
1274
|
* @param options - additional request options
|
|
1275
1275
|
*/
|
|
1276
1276
|
post_promo_redeem_voucher(body, options) {
|
|
1277
|
-
return this.request(
|
|
1277
|
+
return this.request('promo', 'post_promo_redeem_voucher', 'post', `/promo/redeem/voucher`, body, options);
|
|
1278
1278
|
}
|
|
1279
1279
|
/**
|
|
1280
1280
|
* POST /promo/voucher - Create new voucher
|
|
@@ -1283,7 +1283,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1283
1283
|
* @param options - additional request options
|
|
1284
1284
|
*/
|
|
1285
1285
|
post_promo_voucher(body, options) {
|
|
1286
|
-
return this.request(
|
|
1286
|
+
return this.request('promo', 'post_promo_voucher', 'post', `/promo/voucher`, body, options);
|
|
1287
1287
|
}
|
|
1288
1288
|
/**
|
|
1289
1289
|
* PUT /promo/voucher/{id} - Update voucher
|
|
@@ -1293,7 +1293,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1293
1293
|
* @param options - additional request options
|
|
1294
1294
|
*/
|
|
1295
1295
|
put_promo_voucher(id, body, options) {
|
|
1296
|
-
return this.request(
|
|
1296
|
+
return this.request('promo', 'put_promo_voucher', 'put', `/promo/voucher/${id}`, body, options);
|
|
1297
1297
|
}
|
|
1298
1298
|
/**
|
|
1299
1299
|
* DELETE /promo/voucher/{id} - Delete voucher
|
|
@@ -1302,7 +1302,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1302
1302
|
* @param options - additional request options
|
|
1303
1303
|
*/
|
|
1304
1304
|
delete_promo_voucher(id, options) {
|
|
1305
|
-
return this.request(
|
|
1305
|
+
return this.request('promo', 'delete_promo_voucher', 'delete', `/promo/voucher/${id}`, null, options);
|
|
1306
1306
|
}
|
|
1307
1307
|
/**
|
|
1308
1308
|
* POST /promo/customer - Add user to voucherify
|
|
@@ -1311,7 +1311,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1311
1311
|
* @param options - additional request options
|
|
1312
1312
|
*/
|
|
1313
1313
|
post_promo_customer(body, options) {
|
|
1314
|
-
return this.request(
|
|
1314
|
+
return this.request('promo', 'post_promo_customer', 'post', `/promo/customer`, body, options);
|
|
1315
1315
|
}
|
|
1316
1316
|
/**
|
|
1317
1317
|
* DELETE /promo/customer - Delete user from voucherify
|
|
@@ -1320,7 +1320,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1320
1320
|
* @param options - additional request options
|
|
1321
1321
|
*/
|
|
1322
1322
|
delete_promo_customer(body, options) {
|
|
1323
|
-
return this.request(
|
|
1323
|
+
return this.request('promo', 'delete_promo_customer', 'delete', `/promo/customer`, body, options);
|
|
1324
1324
|
}
|
|
1325
1325
|
/**
|
|
1326
1326
|
* POST /promo/voucher/{id}/reverse - Reverse a redemption from a promo voucher
|
|
@@ -1330,7 +1330,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1330
1330
|
* @param options - additional request options
|
|
1331
1331
|
*/
|
|
1332
1332
|
post_promo_voucher_reverse(id, body, options) {
|
|
1333
|
-
return this.request(
|
|
1333
|
+
return this.request('promo', 'post_promo_voucher_reverse', 'post', `/promo/voucher/${id}/reverse`, body, options);
|
|
1334
1334
|
}
|
|
1335
1335
|
/**
|
|
1336
1336
|
* POST /promo/voucherify/activity/execute - Execute a Journey custom Activity request
|
|
@@ -1339,7 +1339,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1339
1339
|
* @param options - additional request options
|
|
1340
1340
|
*/
|
|
1341
1341
|
post_promo_voucherify_activity_execute(body, options) {
|
|
1342
|
-
return this.request(
|
|
1342
|
+
return this.request('promo', 'post_promo_voucherify_activity_execute', 'post', `/promo/voucherify/activity/execute`, body, options);
|
|
1343
1343
|
}
|
|
1344
1344
|
/**
|
|
1345
1345
|
* GET /promo/voucherify/activity/config.json - Get SFMC Journey Custom Activity configuration
|
|
@@ -1347,7 +1347,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1347
1347
|
* @param options - additional request options
|
|
1348
1348
|
*/
|
|
1349
1349
|
get_promo_voucherify_activity_config(options) {
|
|
1350
|
-
return this.request(
|
|
1350
|
+
return this.request('promo', 'get_promo_voucherify_activity_config', 'get', `/promo/voucherify/activity/config.json`, null, options);
|
|
1351
1351
|
}
|
|
1352
1352
|
/**
|
|
1353
1353
|
* GET /config/appconfig - get appconfig - an object with data for clients including minimum versions apps (boost, thrive, J&J) should be running and a link to the respective app store
|
|
@@ -1355,7 +1355,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1355
1355
|
* @param options - additional request options
|
|
1356
1356
|
*/
|
|
1357
1357
|
get_config_appconfig(options) {
|
|
1358
|
-
return this.request(
|
|
1358
|
+
return this.request('config', 'get_config_appconfig', 'get', `/config/appconfig`, null, options);
|
|
1359
1359
|
}
|
|
1360
1360
|
/**
|
|
1361
1361
|
* GET /config/{key} - get a configuration
|
|
@@ -1364,7 +1364,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1364
1364
|
* @param options - additional request options
|
|
1365
1365
|
*/
|
|
1366
1366
|
get_config(key, options) {
|
|
1367
|
-
return this.request(
|
|
1367
|
+
return this.request('config', 'get_config', 'get', `/config/${key}`, null, options);
|
|
1368
1368
|
}
|
|
1369
1369
|
/**
|
|
1370
1370
|
* POST /config/{key} - Create a configuration
|
|
@@ -1374,7 +1374,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1374
1374
|
* @param options - additional request options
|
|
1375
1375
|
*/
|
|
1376
1376
|
post_config(key, body, options) {
|
|
1377
|
-
return this.request(
|
|
1377
|
+
return this.request('config', 'post_config', 'post', `/config/${key}`, body, options);
|
|
1378
1378
|
}
|
|
1379
1379
|
/**
|
|
1380
1380
|
* PUT /config/{key} - Update a configuration
|
|
@@ -1384,7 +1384,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1384
1384
|
* @param options - additional request options
|
|
1385
1385
|
*/
|
|
1386
1386
|
put_config(key, body, options) {
|
|
1387
|
-
return this.request(
|
|
1387
|
+
return this.request('config', 'put_config', 'put', `/config/${key}`, body, options);
|
|
1388
1388
|
}
|
|
1389
1389
|
/**
|
|
1390
1390
|
* DELETE /config/{key} - Delete a configuration
|
|
@@ -1393,7 +1393,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1393
1393
|
* @param options - additional request options
|
|
1394
1394
|
*/
|
|
1395
1395
|
delete_config(key, options) {
|
|
1396
|
-
return this.request(
|
|
1396
|
+
return this.request('config', 'delete_config', 'delete', `/config/${key}`, null, options);
|
|
1397
1397
|
}
|
|
1398
1398
|
/**
|
|
1399
1399
|
* GET /config/public/{key} - get a public configuration
|
|
@@ -1402,7 +1402,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1402
1402
|
* @param options - additional request options
|
|
1403
1403
|
*/
|
|
1404
1404
|
get_config_public(key, options) {
|
|
1405
|
-
return this.request(
|
|
1405
|
+
return this.request('config', 'get_config_public', 'get', `/config/public/${key}`, null, options);
|
|
1406
1406
|
}
|
|
1407
1407
|
/**
|
|
1408
1408
|
* POST /config/public/{key} - Create a public configuration
|
|
@@ -1412,7 +1412,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1412
1412
|
* @param options - additional request options
|
|
1413
1413
|
*/
|
|
1414
1414
|
post_config_public(key, body, options) {
|
|
1415
|
-
return this.request(
|
|
1415
|
+
return this.request('config', 'post_config_public', 'post', `/config/public/${key}`, body, options);
|
|
1416
1416
|
}
|
|
1417
1417
|
/**
|
|
1418
1418
|
* PUT /config/public/{key} - Update a public configuration
|
|
@@ -1422,7 +1422,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1422
1422
|
* @param options - additional request options
|
|
1423
1423
|
*/
|
|
1424
1424
|
put_config_public(key, body, options) {
|
|
1425
|
-
return this.request(
|
|
1425
|
+
return this.request('config', 'put_config_public', 'put', `/config/public/${key}`, body, options);
|
|
1426
1426
|
}
|
|
1427
1427
|
/**
|
|
1428
1428
|
* DELETE /config/public/{key} - Delete a public configuration
|
|
@@ -1431,7 +1431,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1431
1431
|
* @param options - additional request options
|
|
1432
1432
|
*/
|
|
1433
1433
|
delete_config_public(key, options) {
|
|
1434
|
-
return this.request(
|
|
1434
|
+
return this.request('config', 'delete_config_public', 'delete', `/config/public/${key}`, null, options);
|
|
1435
1435
|
}
|
|
1436
1436
|
/**
|
|
1437
1437
|
* POST /announcement - Create Announcement
|
|
@@ -1440,7 +1440,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1440
1440
|
* @param options - additional request options
|
|
1441
1441
|
*/
|
|
1442
1442
|
post_announcement(body, options) {
|
|
1443
|
-
return this.request(
|
|
1443
|
+
return this.request('announcement', 'post_announcement', 'post', `/announcement`, body, options);
|
|
1444
1444
|
}
|
|
1445
1445
|
/**
|
|
1446
1446
|
* GET /announcement/resource/{id} - Get Announcements
|
|
@@ -1449,7 +1449,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1449
1449
|
* @param options - additional request options
|
|
1450
1450
|
*/
|
|
1451
1451
|
get_announcement_resource(id, options) {
|
|
1452
|
-
return this.request(
|
|
1452
|
+
return this.request('announcement', 'get_announcement_resource', 'get', `/announcement/resource/${id}`, null, options);
|
|
1453
1453
|
}
|
|
1454
1454
|
/**
|
|
1455
1455
|
* GET /announcement/resource - Get Announcements
|
|
@@ -1457,7 +1457,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1457
1457
|
* @param options - additional request options
|
|
1458
1458
|
*/
|
|
1459
1459
|
get_announcement_resources(options) {
|
|
1460
|
-
return this.request(
|
|
1460
|
+
return this.request('announcement', 'get_announcement_resources', 'get', `/announcement/resource`, null, options);
|
|
1461
1461
|
}
|
|
1462
1462
|
/**
|
|
1463
1463
|
* GET /announcement/{id} - Get Announcement
|
|
@@ -1466,7 +1466,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1466
1466
|
* @param options - additional request options
|
|
1467
1467
|
*/
|
|
1468
1468
|
get_announcement(id, options) {
|
|
1469
|
-
return this.request(
|
|
1469
|
+
return this.request('announcement', 'get_announcement', 'get', `/announcement/${id}`, null, options);
|
|
1470
1470
|
}
|
|
1471
1471
|
/**
|
|
1472
1472
|
* PUT /announcement/{id} - Update Announcement
|
|
@@ -1476,7 +1476,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1476
1476
|
* @param options - additional request options
|
|
1477
1477
|
*/
|
|
1478
1478
|
put_announcement(id, body, options) {
|
|
1479
|
-
return this.request(
|
|
1479
|
+
return this.request('announcement', 'put_announcement', 'put', `/announcement/${id}`, body, options);
|
|
1480
1480
|
}
|
|
1481
1481
|
/**
|
|
1482
1482
|
* DELETE /announcement/{id} - Delete announcement item
|
|
@@ -1485,7 +1485,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1485
1485
|
* @param options - additional request options
|
|
1486
1486
|
*/
|
|
1487
1487
|
delete_announcement(id, options) {
|
|
1488
|
-
return this.request(
|
|
1488
|
+
return this.request('announcement', 'delete_announcement', 'delete', `/announcement/${id}`, null, options);
|
|
1489
1489
|
}
|
|
1490
1490
|
/**
|
|
1491
1491
|
* GET /report/analytics/group/{location_group}/{report_type}
|
|
@@ -1495,7 +1495,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1495
1495
|
* @param options - additional request options
|
|
1496
1496
|
*/
|
|
1497
1497
|
get_report_analytics_group(location_group, report_type, options) {
|
|
1498
|
-
return this.request(
|
|
1498
|
+
return this.request('report', 'get_report_analytics_group', 'get', `/report/analytics/group/${location_group}/${report_type}`, null, options);
|
|
1499
1499
|
}
|
|
1500
1500
|
/**
|
|
1501
1501
|
* GET /report/analytics/combined/group/{location_group}
|
|
@@ -1504,7 +1504,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1504
1504
|
* @param options - additional request options
|
|
1505
1505
|
*/
|
|
1506
1506
|
get_report_analytics_combined_group(location_group, options) {
|
|
1507
|
-
return this.request(
|
|
1507
|
+
return this.request('report', 'get_report_analytics_combined_group', 'get', `/report/analytics/combined/group/${location_group}`, null, options);
|
|
1508
1508
|
}
|
|
1509
1509
|
/**
|
|
1510
1510
|
* GET /report/eod/group/{id} - Get reports for selected location group
|
|
@@ -1513,7 +1513,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1513
1513
|
* @param options - additional request options
|
|
1514
1514
|
*/
|
|
1515
1515
|
get_report_eod_group(id, options) {
|
|
1516
|
-
return this.request(
|
|
1516
|
+
return this.request('report', 'get_report_eod_group', 'get', `/report/eod/group/${id}`, null, options);
|
|
1517
1517
|
}
|
|
1518
1518
|
/**
|
|
1519
1519
|
* GET /report/eod/group/{id}/subscribers - Get reports for selected location group
|
|
@@ -1522,7 +1522,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1522
1522
|
* @param options - additional request options
|
|
1523
1523
|
*/
|
|
1524
1524
|
get_report_eod_group_subscribers(id, options) {
|
|
1525
|
-
return this.request(
|
|
1525
|
+
return this.request('report', 'get_report_eod_group_subscribers', 'get', `/report/eod/group/${id}/subscribers`, null, options);
|
|
1526
1526
|
}
|
|
1527
1527
|
/**
|
|
1528
1528
|
* POST /report/eod/group/{id}/subscribers - Add emails to selected location group
|
|
@@ -1532,7 +1532,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1532
1532
|
* @param options - additional request options
|
|
1533
1533
|
*/
|
|
1534
1534
|
post_report_eod_group_subscribers(id, body, options) {
|
|
1535
|
-
return this.request(
|
|
1535
|
+
return this.request('report', 'post_report_eod_group_subscribers', 'post', `/report/eod/group/${id}/subscribers`, body, options);
|
|
1536
1536
|
}
|
|
1537
1537
|
/**
|
|
1538
1538
|
* DELETE /report/eod/group/{id}/subscribers - deletes subscribers from selected group
|
|
@@ -1541,7 +1541,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1541
1541
|
* @param options - additional request options
|
|
1542
1542
|
*/
|
|
1543
1543
|
delete_report_eod_group_subscribers(id, options) {
|
|
1544
|
-
return this.request(
|
|
1544
|
+
return this.request('report', 'delete_report_eod_group_subscribers', 'delete', `/report/eod/group/${id}/subscribers`, null, options);
|
|
1545
1545
|
}
|
|
1546
1546
|
/**
|
|
1547
1547
|
* PUT /report/eod/group/{id}/subscribers - replace all subscribers from selected location group with payload
|
|
@@ -1551,7 +1551,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1551
1551
|
* @param options - additional request options
|
|
1552
1552
|
*/
|
|
1553
1553
|
put_report_eod_group_subscribers(id, body, options) {
|
|
1554
|
-
return this.request(
|
|
1554
|
+
return this.request('report', 'put_report_eod_group_subscribers', 'put', `/report/eod/group/${id}/subscribers`, body, options);
|
|
1555
1555
|
}
|
|
1556
1556
|
/**
|
|
1557
1557
|
* GET /report/eod/group/{id}/items - Get items sales report for selected location group
|
|
@@ -1560,7 +1560,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1560
1560
|
* @param options - additional request options
|
|
1561
1561
|
*/
|
|
1562
1562
|
get_report_eod_group_items(id, options) {
|
|
1563
|
-
return this.request(
|
|
1563
|
+
return this.request('report', 'get_report_eod_group_items', 'get', `/report/eod/group/${id}/items`, null, options);
|
|
1564
1564
|
}
|
|
1565
1565
|
/**
|
|
1566
1566
|
* PUT /report/group/{location_group}/config - Update report configuration for a location group. Times are in UTC.
|
|
@@ -1570,7 +1570,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1570
1570
|
* @param options - additional request options
|
|
1571
1571
|
*/
|
|
1572
1572
|
put_report_group_config(location_group, body, options) {
|
|
1573
|
-
return this.request(
|
|
1573
|
+
return this.request('report', 'put_report_group_config', 'put', `/report/group/${location_group}/config`, body, options);
|
|
1574
1574
|
}
|
|
1575
1575
|
/**
|
|
1576
1576
|
* GET /report/group/{location_group}/config - Get report configuration for a location group. Times are in UTC.
|
|
@@ -1579,7 +1579,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1579
1579
|
* @param options - additional request options
|
|
1580
1580
|
*/
|
|
1581
1581
|
get_report_group_config(location_group, options) {
|
|
1582
|
-
return this.request(
|
|
1582
|
+
return this.request('report', 'get_report_group_config', 'get', `/report/group/${location_group}/config`, null, options);
|
|
1583
1583
|
}
|
|
1584
1584
|
/**
|
|
1585
1585
|
* DELETE /report/group/{location_group}/config - Delete report configuration for a location group
|
|
@@ -1588,7 +1588,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1588
1588
|
* @param options - additional request options
|
|
1589
1589
|
*/
|
|
1590
1590
|
delete_report_group_config(location_group, options) {
|
|
1591
|
-
return this.request(
|
|
1591
|
+
return this.request('report', 'delete_report_group_config', 'delete', `/report/group/${location_group}/config`, null, options);
|
|
1592
1592
|
}
|
|
1593
1593
|
/**
|
|
1594
1594
|
* GET /report/group/{location_group}/config/default - Get default report configuration for a location group. Times are in UTC.
|
|
@@ -1597,7 +1597,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1597
1597
|
* @param options - additional request options
|
|
1598
1598
|
*/
|
|
1599
1599
|
get_report_group_config_default(location_group, options) {
|
|
1600
|
-
return this.request(
|
|
1600
|
+
return this.request('report', 'get_report_group_config_default', 'get', `/report/group/${location_group}/config/default`, null, options);
|
|
1601
1601
|
}
|
|
1602
1602
|
/**
|
|
1603
1603
|
* GET /user/auth - Gets the JWT token for a user
|
|
@@ -1605,7 +1605,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1605
1605
|
* @param options - additional request options
|
|
1606
1606
|
*/
|
|
1607
1607
|
get_user_auth(options) {
|
|
1608
|
-
return this.request(
|
|
1608
|
+
return this.request('user', 'get_user_auth', 'get', `/user/auth`, null, options);
|
|
1609
1609
|
}
|
|
1610
1610
|
/**
|
|
1611
1611
|
* POST /user/auth - Use refresh token to generate a new access token and refresh token
|
|
@@ -1614,7 +1614,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1614
1614
|
* @param options - additional request options
|
|
1615
1615
|
*/
|
|
1616
1616
|
post_user_auth(body, options) {
|
|
1617
|
-
return this.request(
|
|
1617
|
+
return this.request('user', 'post_user_auth', 'post', `/user/auth`, body, options);
|
|
1618
1618
|
}
|
|
1619
1619
|
/**
|
|
1620
1620
|
* POST /user/oauth - Fetches a jwt token containing a compass token
|
|
@@ -1623,7 +1623,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1623
1623
|
* @param options - additional request options
|
|
1624
1624
|
*/
|
|
1625
1625
|
post_user_oauth(body, options) {
|
|
1626
|
-
return this.request(
|
|
1626
|
+
return this.request('user', 'post_user_oauth', 'post', `/user/oauth`, body, options);
|
|
1627
1627
|
}
|
|
1628
1628
|
/**
|
|
1629
1629
|
* POST /user/zendesk - Get Zendesk JWT token to allow web widget to search restricted articles
|
|
@@ -1632,7 +1632,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1632
1632
|
* @param options - additional request options
|
|
1633
1633
|
*/
|
|
1634
1634
|
post_user_zendesk(body, options) {
|
|
1635
|
-
return this.request(
|
|
1635
|
+
return this.request('user', 'post_user_zendesk', 'post', `/user/zendesk`, body, options);
|
|
1636
1636
|
}
|
|
1637
1637
|
/**
|
|
1638
1638
|
* POST /user - Create an User
|
|
@@ -1641,7 +1641,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1641
1641
|
* @param options - additional request options
|
|
1642
1642
|
*/
|
|
1643
1643
|
post_user(body, options) {
|
|
1644
|
-
return this.request(
|
|
1644
|
+
return this.request('user', 'post_user', 'post', `/user`, body, options);
|
|
1645
1645
|
}
|
|
1646
1646
|
/**
|
|
1647
1647
|
* GET /user/{id} - Get an individual user
|
|
@@ -1650,7 +1650,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1650
1650
|
* @param options - additional request options
|
|
1651
1651
|
*/
|
|
1652
1652
|
get_user(id, options) {
|
|
1653
|
-
return this.request(
|
|
1653
|
+
return this.request('user', 'get_user', 'get', `/user/${id}`, null, options);
|
|
1654
1654
|
}
|
|
1655
1655
|
/**
|
|
1656
1656
|
* PUT /user/{id} - Update an individual user
|
|
@@ -1660,7 +1660,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1660
1660
|
* @param options - additional request options
|
|
1661
1661
|
*/
|
|
1662
1662
|
put_user(id, body, options) {
|
|
1663
|
-
return this.request(
|
|
1663
|
+
return this.request('user', 'put_user', 'put', `/user/${id}`, body, options);
|
|
1664
1664
|
}
|
|
1665
1665
|
/**
|
|
1666
1666
|
* PATCH /user/{id} - Update an individual user
|
|
@@ -1670,7 +1670,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1670
1670
|
* @param options - additional request options
|
|
1671
1671
|
*/
|
|
1672
1672
|
patch_user(id, body, options) {
|
|
1673
|
-
return this.request(
|
|
1673
|
+
return this.request('user', 'patch_user', 'patch', `/user/${id}`, body, options);
|
|
1674
1674
|
}
|
|
1675
1675
|
/**
|
|
1676
1676
|
* DELETE /user/{id} - delete an individual user
|
|
@@ -1679,7 +1679,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1679
1679
|
* @param options - additional request options
|
|
1680
1680
|
*/
|
|
1681
1681
|
delete_user(id, options) {
|
|
1682
|
-
return this.request(
|
|
1682
|
+
return this.request('user', 'delete_user', 'delete', `/user/${id}`, null, options);
|
|
1683
1683
|
}
|
|
1684
1684
|
/**
|
|
1685
1685
|
* POST /user/device/auth - Endpoint for generating/retrieving KDS device token
|
|
@@ -1688,7 +1688,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1688
1688
|
* @param options - additional request options
|
|
1689
1689
|
*/
|
|
1690
1690
|
post_user_kds_token(body, options) {
|
|
1691
|
-
return this.request(
|
|
1691
|
+
return this.request('user', 'post_user_kds_token', 'post', `/user/device/auth`, body, options);
|
|
1692
1692
|
}
|
|
1693
1693
|
/**
|
|
1694
1694
|
* GET /user/device/auth - Endpoint retrieving KDS device token
|
|
@@ -1696,7 +1696,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1696
1696
|
* @param options - additional request options
|
|
1697
1697
|
*/
|
|
1698
1698
|
get_user_kds_token(options) {
|
|
1699
|
-
return this.request(
|
|
1699
|
+
return this.request('user', 'get_user_kds_token', 'get', `/user/device/auth`, null, options);
|
|
1700
1700
|
}
|
|
1701
1701
|
/**
|
|
1702
1702
|
* DELETE /user/device/auth/{device_id} - Endpoint for deleting a device by specified device_id
|
|
@@ -1705,7 +1705,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1705
1705
|
* @param options - additional request options
|
|
1706
1706
|
*/
|
|
1707
1707
|
delete_user_device_auth(device_id, options) {
|
|
1708
|
-
return this.request(
|
|
1708
|
+
return this.request('user', 'delete_user_device_auth', 'delete', `/user/device/auth/${device_id}`, null, options);
|
|
1709
1709
|
}
|
|
1710
1710
|
/**
|
|
1711
1711
|
* PATCH /user/device/auth/{device_id} - Endpoint for authorizing device to retrieve valid kds token
|
|
@@ -1715,7 +1715,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1715
1715
|
* @param options - additional request options
|
|
1716
1716
|
*/
|
|
1717
1717
|
patch_user_auth_kds(device_id, body, options) {
|
|
1718
|
-
return this.request(
|
|
1718
|
+
return this.request('user', 'patch_user_auth_kds', 'patch', `/user/device/auth/${device_id}`, body, options);
|
|
1719
1719
|
}
|
|
1720
1720
|
/**
|
|
1721
1721
|
* POST /user/{id}/changepassword - Change the users password
|
|
@@ -1725,7 +1725,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1725
1725
|
* @param options - additional request options
|
|
1726
1726
|
*/
|
|
1727
1727
|
post_user_change_password(id, body, options) {
|
|
1728
|
-
return this.request(
|
|
1728
|
+
return this.request('user', 'post_user_change_password', 'post', `/user/${id}/changepassword`, body, options);
|
|
1729
1729
|
}
|
|
1730
1730
|
/**
|
|
1731
1731
|
* DELETE /user/logout - Logs out current user
|
|
@@ -1733,7 +1733,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1733
1733
|
* @param options - additional request options
|
|
1734
1734
|
*/
|
|
1735
1735
|
delete_user_logout(options) {
|
|
1736
|
-
return this.request(
|
|
1736
|
+
return this.request('user', 'delete_user_logout', 'delete', `/user/logout`, null, options);
|
|
1737
1737
|
}
|
|
1738
1738
|
/**
|
|
1739
1739
|
* POST /user/{id}/secret/{key} - Add a secret key
|
|
@@ -1744,7 +1744,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1744
1744
|
* @param options - additional request options
|
|
1745
1745
|
*/
|
|
1746
1746
|
post_user_add_secret(id, key, body, options) {
|
|
1747
|
-
return this.request(
|
|
1747
|
+
return this.request('user', 'post_user_add_secret', 'post', `/user/${id}/secret/${key}`, body, options);
|
|
1748
1748
|
}
|
|
1749
1749
|
/**
|
|
1750
1750
|
* GET /user/{id}/secret/{key} - Get back a secret key
|
|
@@ -1754,7 +1754,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1754
1754
|
* @param options - additional request options
|
|
1755
1755
|
*/
|
|
1756
1756
|
get_user_secret(id, key, options) {
|
|
1757
|
-
return this.request(
|
|
1757
|
+
return this.request('user', 'get_user_secret', 'get', `/user/${id}/secret/${key}`, null, options);
|
|
1758
1758
|
}
|
|
1759
1759
|
/**
|
|
1760
1760
|
* POST /user/forgotpassword - Reset the users password
|
|
@@ -1763,7 +1763,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1763
1763
|
* @param options - additional request options
|
|
1764
1764
|
*/
|
|
1765
1765
|
post_user_reset_password(body, options) {
|
|
1766
|
-
return this.request(
|
|
1766
|
+
return this.request('user', 'post_user_reset_password', 'post', `/user/forgotpassword`, body, options);
|
|
1767
1767
|
}
|
|
1768
1768
|
/**
|
|
1769
1769
|
* POST /user/{id}/resetpassword - Reset the users password using a reset token
|
|
@@ -1773,7 +1773,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1773
1773
|
* @param options - additional request options
|
|
1774
1774
|
*/
|
|
1775
1775
|
post_user_reset_password_token(id, body, options) {
|
|
1776
|
-
return this.request(
|
|
1776
|
+
return this.request('user', 'post_user_reset_password_token', 'post', `/user/${id}/resetpassword`, body, options);
|
|
1777
1777
|
}
|
|
1778
1778
|
/**
|
|
1779
1779
|
* GET /user/realm/{realm} - Get all the users in a realm
|
|
@@ -1782,7 +1782,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1782
1782
|
* @param options - additional request options
|
|
1783
1783
|
*/
|
|
1784
1784
|
get_user_realm_users(realm, options) {
|
|
1785
|
-
return this.request(
|
|
1785
|
+
return this.request('user', 'get_user_realm_users', 'get', `/user/realm/${realm}`, null, options);
|
|
1786
1786
|
}
|
|
1787
1787
|
/**
|
|
1788
1788
|
* GET /user/{id}/permissions - Get user permissions
|
|
@@ -1791,7 +1791,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1791
1791
|
* @param options - additional request options
|
|
1792
1792
|
*/
|
|
1793
1793
|
get_user_permissions(id, options) {
|
|
1794
|
-
return this.request(
|
|
1794
|
+
return this.request('user', 'get_user_permissions', 'get', `/user/${id}/permissions`, null, options);
|
|
1795
1795
|
}
|
|
1796
1796
|
/**
|
|
1797
1797
|
* PUT /user/{id}/permissions - Update user permissions
|
|
@@ -1801,7 +1801,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1801
1801
|
* @param options - additional request options
|
|
1802
1802
|
*/
|
|
1803
1803
|
put_user_permissions(id, body, options) {
|
|
1804
|
-
return this.request(
|
|
1804
|
+
return this.request('user', 'put_user_permissions', 'put', `/user/${id}/permissions`, body, options);
|
|
1805
1805
|
}
|
|
1806
1806
|
/**
|
|
1807
1807
|
* POST /user/{id}/checkin - Create check-in for user
|
|
@@ -1811,7 +1811,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1811
1811
|
* @param options - additional request options
|
|
1812
1812
|
*/
|
|
1813
1813
|
post_user_check_in(id, body, options) {
|
|
1814
|
-
return this.request(
|
|
1814
|
+
return this.request('user', 'post_user_check_in', 'post', `/user/${id}/checkin`, body, options);
|
|
1815
1815
|
}
|
|
1816
1816
|
/**
|
|
1817
1817
|
* GET /user/checkin/search - Search check-in
|
|
@@ -1819,7 +1819,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1819
1819
|
* @param options - additional request options
|
|
1820
1820
|
*/
|
|
1821
1821
|
get_user_search_check_in(options) {
|
|
1822
|
-
return this.request(
|
|
1822
|
+
return this.request('user', 'get_user_search_check_in', 'get', `/user/checkin/search`, null, options);
|
|
1823
1823
|
}
|
|
1824
1824
|
/**
|
|
1825
1825
|
* POST /user/{id}/verification - Send email verification to user
|
|
@@ -1828,7 +1828,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1828
1828
|
* @param options - additional request options
|
|
1829
1829
|
*/
|
|
1830
1830
|
post_user_send_email_verification(id, options) {
|
|
1831
|
-
return this.request(
|
|
1831
|
+
return this.request('user', 'post_user_send_email_verification', 'post', `/user/${id}/verification`, null, options);
|
|
1832
1832
|
}
|
|
1833
1833
|
/**
|
|
1834
1834
|
* PUT /user/{id}/verification/confirm - Verify a users email
|
|
@@ -1838,7 +1838,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1838
1838
|
* @param options - additional request options
|
|
1839
1839
|
*/
|
|
1840
1840
|
put_user_verify_user_email(id, body, options) {
|
|
1841
|
-
return this.request(
|
|
1841
|
+
return this.request('user', 'put_user_verify_user_email', 'put', `/user/${id}/verification/confirm`, body, options);
|
|
1842
1842
|
}
|
|
1843
1843
|
/**
|
|
1844
1844
|
* POST /user/guest - Creates a guest user
|
|
@@ -1847,7 +1847,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1847
1847
|
* @param options - additional request options
|
|
1848
1848
|
*/
|
|
1849
1849
|
post_user_guest_user(body, options) {
|
|
1850
|
-
return this.request(
|
|
1850
|
+
return this.request('user', 'post_user_guest_user', 'post', `/user/guest`, body, options);
|
|
1851
1851
|
}
|
|
1852
1852
|
/**
|
|
1853
1853
|
* POST /user/guest/token - Creates a temporary guest token
|
|
@@ -1856,7 +1856,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1856
1856
|
* @param options - additional request options
|
|
1857
1857
|
*/
|
|
1858
1858
|
post_user_guest_token(body, options) {
|
|
1859
|
-
return this.request(
|
|
1859
|
+
return this.request('user', 'post_user_guest_token', 'post', `/user/guest/token`, body, options);
|
|
1860
1860
|
}
|
|
1861
1861
|
/**
|
|
1862
1862
|
* POST /user/looker/embedurl - Create looker embed url
|
|
@@ -1865,7 +1865,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1865
1865
|
* @param options - additional request options
|
|
1866
1866
|
*/
|
|
1867
1867
|
post_user_embedurl(body, options) {
|
|
1868
|
-
return this.request(
|
|
1868
|
+
return this.request('user', 'post_user_embedurl', 'post', `/user/looker/embedurl`, body, options);
|
|
1869
1869
|
}
|
|
1870
1870
|
/**
|
|
1871
1871
|
* GET /user/profile - Returns user profile with limited information
|
|
@@ -1873,7 +1873,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1873
1873
|
* @param options - additional request options
|
|
1874
1874
|
*/
|
|
1875
1875
|
get_user_profile(options) {
|
|
1876
|
-
return this.request(
|
|
1876
|
+
return this.request('user', 'get_user_profile', 'get', `/user/profile`, null, options);
|
|
1877
1877
|
}
|
|
1878
1878
|
/**
|
|
1879
1879
|
* GET /calendar/{id}
|
|
@@ -1882,7 +1882,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1882
1882
|
* @param options - additional request options
|
|
1883
1883
|
*/
|
|
1884
1884
|
get_calendar(id, options) {
|
|
1885
|
-
return this.request(
|
|
1885
|
+
return this.request('calendar', 'get_calendar', 'get', `/calendar/${id}`, null, options);
|
|
1886
1886
|
}
|
|
1887
1887
|
/**
|
|
1888
1888
|
* PUT /calendar/{id} - Set the calendar for an id. Overrides previous record
|
|
@@ -1892,7 +1892,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1892
1892
|
* @param options - additional request options
|
|
1893
1893
|
*/
|
|
1894
1894
|
put_calendar(id, body, options) {
|
|
1895
|
-
return this.request(
|
|
1895
|
+
return this.request('calendar', 'put_calendar', 'put', `/calendar/${id}`, body, options);
|
|
1896
1896
|
}
|
|
1897
1897
|
/**
|
|
1898
1898
|
* DELETE /calendar/{id} - Delete a calendar.
|
|
@@ -1901,7 +1901,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1901
1901
|
* @param options - additional request options
|
|
1902
1902
|
*/
|
|
1903
1903
|
delete_calendar(id, options) {
|
|
1904
|
-
return this.request(
|
|
1904
|
+
return this.request('calendar', 'delete_calendar', 'delete', `/calendar/${id}`, null, options);
|
|
1905
1905
|
}
|
|
1906
1906
|
/**
|
|
1907
1907
|
* GET /calendar/{id}/cdl - Get the calendar events in a CDL compatible format for next 7 days
|
|
@@ -1910,7 +1910,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1910
1910
|
* @param options - additional request options
|
|
1911
1911
|
*/
|
|
1912
1912
|
get_calendar_cdl(id, options) {
|
|
1913
|
-
return this.request(
|
|
1913
|
+
return this.request('calendar', 'get_calendar_cdl', 'get', `/calendar/${id}/cdl`, null, options);
|
|
1914
1914
|
}
|
|
1915
1915
|
/**
|
|
1916
1916
|
* GET /calendar/swagger.json
|
|
@@ -1918,7 +1918,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1918
1918
|
* @param options - additional request options
|
|
1919
1919
|
*/
|
|
1920
1920
|
get_calendar_swagger(options) {
|
|
1921
|
-
return this.request(
|
|
1921
|
+
return this.request('calendar', 'get_calendar_swagger', 'get', `/calendar/swagger.json`, null, options);
|
|
1922
1922
|
}
|
|
1923
1923
|
/**
|
|
1924
1924
|
* POST /calendar/{id}/sync - Trigger synchronization of calendar to location API
|
|
@@ -1927,7 +1927,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1927
1927
|
* @param options - additional request options
|
|
1928
1928
|
*/
|
|
1929
1929
|
post_calendar_sync(id, options) {
|
|
1930
|
-
return this.request(
|
|
1930
|
+
return this.request('calendar', 'post_calendar_sync', 'post', `/calendar/${id}/sync`, null, options);
|
|
1931
1931
|
}
|
|
1932
1932
|
/**
|
|
1933
1933
|
* POST /file - Upload a file to CDL S3
|
|
@@ -1936,7 +1936,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1936
1936
|
* @param options - additional request options
|
|
1937
1937
|
*/
|
|
1938
1938
|
post_file(body, options) {
|
|
1939
|
-
return this.request(
|
|
1939
|
+
return this.request('file', 'post_file', 'post', `/file`, body, options);
|
|
1940
1940
|
}
|
|
1941
1941
|
/**
|
|
1942
1942
|
* DELETE /file - Delete a file from CDL S3
|
|
@@ -1945,7 +1945,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1945
1945
|
* @param options - additional request options
|
|
1946
1946
|
*/
|
|
1947
1947
|
delete_file(body, options) {
|
|
1948
|
-
return this.request(
|
|
1948
|
+
return this.request('file', 'delete_file', 'delete', `/file`, body, options);
|
|
1949
1949
|
}
|
|
1950
1950
|
/**
|
|
1951
1951
|
* GET /menu/client/{client_id} - Get menu client
|
|
@@ -1954,7 +1954,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1954
1954
|
* @param options - additional request options
|
|
1955
1955
|
*/
|
|
1956
1956
|
get_menu_client(client_id, options) {
|
|
1957
|
-
return this.request(
|
|
1957
|
+
return this.request('menu', 'get_menu_client', 'get', `/menu/client/${client_id}`, null, options);
|
|
1958
1958
|
}
|
|
1959
1959
|
/**
|
|
1960
1960
|
* GET /menu - Get Menus or search for Menus
|
|
@@ -1962,7 +1962,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1962
1962
|
* @param options - additional request options
|
|
1963
1963
|
*/
|
|
1964
1964
|
get_menus(options) {
|
|
1965
|
-
return this.request(
|
|
1965
|
+
return this.request('menu', 'get_menus', 'get', `/menu`, null, options);
|
|
1966
1966
|
}
|
|
1967
1967
|
/**
|
|
1968
1968
|
* POST /menu - Create a new Menu
|
|
@@ -1971,7 +1971,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1971
1971
|
* @param options - additional request options
|
|
1972
1972
|
*/
|
|
1973
1973
|
create_menu(body, options) {
|
|
1974
|
-
return this.request(
|
|
1974
|
+
return this.request('menu', 'create_menu', 'post', `/menu`, body, options);
|
|
1975
1975
|
}
|
|
1976
1976
|
/**
|
|
1977
1977
|
* HEAD /menu/{id} - Get an individual Menu
|
|
@@ -1980,7 +1980,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1980
1980
|
* @param options - additional request options
|
|
1981
1981
|
*/
|
|
1982
1982
|
get_menu_headers(id, options) {
|
|
1983
|
-
return this.request(
|
|
1983
|
+
return this.request('menu', 'get_menu_headers', 'head', `/menu/${id}`, null, options);
|
|
1984
1984
|
}
|
|
1985
1985
|
/**
|
|
1986
1986
|
* GET /menu/{id} - Get an individual Menu
|
|
@@ -1989,7 +1989,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1989
1989
|
* @param options - additional request options
|
|
1990
1990
|
*/
|
|
1991
1991
|
get_menu(id, options) {
|
|
1992
|
-
return this.request(
|
|
1992
|
+
return this.request('menu', 'get_menu', 'get', `/menu/${id}`, null, options);
|
|
1993
1993
|
}
|
|
1994
1994
|
/**
|
|
1995
1995
|
* PUT /menu/{id} - Override a complete Menu
|
|
@@ -1999,7 +1999,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
1999
1999
|
* @param options - additional request options
|
|
2000
2000
|
*/
|
|
2001
2001
|
update_menu(id, body, options) {
|
|
2002
|
-
return this.request(
|
|
2002
|
+
return this.request('menu', 'update_menu', 'put', `/menu/${id}`, body, options);
|
|
2003
2003
|
}
|
|
2004
2004
|
/**
|
|
2005
2005
|
* DELETE /menu/{id} - Delete a Menu
|
|
@@ -2008,7 +2008,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2008
2008
|
* @param options - additional request options
|
|
2009
2009
|
*/
|
|
2010
2010
|
delete_menu(id, options) {
|
|
2011
|
-
return this.request(
|
|
2011
|
+
return this.request('menu', 'delete_menu', 'delete', `/menu/${id}`, null, options);
|
|
2012
2012
|
}
|
|
2013
2013
|
/**
|
|
2014
2014
|
* PATCH /menu/{id} - Update a menu
|
|
@@ -2018,7 +2018,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2018
2018
|
* @param options - additional request options
|
|
2019
2019
|
*/
|
|
2020
2020
|
patch_menu(id, body, options) {
|
|
2021
|
-
return this.request(
|
|
2021
|
+
return this.request('menu', 'patch_menu', 'patch', `/menu/${id}`, body, options);
|
|
2022
2022
|
}
|
|
2023
2023
|
/**
|
|
2024
2024
|
* POST /menu/import - Import an existing Menu
|
|
@@ -2027,7 +2027,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2027
2027
|
* @param options - additional request options
|
|
2028
2028
|
*/
|
|
2029
2029
|
import_menu(body, options) {
|
|
2030
|
-
return this.request(
|
|
2030
|
+
return this.request('menu', 'import_menu', 'post', `/menu/import`, body, options);
|
|
2031
2031
|
}
|
|
2032
2032
|
/**
|
|
2033
2033
|
* GET /menu/item/{id} - Get menu item
|
|
@@ -2036,7 +2036,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2036
2036
|
* @param options - additional request options
|
|
2037
2037
|
*/
|
|
2038
2038
|
get_item(id, options) {
|
|
2039
|
-
return this.request(
|
|
2039
|
+
return this.request('menu', 'get_item', 'get', `/menu/item/${id}`, null, options);
|
|
2040
2040
|
}
|
|
2041
2041
|
/**
|
|
2042
2042
|
* DELETE /menu/item/{id} - Delete a menu item
|
|
@@ -2045,7 +2045,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2045
2045
|
* @param options - additional request options
|
|
2046
2046
|
*/
|
|
2047
2047
|
delete_item(id, options) {
|
|
2048
|
-
return this.request(
|
|
2048
|
+
return this.request('menu', 'delete_item', 'delete', `/menu/item/${id}`, null, options);
|
|
2049
2049
|
}
|
|
2050
2050
|
/**
|
|
2051
2051
|
* POST /menu/item - Create a menu item
|
|
@@ -2054,7 +2054,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2054
2054
|
* @param options - additional request options
|
|
2055
2055
|
*/
|
|
2056
2056
|
create_item(body, options) {
|
|
2057
|
-
return this.request(
|
|
2057
|
+
return this.request('menu', 'create_item', 'post', `/menu/item`, body, options);
|
|
2058
2058
|
}
|
|
2059
2059
|
/**
|
|
2060
2060
|
* GET /menu/{id}/items - Search for menu items
|
|
@@ -2063,7 +2063,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2063
2063
|
* @param options - additional request options
|
|
2064
2064
|
*/
|
|
2065
2065
|
get_menu_items(id, options) {
|
|
2066
|
-
return this.request(
|
|
2066
|
+
return this.request('menu', 'get_menu_items', 'get', `/menu/${id}/items`, null, options);
|
|
2067
2067
|
}
|
|
2068
2068
|
/**
|
|
2069
2069
|
* POST /menu/{id}/recommended - get recommended items
|
|
@@ -2073,7 +2073,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2073
2073
|
* @param options - additional request options
|
|
2074
2074
|
*/
|
|
2075
2075
|
post_menu_recommended(id, body, options) {
|
|
2076
|
-
return this.request(
|
|
2076
|
+
return this.request('menu', 'post_menu_recommended', 'post', `/menu/${id}/recommended`, body, options);
|
|
2077
2077
|
}
|
|
2078
2078
|
/**
|
|
2079
2079
|
* POST /menu/items/import/{location} - trigger import items
|
|
@@ -2082,7 +2082,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2082
2082
|
* @param options - additional request options
|
|
2083
2083
|
*/
|
|
2084
2084
|
import_items_canteen(location, options) {
|
|
2085
|
-
return this.request(
|
|
2085
|
+
return this.request('menu', 'import_items_canteen', 'post', `/menu/items/import/${location}`, null, options);
|
|
2086
2086
|
}
|
|
2087
2087
|
/**
|
|
2088
2088
|
* GET /menu/items/location/{location} - Get all menu items for a location
|
|
@@ -2091,7 +2091,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2091
2091
|
* @param options - additional request options
|
|
2092
2092
|
*/
|
|
2093
2093
|
get_location_items(location, options) {
|
|
2094
|
-
return this.request(
|
|
2094
|
+
return this.request('menu', 'get_location_items', 'get', `/menu/items/location/${location}`, null, options);
|
|
2095
2095
|
}
|
|
2096
2096
|
/**
|
|
2097
2097
|
* GET /menu/item/random/location/{location} - Get a random item
|
|
@@ -2100,7 +2100,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2100
2100
|
* @param options - additional request options
|
|
2101
2101
|
*/
|
|
2102
2102
|
get_location_item_random(location, options) {
|
|
2103
|
-
return this.request(
|
|
2103
|
+
return this.request('menu', 'get_location_item_random', 'get', `/menu/item/random/location/${location}`, null, options);
|
|
2104
2104
|
}
|
|
2105
2105
|
/**
|
|
2106
2106
|
* GET /menu/items/random/location/{location} - Get a set of random items
|
|
@@ -2109,7 +2109,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2109
2109
|
* @param options - additional request options
|
|
2110
2110
|
*/
|
|
2111
2111
|
get_location_items_random(location, options) {
|
|
2112
|
-
return this.request(
|
|
2112
|
+
return this.request('menu', 'get_location_items_random', 'get', `/menu/items/random/location/${location}`, null, options);
|
|
2113
2113
|
}
|
|
2114
2114
|
/**
|
|
2115
2115
|
* GET /menu/sector/{sector} - Get menus that belong to sector
|
|
@@ -2118,7 +2118,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2118
2118
|
* @param options - additional request options
|
|
2119
2119
|
*/
|
|
2120
2120
|
get_sector_menus(sector, options) {
|
|
2121
|
-
return this.request(
|
|
2121
|
+
return this.request('menu', 'get_sector_menus', 'get', `/menu/sector/${sector}`, null, options);
|
|
2122
2122
|
}
|
|
2123
2123
|
/**
|
|
2124
2124
|
* GET /menu/company/{company} - Get menus that belong to company
|
|
@@ -2127,7 +2127,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2127
2127
|
* @param options - additional request options
|
|
2128
2128
|
*/
|
|
2129
2129
|
get_company_menus(company, options) {
|
|
2130
|
-
return this.request(
|
|
2130
|
+
return this.request('menu', 'get_company_menus', 'get', `/menu/company/${company}`, null, options);
|
|
2131
2131
|
}
|
|
2132
2132
|
/**
|
|
2133
2133
|
* POST /menu/modifier/group - Create a new Menu Modifier Group
|
|
@@ -2136,7 +2136,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2136
2136
|
* @param options - additional request options
|
|
2137
2137
|
*/
|
|
2138
2138
|
create_modifier_group(body, options) {
|
|
2139
|
-
return this.request(
|
|
2139
|
+
return this.request('menu', 'create_modifier_group', 'post', `/menu/modifier/group`, body, options);
|
|
2140
2140
|
}
|
|
2141
2141
|
/**
|
|
2142
2142
|
* GET /menu/modifier/group/{id} - Get a Menu Modifier Group
|
|
@@ -2145,7 +2145,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2145
2145
|
* @param options - additional request options
|
|
2146
2146
|
*/
|
|
2147
2147
|
get_modifier_group(id, options) {
|
|
2148
|
-
return this.request(
|
|
2148
|
+
return this.request('menu', 'get_modifier_group', 'get', `/menu/modifier/group/${id}`, null, options);
|
|
2149
2149
|
}
|
|
2150
2150
|
/**
|
|
2151
2151
|
* PUT /menu/modifier/group/{id} - Update a Menu Modifier Group
|
|
@@ -2155,7 +2155,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2155
2155
|
* @param options - additional request options
|
|
2156
2156
|
*/
|
|
2157
2157
|
update_modifier_group(id, body, options) {
|
|
2158
|
-
return this.request(
|
|
2158
|
+
return this.request('menu', 'update_modifier_group', 'put', `/menu/modifier/group/${id}`, body, options);
|
|
2159
2159
|
}
|
|
2160
2160
|
/**
|
|
2161
2161
|
* DELETE /menu/modifier/group/{id} - Delete a Menu Modifier Group
|
|
@@ -2164,7 +2164,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2164
2164
|
* @param options - additional request options
|
|
2165
2165
|
*/
|
|
2166
2166
|
delete_modifier_group(id, options) {
|
|
2167
|
-
return this.request(
|
|
2167
|
+
return this.request('menu', 'delete_modifier_group', 'delete', `/menu/modifier/group/${id}`, null, options);
|
|
2168
2168
|
}
|
|
2169
2169
|
/**
|
|
2170
2170
|
* GET /menu/modifier/group/company/{company} - Get the modifier groups that belong to company
|
|
@@ -2173,7 +2173,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2173
2173
|
* @param options - additional request options
|
|
2174
2174
|
*/
|
|
2175
2175
|
get_company_modifier_groups(company, options) {
|
|
2176
|
-
return this.request(
|
|
2176
|
+
return this.request('menu', 'get_company_modifier_groups', 'get', `/menu/modifier/group/company/${company}`, null, options);
|
|
2177
2177
|
}
|
|
2178
2178
|
/**
|
|
2179
2179
|
* GET /menu/modifier/group/company/{company}/export - Export company modifier groups to zipped excel file.
|
|
@@ -2182,7 +2182,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2182
2182
|
* @param options - additional request options
|
|
2183
2183
|
*/
|
|
2184
2184
|
get_company_modifier_groups_export(company, options) {
|
|
2185
|
-
return this.request(
|
|
2185
|
+
return this.request('menu', 'get_company_modifier_groups_export', 'get', `/menu/modifier/group/company/${company}/export`, null, options);
|
|
2186
2186
|
}
|
|
2187
2187
|
/**
|
|
2188
2188
|
* GET /menu/{id}/export - Export menu set to zipped excel file.
|
|
@@ -2191,7 +2191,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2191
2191
|
* @param options - additional request options
|
|
2192
2192
|
*/
|
|
2193
2193
|
get_menu_export(id, options) {
|
|
2194
|
-
return this.request(
|
|
2194
|
+
return this.request('menu', 'get_menu_export', 'get', `/menu/${id}/export`, null, options);
|
|
2195
2195
|
}
|
|
2196
2196
|
/**
|
|
2197
2197
|
* GET /menu/partial/{id}/groups - Get an individual menu with its categories only partially loaded. (No items)
|
|
@@ -2200,7 +2200,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2200
2200
|
* @param options - additional request options
|
|
2201
2201
|
*/
|
|
2202
2202
|
get_menu_partial_groups(id, options) {
|
|
2203
|
-
return this.request(
|
|
2203
|
+
return this.request('menu', 'get_menu_partial_groups', 'get', `/menu/partial/${id}/groups`, null, options);
|
|
2204
2204
|
}
|
|
2205
2205
|
/**
|
|
2206
2206
|
* GET /menu/partial/{id}/group/{group_id}/items - Get an individual menu with its categories only partially loaded. (No items)
|
|
@@ -2210,7 +2210,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2210
2210
|
* @param options - additional request options
|
|
2211
2211
|
*/
|
|
2212
2212
|
get_menu_partial_group_items(id, group_id, options) {
|
|
2213
|
-
return this.request(
|
|
2213
|
+
return this.request('menu', 'get_menu_partial_group_items', 'get', `/menu/partial/${id}/group/${group_id}/items`, null, options);
|
|
2214
2214
|
}
|
|
2215
2215
|
/**
|
|
2216
2216
|
* POST /menu/partial/{id}/group/{group_id}/item/options - Get menu items's options
|
|
@@ -2221,7 +2221,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2221
2221
|
* @param options - additional request options
|
|
2222
2222
|
*/
|
|
2223
2223
|
post_menu_partial_group_item_options(id, group_id, body, options) {
|
|
2224
|
-
return this.request(
|
|
2224
|
+
return this.request('menu', 'post_menu_partial_group_item_options', 'post', `/menu/partial/${id}/group/${group_id}/item/options`, body, options);
|
|
2225
2225
|
}
|
|
2226
2226
|
/**
|
|
2227
2227
|
* POST /menu/v3/local-menu-group
|
|
@@ -2230,7 +2230,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2230
2230
|
* @param options - additional request options
|
|
2231
2231
|
*/
|
|
2232
2232
|
post_menu_v3_local_menu_group(body, options) {
|
|
2233
|
-
return this.request(
|
|
2233
|
+
return this.request('menu', 'post_menu_v3_local_menu_group', 'post', `/menu/v3/local-menu-group`, body, options);
|
|
2234
2234
|
}
|
|
2235
2235
|
/**
|
|
2236
2236
|
* GET /menu/v3/local-menu-group/{id}
|
|
@@ -2239,7 +2239,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2239
2239
|
* @param options - additional request options
|
|
2240
2240
|
*/
|
|
2241
2241
|
get_menu_v3_local_menu_group(id, options) {
|
|
2242
|
-
return this.request(
|
|
2242
|
+
return this.request('menu', 'get_menu_v3_local_menu_group', 'get', `/menu/v3/local-menu-group/${id}`, null, options);
|
|
2243
2243
|
}
|
|
2244
2244
|
/**
|
|
2245
2245
|
* PATCH /menu/v3/local-menu-group/{id}
|
|
@@ -2249,7 +2249,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2249
2249
|
* @param options - additional request options
|
|
2250
2250
|
*/
|
|
2251
2251
|
patch_menu_v3_local_menu_group(id, body, options) {
|
|
2252
|
-
return this.request(
|
|
2252
|
+
return this.request('menu', 'patch_menu_v3_local_menu_group', 'patch', `/menu/v3/local-menu-group/${id}`, body, options);
|
|
2253
2253
|
}
|
|
2254
2254
|
/**
|
|
2255
2255
|
* DELETE /menu/v3/local-menu-group/{id}
|
|
@@ -2258,7 +2258,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2258
2258
|
* @param options - additional request options
|
|
2259
2259
|
*/
|
|
2260
2260
|
delete_menu_v3_local_menu_group(id, options) {
|
|
2261
|
-
return this.request(
|
|
2261
|
+
return this.request('menu', 'delete_menu_v3_local_menu_group', 'delete', `/menu/v3/local-menu-group/${id}`, null, options);
|
|
2262
2262
|
}
|
|
2263
2263
|
/**
|
|
2264
2264
|
* GET /menu/v3/local-menu-groups
|
|
@@ -2266,7 +2266,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2266
2266
|
* @param options - additional request options
|
|
2267
2267
|
*/
|
|
2268
2268
|
get_menu_v3_local_menu_groups(options) {
|
|
2269
|
-
return this.request(
|
|
2269
|
+
return this.request('menu', 'get_menu_v3_local_menu_groups', 'get', `/menu/v3/local-menu-groups`, null, options);
|
|
2270
2270
|
}
|
|
2271
2271
|
/**
|
|
2272
2272
|
* POST /menu/v3/local-menu-groups
|
|
@@ -2275,7 +2275,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2275
2275
|
* @param options - additional request options
|
|
2276
2276
|
*/
|
|
2277
2277
|
post_menu_v3_local_menu_groups(body, options) {
|
|
2278
|
-
return this.request(
|
|
2278
|
+
return this.request('menu', 'post_menu_v3_local_menu_groups', 'post', `/menu/v3/local-menu-groups`, body, options);
|
|
2279
2279
|
}
|
|
2280
2280
|
/**
|
|
2281
2281
|
* GET /menu/v3/local-menu-groups/count
|
|
@@ -2283,7 +2283,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2283
2283
|
* @param options - additional request options
|
|
2284
2284
|
*/
|
|
2285
2285
|
get_menu_v3_local_menu_groups_count(options) {
|
|
2286
|
-
return this.request(
|
|
2286
|
+
return this.request('menu', 'get_menu_v3_local_menu_groups_count', 'get', `/menu/v3/local-menu-groups/count`, null, options);
|
|
2287
2287
|
}
|
|
2288
2288
|
/**
|
|
2289
2289
|
* POST /menu/v3/local-menu-group/{id}/recover
|
|
@@ -2292,7 +2292,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2292
2292
|
* @param options - additional request options
|
|
2293
2293
|
*/
|
|
2294
2294
|
post_menu_v3_local_menu_group_recover(id, options) {
|
|
2295
|
-
return this.request(
|
|
2295
|
+
return this.request('menu', 'post_menu_v3_local_menu_group_recover', 'post', `/menu/v3/local-menu-group/${id}/recover`, null, options);
|
|
2296
2296
|
}
|
|
2297
2297
|
/**
|
|
2298
2298
|
* GET /menu/v3/draft/local-menu-group/{id}/brands
|
|
@@ -2301,7 +2301,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2301
2301
|
* @param options - additional request options
|
|
2302
2302
|
*/
|
|
2303
2303
|
get_menu_v3_draft_local_menu_group_brands(id, options) {
|
|
2304
|
-
return this.request(
|
|
2304
|
+
return this.request('menu', 'get_menu_v3_draft_local_menu_group_brands', 'get', `/menu/v3/draft/local-menu-group/${id}/brands`, null, options);
|
|
2305
2305
|
}
|
|
2306
2306
|
/**
|
|
2307
2307
|
* GET /menu/v3/local-menu-group/{id}/brands
|
|
@@ -2310,7 +2310,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2310
2310
|
* @param options - additional request options
|
|
2311
2311
|
*/
|
|
2312
2312
|
get_menu_v3_local_menu_group_brands(id, options) {
|
|
2313
|
-
return this.request(
|
|
2313
|
+
return this.request('menu', 'get_menu_v3_local_menu_group_brands', 'get', `/menu/v3/local-menu-group/${id}/brands`, null, options);
|
|
2314
2314
|
}
|
|
2315
2315
|
/**
|
|
2316
2316
|
* GET /menu/v3/local-menu-group/{id}/allowed-global-brands
|
|
@@ -2319,7 +2319,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2319
2319
|
* @param options - additional request options
|
|
2320
2320
|
*/
|
|
2321
2321
|
get_menu_v3_local_menu_group_allowed_global_brands(id, options) {
|
|
2322
|
-
return this.request(
|
|
2322
|
+
return this.request('menu', 'get_menu_v3_local_menu_group_allowed_global_brands', 'get', `/menu/v3/local-menu-group/${id}/allowed-global-brands`, null, options);
|
|
2323
2323
|
}
|
|
2324
2324
|
/**
|
|
2325
2325
|
* POST /menu/v3/local-menu-group/{id}/import-brands
|
|
@@ -2328,7 +2328,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2328
2328
|
* @param options - additional request options
|
|
2329
2329
|
*/
|
|
2330
2330
|
post_menu_v3_local_menu_group_import_brands(id, options) {
|
|
2331
|
-
return this.request(
|
|
2331
|
+
return this.request('menu', 'post_menu_v3_local_menu_group_import_brands', 'post', `/menu/v3/local-menu-group/${id}/import-brands`, null, options);
|
|
2332
2332
|
}
|
|
2333
2333
|
/**
|
|
2334
2334
|
* GET /menu/v3/local-menu-group/{id}/site
|
|
@@ -2337,7 +2337,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2337
2337
|
* @param options - additional request options
|
|
2338
2338
|
*/
|
|
2339
2339
|
get_menu_v3_local_menu_group_site(id, options) {
|
|
2340
|
-
return this.request(
|
|
2340
|
+
return this.request('menu', 'get_menu_v3_local_menu_group_site', 'get', `/menu/v3/local-menu-group/${id}/site`, null, options);
|
|
2341
2341
|
}
|
|
2342
2342
|
/**
|
|
2343
2343
|
* GET /menu/v3/local-menu-group/{id}/menu-group
|
|
@@ -2346,7 +2346,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2346
2346
|
* @param options - additional request options
|
|
2347
2347
|
*/
|
|
2348
2348
|
get_menu_v3_local_menu_group_menu_group(id, options) {
|
|
2349
|
-
return this.request(
|
|
2349
|
+
return this.request('menu', 'get_menu_v3_local_menu_group_menu_group', 'get', `/menu/v3/local-menu-group/${id}/menu-group`, null, options);
|
|
2350
2350
|
}
|
|
2351
2351
|
/**
|
|
2352
2352
|
* POST /menu/v3/local-menu-groups/site-groups
|
|
@@ -2355,7 +2355,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2355
2355
|
* @param options - additional request options
|
|
2356
2356
|
*/
|
|
2357
2357
|
post_menu_v3_local_menu_groups_site_groups(body, options) {
|
|
2358
|
-
return this.request(
|
|
2358
|
+
return this.request('menu', 'post_menu_v3_local_menu_groups_site_groups', 'post', `/menu/v3/local-menu-groups/site-groups`, body, options);
|
|
2359
2359
|
}
|
|
2360
2360
|
/**
|
|
2361
2361
|
* DELETE /menu/v3/local-menu-groups/site-groups
|
|
@@ -2364,7 +2364,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2364
2364
|
* @param options - additional request options
|
|
2365
2365
|
*/
|
|
2366
2366
|
delete_menu_v3_local_menu_groups_site_groups(body, options) {
|
|
2367
|
-
return this.request(
|
|
2367
|
+
return this.request('menu', 'delete_menu_v3_local_menu_groups_site_groups', 'delete', `/menu/v3/local-menu-groups/site-groups`, body, options);
|
|
2368
2368
|
}
|
|
2369
2369
|
/**
|
|
2370
2370
|
* GET /menu/v3/local-menu-group/export/solutions
|
|
@@ -2372,7 +2372,17 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2372
2372
|
* @param options - additional request options
|
|
2373
2373
|
*/
|
|
2374
2374
|
get_menu_v3_local_menu_group_export_solutions(options) {
|
|
2375
|
-
return this.request(
|
|
2375
|
+
return this.request('menu', 'get_menu_v3_local_menu_group_export_solutions', 'get', `/menu/v3/local-menu-group/export/solutions`, null, options);
|
|
2376
|
+
}
|
|
2377
|
+
/**
|
|
2378
|
+
* GET /menu/v3/local-menu-group/{id}/export/solution/{solution_id}
|
|
2379
|
+
*
|
|
2380
|
+
* @param id - Id of the local menu group
|
|
2381
|
+
* @param solution_id - export_solution
|
|
2382
|
+
* @param options - additional request options
|
|
2383
|
+
*/
|
|
2384
|
+
get_menu_v3_local_menu_group_export_solution(id, solution_id, options) {
|
|
2385
|
+
return this.request('menu', 'get_menu_v3_local_menu_group_export_solution', 'get', `/menu/v3/local-menu-group/${id}/export/solution/${solution_id}`, null, options);
|
|
2376
2386
|
}
|
|
2377
2387
|
/**
|
|
2378
2388
|
* POST /menu/v3/global-menu-group
|
|
@@ -2381,7 +2391,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2381
2391
|
* @param options - additional request options
|
|
2382
2392
|
*/
|
|
2383
2393
|
post_menu_v3_global_menu_group(body, options) {
|
|
2384
|
-
return this.request(
|
|
2394
|
+
return this.request('menu', 'post_menu_v3_global_menu_group', 'post', `/menu/v3/global-menu-group`, body, options);
|
|
2385
2395
|
}
|
|
2386
2396
|
/**
|
|
2387
2397
|
* GET /menu/v3/global-menu-group/{id}
|
|
@@ -2390,7 +2400,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2390
2400
|
* @param options - additional request options
|
|
2391
2401
|
*/
|
|
2392
2402
|
get_menu_v3_global_menu_group(id, options) {
|
|
2393
|
-
return this.request(
|
|
2403
|
+
return this.request('menu', 'get_menu_v3_global_menu_group', 'get', `/menu/v3/global-menu-group/${id}`, null, options);
|
|
2394
2404
|
}
|
|
2395
2405
|
/**
|
|
2396
2406
|
* PATCH /menu/v3/global-menu-group/{id}
|
|
@@ -2400,7 +2410,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2400
2410
|
* @param options - additional request options
|
|
2401
2411
|
*/
|
|
2402
2412
|
patch_menu_v3_global_menu_group(id, body, options) {
|
|
2403
|
-
return this.request(
|
|
2413
|
+
return this.request('menu', 'patch_menu_v3_global_menu_group', 'patch', `/menu/v3/global-menu-group/${id}`, body, options);
|
|
2404
2414
|
}
|
|
2405
2415
|
/**
|
|
2406
2416
|
* DELETE /menu/v3/global-menu-group/{id}
|
|
@@ -2409,7 +2419,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2409
2419
|
* @param options - additional request options
|
|
2410
2420
|
*/
|
|
2411
2421
|
delete_menu_v3_global_menu_group(id, options) {
|
|
2412
|
-
return this.request(
|
|
2422
|
+
return this.request('menu', 'delete_menu_v3_global_menu_group', 'delete', `/menu/v3/global-menu-group/${id}`, null, options);
|
|
2413
2423
|
}
|
|
2414
2424
|
/**
|
|
2415
2425
|
* GET /menu/v3/global-menu-groups
|
|
@@ -2417,7 +2427,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2417
2427
|
* @param options - additional request options
|
|
2418
2428
|
*/
|
|
2419
2429
|
get_menu_v3_global_menu_groups(options) {
|
|
2420
|
-
return this.request(
|
|
2430
|
+
return this.request('menu', 'get_menu_v3_global_menu_groups', 'get', `/menu/v3/global-menu-groups`, null, options);
|
|
2421
2431
|
}
|
|
2422
2432
|
/**
|
|
2423
2433
|
* POST /menu/v3/global-menu-groups
|
|
@@ -2426,7 +2436,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2426
2436
|
* @param options - additional request options
|
|
2427
2437
|
*/
|
|
2428
2438
|
post_menu_v3_global_menu_groups(body, options) {
|
|
2429
|
-
return this.request(
|
|
2439
|
+
return this.request('menu', 'post_menu_v3_global_menu_groups', 'post', `/menu/v3/global-menu-groups`, body, options);
|
|
2430
2440
|
}
|
|
2431
2441
|
/**
|
|
2432
2442
|
* GET /menu/v3/global-menu-groups/count
|
|
@@ -2434,7 +2444,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2434
2444
|
* @param options - additional request options
|
|
2435
2445
|
*/
|
|
2436
2446
|
get_menu_v3_global_menu_groups_count(options) {
|
|
2437
|
-
return this.request(
|
|
2447
|
+
return this.request('menu', 'get_menu_v3_global_menu_groups_count', 'get', `/menu/v3/global-menu-groups/count`, null, options);
|
|
2438
2448
|
}
|
|
2439
2449
|
/**
|
|
2440
2450
|
* POST /menu/v3/global-menu-group/{id}/recover
|
|
@@ -2443,7 +2453,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2443
2453
|
* @param options - additional request options
|
|
2444
2454
|
*/
|
|
2445
2455
|
post_menu_v3_global_menu_group_recover(id, options) {
|
|
2446
|
-
return this.request(
|
|
2456
|
+
return this.request('menu', 'post_menu_v3_global_menu_group_recover', 'post', `/menu/v3/global-menu-group/${id}/recover`, null, options);
|
|
2447
2457
|
}
|
|
2448
2458
|
/**
|
|
2449
2459
|
* GET /menu/v3/draft/global-menu-group/{id}/brands
|
|
@@ -2452,7 +2462,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2452
2462
|
* @param options - additional request options
|
|
2453
2463
|
*/
|
|
2454
2464
|
get_menu_v3_draft_global_menu_group_brands(id, options) {
|
|
2455
|
-
return this.request(
|
|
2465
|
+
return this.request('menu', 'get_menu_v3_draft_global_menu_group_brands', 'get', `/menu/v3/draft/global-menu-group/${id}/brands`, null, options);
|
|
2456
2466
|
}
|
|
2457
2467
|
/**
|
|
2458
2468
|
* GET /menu/v3/global-menu-group/{id}/brands
|
|
@@ -2461,7 +2471,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2461
2471
|
* @param options - additional request options
|
|
2462
2472
|
*/
|
|
2463
2473
|
get_menu_v3_global_menu_group_brands(id, options) {
|
|
2464
|
-
return this.request(
|
|
2474
|
+
return this.request('menu', 'get_menu_v3_global_menu_group_brands', 'get', `/menu/v3/global-menu-group/${id}/brands`, null, options);
|
|
2465
2475
|
}
|
|
2466
2476
|
/**
|
|
2467
2477
|
* POST /menu/v3/draft/brand
|
|
@@ -2470,7 +2480,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2470
2480
|
* @param options - additional request options
|
|
2471
2481
|
*/
|
|
2472
2482
|
post_menu_v3_draft_brand(body, options) {
|
|
2473
|
-
return this.request(
|
|
2483
|
+
return this.request('menu', 'post_menu_v3_draft_brand', 'post', `/menu/v3/draft/brand`, body, options);
|
|
2474
2484
|
}
|
|
2475
2485
|
/**
|
|
2476
2486
|
* GET /menu/v3/draft/brand/{id}
|
|
@@ -2479,7 +2489,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2479
2489
|
* @param options - additional request options
|
|
2480
2490
|
*/
|
|
2481
2491
|
get_menu_v3_draft_brand(id, options) {
|
|
2482
|
-
return this.request(
|
|
2492
|
+
return this.request('menu', 'get_menu_v3_draft_brand', 'get', `/menu/v3/draft/brand/${id}`, null, options);
|
|
2483
2493
|
}
|
|
2484
2494
|
/**
|
|
2485
2495
|
* PATCH /menu/v3/draft/brand/{id}
|
|
@@ -2489,7 +2499,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2489
2499
|
* @param options - additional request options
|
|
2490
2500
|
*/
|
|
2491
2501
|
patch_menu_v3_draft_brand(id, body, options) {
|
|
2492
|
-
return this.request(
|
|
2502
|
+
return this.request('menu', 'patch_menu_v3_draft_brand', 'patch', `/menu/v3/draft/brand/${id}`, body, options);
|
|
2493
2503
|
}
|
|
2494
2504
|
/**
|
|
2495
2505
|
* DELETE /menu/v3/draft/brand/{id}
|
|
@@ -2498,7 +2508,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2498
2508
|
* @param options - additional request options
|
|
2499
2509
|
*/
|
|
2500
2510
|
delete_menu_v3_draft_brand(id, options) {
|
|
2501
|
-
return this.request(
|
|
2511
|
+
return this.request('menu', 'delete_menu_v3_draft_brand', 'delete', `/menu/v3/draft/brand/${id}`, null, options);
|
|
2502
2512
|
}
|
|
2503
2513
|
/**
|
|
2504
2514
|
* GET /menu/v3/draft/brands
|
|
@@ -2506,7 +2516,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2506
2516
|
* @param options - additional request options
|
|
2507
2517
|
*/
|
|
2508
2518
|
get_menu_v3_draft_brands(options) {
|
|
2509
|
-
return this.request(
|
|
2519
|
+
return this.request('menu', 'get_menu_v3_draft_brands', 'get', `/menu/v3/draft/brands`, null, options);
|
|
2510
2520
|
}
|
|
2511
2521
|
/**
|
|
2512
2522
|
* POST /menu/v3/draft/brands
|
|
@@ -2515,7 +2525,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2515
2525
|
* @param options - additional request options
|
|
2516
2526
|
*/
|
|
2517
2527
|
post_menu_v3_draft_brands(body, options) {
|
|
2518
|
-
return this.request(
|
|
2528
|
+
return this.request('menu', 'post_menu_v3_draft_brands', 'post', `/menu/v3/draft/brands`, body, options);
|
|
2519
2529
|
}
|
|
2520
2530
|
/**
|
|
2521
2531
|
* GET /menu/v3/draft/brands/count
|
|
@@ -2523,7 +2533,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2523
2533
|
* @param options - additional request options
|
|
2524
2534
|
*/
|
|
2525
2535
|
get_menu_v3_draft_brands_count(options) {
|
|
2526
|
-
return this.request(
|
|
2536
|
+
return this.request('menu', 'get_menu_v3_draft_brands_count', 'get', `/menu/v3/draft/brands/count`, null, options);
|
|
2527
2537
|
}
|
|
2528
2538
|
/**
|
|
2529
2539
|
* POST /menu/v3/draft/brand/{id}/recover
|
|
@@ -2532,7 +2542,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2532
2542
|
* @param options - additional request options
|
|
2533
2543
|
*/
|
|
2534
2544
|
post_menu_v3_draft_brand_recover(id, options) {
|
|
2535
|
-
return this.request(
|
|
2545
|
+
return this.request('menu', 'post_menu_v3_draft_brand_recover', 'post', `/menu/v3/draft/brand/${id}/recover`, null, options);
|
|
2536
2546
|
}
|
|
2537
2547
|
/**
|
|
2538
2548
|
* GET /menu/v3/draft/brand/{id}/audits
|
|
@@ -2541,7 +2551,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2541
2551
|
* @param options - additional request options
|
|
2542
2552
|
*/
|
|
2543
2553
|
get_menu_v3_draft_brand_audits(id, options) {
|
|
2544
|
-
return this.request(
|
|
2554
|
+
return this.request('menu', 'get_menu_v3_draft_brand_audits', 'get', `/menu/v3/draft/brand/${id}/audits`, null, options);
|
|
2545
2555
|
}
|
|
2546
2556
|
/**
|
|
2547
2557
|
* GET /menu/v3/draft/brand/{id}/menus
|
|
@@ -2550,7 +2560,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2550
2560
|
* @param options - additional request options
|
|
2551
2561
|
*/
|
|
2552
2562
|
get_menu_v3_draft_brand_menus(id, options) {
|
|
2553
|
-
return this.request(
|
|
2563
|
+
return this.request('menu', 'get_menu_v3_draft_brand_menus', 'get', `/menu/v3/draft/brand/${id}/menus`, null, options);
|
|
2554
2564
|
}
|
|
2555
2565
|
/**
|
|
2556
2566
|
* GET /menu/v3/draft/brand/{id}/modifiers
|
|
@@ -2559,7 +2569,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2559
2569
|
* @param options - additional request options
|
|
2560
2570
|
*/
|
|
2561
2571
|
get_menu_v3_draft_brand_modifiers(id, options) {
|
|
2562
|
-
return this.request(
|
|
2572
|
+
return this.request('menu', 'get_menu_v3_draft_brand_modifiers', 'get', `/menu/v3/draft/brand/${id}/modifiers`, null, options);
|
|
2563
2573
|
}
|
|
2564
2574
|
/**
|
|
2565
2575
|
* GET /menu/v3/draft/brand/{id}/modifier_groups
|
|
@@ -2568,7 +2578,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2568
2578
|
* @param options - additional request options
|
|
2569
2579
|
*/
|
|
2570
2580
|
get_menu_v3_draft_brand_modifier_groups(id, options) {
|
|
2571
|
-
return this.request(
|
|
2581
|
+
return this.request('menu', 'get_menu_v3_draft_brand_modifier_groups', 'get', `/menu/v3/draft/brand/${id}/modifier_groups`, null, options);
|
|
2572
2582
|
}
|
|
2573
2583
|
/**
|
|
2574
2584
|
* GET /menu/v3/draft/brand/{id}/items
|
|
@@ -2577,7 +2587,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2577
2587
|
* @param options - additional request options
|
|
2578
2588
|
*/
|
|
2579
2589
|
get_menu_v3_draft_brand_items(id, options) {
|
|
2580
|
-
return this.request(
|
|
2590
|
+
return this.request('menu', 'get_menu_v3_draft_brand_items', 'get', `/menu/v3/draft/brand/${id}/items`, null, options);
|
|
2581
2591
|
}
|
|
2582
2592
|
/**
|
|
2583
2593
|
* GET /menu/v3/draft/brand/{id}/items/reporting/categories
|
|
@@ -2586,7 +2596,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2586
2596
|
* @param options - additional request options
|
|
2587
2597
|
*/
|
|
2588
2598
|
get_menu_v3_draft_brand_items_reporting_categories(id, options) {
|
|
2589
|
-
return this.request(
|
|
2599
|
+
return this.request('menu', 'get_menu_v3_draft_brand_items_reporting_categories', 'get', `/menu/v3/draft/brand/${id}/items/reporting/categories`, null, options);
|
|
2590
2600
|
}
|
|
2591
2601
|
/**
|
|
2592
2602
|
* GET /menu/v3/draft/brand/{id}/modifiers/reporting/categories
|
|
@@ -2595,7 +2605,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2595
2605
|
* @param options - additional request options
|
|
2596
2606
|
*/
|
|
2597
2607
|
get_menu_v3_draft_brand_modifiers_reporting_categories(id, options) {
|
|
2598
|
-
return this.request(
|
|
2608
|
+
return this.request('menu', 'get_menu_v3_draft_brand_modifiers_reporting_categories', 'get', `/menu/v3/draft/brand/${id}/modifiers/reporting/categories`, null, options);
|
|
2599
2609
|
}
|
|
2600
2610
|
/**
|
|
2601
2611
|
* GET /menu/v3/draft/brand/{id}/items/tags
|
|
@@ -2604,7 +2614,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2604
2614
|
* @param options - additional request options
|
|
2605
2615
|
*/
|
|
2606
2616
|
get_menu_v3_draft_brand_items_tags(id, options) {
|
|
2607
|
-
return this.request(
|
|
2617
|
+
return this.request('menu', 'get_menu_v3_draft_brand_items_tags', 'get', `/menu/v3/draft/brand/${id}/items/tags`, null, options);
|
|
2608
2618
|
}
|
|
2609
2619
|
/**
|
|
2610
2620
|
* GET /menu/v3/draft/brand/{id}/modifiers/tags
|
|
@@ -2613,7 +2623,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2613
2623
|
* @param options - additional request options
|
|
2614
2624
|
*/
|
|
2615
2625
|
get_menu_v3_draft_brand_modifiers_tags(id, options) {
|
|
2616
|
-
return this.request(
|
|
2626
|
+
return this.request('menu', 'get_menu_v3_draft_brand_modifiers_tags', 'get', `/menu/v3/draft/brand/${id}/modifiers/tags`, null, options);
|
|
2617
2627
|
}
|
|
2618
2628
|
/**
|
|
2619
2629
|
* POST /menu/v3/draft/brand/{id}/publish
|
|
@@ -2622,7 +2632,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2622
2632
|
* @param options - additional request options
|
|
2623
2633
|
*/
|
|
2624
2634
|
post_menu_v3_draft_brand_publish(id, options) {
|
|
2625
|
-
return this.request(
|
|
2635
|
+
return this.request('menu', 'post_menu_v3_draft_brand_publish', 'post', `/menu/v3/draft/brand/${id}/publish`, null, options);
|
|
2626
2636
|
}
|
|
2627
2637
|
/**
|
|
2628
2638
|
* POST /menu/v3/draft/brand/{id}/diff/generate
|
|
@@ -2631,7 +2641,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2631
2641
|
* @param options - additional request options
|
|
2632
2642
|
*/
|
|
2633
2643
|
post_menu_v3_draft_brand_diff_generate(id, options) {
|
|
2634
|
-
return this.request(
|
|
2644
|
+
return this.request('menu', 'post_menu_v3_draft_brand_diff_generate', 'post', `/menu/v3/draft/brand/${id}/diff/generate`, null, options);
|
|
2635
2645
|
}
|
|
2636
2646
|
/**
|
|
2637
2647
|
* GET /menu/v3/draft/brand/{id}/diffs
|
|
@@ -2640,7 +2650,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2640
2650
|
* @param options - additional request options
|
|
2641
2651
|
*/
|
|
2642
2652
|
get_menu_v3_draft_brand_diffs(id, options) {
|
|
2643
|
-
return this.request(
|
|
2653
|
+
return this.request('menu', 'get_menu_v3_draft_brand_diffs', 'get', `/menu/v3/draft/brand/${id}/diffs`, null, options);
|
|
2644
2654
|
}
|
|
2645
2655
|
/**
|
|
2646
2656
|
* POST /menu/v3/draft/brand/{id}/global-diffs/apply
|
|
@@ -2650,7 +2660,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2650
2660
|
* @param options - additional request options
|
|
2651
2661
|
*/
|
|
2652
2662
|
post_menu_v3_draft_brand_global_diffs_apply(id, body, options) {
|
|
2653
|
-
return this.request(
|
|
2663
|
+
return this.request('menu', 'post_menu_v3_draft_brand_global_diffs_apply', 'post', `/menu/v3/draft/brand/${id}/global-diffs/apply`, body, options);
|
|
2654
2664
|
}
|
|
2655
2665
|
/**
|
|
2656
2666
|
* POST /menu/v3/draft/brand/{id}/attachment/{name}
|
|
@@ -2660,7 +2670,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2660
2670
|
* @param options - additional request options
|
|
2661
2671
|
*/
|
|
2662
2672
|
post_menu_v3_draft_brand_attachment(id, name, options) {
|
|
2663
|
-
return this.request(
|
|
2673
|
+
return this.request('menu', 'post_menu_v3_draft_brand_attachment', 'post', `/menu/v3/draft/brand/${id}/attachment/${name}`, null, options);
|
|
2664
2674
|
}
|
|
2665
2675
|
/**
|
|
2666
2676
|
* POST /menu/v3/brand
|
|
@@ -2669,7 +2679,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2669
2679
|
* @param options - additional request options
|
|
2670
2680
|
*/
|
|
2671
2681
|
post_menu_v3_brand(body, options) {
|
|
2672
|
-
return this.request(
|
|
2682
|
+
return this.request('menu', 'post_menu_v3_brand', 'post', `/menu/v3/brand`, body, options);
|
|
2673
2683
|
}
|
|
2674
2684
|
/**
|
|
2675
2685
|
* GET /menu/v3/brand/{id}
|
|
@@ -2678,7 +2688,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2678
2688
|
* @param options - additional request options
|
|
2679
2689
|
*/
|
|
2680
2690
|
get_menu_v3_brand(id, options) {
|
|
2681
|
-
return this.request(
|
|
2691
|
+
return this.request('menu', 'get_menu_v3_brand', 'get', `/menu/v3/brand/${id}`, null, options);
|
|
2682
2692
|
}
|
|
2683
2693
|
/**
|
|
2684
2694
|
* PATCH /menu/v3/brand/{id}
|
|
@@ -2688,7 +2698,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2688
2698
|
* @param options - additional request options
|
|
2689
2699
|
*/
|
|
2690
2700
|
patch_menu_v3_brand(id, body, options) {
|
|
2691
|
-
return this.request(
|
|
2701
|
+
return this.request('menu', 'patch_menu_v3_brand', 'patch', `/menu/v3/brand/${id}`, body, options);
|
|
2692
2702
|
}
|
|
2693
2703
|
/**
|
|
2694
2704
|
* DELETE /menu/v3/brand/{id}
|
|
@@ -2697,7 +2707,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2697
2707
|
* @param options - additional request options
|
|
2698
2708
|
*/
|
|
2699
2709
|
delete_menu_v3_brand(id, options) {
|
|
2700
|
-
return this.request(
|
|
2710
|
+
return this.request('menu', 'delete_menu_v3_brand', 'delete', `/menu/v3/brand/${id}`, null, options);
|
|
2701
2711
|
}
|
|
2702
2712
|
/**
|
|
2703
2713
|
* GET /menu/v3/brands
|
|
@@ -2705,7 +2715,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2705
2715
|
* @param options - additional request options
|
|
2706
2716
|
*/
|
|
2707
2717
|
get_menu_v3_brands(options) {
|
|
2708
|
-
return this.request(
|
|
2718
|
+
return this.request('menu', 'get_menu_v3_brands', 'get', `/menu/v3/brands`, null, options);
|
|
2709
2719
|
}
|
|
2710
2720
|
/**
|
|
2711
2721
|
* POST /menu/v3/brands
|
|
@@ -2714,7 +2724,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2714
2724
|
* @param options - additional request options
|
|
2715
2725
|
*/
|
|
2716
2726
|
post_menu_v3_brands(body, options) {
|
|
2717
|
-
return this.request(
|
|
2727
|
+
return this.request('menu', 'post_menu_v3_brands', 'post', `/menu/v3/brands`, body, options);
|
|
2718
2728
|
}
|
|
2719
2729
|
/**
|
|
2720
2730
|
* GET /menu/v3/brands/count
|
|
@@ -2722,7 +2732,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2722
2732
|
* @param options - additional request options
|
|
2723
2733
|
*/
|
|
2724
2734
|
get_menu_v3_brands_count(options) {
|
|
2725
|
-
return this.request(
|
|
2735
|
+
return this.request('menu', 'get_menu_v3_brands_count', 'get', `/menu/v3/brands/count`, null, options);
|
|
2726
2736
|
}
|
|
2727
2737
|
/**
|
|
2728
2738
|
* POST /menu/v3/brand/{id}/recover
|
|
@@ -2731,7 +2741,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2731
2741
|
* @param options - additional request options
|
|
2732
2742
|
*/
|
|
2733
2743
|
post_menu_v3_brand_recover(id, options) {
|
|
2734
|
-
return this.request(
|
|
2744
|
+
return this.request('menu', 'post_menu_v3_brand_recover', 'post', `/menu/v3/brand/${id}/recover`, null, options);
|
|
2735
2745
|
}
|
|
2736
2746
|
/**
|
|
2737
2747
|
* GET /menu/v3/brand/{id}/menus
|
|
@@ -2740,7 +2750,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2740
2750
|
* @param options - additional request options
|
|
2741
2751
|
*/
|
|
2742
2752
|
get_menu_v3_brand_menus(id, options) {
|
|
2743
|
-
return this.request(
|
|
2753
|
+
return this.request('menu', 'get_menu_v3_brand_menus', 'get', `/menu/v3/brand/${id}/menus`, null, options);
|
|
2744
2754
|
}
|
|
2745
2755
|
/**
|
|
2746
2756
|
* GET /menu/v3/brand/{id}/modifiers
|
|
@@ -2749,7 +2759,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2749
2759
|
* @param options - additional request options
|
|
2750
2760
|
*/
|
|
2751
2761
|
get_menu_v3_brand_modifiers(id, options) {
|
|
2752
|
-
return this.request(
|
|
2762
|
+
return this.request('menu', 'get_menu_v3_brand_modifiers', 'get', `/menu/v3/brand/${id}/modifiers`, null, options);
|
|
2753
2763
|
}
|
|
2754
2764
|
/**
|
|
2755
2765
|
* GET /menu/v3/brand/{id}/modifier_groups
|
|
@@ -2758,7 +2768,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2758
2768
|
* @param options - additional request options
|
|
2759
2769
|
*/
|
|
2760
2770
|
get_menu_v3_brand_modifier_groups(id, options) {
|
|
2761
|
-
return this.request(
|
|
2771
|
+
return this.request('menu', 'get_menu_v3_brand_modifier_groups', 'get', `/menu/v3/brand/${id}/modifier_groups`, null, options);
|
|
2762
2772
|
}
|
|
2763
2773
|
/**
|
|
2764
2774
|
* GET /menu/v3/brand/{id}/items
|
|
@@ -2767,7 +2777,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2767
2777
|
* @param options - additional request options
|
|
2768
2778
|
*/
|
|
2769
2779
|
get_menu_v3_brand_items(id, options) {
|
|
2770
|
-
return this.request(
|
|
2780
|
+
return this.request('menu', 'get_menu_v3_brand_items', 'get', `/menu/v3/brand/${id}/items`, null, options);
|
|
2771
2781
|
}
|
|
2772
2782
|
/**
|
|
2773
2783
|
* POST /menu/v3/draft/menu
|
|
@@ -2776,7 +2786,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2776
2786
|
* @param options - additional request options
|
|
2777
2787
|
*/
|
|
2778
2788
|
post_menu_v3_draft_menu(body, options) {
|
|
2779
|
-
return this.request(
|
|
2789
|
+
return this.request('menu', 'post_menu_v3_draft_menu', 'post', `/menu/v3/draft/menu`, body, options);
|
|
2780
2790
|
}
|
|
2781
2791
|
/**
|
|
2782
2792
|
* GET /menu/v3/draft/menu/{id}
|
|
@@ -2785,7 +2795,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2785
2795
|
* @param options - additional request options
|
|
2786
2796
|
*/
|
|
2787
2797
|
get_menu_v3_draft_menu(id, options) {
|
|
2788
|
-
return this.request(
|
|
2798
|
+
return this.request('menu', 'get_menu_v3_draft_menu', 'get', `/menu/v3/draft/menu/${id}`, null, options);
|
|
2789
2799
|
}
|
|
2790
2800
|
/**
|
|
2791
2801
|
* PATCH /menu/v3/draft/menu/{id}
|
|
@@ -2795,7 +2805,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2795
2805
|
* @param options - additional request options
|
|
2796
2806
|
*/
|
|
2797
2807
|
patch_menu_v3_draft_menu(id, body, options) {
|
|
2798
|
-
return this.request(
|
|
2808
|
+
return this.request('menu', 'patch_menu_v3_draft_menu', 'patch', `/menu/v3/draft/menu/${id}`, body, options);
|
|
2799
2809
|
}
|
|
2800
2810
|
/**
|
|
2801
2811
|
* DELETE /menu/v3/draft/menu/{id}
|
|
@@ -2804,7 +2814,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2804
2814
|
* @param options - additional request options
|
|
2805
2815
|
*/
|
|
2806
2816
|
delete_menu_v3_draft_menu(id, options) {
|
|
2807
|
-
return this.request(
|
|
2817
|
+
return this.request('menu', 'delete_menu_v3_draft_menu', 'delete', `/menu/v3/draft/menu/${id}`, null, options);
|
|
2808
2818
|
}
|
|
2809
2819
|
/**
|
|
2810
2820
|
* GET /menu/v3/draft/menus
|
|
@@ -2812,7 +2822,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2812
2822
|
* @param options - additional request options
|
|
2813
2823
|
*/
|
|
2814
2824
|
get_menu_v3_draft_menus(options) {
|
|
2815
|
-
return this.request(
|
|
2825
|
+
return this.request('menu', 'get_menu_v3_draft_menus', 'get', `/menu/v3/draft/menus`, null, options);
|
|
2816
2826
|
}
|
|
2817
2827
|
/**
|
|
2818
2828
|
* POST /menu/v3/draft/menus
|
|
@@ -2821,7 +2831,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2821
2831
|
* @param options - additional request options
|
|
2822
2832
|
*/
|
|
2823
2833
|
post_menu_v3_draft_menus(body, options) {
|
|
2824
|
-
return this.request(
|
|
2834
|
+
return this.request('menu', 'post_menu_v3_draft_menus', 'post', `/menu/v3/draft/menus`, body, options);
|
|
2825
2835
|
}
|
|
2826
2836
|
/**
|
|
2827
2837
|
* GET /menu/v3/draft/menus/count
|
|
@@ -2829,7 +2839,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2829
2839
|
* @param options - additional request options
|
|
2830
2840
|
*/
|
|
2831
2841
|
get_menu_v3_draft_menus_count(options) {
|
|
2832
|
-
return this.request(
|
|
2842
|
+
return this.request('menu', 'get_menu_v3_draft_menus_count', 'get', `/menu/v3/draft/menus/count`, null, options);
|
|
2833
2843
|
}
|
|
2834
2844
|
/**
|
|
2835
2845
|
* POST /menu/v3/draft/menu/{id}/recover
|
|
@@ -2838,7 +2848,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2838
2848
|
* @param options - additional request options
|
|
2839
2849
|
*/
|
|
2840
2850
|
post_menu_v3_draft_menu_recover(id, options) {
|
|
2841
|
-
return this.request(
|
|
2851
|
+
return this.request('menu', 'post_menu_v3_draft_menu_recover', 'post', `/menu/v3/draft/menu/${id}/recover`, null, options);
|
|
2842
2852
|
}
|
|
2843
2853
|
/**
|
|
2844
2854
|
* GET /menu/v3/draft/menu/{id}/categories
|
|
@@ -2847,7 +2857,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2847
2857
|
* @param options - additional request options
|
|
2848
2858
|
*/
|
|
2849
2859
|
get_menu_v3_draft_menu_categories(id, options) {
|
|
2850
|
-
return this.request(
|
|
2860
|
+
return this.request('menu', 'get_menu_v3_draft_menu_categories', 'get', `/menu/v3/draft/menu/${id}/categories`, null, options);
|
|
2851
2861
|
}
|
|
2852
2862
|
/**
|
|
2853
2863
|
* POST /menu/v3/draft/menu/{id}/publish
|
|
@@ -2856,7 +2866,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2856
2866
|
* @param options - additional request options
|
|
2857
2867
|
*/
|
|
2858
2868
|
post_menu_v3_draft_menu_publish(id, options) {
|
|
2859
|
-
return this.request(
|
|
2869
|
+
return this.request('menu', 'post_menu_v3_draft_menu_publish', 'post', `/menu/v3/draft/menu/${id}/publish`, null, options);
|
|
2870
|
+
}
|
|
2871
|
+
/**
|
|
2872
|
+
* GET /menu/v3/draft/menus/verify-publish
|
|
2873
|
+
*
|
|
2874
|
+
* @param options - additional request options
|
|
2875
|
+
*/
|
|
2876
|
+
get_menu_v3_draft_menus_verify_publish(options) {
|
|
2877
|
+
return this.request('menu', 'get_menu_v3_draft_menus_verify_publish', 'get', `/menu/v3/draft/menus/verify-publish`, null, options);
|
|
2860
2878
|
}
|
|
2861
2879
|
/**
|
|
2862
2880
|
* GET /menu/v3/menu/{id}
|
|
@@ -2865,7 +2883,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2865
2883
|
* @param options - additional request options
|
|
2866
2884
|
*/
|
|
2867
2885
|
get_menu_v3_menu(id, options) {
|
|
2868
|
-
return this.request(
|
|
2886
|
+
return this.request('menu', 'get_menu_v3_menu', 'get', `/menu/v3/menu/${id}`, null, options);
|
|
2869
2887
|
}
|
|
2870
2888
|
/**
|
|
2871
2889
|
* GET /menu/v3/menus
|
|
@@ -2873,7 +2891,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2873
2891
|
* @param options - additional request options
|
|
2874
2892
|
*/
|
|
2875
2893
|
get_menu_v3_menus(options) {
|
|
2876
|
-
return this.request(
|
|
2894
|
+
return this.request('menu', 'get_menu_v3_menus', 'get', `/menu/v3/menus`, null, options);
|
|
2877
2895
|
}
|
|
2878
2896
|
/**
|
|
2879
2897
|
* GET /menu/v3/menus/count
|
|
@@ -2881,7 +2899,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2881
2899
|
* @param options - additional request options
|
|
2882
2900
|
*/
|
|
2883
2901
|
get_menu_v3_menus_count(options) {
|
|
2884
|
-
return this.request(
|
|
2902
|
+
return this.request('menu', 'get_menu_v3_menus_count', 'get', `/menu/v3/menus/count`, null, options);
|
|
2885
2903
|
}
|
|
2886
2904
|
/**
|
|
2887
2905
|
* POST /menu/v3/menu/{id}/recover
|
|
@@ -2890,7 +2908,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2890
2908
|
* @param options - additional request options
|
|
2891
2909
|
*/
|
|
2892
2910
|
post_menu_v3_menu_recover(id, options) {
|
|
2893
|
-
return this.request(
|
|
2911
|
+
return this.request('menu', 'post_menu_v3_menu_recover', 'post', `/menu/v3/menu/${id}/recover`, null, options);
|
|
2894
2912
|
}
|
|
2895
2913
|
/**
|
|
2896
2914
|
* GET /menu/v3/menu/{id}/categories
|
|
@@ -2899,7 +2917,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2899
2917
|
* @param options - additional request options
|
|
2900
2918
|
*/
|
|
2901
2919
|
get_menu_v3_menu_categories(id, options) {
|
|
2902
|
-
return this.request(
|
|
2920
|
+
return this.request('menu', 'get_menu_v3_menu_categories', 'get', `/menu/v3/menu/${id}/categories`, null, options);
|
|
2903
2921
|
}
|
|
2904
2922
|
/**
|
|
2905
2923
|
* PATCH /menu/v3/{id}/stock
|
|
@@ -2909,7 +2927,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2909
2927
|
* @param options - additional request options
|
|
2910
2928
|
*/
|
|
2911
2929
|
patch_menu_v3_stock(id, body, options) {
|
|
2912
|
-
return this.request(
|
|
2930
|
+
return this.request('menu', 'patch_menu_v3_stock', 'patch', `/menu/v3/${id}/stock`, body, options);
|
|
2913
2931
|
}
|
|
2914
2932
|
/**
|
|
2915
2933
|
* POST /menu/v3/draft/category
|
|
@@ -2918,7 +2936,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2918
2936
|
* @param options - additional request options
|
|
2919
2937
|
*/
|
|
2920
2938
|
post_menu_v3_draft_category(body, options) {
|
|
2921
|
-
return this.request(
|
|
2939
|
+
return this.request('menu', 'post_menu_v3_draft_category', 'post', `/menu/v3/draft/category`, body, options);
|
|
2922
2940
|
}
|
|
2923
2941
|
/**
|
|
2924
2942
|
* GET /menu/v3/draft/category/{id}
|
|
@@ -2927,7 +2945,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2927
2945
|
* @param options - additional request options
|
|
2928
2946
|
*/
|
|
2929
2947
|
get_menu_v3_draft_category(id, options) {
|
|
2930
|
-
return this.request(
|
|
2948
|
+
return this.request('menu', 'get_menu_v3_draft_category', 'get', `/menu/v3/draft/category/${id}`, null, options);
|
|
2931
2949
|
}
|
|
2932
2950
|
/**
|
|
2933
2951
|
* PATCH /menu/v3/draft/category/{id}
|
|
@@ -2937,7 +2955,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2937
2955
|
* @param options - additional request options
|
|
2938
2956
|
*/
|
|
2939
2957
|
patch_menu_v3_draft_category(id, body, options) {
|
|
2940
|
-
return this.request(
|
|
2958
|
+
return this.request('menu', 'patch_menu_v3_draft_category', 'patch', `/menu/v3/draft/category/${id}`, body, options);
|
|
2941
2959
|
}
|
|
2942
2960
|
/**
|
|
2943
2961
|
* DELETE /menu/v3/draft/category/{id}
|
|
@@ -2946,7 +2964,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2946
2964
|
* @param options - additional request options
|
|
2947
2965
|
*/
|
|
2948
2966
|
delete_menu_v3_draft_category(id, options) {
|
|
2949
|
-
return this.request(
|
|
2967
|
+
return this.request('menu', 'delete_menu_v3_draft_category', 'delete', `/menu/v3/draft/category/${id}`, null, options);
|
|
2950
2968
|
}
|
|
2951
2969
|
/**
|
|
2952
2970
|
* GET /menu/v3/draft/categories/count
|
|
@@ -2954,7 +2972,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2954
2972
|
* @param options - additional request options
|
|
2955
2973
|
*/
|
|
2956
2974
|
get_menu_v3_draft_categories_count(options) {
|
|
2957
|
-
return this.request(
|
|
2975
|
+
return this.request('menu', 'get_menu_v3_draft_categories_count', 'get', `/menu/v3/draft/categories/count`, null, options);
|
|
2958
2976
|
}
|
|
2959
2977
|
/**
|
|
2960
2978
|
* POST /menu/v3/draft/categories
|
|
@@ -2963,7 +2981,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2963
2981
|
* @param options - additional request options
|
|
2964
2982
|
*/
|
|
2965
2983
|
post_menu_v3_draft_categories(body, options) {
|
|
2966
|
-
return this.request(
|
|
2984
|
+
return this.request('menu', 'post_menu_v3_draft_categories', 'post', `/menu/v3/draft/categories`, body, options);
|
|
2967
2985
|
}
|
|
2968
2986
|
/**
|
|
2969
2987
|
* POST /menu/v3/draft/category/{id}/recover
|
|
@@ -2972,7 +2990,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2972
2990
|
* @param options - additional request options
|
|
2973
2991
|
*/
|
|
2974
2992
|
post_menu_v3_draft_category_recover(id, options) {
|
|
2975
|
-
return this.request(
|
|
2993
|
+
return this.request('menu', 'post_menu_v3_draft_category_recover', 'post', `/menu/v3/draft/category/${id}/recover`, null, options);
|
|
2976
2994
|
}
|
|
2977
2995
|
/**
|
|
2978
2996
|
* POST /menu/v3/draft/category/{id}/attachment/{name}
|
|
@@ -2982,7 +3000,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2982
3000
|
* @param options - additional request options
|
|
2983
3001
|
*/
|
|
2984
3002
|
post_menu_v3_draft_category_attachment(id, name, options) {
|
|
2985
|
-
return this.request(
|
|
3003
|
+
return this.request('menu', 'post_menu_v3_draft_category_attachment', 'post', `/menu/v3/draft/category/${id}/attachment/${name}`, null, options);
|
|
2986
3004
|
}
|
|
2987
3005
|
/**
|
|
2988
3006
|
* GET /menu/v3/category/{id}
|
|
@@ -2991,7 +3009,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2991
3009
|
* @param options - additional request options
|
|
2992
3010
|
*/
|
|
2993
3011
|
get_menu_v3_category(id, options) {
|
|
2994
|
-
return this.request(
|
|
3012
|
+
return this.request('menu', 'get_menu_v3_category', 'get', `/menu/v3/category/${id}`, null, options);
|
|
2995
3013
|
}
|
|
2996
3014
|
/**
|
|
2997
3015
|
* GET /menu/v3/categorys/count
|
|
@@ -2999,7 +3017,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2999
3017
|
* @param options - additional request options
|
|
3000
3018
|
*/
|
|
3001
3019
|
get_menu_v3_categorys_count(options) {
|
|
3002
|
-
return this.request(
|
|
3020
|
+
return this.request('menu', 'get_menu_v3_categorys_count', 'get', `/menu/v3/categorys/count`, null, options);
|
|
3003
3021
|
}
|
|
3004
3022
|
/**
|
|
3005
3023
|
* POST /menu/v3/category/{id}/recover
|
|
@@ -3008,7 +3026,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3008
3026
|
* @param options - additional request options
|
|
3009
3027
|
*/
|
|
3010
3028
|
post_menu_v3_category_recover(id, options) {
|
|
3011
|
-
return this.request(
|
|
3029
|
+
return this.request('menu', 'post_menu_v3_category_recover', 'post', `/menu/v3/category/${id}/recover`, null, options);
|
|
3012
3030
|
}
|
|
3013
3031
|
/**
|
|
3014
3032
|
* POST /menu/v3/draft/category/relationships/item
|
|
@@ -3017,7 +3035,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3017
3035
|
* @param options - additional request options
|
|
3018
3036
|
*/
|
|
3019
3037
|
post_menu_v3_draft_category_relationships_item(body, options) {
|
|
3020
|
-
return this.request(
|
|
3038
|
+
return this.request('menu', 'post_menu_v3_draft_category_relationships_item', 'post', `/menu/v3/draft/category/relationships/item`, body, options);
|
|
3021
3039
|
}
|
|
3022
3040
|
/**
|
|
3023
3041
|
* GET /menu/v3/draft/category/relationships/item/{id}
|
|
@@ -3026,7 +3044,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3026
3044
|
* @param options - additional request options
|
|
3027
3045
|
*/
|
|
3028
3046
|
get_menu_v3_draft_category_relationships_item(id, options) {
|
|
3029
|
-
return this.request(
|
|
3047
|
+
return this.request('menu', 'get_menu_v3_draft_category_relationships_item', 'get', `/menu/v3/draft/category/relationships/item/${id}`, null, options);
|
|
3030
3048
|
}
|
|
3031
3049
|
/**
|
|
3032
3050
|
* PATCH /menu/v3/draft/category/relationships/item/{id}
|
|
@@ -3036,7 +3054,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3036
3054
|
* @param options - additional request options
|
|
3037
3055
|
*/
|
|
3038
3056
|
patch_menu_v3_draft_category_relationships_item(id, body, options) {
|
|
3039
|
-
return this.request(
|
|
3057
|
+
return this.request('menu', 'patch_menu_v3_draft_category_relationships_item', 'patch', `/menu/v3/draft/category/relationships/item/${id}`, body, options);
|
|
3040
3058
|
}
|
|
3041
3059
|
/**
|
|
3042
3060
|
* DELETE /menu/v3/draft/category/relationships/item/{id}
|
|
@@ -3045,7 +3063,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3045
3063
|
* @param options - additional request options
|
|
3046
3064
|
*/
|
|
3047
3065
|
delete_menu_v3_draft_category_relationships_item(id, options) {
|
|
3048
|
-
return this.request(
|
|
3066
|
+
return this.request('menu', 'delete_menu_v3_draft_category_relationships_item', 'delete', `/menu/v3/draft/category/relationships/item/${id}`, null, options);
|
|
3049
3067
|
}
|
|
3050
3068
|
/**
|
|
3051
3069
|
* GET /menu/v3/draft/category/relationships/items
|
|
@@ -3053,7 +3071,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3053
3071
|
* @param options - additional request options
|
|
3054
3072
|
*/
|
|
3055
3073
|
get_menu_v3_draft_category_relationships_items(options) {
|
|
3056
|
-
return this.request(
|
|
3074
|
+
return this.request('menu', 'get_menu_v3_draft_category_relationships_items', 'get', `/menu/v3/draft/category/relationships/items`, null, options);
|
|
3057
3075
|
}
|
|
3058
3076
|
/**
|
|
3059
3077
|
* POST /menu/v3/draft/category/relationships/items
|
|
@@ -3062,7 +3080,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3062
3080
|
* @param options - additional request options
|
|
3063
3081
|
*/
|
|
3064
3082
|
post_menu_v3_draft_category_relationships_items(body, options) {
|
|
3065
|
-
return this.request(
|
|
3083
|
+
return this.request('menu', 'post_menu_v3_draft_category_relationships_items', 'post', `/menu/v3/draft/category/relationships/items`, body, options);
|
|
3066
3084
|
}
|
|
3067
3085
|
/**
|
|
3068
3086
|
* GET /menu/v3/draft/category/relationships/items/count
|
|
@@ -3070,7 +3088,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3070
3088
|
* @param options - additional request options
|
|
3071
3089
|
*/
|
|
3072
3090
|
get_menu_v3_draft_category_relationships_items_count(options) {
|
|
3073
|
-
return this.request(
|
|
3091
|
+
return this.request('menu', 'get_menu_v3_draft_category_relationships_items_count', 'get', `/menu/v3/draft/category/relationships/items/count`, null, options);
|
|
3074
3092
|
}
|
|
3075
3093
|
/**
|
|
3076
3094
|
* POST /menu/v3/draft/category/relationships/item/{id}/recover
|
|
@@ -3079,7 +3097,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3079
3097
|
* @param options - additional request options
|
|
3080
3098
|
*/
|
|
3081
3099
|
post_menu_v3_draft_category_relationships_item_recover(id, options) {
|
|
3082
|
-
return this.request(
|
|
3100
|
+
return this.request('menu', 'post_menu_v3_draft_category_relationships_item_recover', 'post', `/menu/v3/draft/category/relationships/item/${id}/recover`, null, options);
|
|
3083
3101
|
}
|
|
3084
3102
|
/**
|
|
3085
3103
|
* GET /menu/v3/category/relationships/item/{id}
|
|
@@ -3088,7 +3106,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3088
3106
|
* @param options - additional request options
|
|
3089
3107
|
*/
|
|
3090
3108
|
get_menu_v3_category_relationships_item(id, options) {
|
|
3091
|
-
return this.request(
|
|
3109
|
+
return this.request('menu', 'get_menu_v3_category_relationships_item', 'get', `/menu/v3/category/relationships/item/${id}`, null, options);
|
|
3092
3110
|
}
|
|
3093
3111
|
/**
|
|
3094
3112
|
* GET /menu/v3/category/relationships/items
|
|
@@ -3096,7 +3114,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3096
3114
|
* @param options - additional request options
|
|
3097
3115
|
*/
|
|
3098
3116
|
get_menu_v3_category_relationships_items(options) {
|
|
3099
|
-
return this.request(
|
|
3117
|
+
return this.request('menu', 'get_menu_v3_category_relationships_items', 'get', `/menu/v3/category/relationships/items`, null, options);
|
|
3100
3118
|
}
|
|
3101
3119
|
/**
|
|
3102
3120
|
* GET /menu/v3/category/relationships/items/count
|
|
@@ -3104,7 +3122,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3104
3122
|
* @param options - additional request options
|
|
3105
3123
|
*/
|
|
3106
3124
|
get_menu_v3_category_relationships_items_count(options) {
|
|
3107
|
-
return this.request(
|
|
3125
|
+
return this.request('menu', 'get_menu_v3_category_relationships_items_count', 'get', `/menu/v3/category/relationships/items/count`, null, options);
|
|
3108
3126
|
}
|
|
3109
3127
|
/**
|
|
3110
3128
|
* POST /menu/v3/category/relationships/item/{id}/recover
|
|
@@ -3113,7 +3131,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3113
3131
|
* @param options - additional request options
|
|
3114
3132
|
*/
|
|
3115
3133
|
post_menu_v3_category_relationships_item_recover(id, options) {
|
|
3116
|
-
return this.request(
|
|
3134
|
+
return this.request('menu', 'post_menu_v3_category_relationships_item_recover', 'post', `/menu/v3/category/relationships/item/${id}/recover`, null, options);
|
|
3117
3135
|
}
|
|
3118
3136
|
/**
|
|
3119
3137
|
* POST /menu/v3/draft/item
|
|
@@ -3122,7 +3140,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3122
3140
|
* @param options - additional request options
|
|
3123
3141
|
*/
|
|
3124
3142
|
post_menu_v3_draft_item(body, options) {
|
|
3125
|
-
return this.request(
|
|
3143
|
+
return this.request('menu', 'post_menu_v3_draft_item', 'post', `/menu/v3/draft/item`, body, options);
|
|
3126
3144
|
}
|
|
3127
3145
|
/**
|
|
3128
3146
|
* GET /menu/v3/draft/item/{id}
|
|
@@ -3131,7 +3149,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3131
3149
|
* @param options - additional request options
|
|
3132
3150
|
*/
|
|
3133
3151
|
get_menu_v3_draft_item(id, options) {
|
|
3134
|
-
return this.request(
|
|
3152
|
+
return this.request('menu', 'get_menu_v3_draft_item', 'get', `/menu/v3/draft/item/${id}`, null, options);
|
|
3135
3153
|
}
|
|
3136
3154
|
/**
|
|
3137
3155
|
* PATCH /menu/v3/draft/item/{id}
|
|
@@ -3141,7 +3159,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3141
3159
|
* @param options - additional request options
|
|
3142
3160
|
*/
|
|
3143
3161
|
patch_menu_v3_draft_item(id, body, options) {
|
|
3144
|
-
return this.request(
|
|
3162
|
+
return this.request('menu', 'patch_menu_v3_draft_item', 'patch', `/menu/v3/draft/item/${id}`, body, options);
|
|
3145
3163
|
}
|
|
3146
3164
|
/**
|
|
3147
3165
|
* DELETE /menu/v3/draft/item/{id}
|
|
@@ -3150,7 +3168,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3150
3168
|
* @param options - additional request options
|
|
3151
3169
|
*/
|
|
3152
3170
|
delete_menu_v3_draft_item(id, options) {
|
|
3153
|
-
return this.request(
|
|
3171
|
+
return this.request('menu', 'delete_menu_v3_draft_item', 'delete', `/menu/v3/draft/item/${id}`, null, options);
|
|
3154
3172
|
}
|
|
3155
3173
|
/**
|
|
3156
3174
|
* DELETE /menu/v3/draft/items
|
|
@@ -3159,7 +3177,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3159
3177
|
* @param options - additional request options
|
|
3160
3178
|
*/
|
|
3161
3179
|
delete_menu_v3_draft_items(body, options) {
|
|
3162
|
-
return this.request(
|
|
3180
|
+
return this.request('menu', 'delete_menu_v3_draft_items', 'delete', `/menu/v3/draft/items`, body, options);
|
|
3163
3181
|
}
|
|
3164
3182
|
/**
|
|
3165
3183
|
* GET /menu/v3/draft/items
|
|
@@ -3167,7 +3185,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3167
3185
|
* @param options - additional request options
|
|
3168
3186
|
*/
|
|
3169
3187
|
get_menu_v3_draft_items(options) {
|
|
3170
|
-
return this.request(
|
|
3188
|
+
return this.request('menu', 'get_menu_v3_draft_items', 'get', `/menu/v3/draft/items`, null, options);
|
|
3171
3189
|
}
|
|
3172
3190
|
/**
|
|
3173
3191
|
* POST /menu/v3/draft/items
|
|
@@ -3176,7 +3194,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3176
3194
|
* @param options - additional request options
|
|
3177
3195
|
*/
|
|
3178
3196
|
post_menu_v3_draft_items(body, options) {
|
|
3179
|
-
return this.request(
|
|
3197
|
+
return this.request('menu', 'post_menu_v3_draft_items', 'post', `/menu/v3/draft/items`, body, options);
|
|
3180
3198
|
}
|
|
3181
3199
|
/**
|
|
3182
3200
|
* GET /menu/v3/draft/items/count
|
|
@@ -3184,7 +3202,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3184
3202
|
* @param options - additional request options
|
|
3185
3203
|
*/
|
|
3186
3204
|
get_menu_v3_draft_items_count(options) {
|
|
3187
|
-
return this.request(
|
|
3205
|
+
return this.request('menu', 'get_menu_v3_draft_items_count', 'get', `/menu/v3/draft/items/count`, null, options);
|
|
3188
3206
|
}
|
|
3189
3207
|
/**
|
|
3190
3208
|
* POST /menu/v3/draft/item/{id}/recover
|
|
@@ -3193,7 +3211,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3193
3211
|
* @param options - additional request options
|
|
3194
3212
|
*/
|
|
3195
3213
|
post_menu_v3_draft_item_recover(id, options) {
|
|
3196
|
-
return this.request(
|
|
3214
|
+
return this.request('menu', 'post_menu_v3_draft_item_recover', 'post', `/menu/v3/draft/item/${id}/recover`, null, options);
|
|
3197
3215
|
}
|
|
3198
3216
|
/**
|
|
3199
3217
|
* GET /menu/v3/draft/item/{id}/line-routes
|
|
@@ -3202,7 +3220,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3202
3220
|
* @param options - additional request options
|
|
3203
3221
|
*/
|
|
3204
3222
|
get_menu_v3_draft_item_line_routes(id, options) {
|
|
3205
|
-
return this.request(
|
|
3223
|
+
return this.request('menu', 'get_menu_v3_draft_item_line_routes', 'get', `/menu/v3/draft/item/${id}/line-routes`, null, options);
|
|
3206
3224
|
}
|
|
3207
3225
|
/**
|
|
3208
3226
|
* PATCH /menu/v3/draft/items/bulk-update
|
|
@@ -3211,7 +3229,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3211
3229
|
* @param options - additional request options
|
|
3212
3230
|
*/
|
|
3213
3231
|
patch_menu_v3_draft_items_bulk_update(body, options) {
|
|
3214
|
-
return this.request(
|
|
3232
|
+
return this.request('menu', 'patch_menu_v3_draft_items_bulk_update', 'patch', `/menu/v3/draft/items/bulk-update`, body, options);
|
|
3215
3233
|
}
|
|
3216
3234
|
/**
|
|
3217
3235
|
* POST /menu/v3/draft/item/{id}/attachment/{name}
|
|
@@ -3221,7 +3239,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3221
3239
|
* @param options - additional request options
|
|
3222
3240
|
*/
|
|
3223
3241
|
post_menu_v3_draft_item_attachment(id, name, options) {
|
|
3224
|
-
return this.request(
|
|
3242
|
+
return this.request('menu', 'post_menu_v3_draft_item_attachment', 'post', `/menu/v3/draft/item/${id}/attachment/${name}`, null, options);
|
|
3225
3243
|
}
|
|
3226
3244
|
/**
|
|
3227
3245
|
* POST /menu/v3/draft/items/validate
|
|
@@ -3230,7 +3248,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3230
3248
|
* @param options - additional request options
|
|
3231
3249
|
*/
|
|
3232
3250
|
post_menu_v3_draft_items_validate(body, options) {
|
|
3233
|
-
return this.request(
|
|
3251
|
+
return this.request('menu', 'post_menu_v3_draft_items_validate', 'post', `/menu/v3/draft/items/validate`, body, options);
|
|
3234
3252
|
}
|
|
3235
3253
|
/**
|
|
3236
3254
|
* POST /menu/v3/draft/items/import
|
|
@@ -3239,7 +3257,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3239
3257
|
* @param options - additional request options
|
|
3240
3258
|
*/
|
|
3241
3259
|
post_menu_v3_draft_items_import(body, options) {
|
|
3242
|
-
return this.request(
|
|
3260
|
+
return this.request('menu', 'post_menu_v3_draft_items_import', 'post', `/menu/v3/draft/items/import`, body, options);
|
|
3243
3261
|
}
|
|
3244
3262
|
/**
|
|
3245
3263
|
* POST /menu/v3/draft/items/export
|
|
@@ -3248,7 +3266,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3248
3266
|
* @param options - additional request options
|
|
3249
3267
|
*/
|
|
3250
3268
|
post_menu_v3_draft_items_export(body, options) {
|
|
3251
|
-
return this.request(
|
|
3269
|
+
return this.request('menu', 'post_menu_v3_draft_items_export', 'post', `/menu/v3/draft/items/export`, body, options);
|
|
3252
3270
|
}
|
|
3253
3271
|
/**
|
|
3254
3272
|
* GET /menu/v3/item/{id}
|
|
@@ -3257,7 +3275,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3257
3275
|
* @param options - additional request options
|
|
3258
3276
|
*/
|
|
3259
3277
|
get_menu_v3_item(id, options) {
|
|
3260
|
-
return this.request(
|
|
3278
|
+
return this.request('menu', 'get_menu_v3_item', 'get', `/menu/v3/item/${id}`, null, options);
|
|
3261
3279
|
}
|
|
3262
3280
|
/**
|
|
3263
3281
|
* GET /menu/v3/items
|
|
@@ -3265,7 +3283,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3265
3283
|
* @param options - additional request options
|
|
3266
3284
|
*/
|
|
3267
3285
|
get_menu_v3_items(options) {
|
|
3268
|
-
return this.request(
|
|
3286
|
+
return this.request('menu', 'get_menu_v3_items', 'get', `/menu/v3/items`, null, options);
|
|
3269
3287
|
}
|
|
3270
3288
|
/**
|
|
3271
3289
|
* GET /menu/v3/items/count
|
|
@@ -3273,7 +3291,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3273
3291
|
* @param options - additional request options
|
|
3274
3292
|
*/
|
|
3275
3293
|
get_menu_v3_items_count(options) {
|
|
3276
|
-
return this.request(
|
|
3294
|
+
return this.request('menu', 'get_menu_v3_items_count', 'get', `/menu/v3/items/count`, null, options);
|
|
3277
3295
|
}
|
|
3278
3296
|
/**
|
|
3279
3297
|
* POST /menu/v3/item/{id}/recover
|
|
@@ -3282,7 +3300,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3282
3300
|
* @param options - additional request options
|
|
3283
3301
|
*/
|
|
3284
3302
|
post_menu_v3_item_recover(id, options) {
|
|
3285
|
-
return this.request(
|
|
3303
|
+
return this.request('menu', 'post_menu_v3_item_recover', 'post', `/menu/v3/item/${id}/recover`, null, options);
|
|
3286
3304
|
}
|
|
3287
3305
|
/**
|
|
3288
3306
|
* POST /menu/v3/draft/item/relationships/modifier-group
|
|
@@ -3291,7 +3309,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3291
3309
|
* @param options - additional request options
|
|
3292
3310
|
*/
|
|
3293
3311
|
post_menu_v3_draft_item_relationships_modifier_group(body, options) {
|
|
3294
|
-
return this.request(
|
|
3312
|
+
return this.request('menu', 'post_menu_v3_draft_item_relationships_modifier_group', 'post', `/menu/v3/draft/item/relationships/modifier-group`, body, options);
|
|
3295
3313
|
}
|
|
3296
3314
|
/**
|
|
3297
3315
|
* GET /menu/v3/draft/item/relationships/modifier-group/{id}
|
|
@@ -3300,7 +3318,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3300
3318
|
* @param options - additional request options
|
|
3301
3319
|
*/
|
|
3302
3320
|
get_menu_v3_draft_item_relationships_modifier_group(id, options) {
|
|
3303
|
-
return this.request(
|
|
3321
|
+
return this.request('menu', 'get_menu_v3_draft_item_relationships_modifier_group', 'get', `/menu/v3/draft/item/relationships/modifier-group/${id}`, null, options);
|
|
3304
3322
|
}
|
|
3305
3323
|
/**
|
|
3306
3324
|
* PATCH /menu/v3/draft/item/relationships/modifier-group/{id}
|
|
@@ -3310,7 +3328,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3310
3328
|
* @param options - additional request options
|
|
3311
3329
|
*/
|
|
3312
3330
|
patch_menu_v3_draft_item_relationships_modifier_group(id, body, options) {
|
|
3313
|
-
return this.request(
|
|
3331
|
+
return this.request('menu', 'patch_menu_v3_draft_item_relationships_modifier_group', 'patch', `/menu/v3/draft/item/relationships/modifier-group/${id}`, body, options);
|
|
3314
3332
|
}
|
|
3315
3333
|
/**
|
|
3316
3334
|
* DELETE /menu/v3/draft/item/relationships/modifier-group/{id}
|
|
@@ -3319,7 +3337,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3319
3337
|
* @param options - additional request options
|
|
3320
3338
|
*/
|
|
3321
3339
|
delete_menu_v3_draft_item_relationships_modifier_group(id, options) {
|
|
3322
|
-
return this.request(
|
|
3340
|
+
return this.request('menu', 'delete_menu_v3_draft_item_relationships_modifier_group', 'delete', `/menu/v3/draft/item/relationships/modifier-group/${id}`, null, options);
|
|
3323
3341
|
}
|
|
3324
3342
|
/**
|
|
3325
3343
|
* GET /menu/v3/draft/item/relationships/modifier-groups
|
|
@@ -3327,7 +3345,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3327
3345
|
* @param options - additional request options
|
|
3328
3346
|
*/
|
|
3329
3347
|
get_menu_v3_draft_item_relationships_modifier_groups(options) {
|
|
3330
|
-
return this.request(
|
|
3348
|
+
return this.request('menu', 'get_menu_v3_draft_item_relationships_modifier_groups', 'get', `/menu/v3/draft/item/relationships/modifier-groups`, null, options);
|
|
3331
3349
|
}
|
|
3332
3350
|
/**
|
|
3333
3351
|
* POST /menu/v3/draft/item/relationships/modifier-groups
|
|
@@ -3336,7 +3354,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3336
3354
|
* @param options - additional request options
|
|
3337
3355
|
*/
|
|
3338
3356
|
post_menu_v3_draft_item_relationships_modifier_groups(body, options) {
|
|
3339
|
-
return this.request(
|
|
3357
|
+
return this.request('menu', 'post_menu_v3_draft_item_relationships_modifier_groups', 'post', `/menu/v3/draft/item/relationships/modifier-groups`, body, options);
|
|
3340
3358
|
}
|
|
3341
3359
|
/**
|
|
3342
3360
|
* GET /menu/v3/draft/item/relationships/modifier-groups/count
|
|
@@ -3344,7 +3362,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3344
3362
|
* @param options - additional request options
|
|
3345
3363
|
*/
|
|
3346
3364
|
get_menu_v3_draft_item_relationships_modifier_groups_count(options) {
|
|
3347
|
-
return this.request(
|
|
3365
|
+
return this.request('menu', 'get_menu_v3_draft_item_relationships_modifier_groups_count', 'get', `/menu/v3/draft/item/relationships/modifier-groups/count`, null, options);
|
|
3348
3366
|
}
|
|
3349
3367
|
/**
|
|
3350
3368
|
* POST /menu/v3/draft/item/relationships/modifier-group/{id}/recover
|
|
@@ -3353,7 +3371,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3353
3371
|
* @param options - additional request options
|
|
3354
3372
|
*/
|
|
3355
3373
|
post_menu_v3_draft_item_relationships_modifier_group_recover(id, options) {
|
|
3356
|
-
return this.request(
|
|
3374
|
+
return this.request('menu', 'post_menu_v3_draft_item_relationships_modifier_group_recover', 'post', `/menu/v3/draft/item/relationships/modifier-group/${id}/recover`, null, options);
|
|
3357
3375
|
}
|
|
3358
3376
|
/**
|
|
3359
3377
|
* GET /menu/v3/item/relationships/modifier-group/{id}
|
|
@@ -3362,7 +3380,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3362
3380
|
* @param options - additional request options
|
|
3363
3381
|
*/
|
|
3364
3382
|
get_menu_v3_item_relationships_modifier_group(id, options) {
|
|
3365
|
-
return this.request(
|
|
3383
|
+
return this.request('menu', 'get_menu_v3_item_relationships_modifier_group', 'get', `/menu/v3/item/relationships/modifier-group/${id}`, null, options);
|
|
3366
3384
|
}
|
|
3367
3385
|
/**
|
|
3368
3386
|
* GET /menu/v3/item/relationships/modifier-groups
|
|
@@ -3370,7 +3388,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3370
3388
|
* @param options - additional request options
|
|
3371
3389
|
*/
|
|
3372
3390
|
get_menu_v3_item_relationships_modifier_groups(options) {
|
|
3373
|
-
return this.request(
|
|
3391
|
+
return this.request('menu', 'get_menu_v3_item_relationships_modifier_groups', 'get', `/menu/v3/item/relationships/modifier-groups`, null, options);
|
|
3374
3392
|
}
|
|
3375
3393
|
/**
|
|
3376
3394
|
* GET /menu/v3/item/relationships/modifier-groups/count
|
|
@@ -3378,7 +3396,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3378
3396
|
* @param options - additional request options
|
|
3379
3397
|
*/
|
|
3380
3398
|
get_menu_v3_item_relationships_modifier_groups_count(options) {
|
|
3381
|
-
return this.request(
|
|
3399
|
+
return this.request('menu', 'get_menu_v3_item_relationships_modifier_groups_count', 'get', `/menu/v3/item/relationships/modifier-groups/count`, null, options);
|
|
3382
3400
|
}
|
|
3383
3401
|
/**
|
|
3384
3402
|
* POST /menu/v3/item/relationships/modifier-group/{id}/recover
|
|
@@ -3387,7 +3405,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3387
3405
|
* @param options - additional request options
|
|
3388
3406
|
*/
|
|
3389
3407
|
post_menu_v3_item_relationships_modifier_group_recover(id, options) {
|
|
3390
|
-
return this.request(
|
|
3408
|
+
return this.request('menu', 'post_menu_v3_item_relationships_modifier_group_recover', 'post', `/menu/v3/item/relationships/modifier-group/${id}/recover`, null, options);
|
|
3391
3409
|
}
|
|
3392
3410
|
/**
|
|
3393
3411
|
* POST /menu/v3/draft/modifier-group
|
|
@@ -3396,7 +3414,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3396
3414
|
* @param options - additional request options
|
|
3397
3415
|
*/
|
|
3398
3416
|
post_menu_v3_draft_modifier_group(body, options) {
|
|
3399
|
-
return this.request(
|
|
3417
|
+
return this.request('menu', 'post_menu_v3_draft_modifier_group', 'post', `/menu/v3/draft/modifier-group`, body, options);
|
|
3400
3418
|
}
|
|
3401
3419
|
/**
|
|
3402
3420
|
* GET /menu/v3/draft/modifier-group/{id}
|
|
@@ -3405,7 +3423,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3405
3423
|
* @param options - additional request options
|
|
3406
3424
|
*/
|
|
3407
3425
|
get_menu_v3_draft_modifier_group(id, options) {
|
|
3408
|
-
return this.request(
|
|
3426
|
+
return this.request('menu', 'get_menu_v3_draft_modifier_group', 'get', `/menu/v3/draft/modifier-group/${id}`, null, options);
|
|
3409
3427
|
}
|
|
3410
3428
|
/**
|
|
3411
3429
|
* PATCH /menu/v3/draft/modifier-group/{id}
|
|
@@ -3415,7 +3433,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3415
3433
|
* @param options - additional request options
|
|
3416
3434
|
*/
|
|
3417
3435
|
patch_menu_v3_draft_modifier_group(id, body, options) {
|
|
3418
|
-
return this.request(
|
|
3436
|
+
return this.request('menu', 'patch_menu_v3_draft_modifier_group', 'patch', `/menu/v3/draft/modifier-group/${id}`, body, options);
|
|
3419
3437
|
}
|
|
3420
3438
|
/**
|
|
3421
3439
|
* DELETE /menu/v3/draft/modifier-group/{id}
|
|
@@ -3424,7 +3442,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3424
3442
|
* @param options - additional request options
|
|
3425
3443
|
*/
|
|
3426
3444
|
delete_menu_v3_draft_modifier_group(id, options) {
|
|
3427
|
-
return this.request(
|
|
3445
|
+
return this.request('menu', 'delete_menu_v3_draft_modifier_group', 'delete', `/menu/v3/draft/modifier-group/${id}`, null, options);
|
|
3428
3446
|
}
|
|
3429
3447
|
/**
|
|
3430
3448
|
* GET /menu/v3/draft/modifier-groups
|
|
@@ -3432,7 +3450,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3432
3450
|
* @param options - additional request options
|
|
3433
3451
|
*/
|
|
3434
3452
|
get_menu_v3_draft_modifier_groups(options) {
|
|
3435
|
-
return this.request(
|
|
3453
|
+
return this.request('menu', 'get_menu_v3_draft_modifier_groups', 'get', `/menu/v3/draft/modifier-groups`, null, options);
|
|
3436
3454
|
}
|
|
3437
3455
|
/**
|
|
3438
3456
|
* POST /menu/v3/draft/modifier-groups
|
|
@@ -3441,7 +3459,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3441
3459
|
* @param options - additional request options
|
|
3442
3460
|
*/
|
|
3443
3461
|
post_menu_v3_draft_modifier_groups(body, options) {
|
|
3444
|
-
return this.request(
|
|
3462
|
+
return this.request('menu', 'post_menu_v3_draft_modifier_groups', 'post', `/menu/v3/draft/modifier-groups`, body, options);
|
|
3445
3463
|
}
|
|
3446
3464
|
/**
|
|
3447
3465
|
* GET /menu/v3/draft/modifier-groups/count
|
|
@@ -3449,7 +3467,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3449
3467
|
* @param options - additional request options
|
|
3450
3468
|
*/
|
|
3451
3469
|
get_menu_v3_draft_modifier_groups_count(options) {
|
|
3452
|
-
return this.request(
|
|
3470
|
+
return this.request('menu', 'get_menu_v3_draft_modifier_groups_count', 'get', `/menu/v3/draft/modifier-groups/count`, null, options);
|
|
3453
3471
|
}
|
|
3454
3472
|
/**
|
|
3455
3473
|
* POST /menu/v3/draft/modifier-group/{id}/recover
|
|
@@ -3458,7 +3476,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3458
3476
|
* @param options - additional request options
|
|
3459
3477
|
*/
|
|
3460
3478
|
post_menu_v3_draft_modifier_group_recover(id, options) {
|
|
3461
|
-
return this.request(
|
|
3479
|
+
return this.request('menu', 'post_menu_v3_draft_modifier_group_recover', 'post', `/menu/v3/draft/modifier-group/${id}/recover`, null, options);
|
|
3462
3480
|
}
|
|
3463
3481
|
/**
|
|
3464
3482
|
* POST /menu/v3/draft/modifier-group/{id}/duplicate
|
|
@@ -3467,7 +3485,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3467
3485
|
* @param options - additional request options
|
|
3468
3486
|
*/
|
|
3469
3487
|
post_menu_v3_draft_modifier_group_duplicate(id, options) {
|
|
3470
|
-
return this.request(
|
|
3488
|
+
return this.request('menu', 'post_menu_v3_draft_modifier_group_duplicate', 'post', `/menu/v3/draft/modifier-group/${id}/duplicate`, null, options);
|
|
3471
3489
|
}
|
|
3472
3490
|
/**
|
|
3473
3491
|
* GET /menu/v3/modifier-group/{id}
|
|
@@ -3476,7 +3494,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3476
3494
|
* @param options - additional request options
|
|
3477
3495
|
*/
|
|
3478
3496
|
get_menu_v3_modifier_group(id, options) {
|
|
3479
|
-
return this.request(
|
|
3497
|
+
return this.request('menu', 'get_menu_v3_modifier_group', 'get', `/menu/v3/modifier-group/${id}`, null, options);
|
|
3480
3498
|
}
|
|
3481
3499
|
/**
|
|
3482
3500
|
* GET /menu/v3/modifier-groups
|
|
@@ -3484,7 +3502,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3484
3502
|
* @param options - additional request options
|
|
3485
3503
|
*/
|
|
3486
3504
|
get_menu_v3_modifier_groups(options) {
|
|
3487
|
-
return this.request(
|
|
3505
|
+
return this.request('menu', 'get_menu_v3_modifier_groups', 'get', `/menu/v3/modifier-groups`, null, options);
|
|
3488
3506
|
}
|
|
3489
3507
|
/**
|
|
3490
3508
|
* GET /menu/v3/modifier-groups/count
|
|
@@ -3492,7 +3510,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3492
3510
|
* @param options - additional request options
|
|
3493
3511
|
*/
|
|
3494
3512
|
get_menu_v3_modifier_groups_count(options) {
|
|
3495
|
-
return this.request(
|
|
3513
|
+
return this.request('menu', 'get_menu_v3_modifier_groups_count', 'get', `/menu/v3/modifier-groups/count`, null, options);
|
|
3496
3514
|
}
|
|
3497
3515
|
/**
|
|
3498
3516
|
* POST /menu/v3/modifier-group/{id}/recover
|
|
@@ -3501,7 +3519,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3501
3519
|
* @param options - additional request options
|
|
3502
3520
|
*/
|
|
3503
3521
|
post_menu_v3_modifier_group_recover(id, options) {
|
|
3504
|
-
return this.request(
|
|
3522
|
+
return this.request('menu', 'post_menu_v3_modifier_group_recover', 'post', `/menu/v3/modifier-group/${id}/recover`, null, options);
|
|
3505
3523
|
}
|
|
3506
3524
|
/**
|
|
3507
3525
|
* POST /menu/v3/draft/modifier-group/relationships/modifier
|
|
@@ -3510,7 +3528,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3510
3528
|
* @param options - additional request options
|
|
3511
3529
|
*/
|
|
3512
3530
|
post_menu_v3_draft_modifier_group_relationships_modifier(body, options) {
|
|
3513
|
-
return this.request(
|
|
3531
|
+
return this.request('menu', 'post_menu_v3_draft_modifier_group_relationships_modifier', 'post', `/menu/v3/draft/modifier-group/relationships/modifier`, body, options);
|
|
3514
3532
|
}
|
|
3515
3533
|
/**
|
|
3516
3534
|
* GET /menu/v3/draft/modifier-group/relationships/modifier/{id}
|
|
@@ -3519,7 +3537,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3519
3537
|
* @param options - additional request options
|
|
3520
3538
|
*/
|
|
3521
3539
|
get_menu_v3_draft_modifier_group_relationships_modifier(id, options) {
|
|
3522
|
-
return this.request(
|
|
3540
|
+
return this.request('menu', 'get_menu_v3_draft_modifier_group_relationships_modifier', 'get', `/menu/v3/draft/modifier-group/relationships/modifier/${id}`, null, options);
|
|
3523
3541
|
}
|
|
3524
3542
|
/**
|
|
3525
3543
|
* PATCH /menu/v3/draft/modifier-group/relationships/modifier/{id}
|
|
@@ -3529,7 +3547,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3529
3547
|
* @param options - additional request options
|
|
3530
3548
|
*/
|
|
3531
3549
|
patch_menu_v3_draft_modifier_group_relationships_modifier(id, body, options) {
|
|
3532
|
-
return this.request(
|
|
3550
|
+
return this.request('menu', 'patch_menu_v3_draft_modifier_group_relationships_modifier', 'patch', `/menu/v3/draft/modifier-group/relationships/modifier/${id}`, body, options);
|
|
3533
3551
|
}
|
|
3534
3552
|
/**
|
|
3535
3553
|
* DELETE /menu/v3/draft/modifier-group/relationships/modifier/{id}
|
|
@@ -3538,7 +3556,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3538
3556
|
* @param options - additional request options
|
|
3539
3557
|
*/
|
|
3540
3558
|
delete_menu_v3_draft_modifier_group_relationships_modifier(id, options) {
|
|
3541
|
-
return this.request(
|
|
3559
|
+
return this.request('menu', 'delete_menu_v3_draft_modifier_group_relationships_modifier', 'delete', `/menu/v3/draft/modifier-group/relationships/modifier/${id}`, null, options);
|
|
3542
3560
|
}
|
|
3543
3561
|
/**
|
|
3544
3562
|
* GET /menu/v3/draft/modifier-group/relationships/modifiers
|
|
@@ -3546,7 +3564,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3546
3564
|
* @param options - additional request options
|
|
3547
3565
|
*/
|
|
3548
3566
|
get_menu_v3_draft_modifier_group_relationships_modifiers(options) {
|
|
3549
|
-
return this.request(
|
|
3567
|
+
return this.request('menu', 'get_menu_v3_draft_modifier_group_relationships_modifiers', 'get', `/menu/v3/draft/modifier-group/relationships/modifiers`, null, options);
|
|
3550
3568
|
}
|
|
3551
3569
|
/**
|
|
3552
3570
|
* POST /menu/v3/draft/modifier-group/relationships/modifiers
|
|
@@ -3555,7 +3573,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3555
3573
|
* @param options - additional request options
|
|
3556
3574
|
*/
|
|
3557
3575
|
post_menu_v3_draft_modifier_group_relationships_modifiers(body, options) {
|
|
3558
|
-
return this.request(
|
|
3576
|
+
return this.request('menu', 'post_menu_v3_draft_modifier_group_relationships_modifiers', 'post', `/menu/v3/draft/modifier-group/relationships/modifiers`, body, options);
|
|
3559
3577
|
}
|
|
3560
3578
|
/**
|
|
3561
3579
|
* GET /menu/v3/draft/modifier-group/relationships/modifiers/count
|
|
@@ -3563,7 +3581,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3563
3581
|
* @param options - additional request options
|
|
3564
3582
|
*/
|
|
3565
3583
|
get_menu_v3_draft_modifier_group_relationships_modifiers_count(options) {
|
|
3566
|
-
return this.request(
|
|
3584
|
+
return this.request('menu', 'get_menu_v3_draft_modifier_group_relationships_modifiers_count', 'get', `/menu/v3/draft/modifier-group/relationships/modifiers/count`, null, options);
|
|
3567
3585
|
}
|
|
3568
3586
|
/**
|
|
3569
3587
|
* POST /menu/v3/draft/modifier-group/relationships/modifier/{id}/recover
|
|
@@ -3572,7 +3590,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3572
3590
|
* @param options - additional request options
|
|
3573
3591
|
*/
|
|
3574
3592
|
post_menu_v3_draft_modifier_group_relationships_modifier_recover(id, options) {
|
|
3575
|
-
return this.request(
|
|
3593
|
+
return this.request('menu', 'post_menu_v3_draft_modifier_group_relationships_modifier_recover', 'post', `/menu/v3/draft/modifier-group/relationships/modifier/${id}/recover`, null, options);
|
|
3576
3594
|
}
|
|
3577
3595
|
/**
|
|
3578
3596
|
* GET /menu/v3/modifier-group/relationships/modifier/{id}
|
|
@@ -3581,7 +3599,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3581
3599
|
* @param options - additional request options
|
|
3582
3600
|
*/
|
|
3583
3601
|
get_menu_v3_modifier_group_relationships_modifier(id, options) {
|
|
3584
|
-
return this.request(
|
|
3602
|
+
return this.request('menu', 'get_menu_v3_modifier_group_relationships_modifier', 'get', `/menu/v3/modifier-group/relationships/modifier/${id}`, null, options);
|
|
3585
3603
|
}
|
|
3586
3604
|
/**
|
|
3587
3605
|
* GET /menu/v3/modifier-group/relationships/modifiers
|
|
@@ -3589,7 +3607,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3589
3607
|
* @param options - additional request options
|
|
3590
3608
|
*/
|
|
3591
3609
|
get_menu_v3_modifier_group_relationships_modifiers(options) {
|
|
3592
|
-
return this.request(
|
|
3610
|
+
return this.request('menu', 'get_menu_v3_modifier_group_relationships_modifiers', 'get', `/menu/v3/modifier-group/relationships/modifiers`, null, options);
|
|
3593
3611
|
}
|
|
3594
3612
|
/**
|
|
3595
3613
|
* GET /menu/v3/modifier-group/relationships/modifiers/count
|
|
@@ -3597,7 +3615,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3597
3615
|
* @param options - additional request options
|
|
3598
3616
|
*/
|
|
3599
3617
|
get_menu_v3_modifier_group_relationships_modifiers_count(options) {
|
|
3600
|
-
return this.request(
|
|
3618
|
+
return this.request('menu', 'get_menu_v3_modifier_group_relationships_modifiers_count', 'get', `/menu/v3/modifier-group/relationships/modifiers/count`, null, options);
|
|
3601
3619
|
}
|
|
3602
3620
|
/**
|
|
3603
3621
|
* POST /menu/v3/modifier-group/relationships/modifier/{id}/recover
|
|
@@ -3606,7 +3624,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3606
3624
|
* @param options - additional request options
|
|
3607
3625
|
*/
|
|
3608
3626
|
post_menu_v3_modifier_group_relationships_modifier_recover(id, options) {
|
|
3609
|
-
return this.request(
|
|
3627
|
+
return this.request('menu', 'post_menu_v3_modifier_group_relationships_modifier_recover', 'post', `/menu/v3/modifier-group/relationships/modifier/${id}/recover`, null, options);
|
|
3610
3628
|
}
|
|
3611
3629
|
/**
|
|
3612
3630
|
* POST /menu/v3/draft/modifier
|
|
@@ -3615,7 +3633,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3615
3633
|
* @param options - additional request options
|
|
3616
3634
|
*/
|
|
3617
3635
|
post_menu_v3_draft_modifier(body, options) {
|
|
3618
|
-
return this.request(
|
|
3636
|
+
return this.request('menu', 'post_menu_v3_draft_modifier', 'post', `/menu/v3/draft/modifier`, body, options);
|
|
3619
3637
|
}
|
|
3620
3638
|
/**
|
|
3621
3639
|
* GET /menu/v3/draft/modifier/{id}
|
|
@@ -3624,7 +3642,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3624
3642
|
* @param options - additional request options
|
|
3625
3643
|
*/
|
|
3626
3644
|
get_menu_v3_draft_modifier(id, options) {
|
|
3627
|
-
return this.request(
|
|
3645
|
+
return this.request('menu', 'get_menu_v3_draft_modifier', 'get', `/menu/v3/draft/modifier/${id}`, null, options);
|
|
3628
3646
|
}
|
|
3629
3647
|
/**
|
|
3630
3648
|
* PATCH /menu/v3/draft/modifier/{id}
|
|
@@ -3634,7 +3652,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3634
3652
|
* @param options - additional request options
|
|
3635
3653
|
*/
|
|
3636
3654
|
patch_menu_v3_draft_modifier(id, body, options) {
|
|
3637
|
-
return this.request(
|
|
3655
|
+
return this.request('menu', 'patch_menu_v3_draft_modifier', 'patch', `/menu/v3/draft/modifier/${id}`, body, options);
|
|
3638
3656
|
}
|
|
3639
3657
|
/**
|
|
3640
3658
|
* DELETE /menu/v3/draft/modifier/{id}
|
|
@@ -3643,7 +3661,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3643
3661
|
* @param options - additional request options
|
|
3644
3662
|
*/
|
|
3645
3663
|
delete_menu_v3_draft_modifier(id, options) {
|
|
3646
|
-
return this.request(
|
|
3664
|
+
return this.request('menu', 'delete_menu_v3_draft_modifier', 'delete', `/menu/v3/draft/modifier/${id}`, null, options);
|
|
3647
3665
|
}
|
|
3648
3666
|
/**
|
|
3649
3667
|
* DELETE /menu/v3/draft/modifiers
|
|
@@ -3652,7 +3670,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3652
3670
|
* @param options - additional request options
|
|
3653
3671
|
*/
|
|
3654
3672
|
delete_menu_v3_draft_modifiers(body, options) {
|
|
3655
|
-
return this.request(
|
|
3673
|
+
return this.request('menu', 'delete_menu_v3_draft_modifiers', 'delete', `/menu/v3/draft/modifiers`, body, options);
|
|
3656
3674
|
}
|
|
3657
3675
|
/**
|
|
3658
3676
|
* GET /menu/v3/draft/modifiers
|
|
@@ -3660,7 +3678,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3660
3678
|
* @param options - additional request options
|
|
3661
3679
|
*/
|
|
3662
3680
|
get_menu_v3_draft_modifiers(options) {
|
|
3663
|
-
return this.request(
|
|
3681
|
+
return this.request('menu', 'get_menu_v3_draft_modifiers', 'get', `/menu/v3/draft/modifiers`, null, options);
|
|
3664
3682
|
}
|
|
3665
3683
|
/**
|
|
3666
3684
|
* POST /menu/v3/draft/modifiers
|
|
@@ -3669,7 +3687,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3669
3687
|
* @param options - additional request options
|
|
3670
3688
|
*/
|
|
3671
3689
|
post_menu_v3_draft_modifiers(body, options) {
|
|
3672
|
-
return this.request(
|
|
3690
|
+
return this.request('menu', 'post_menu_v3_draft_modifiers', 'post', `/menu/v3/draft/modifiers`, body, options);
|
|
3673
3691
|
}
|
|
3674
3692
|
/**
|
|
3675
3693
|
* GET /menu/v3/draft/modifiers/count
|
|
@@ -3677,7 +3695,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3677
3695
|
* @param options - additional request options
|
|
3678
3696
|
*/
|
|
3679
3697
|
get_menu_v3_draft_modifiers_count(options) {
|
|
3680
|
-
return this.request(
|
|
3698
|
+
return this.request('menu', 'get_menu_v3_draft_modifiers_count', 'get', `/menu/v3/draft/modifiers/count`, null, options);
|
|
3681
3699
|
}
|
|
3682
3700
|
/**
|
|
3683
3701
|
* POST /menu/v3/draft/modifier/{id}/recover
|
|
@@ -3686,7 +3704,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3686
3704
|
* @param options - additional request options
|
|
3687
3705
|
*/
|
|
3688
3706
|
post_menu_v3_draft_modifier_recover(id, options) {
|
|
3689
|
-
return this.request(
|
|
3707
|
+
return this.request('menu', 'post_menu_v3_draft_modifier_recover', 'post', `/menu/v3/draft/modifier/${id}/recover`, null, options);
|
|
3690
3708
|
}
|
|
3691
3709
|
/**
|
|
3692
3710
|
* GET /menu/v3/draft/modifier/{id}/line-routes
|
|
@@ -3695,7 +3713,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3695
3713
|
* @param options - additional request options
|
|
3696
3714
|
*/
|
|
3697
3715
|
get_menu_v3_draft_modifier_line_routes(id, options) {
|
|
3698
|
-
return this.request(
|
|
3716
|
+
return this.request('menu', 'get_menu_v3_draft_modifier_line_routes', 'get', `/menu/v3/draft/modifier/${id}/line-routes`, null, options);
|
|
3699
3717
|
}
|
|
3700
3718
|
/**
|
|
3701
3719
|
* PATCH /menu/v3/draft/modifiers/bulk-update
|
|
@@ -3704,7 +3722,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3704
3722
|
* @param options - additional request options
|
|
3705
3723
|
*/
|
|
3706
3724
|
patch_menu_v3_draft_modifiers_bulk_update(body, options) {
|
|
3707
|
-
return this.request(
|
|
3725
|
+
return this.request('menu', 'patch_menu_v3_draft_modifiers_bulk_update', 'patch', `/menu/v3/draft/modifiers/bulk-update`, body, options);
|
|
3708
3726
|
}
|
|
3709
3727
|
/**
|
|
3710
3728
|
* POST /menu/v3/draft/modifiers/{id}/attachment/{name}
|
|
@@ -3714,7 +3732,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3714
3732
|
* @param options - additional request options
|
|
3715
3733
|
*/
|
|
3716
3734
|
post_menu_v3_draft_modifiers_attachment(id, name, options) {
|
|
3717
|
-
return this.request(
|
|
3735
|
+
return this.request('menu', 'post_menu_v3_draft_modifiers_attachment', 'post', `/menu/v3/draft/modifiers/${id}/attachment/${name}`, null, options);
|
|
3718
3736
|
}
|
|
3719
3737
|
/**
|
|
3720
3738
|
* GET /menu/v3/modifier/{id}
|
|
@@ -3723,7 +3741,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3723
3741
|
* @param options - additional request options
|
|
3724
3742
|
*/
|
|
3725
3743
|
get_menu_v3_modifier(id, options) {
|
|
3726
|
-
return this.request(
|
|
3744
|
+
return this.request('menu', 'get_menu_v3_modifier', 'get', `/menu/v3/modifier/${id}`, null, options);
|
|
3727
3745
|
}
|
|
3728
3746
|
/**
|
|
3729
3747
|
* GET /menu/v3/modifiers
|
|
@@ -3731,7 +3749,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3731
3749
|
* @param options - additional request options
|
|
3732
3750
|
*/
|
|
3733
3751
|
get_menu_v3_modifiers(options) {
|
|
3734
|
-
return this.request(
|
|
3752
|
+
return this.request('menu', 'get_menu_v3_modifiers', 'get', `/menu/v3/modifiers`, null, options);
|
|
3735
3753
|
}
|
|
3736
3754
|
/**
|
|
3737
3755
|
* GET /menu/v3/modifiers/count
|
|
@@ -3739,7 +3757,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3739
3757
|
* @param options - additional request options
|
|
3740
3758
|
*/
|
|
3741
3759
|
get_menu_v3_modifiers_count(options) {
|
|
3742
|
-
return this.request(
|
|
3760
|
+
return this.request('menu', 'get_menu_v3_modifiers_count', 'get', `/menu/v3/modifiers/count`, null, options);
|
|
3743
3761
|
}
|
|
3744
3762
|
/**
|
|
3745
3763
|
* POST /menu/v3/modifier/{id}/recover
|
|
@@ -3748,7 +3766,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3748
3766
|
* @param options - additional request options
|
|
3749
3767
|
*/
|
|
3750
3768
|
post_menu_v3_modifier_recover(id, options) {
|
|
3751
|
-
return this.request(
|
|
3769
|
+
return this.request('menu', 'post_menu_v3_modifier_recover', 'post', `/menu/v3/modifier/${id}/recover`, null, options);
|
|
3752
3770
|
}
|
|
3753
3771
|
/**
|
|
3754
3772
|
* POST /menu/v3/integrations/transltr/import
|
|
@@ -3756,7 +3774,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3756
3774
|
* @param options - additional request options
|
|
3757
3775
|
*/
|
|
3758
3776
|
post_menu_v3_integrations_transltr_import(options) {
|
|
3759
|
-
return this.request(
|
|
3777
|
+
return this.request('menu', 'post_menu_v3_integrations_transltr_import', 'post', `/menu/v3/integrations/transltr/import`, null, options);
|
|
3760
3778
|
}
|
|
3761
3779
|
/**
|
|
3762
3780
|
* GET /menu/v3/global-diff/{id}
|
|
@@ -3765,7 +3783,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3765
3783
|
* @param options - additional request options
|
|
3766
3784
|
*/
|
|
3767
3785
|
get_menu_v3_global_diff(id, options) {
|
|
3768
|
-
return this.request(
|
|
3786
|
+
return this.request('menu', 'get_menu_v3_global_diff', 'get', `/menu/v3/global-diff/${id}`, null, options);
|
|
3769
3787
|
}
|
|
3770
3788
|
/**
|
|
3771
3789
|
* GET /menu/v3/global-diffs
|
|
@@ -3773,7 +3791,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3773
3791
|
* @param options - additional request options
|
|
3774
3792
|
*/
|
|
3775
3793
|
get_menu_v3_global_diffs(options) {
|
|
3776
|
-
return this.request(
|
|
3794
|
+
return this.request('menu', 'get_menu_v3_global_diffs', 'get', `/menu/v3/global-diffs`, null, options);
|
|
3777
3795
|
}
|
|
3778
3796
|
/**
|
|
3779
3797
|
* GET /menu/v3/global-diffs/count
|
|
@@ -3781,7 +3799,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3781
3799
|
* @param options - additional request options
|
|
3782
3800
|
*/
|
|
3783
3801
|
get_menu_v3_global_diffs_count(options) {
|
|
3784
|
-
return this.request(
|
|
3802
|
+
return this.request('menu', 'get_menu_v3_global_diffs_count', 'get', `/menu/v3/global-diffs/count`, null, options);
|
|
3785
3803
|
}
|
|
3786
3804
|
/**
|
|
3787
3805
|
* POST /menu/v3/global-diff/{id}/recover
|
|
@@ -3790,7 +3808,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3790
3808
|
* @param options - additional request options
|
|
3791
3809
|
*/
|
|
3792
3810
|
post_menu_v3_global_diff_recover(id, options) {
|
|
3793
|
-
return this.request(
|
|
3811
|
+
return this.request('menu', 'post_menu_v3_global_diff_recover', 'post', `/menu/v3/global-diff/${id}/recover`, null, options);
|
|
3794
3812
|
}
|
|
3795
3813
|
/**
|
|
3796
3814
|
* GET /menu/v3/menuworks
|
|
@@ -3798,7 +3816,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3798
3816
|
* @param options - additional request options
|
|
3799
3817
|
*/
|
|
3800
3818
|
get_menu_v3_menuworks(options) {
|
|
3801
|
-
return this.request(
|
|
3819
|
+
return this.request('menu', 'get_menu_v3_menuworks', 'get', `/menu/v3/menuworks`, null, options);
|
|
3802
3820
|
}
|
|
3803
3821
|
/**
|
|
3804
3822
|
* GET /menu/v3/universal-items
|
|
@@ -3806,7 +3824,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3806
3824
|
* @param options - additional request options
|
|
3807
3825
|
*/
|
|
3808
3826
|
get_menu_v3_universal_items(options) {
|
|
3809
|
-
return this.request(
|
|
3827
|
+
return this.request('menu', 'get_menu_v3_universal_items', 'get', `/menu/v3/universal-items`, null, options);
|
|
3810
3828
|
}
|
|
3811
3829
|
/**
|
|
3812
3830
|
* PUT /menu/v3/universal-items
|
|
@@ -3815,7 +3833,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3815
3833
|
* @param options - additional request options
|
|
3816
3834
|
*/
|
|
3817
3835
|
put_menu_v3_universal_items(body, options) {
|
|
3818
|
-
return this.request(
|
|
3836
|
+
return this.request('menu', 'put_menu_v3_universal_items', 'put', `/menu/v3/universal-items`, body, options);
|
|
3819
3837
|
}
|
|
3820
3838
|
/**
|
|
3821
3839
|
* GET /menu/v3/universal-item/{barcode}
|
|
@@ -3824,7 +3842,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3824
3842
|
* @param options - additional request options
|
|
3825
3843
|
*/
|
|
3826
3844
|
get_menu_v3_universal_item(barcode, options) {
|
|
3827
|
-
return this.request(
|
|
3845
|
+
return this.request('menu', 'get_menu_v3_universal_item', 'get', `/menu/v3/universal-item/${barcode}`, null, options);
|
|
3828
3846
|
}
|
|
3829
3847
|
/**
|
|
3830
3848
|
* PATCH /menu/v3/universal-item/{barcode}
|
|
@@ -3834,7 +3852,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3834
3852
|
* @param options - additional request options
|
|
3835
3853
|
*/
|
|
3836
3854
|
patch_menu_v3_universal_item(barcode, body, options) {
|
|
3837
|
-
return this.request(
|
|
3855
|
+
return this.request('menu', 'patch_menu_v3_universal_item', 'patch', `/menu/v3/universal-item/${barcode}`, body, options);
|
|
3838
3856
|
}
|
|
3839
3857
|
/**
|
|
3840
3858
|
* POST /menu/v3/universal-items/verify
|
|
@@ -3843,7 +3861,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3843
3861
|
* @param options - additional request options
|
|
3844
3862
|
*/
|
|
3845
3863
|
post_menu_v3_universal_items_verify(body, options) {
|
|
3846
|
-
return this.request(
|
|
3864
|
+
return this.request('menu', 'post_menu_v3_universal_items_verify', 'post', `/menu/v3/universal-items/verify`, body, options);
|
|
3847
3865
|
}
|
|
3848
3866
|
/**
|
|
3849
3867
|
* POST /menu/v3/trigger-update
|
|
@@ -3851,7 +3869,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3851
3869
|
* @param options - additional request options
|
|
3852
3870
|
*/
|
|
3853
3871
|
post_menu_v3_trigger_update(options) {
|
|
3854
|
-
return this.request(
|
|
3872
|
+
return this.request('menu', 'post_menu_v3_trigger_update', 'post', `/menu/v3/trigger-update`, null, options);
|
|
3855
3873
|
}
|
|
3856
3874
|
/**
|
|
3857
3875
|
* GET /notification - Get all notifications
|
|
@@ -3859,7 +3877,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3859
3877
|
* @param options - additional request options
|
|
3860
3878
|
*/
|
|
3861
3879
|
get_notifications(options) {
|
|
3862
|
-
return this.request(
|
|
3880
|
+
return this.request('notification', 'get_notifications', 'get', `/notification`, null, options);
|
|
3863
3881
|
}
|
|
3864
3882
|
/**
|
|
3865
3883
|
* POST /notification - Create a notification
|
|
@@ -3868,7 +3886,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3868
3886
|
* @param options - additional request options
|
|
3869
3887
|
*/
|
|
3870
3888
|
post_notification(body, options) {
|
|
3871
|
-
return this.request(
|
|
3889
|
+
return this.request('notification', 'post_notification', 'post', `/notification`, body, options);
|
|
3872
3890
|
}
|
|
3873
3891
|
/**
|
|
3874
3892
|
* PATCH /notification/{id} - Update a notification
|
|
@@ -3878,7 +3896,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3878
3896
|
* @param options - additional request options
|
|
3879
3897
|
*/
|
|
3880
3898
|
patch_notification(id, body, options) {
|
|
3881
|
-
return this.request(
|
|
3899
|
+
return this.request('notification', 'patch_notification', 'patch', `/notification/${id}`, body, options);
|
|
3882
3900
|
}
|
|
3883
3901
|
/**
|
|
3884
3902
|
* DELETE /notification/{id} - Delete a notification
|
|
@@ -3887,7 +3905,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3887
3905
|
* @param options - additional request options
|
|
3888
3906
|
*/
|
|
3889
3907
|
delete_notification(id, options) {
|
|
3890
|
-
return this.request(
|
|
3908
|
+
return this.request('notification', 'delete_notification', 'delete', `/notification/${id}`, null, options);
|
|
3891
3909
|
}
|
|
3892
3910
|
/**
|
|
3893
3911
|
* POST /notification/{id}/status - Set a notification status for request user
|
|
@@ -3897,7 +3915,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3897
3915
|
* @param options - additional request options
|
|
3898
3916
|
*/
|
|
3899
3917
|
post_notification_status(id, body, options) {
|
|
3900
|
-
return this.request(
|
|
3918
|
+
return this.request('notification', 'post_notification_status', 'post', `/notification/${id}/status`, body, options);
|
|
3901
3919
|
}
|
|
3902
3920
|
/**
|
|
3903
3921
|
* POST /notification/device/push - Send a push notification to user's device
|
|
@@ -3906,7 +3924,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3906
3924
|
* @param options - additional request options
|
|
3907
3925
|
*/
|
|
3908
3926
|
post_notification_device_push(body, options) {
|
|
3909
|
-
return this.request(
|
|
3927
|
+
return this.request('notification', 'post_notification_device_push', 'post', `/notification/device/push`, body, options);
|
|
3910
3928
|
}
|
|
3911
3929
|
/**
|
|
3912
3930
|
* GET /notification/swagger.json - Get a swagger for notification service
|
|
@@ -3914,7 +3932,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3914
3932
|
* @param options - additional request options
|
|
3915
3933
|
*/
|
|
3916
3934
|
get_notification_swagger(options) {
|
|
3917
|
-
return this.request(
|
|
3935
|
+
return this.request('notification', 'get_notification_swagger', 'get', `/notification/swagger.json`, null, options);
|
|
3918
3936
|
}
|
|
3919
3937
|
/**
|
|
3920
3938
|
* GET /compassconnect/oms_token - Gets an OMS token
|
|
@@ -3922,7 +3940,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3922
3940
|
* @param options - additional request options
|
|
3923
3941
|
*/
|
|
3924
3942
|
get_compassconnect_oms_token(options) {
|
|
3925
|
-
return this.request(
|
|
3943
|
+
return this.request('compassconnect', 'get_compassconnect_oms_token', 'get', `/compassconnect/oms_token`, null, options);
|
|
3926
3944
|
}
|
|
3927
3945
|
/**
|
|
3928
3946
|
* POST /vendor/application - Create a new application for review
|
|
@@ -3931,7 +3949,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3931
3949
|
* @param options - additional request options
|
|
3932
3950
|
*/
|
|
3933
3951
|
post_vendor_application(body, options) {
|
|
3934
|
-
return this.request(
|
|
3952
|
+
return this.request('vendor', 'post_vendor_application', 'post', `/vendor/application`, body, options);
|
|
3935
3953
|
}
|
|
3936
3954
|
/**
|
|
3937
3955
|
* GET /vendor/application - Get a list of all applications
|
|
@@ -3939,7 +3957,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3939
3957
|
* @param options - additional request options
|
|
3940
3958
|
*/
|
|
3941
3959
|
get_vendor_application(options) {
|
|
3942
|
-
return this.request(
|
|
3960
|
+
return this.request('vendor', 'get_vendor_application', 'get', `/vendor/application`, null, options);
|
|
3943
3961
|
}
|
|
3944
3962
|
/**
|
|
3945
3963
|
* PATCH /vendor/application/{id} - Update an application (or update status)
|
|
@@ -3949,7 +3967,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3949
3967
|
* @param options - additional request options
|
|
3950
3968
|
*/
|
|
3951
3969
|
patch_vendor_application(id, body, options) {
|
|
3952
|
-
return this.request(
|
|
3970
|
+
return this.request('vendor', 'patch_vendor_application', 'patch', `/vendor/application/${id}`, body, options);
|
|
3953
3971
|
}
|
|
3954
3972
|
/**
|
|
3955
3973
|
* POST /vendor - Create new vendor
|
|
@@ -3958,7 +3976,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3958
3976
|
* @param options - additional request options
|
|
3959
3977
|
*/
|
|
3960
3978
|
post_vendor(body, options) {
|
|
3961
|
-
return this.request(
|
|
3979
|
+
return this.request('vendor', 'post_vendor', 'post', `/vendor`, body, options);
|
|
3962
3980
|
}
|
|
3963
3981
|
/**
|
|
3964
3982
|
* GET /vendor - Get all Vendors
|
|
@@ -3966,7 +3984,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3966
3984
|
* @param options - additional request options
|
|
3967
3985
|
*/
|
|
3968
3986
|
get_vendors(options) {
|
|
3969
|
-
return this.request(
|
|
3987
|
+
return this.request('vendor', 'get_vendors', 'get', `/vendor`, null, options);
|
|
3970
3988
|
}
|
|
3971
3989
|
/**
|
|
3972
3990
|
* GET /vendor/{id} - Get info about the Vendor
|
|
@@ -3975,7 +3993,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3975
3993
|
* @param options - additional request options
|
|
3976
3994
|
*/
|
|
3977
3995
|
get_vendor(id, options) {
|
|
3978
|
-
return this.request(
|
|
3996
|
+
return this.request('vendor', 'get_vendor', 'get', `/vendor/${id}`, null, options);
|
|
3979
3997
|
}
|
|
3980
3998
|
/**
|
|
3981
3999
|
* PATCH /vendor/{id} - Update info about the Vendor
|
|
@@ -3985,7 +4003,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3985
4003
|
* @param options - additional request options
|
|
3986
4004
|
*/
|
|
3987
4005
|
patch_vendor(id, body, options) {
|
|
3988
|
-
return this.request(
|
|
4006
|
+
return this.request('vendor', 'patch_vendor', 'patch', `/vendor/${id}`, body, options);
|
|
3989
4007
|
}
|
|
3990
4008
|
/**
|
|
3991
4009
|
* GET /vendor/auth - Get access/refresh tokens for accessing our APIs
|
|
@@ -3993,7 +4011,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3993
4011
|
* @param options - additional request options
|
|
3994
4012
|
*/
|
|
3995
4013
|
get_vendor_auth(options) {
|
|
3996
|
-
return this.request(
|
|
4014
|
+
return this.request('vendor', 'get_vendor_auth', 'get', `/vendor/auth`, null, options);
|
|
3997
4015
|
}
|
|
3998
4016
|
/**
|
|
3999
4017
|
* POST /vendor/auth - Get new access token using refresh token and previous token
|
|
@@ -4002,7 +4020,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4002
4020
|
* @param options - additional request options
|
|
4003
4021
|
*/
|
|
4004
4022
|
post_vendor_auth(body, options) {
|
|
4005
|
-
return this.request(
|
|
4023
|
+
return this.request('vendor', 'post_vendor_auth', 'post', `/vendor/auth`, body, options);
|
|
4006
4024
|
}
|
|
4007
4025
|
/**
|
|
4008
4026
|
* GET /vendor/{id}/key - Get list of Vendor keys
|
|
@@ -4011,7 +4029,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4011
4029
|
* @param options - additional request options
|
|
4012
4030
|
*/
|
|
4013
4031
|
get_vendor_keys(id, options) {
|
|
4014
|
-
return this.request(
|
|
4032
|
+
return this.request('vendor', 'get_vendor_keys', 'get', `/vendor/${id}/key`, null, options);
|
|
4015
4033
|
}
|
|
4016
4034
|
/**
|
|
4017
4035
|
* POST /vendor/{id}/key - Create new key for the vendor
|
|
@@ -4021,7 +4039,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4021
4039
|
* @param options - additional request options
|
|
4022
4040
|
*/
|
|
4023
4041
|
post_vendor_key(id, body, options) {
|
|
4024
|
-
return this.request(
|
|
4042
|
+
return this.request('vendor', 'post_vendor_key', 'post', `/vendor/${id}/key`, body, options);
|
|
4025
4043
|
}
|
|
4026
4044
|
/**
|
|
4027
4045
|
* GET /vendor/{id}/key/{key} - Get info about vendor key
|
|
@@ -4031,7 +4049,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4031
4049
|
* @param options - additional request options
|
|
4032
4050
|
*/
|
|
4033
4051
|
get_vendor_key(id, key, options) {
|
|
4034
|
-
return this.request(
|
|
4052
|
+
return this.request('vendor', 'get_vendor_key', 'get', `/vendor/${id}/key/${key}`, null, options);
|
|
4035
4053
|
}
|
|
4036
4054
|
/**
|
|
4037
4055
|
* PATCH /vendor/{id}/key/{key} - Update info for vendor key
|
|
@@ -4042,7 +4060,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4042
4060
|
* @param options - additional request options
|
|
4043
4061
|
*/
|
|
4044
4062
|
patch_vendor_key(id, key, body, options) {
|
|
4045
|
-
return this.request(
|
|
4063
|
+
return this.request('vendor', 'patch_vendor_key', 'patch', `/vendor/${id}/key/${key}`, body, options);
|
|
4046
4064
|
}
|
|
4047
4065
|
/**
|
|
4048
4066
|
* DELETE /vendor/{id}/key/{key} - Mark key as expired
|
|
@@ -4052,7 +4070,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4052
4070
|
* @param options - additional request options
|
|
4053
4071
|
*/
|
|
4054
4072
|
delete_vendor_key(id, key, options) {
|
|
4055
|
-
return this.request(
|
|
4073
|
+
return this.request('vendor', 'delete_vendor_key', 'delete', `/vendor/${id}/key/${key}`, null, options);
|
|
4056
4074
|
}
|
|
4057
4075
|
/**
|
|
4058
4076
|
* POST /vendor/{id}/key/{key}/rotate - Rotate vendor key
|
|
@@ -4062,7 +4080,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4062
4080
|
* @param options - additional request options
|
|
4063
4081
|
*/
|
|
4064
4082
|
post_vendor_key_rotate(id, key, options) {
|
|
4065
|
-
return this.request(
|
|
4083
|
+
return this.request('vendor', 'post_vendor_key_rotate', 'post', `/vendor/${id}/key/${key}/rotate`, null, options);
|
|
4066
4084
|
}
|
|
4067
4085
|
/**
|
|
4068
4086
|
* POST /vendor/{id}/reset/password - Reset the existing password for vendor
|
|
@@ -4072,7 +4090,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4072
4090
|
* @param options - additional request options
|
|
4073
4091
|
*/
|
|
4074
4092
|
post_vendor_reset_password(id, body, options) {
|
|
4075
|
-
return this.request(
|
|
4093
|
+
return this.request('vendor', 'post_vendor_reset_password', 'post', `/vendor/${id}/reset/password`, body, options);
|
|
4076
4094
|
}
|
|
4077
4095
|
/**
|
|
4078
4096
|
* GET /frictionless/brand/{id_brand}/frictionless-status - Check frictionless support of a given brand
|
|
@@ -4081,7 +4099,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4081
4099
|
* @param options - additional request options
|
|
4082
4100
|
*/
|
|
4083
4101
|
get_frictionless_brand_frictionless_status(id_brand, options) {
|
|
4084
|
-
return this.request(
|
|
4102
|
+
return this.request('frictionless', 'get_frictionless_brand_frictionless_status', 'get', `/frictionless/brand/${id_brand}/frictionless-status`, null, options);
|
|
4085
4103
|
}
|
|
4086
4104
|
/**
|
|
4087
4105
|
* POST /frictionless/qrcode - Create Frictionless QR Code to make user able to check in
|
|
@@ -4090,7 +4108,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4090
4108
|
* @param options - additional request options
|
|
4091
4109
|
*/
|
|
4092
4110
|
post_frictionless_qr_code(body, options) {
|
|
4093
|
-
return this.request(
|
|
4111
|
+
return this.request('frictionless', 'post_frictionless_qr_code', 'post', `/frictionless/qrcode`, body, options);
|
|
4094
4112
|
}
|
|
4095
4113
|
/**
|
|
4096
4114
|
* GET /frictionless/checkin/{id_checkin}/status - Fetch CheckIn Status
|
|
@@ -4099,7 +4117,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4099
4117
|
* @param options - additional request options
|
|
4100
4118
|
*/
|
|
4101
4119
|
get_frictionless_checkin_status(id_checkin, options) {
|
|
4102
|
-
return this.request(
|
|
4120
|
+
return this.request('frictionless', 'get_frictionless_checkin_status', 'get', `/frictionless/checkin/${id_checkin}/status`, null, options);
|
|
4103
4121
|
}
|
|
4104
4122
|
/**
|
|
4105
4123
|
* GET /frictionless/checkin/{id_checkin} - Fetch CheckIn
|
|
@@ -4108,7 +4126,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4108
4126
|
* @param options - additional request options
|
|
4109
4127
|
*/
|
|
4110
4128
|
get_frictionless_checkin(id_checkin, options) {
|
|
4111
|
-
return this.request(
|
|
4129
|
+
return this.request('frictionless', 'get_frictionless_checkin', 'get', `/frictionless/checkin/${id_checkin}`, null, options);
|
|
4112
4130
|
}
|
|
4113
4131
|
/**
|
|
4114
4132
|
* GET /frictionless/users/{user_id}/checkins/payment-issues - List check-ins with update payment required per user
|
|
@@ -4117,7 +4135,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4117
4135
|
* @param options - additional request options
|
|
4118
4136
|
*/
|
|
4119
4137
|
get_frictionless_users_payment_issues(user_id, options) {
|
|
4120
|
-
return this.request(
|
|
4138
|
+
return this.request('frictionless', 'get_frictionless_users_payment_issues', 'get', `/frictionless/users/${user_id}/checkins/payment-issues`, null, options);
|
|
4121
4139
|
}
|
|
4122
4140
|
/**
|
|
4123
4141
|
* GET /frictionless/failed-checkins - List check-ins on error
|
|
@@ -4125,7 +4143,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4125
4143
|
* @param options - additional request options
|
|
4126
4144
|
*/
|
|
4127
4145
|
get_frictionless_failed_checkins(options) {
|
|
4128
|
-
return this.request(
|
|
4146
|
+
return this.request('frictionless', 'get_frictionless_failed_checkins', 'get', `/frictionless/failed-checkins`, null, options);
|
|
4129
4147
|
}
|
|
4130
4148
|
/**
|
|
4131
4149
|
* POST /frictionless/checkins/{id_checkin}/reprocess - Reprocess checkin on error
|
|
@@ -4134,7 +4152,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4134
4152
|
* @param options - additional request options
|
|
4135
4153
|
*/
|
|
4136
4154
|
post_frictionless_checkins_reprocess(id_checkin, options) {
|
|
4137
|
-
return this.request(
|
|
4155
|
+
return this.request('frictionless', 'post_frictionless_checkins_reprocess', 'post', `/frictionless/checkins/${id_checkin}/reprocess`, null, options);
|
|
4138
4156
|
}
|
|
4139
4157
|
/**
|
|
4140
4158
|
* POST /frictionless/checkins/{checkin_id}/reprocess-payment - Update payment at checkin and trigger reprocessing
|
|
@@ -4144,7 +4162,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4144
4162
|
* @param options - additional request options
|
|
4145
4163
|
*/
|
|
4146
4164
|
post_frictionless_checkin_reprocess_payment(checkin_id, body, options) {
|
|
4147
|
-
return this.request(
|
|
4165
|
+
return this.request('frictionless', 'post_frictionless_checkin_reprocess_payment', 'post', `/frictionless/checkins/${checkin_id}/reprocess-payment`, body, options);
|
|
4148
4166
|
}
|
|
4149
4167
|
/**
|
|
4150
4168
|
* POST /frictionless/amazon-jwo-connector/v1/identity/identity-keys - Amazon JWO Identity Key Connector
|
|
@@ -4153,7 +4171,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4153
4171
|
* @param options - additional request options
|
|
4154
4172
|
*/
|
|
4155
4173
|
post_frictionless_amazon_jwo_connector_v1_identity_identity_keys(body, options) {
|
|
4156
|
-
return this.request(
|
|
4174
|
+
return this.request('frictionless', 'post_frictionless_amazon_jwo_connector_v1_identity_identity_keys', 'post', `/frictionless/amazon-jwo-connector/v1/identity/identity-keys`, body, options);
|
|
4157
4175
|
}
|
|
4158
4176
|
/**
|
|
4159
4177
|
* POST /frictionless/amazon-jwo-connector/v1/order/purchases - Amazon JWO Ordering Connector
|
|
@@ -4162,23 +4180,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4162
4180
|
* @param options - additional request options
|
|
4163
4181
|
*/
|
|
4164
4182
|
post_frictionless_amazon_jwo_connector_v1_order_purchases(body, options) {
|
|
4165
|
-
return this.request(
|
|
4166
|
-
}
|
|
4167
|
-
/**
|
|
4168
|
-
* GET /dev/consumer/v1/health-check
|
|
4169
|
-
*
|
|
4170
|
-
* @param options - additional request options
|
|
4171
|
-
*/
|
|
4172
|
-
HealthCheckController_execute(options) {
|
|
4173
|
-
return this.request("consumer", "HealthCheckController_execute", "get", `/consumer/v1/health-check`, null, options);
|
|
4174
|
-
}
|
|
4175
|
-
/**
|
|
4176
|
-
* GET /dev/consumer/v1/payment-methods - List payment methods available in a given brand
|
|
4177
|
-
*
|
|
4178
|
-
* @param options - additional request options
|
|
4179
|
-
*/
|
|
4180
|
-
get_payment_list_by_brand(options) {
|
|
4181
|
-
return this.request("consumer", "get_payment_list_by_brand", "get", `/consumer/v1/payment-methods`, null, options);
|
|
4183
|
+
return this.request('frictionless', 'post_frictionless_amazon_jwo_connector_v1_order_purchases', 'post', `/frictionless/amazon-jwo-connector/v1/order/purchases`, body, options);
|
|
4182
4184
|
}
|
|
4183
4185
|
/**
|
|
4184
4186
|
* POST /ai/language/generate - Generate text from a given prompt
|
|
@@ -4187,7 +4189,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4187
4189
|
* @param options - additional request options
|
|
4188
4190
|
*/
|
|
4189
4191
|
post_ai_language_generate(body, options) {
|
|
4190
|
-
return this.request(
|
|
4192
|
+
return this.request('ai', 'post_ai_language_generate', 'post', `/ai/language/generate`, body, options);
|
|
4191
4193
|
}
|
|
4192
4194
|
/**
|
|
4193
4195
|
* POST /ai/image/generate - Generate image from a given prompt
|
|
@@ -4196,7 +4198,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4196
4198
|
* @param options - additional request options
|
|
4197
4199
|
*/
|
|
4198
4200
|
post_ai_image_generate(body, options) {
|
|
4199
|
-
return this.request(
|
|
4201
|
+
return this.request('ai', 'post_ai_image_generate', 'post', `/ai/image/generate`, body, options);
|
|
4200
4202
|
}
|
|
4201
4203
|
/**
|
|
4202
4204
|
* POST /centricos/ai/item/description - Generate item description
|
|
@@ -4205,7 +4207,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4205
4207
|
* @param options - additional request options
|
|
4206
4208
|
*/
|
|
4207
4209
|
post_centricos_ai_item_description(body, options) {
|
|
4208
|
-
return this.request(
|
|
4210
|
+
return this.request('centricos', 'post_centricos_ai_item_description', 'post', `/centricos/ai/item/description`, body, options);
|
|
4209
4211
|
}
|
|
4210
4212
|
/**
|
|
4211
4213
|
* POST /centricos/ai/item/image - Generate item image
|
|
@@ -4214,7 +4216,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4214
4216
|
* @param options - additional request options
|
|
4215
4217
|
*/
|
|
4216
4218
|
post_centricos_ai_item_image(body, options) {
|
|
4217
|
-
return this.request(
|
|
4219
|
+
return this.request('centricos', 'post_centricos_ai_item_image', 'post', `/centricos/ai/item/image`, body, options);
|
|
4218
4220
|
}
|
|
4219
4221
|
/**
|
|
4220
4222
|
* GET /centricos/orders/export - Get orders in csv format
|
|
@@ -4222,7 +4224,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4222
4224
|
* @param options - additional request options
|
|
4223
4225
|
*/
|
|
4224
4226
|
post_centricos_orders_export(options) {
|
|
4225
|
-
return this.request(
|
|
4227
|
+
return this.request('centricos', 'post_centricos_orders_export', 'get', `/centricos/orders/export`, null, options);
|
|
4226
4228
|
}
|
|
4227
4229
|
/**
|
|
4228
4230
|
* GET /centricos/report/group/{location_group}/config - Get report configuration for a location group. Times are in site's local timezone.
|
|
@@ -4231,7 +4233,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4231
4233
|
* @param options - additional request options
|
|
4232
4234
|
*/
|
|
4233
4235
|
get_centricos_report_group_config(location_group, options) {
|
|
4234
|
-
return this.request(
|
|
4236
|
+
return this.request('centricos', 'get_centricos_report_group_config', 'get', `/centricos/report/group/${location_group}/config`, null, options);
|
|
4235
4237
|
}
|
|
4236
4238
|
/**
|
|
4237
4239
|
* PUT /centricos/report/group/{location_group}/config - Update report configuration for a location group. Times are in site's local timezone.
|
|
@@ -4241,7 +4243,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4241
4243
|
* @param options - additional request options
|
|
4242
4244
|
*/
|
|
4243
4245
|
put_centricos_report_group_config(location_group, body, options) {
|
|
4244
|
-
return this.request(
|
|
4246
|
+
return this.request('centricos', 'put_centricos_report_group_config', 'put', `/centricos/report/group/${location_group}/config`, body, options);
|
|
4245
4247
|
}
|
|
4246
4248
|
/**
|
|
4247
4249
|
* DELETE /centricos/report/group/{location_group}/config - Delete report configuration for a location group. Times are in site's local timezone.
|
|
@@ -4250,7 +4252,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4250
4252
|
* @param options - additional request options
|
|
4251
4253
|
*/
|
|
4252
4254
|
delete_centricos_report_group_config(location_group, options) {
|
|
4253
|
-
return this.request(
|
|
4255
|
+
return this.request('centricos', 'delete_centricos_report_group_config', 'delete', `/centricos/report/group/${location_group}/config`, null, options);
|
|
4254
4256
|
}
|
|
4255
4257
|
/**
|
|
4256
4258
|
* GET /centricos/report/group/{location_group}/config/default - Get default report configuration. Times are in site's local timezone.
|
|
@@ -4259,7 +4261,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4259
4261
|
* @param options - additional request options
|
|
4260
4262
|
*/
|
|
4261
4263
|
get_centricos_report_config_default(location_group, options) {
|
|
4262
|
-
return this.request(
|
|
4264
|
+
return this.request('centricos', 'get_centricos_report_config_default', 'get', `/centricos/report/group/${location_group}/config/default`, null, options);
|
|
4263
4265
|
}
|
|
4264
4266
|
/**
|
|
4265
4267
|
* GET /centricos/looker/embedurl - Get a signed URL for looker embeding
|
|
@@ -4267,7 +4269,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4267
4269
|
* @param options - additional request options
|
|
4268
4270
|
*/
|
|
4269
4271
|
get_centricos_looker_embedurl(options) {
|
|
4270
|
-
return this.request(
|
|
4272
|
+
return this.request('centricos', 'get_centricos_looker_embedurl', 'get', `/centricos/looker/embedurl`, null, options);
|
|
4271
4273
|
}
|
|
4272
4274
|
/**
|
|
4273
4275
|
* GET /centricos/devices/{site_id} - Get site devices
|
|
@@ -4276,7 +4278,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4276
4278
|
* @param options - additional request options
|
|
4277
4279
|
*/
|
|
4278
4280
|
get_site_devices(site_id, options) {
|
|
4279
|
-
return this.request(
|
|
4281
|
+
return this.request('centricos', 'get_site_devices', 'get', `/centricos/devices/${site_id}`, null, options);
|
|
4280
4282
|
}
|
|
4281
4283
|
/**
|
|
4282
4284
|
* GET /centricos/sites - Get a list of sites. This endpoint is paginated and supports filtering, sorting, and searching.
|
|
@@ -4284,7 +4286,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4284
4286
|
* @param options - additional request options
|
|
4285
4287
|
*/
|
|
4286
4288
|
get_centricos_sites(options) {
|
|
4287
|
-
return this.request(
|
|
4289
|
+
return this.request('centricos', 'get_centricos_sites', 'get', `/centricos/sites`, null, options);
|
|
4288
4290
|
}
|
|
4289
4291
|
/**
|
|
4290
4292
|
* GET /tax/v1/health-check - Health Check
|
|
@@ -4292,7 +4294,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4292
4294
|
* @param options - additional request options
|
|
4293
4295
|
*/
|
|
4294
4296
|
tax_health_check(options) {
|
|
4295
|
-
return this.request(
|
|
4297
|
+
return this.request('tax', 'tax_health_check', 'get', `/tax/v1/health-check`, null, options);
|
|
4296
4298
|
}
|
|
4297
4299
|
/**
|
|
4298
4300
|
* POST /tax/quote - get tax quote from 3rd party tax library
|
|
@@ -4301,7 +4303,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4301
4303
|
* @param options - additional request options
|
|
4302
4304
|
*/
|
|
4303
4305
|
post_quote_tax(body, options) {
|
|
4304
|
-
return this.request(
|
|
4306
|
+
return this.request('tax', 'post_quote_tax', 'post', `/tax/quote`, body, options);
|
|
4305
4307
|
}
|
|
4306
4308
|
/**
|
|
4307
4309
|
* GET /search/order
|
|
@@ -4309,7 +4311,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4309
4311
|
* @param options - additional request options
|
|
4310
4312
|
*/
|
|
4311
4313
|
get_search_order(options) {
|
|
4312
|
-
return this.request(
|
|
4314
|
+
return this.request('search', 'get_search_order', 'get', `/search/order`, null, options);
|
|
4313
4315
|
}
|
|
4314
4316
|
/**
|
|
4315
4317
|
* GET /search/location
|
|
@@ -4317,7 +4319,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4317
4319
|
* @param options - additional request options
|
|
4318
4320
|
*/
|
|
4319
4321
|
get_search_location(options) {
|
|
4320
|
-
return this.request(
|
|
4322
|
+
return this.request('search', 'get_search_location', 'get', `/search/location`, null, options);
|
|
4321
4323
|
}
|
|
4322
4324
|
/**
|
|
4323
4325
|
* POST /auth/flow - Determines the authentication flow for a user based on their email address
|
|
@@ -4326,7 +4328,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4326
4328
|
* @param options - additional request options
|
|
4327
4329
|
*/
|
|
4328
4330
|
post_auth_flow(body, options) {
|
|
4329
|
-
return this.request(
|
|
4331
|
+
return this.request('auth', 'post_auth_flow', 'post', `/auth/flow`, body, options);
|
|
4330
4332
|
}
|
|
4331
4333
|
/**
|
|
4332
4334
|
* GET /auth/sso-configs - Returns all available SSO configurations
|
|
@@ -4334,7 +4336,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4334
4336
|
* @param options - additional request options
|
|
4335
4337
|
*/
|
|
4336
4338
|
get_auth_sso_configs(options) {
|
|
4337
|
-
return this.request(
|
|
4339
|
+
return this.request('auth', 'get_auth_sso_configs', 'get', `/auth/sso-configs`, null, options);
|
|
4338
4340
|
}
|
|
4339
4341
|
/**
|
|
4340
4342
|
* POST /auth/sso-config - Create a new SSO configuration
|
|
@@ -4343,7 +4345,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4343
4345
|
* @param options - additional request options
|
|
4344
4346
|
*/
|
|
4345
4347
|
post_auth_sso_config(body, options) {
|
|
4346
|
-
return this.request(
|
|
4348
|
+
return this.request('auth', 'post_auth_sso_config', 'post', `/auth/sso-config`, body, options);
|
|
4347
4349
|
}
|
|
4348
4350
|
/**
|
|
4349
4351
|
* DELETE /auth/sso-config/{name}/{clientId} - Delete a SSO configuration
|
|
@@ -4353,7 +4355,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4353
4355
|
* @param options - additional request options
|
|
4354
4356
|
*/
|
|
4355
4357
|
delete_auth_sso_config(name, clientId, options) {
|
|
4356
|
-
return this.request(
|
|
4358
|
+
return this.request('auth', 'delete_auth_sso_config', 'delete', `/auth/sso-config/${name}/${clientId}`, null, options);
|
|
4357
4359
|
}
|
|
4358
4360
|
/**
|
|
4359
4361
|
* POST /auth/sso - Authenticates a user using a SSO provider.
|
|
@@ -4362,17 +4364,17 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4362
4364
|
* @param options - additional request options
|
|
4363
4365
|
*/
|
|
4364
4366
|
post_auth_sso(body, options) {
|
|
4365
|
-
return this.request(
|
|
4367
|
+
return this.request('auth', 'post_auth_sso', 'post', `/auth/sso`, body, options);
|
|
4366
4368
|
}
|
|
4367
4369
|
/**
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4370
|
+
* POST /auth/sso/exchange - exchange idP information for short lived exchange token
|
|
4371
|
+
(only required for web clients)
|
|
4372
|
+
*
|
|
4373
|
+
* @param body
|
|
4374
|
+
* @param options - additional request options
|
|
4375
|
+
*/
|
|
4374
4376
|
post_auth_sso_exchange(body, options) {
|
|
4375
|
-
return this.request(
|
|
4377
|
+
return this.request('auth', 'post_auth_sso_exchange', 'post', `/auth/sso/exchange`, body, options);
|
|
4376
4378
|
}
|
|
4377
4379
|
/**
|
|
4378
4380
|
* GET /auth/sso/exchange - Exchange short lived JWT for access & refresh
|
|
@@ -4380,7 +4382,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4380
4382
|
* @param options - additional request options
|
|
4381
4383
|
*/
|
|
4382
4384
|
get_auth_sso_exchange(options) {
|
|
4383
|
-
return this.request(
|
|
4385
|
+
return this.request('auth', 'get_auth_sso_exchange', 'get', `/auth/sso/exchange`, null, options);
|
|
4384
4386
|
}
|
|
4385
4387
|
}
|
|
4386
4388
|
exports.ServiceClient = ServiceClient;
|