@kohost/api-client 3.3.13 → 3.3.14
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 +1 -0
- package/dist/esm/Models.js +1 -0
- package/dist/esm/Models.js.map +2 -2
- package/dist/esm/utils.js +1 -0
- package/dist/esm/utils.js.map +2 -2
- package/dist/types/schemas/AlarmSchema.d.ts +3 -0
- package/dist/types/schemas/CameraSchema.d.ts +3 -0
- package/dist/types/schemas/CourtesySchema.d.ts +3 -0
- package/dist/types/schemas/DimmerSchema.d.ts +3 -0
- package/dist/types/schemas/GatewaySchema.d.ts +3 -0
- package/dist/types/schemas/LockSchema.d.ts +3 -0
- package/dist/types/schemas/MediaSourceSchema.d.ts +3 -0
- package/dist/types/schemas/MotionSensorSchema.d.ts +3 -0
- package/dist/types/schemas/RoomSchema.d.ts +12 -0
- package/dist/types/schemas/SwitchSchema.d.ts +3 -0
- package/dist/types/schemas/ThermostatSchema.d.ts +3 -0
- package/dist/types/schemas/WindowCoveringSchema.d.ts +3 -0
- package/package.json +1 -1
|
@@ -17,6 +17,7 @@ export type SupportedNotifications = (
|
|
|
17
17
|
| "acMainsReconnected"
|
|
18
18
|
| "replaceBatterySoon"
|
|
19
19
|
| "replaceBatteryNow"
|
|
20
|
+
| "batteryOk"
|
|
20
21
|
| "hardwareFailure"
|
|
21
22
|
| "softwareFailure"
|
|
22
23
|
| "hardwareFailureWithCode"
|
|
@@ -46,6 +47,7 @@ export type Notification = {
|
|
|
46
47
|
| "acMainsReconnected"
|
|
47
48
|
| "replaceBatterySoon"
|
|
48
49
|
| "replaceBatteryNow"
|
|
50
|
+
| "batteryOk"
|
|
49
51
|
| "hardwareFailure"
|
|
50
52
|
| "softwareFailure"
|
|
51
53
|
| "hardwareFailureWithCode"
|
|
@@ -77,6 +79,7 @@ export type Notification = {
|
|
|
77
79
|
| "acMainsReconnected"
|
|
78
80
|
| "replaceBatterySoon"
|
|
79
81
|
| "replaceBatteryNow"
|
|
82
|
+
| "batteryOk"
|
|
80
83
|
| "hardwareFailure"
|
|
81
84
|
| "softwareFailure"
|
|
82
85
|
| "hardwareFailureWithCode"
|
|
@@ -17,6 +17,7 @@ export type SupportedNotifications = (
|
|
|
17
17
|
| "acMainsReconnected"
|
|
18
18
|
| "replaceBatterySoon"
|
|
19
19
|
| "replaceBatteryNow"
|
|
20
|
+
| "batteryOk"
|
|
20
21
|
| "hardwareFailure"
|
|
21
22
|
| "softwareFailure"
|
|
22
23
|
| "hardwareFailureWithCode"
|
|
@@ -46,6 +47,7 @@ export type Notification = {
|
|
|
46
47
|
| "acMainsReconnected"
|
|
47
48
|
| "replaceBatterySoon"
|
|
48
49
|
| "replaceBatteryNow"
|
|
50
|
+
| "batteryOk"
|
|
49
51
|
| "hardwareFailure"
|
|
50
52
|
| "softwareFailure"
|
|
51
53
|
| "hardwareFailureWithCode"
|
|
@@ -77,6 +79,7 @@ export type Notification = {
|
|
|
77
79
|
| "acMainsReconnected"
|
|
78
80
|
| "replaceBatterySoon"
|
|
79
81
|
| "replaceBatteryNow"
|
|
82
|
+
| "batteryOk"
|
|
80
83
|
| "hardwareFailure"
|
|
81
84
|
| "softwareFailure"
|
|
82
85
|
| "hardwareFailureWithCode"
|
|
@@ -17,6 +17,7 @@ export type SupportedNotifications = (
|
|
|
17
17
|
| "acMainsReconnected"
|
|
18
18
|
| "replaceBatterySoon"
|
|
19
19
|
| "replaceBatteryNow"
|
|
20
|
+
| "batteryOk"
|
|
20
21
|
| "hardwareFailure"
|
|
21
22
|
| "softwareFailure"
|
|
22
23
|
| "hardwareFailureWithCode"
|
|
@@ -46,6 +47,7 @@ export type Notification = {
|
|
|
46
47
|
| "acMainsReconnected"
|
|
47
48
|
| "replaceBatterySoon"
|
|
48
49
|
| "replaceBatteryNow"
|
|
50
|
+
| "batteryOk"
|
|
49
51
|
| "hardwareFailure"
|
|
50
52
|
| "softwareFailure"
|
|
51
53
|
| "hardwareFailureWithCode"
|
|
@@ -77,6 +79,7 @@ export type Notification = {
|
|
|
77
79
|
| "acMainsReconnected"
|
|
78
80
|
| "replaceBatterySoon"
|
|
79
81
|
| "replaceBatteryNow"
|
|
82
|
+
| "batteryOk"
|
|
80
83
|
| "hardwareFailure"
|
|
81
84
|
| "softwareFailure"
|
|
82
85
|
| "hardwareFailureWithCode"
|
|
@@ -17,6 +17,7 @@ export type SupportedNotifications = (
|
|
|
17
17
|
| "acMainsReconnected"
|
|
18
18
|
| "replaceBatterySoon"
|
|
19
19
|
| "replaceBatteryNow"
|
|
20
|
+
| "batteryOk"
|
|
20
21
|
| "hardwareFailure"
|
|
21
22
|
| "softwareFailure"
|
|
22
23
|
| "hardwareFailureWithCode"
|
|
@@ -46,6 +47,7 @@ export type Notification = {
|
|
|
46
47
|
| "acMainsReconnected"
|
|
47
48
|
| "replaceBatterySoon"
|
|
48
49
|
| "replaceBatteryNow"
|
|
50
|
+
| "batteryOk"
|
|
49
51
|
| "hardwareFailure"
|
|
50
52
|
| "softwareFailure"
|
|
51
53
|
| "hardwareFailureWithCode"
|
|
@@ -77,6 +79,7 @@ export type Notification = {
|
|
|
77
79
|
| "acMainsReconnected"
|
|
78
80
|
| "replaceBatterySoon"
|
|
79
81
|
| "replaceBatteryNow"
|
|
82
|
+
| "batteryOk"
|
|
80
83
|
| "hardwareFailure"
|
|
81
84
|
| "softwareFailure"
|
|
82
85
|
| "hardwareFailureWithCode"
|
|
@@ -17,6 +17,7 @@ export type SupportedNotifications = (
|
|
|
17
17
|
| "acMainsReconnected"
|
|
18
18
|
| "replaceBatterySoon"
|
|
19
19
|
| "replaceBatteryNow"
|
|
20
|
+
| "batteryOk"
|
|
20
21
|
| "hardwareFailure"
|
|
21
22
|
| "softwareFailure"
|
|
22
23
|
| "hardwareFailureWithCode"
|
|
@@ -46,6 +47,7 @@ export type Notification = {
|
|
|
46
47
|
| "acMainsReconnected"
|
|
47
48
|
| "replaceBatterySoon"
|
|
48
49
|
| "replaceBatteryNow"
|
|
50
|
+
| "batteryOk"
|
|
49
51
|
| "hardwareFailure"
|
|
50
52
|
| "softwareFailure"
|
|
51
53
|
| "hardwareFailureWithCode"
|
|
@@ -77,6 +79,7 @@ export type Notification = {
|
|
|
77
79
|
| "acMainsReconnected"
|
|
78
80
|
| "replaceBatterySoon"
|
|
79
81
|
| "replaceBatteryNow"
|
|
82
|
+
| "batteryOk"
|
|
80
83
|
| "hardwareFailure"
|
|
81
84
|
| "softwareFailure"
|
|
82
85
|
| "hardwareFailureWithCode"
|
|
@@ -17,6 +17,7 @@ export type SupportedNotifications = (
|
|
|
17
17
|
| "acMainsReconnected"
|
|
18
18
|
| "replaceBatterySoon"
|
|
19
19
|
| "replaceBatteryNow"
|
|
20
|
+
| "batteryOk"
|
|
20
21
|
| "hardwareFailure"
|
|
21
22
|
| "softwareFailure"
|
|
22
23
|
| "hardwareFailureWithCode"
|
|
@@ -46,6 +47,7 @@ export type Notification = {
|
|
|
46
47
|
| "acMainsReconnected"
|
|
47
48
|
| "replaceBatterySoon"
|
|
48
49
|
| "replaceBatteryNow"
|
|
50
|
+
| "batteryOk"
|
|
49
51
|
| "hardwareFailure"
|
|
50
52
|
| "softwareFailure"
|
|
51
53
|
| "hardwareFailureWithCode"
|
|
@@ -77,6 +79,7 @@ export type Notification = {
|
|
|
77
79
|
| "acMainsReconnected"
|
|
78
80
|
| "replaceBatterySoon"
|
|
79
81
|
| "replaceBatteryNow"
|
|
82
|
+
| "batteryOk"
|
|
80
83
|
| "hardwareFailure"
|
|
81
84
|
| "softwareFailure"
|
|
82
85
|
| "hardwareFailureWithCode"
|
|
@@ -17,6 +17,7 @@ export type SupportedNotifications = (
|
|
|
17
17
|
| "acMainsReconnected"
|
|
18
18
|
| "replaceBatterySoon"
|
|
19
19
|
| "replaceBatteryNow"
|
|
20
|
+
| "batteryOk"
|
|
20
21
|
| "hardwareFailure"
|
|
21
22
|
| "softwareFailure"
|
|
22
23
|
| "hardwareFailureWithCode"
|
|
@@ -46,6 +47,7 @@ export type Notification = {
|
|
|
46
47
|
| "acMainsReconnected"
|
|
47
48
|
| "replaceBatterySoon"
|
|
48
49
|
| "replaceBatteryNow"
|
|
50
|
+
| "batteryOk"
|
|
49
51
|
| "hardwareFailure"
|
|
50
52
|
| "softwareFailure"
|
|
51
53
|
| "hardwareFailureWithCode"
|
|
@@ -77,6 +79,7 @@ export type Notification = {
|
|
|
77
79
|
| "acMainsReconnected"
|
|
78
80
|
| "replaceBatterySoon"
|
|
79
81
|
| "replaceBatteryNow"
|
|
82
|
+
| "batteryOk"
|
|
80
83
|
| "hardwareFailure"
|
|
81
84
|
| "softwareFailure"
|
|
82
85
|
| "hardwareFailureWithCode"
|
|
@@ -17,6 +17,7 @@ export type SupportedNotifications = (
|
|
|
17
17
|
| "acMainsReconnected"
|
|
18
18
|
| "replaceBatterySoon"
|
|
19
19
|
| "replaceBatteryNow"
|
|
20
|
+
| "batteryOk"
|
|
20
21
|
| "hardwareFailure"
|
|
21
22
|
| "softwareFailure"
|
|
22
23
|
| "hardwareFailureWithCode"
|
|
@@ -46,6 +47,7 @@ export type Notification = {
|
|
|
46
47
|
| "acMainsReconnected"
|
|
47
48
|
| "replaceBatterySoon"
|
|
48
49
|
| "replaceBatteryNow"
|
|
50
|
+
| "batteryOk"
|
|
49
51
|
| "hardwareFailure"
|
|
50
52
|
| "softwareFailure"
|
|
51
53
|
| "hardwareFailureWithCode"
|
|
@@ -77,6 +79,7 @@ export type Notification = {
|
|
|
77
79
|
| "acMainsReconnected"
|
|
78
80
|
| "replaceBatterySoon"
|
|
79
81
|
| "replaceBatteryNow"
|
|
82
|
+
| "batteryOk"
|
|
80
83
|
| "hardwareFailure"
|
|
81
84
|
| "softwareFailure"
|
|
82
85
|
| "hardwareFailureWithCode"
|
|
@@ -17,6 +17,7 @@ export type SupportedNotifications = (
|
|
|
17
17
|
| "acMainsReconnected"
|
|
18
18
|
| "replaceBatterySoon"
|
|
19
19
|
| "replaceBatteryNow"
|
|
20
|
+
| "batteryOk"
|
|
20
21
|
| "hardwareFailure"
|
|
21
22
|
| "softwareFailure"
|
|
22
23
|
| "hardwareFailureWithCode"
|
|
@@ -46,6 +47,7 @@ export type Notification = {
|
|
|
46
47
|
| "acMainsReconnected"
|
|
47
48
|
| "replaceBatterySoon"
|
|
48
49
|
| "replaceBatteryNow"
|
|
50
|
+
| "batteryOk"
|
|
49
51
|
| "hardwareFailure"
|
|
50
52
|
| "softwareFailure"
|
|
51
53
|
| "hardwareFailureWithCode"
|
|
@@ -77,6 +79,7 @@ export type Notification = {
|
|
|
77
79
|
| "acMainsReconnected"
|
|
78
80
|
| "replaceBatterySoon"
|
|
79
81
|
| "replaceBatteryNow"
|
|
82
|
+
| "batteryOk"
|
|
80
83
|
| "hardwareFailure"
|
|
81
84
|
| "softwareFailure"
|
|
82
85
|
| "hardwareFailureWithCode"
|
|
@@ -238,6 +241,7 @@ export interface Switch {
|
|
|
238
241
|
| "acMainsReconnected"
|
|
239
242
|
| "replaceBatterySoon"
|
|
240
243
|
| "replaceBatteryNow"
|
|
244
|
+
| "batteryOk"
|
|
241
245
|
| "hardwareFailure"
|
|
242
246
|
| "softwareFailure"
|
|
243
247
|
| "hardwareFailureWithCode"
|
|
@@ -378,6 +382,7 @@ export interface Thermostat {
|
|
|
378
382
|
| "acMainsReconnected"
|
|
379
383
|
| "replaceBatterySoon"
|
|
380
384
|
| "replaceBatteryNow"
|
|
385
|
+
| "batteryOk"
|
|
381
386
|
| "hardwareFailure"
|
|
382
387
|
| "softwareFailure"
|
|
383
388
|
| "hardwareFailureWithCode"
|
|
@@ -470,6 +475,7 @@ export interface Lock {
|
|
|
470
475
|
| "acMainsReconnected"
|
|
471
476
|
| "replaceBatterySoon"
|
|
472
477
|
| "replaceBatteryNow"
|
|
478
|
+
| "batteryOk"
|
|
473
479
|
| "hardwareFailure"
|
|
474
480
|
| "softwareFailure"
|
|
475
481
|
| "hardwareFailureWithCode"
|
|
@@ -576,6 +582,7 @@ export interface WindowCovering {
|
|
|
576
582
|
| "acMainsReconnected"
|
|
577
583
|
| "replaceBatterySoon"
|
|
578
584
|
| "replaceBatteryNow"
|
|
585
|
+
| "batteryOk"
|
|
579
586
|
| "hardwareFailure"
|
|
580
587
|
| "softwareFailure"
|
|
581
588
|
| "hardwareFailureWithCode"
|
|
@@ -677,6 +684,7 @@ export interface Courtesy {
|
|
|
677
684
|
| "acMainsReconnected"
|
|
678
685
|
| "replaceBatterySoon"
|
|
679
686
|
| "replaceBatteryNow"
|
|
687
|
+
| "batteryOk"
|
|
680
688
|
| "hardwareFailure"
|
|
681
689
|
| "softwareFailure"
|
|
682
690
|
| "hardwareFailureWithCode"
|
|
@@ -780,6 +788,7 @@ export interface Camera {
|
|
|
780
788
|
| "acMainsReconnected"
|
|
781
789
|
| "replaceBatterySoon"
|
|
782
790
|
| "replaceBatteryNow"
|
|
791
|
+
| "batteryOk"
|
|
783
792
|
| "hardwareFailure"
|
|
784
793
|
| "softwareFailure"
|
|
785
794
|
| "hardwareFailureWithCode"
|
|
@@ -1055,6 +1064,7 @@ export interface MediaSource {
|
|
|
1055
1064
|
| "acMainsReconnected"
|
|
1056
1065
|
| "replaceBatterySoon"
|
|
1057
1066
|
| "replaceBatteryNow"
|
|
1067
|
+
| "batteryOk"
|
|
1058
1068
|
| "hardwareFailure"
|
|
1059
1069
|
| "softwareFailure"
|
|
1060
1070
|
| "hardwareFailureWithCode"
|
|
@@ -1153,6 +1163,7 @@ export interface MotionSensor {
|
|
|
1153
1163
|
| "acMainsReconnected"
|
|
1154
1164
|
| "replaceBatterySoon"
|
|
1155
1165
|
| "replaceBatteryNow"
|
|
1166
|
+
| "batteryOk"
|
|
1156
1167
|
| "hardwareFailure"
|
|
1157
1168
|
| "softwareFailure"
|
|
1158
1169
|
| "hardwareFailureWithCode"
|
|
@@ -1214,6 +1225,7 @@ export interface Alarm {
|
|
|
1214
1225
|
| "acMainsReconnected"
|
|
1215
1226
|
| "replaceBatterySoon"
|
|
1216
1227
|
| "replaceBatteryNow"
|
|
1228
|
+
| "batteryOk"
|
|
1217
1229
|
| "hardwareFailure"
|
|
1218
1230
|
| "softwareFailure"
|
|
1219
1231
|
| "hardwareFailureWithCode"
|
|
@@ -17,6 +17,7 @@ export type SupportedNotifications = (
|
|
|
17
17
|
| "acMainsReconnected"
|
|
18
18
|
| "replaceBatterySoon"
|
|
19
19
|
| "replaceBatteryNow"
|
|
20
|
+
| "batteryOk"
|
|
20
21
|
| "hardwareFailure"
|
|
21
22
|
| "softwareFailure"
|
|
22
23
|
| "hardwareFailureWithCode"
|
|
@@ -46,6 +47,7 @@ export type Notification = {
|
|
|
46
47
|
| "acMainsReconnected"
|
|
47
48
|
| "replaceBatterySoon"
|
|
48
49
|
| "replaceBatteryNow"
|
|
50
|
+
| "batteryOk"
|
|
49
51
|
| "hardwareFailure"
|
|
50
52
|
| "softwareFailure"
|
|
51
53
|
| "hardwareFailureWithCode"
|
|
@@ -77,6 +79,7 @@ export type Notification = {
|
|
|
77
79
|
| "acMainsReconnected"
|
|
78
80
|
| "replaceBatterySoon"
|
|
79
81
|
| "replaceBatteryNow"
|
|
82
|
+
| "batteryOk"
|
|
80
83
|
| "hardwareFailure"
|
|
81
84
|
| "softwareFailure"
|
|
82
85
|
| "hardwareFailureWithCode"
|
|
@@ -17,6 +17,7 @@ export type SupportedNotifications = (
|
|
|
17
17
|
| "acMainsReconnected"
|
|
18
18
|
| "replaceBatterySoon"
|
|
19
19
|
| "replaceBatteryNow"
|
|
20
|
+
| "batteryOk"
|
|
20
21
|
| "hardwareFailure"
|
|
21
22
|
| "softwareFailure"
|
|
22
23
|
| "hardwareFailureWithCode"
|
|
@@ -46,6 +47,7 @@ export type Notification = {
|
|
|
46
47
|
| "acMainsReconnected"
|
|
47
48
|
| "replaceBatterySoon"
|
|
48
49
|
| "replaceBatteryNow"
|
|
50
|
+
| "batteryOk"
|
|
49
51
|
| "hardwareFailure"
|
|
50
52
|
| "softwareFailure"
|
|
51
53
|
| "hardwareFailureWithCode"
|
|
@@ -77,6 +79,7 @@ export type Notification = {
|
|
|
77
79
|
| "acMainsReconnected"
|
|
78
80
|
| "replaceBatterySoon"
|
|
79
81
|
| "replaceBatteryNow"
|
|
82
|
+
| "batteryOk"
|
|
80
83
|
| "hardwareFailure"
|
|
81
84
|
| "softwareFailure"
|
|
82
85
|
| "hardwareFailureWithCode"
|
|
@@ -17,6 +17,7 @@ export type SupportedNotifications = (
|
|
|
17
17
|
| "acMainsReconnected"
|
|
18
18
|
| "replaceBatterySoon"
|
|
19
19
|
| "replaceBatteryNow"
|
|
20
|
+
| "batteryOk"
|
|
20
21
|
| "hardwareFailure"
|
|
21
22
|
| "softwareFailure"
|
|
22
23
|
| "hardwareFailureWithCode"
|
|
@@ -46,6 +47,7 @@ export type Notification = {
|
|
|
46
47
|
| "acMainsReconnected"
|
|
47
48
|
| "replaceBatterySoon"
|
|
48
49
|
| "replaceBatteryNow"
|
|
50
|
+
| "batteryOk"
|
|
49
51
|
| "hardwareFailure"
|
|
50
52
|
| "softwareFailure"
|
|
51
53
|
| "hardwareFailureWithCode"
|
|
@@ -77,6 +79,7 @@ export type Notification = {
|
|
|
77
79
|
| "acMainsReconnected"
|
|
78
80
|
| "replaceBatterySoon"
|
|
79
81
|
| "replaceBatteryNow"
|
|
82
|
+
| "batteryOk"
|
|
80
83
|
| "hardwareFailure"
|
|
81
84
|
| "softwareFailure"
|
|
82
85
|
| "hardwareFailureWithCode"
|