@seamapi/types 1.1003.0 → 1.1005.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.
Files changed (52) hide show
  1. package/lib/seam/connect/models/access-grants/access-method.d.ts +6 -0
  2. package/lib/seam/connect/models/access-grants/access-method.js +3 -0
  3. package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
  4. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +5 -0
  5. package/lib/seam/connect/models/action-attempts/assign-credential.d.ts +5 -0
  6. package/lib/seam/connect/openapi.js +15 -0
  7. package/lib/seam/connect/openapi.js.map +1 -1
  8. package/lib/seam/connect/route-types.d.ts +82 -0
  9. package/package.json +4 -11
  10. package/src/lib/seam/connect/models/access-grants/access-method.ts +5 -0
  11. package/src/lib/seam/connect/openapi.ts +18 -0
  12. package/src/lib/seam/connect/route-types.ts +82 -0
  13. package/devicedb.d.ts +0 -1
  14. package/devicedb.js +0 -2
  15. package/devicedb.js.map +0 -1
  16. package/lib/seam/devicedb/index.d.ts +0 -5
  17. package/lib/seam/devicedb/index.js +0 -5
  18. package/lib/seam/devicedb/index.js.map +0 -1
  19. package/lib/seam/devicedb/models/device-capability.d.ts +0 -57
  20. package/lib/seam/devicedb/models/device-capability.js +0 -27
  21. package/lib/seam/devicedb/models/device-capability.js.map +0 -1
  22. package/lib/seam/devicedb/models/device-model.d.ts +0 -1247
  23. package/lib/seam/devicedb/models/device-model.js +0 -136
  24. package/lib/seam/devicedb/models/device-model.js.map +0 -1
  25. package/lib/seam/devicedb/models/hardware.d.ts +0 -8
  26. package/lib/seam/devicedb/models/hardware.js +0 -7
  27. package/lib/seam/devicedb/models/hardware.js.map +0 -1
  28. package/lib/seam/devicedb/models/image-reference.d.ts +0 -15
  29. package/lib/seam/devicedb/models/image-reference.js +0 -7
  30. package/lib/seam/devicedb/models/image-reference.js.map +0 -1
  31. package/lib/seam/devicedb/models/index.d.ts +0 -4
  32. package/lib/seam/devicedb/models/index.js +0 -5
  33. package/lib/seam/devicedb/models/index.js.map +0 -1
  34. package/lib/seam/devicedb/models/manufacturer.d.ts +0 -117
  35. package/lib/seam/devicedb/models/manufacturer.js +0 -38
  36. package/lib/seam/devicedb/models/manufacturer.js.map +0 -1
  37. package/lib/seam/devicedb/route-specs.d.ts +0 -2052
  38. package/lib/seam/devicedb/route-specs.js +0 -61
  39. package/lib/seam/devicedb/route-specs.js.map +0 -1
  40. package/lib/seam/devicedb/route-types.d.ts +0 -364
  41. package/lib/seam/devicedb/route-types.js +0 -2
  42. package/lib/seam/devicedb/route-types.js.map +0 -1
  43. package/src/devicedb.ts +0 -1
  44. package/src/lib/seam/devicedb/index.ts +0 -16
  45. package/src/lib/seam/devicedb/models/device-capability.ts +0 -32
  46. package/src/lib/seam/devicedb/models/device-model.ts +0 -166
  47. package/src/lib/seam/devicedb/models/hardware.ts +0 -7
  48. package/src/lib/seam/devicedb/models/image-reference.ts +0 -9
  49. package/src/lib/seam/devicedb/models/index.ts +0 -4
  50. package/src/lib/seam/devicedb/models/manufacturer.ts +0 -54
  51. package/src/lib/seam/devicedb/route-specs.ts +0 -63
  52. package/src/lib/seam/devicedb/route-types.ts +0 -450
