@compassdigital/sdk.typescript 4.937.0 → 4.939.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
@@ -7843,6 +7843,15 @@ class ServiceClient extends base_1.BaseServiceClient {
7843
7843
  get_loyalty_campaign_stats(id, options) {
7844
7844
  return this.request('loyalty', '/loyalty/campaigns/{id}/stats', 'GET', `/loyalty/campaigns/${id}/stats`, null, options);
7845
7845
  }
7846
+ /**
7847
+ * GET /loyalty/campaigns/{id}/redemptions - Get redemption history across all vouchers of a campaign
7848
+ *
7849
+ * @param id
7850
+ * @param options - additional request options
7851
+ */
7852
+ get_loyalty_campaign_redemptions(id, options) {
7853
+ return this.request('loyalty', '/loyalty/campaigns/{id}/redemptions', 'GET', `/loyalty/campaigns/${id}/redemptions`, null, options);
7854
+ }
7846
7855
  /**
7847
7856
  * GET /loyalty/campaigns/{id} - Get campaign detail with all child entities
7848
7857
  *
@@ -8243,6 +8252,15 @@ class ServiceClient extends base_1.BaseServiceClient {
8243
8252
  get_forecasting_ping(options) {
8244
8253
  return this.request('forecasting', '/forecasting/ping', 'GET', `/forecasting/ping`, null, options);
8245
8254
  }
8255
+ /**
8256
+ * PUT /forecasting/plans - Save planned amounts for production sheet rows
8257
+ *
8258
+ * @param body
8259
+ * @param options - additional request options
8260
+ */
8261
+ put_forecasting_plans(body, options) {
8262
+ return this.request('forecasting', '/forecasting/plans', 'PUT', `/forecasting/plans`, body, options);
8263
+ }
8246
8264
  /**
8247
8265
  * POST /forecasting/chat - Relay a user chat message to Luna
8248
8266
  *