@placeos/ts-client 4.4.4 → 4.5.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/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +9 -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 +8 -0
- package/package.json +1 -1
- package/src/systems/system.ts +12 -0
package/dist/index.es.js
CHANGED
|
@@ -3518,6 +3518,14 @@ class Tr extends H {
|
|
|
3518
3518
|
installed_ui_devices;
|
|
3519
3519
|
/** Support URL for the system */
|
|
3520
3520
|
support_url;
|
|
3521
|
+
/** URL for the timetable UI linked to the system */
|
|
3522
|
+
timetable_url;
|
|
3523
|
+
/** URL for requesting snapshots of the assosiated camera */
|
|
3524
|
+
camera_snapshot_url;
|
|
3525
|
+
/** URL for managing the attached camera */
|
|
3526
|
+
camera_url;
|
|
3527
|
+
/** External booking URL for the system */
|
|
3528
|
+
room_booking_url;
|
|
3521
3529
|
/** ID on the SVG Map associated with this system */
|
|
3522
3530
|
map_id;
|
|
3523
3531
|
/** List of module IDs that belong to the system */
|
|
@@ -3541,7 +3549,7 @@ class Tr extends H {
|
|
|
3541
3549
|
/** Orientation of the signage system */
|
|
3542
3550
|
orientation;
|
|
3543
3551
|
constructor(e = {}) {
|
|
3544
|
-
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.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]);
|
|
3552
|
+
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_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]);
|
|
3545
3553
|
for (const n in Te)
|
|
3546
3554
|
!isNaN(Number(n)) && !this.settings[n] && (this.settings[n] = new Se({
|
|
3547
3555
|
parent_id: this.id,
|