@kohost/api-client 3.4.7 → 3.6.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/cjs/schemas/definitions.json +0 -1
- package/dist/cjs/schemas/lock.json +7 -0
- package/dist/esm/Models.js +7 -1
- package/dist/esm/Models.js.map +2 -2
- package/dist/esm/utils.js +7 -1
- package/dist/esm/utils.js.map +2 -2
- package/dist/types/schemas/AlarmSchema.d.ts +0 -1
- package/dist/types/schemas/CameraSchema.d.ts +0 -1
- package/dist/types/schemas/CategorySchema.d.ts +0 -1
- package/dist/types/schemas/CourtesySchema.d.ts +0 -1
- package/dist/types/schemas/CredentialSchema.d.ts +0 -1
- package/dist/types/schemas/DimmerSchema.d.ts +0 -1
- package/dist/types/schemas/GatewaySchema.d.ts +0 -1
- package/dist/types/schemas/LockSchema.d.ts +1 -1
- package/dist/types/schemas/MediaSourceSchema.d.ts +0 -1
- package/dist/types/schemas/MotionSensorSchema.d.ts +0 -1
- package/dist/types/schemas/ProductSchema.d.ts +0 -1
- package/dist/types/schemas/ReservationSchema.d.ts +0 -1
- package/dist/types/schemas/RoomSchema.d.ts +1 -10
- package/dist/types/schemas/SpaceSchema.d.ts +0 -1
- package/dist/types/schemas/SwitchSchema.d.ts +0 -1
- package/dist/types/schemas/SystemUserSchema.d.ts +0 -1
- package/dist/types/schemas/ThermostatSchema.d.ts +0 -1
- package/dist/types/schemas/UserSchema.d.ts +0 -1
- package/dist/types/schemas/WindowCoveringSchema.d.ts +0 -1
- package/package.json +1 -1
|
@@ -148,7 +148,6 @@ export interface Lock {
|
|
|
148
148
|
| "kohost"
|
|
149
149
|
| "lg"
|
|
150
150
|
| "lg-webos"
|
|
151
|
-
| "rtsp"
|
|
152
151
|
| "lapi"
|
|
153
152
|
| "lirc"
|
|
154
153
|
| "mews"
|
|
@@ -177,6 +176,7 @@ export interface Lock {
|
|
|
177
176
|
* AutoLock: Lock automatically locks after set time. Normal - Lock needs told to lock or unlock.
|
|
178
177
|
*/
|
|
179
178
|
mode?: "normal" | "autoLock" | "emergencyOpen" | "emergencyClose" | null;
|
|
179
|
+
supportedModes?: ("normal" | "autoLock" | "emergencyOpen" | "emergencyClose")[];
|
|
180
180
|
batteryLevel?: number;
|
|
181
181
|
systemId?: string;
|
|
182
182
|
watts?: number;
|
|
@@ -179,7 +179,6 @@ export interface Dimmer {
|
|
|
179
179
|
| "kohost"
|
|
180
180
|
| "lg"
|
|
181
181
|
| "lg-webos"
|
|
182
|
-
| "rtsp"
|
|
183
182
|
| "lapi"
|
|
184
183
|
| "lirc"
|
|
185
184
|
| "mews"
|
|
@@ -287,7 +286,6 @@ export interface Switch {
|
|
|
287
286
|
| "kohost"
|
|
288
287
|
| "lg"
|
|
289
288
|
| "lg-webos"
|
|
290
|
-
| "rtsp"
|
|
291
289
|
| "lapi"
|
|
292
290
|
| "lirc"
|
|
293
291
|
| "mews"
|
|
@@ -359,7 +357,6 @@ export interface Thermostat {
|
|
|
359
357
|
| "kohost"
|
|
360
358
|
| "lg"
|
|
361
359
|
| "lg-webos"
|
|
362
|
-
| "rtsp"
|
|
363
360
|
| "lapi"
|
|
364
361
|
| "lirc"
|
|
365
362
|
| "mews"
|
|
@@ -531,7 +528,6 @@ export interface Lock {
|
|
|
531
528
|
| "kohost"
|
|
532
529
|
| "lg"
|
|
533
530
|
| "lg-webos"
|
|
534
|
-
| "rtsp"
|
|
535
531
|
| "lapi"
|
|
536
532
|
| "lirc"
|
|
537
533
|
| "mews"
|
|
@@ -560,6 +556,7 @@ export interface Lock {
|
|
|
560
556
|
* AutoLock: Lock automatically locks after set time. Normal - Lock needs told to lock or unlock.
|
|
561
557
|
*/
|
|
562
558
|
mode?: "normal" | "autoLock" | "emergencyOpen" | "emergencyClose" | null;
|
|
559
|
+
supportedModes?: ("normal" | "autoLock" | "emergencyOpen" | "emergencyClose")[];
|
|
563
560
|
batteryLevel?: number;
|
|
564
561
|
systemId?: string;
|
|
565
562
|
watts?: number;
|
|
@@ -643,7 +640,6 @@ export interface WindowCovering {
|
|
|
643
640
|
| "kohost"
|
|
644
641
|
| "lg"
|
|
645
642
|
| "lg-webos"
|
|
646
|
-
| "rtsp"
|
|
647
643
|
| "lapi"
|
|
648
644
|
| "lirc"
|
|
649
645
|
| "mews"
|
|
@@ -750,7 +746,6 @@ export interface Courtesy {
|
|
|
750
746
|
| "kohost"
|
|
751
747
|
| "lg"
|
|
752
748
|
| "lg-webos"
|
|
753
|
-
| "rtsp"
|
|
754
749
|
| "lapi"
|
|
755
750
|
| "lirc"
|
|
756
751
|
| "mews"
|
|
@@ -859,7 +854,6 @@ export interface Camera {
|
|
|
859
854
|
| "kohost"
|
|
860
855
|
| "lg"
|
|
861
856
|
| "lg-webos"
|
|
862
|
-
| "rtsp"
|
|
863
857
|
| "lapi"
|
|
864
858
|
| "lirc"
|
|
865
859
|
| "mews"
|
|
@@ -937,7 +931,6 @@ export interface MediaSource {
|
|
|
937
931
|
| "kohost"
|
|
938
932
|
| "lg"
|
|
939
933
|
| "lg-webos"
|
|
940
|
-
| "rtsp"
|
|
941
934
|
| "lapi"
|
|
942
935
|
| "lirc"
|
|
943
936
|
| "mews"
|
|
@@ -1170,7 +1163,6 @@ export interface MotionSensor {
|
|
|
1170
1163
|
| "kohost"
|
|
1171
1164
|
| "lg"
|
|
1172
1165
|
| "lg-webos"
|
|
1173
|
-
| "rtsp"
|
|
1174
1166
|
| "lapi"
|
|
1175
1167
|
| "lirc"
|
|
1176
1168
|
| "mews"
|
|
@@ -1311,7 +1303,6 @@ export interface Alarm {
|
|
|
1311
1303
|
| "kohost"
|
|
1312
1304
|
| "lg"
|
|
1313
1305
|
| "lg-webos"
|
|
1314
|
-
| "rtsp"
|
|
1315
1306
|
| "lapi"
|
|
1316
1307
|
| "lirc"
|
|
1317
1308
|
| "mews"
|