@kohost/api-client 3.2.11 → 3.2.13

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.
@@ -135,6 +135,7 @@ export interface Alarm {
135
135
  | "kohost-k7"
136
136
  | "kohost"
137
137
  | "lg"
138
+ | "lapi"
138
139
  | "lirc"
139
140
  | "mews"
140
141
  | "mht"
@@ -134,6 +134,7 @@ export interface Camera {
134
134
  | "kohost-k7"
135
135
  | "kohost"
136
136
  | "lg"
137
+ | "lapi"
137
138
  | "lirc"
138
139
  | "mews"
139
140
  | "mht"
@@ -153,12 +154,25 @@ export interface Camera {
153
154
  | "cloudflare-images"
154
155
  | "cloudflare-stream"
155
156
  | "insperia-privacy";
156
- liveStreams: {
157
+ liveStreams?: {
157
158
  iframe?: string | null;
158
159
  hls?: string | null;
159
160
  webRTC?: string | null;
160
161
  rtsp?: string | null;
161
162
  };
163
+ liveStream?: {
164
+ id?: string;
165
+ driver?: "cloudflare-stream" | "aws-kinesis" | "digital-watchdog";
166
+ allowedOrigins?: string[];
167
+ authRequired?: boolean;
168
+ iframe?: string | null;
169
+ hls?: string | null;
170
+ webRTC?: string | null;
171
+ /**
172
+ * Local RTSP stream URL
173
+ */
174
+ rtsp?: string | null;
175
+ };
162
176
  systemId?: string;
163
177
  watts?: number;
164
178
  }
@@ -31,6 +31,7 @@ export interface Category {
31
31
  | "kohost-k7"
32
32
  | "kohost"
33
33
  | "lg"
34
+ | "lapi"
34
35
  | "lirc"
35
36
  | "mews"
36
37
  | "mht"
@@ -133,6 +133,7 @@ export interface Courtesy {
133
133
  | "kohost-k7"
134
134
  | "kohost"
135
135
  | "lg"
136
+ | "lapi"
136
137
  | "lirc"
137
138
  | "mews"
138
139
  | "mht"
@@ -24,6 +24,7 @@ export interface Credential {
24
24
  | "kohost-k7"
25
25
  | "kohost"
26
26
  | "lg"
27
+ | "lapi"
27
28
  | "lirc"
28
29
  | "mews"
29
30
  | "mht"
@@ -133,6 +133,7 @@ export interface Dimmer {
133
133
  | "kohost-k7"
134
134
  | "kohost"
135
135
  | "lg"
136
+ | "lapi"
136
137
  | "lirc"
137
138
  | "mews"
138
139
  | "mht"
@@ -134,6 +134,7 @@ export interface IoTGateway {
134
134
  | "kohost-k7"
135
135
  | "kohost"
136
136
  | "lg"
137
+ | "lapi"
137
138
  | "lirc"
138
139
  | "mews"
139
140
  | "mht"
@@ -134,6 +134,7 @@ export interface Lock {
134
134
  | "kohost-k7"
135
135
  | "kohost"
136
136
  | "lg"
137
+ | "lapi"
137
138
  | "lirc"
138
139
  | "mews"
139
140
  | "mht"
@@ -121,6 +121,7 @@ export interface MediaSource {
121
121
  | "kohost-k7"
122
122
  | "kohost"
123
123
  | "lg"
124
+ | "lapi"
124
125
  | "lirc"
125
126
  | "mews"
126
127
  | "mht"
@@ -130,6 +130,7 @@ export interface MotionSensor {
130
130
  | "kohost-k7"
131
131
  | "kohost"
132
132
  | "lg"
133
+ | "lapi"
133
134
  | "lirc"
134
135
  | "mews"
135
136
  | "mht"
@@ -31,6 +31,7 @@ export interface Product {
31
31
  | "kohost-k7"
32
32
  | "kohost"
33
33
  | "lg"
34
+ | "lapi"
34
35
  | "lirc"
35
36
  | "mews"
36
37
  | "mht"
@@ -37,6 +37,7 @@ export interface Reservation {
37
37
  | "kohost-k7"
38
38
  | "kohost"
39
39
  | "lg"
40
+ | "lapi"
40
41
  | "lirc"
41
42
  | "mews"
42
43
  | "mht"
@@ -165,6 +165,7 @@ export interface Dimmer {
165
165
  | "kohost-k7"
166
166
  | "kohost"
167
167
  | "lg"
168
+ | "lapi"
168
169
  | "lirc"
169
170
  | "mews"
170
171
  | "mht"
@@ -262,6 +263,7 @@ export interface Switch {
262
263
  | "kohost-k7"
263
264
  | "kohost"
264
265
  | "lg"
266
+ | "lapi"
265
267
  | "lirc"
266
268
  | "mews"
267
269
  | "mht"
@@ -327,6 +329,7 @@ export interface Thermostat {
327
329
  | "kohost-k7"
328
330
  | "kohost"
329
331
  | "lg"
332
+ | "lapi"
330
333
  | "lirc"
331
334
  | "mews"
332
335
  | "mht"
@@ -484,6 +487,7 @@ export interface Lock {
484
487
  | "kohost-k7"
485
488
  | "kohost"
486
489
  | "lg"
490
+ | "lapi"
487
491
  | "lirc"
488
492
  | "mews"
489
493
  | "mht"
@@ -585,6 +589,7 @@ export interface WindowCovering {
585
589
  | "kohost-k7"
586
590
  | "kohost"
587
591
  | "lg"
592
+ | "lapi"
588
593
  | "lirc"
589
594
  | "mews"
590
595
  | "mht"
@@ -681,6 +686,7 @@ export interface Courtesy {
681
686
  | "kohost-k7"
682
687
  | "kohost"
683
688
  | "lg"
689
+ | "lapi"
684
690
  | "lirc"
685
691
  | "mews"
686
692
  | "mht"
@@ -779,6 +785,7 @@ export interface Camera {
779
785
  | "kohost-k7"
780
786
  | "kohost"
781
787
  | "lg"
788
+ | "lapi"
782
789
  | "lirc"
783
790
  | "mews"
784
791
  | "mht"
@@ -798,12 +805,25 @@ export interface Camera {
798
805
  | "cloudflare-images"
799
806
  | "cloudflare-stream"
800
807
  | "insperia-privacy";
801
- liveStreams: {
808
+ liveStreams?: {
802
809
  iframe?: string | null;
803
810
  hls?: string | null;
804
811
  webRTC?: string | null;
805
812
  rtsp?: string | null;
806
813
  };
814
+ liveStream?: {
815
+ id?: string;
816
+ driver?: "cloudflare-stream" | "aws-kinesis" | "digital-watchdog";
817
+ allowedOrigins?: string[];
818
+ authRequired?: boolean;
819
+ iframe?: string | null;
820
+ hls?: string | null;
821
+ webRTC?: string | null;
822
+ /**
823
+ * Local RTSP stream URL
824
+ */
825
+ rtsp?: string | null;
826
+ };
807
827
  systemId?: string;
808
828
  watts?: number;
809
829
  }
@@ -837,6 +857,7 @@ export interface MediaSource {
837
857
  | "kohost-k7"
838
858
  | "kohost"
839
859
  | "lg"
860
+ | "lapi"
840
861
  | "lirc"
841
862
  | "mews"
842
863
  | "mht"
@@ -1056,6 +1077,7 @@ export interface MotionSensor {
1056
1077
  | "kohost-k7"
1057
1078
  | "kohost"
1058
1079
  | "lg"
1080
+ | "lapi"
1059
1081
  | "lirc"
1060
1082
  | "mews"
1061
1083
  | "mht"
@@ -1182,6 +1204,7 @@ export interface Alarm {
1182
1204
  | "kohost-k7"
1183
1205
  | "kohost"
1184
1206
  | "lg"
1207
+ | "lapi"
1185
1208
  | "lirc"
1186
1209
  | "mews"
1187
1210
  | "mht"
@@ -36,6 +36,7 @@ export interface Space {
36
36
  | "kohost-k7"
37
37
  | "kohost"
38
38
  | "lg"
39
+ | "lapi"
39
40
  | "lirc"
40
41
  | "mews"
41
42
  | "mht"
@@ -134,6 +134,7 @@ export interface Switch {
134
134
  | "kohost-k7"
135
135
  | "kohost"
136
136
  | "lg"
137
+ | "lapi"
137
138
  | "lirc"
138
139
  | "mews"
139
140
  | "mht"
@@ -59,6 +59,7 @@ export interface SystemUser {
59
59
  | "kohost-k7"
60
60
  | "kohost"
61
61
  | "lg"
62
+ | "lapi"
62
63
  | "lirc"
63
64
  | "mews"
64
65
  | "mht"
@@ -133,6 +133,7 @@ export interface Thermostat {
133
133
  | "kohost-k7"
134
134
  | "kohost"
135
135
  | "lg"
136
+ | "lapi"
136
137
  | "lirc"
137
138
  | "mews"
138
139
  | "mht"
@@ -228,6 +228,7 @@ export interface Reservation {
228
228
  | "kohost-k7"
229
229
  | "kohost"
230
230
  | "lg"
231
+ | "lapi"
231
232
  | "lirc"
232
233
  | "mews"
233
234
  | "mht"
@@ -134,6 +134,7 @@ export interface WindowCovering {
134
134
  | "kohost-k7"
135
135
  | "kohost"
136
136
  | "lg"
137
+ | "lapi"
137
138
  | "lirc"
138
139
  | "mews"
139
140
  | "mht"
@@ -30,6 +30,7 @@
30
30
  "liveStreams": {
31
31
  "type": "object",
32
32
  "additionalProperties": false,
33
+ "$comment": "This is now deprecated. Use liveStream instead. This will remain here for backwards compatibility.",
33
34
  "properties": {
34
35
  "iframe": {
35
36
  "type": ["string", "null"]
@@ -45,6 +46,45 @@
45
46
  }
46
47
  }
47
48
  },
49
+ "liveStream": {
50
+ "type": "object",
51
+ "additionalProperties": false,
52
+ "properties": {
53
+ "id": {
54
+ "type": "string"
55
+ },
56
+ "driver": {
57
+ "type": "string",
58
+ "enum": ["cloudflare-stream", "aws-kinesis", "digital-watchdog"]
59
+ },
60
+ "allowedOrigins": {
61
+ "type": "array",
62
+ "items": {
63
+ "type": "string"
64
+ }
65
+ },
66
+ "authRequired": {
67
+ "type": "boolean"
68
+ },
69
+ "iframe": {
70
+ "type": ["string", "null"]
71
+ },
72
+ "hls": {
73
+ "type": ["string", "null"]
74
+ },
75
+ "webRTC": {
76
+ "type": ["string", "null"]
77
+ },
78
+ "rtsp": {
79
+ "type": ["string", "null"],
80
+ "description": "Local RTSP stream URL",
81
+ "examples": [
82
+ "rtsp://192.168.1.4:544/channels/1",
83
+ "rtsp://10.145.6.129:8554/unicast"
84
+ ]
85
+ }
86
+ }
87
+ },
48
88
  "systemId": {
49
89
  "$ref": "definitions.json#/definitions/systemId"
50
90
  },
@@ -53,5 +93,5 @@
53
93
  }
54
94
  },
55
95
  "additionalProperties": false,
56
- "required": ["id", "type", "liveStreams", "driver"]
96
+ "required": ["id", "type", "driver"]
57
97
  }
@@ -98,6 +98,7 @@
98
98
  "kohost-k7",
99
99
  "kohost",
100
100
  "lg",
101
+ "lapi",
101
102
  "lirc",
102
103
  "mews",
103
104
  "mht",
@@ -7557,6 +7557,7 @@ var require_definitions = __commonJS({
7557
7557
  "kohost-k7",
7558
7558
  "kohost",
7559
7559
  "lg",
7560
+ "lapi",
7560
7561
  "lirc",
7561
7562
  "mews",
7562
7563
  "mht",
@@ -10138,6 +10139,7 @@ var require_camera = __commonJS({
10138
10139
  liveStreams: {
10139
10140
  type: "object",
10140
10141
  additionalProperties: false,
10142
+ $comment: "This is now deprecated. Use liveStream instead. This will remain here for backwards compatibility.",
10141
10143
  properties: {
10142
10144
  iframe: {
10143
10145
  type: ["string", "null"]
@@ -10153,6 +10155,45 @@ var require_camera = __commonJS({
10153
10155
  }
10154
10156
  }
10155
10157
  },
10158
+ liveStream: {
10159
+ type: "object",
10160
+ additionalProperties: false,
10161
+ properties: {
10162
+ id: {
10163
+ type: "string"
10164
+ },
10165
+ driver: {
10166
+ type: "string",
10167
+ enum: ["cloudflare-stream", "aws-kinesis", "digital-watchdog"]
10168
+ },
10169
+ allowedOrigins: {
10170
+ type: "array",
10171
+ items: {
10172
+ type: "string"
10173
+ }
10174
+ },
10175
+ authRequired: {
10176
+ type: "boolean"
10177
+ },
10178
+ iframe: {
10179
+ type: ["string", "null"]
10180
+ },
10181
+ hls: {
10182
+ type: ["string", "null"]
10183
+ },
10184
+ webRTC: {
10185
+ type: ["string", "null"]
10186
+ },
10187
+ rtsp: {
10188
+ type: ["string", "null"],
10189
+ description: "Local RTSP stream URL",
10190
+ examples: [
10191
+ "rtsp://192.168.1.4:544/channels/1",
10192
+ "rtsp://10.145.6.129:8554/unicast"
10193
+ ]
10194
+ }
10195
+ }
10196
+ },
10156
10197
  systemId: {
10157
10198
  $ref: "definitions.json#/definitions/systemId"
10158
10199
  },
@@ -10161,7 +10202,7 @@ var require_camera = __commonJS({
10161
10202
  }
10162
10203
  },
10163
10204
  additionalProperties: false,
10164
- required: ["id", "type", "liveStreams", "driver"]
10205
+ required: ["id", "type", "driver"]
10165
10206
  };
10166
10207
  }
10167
10208
  });