@placeos/ts-client 4.4.3 → 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 +10 -2
- 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/realtime/functions.ts +1 -1
- package/src/systems/system.ts +12 -0
package/dist/systems/system.d.ts
CHANGED
|
@@ -35,6 +35,14 @@ export declare class PlaceSystem extends PlaceResource {
|
|
|
35
35
|
readonly installed_ui_devices: number;
|
|
36
36
|
/** Support URL for the system */
|
|
37
37
|
readonly support_url: string;
|
|
38
|
+
/** URL for the timetable UI linked to the system */
|
|
39
|
+
readonly timetable_url: string;
|
|
40
|
+
/** URL for requesting snapshots of the assosiated camera */
|
|
41
|
+
readonly camera_snapshot_url: string;
|
|
42
|
+
/** URL for managing the attached camera */
|
|
43
|
+
readonly camera_url: string;
|
|
44
|
+
/** External booking URL for the system */
|
|
45
|
+
readonly room_booking_url: string;
|
|
38
46
|
/** ID on the SVG Map associated with this system */
|
|
39
47
|
readonly map_id: string;
|
|
40
48
|
/** List of module IDs that belong to the system */
|
package/package.json
CHANGED
package/src/systems/system.ts
CHANGED
|
@@ -38,6 +38,14 @@ export class PlaceSystem extends PlaceResource {
|
|
|
38
38
|
public readonly installed_ui_devices: number;
|
|
39
39
|
/** Support URL for the system */
|
|
40
40
|
public readonly support_url: string;
|
|
41
|
+
/** URL for the timetable UI linked to the system */
|
|
42
|
+
public readonly timetable_url: string;
|
|
43
|
+
/** URL for requesting snapshots of the assosiated camera */
|
|
44
|
+
public readonly camera_snapshot_url: string;
|
|
45
|
+
/** URL for managing the attached camera */
|
|
46
|
+
public readonly camera_url: string;
|
|
47
|
+
/** External booking URL for the system */
|
|
48
|
+
public readonly room_booking_url: string;
|
|
41
49
|
/** ID on the SVG Map associated with this system */
|
|
42
50
|
public readonly map_id: string;
|
|
43
51
|
/** List of module IDs that belong to the system */
|
|
@@ -77,6 +85,10 @@ export class PlaceSystem extends PlaceResource {
|
|
|
77
85
|
this.public = raw_data.public ?? false;
|
|
78
86
|
this.installed_ui_devices = raw_data.installed_ui_devices || 0;
|
|
79
87
|
this.support_url = raw_data.support_url || '';
|
|
88
|
+
this.camera_snapshot_url = raw_data.camera_snapshot_url || '';
|
|
89
|
+
this.camera_url = raw_data.camera_url || '';
|
|
90
|
+
this.timetable_url = raw_data.timetable_url || '';
|
|
91
|
+
this.room_booking_url = raw_data.room_booking_url || '';
|
|
80
92
|
this.map_id = raw_data.map_id || '';
|
|
81
93
|
this.modules = raw_data.modules || [];
|
|
82
94
|
this.images = raw_data.images || [];
|