@kohost/api-client 3.3.14 → 3.3.15
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
|
@@ -31,6 +31,7 @@ export type SupportedNotifications = (
|
|
|
31
31
|
| "scheduleMaintenance"
|
|
32
32
|
| "doorAjar"
|
|
33
33
|
| "communicationFailure"
|
|
34
|
+
| "communicationOk"
|
|
34
35
|
| "burglarAlarm"
|
|
35
36
|
| "fireAlarm"
|
|
36
37
|
)[];
|
|
@@ -61,6 +62,7 @@ export type Notification = {
|
|
|
61
62
|
| "scheduleMaintenance"
|
|
62
63
|
| "doorAjar"
|
|
63
64
|
| "communicationFailure"
|
|
65
|
+
| "communicationOk"
|
|
64
66
|
| "burglarAlarm"
|
|
65
67
|
| "fireAlarm";
|
|
66
68
|
timestamp?: number;
|
|
@@ -93,6 +95,7 @@ export type Notification = {
|
|
|
93
95
|
| "scheduleMaintenance"
|
|
94
96
|
| "doorAjar"
|
|
95
97
|
| "communicationFailure"
|
|
98
|
+
| "communicationOk"
|
|
96
99
|
| "burglarAlarm"
|
|
97
100
|
| "fireAlarm";
|
|
98
101
|
timestamp?: number;
|
|
@@ -31,6 +31,7 @@ export type SupportedNotifications = (
|
|
|
31
31
|
| "scheduleMaintenance"
|
|
32
32
|
| "doorAjar"
|
|
33
33
|
| "communicationFailure"
|
|
34
|
+
| "communicationOk"
|
|
34
35
|
| "burglarAlarm"
|
|
35
36
|
| "fireAlarm"
|
|
36
37
|
)[];
|
|
@@ -61,6 +62,7 @@ export type Notification = {
|
|
|
61
62
|
| "scheduleMaintenance"
|
|
62
63
|
| "doorAjar"
|
|
63
64
|
| "communicationFailure"
|
|
65
|
+
| "communicationOk"
|
|
64
66
|
| "burglarAlarm"
|
|
65
67
|
| "fireAlarm";
|
|
66
68
|
timestamp?: number;
|
|
@@ -93,6 +95,7 @@ export type Notification = {
|
|
|
93
95
|
| "scheduleMaintenance"
|
|
94
96
|
| "doorAjar"
|
|
95
97
|
| "communicationFailure"
|
|
98
|
+
| "communicationOk"
|
|
96
99
|
| "burglarAlarm"
|
|
97
100
|
| "fireAlarm";
|
|
98
101
|
timestamp?: number;
|
|
@@ -31,6 +31,7 @@ export type SupportedNotifications = (
|
|
|
31
31
|
| "scheduleMaintenance"
|
|
32
32
|
| "doorAjar"
|
|
33
33
|
| "communicationFailure"
|
|
34
|
+
| "communicationOk"
|
|
34
35
|
| "burglarAlarm"
|
|
35
36
|
| "fireAlarm"
|
|
36
37
|
)[];
|
|
@@ -61,6 +62,7 @@ export type Notification = {
|
|
|
61
62
|
| "scheduleMaintenance"
|
|
62
63
|
| "doorAjar"
|
|
63
64
|
| "communicationFailure"
|
|
65
|
+
| "communicationOk"
|
|
64
66
|
| "burglarAlarm"
|
|
65
67
|
| "fireAlarm";
|
|
66
68
|
timestamp?: number;
|
|
@@ -93,6 +95,7 @@ export type Notification = {
|
|
|
93
95
|
| "scheduleMaintenance"
|
|
94
96
|
| "doorAjar"
|
|
95
97
|
| "communicationFailure"
|
|
98
|
+
| "communicationOk"
|
|
96
99
|
| "burglarAlarm"
|
|
97
100
|
| "fireAlarm";
|
|
98
101
|
timestamp?: number;
|
|
@@ -31,6 +31,7 @@ export type SupportedNotifications = (
|
|
|
31
31
|
| "scheduleMaintenance"
|
|
32
32
|
| "doorAjar"
|
|
33
33
|
| "communicationFailure"
|
|
34
|
+
| "communicationOk"
|
|
34
35
|
| "burglarAlarm"
|
|
35
36
|
| "fireAlarm"
|
|
36
37
|
)[];
|
|
@@ -61,6 +62,7 @@ export type Notification = {
|
|
|
61
62
|
| "scheduleMaintenance"
|
|
62
63
|
| "doorAjar"
|
|
63
64
|
| "communicationFailure"
|
|
65
|
+
| "communicationOk"
|
|
64
66
|
| "burglarAlarm"
|
|
65
67
|
| "fireAlarm";
|
|
66
68
|
timestamp?: number;
|
|
@@ -93,6 +95,7 @@ export type Notification = {
|
|
|
93
95
|
| "scheduleMaintenance"
|
|
94
96
|
| "doorAjar"
|
|
95
97
|
| "communicationFailure"
|
|
98
|
+
| "communicationOk"
|
|
96
99
|
| "burglarAlarm"
|
|
97
100
|
| "fireAlarm";
|
|
98
101
|
timestamp?: number;
|
|
@@ -31,6 +31,7 @@ export type SupportedNotifications = (
|
|
|
31
31
|
| "scheduleMaintenance"
|
|
32
32
|
| "doorAjar"
|
|
33
33
|
| "communicationFailure"
|
|
34
|
+
| "communicationOk"
|
|
34
35
|
| "burglarAlarm"
|
|
35
36
|
| "fireAlarm"
|
|
36
37
|
)[];
|
|
@@ -61,6 +62,7 @@ export type Notification = {
|
|
|
61
62
|
| "scheduleMaintenance"
|
|
62
63
|
| "doorAjar"
|
|
63
64
|
| "communicationFailure"
|
|
65
|
+
| "communicationOk"
|
|
64
66
|
| "burglarAlarm"
|
|
65
67
|
| "fireAlarm";
|
|
66
68
|
timestamp?: number;
|
|
@@ -93,6 +95,7 @@ export type Notification = {
|
|
|
93
95
|
| "scheduleMaintenance"
|
|
94
96
|
| "doorAjar"
|
|
95
97
|
| "communicationFailure"
|
|
98
|
+
| "communicationOk"
|
|
96
99
|
| "burglarAlarm"
|
|
97
100
|
| "fireAlarm";
|
|
98
101
|
timestamp?: number;
|
|
@@ -31,6 +31,7 @@ export type SupportedNotifications = (
|
|
|
31
31
|
| "scheduleMaintenance"
|
|
32
32
|
| "doorAjar"
|
|
33
33
|
| "communicationFailure"
|
|
34
|
+
| "communicationOk"
|
|
34
35
|
| "burglarAlarm"
|
|
35
36
|
| "fireAlarm"
|
|
36
37
|
)[];
|
|
@@ -61,6 +62,7 @@ export type Notification = {
|
|
|
61
62
|
| "scheduleMaintenance"
|
|
62
63
|
| "doorAjar"
|
|
63
64
|
| "communicationFailure"
|
|
65
|
+
| "communicationOk"
|
|
64
66
|
| "burglarAlarm"
|
|
65
67
|
| "fireAlarm";
|
|
66
68
|
timestamp?: number;
|
|
@@ -93,6 +95,7 @@ export type Notification = {
|
|
|
93
95
|
| "scheduleMaintenance"
|
|
94
96
|
| "doorAjar"
|
|
95
97
|
| "communicationFailure"
|
|
98
|
+
| "communicationOk"
|
|
96
99
|
| "burglarAlarm"
|
|
97
100
|
| "fireAlarm";
|
|
98
101
|
timestamp?: number;
|
|
@@ -31,6 +31,7 @@ export type SupportedNotifications = (
|
|
|
31
31
|
| "scheduleMaintenance"
|
|
32
32
|
| "doorAjar"
|
|
33
33
|
| "communicationFailure"
|
|
34
|
+
| "communicationOk"
|
|
34
35
|
| "burglarAlarm"
|
|
35
36
|
| "fireAlarm"
|
|
36
37
|
)[];
|
|
@@ -61,6 +62,7 @@ export type Notification = {
|
|
|
61
62
|
| "scheduleMaintenance"
|
|
62
63
|
| "doorAjar"
|
|
63
64
|
| "communicationFailure"
|
|
65
|
+
| "communicationOk"
|
|
64
66
|
| "burglarAlarm"
|
|
65
67
|
| "fireAlarm";
|
|
66
68
|
timestamp?: number;
|
|
@@ -93,6 +95,7 @@ export type Notification = {
|
|
|
93
95
|
| "scheduleMaintenance"
|
|
94
96
|
| "doorAjar"
|
|
95
97
|
| "communicationFailure"
|
|
98
|
+
| "communicationOk"
|
|
96
99
|
| "burglarAlarm"
|
|
97
100
|
| "fireAlarm";
|
|
98
101
|
timestamp?: number;
|
|
@@ -31,6 +31,7 @@ export type SupportedNotifications = (
|
|
|
31
31
|
| "scheduleMaintenance"
|
|
32
32
|
| "doorAjar"
|
|
33
33
|
| "communicationFailure"
|
|
34
|
+
| "communicationOk"
|
|
34
35
|
| "burglarAlarm"
|
|
35
36
|
| "fireAlarm"
|
|
36
37
|
)[];
|
|
@@ -61,6 +62,7 @@ export type Notification = {
|
|
|
61
62
|
| "scheduleMaintenance"
|
|
62
63
|
| "doorAjar"
|
|
63
64
|
| "communicationFailure"
|
|
65
|
+
| "communicationOk"
|
|
64
66
|
| "burglarAlarm"
|
|
65
67
|
| "fireAlarm";
|
|
66
68
|
timestamp?: number;
|
|
@@ -93,6 +95,7 @@ export type Notification = {
|
|
|
93
95
|
| "scheduleMaintenance"
|
|
94
96
|
| "doorAjar"
|
|
95
97
|
| "communicationFailure"
|
|
98
|
+
| "communicationOk"
|
|
96
99
|
| "burglarAlarm"
|
|
97
100
|
| "fireAlarm";
|
|
98
101
|
timestamp?: number;
|
|
@@ -31,6 +31,7 @@ export type SupportedNotifications = (
|
|
|
31
31
|
| "scheduleMaintenance"
|
|
32
32
|
| "doorAjar"
|
|
33
33
|
| "communicationFailure"
|
|
34
|
+
| "communicationOk"
|
|
34
35
|
| "burglarAlarm"
|
|
35
36
|
| "fireAlarm"
|
|
36
37
|
)[];
|
|
@@ -61,6 +62,7 @@ export type Notification = {
|
|
|
61
62
|
| "scheduleMaintenance"
|
|
62
63
|
| "doorAjar"
|
|
63
64
|
| "communicationFailure"
|
|
65
|
+
| "communicationOk"
|
|
64
66
|
| "burglarAlarm"
|
|
65
67
|
| "fireAlarm";
|
|
66
68
|
timestamp?: number;
|
|
@@ -93,6 +95,7 @@ export type Notification = {
|
|
|
93
95
|
| "scheduleMaintenance"
|
|
94
96
|
| "doorAjar"
|
|
95
97
|
| "communicationFailure"
|
|
98
|
+
| "communicationOk"
|
|
96
99
|
| "burglarAlarm"
|
|
97
100
|
| "fireAlarm";
|
|
98
101
|
timestamp?: number;
|
|
@@ -255,6 +258,7 @@ export interface Switch {
|
|
|
255
258
|
| "scheduleMaintenance"
|
|
256
259
|
| "doorAjar"
|
|
257
260
|
| "communicationFailure"
|
|
261
|
+
| "communicationOk"
|
|
258
262
|
| "burglarAlarm"
|
|
259
263
|
| "fireAlarm";
|
|
260
264
|
timestamp?: number;
|
|
@@ -396,6 +400,7 @@ export interface Thermostat {
|
|
|
396
400
|
| "scheduleMaintenance"
|
|
397
401
|
| "doorAjar"
|
|
398
402
|
| "communicationFailure"
|
|
403
|
+
| "communicationOk"
|
|
399
404
|
| "burglarAlarm"
|
|
400
405
|
| "fireAlarm";
|
|
401
406
|
timestamp?: number;
|
|
@@ -489,6 +494,7 @@ export interface Lock {
|
|
|
489
494
|
| "scheduleMaintenance"
|
|
490
495
|
| "doorAjar"
|
|
491
496
|
| "communicationFailure"
|
|
497
|
+
| "communicationOk"
|
|
492
498
|
| "burglarAlarm"
|
|
493
499
|
| "fireAlarm";
|
|
494
500
|
timestamp?: number;
|
|
@@ -596,6 +602,7 @@ export interface WindowCovering {
|
|
|
596
602
|
| "scheduleMaintenance"
|
|
597
603
|
| "doorAjar"
|
|
598
604
|
| "communicationFailure"
|
|
605
|
+
| "communicationOk"
|
|
599
606
|
| "burglarAlarm"
|
|
600
607
|
| "fireAlarm";
|
|
601
608
|
timestamp?: number;
|
|
@@ -698,6 +705,7 @@ export interface Courtesy {
|
|
|
698
705
|
| "scheduleMaintenance"
|
|
699
706
|
| "doorAjar"
|
|
700
707
|
| "communicationFailure"
|
|
708
|
+
| "communicationOk"
|
|
701
709
|
| "burglarAlarm"
|
|
702
710
|
| "fireAlarm";
|
|
703
711
|
timestamp?: number;
|
|
@@ -802,6 +810,7 @@ export interface Camera {
|
|
|
802
810
|
| "scheduleMaintenance"
|
|
803
811
|
| "doorAjar"
|
|
804
812
|
| "communicationFailure"
|
|
813
|
+
| "communicationOk"
|
|
805
814
|
| "burglarAlarm"
|
|
806
815
|
| "fireAlarm";
|
|
807
816
|
timestamp?: number;
|
|
@@ -1078,6 +1087,7 @@ export interface MediaSource {
|
|
|
1078
1087
|
| "scheduleMaintenance"
|
|
1079
1088
|
| "doorAjar"
|
|
1080
1089
|
| "communicationFailure"
|
|
1090
|
+
| "communicationOk"
|
|
1081
1091
|
| "burglarAlarm"
|
|
1082
1092
|
| "fireAlarm";
|
|
1083
1093
|
timestamp?: number;
|
|
@@ -1177,6 +1187,7 @@ export interface MotionSensor {
|
|
|
1177
1187
|
| "scheduleMaintenance"
|
|
1178
1188
|
| "doorAjar"
|
|
1179
1189
|
| "communicationFailure"
|
|
1190
|
+
| "communicationOk"
|
|
1180
1191
|
| "burglarAlarm"
|
|
1181
1192
|
| "fireAlarm";
|
|
1182
1193
|
timestamp?: number;
|
|
@@ -1239,6 +1250,7 @@ export interface Alarm {
|
|
|
1239
1250
|
| "scheduleMaintenance"
|
|
1240
1251
|
| "doorAjar"
|
|
1241
1252
|
| "communicationFailure"
|
|
1253
|
+
| "communicationOk"
|
|
1242
1254
|
| "burglarAlarm"
|
|
1243
1255
|
| "fireAlarm";
|
|
1244
1256
|
timestamp?: number;
|
|
@@ -31,6 +31,7 @@ export type SupportedNotifications = (
|
|
|
31
31
|
| "scheduleMaintenance"
|
|
32
32
|
| "doorAjar"
|
|
33
33
|
| "communicationFailure"
|
|
34
|
+
| "communicationOk"
|
|
34
35
|
| "burglarAlarm"
|
|
35
36
|
| "fireAlarm"
|
|
36
37
|
)[];
|
|
@@ -61,6 +62,7 @@ export type Notification = {
|
|
|
61
62
|
| "scheduleMaintenance"
|
|
62
63
|
| "doorAjar"
|
|
63
64
|
| "communicationFailure"
|
|
65
|
+
| "communicationOk"
|
|
64
66
|
| "burglarAlarm"
|
|
65
67
|
| "fireAlarm";
|
|
66
68
|
timestamp?: number;
|
|
@@ -93,6 +95,7 @@ export type Notification = {
|
|
|
93
95
|
| "scheduleMaintenance"
|
|
94
96
|
| "doorAjar"
|
|
95
97
|
| "communicationFailure"
|
|
98
|
+
| "communicationOk"
|
|
96
99
|
| "burglarAlarm"
|
|
97
100
|
| "fireAlarm";
|
|
98
101
|
timestamp?: number;
|
|
@@ -31,6 +31,7 @@ export type SupportedNotifications = (
|
|
|
31
31
|
| "scheduleMaintenance"
|
|
32
32
|
| "doorAjar"
|
|
33
33
|
| "communicationFailure"
|
|
34
|
+
| "communicationOk"
|
|
34
35
|
| "burglarAlarm"
|
|
35
36
|
| "fireAlarm"
|
|
36
37
|
)[];
|
|
@@ -61,6 +62,7 @@ export type Notification = {
|
|
|
61
62
|
| "scheduleMaintenance"
|
|
62
63
|
| "doorAjar"
|
|
63
64
|
| "communicationFailure"
|
|
65
|
+
| "communicationOk"
|
|
64
66
|
| "burglarAlarm"
|
|
65
67
|
| "fireAlarm";
|
|
66
68
|
timestamp?: number;
|
|
@@ -93,6 +95,7 @@ export type Notification = {
|
|
|
93
95
|
| "scheduleMaintenance"
|
|
94
96
|
| "doorAjar"
|
|
95
97
|
| "communicationFailure"
|
|
98
|
+
| "communicationOk"
|
|
96
99
|
| "burglarAlarm"
|
|
97
100
|
| "fireAlarm";
|
|
98
101
|
timestamp?: number;
|
|
@@ -31,6 +31,7 @@ export type SupportedNotifications = (
|
|
|
31
31
|
| "scheduleMaintenance"
|
|
32
32
|
| "doorAjar"
|
|
33
33
|
| "communicationFailure"
|
|
34
|
+
| "communicationOk"
|
|
34
35
|
| "burglarAlarm"
|
|
35
36
|
| "fireAlarm"
|
|
36
37
|
)[];
|
|
@@ -61,6 +62,7 @@ export type Notification = {
|
|
|
61
62
|
| "scheduleMaintenance"
|
|
62
63
|
| "doorAjar"
|
|
63
64
|
| "communicationFailure"
|
|
65
|
+
| "communicationOk"
|
|
64
66
|
| "burglarAlarm"
|
|
65
67
|
| "fireAlarm";
|
|
66
68
|
timestamp?: number;
|
|
@@ -93,6 +95,7 @@ export type Notification = {
|
|
|
93
95
|
| "scheduleMaintenance"
|
|
94
96
|
| "doorAjar"
|
|
95
97
|
| "communicationFailure"
|
|
98
|
+
| "communicationOk"
|
|
96
99
|
| "burglarAlarm"
|
|
97
100
|
| "fireAlarm";
|
|
98
101
|
timestamp?: number;
|