@placeos/ts-client 4.8.2 → 4.8.4

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
@@ -3438,6 +3438,8 @@ class Dn extends L {
3438
3438
  type;
3439
3439
  /** Count of resources associated with the zone */
3440
3440
  count;
3441
+ /** Count of child zones for this zone */
3442
+ children_count;
3441
3443
  /** Amount of physical capacity associated with the zone */
3442
3444
  capacity;
3443
3445
  /** ID or URL of or in a map associated with the zone */
@@ -3454,7 +3456,7 @@ class Dn extends L {
3454
3456
  */
3455
3457
  trigger_list = [];
3456
3458
  constructor(e = {}) {
3457
- super(e), this.description = e.description || "", this.tags = e.tags || [], this.triggers = e.triggers || [], this.settings = e.settings || [null, null, null, null], this.parent_id = e.parent_id || "", this.location = e.location || "", this.display_name = e.display_name || "", this.code = e.code || "", this.type = e.type || "", this.count = e.count || 0, this.capacity = e.capacity || 0, this.map_id = e.map_id || "", this.timezone = e.timezone || "", this.images = e.images || [], this.playlists = e.playlists || [], typeof this.settings != "object" && (this.settings = [null, null, null, null]);
3459
+ super(e), this.description = e.description || "", this.tags = e.tags || [], this.triggers = e.triggers || [], this.settings = e.settings || [null, null, null, null], this.parent_id = e.parent_id || "", this.location = e.location || "", this.display_name = e.display_name || "", this.code = e.code || "", this.type = e.type || "", this.count = e.count || 0, this.capacity = e.capacity || 0, this.map_id = e.map_id || "", this.timezone = e.timezone || "", this.images = e.images || [], this.playlists = e.playlists || [], isFinite(Number(e.children_count)) && (this.children_count = e.children_count), typeof this.settings != "object" && (this.settings = [null, null, null, null]);
3458
3460
  for (const n in He)
3459
3461
  !isNaN(Number(n)) && !this.settings[n] && (this.settings[n] = new Oe({
3460
3462
  parent_id: this.id,