@compassdigital/sdk.typescript 4.795.0 → 4.797.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
@@ -6844,24 +6844,6 @@ class ServiceClient extends base_1.BaseServiceClient {
6844
6844
  delete_centricos_station_integration(station_id, integration_type, options) {
6845
6845
  return this.request('centricos', '/centricos/station/{station_id}/{integration_type}', 'DELETE', `/centricos/station/${station_id}/${integration_type}`, null, options);
6846
6846
  }
6847
- /**
6848
- * PUT /centricos/discount - Add or Update a discount and assign it to multiple sites
6849
- *
6850
- * @param body
6851
- * @param options - additional request options
6852
- */
6853
- put_centricos_discount(body, options) {
6854
- return this.request('centricos', '/centricos/discount', 'PUT', `/centricos/discount`, body, options);
6855
- }
6856
- /**
6857
- * PUT /centricos/discount/{id}/publish - Update and publish a discount and assign it to multiple sites
6858
- *
6859
- * @param id - Discount ID
6860
- * @param options - additional request options
6861
- */
6862
- put_centricos_discount_publish(id, options) {
6863
- return this.request('centricos', '/centricos/discount/{id}/publish', 'PUT', `/centricos/discount/${id}/publish`, null, options);
6864
- }
6865
6847
  /**
6866
6848
  * PUT /centricos/discount/voucherify - Add or Update a voucherify discount and assign it to multiple sites
6867
6849
  *
@@ -6881,13 +6863,13 @@ class ServiceClient extends base_1.BaseServiceClient {
6881
6863
  return this.request('centricos', '/centricos/discount/{id}/voucherify/publish', 'PUT', `/centricos/discount/${id}/voucherify/publish`, null, options);
6882
6864
  }
6883
6865
  /**
6884
- * DELETE /centricos/discount/{id} - Delete a discount and all of its entity associations
6866
+ * DELETE /centricos/discount/{id}/voucherify - Delete a discount from voucherify and all of its entity associations
6885
6867
  *
6886
6868
  * @param id - Discount ID
6887
6869
  * @param options - additional request options
6888
6870
  */
6889
- delete_centricos_discount(id, options) {
6890
- return this.request('centricos', '/centricos/discount/{id}', 'DELETE', `/centricos/discount/${id}`, null, options);
6871
+ delete_centricos_discounts_voucherify(id, options) {
6872
+ return this.request('centricos', '/centricos/discount/{id}/voucherify', 'DELETE', `/centricos/discount/${id}/voucherify`, null, options);
6891
6873
  }
6892
6874
  /**
6893
6875
  * GET /centricos/discount/{id} - Get discount information by ID
@@ -6898,15 +6880,6 @@ class ServiceClient extends base_1.BaseServiceClient {
6898
6880
  get_centricos_discount(id, options) {
6899
6881
  return this.request('centricos', '/centricos/discount/{id}', 'GET', `/centricos/discount/${id}`, null, options);
6900
6882
  }
6901
- /**
6902
- * DELETE /centricos/discount/{id}/voucherify - Delete a discount from voucherify and all of its entity associations
6903
- *
6904
- * @param id - Discount ID
6905
- * @param options - additional request options
6906
- */
6907
- delete_centricos_discounts_voucherify(id, options) {
6908
- return this.request('centricos', '/centricos/discount/{id}/voucherify', 'DELETE', `/centricos/discount/${id}/voucherify`, null, options);
6909
- }
6910
6883
  /**
6911
6884
  * GET /centricos/discounts - Get discounts with pagination and filtering
6912
6885
  *
@@ -6968,16 +6941,6 @@ class ServiceClient extends base_1.BaseServiceClient {
6968
6941
  delete_centricos_business_unit(bu_id, options) {
6969
6942
  return this.request('centricos', '/centricos/business-unit/{bu_id}', 'DELETE', `/centricos/business-unit/${bu_id}`, null, options);
6970
6943
  }
6971
- /**
6972
- * PUT /centricos/business-unit/{bu_id}/drop-off - Update shared drop-off settings for a business unit
6973
- *
6974
- * @param bu_id - TODO: cannot use CompassLongID as path parameter
6975
- * @param body
6976
- * @param options - additional request options
6977
- */
6978
- put_centricos_business_unit_drop_off(bu_id, body, options) {
6979
- return this.request('centricos', '/centricos/business-unit/{bu_id}/drop-off', 'PUT', `/centricos/business-unit/${bu_id}/drop-off`, body, options);
6980
- }
6981
6944
  /**
6982
6945
  * GET /centricos/menu/global-menu-groups - Get a paginated list of global menu groups with filtering, sorting, and relationships
6983
6946
  *