@placeos/ts-client 4.8.0 → 4.8.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.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +3 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/systems/system.d.ts +2 -0
- package/package.json +1 -1
- package/src/systems/system.ts +3 -0
package/dist/index.es.js
CHANGED
|
@@ -3578,6 +3578,8 @@ class Qr extends L {
|
|
|
3578
3578
|
/** URL for the timetable UI linked to the system */
|
|
3579
3579
|
timetable_url;
|
|
3580
3580
|
/** URLs for requesting snapshots of the assosiated camera */
|
|
3581
|
+
camera_snapshot_url;
|
|
3582
|
+
/** URLs for requesting snapshots of the assosiated camera */
|
|
3581
3583
|
camera_snapshot_urls;
|
|
3582
3584
|
/** URL for managing the attached camera */
|
|
3583
3585
|
camera_url;
|
|
@@ -3606,7 +3608,7 @@ class Qr extends L {
|
|
|
3606
3608
|
/** Orientation of the signage system */
|
|
3607
3609
|
orientation;
|
|
3608
3610
|
constructor(e = {}) {
|
|
3609
|
-
super(e), this.display_name = e.display_name || "", this.description = e.description || "", this.email = e.email || "", this.code = e.code || "", this.capacity = e.capacity || 0, this.features = e.features || [], this.bookable = e.bookable || !1, this.public = e.public ?? !1, this.installed_ui_devices = e.installed_ui_devices || 0, this.support_url = e.support_url || "", this.camera_snapshot_urls = e.camera_snapshot_urls || [], this.camera_url = e.camera_url || "", this.timetable_url = e.timetable_url || "", this.room_booking_url = e.room_booking_url || "", this.map_id = e.map_id || "", this.modules = e.modules || [], this.images = e.images || [], this.zones = e.zones || [], this.settings = e.settings || [null, null, null, null], this.timezone = e.timezone || "", this.signage = e.signage || !1, this.playlists = e.playlists || [], this.orientation = e.orientation || "unspecified", this.approval = e.approval || !1, typeof this.settings != "object" && (this.settings = [null, null, null, null]);
|
|
3611
|
+
super(e), this.display_name = e.display_name || "", this.description = e.description || "", this.email = e.email || "", this.code = e.code || "", this.capacity = e.capacity || 0, this.features = e.features || [], this.bookable = e.bookable || !1, this.public = e.public ?? !1, this.installed_ui_devices = e.installed_ui_devices || 0, this.support_url = e.support_url || "", this.camera_snapshot_url = e.camera_snapshot_url || "", this.camera_snapshot_urls = e.camera_snapshot_urls || [], this.camera_url = e.camera_url || "", this.timetable_url = e.timetable_url || "", this.room_booking_url = e.room_booking_url || "", this.map_id = e.map_id || "", this.modules = e.modules || [], this.images = e.images || [], this.zones = e.zones || [], this.settings = e.settings || [null, null, null, null], this.timezone = e.timezone || "", this.signage = e.signage || !1, this.playlists = e.playlists || [], this.orientation = e.orientation || "unspecified", this.approval = e.approval || !1, typeof this.settings != "object" && (this.settings = [null, null, null, null]);
|
|
3610
3612
|
for (const n in He)
|
|
3611
3613
|
!isNaN(Number(n)) && !this.settings[n] && (this.settings[n] = new Oe({
|
|
3612
3614
|
parent_id: this.id,
|