@compassdigital/sdk.typescript 4.568.0 → 4.570.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
@@ -792,6 +792,15 @@ class ServiceClient extends base_1.BaseServiceClient {
792
792
  delete_location_v2_group(id, options) {
793
793
  return this.request('location', '/location/v2/group/{id}', 'DELETE', `/location/v2/group/${id}`, null, options);
794
794
  }
795
+ /**
796
+ * POST /location/group/{id}/restore - Restore an archived group
797
+ *
798
+ * @param id - group id
799
+ * @param options - additional request options
800
+ */
801
+ post_location_group_restore(id, options) {
802
+ return this.request('location', '/location/group/{id}/restore', 'POST', `/location/group/${id}/restore`, null, options);
803
+ }
795
804
  /**
796
805
  * GET /location/menu_association/{id}/brand - Get menu association for a brand
797
806
  *
@@ -6765,6 +6774,15 @@ class ServiceClient extends base_1.BaseServiceClient {
6765
6774
  post_rewards(id, body, options) {
6766
6775
  return this.request('discount', '/discount/site/{id}/rewards', 'POST', `/discount/site/${id}/rewards`, body, options);
6767
6776
  }
6777
+ /**
6778
+ * POST /discount/validate-discounts - Validate and calculate discounts for a shopping cart
6779
+ *
6780
+ * @param body
6781
+ * @param options - additional request options
6782
+ */
6783
+ post_discount_validate_discounts(body, options) {
6784
+ return this.request('discount', '/discount/validate-discounts', 'POST', `/discount/validate-discounts`, body, options);
6785
+ }
6768
6786
  /**
6769
6787
  * PUT /discount/{id}/publish - Publish a discount
6770
6788
  *