@seamapi/types 0.19.0 → 0.20.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/connect.cjs +5772 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +7844 -1
- package/lib/seam/connect/openapi.d.ts +7844 -1
- package/lib/seam/connect/openapi.js +5772 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1 -0
- package/lib/seam/connect/unstable/models/capability-properties/index.d.ts +24 -24
- package/lib/seam/connect/unstable/models/capability-properties/thermostat.d.ts +34 -34
- package/lib/seam/connect/unstable/models/device-metadata.d.ts +4 -4
- package/lib/seam/connect/unstable/models/managed-device.d.ts +48 -48
- package/lib/seam/connect/unstable/models/unmanaged-device.d.ts +6 -6
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +5772 -1
- package/src/lib/seam/connect/route-types.ts +1 -0
|
@@ -11,7 +11,7 @@ export declare const climate_setting: z.ZodObject<{
|
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
automatic_heating_enabled: boolean;
|
|
13
13
|
automatic_cooling_enabled: boolean;
|
|
14
|
-
hvac_mode_setting: "
|
|
14
|
+
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
|
|
15
15
|
manual_override_allowed: boolean;
|
|
16
16
|
cooling_set_point_celsius?: number | undefined;
|
|
17
17
|
heating_set_point_celsius?: number | undefined;
|
|
@@ -20,7 +20,7 @@ export declare const climate_setting: z.ZodObject<{
|
|
|
20
20
|
}, {
|
|
21
21
|
automatic_heating_enabled: boolean;
|
|
22
22
|
automatic_cooling_enabled: boolean;
|
|
23
|
-
hvac_mode_setting: "
|
|
23
|
+
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
|
|
24
24
|
manual_override_allowed: boolean;
|
|
25
25
|
cooling_set_point_celsius?: number | undefined;
|
|
26
26
|
heating_set_point_celsius?: number | undefined;
|
|
@@ -31,11 +31,11 @@ export type ClimateSetting = z.infer<typeof climate_setting>;
|
|
|
31
31
|
export declare const climate_setting_schedule: z.ZodObject<{
|
|
32
32
|
name: z.ZodOptional<z.ZodString>;
|
|
33
33
|
created_at: z.ZodString;
|
|
34
|
-
climate_setting_schedule_id: z.ZodString;
|
|
35
|
-
schedule_type: z.ZodLiteral<"time_bound">;
|
|
36
34
|
device_id: z.ZodString;
|
|
37
35
|
schedule_starts_at: z.ZodString;
|
|
38
36
|
schedule_ends_at: z.ZodString;
|
|
37
|
+
climate_setting_schedule_id: z.ZodString;
|
|
38
|
+
schedule_type: z.ZodLiteral<"time_bound">;
|
|
39
39
|
automatic_heating_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
40
40
|
automatic_cooling_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
41
41
|
hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heatcool"]>>;
|
|
@@ -46,15 +46,15 @@ export declare const climate_setting_schedule: z.ZodObject<{
|
|
|
46
46
|
manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
47
47
|
}, "strip", z.ZodTypeAny, {
|
|
48
48
|
created_at: string;
|
|
49
|
-
climate_setting_schedule_id: string;
|
|
50
|
-
schedule_type: "time_bound";
|
|
51
49
|
device_id: string;
|
|
52
50
|
schedule_starts_at: string;
|
|
53
51
|
schedule_ends_at: string;
|
|
52
|
+
climate_setting_schedule_id: string;
|
|
53
|
+
schedule_type: "time_bound";
|
|
54
54
|
name?: string | undefined;
|
|
55
55
|
automatic_heating_enabled?: boolean | undefined;
|
|
56
56
|
automatic_cooling_enabled?: boolean | undefined;
|
|
57
|
-
hvac_mode_setting?: "
|
|
57
|
+
hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined;
|
|
58
58
|
cooling_set_point_celsius?: number | undefined;
|
|
59
59
|
heating_set_point_celsius?: number | undefined;
|
|
60
60
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -62,15 +62,15 @@ export declare const climate_setting_schedule: z.ZodObject<{
|
|
|
62
62
|
manual_override_allowed?: boolean | undefined;
|
|
63
63
|
}, {
|
|
64
64
|
created_at: string;
|
|
65
|
-
climate_setting_schedule_id: string;
|
|
66
|
-
schedule_type: "time_bound";
|
|
67
65
|
device_id: string;
|
|
68
66
|
schedule_starts_at: string;
|
|
69
67
|
schedule_ends_at: string;
|
|
68
|
+
climate_setting_schedule_id: string;
|
|
69
|
+
schedule_type: "time_bound";
|
|
70
70
|
name?: string | undefined;
|
|
71
71
|
automatic_heating_enabled?: boolean | undefined;
|
|
72
72
|
automatic_cooling_enabled?: boolean | undefined;
|
|
73
|
-
hvac_mode_setting?: "
|
|
73
|
+
hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined;
|
|
74
74
|
cooling_set_point_celsius?: number | undefined;
|
|
75
75
|
heating_set_point_celsius?: number | undefined;
|
|
76
76
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -107,7 +107,7 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
107
107
|
}, "strip", z.ZodTypeAny, {
|
|
108
108
|
automatic_heating_enabled: boolean;
|
|
109
109
|
automatic_cooling_enabled: boolean;
|
|
110
|
-
hvac_mode_setting: "
|
|
110
|
+
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
|
|
111
111
|
manual_override_allowed: boolean;
|
|
112
112
|
cooling_set_point_celsius?: number | undefined;
|
|
113
113
|
heating_set_point_celsius?: number | undefined;
|
|
@@ -116,7 +116,7 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
116
116
|
}, {
|
|
117
117
|
automatic_heating_enabled: boolean;
|
|
118
118
|
automatic_cooling_enabled: boolean;
|
|
119
|
-
hvac_mode_setting: "
|
|
119
|
+
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
|
|
120
120
|
manual_override_allowed: boolean;
|
|
121
121
|
cooling_set_point_celsius?: number | undefined;
|
|
122
122
|
heating_set_point_celsius?: number | undefined;
|
|
@@ -135,7 +135,7 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
135
135
|
}, "strip", z.ZodTypeAny, {
|
|
136
136
|
automatic_heating_enabled: boolean;
|
|
137
137
|
automatic_cooling_enabled: boolean;
|
|
138
|
-
hvac_mode_setting: "
|
|
138
|
+
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
|
|
139
139
|
manual_override_allowed: boolean;
|
|
140
140
|
cooling_set_point_celsius?: number | undefined;
|
|
141
141
|
heating_set_point_celsius?: number | undefined;
|
|
@@ -144,7 +144,7 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
144
144
|
}, {
|
|
145
145
|
automatic_heating_enabled: boolean;
|
|
146
146
|
automatic_cooling_enabled: boolean;
|
|
147
|
-
hvac_mode_setting: "
|
|
147
|
+
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
|
|
148
148
|
manual_override_allowed: boolean;
|
|
149
149
|
cooling_set_point_celsius?: number | undefined;
|
|
150
150
|
heating_set_point_celsius?: number | undefined;
|
|
@@ -155,11 +155,11 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
155
155
|
active_climate_setting_schedule: z.ZodOptional<z.ZodObject<{
|
|
156
156
|
name: z.ZodOptional<z.ZodString>;
|
|
157
157
|
created_at: z.ZodString;
|
|
158
|
-
climate_setting_schedule_id: z.ZodString;
|
|
159
|
-
schedule_type: z.ZodLiteral<"time_bound">;
|
|
160
158
|
device_id: z.ZodString;
|
|
161
159
|
schedule_starts_at: z.ZodString;
|
|
162
160
|
schedule_ends_at: z.ZodString;
|
|
161
|
+
climate_setting_schedule_id: z.ZodString;
|
|
162
|
+
schedule_type: z.ZodLiteral<"time_bound">;
|
|
163
163
|
automatic_heating_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
164
164
|
automatic_cooling_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
165
165
|
hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heatcool"]>>;
|
|
@@ -170,15 +170,15 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
170
170
|
manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
171
171
|
}, "strip", z.ZodTypeAny, {
|
|
172
172
|
created_at: string;
|
|
173
|
-
climate_setting_schedule_id: string;
|
|
174
|
-
schedule_type: "time_bound";
|
|
175
173
|
device_id: string;
|
|
176
174
|
schedule_starts_at: string;
|
|
177
175
|
schedule_ends_at: string;
|
|
176
|
+
climate_setting_schedule_id: string;
|
|
177
|
+
schedule_type: "time_bound";
|
|
178
178
|
name?: string | undefined;
|
|
179
179
|
automatic_heating_enabled?: boolean | undefined;
|
|
180
180
|
automatic_cooling_enabled?: boolean | undefined;
|
|
181
|
-
hvac_mode_setting?: "
|
|
181
|
+
hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined;
|
|
182
182
|
cooling_set_point_celsius?: number | undefined;
|
|
183
183
|
heating_set_point_celsius?: number | undefined;
|
|
184
184
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -186,15 +186,15 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
186
186
|
manual_override_allowed?: boolean | undefined;
|
|
187
187
|
}, {
|
|
188
188
|
created_at: string;
|
|
189
|
-
climate_setting_schedule_id: string;
|
|
190
|
-
schedule_type: "time_bound";
|
|
191
189
|
device_id: string;
|
|
192
190
|
schedule_starts_at: string;
|
|
193
191
|
schedule_ends_at: string;
|
|
192
|
+
climate_setting_schedule_id: string;
|
|
193
|
+
schedule_type: "time_bound";
|
|
194
194
|
name?: string | undefined;
|
|
195
195
|
automatic_heating_enabled?: boolean | undefined;
|
|
196
196
|
automatic_cooling_enabled?: boolean | undefined;
|
|
197
|
-
hvac_mode_setting?: "
|
|
197
|
+
hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined;
|
|
198
198
|
cooling_set_point_celsius?: number | undefined;
|
|
199
199
|
heating_set_point_celsius?: number | undefined;
|
|
200
200
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -207,7 +207,7 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
207
207
|
relative_humidity: number;
|
|
208
208
|
can_enable_automatic_heating: boolean;
|
|
209
209
|
can_enable_automatic_cooling: boolean;
|
|
210
|
-
available_hvac_mode_settings: ("
|
|
210
|
+
available_hvac_mode_settings: ("cool" | "heat" | "off" | "heatcool")[];
|
|
211
211
|
is_heating: boolean;
|
|
212
212
|
is_cooling: boolean;
|
|
213
213
|
is_fan_running: boolean;
|
|
@@ -215,7 +215,7 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
215
215
|
current_climate_setting: {
|
|
216
216
|
automatic_heating_enabled: boolean;
|
|
217
217
|
automatic_cooling_enabled: boolean;
|
|
218
|
-
hvac_mode_setting: "
|
|
218
|
+
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
|
|
219
219
|
manual_override_allowed: boolean;
|
|
220
220
|
cooling_set_point_celsius?: number | undefined;
|
|
221
221
|
heating_set_point_celsius?: number | undefined;
|
|
@@ -226,7 +226,7 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
226
226
|
default_climate_setting?: {
|
|
227
227
|
automatic_heating_enabled: boolean;
|
|
228
228
|
automatic_cooling_enabled: boolean;
|
|
229
|
-
hvac_mode_setting: "
|
|
229
|
+
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
|
|
230
230
|
manual_override_allowed: boolean;
|
|
231
231
|
cooling_set_point_celsius?: number | undefined;
|
|
232
232
|
heating_set_point_celsius?: number | undefined;
|
|
@@ -235,15 +235,15 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
235
235
|
} | undefined;
|
|
236
236
|
active_climate_setting_schedule?: {
|
|
237
237
|
created_at: string;
|
|
238
|
-
climate_setting_schedule_id: string;
|
|
239
|
-
schedule_type: "time_bound";
|
|
240
238
|
device_id: string;
|
|
241
239
|
schedule_starts_at: string;
|
|
242
240
|
schedule_ends_at: string;
|
|
241
|
+
climate_setting_schedule_id: string;
|
|
242
|
+
schedule_type: "time_bound";
|
|
243
243
|
name?: string | undefined;
|
|
244
244
|
automatic_heating_enabled?: boolean | undefined;
|
|
245
245
|
automatic_cooling_enabled?: boolean | undefined;
|
|
246
|
-
hvac_mode_setting?: "
|
|
246
|
+
hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined;
|
|
247
247
|
cooling_set_point_celsius?: number | undefined;
|
|
248
248
|
heating_set_point_celsius?: number | undefined;
|
|
249
249
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -256,7 +256,7 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
256
256
|
relative_humidity: number;
|
|
257
257
|
can_enable_automatic_heating: boolean;
|
|
258
258
|
can_enable_automatic_cooling: boolean;
|
|
259
|
-
available_hvac_mode_settings: ("
|
|
259
|
+
available_hvac_mode_settings: ("cool" | "heat" | "off" | "heatcool")[];
|
|
260
260
|
is_heating: boolean;
|
|
261
261
|
is_cooling: boolean;
|
|
262
262
|
is_fan_running: boolean;
|
|
@@ -264,7 +264,7 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
264
264
|
current_climate_setting: {
|
|
265
265
|
automatic_heating_enabled: boolean;
|
|
266
266
|
automatic_cooling_enabled: boolean;
|
|
267
|
-
hvac_mode_setting: "
|
|
267
|
+
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
|
|
268
268
|
manual_override_allowed: boolean;
|
|
269
269
|
cooling_set_point_celsius?: number | undefined;
|
|
270
270
|
heating_set_point_celsius?: number | undefined;
|
|
@@ -275,7 +275,7 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
275
275
|
default_climate_setting?: {
|
|
276
276
|
automatic_heating_enabled: boolean;
|
|
277
277
|
automatic_cooling_enabled: boolean;
|
|
278
|
-
hvac_mode_setting: "
|
|
278
|
+
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
|
|
279
279
|
manual_override_allowed: boolean;
|
|
280
280
|
cooling_set_point_celsius?: number | undefined;
|
|
281
281
|
heating_set_point_celsius?: number | undefined;
|
|
@@ -284,15 +284,15 @@ export declare const thermostat_capability_properties: z.ZodObject<{
|
|
|
284
284
|
} | undefined;
|
|
285
285
|
active_climate_setting_schedule?: {
|
|
286
286
|
created_at: string;
|
|
287
|
-
climate_setting_schedule_id: string;
|
|
288
|
-
schedule_type: "time_bound";
|
|
289
287
|
device_id: string;
|
|
290
288
|
schedule_starts_at: string;
|
|
291
289
|
schedule_ends_at: string;
|
|
290
|
+
climate_setting_schedule_id: string;
|
|
291
|
+
schedule_type: "time_bound";
|
|
292
292
|
name?: string | undefined;
|
|
293
293
|
automatic_heating_enabled?: boolean | undefined;
|
|
294
294
|
automatic_cooling_enabled?: boolean | undefined;
|
|
295
|
-
hvac_mode_setting?: "
|
|
295
|
+
hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined;
|
|
296
296
|
cooling_set_point_celsius?: number | undefined;
|
|
297
297
|
heating_set_point_celsius?: number | undefined;
|
|
298
298
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -355,11 +355,11 @@ export declare const device_metadata: z.ZodObject<{
|
|
|
355
355
|
}, "strip", z.ZodTypeAny, {
|
|
356
356
|
name: string;
|
|
357
357
|
device_num: number;
|
|
358
|
-
unlock_method?: "
|
|
358
|
+
unlock_method?: "doorking" | "bridge" | undefined;
|
|
359
359
|
}, {
|
|
360
360
|
name: string;
|
|
361
361
|
device_num: number;
|
|
362
|
-
unlock_method?: "
|
|
362
|
+
unlock_method?: "doorking" | "bridge" | undefined;
|
|
363
363
|
}>>;
|
|
364
364
|
igloohome_metadata: z.ZodOptional<z.ZodObject<{
|
|
365
365
|
device_id: z.ZodString;
|
|
@@ -549,7 +549,7 @@ export declare const device_metadata: z.ZodObject<{
|
|
|
549
549
|
seam_bridge_metadata?: {
|
|
550
550
|
name: string;
|
|
551
551
|
device_num: number;
|
|
552
|
-
unlock_method?: "
|
|
552
|
+
unlock_method?: "doorking" | "bridge" | undefined;
|
|
553
553
|
} | undefined;
|
|
554
554
|
igloohome_metadata?: {
|
|
555
555
|
device_id: string;
|
|
@@ -687,7 +687,7 @@ export declare const device_metadata: z.ZodObject<{
|
|
|
687
687
|
seam_bridge_metadata?: {
|
|
688
688
|
name: string;
|
|
689
689
|
device_num: number;
|
|
690
|
-
unlock_method?: "
|
|
690
|
+
unlock_method?: "doorking" | "bridge" | undefined;
|
|
691
691
|
} | undefined;
|
|
692
692
|
igloohome_metadata?: {
|
|
693
693
|
device_id: string;
|
|
@@ -480,11 +480,11 @@ export declare const managed_device: z.ZodObject<{
|
|
|
480
480
|
}, "strip", z.ZodTypeAny, {
|
|
481
481
|
name: string;
|
|
482
482
|
device_num: number;
|
|
483
|
-
unlock_method?: "
|
|
483
|
+
unlock_method?: "doorking" | "bridge" | undefined;
|
|
484
484
|
}, {
|
|
485
485
|
name: string;
|
|
486
486
|
device_num: number;
|
|
487
|
-
unlock_method?: "
|
|
487
|
+
unlock_method?: "doorking" | "bridge" | undefined;
|
|
488
488
|
}>>;
|
|
489
489
|
igloohome_metadata: z.ZodOptional<z.ZodObject<{
|
|
490
490
|
device_id: z.ZodString;
|
|
@@ -674,7 +674,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
674
674
|
seam_bridge_metadata?: {
|
|
675
675
|
name: string;
|
|
676
676
|
device_num: number;
|
|
677
|
-
unlock_method?: "
|
|
677
|
+
unlock_method?: "doorking" | "bridge" | undefined;
|
|
678
678
|
} | undefined;
|
|
679
679
|
igloohome_metadata?: {
|
|
680
680
|
device_id: string;
|
|
@@ -812,7 +812,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
812
812
|
seam_bridge_metadata?: {
|
|
813
813
|
name: string;
|
|
814
814
|
device_num: number;
|
|
815
|
-
unlock_method?: "
|
|
815
|
+
unlock_method?: "doorking" | "bridge" | undefined;
|
|
816
816
|
} | undefined;
|
|
817
817
|
igloohome_metadata?: {
|
|
818
818
|
device_id: string;
|
|
@@ -899,7 +899,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
899
899
|
}, "strip", z.ZodTypeAny, {
|
|
900
900
|
automatic_heating_enabled: boolean;
|
|
901
901
|
automatic_cooling_enabled: boolean;
|
|
902
|
-
hvac_mode_setting: "
|
|
902
|
+
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
|
|
903
903
|
manual_override_allowed: boolean;
|
|
904
904
|
cooling_set_point_celsius?: number | undefined;
|
|
905
905
|
heating_set_point_celsius?: number | undefined;
|
|
@@ -908,7 +908,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
908
908
|
}, {
|
|
909
909
|
automatic_heating_enabled: boolean;
|
|
910
910
|
automatic_cooling_enabled: boolean;
|
|
911
|
-
hvac_mode_setting: "
|
|
911
|
+
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
|
|
912
912
|
manual_override_allowed: boolean;
|
|
913
913
|
cooling_set_point_celsius?: number | undefined;
|
|
914
914
|
heating_set_point_celsius?: number | undefined;
|
|
@@ -927,7 +927,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
927
927
|
}, "strip", z.ZodTypeAny, {
|
|
928
928
|
automatic_heating_enabled: boolean;
|
|
929
929
|
automatic_cooling_enabled: boolean;
|
|
930
|
-
hvac_mode_setting: "
|
|
930
|
+
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
|
|
931
931
|
manual_override_allowed: boolean;
|
|
932
932
|
cooling_set_point_celsius?: number | undefined;
|
|
933
933
|
heating_set_point_celsius?: number | undefined;
|
|
@@ -936,7 +936,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
936
936
|
}, {
|
|
937
937
|
automatic_heating_enabled: boolean;
|
|
938
938
|
automatic_cooling_enabled: boolean;
|
|
939
|
-
hvac_mode_setting: "
|
|
939
|
+
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
|
|
940
940
|
manual_override_allowed: boolean;
|
|
941
941
|
cooling_set_point_celsius?: number | undefined;
|
|
942
942
|
heating_set_point_celsius?: number | undefined;
|
|
@@ -947,11 +947,11 @@ export declare const managed_device: z.ZodObject<{
|
|
|
947
947
|
active_climate_setting_schedule: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
948
948
|
name: z.ZodOptional<z.ZodString>;
|
|
949
949
|
created_at: z.ZodString;
|
|
950
|
-
climate_setting_schedule_id: z.ZodString;
|
|
951
|
-
schedule_type: z.ZodLiteral<"time_bound">;
|
|
952
950
|
device_id: z.ZodString;
|
|
953
951
|
schedule_starts_at: z.ZodString;
|
|
954
952
|
schedule_ends_at: z.ZodString;
|
|
953
|
+
climate_setting_schedule_id: z.ZodString;
|
|
954
|
+
schedule_type: z.ZodLiteral<"time_bound">;
|
|
955
955
|
automatic_heating_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
956
956
|
automatic_cooling_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
957
957
|
hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heatcool"]>>;
|
|
@@ -962,15 +962,15 @@ export declare const managed_device: z.ZodObject<{
|
|
|
962
962
|
manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
963
963
|
}, "strip", z.ZodTypeAny, {
|
|
964
964
|
created_at: string;
|
|
965
|
-
climate_setting_schedule_id: string;
|
|
966
|
-
schedule_type: "time_bound";
|
|
967
965
|
device_id: string;
|
|
968
966
|
schedule_starts_at: string;
|
|
969
967
|
schedule_ends_at: string;
|
|
968
|
+
climate_setting_schedule_id: string;
|
|
969
|
+
schedule_type: "time_bound";
|
|
970
970
|
name?: string | undefined;
|
|
971
971
|
automatic_heating_enabled?: boolean | undefined;
|
|
972
972
|
automatic_cooling_enabled?: boolean | undefined;
|
|
973
|
-
hvac_mode_setting?: "
|
|
973
|
+
hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined;
|
|
974
974
|
cooling_set_point_celsius?: number | undefined;
|
|
975
975
|
heating_set_point_celsius?: number | undefined;
|
|
976
976
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -978,15 +978,15 @@ export declare const managed_device: z.ZodObject<{
|
|
|
978
978
|
manual_override_allowed?: boolean | undefined;
|
|
979
979
|
}, {
|
|
980
980
|
created_at: string;
|
|
981
|
-
climate_setting_schedule_id: string;
|
|
982
|
-
schedule_type: "time_bound";
|
|
983
981
|
device_id: string;
|
|
984
982
|
schedule_starts_at: string;
|
|
985
983
|
schedule_ends_at: string;
|
|
984
|
+
climate_setting_schedule_id: string;
|
|
985
|
+
schedule_type: "time_bound";
|
|
986
986
|
name?: string | undefined;
|
|
987
987
|
automatic_heating_enabled?: boolean | undefined;
|
|
988
988
|
automatic_cooling_enabled?: boolean | undefined;
|
|
989
|
-
hvac_mode_setting?: "
|
|
989
|
+
hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined;
|
|
990
990
|
cooling_set_point_celsius?: number | undefined;
|
|
991
991
|
heating_set_point_celsius?: number | undefined;
|
|
992
992
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -1015,7 +1015,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1015
1015
|
relative_humidity?: number | undefined;
|
|
1016
1016
|
can_enable_automatic_heating?: boolean | undefined;
|
|
1017
1017
|
can_enable_automatic_cooling?: boolean | undefined;
|
|
1018
|
-
available_hvac_mode_settings?: ("
|
|
1018
|
+
available_hvac_mode_settings?: ("cool" | "heat" | "off" | "heatcool")[] | undefined;
|
|
1019
1019
|
is_heating?: boolean | undefined;
|
|
1020
1020
|
is_cooling?: boolean | undefined;
|
|
1021
1021
|
is_fan_running?: boolean | undefined;
|
|
@@ -1023,7 +1023,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1023
1023
|
current_climate_setting?: {
|
|
1024
1024
|
automatic_heating_enabled: boolean;
|
|
1025
1025
|
automatic_cooling_enabled: boolean;
|
|
1026
|
-
hvac_mode_setting: "
|
|
1026
|
+
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
|
|
1027
1027
|
manual_override_allowed: boolean;
|
|
1028
1028
|
cooling_set_point_celsius?: number | undefined;
|
|
1029
1029
|
heating_set_point_celsius?: number | undefined;
|
|
@@ -1033,7 +1033,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1033
1033
|
default_climate_setting?: {
|
|
1034
1034
|
automatic_heating_enabled: boolean;
|
|
1035
1035
|
automatic_cooling_enabled: boolean;
|
|
1036
|
-
hvac_mode_setting: "
|
|
1036
|
+
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
|
|
1037
1037
|
manual_override_allowed: boolean;
|
|
1038
1038
|
cooling_set_point_celsius?: number | undefined;
|
|
1039
1039
|
heating_set_point_celsius?: number | undefined;
|
|
@@ -1043,15 +1043,15 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1043
1043
|
is_climate_setting_schedule_active?: boolean | undefined;
|
|
1044
1044
|
active_climate_setting_schedule?: {
|
|
1045
1045
|
created_at: string;
|
|
1046
|
-
climate_setting_schedule_id: string;
|
|
1047
|
-
schedule_type: "time_bound";
|
|
1048
1046
|
device_id: string;
|
|
1049
1047
|
schedule_starts_at: string;
|
|
1050
1048
|
schedule_ends_at: string;
|
|
1049
|
+
climate_setting_schedule_id: string;
|
|
1050
|
+
schedule_type: "time_bound";
|
|
1051
1051
|
name?: string | undefined;
|
|
1052
1052
|
automatic_heating_enabled?: boolean | undefined;
|
|
1053
1053
|
automatic_cooling_enabled?: boolean | undefined;
|
|
1054
|
-
hvac_mode_setting?: "
|
|
1054
|
+
hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined;
|
|
1055
1055
|
cooling_set_point_celsius?: number | undefined;
|
|
1056
1056
|
heating_set_point_celsius?: number | undefined;
|
|
1057
1057
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -1080,7 +1080,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1080
1080
|
relative_humidity?: number | undefined;
|
|
1081
1081
|
can_enable_automatic_heating?: boolean | undefined;
|
|
1082
1082
|
can_enable_automatic_cooling?: boolean | undefined;
|
|
1083
|
-
available_hvac_mode_settings?: ("
|
|
1083
|
+
available_hvac_mode_settings?: ("cool" | "heat" | "off" | "heatcool")[] | undefined;
|
|
1084
1084
|
is_heating?: boolean | undefined;
|
|
1085
1085
|
is_cooling?: boolean | undefined;
|
|
1086
1086
|
is_fan_running?: boolean | undefined;
|
|
@@ -1088,7 +1088,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1088
1088
|
current_climate_setting?: {
|
|
1089
1089
|
automatic_heating_enabled: boolean;
|
|
1090
1090
|
automatic_cooling_enabled: boolean;
|
|
1091
|
-
hvac_mode_setting: "
|
|
1091
|
+
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
|
|
1092
1092
|
manual_override_allowed: boolean;
|
|
1093
1093
|
cooling_set_point_celsius?: number | undefined;
|
|
1094
1094
|
heating_set_point_celsius?: number | undefined;
|
|
@@ -1098,7 +1098,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1098
1098
|
default_climate_setting?: {
|
|
1099
1099
|
automatic_heating_enabled: boolean;
|
|
1100
1100
|
automatic_cooling_enabled: boolean;
|
|
1101
|
-
hvac_mode_setting: "
|
|
1101
|
+
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
|
|
1102
1102
|
manual_override_allowed: boolean;
|
|
1103
1103
|
cooling_set_point_celsius?: number | undefined;
|
|
1104
1104
|
heating_set_point_celsius?: number | undefined;
|
|
@@ -1108,15 +1108,15 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1108
1108
|
is_climate_setting_schedule_active?: boolean | undefined;
|
|
1109
1109
|
active_climate_setting_schedule?: {
|
|
1110
1110
|
created_at: string;
|
|
1111
|
-
climate_setting_schedule_id: string;
|
|
1112
|
-
schedule_type: "time_bound";
|
|
1113
1111
|
device_id: string;
|
|
1114
1112
|
schedule_starts_at: string;
|
|
1115
1113
|
schedule_ends_at: string;
|
|
1114
|
+
climate_setting_schedule_id: string;
|
|
1115
|
+
schedule_type: "time_bound";
|
|
1116
1116
|
name?: string | undefined;
|
|
1117
1117
|
automatic_heating_enabled?: boolean | undefined;
|
|
1118
1118
|
automatic_cooling_enabled?: boolean | undefined;
|
|
1119
|
-
hvac_mode_setting?: "
|
|
1119
|
+
hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined;
|
|
1120
1120
|
cooling_set_point_celsius?: number | undefined;
|
|
1121
1121
|
heating_set_point_celsius?: number | undefined;
|
|
1122
1122
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -1167,8 +1167,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1167
1167
|
workspace_id: string;
|
|
1168
1168
|
created_at: string;
|
|
1169
1169
|
device_id: string;
|
|
1170
|
-
|
|
1171
|
-
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
|
|
1170
|
+
is_managed: true;
|
|
1172
1171
|
properties: {
|
|
1173
1172
|
name: string;
|
|
1174
1173
|
online: boolean;
|
|
@@ -1291,7 +1290,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1291
1290
|
seam_bridge_metadata?: {
|
|
1292
1291
|
name: string;
|
|
1293
1292
|
device_num: number;
|
|
1294
|
-
unlock_method?: "
|
|
1293
|
+
unlock_method?: "doorking" | "bridge" | undefined;
|
|
1295
1294
|
} | undefined;
|
|
1296
1295
|
igloohome_metadata?: {
|
|
1297
1296
|
device_id: string;
|
|
@@ -1345,7 +1344,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1345
1344
|
relative_humidity?: number | undefined;
|
|
1346
1345
|
can_enable_automatic_heating?: boolean | undefined;
|
|
1347
1346
|
can_enable_automatic_cooling?: boolean | undefined;
|
|
1348
|
-
available_hvac_mode_settings?: ("
|
|
1347
|
+
available_hvac_mode_settings?: ("cool" | "heat" | "off" | "heatcool")[] | undefined;
|
|
1349
1348
|
is_heating?: boolean | undefined;
|
|
1350
1349
|
is_cooling?: boolean | undefined;
|
|
1351
1350
|
is_fan_running?: boolean | undefined;
|
|
@@ -1353,7 +1352,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1353
1352
|
current_climate_setting?: {
|
|
1354
1353
|
automatic_heating_enabled: boolean;
|
|
1355
1354
|
automatic_cooling_enabled: boolean;
|
|
1356
|
-
hvac_mode_setting: "
|
|
1355
|
+
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
|
|
1357
1356
|
manual_override_allowed: boolean;
|
|
1358
1357
|
cooling_set_point_celsius?: number | undefined;
|
|
1359
1358
|
heating_set_point_celsius?: number | undefined;
|
|
@@ -1363,7 +1362,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1363
1362
|
default_climate_setting?: {
|
|
1364
1363
|
automatic_heating_enabled: boolean;
|
|
1365
1364
|
automatic_cooling_enabled: boolean;
|
|
1366
|
-
hvac_mode_setting: "
|
|
1365
|
+
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
|
|
1367
1366
|
manual_override_allowed: boolean;
|
|
1368
1367
|
cooling_set_point_celsius?: number | undefined;
|
|
1369
1368
|
heating_set_point_celsius?: number | undefined;
|
|
@@ -1373,15 +1372,15 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1373
1372
|
is_climate_setting_schedule_active?: boolean | undefined;
|
|
1374
1373
|
active_climate_setting_schedule?: {
|
|
1375
1374
|
created_at: string;
|
|
1376
|
-
climate_setting_schedule_id: string;
|
|
1377
|
-
schedule_type: "time_bound";
|
|
1378
1375
|
device_id: string;
|
|
1379
1376
|
schedule_starts_at: string;
|
|
1380
1377
|
schedule_ends_at: string;
|
|
1378
|
+
climate_setting_schedule_id: string;
|
|
1379
|
+
schedule_type: "time_bound";
|
|
1381
1380
|
name?: string | undefined;
|
|
1382
1381
|
automatic_heating_enabled?: boolean | undefined;
|
|
1383
1382
|
automatic_cooling_enabled?: boolean | undefined;
|
|
1384
|
-
hvac_mode_setting?: "
|
|
1383
|
+
hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined;
|
|
1385
1384
|
cooling_set_point_celsius?: number | undefined;
|
|
1386
1385
|
heating_set_point_celsius?: number | undefined;
|
|
1387
1386
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -1389,6 +1388,8 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1389
1388
|
manual_override_allowed?: boolean | undefined;
|
|
1390
1389
|
} | undefined;
|
|
1391
1390
|
};
|
|
1391
|
+
device_type: "akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
|
|
1392
|
+
capabilities_supported: ("access_code" | "thermostat" | "lock" | "noise_detection" | "battery")[];
|
|
1392
1393
|
errors: {
|
|
1393
1394
|
message: string;
|
|
1394
1395
|
error_code: string;
|
|
@@ -1397,7 +1398,6 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1397
1398
|
message: string;
|
|
1398
1399
|
warning_code: string;
|
|
1399
1400
|
}[];
|
|
1400
|
-
is_managed: true;
|
|
1401
1401
|
}, {
|
|
1402
1402
|
location: {
|
|
1403
1403
|
location_name?: string | undefined;
|
|
@@ -1407,8 +1407,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1407
1407
|
workspace_id: string;
|
|
1408
1408
|
created_at: string;
|
|
1409
1409
|
device_id: string;
|
|
1410
|
-
|
|
1411
|
-
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
|
|
1410
|
+
is_managed: true;
|
|
1412
1411
|
properties: {
|
|
1413
1412
|
name: string;
|
|
1414
1413
|
online: boolean;
|
|
@@ -1531,7 +1530,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1531
1530
|
seam_bridge_metadata?: {
|
|
1532
1531
|
name: string;
|
|
1533
1532
|
device_num: number;
|
|
1534
|
-
unlock_method?: "
|
|
1533
|
+
unlock_method?: "doorking" | "bridge" | undefined;
|
|
1535
1534
|
} | undefined;
|
|
1536
1535
|
igloohome_metadata?: {
|
|
1537
1536
|
device_id: string;
|
|
@@ -1585,7 +1584,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1585
1584
|
relative_humidity?: number | undefined;
|
|
1586
1585
|
can_enable_automatic_heating?: boolean | undefined;
|
|
1587
1586
|
can_enable_automatic_cooling?: boolean | undefined;
|
|
1588
|
-
available_hvac_mode_settings?: ("
|
|
1587
|
+
available_hvac_mode_settings?: ("cool" | "heat" | "off" | "heatcool")[] | undefined;
|
|
1589
1588
|
is_heating?: boolean | undefined;
|
|
1590
1589
|
is_cooling?: boolean | undefined;
|
|
1591
1590
|
is_fan_running?: boolean | undefined;
|
|
@@ -1593,7 +1592,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1593
1592
|
current_climate_setting?: {
|
|
1594
1593
|
automatic_heating_enabled: boolean;
|
|
1595
1594
|
automatic_cooling_enabled: boolean;
|
|
1596
|
-
hvac_mode_setting: "
|
|
1595
|
+
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
|
|
1597
1596
|
manual_override_allowed: boolean;
|
|
1598
1597
|
cooling_set_point_celsius?: number | undefined;
|
|
1599
1598
|
heating_set_point_celsius?: number | undefined;
|
|
@@ -1603,7 +1602,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1603
1602
|
default_climate_setting?: {
|
|
1604
1603
|
automatic_heating_enabled: boolean;
|
|
1605
1604
|
automatic_cooling_enabled: boolean;
|
|
1606
|
-
hvac_mode_setting: "
|
|
1605
|
+
hvac_mode_setting: "cool" | "heat" | "off" | "heatcool";
|
|
1607
1606
|
manual_override_allowed: boolean;
|
|
1608
1607
|
cooling_set_point_celsius?: number | undefined;
|
|
1609
1608
|
heating_set_point_celsius?: number | undefined;
|
|
@@ -1613,15 +1612,15 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1613
1612
|
is_climate_setting_schedule_active?: boolean | undefined;
|
|
1614
1613
|
active_climate_setting_schedule?: {
|
|
1615
1614
|
created_at: string;
|
|
1616
|
-
climate_setting_schedule_id: string;
|
|
1617
|
-
schedule_type: "time_bound";
|
|
1618
1615
|
device_id: string;
|
|
1619
1616
|
schedule_starts_at: string;
|
|
1620
1617
|
schedule_ends_at: string;
|
|
1618
|
+
climate_setting_schedule_id: string;
|
|
1619
|
+
schedule_type: "time_bound";
|
|
1621
1620
|
name?: string | undefined;
|
|
1622
1621
|
automatic_heating_enabled?: boolean | undefined;
|
|
1623
1622
|
automatic_cooling_enabled?: boolean | undefined;
|
|
1624
|
-
hvac_mode_setting?: "
|
|
1623
|
+
hvac_mode_setting?: "cool" | "heat" | "off" | "heatcool" | undefined;
|
|
1625
1624
|
cooling_set_point_celsius?: number | undefined;
|
|
1626
1625
|
heating_set_point_celsius?: number | undefined;
|
|
1627
1626
|
cooling_set_point_fahrenheit?: number | undefined;
|
|
@@ -1629,6 +1628,8 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1629
1628
|
manual_override_allowed?: boolean | undefined;
|
|
1630
1629
|
} | undefined;
|
|
1631
1630
|
};
|
|
1631
|
+
device_type: "akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat";
|
|
1632
|
+
capabilities_supported: ("access_code" | "thermostat" | "lock" | "noise_detection" | "battery")[];
|
|
1632
1633
|
errors: {
|
|
1633
1634
|
message: string;
|
|
1634
1635
|
error_code: string;
|
|
@@ -1637,7 +1638,6 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1637
1638
|
message: string;
|
|
1638
1639
|
warning_code: string;
|
|
1639
1640
|
}[];
|
|
1640
|
-
is_managed: true;
|
|
1641
1641
|
}>;
|
|
1642
1642
|
export type ManagedDevice = z.infer<typeof managed_device>;
|
|
1643
1643
|
export type ManagedDeviceWithBackendMetadata<MetadataKey extends keyof z.infer<typeof device_metadata>> = Simplify<ManagedDevice & {
|