@compassdigital/sdk.typescript 4.838.0 → 4.839.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
@@ -6183,24 +6183,6 @@ class ServiceClient extends base_1.BaseServiceClient {
6183
6183
  get_consumer_menu_items(id, options) {
6184
6184
  return this.request('consumer', '/consumer/menu/{id}/items', 'GET', `/consumer/menu/${id}/items`, null, options);
6185
6185
  }
6186
- /**
6187
- * POST /consumer/location/marketplace/timeslots - Get Marketplace timeslots
6188
- *
6189
- * @param body - Request body for marketplace timeslots
6190
- * @param options - additional request options
6191
- */
6192
- post_consumer_locations_marketplace_timeslots(body, options) {
6193
- return this.request('consumer', '/consumer/location/marketplace/timeslots', 'POST', `/consumer/location/marketplace/timeslots`, body, options);
6194
- }
6195
- /**
6196
- * POST /consumer/location/marketplace/timeslots/delivery - Get Marketplace timeslots
6197
- *
6198
- * @param body - Request body for marketplace timeslots delivery
6199
- * @param options - additional request options
6200
- */
6201
- post_consumer_locations_marketplace_timeslots_delivery(body, options) {
6202
- return this.request('consumer', '/consumer/location/marketplace/timeslots/delivery', 'POST', `/consumer/location/marketplace/timeslots/delivery`, body, options);
6203
- }
6204
6186
  /**
6205
6187
  * DELETE /consumer/user/{id} - Delete user
6206
6188
  *
@@ -6492,24 +6474,13 @@ class ServiceClient extends base_1.BaseServiceClient {
6492
6474
  return this.request('consumer', '/consumer/app-theme/{siteId}', 'GET', `/consumer/app-theme/${siteId}`, null, options);
6493
6475
  }
6494
6476
  /**
6495
- * GET /consumer/location/brand/{brandId}/timeslots/menu/{menuId} - Get location brand menu timeslots
6496
- *
6497
- * @param brandId - Brand ID as Encoded CDL ID
6498
- * @param menuId - Menu ID as Encoded CDL ID
6499
- * @param options - additional request options
6500
- */
6501
- get_consumer_brand_menu_timeslots(brandId, menuId, options) {
6502
- return this.request('consumer', '/consumer/location/brand/{brandId}/timeslots/menu/{menuId}', 'GET', `/consumer/location/brand/${brandId}/timeslots/menu/${menuId}`, null, options);
6503
- }
6504
- /**
6505
- * GET /consumer/location/brand/{brandId}/timeslots/delivery/menu/{menuId} - Get location brand menu delivery timeslots
6477
+ * POST /consumer/location/timeslots - Get timeslots
6506
6478
  *
6507
- * @param brandId - Brand ID as Encoded CDL ID
6508
- * @param menuId - Menu ID as Encoded CDL ID
6479
+ * @param body - Which timeslots to fetch
6509
6480
  * @param options - additional request options
6510
6481
  */
6511
- get_consumer_brand_menu_delivery_timeslots(brandId, menuId, options) {
6512
- return this.request('consumer', '/consumer/location/brand/{brandId}/timeslots/delivery/menu/{menuId}', 'GET', `/consumer/location/brand/${brandId}/timeslots/delivery/menu/${menuId}`, null, options);
6482
+ post_consumer_timeslots(body, options) {
6483
+ return this.request('consumer', '/consumer/location/timeslots', 'POST', `/consumer/location/timeslots`, body, options);
6513
6484
  }
6514
6485
  /**
6515
6486
  * GET /consumer/config/public/{id} - Get consumer public config