@compassdigital/sdk.typescript 4.813.0 → 4.815.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.d.ts +10 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +9 -0
- package/lib/index.js.map +1 -1
- package/lib/interface/loyalty.d.ts +19 -0
- package/lib/interface/loyalty.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +24 -0
- package/src/interface/loyalty.ts +34 -0
package/lib/index.js
CHANGED
|
@@ -7622,6 +7622,15 @@ class ServiceClient extends base_1.BaseServiceClient {
|
|
|
7622
7622
|
post_loyalty_campaign(body, options) {
|
|
7623
7623
|
return this.request('loyalty', '/loyalty/campaigns', 'POST', `/loyalty/campaigns`, body, options);
|
|
7624
7624
|
}
|
|
7625
|
+
/**
|
|
7626
|
+
* GET /loyalty/campaigns/{id}/stats - Get lifetime campaign stats and a recent per-day redemption series
|
|
7627
|
+
*
|
|
7628
|
+
* @param id
|
|
7629
|
+
* @param options - additional request options
|
|
7630
|
+
*/
|
|
7631
|
+
get_loyalty_campaign_stats(id, options) {
|
|
7632
|
+
return this.request('loyalty', '/loyalty/campaigns/{id}/stats', 'GET', `/loyalty/campaigns/${id}/stats`, null, options);
|
|
7633
|
+
}
|
|
7625
7634
|
/**
|
|
7626
7635
|
* GET /loyalty/campaigns/{id} - Get campaign detail with all child entities
|
|
7627
7636
|
*
|