@shieldiot/ngx-pulseiot-lib 2.20.1361 → 2.20.1364

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.
@@ -7999,6 +7999,22 @@ class UsrReportsService {
7999
7999
  }
8000
8000
  return this.rest.get(`${this.baseUrl}/insights-by-mail`, ...params);
8001
8001
  }
8002
+ /**
8003
+ * Send the weekly digest email on demand for the caller's account
8004
+ */
8005
+ sendWeeklyDigest(from, to, addresses) {
8006
+ const params = [];
8007
+ if (from != null) {
8008
+ params.push(`from=${from}`);
8009
+ }
8010
+ if (to != null) {
8011
+ params.push(`to=${to}`);
8012
+ }
8013
+ if (addresses != null) {
8014
+ params.push(`addresses=${addresses}`);
8015
+ }
8016
+ return this.rest.get(`${this.baseUrl}/weekly-digest`, ...params);
8017
+ }
8002
8018
  /**
8003
8019
  * Get network activity over time histogram over the provided time period
8004
8020
  */