@compassdigital/sdk.typescript 4.938.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
  *