@compassdigital/sdk.typescript 3.0.0-rc.2 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -42,7 +42,7 @@ var ServiceClient = /** @class */ (function (_super) {
42
42
  * @param options - additional request options
43
43
  */
44
44
  ServiceClient.prototype.post_payment_transaction = function (id, body, options) {
45
- return this.request("payment", "post_payment_transaction", "post", "/payment/" + id + "/transaction", body, options);
45
+ return this.request("payment", "post_payment_transaction", "post", "/payment/".concat(id, "/transaction"), body, options);
46
46
  };
47
47
  /**
48
48
  * POST /payment/{id}/transaction/{transaction_id}/refund
@@ -53,7 +53,7 @@ var ServiceClient = /** @class */ (function (_super) {
53
53
  * @param options - additional request options
54
54
  */
55
55
  ServiceClient.prototype.post_payment_transaction_refund = function (id, transaction_id, body, options) {
56
- return this.request("payment", "post_payment_transaction_refund", "post", "/payment/" + id + "/transaction/" + transaction_id + "/refund", body, options);
56
+ return this.request("payment", "post_payment_transaction_refund", "post", "/payment/".concat(id, "/transaction/").concat(transaction_id, "/refund"), body, options);
57
57
  };
58
58
  /**
59
59
  * GET /payment/{id}/clienttoken
@@ -62,7 +62,7 @@ var ServiceClient = /** @class */ (function (_super) {
62
62
  * @param options - additional request options
63
63
  */
64
64
  ServiceClient.prototype.get_payment_clienttoken = function (id, options) {
65
- return this.request("payment", "get_payment_clienttoken", "get", "/payment/" + id + "/clienttoken", null, options);
65
+ return this.request("payment", "get_payment_clienttoken", "get", "/payment/".concat(id, "/clienttoken"), null, options);
66
66
  };
67
67
  /**
68
68
  * POST /payment/{id}/paymenttoken
@@ -72,7 +72,7 @@ var ServiceClient = /** @class */ (function (_super) {
72
72
  * @param options - additional request options
73
73
  */
74
74
  ServiceClient.prototype.post_payment_paymenttoken = function (id, body, options) {
75
- return this.request("payment", "post_payment_paymenttoken", "post", "/payment/" + id + "/paymenttoken", body, options);
75
+ return this.request("payment", "post_payment_paymenttoken", "post", "/payment/".concat(id, "/paymenttoken"), body, options);
76
76
  };
77
77
  /**
78
78
  * POST /payment/consumer
@@ -99,7 +99,7 @@ var ServiceClient = /** @class */ (function (_super) {
99
99
  * @param options - additional request options
100
100
  */
101
101
  ServiceClient.prototype.get_payment_method = function (id, options) {
102
- return this.request("payment", "get_payment_method", "get", "/payment/" + id + "/method", null, options);
102
+ return this.request("payment", "get_payment_method", "get", "/payment/".concat(id, "/method"), null, options);
103
103
  };
104
104
  /**
105
105
  * DELETE /payment/{id}/method/{method_id}
@@ -110,7 +110,7 @@ var ServiceClient = /** @class */ (function (_super) {
110
110
  * @param options - additional request options
111
111
  */
112
112
  ServiceClient.prototype.delete_payment_method = function (id, method_id, body, options) {
113
- return this.request("payment", "delete_payment_method", "delete", "/payment/" + id + "/method/" + method_id, body, options);
113
+ return this.request("payment", "delete_payment_method", "delete", "/payment/".concat(id, "/method/").concat(method_id), body, options);
114
114
  };
115
115
  /**
116
116
  * GET /payment/token
@@ -179,7 +179,7 @@ var ServiceClient = /** @class */ (function (_super) {
179
179
  * @param options - additional request options
180
180
  */
181
181
  ServiceClient.prototype.get_order = function (id, options) {
182
- return this.request("order", "get_order", "get", "/order/" + id, null, options);
182
+ return this.request("order", "get_order", "get", "/order/".concat(id), null, options);
183
183
  };
184
184
  /**
185
185
  * PUT /order/{id} - Update an individual order
@@ -188,7 +188,7 @@ var ServiceClient = /** @class */ (function (_super) {
188
188
  * @param options - additional request options
189
189
  */
190
190
  ServiceClient.prototype.put_order = function (id, options) {
191
- return this.request("order", "put_order", "put", "/order/" + id, null, options);
191
+ return this.request("order", "put_order", "put", "/order/".concat(id), null, options);
192
192
  };
193
193
  /**
194
194
  * PATCH /order/{id} - Update an existing order
@@ -198,7 +198,7 @@ var ServiceClient = /** @class */ (function (_super) {
198
198
  * @param options - additional request options
199
199
  */
200
200
  ServiceClient.prototype.patch_order = function (id, body, options) {
201
- return this.request("order", "patch_order", "patch", "/order/" + id, body, options);
201
+ return this.request("order", "patch_order", "patch", "/order/".concat(id), body, options);
202
202
  };
203
203
  /**
204
204
  * POST /order/{id}/issue - Create an issue with an order
@@ -208,7 +208,7 @@ var ServiceClient = /** @class */ (function (_super) {
208
208
  * @param options - additional request options
209
209
  */
210
210
  ServiceClient.prototype.post_order_issue = function (id, body, options) {
211
- return this.request("order", "post_order_issue", "post", "/order/" + id + "/issue", body, options);
211
+ return this.request("order", "post_order_issue", "post", "/order/".concat(id, "/issue"), body, options);
212
212
  };
213
213
  /**
214
214
  * PATCH /order/{id}/refund - Issue a refund on an existing order
@@ -218,7 +218,7 @@ var ServiceClient = /** @class */ (function (_super) {
218
218
  * @param options - additional request options
219
219
  */
220
220
  ServiceClient.prototype.patch_order_refund = function (id, body, options) {
221
- return this.request("order", "patch_order_refund", "patch", "/order/" + id + "/refund", body, options);
221
+ return this.request("order", "patch_order_refund", "patch", "/order/".concat(id, "/refund"), body, options);
222
222
  };
223
223
  /**
224
224
  * GET /order/customer/{id} - Get all orders for a Customer
@@ -227,7 +227,7 @@ var ServiceClient = /** @class */ (function (_super) {
227
227
  * @param options - additional request options
228
228
  */
229
229
  ServiceClient.prototype.get_order_customer_orders = function (id, options) {
230
- return this.request("order", "get_order_customer_orders", "get", "/order/customer/" + id, null, options);
230
+ return this.request("order", "get_order_customer_orders", "get", "/order/customer/".concat(id), null, options);
231
231
  };
232
232
  /**
233
233
  * GET /order/customer/{id}/location/brand/{location_brand} - Get all orders for a Customer for a specific Location Brand
@@ -237,7 +237,7 @@ var ServiceClient = /** @class */ (function (_super) {
237
237
  * @param options - additional request options
238
238
  */
239
239
  ServiceClient.prototype.get_order_customer_orders_brand = function (id, location_brand, options) {
240
- return this.request("order", "get_order_customer_orders_brand", "get", "/order/customer/" + id + "/location/brand/" + location_brand, null, options);
240
+ return this.request("order", "get_order_customer_orders_brand", "get", "/order/customer/".concat(id, "/location/brand/").concat(location_brand), null, options);
241
241
  };
242
242
  /**
243
243
  * GET /order/location/brand/{id} - Get all orders for a location Brand
@@ -246,7 +246,7 @@ var ServiceClient = /** @class */ (function (_super) {
246
246
  * @param options - additional request options
247
247
  */
248
248
  ServiceClient.prototype.get_order_location_brand = function (id, options) {
249
- return this.request("order", "get_order_location_brand", "get", "/order/location/brand/" + id, null, options);
249
+ return this.request("order", "get_order_location_brand", "get", "/order/location/brand/".concat(id), null, options);
250
250
  };
251
251
  /**
252
252
  * GET /order/location/{id} - Get all orders for a location
@@ -255,7 +255,7 @@ var ServiceClient = /** @class */ (function (_super) {
255
255
  * @param options - additional request options
256
256
  */
257
257
  ServiceClient.prototype.get_order_location_orders = function (id, options) {
258
- return this.request("order", "get_order_location_orders", "get", "/order/location/" + id, null, options);
258
+ return this.request("order", "get_order_location_orders", "get", "/order/location/".concat(id), null, options);
259
259
  };
260
260
  /**
261
261
  * GET /order/location/group/{id} - Get all orders for a location group
@@ -264,7 +264,7 @@ var ServiceClient = /** @class */ (function (_super) {
264
264
  * @param options - additional request options
265
265
  */
266
266
  ServiceClient.prototype.get_order_group_orders = function (id, options) {
267
- return this.request("order", "get_order_group_orders", "get", "/order/location/group/" + id, null, options);
267
+ return this.request("order", "get_order_group_orders", "get", "/order/location/group/".concat(id), null, options);
268
268
  };
269
269
  /**
270
270
  * PATCH /order/{id}/checkin - Accept an order by checking in
@@ -273,7 +273,7 @@ var ServiceClient = /** @class */ (function (_super) {
273
273
  * @param options - additional request options
274
274
  */
275
275
  ServiceClient.prototype.patch_order_checkin = function (id, options) {
276
- return this.request("order", "patch_order_checkin", "patch", "/order/" + id + "/checkin", null, options);
276
+ return this.request("order", "patch_order_checkin", "patch", "/order/".concat(id, "/checkin"), null, options);
277
277
  };
278
278
  /**
279
279
  * POST /location - Create a new location
@@ -307,7 +307,7 @@ var ServiceClient = /** @class */ (function (_super) {
307
307
  * @param options - additional request options
308
308
  */
309
309
  ServiceClient.prototype.get_location = function (id, options) {
310
- return this.request("location", "get_location", "get", "/location/" + id, null, options);
310
+ return this.request("location", "get_location", "get", "/location/".concat(id), null, options);
311
311
  };
312
312
  /**
313
313
  * PUT /location/{id} - Override a complete Location
@@ -317,7 +317,7 @@ var ServiceClient = /** @class */ (function (_super) {
317
317
  * @param options - additional request options
318
318
  */
319
319
  ServiceClient.prototype.put_location = function (id, body, options) {
320
- return this.request("location", "put_location", "put", "/location/" + id, body, options);
320
+ return this.request("location", "put_location", "put", "/location/".concat(id), body, options);
321
321
  };
322
322
  /**
323
323
  * DELETE /location/{id} - Delete brands from a Location
@@ -327,7 +327,7 @@ var ServiceClient = /** @class */ (function (_super) {
327
327
  * @param options - additional request options
328
328
  */
329
329
  ServiceClient.prototype.delete_location = function (id, body, options) {
330
- return this.request("location", "delete_location", "delete", "/location/" + id, body, options);
330
+ return this.request("location", "delete_location", "delete", "/location/".concat(id), body, options);
331
331
  };
332
332
  /**
333
333
  * PATCH /location/{id} - Update a Location
@@ -337,7 +337,7 @@ var ServiceClient = /** @class */ (function (_super) {
337
337
  * @param options - additional request options
338
338
  */
339
339
  ServiceClient.prototype.patch_location = function (id, body, options) {
340
- return this.request("location", "patch_location", "patch", "/location/" + id, body, options);
340
+ return this.request("location", "patch_location", "patch", "/location/".concat(id), body, options);
341
341
  };
342
342
  /**
343
343
  * GET /location/pos/{id} - Get information about a POS
@@ -346,7 +346,7 @@ var ServiceClient = /** @class */ (function (_super) {
346
346
  * @param options - additional request options
347
347
  */
348
348
  ServiceClient.prototype.get_location_pos = function (id, options) {
349
- return this.request("location", "get_location_pos", "get", "/location/pos/" + id, null, options);
349
+ return this.request("location", "get_location_pos", "get", "/location/pos/".concat(id), null, options);
350
350
  };
351
351
  /**
352
352
  * PUT /location/pos/{id} - Set information about a POS
@@ -356,7 +356,7 @@ var ServiceClient = /** @class */ (function (_super) {
356
356
  * @param options - additional request options
357
357
  */
358
358
  ServiceClient.prototype.put_location_pos = function (id, body, options) {
359
- return this.request("location", "put_location_pos", "put", "/location/pos/" + id, body, options);
359
+ return this.request("location", "put_location_pos", "put", "/location/pos/".concat(id), body, options);
360
360
  };
361
361
  /**
362
362
  * GET /location/multigroup - Get all the top level multigroups
@@ -382,7 +382,7 @@ var ServiceClient = /** @class */ (function (_super) {
382
382
  * @param options - additional request options
383
383
  */
384
384
  ServiceClient.prototype.get_location_multigroup = function (id, options) {
385
- return this.request("location", "get_location_multigroup", "get", "/location/multigroup/" + id, null, options);
385
+ return this.request("location", "get_location_multigroup", "get", "/location/multigroup/".concat(id), null, options);
386
386
  };
387
387
  /**
388
388
  * PUT /location/multigroup/{id} - Override a complete multigroup
@@ -392,7 +392,7 @@ var ServiceClient = /** @class */ (function (_super) {
392
392
  * @param options - additional request options
393
393
  */
394
394
  ServiceClient.prototype.put_location_multigroup = function (id, body, options) {
395
- return this.request("location", "put_location_multigroup", "put", "/location/multigroup/" + id, body, options);
395
+ return this.request("location", "put_location_multigroup", "put", "/location/multigroup/".concat(id), body, options);
396
396
  };
397
397
  /**
398
398
  * DELETE /location/multigroup/{id} - Delete groups from a multigroup
@@ -402,7 +402,7 @@ var ServiceClient = /** @class */ (function (_super) {
402
402
  * @param options - additional request options
403
403
  */
404
404
  ServiceClient.prototype.delete_location_multigroup = function (id, body, options) {
405
- return this.request("location", "delete_location_multigroup", "delete", "/location/multigroup/" + id, body, options);
405
+ return this.request("location", "delete_location_multigroup", "delete", "/location/multigroup/".concat(id), body, options);
406
406
  };
407
407
  /**
408
408
  * PATCH /location/multigroup/{id} - Update a multigroup
@@ -412,7 +412,7 @@ var ServiceClient = /** @class */ (function (_super) {
412
412
  * @param options - additional request options
413
413
  */
414
414
  ServiceClient.prototype.patch_location_multigroup = function (id, body, options) {
415
- return this.request("location", "patch_location_multigroup", "patch", "/location/multigroup/" + id, body, options);
415
+ return this.request("location", "patch_location_multigroup", "patch", "/location/multigroup/".concat(id), body, options);
416
416
  };
417
417
  /**
418
418
  * GET /location/multigroup/{id}/user/{user_id} - Get all the groups in a multigroup specific to user permissions
@@ -422,7 +422,7 @@ var ServiceClient = /** @class */ (function (_super) {
422
422
  * @param options - additional request options
423
423
  */
424
424
  ServiceClient.prototype.get_location_user_multigroup = function (id, user_id, options) {
425
- return this.request("location", "get_location_user_multigroup", "get", "/location/multigroup/" + id + "/user/" + user_id, null, options);
425
+ return this.request("location", "get_location_user_multigroup", "get", "/location/multigroup/".concat(id, "/user/").concat(user_id), null, options);
426
426
  };
427
427
  /**
428
428
  * POST /location/group - Create a new group
@@ -440,7 +440,7 @@ var ServiceClient = /** @class */ (function (_super) {
440
440
  * @param options - additional request options
441
441
  */
442
442
  ServiceClient.prototype.get_location_group = function (id, options) {
443
- return this.request("location", "get_location_group", "get", "/location/group/" + id, null, options);
443
+ return this.request("location", "get_location_group", "get", "/location/group/".concat(id), null, options);
444
444
  };
445
445
  /**
446
446
  * PUT /location/group/{id} - Override a complete Group
@@ -450,7 +450,7 @@ var ServiceClient = /** @class */ (function (_super) {
450
450
  * @param options - additional request options
451
451
  */
452
452
  ServiceClient.prototype.put_location_group = function (id, body, options) {
453
- return this.request("location", "put_location_group", "put", "/location/group/" + id, body, options);
453
+ return this.request("location", "put_location_group", "put", "/location/group/".concat(id), body, options);
454
454
  };
455
455
  /**
456
456
  * DELETE /location/group/{id} - Delete locations from a Group
@@ -460,7 +460,7 @@ var ServiceClient = /** @class */ (function (_super) {
460
460
  * @param options - additional request options
461
461
  */
462
462
  ServiceClient.prototype.delete_location_group = function (id, body, options) {
463
- return this.request("location", "delete_location_group", "delete", "/location/group/" + id, body, options);
463
+ return this.request("location", "delete_location_group", "delete", "/location/group/".concat(id), body, options);
464
464
  };
465
465
  /**
466
466
  * PATCH /location/group/{id} - Update a Group
@@ -470,7 +470,7 @@ var ServiceClient = /** @class */ (function (_super) {
470
470
  * @param options - additional request options
471
471
  */
472
472
  ServiceClient.prototype.patch_location_group = function (id, body, options) {
473
- return this.request("location", "patch_location_group", "patch", "/location/group/" + id, body, options);
473
+ return this.request("location", "patch_location_group", "patch", "/location/group/".concat(id), body, options);
474
474
  };
475
475
  /**
476
476
  * GET /location/group/{id}/deliverydestination - Get all delivery destinations for group
@@ -479,7 +479,7 @@ var ServiceClient = /** @class */ (function (_super) {
479
479
  * @param options - additional request options
480
480
  */
481
481
  ServiceClient.prototype.get_location_group_deliverydestinations = function (id, options) {
482
- return this.request("location", "get_location_group_deliverydestinations", "get", "/location/group/" + id + "/deliverydestination", null, options);
482
+ return this.request("location", "get_location_group_deliverydestinations", "get", "/location/group/".concat(id, "/deliverydestination"), null, options);
483
483
  };
484
484
  /**
485
485
  * POST /location/group/{id}/deliverydestination - Create a new location group delivery destination
@@ -489,7 +489,7 @@ var ServiceClient = /** @class */ (function (_super) {
489
489
  * @param options - additional request options
490
490
  */
491
491
  ServiceClient.prototype.post_location_group_deliverydestination = function (id, body, options) {
492
- return this.request("location", "post_location_group_deliverydestination", "post", "/location/group/" + id + "/deliverydestination", body, options);
492
+ return this.request("location", "post_location_group_deliverydestination", "post", "/location/group/".concat(id, "/deliverydestination"), body, options);
493
493
  };
494
494
  /**
495
495
  * PATCH /location/group/{id}/deliverydestination - Patch single or multiple delivery destinations
@@ -499,7 +499,7 @@ var ServiceClient = /** @class */ (function (_super) {
499
499
  * @param options - additional request options
500
500
  */
501
501
  ServiceClient.prototype.patch_location_group_deliverydestination = function (id, body, options) {
502
- return this.request("location", "patch_location_group_deliverydestination", "patch", "/location/group/" + id + "/deliverydestination", body, options);
502
+ return this.request("location", "patch_location_group_deliverydestination", "patch", "/location/group/".concat(id, "/deliverydestination"), body, options);
503
503
  };
504
504
  /**
505
505
  * DELETE /location/group/{id}/deliverydestination - Delete single or multiple delivery destinations
@@ -509,7 +509,7 @@ var ServiceClient = /** @class */ (function (_super) {
509
509
  * @param options - additional request options
510
510
  */
511
511
  ServiceClient.prototype.delete_location_group_deliverydestination = function (id, body, options) {
512
- return this.request("location", "delete_location_group_deliverydestination", "delete", "/location/group/" + id + "/deliverydestination", body, options);
512
+ return this.request("location", "delete_location_group_deliverydestination", "delete", "/location/group/".concat(id, "/deliverydestination"), body, options);
513
513
  };
514
514
  /**
515
515
  * GET /location/group/{id}/deliverydestination/{delivery_destination} - Get a delivery destination
@@ -519,7 +519,7 @@ var ServiceClient = /** @class */ (function (_super) {
519
519
  * @param options - additional request options
520
520
  */
521
521
  ServiceClient.prototype.get_location_group_deliverydestination = function (id, delivery_destination, options) {
522
- return this.request("location", "get_location_group_deliverydestination", "get", "/location/group/" + id + "/deliverydestination/" + delivery_destination, null, options);
522
+ return this.request("location", "get_location_group_deliverydestination", "get", "/location/group/".concat(id, "/deliverydestination/").concat(delivery_destination), null, options);
523
523
  };
524
524
  /**
525
525
  * GET /location/group/{id}/user/{user_id} - Get a location group info specific to user read permissions
@@ -529,7 +529,7 @@ var ServiceClient = /** @class */ (function (_super) {
529
529
  * @param options - additional request options
530
530
  */
531
531
  ServiceClient.prototype.get_location_user_group = function (id, user_id, options) {
532
- return this.request("location", "get_location_user_group", "get", "/location/group/" + id + "/user/" + user_id, null, options);
532
+ return this.request("location", "get_location_user_group", "get", "/location/group/".concat(id, "/user/").concat(user_id), null, options);
533
533
  };
534
534
  /**
535
535
  * GET /location/brands - Get all location brands
@@ -546,7 +546,7 @@ var ServiceClient = /** @class */ (function (_super) {
546
546
  * @param options - additional request options
547
547
  */
548
548
  ServiceClient.prototype.get_location_brand_destinations = function (id, options) {
549
- return this.request("location", "get_location_brand_destinations", "get", "/location/brand/" + id + "/deliverydestinations", null, options);
549
+ return this.request("location", "get_location_brand_destinations", "get", "/location/brand/".concat(id, "/deliverydestinations"), null, options);
550
550
  };
551
551
  /**
552
552
  * POST /location/brand/{id}/document - Attach document to a brand
@@ -556,7 +556,7 @@ var ServiceClient = /** @class */ (function (_super) {
556
556
  * @param options - additional request options
557
557
  */
558
558
  ServiceClient.prototype.post_location_brand_document = function (id, body, options) {
559
- return this.request("location", "post_location_brand_document", "post", "/location/brand/" + id + "/document", body, options);
559
+ return this.request("location", "post_location_brand_document", "post", "/location/brand/".concat(id, "/document"), body, options);
560
560
  };
561
561
  /**
562
562
  * PATCH /location/brand/{id}/document - Edit location document
@@ -565,7 +565,7 @@ var ServiceClient = /** @class */ (function (_super) {
565
565
  * @param options - additional request options
566
566
  */
567
567
  ServiceClient.prototype.patch_location_brand_document = function (id, options) {
568
- return this.request("location", "patch_location_brand_document", "patch", "/location/brand/" + id + "/document", null, options);
568
+ return this.request("location", "patch_location_brand_document", "patch", "/location/brand/".concat(id, "/document"), null, options);
569
569
  };
570
570
  /**
571
571
  * DELETE /location/brand/{id}/document - Deleted brand document
@@ -574,7 +574,7 @@ var ServiceClient = /** @class */ (function (_super) {
574
574
  * @param options - additional request options
575
575
  */
576
576
  ServiceClient.prototype.delete_location_brand_document = function (id, options) {
577
- return this.request("location", "delete_location_brand_document", "delete", "/location/brand/" + id + "/document", null, options);
577
+ return this.request("location", "delete_location_brand_document", "delete", "/location/brand/".concat(id, "/document"), null, options);
578
578
  };
579
579
  /**
580
580
  * GET /location/brand/{id}/documents - Get location brand attached documents
@@ -583,7 +583,7 @@ var ServiceClient = /** @class */ (function (_super) {
583
583
  * @param options - additional request options
584
584
  */
585
585
  ServiceClient.prototype.get_location_brand_documents = function (id, options) {
586
- return this.request("location", "get_location_brand_documents", "get", "/location/brand/" + id + "/documents", null, options);
586
+ return this.request("location", "get_location_brand_documents", "get", "/location/brand/".concat(id, "/documents"), null, options);
587
587
  };
588
588
  /**
589
589
  * GET /location/brand/{id}/timeslots - Get location brand timeslots
@@ -592,7 +592,7 @@ var ServiceClient = /** @class */ (function (_super) {
592
592
  * @param options - additional request options
593
593
  */
594
594
  ServiceClient.prototype.get_location_brand_timeslots = function (id, options) {
595
- return this.request("location", "get_location_brand_timeslots", "get", "/location/brand/" + id + "/timeslots", null, options);
595
+ return this.request("location", "get_location_brand_timeslots", "get", "/location/brand/".concat(id, "/timeslots"), null, options);
596
596
  };
597
597
  /**
598
598
  * POST /location/marketplace/timeslots - Get Market Place timeslots
@@ -620,7 +620,7 @@ var ServiceClient = /** @class */ (function (_super) {
620
620
  * @param options - additional request options
621
621
  */
622
622
  ServiceClient.prototype.get_location_brand_menu_timeslots = function (id, menu, options) {
623
- return this.request("location", "get_location_brand_menu_timeslots", "get", "/location/brand/" + id + "/timeslots/menu/" + menu, null, options);
623
+ return this.request("location", "get_location_brand_menu_timeslots", "get", "/location/brand/".concat(id, "/timeslots/menu/").concat(menu), null, options);
624
624
  };
625
625
  /**
626
626
  * GET /location/brand/{id}/timeslots/delivery - Get location brand delivery timeslots
@@ -629,7 +629,7 @@ var ServiceClient = /** @class */ (function (_super) {
629
629
  * @param options - additional request options
630
630
  */
631
631
  ServiceClient.prototype.get_location_brand_delivery_timeslots = function (id, options) {
632
- return this.request("location", "get_location_brand_delivery_timeslots", "get", "/location/brand/" + id + "/timeslots/delivery", null, options);
632
+ return this.request("location", "get_location_brand_delivery_timeslots", "get", "/location/brand/".concat(id, "/timeslots/delivery"), null, options);
633
633
  };
634
634
  /**
635
635
  * GET /location/brand/{id}/timeslots/delivery/menu/{menu} - Get location brand delivery timeslots for menu
@@ -639,7 +639,7 @@ var ServiceClient = /** @class */ (function (_super) {
639
639
  * @param options - additional request options
640
640
  */
641
641
  ServiceClient.prototype.get_location_brand_menu_delivery_timeslosts = function (id, menu, options) {
642
- return this.request("location", "get_location_brand_menu_delivery_timeslosts", "get", "/location/brand/" + id + "/timeslots/delivery/menu/" + menu, null, options);
642
+ return this.request("location", "get_location_brand_menu_delivery_timeslosts", "get", "/location/brand/".concat(id, "/timeslots/delivery/menu/").concat(menu), null, options);
643
643
  };
644
644
  /**
645
645
  * POST /location/brand - Create a new Brand
@@ -657,7 +657,7 @@ var ServiceClient = /** @class */ (function (_super) {
657
657
  * @param options - additional request options
658
658
  */
659
659
  ServiceClient.prototype.get_location_brand = function (id, options) {
660
- return this.request("location", "get_location_brand", "get", "/location/brand/" + id, null, options);
660
+ return this.request("location", "get_location_brand", "get", "/location/brand/".concat(id), null, options);
661
661
  };
662
662
  /**
663
663
  * PATCH /location/brand/{id} - Update location brand
@@ -667,7 +667,7 @@ var ServiceClient = /** @class */ (function (_super) {
667
667
  * @param options - additional request options
668
668
  */
669
669
  ServiceClient.prototype.patch_location_brand = function (id, body, options) {
670
- return this.request("location", "patch_location_brand", "patch", "/location/brand/" + id, body, options);
670
+ return this.request("location", "patch_location_brand", "patch", "/location/brand/".concat(id), body, options);
671
671
  };
672
672
  /**
673
673
  * DELETE /location/brand/{id} - Delete data from a Brand
@@ -677,7 +677,7 @@ var ServiceClient = /** @class */ (function (_super) {
677
677
  * @param options - additional request options
678
678
  */
679
679
  ServiceClient.prototype.delete_location_brand = function (id, body, options) {
680
- return this.request("location", "delete_location_brand", "delete", "/location/brand/" + id, body, options);
680
+ return this.request("location", "delete_location_brand", "delete", "/location/brand/".concat(id), body, options);
681
681
  };
682
682
  /**
683
683
  * PUT /location/brand/{id} - Update location brand
@@ -687,7 +687,7 @@ var ServiceClient = /** @class */ (function (_super) {
687
687
  * @param options - additional request options
688
688
  */
689
689
  ServiceClient.prototype.put_location_brand = function (id, body, options) {
690
- return this.request("location", "put_location_brand", "put", "/location/brand/" + id, body, options);
690
+ return this.request("location", "put_location_brand", "put", "/location/brand/".concat(id), body, options);
691
691
  };
692
692
  /**
693
693
  * GET /location/sector - Get list of all the sectors
@@ -713,7 +713,7 @@ var ServiceClient = /** @class */ (function (_super) {
713
713
  * @param options - additional request options
714
714
  */
715
715
  ServiceClient.prototype.get_location_sector = function (id, options) {
716
- return this.request("location", "get_location_sector", "get", "/location/sector/" + id, null, options);
716
+ return this.request("location", "get_location_sector", "get", "/location/sector/".concat(id), null, options);
717
717
  };
718
718
  /**
719
719
  * PATCH /location/sector/{id} - Update a sector
@@ -723,7 +723,7 @@ var ServiceClient = /** @class */ (function (_super) {
723
723
  * @param options - additional request options
724
724
  */
725
725
  ServiceClient.prototype.patch_location_sector = function (id, body, options) {
726
- return this.request("location", "patch_location_sector", "patch", "/location/sector/" + id, body, options);
726
+ return this.request("location", "patch_location_sector", "patch", "/location/sector/".concat(id), body, options);
727
727
  };
728
728
  /**
729
729
  * POST /location/company - Create a new company
@@ -741,7 +741,7 @@ var ServiceClient = /** @class */ (function (_super) {
741
741
  * @param options - additional request options
742
742
  */
743
743
  ServiceClient.prototype.get_location_company = function (id, options) {
744
- return this.request("location", "get_location_company", "get", "/location/company/" + id, null, options);
744
+ return this.request("location", "get_location_company", "get", "/location/company/".concat(id), null, options);
745
745
  };
746
746
  /**
747
747
  * PATCH /location/company/{id} - Update a company
@@ -751,7 +751,7 @@ var ServiceClient = /** @class */ (function (_super) {
751
751
  * @param options - additional request options
752
752
  */
753
753
  ServiceClient.prototype.patch_location_company = function (id, body, options) {
754
- return this.request("location", "patch_location_company", "patch", "/location/company/" + id, body, options);
754
+ return this.request("location", "patch_location_company", "patch", "/location/company/".concat(id), body, options);
755
755
  };
756
756
  /**
757
757
  * GET /location/brand/external/{external_id} - Get an individual Location filtered by external_id
@@ -760,7 +760,16 @@ var ServiceClient = /** @class */ (function (_super) {
760
760
  * @param options - additional request options
761
761
  */
762
762
  ServiceClient.prototype.get_location_brand_external = function (external_id, options) {
763
- return this.request("location", "get_location_brand_external", "get", "/location/brand/external/" + external_id, null, options);
763
+ return this.request("location", "get_location_brand_external", "get", "/location/brand/external/".concat(external_id), null, options);
764
+ };
765
+ /**
766
+ * DELETE /location/record/{id} - Delete a Brand, Location, Group, or MultiGroup
767
+ *
768
+ * @param id - brand, location, group, or multigroup id
769
+ * @param options - additional request options
770
+ */
771
+ ServiceClient.prototype.delete_location_record = function (id, options) {
772
+ return this.request("location", "delete_location_record", "delete", "/location/record/".concat(id), null, options);
764
773
  };
765
774
  /**
766
775
  * POST /shoppingcart/ - Create a new ShoppingCart
@@ -779,7 +788,7 @@ var ServiceClient = /** @class */ (function (_super) {
779
788
  * @param options - additional request options
780
789
  */
781
790
  ServiceClient.prototype.put_shoppingcart_cart_items = function (id, body, options) {
782
- return this.request("shoppingcart", "put_shoppingcart_cart_items", "put", "/shoppingcart/" + id, body, options);
791
+ return this.request("shoppingcart", "put_shoppingcart_cart_items", "put", "/shoppingcart/".concat(id), body, options);
783
792
  };
784
793
  /**
785
794
  * DELETE /shoppingcart/{id} - Delete a menu item from a ShoppingCart
@@ -789,7 +798,7 @@ var ServiceClient = /** @class */ (function (_super) {
789
798
  * @param options - additional request options
790
799
  */
791
800
  ServiceClient.prototype.delete_shoppingcart_cart_items = function (id, body, options) {
792
- return this.request("shoppingcart", "delete_shoppingcart_cart_items", "delete", "/shoppingcart/" + id, body, options);
801
+ return this.request("shoppingcart", "delete_shoppingcart_cart_items", "delete", "/shoppingcart/".concat(id), body, options);
793
802
  };
794
803
  /**
795
804
  * GET /shoppingcart/{id} - Get an individual ShoppingCart
@@ -798,7 +807,7 @@ var ServiceClient = /** @class */ (function (_super) {
798
807
  * @param options - additional request options
799
808
  */
800
809
  ServiceClient.prototype.get_shoppingcart_cart = function (id, options) {
801
- return this.request("shoppingcart", "get_shoppingcart_cart", "get", "/shoppingcart/" + id, null, options);
810
+ return this.request("shoppingcart", "get_shoppingcart_cart", "get", "/shoppingcart/".concat(id), null, options);
802
811
  };
803
812
  /**
804
813
  * PATCH /shoppingcart/{id} - Update a ShoppingCart
@@ -807,7 +816,7 @@ var ServiceClient = /** @class */ (function (_super) {
807
816
  * @param options - additional request options
808
817
  */
809
818
  ServiceClient.prototype.patch_shoppingcart_cart = function (id, options) {
810
- return this.request("shoppingcart", "patch_shoppingcart_cart", "patch", "/shoppingcart/" + id, null, options);
819
+ return this.request("shoppingcart", "patch_shoppingcart_cart", "patch", "/shoppingcart/".concat(id), null, options);
811
820
  };
812
821
  /**
813
822
  * PUT /shoppingcart/{id}/promo - Put a promo in a ShoppingCart
@@ -817,7 +826,7 @@ var ServiceClient = /** @class */ (function (_super) {
817
826
  * @param options - additional request options
818
827
  */
819
828
  ServiceClient.prototype.put_shoppingcart_cart_promo = function (id, body, options) {
820
- return this.request("shoppingcart", "put_shoppingcart_cart_promo", "put", "/shoppingcart/" + id + "/promo", body, options);
829
+ return this.request("shoppingcart", "put_shoppingcart_cart_promo", "put", "/shoppingcart/".concat(id, "/promo"), body, options);
821
830
  };
822
831
  /**
823
832
  * DELETE /shoppingcart/{id}/promo - Delete the promo in a ShoppingCart
@@ -826,7 +835,7 @@ var ServiceClient = /** @class */ (function (_super) {
826
835
  * @param options - additional request options
827
836
  */
828
837
  ServiceClient.prototype.delete_shoppingcart_cart_promo = function (id, options) {
829
- return this.request("shoppingcart", "delete_shoppingcart_cart_promo", "delete", "/shoppingcart/" + id + "/promo", null, options);
838
+ return this.request("shoppingcart", "delete_shoppingcart_cart_promo", "delete", "/shoppingcart/".concat(id, "/promo"), null, options);
830
839
  };
831
840
  /**
832
841
  * PUT /shoppingcart/{id}/paymentmethod/ - Change payment method used in shopping cart
@@ -836,7 +845,7 @@ var ServiceClient = /** @class */ (function (_super) {
836
845
  * @param options - additional request options
837
846
  */
838
847
  ServiceClient.prototype.put_shoppingcart_cart_payment = function (id, body, options) {
839
- return this.request("shoppingcart", "put_shoppingcart_cart_payment", "put", "/shoppingcart/" + id + "/paymentmethod/", body, options);
848
+ return this.request("shoppingcart", "put_shoppingcart_cart_payment", "put", "/shoppingcart/".concat(id, "/paymentmethod/"), body, options);
840
849
  };
841
850
  /**
842
851
  * PUT /shoppingcart/{id}/order/ - Store information about the order created with this shopping cart
@@ -846,7 +855,7 @@ var ServiceClient = /** @class */ (function (_super) {
846
855
  * @param options - additional request options
847
856
  */
848
857
  ServiceClient.prototype.put_shoppingcart_cart_order = function (id, body, options) {
849
- return this.request("shoppingcart", "put_shoppingcart_cart_order", "put", "/shoppingcart/" + id + "/order/", body, options);
858
+ return this.request("shoppingcart", "put_shoppingcart_cart_order", "put", "/shoppingcart/".concat(id, "/order/"), body, options);
850
859
  };
851
860
  /**
852
861
  * PUT /shoppingcart/{id}/loyalty/{user_id} - Apply a loyalty coupon in a ShoppingCart
@@ -857,7 +866,7 @@ var ServiceClient = /** @class */ (function (_super) {
857
866
  * @param options - additional request options
858
867
  */
859
868
  ServiceClient.prototype.put_shoppingcart_cart_loyalty = function (id, user_id, body, options) {
860
- return this.request("shoppingcart", "put_shoppingcart_cart_loyalty", "put", "/shoppingcart/" + id + "/loyalty/" + user_id, body, options);
869
+ return this.request("shoppingcart", "put_shoppingcart_cart_loyalty", "put", "/shoppingcart/".concat(id, "/loyalty/").concat(user_id), body, options);
861
870
  };
862
871
  /**
863
872
  * DELETE /shoppingcart/{id}/loyalty/{user_id} - Delete loyalty coupon in shoppingCart
@@ -867,7 +876,7 @@ var ServiceClient = /** @class */ (function (_super) {
867
876
  * @param options - additional request options
868
877
  */
869
878
  ServiceClient.prototype.delete_shoppingcart_cart_loyalty = function (id, user_id, options) {
870
- return this.request("shoppingcart", "delete_shoppingcart_cart_loyalty", "delete", "/shoppingcart/" + id + "/loyalty/" + user_id, null, options);
879
+ return this.request("shoppingcart", "delete_shoppingcart_cart_loyalty", "delete", "/shoppingcart/".concat(id, "/loyalty/").concat(user_id), null, options);
871
880
  };
872
881
  /**
873
882
  * POST /shoppingcart/{id}/clone - Create a shopping cart from existing shopping cart
@@ -877,7 +886,7 @@ var ServiceClient = /** @class */ (function (_super) {
877
886
  * @param options - additional request options
878
887
  */
879
888
  ServiceClient.prototype.post_shoppingcart_clone_cart = function (id, body, options) {
880
- return this.request("shoppingcart", "post_shoppingcart_clone_cart", "post", "/shoppingcart/" + id + "/clone", body, options);
889
+ return this.request("shoppingcart", "post_shoppingcart_clone_cart", "post", "/shoppingcart/".concat(id, "/clone"), body, options);
881
890
  };
882
891
  /**
883
892
  * POST /shoppingcart/bulk - Get multiple ShoppingCarts
@@ -937,7 +946,7 @@ var ServiceClient = /** @class */ (function (_super) {
937
946
  * @param options - additional request options
938
947
  */
939
948
  ServiceClient.prototype.get_partner_coolr_images = function (id, options) {
940
- return this.request("partner", "get_partner_coolr_images", "get", "/partner/coolr/" + id + "/images", null, options);
949
+ return this.request("partner", "get_partner_coolr_images", "get", "/partner/coolr/".concat(id, "/images"), null, options);
941
950
  };
942
951
  /**
943
952
  * GET /partner/swagger.json
@@ -972,7 +981,7 @@ var ServiceClient = /** @class */ (function (_super) {
972
981
  * @param options - additional request options
973
982
  */
974
983
  ServiceClient.prototype.get_task = function (id, options) {
975
- return this.request("task", "get_task", "get", "/task/" + id, null, options);
984
+ return this.request("task", "get_task", "get", "/task/".concat(id), null, options);
976
985
  };
977
986
  /**
978
987
  * PATCH /task/{id} - Update Task
@@ -982,7 +991,7 @@ var ServiceClient = /** @class */ (function (_super) {
982
991
  * @param options - additional request options
983
992
  */
984
993
  ServiceClient.prototype.patch_task = function (id, body, options) {
985
- return this.request("task", "patch_task", "patch", "/task/" + id, body, options);
994
+ return this.request("task", "patch_task", "patch", "/task/".concat(id), body, options);
986
995
  };
987
996
  /**
988
997
  * DELETE /task/{id} - Delete Task
@@ -991,7 +1000,7 @@ var ServiceClient = /** @class */ (function (_super) {
991
1000
  * @param options - additional request options
992
1001
  */
993
1002
  ServiceClient.prototype.delete_task = function (id, options) {
994
- return this.request("task", "delete_task", "delete", "/task/" + id, null, options);
1003
+ return this.request("task", "delete_task", "delete", "/task/".concat(id), null, options);
995
1004
  };
996
1005
  /**
997
1006
  * GET /task/order/{id} - Get task based on passed order ID
@@ -1000,7 +1009,7 @@ var ServiceClient = /** @class */ (function (_super) {
1000
1009
  * @param options - additional request options
1001
1010
  */
1002
1011
  ServiceClient.prototype.get_task_order = function (id, options) {
1003
- return this.request("task", "get_task_order", "get", "/task/order/" + id, null, options);
1012
+ return this.request("task", "get_task_order", "get", "/task/order/".concat(id), null, options);
1004
1013
  };
1005
1014
  /**
1006
1015
  * GET /task/order/{id}/kds - Get KDS tasks based on passed order ID
@@ -1009,7 +1018,7 @@ var ServiceClient = /** @class */ (function (_super) {
1009
1018
  * @param options - additional request options
1010
1019
  */
1011
1020
  ServiceClient.prototype.get_task_order_kds = function (id, options) {
1012
- return this.request("task", "get_task_order_kds", "get", "/task/order/" + id + "/kds", null, options);
1021
+ return this.request("task", "get_task_order_kds", "get", "/task/order/".concat(id, "/kds"), null, options);
1013
1022
  };
1014
1023
  /**
1015
1024
  * PATCH /task/order/{id}/kds - Update an order and its associated tasks
@@ -1019,7 +1028,7 @@ var ServiceClient = /** @class */ (function (_super) {
1019
1028
  * @param options - additional request options
1020
1029
  */
1021
1030
  ServiceClient.prototype.patch_task_order_kds = function (id, body, options) {
1022
- return this.request("task", "patch_task_order_kds", "patch", "/task/order/" + id + "/kds", body, options);
1031
+ return this.request("task", "patch_task_order_kds", "patch", "/task/order/".concat(id, "/kds"), body, options);
1023
1032
  };
1024
1033
  /**
1025
1034
  * GET /task/assignee/{id} - Get Assignee tasks
@@ -1028,7 +1037,7 @@ var ServiceClient = /** @class */ (function (_super) {
1028
1037
  * @param options - additional request options
1029
1038
  */
1030
1039
  ServiceClient.prototype.get_task_assignee = function (id, options) {
1031
- return this.request("task", "get_task_assignee", "get", "/task/assignee/" + id, null, options);
1040
+ return this.request("task", "get_task_assignee", "get", "/task/assignee/".concat(id), null, options);
1032
1041
  };
1033
1042
  /**
1034
1043
  * GET /task/location/brand/{id} - Get location brand tasks
@@ -1037,7 +1046,7 @@ var ServiceClient = /** @class */ (function (_super) {
1037
1046
  * @param options - additional request options
1038
1047
  */
1039
1048
  ServiceClient.prototype.get_task_location_brand = function (id, options) {
1040
- return this.request("task", "get_task_location_brand", "get", "/task/location/brand/" + id, null, options);
1049
+ return this.request("task", "get_task_location_brand", "get", "/task/location/brand/".concat(id), null, options);
1041
1050
  };
1042
1051
  /**
1043
1052
  * GET /task/location/group/{id} - Get location group tasks
@@ -1046,7 +1055,7 @@ var ServiceClient = /** @class */ (function (_super) {
1046
1055
  * @param options - additional request options
1047
1056
  */
1048
1057
  ServiceClient.prototype.get_task_location_group = function (id, options) {
1049
- return this.request("task", "get_task_location_group", "get", "/task/location/group/" + id, null, options);
1058
+ return this.request("task", "get_task_location_group", "get", "/task/location/group/".concat(id), null, options);
1050
1059
  };
1051
1060
  /**
1052
1061
  * GET /kds/devices - Get kds devices for a specified unit number
@@ -1072,7 +1081,7 @@ var ServiceClient = /** @class */ (function (_super) {
1072
1081
  * @param options - additional request options
1073
1082
  */
1074
1083
  ServiceClient.prototype.delete_kds_device_auth = function (device_id, options) {
1075
- return this.request("kds", "delete_kds_device_auth", "delete", "/kds/device/auth/" + device_id, null, options);
1084
+ return this.request("kds", "delete_kds_device_auth", "delete", "/kds/device/auth/".concat(device_id), null, options);
1076
1085
  };
1077
1086
  /**
1078
1087
  * GET /kds/swagger.json - Get a swagger for kds service
@@ -1090,7 +1099,7 @@ var ServiceClient = /** @class */ (function (_super) {
1090
1099
  * @param options - additional request options
1091
1100
  */
1092
1101
  ServiceClient.prototype.post_mealplan = function (id, body, options) {
1093
- return this.request("mealplan", "post_mealplan", "post", "/mealplan/" + id, body, options);
1102
+ return this.request("mealplan", "post_mealplan", "post", "/mealplan/".concat(id), body, options);
1094
1103
  };
1095
1104
  /**
1096
1105
  * PUT /mealplan/{id} - Save a token for access to the meal plan
@@ -1100,7 +1109,7 @@ var ServiceClient = /** @class */ (function (_super) {
1100
1109
  * @param options - additional request options
1101
1110
  */
1102
1111
  ServiceClient.prototype.put_mealplan = function (id, body, options) {
1103
- return this.request("mealplan", "put_mealplan", "put", "/mealplan/" + id, body, options);
1112
+ return this.request("mealplan", "put_mealplan", "put", "/mealplan/".concat(id), body, options);
1104
1113
  };
1105
1114
  /**
1106
1115
  * GET /mealplan/{id} - Check the user's meal plan tenders and get the authentication configuration
@@ -1109,7 +1118,7 @@ var ServiceClient = /** @class */ (function (_super) {
1109
1118
  * @param options - additional request options
1110
1119
  */
1111
1120
  ServiceClient.prototype.get_mealplan = function (id, options) {
1112
- return this.request("mealplan", "get_mealplan", "get", "/mealplan/" + id, null, options);
1121
+ return this.request("mealplan", "get_mealplan", "get", "/mealplan/".concat(id), null, options);
1113
1122
  };
1114
1123
  /**
1115
1124
  * DELETE /mealplan/{id} - Delete a mealplan or a tender from the user's account
@@ -1119,7 +1128,7 @@ var ServiceClient = /** @class */ (function (_super) {
1119
1128
  * @param options - additional request options
1120
1129
  */
1121
1130
  ServiceClient.prototype.delete_mealplan = function (id, body, options) {
1122
- return this.request("mealplan", "delete_mealplan", "delete", "/mealplan/" + id, body, options);
1131
+ return this.request("mealplan", "delete_mealplan", "delete", "/mealplan/".concat(id), body, options);
1123
1132
  };
1124
1133
  /**
1125
1134
  * POST /mealplan/{id}/callback - Callback endpoint for meal plans that make a call back from a webview workflow
@@ -1128,7 +1137,7 @@ var ServiceClient = /** @class */ (function (_super) {
1128
1137
  * @param options - additional request options
1129
1138
  */
1130
1139
  ServiceClient.prototype.post_mealplan_callback = function (id, options) {
1131
- return this.request("mealplan", "post_mealplan_callback", "post", "/mealplan/" + id + "/callback", null, options);
1140
+ return this.request("mealplan", "post_mealplan_callback", "post", "/mealplan/".concat(id, "/callback"), null, options);
1132
1141
  };
1133
1142
  /**
1134
1143
  * GET /mealplan/{id}/tender/{tender} - Check the user's tender balance
@@ -1138,7 +1147,7 @@ var ServiceClient = /** @class */ (function (_super) {
1138
1147
  * @param options - additional request options
1139
1148
  */
1140
1149
  ServiceClient.prototype.get_mealplan_tender = function (id, tender, options) {
1141
- return this.request("mealplan", "get_mealplan_tender", "get", "/mealplan/" + id + "/tender/" + tender, null, options);
1150
+ return this.request("mealplan", "get_mealplan_tender", "get", "/mealplan/".concat(id, "/tender/").concat(tender), null, options);
1142
1151
  };
1143
1152
  /**
1144
1153
  * DELETE /mealplan/{id}/tender/{tender} - Debit an amount from the tender balance
@@ -1148,7 +1157,7 @@ var ServiceClient = /** @class */ (function (_super) {
1148
1157
  * @param options - additional request options
1149
1158
  */
1150
1159
  ServiceClient.prototype.delete_mealplan_tender = function (id, tender, options) {
1151
- return this.request("mealplan", "delete_mealplan_tender", "delete", "/mealplan/" + id + "/tender/" + tender, null, options);
1160
+ return this.request("mealplan", "delete_mealplan_tender", "delete", "/mealplan/".concat(id, "/tender/").concat(tender), null, options);
1152
1161
  };
1153
1162
  /**
1154
1163
  * PATCH /mealplan/{id}/tender/{tender} - Refund an amount to the tender balance
@@ -1159,7 +1168,7 @@ var ServiceClient = /** @class */ (function (_super) {
1159
1168
  * @param options - additional request options
1160
1169
  */
1161
1170
  ServiceClient.prototype.patch_mealplan_tender = function (id, tender, body, options) {
1162
- return this.request("mealplan", "patch_mealplan_tender", "patch", "/mealplan/" + id + "/tender/" + tender, body, options);
1171
+ return this.request("mealplan", "patch_mealplan_tender", "patch", "/mealplan/".concat(id, "/tender/").concat(tender), body, options);
1163
1172
  };
1164
1173
  /**
1165
1174
  * POST /mealplan/{id}/verify - Send verification email to user linking a mealplan
@@ -1169,7 +1178,7 @@ var ServiceClient = /** @class */ (function (_super) {
1169
1178
  * @param options - additional request options
1170
1179
  */
1171
1180
  ServiceClient.prototype.post_mealplan_verify = function (id, body, options) {
1172
- return this.request("mealplan", "post_mealplan_verify", "post", "/mealplan/" + id + "/verify", body, options);
1181
+ return this.request("mealplan", "post_mealplan_verify", "post", "/mealplan/".concat(id, "/verify"), body, options);
1173
1182
  };
1174
1183
  /**
1175
1184
  * PUT /mealplan/{id}/verify - Verify email address using provided payload
@@ -1179,7 +1188,7 @@ var ServiceClient = /** @class */ (function (_super) {
1179
1188
  * @param options - additional request options
1180
1189
  */
1181
1190
  ServiceClient.prototype.put_mealplan_verify = function (id, body, options) {
1182
- return this.request("mealplan", "put_mealplan_verify", "put", "/mealplan/" + id + "/verify", body, options);
1191
+ return this.request("mealplan", "put_mealplan_verify", "put", "/mealplan/".concat(id, "/verify"), body, options);
1183
1192
  };
1184
1193
  /**
1185
1194
  * POST /mealplan/{id}/authorize - Authorize Transaction
@@ -1189,7 +1198,7 @@ var ServiceClient = /** @class */ (function (_super) {
1189
1198
  * @param options - additional request options
1190
1199
  */
1191
1200
  ServiceClient.prototype.post_mealplan_authorize = function (id, body, options) {
1192
- return this.request("mealplan", "post_mealplan_authorize", "post", "/mealplan/" + id + "/authorize", body, options);
1201
+ return this.request("mealplan", "post_mealplan_authorize", "post", "/mealplan/".concat(id, "/authorize"), body, options);
1193
1202
  };
1194
1203
  /**
1195
1204
  * POST /datalake/sql - Query datalake for data
@@ -1232,7 +1241,7 @@ var ServiceClient = /** @class */ (function (_super) {
1232
1241
  * @param options - additional request options
1233
1242
  */
1234
1243
  ServiceClient.prototype.get_promo = function (id, options) {
1235
- return this.request("promo", "get_promo", "get", "/promo/" + id, null, options);
1244
+ return this.request("promo", "get_promo", "get", "/promo/".concat(id), null, options);
1236
1245
  };
1237
1246
  /**
1238
1247
  * PUT /promo/{id} - Update a promotion
@@ -1242,7 +1251,7 @@ var ServiceClient = /** @class */ (function (_super) {
1242
1251
  * @param options - additional request options
1243
1252
  */
1244
1253
  ServiceClient.prototype.put_promo = function (id, body, options) {
1245
- return this.request("promo", "put_promo", "put", "/promo/" + id, body, options);
1254
+ return this.request("promo", "put_promo", "put", "/promo/".concat(id), body, options);
1246
1255
  };
1247
1256
  /**
1248
1257
  * DELETE /promo/{id} - Delete promotion
@@ -1251,7 +1260,7 @@ var ServiceClient = /** @class */ (function (_super) {
1251
1260
  * @param options - additional request options
1252
1261
  */
1253
1262
  ServiceClient.prototype.delete_promo = function (id, options) {
1254
- return this.request("promo", "delete_promo", "delete", "/promo/" + id, null, options);
1263
+ return this.request("promo", "delete_promo", "delete", "/promo/".concat(id), null, options);
1255
1264
  };
1256
1265
  /**
1257
1266
  * GET /promo/company/{company}/location/group/{location_group} - Get all promotions within company for a location group
@@ -1261,7 +1270,7 @@ var ServiceClient = /** @class */ (function (_super) {
1261
1270
  * @param options - additional request options
1262
1271
  */
1263
1272
  ServiceClient.prototype.get_promo_company_location_group = function (company, location_group, options) {
1264
- return this.request("promo", "get_promo_company_location_group", "get", "/promo/company/" + company + "/location/group/" + location_group, null, options);
1273
+ return this.request("promo", "get_promo_company_location_group", "get", "/promo/company/".concat(company, "/location/group/").concat(location_group), null, options);
1265
1274
  };
1266
1275
  /**
1267
1276
  * POST /promo/validate/voucher - Validate a promo voucher
@@ -1298,7 +1307,7 @@ var ServiceClient = /** @class */ (function (_super) {
1298
1307
  * @param options - additional request options
1299
1308
  */
1300
1309
  ServiceClient.prototype.put_promo_voucher = function (id, body, options) {
1301
- return this.request("promo", "put_promo_voucher", "put", "/promo/voucher/" + id, body, options);
1310
+ return this.request("promo", "put_promo_voucher", "put", "/promo/voucher/".concat(id), body, options);
1302
1311
  };
1303
1312
  /**
1304
1313
  * DELETE /promo/voucher/{id} - Delete voucher
@@ -1307,7 +1316,7 @@ var ServiceClient = /** @class */ (function (_super) {
1307
1316
  * @param options - additional request options
1308
1317
  */
1309
1318
  ServiceClient.prototype.delete_promo_voucher = function (id, options) {
1310
- return this.request("promo", "delete_promo_voucher", "delete", "/promo/voucher/" + id, null, options);
1319
+ return this.request("promo", "delete_promo_voucher", "delete", "/promo/voucher/".concat(id), null, options);
1311
1320
  };
1312
1321
  /**
1313
1322
  * POST /promo/customer/ - Add user to voucherify
@@ -1335,7 +1344,7 @@ var ServiceClient = /** @class */ (function (_super) {
1335
1344
  * @param options - additional request options
1336
1345
  */
1337
1346
  ServiceClient.prototype.post_promo_voucher_reverse = function (id, body, options) {
1338
- return this.request("promo", "post_promo_voucher_reverse", "post", "/promo/voucher/" + id + "/reverse", body, options);
1347
+ return this.request("promo", "post_promo_voucher_reverse", "post", "/promo/voucher/".concat(id, "/reverse"), body, options);
1339
1348
  };
1340
1349
  /**
1341
1350
  * POST /promo/voucherify/activity/execute - Execute a Journey custom Activity request
@@ -1369,7 +1378,7 @@ var ServiceClient = /** @class */ (function (_super) {
1369
1378
  * @param options - additional request options
1370
1379
  */
1371
1380
  ServiceClient.prototype.get_config = function (key, options) {
1372
- return this.request("config", "get_config", "get", "/config/" + key, null, options);
1381
+ return this.request("config", "get_config", "get", "/config/".concat(key), null, options);
1373
1382
  };
1374
1383
  /**
1375
1384
  * POST /config/{key} - Create a configuration
@@ -1379,7 +1388,7 @@ var ServiceClient = /** @class */ (function (_super) {
1379
1388
  * @param options - additional request options
1380
1389
  */
1381
1390
  ServiceClient.prototype.post_config = function (key, body, options) {
1382
- return this.request("config", "post_config", "post", "/config/" + key, body, options);
1391
+ return this.request("config", "post_config", "post", "/config/".concat(key), body, options);
1383
1392
  };
1384
1393
  /**
1385
1394
  * PUT /config/{key} - Update a configuration
@@ -1389,7 +1398,7 @@ var ServiceClient = /** @class */ (function (_super) {
1389
1398
  * @param options - additional request options
1390
1399
  */
1391
1400
  ServiceClient.prototype.put_config = function (key, body, options) {
1392
- return this.request("config", "put_config", "put", "/config/" + key, body, options);
1401
+ return this.request("config", "put_config", "put", "/config/".concat(key), body, options);
1393
1402
  };
1394
1403
  /**
1395
1404
  * DELETE /config/{key} - Delete a configuration
@@ -1398,7 +1407,7 @@ var ServiceClient = /** @class */ (function (_super) {
1398
1407
  * @param options - additional request options
1399
1408
  */
1400
1409
  ServiceClient.prototype.delete_config = function (key, options) {
1401
- return this.request("config", "delete_config", "delete", "/config/" + key, null, options);
1410
+ return this.request("config", "delete_config", "delete", "/config/".concat(key), null, options);
1402
1411
  };
1403
1412
  /**
1404
1413
  * GET /config/public/{key} - get a public configuration
@@ -1407,7 +1416,7 @@ var ServiceClient = /** @class */ (function (_super) {
1407
1416
  * @param options - additional request options
1408
1417
  */
1409
1418
  ServiceClient.prototype.get_config_public = function (key, options) {
1410
- return this.request("config", "get_config_public", "get", "/config/public/" + key, null, options);
1419
+ return this.request("config", "get_config_public", "get", "/config/public/".concat(key), null, options);
1411
1420
  };
1412
1421
  /**
1413
1422
  * POST /config/public/{key} - Create a public configuration
@@ -1417,7 +1426,7 @@ var ServiceClient = /** @class */ (function (_super) {
1417
1426
  * @param options - additional request options
1418
1427
  */
1419
1428
  ServiceClient.prototype.post_config_public = function (key, body, options) {
1420
- return this.request("config", "post_config_public", "post", "/config/public/" + key, body, options);
1429
+ return this.request("config", "post_config_public", "post", "/config/public/".concat(key), body, options);
1421
1430
  };
1422
1431
  /**
1423
1432
  * PUT /config/public/{key} - Update a public configuration
@@ -1427,7 +1436,7 @@ var ServiceClient = /** @class */ (function (_super) {
1427
1436
  * @param options - additional request options
1428
1437
  */
1429
1438
  ServiceClient.prototype.put_config_public = function (key, body, options) {
1430
- return this.request("config", "put_config_public", "put", "/config/public/" + key, body, options);
1439
+ return this.request("config", "put_config_public", "put", "/config/public/".concat(key), body, options);
1431
1440
  };
1432
1441
  /**
1433
1442
  * DELETE /config/public/{key} - Delete a public configuration
@@ -1436,7 +1445,7 @@ var ServiceClient = /** @class */ (function (_super) {
1436
1445
  * @param options - additional request options
1437
1446
  */
1438
1447
  ServiceClient.prototype.delete_config_public = function (key, options) {
1439
- return this.request("config", "delete_config_public", "delete", "/config/public/" + key, null, options);
1448
+ return this.request("config", "delete_config_public", "delete", "/config/public/".concat(key), null, options);
1440
1449
  };
1441
1450
  /**
1442
1451
  * POST /announcement - Create Announcement
@@ -1454,7 +1463,7 @@ var ServiceClient = /** @class */ (function (_super) {
1454
1463
  * @param options - additional request options
1455
1464
  */
1456
1465
  ServiceClient.prototype.get_announcement_resource = function (id, options) {
1457
- return this.request("announcement", "get_announcement_resource", "get", "/announcement/resource/" + id, null, options);
1466
+ return this.request("announcement", "get_announcement_resource", "get", "/announcement/resource/".concat(id), null, options);
1458
1467
  };
1459
1468
  /**
1460
1469
  * GET /announcement/resource - Get Announcements
@@ -1471,7 +1480,7 @@ var ServiceClient = /** @class */ (function (_super) {
1471
1480
  * @param options - additional request options
1472
1481
  */
1473
1482
  ServiceClient.prototype.get_announcement = function (id, options) {
1474
- return this.request("announcement", "get_announcement", "get", "/announcement/" + id, null, options);
1483
+ return this.request("announcement", "get_announcement", "get", "/announcement/".concat(id), null, options);
1475
1484
  };
1476
1485
  /**
1477
1486
  * PUT /announcement/{id} - Update Announcement
@@ -1481,7 +1490,7 @@ var ServiceClient = /** @class */ (function (_super) {
1481
1490
  * @param options - additional request options
1482
1491
  */
1483
1492
  ServiceClient.prototype.put_announcement = function (id, body, options) {
1484
- return this.request("announcement", "put_announcement", "put", "/announcement/" + id, body, options);
1493
+ return this.request("announcement", "put_announcement", "put", "/announcement/".concat(id), body, options);
1485
1494
  };
1486
1495
  /**
1487
1496
  * DELETE /announcement/{id} - Delete announcement item
@@ -1490,7 +1499,7 @@ var ServiceClient = /** @class */ (function (_super) {
1490
1499
  * @param options - additional request options
1491
1500
  */
1492
1501
  ServiceClient.prototype.delete_announcement = function (id, options) {
1493
- return this.request("announcement", "delete_announcement", "delete", "/announcement/" + id, null, options);
1502
+ return this.request("announcement", "delete_announcement", "delete", "/announcement/".concat(id), null, options);
1494
1503
  };
1495
1504
  /**
1496
1505
  * GET /report/analytics/group/{location_group}/{report_type}
@@ -1500,7 +1509,7 @@ var ServiceClient = /** @class */ (function (_super) {
1500
1509
  * @param options - additional request options
1501
1510
  */
1502
1511
  ServiceClient.prototype.get_report_analytics_group = function (location_group, report_type, options) {
1503
- return this.request("report", "get_report_analytics_group", "get", "/report/analytics/group/" + location_group + "/" + report_type, null, options);
1512
+ return this.request("report", "get_report_analytics_group", "get", "/report/analytics/group/".concat(location_group, "/").concat(report_type), null, options);
1504
1513
  };
1505
1514
  /**
1506
1515
  * GET /report/analytics/combined/group/{location_group}
@@ -1509,7 +1518,7 @@ var ServiceClient = /** @class */ (function (_super) {
1509
1518
  * @param options - additional request options
1510
1519
  */
1511
1520
  ServiceClient.prototype.get_report_analytics_combined_group = function (location_group, options) {
1512
- return this.request("report", "get_report_analytics_combined_group", "get", "/report/analytics/combined/group/" + location_group, null, options);
1521
+ return this.request("report", "get_report_analytics_combined_group", "get", "/report/analytics/combined/group/".concat(location_group), null, options);
1513
1522
  };
1514
1523
  /**
1515
1524
  * GET /report/analytics/exactmobile/totals
@@ -1542,7 +1551,7 @@ var ServiceClient = /** @class */ (function (_super) {
1542
1551
  * @param options - additional request options
1543
1552
  */
1544
1553
  ServiceClient.prototype.get_report_analytics_tracker_report = function (id, options) {
1545
- return this.request("report", "get_report_analytics_tracker_report", "get", "/report/analytics/tracker/report/" + id, null, options);
1554
+ return this.request("report", "get_report_analytics_tracker_report", "get", "/report/analytics/tracker/report/".concat(id), null, options);
1546
1555
  };
1547
1556
  /**
1548
1557
  * GET /report/eod/group/{id} - Get reports for selected location group
@@ -1551,7 +1560,7 @@ var ServiceClient = /** @class */ (function (_super) {
1551
1560
  * @param options - additional request options
1552
1561
  */
1553
1562
  ServiceClient.prototype.get_report_eod_group = function (id, options) {
1554
- return this.request("report", "get_report_eod_group", "get", "/report/eod/group/" + id, null, options);
1563
+ return this.request("report", "get_report_eod_group", "get", "/report/eod/group/".concat(id), null, options);
1555
1564
  };
1556
1565
  /**
1557
1566
  * GET /report/eod/group/{id}/subscribers - Get reports for selected location group
@@ -1560,7 +1569,7 @@ var ServiceClient = /** @class */ (function (_super) {
1560
1569
  * @param options - additional request options
1561
1570
  */
1562
1571
  ServiceClient.prototype.get_report_eod_group_subscribers = function (id, options) {
1563
- return this.request("report", "get_report_eod_group_subscribers", "get", "/report/eod/group/" + id + "/subscribers", null, options);
1572
+ return this.request("report", "get_report_eod_group_subscribers", "get", "/report/eod/group/".concat(id, "/subscribers"), null, options);
1564
1573
  };
1565
1574
  /**
1566
1575
  * POST /report/eod/group/{id}/subscribers - Add emails to selected location group
@@ -1570,7 +1579,7 @@ var ServiceClient = /** @class */ (function (_super) {
1570
1579
  * @param options - additional request options
1571
1580
  */
1572
1581
  ServiceClient.prototype.post_report_eod_group_subscribers = function (id, body, options) {
1573
- return this.request("report", "post_report_eod_group_subscribers", "post", "/report/eod/group/" + id + "/subscribers", body, options);
1582
+ return this.request("report", "post_report_eod_group_subscribers", "post", "/report/eod/group/".concat(id, "/subscribers"), body, options);
1574
1583
  };
1575
1584
  /**
1576
1585
  * DELETE /report/eod/group/{id}/subscribers - deletes subscribers from selected group
@@ -1579,7 +1588,7 @@ var ServiceClient = /** @class */ (function (_super) {
1579
1588
  * @param options - additional request options
1580
1589
  */
1581
1590
  ServiceClient.prototype.delete_report_eod_group_subscribers = function (id, options) {
1582
- return this.request("report", "delete_report_eod_group_subscribers", "delete", "/report/eod/group/" + id + "/subscribers", null, options);
1591
+ return this.request("report", "delete_report_eod_group_subscribers", "delete", "/report/eod/group/".concat(id, "/subscribers"), null, options);
1583
1592
  };
1584
1593
  /**
1585
1594
  * PUT /report/eod/group/{id}/subscribers - replace all subscribers from selected location group with payload
@@ -1589,7 +1598,7 @@ var ServiceClient = /** @class */ (function (_super) {
1589
1598
  * @param options - additional request options
1590
1599
  */
1591
1600
  ServiceClient.prototype.put_report_eod_group_subscribers = function (id, body, options) {
1592
- return this.request("report", "put_report_eod_group_subscribers", "put", "/report/eod/group/" + id + "/subscribers", body, options);
1601
+ return this.request("report", "put_report_eod_group_subscribers", "put", "/report/eod/group/".concat(id, "/subscribers"), body, options);
1593
1602
  };
1594
1603
  /**
1595
1604
  * GET /report/discrepancy/subscribers - Get subscribers for discrepency widget
@@ -1657,7 +1666,7 @@ var ServiceClient = /** @class */ (function (_super) {
1657
1666
  * @param options - additional request options
1658
1667
  */
1659
1668
  ServiceClient.prototype.get_user = function (id, options) {
1660
- return this.request("user", "get_user", "get", "/user/" + id, null, options);
1669
+ return this.request("user", "get_user", "get", "/user/".concat(id), null, options);
1661
1670
  };
1662
1671
  /**
1663
1672
  * PUT /user/{id} - Update an individual user
@@ -1667,7 +1676,7 @@ var ServiceClient = /** @class */ (function (_super) {
1667
1676
  * @param options - additional request options
1668
1677
  */
1669
1678
  ServiceClient.prototype.put_user = function (id, body, options) {
1670
- return this.request("user", "put_user", "put", "/user/" + id, body, options);
1679
+ return this.request("user", "put_user", "put", "/user/".concat(id), body, options);
1671
1680
  };
1672
1681
  /**
1673
1682
  * PATCH /user/{id} - Update an individual user
@@ -1677,7 +1686,7 @@ var ServiceClient = /** @class */ (function (_super) {
1677
1686
  * @param options - additional request options
1678
1687
  */
1679
1688
  ServiceClient.prototype.patch_user = function (id, body, options) {
1680
- return this.request("user", "patch_user", "patch", "/user/" + id, body, options);
1689
+ return this.request("user", "patch_user", "patch", "/user/".concat(id), body, options);
1681
1690
  };
1682
1691
  /**
1683
1692
  * DELETE /user/{id} - delete an individual user
@@ -1686,7 +1695,7 @@ var ServiceClient = /** @class */ (function (_super) {
1686
1695
  * @param options - additional request options
1687
1696
  */
1688
1697
  ServiceClient.prototype.delete_user = function (id, options) {
1689
- return this.request("user", "delete_user", "delete", "/user/" + id, null, options);
1698
+ return this.request("user", "delete_user", "delete", "/user/".concat(id), null, options);
1690
1699
  };
1691
1700
  /**
1692
1701
  * POST /user/device/auth - Endpoint for generating/retrieving KDS device token
@@ -1712,7 +1721,7 @@ var ServiceClient = /** @class */ (function (_super) {
1712
1721
  * @param options - additional request options
1713
1722
  */
1714
1723
  ServiceClient.prototype.delete_user_device_auth = function (device_id, options) {
1715
- return this.request("user", "delete_user_device_auth", "delete", "/user/device/auth/" + device_id, null, options);
1724
+ return this.request("user", "delete_user_device_auth", "delete", "/user/device/auth/".concat(device_id), null, options);
1716
1725
  };
1717
1726
  /**
1718
1727
  * PATCH /user/device/auth/{device_id} - Endpoint for authorizing device to retrieve valid kds token
@@ -1722,7 +1731,7 @@ var ServiceClient = /** @class */ (function (_super) {
1722
1731
  * @param options - additional request options
1723
1732
  */
1724
1733
  ServiceClient.prototype.patch_user_auth_kds = function (device_id, body, options) {
1725
- return this.request("user", "patch_user_auth_kds", "patch", "/user/device/auth/" + device_id, body, options);
1734
+ return this.request("user", "patch_user_auth_kds", "patch", "/user/device/auth/".concat(device_id), body, options);
1726
1735
  };
1727
1736
  /**
1728
1737
  * POST /user/{id}/changepassword - Change the users password
@@ -1732,7 +1741,7 @@ var ServiceClient = /** @class */ (function (_super) {
1732
1741
  * @param options - additional request options
1733
1742
  */
1734
1743
  ServiceClient.prototype.post_user_change_password = function (id, body, options) {
1735
- return this.request("user", "post_user_change_password", "post", "/user/" + id + "/changepassword", body, options);
1744
+ return this.request("user", "post_user_change_password", "post", "/user/".concat(id, "/changepassword"), body, options);
1736
1745
  };
1737
1746
  /**
1738
1747
  * DELETE /user/logout - Logs out current user
@@ -1751,7 +1760,7 @@ var ServiceClient = /** @class */ (function (_super) {
1751
1760
  * @param options - additional request options
1752
1761
  */
1753
1762
  ServiceClient.prototype.post_user_add_secret = function (id, key, body, options) {
1754
- return this.request("user", "post_user_add_secret", "post", "/user/" + id + "/secret/" + key, body, options);
1763
+ return this.request("user", "post_user_add_secret", "post", "/user/".concat(id, "/secret/").concat(key), body, options);
1755
1764
  };
1756
1765
  /**
1757
1766
  * GET /user/{id}/secret/{key} - Get back a secret key
@@ -1761,7 +1770,7 @@ var ServiceClient = /** @class */ (function (_super) {
1761
1770
  * @param options - additional request options
1762
1771
  */
1763
1772
  ServiceClient.prototype.get_user_secret = function (id, key, options) {
1764
- return this.request("user", "get_user_secret", "get", "/user/" + id + "/secret/" + key, null, options);
1773
+ return this.request("user", "get_user_secret", "get", "/user/".concat(id, "/secret/").concat(key), null, options);
1765
1774
  };
1766
1775
  /**
1767
1776
  * POST /user/forgotpassword - Reset the users password
@@ -1780,7 +1789,7 @@ var ServiceClient = /** @class */ (function (_super) {
1780
1789
  * @param options - additional request options
1781
1790
  */
1782
1791
  ServiceClient.prototype.post_user_reset_password_token = function (id, body, options) {
1783
- return this.request("user", "post_user_reset_password_token", "post", "/user/" + id + "/resetpassword", body, options);
1792
+ return this.request("user", "post_user_reset_password_token", "post", "/user/".concat(id, "/resetpassword"), body, options);
1784
1793
  };
1785
1794
  /**
1786
1795
  * GET /user/realm/{realm} - Get all the users in a realm
@@ -1789,7 +1798,7 @@ var ServiceClient = /** @class */ (function (_super) {
1789
1798
  * @param options - additional request options
1790
1799
  */
1791
1800
  ServiceClient.prototype.get_user_realm_users = function (realm, options) {
1792
- return this.request("user", "get_user_realm_users", "get", "/user/realm/" + realm, null, options);
1801
+ return this.request("user", "get_user_realm_users", "get", "/user/realm/".concat(realm), null, options);
1793
1802
  };
1794
1803
  /**
1795
1804
  * GET /user/{id}/permissions - Get user permissions
@@ -1798,7 +1807,7 @@ var ServiceClient = /** @class */ (function (_super) {
1798
1807
  * @param options - additional request options
1799
1808
  */
1800
1809
  ServiceClient.prototype.get_user_permissions = function (id, options) {
1801
- return this.request("user", "get_user_permissions", "get", "/user/" + id + "/permissions", null, options);
1810
+ return this.request("user", "get_user_permissions", "get", "/user/".concat(id, "/permissions"), null, options);
1802
1811
  };
1803
1812
  /**
1804
1813
  * PUT /user/{id}/permissions - Update user permissions
@@ -1808,7 +1817,7 @@ var ServiceClient = /** @class */ (function (_super) {
1808
1817
  * @param options - additional request options
1809
1818
  */
1810
1819
  ServiceClient.prototype.put_user_permissions = function (id, body, options) {
1811
- return this.request("user", "put_user_permissions", "put", "/user/" + id + "/permissions", body, options);
1820
+ return this.request("user", "put_user_permissions", "put", "/user/".concat(id, "/permissions"), body, options);
1812
1821
  };
1813
1822
  /**
1814
1823
  * POST /user/{id}/checkin - Create check-in for user
@@ -1818,7 +1827,7 @@ var ServiceClient = /** @class */ (function (_super) {
1818
1827
  * @param options - additional request options
1819
1828
  */
1820
1829
  ServiceClient.prototype.post_user_check_in = function (id, body, options) {
1821
- return this.request("user", "post_user_check_in", "post", "/user/" + id + "/checkin", body, options);
1830
+ return this.request("user", "post_user_check_in", "post", "/user/".concat(id, "/checkin"), body, options);
1822
1831
  };
1823
1832
  /**
1824
1833
  * PATCH /user/{id}/checkin/{checkin_id} - Update check-in
@@ -1829,7 +1838,7 @@ var ServiceClient = /** @class */ (function (_super) {
1829
1838
  * @param options - additional request options
1830
1839
  */
1831
1840
  ServiceClient.prototype.patch_user_checkin = function (id, checkin_id, body, options) {
1832
- return this.request("user", "patch_user_checkin", "patch", "/user/" + id + "/checkin/" + checkin_id, body, options);
1841
+ return this.request("user", "patch_user_checkin", "patch", "/user/".concat(id, "/checkin/").concat(checkin_id), body, options);
1833
1842
  };
1834
1843
  /**
1835
1844
  * GET /user/checkin/search - Search check-in
@@ -1846,7 +1855,7 @@ var ServiceClient = /** @class */ (function (_super) {
1846
1855
  * @param options - additional request options
1847
1856
  */
1848
1857
  ServiceClient.prototype.post_user_send_email_verification = function (id, options) {
1849
- return this.request("user", "post_user_send_email_verification", "post", "/user/" + id + "/verification", null, options);
1858
+ return this.request("user", "post_user_send_email_verification", "post", "/user/".concat(id, "/verification"), null, options);
1850
1859
  };
1851
1860
  /**
1852
1861
  * PUT /user/{id}/verification/confirm - Verify a users email
@@ -1856,17 +1865,27 @@ var ServiceClient = /** @class */ (function (_super) {
1856
1865
  * @param options - additional request options
1857
1866
  */
1858
1867
  ServiceClient.prototype.put_user_verify_user_email = function (id, body, options) {
1859
- return this.request("user", "put_user_verify_user_email", "put", "/user/" + id + "/verification/confirm", body, options);
1868
+ return this.request("user", "put_user_verify_user_email", "put", "/user/".concat(id, "/verification/confirm"), body, options);
1869
+ };
1870
+ /**
1871
+ * POST /user/{id}/verification/phone - Send phone verification to user
1872
+ *
1873
+ * @param id - realm
1874
+ * @param body - User phone number to be verified
1875
+ * @param options - additional request options
1876
+ */
1877
+ ServiceClient.prototype.post_user_verification_phone = function (id, body, options) {
1878
+ return this.request("user", "post_user_verification_phone", "post", "/user/".concat(id, "/verification/phone"), body, options);
1860
1879
  };
1861
1880
  /**
1862
- * PUT /user/{id}/verification/phone - Send phone verification to user
1881
+ * PUT /user/{id}/verification/phone - Attempt phone verification for user
1863
1882
  *
1864
1883
  * @param id - realm
1865
1884
  * @param body
1866
1885
  * @param options - additional request options
1867
1886
  */
1868
1887
  ServiceClient.prototype.put_user_verification_phone = function (id, body, options) {
1869
- return this.request("user", "put_user_verification_phone", "put", "/user/" + id + "/verification/phone", body, options);
1888
+ return this.request("user", "put_user_verification_phone", "put", "/user/".concat(id, "/verification/phone"), body, options);
1870
1889
  };
1871
1890
  /**
1872
1891
  * POST /loyalty/{id}/enroll/{user_id} - Enroll logged in user in Loyalty program
@@ -1876,7 +1895,7 @@ var ServiceClient = /** @class */ (function (_super) {
1876
1895
  * @param options - additional request options
1877
1896
  */
1878
1897
  ServiceClient.prototype.post_loyalty_enroll = function (id, user_id, options) {
1879
- return this.request("loyalty", "post_loyalty_enroll", "post", "/loyalty/" + id + "/enroll/" + user_id, null, options);
1898
+ return this.request("loyalty", "post_loyalty_enroll", "post", "/loyalty/".concat(id, "/enroll/").concat(user_id), null, options);
1880
1899
  };
1881
1900
  /**
1882
1901
  * GET /loyalty/{id}/points - Get potential points user could earn from certain event in Loyalty program
@@ -1885,7 +1904,7 @@ var ServiceClient = /** @class */ (function (_super) {
1885
1904
  * @param options - additional request options
1886
1905
  */
1887
1906
  ServiceClient.prototype.get_loyalty_points = function (id, options) {
1888
- return this.request("loyalty", "get_loyalty_points", "get", "/loyalty/" + id + "/points", null, options);
1907
+ return this.request("loyalty", "get_loyalty_points", "get", "/loyalty/".concat(id, "/points"), null, options);
1889
1908
  };
1890
1909
  /**
1891
1910
  * GET /loyalty/{id}/offers/{user_id} - Get offers for the logged in user
@@ -1895,7 +1914,7 @@ var ServiceClient = /** @class */ (function (_super) {
1895
1914
  * @param options - additional request options
1896
1915
  */
1897
1916
  ServiceClient.prototype.get_loyalty_offers = function (id, user_id, options) {
1898
- return this.request("loyalty", "get_loyalty_offers", "get", "/loyalty/" + id + "/offers/" + user_id, null, options);
1917
+ return this.request("loyalty", "get_loyalty_offers", "get", "/loyalty/".concat(id, "/offers/").concat(user_id), null, options);
1899
1918
  };
1900
1919
  /**
1901
1920
  * GET /loyalty/{id}/enrollmentstatus/{user_id} - Get enrollment status for logged in user
@@ -1905,7 +1924,7 @@ var ServiceClient = /** @class */ (function (_super) {
1905
1924
  * @param options - additional request options
1906
1925
  */
1907
1926
  ServiceClient.prototype.get_loyalty_enrollmentstatus = function (id, user_id, options) {
1908
- return this.request("loyalty", "get_loyalty_enrollmentstatus", "get", "/loyalty/" + id + "/enrollmentstatus/" + user_id, null, options);
1927
+ return this.request("loyalty", "get_loyalty_enrollmentstatus", "get", "/loyalty/".concat(id, "/enrollmentstatus/").concat(user_id), null, options);
1909
1928
  };
1910
1929
  /**
1911
1930
  * GET /loyalty/{id}/balance/{user_id} - Get loyalty point balance for logged in user
@@ -1915,7 +1934,7 @@ var ServiceClient = /** @class */ (function (_super) {
1915
1934
  * @param options - additional request options
1916
1935
  */
1917
1936
  ServiceClient.prototype.get_loyalty_balance = function (id, user_id, options) {
1918
- return this.request("loyalty", "get_loyalty_balance", "get", "/loyalty/" + id + "/balance/" + user_id, null, options);
1937
+ return this.request("loyalty", "get_loyalty_balance", "get", "/loyalty/".concat(id, "/balance/").concat(user_id), null, options);
1919
1938
  };
1920
1939
  /**
1921
1940
  * GET /loyalty/{id}/opportunities/{user_id} - Get earning opportunities for the logged in user
@@ -1925,7 +1944,7 @@ var ServiceClient = /** @class */ (function (_super) {
1925
1944
  * @param options - additional request options
1926
1945
  */
1927
1946
  ServiceClient.prototype.get_loyalty_opportunities = function (id, user_id, options) {
1928
- return this.request("loyalty", "get_loyalty_opportunities", "get", "/loyalty/" + id + "/opportunities/" + user_id, null, options);
1947
+ return this.request("loyalty", "get_loyalty_opportunities", "get", "/loyalty/".concat(id, "/opportunities/").concat(user_id), null, options);
1929
1948
  };
1930
1949
  /**
1931
1950
  * POST /loyalty/{id}/opportunities/{user_id} - Record an event for the logged in user
@@ -1935,7 +1954,7 @@ var ServiceClient = /** @class */ (function (_super) {
1935
1954
  * @param options - additional request options
1936
1955
  */
1937
1956
  ServiceClient.prototype.post_loyalty_opportunities = function (id, user_id, options) {
1938
- return this.request("loyalty", "post_loyalty_opportunities", "post", "/loyalty/" + id + "/opportunities/" + user_id, null, options);
1957
+ return this.request("loyalty", "post_loyalty_opportunities", "post", "/loyalty/".concat(id, "/opportunities/").concat(user_id), null, options);
1939
1958
  };
1940
1959
  /**
1941
1960
  * GET /loyalty/{id}/rewards/{user_id} - Get rewards available for the logged in user
@@ -1945,7 +1964,7 @@ var ServiceClient = /** @class */ (function (_super) {
1945
1964
  * @param options - additional request options
1946
1965
  */
1947
1966
  ServiceClient.prototype.get_loyalty_rewards = function (id, user_id, options) {
1948
- return this.request("loyalty", "get_loyalty_rewards", "get", "/loyalty/" + id + "/rewards/" + user_id, null, options);
1967
+ return this.request("loyalty", "get_loyalty_rewards", "get", "/loyalty/".concat(id, "/rewards/").concat(user_id), null, options);
1949
1968
  };
1950
1969
  /**
1951
1970
  * GET /loyalty/{id}/coupons/{user_id} - Get coupons available for the logged in user
@@ -1955,7 +1974,7 @@ var ServiceClient = /** @class */ (function (_super) {
1955
1974
  * @param options - additional request options
1956
1975
  */
1957
1976
  ServiceClient.prototype.get_loyalty_coupons = function (id, user_id, options) {
1958
- return this.request("loyalty", "get_loyalty_coupons", "get", "/loyalty/" + id + "/coupons/" + user_id, null, options);
1977
+ return this.request("loyalty", "get_loyalty_coupons", "get", "/loyalty/".concat(id, "/coupons/").concat(user_id), null, options);
1959
1978
  };
1960
1979
  /**
1961
1980
  * GET /loyalty/{id}/orderpoints/{user_id} - Get potential loyalty point points for an order based on amount.
@@ -1965,7 +1984,7 @@ var ServiceClient = /** @class */ (function (_super) {
1965
1984
  * @param options - additional request options
1966
1985
  */
1967
1986
  ServiceClient.prototype.get_loyalty_orderpoints = function (id, user_id, options) {
1968
- return this.request("loyalty", "get_loyalty_orderpoints", "get", "/loyalty/" + id + "/orderpoints/" + user_id, null, options);
1987
+ return this.request("loyalty", "get_loyalty_orderpoints", "get", "/loyalty/".concat(id, "/orderpoints/").concat(user_id), null, options);
1969
1988
  };
1970
1989
  /**
1971
1990
  * POST /loyalty/{id}/orderpoints/{user_id} - Get potential loyalty point points for a order based on amount and items
@@ -1976,7 +1995,7 @@ var ServiceClient = /** @class */ (function (_super) {
1976
1995
  * @param options - additional request options
1977
1996
  */
1978
1997
  ServiceClient.prototype.post_loyalty_orderpoints = function (id, user_id, body, options) {
1979
- return this.request("loyalty", "post_loyalty_orderpoints", "post", "/loyalty/" + id + "/orderpoints/" + user_id, body, options);
1998
+ return this.request("loyalty", "post_loyalty_orderpoints", "post", "/loyalty/".concat(id, "/orderpoints/").concat(user_id), body, options);
1980
1999
  };
1981
2000
  /**
1982
2001
  * POST /loyalty/{id}/purchase/{user_id} - Record purchase event
@@ -1987,7 +2006,7 @@ var ServiceClient = /** @class */ (function (_super) {
1987
2006
  * @param options - additional request options
1988
2007
  */
1989
2008
  ServiceClient.prototype.post_loyalty_purchase = function (id, user_id, body, options) {
1990
- return this.request("loyalty", "post_loyalty_purchase", "post", "/loyalty/" + id + "/purchase/" + user_id, body, options);
2009
+ return this.request("loyalty", "post_loyalty_purchase", "post", "/loyalty/".concat(id, "/purchase/").concat(user_id), body, options);
1991
2010
  };
1992
2011
  /**
1993
2012
  * POST /loyalty/{id}/buyreward/{user_id} - Redeem rewards to coupons
@@ -1998,7 +2017,7 @@ var ServiceClient = /** @class */ (function (_super) {
1998
2017
  * @param options - additional request options
1999
2018
  */
2000
2019
  ServiceClient.prototype.post_loyalty_buyreward = function (id, user_id, body, options) {
2001
- return this.request("loyalty", "post_loyalty_buyreward", "post", "/loyalty/" + id + "/buyreward/" + user_id, body, options);
2020
+ return this.request("loyalty", "post_loyalty_buyreward", "post", "/loyalty/".concat(id, "/buyreward/").concat(user_id), body, options);
2002
2021
  };
2003
2022
  /**
2004
2023
  * GET /loyalty/{id}/history/{user_id} - Get history of loyalty transactions for user
@@ -2008,7 +2027,7 @@ var ServiceClient = /** @class */ (function (_super) {
2008
2027
  * @param options - additional request options
2009
2028
  */
2010
2029
  ServiceClient.prototype.get_loyalty_history = function (id, user_id, options) {
2011
- return this.request("loyalty", "get_loyalty_history", "get", "/loyalty/" + id + "/history/" + user_id, null, options);
2030
+ return this.request("loyalty", "get_loyalty_history", "get", "/loyalty/".concat(id, "/history/").concat(user_id), null, options);
2012
2031
  };
2013
2032
  /**
2014
2033
  * GET /loyalty/{id}/coupon/{user_id}/{coupon_id} - get coupon's information
@@ -2019,7 +2038,7 @@ var ServiceClient = /** @class */ (function (_super) {
2019
2038
  * @param options - additional request options
2020
2039
  */
2021
2040
  ServiceClient.prototype.get_loyalty_coupon = function (id, user_id, coupon_id, options) {
2022
- return this.request("loyalty", "get_loyalty_coupon", "get", "/loyalty/" + id + "/coupon/" + user_id + "/" + coupon_id, null, options);
2041
+ return this.request("loyalty", "get_loyalty_coupon", "get", "/loyalty/".concat(id, "/coupon/").concat(user_id, "/").concat(coupon_id), null, options);
2023
2042
  };
2024
2043
  /**
2025
2044
  * PATCH /loyalty/{id}/coupon/{user_id}/{coupon_id} - Update coupon's status
@@ -2031,7 +2050,7 @@ var ServiceClient = /** @class */ (function (_super) {
2031
2050
  * @param options - additional request options
2032
2051
  */
2033
2052
  ServiceClient.prototype.patch_loyalty_coupon = function (id, user_id, coupon_id, body, options) {
2034
- return this.request("loyalty", "patch_loyalty_coupon", "patch", "/loyalty/" + id + "/coupon/" + user_id + "/" + coupon_id, body, options);
2053
+ return this.request("loyalty", "patch_loyalty_coupon", "patch", "/loyalty/".concat(id, "/coupon/").concat(user_id, "/").concat(coupon_id), body, options);
2035
2054
  };
2036
2055
  /**
2037
2056
  * GET /loyalty/{id}/search - Search CDL user id by internal 500friends id
@@ -2040,7 +2059,7 @@ var ServiceClient = /** @class */ (function (_super) {
2040
2059
  * @param options - additional request options
2041
2060
  */
2042
2061
  ServiceClient.prototype.get_loyalty_search = function (id, options) {
2043
- return this.request("loyalty", "get_loyalty_search", "get", "/loyalty/" + id + "/search", null, options);
2062
+ return this.request("loyalty", "get_loyalty_search", "get", "/loyalty/".concat(id, "/search"), null, options);
2044
2063
  };
2045
2064
  /**
2046
2065
  * GET /loyalty/{id}/users - Get all loyalty users updated after specific date
@@ -2049,7 +2068,7 @@ var ServiceClient = /** @class */ (function (_super) {
2049
2068
  * @param options - additional request options
2050
2069
  */
2051
2070
  ServiceClient.prototype.get_loyalty_users = function (id, options) {
2052
- return this.request("loyalty", "get_loyalty_users", "get", "/loyalty/" + id + "/users", null, options);
2071
+ return this.request("loyalty", "get_loyalty_users", "get", "/loyalty/".concat(id, "/users"), null, options);
2053
2072
  };
2054
2073
  /**
2055
2074
  * GET /loyalty/{id}/events - Get all loyalty events updated after specific date
@@ -2058,7 +2077,7 @@ var ServiceClient = /** @class */ (function (_super) {
2058
2077
  * @param options - additional request options
2059
2078
  */
2060
2079
  ServiceClient.prototype.get_loyalty_events = function (id, options) {
2061
- return this.request("loyalty", "get_loyalty_events", "get", "/loyalty/" + id + "/events", null, options);
2080
+ return this.request("loyalty", "get_loyalty_events", "get", "/loyalty/".concat(id, "/events"), null, options);
2062
2081
  };
2063
2082
  /**
2064
2083
  * GET /brand/{id}
@@ -2067,7 +2086,7 @@ var ServiceClient = /** @class */ (function (_super) {
2067
2086
  * @param options - additional request options
2068
2087
  */
2069
2088
  ServiceClient.prototype.get_brand = function (id, options) {
2070
- return this.request("brand", "get_brand", "get", "/brand/" + id, null, options);
2089
+ return this.request("brand", "get_brand", "get", "/brand/".concat(id), null, options);
2071
2090
  };
2072
2091
  /**
2073
2092
  * GET /brand
@@ -2084,7 +2103,7 @@ var ServiceClient = /** @class */ (function (_super) {
2084
2103
  * @param options - additional request options
2085
2104
  */
2086
2105
  ServiceClient.prototype.get_calendar = function (id, options) {
2087
- return this.request("calendar", "get_calendar", "get", "/calendar/" + id, null, options);
2106
+ return this.request("calendar", "get_calendar", "get", "/calendar/".concat(id), null, options);
2088
2107
  };
2089
2108
  /**
2090
2109
  * PUT /calendar/{id} - Set the calendar for an id. Overrides previous record
@@ -2094,7 +2113,16 @@ var ServiceClient = /** @class */ (function (_super) {
2094
2113
  * @param options - additional request options
2095
2114
  */
2096
2115
  ServiceClient.prototype.put_calendar = function (id, body, options) {
2097
- return this.request("calendar", "put_calendar", "put", "/calendar/" + id, body, options);
2116
+ return this.request("calendar", "put_calendar", "put", "/calendar/".concat(id), body, options);
2117
+ };
2118
+ /**
2119
+ * DELETE /calendar/{id} - Delete a calendar.
2120
+ *
2121
+ * @param id - brand
2122
+ * @param options - additional request options
2123
+ */
2124
+ ServiceClient.prototype.delete_calendar = function (id, options) {
2125
+ return this.request("calendar", "delete_calendar", "delete", "/calendar/".concat(id), null, options);
2098
2126
  };
2099
2127
  /**
2100
2128
  * GET /calendar/{id}/cdl - Get the calendar events in a CDL compatible format for next 7 days
@@ -2103,7 +2131,7 @@ var ServiceClient = /** @class */ (function (_super) {
2103
2131
  * @param options - additional request options
2104
2132
  */
2105
2133
  ServiceClient.prototype.get_calendar_cdl = function (id, options) {
2106
- return this.request("calendar", "get_calendar_cdl", "get", "/calendar/" + id + "/cdl", null, options);
2134
+ return this.request("calendar", "get_calendar_cdl", "get", "/calendar/".concat(id, "/cdl"), null, options);
2107
2135
  };
2108
2136
  /**
2109
2137
  * GET /calendar/swagger.json
@@ -2120,7 +2148,7 @@ var ServiceClient = /** @class */ (function (_super) {
2120
2148
  * @param options - additional request options
2121
2149
  */
2122
2150
  ServiceClient.prototype.post_calendar_sync = function (id, options) {
2123
- return this.request("calendar", "post_calendar_sync", "post", "/calendar/" + id + "/sync", null, options);
2151
+ return this.request("calendar", "post_calendar_sync", "post", "/calendar/".concat(id, "/sync"), null, options);
2124
2152
  };
2125
2153
  /**
2126
2154
  * POST /delivery/order - make reservation
@@ -2138,7 +2166,7 @@ var ServiceClient = /** @class */ (function (_super) {
2138
2166
  * @param options - additional request options
2139
2167
  */
2140
2168
  ServiceClient.prototype.patch_delivery_order = function (order_id, options) {
2141
- return this.request("delivery", "patch_delivery_order", "patch", "/delivery/order/" + order_id, null, options);
2169
+ return this.request("delivery", "patch_delivery_order", "patch", "/delivery/order/".concat(order_id), null, options);
2142
2170
  };
2143
2171
  /**
2144
2172
  * GET /delivery/order/{order_id} - get order
@@ -2147,7 +2175,7 @@ var ServiceClient = /** @class */ (function (_super) {
2147
2175
  * @param options - additional request options
2148
2176
  */
2149
2177
  ServiceClient.prototype.get_delivery_order = function (order_id, options) {
2150
- return this.request("delivery", "get_delivery_order", "get", "/delivery/order/" + order_id, null, options);
2178
+ return this.request("delivery", "get_delivery_order", "get", "/delivery/order/".concat(order_id), null, options);
2151
2179
  };
2152
2180
  /**
2153
2181
  * POST /schedule - Create a new schedule
@@ -2173,7 +2201,7 @@ var ServiceClient = /** @class */ (function (_super) {
2173
2201
  * @param options - additional request options
2174
2202
  */
2175
2203
  ServiceClient.prototype.get_schedule = function (id, options) {
2176
- return this.request("schedule", "get_schedule", "get", "/schedule/" + id, null, options);
2204
+ return this.request("schedule", "get_schedule", "get", "/schedule/".concat(id), null, options);
2177
2205
  };
2178
2206
  /**
2179
2207
  * PUT /schedule/{id} - Update a schedule
@@ -2183,7 +2211,7 @@ var ServiceClient = /** @class */ (function (_super) {
2183
2211
  * @param options - additional request options
2184
2212
  */
2185
2213
  ServiceClient.prototype.put_schedule = function (id, body, options) {
2186
- return this.request("schedule", "put_schedule", "put", "/schedule/" + id, body, options);
2214
+ return this.request("schedule", "put_schedule", "put", "/schedule/".concat(id), body, options);
2187
2215
  };
2188
2216
  /**
2189
2217
  * DELETE /schedule/{id} - Delete schedule
@@ -2192,7 +2220,7 @@ var ServiceClient = /** @class */ (function (_super) {
2192
2220
  * @param options - additional request options
2193
2221
  */
2194
2222
  ServiceClient.prototype.delete_schedule = function (id, options) {
2195
- return this.request("schedule", "delete_schedule", "delete", "/schedule/" + id, null, options);
2223
+ return this.request("schedule", "delete_schedule", "delete", "/schedule/".concat(id), null, options);
2196
2224
  };
2197
2225
  /**
2198
2226
  * POST /vote - Submit a vote for an item
@@ -2210,7 +2238,7 @@ var ServiceClient = /** @class */ (function (_super) {
2210
2238
  * @param options - additional request options
2211
2239
  */
2212
2240
  ServiceClient.prototype.get_vote_idfa = function (idfa, options) {
2213
- return this.request("vote", "get_vote_idfa", "get", "/vote/idfa/" + idfa, null, options);
2241
+ return this.request("vote", "get_vote_idfa", "get", "/vote/idfa/".concat(idfa), null, options);
2214
2242
  };
2215
2243
  /**
2216
2244
  * POST /file - Upload a file to CDL S3
@@ -2221,6 +2249,15 @@ var ServiceClient = /** @class */ (function (_super) {
2221
2249
  ServiceClient.prototype.post_file = function (body, options) {
2222
2250
  return this.request("file", "post_file", "post", "/file", body, options);
2223
2251
  };
2252
+ /**
2253
+ * DELETE /file - Delete a file from CDL S3
2254
+ *
2255
+ * @param body
2256
+ * @param options - additional request options
2257
+ */
2258
+ ServiceClient.prototype.delete_file = function (body, options) {
2259
+ return this.request("file", "delete_file", "delete", "/file", body, options);
2260
+ };
2224
2261
  /**
2225
2262
  * POST /message - Create a Message
2226
2263
  *
@@ -2237,7 +2274,7 @@ var ServiceClient = /** @class */ (function (_super) {
2237
2274
  * @param options - additional request options
2238
2275
  */
2239
2276
  ServiceClient.prototype.get_message = function (id, options) {
2240
- return this.request("message", "get_message", "get", "/message/" + id, null, options);
2277
+ return this.request("message", "get_message", "get", "/message/".concat(id), null, options);
2241
2278
  };
2242
2279
  /**
2243
2280
  * GET /logger/{id}/brand/status - Get status changes of all brands
@@ -2246,7 +2283,7 @@ var ServiceClient = /** @class */ (function (_super) {
2246
2283
  * @param options - additional request options
2247
2284
  */
2248
2285
  ServiceClient.prototype.get_logger_brand_status = function (id, options) {
2249
- return this.request("logger", "get_logger_brand_status", "get", "/logger/" + id + "/brand/status", null, options);
2286
+ return this.request("logger", "get_logger_brand_status", "get", "/logger/".concat(id, "/brand/status"), null, options);
2250
2287
  };
2251
2288
  /**
2252
2289
  * GET /menu/client/{client_id} - Get menu client
@@ -2255,7 +2292,7 @@ var ServiceClient = /** @class */ (function (_super) {
2255
2292
  * @param options - additional request options
2256
2293
  */
2257
2294
  ServiceClient.prototype.get_menu_client = function (client_id, options) {
2258
- return this.request("menu", "get_menu_client", "get", "/menu/client/" + client_id, null, options);
2295
+ return this.request("menu", "get_menu_client", "get", "/menu/client/".concat(client_id), null, options);
2259
2296
  };
2260
2297
  /**
2261
2298
  * GET /menu - Get Menus or search for Menus
@@ -2281,7 +2318,7 @@ var ServiceClient = /** @class */ (function (_super) {
2281
2318
  * @param options - additional request options
2282
2319
  */
2283
2320
  ServiceClient.prototype.head_menu = function (id, options) {
2284
- return this.request("menu", "head_menu", "head", "/menu/" + id, null, options);
2321
+ return this.request("menu", "head_menu", "head", "/menu/".concat(id), null, options);
2285
2322
  };
2286
2323
  /**
2287
2324
  * GET /menu/{id} - Get an individual Menu
@@ -2290,7 +2327,7 @@ var ServiceClient = /** @class */ (function (_super) {
2290
2327
  * @param options - additional request options
2291
2328
  */
2292
2329
  ServiceClient.prototype.get_menu = function (id, options) {
2293
- return this.request("menu", "get_menu", "get", "/menu/" + id, null, options);
2330
+ return this.request("menu", "get_menu", "get", "/menu/".concat(id), null, options);
2294
2331
  };
2295
2332
  /**
2296
2333
  * PUT /menu/{id} - Override a complete Menu
@@ -2300,7 +2337,7 @@ var ServiceClient = /** @class */ (function (_super) {
2300
2337
  * @param options - additional request options
2301
2338
  */
2302
2339
  ServiceClient.prototype.put_menu = function (id, body, options) {
2303
- return this.request("menu", "put_menu", "put", "/menu/" + id, body, options);
2340
+ return this.request("menu", "put_menu", "put", "/menu/".concat(id), body, options);
2304
2341
  };
2305
2342
  /**
2306
2343
  * DELETE /menu/{id} - Delete a Menu
@@ -2309,7 +2346,7 @@ var ServiceClient = /** @class */ (function (_super) {
2309
2346
  * @param options - additional request options
2310
2347
  */
2311
2348
  ServiceClient.prototype.delete_menu = function (id, options) {
2312
- return this.request("menu", "delete_menu", "delete", "/menu/" + id, null, options);
2349
+ return this.request("menu", "delete_menu", "delete", "/menu/".concat(id), null, options);
2313
2350
  };
2314
2351
  /**
2315
2352
  * PATCH /menu/{id} - Update a menu
@@ -2319,7 +2356,7 @@ var ServiceClient = /** @class */ (function (_super) {
2319
2356
  * @param options - additional request options
2320
2357
  */
2321
2358
  ServiceClient.prototype.patch_menu = function (id, body, options) {
2322
- return this.request("menu", "patch_menu", "patch", "/menu/" + id, body, options);
2359
+ return this.request("menu", "patch_menu", "patch", "/menu/".concat(id), body, options);
2323
2360
  };
2324
2361
  /**
2325
2362
  * POST /menu/import - Import an existing Menu
@@ -2337,7 +2374,7 @@ var ServiceClient = /** @class */ (function (_super) {
2337
2374
  * @param options - additional request options
2338
2375
  */
2339
2376
  ServiceClient.prototype.get_menu_item = function (id, options) {
2340
- return this.request("menu", "get_menu_item", "get", "/menu/item/" + id, null, options);
2377
+ return this.request("menu", "get_menu_item", "get", "/menu/item/".concat(id), null, options);
2341
2378
  };
2342
2379
  /**
2343
2380
  * DELETE /menu/item/{id} - Delete a menu item
@@ -2346,7 +2383,7 @@ var ServiceClient = /** @class */ (function (_super) {
2346
2383
  * @param options - additional request options
2347
2384
  */
2348
2385
  ServiceClient.prototype.delete_menu_item = function (id, options) {
2349
- return this.request("menu", "delete_menu_item", "delete", "/menu/item/" + id, null, options);
2386
+ return this.request("menu", "delete_menu_item", "delete", "/menu/item/".concat(id), null, options);
2350
2387
  };
2351
2388
  /**
2352
2389
  * POST /menu/item - Create a menu item
@@ -2372,7 +2409,7 @@ var ServiceClient = /** @class */ (function (_super) {
2372
2409
  * @param options - additional request options
2373
2410
  */
2374
2411
  ServiceClient.prototype.post_menu_import_items_canteen = function (location, options) {
2375
- return this.request("menu", "post_menu_import_items_canteen", "post", "/menu/items/import/" + location, null, options);
2412
+ return this.request("menu", "post_menu_import_items_canteen", "post", "/menu/items/import/".concat(location), null, options);
2376
2413
  };
2377
2414
  /**
2378
2415
  * GET /menu/items/location/{location} - Get all menu items for a location
@@ -2381,7 +2418,7 @@ var ServiceClient = /** @class */ (function (_super) {
2381
2418
  * @param options - additional request options
2382
2419
  */
2383
2420
  ServiceClient.prototype.get_menu_location_items = function (location, options) {
2384
- return this.request("menu", "get_menu_location_items", "get", "/menu/items/location/" + location, null, options);
2421
+ return this.request("menu", "get_menu_location_items", "get", "/menu/items/location/".concat(location), null, options);
2385
2422
  };
2386
2423
  /**
2387
2424
  * GET /menu/item/random/location/{location} - Get a random item
@@ -2390,7 +2427,7 @@ var ServiceClient = /** @class */ (function (_super) {
2390
2427
  * @param options - additional request options
2391
2428
  */
2392
2429
  ServiceClient.prototype.get_menu_location_item_random = function (location, options) {
2393
- return this.request("menu", "get_menu_location_item_random", "get", "/menu/item/random/location/" + location, null, options);
2430
+ return this.request("menu", "get_menu_location_item_random", "get", "/menu/item/random/location/".concat(location), null, options);
2394
2431
  };
2395
2432
  /**
2396
2433
  * GET /menu/items/random/location/{location} - Get a set of random items
@@ -2399,7 +2436,7 @@ var ServiceClient = /** @class */ (function (_super) {
2399
2436
  * @param options - additional request options
2400
2437
  */
2401
2438
  ServiceClient.prototype.get_menu_location_items_random = function (location, options) {
2402
- return this.request("menu", "get_menu_location_items_random", "get", "/menu/items/random/location/" + location, null, options);
2439
+ return this.request("menu", "get_menu_location_items_random", "get", "/menu/items/random/location/".concat(location), null, options);
2403
2440
  };
2404
2441
  /**
2405
2442
  * GET /menu/sector/{sector} - Get menus that belong to sector
@@ -2408,7 +2445,7 @@ var ServiceClient = /** @class */ (function (_super) {
2408
2445
  * @param options - additional request options
2409
2446
  */
2410
2447
  ServiceClient.prototype.get_menu_sector_menus = function (sector, options) {
2411
- return this.request("menu", "get_menu_sector_menus", "get", "/menu/sector/" + sector, null, options);
2448
+ return this.request("menu", "get_menu_sector_menus", "get", "/menu/sector/".concat(sector), null, options);
2412
2449
  };
2413
2450
  /**
2414
2451
  * GET /menu/company/{company} - Get menus that belong to company
@@ -2417,7 +2454,7 @@ var ServiceClient = /** @class */ (function (_super) {
2417
2454
  * @param options - additional request options
2418
2455
  */
2419
2456
  ServiceClient.prototype.get_menu_company_menus = function (company, options) {
2420
- return this.request("menu", "get_menu_company_menus", "get", "/menu/company/" + company, null, options);
2457
+ return this.request("menu", "get_menu_company_menus", "get", "/menu/company/".concat(company), null, options);
2421
2458
  };
2422
2459
  /**
2423
2460
  * POST /menu/modifier/group - Create a new Menu Modifier Group
@@ -2435,7 +2472,7 @@ var ServiceClient = /** @class */ (function (_super) {
2435
2472
  * @param options - additional request options
2436
2473
  */
2437
2474
  ServiceClient.prototype.get_menu_modifier_group = function (id, options) {
2438
- return this.request("menu", "get_menu_modifier_group", "get", "/menu/modifier/group/" + id, null, options);
2475
+ return this.request("menu", "get_menu_modifier_group", "get", "/menu/modifier/group/".concat(id), null, options);
2439
2476
  };
2440
2477
  /**
2441
2478
  * PUT /menu/modifier/group/{id} - Update a Menu Modifier Group
@@ -2445,7 +2482,7 @@ var ServiceClient = /** @class */ (function (_super) {
2445
2482
  * @param options - additional request options
2446
2483
  */
2447
2484
  ServiceClient.prototype.put_menu_modifier_group = function (id, body, options) {
2448
- return this.request("menu", "put_menu_modifier_group", "put", "/menu/modifier/group/" + id, body, options);
2485
+ return this.request("menu", "put_menu_modifier_group", "put", "/menu/modifier/group/".concat(id), body, options);
2449
2486
  };
2450
2487
  /**
2451
2488
  * DELETE /menu/modifier/group/{id} - Delete a Menu Modifier Group
@@ -2454,7 +2491,7 @@ var ServiceClient = /** @class */ (function (_super) {
2454
2491
  * @param options - additional request options
2455
2492
  */
2456
2493
  ServiceClient.prototype.delete_menu_modifier_group = function (id, options) {
2457
- return this.request("menu", "delete_menu_modifier_group", "delete", "/menu/modifier/group/" + id, null, options);
2494
+ return this.request("menu", "delete_menu_modifier_group", "delete", "/menu/modifier/group/".concat(id), null, options);
2458
2495
  };
2459
2496
  /**
2460
2497
  * GET /menu/modifier/group/company/{company} - Get the modifier groups that belong to company
@@ -2463,7 +2500,7 @@ var ServiceClient = /** @class */ (function (_super) {
2463
2500
  * @param options - additional request options
2464
2501
  */
2465
2502
  ServiceClient.prototype.get_menu_company_modifier_groups = function (company, options) {
2466
- return this.request("menu", "get_menu_company_modifier_groups", "get", "/menu/modifier/group/company/" + company, null, options);
2503
+ return this.request("menu", "get_menu_company_modifier_groups", "get", "/menu/modifier/group/company/".concat(company), null, options);
2467
2504
  };
2468
2505
  /**
2469
2506
  * GET /menu/modifier/group/company/{company}/export - Export company modifier groups to zipped excel file.
@@ -2472,7 +2509,7 @@ var ServiceClient = /** @class */ (function (_super) {
2472
2509
  * @param options - additional request options
2473
2510
  */
2474
2511
  ServiceClient.prototype.get_menu_company_modifier_groups_export = function (company, options) {
2475
- return this.request("menu", "get_menu_company_modifier_groups_export", "get", "/menu/modifier/group/company/" + company + "/export", null, options);
2512
+ return this.request("menu", "get_menu_company_modifier_groups_export", "get", "/menu/modifier/group/company/".concat(company, "/export"), null, options);
2476
2513
  };
2477
2514
  /**
2478
2515
  * GET /menu/{id}/export - Export menu set to zipped excel file.
@@ -2481,7 +2518,7 @@ var ServiceClient = /** @class */ (function (_super) {
2481
2518
  * @param options - additional request options
2482
2519
  */
2483
2520
  ServiceClient.prototype.get_menu_export = function (id, options) {
2484
- return this.request("menu", "get_menu_export", "get", "/menu/" + id + "/export", null, options);
2521
+ return this.request("menu", "get_menu_export", "get", "/menu/".concat(id, "/export"), null, options);
2485
2522
  };
2486
2523
  return ServiceClient;
2487
2524
  }(base_1.BaseServiceClient));