@@ -1,1247 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const device_category: z.ZodEnum<["smartlock", "sensor", "thermostat", "relay", "intercom", "accessory"]>;
3
- export type DeviceCategory = z.infer<typeof device_category>;
4
- export declare const device_connection_type: z.ZodEnum<["wifi", "zwave", "zigbee", "unknown"]>;
5
- export type DeviceConnectionType = z.infer<typeof device_connection_type>;
6
- export declare const thermostat: z.ZodObject<{
7
- main_category: z.ZodLiteral<"thermostat">;
8
- physical_properties: z.ZodObject<{
9
- available_modes: z.ZodArray<z.ZodEnum<["heat", "cool", "fan", "eco"]>, "many">;
10
- is_heat_pump_compatible: z.ZodBoolean;
11
- has_occupancy_detection: z.ZodBoolean;
12
- supports_demand_response: z.ZodBoolean;
13
- has_humidity_sensor: z.ZodBoolean;
14
- has_temperature_sensor: z.ZodBoolean;
15
- supports_emergency_heating_mode: z.ZodBoolean;
16
- }, "strip", z.ZodTypeAny, {
17
- has_humidity_sensor: boolean;
18
- has_temperature_sensor: boolean;
19
- has_occupancy_detection: boolean;
20
- available_modes: ("heat" | "cool" | "eco" | "fan")[];
21
- is_heat_pump_compatible: boolean;
22
- supports_demand_response: boolean;
23
- supports_emergency_heating_mode: boolean;
24
- }, {
25
- has_humidity_sensor: boolean;
26
- has_temperature_sensor: boolean;
27
- has_occupancy_detection: boolean;
28
- available_modes: ("heat" | "cool" | "eco" | "fan")[];
29
- is_heat_pump_compatible: boolean;
30
- supports_demand_response: boolean;
31
- supports_emergency_heating_mode: boolean;
32
- }>;
33
- software_features: z.ZodObject<{
34
- can_program_climate_schedules: z.ZodBoolean;
35
- }, "strip", z.ZodTypeAny, {
36
- can_program_climate_schedules: boolean;
37
- }, {
38
- can_program_climate_schedules: boolean;
39
- }>;
40
- } & Pick<{
41
- can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
42
- can_remotely_lock: z.ZodOptional<z.ZodLiteral<true>>;
43
- can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
44
- can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
45
- can_hvac_heat: z.ZodOptional<z.ZodLiteral<true>>;
46
- can_hvac_cool: z.ZodOptional<z.ZodLiteral<true>>;
47
- can_hvac_heat_cool: z.ZodOptional<z.ZodLiteral<true>>;
48
- can_turn_off_hvac: z.ZodOptional<z.ZodLiteral<true>>;
49
- }, "can_hvac_heat" | "can_hvac_cool" | "can_hvac_heat_cool" | "can_turn_off_hvac">, "strip", z.ZodTypeAny, {
50
- main_category: "thermostat";
51
- physical_properties: {
52
- has_humidity_sensor: boolean;
53
- has_temperature_sensor: boolean;
54
- has_occupancy_detection: boolean;
55
- available_modes: ("heat" | "cool" | "eco" | "fan")[];
56
- is_heat_pump_compatible: boolean;
57
- supports_demand_response: boolean;
58
- supports_emergency_heating_mode: boolean;
59
- };
60
- software_features: {
61
- can_program_climate_schedules: boolean;
62
- };
63
- can_hvac_heat?: true | undefined;
64
- can_hvac_cool?: true | undefined;
65
- can_hvac_heat_cool?: true | undefined;
66
- can_turn_off_hvac?: true | undefined;
67
- }, {
68
- main_category: "thermostat";
69
- physical_properties: {
70
- has_humidity_sensor: boolean;
71
- has_temperature_sensor: boolean;
72
- has_occupancy_detection: boolean;
73
- available_modes: ("heat" | "cool" | "eco" | "fan")[];
74
- is_heat_pump_compatible: boolean;
75
- supports_demand_response: boolean;
76
- supports_emergency_heating_mode: boolean;
77
- };
78
- software_features: {
79
- can_program_climate_schedules: boolean;
80
- };
81
- can_hvac_heat?: true | undefined;
82
- can_hvac_cool?: true | undefined;
83
- can_hvac_heat_cool?: true | undefined;
84
- can_turn_off_hvac?: true | undefined;
85
- }>;
86
- export type ThermostatProperties = z.infer<typeof thermostat>;
87
- export declare const device_model_category_specific_properties: z.ZodDiscriminatedUnion<"main_category", [z.ZodObject<{
88
- main_category: z.ZodLiteral<"smartlock">;
89
- physical_properties: z.ZodObject<{
90
- lock_type: z.ZodEnum<["deadbolt", "lever", "mortise", "lockbox", "cylinder", "padlock", "locker", "unknown"]>;
91
- has_physical_key: z.ZodBoolean;
92
- has_camera: z.ZodBoolean;
93
- }, "strip", z.ZodTypeAny, {
94
- lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
95
- has_physical_key: boolean;
96
- has_camera: boolean;
97
- }, {
98
- lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
99
- has_physical_key: boolean;
100
- has_camera: boolean;
101
- }>;
102
- software_features: z.ZodObject<{
103
- can_remotely_unlock: z.ZodBoolean;
104
- can_program_access_codes: z.ZodBoolean;
105
- can_program_access_schedules: z.ZodBoolean;
106
- can_program_access_codes_offline: z.ZodBoolean;
107
- }, "strip", z.ZodTypeAny, {
108
- can_remotely_unlock: boolean;
109
- can_program_access_codes: boolean;
110
- can_program_access_schedules: boolean;
111
- can_program_access_codes_offline: boolean;
112
- }, {
113
- can_remotely_unlock: boolean;
114
- can_program_access_codes: boolean;
115
- can_program_access_schedules: boolean;
116
- can_program_access_codes_offline: boolean;
117
- }>;
118
- } & Pick<{
119
- can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
120
- can_remotely_lock: z.ZodOptional<z.ZodLiteral<true>>;
121
- can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
122
- can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
123
- can_hvac_heat: z.ZodOptional<z.ZodLiteral<true>>;
124
- can_hvac_cool: z.ZodOptional<z.ZodLiteral<true>>;
125
- can_hvac_heat_cool: z.ZodOptional<z.ZodLiteral<true>>;
126
- can_turn_off_hvac: z.ZodOptional<z.ZodLiteral<true>>;
127
- }, "can_remotely_unlock" | "can_remotely_lock" | "can_program_offline_access_codes" | "can_program_online_access_codes">, "strip", z.ZodTypeAny, {
128
- main_category: "smartlock";
129
- physical_properties: {
130
- lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
131
- has_physical_key: boolean;
132
- has_camera: boolean;
133
- };
134
- software_features: {
135
- can_remotely_unlock: boolean;
136
- can_program_access_codes: boolean;
137
- can_program_access_schedules: boolean;
138
- can_program_access_codes_offline: boolean;
139
- };
140
- can_remotely_unlock?: true | undefined;
141
- can_remotely_lock?: true | undefined;
142
- can_program_offline_access_codes?: true | undefined;
143
- can_program_online_access_codes?: true | undefined;
144
- }, {
145
- main_category: "smartlock";
146
- physical_properties: {
147
- lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
148
- has_physical_key: boolean;
149
- has_camera: boolean;
150
- };
151
- software_features: {
152
- can_remotely_unlock: boolean;
153
- can_program_access_codes: boolean;
154
- can_program_access_schedules: boolean;
155
- can_program_access_codes_offline: boolean;
156
- };
157
- can_remotely_unlock?: true | undefined;
158
- can_remotely_lock?: true | undefined;
159
- can_program_offline_access_codes?: true | undefined;
160
- can_program_online_access_codes?: true | undefined;
161
- }>, z.ZodObject<{
162
- main_category: z.ZodLiteral<"sensor">;
163
- physical_properties: z.ZodObject<{
164
- has_noise_sensor: z.ZodBoolean;
165
- has_humidity_sensor: z.ZodBoolean;
166
- has_temperature_sensor: z.ZodBoolean;
167
- has_occupancy_detection: z.ZodBoolean;
168
- }, "strip", z.ZodTypeAny, {
169
- has_noise_sensor: boolean;
170
- has_humidity_sensor: boolean;
171
- has_temperature_sensor: boolean;
172
- has_occupancy_detection: boolean;
173
- }, {
174
- has_noise_sensor: boolean;
175
- has_humidity_sensor: boolean;
176
- has_temperature_sensor: boolean;
177
- has_occupancy_detection: boolean;
178
- }>;
179
- }, "strip", z.ZodTypeAny, {
180
- main_category: "sensor";
181
- physical_properties: {
182
- has_noise_sensor: boolean;
183
- has_humidity_sensor: boolean;
184
- has_temperature_sensor: boolean;
185
- has_occupancy_detection: boolean;
186
- };
187
- }, {
188
- main_category: "sensor";
189
- physical_properties: {
190
- has_noise_sensor: boolean;
191
- has_humidity_sensor: boolean;
192
- has_temperature_sensor: boolean;
193
- has_occupancy_detection: boolean;
194
- };
195
- }>, z.ZodObject<{
196
- main_category: z.ZodLiteral<"thermostat">;
197
- physical_properties: z.ZodObject<{
198
- available_modes: z.ZodArray<z.ZodEnum<["heat", "cool", "fan", "eco"]>, "many">;
199
- is_heat_pump_compatible: z.ZodBoolean;
200
- has_occupancy_detection: z.ZodBoolean;
201
- supports_demand_response: z.ZodBoolean;
202
- has_humidity_sensor: z.ZodBoolean;
203
- has_temperature_sensor: z.ZodBoolean;
204
- supports_emergency_heating_mode: z.ZodBoolean;
205
- }, "strip", z.ZodTypeAny, {
206
- has_humidity_sensor: boolean;
207
- has_temperature_sensor: boolean;
208
- has_occupancy_detection: boolean;
209
- available_modes: ("heat" | "cool" | "eco" | "fan")[];
210
- is_heat_pump_compatible: boolean;
211
- supports_demand_response: boolean;
212
- supports_emergency_heating_mode: boolean;
213
- }, {
214
- has_humidity_sensor: boolean;
215
- has_temperature_sensor: boolean;
216
- has_occupancy_detection: boolean;
217
- available_modes: ("heat" | "cool" | "eco" | "fan")[];
218
- is_heat_pump_compatible: boolean;
219
- supports_demand_response: boolean;
220
- supports_emergency_heating_mode: boolean;
221
- }>;
222
- software_features: z.ZodObject<{
223
- can_program_climate_schedules: z.ZodBoolean;
224
- }, "strip", z.ZodTypeAny, {
225
- can_program_climate_schedules: boolean;
226
- }, {
227
- can_program_climate_schedules: boolean;
228
- }>;
229
- } & Pick<{
230
- can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
231
- can_remotely_lock: z.ZodOptional<z.ZodLiteral<true>>;
232
- can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
233
- can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
234
- can_hvac_heat: z.ZodOptional<z.ZodLiteral<true>>;
235
- can_hvac_cool: z.ZodOptional<z.ZodLiteral<true>>;
236
- can_hvac_heat_cool: z.ZodOptional<z.ZodLiteral<true>>;
237
- can_turn_off_hvac: z.ZodOptional<z.ZodLiteral<true>>;
238
- }, "can_hvac_heat" | "can_hvac_cool" | "can_hvac_heat_cool" | "can_turn_off_hvac">, "strip", z.ZodTypeAny, {
239
- main_category: "thermostat";
240
- physical_properties: {
241
- has_humidity_sensor: boolean;
242
- has_temperature_sensor: boolean;
243
- has_occupancy_detection: boolean;
244
- available_modes: ("heat" | "cool" | "eco" | "fan")[];
245
- is_heat_pump_compatible: boolean;
246
- supports_demand_response: boolean;
247
- supports_emergency_heating_mode: boolean;
248
- };
249
- software_features: {
250
- can_program_climate_schedules: boolean;
251
- };
252
- can_hvac_heat?: true | undefined;
253
- can_hvac_cool?: true | undefined;
254
- can_hvac_heat_cool?: true | undefined;
255
- can_turn_off_hvac?: true | undefined;
256
- }, {
257
- main_category: "thermostat";
258
- physical_properties: {
259
- has_humidity_sensor: boolean;
260
- has_temperature_sensor: boolean;
261
- has_occupancy_detection: boolean;
262
- available_modes: ("heat" | "cool" | "eco" | "fan")[];
263
- is_heat_pump_compatible: boolean;
264
- supports_demand_response: boolean;
265
- supports_emergency_heating_mode: boolean;
266
- };
267
- software_features: {
268
- can_program_climate_schedules: boolean;
269
- };
270
- can_hvac_heat?: true | undefined;
271
- can_hvac_cool?: true | undefined;
272
- can_hvac_heat_cool?: true | undefined;
273
- can_turn_off_hvac?: true | undefined;
274
- }>, z.ZodObject<{
275
- main_category: z.ZodLiteral<"relay">;
276
- }, "strip", z.ZodTypeAny, {
277
- main_category: "relay";
278
- }, {
279
- main_category: "relay";
280
- }>, z.ZodObject<{
281
- main_category: z.ZodLiteral<"intercom">;
282
- physical_properties: z.ZodObject<{
283
- has_camera: z.ZodBoolean;
284
- has_rfid_reader: z.ZodDefault<z.ZodBoolean>;
285
- has_nfc_reader: z.ZodDefault<z.ZodBoolean>;
286
- has_wiegand_interface: z.ZodDefault<z.ZodBoolean>;
287
- }, "strip", z.ZodTypeAny, {
288
- has_camera: boolean;
289
- has_rfid_reader: boolean;
290
- has_nfc_reader: boolean;
291
- has_wiegand_interface: boolean;
292
- }, {
293
- has_camera: boolean;
294
- has_rfid_reader?: boolean | undefined;
295
- has_nfc_reader?: boolean | undefined;
296
- has_wiegand_interface?: boolean | undefined;
297
- }>;
298
- software_features: z.ZodObject<{
299
- can_remotely_unlock: z.ZodBoolean;
300
- can_program_access_codes: z.ZodBoolean;
301
- can_unlock_with_face_recognition: z.ZodDefault<z.ZodBoolean>;
302
- supports_onvif: z.ZodDefault<z.ZodBoolean>;
303
- }, "strip", z.ZodTypeAny, {
304
- can_remotely_unlock: boolean;
305
- can_program_access_codes: boolean;
306
- can_unlock_with_face_recognition: boolean;
307
- supports_onvif: boolean;
308
- }, {
309
- can_remotely_unlock: boolean;
310
- can_program_access_codes: boolean;
311
- can_unlock_with_face_recognition?: boolean | undefined;
312
- supports_onvif?: boolean | undefined;
313
- }>;
314
- }, "strip", z.ZodTypeAny, {
315
- main_category: "intercom";
316
- physical_properties: {
317
- has_camera: boolean;
318
- has_rfid_reader: boolean;
319
- has_nfc_reader: boolean;
320
- has_wiegand_interface: boolean;
321
- };
322
- software_features: {
323
- can_remotely_unlock: boolean;
324
- can_program_access_codes: boolean;
325
- can_unlock_with_face_recognition: boolean;
326
- supports_onvif: boolean;
327
- };
328
- }, {
329
- main_category: "intercom";
330
- physical_properties: {
331
- has_camera: boolean;
332
- has_rfid_reader?: boolean | undefined;
333
- has_nfc_reader?: boolean | undefined;
334
- has_wiegand_interface?: boolean | undefined;
335
- };
336
- software_features: {
337
- can_remotely_unlock: boolean;
338
- can_program_access_codes: boolean;
339
- can_unlock_with_face_recognition?: boolean | undefined;
340
- supports_onvif?: boolean | undefined;
341
- };
342
- }>, z.ZodObject<{
343
- main_category: z.ZodLiteral<"accessory">;
344
- }, "strip", z.ZodTypeAny, {
345
- main_category: "accessory";
346
- }, {
347
- main_category: "accessory";
348
- }>]>;
349
- export declare const base_device_model_v1: z.ZodObject<{
350
- device_model_id: z.ZodString;
351
- manufacturer: z.ZodObject<Omit<{
352
- manufacturer_id: z.ZodString;
353
- display_name: z.ZodString;
354
- logo: z.ZodOptional<z.ZodObject<{
355
- url: z.ZodString;
356
- width: z.ZodNumber;
357
- height: z.ZodNumber;
358
- }, "strip", z.ZodTypeAny, {
359
- url: string;
360
- width: number;
361
- height: number;
362
- }, {
363
- url: string;
364
- width: number;
365
- height: number;
366
- }>>;
367
- integration: z.ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>;
368
- integration_support_level: z.ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>;
369
- is_connect_webview_supported: z.ZodBoolean;
370
- requires_seam_support_to_add_account: z.ZodBoolean;
371
- device_model_count: z.ZodNumber;
372
- annotations: z.ZodArray<z.ZodObject<{
373
- annotation_code: z.ZodEnum<["subscription_required"]>;
374
- message: z.ZodString;
375
- }, "strip", z.ZodTypeAny, {
376
- message: string;
377
- annotation_code: "subscription_required";
378
- }, {
379
- message: string;
380
- annotation_code: "subscription_required";
381
- }>, "many">;
382
- website: z.ZodOptional<z.ZodString>;
383
- legal_name: z.ZodOptional<z.ZodString>;
384
- parent_organization: z.ZodOptional<z.ZodString>;
385
- headquarters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
386
- countries_of_origin: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
387
- founding_year: z.ZodOptional<z.ZodString>;
388
- us_customer_support_tel: z.ZodOptional<z.ZodString>;
389
- us_customer_support_email: z.ZodOptional<z.ZodString>;
390
- us_customer_support_contact_url: z.ZodOptional<z.ZodString>;
391
- seam_api_guide: z.ZodOptional<z.ZodString>;
392
- description: z.ZodOptional<z.ZodString>;
393
- }, "device_model_count">, "strip", z.ZodTypeAny, {
394
- display_name: string;
395
- manufacturer_id: string;
396
- integration: "stable" | "beta" | "planned" | "unsupported" | "inquire";
397
- integration_support_level: "stable" | "beta" | "planned" | "unsupported" | "inquire";
398
- is_connect_webview_supported: boolean;
399
- requires_seam_support_to_add_account: boolean;
400
- annotations: {
401
- message: string;
402
- annotation_code: "subscription_required";
403
- }[];
404
- description?: string | undefined;
405
- logo?: {
406
- url: string;
407
- width: number;
408
- height: number;
409
- } | undefined;
410
- website?: string | undefined;
411
- legal_name?: string | undefined;
412
- parent_organization?: string | undefined;
413
- headquarters?: string[] | undefined;
414
- countries_of_origin?: string[] | undefined;
415
- founding_year?: string | undefined;
416
- us_customer_support_tel?: string | undefined;
417
- us_customer_support_email?: string | undefined;
418
- us_customer_support_contact_url?: string | undefined;
419
- seam_api_guide?: string | undefined;
420
- }, {
421
- display_name: string;
422
- manufacturer_id: string;
423
- integration: "stable" | "beta" | "planned" | "unsupported" | "inquire";
424
- integration_support_level: "stable" | "beta" | "planned" | "unsupported" | "inquire";
425
- is_connect_webview_supported: boolean;
426
- requires_seam_support_to_add_account: boolean;
427
- annotations: {
428
- message: string;
429
- annotation_code: "subscription_required";
430
- }[];
431
- description?: string | undefined;
432
- logo?: {
433
- url: string;
434
- width: number;
435
- height: number;
436
- } | undefined;
437
- website?: string | undefined;
438
- legal_name?: string | undefined;
439
- parent_organization?: string | undefined;
440
- headquarters?: string[] | undefined;
441
- countries_of_origin?: string[] | undefined;
442
- founding_year?: string | undefined;
443
- us_customer_support_tel?: string | undefined;
444
- us_customer_support_email?: string | undefined;
445
- us_customer_support_contact_url?: string | undefined;
446
- seam_api_guide?: string | undefined;
447
- }>;
448
- is_device_supported: z.ZodBoolean;
449
- display_name: z.ZodString;
450
- description: z.ZodString;
451
- product_url: z.ZodOptional<z.ZodString>;
452
- main_connection_type: z.ZodEnum<["wifi", "zwave", "zigbee", "unknown"]>;
453
- hardware: z.ZodObject<{
454
- has_physical_key: z.ZodOptional<z.ZodBoolean>;
455
- }, "strip", z.ZodTypeAny, {
456
- has_physical_key?: boolean | undefined;
457
- }, {
458
- has_physical_key?: boolean | undefined;
459
- }>;
460
- aesthetic_variants: z.ZodArray<z.ZodObject<{
461
- slug: z.ZodString;
462
- display_name: z.ZodString;
463
- primary_color_hex: z.ZodOptional<z.ZodString>;
464
- manufacturer_sku: z.ZodOptional<z.ZodString>;
465
- front_image: z.ZodOptional<z.ZodObject<{
466
- url: z.ZodString;
467
- width: z.ZodNumber;
468
- height: z.ZodNumber;
469
- }, "strip", z.ZodTypeAny, {
470
- url: string;
471
- width: number;
472
- height: number;
473
- }, {
474
- url: string;
475
- width: number;
476
- height: number;
477
- }>>;
478
- back_image: z.ZodOptional<z.ZodObject<{
479
- url: z.ZodString;
480
- width: z.ZodNumber;
481
- height: z.ZodNumber;
482
- }, "strip", z.ZodTypeAny, {
483
- url: string;
484
- width: number;
485
- height: number;
486
- }, {
487
- url: string;
488
- width: number;
489
- height: number;
490
- }>>;
491
- images: z.ZodArray<z.ZodObject<{
492
- url: z.ZodString;
493
- width: z.ZodNumber;
494
- height: z.ZodNumber;
495
- }, "strip", z.ZodTypeAny, {
496
- url: string;
497
- width: number;
498
- height: number;
499
- }, {
500
- url: string;
501
- width: number;
502
- height: number;
503
- }>, "many">;
504
- }, "strip", z.ZodTypeAny, {
505
- display_name: string;
506
- slug: string;
507
- images: {
508
- url: string;
509
- width: number;
510
- height: number;
511
- }[];
512
- primary_color_hex?: string | undefined;
513
- manufacturer_sku?: string | undefined;
514
- front_image?: {
515
- url: string;
516
- width: number;
517
- height: number;
518
- } | undefined;
519
- back_image?: {
520
- url: string;
521
- width: number;
522
- height: number;
523
- } | undefined;
524
- }, {
525
- display_name: string;
526
- slug: string;
527
- images: {
528
- url: string;
529
- width: number;
530
- height: number;
531
- }[];
532
- primary_color_hex?: string | undefined;
533
- manufacturer_sku?: string | undefined;
534
- front_image?: {
535
- url: string;
536
- width: number;
537
- height: number;
538
- } | undefined;
539
- back_image?: {
540
- url: string;
541
- width: number;
542
- height: number;
543
- } | undefined;
544
- }>, "many">;
545
- power_sources: z.ZodArray<z.ZodEnum<["battery", "hardwired", "mechanical_harvesting", "wireless", "ethernet"]>, "many">;
546
- }, "strip", z.ZodTypeAny, {
547
- display_name: string;
548
- description: string;
549
- manufacturer: {
550
- display_name: string;
551
- manufacturer_id: string;
552
- integration: "stable" | "beta" | "planned" | "unsupported" | "inquire";
553
- integration_support_level: "stable" | "beta" | "planned" | "unsupported" | "inquire";
554
- is_connect_webview_supported: boolean;
555
- requires_seam_support_to_add_account: boolean;
556
- annotations: {
557
- message: string;
558
- annotation_code: "subscription_required";
559
- }[];
560
- description?: string | undefined;
561
- logo?: {
562
- url: string;
563
- width: number;
564
- height: number;
565
- } | undefined;
566
- website?: string | undefined;
567
- legal_name?: string | undefined;
568
- parent_organization?: string | undefined;
569
- headquarters?: string[] | undefined;
570
- countries_of_origin?: string[] | undefined;
571
- founding_year?: string | undefined;
572
- us_customer_support_tel?: string | undefined;
573
- us_customer_support_email?: string | undefined;
574
- us_customer_support_contact_url?: string | undefined;
575
- seam_api_guide?: string | undefined;
576
- };
577
- hardware: {
578
- has_physical_key?: boolean | undefined;
579
- };
580
- device_model_id: string;
581
- is_device_supported: boolean;
582
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
583
- aesthetic_variants: {
584
- display_name: string;
585
- slug: string;
586
- images: {
587
- url: string;
588
- width: number;
589
- height: number;
590
- }[];
591
- primary_color_hex?: string | undefined;
592
- manufacturer_sku?: string | undefined;
593
- front_image?: {
594
- url: string;
595
- width: number;
596
- height: number;
597
- } | undefined;
598
- back_image?: {
599
- url: string;
600
- width: number;
601
- height: number;
602
- } | undefined;
603
- }[];
604
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
605
- product_url?: string | undefined;
606
- }, {
607
- display_name: string;
608
- description: string;
609
- manufacturer: {
610
- display_name: string;
611
- manufacturer_id: string;
612
- integration: "stable" | "beta" | "planned" | "unsupported" | "inquire";
613
- integration_support_level: "stable" | "beta" | "planned" | "unsupported" | "inquire";
614
- is_connect_webview_supported: boolean;
615
- requires_seam_support_to_add_account: boolean;
616
- annotations: {
617
- message: string;
618
- annotation_code: "subscription_required";
619
- }[];
620
- description?: string | undefined;
621
- logo?: {
622
- url: string;
623
- width: number;
624
- height: number;
625
- } | undefined;
626
- website?: string | undefined;
627
- legal_name?: string | undefined;
628
- parent_organization?: string | undefined;
629
- headquarters?: string[] | undefined;
630
- countries_of_origin?: string[] | undefined;
631
- founding_year?: string | undefined;
632
- us_customer_support_tel?: string | undefined;
633
- us_customer_support_email?: string | undefined;
634
- us_customer_support_contact_url?: string | undefined;
635
- seam_api_guide?: string | undefined;
636
- };
637
- hardware: {
638
- has_physical_key?: boolean | undefined;
639
- };
640
- device_model_id: string;
641
- is_device_supported: boolean;
642
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
643
- aesthetic_variants: {
644
- display_name: string;
645
- slug: string;
646
- images: {
647
- url: string;
648
- width: number;
649
- height: number;
650
- }[];
651
- primary_color_hex?: string | undefined;
652
- manufacturer_sku?: string | undefined;
653
- front_image?: {
654
- url: string;
655
- width: number;
656
- height: number;
657
- } | undefined;
658
- back_image?: {
659
- url: string;
660
- width: number;
661
- height: number;
662
- } | undefined;
663
- }[];
664
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
665
- product_url?: string | undefined;
666
- }>;
667
- export type BaseDeviceModel = z.infer<typeof base_device_model_v1>;
668
- export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
669
- device_model_id: z.ZodString;
670
- manufacturer: z.ZodObject<Omit<{
671
- manufacturer_id: z.ZodString;
672
- display_name: z.ZodString;
673
- logo: z.ZodOptional<z.ZodObject<{
674
- url: z.ZodString;
675
- width: z.ZodNumber;
676
- height: z.ZodNumber;
677
- }, "strip", z.ZodTypeAny, {
678
- url: string;
679
- width: number;
680
- height: number;
681
- }, {
682
- url: string;
683
- width: number;
684
- height: number;
685
- }>>;
686
- integration: z.ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>;
687
- integration_support_level: z.ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>;
688
- is_connect_webview_supported: z.ZodBoolean;
689
- requires_seam_support_to_add_account: z.ZodBoolean;
690
- device_model_count: z.ZodNumber;
691
- annotations: z.ZodArray<z.ZodObject<{
692
- annotation_code: z.ZodEnum<["subscription_required"]>;
693
- message: z.ZodString;
694
- }, "strip", z.ZodTypeAny, {
695
- message: string;
696
- annotation_code: "subscription_required";
697
- }, {
698
- message: string;
699
- annotation_code: "subscription_required";
700
- }>, "many">;
701
- website: z.ZodOptional<z.ZodString>;
702
- legal_name: z.ZodOptional<z.ZodString>;
703
- parent_organization: z.ZodOptional<z.ZodString>;
704
- headquarters: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
705
- countries_of_origin: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
706
- founding_year: z.ZodOptional<z.ZodString>;
707
- us_customer_support_tel: z.ZodOptional<z.ZodString>;
708
- us_customer_support_email: z.ZodOptional<z.ZodString>;
709
- us_customer_support_contact_url: z.ZodOptional<z.ZodString>;
710
- seam_api_guide: z.ZodOptional<z.ZodString>;
711
- description: z.ZodOptional<z.ZodString>;
712
- }, "device_model_count">, "strip", z.ZodTypeAny, {
713
- display_name: string;
714
- manufacturer_id: string;
715
- integration: "stable" | "beta" | "planned" | "unsupported" | "inquire";
716
- integration_support_level: "stable" | "beta" | "planned" | "unsupported" | "inquire";
717
- is_connect_webview_supported: boolean;
718
- requires_seam_support_to_add_account: boolean;
719
- annotations: {
720
- message: string;
721
- annotation_code: "subscription_required";
722
- }[];
723
- description?: string | undefined;
724
- logo?: {
725
- url: string;
726
- width: number;
727
- height: number;
728
- } | undefined;
729
- website?: string | undefined;
730
- legal_name?: string | undefined;
731
- parent_organization?: string | undefined;
732
- headquarters?: string[] | undefined;
733
- countries_of_origin?: string[] | undefined;
734
- founding_year?: string | undefined;
735
- us_customer_support_tel?: string | undefined;
736
- us_customer_support_email?: string | undefined;
737
- us_customer_support_contact_url?: string | undefined;
738
- seam_api_guide?: string | undefined;
739
- }, {
740
- display_name: string;
741
- manufacturer_id: string;
742
- integration: "stable" | "beta" | "planned" | "unsupported" | "inquire";
743
- integration_support_level: "stable" | "beta" | "planned" | "unsupported" | "inquire";
744
- is_connect_webview_supported: boolean;
745
- requires_seam_support_to_add_account: boolean;
746
- annotations: {
747
- message: string;
748
- annotation_code: "subscription_required";
749
- }[];
750
- description?: string | undefined;
751
- logo?: {
752
- url: string;
753
- width: number;
754
- height: number;
755
- } | undefined;
756
- website?: string | undefined;
757
- legal_name?: string | undefined;
758
- parent_organization?: string | undefined;
759
- headquarters?: string[] | undefined;
760
- countries_of_origin?: string[] | undefined;
761
- founding_year?: string | undefined;
762
- us_customer_support_tel?: string | undefined;
763
- us_customer_support_email?: string | undefined;
764
- us_customer_support_contact_url?: string | undefined;
765
- seam_api_guide?: string | undefined;
766
- }>;
767
- is_device_supported: z.ZodBoolean;
768
- display_name: z.ZodString;
769
- description: z.ZodString;
770
- product_url: z.ZodOptional<z.ZodString>;
771
- main_connection_type: z.ZodEnum<["wifi", "zwave", "zigbee", "unknown"]>;
772
- hardware: z.ZodObject<{
773
- has_physical_key: z.ZodOptional<z.ZodBoolean>;
774
- }, "strip", z.ZodTypeAny, {
775
- has_physical_key?: boolean | undefined;
776
- }, {
777
- has_physical_key?: boolean | undefined;
778
- }>;
779
- aesthetic_variants: z.ZodArray<z.ZodObject<{
780
- slug: z.ZodString;
781
- display_name: z.ZodString;
782
- primary_color_hex: z.ZodOptional<z.ZodString>;
783
- manufacturer_sku: z.ZodOptional<z.ZodString>;
784
- front_image: z.ZodOptional<z.ZodObject<{
785
- url: z.ZodString;
786
- width: z.ZodNumber;
787
- height: z.ZodNumber;
788
- }, "strip", z.ZodTypeAny, {
789
- url: string;
790
- width: number;
791
- height: number;
792
- }, {
793
- url: string;
794
- width: number;
795
- height: number;
796
- }>>;
797
- back_image: z.ZodOptional<z.ZodObject<{
798
- url: z.ZodString;
799
- width: z.ZodNumber;
800
- height: z.ZodNumber;
801
- }, "strip", z.ZodTypeAny, {
802
- url: string;
803
- width: number;
804
- height: number;
805
- }, {
806
- url: string;
807
- width: number;
808
- height: number;
809
- }>>;
810
- images: z.ZodArray<z.ZodObject<{
811
- url: z.ZodString;
812
- width: z.ZodNumber;
813
- height: z.ZodNumber;
814
- }, "strip", z.ZodTypeAny, {
815
- url: string;
816
- width: number;
817
- height: number;
818
- }, {
819
- url: string;
820
- width: number;
821
- height: number;
822
- }>, "many">;
823
- }, "strip", z.ZodTypeAny, {
824
- display_name: string;
825
- slug: string;
826
- images: {
827
- url: string;
828
- width: number;
829
- height: number;
830
- }[];
831
- primary_color_hex?: string | undefined;
832
- manufacturer_sku?: string | undefined;
833
- front_image?: {
834
- url: string;
835
- width: number;
836
- height: number;
837
- } | undefined;
838
- back_image?: {
839
- url: string;
840
- width: number;
841
- height: number;
842
- } | undefined;
843
- }, {
844
- display_name: string;
845
- slug: string;
846
- images: {
847
- url: string;
848
- width: number;
849
- height: number;
850
- }[];
851
- primary_color_hex?: string | undefined;
852
- manufacturer_sku?: string | undefined;
853
- front_image?: {
854
- url: string;
855
- width: number;
856
- height: number;
857
- } | undefined;
858
- back_image?: {
859
- url: string;
860
- width: number;
861
- height: number;
862
- } | undefined;
863
- }>, "many">;
864
- power_sources: z.ZodArray<z.ZodEnum<["battery", "hardwired", "mechanical_harvesting", "wireless", "ethernet"]>, "many">;
865
- }, "strip", z.ZodTypeAny, {
866
- display_name: string;
867
- description: string;
868
- manufacturer: {
869
- display_name: string;
870
- manufacturer_id: string;
871
- integration: "stable" | "beta" | "planned" | "unsupported" | "inquire";
872
- integration_support_level: "stable" | "beta" | "planned" | "unsupported" | "inquire";
873
- is_connect_webview_supported: boolean;
874
- requires_seam_support_to_add_account: boolean;
875
- annotations: {
876
- message: string;
877
- annotation_code: "subscription_required";
878
- }[];
879
- description?: string | undefined;
880
- logo?: {
881
- url: string;
882
- width: number;
883
- height: number;
884
- } | undefined;
885
- website?: string | undefined;
886
- legal_name?: string | undefined;
887
- parent_organization?: string | undefined;
888
- headquarters?: string[] | undefined;
889
- countries_of_origin?: string[] | undefined;
890
- founding_year?: string | undefined;
891
- us_customer_support_tel?: string | undefined;
892
- us_customer_support_email?: string | undefined;
893
- us_customer_support_contact_url?: string | undefined;
894
- seam_api_guide?: string | undefined;
895
- };
896
- hardware: {
897
- has_physical_key?: boolean | undefined;
898
- };
899
- device_model_id: string;
900
- is_device_supported: boolean;
901
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
902
- aesthetic_variants: {
903
- display_name: string;
904
- slug: string;
905
- images: {
906
- url: string;
907
- width: number;
908
- height: number;
909
- }[];
910
- primary_color_hex?: string | undefined;
911
- manufacturer_sku?: string | undefined;
912
- front_image?: {
913
- url: string;
914
- width: number;
915
- height: number;
916
- } | undefined;
917
- back_image?: {
918
- url: string;
919
- width: number;
920
- height: number;
921
- } | undefined;
922
- }[];
923
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
924
- product_url?: string | undefined;
925
- }, {
926
- display_name: string;
927
- description: string;
928
- manufacturer: {
929
- display_name: string;
930
- manufacturer_id: string;
931
- integration: "stable" | "beta" | "planned" | "unsupported" | "inquire";
932
- integration_support_level: "stable" | "beta" | "planned" | "unsupported" | "inquire";
933
- is_connect_webview_supported: boolean;
934
- requires_seam_support_to_add_account: boolean;
935
- annotations: {
936
- message: string;
937
- annotation_code: "subscription_required";
938
- }[];
939
- description?: string | undefined;
940
- logo?: {
941
- url: string;
942
- width: number;
943
- height: number;
944
- } | undefined;
945
- website?: string | undefined;
946
- legal_name?: string | undefined;
947
- parent_organization?: string | undefined;
948
- headquarters?: string[] | undefined;
949
- countries_of_origin?: string[] | undefined;
950
- founding_year?: string | undefined;
951
- us_customer_support_tel?: string | undefined;
952
- us_customer_support_email?: string | undefined;
953
- us_customer_support_contact_url?: string | undefined;
954
- seam_api_guide?: string | undefined;
955
- };
956
- hardware: {
957
- has_physical_key?: boolean | undefined;
958
- };
959
- device_model_id: string;
960
- is_device_supported: boolean;
961
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
962
- aesthetic_variants: {
963
- display_name: string;
964
- slug: string;
965
- images: {
966
- url: string;
967
- width: number;
968
- height: number;
969
- }[];
970
- primary_color_hex?: string | undefined;
971
- manufacturer_sku?: string | undefined;
972
- front_image?: {
973
- url: string;
974
- width: number;
975
- height: number;
976
- } | undefined;
977
- back_image?: {
978
- url: string;
979
- width: number;
980
- height: number;
981
- } | undefined;
982
- }[];
983
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
984
- product_url?: string | undefined;
985
- }>, z.ZodDiscriminatedUnion<"main_category", [z.ZodObject<{
986
- main_category: z.ZodLiteral<"smartlock">;
987
- physical_properties: z.ZodObject<{
988
- lock_type: z.ZodEnum<["deadbolt", "lever", "mortise", "lockbox", "cylinder", "padlock", "locker", "unknown"]>;
989
- has_physical_key: z.ZodBoolean;
990
- has_camera: z.ZodBoolean;
991
- }, "strip", z.ZodTypeAny, {
992
- lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
993
- has_physical_key: boolean;
994
- has_camera: boolean;
995
- }, {
996
- lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
997
- has_physical_key: boolean;
998
- has_camera: boolean;
999
- }>;
1000
- software_features: z.ZodObject<{
1001
- can_remotely_unlock: z.ZodBoolean;
1002
- can_program_access_codes: z.ZodBoolean;
1003
- can_program_access_schedules: z.ZodBoolean;
1004
- can_program_access_codes_offline: z.ZodBoolean;
1005
- }, "strip", z.ZodTypeAny, {
1006
- can_remotely_unlock: boolean;
1007
- can_program_access_codes: boolean;
1008
- can_program_access_schedules: boolean;
1009
- can_program_access_codes_offline: boolean;
1010
- }, {
1011
- can_remotely_unlock: boolean;
1012
- can_program_access_codes: boolean;
1013
- can_program_access_schedules: boolean;
1014
- can_program_access_codes_offline: boolean;
1015
- }>;
1016
- } & Pick<{
1017
- can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
1018
- can_remotely_lock: z.ZodOptional<z.ZodLiteral<true>>;
1019
- can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
1020
- can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
1021
- can_hvac_heat: z.ZodOptional<z.ZodLiteral<true>>;
1022
- can_hvac_cool: z.ZodOptional<z.ZodLiteral<true>>;
1023
- can_hvac_heat_cool: z.ZodOptional<z.ZodLiteral<true>>;
1024
- can_turn_off_hvac: z.ZodOptional<z.ZodLiteral<true>>;
1025
- }, "can_remotely_unlock" | "can_remotely_lock" | "can_program_offline_access_codes" | "can_program_online_access_codes">, "strip", z.ZodTypeAny, {
1026
- main_category: "smartlock";
1027
- physical_properties: {
1028
- lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
1029
- has_physical_key: boolean;
1030
- has_camera: boolean;
1031
- };
1032
- software_features: {
1033
- can_remotely_unlock: boolean;
1034
- can_program_access_codes: boolean;
1035
- can_program_access_schedules: boolean;
1036
- can_program_access_codes_offline: boolean;
1037
- };
1038
- can_remotely_unlock?: true | undefined;
1039
- can_remotely_lock?: true | undefined;
1040
- can_program_offline_access_codes?: true | undefined;
1041
- can_program_online_access_codes?: true | undefined;
1042
- }, {
1043
- main_category: "smartlock";
1044
- physical_properties: {
1045
- lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
1046
- has_physical_key: boolean;
1047
- has_camera: boolean;
1048
- };
1049
- software_features: {
1050
- can_remotely_unlock: boolean;
1051
- can_program_access_codes: boolean;
1052
- can_program_access_schedules: boolean;
1053
- can_program_access_codes_offline: boolean;
1054
- };
1055
- can_remotely_unlock?: true | undefined;
1056
- can_remotely_lock?: true | undefined;
1057
- can_program_offline_access_codes?: true | undefined;
1058
- can_program_online_access_codes?: true | undefined;
1059
- }>, z.ZodObject<{
1060
- main_category: z.ZodLiteral<"sensor">;
1061
- physical_properties: z.ZodObject<{
1062
- has_noise_sensor: z.ZodBoolean;
1063
- has_humidity_sensor: z.ZodBoolean;
1064
- has_temperature_sensor: z.ZodBoolean;
1065
- has_occupancy_detection: z.ZodBoolean;
1066
- }, "strip", z.ZodTypeAny, {
1067
- has_noise_sensor: boolean;
1068
- has_humidity_sensor: boolean;
1069
- has_temperature_sensor: boolean;
1070
- has_occupancy_detection: boolean;
1071
- }, {
1072
- has_noise_sensor: boolean;
1073
- has_humidity_sensor: boolean;
1074
- has_temperature_sensor: boolean;
1075
- has_occupancy_detection: boolean;
1076
- }>;
1077
- }, "strip", z.ZodTypeAny, {
1078
- main_category: "sensor";
1079
- physical_properties: {
1080
- has_noise_sensor: boolean;
1081
- has_humidity_sensor: boolean;
1082
- has_temperature_sensor: boolean;
1083
- has_occupancy_detection: boolean;
1084
- };
1085
- }, {
1086
- main_category: "sensor";
1087
- physical_properties: {
1088
- has_noise_sensor: boolean;
1089
- has_humidity_sensor: boolean;
1090
- has_temperature_sensor: boolean;
1091
- has_occupancy_detection: boolean;
1092
- };
1093
- }>, z.ZodObject<{
1094
- main_category: z.ZodLiteral<"thermostat">;
1095
- physical_properties: z.ZodObject<{
1096
- available_modes: z.ZodArray<z.ZodEnum<["heat", "cool", "fan", "eco"]>, "many">;
1097
- is_heat_pump_compatible: z.ZodBoolean;
1098
- has_occupancy_detection: z.ZodBoolean;
1099
- supports_demand_response: z.ZodBoolean;
1100
- has_humidity_sensor: z.ZodBoolean;
1101
- has_temperature_sensor: z.ZodBoolean;
1102
- supports_emergency_heating_mode: z.ZodBoolean;
1103
- }, "strip", z.ZodTypeAny, {
1104
- has_humidity_sensor: boolean;
1105
- has_temperature_sensor: boolean;
1106
- has_occupancy_detection: boolean;
1107
- available_modes: ("heat" | "cool" | "eco" | "fan")[];
1108
- is_heat_pump_compatible: boolean;
1109
- supports_demand_response: boolean;
1110
- supports_emergency_heating_mode: boolean;
1111
- }, {
1112
- has_humidity_sensor: boolean;
1113
- has_temperature_sensor: boolean;
1114
- has_occupancy_detection: boolean;
1115
- available_modes: ("heat" | "cool" | "eco" | "fan")[];
1116
- is_heat_pump_compatible: boolean;
1117
- supports_demand_response: boolean;
1118
- supports_emergency_heating_mode: boolean;
1119
- }>;
1120
- software_features: z.ZodObject<{
1121
- can_program_climate_schedules: z.ZodBoolean;
1122
- }, "strip", z.ZodTypeAny, {
1123
- can_program_climate_schedules: boolean;
1124
- }, {
1125
- can_program_climate_schedules: boolean;
1126
- }>;
1127
- } & Pick<{
1128
- can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
1129
- can_remotely_lock: z.ZodOptional<z.ZodLiteral<true>>;
1130
- can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
1131
- can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
1132
- can_hvac_heat: z.ZodOptional<z.ZodLiteral<true>>;
1133
- can_hvac_cool: z.ZodOptional<z.ZodLiteral<true>>;
1134
- can_hvac_heat_cool: z.ZodOptional<z.ZodLiteral<true>>;
1135
- can_turn_off_hvac: z.ZodOptional<z.ZodLiteral<true>>;
1136
- }, "can_hvac_heat" | "can_hvac_cool" | "can_hvac_heat_cool" | "can_turn_off_hvac">, "strip", z.ZodTypeAny, {
1137
- main_category: "thermostat";
1138
- physical_properties: {
1139
- has_humidity_sensor: boolean;
1140
- has_temperature_sensor: boolean;
1141
- has_occupancy_detection: boolean;
1142
- available_modes: ("heat" | "cool" | "eco" | "fan")[];
1143
- is_heat_pump_compatible: boolean;
1144
- supports_demand_response: boolean;
1145
- supports_emergency_heating_mode: boolean;
1146
- };
1147
- software_features: {
1148
- can_program_climate_schedules: boolean;
1149
- };
1150
- can_hvac_heat?: true | undefined;
1151
- can_hvac_cool?: true | undefined;
1152
- can_hvac_heat_cool?: true | undefined;
1153
- can_turn_off_hvac?: true | undefined;
1154
- }, {
1155
- main_category: "thermostat";
1156
- physical_properties: {
1157
- has_humidity_sensor: boolean;
1158
- has_temperature_sensor: boolean;
1159
- has_occupancy_detection: boolean;
1160
- available_modes: ("heat" | "cool" | "eco" | "fan")[];
1161
- is_heat_pump_compatible: boolean;
1162
- supports_demand_response: boolean;
1163
- supports_emergency_heating_mode: boolean;
1164
- };
1165
- software_features: {
1166
- can_program_climate_schedules: boolean;
1167
- };
1168
- can_hvac_heat?: true | undefined;
1169
- can_hvac_cool?: true | undefined;
1170
- can_hvac_heat_cool?: true | undefined;
1171
- can_turn_off_hvac?: true | undefined;
1172
- }>, z.ZodObject<{
1173
- main_category: z.ZodLiteral<"relay">;
1174
- }, "strip", z.ZodTypeAny, {
1175
- main_category: "relay";
1176
- }, {
1177
- main_category: "relay";
1178
- }>, z.ZodObject<{
1179
- main_category: z.ZodLiteral<"intercom">;
1180
- physical_properties: z.ZodObject<{
1181
- has_camera: z.ZodBoolean;
1182
- has_rfid_reader: z.ZodDefault<z.ZodBoolean>;
1183
- has_nfc_reader: z.ZodDefault<z.ZodBoolean>;
1184
- has_wiegand_interface: z.ZodDefault<z.ZodBoolean>;
1185
- }, "strip", z.ZodTypeAny, {
1186
- has_camera: boolean;
1187
- has_rfid_reader: boolean;
1188
- has_nfc_reader: boolean;
1189
- has_wiegand_interface: boolean;
1190
- }, {
1191
- has_camera: boolean;
1192
- has_rfid_reader?: boolean | undefined;
1193
- has_nfc_reader?: boolean | undefined;
1194
- has_wiegand_interface?: boolean | undefined;
1195
- }>;
1196
- software_features: z.ZodObject<{
1197
- can_remotely_unlock: z.ZodBoolean;
1198
- can_program_access_codes: z.ZodBoolean;
1199
- can_unlock_with_face_recognition: z.ZodDefault<z.ZodBoolean>;
1200
- supports_onvif: z.ZodDefault<z.ZodBoolean>;
1201
- }, "strip", z.ZodTypeAny, {
1202
- can_remotely_unlock: boolean;
1203
- can_program_access_codes: boolean;
1204
- can_unlock_with_face_recognition: boolean;
1205
- supports_onvif: boolean;
1206
- }, {
1207
- can_remotely_unlock: boolean;
1208
- can_program_access_codes: boolean;
1209
- can_unlock_with_face_recognition?: boolean | undefined;
1210
- supports_onvif?: boolean | undefined;
1211
- }>;
1212
- }, "strip", z.ZodTypeAny, {
1213
- main_category: "intercom";
1214
- physical_properties: {
1215
- has_camera: boolean;
1216
- has_rfid_reader: boolean;
1217
- has_nfc_reader: boolean;
1218
- has_wiegand_interface: boolean;
1219
- };
1220
- software_features: {
1221
- can_remotely_unlock: boolean;
1222
- can_program_access_codes: boolean;
1223
- can_unlock_with_face_recognition: boolean;
1224
- supports_onvif: boolean;
1225
- };
1226
- }, {
1227
- main_category: "intercom";
1228
- physical_properties: {
1229
- has_camera: boolean;
1230
- has_rfid_reader?: boolean | undefined;
1231
- has_nfc_reader?: boolean | undefined;
1232
- has_wiegand_interface?: boolean | undefined;
1233
- };
1234
- software_features: {
1235
- can_remotely_unlock: boolean;
1236
- can_program_access_codes: boolean;
1237
- can_unlock_with_face_recognition?: boolean | undefined;
1238
- supports_onvif?: boolean | undefined;
1239
- };
1240
- }>, z.ZodObject<{
1241
- main_category: z.ZodLiteral<"accessory">;
1242
- }, "strip", z.ZodTypeAny, {
1243
- main_category: "accessory";
1244
- }, {
1245
- main_category: "accessory";
1246
- }>]>>;
1247
- export type DeviceModel = z.infer<typeof device_model_v1>;