@compassdigital/sdk.typescript 4.71.0 → 4.73.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/base.d.ts +3 -3
- package/lib/base.d.ts.map +1 -1
- package/lib/base.js +27 -31
- package/lib/base.js.map +1 -1
- package/lib/index.d.ts +35 -5
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +507 -482
- package/lib/index.js.map +1 -1
- package/lib/interface/config.d.ts +1 -0
- package/lib/interface/config.d.ts.map +1 -1
- package/lib/interface/consumer.d.ts +1 -1
- package/lib/interface/consumer.d.ts.map +1 -1
- package/lib/interface/location.d.ts +0 -6
- package/lib/interface/location.d.ts.map +1 -1
- package/lib/interface/mealplan.d.ts +1 -0
- package/lib/interface/mealplan.d.ts.map +1 -1
- package/lib/interface/menu.d.ts +35 -14
- package/lib/interface/menu.d.ts.map +1 -1
- package/lib/interface/shoppingcart.d.ts +2 -2
- package/lib/interface/shoppingcart.d.ts.map +1 -1
- package/lib/interface/util.d.ts.map +1 -1
- package/manifest.json +2 -2
- package/package.json +2 -2
- package/src/base.ts +455 -448
- package/src/index.ts +596 -631
- package/src/interface/config.ts +1 -0
- package/src/interface/consumer.ts +52 -52
- package/src/interface/location.ts +0 -7
- package/src/interface/mealplan.ts +1 -0
- package/src/interface/menu.ts +51 -15
- package/src/interface/shoppingcart.ts +4 -4
- package/src/interface/util.ts +3 -3
- package/test/client.test.ts +1 -1
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('payment', '
|
|
30
|
+
return this.request('payment', '/payment/{id}/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('payment', '
|
|
41
|
+
return this.request('payment', '/payment/{id}/transaction/{transaction_id}/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('payment', '
|
|
50
|
+
return this.request('payment', '/payment/{id}/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('payment', '
|
|
60
|
+
return this.request('payment', '/payment/{id}/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('payment', '
|
|
69
|
+
return this.request('payment', '/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('payment', '
|
|
78
|
+
return this.request('payment', '/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('payment', '
|
|
86
|
+
return this.request('payment', '/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('payment', '
|
|
95
|
+
return this.request('payment', '/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('payment', '
|
|
104
|
+
return this.request('payment', '/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('payment', '
|
|
113
|
+
return this.request('payment', '/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('payment', '
|
|
121
|
+
return this.request('payment', '/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('payment', '
|
|
129
|
+
return this.request('payment', '/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('payment', '
|
|
138
|
+
return this.request('payment', '/payment/{id}/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('payment', '
|
|
148
|
+
return this.request('payment', '/payment/{id}/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('payment', '
|
|
158
|
+
return this.request('payment', '/payment/{id}/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('payment', '
|
|
167
|
+
return this.request('payment', '/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('payment', '
|
|
176
|
+
return this.request('payment', '/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('order', '
|
|
185
|
+
return this.request('order', '/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('order', '
|
|
194
|
+
return this.request('order', '/order/{id}', '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('order', '
|
|
203
|
+
return this.request('order', '/order/{id}', '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('order', '
|
|
213
|
+
return this.request('order', '/order/{id}', '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('order', '
|
|
223
|
+
return this.request('order', '/order/{id}/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('order', '
|
|
233
|
+
return this.request('order', '/order/{id}/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('order', '
|
|
242
|
+
return this.request('order', '/order/customer/{id}', '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('order', '
|
|
252
|
+
return this.request('order', '/order/customer/{id}/location/brand/{location_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('order', '
|
|
261
|
+
return this.request('order', '/order/location/brand/{id}', '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('order', '
|
|
270
|
+
return this.request('order', '/order/location/{id}', '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('order', '
|
|
279
|
+
return this.request('order', '/order/location/group/{id}', '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('order', '
|
|
288
|
+
return this.request('order', '/order/user/{id}', '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('order', '
|
|
297
|
+
return this.request('order', '/order/{id}/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('order', '
|
|
306
|
+
return this.request('order', '/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('location', '
|
|
315
|
+
return this.request('location', '/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('location', '
|
|
323
|
+
return this.request('location', '/location', '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('location', '
|
|
331
|
+
return this.request('location', '/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('location', '
|
|
340
|
+
return this.request('location', '/location/{id}', '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('location', '
|
|
350
|
+
return this.request('location', '/location/{id}', '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('location', '
|
|
360
|
+
return this.request('location', '/location/{id}', '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('location', '
|
|
370
|
+
return this.request('location', '/location/{id}', '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('location', '
|
|
378
|
+
return this.request('location', '/location/multigroup', '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('location', '
|
|
387
|
+
return this.request('location', '/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('location', '
|
|
396
|
+
return this.request('location', '/location/multigroup/{id}', '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('location', '
|
|
406
|
+
return this.request('location', '/location/multigroup/{id}', '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('location', '
|
|
416
|
+
return this.request('location', '/location/multigroup/{id}', '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('location', '
|
|
426
|
+
return this.request('location', '/location/multigroup/{id}', '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('location', '
|
|
436
|
+
return this.request('location', '/location/multigroup/{id}/user/{user_id}', '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('location', '
|
|
445
|
+
return this.request('location', '/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('location', '
|
|
454
|
+
return this.request('location', '/location/group/{id}', '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('location', '
|
|
464
|
+
return this.request('location', '/location/group/{id}', '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('location', '
|
|
474
|
+
return this.request('location', '/location/group/{id}', '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('location', '
|
|
484
|
+
return this.request('location', '/location/group/{id}', '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('location', '
|
|
493
|
+
return this.request('location', '/location/group/{id}/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('location', '
|
|
502
|
+
return this.request('location', '/location/group/{id}/deliverydestination', '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('location', '
|
|
512
|
+
return this.request('location', '/location/group/{id}/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('location', '
|
|
522
|
+
return this.request('location', '/location/group/{id}/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('location', '
|
|
532
|
+
return this.request('location', '/location/group/{id}/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('location', '
|
|
542
|
+
return this.request('location', '/location/group/{id}/deliverydestination/{delivery_destination}', '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('location', '
|
|
550
|
+
return this.request('location', '/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('location', '
|
|
559
|
+
return this.request('location', '/location/brand/{id}/deliverydestinations', '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('location', '
|
|
568
|
+
return this.request('location', '/location/brand/{id}/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('location', '
|
|
577
|
+
return this.request('location', '/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('location', '
|
|
586
|
+
return this.request('location', '/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('location', '
|
|
596
|
+
return this.request('location', '/location/brand/{id}/timeslots/menu/{menu}', '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('location', '
|
|
605
|
+
return this.request('location', '/location/brand/{id}/timeslots/delivery', '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('location', '
|
|
615
|
+
return this.request('location', '/location/brand/{id}/timeslots/delivery/menu/{menu}', '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('location', '
|
|
624
|
+
return this.request('location', '/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('location', '
|
|
633
|
+
return this.request('location', '/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('location', '
|
|
642
|
+
return this.request('location', '/location/brand/{id}', '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('location', '
|
|
652
|
+
return this.request('location', '/location/brand/{id}', '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('location', '
|
|
661
|
+
return this.request('location', '/location/brand/{id}', '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('location', '
|
|
671
|
+
return this.request('location', '/location/brand/{id}', '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('location', '
|
|
679
|
+
return this.request('location', '/location/sector', '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('location', '
|
|
688
|
+
return this.request('location', '/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('location', '
|
|
697
|
+
return this.request('location', '/location/sector/{id}', '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('location', '
|
|
707
|
+
return this.request('location', '/location/sector/{id}', '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('location', '
|
|
716
|
+
return this.request('location', '/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('location', '
|
|
725
|
+
return this.request('location', '/location/company/{id}', '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('location', '
|
|
735
|
+
return this.request('location', '/location/company/{id}', '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('location', '
|
|
744
|
+
return this.request('location', '/location/record/{id}', '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('location', '
|
|
752
|
+
return this.request('location', '/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('location', '
|
|
761
|
+
return this.request('location', '/location/menu_association/{id}/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('location', '
|
|
770
|
+
return this.request('location', '/location/menu_association/{id}/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('shoppingcart', '
|
|
779
|
+
return this.request('shoppingcart', '/shoppingcart', '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('shoppingcart', '
|
|
789
|
+
return this.request('shoppingcart', '/shoppingcart/{id}', '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('shoppingcart', '
|
|
799
|
+
return this.request('shoppingcart', '/shoppingcart/{id}', '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('shoppingcart', '
|
|
808
|
+
return this.request('shoppingcart', '/shoppingcart/{id}', '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('shoppingcart', '
|
|
818
|
+
return this.request('shoppingcart', '/shoppingcart/{id}', '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('shoppingcart', '
|
|
828
|
+
return this.request('shoppingcart', '/shoppingcart/{id}/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('shoppingcart', '
|
|
837
|
+
return this.request('shoppingcart', '/shoppingcart/{id}/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('shoppingcart', '
|
|
847
|
+
return this.request('shoppingcart', '/shoppingcart/{id}/paymentmethod', '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('shoppingcart', '
|
|
856
|
+
return this.request('shoppingcart', '/shoppingcart/{id}/paymentmethods', '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('shoppingcart', '
|
|
866
|
+
return this.request('shoppingcart', '/shoppingcart/{id}/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('shoppingcart', '
|
|
876
|
+
return this.request('shoppingcart', '/shoppingcart/{id}/clone', '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('shoppingcart', '
|
|
885
|
+
return this.request('shoppingcart', '/shoppingcart/{id}/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('shoppingcart', '
|
|
894
|
+
return this.request('shoppingcart', '/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('partner', '
|
|
904
|
+
return this.request('partner', '/partner/event/{id}', '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('partner', '
|
|
912
|
+
return this.request('partner', '/partner/swagger.json', '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('partner', '
|
|
922
|
+
return this.request('partner', '/partner/{id}/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('email', '
|
|
931
|
+
return this.request('email', '/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('task', '
|
|
940
|
+
return this.request('task', '/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('task', '
|
|
949
|
+
return this.request('task', '/task/{id}', '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('task', '
|
|
959
|
+
return this.request('task', '/task/{id}', '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('task', '
|
|
968
|
+
return this.request('task', '/task/{id}', '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('task', '
|
|
977
|
+
return this.request('task', '/task/order/{id}', '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('task', '
|
|
986
|
+
return this.request('task', '/task/order/{id}/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('task', '
|
|
996
|
+
return this.request('task', '/task/order/{id}/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('task', '
|
|
1005
|
+
return this.request('task', '/task/assignee/{id}', '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('task', '
|
|
1014
|
+
return this.request('task', '/task/location/brand/{id}', '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('task', '
|
|
1023
|
+
return this.request('task', '/task/location/group/{id}', '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('kds', '
|
|
1031
|
+
return this.request('kds', '/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('kds', '
|
|
1040
|
+
return this.request('kds', '/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('kds', '
|
|
1049
|
+
return this.request('kds', '/kds/device/auth/{device_id}', '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('kds', '
|
|
1059
|
+
return this.request('kds', '/kds/device/info/{device_id}', '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('kds', '
|
|
1068
|
+
return this.request('kds', '/kds/device/info/{device_id}', '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('kds', '
|
|
1076
|
+
return this.request('kds', '/kds/swagger.json', '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('mealplan', '
|
|
1086
|
+
return this.request('mealplan', '/mealplan/{id}', '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('mealplan', '
|
|
1096
|
+
return this.request('mealplan', '/mealplan/{id}', '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('mealplan', '
|
|
1105
|
+
return this.request('mealplan', '/mealplan/{id}', '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('mealplan', '
|
|
1115
|
+
return this.request('mealplan', '/mealplan/{id}', '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('mealplan', '
|
|
1125
|
+
return this.request('mealplan', '/mealplan/{id}/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('mealplan', '
|
|
1135
|
+
return this.request('mealplan', '/mealplan/{id}/tender/{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('mealplan', '
|
|
1146
|
+
return this.request('mealplan', '/mealplan/{id}/tender/{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('mealplan', '
|
|
1157
|
+
return this.request('mealplan', '/mealplan/{id}/tender/{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('mealplan', '
|
|
1167
|
+
return this.request('mealplan', '/mealplan/{id}/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('mealplan', '
|
|
1177
|
+
return this.request('mealplan', '/mealplan/{id}/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('mealplan', '
|
|
1187
|
+
return this.request('mealplan', '/mealplan/{id}/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('datalake', '
|
|
1196
|
+
return this.request('datalake', '/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('datalake', '
|
|
1204
|
+
return this.request('datalake', '/swagger.json', '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('promo', '
|
|
1213
|
+
return this.request('promo', '/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('promo', '
|
|
1221
|
+
return this.request('promo', '/promo', '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('promo', '
|
|
1230
|
+
return this.request('promo', '/promo/{id}', '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('promo', '
|
|
1240
|
+
return this.request('promo', '/promo/{id}', '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('promo', '
|
|
1249
|
+
return this.request('promo', '/promo/{id}', '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('promo', '
|
|
1259
|
+
return this.request('promo', '/promo/company/{company}/location/group/{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('promo', '
|
|
1268
|
+
return this.request('promo', '/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('promo', '
|
|
1277
|
+
return this.request('promo', '/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('promo', '
|
|
1286
|
+
return this.request('promo', '/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('promo', '
|
|
1296
|
+
return this.request('promo', '/promo/voucher/{id}', '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('promo', '
|
|
1305
|
+
return this.request('promo', '/promo/voucher/{id}', '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('promo', '
|
|
1314
|
+
return this.request('promo', '/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('promo', '
|
|
1323
|
+
return this.request('promo', '/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('promo', '
|
|
1333
|
+
return this.request('promo', '/promo/voucher/{id}/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('promo', '
|
|
1342
|
+
return this.request('promo', '/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('promo', '
|
|
1350
|
+
return this.request('promo', '/promo/voucherify/activity/config.json', '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('config', '
|
|
1358
|
+
return this.request('config', '/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('config', '
|
|
1367
|
+
return this.request('config', '/config/{key}', '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('config', '
|
|
1377
|
+
return this.request('config', '/config/{key}', '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('config', '
|
|
1387
|
+
return this.request('config', '/config/{key}', '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('config', '
|
|
1396
|
+
return this.request('config', '/config/{key}', '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('config', '
|
|
1405
|
+
return this.request('config', '/config/public/{key}', '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('config', '
|
|
1415
|
+
return this.request('config', '/config/public/{key}', '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('config', '
|
|
1425
|
+
return this.request('config', '/config/public/{key}', '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('config', '
|
|
1434
|
+
return this.request('config', '/config/public/{key}', '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('announcement', '
|
|
1443
|
+
return this.request('announcement', '/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('announcement', '
|
|
1452
|
+
return this.request('announcement', '/announcement/resource/{id}', '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('announcement', '
|
|
1460
|
+
return this.request('announcement', '/announcement/resource', '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('announcement', '
|
|
1469
|
+
return this.request('announcement', '/announcement/{id}', '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('announcement', '
|
|
1479
|
+
return this.request('announcement', '/announcement/{id}', '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('announcement', '
|
|
1488
|
+
return this.request('announcement', '/announcement/{id}', '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('report', '
|
|
1498
|
+
return this.request('report', '/report/analytics/group/{location_group}/{report_type}', '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('report', '
|
|
1507
|
+
return this.request('report', '/report/analytics/combined/group/{location_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('report', '
|
|
1516
|
+
return this.request('report', '/report/eod/group/{id}', '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('report', '
|
|
1525
|
+
return this.request('report', '/report/eod/group/{id}/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('report', '
|
|
1535
|
+
return this.request('report', '/report/eod/group/{id}/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('report', '
|
|
1544
|
+
return this.request('report', '/report/eod/group/{id}/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('report', '
|
|
1554
|
+
return this.request('report', '/report/eod/group/{id}/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('report', '
|
|
1563
|
+
return this.request('report', '/report/eod/group/{id}/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('report', '
|
|
1573
|
+
return this.request('report', '/report/group/{location_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('report', '
|
|
1582
|
+
return this.request('report', '/report/group/{location_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('report', '
|
|
1591
|
+
return this.request('report', '/report/group/{location_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('report', '
|
|
1600
|
+
return this.request('report', '/report/group/{location_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('user', '
|
|
1608
|
+
return this.request('user', '/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('user', '
|
|
1617
|
+
return this.request('user', '/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('user', '
|
|
1626
|
+
return this.request('user', '/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('user', '
|
|
1635
|
+
return this.request('user', '/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('user', '
|
|
1644
|
+
return this.request('user', '/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('user', '
|
|
1653
|
+
return this.request('user', '/user/{id}', '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('user', '
|
|
1663
|
+
return this.request('user', '/user/{id}', '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('user', '
|
|
1673
|
+
return this.request('user', '/user/{id}', '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('user', '
|
|
1682
|
+
return this.request('user', '/user/{id}', '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('user', '
|
|
1691
|
+
return this.request('user', '/user/device/auth', '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('user', '
|
|
1699
|
+
return this.request('user', '/user/device/auth', '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('user', '
|
|
1708
|
+
return this.request('user', '/user/device/auth/{device_id}', '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('user', '
|
|
1718
|
+
return this.request('user', '/user/device/auth/{device_id}', '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('user', '
|
|
1728
|
+
return this.request('user', '/user/{id}/changepassword', '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('user', '
|
|
1736
|
+
return this.request('user', '/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('user', '
|
|
1747
|
+
return this.request('user', '/user/{id}/secret/{key}', '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('user', '
|
|
1757
|
+
return this.request('user', '/user/{id}/secret/{key}', '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('user', '
|
|
1766
|
+
return this.request('user', '/user/forgotpassword', '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('user', '
|
|
1776
|
+
return this.request('user', '/user/{id}/resetpassword', '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('user', '
|
|
1785
|
+
return this.request('user', '/user/realm/{realm}', '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('user', '
|
|
1794
|
+
return this.request('user', '/user/{id}/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('user', '
|
|
1804
|
+
return this.request('user', '/user/{id}/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('user', '
|
|
1814
|
+
return this.request('user', '/user/{id}/checkin', '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('user', '
|
|
1822
|
+
return this.request('user', '/user/checkin/search', '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('user', '
|
|
1831
|
+
return this.request('user', '/user/{id}/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('user', '
|
|
1841
|
+
return this.request('user', '/user/{id}/verification/confirm', '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('user', '
|
|
1850
|
+
return this.request('user', '/user/guest', '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('user', '
|
|
1859
|
+
return this.request('user', '/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('user', '
|
|
1868
|
+
return this.request('user', '/user/looker/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('user', '
|
|
1876
|
+
return this.request('user', '/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('calendar', '
|
|
1885
|
+
return this.request('calendar', '/calendar/{id}', '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('calendar', '
|
|
1895
|
+
return this.request('calendar', '/calendar/{id}', '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('calendar', '
|
|
1904
|
+
return this.request('calendar', '/calendar/{id}', '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('calendar', '
|
|
1913
|
+
return this.request('calendar', '/calendar/{id}/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('calendar', '
|
|
1921
|
+
return this.request('calendar', '/calendar/swagger.json', '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('calendar', '
|
|
1930
|
+
return this.request('calendar', '/calendar/{id}/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('file', '
|
|
1939
|
+
return this.request('file', '/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('file', '
|
|
1948
|
+
return this.request('file', '/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('menu', '
|
|
1957
|
+
return this.request('menu', '/menu/client/{client_id}', '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('menu', '
|
|
1965
|
+
return this.request('menu', '/menu', '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('menu', '
|
|
1974
|
+
return this.request('menu', '/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('menu', '
|
|
1983
|
+
return this.request('menu', '/menu/{id}', '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('menu', '
|
|
1992
|
+
return this.request('menu', '/menu/{id}', '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('menu', '
|
|
2002
|
+
return this.request('menu', '/menu/{id}', '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('menu', '
|
|
2011
|
+
return this.request('menu', '/menu/{id}', '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('menu', '
|
|
2021
|
+
return this.request('menu', '/menu/{id}', '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('menu', '
|
|
2030
|
+
return this.request('menu', '/menu/import', '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('menu', '
|
|
2039
|
+
return this.request('menu', '/menu/item/{id}', '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('menu', '
|
|
2048
|
+
return this.request('menu', '/menu/item/{id}', '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('menu', '
|
|
2057
|
+
return this.request('menu', '/menu/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('menu', '
|
|
2066
|
+
return this.request('menu', '/menu/{id}/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('menu', '
|
|
2076
|
+
return this.request('menu', '/menu/{id}/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('menu', '
|
|
2085
|
+
return this.request('menu', '/menu/items/import/{location}', '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('menu', '
|
|
2094
|
+
return this.request('menu', '/menu/items/location/{location}', '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('menu', '
|
|
2103
|
+
return this.request('menu', '/menu/item/random/location/{location}', '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('menu', '
|
|
2112
|
+
return this.request('menu', '/menu/items/random/location/{location}', '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('menu', '
|
|
2121
|
+
return this.request('menu', '/menu/sector/{sector}', '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('menu', '
|
|
2130
|
+
return this.request('menu', '/menu/company/{company}', '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('menu', '
|
|
2139
|
+
return this.request('menu', '/menu/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('menu', '
|
|
2148
|
+
return this.request('menu', '/menu/modifier/group/{id}', '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('menu', '
|
|
2158
|
+
return this.request('menu', '/menu/modifier/group/{id}', '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('menu', '
|
|
2167
|
+
return this.request('menu', '/menu/modifier/group/{id}', '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('menu', '
|
|
2176
|
+
return this.request('menu', '/menu/modifier/group/company/{company}', '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('menu', '
|
|
2185
|
+
return this.request('menu', '/menu/modifier/group/company/{company}/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('menu', '
|
|
2194
|
+
return this.request('menu', '/menu/{id}/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('menu', '
|
|
2203
|
+
return this.request('menu', '/menu/partial/{id}/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('menu', '
|
|
2213
|
+
return this.request('menu', '/menu/partial/{id}/group/{group_id}/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('menu', '
|
|
2224
|
+
return this.request('menu', '/menu/partial/{id}/group/{group_id}/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('menu', '
|
|
2233
|
+
return this.request('menu', '/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('menu', '
|
|
2242
|
+
return this.request('menu', '/menu/v3/local-menu-group/{id}', '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('menu', '
|
|
2252
|
+
return this.request('menu', '/menu/v3/local-menu-group/{id}', '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('menu', '
|
|
2261
|
+
return this.request('menu', '/menu/v3/local-menu-group/{id}', '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('menu', '
|
|
2269
|
+
return this.request('menu', '/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('menu', '
|
|
2278
|
+
return this.request('menu', '/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('menu', '
|
|
2286
|
+
return this.request('menu', '/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('menu', '
|
|
2295
|
+
return this.request('menu', '/menu/v3/local-menu-group/{id}/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,16 @@ 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('menu', '
|
|
2304
|
+
return this.request('menu', '/menu/v3/draft/local-menu-group/{id}/brands', 'get', `/menu/v3/draft/local-menu-group/${id}/brands`, null, options);
|
|
2305
|
+
}
|
|
2306
|
+
/**
|
|
2307
|
+
* GET /menu/v3/draft/local-menu-group/{id}/items
|
|
2308
|
+
*
|
|
2309
|
+
* @param id
|
|
2310
|
+
* @param options - additional request options
|
|
2311
|
+
*/
|
|
2312
|
+
get_menu_v3_draft_local_menu_group_items(id, options) {
|
|
2313
|
+
return this.request('menu', '/menu/v3/draft/local-menu-group/{id}/items', 'get', `/menu/v3/draft/local-menu-group/${id}/items`, null, options);
|
|
2305
2314
|
}
|
|
2306
2315
|
/**
|
|
2307
2316
|
* GET /menu/v3/local-menu-group/{id}/brands
|
|
@@ -2310,7 +2319,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2310
2319
|
* @param options - additional request options
|
|
2311
2320
|
*/
|
|
2312
2321
|
get_menu_v3_local_menu_group_brands(id, options) {
|
|
2313
|
-
return this.request('menu', '
|
|
2322
|
+
return this.request('menu', '/menu/v3/local-menu-group/{id}/brands', 'get', `/menu/v3/local-menu-group/${id}/brands`, null, options);
|
|
2314
2323
|
}
|
|
2315
2324
|
/**
|
|
2316
2325
|
* GET /menu/v3/local-menu-group/{id}/allowed-global-brands
|
|
@@ -2319,7 +2328,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2319
2328
|
* @param options - additional request options
|
|
2320
2329
|
*/
|
|
2321
2330
|
get_menu_v3_local_menu_group_allowed_global_brands(id, options) {
|
|
2322
|
-
return this.request('menu', '
|
|
2331
|
+
return this.request('menu', '/menu/v3/local-menu-group/{id}/allowed-global-brands', 'get', `/menu/v3/local-menu-group/${id}/allowed-global-brands`, null, options);
|
|
2323
2332
|
}
|
|
2324
2333
|
/**
|
|
2325
2334
|
* POST /menu/v3/local-menu-group/{id}/import-brands
|
|
@@ -2328,7 +2337,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2328
2337
|
* @param options - additional request options
|
|
2329
2338
|
*/
|
|
2330
2339
|
post_menu_v3_local_menu_group_import_brands(id, options) {
|
|
2331
|
-
return this.request('menu', '
|
|
2340
|
+
return this.request('menu', '/menu/v3/local-menu-group/{id}/import-brands', 'post', `/menu/v3/local-menu-group/${id}/import-brands`, null, options);
|
|
2332
2341
|
}
|
|
2333
2342
|
/**
|
|
2334
2343
|
* GET /menu/v3/local-menu-group/{id}/site
|
|
@@ -2337,7 +2346,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2337
2346
|
* @param options - additional request options
|
|
2338
2347
|
*/
|
|
2339
2348
|
get_menu_v3_local_menu_group_site(id, options) {
|
|
2340
|
-
return this.request('menu', '
|
|
2349
|
+
return this.request('menu', '/menu/v3/local-menu-group/{id}/site', 'get', `/menu/v3/local-menu-group/${id}/site`, null, options);
|
|
2341
2350
|
}
|
|
2342
2351
|
/**
|
|
2343
2352
|
* GET /menu/v3/local-menu-group/{id}/menu-group
|
|
@@ -2346,7 +2355,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2346
2355
|
* @param options - additional request options
|
|
2347
2356
|
*/
|
|
2348
2357
|
get_menu_v3_local_menu_group_menu_group(id, options) {
|
|
2349
|
-
return this.request('menu', '
|
|
2358
|
+
return this.request('menu', '/menu/v3/local-menu-group/{id}/menu-group', 'get', `/menu/v3/local-menu-group/${id}/menu-group`, null, options);
|
|
2350
2359
|
}
|
|
2351
2360
|
/**
|
|
2352
2361
|
* POST /menu/v3/local-menu-groups/site-groups
|
|
@@ -2355,7 +2364,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2355
2364
|
* @param options - additional request options
|
|
2356
2365
|
*/
|
|
2357
2366
|
post_menu_v3_local_menu_groups_site_groups(body, options) {
|
|
2358
|
-
return this.request('menu', '
|
|
2367
|
+
return this.request('menu', '/menu/v3/local-menu-groups/site-groups', 'post', `/menu/v3/local-menu-groups/site-groups`, body, options);
|
|
2359
2368
|
}
|
|
2360
2369
|
/**
|
|
2361
2370
|
* DELETE /menu/v3/local-menu-groups/site-groups
|
|
@@ -2364,7 +2373,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2364
2373
|
* @param options - additional request options
|
|
2365
2374
|
*/
|
|
2366
2375
|
delete_menu_v3_local_menu_groups_site_groups(body, options) {
|
|
2367
|
-
return this.request('menu', '
|
|
2376
|
+
return this.request('menu', '/menu/v3/local-menu-groups/site-groups', 'delete', `/menu/v3/local-menu-groups/site-groups`, body, options);
|
|
2368
2377
|
}
|
|
2369
2378
|
/**
|
|
2370
2379
|
* GET /menu/v3/local-menu-group/export/solutions
|
|
@@ -2372,17 +2381,17 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2372
2381
|
* @param options - additional request options
|
|
2373
2382
|
*/
|
|
2374
2383
|
get_menu_v3_local_menu_group_export_solutions(options) {
|
|
2375
|
-
return this.request('menu', '
|
|
2384
|
+
return this.request('menu', '/menu/v3/local-menu-group/export/solutions', 'get', `/menu/v3/local-menu-group/export/solutions`, null, options);
|
|
2376
2385
|
}
|
|
2377
2386
|
/**
|
|
2378
2387
|
* GET /menu/v3/local-menu-group/{id}/export/solution/{solution_id}
|
|
2379
2388
|
*
|
|
2380
|
-
* @param id -
|
|
2389
|
+
* @param id - local_menu_group
|
|
2381
2390
|
* @param solution_id - export_solution
|
|
2382
2391
|
* @param options - additional request options
|
|
2383
2392
|
*/
|
|
2384
2393
|
get_menu_v3_local_menu_group_export_solution(id, solution_id, options) {
|
|
2385
|
-
return this.request('menu', '
|
|
2394
|
+
return this.request('menu', '/menu/v3/local-menu-group/{id}/export/solution/{solution_id}', 'get', `/menu/v3/local-menu-group/${id}/export/solution/${solution_id}`, null, options);
|
|
2386
2395
|
}
|
|
2387
2396
|
/**
|
|
2388
2397
|
* POST /menu/v3/global-menu-group
|
|
@@ -2391,7 +2400,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2391
2400
|
* @param options - additional request options
|
|
2392
2401
|
*/
|
|
2393
2402
|
post_menu_v3_global_menu_group(body, options) {
|
|
2394
|
-
return this.request('menu', '
|
|
2403
|
+
return this.request('menu', '/menu/v3/global-menu-group', 'post', `/menu/v3/global-menu-group`, body, options);
|
|
2395
2404
|
}
|
|
2396
2405
|
/**
|
|
2397
2406
|
* GET /menu/v3/global-menu-group/{id}
|
|
@@ -2400,7 +2409,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2400
2409
|
* @param options - additional request options
|
|
2401
2410
|
*/
|
|
2402
2411
|
get_menu_v3_global_menu_group(id, options) {
|
|
2403
|
-
return this.request('menu', '
|
|
2412
|
+
return this.request('menu', '/menu/v3/global-menu-group/{id}', 'get', `/menu/v3/global-menu-group/${id}`, null, options);
|
|
2404
2413
|
}
|
|
2405
2414
|
/**
|
|
2406
2415
|
* PATCH /menu/v3/global-menu-group/{id}
|
|
@@ -2410,7 +2419,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2410
2419
|
* @param options - additional request options
|
|
2411
2420
|
*/
|
|
2412
2421
|
patch_menu_v3_global_menu_group(id, body, options) {
|
|
2413
|
-
return this.request('menu', '
|
|
2422
|
+
return this.request('menu', '/menu/v3/global-menu-group/{id}', 'patch', `/menu/v3/global-menu-group/${id}`, body, options);
|
|
2414
2423
|
}
|
|
2415
2424
|
/**
|
|
2416
2425
|
* DELETE /menu/v3/global-menu-group/{id}
|
|
@@ -2419,7 +2428,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2419
2428
|
* @param options - additional request options
|
|
2420
2429
|
*/
|
|
2421
2430
|
delete_menu_v3_global_menu_group(id, options) {
|
|
2422
|
-
return this.request('menu', '
|
|
2431
|
+
return this.request('menu', '/menu/v3/global-menu-group/{id}', 'delete', `/menu/v3/global-menu-group/${id}`, null, options);
|
|
2423
2432
|
}
|
|
2424
2433
|
/**
|
|
2425
2434
|
* GET /menu/v3/global-menu-groups
|
|
@@ -2427,7 +2436,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2427
2436
|
* @param options - additional request options
|
|
2428
2437
|
*/
|
|
2429
2438
|
get_menu_v3_global_menu_groups(options) {
|
|
2430
|
-
return this.request('menu', '
|
|
2439
|
+
return this.request('menu', '/menu/v3/global-menu-groups', 'get', `/menu/v3/global-menu-groups`, null, options);
|
|
2431
2440
|
}
|
|
2432
2441
|
/**
|
|
2433
2442
|
* POST /menu/v3/global-menu-groups
|
|
@@ -2436,7 +2445,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2436
2445
|
* @param options - additional request options
|
|
2437
2446
|
*/
|
|
2438
2447
|
post_menu_v3_global_menu_groups(body, options) {
|
|
2439
|
-
return this.request('menu', '
|
|
2448
|
+
return this.request('menu', '/menu/v3/global-menu-groups', 'post', `/menu/v3/global-menu-groups`, body, options);
|
|
2440
2449
|
}
|
|
2441
2450
|
/**
|
|
2442
2451
|
* GET /menu/v3/global-menu-groups/count
|
|
@@ -2444,7 +2453,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2444
2453
|
* @param options - additional request options
|
|
2445
2454
|
*/
|
|
2446
2455
|
get_menu_v3_global_menu_groups_count(options) {
|
|
2447
|
-
return this.request('menu', '
|
|
2456
|
+
return this.request('menu', '/menu/v3/global-menu-groups/count', 'get', `/menu/v3/global-menu-groups/count`, null, options);
|
|
2448
2457
|
}
|
|
2449
2458
|
/**
|
|
2450
2459
|
* POST /menu/v3/global-menu-group/{id}/recover
|
|
@@ -2453,7 +2462,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2453
2462
|
* @param options - additional request options
|
|
2454
2463
|
*/
|
|
2455
2464
|
post_menu_v3_global_menu_group_recover(id, options) {
|
|
2456
|
-
return this.request('menu', '
|
|
2465
|
+
return this.request('menu', '/menu/v3/global-menu-group/{id}/recover', 'post', `/menu/v3/global-menu-group/${id}/recover`, null, options);
|
|
2457
2466
|
}
|
|
2458
2467
|
/**
|
|
2459
2468
|
* GET /menu/v3/draft/global-menu-group/{id}/brands
|
|
@@ -2462,7 +2471,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2462
2471
|
* @param options - additional request options
|
|
2463
2472
|
*/
|
|
2464
2473
|
get_menu_v3_draft_global_menu_group_brands(id, options) {
|
|
2465
|
-
return this.request('menu', '
|
|
2474
|
+
return this.request('menu', '/menu/v3/draft/global-menu-group/{id}/brands', 'get', `/menu/v3/draft/global-menu-group/${id}/brands`, null, options);
|
|
2466
2475
|
}
|
|
2467
2476
|
/**
|
|
2468
2477
|
* GET /menu/v3/global-menu-group/{id}/brands
|
|
@@ -2471,7 +2480,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2471
2480
|
* @param options - additional request options
|
|
2472
2481
|
*/
|
|
2473
2482
|
get_menu_v3_global_menu_group_brands(id, options) {
|
|
2474
|
-
return this.request('menu', '
|
|
2483
|
+
return this.request('menu', '/menu/v3/global-menu-group/{id}/brands', 'get', `/menu/v3/global-menu-group/${id}/brands`, null, options);
|
|
2475
2484
|
}
|
|
2476
2485
|
/**
|
|
2477
2486
|
* POST /menu/v3/draft/brand
|
|
@@ -2480,7 +2489,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2480
2489
|
* @param options - additional request options
|
|
2481
2490
|
*/
|
|
2482
2491
|
post_menu_v3_draft_brand(body, options) {
|
|
2483
|
-
return this.request('menu', '
|
|
2492
|
+
return this.request('menu', '/menu/v3/draft/brand', 'post', `/menu/v3/draft/brand`, body, options);
|
|
2484
2493
|
}
|
|
2485
2494
|
/**
|
|
2486
2495
|
* GET /menu/v3/draft/brand/{id}
|
|
@@ -2489,7 +2498,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2489
2498
|
* @param options - additional request options
|
|
2490
2499
|
*/
|
|
2491
2500
|
get_menu_v3_draft_brand(id, options) {
|
|
2492
|
-
return this.request('menu', '
|
|
2501
|
+
return this.request('menu', '/menu/v3/draft/brand/{id}', 'get', `/menu/v3/draft/brand/${id}`, null, options);
|
|
2493
2502
|
}
|
|
2494
2503
|
/**
|
|
2495
2504
|
* PATCH /menu/v3/draft/brand/{id}
|
|
@@ -2499,7 +2508,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2499
2508
|
* @param options - additional request options
|
|
2500
2509
|
*/
|
|
2501
2510
|
patch_menu_v3_draft_brand(id, body, options) {
|
|
2502
|
-
return this.request('menu', '
|
|
2511
|
+
return this.request('menu', '/menu/v3/draft/brand/{id}', 'patch', `/menu/v3/draft/brand/${id}`, body, options);
|
|
2503
2512
|
}
|
|
2504
2513
|
/**
|
|
2505
2514
|
* DELETE /menu/v3/draft/brand/{id}
|
|
@@ -2508,7 +2517,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2508
2517
|
* @param options - additional request options
|
|
2509
2518
|
*/
|
|
2510
2519
|
delete_menu_v3_draft_brand(id, options) {
|
|
2511
|
-
return this.request('menu', '
|
|
2520
|
+
return this.request('menu', '/menu/v3/draft/brand/{id}', 'delete', `/menu/v3/draft/brand/${id}`, null, options);
|
|
2512
2521
|
}
|
|
2513
2522
|
/**
|
|
2514
2523
|
* GET /menu/v3/draft/brands
|
|
@@ -2516,7 +2525,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2516
2525
|
* @param options - additional request options
|
|
2517
2526
|
*/
|
|
2518
2527
|
get_menu_v3_draft_brands(options) {
|
|
2519
|
-
return this.request('menu', '
|
|
2528
|
+
return this.request('menu', '/menu/v3/draft/brands', 'get', `/menu/v3/draft/brands`, null, options);
|
|
2520
2529
|
}
|
|
2521
2530
|
/**
|
|
2522
2531
|
* POST /menu/v3/draft/brands
|
|
@@ -2525,7 +2534,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2525
2534
|
* @param options - additional request options
|
|
2526
2535
|
*/
|
|
2527
2536
|
post_menu_v3_draft_brands(body, options) {
|
|
2528
|
-
return this.request('menu', '
|
|
2537
|
+
return this.request('menu', '/menu/v3/draft/brands', 'post', `/menu/v3/draft/brands`, body, options);
|
|
2529
2538
|
}
|
|
2530
2539
|
/**
|
|
2531
2540
|
* GET /menu/v3/draft/brands/count
|
|
@@ -2533,7 +2542,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2533
2542
|
* @param options - additional request options
|
|
2534
2543
|
*/
|
|
2535
2544
|
get_menu_v3_draft_brands_count(options) {
|
|
2536
|
-
return this.request('menu', '
|
|
2545
|
+
return this.request('menu', '/menu/v3/draft/brands/count', 'get', `/menu/v3/draft/brands/count`, null, options);
|
|
2537
2546
|
}
|
|
2538
2547
|
/**
|
|
2539
2548
|
* POST /menu/v3/draft/brand/{id}/recover
|
|
@@ -2542,7 +2551,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2542
2551
|
* @param options - additional request options
|
|
2543
2552
|
*/
|
|
2544
2553
|
post_menu_v3_draft_brand_recover(id, options) {
|
|
2545
|
-
return this.request('menu', '
|
|
2554
|
+
return this.request('menu', '/menu/v3/draft/brand/{id}/recover', 'post', `/menu/v3/draft/brand/${id}/recover`, null, options);
|
|
2546
2555
|
}
|
|
2547
2556
|
/**
|
|
2548
2557
|
* GET /menu/v3/draft/brand/{id}/audits
|
|
@@ -2551,7 +2560,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2551
2560
|
* @param options - additional request options
|
|
2552
2561
|
*/
|
|
2553
2562
|
get_menu_v3_draft_brand_audits(id, options) {
|
|
2554
|
-
return this.request('menu', '
|
|
2563
|
+
return this.request('menu', '/menu/v3/draft/brand/{id}/audits', 'get', `/menu/v3/draft/brand/${id}/audits`, null, options);
|
|
2555
2564
|
}
|
|
2556
2565
|
/**
|
|
2557
2566
|
* GET /menu/v3/draft/brand/{id}/menus
|
|
@@ -2560,7 +2569,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2560
2569
|
* @param options - additional request options
|
|
2561
2570
|
*/
|
|
2562
2571
|
get_menu_v3_draft_brand_menus(id, options) {
|
|
2563
|
-
return this.request('menu', '
|
|
2572
|
+
return this.request('menu', '/menu/v3/draft/brand/{id}/menus', 'get', `/menu/v3/draft/brand/${id}/menus`, null, options);
|
|
2564
2573
|
}
|
|
2565
2574
|
/**
|
|
2566
2575
|
* GET /menu/v3/draft/brand/{id}/modifiers
|
|
@@ -2569,7 +2578,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2569
2578
|
* @param options - additional request options
|
|
2570
2579
|
*/
|
|
2571
2580
|
get_menu_v3_draft_brand_modifiers(id, options) {
|
|
2572
|
-
return this.request('menu', '
|
|
2581
|
+
return this.request('menu', '/menu/v3/draft/brand/{id}/modifiers', 'get', `/menu/v3/draft/brand/${id}/modifiers`, null, options);
|
|
2573
2582
|
}
|
|
2574
2583
|
/**
|
|
2575
2584
|
* GET /menu/v3/draft/brand/{id}/modifier_groups
|
|
@@ -2578,7 +2587,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2578
2587
|
* @param options - additional request options
|
|
2579
2588
|
*/
|
|
2580
2589
|
get_menu_v3_draft_brand_modifier_groups(id, options) {
|
|
2581
|
-
return this.request('menu', '
|
|
2590
|
+
return this.request('menu', '/menu/v3/draft/brand/{id}/modifier_groups', 'get', `/menu/v3/draft/brand/${id}/modifier_groups`, null, options);
|
|
2582
2591
|
}
|
|
2583
2592
|
/**
|
|
2584
2593
|
* GET /menu/v3/draft/brand/{id}/items
|
|
@@ -2587,7 +2596,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2587
2596
|
* @param options - additional request options
|
|
2588
2597
|
*/
|
|
2589
2598
|
get_menu_v3_draft_brand_items(id, options) {
|
|
2590
|
-
return this.request('menu', '
|
|
2599
|
+
return this.request('menu', '/menu/v3/draft/brand/{id}/items', 'get', `/menu/v3/draft/brand/${id}/items`, null, options);
|
|
2591
2600
|
}
|
|
2592
2601
|
/**
|
|
2593
2602
|
* GET /menu/v3/draft/brand/{id}/items/reporting/categories
|
|
@@ -2596,7 +2605,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2596
2605
|
* @param options - additional request options
|
|
2597
2606
|
*/
|
|
2598
2607
|
get_menu_v3_draft_brand_items_reporting_categories(id, options) {
|
|
2599
|
-
return this.request('menu', '
|
|
2608
|
+
return this.request('menu', '/menu/v3/draft/brand/{id}/items/reporting/categories', 'get', `/menu/v3/draft/brand/${id}/items/reporting/categories`, null, options);
|
|
2600
2609
|
}
|
|
2601
2610
|
/**
|
|
2602
2611
|
* GET /menu/v3/draft/brand/{id}/modifiers/reporting/categories
|
|
@@ -2605,7 +2614,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2605
2614
|
* @param options - additional request options
|
|
2606
2615
|
*/
|
|
2607
2616
|
get_menu_v3_draft_brand_modifiers_reporting_categories(id, options) {
|
|
2608
|
-
return this.request('menu', '
|
|
2617
|
+
return this.request('menu', '/menu/v3/draft/brand/{id}/modifiers/reporting/categories', 'get', `/menu/v3/draft/brand/${id}/modifiers/reporting/categories`, null, options);
|
|
2609
2618
|
}
|
|
2610
2619
|
/**
|
|
2611
2620
|
* GET /menu/v3/draft/brand/{id}/items/tags
|
|
@@ -2614,7 +2623,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2614
2623
|
* @param options - additional request options
|
|
2615
2624
|
*/
|
|
2616
2625
|
get_menu_v3_draft_brand_items_tags(id, options) {
|
|
2617
|
-
return this.request('menu', '
|
|
2626
|
+
return this.request('menu', '/menu/v3/draft/brand/{id}/items/tags', 'get', `/menu/v3/draft/brand/${id}/items/tags`, null, options);
|
|
2618
2627
|
}
|
|
2619
2628
|
/**
|
|
2620
2629
|
* GET /menu/v3/draft/brand/{id}/modifiers/tags
|
|
@@ -2623,7 +2632,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2623
2632
|
* @param options - additional request options
|
|
2624
2633
|
*/
|
|
2625
2634
|
get_menu_v3_draft_brand_modifiers_tags(id, options) {
|
|
2626
|
-
return this.request('menu', '
|
|
2635
|
+
return this.request('menu', '/menu/v3/draft/brand/{id}/modifiers/tags', 'get', `/menu/v3/draft/brand/${id}/modifiers/tags`, null, options);
|
|
2627
2636
|
}
|
|
2628
2637
|
/**
|
|
2629
2638
|
* POST /menu/v3/draft/brand/{id}/publish
|
|
@@ -2632,7 +2641,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2632
2641
|
* @param options - additional request options
|
|
2633
2642
|
*/
|
|
2634
2643
|
post_menu_v3_draft_brand_publish(id, options) {
|
|
2635
|
-
return this.request('menu', '
|
|
2644
|
+
return this.request('menu', '/menu/v3/draft/brand/{id}/publish', 'post', `/menu/v3/draft/brand/${id}/publish`, null, options);
|
|
2636
2645
|
}
|
|
2637
2646
|
/**
|
|
2638
2647
|
* POST /menu/v3/draft/brand/{id}/diff/generate
|
|
@@ -2641,7 +2650,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2641
2650
|
* @param options - additional request options
|
|
2642
2651
|
*/
|
|
2643
2652
|
post_menu_v3_draft_brand_diff_generate(id, options) {
|
|
2644
|
-
return this.request('menu', '
|
|
2653
|
+
return this.request('menu', '/menu/v3/draft/brand/{id}/diff/generate', 'post', `/menu/v3/draft/brand/${id}/diff/generate`, null, options);
|
|
2645
2654
|
}
|
|
2646
2655
|
/**
|
|
2647
2656
|
* GET /menu/v3/draft/brand/{id}/diffs
|
|
@@ -2650,7 +2659,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2650
2659
|
* @param options - additional request options
|
|
2651
2660
|
*/
|
|
2652
2661
|
get_menu_v3_draft_brand_diffs(id, options) {
|
|
2653
|
-
return this.request('menu', '
|
|
2662
|
+
return this.request('menu', '/menu/v3/draft/brand/{id}/diffs', 'get', `/menu/v3/draft/brand/${id}/diffs`, null, options);
|
|
2654
2663
|
}
|
|
2655
2664
|
/**
|
|
2656
2665
|
* POST /menu/v3/draft/brand/{id}/global-diffs/apply
|
|
@@ -2660,7 +2669,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2660
2669
|
* @param options - additional request options
|
|
2661
2670
|
*/
|
|
2662
2671
|
post_menu_v3_draft_brand_global_diffs_apply(id, body, options) {
|
|
2663
|
-
return this.request('menu', '
|
|
2672
|
+
return this.request('menu', '/menu/v3/draft/brand/{id}/global-diffs/apply', 'post', `/menu/v3/draft/brand/${id}/global-diffs/apply`, body, options);
|
|
2664
2673
|
}
|
|
2665
2674
|
/**
|
|
2666
2675
|
* POST /menu/v3/draft/brand/{id}/attachment/{name}
|
|
@@ -2670,7 +2679,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2670
2679
|
* @param options - additional request options
|
|
2671
2680
|
*/
|
|
2672
2681
|
post_menu_v3_draft_brand_attachment(id, name, options) {
|
|
2673
|
-
return this.request('menu', '
|
|
2682
|
+
return this.request('menu', '/menu/v3/draft/brand/{id}/attachment/{name}', 'post', `/menu/v3/draft/brand/${id}/attachment/${name}`, null, options);
|
|
2674
2683
|
}
|
|
2675
2684
|
/**
|
|
2676
2685
|
* POST /menu/v3/brand
|
|
@@ -2679,7 +2688,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2679
2688
|
* @param options - additional request options
|
|
2680
2689
|
*/
|
|
2681
2690
|
post_menu_v3_brand(body, options) {
|
|
2682
|
-
return this.request('menu', '
|
|
2691
|
+
return this.request('menu', '/menu/v3/brand', 'post', `/menu/v3/brand`, body, options);
|
|
2683
2692
|
}
|
|
2684
2693
|
/**
|
|
2685
2694
|
* GET /menu/v3/brand/{id}
|
|
@@ -2688,7 +2697,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2688
2697
|
* @param options - additional request options
|
|
2689
2698
|
*/
|
|
2690
2699
|
get_menu_v3_brand(id, options) {
|
|
2691
|
-
return this.request('menu', '
|
|
2700
|
+
return this.request('menu', '/menu/v3/brand/{id}', 'get', `/menu/v3/brand/${id}`, null, options);
|
|
2692
2701
|
}
|
|
2693
2702
|
/**
|
|
2694
2703
|
* PATCH /menu/v3/brand/{id}
|
|
@@ -2698,7 +2707,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2698
2707
|
* @param options - additional request options
|
|
2699
2708
|
*/
|
|
2700
2709
|
patch_menu_v3_brand(id, body, options) {
|
|
2701
|
-
return this.request('menu', '
|
|
2710
|
+
return this.request('menu', '/menu/v3/brand/{id}', 'patch', `/menu/v3/brand/${id}`, body, options);
|
|
2702
2711
|
}
|
|
2703
2712
|
/**
|
|
2704
2713
|
* DELETE /menu/v3/brand/{id}
|
|
@@ -2707,7 +2716,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2707
2716
|
* @param options - additional request options
|
|
2708
2717
|
*/
|
|
2709
2718
|
delete_menu_v3_brand(id, options) {
|
|
2710
|
-
return this.request('menu', '
|
|
2719
|
+
return this.request('menu', '/menu/v3/brand/{id}', 'delete', `/menu/v3/brand/${id}`, null, options);
|
|
2711
2720
|
}
|
|
2712
2721
|
/**
|
|
2713
2722
|
* GET /menu/v3/brands
|
|
@@ -2715,7 +2724,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2715
2724
|
* @param options - additional request options
|
|
2716
2725
|
*/
|
|
2717
2726
|
get_menu_v3_brands(options) {
|
|
2718
|
-
return this.request('menu', '
|
|
2727
|
+
return this.request('menu', '/menu/v3/brands', 'get', `/menu/v3/brands`, null, options);
|
|
2719
2728
|
}
|
|
2720
2729
|
/**
|
|
2721
2730
|
* POST /menu/v3/brands
|
|
@@ -2724,7 +2733,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2724
2733
|
* @param options - additional request options
|
|
2725
2734
|
*/
|
|
2726
2735
|
post_menu_v3_brands(body, options) {
|
|
2727
|
-
return this.request('menu', '
|
|
2736
|
+
return this.request('menu', '/menu/v3/brands', 'post', `/menu/v3/brands`, body, options);
|
|
2728
2737
|
}
|
|
2729
2738
|
/**
|
|
2730
2739
|
* GET /menu/v3/brands/count
|
|
@@ -2732,7 +2741,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2732
2741
|
* @param options - additional request options
|
|
2733
2742
|
*/
|
|
2734
2743
|
get_menu_v3_brands_count(options) {
|
|
2735
|
-
return this.request('menu', '
|
|
2744
|
+
return this.request('menu', '/menu/v3/brands/count', 'get', `/menu/v3/brands/count`, null, options);
|
|
2736
2745
|
}
|
|
2737
2746
|
/**
|
|
2738
2747
|
* POST /menu/v3/brand/{id}/recover
|
|
@@ -2741,7 +2750,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2741
2750
|
* @param options - additional request options
|
|
2742
2751
|
*/
|
|
2743
2752
|
post_menu_v3_brand_recover(id, options) {
|
|
2744
|
-
return this.request('menu', '
|
|
2753
|
+
return this.request('menu', '/menu/v3/brand/{id}/recover', 'post', `/menu/v3/brand/${id}/recover`, null, options);
|
|
2745
2754
|
}
|
|
2746
2755
|
/**
|
|
2747
2756
|
* GET /menu/v3/brand/{id}/menus
|
|
@@ -2750,7 +2759,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2750
2759
|
* @param options - additional request options
|
|
2751
2760
|
*/
|
|
2752
2761
|
get_menu_v3_brand_menus(id, options) {
|
|
2753
|
-
return this.request('menu', '
|
|
2762
|
+
return this.request('menu', '/menu/v3/brand/{id}/menus', 'get', `/menu/v3/brand/${id}/menus`, null, options);
|
|
2754
2763
|
}
|
|
2755
2764
|
/**
|
|
2756
2765
|
* GET /menu/v3/brand/{id}/modifiers
|
|
@@ -2759,7 +2768,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2759
2768
|
* @param options - additional request options
|
|
2760
2769
|
*/
|
|
2761
2770
|
get_menu_v3_brand_modifiers(id, options) {
|
|
2762
|
-
return this.request('menu', '
|
|
2771
|
+
return this.request('menu', '/menu/v3/brand/{id}/modifiers', 'get', `/menu/v3/brand/${id}/modifiers`, null, options);
|
|
2763
2772
|
}
|
|
2764
2773
|
/**
|
|
2765
2774
|
* GET /menu/v3/brand/{id}/modifier_groups
|
|
@@ -2768,7 +2777,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2768
2777
|
* @param options - additional request options
|
|
2769
2778
|
*/
|
|
2770
2779
|
get_menu_v3_brand_modifier_groups(id, options) {
|
|
2771
|
-
return this.request('menu', '
|
|
2780
|
+
return this.request('menu', '/menu/v3/brand/{id}/modifier_groups', 'get', `/menu/v3/brand/${id}/modifier_groups`, null, options);
|
|
2772
2781
|
}
|
|
2773
2782
|
/**
|
|
2774
2783
|
* GET /menu/v3/brand/{id}/items
|
|
@@ -2777,7 +2786,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2777
2786
|
* @param options - additional request options
|
|
2778
2787
|
*/
|
|
2779
2788
|
get_menu_v3_brand_items(id, options) {
|
|
2780
|
-
return this.request('menu', '
|
|
2789
|
+
return this.request('menu', '/menu/v3/brand/{id}/items', 'get', `/menu/v3/brand/${id}/items`, null, options);
|
|
2781
2790
|
}
|
|
2782
2791
|
/**
|
|
2783
2792
|
* POST /menu/v3/draft/menu
|
|
@@ -2786,7 +2795,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2786
2795
|
* @param options - additional request options
|
|
2787
2796
|
*/
|
|
2788
2797
|
post_menu_v3_draft_menu(body, options) {
|
|
2789
|
-
return this.request('menu', '
|
|
2798
|
+
return this.request('menu', '/menu/v3/draft/menu', 'post', `/menu/v3/draft/menu`, body, options);
|
|
2790
2799
|
}
|
|
2791
2800
|
/**
|
|
2792
2801
|
* GET /menu/v3/draft/menu/{id}
|
|
@@ -2795,7 +2804,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2795
2804
|
* @param options - additional request options
|
|
2796
2805
|
*/
|
|
2797
2806
|
get_menu_v3_draft_menu(id, options) {
|
|
2798
|
-
return this.request('menu', '
|
|
2807
|
+
return this.request('menu', '/menu/v3/draft/menu/{id}', 'get', `/menu/v3/draft/menu/${id}`, null, options);
|
|
2799
2808
|
}
|
|
2800
2809
|
/**
|
|
2801
2810
|
* PATCH /menu/v3/draft/menu/{id}
|
|
@@ -2805,7 +2814,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2805
2814
|
* @param options - additional request options
|
|
2806
2815
|
*/
|
|
2807
2816
|
patch_menu_v3_draft_menu(id, body, options) {
|
|
2808
|
-
return this.request('menu', '
|
|
2817
|
+
return this.request('menu', '/menu/v3/draft/menu/{id}', 'patch', `/menu/v3/draft/menu/${id}`, body, options);
|
|
2809
2818
|
}
|
|
2810
2819
|
/**
|
|
2811
2820
|
* DELETE /menu/v3/draft/menu/{id}
|
|
@@ -2814,7 +2823,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2814
2823
|
* @param options - additional request options
|
|
2815
2824
|
*/
|
|
2816
2825
|
delete_menu_v3_draft_menu(id, options) {
|
|
2817
|
-
return this.request('menu', '
|
|
2826
|
+
return this.request('menu', '/menu/v3/draft/menu/{id}', 'delete', `/menu/v3/draft/menu/${id}`, null, options);
|
|
2818
2827
|
}
|
|
2819
2828
|
/**
|
|
2820
2829
|
* GET /menu/v3/draft/menus
|
|
@@ -2822,7 +2831,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2822
2831
|
* @param options - additional request options
|
|
2823
2832
|
*/
|
|
2824
2833
|
get_menu_v3_draft_menus(options) {
|
|
2825
|
-
return this.request('menu', '
|
|
2834
|
+
return this.request('menu', '/menu/v3/draft/menus', 'get', `/menu/v3/draft/menus`, null, options);
|
|
2826
2835
|
}
|
|
2827
2836
|
/**
|
|
2828
2837
|
* POST /menu/v3/draft/menus
|
|
@@ -2831,7 +2840,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2831
2840
|
* @param options - additional request options
|
|
2832
2841
|
*/
|
|
2833
2842
|
post_menu_v3_draft_menus(body, options) {
|
|
2834
|
-
return this.request('menu', '
|
|
2843
|
+
return this.request('menu', '/menu/v3/draft/menus', 'post', `/menu/v3/draft/menus`, body, options);
|
|
2835
2844
|
}
|
|
2836
2845
|
/**
|
|
2837
2846
|
* GET /menu/v3/draft/menus/count
|
|
@@ -2839,7 +2848,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2839
2848
|
* @param options - additional request options
|
|
2840
2849
|
*/
|
|
2841
2850
|
get_menu_v3_draft_menus_count(options) {
|
|
2842
|
-
return this.request('menu', '
|
|
2851
|
+
return this.request('menu', '/menu/v3/draft/menus/count', 'get', `/menu/v3/draft/menus/count`, null, options);
|
|
2843
2852
|
}
|
|
2844
2853
|
/**
|
|
2845
2854
|
* POST /menu/v3/draft/menu/{id}/recover
|
|
@@ -2848,7 +2857,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2848
2857
|
* @param options - additional request options
|
|
2849
2858
|
*/
|
|
2850
2859
|
post_menu_v3_draft_menu_recover(id, options) {
|
|
2851
|
-
return this.request('menu', '
|
|
2860
|
+
return this.request('menu', '/menu/v3/draft/menu/{id}/recover', 'post', `/menu/v3/draft/menu/${id}/recover`, null, options);
|
|
2852
2861
|
}
|
|
2853
2862
|
/**
|
|
2854
2863
|
* GET /menu/v3/draft/menu/{id}/categories
|
|
@@ -2857,7 +2866,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2857
2866
|
* @param options - additional request options
|
|
2858
2867
|
*/
|
|
2859
2868
|
get_menu_v3_draft_menu_categories(id, options) {
|
|
2860
|
-
return this.request('menu', '
|
|
2869
|
+
return this.request('menu', '/menu/v3/draft/menu/{id}/categories', 'get', `/menu/v3/draft/menu/${id}/categories`, null, options);
|
|
2861
2870
|
}
|
|
2862
2871
|
/**
|
|
2863
2872
|
* POST /menu/v3/draft/menu/{id}/publish
|
|
@@ -2866,7 +2875,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2866
2875
|
* @param options - additional request options
|
|
2867
2876
|
*/
|
|
2868
2877
|
post_menu_v3_draft_menu_publish(id, options) {
|
|
2869
|
-
return this.request('menu', '
|
|
2878
|
+
return this.request('menu', '/menu/v3/draft/menu/{id}/publish', 'post', `/menu/v3/draft/menu/${id}/publish`, null, options);
|
|
2870
2879
|
}
|
|
2871
2880
|
/**
|
|
2872
2881
|
* GET /menu/v3/draft/menus/verify-publish
|
|
@@ -2874,7 +2883,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2874
2883
|
* @param options - additional request options
|
|
2875
2884
|
*/
|
|
2876
2885
|
get_menu_v3_draft_menus_verify_publish(options) {
|
|
2877
|
-
return this.request('menu', '
|
|
2886
|
+
return this.request('menu', '/menu/v3/draft/menus/verify-publish', 'get', `/menu/v3/draft/menus/verify-publish`, null, options);
|
|
2878
2887
|
}
|
|
2879
2888
|
/**
|
|
2880
2889
|
* GET /menu/v3/menu/{id}
|
|
@@ -2883,7 +2892,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2883
2892
|
* @param options - additional request options
|
|
2884
2893
|
*/
|
|
2885
2894
|
get_menu_v3_menu(id, options) {
|
|
2886
|
-
return this.request('menu', '
|
|
2895
|
+
return this.request('menu', '/menu/v3/menu/{id}', 'get', `/menu/v3/menu/${id}`, null, options);
|
|
2887
2896
|
}
|
|
2888
2897
|
/**
|
|
2889
2898
|
* GET /menu/v3/menus
|
|
@@ -2891,7 +2900,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2891
2900
|
* @param options - additional request options
|
|
2892
2901
|
*/
|
|
2893
2902
|
get_menu_v3_menus(options) {
|
|
2894
|
-
return this.request('menu', '
|
|
2903
|
+
return this.request('menu', '/menu/v3/menus', 'get', `/menu/v3/menus`, null, options);
|
|
2895
2904
|
}
|
|
2896
2905
|
/**
|
|
2897
2906
|
* GET /menu/v3/menus/count
|
|
@@ -2899,7 +2908,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2899
2908
|
* @param options - additional request options
|
|
2900
2909
|
*/
|
|
2901
2910
|
get_menu_v3_menus_count(options) {
|
|
2902
|
-
return this.request('menu', '
|
|
2911
|
+
return this.request('menu', '/menu/v3/menus/count', 'get', `/menu/v3/menus/count`, null, options);
|
|
2903
2912
|
}
|
|
2904
2913
|
/**
|
|
2905
2914
|
* POST /menu/v3/menu/{id}/recover
|
|
@@ -2908,7 +2917,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2908
2917
|
* @param options - additional request options
|
|
2909
2918
|
*/
|
|
2910
2919
|
post_menu_v3_menu_recover(id, options) {
|
|
2911
|
-
return this.request('menu', '
|
|
2920
|
+
return this.request('menu', '/menu/v3/menu/{id}/recover', 'post', `/menu/v3/menu/${id}/recover`, null, options);
|
|
2912
2921
|
}
|
|
2913
2922
|
/**
|
|
2914
2923
|
* GET /menu/v3/menu/{id}/categories
|
|
@@ -2917,7 +2926,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2917
2926
|
* @param options - additional request options
|
|
2918
2927
|
*/
|
|
2919
2928
|
get_menu_v3_menu_categories(id, options) {
|
|
2920
|
-
return this.request('menu', '
|
|
2929
|
+
return this.request('menu', '/menu/v3/menu/{id}/categories', 'get', `/menu/v3/menu/${id}/categories`, null, options);
|
|
2921
2930
|
}
|
|
2922
2931
|
/**
|
|
2923
2932
|
* PATCH /menu/v3/{id}/stock
|
|
@@ -2927,7 +2936,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2927
2936
|
* @param options - additional request options
|
|
2928
2937
|
*/
|
|
2929
2938
|
patch_menu_v3_stock(id, body, options) {
|
|
2930
|
-
return this.request('menu', '
|
|
2939
|
+
return this.request('menu', '/menu/v3/{id}/stock', 'patch', `/menu/v3/${id}/stock`, body, options);
|
|
2931
2940
|
}
|
|
2932
2941
|
/**
|
|
2933
2942
|
* POST /menu/v3/draft/category
|
|
@@ -2936,7 +2945,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2936
2945
|
* @param options - additional request options
|
|
2937
2946
|
*/
|
|
2938
2947
|
post_menu_v3_draft_category(body, options) {
|
|
2939
|
-
return this.request('menu', '
|
|
2948
|
+
return this.request('menu', '/menu/v3/draft/category', 'post', `/menu/v3/draft/category`, body, options);
|
|
2940
2949
|
}
|
|
2941
2950
|
/**
|
|
2942
2951
|
* GET /menu/v3/draft/category/{id}
|
|
@@ -2945,7 +2954,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2945
2954
|
* @param options - additional request options
|
|
2946
2955
|
*/
|
|
2947
2956
|
get_menu_v3_draft_category(id, options) {
|
|
2948
|
-
return this.request('menu', '
|
|
2957
|
+
return this.request('menu', '/menu/v3/draft/category/{id}', 'get', `/menu/v3/draft/category/${id}`, null, options);
|
|
2949
2958
|
}
|
|
2950
2959
|
/**
|
|
2951
2960
|
* PATCH /menu/v3/draft/category/{id}
|
|
@@ -2955,7 +2964,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2955
2964
|
* @param options - additional request options
|
|
2956
2965
|
*/
|
|
2957
2966
|
patch_menu_v3_draft_category(id, body, options) {
|
|
2958
|
-
return this.request('menu', '
|
|
2967
|
+
return this.request('menu', '/menu/v3/draft/category/{id}', 'patch', `/menu/v3/draft/category/${id}`, body, options);
|
|
2959
2968
|
}
|
|
2960
2969
|
/**
|
|
2961
2970
|
* DELETE /menu/v3/draft/category/{id}
|
|
@@ -2964,7 +2973,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2964
2973
|
* @param options - additional request options
|
|
2965
2974
|
*/
|
|
2966
2975
|
delete_menu_v3_draft_category(id, options) {
|
|
2967
|
-
return this.request('menu', '
|
|
2976
|
+
return this.request('menu', '/menu/v3/draft/category/{id}', 'delete', `/menu/v3/draft/category/${id}`, null, options);
|
|
2968
2977
|
}
|
|
2969
2978
|
/**
|
|
2970
2979
|
* GET /menu/v3/draft/categories/count
|
|
@@ -2972,7 +2981,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2972
2981
|
* @param options - additional request options
|
|
2973
2982
|
*/
|
|
2974
2983
|
get_menu_v3_draft_categories_count(options) {
|
|
2975
|
-
return this.request('menu', '
|
|
2984
|
+
return this.request('menu', '/menu/v3/draft/categories/count', 'get', `/menu/v3/draft/categories/count`, null, options);
|
|
2976
2985
|
}
|
|
2977
2986
|
/**
|
|
2978
2987
|
* POST /menu/v3/draft/categories
|
|
@@ -2981,7 +2990,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2981
2990
|
* @param options - additional request options
|
|
2982
2991
|
*/
|
|
2983
2992
|
post_menu_v3_draft_categories(body, options) {
|
|
2984
|
-
return this.request('menu', '
|
|
2993
|
+
return this.request('menu', '/menu/v3/draft/categories', 'post', `/menu/v3/draft/categories`, body, options);
|
|
2985
2994
|
}
|
|
2986
2995
|
/**
|
|
2987
2996
|
* POST /menu/v3/draft/category/{id}/recover
|
|
@@ -2990,7 +2999,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
2990
2999
|
* @param options - additional request options
|
|
2991
3000
|
*/
|
|
2992
3001
|
post_menu_v3_draft_category_recover(id, options) {
|
|
2993
|
-
return this.request('menu', '
|
|
3002
|
+
return this.request('menu', '/menu/v3/draft/category/{id}/recover', 'post', `/menu/v3/draft/category/${id}/recover`, null, options);
|
|
2994
3003
|
}
|
|
2995
3004
|
/**
|
|
2996
3005
|
* POST /menu/v3/draft/category/{id}/attachment/{name}
|
|
@@ -3000,7 +3009,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3000
3009
|
* @param options - additional request options
|
|
3001
3010
|
*/
|
|
3002
3011
|
post_menu_v3_draft_category_attachment(id, name, options) {
|
|
3003
|
-
return this.request('menu', '
|
|
3012
|
+
return this.request('menu', '/menu/v3/draft/category/{id}/attachment/{name}', 'post', `/menu/v3/draft/category/${id}/attachment/${name}`, null, options);
|
|
3004
3013
|
}
|
|
3005
3014
|
/**
|
|
3006
3015
|
* GET /menu/v3/category/{id}
|
|
@@ -3009,7 +3018,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3009
3018
|
* @param options - additional request options
|
|
3010
3019
|
*/
|
|
3011
3020
|
get_menu_v3_category(id, options) {
|
|
3012
|
-
return this.request('menu', '
|
|
3021
|
+
return this.request('menu', '/menu/v3/category/{id}', 'get', `/menu/v3/category/${id}`, null, options);
|
|
3013
3022
|
}
|
|
3014
3023
|
/**
|
|
3015
3024
|
* GET /menu/v3/categorys/count
|
|
@@ -3017,7 +3026,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3017
3026
|
* @param options - additional request options
|
|
3018
3027
|
*/
|
|
3019
3028
|
get_menu_v3_categorys_count(options) {
|
|
3020
|
-
return this.request('menu', '
|
|
3029
|
+
return this.request('menu', '/menu/v3/categorys/count', 'get', `/menu/v3/categorys/count`, null, options);
|
|
3021
3030
|
}
|
|
3022
3031
|
/**
|
|
3023
3032
|
* POST /menu/v3/category/{id}/recover
|
|
@@ -3026,7 +3035,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3026
3035
|
* @param options - additional request options
|
|
3027
3036
|
*/
|
|
3028
3037
|
post_menu_v3_category_recover(id, options) {
|
|
3029
|
-
return this.request('menu', '
|
|
3038
|
+
return this.request('menu', '/menu/v3/category/{id}/recover', 'post', `/menu/v3/category/${id}/recover`, null, options);
|
|
3030
3039
|
}
|
|
3031
3040
|
/**
|
|
3032
3041
|
* POST /menu/v3/draft/category/relationships/item
|
|
@@ -3035,7 +3044,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3035
3044
|
* @param options - additional request options
|
|
3036
3045
|
*/
|
|
3037
3046
|
post_menu_v3_draft_category_relationships_item(body, options) {
|
|
3038
|
-
return this.request('menu', '
|
|
3047
|
+
return this.request('menu', '/menu/v3/draft/category/relationships/item', 'post', `/menu/v3/draft/category/relationships/item`, body, options);
|
|
3039
3048
|
}
|
|
3040
3049
|
/**
|
|
3041
3050
|
* GET /menu/v3/draft/category/relationships/item/{id}
|
|
@@ -3044,7 +3053,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3044
3053
|
* @param options - additional request options
|
|
3045
3054
|
*/
|
|
3046
3055
|
get_menu_v3_draft_category_relationships_item(id, options) {
|
|
3047
|
-
return this.request('menu', '
|
|
3056
|
+
return this.request('menu', '/menu/v3/draft/category/relationships/item/{id}', 'get', `/menu/v3/draft/category/relationships/item/${id}`, null, options);
|
|
3048
3057
|
}
|
|
3049
3058
|
/**
|
|
3050
3059
|
* PATCH /menu/v3/draft/category/relationships/item/{id}
|
|
@@ -3054,7 +3063,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3054
3063
|
* @param options - additional request options
|
|
3055
3064
|
*/
|
|
3056
3065
|
patch_menu_v3_draft_category_relationships_item(id, body, options) {
|
|
3057
|
-
return this.request('menu', '
|
|
3066
|
+
return this.request('menu', '/menu/v3/draft/category/relationships/item/{id}', 'patch', `/menu/v3/draft/category/relationships/item/${id}`, body, options);
|
|
3058
3067
|
}
|
|
3059
3068
|
/**
|
|
3060
3069
|
* DELETE /menu/v3/draft/category/relationships/item/{id}
|
|
@@ -3063,7 +3072,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3063
3072
|
* @param options - additional request options
|
|
3064
3073
|
*/
|
|
3065
3074
|
delete_menu_v3_draft_category_relationships_item(id, options) {
|
|
3066
|
-
return this.request('menu', '
|
|
3075
|
+
return this.request('menu', '/menu/v3/draft/category/relationships/item/{id}', 'delete', `/menu/v3/draft/category/relationships/item/${id}`, null, options);
|
|
3067
3076
|
}
|
|
3068
3077
|
/**
|
|
3069
3078
|
* GET /menu/v3/draft/category/relationships/items
|
|
@@ -3071,7 +3080,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3071
3080
|
* @param options - additional request options
|
|
3072
3081
|
*/
|
|
3073
3082
|
get_menu_v3_draft_category_relationships_items(options) {
|
|
3074
|
-
return this.request('menu', '
|
|
3083
|
+
return this.request('menu', '/menu/v3/draft/category/relationships/items', 'get', `/menu/v3/draft/category/relationships/items`, null, options);
|
|
3075
3084
|
}
|
|
3076
3085
|
/**
|
|
3077
3086
|
* POST /menu/v3/draft/category/relationships/items
|
|
@@ -3080,7 +3089,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3080
3089
|
* @param options - additional request options
|
|
3081
3090
|
*/
|
|
3082
3091
|
post_menu_v3_draft_category_relationships_items(body, options) {
|
|
3083
|
-
return this.request('menu', '
|
|
3092
|
+
return this.request('menu', '/menu/v3/draft/category/relationships/items', 'post', `/menu/v3/draft/category/relationships/items`, body, options);
|
|
3084
3093
|
}
|
|
3085
3094
|
/**
|
|
3086
3095
|
* GET /menu/v3/draft/category/relationships/items/count
|
|
@@ -3088,7 +3097,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3088
3097
|
* @param options - additional request options
|
|
3089
3098
|
*/
|
|
3090
3099
|
get_menu_v3_draft_category_relationships_items_count(options) {
|
|
3091
|
-
return this.request('menu', '
|
|
3100
|
+
return this.request('menu', '/menu/v3/draft/category/relationships/items/count', 'get', `/menu/v3/draft/category/relationships/items/count`, null, options);
|
|
3092
3101
|
}
|
|
3093
3102
|
/**
|
|
3094
3103
|
* POST /menu/v3/draft/category/relationships/item/{id}/recover
|
|
@@ -3097,7 +3106,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3097
3106
|
* @param options - additional request options
|
|
3098
3107
|
*/
|
|
3099
3108
|
post_menu_v3_draft_category_relationships_item_recover(id, options) {
|
|
3100
|
-
return this.request('menu', '
|
|
3109
|
+
return this.request('menu', '/menu/v3/draft/category/relationships/item/{id}/recover', 'post', `/menu/v3/draft/category/relationships/item/${id}/recover`, null, options);
|
|
3101
3110
|
}
|
|
3102
3111
|
/**
|
|
3103
3112
|
* GET /menu/v3/category/relationships/item/{id}
|
|
@@ -3106,7 +3115,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3106
3115
|
* @param options - additional request options
|
|
3107
3116
|
*/
|
|
3108
3117
|
get_menu_v3_category_relationships_item(id, options) {
|
|
3109
|
-
return this.request('menu', '
|
|
3118
|
+
return this.request('menu', '/menu/v3/category/relationships/item/{id}', 'get', `/menu/v3/category/relationships/item/${id}`, null, options);
|
|
3110
3119
|
}
|
|
3111
3120
|
/**
|
|
3112
3121
|
* GET /menu/v3/category/relationships/items
|
|
@@ -3114,7 +3123,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3114
3123
|
* @param options - additional request options
|
|
3115
3124
|
*/
|
|
3116
3125
|
get_menu_v3_category_relationships_items(options) {
|
|
3117
|
-
return this.request('menu', '
|
|
3126
|
+
return this.request('menu', '/menu/v3/category/relationships/items', 'get', `/menu/v3/category/relationships/items`, null, options);
|
|
3118
3127
|
}
|
|
3119
3128
|
/**
|
|
3120
3129
|
* GET /menu/v3/category/relationships/items/count
|
|
@@ -3122,7 +3131,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3122
3131
|
* @param options - additional request options
|
|
3123
3132
|
*/
|
|
3124
3133
|
get_menu_v3_category_relationships_items_count(options) {
|
|
3125
|
-
return this.request('menu', '
|
|
3134
|
+
return this.request('menu', '/menu/v3/category/relationships/items/count', 'get', `/menu/v3/category/relationships/items/count`, null, options);
|
|
3126
3135
|
}
|
|
3127
3136
|
/**
|
|
3128
3137
|
* POST /menu/v3/category/relationships/item/{id}/recover
|
|
@@ -3131,7 +3140,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3131
3140
|
* @param options - additional request options
|
|
3132
3141
|
*/
|
|
3133
3142
|
post_menu_v3_category_relationships_item_recover(id, options) {
|
|
3134
|
-
return this.request('menu', '
|
|
3143
|
+
return this.request('menu', '/menu/v3/category/relationships/item/{id}/recover', 'post', `/menu/v3/category/relationships/item/${id}/recover`, null, options);
|
|
3135
3144
|
}
|
|
3136
3145
|
/**
|
|
3137
3146
|
* POST /menu/v3/draft/item
|
|
@@ -3140,7 +3149,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3140
3149
|
* @param options - additional request options
|
|
3141
3150
|
*/
|
|
3142
3151
|
post_menu_v3_draft_item(body, options) {
|
|
3143
|
-
return this.request('menu', '
|
|
3152
|
+
return this.request('menu', '/menu/v3/draft/item', 'post', `/menu/v3/draft/item`, body, options);
|
|
3144
3153
|
}
|
|
3145
3154
|
/**
|
|
3146
3155
|
* GET /menu/v3/draft/item/{id}
|
|
@@ -3149,7 +3158,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3149
3158
|
* @param options - additional request options
|
|
3150
3159
|
*/
|
|
3151
3160
|
get_menu_v3_draft_item(id, options) {
|
|
3152
|
-
return this.request('menu', '
|
|
3161
|
+
return this.request('menu', '/menu/v3/draft/item/{id}', 'get', `/menu/v3/draft/item/${id}`, null, options);
|
|
3153
3162
|
}
|
|
3154
3163
|
/**
|
|
3155
3164
|
* PATCH /menu/v3/draft/item/{id}
|
|
@@ -3159,7 +3168,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3159
3168
|
* @param options - additional request options
|
|
3160
3169
|
*/
|
|
3161
3170
|
patch_menu_v3_draft_item(id, body, options) {
|
|
3162
|
-
return this.request('menu', '
|
|
3171
|
+
return this.request('menu', '/menu/v3/draft/item/{id}', 'patch', `/menu/v3/draft/item/${id}`, body, options);
|
|
3163
3172
|
}
|
|
3164
3173
|
/**
|
|
3165
3174
|
* DELETE /menu/v3/draft/item/{id}
|
|
@@ -3168,7 +3177,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3168
3177
|
* @param options - additional request options
|
|
3169
3178
|
*/
|
|
3170
3179
|
delete_menu_v3_draft_item(id, options) {
|
|
3171
|
-
return this.request('menu', '
|
|
3180
|
+
return this.request('menu', '/menu/v3/draft/item/{id}', 'delete', `/menu/v3/draft/item/${id}`, null, options);
|
|
3172
3181
|
}
|
|
3173
3182
|
/**
|
|
3174
3183
|
* DELETE /menu/v3/draft/items
|
|
@@ -3177,7 +3186,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3177
3186
|
* @param options - additional request options
|
|
3178
3187
|
*/
|
|
3179
3188
|
delete_menu_v3_draft_items(body, options) {
|
|
3180
|
-
return this.request('menu', '
|
|
3189
|
+
return this.request('menu', '/menu/v3/draft/items', 'delete', `/menu/v3/draft/items`, body, options);
|
|
3181
3190
|
}
|
|
3182
3191
|
/**
|
|
3183
3192
|
* GET /menu/v3/draft/items
|
|
@@ -3185,7 +3194,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3185
3194
|
* @param options - additional request options
|
|
3186
3195
|
*/
|
|
3187
3196
|
get_menu_v3_draft_items(options) {
|
|
3188
|
-
return this.request('menu', '
|
|
3197
|
+
return this.request('menu', '/menu/v3/draft/items', 'get', `/menu/v3/draft/items`, null, options);
|
|
3189
3198
|
}
|
|
3190
3199
|
/**
|
|
3191
3200
|
* POST /menu/v3/draft/items
|
|
@@ -3194,7 +3203,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3194
3203
|
* @param options - additional request options
|
|
3195
3204
|
*/
|
|
3196
3205
|
post_menu_v3_draft_items(body, options) {
|
|
3197
|
-
return this.request('menu', '
|
|
3206
|
+
return this.request('menu', '/menu/v3/draft/items', 'post', `/menu/v3/draft/items`, body, options);
|
|
3198
3207
|
}
|
|
3199
3208
|
/**
|
|
3200
3209
|
* GET /menu/v3/draft/items/count
|
|
@@ -3202,7 +3211,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3202
3211
|
* @param options - additional request options
|
|
3203
3212
|
*/
|
|
3204
3213
|
get_menu_v3_draft_items_count(options) {
|
|
3205
|
-
return this.request('menu', '
|
|
3214
|
+
return this.request('menu', '/menu/v3/draft/items/count', 'get', `/menu/v3/draft/items/count`, null, options);
|
|
3206
3215
|
}
|
|
3207
3216
|
/**
|
|
3208
3217
|
* POST /menu/v3/draft/item/{id}/recover
|
|
@@ -3211,7 +3220,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3211
3220
|
* @param options - additional request options
|
|
3212
3221
|
*/
|
|
3213
3222
|
post_menu_v3_draft_item_recover(id, options) {
|
|
3214
|
-
return this.request('menu', '
|
|
3223
|
+
return this.request('menu', '/menu/v3/draft/item/{id}/recover', 'post', `/menu/v3/draft/item/${id}/recover`, null, options);
|
|
3215
3224
|
}
|
|
3216
3225
|
/**
|
|
3217
3226
|
* GET /menu/v3/draft/item/{id}/line-routes
|
|
@@ -3220,7 +3229,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3220
3229
|
* @param options - additional request options
|
|
3221
3230
|
*/
|
|
3222
3231
|
get_menu_v3_draft_item_line_routes(id, options) {
|
|
3223
|
-
return this.request('menu', '
|
|
3232
|
+
return this.request('menu', '/menu/v3/draft/item/{id}/line-routes', 'get', `/menu/v3/draft/item/${id}/line-routes`, null, options);
|
|
3224
3233
|
}
|
|
3225
3234
|
/**
|
|
3226
3235
|
* PATCH /menu/v3/draft/items/bulk-update
|
|
@@ -3229,7 +3238,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3229
3238
|
* @param options - additional request options
|
|
3230
3239
|
*/
|
|
3231
3240
|
patch_menu_v3_draft_items_bulk_update(body, options) {
|
|
3232
|
-
return this.request('menu', '
|
|
3241
|
+
return this.request('menu', '/menu/v3/draft/items/bulk-update', 'patch', `/menu/v3/draft/items/bulk-update`, body, options);
|
|
3233
3242
|
}
|
|
3234
3243
|
/**
|
|
3235
3244
|
* POST /menu/v3/draft/item/{id}/attachment/{name}
|
|
@@ -3239,7 +3248,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3239
3248
|
* @param options - additional request options
|
|
3240
3249
|
*/
|
|
3241
3250
|
post_menu_v3_draft_item_attachment(id, name, options) {
|
|
3242
|
-
return this.request('menu', '
|
|
3251
|
+
return this.request('menu', '/menu/v3/draft/item/{id}/attachment/{name}', 'post', `/menu/v3/draft/item/${id}/attachment/${name}`, null, options);
|
|
3243
3252
|
}
|
|
3244
3253
|
/**
|
|
3245
3254
|
* POST /menu/v3/draft/items/validate
|
|
@@ -3248,7 +3257,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3248
3257
|
* @param options - additional request options
|
|
3249
3258
|
*/
|
|
3250
3259
|
post_menu_v3_draft_items_validate(body, options) {
|
|
3251
|
-
return this.request('menu', '
|
|
3260
|
+
return this.request('menu', '/menu/v3/draft/items/validate', 'post', `/menu/v3/draft/items/validate`, body, options);
|
|
3252
3261
|
}
|
|
3253
3262
|
/**
|
|
3254
3263
|
* POST /menu/v3/draft/items/import
|
|
@@ -3257,7 +3266,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3257
3266
|
* @param options - additional request options
|
|
3258
3267
|
*/
|
|
3259
3268
|
post_menu_v3_draft_items_import(body, options) {
|
|
3260
|
-
return this.request('menu', '
|
|
3269
|
+
return this.request('menu', '/menu/v3/draft/items/import', 'post', `/menu/v3/draft/items/import`, body, options);
|
|
3261
3270
|
}
|
|
3262
3271
|
/**
|
|
3263
3272
|
* POST /menu/v3/draft/items/export
|
|
@@ -3266,7 +3275,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3266
3275
|
* @param options - additional request options
|
|
3267
3276
|
*/
|
|
3268
3277
|
post_menu_v3_draft_items_export(body, options) {
|
|
3269
|
-
return this.request('menu', '
|
|
3278
|
+
return this.request('menu', '/menu/v3/draft/items/export', 'post', `/menu/v3/draft/items/export`, body, options);
|
|
3270
3279
|
}
|
|
3271
3280
|
/**
|
|
3272
3281
|
* GET /menu/v3/item/{id}
|
|
@@ -3275,7 +3284,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3275
3284
|
* @param options - additional request options
|
|
3276
3285
|
*/
|
|
3277
3286
|
get_menu_v3_item(id, options) {
|
|
3278
|
-
return this.request('menu', '
|
|
3287
|
+
return this.request('menu', '/menu/v3/item/{id}', 'get', `/menu/v3/item/${id}`, null, options);
|
|
3279
3288
|
}
|
|
3280
3289
|
/**
|
|
3281
3290
|
* GET /menu/v3/items
|
|
@@ -3283,7 +3292,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3283
3292
|
* @param options - additional request options
|
|
3284
3293
|
*/
|
|
3285
3294
|
get_menu_v3_items(options) {
|
|
3286
|
-
return this.request('menu', '
|
|
3295
|
+
return this.request('menu', '/menu/v3/items', 'get', `/menu/v3/items`, null, options);
|
|
3287
3296
|
}
|
|
3288
3297
|
/**
|
|
3289
3298
|
* GET /menu/v3/items/count
|
|
@@ -3291,7 +3300,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3291
3300
|
* @param options - additional request options
|
|
3292
3301
|
*/
|
|
3293
3302
|
get_menu_v3_items_count(options) {
|
|
3294
|
-
return this.request('menu', '
|
|
3303
|
+
return this.request('menu', '/menu/v3/items/count', 'get', `/menu/v3/items/count`, null, options);
|
|
3295
3304
|
}
|
|
3296
3305
|
/**
|
|
3297
3306
|
* POST /menu/v3/item/{id}/recover
|
|
@@ -3300,7 +3309,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3300
3309
|
* @param options - additional request options
|
|
3301
3310
|
*/
|
|
3302
3311
|
post_menu_v3_item_recover(id, options) {
|
|
3303
|
-
return this.request('menu', '
|
|
3312
|
+
return this.request('menu', '/menu/v3/item/{id}/recover', 'post', `/menu/v3/item/${id}/recover`, null, options);
|
|
3304
3313
|
}
|
|
3305
3314
|
/**
|
|
3306
3315
|
* POST /menu/v3/draft/item/relationships/modifier-group
|
|
@@ -3309,7 +3318,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3309
3318
|
* @param options - additional request options
|
|
3310
3319
|
*/
|
|
3311
3320
|
post_menu_v3_draft_item_relationships_modifier_group(body, options) {
|
|
3312
|
-
return this.request('menu', '
|
|
3321
|
+
return this.request('menu', '/menu/v3/draft/item/relationships/modifier-group', 'post', `/menu/v3/draft/item/relationships/modifier-group`, body, options);
|
|
3313
3322
|
}
|
|
3314
3323
|
/**
|
|
3315
3324
|
* GET /menu/v3/draft/item/relationships/modifier-group/{id}
|
|
@@ -3318,7 +3327,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3318
3327
|
* @param options - additional request options
|
|
3319
3328
|
*/
|
|
3320
3329
|
get_menu_v3_draft_item_relationships_modifier_group(id, options) {
|
|
3321
|
-
return this.request('menu', '
|
|
3330
|
+
return this.request('menu', '/menu/v3/draft/item/relationships/modifier-group/{id}', 'get', `/menu/v3/draft/item/relationships/modifier-group/${id}`, null, options);
|
|
3322
3331
|
}
|
|
3323
3332
|
/**
|
|
3324
3333
|
* PATCH /menu/v3/draft/item/relationships/modifier-group/{id}
|
|
@@ -3328,7 +3337,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3328
3337
|
* @param options - additional request options
|
|
3329
3338
|
*/
|
|
3330
3339
|
patch_menu_v3_draft_item_relationships_modifier_group(id, body, options) {
|
|
3331
|
-
return this.request('menu', '
|
|
3340
|
+
return this.request('menu', '/menu/v3/draft/item/relationships/modifier-group/{id}', 'patch', `/menu/v3/draft/item/relationships/modifier-group/${id}`, body, options);
|
|
3332
3341
|
}
|
|
3333
3342
|
/**
|
|
3334
3343
|
* DELETE /menu/v3/draft/item/relationships/modifier-group/{id}
|
|
@@ -3337,7 +3346,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3337
3346
|
* @param options - additional request options
|
|
3338
3347
|
*/
|
|
3339
3348
|
delete_menu_v3_draft_item_relationships_modifier_group(id, options) {
|
|
3340
|
-
return this.request('menu', '
|
|
3349
|
+
return this.request('menu', '/menu/v3/draft/item/relationships/modifier-group/{id}', 'delete', `/menu/v3/draft/item/relationships/modifier-group/${id}`, null, options);
|
|
3341
3350
|
}
|
|
3342
3351
|
/**
|
|
3343
3352
|
* GET /menu/v3/draft/item/relationships/modifier-groups
|
|
@@ -3345,7 +3354,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3345
3354
|
* @param options - additional request options
|
|
3346
3355
|
*/
|
|
3347
3356
|
get_menu_v3_draft_item_relationships_modifier_groups(options) {
|
|
3348
|
-
return this.request('menu', '
|
|
3357
|
+
return this.request('menu', '/menu/v3/draft/item/relationships/modifier-groups', 'get', `/menu/v3/draft/item/relationships/modifier-groups`, null, options);
|
|
3349
3358
|
}
|
|
3350
3359
|
/**
|
|
3351
3360
|
* POST /menu/v3/draft/item/relationships/modifier-groups
|
|
@@ -3354,7 +3363,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3354
3363
|
* @param options - additional request options
|
|
3355
3364
|
*/
|
|
3356
3365
|
post_menu_v3_draft_item_relationships_modifier_groups(body, options) {
|
|
3357
|
-
return this.request('menu', '
|
|
3366
|
+
return this.request('menu', '/menu/v3/draft/item/relationships/modifier-groups', 'post', `/menu/v3/draft/item/relationships/modifier-groups`, body, options);
|
|
3358
3367
|
}
|
|
3359
3368
|
/**
|
|
3360
3369
|
* GET /menu/v3/draft/item/relationships/modifier-groups/count
|
|
@@ -3362,7 +3371,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3362
3371
|
* @param options - additional request options
|
|
3363
3372
|
*/
|
|
3364
3373
|
get_menu_v3_draft_item_relationships_modifier_groups_count(options) {
|
|
3365
|
-
return this.request('menu', '
|
|
3374
|
+
return this.request('menu', '/menu/v3/draft/item/relationships/modifier-groups/count', 'get', `/menu/v3/draft/item/relationships/modifier-groups/count`, null, options);
|
|
3366
3375
|
}
|
|
3367
3376
|
/**
|
|
3368
3377
|
* POST /menu/v3/draft/item/relationships/modifier-group/{id}/recover
|
|
@@ -3371,7 +3380,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3371
3380
|
* @param options - additional request options
|
|
3372
3381
|
*/
|
|
3373
3382
|
post_menu_v3_draft_item_relationships_modifier_group_recover(id, options) {
|
|
3374
|
-
return this.request('menu', '
|
|
3383
|
+
return this.request('menu', '/menu/v3/draft/item/relationships/modifier-group/{id}/recover', 'post', `/menu/v3/draft/item/relationships/modifier-group/${id}/recover`, null, options);
|
|
3375
3384
|
}
|
|
3376
3385
|
/**
|
|
3377
3386
|
* GET /menu/v3/item/relationships/modifier-group/{id}
|
|
@@ -3380,7 +3389,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3380
3389
|
* @param options - additional request options
|
|
3381
3390
|
*/
|
|
3382
3391
|
get_menu_v3_item_relationships_modifier_group(id, options) {
|
|
3383
|
-
return this.request('menu', '
|
|
3392
|
+
return this.request('menu', '/menu/v3/item/relationships/modifier-group/{id}', 'get', `/menu/v3/item/relationships/modifier-group/${id}`, null, options);
|
|
3384
3393
|
}
|
|
3385
3394
|
/**
|
|
3386
3395
|
* GET /menu/v3/item/relationships/modifier-groups
|
|
@@ -3388,7 +3397,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3388
3397
|
* @param options - additional request options
|
|
3389
3398
|
*/
|
|
3390
3399
|
get_menu_v3_item_relationships_modifier_groups(options) {
|
|
3391
|
-
return this.request('menu', '
|
|
3400
|
+
return this.request('menu', '/menu/v3/item/relationships/modifier-groups', 'get', `/menu/v3/item/relationships/modifier-groups`, null, options);
|
|
3392
3401
|
}
|
|
3393
3402
|
/**
|
|
3394
3403
|
* GET /menu/v3/item/relationships/modifier-groups/count
|
|
@@ -3396,7 +3405,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3396
3405
|
* @param options - additional request options
|
|
3397
3406
|
*/
|
|
3398
3407
|
get_menu_v3_item_relationships_modifier_groups_count(options) {
|
|
3399
|
-
return this.request('menu', '
|
|
3408
|
+
return this.request('menu', '/menu/v3/item/relationships/modifier-groups/count', 'get', `/menu/v3/item/relationships/modifier-groups/count`, null, options);
|
|
3400
3409
|
}
|
|
3401
3410
|
/**
|
|
3402
3411
|
* POST /menu/v3/item/relationships/modifier-group/{id}/recover
|
|
@@ -3405,7 +3414,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3405
3414
|
* @param options - additional request options
|
|
3406
3415
|
*/
|
|
3407
3416
|
post_menu_v3_item_relationships_modifier_group_recover(id, options) {
|
|
3408
|
-
return this.request('menu', '
|
|
3417
|
+
return this.request('menu', '/menu/v3/item/relationships/modifier-group/{id}/recover', 'post', `/menu/v3/item/relationships/modifier-group/${id}/recover`, null, options);
|
|
3409
3418
|
}
|
|
3410
3419
|
/**
|
|
3411
3420
|
* POST /menu/v3/draft/modifier-group
|
|
@@ -3414,7 +3423,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3414
3423
|
* @param options - additional request options
|
|
3415
3424
|
*/
|
|
3416
3425
|
post_menu_v3_draft_modifier_group(body, options) {
|
|
3417
|
-
return this.request('menu', '
|
|
3426
|
+
return this.request('menu', '/menu/v3/draft/modifier-group', 'post', `/menu/v3/draft/modifier-group`, body, options);
|
|
3418
3427
|
}
|
|
3419
3428
|
/**
|
|
3420
3429
|
* GET /menu/v3/draft/modifier-group/{id}
|
|
@@ -3423,7 +3432,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3423
3432
|
* @param options - additional request options
|
|
3424
3433
|
*/
|
|
3425
3434
|
get_menu_v3_draft_modifier_group(id, options) {
|
|
3426
|
-
return this.request('menu', '
|
|
3435
|
+
return this.request('menu', '/menu/v3/draft/modifier-group/{id}', 'get', `/menu/v3/draft/modifier-group/${id}`, null, options);
|
|
3427
3436
|
}
|
|
3428
3437
|
/**
|
|
3429
3438
|
* PATCH /menu/v3/draft/modifier-group/{id}
|
|
@@ -3433,7 +3442,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3433
3442
|
* @param options - additional request options
|
|
3434
3443
|
*/
|
|
3435
3444
|
patch_menu_v3_draft_modifier_group(id, body, options) {
|
|
3436
|
-
return this.request('menu', '
|
|
3445
|
+
return this.request('menu', '/menu/v3/draft/modifier-group/{id}', 'patch', `/menu/v3/draft/modifier-group/${id}`, body, options);
|
|
3437
3446
|
}
|
|
3438
3447
|
/**
|
|
3439
3448
|
* DELETE /menu/v3/draft/modifier-group/{id}
|
|
@@ -3442,7 +3451,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3442
3451
|
* @param options - additional request options
|
|
3443
3452
|
*/
|
|
3444
3453
|
delete_menu_v3_draft_modifier_group(id, options) {
|
|
3445
|
-
return this.request('menu', '
|
|
3454
|
+
return this.request('menu', '/menu/v3/draft/modifier-group/{id}', 'delete', `/menu/v3/draft/modifier-group/${id}`, null, options);
|
|
3446
3455
|
}
|
|
3447
3456
|
/**
|
|
3448
3457
|
* GET /menu/v3/draft/modifier-groups
|
|
@@ -3450,7 +3459,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3450
3459
|
* @param options - additional request options
|
|
3451
3460
|
*/
|
|
3452
3461
|
get_menu_v3_draft_modifier_groups(options) {
|
|
3453
|
-
return this.request('menu', '
|
|
3462
|
+
return this.request('menu', '/menu/v3/draft/modifier-groups', 'get', `/menu/v3/draft/modifier-groups`, null, options);
|
|
3454
3463
|
}
|
|
3455
3464
|
/**
|
|
3456
3465
|
* POST /menu/v3/draft/modifier-groups
|
|
@@ -3459,7 +3468,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3459
3468
|
* @param options - additional request options
|
|
3460
3469
|
*/
|
|
3461
3470
|
post_menu_v3_draft_modifier_groups(body, options) {
|
|
3462
|
-
return this.request('menu', '
|
|
3471
|
+
return this.request('menu', '/menu/v3/draft/modifier-groups', 'post', `/menu/v3/draft/modifier-groups`, body, options);
|
|
3463
3472
|
}
|
|
3464
3473
|
/**
|
|
3465
3474
|
* GET /menu/v3/draft/modifier-groups/count
|
|
@@ -3467,7 +3476,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3467
3476
|
* @param options - additional request options
|
|
3468
3477
|
*/
|
|
3469
3478
|
get_menu_v3_draft_modifier_groups_count(options) {
|
|
3470
|
-
return this.request('menu', '
|
|
3479
|
+
return this.request('menu', '/menu/v3/draft/modifier-groups/count', 'get', `/menu/v3/draft/modifier-groups/count`, null, options);
|
|
3471
3480
|
}
|
|
3472
3481
|
/**
|
|
3473
3482
|
* POST /menu/v3/draft/modifier-group/{id}/recover
|
|
@@ -3476,7 +3485,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3476
3485
|
* @param options - additional request options
|
|
3477
3486
|
*/
|
|
3478
3487
|
post_menu_v3_draft_modifier_group_recover(id, options) {
|
|
3479
|
-
return this.request('menu', '
|
|
3488
|
+
return this.request('menu', '/menu/v3/draft/modifier-group/{id}/recover', 'post', `/menu/v3/draft/modifier-group/${id}/recover`, null, options);
|
|
3480
3489
|
}
|
|
3481
3490
|
/**
|
|
3482
3491
|
* POST /menu/v3/draft/modifier-group/{id}/duplicate
|
|
@@ -3485,7 +3494,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3485
3494
|
* @param options - additional request options
|
|
3486
3495
|
*/
|
|
3487
3496
|
post_menu_v3_draft_modifier_group_duplicate(id, options) {
|
|
3488
|
-
return this.request('menu', '
|
|
3497
|
+
return this.request('menu', '/menu/v3/draft/modifier-group/{id}/duplicate', 'post', `/menu/v3/draft/modifier-group/${id}/duplicate`, null, options);
|
|
3489
3498
|
}
|
|
3490
3499
|
/**
|
|
3491
3500
|
* GET /menu/v3/modifier-group/{id}
|
|
@@ -3494,7 +3503,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3494
3503
|
* @param options - additional request options
|
|
3495
3504
|
*/
|
|
3496
3505
|
get_menu_v3_modifier_group(id, options) {
|
|
3497
|
-
return this.request('menu', '
|
|
3506
|
+
return this.request('menu', '/menu/v3/modifier-group/{id}', 'get', `/menu/v3/modifier-group/${id}`, null, options);
|
|
3498
3507
|
}
|
|
3499
3508
|
/**
|
|
3500
3509
|
* GET /menu/v3/modifier-groups
|
|
@@ -3502,7 +3511,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3502
3511
|
* @param options - additional request options
|
|
3503
3512
|
*/
|
|
3504
3513
|
get_menu_v3_modifier_groups(options) {
|
|
3505
|
-
return this.request('menu', '
|
|
3514
|
+
return this.request('menu', '/menu/v3/modifier-groups', 'get', `/menu/v3/modifier-groups`, null, options);
|
|
3506
3515
|
}
|
|
3507
3516
|
/**
|
|
3508
3517
|
* GET /menu/v3/modifier-groups/count
|
|
@@ -3510,7 +3519,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3510
3519
|
* @param options - additional request options
|
|
3511
3520
|
*/
|
|
3512
3521
|
get_menu_v3_modifier_groups_count(options) {
|
|
3513
|
-
return this.request('menu', '
|
|
3522
|
+
return this.request('menu', '/menu/v3/modifier-groups/count', 'get', `/menu/v3/modifier-groups/count`, null, options);
|
|
3514
3523
|
}
|
|
3515
3524
|
/**
|
|
3516
3525
|
* POST /menu/v3/modifier-group/{id}/recover
|
|
@@ -3519,7 +3528,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3519
3528
|
* @param options - additional request options
|
|
3520
3529
|
*/
|
|
3521
3530
|
post_menu_v3_modifier_group_recover(id, options) {
|
|
3522
|
-
return this.request('menu', '
|
|
3531
|
+
return this.request('menu', '/menu/v3/modifier-group/{id}/recover', 'post', `/menu/v3/modifier-group/${id}/recover`, null, options);
|
|
3523
3532
|
}
|
|
3524
3533
|
/**
|
|
3525
3534
|
* POST /menu/v3/draft/modifier-group/relationships/modifier
|
|
@@ -3528,7 +3537,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3528
3537
|
* @param options - additional request options
|
|
3529
3538
|
*/
|
|
3530
3539
|
post_menu_v3_draft_modifier_group_relationships_modifier(body, options) {
|
|
3531
|
-
return this.request('menu', '
|
|
3540
|
+
return this.request('menu', '/menu/v3/draft/modifier-group/relationships/modifier', 'post', `/menu/v3/draft/modifier-group/relationships/modifier`, body, options);
|
|
3532
3541
|
}
|
|
3533
3542
|
/**
|
|
3534
3543
|
* GET /menu/v3/draft/modifier-group/relationships/modifier/{id}
|
|
@@ -3537,7 +3546,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3537
3546
|
* @param options - additional request options
|
|
3538
3547
|
*/
|
|
3539
3548
|
get_menu_v3_draft_modifier_group_relationships_modifier(id, options) {
|
|
3540
|
-
return this.request('menu', '
|
|
3549
|
+
return this.request('menu', '/menu/v3/draft/modifier-group/relationships/modifier/{id}', 'get', `/menu/v3/draft/modifier-group/relationships/modifier/${id}`, null, options);
|
|
3541
3550
|
}
|
|
3542
3551
|
/**
|
|
3543
3552
|
* PATCH /menu/v3/draft/modifier-group/relationships/modifier/{id}
|
|
@@ -3547,7 +3556,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3547
3556
|
* @param options - additional request options
|
|
3548
3557
|
*/
|
|
3549
3558
|
patch_menu_v3_draft_modifier_group_relationships_modifier(id, body, options) {
|
|
3550
|
-
return this.request('menu', '
|
|
3559
|
+
return this.request('menu', '/menu/v3/draft/modifier-group/relationships/modifier/{id}', 'patch', `/menu/v3/draft/modifier-group/relationships/modifier/${id}`, body, options);
|
|
3551
3560
|
}
|
|
3552
3561
|
/**
|
|
3553
3562
|
* DELETE /menu/v3/draft/modifier-group/relationships/modifier/{id}
|
|
@@ -3556,7 +3565,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3556
3565
|
* @param options - additional request options
|
|
3557
3566
|
*/
|
|
3558
3567
|
delete_menu_v3_draft_modifier_group_relationships_modifier(id, options) {
|
|
3559
|
-
return this.request('menu', '
|
|
3568
|
+
return this.request('menu', '/menu/v3/draft/modifier-group/relationships/modifier/{id}', 'delete', `/menu/v3/draft/modifier-group/relationships/modifier/${id}`, null, options);
|
|
3560
3569
|
}
|
|
3561
3570
|
/**
|
|
3562
3571
|
* GET /menu/v3/draft/modifier-group/relationships/modifiers
|
|
@@ -3564,7 +3573,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3564
3573
|
* @param options - additional request options
|
|
3565
3574
|
*/
|
|
3566
3575
|
get_menu_v3_draft_modifier_group_relationships_modifiers(options) {
|
|
3567
|
-
return this.request('menu', '
|
|
3576
|
+
return this.request('menu', '/menu/v3/draft/modifier-group/relationships/modifiers', 'get', `/menu/v3/draft/modifier-group/relationships/modifiers`, null, options);
|
|
3568
3577
|
}
|
|
3569
3578
|
/**
|
|
3570
3579
|
* POST /menu/v3/draft/modifier-group/relationships/modifiers
|
|
@@ -3573,7 +3582,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3573
3582
|
* @param options - additional request options
|
|
3574
3583
|
*/
|
|
3575
3584
|
post_menu_v3_draft_modifier_group_relationships_modifiers(body, options) {
|
|
3576
|
-
return this.request('menu', '
|
|
3585
|
+
return this.request('menu', '/menu/v3/draft/modifier-group/relationships/modifiers', 'post', `/menu/v3/draft/modifier-group/relationships/modifiers`, body, options);
|
|
3577
3586
|
}
|
|
3578
3587
|
/**
|
|
3579
3588
|
* GET /menu/v3/draft/modifier-group/relationships/modifiers/count
|
|
@@ -3581,7 +3590,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3581
3590
|
* @param options - additional request options
|
|
3582
3591
|
*/
|
|
3583
3592
|
get_menu_v3_draft_modifier_group_relationships_modifiers_count(options) {
|
|
3584
|
-
return this.request('menu', '
|
|
3593
|
+
return this.request('menu', '/menu/v3/draft/modifier-group/relationships/modifiers/count', 'get', `/menu/v3/draft/modifier-group/relationships/modifiers/count`, null, options);
|
|
3585
3594
|
}
|
|
3586
3595
|
/**
|
|
3587
3596
|
* POST /menu/v3/draft/modifier-group/relationships/modifier/{id}/recover
|
|
@@ -3590,7 +3599,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3590
3599
|
* @param options - additional request options
|
|
3591
3600
|
*/
|
|
3592
3601
|
post_menu_v3_draft_modifier_group_relationships_modifier_recover(id, options) {
|
|
3593
|
-
return this.request('menu', '
|
|
3602
|
+
return this.request('menu', '/menu/v3/draft/modifier-group/relationships/modifier/{id}/recover', 'post', `/menu/v3/draft/modifier-group/relationships/modifier/${id}/recover`, null, options);
|
|
3594
3603
|
}
|
|
3595
3604
|
/**
|
|
3596
3605
|
* GET /menu/v3/modifier-group/relationships/modifier/{id}
|
|
@@ -3599,7 +3608,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3599
3608
|
* @param options - additional request options
|
|
3600
3609
|
*/
|
|
3601
3610
|
get_menu_v3_modifier_group_relationships_modifier(id, options) {
|
|
3602
|
-
return this.request('menu', '
|
|
3611
|
+
return this.request('menu', '/menu/v3/modifier-group/relationships/modifier/{id}', 'get', `/menu/v3/modifier-group/relationships/modifier/${id}`, null, options);
|
|
3603
3612
|
}
|
|
3604
3613
|
/**
|
|
3605
3614
|
* GET /menu/v3/modifier-group/relationships/modifiers
|
|
@@ -3607,7 +3616,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3607
3616
|
* @param options - additional request options
|
|
3608
3617
|
*/
|
|
3609
3618
|
get_menu_v3_modifier_group_relationships_modifiers(options) {
|
|
3610
|
-
return this.request('menu', '
|
|
3619
|
+
return this.request('menu', '/menu/v3/modifier-group/relationships/modifiers', 'get', `/menu/v3/modifier-group/relationships/modifiers`, null, options);
|
|
3611
3620
|
}
|
|
3612
3621
|
/**
|
|
3613
3622
|
* GET /menu/v3/modifier-group/relationships/modifiers/count
|
|
@@ -3615,7 +3624,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3615
3624
|
* @param options - additional request options
|
|
3616
3625
|
*/
|
|
3617
3626
|
get_menu_v3_modifier_group_relationships_modifiers_count(options) {
|
|
3618
|
-
return this.request('menu', '
|
|
3627
|
+
return this.request('menu', '/menu/v3/modifier-group/relationships/modifiers/count', 'get', `/menu/v3/modifier-group/relationships/modifiers/count`, null, options);
|
|
3619
3628
|
}
|
|
3620
3629
|
/**
|
|
3621
3630
|
* POST /menu/v3/modifier-group/relationships/modifier/{id}/recover
|
|
@@ -3624,7 +3633,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3624
3633
|
* @param options - additional request options
|
|
3625
3634
|
*/
|
|
3626
3635
|
post_menu_v3_modifier_group_relationships_modifier_recover(id, options) {
|
|
3627
|
-
return this.request('menu', '
|
|
3636
|
+
return this.request('menu', '/menu/v3/modifier-group/relationships/modifier/{id}/recover', 'post', `/menu/v3/modifier-group/relationships/modifier/${id}/recover`, null, options);
|
|
3628
3637
|
}
|
|
3629
3638
|
/**
|
|
3630
3639
|
* POST /menu/v3/draft/modifier
|
|
@@ -3633,7 +3642,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3633
3642
|
* @param options - additional request options
|
|
3634
3643
|
*/
|
|
3635
3644
|
post_menu_v3_draft_modifier(body, options) {
|
|
3636
|
-
return this.request('menu', '
|
|
3645
|
+
return this.request('menu', '/menu/v3/draft/modifier', 'post', `/menu/v3/draft/modifier`, body, options);
|
|
3637
3646
|
}
|
|
3638
3647
|
/**
|
|
3639
3648
|
* GET /menu/v3/draft/modifier/{id}
|
|
@@ -3642,7 +3651,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3642
3651
|
* @param options - additional request options
|
|
3643
3652
|
*/
|
|
3644
3653
|
get_menu_v3_draft_modifier(id, options) {
|
|
3645
|
-
return this.request('menu', '
|
|
3654
|
+
return this.request('menu', '/menu/v3/draft/modifier/{id}', 'get', `/menu/v3/draft/modifier/${id}`, null, options);
|
|
3646
3655
|
}
|
|
3647
3656
|
/**
|
|
3648
3657
|
* PATCH /menu/v3/draft/modifier/{id}
|
|
@@ -3652,7 +3661,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3652
3661
|
* @param options - additional request options
|
|
3653
3662
|
*/
|
|
3654
3663
|
patch_menu_v3_draft_modifier(id, body, options) {
|
|
3655
|
-
return this.request('menu', '
|
|
3664
|
+
return this.request('menu', '/menu/v3/draft/modifier/{id}', 'patch', `/menu/v3/draft/modifier/${id}`, body, options);
|
|
3656
3665
|
}
|
|
3657
3666
|
/**
|
|
3658
3667
|
* DELETE /menu/v3/draft/modifier/{id}
|
|
@@ -3661,7 +3670,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3661
3670
|
* @param options - additional request options
|
|
3662
3671
|
*/
|
|
3663
3672
|
delete_menu_v3_draft_modifier(id, options) {
|
|
3664
|
-
return this.request('menu', '
|
|
3673
|
+
return this.request('menu', '/menu/v3/draft/modifier/{id}', 'delete', `/menu/v3/draft/modifier/${id}`, null, options);
|
|
3665
3674
|
}
|
|
3666
3675
|
/**
|
|
3667
3676
|
* DELETE /menu/v3/draft/modifiers
|
|
@@ -3670,7 +3679,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3670
3679
|
* @param options - additional request options
|
|
3671
3680
|
*/
|
|
3672
3681
|
delete_menu_v3_draft_modifiers(body, options) {
|
|
3673
|
-
return this.request('menu', '
|
|
3682
|
+
return this.request('menu', '/menu/v3/draft/modifiers', 'delete', `/menu/v3/draft/modifiers`, body, options);
|
|
3674
3683
|
}
|
|
3675
3684
|
/**
|
|
3676
3685
|
* GET /menu/v3/draft/modifiers
|
|
@@ -3678,7 +3687,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3678
3687
|
* @param options - additional request options
|
|
3679
3688
|
*/
|
|
3680
3689
|
get_menu_v3_draft_modifiers(options) {
|
|
3681
|
-
return this.request('menu', '
|
|
3690
|
+
return this.request('menu', '/menu/v3/draft/modifiers', 'get', `/menu/v3/draft/modifiers`, null, options);
|
|
3682
3691
|
}
|
|
3683
3692
|
/**
|
|
3684
3693
|
* POST /menu/v3/draft/modifiers
|
|
@@ -3687,7 +3696,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3687
3696
|
* @param options - additional request options
|
|
3688
3697
|
*/
|
|
3689
3698
|
post_menu_v3_draft_modifiers(body, options) {
|
|
3690
|
-
return this.request('menu', '
|
|
3699
|
+
return this.request('menu', '/menu/v3/draft/modifiers', 'post', `/menu/v3/draft/modifiers`, body, options);
|
|
3691
3700
|
}
|
|
3692
3701
|
/**
|
|
3693
3702
|
* GET /menu/v3/draft/modifiers/count
|
|
@@ -3695,7 +3704,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3695
3704
|
* @param options - additional request options
|
|
3696
3705
|
*/
|
|
3697
3706
|
get_menu_v3_draft_modifiers_count(options) {
|
|
3698
|
-
return this.request('menu', '
|
|
3707
|
+
return this.request('menu', '/menu/v3/draft/modifiers/count', 'get', `/menu/v3/draft/modifiers/count`, null, options);
|
|
3699
3708
|
}
|
|
3700
3709
|
/**
|
|
3701
3710
|
* POST /menu/v3/draft/modifier/{id}/recover
|
|
@@ -3704,7 +3713,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3704
3713
|
* @param options - additional request options
|
|
3705
3714
|
*/
|
|
3706
3715
|
post_menu_v3_draft_modifier_recover(id, options) {
|
|
3707
|
-
return this.request('menu', '
|
|
3716
|
+
return this.request('menu', '/menu/v3/draft/modifier/{id}/recover', 'post', `/menu/v3/draft/modifier/${id}/recover`, null, options);
|
|
3708
3717
|
}
|
|
3709
3718
|
/**
|
|
3710
3719
|
* GET /menu/v3/draft/modifier/{id}/line-routes
|
|
@@ -3713,7 +3722,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3713
3722
|
* @param options - additional request options
|
|
3714
3723
|
*/
|
|
3715
3724
|
get_menu_v3_draft_modifier_line_routes(id, options) {
|
|
3716
|
-
return this.request('menu', '
|
|
3725
|
+
return this.request('menu', '/menu/v3/draft/modifier/{id}/line-routes', 'get', `/menu/v3/draft/modifier/${id}/line-routes`, null, options);
|
|
3717
3726
|
}
|
|
3718
3727
|
/**
|
|
3719
3728
|
* PATCH /menu/v3/draft/modifiers/bulk-update
|
|
@@ -3722,7 +3731,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3722
3731
|
* @param options - additional request options
|
|
3723
3732
|
*/
|
|
3724
3733
|
patch_menu_v3_draft_modifiers_bulk_update(body, options) {
|
|
3725
|
-
return this.request('menu', '
|
|
3734
|
+
return this.request('menu', '/menu/v3/draft/modifiers/bulk-update', 'patch', `/menu/v3/draft/modifiers/bulk-update`, body, options);
|
|
3726
3735
|
}
|
|
3727
3736
|
/**
|
|
3728
3737
|
* POST /menu/v3/draft/modifiers/{id}/attachment/{name}
|
|
@@ -3732,7 +3741,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3732
3741
|
* @param options - additional request options
|
|
3733
3742
|
*/
|
|
3734
3743
|
post_menu_v3_draft_modifiers_attachment(id, name, options) {
|
|
3735
|
-
return this.request('menu', '
|
|
3744
|
+
return this.request('menu', '/menu/v3/draft/modifiers/{id}/attachment/{name}', 'post', `/menu/v3/draft/modifiers/${id}/attachment/${name}`, null, options);
|
|
3736
3745
|
}
|
|
3737
3746
|
/**
|
|
3738
3747
|
* GET /menu/v3/modifier/{id}
|
|
@@ -3741,7 +3750,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3741
3750
|
* @param options - additional request options
|
|
3742
3751
|
*/
|
|
3743
3752
|
get_menu_v3_modifier(id, options) {
|
|
3744
|
-
return this.request('menu', '
|
|
3753
|
+
return this.request('menu', '/menu/v3/modifier/{id}', 'get', `/menu/v3/modifier/${id}`, null, options);
|
|
3745
3754
|
}
|
|
3746
3755
|
/**
|
|
3747
3756
|
* GET /menu/v3/modifiers
|
|
@@ -3749,7 +3758,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3749
3758
|
* @param options - additional request options
|
|
3750
3759
|
*/
|
|
3751
3760
|
get_menu_v3_modifiers(options) {
|
|
3752
|
-
return this.request('menu', '
|
|
3761
|
+
return this.request('menu', '/menu/v3/modifiers', 'get', `/menu/v3/modifiers`, null, options);
|
|
3753
3762
|
}
|
|
3754
3763
|
/**
|
|
3755
3764
|
* GET /menu/v3/modifiers/count
|
|
@@ -3757,7 +3766,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3757
3766
|
* @param options - additional request options
|
|
3758
3767
|
*/
|
|
3759
3768
|
get_menu_v3_modifiers_count(options) {
|
|
3760
|
-
return this.request('menu', '
|
|
3769
|
+
return this.request('menu', '/menu/v3/modifiers/count', 'get', `/menu/v3/modifiers/count`, null, options);
|
|
3761
3770
|
}
|
|
3762
3771
|
/**
|
|
3763
3772
|
* POST /menu/v3/modifier/{id}/recover
|
|
@@ -3766,7 +3775,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3766
3775
|
* @param options - additional request options
|
|
3767
3776
|
*/
|
|
3768
3777
|
post_menu_v3_modifier_recover(id, options) {
|
|
3769
|
-
return this.request('menu', '
|
|
3778
|
+
return this.request('menu', '/menu/v3/modifier/{id}/recover', 'post', `/menu/v3/modifier/${id}/recover`, null, options);
|
|
3770
3779
|
}
|
|
3771
3780
|
/**
|
|
3772
3781
|
* POST /menu/v3/integrations/transltr/import
|
|
@@ -3774,7 +3783,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3774
3783
|
* @param options - additional request options
|
|
3775
3784
|
*/
|
|
3776
3785
|
post_menu_v3_integrations_transltr_import(options) {
|
|
3777
|
-
return this.request('menu', '
|
|
3786
|
+
return this.request('menu', '/menu/v3/integrations/transltr/import', 'post', `/menu/v3/integrations/transltr/import`, null, options);
|
|
3778
3787
|
}
|
|
3779
3788
|
/**
|
|
3780
3789
|
* GET /menu/v3/global-diff/{id}
|
|
@@ -3783,7 +3792,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3783
3792
|
* @param options - additional request options
|
|
3784
3793
|
*/
|
|
3785
3794
|
get_menu_v3_global_diff(id, options) {
|
|
3786
|
-
return this.request('menu', '
|
|
3795
|
+
return this.request('menu', '/menu/v3/global-diff/{id}', 'get', `/menu/v3/global-diff/${id}`, null, options);
|
|
3787
3796
|
}
|
|
3788
3797
|
/**
|
|
3789
3798
|
* GET /menu/v3/global-diffs
|
|
@@ -3791,7 +3800,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3791
3800
|
* @param options - additional request options
|
|
3792
3801
|
*/
|
|
3793
3802
|
get_menu_v3_global_diffs(options) {
|
|
3794
|
-
return this.request('menu', '
|
|
3803
|
+
return this.request('menu', '/menu/v3/global-diffs', 'get', `/menu/v3/global-diffs`, null, options);
|
|
3795
3804
|
}
|
|
3796
3805
|
/**
|
|
3797
3806
|
* GET /menu/v3/global-diffs/count
|
|
@@ -3799,7 +3808,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3799
3808
|
* @param options - additional request options
|
|
3800
3809
|
*/
|
|
3801
3810
|
get_menu_v3_global_diffs_count(options) {
|
|
3802
|
-
return this.request('menu', '
|
|
3811
|
+
return this.request('menu', '/menu/v3/global-diffs/count', 'get', `/menu/v3/global-diffs/count`, null, options);
|
|
3803
3812
|
}
|
|
3804
3813
|
/**
|
|
3805
3814
|
* POST /menu/v3/global-diff/{id}/recover
|
|
@@ -3808,7 +3817,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3808
3817
|
* @param options - additional request options
|
|
3809
3818
|
*/
|
|
3810
3819
|
post_menu_v3_global_diff_recover(id, options) {
|
|
3811
|
-
return this.request('menu', '
|
|
3820
|
+
return this.request('menu', '/menu/v3/global-diff/{id}/recover', 'post', `/menu/v3/global-diff/${id}/recover`, null, options);
|
|
3812
3821
|
}
|
|
3813
3822
|
/**
|
|
3814
3823
|
* GET /menu/v3/menuworks
|
|
@@ -3816,7 +3825,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3816
3825
|
* @param options - additional request options
|
|
3817
3826
|
*/
|
|
3818
3827
|
get_menu_v3_menuworks(options) {
|
|
3819
|
-
return this.request('menu', '
|
|
3828
|
+
return this.request('menu', '/menu/v3/menuworks', 'get', `/menu/v3/menuworks`, null, options);
|
|
3820
3829
|
}
|
|
3821
3830
|
/**
|
|
3822
3831
|
* GET /menu/v3/universal-items
|
|
@@ -3824,7 +3833,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3824
3833
|
* @param options - additional request options
|
|
3825
3834
|
*/
|
|
3826
3835
|
get_menu_v3_universal_items(options) {
|
|
3827
|
-
return this.request('menu', '
|
|
3836
|
+
return this.request('menu', '/menu/v3/universal-items', 'get', `/menu/v3/universal-items`, null, options);
|
|
3828
3837
|
}
|
|
3829
3838
|
/**
|
|
3830
3839
|
* PUT /menu/v3/universal-items
|
|
@@ -3833,7 +3842,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3833
3842
|
* @param options - additional request options
|
|
3834
3843
|
*/
|
|
3835
3844
|
put_menu_v3_universal_items(body, options) {
|
|
3836
|
-
return this.request('menu', '
|
|
3845
|
+
return this.request('menu', '/menu/v3/universal-items', 'put', `/menu/v3/universal-items`, body, options);
|
|
3837
3846
|
}
|
|
3838
3847
|
/**
|
|
3839
3848
|
* GET /menu/v3/universal-item/{barcode}
|
|
@@ -3842,7 +3851,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3842
3851
|
* @param options - additional request options
|
|
3843
3852
|
*/
|
|
3844
3853
|
get_menu_v3_universal_item(barcode, options) {
|
|
3845
|
-
return this.request('menu', '
|
|
3854
|
+
return this.request('menu', '/menu/v3/universal-item/{barcode}', 'get', `/menu/v3/universal-item/${barcode}`, null, options);
|
|
3846
3855
|
}
|
|
3847
3856
|
/**
|
|
3848
3857
|
* PATCH /menu/v3/universal-item/{barcode}
|
|
@@ -3852,7 +3861,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3852
3861
|
* @param options - additional request options
|
|
3853
3862
|
*/
|
|
3854
3863
|
patch_menu_v3_universal_item(barcode, body, options) {
|
|
3855
|
-
return this.request('menu', '
|
|
3864
|
+
return this.request('menu', '/menu/v3/universal-item/{barcode}', 'patch', `/menu/v3/universal-item/${barcode}`, body, options);
|
|
3856
3865
|
}
|
|
3857
3866
|
/**
|
|
3858
3867
|
* POST /menu/v3/universal-items/verify
|
|
@@ -3861,7 +3870,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3861
3870
|
* @param options - additional request options
|
|
3862
3871
|
*/
|
|
3863
3872
|
post_menu_v3_universal_items_verify(body, options) {
|
|
3864
|
-
return this.request('menu', '
|
|
3873
|
+
return this.request('menu', '/menu/v3/universal-items/verify', 'post', `/menu/v3/universal-items/verify`, body, options);
|
|
3865
3874
|
}
|
|
3866
3875
|
/**
|
|
3867
3876
|
* POST /menu/v3/trigger-update
|
|
@@ -3869,7 +3878,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3869
3878
|
* @param options - additional request options
|
|
3870
3879
|
*/
|
|
3871
3880
|
post_menu_v3_trigger_update(options) {
|
|
3872
|
-
return this.request('menu', '
|
|
3881
|
+
return this.request('menu', '/menu/v3/trigger-update', 'post', `/menu/v3/trigger-update`, null, options);
|
|
3873
3882
|
}
|
|
3874
3883
|
/**
|
|
3875
3884
|
* GET /notification - Get all notifications
|
|
@@ -3877,7 +3886,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3877
3886
|
* @param options - additional request options
|
|
3878
3887
|
*/
|
|
3879
3888
|
get_notifications(options) {
|
|
3880
|
-
return this.request('notification', '
|
|
3889
|
+
return this.request('notification', '/notification', 'get', `/notification`, null, options);
|
|
3881
3890
|
}
|
|
3882
3891
|
/**
|
|
3883
3892
|
* POST /notification - Create a notification
|
|
@@ -3886,7 +3895,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3886
3895
|
* @param options - additional request options
|
|
3887
3896
|
*/
|
|
3888
3897
|
post_notification(body, options) {
|
|
3889
|
-
return this.request('notification', '
|
|
3898
|
+
return this.request('notification', '/notification', 'post', `/notification`, body, options);
|
|
3890
3899
|
}
|
|
3891
3900
|
/**
|
|
3892
3901
|
* PATCH /notification/{id} - Update a notification
|
|
@@ -3896,7 +3905,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3896
3905
|
* @param options - additional request options
|
|
3897
3906
|
*/
|
|
3898
3907
|
patch_notification(id, body, options) {
|
|
3899
|
-
return this.request('notification', '
|
|
3908
|
+
return this.request('notification', '/notification/{id}', 'patch', `/notification/${id}`, body, options);
|
|
3900
3909
|
}
|
|
3901
3910
|
/**
|
|
3902
3911
|
* DELETE /notification/{id} - Delete a notification
|
|
@@ -3905,7 +3914,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3905
3914
|
* @param options - additional request options
|
|
3906
3915
|
*/
|
|
3907
3916
|
delete_notification(id, options) {
|
|
3908
|
-
return this.request('notification', '
|
|
3917
|
+
return this.request('notification', '/notification/{id}', 'delete', `/notification/${id}`, null, options);
|
|
3909
3918
|
}
|
|
3910
3919
|
/**
|
|
3911
3920
|
* POST /notification/{id}/status - Set a notification status for request user
|
|
@@ -3915,7 +3924,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3915
3924
|
* @param options - additional request options
|
|
3916
3925
|
*/
|
|
3917
3926
|
post_notification_status(id, body, options) {
|
|
3918
|
-
return this.request('notification', '
|
|
3927
|
+
return this.request('notification', '/notification/{id}/status', 'post', `/notification/${id}/status`, body, options);
|
|
3919
3928
|
}
|
|
3920
3929
|
/**
|
|
3921
3930
|
* POST /notification/device/push - Send a push notification to user's device
|
|
@@ -3924,7 +3933,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3924
3933
|
* @param options - additional request options
|
|
3925
3934
|
*/
|
|
3926
3935
|
post_notification_device_push(body, options) {
|
|
3927
|
-
return this.request('notification', '
|
|
3936
|
+
return this.request('notification', '/notification/device/push', 'post', `/notification/device/push`, body, options);
|
|
3928
3937
|
}
|
|
3929
3938
|
/**
|
|
3930
3939
|
* GET /notification/swagger.json - Get a swagger for notification service
|
|
@@ -3932,7 +3941,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3932
3941
|
* @param options - additional request options
|
|
3933
3942
|
*/
|
|
3934
3943
|
get_notification_swagger(options) {
|
|
3935
|
-
return this.request('notification', '
|
|
3944
|
+
return this.request('notification', '/notification/swagger.json', 'get', `/notification/swagger.json`, null, options);
|
|
3936
3945
|
}
|
|
3937
3946
|
/**
|
|
3938
3947
|
* GET /compassconnect/oms_token - Gets an OMS token
|
|
@@ -3940,7 +3949,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3940
3949
|
* @param options - additional request options
|
|
3941
3950
|
*/
|
|
3942
3951
|
get_compassconnect_oms_token(options) {
|
|
3943
|
-
return this.request('compassconnect', '
|
|
3952
|
+
return this.request('compassconnect', '/compassconnect/oms_token', 'get', `/compassconnect/oms_token`, null, options);
|
|
3944
3953
|
}
|
|
3945
3954
|
/**
|
|
3946
3955
|
* POST /vendor/application - Create a new application for review
|
|
@@ -3949,7 +3958,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3949
3958
|
* @param options - additional request options
|
|
3950
3959
|
*/
|
|
3951
3960
|
post_vendor_application(body, options) {
|
|
3952
|
-
return this.request('vendor', '
|
|
3961
|
+
return this.request('vendor', '/vendor/application', 'post', `/vendor/application`, body, options);
|
|
3953
3962
|
}
|
|
3954
3963
|
/**
|
|
3955
3964
|
* GET /vendor/application - Get a list of all applications
|
|
@@ -3957,7 +3966,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3957
3966
|
* @param options - additional request options
|
|
3958
3967
|
*/
|
|
3959
3968
|
get_vendor_application(options) {
|
|
3960
|
-
return this.request('vendor', '
|
|
3969
|
+
return this.request('vendor', '/vendor/application', 'get', `/vendor/application`, null, options);
|
|
3961
3970
|
}
|
|
3962
3971
|
/**
|
|
3963
3972
|
* PATCH /vendor/application/{id} - Update an application (or update status)
|
|
@@ -3967,7 +3976,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3967
3976
|
* @param options - additional request options
|
|
3968
3977
|
*/
|
|
3969
3978
|
patch_vendor_application(id, body, options) {
|
|
3970
|
-
return this.request('vendor', '
|
|
3979
|
+
return this.request('vendor', '/vendor/application/{id}', 'patch', `/vendor/application/${id}`, body, options);
|
|
3971
3980
|
}
|
|
3972
3981
|
/**
|
|
3973
3982
|
* POST /vendor - Create new vendor
|
|
@@ -3976,7 +3985,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3976
3985
|
* @param options - additional request options
|
|
3977
3986
|
*/
|
|
3978
3987
|
post_vendor(body, options) {
|
|
3979
|
-
return this.request('vendor', '
|
|
3988
|
+
return this.request('vendor', '/vendor', 'post', `/vendor`, body, options);
|
|
3980
3989
|
}
|
|
3981
3990
|
/**
|
|
3982
3991
|
* GET /vendor - Get all Vendors
|
|
@@ -3984,7 +3993,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3984
3993
|
* @param options - additional request options
|
|
3985
3994
|
*/
|
|
3986
3995
|
get_vendors(options) {
|
|
3987
|
-
return this.request('vendor', '
|
|
3996
|
+
return this.request('vendor', '/vendor', 'get', `/vendor`, null, options);
|
|
3988
3997
|
}
|
|
3989
3998
|
/**
|
|
3990
3999
|
* GET /vendor/{id} - Get info about the Vendor
|
|
@@ -3993,7 +4002,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
3993
4002
|
* @param options - additional request options
|
|
3994
4003
|
*/
|
|
3995
4004
|
get_vendor(id, options) {
|
|
3996
|
-
return this.request('vendor', '
|
|
4005
|
+
return this.request('vendor', '/vendor/{id}', 'get', `/vendor/${id}`, null, options);
|
|
3997
4006
|
}
|
|
3998
4007
|
/**
|
|
3999
4008
|
* PATCH /vendor/{id} - Update info about the Vendor
|
|
@@ -4003,7 +4012,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4003
4012
|
* @param options - additional request options
|
|
4004
4013
|
*/
|
|
4005
4014
|
patch_vendor(id, body, options) {
|
|
4006
|
-
return this.request('vendor', '
|
|
4015
|
+
return this.request('vendor', '/vendor/{id}', 'patch', `/vendor/${id}`, body, options);
|
|
4007
4016
|
}
|
|
4008
4017
|
/**
|
|
4009
4018
|
* GET /vendor/auth - Get access/refresh tokens for accessing our APIs
|
|
@@ -4011,7 +4020,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4011
4020
|
* @param options - additional request options
|
|
4012
4021
|
*/
|
|
4013
4022
|
get_vendor_auth(options) {
|
|
4014
|
-
return this.request('vendor', '
|
|
4023
|
+
return this.request('vendor', '/vendor/auth', 'get', `/vendor/auth`, null, options);
|
|
4015
4024
|
}
|
|
4016
4025
|
/**
|
|
4017
4026
|
* POST /vendor/auth - Get new access token using refresh token and previous token
|
|
@@ -4020,7 +4029,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4020
4029
|
* @param options - additional request options
|
|
4021
4030
|
*/
|
|
4022
4031
|
post_vendor_auth(body, options) {
|
|
4023
|
-
return this.request('vendor', '
|
|
4032
|
+
return this.request('vendor', '/vendor/auth', 'post', `/vendor/auth`, body, options);
|
|
4024
4033
|
}
|
|
4025
4034
|
/**
|
|
4026
4035
|
* GET /vendor/{id}/key - Get list of Vendor keys
|
|
@@ -4029,7 +4038,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4029
4038
|
* @param options - additional request options
|
|
4030
4039
|
*/
|
|
4031
4040
|
get_vendor_keys(id, options) {
|
|
4032
|
-
return this.request('vendor', '
|
|
4041
|
+
return this.request('vendor', '/vendor/{id}/key', 'get', `/vendor/${id}/key`, null, options);
|
|
4033
4042
|
}
|
|
4034
4043
|
/**
|
|
4035
4044
|
* POST /vendor/{id}/key - Create new key for the vendor
|
|
@@ -4039,7 +4048,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4039
4048
|
* @param options - additional request options
|
|
4040
4049
|
*/
|
|
4041
4050
|
post_vendor_key(id, body, options) {
|
|
4042
|
-
return this.request('vendor', '
|
|
4051
|
+
return this.request('vendor', '/vendor/{id}/key', 'post', `/vendor/${id}/key`, body, options);
|
|
4043
4052
|
}
|
|
4044
4053
|
/**
|
|
4045
4054
|
* GET /vendor/{id}/key/{key} - Get info about vendor key
|
|
@@ -4049,7 +4058,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4049
4058
|
* @param options - additional request options
|
|
4050
4059
|
*/
|
|
4051
4060
|
get_vendor_key(id, key, options) {
|
|
4052
|
-
return this.request('vendor', '
|
|
4061
|
+
return this.request('vendor', '/vendor/{id}/key/{key}', 'get', `/vendor/${id}/key/${key}`, null, options);
|
|
4053
4062
|
}
|
|
4054
4063
|
/**
|
|
4055
4064
|
* PATCH /vendor/{id}/key/{key} - Update info for vendor key
|
|
@@ -4060,7 +4069,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4060
4069
|
* @param options - additional request options
|
|
4061
4070
|
*/
|
|
4062
4071
|
patch_vendor_key(id, key, body, options) {
|
|
4063
|
-
return this.request('vendor', '
|
|
4072
|
+
return this.request('vendor', '/vendor/{id}/key/{key}', 'patch', `/vendor/${id}/key/${key}`, body, options);
|
|
4064
4073
|
}
|
|
4065
4074
|
/**
|
|
4066
4075
|
* DELETE /vendor/{id}/key/{key} - Mark key as expired
|
|
@@ -4070,7 +4079,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4070
4079
|
* @param options - additional request options
|
|
4071
4080
|
*/
|
|
4072
4081
|
delete_vendor_key(id, key, options) {
|
|
4073
|
-
return this.request('vendor', '
|
|
4082
|
+
return this.request('vendor', '/vendor/{id}/key/{key}', 'delete', `/vendor/${id}/key/${key}`, null, options);
|
|
4074
4083
|
}
|
|
4075
4084
|
/**
|
|
4076
4085
|
* POST /vendor/{id}/key/{key}/rotate - Rotate vendor key
|
|
@@ -4080,7 +4089,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4080
4089
|
* @param options - additional request options
|
|
4081
4090
|
*/
|
|
4082
4091
|
post_vendor_key_rotate(id, key, options) {
|
|
4083
|
-
return this.request('vendor', '
|
|
4092
|
+
return this.request('vendor', '/vendor/{id}/key/{key}/rotate', 'post', `/vendor/${id}/key/${key}/rotate`, null, options);
|
|
4084
4093
|
}
|
|
4085
4094
|
/**
|
|
4086
4095
|
* POST /vendor/{id}/reset/password - Reset the existing password for vendor
|
|
@@ -4090,7 +4099,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4090
4099
|
* @param options - additional request options
|
|
4091
4100
|
*/
|
|
4092
4101
|
post_vendor_reset_password(id, body, options) {
|
|
4093
|
-
return this.request('vendor', '
|
|
4102
|
+
return this.request('vendor', '/vendor/{id}/reset/password', 'post', `/vendor/${id}/reset/password`, body, options);
|
|
4094
4103
|
}
|
|
4095
4104
|
/**
|
|
4096
4105
|
* GET /frictionless/brand/{id_brand}/frictionless-status - Check frictionless support of a given brand
|
|
@@ -4099,7 +4108,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4099
4108
|
* @param options - additional request options
|
|
4100
4109
|
*/
|
|
4101
4110
|
get_frictionless_brand_frictionless_status(id_brand, options) {
|
|
4102
|
-
return this.request('frictionless', '
|
|
4111
|
+
return this.request('frictionless', '/frictionless/brand/{id_brand}/frictionless-status', 'get', `/frictionless/brand/${id_brand}/frictionless-status`, null, options);
|
|
4103
4112
|
}
|
|
4104
4113
|
/**
|
|
4105
4114
|
* POST /frictionless/qrcode - Create Frictionless QR Code to make user able to check in
|
|
@@ -4108,7 +4117,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4108
4117
|
* @param options - additional request options
|
|
4109
4118
|
*/
|
|
4110
4119
|
post_frictionless_qr_code(body, options) {
|
|
4111
|
-
return this.request('frictionless', '
|
|
4120
|
+
return this.request('frictionless', '/frictionless/qrcode', 'post', `/frictionless/qrcode`, body, options);
|
|
4112
4121
|
}
|
|
4113
4122
|
/**
|
|
4114
4123
|
* GET /frictionless/checkin/{id_checkin}/status - Fetch CheckIn Status
|
|
@@ -4117,7 +4126,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4117
4126
|
* @param options - additional request options
|
|
4118
4127
|
*/
|
|
4119
4128
|
get_frictionless_checkin_status(id_checkin, options) {
|
|
4120
|
-
return this.request('frictionless', '
|
|
4129
|
+
return this.request('frictionless', '/frictionless/checkin/{id_checkin}/status', 'get', `/frictionless/checkin/${id_checkin}/status`, null, options);
|
|
4121
4130
|
}
|
|
4122
4131
|
/**
|
|
4123
4132
|
* GET /frictionless/checkin/{id_checkin} - Fetch CheckIn
|
|
@@ -4126,7 +4135,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4126
4135
|
* @param options - additional request options
|
|
4127
4136
|
*/
|
|
4128
4137
|
get_frictionless_checkin(id_checkin, options) {
|
|
4129
|
-
return this.request('frictionless', '
|
|
4138
|
+
return this.request('frictionless', '/frictionless/checkin/{id_checkin}', 'get', `/frictionless/checkin/${id_checkin}`, null, options);
|
|
4130
4139
|
}
|
|
4131
4140
|
/**
|
|
4132
4141
|
* GET /frictionless/users/{user_id}/checkins/payment-issues - List check-ins with update payment required per user
|
|
@@ -4135,7 +4144,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4135
4144
|
* @param options - additional request options
|
|
4136
4145
|
*/
|
|
4137
4146
|
get_frictionless_users_payment_issues(user_id, options) {
|
|
4138
|
-
return this.request('frictionless', '
|
|
4147
|
+
return this.request('frictionless', '/frictionless/users/{user_id}/checkins/payment-issues', 'get', `/frictionless/users/${user_id}/checkins/payment-issues`, null, options);
|
|
4139
4148
|
}
|
|
4140
4149
|
/**
|
|
4141
4150
|
* GET /frictionless/failed-checkins - List check-ins on error
|
|
@@ -4143,7 +4152,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4143
4152
|
* @param options - additional request options
|
|
4144
4153
|
*/
|
|
4145
4154
|
get_frictionless_failed_checkins(options) {
|
|
4146
|
-
return this.request('frictionless', '
|
|
4155
|
+
return this.request('frictionless', '/frictionless/failed-checkins', 'get', `/frictionless/failed-checkins`, null, options);
|
|
4147
4156
|
}
|
|
4148
4157
|
/**
|
|
4149
4158
|
* POST /frictionless/checkins/{id_checkin}/reprocess - Reprocess checkin on error
|
|
@@ -4152,7 +4161,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4152
4161
|
* @param options - additional request options
|
|
4153
4162
|
*/
|
|
4154
4163
|
post_frictionless_checkins_reprocess(id_checkin, options) {
|
|
4155
|
-
return this.request('frictionless', '
|
|
4164
|
+
return this.request('frictionless', '/frictionless/checkins/{id_checkin}/reprocess', 'post', `/frictionless/checkins/${id_checkin}/reprocess`, null, options);
|
|
4156
4165
|
}
|
|
4157
4166
|
/**
|
|
4158
4167
|
* POST /frictionless/checkins/{checkin_id}/reprocess-payment - Update payment at checkin and trigger reprocessing
|
|
@@ -4162,7 +4171,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4162
4171
|
* @param options - additional request options
|
|
4163
4172
|
*/
|
|
4164
4173
|
post_frictionless_checkin_reprocess_payment(checkin_id, body, options) {
|
|
4165
|
-
return this.request('frictionless', '
|
|
4174
|
+
return this.request('frictionless', '/frictionless/checkins/{checkin_id}/reprocess-payment', 'post', `/frictionless/checkins/${checkin_id}/reprocess-payment`, body, options);
|
|
4166
4175
|
}
|
|
4167
4176
|
/**
|
|
4168
4177
|
* POST /frictionless/amazon-jwo-connector/v1/identity/identity-keys - Amazon JWO Identity Key Connector
|
|
@@ -4171,7 +4180,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4171
4180
|
* @param options - additional request options
|
|
4172
4181
|
*/
|
|
4173
4182
|
post_frictionless_amazon_jwo_connector_v1_identity_identity_keys(body, options) {
|
|
4174
|
-
return this.request('frictionless', '
|
|
4183
|
+
return this.request('frictionless', '/frictionless/amazon-jwo-connector/v1/identity/identity-keys', 'post', `/frictionless/amazon-jwo-connector/v1/identity/identity-keys`, body, options);
|
|
4175
4184
|
}
|
|
4176
4185
|
/**
|
|
4177
4186
|
* POST /frictionless/amazon-jwo-connector/v1/order/purchases - Amazon JWO Ordering Connector
|
|
@@ -4180,7 +4189,23 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4180
4189
|
* @param options - additional request options
|
|
4181
4190
|
*/
|
|
4182
4191
|
post_frictionless_amazon_jwo_connector_v1_order_purchases(body, options) {
|
|
4183
|
-
return this.request('frictionless', '
|
|
4192
|
+
return this.request('frictionless', '/frictionless/amazon-jwo-connector/v1/order/purchases', 'post', `/frictionless/amazon-jwo-connector/v1/order/purchases`, body, options);
|
|
4193
|
+
}
|
|
4194
|
+
/**
|
|
4195
|
+
* GET /consumer/v1/health-check
|
|
4196
|
+
*
|
|
4197
|
+
* @param options - additional request options
|
|
4198
|
+
*/
|
|
4199
|
+
HealthCheckController_execute(options) {
|
|
4200
|
+
return this.request('consumer', '/consumer/v1/health-check', 'get', `/consumer/v1/health-check`, null, options);
|
|
4201
|
+
}
|
|
4202
|
+
/**
|
|
4203
|
+
* GET /consumer/v1/payment-methods - List payment methods available in a given brand
|
|
4204
|
+
*
|
|
4205
|
+
* @param options - additional request options
|
|
4206
|
+
*/
|
|
4207
|
+
get_payment_list_by_brand(options) {
|
|
4208
|
+
return this.request('consumer', '/consumer/v1/payment-methods', 'get', `/consumer/v1/payment-methods`, null, options);
|
|
4184
4209
|
}
|
|
4185
4210
|
/**
|
|
4186
4211
|
* POST /ai/language/generate - Generate text from a given prompt
|
|
@@ -4189,7 +4214,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4189
4214
|
* @param options - additional request options
|
|
4190
4215
|
*/
|
|
4191
4216
|
post_ai_language_generate(body, options) {
|
|
4192
|
-
return this.request('ai', '
|
|
4217
|
+
return this.request('ai', '/ai/language/generate', 'post', `/ai/language/generate`, body, options);
|
|
4193
4218
|
}
|
|
4194
4219
|
/**
|
|
4195
4220
|
* POST /ai/image/generate - Generate image from a given prompt
|
|
@@ -4198,7 +4223,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4198
4223
|
* @param options - additional request options
|
|
4199
4224
|
*/
|
|
4200
4225
|
post_ai_image_generate(body, options) {
|
|
4201
|
-
return this.request('ai', '
|
|
4226
|
+
return this.request('ai', '/ai/image/generate', 'post', `/ai/image/generate`, body, options);
|
|
4202
4227
|
}
|
|
4203
4228
|
/**
|
|
4204
4229
|
* POST /centricos/ai/item/description - Generate item description
|
|
@@ -4207,7 +4232,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4207
4232
|
* @param options - additional request options
|
|
4208
4233
|
*/
|
|
4209
4234
|
post_centricos_ai_item_description(body, options) {
|
|
4210
|
-
return this.request('centricos', '
|
|
4235
|
+
return this.request('centricos', '/centricos/ai/item/description', 'post', `/centricos/ai/item/description`, body, options);
|
|
4211
4236
|
}
|
|
4212
4237
|
/**
|
|
4213
4238
|
* POST /centricos/ai/item/image - Generate item image
|
|
@@ -4216,7 +4241,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4216
4241
|
* @param options - additional request options
|
|
4217
4242
|
*/
|
|
4218
4243
|
post_centricos_ai_item_image(body, options) {
|
|
4219
|
-
return this.request('centricos', '
|
|
4244
|
+
return this.request('centricos', '/centricos/ai/item/image', 'post', `/centricos/ai/item/image`, body, options);
|
|
4220
4245
|
}
|
|
4221
4246
|
/**
|
|
4222
4247
|
* GET /centricos/orders/export - Get orders in csv format
|
|
@@ -4224,7 +4249,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4224
4249
|
* @param options - additional request options
|
|
4225
4250
|
*/
|
|
4226
4251
|
post_centricos_orders_export(options) {
|
|
4227
|
-
return this.request('centricos', '
|
|
4252
|
+
return this.request('centricos', '/centricos/orders/export', 'get', `/centricos/orders/export`, null, options);
|
|
4228
4253
|
}
|
|
4229
4254
|
/**
|
|
4230
4255
|
* GET /centricos/report/group/{location_group}/config - Get report configuration for a location group. Times are in site's local timezone.
|
|
@@ -4233,7 +4258,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4233
4258
|
* @param options - additional request options
|
|
4234
4259
|
*/
|
|
4235
4260
|
get_centricos_report_group_config(location_group, options) {
|
|
4236
|
-
return this.request('centricos', '
|
|
4261
|
+
return this.request('centricos', '/centricos/report/group/{location_group}/config', 'get', `/centricos/report/group/${location_group}/config`, null, options);
|
|
4237
4262
|
}
|
|
4238
4263
|
/**
|
|
4239
4264
|
* PUT /centricos/report/group/{location_group}/config - Update report configuration for a location group. Times are in site's local timezone.
|
|
@@ -4243,7 +4268,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4243
4268
|
* @param options - additional request options
|
|
4244
4269
|
*/
|
|
4245
4270
|
put_centricos_report_group_config(location_group, body, options) {
|
|
4246
|
-
return this.request('centricos', '
|
|
4271
|
+
return this.request('centricos', '/centricos/report/group/{location_group}/config', 'put', `/centricos/report/group/${location_group}/config`, body, options);
|
|
4247
4272
|
}
|
|
4248
4273
|
/**
|
|
4249
4274
|
* DELETE /centricos/report/group/{location_group}/config - Delete report configuration for a location group. Times are in site's local timezone.
|
|
@@ -4252,7 +4277,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4252
4277
|
* @param options - additional request options
|
|
4253
4278
|
*/
|
|
4254
4279
|
delete_centricos_report_group_config(location_group, options) {
|
|
4255
|
-
return this.request('centricos', '
|
|
4280
|
+
return this.request('centricos', '/centricos/report/group/{location_group}/config', 'delete', `/centricos/report/group/${location_group}/config`, null, options);
|
|
4256
4281
|
}
|
|
4257
4282
|
/**
|
|
4258
4283
|
* GET /centricos/report/group/{location_group}/config/default - Get default report configuration. Times are in site's local timezone.
|
|
@@ -4261,7 +4286,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4261
4286
|
* @param options - additional request options
|
|
4262
4287
|
*/
|
|
4263
4288
|
get_centricos_report_config_default(location_group, options) {
|
|
4264
|
-
return this.request('centricos', '
|
|
4289
|
+
return this.request('centricos', '/centricos/report/group/{location_group}/config/default', 'get', `/centricos/report/group/${location_group}/config/default`, null, options);
|
|
4265
4290
|
}
|
|
4266
4291
|
/**
|
|
4267
4292
|
* GET /centricos/looker/embedurl - Get a signed URL for looker embeding
|
|
@@ -4269,7 +4294,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4269
4294
|
* @param options - additional request options
|
|
4270
4295
|
*/
|
|
4271
4296
|
get_centricos_looker_embedurl(options) {
|
|
4272
|
-
return this.request('centricos', '
|
|
4297
|
+
return this.request('centricos', '/centricos/looker/embedurl', 'get', `/centricos/looker/embedurl`, null, options);
|
|
4273
4298
|
}
|
|
4274
4299
|
/**
|
|
4275
4300
|
* GET /centricos/devices/{site_id} - Get site devices
|
|
@@ -4278,7 +4303,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4278
4303
|
* @param options - additional request options
|
|
4279
4304
|
*/
|
|
4280
4305
|
get_site_devices(site_id, options) {
|
|
4281
|
-
return this.request('centricos', '
|
|
4306
|
+
return this.request('centricos', '/centricos/devices/{site_id}', 'get', `/centricos/devices/${site_id}`, null, options);
|
|
4282
4307
|
}
|
|
4283
4308
|
/**
|
|
4284
4309
|
* GET /centricos/sites - Get a list of sites. This endpoint is paginated and supports filtering, sorting, and searching.
|
|
@@ -4286,7 +4311,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4286
4311
|
* @param options - additional request options
|
|
4287
4312
|
*/
|
|
4288
4313
|
get_centricos_sites(options) {
|
|
4289
|
-
return this.request('centricos', '
|
|
4314
|
+
return this.request('centricos', '/centricos/sites', 'get', `/centricos/sites`, null, options);
|
|
4290
4315
|
}
|
|
4291
4316
|
/**
|
|
4292
4317
|
* GET /tax/v1/health-check - Health Check
|
|
@@ -4294,7 +4319,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4294
4319
|
* @param options - additional request options
|
|
4295
4320
|
*/
|
|
4296
4321
|
tax_health_check(options) {
|
|
4297
|
-
return this.request('tax', '
|
|
4322
|
+
return this.request('tax', '/tax/v1/health-check', 'get', `/tax/v1/health-check`, null, options);
|
|
4298
4323
|
}
|
|
4299
4324
|
/**
|
|
4300
4325
|
* POST /tax/quote - get tax quote from 3rd party tax library
|
|
@@ -4303,7 +4328,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4303
4328
|
* @param options - additional request options
|
|
4304
4329
|
*/
|
|
4305
4330
|
post_quote_tax(body, options) {
|
|
4306
|
-
return this.request('tax', '
|
|
4331
|
+
return this.request('tax', '/tax/quote', 'post', `/tax/quote`, body, options);
|
|
4307
4332
|
}
|
|
4308
4333
|
/**
|
|
4309
4334
|
* GET /search/order
|
|
@@ -4311,7 +4336,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4311
4336
|
* @param options - additional request options
|
|
4312
4337
|
*/
|
|
4313
4338
|
get_search_order(options) {
|
|
4314
|
-
return this.request('search', '
|
|
4339
|
+
return this.request('search', '/search/order', 'get', `/search/order`, null, options);
|
|
4315
4340
|
}
|
|
4316
4341
|
/**
|
|
4317
4342
|
* GET /search/location
|
|
@@ -4319,7 +4344,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4319
4344
|
* @param options - additional request options
|
|
4320
4345
|
*/
|
|
4321
4346
|
get_search_location(options) {
|
|
4322
|
-
return this.request('search', '
|
|
4347
|
+
return this.request('search', '/search/location', 'get', `/search/location`, null, options);
|
|
4323
4348
|
}
|
|
4324
4349
|
/**
|
|
4325
4350
|
* POST /auth/flow - Determines the authentication flow for a user based on their email address
|
|
@@ -4328,7 +4353,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4328
4353
|
* @param options - additional request options
|
|
4329
4354
|
*/
|
|
4330
4355
|
post_auth_flow(body, options) {
|
|
4331
|
-
return this.request('auth', '
|
|
4356
|
+
return this.request('auth', '/auth/flow', 'post', `/auth/flow`, body, options);
|
|
4332
4357
|
}
|
|
4333
4358
|
/**
|
|
4334
4359
|
* GET /auth/sso-configs - Returns all available SSO configurations
|
|
@@ -4336,7 +4361,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4336
4361
|
* @param options - additional request options
|
|
4337
4362
|
*/
|
|
4338
4363
|
get_auth_sso_configs(options) {
|
|
4339
|
-
return this.request('auth', '
|
|
4364
|
+
return this.request('auth', '/auth/sso-configs', 'get', `/auth/sso-configs`, null, options);
|
|
4340
4365
|
}
|
|
4341
4366
|
/**
|
|
4342
4367
|
* POST /auth/sso-config - Create a new SSO configuration
|
|
@@ -4345,7 +4370,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4345
4370
|
* @param options - additional request options
|
|
4346
4371
|
*/
|
|
4347
4372
|
post_auth_sso_config(body, options) {
|
|
4348
|
-
return this.request('auth', '
|
|
4373
|
+
return this.request('auth', '/auth/sso-config', 'post', `/auth/sso-config`, body, options);
|
|
4349
4374
|
}
|
|
4350
4375
|
/**
|
|
4351
4376
|
* DELETE /auth/sso-config/{name}/{clientId} - Delete a SSO configuration
|
|
@@ -4355,7 +4380,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4355
4380
|
* @param options - additional request options
|
|
4356
4381
|
*/
|
|
4357
4382
|
delete_auth_sso_config(name, clientId, options) {
|
|
4358
|
-
return this.request('auth', '
|
|
4383
|
+
return this.request('auth', '/auth/sso-config/{name}/{clientId}', 'delete', `/auth/sso-config/${name}/${clientId}`, null, options);
|
|
4359
4384
|
}
|
|
4360
4385
|
/**
|
|
4361
4386
|
* POST /auth/sso - Authenticates a user using a SSO provider.
|
|
@@ -4364,7 +4389,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4364
4389
|
* @param options - additional request options
|
|
4365
4390
|
*/
|
|
4366
4391
|
post_auth_sso(body, options) {
|
|
4367
|
-
return this.request('auth', '
|
|
4392
|
+
return this.request('auth', '/auth/sso', 'post', `/auth/sso`, body, options);
|
|
4368
4393
|
}
|
|
4369
4394
|
/**
|
|
4370
4395
|
* POST /auth/sso/exchange - exchange idP information for short lived exchange token
|
|
@@ -4374,7 +4399,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4374
4399
|
* @param options - additional request options
|
|
4375
4400
|
*/
|
|
4376
4401
|
post_auth_sso_exchange(body, options) {
|
|
4377
|
-
return this.request('auth', '
|
|
4402
|
+
return this.request('auth', '/auth/sso/exchange', 'post', `/auth/sso/exchange`, body, options);
|
|
4378
4403
|
}
|
|
4379
4404
|
/**
|
|
4380
4405
|
* GET /auth/sso/exchange - Exchange short lived JWT for access & refresh
|
|
@@ -4382,7 +4407,7 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
4382
4407
|
* @param options - additional request options
|
|
4383
4408
|
*/
|
|
4384
4409
|
get_auth_sso_exchange(options) {
|
|
4385
|
-
return this.request('auth', '
|
|
4410
|
+
return this.request('auth', '/auth/sso/exchange', 'get', `/auth/sso/exchange`, null, options);
|
|
4386
4411
|
}
|
|
4387
4412
|
}
|
|
4388
4413
|
exports.ServiceClient = ServiceClient;
|