@compassdigital/sdk.typescript 4.880.0 → 4.882.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
@@ -6556,6 +6556,15 @@ class ServiceClient extends base_1.BaseServiceClient {
6556
6556
  get_consumer_station_discounts(siteId, options) {
6557
6557
  return this.request('consumer', '/consumer/discounts/{siteId}', 'GET', `/consumer/discounts/${siteId}`, null, options);
6558
6558
  }
6559
+ /**
6560
+ * GET /consumer/v2/discounts/{siteId} - Provide the front end all the data required to render the station discounts (v2 with FIXED_PRICE support)
6561
+ *
6562
+ * @param siteId - Site ID as Encoded CDL ID
6563
+ * @param options - additional request options
6564
+ */
6565
+ get_consumer_station_discounts_v2(siteId, options) {
6566
+ return this.request('consumer', '/consumer/v2/discounts/{siteId}', 'GET', `/consumer/v2/discounts/${siteId}`, null, options);
6567
+ }
6559
6568
  /**
6560
6569
  * POST /consumer/shoppingcart/{id}/clone - clone a shopping cart
6561
6570
  *
@@ -6907,6 +6916,15 @@ class ServiceClient extends base_1.BaseServiceClient {
6907
6916
  get_centricos_site_menu_hours_details(siteId, options) {
6908
6917
  return this.request('centricos', '/centricos/site/{siteId}/menu-hours-details', 'GET', `/centricos/site/${siteId}/menu-hours-details`, null, options);
6909
6918
  }
6919
+ /**
6920
+ * GET /centricos/sites/{siteId}/client-settings - Get the access code and aggregate view of the site's client
6921
+ *
6922
+ * @param siteId - ID of the site whose client settings to retrieve
6923
+ * @param options - additional request options
6924
+ */
6925
+ get_centricos_site_client_settings(siteId, options) {
6926
+ return this.request('centricos', '/centricos/sites/{siteId}/client-settings', 'GET', `/centricos/sites/${siteId}/client-settings`, null, options);
6927
+ }
6910
6928
  /**
6911
6929
  * GET /centricos/review/{orderId}/order-items - Get reviews for items in a given order in an array format
6912
6930
  *