@placeos/ts-client 4.7.0 → 4.7.1

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/dist/index.es.js CHANGED
@@ -2640,11 +2640,13 @@ class Hs extends L {
2640
2640
  alert_type;
2641
2641
  // How often should this alert should be raised when triggered
2642
2642
  debounce_period;
2643
+ // Whether condition checks should match any single condition to pass or all of them
2644
+ any_match;
2643
2645
  constructor(e) {
2644
2646
  super(e), this.authority_id = e.authority_id || "", this.description = e.description || "", this.enabled = e.enabled || !1, this.conditions = e.conditions || {
2645
2647
  time_dependents: [],
2646
2648
  comparisons: []
2647
- }, this.severity = e.severity || "low", this.alert_type = e.alert_type || "threshold", this.debounce_period = e.debounce_period || 0, this.alert_dashboard_id = e.alert_dashboard_id || "", this.alert_dashboard_details = e.alert_dashboard_details || void 0;
2649
+ }, this.severity = e.severity || "low", this.alert_type = e.alert_type || "threshold", this.debounce_period = e.debounce_period || 0, this.alert_dashboard_id = e.alert_dashboard_id || "", this.alert_dashboard_details = e.alert_dashboard_details || void 0, this.any_match = e.any_match || !1;
2648
2650
  }
2649
2651
  }
2650
2652
  class Ws extends L {
@@ -3340,6 +3342,8 @@ class me extends L {
3340
3342
  trigger_id;
3341
3343
  /** List of playlist IDs associated with the system */
3342
3344
  playlists;
3345
+ // Whether condition checks should match any single condition to pass or all of them
3346
+ any_match;
3343
3347
  /** ID of the system associated with the trigger */
3344
3348
  get system_id() {
3345
3349
  return this.control_system_id;
@@ -3374,7 +3378,7 @@ class me extends L {
3374
3378
  super(e), this.description = e.description || "", this._actions = e.actions || { functions: [], mailers: [] }, this._conditions = e.conditions || {
3375
3379
  comparisons: [],
3376
3380
  time_dependents: []
3377
- }, this.debounce_period = e.debounce_period || 0, this.important = e.important || !1, this.enabled = e.enabled || !1, this.webhook_secret = e.webhook_secret || "", this.control_system_id = e.system_id || e.control_system_id || "", this.zone_id = e.zone_id || "", this.system_name = e.system_name || (e.control_system ? e.control_system.name : ""), this.enable_webhook = e.enable_webhook || !1, this.exec_enabled = e.exec_enabled || !1, this.supported_methods = e.supported_methods || ["POST"], this.activated_count = e.activated_count || e.trigger_count || 0, this.playlists = e.playlists || [], this.trigger_id = e.trigger_id || "";
3381
+ }, this.debounce_period = e.debounce_period || 0, this.important = e.important || !1, this.enabled = e.enabled || !1, this.webhook_secret = e.webhook_secret || "", this.control_system_id = e.system_id || e.control_system_id || "", this.zone_id = e.zone_id || "", this.system_name = e.system_name || (e.control_system ? e.control_system.name : ""), this.enable_webhook = e.enable_webhook || !1, this.exec_enabled = e.exec_enabled || !1, this.supported_methods = e.supported_methods || ["POST"], this.activated_count = e.activated_count || e.trigger_count || 0, this.playlists = e.playlists || [], this.trigger_id = e.trigger_id || "", this.any_match = e.any_match || !1;
3378
3382
  }
3379
3383
  }
3380
3384
  class Un extends L {