@seamapi/types 1.112.0 → 1.113.1

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 (66) hide show
  1. package/dist/connect.cjs +2 -0
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2 -2
  4. package/lib/seam/connect/openapi.js +2 -0
  5. package/lib/seam/connect/openapi.js.map +1 -1
  6. package/lib/seam/connect/unstable/models/devices/managed-device.js +1 -1
  7. package/package.json +5 -5
  8. package/src/lib/seam/connect/openapi.ts +2 -0
  9. package/src/lib/seam/connect/route-types.ts +2 -0
  10. package/connect.d.ts +0 -1
  11. package/devicedb.d.ts +0 -1
  12. package/index.d.ts +0 -2
  13. package/lib/seam/connect/enums.d.ts +0 -1
  14. package/lib/seam/connect/index.d.ts +0 -6
  15. package/lib/seam/connect/internal.d.ts +0 -1
  16. package/lib/seam/connect/openapi.d.ts +0 -16823
  17. package/lib/seam/connect/route-types.d.ts +0 -7657
  18. package/lib/seam/connect/stable/model-types.d.ts +0 -1
  19. package/lib/seam/connect/stable/models/connect-webview.d.ts +0 -63
  20. package/lib/seam/connect/stable/models/custom-metadata.d.ts +0 -3
  21. package/lib/seam/connect/stable/models/index.d.ts +0 -2
  22. package/lib/seam/connect/stable/schemas.d.ts +0 -1
  23. package/lib/seam/connect/unstable/index.d.ts +0 -3
  24. package/lib/seam/connect/unstable/model-types.d.ts +0 -1
  25. package/lib/seam/connect/unstable/models/access-codes/index.d.ts +0 -2
  26. package/lib/seam/connect/unstable/models/access-codes/managed-access-code.d.ts +0 -69
  27. package/lib/seam/connect/unstable/models/access-codes/unmanaged-access-code.d.ts +0 -42
  28. package/lib/seam/connect/unstable/models/acs/access_group.d.ts +0 -35
  29. package/lib/seam/connect/unstable/models/acs/credential.d.ts +0 -127
  30. package/lib/seam/connect/unstable/models/acs/credential_pool.d.ts +0 -29
  31. package/lib/seam/connect/unstable/models/acs/credential_provisioning_automation.d.ts +0 -41
  32. package/lib/seam/connect/unstable/models/acs/entrance.d.ts +0 -62
  33. package/lib/seam/connect/unstable/models/acs/index.d.ts +0 -7
  34. package/lib/seam/connect/unstable/models/acs/system.d.ts +0 -35
  35. package/lib/seam/connect/unstable/models/acs/user.d.ts +0 -74
  36. package/lib/seam/connect/unstable/models/capability-properties/access-code.d.ts +0 -93
  37. package/lib/seam/connect/unstable/models/capability-properties/index.d.ts +0 -819
  38. package/lib/seam/connect/unstable/models/capability-properties/lock.d.ts +0 -24
  39. package/lib/seam/connect/unstable/models/capability-properties/thermostat.d.ts +0 -1572
  40. package/lib/seam/connect/unstable/models/devices/capabilities-supported.d.ts +0 -3
  41. package/lib/seam/connect/unstable/models/devices/device-metadata.d.ts +0 -982
  42. package/lib/seam/connect/unstable/models/devices/device-type.d.ts +0 -65
  43. package/lib/seam/connect/unstable/models/devices/index.d.ts +0 -6
  44. package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +0 -3711
  45. package/lib/seam/connect/unstable/models/devices/phone-properties.d.ts +0 -44
  46. package/lib/seam/connect/unstable/models/devices/phone.d.ts +0 -148
  47. package/lib/seam/connect/unstable/models/devices/unmanaged-device.d.ts +0 -188
  48. package/lib/seam/connect/unstable/models/events/access_code_events.d.ts +0 -70
  49. package/lib/seam/connect/unstable/models/events/connected_account_events.d.ts +0 -48
  50. package/lib/seam/connect/unstable/models/events/device_events.d.ts +0 -63
  51. package/lib/seam/connect/unstable/models/events/lock_events.d.ts +0 -42
  52. package/lib/seam/connect/unstable/models/index.d.ts +0 -7
  53. package/lib/seam/connect/unstable/models/network.d.ts +0 -18
  54. package/lib/seam/connect/unstable/models/phone-number.d.ts +0 -2
  55. package/lib/seam/connect/unstable/models/schedule.d.ts +0 -21
  56. package/lib/seam/connect/unstable/models/user-identity.d.ts +0 -30
  57. package/lib/seam/connect/unstable/schemas.d.ts +0 -1
  58. package/lib/seam/devicedb/index.d.ts +0 -5
  59. package/lib/seam/devicedb/models/device-capability.d.ts +0 -21
  60. package/lib/seam/devicedb/models/device-model.d.ts +0 -1064
  61. package/lib/seam/devicedb/models/hardware.d.ts +0 -8
  62. package/lib/seam/devicedb/models/image-reference.d.ts +0 -15
  63. package/lib/seam/devicedb/models/index.d.ts +0 -4
  64. package/lib/seam/devicedb/models/manufacturer.d.ts +0 -84
  65. package/lib/seam/devicedb/route-specs.d.ts +0 -2198
  66. package/lib/seam/devicedb/route-types.d.ts +0 -308
@@ -1,2198 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const routes: {
3
- readonly '/api/v1/device_models/get': {
4
- readonly auth: "publishable_key";
5
- readonly methods: readonly ["GET", "OPTIONS"];
6
- readonly queryParams: z.ZodObject<{
7
- device_model_id: z.ZodString;
8
- }, "strip", z.ZodTypeAny, {
9
- device_model_id: string;
10
- }, {
11
- device_model_id: string;
12
- }>;
13
- readonly jsonResponse: z.ZodObject<{
14
- device_model: z.ZodIntersection<z.ZodObject<{
15
- device_model_id: z.ZodString;
16
- manufacturer: z.ZodObject<Omit<{
17
- manufacturer_id: z.ZodString;
18
- display_name: z.ZodString;
19
- logo: z.ZodOptional<z.ZodObject<{
20
- url: z.ZodString;
21
- width: z.ZodNumber;
22
- height: z.ZodNumber;
23
- }, "strip", z.ZodTypeAny, {
24
- height: number;
25
- width: number;
26
- url: string;
27
- }, {
28
- height: number;
29
- width: number;
30
- url: string;
31
- }>>;
32
- integration: z.ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>;
33
- integration_support_level: z.ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>;
34
- is_connect_webview_supported: z.ZodBoolean;
35
- requires_seam_support_to_add_account: z.ZodBoolean;
36
- device_model_count: z.ZodNumber;
37
- annotations: z.ZodArray<z.ZodObject<{
38
- annotation_code: z.ZodEnum<["subscription_required"]>;
39
- message: z.ZodString;
40
- }, "strip", z.ZodTypeAny, {
41
- message: string;
42
- annotation_code: "subscription_required";
43
- }, {
44
- message: string;
45
- annotation_code: "subscription_required";
46
- }>, "many">;
47
- }, "device_model_count">, "strip", z.ZodTypeAny, {
48
- display_name: string;
49
- manufacturer_id: string;
50
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
51
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
52
- is_connect_webview_supported: boolean;
53
- requires_seam_support_to_add_account: boolean;
54
- annotations: {
55
- message: string;
56
- annotation_code: "subscription_required";
57
- }[];
58
- logo?: {
59
- height: number;
60
- width: number;
61
- url: string;
62
- } | undefined;
63
- }, {
64
- display_name: string;
65
- manufacturer_id: string;
66
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
67
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
68
- is_connect_webview_supported: boolean;
69
- requires_seam_support_to_add_account: boolean;
70
- annotations: {
71
- message: string;
72
- annotation_code: "subscription_required";
73
- }[];
74
- logo?: {
75
- height: number;
76
- width: number;
77
- url: string;
78
- } | undefined;
79
- }>;
80
- is_device_supported: z.ZodBoolean;
81
- display_name: z.ZodString;
82
- description: z.ZodString;
83
- product_url: z.ZodOptional<z.ZodString>;
84
- main_connection_type: z.ZodEnum<["wifi", "zwave", "zigbee", "unknown"]>;
85
- hardware: z.ZodObject<{
86
- has_physical_key: z.ZodOptional<z.ZodBoolean>;
87
- }, "strip", z.ZodTypeAny, {
88
- has_physical_key?: boolean | undefined;
89
- }, {
90
- has_physical_key?: boolean | undefined;
91
- }>;
92
- aesthetic_variants: z.ZodArray<z.ZodObject<{
93
- slug: z.ZodString;
94
- display_name: z.ZodString;
95
- primary_color_hex: z.ZodOptional<z.ZodString>;
96
- manufacturer_sku: z.ZodOptional<z.ZodString>;
97
- front_image: z.ZodOptional<z.ZodObject<{
98
- url: z.ZodString;
99
- width: z.ZodNumber;
100
- height: z.ZodNumber;
101
- }, "strip", z.ZodTypeAny, {
102
- height: number;
103
- width: number;
104
- url: string;
105
- }, {
106
- height: number;
107
- width: number;
108
- url: string;
109
- }>>;
110
- back_image: z.ZodOptional<z.ZodObject<{
111
- url: z.ZodString;
112
- width: z.ZodNumber;
113
- height: z.ZodNumber;
114
- }, "strip", z.ZodTypeAny, {
115
- height: number;
116
- width: number;
117
- url: string;
118
- }, {
119
- height: number;
120
- width: number;
121
- url: string;
122
- }>>;
123
- images: z.ZodArray<z.ZodObject<{
124
- url: z.ZodString;
125
- width: z.ZodNumber;
126
- height: z.ZodNumber;
127
- }, "strip", z.ZodTypeAny, {
128
- height: number;
129
- width: number;
130
- url: string;
131
- }, {
132
- height: number;
133
- width: number;
134
- url: string;
135
- }>, "many">;
136
- }, "strip", z.ZodTypeAny, {
137
- display_name: string;
138
- slug: string;
139
- images: {
140
- height: number;
141
- width: number;
142
- url: string;
143
- }[];
144
- primary_color_hex?: string | undefined;
145
- manufacturer_sku?: string | undefined;
146
- front_image?: {
147
- height: number;
148
- width: number;
149
- url: string;
150
- } | undefined;
151
- back_image?: {
152
- height: number;
153
- width: number;
154
- url: string;
155
- } | undefined;
156
- }, {
157
- display_name: string;
158
- slug: string;
159
- images: {
160
- height: number;
161
- width: number;
162
- url: string;
163
- }[];
164
- primary_color_hex?: string | undefined;
165
- manufacturer_sku?: string | undefined;
166
- front_image?: {
167
- height: number;
168
- width: number;
169
- url: string;
170
- } | undefined;
171
- back_image?: {
172
- height: number;
173
- width: number;
174
- url: string;
175
- } | undefined;
176
- }>, "many">;
177
- power_sources: z.ZodArray<z.ZodEnum<["battery", "hardwired", "mechanical_harvesting", "wireless", "ethernet"]>, "many">;
178
- }, "strip", z.ZodTypeAny, {
179
- description: string;
180
- display_name: string;
181
- device_model_id: string;
182
- manufacturer: {
183
- display_name: string;
184
- manufacturer_id: string;
185
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
186
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
187
- is_connect_webview_supported: boolean;
188
- requires_seam_support_to_add_account: boolean;
189
- annotations: {
190
- message: string;
191
- annotation_code: "subscription_required";
192
- }[];
193
- logo?: {
194
- height: number;
195
- width: number;
196
- url: string;
197
- } | undefined;
198
- };
199
- is_device_supported: boolean;
200
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
201
- hardware: {
202
- has_physical_key?: boolean | undefined;
203
- };
204
- aesthetic_variants: {
205
- display_name: string;
206
- slug: string;
207
- images: {
208
- height: number;
209
- width: number;
210
- url: string;
211
- }[];
212
- primary_color_hex?: string | undefined;
213
- manufacturer_sku?: string | undefined;
214
- front_image?: {
215
- height: number;
216
- width: number;
217
- url: string;
218
- } | undefined;
219
- back_image?: {
220
- height: number;
221
- width: number;
222
- url: string;
223
- } | undefined;
224
- }[];
225
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
226
- product_url?: string | undefined;
227
- }, {
228
- description: string;
229
- display_name: string;
230
- device_model_id: string;
231
- manufacturer: {
232
- display_name: string;
233
- manufacturer_id: string;
234
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
235
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
236
- is_connect_webview_supported: boolean;
237
- requires_seam_support_to_add_account: boolean;
238
- annotations: {
239
- message: string;
240
- annotation_code: "subscription_required";
241
- }[];
242
- logo?: {
243
- height: number;
244
- width: number;
245
- url: string;
246
- } | undefined;
247
- };
248
- is_device_supported: boolean;
249
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
250
- hardware: {
251
- has_physical_key?: boolean | undefined;
252
- };
253
- aesthetic_variants: {
254
- display_name: string;
255
- slug: string;
256
- images: {
257
- height: number;
258
- width: number;
259
- url: string;
260
- }[];
261
- primary_color_hex?: string | undefined;
262
- manufacturer_sku?: string | undefined;
263
- front_image?: {
264
- height: number;
265
- width: number;
266
- url: string;
267
- } | undefined;
268
- back_image?: {
269
- height: number;
270
- width: number;
271
- url: string;
272
- } | undefined;
273
- }[];
274
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
275
- product_url?: string | undefined;
276
- }>, z.ZodDiscriminatedUnion<"main_category", [z.ZodObject<{
277
- main_category: z.ZodLiteral<"smartlock">;
278
- physical_properties: z.ZodObject<{
279
- lock_type: z.ZodEnum<["deadbolt", "lever", "mortise", "lockbox", "cylinder", "padlock", "locker", "unknown"]>;
280
- has_physical_key: z.ZodBoolean;
281
- has_camera: z.ZodBoolean;
282
- }, "strip", z.ZodTypeAny, {
283
- lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
284
- has_physical_key: boolean;
285
- has_camera: boolean;
286
- }, {
287
- lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
288
- has_physical_key: boolean;
289
- has_camera: boolean;
290
- }>;
291
- software_features: z.ZodObject<{
292
- can_remotely_unlock: z.ZodBoolean;
293
- can_program_access_codes: z.ZodBoolean;
294
- can_program_access_schedules: z.ZodBoolean;
295
- can_program_access_codes_offline: z.ZodBoolean;
296
- }, "strip", z.ZodTypeAny, {
297
- can_remotely_unlock: boolean;
298
- can_program_access_codes: boolean;
299
- can_program_access_schedules: boolean;
300
- can_program_access_codes_offline: boolean;
301
- }, {
302
- can_remotely_unlock: boolean;
303
- can_program_access_codes: boolean;
304
- can_program_access_schedules: boolean;
305
- can_program_access_codes_offline: boolean;
306
- }>;
307
- can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
308
- can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
309
- }, "strip", z.ZodTypeAny, {
310
- main_category: "smartlock";
311
- physical_properties: {
312
- lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
313
- has_physical_key: boolean;
314
- has_camera: boolean;
315
- };
316
- software_features: {
317
- can_remotely_unlock: boolean;
318
- can_program_access_codes: boolean;
319
- can_program_access_schedules: boolean;
320
- can_program_access_codes_offline: boolean;
321
- };
322
- can_remotely_unlock?: true | undefined;
323
- can_program_online_access_codes?: true | undefined;
324
- }, {
325
- main_category: "smartlock";
326
- physical_properties: {
327
- lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
328
- has_physical_key: boolean;
329
- has_camera: boolean;
330
- };
331
- software_features: {
332
- can_remotely_unlock: boolean;
333
- can_program_access_codes: boolean;
334
- can_program_access_schedules: boolean;
335
- can_program_access_codes_offline: boolean;
336
- };
337
- can_remotely_unlock?: true | undefined;
338
- can_program_online_access_codes?: true | undefined;
339
- }>, z.ZodObject<{
340
- main_category: z.ZodLiteral<"sensor">;
341
- physical_properties: z.ZodObject<{
342
- has_noise_sensor: z.ZodBoolean;
343
- has_humidity_sensor: z.ZodBoolean; /** @deprecated */
344
- has_temperature_sensor: z.ZodBoolean;
345
- has_occupancy_detection: z.ZodBoolean;
346
- }, "strip", z.ZodTypeAny, {
347
- has_noise_sensor: boolean;
348
- has_humidity_sensor: boolean;
349
- has_temperature_sensor: boolean;
350
- has_occupancy_detection: boolean;
351
- }, {
352
- has_noise_sensor: boolean;
353
- has_humidity_sensor: boolean;
354
- has_temperature_sensor: boolean;
355
- has_occupancy_detection: boolean;
356
- }>;
357
- }, "strip", z.ZodTypeAny, {
358
- main_category: "sensor";
359
- physical_properties: {
360
- has_noise_sensor: boolean;
361
- has_humidity_sensor: boolean;
362
- has_temperature_sensor: boolean;
363
- has_occupancy_detection: boolean;
364
- };
365
- }, {
366
- main_category: "sensor";
367
- physical_properties: {
368
- has_noise_sensor: boolean;
369
- has_humidity_sensor: boolean;
370
- has_temperature_sensor: boolean;
371
- has_occupancy_detection: boolean;
372
- };
373
- }>, z.ZodObject<{
374
- main_category: z.ZodLiteral<"thermostat">;
375
- physical_properties: z.ZodObject<{
376
- available_modes: z.ZodArray<z.ZodEnum<["heat", "cool", "fan", "eco"]>, "many">;
377
- is_heat_pump_compatible: z.ZodBoolean;
378
- has_occupancy_detection: z.ZodBoolean;
379
- supports_demand_response: z.ZodBoolean;
380
- has_humidity_sensor: z.ZodBoolean;
381
- has_temperature_sensor: z.ZodBoolean;
382
- supports_emergency_heating_mode: z.ZodBoolean;
383
- }, "strip", z.ZodTypeAny, {
384
- has_humidity_sensor: boolean;
385
- has_temperature_sensor: boolean;
386
- has_occupancy_detection: boolean;
387
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
388
- is_heat_pump_compatible: boolean;
389
- supports_demand_response: boolean;
390
- supports_emergency_heating_mode: boolean;
391
- }, {
392
- has_humidity_sensor: boolean;
393
- has_temperature_sensor: boolean;
394
- has_occupancy_detection: boolean;
395
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
396
- is_heat_pump_compatible: boolean;
397
- supports_demand_response: boolean;
398
- supports_emergency_heating_mode: boolean;
399
- }>;
400
- software_features: z.ZodObject<{
401
- can_program_climate_schedules: z.ZodBoolean;
402
- }, "strip", z.ZodTypeAny, {
403
- can_program_climate_schedules: boolean;
404
- }, {
405
- can_program_climate_schedules: boolean;
406
- }>;
407
- }, "strip", z.ZodTypeAny, {
408
- main_category: "thermostat";
409
- physical_properties: {
410
- has_humidity_sensor: boolean;
411
- has_temperature_sensor: boolean;
412
- has_occupancy_detection: boolean;
413
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
414
- is_heat_pump_compatible: boolean;
415
- supports_demand_response: boolean;
416
- supports_emergency_heating_mode: boolean;
417
- };
418
- software_features: {
419
- can_program_climate_schedules: boolean;
420
- };
421
- }, {
422
- main_category: "thermostat";
423
- physical_properties: {
424
- has_humidity_sensor: boolean;
425
- has_temperature_sensor: boolean;
426
- has_occupancy_detection: boolean;
427
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
428
- is_heat_pump_compatible: boolean;
429
- supports_demand_response: boolean;
430
- supports_emergency_heating_mode: boolean;
431
- };
432
- software_features: {
433
- can_program_climate_schedules: boolean;
434
- };
435
- }>, z.ZodObject<{
436
- main_category: z.ZodLiteral<"relay">;
437
- }, "strip", z.ZodTypeAny, {
438
- main_category: "relay";
439
- }, {
440
- main_category: "relay";
441
- }>, z.ZodObject<{
442
- main_category: z.ZodLiteral<"intercom">;
443
- physical_properties: z.ZodObject<{
444
- has_camera: z.ZodBoolean;
445
- has_rfid_reader: z.ZodDefault<z.ZodBoolean>;
446
- has_nfc_reader: z.ZodDefault<z.ZodBoolean>;
447
- has_wiegand_interface: z.ZodDefault<z.ZodBoolean>;
448
- }, "strip", z.ZodTypeAny, {
449
- has_camera: boolean;
450
- has_rfid_reader: boolean;
451
- has_nfc_reader: boolean;
452
- has_wiegand_interface: boolean;
453
- }, {
454
- has_camera: boolean;
455
- has_rfid_reader?: boolean | undefined;
456
- has_nfc_reader?: boolean | undefined;
457
- has_wiegand_interface?: boolean | undefined;
458
- }>;
459
- software_features: z.ZodObject<{
460
- can_remotely_unlock: z.ZodBoolean;
461
- can_program_access_codes: z.ZodBoolean;
462
- can_unlock_with_face_recognition: z.ZodDefault<z.ZodBoolean>;
463
- supports_onvif: z.ZodDefault<z.ZodBoolean>;
464
- }, "strip", z.ZodTypeAny, {
465
- can_remotely_unlock: boolean;
466
- can_program_access_codes: boolean;
467
- can_unlock_with_face_recognition: boolean;
468
- supports_onvif: boolean;
469
- }, {
470
- can_remotely_unlock: boolean;
471
- can_program_access_codes: boolean;
472
- can_unlock_with_face_recognition?: boolean | undefined;
473
- supports_onvif?: boolean | undefined;
474
- }>;
475
- }, "strip", z.ZodTypeAny, {
476
- main_category: "intercom";
477
- physical_properties: {
478
- has_camera: boolean;
479
- has_rfid_reader: boolean;
480
- has_nfc_reader: boolean;
481
- has_wiegand_interface: boolean;
482
- };
483
- software_features: {
484
- can_remotely_unlock: boolean;
485
- can_program_access_codes: boolean;
486
- can_unlock_with_face_recognition: boolean;
487
- supports_onvif: boolean;
488
- };
489
- }, {
490
- main_category: "intercom";
491
- physical_properties: {
492
- has_camera: boolean;
493
- has_rfid_reader?: boolean | undefined;
494
- has_nfc_reader?: boolean | undefined;
495
- has_wiegand_interface?: boolean | undefined;
496
- };
497
- software_features: {
498
- can_remotely_unlock: boolean;
499
- can_program_access_codes: boolean;
500
- can_unlock_with_face_recognition?: boolean | undefined;
501
- supports_onvif?: boolean | undefined;
502
- };
503
- }>, z.ZodObject<{
504
- main_category: z.ZodLiteral<"accessory">;
505
- }, "strip", z.ZodTypeAny, {
506
- main_category: "accessory";
507
- }, {
508
- main_category: "accessory";
509
- }>]>>;
510
- }, "strip", z.ZodTypeAny, {
511
- device_model: ({
512
- description: string;
513
- display_name: string;
514
- device_model_id: string;
515
- manufacturer: {
516
- display_name: string;
517
- manufacturer_id: string;
518
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
519
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
520
- is_connect_webview_supported: boolean;
521
- requires_seam_support_to_add_account: boolean;
522
- annotations: {
523
- message: string;
524
- annotation_code: "subscription_required";
525
- }[];
526
- logo?: {
527
- height: number;
528
- width: number;
529
- url: string;
530
- } | undefined;
531
- };
532
- is_device_supported: boolean;
533
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
534
- hardware: {
535
- has_physical_key?: boolean | undefined;
536
- };
537
- aesthetic_variants: {
538
- display_name: string;
539
- slug: string;
540
- images: {
541
- height: number;
542
- width: number;
543
- url: string;
544
- }[];
545
- primary_color_hex?: string | undefined;
546
- manufacturer_sku?: string | undefined;
547
- front_image?: {
548
- height: number;
549
- width: number;
550
- url: string;
551
- } | undefined;
552
- back_image?: {
553
- height: number;
554
- width: number;
555
- url: string;
556
- } | undefined;
557
- }[];
558
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
559
- product_url?: string | undefined;
560
- } & {
561
- main_category: "smartlock";
562
- physical_properties: {
563
- lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
564
- has_physical_key: boolean;
565
- has_camera: boolean;
566
- };
567
- software_features: {
568
- can_remotely_unlock: boolean;
569
- can_program_access_codes: boolean;
570
- can_program_access_schedules: boolean;
571
- can_program_access_codes_offline: boolean;
572
- };
573
- can_remotely_unlock?: true | undefined;
574
- can_program_online_access_codes?: true | undefined;
575
- }) | ({
576
- description: string;
577
- display_name: string;
578
- device_model_id: string;
579
- manufacturer: {
580
- display_name: string;
581
- manufacturer_id: string;
582
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
583
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
584
- is_connect_webview_supported: boolean;
585
- requires_seam_support_to_add_account: boolean;
586
- annotations: {
587
- message: string;
588
- annotation_code: "subscription_required";
589
- }[];
590
- logo?: {
591
- height: number;
592
- width: number;
593
- url: string;
594
- } | undefined;
595
- };
596
- is_device_supported: boolean;
597
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
598
- hardware: {
599
- has_physical_key?: boolean | undefined;
600
- };
601
- aesthetic_variants: {
602
- display_name: string;
603
- slug: string;
604
- images: {
605
- height: number;
606
- width: number;
607
- url: string;
608
- }[];
609
- primary_color_hex?: string | undefined;
610
- manufacturer_sku?: string | undefined;
611
- front_image?: {
612
- height: number;
613
- width: number;
614
- url: string;
615
- } | undefined;
616
- back_image?: {
617
- height: number;
618
- width: number;
619
- url: string;
620
- } | undefined;
621
- }[];
622
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
623
- product_url?: string | undefined;
624
- } & {
625
- main_category: "sensor";
626
- physical_properties: {
627
- has_noise_sensor: boolean;
628
- has_humidity_sensor: boolean;
629
- has_temperature_sensor: boolean;
630
- has_occupancy_detection: boolean;
631
- };
632
- }) | ({
633
- description: string;
634
- display_name: string;
635
- device_model_id: string;
636
- manufacturer: {
637
- display_name: string;
638
- manufacturer_id: string;
639
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
640
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
641
- is_connect_webview_supported: boolean;
642
- requires_seam_support_to_add_account: boolean;
643
- annotations: {
644
- message: string;
645
- annotation_code: "subscription_required";
646
- }[];
647
- logo?: {
648
- height: number;
649
- width: number;
650
- url: string;
651
- } | undefined;
652
- };
653
- is_device_supported: boolean;
654
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
655
- hardware: {
656
- has_physical_key?: boolean | undefined;
657
- };
658
- aesthetic_variants: {
659
- display_name: string;
660
- slug: string;
661
- images: {
662
- height: number;
663
- width: number;
664
- url: string;
665
- }[];
666
- primary_color_hex?: string | undefined;
667
- manufacturer_sku?: string | undefined;
668
- front_image?: {
669
- height: number;
670
- width: number;
671
- url: string;
672
- } | undefined;
673
- back_image?: {
674
- height: number;
675
- width: number;
676
- url: string;
677
- } | undefined;
678
- }[];
679
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
680
- product_url?: string | undefined;
681
- } & {
682
- main_category: "thermostat";
683
- physical_properties: {
684
- has_humidity_sensor: boolean;
685
- has_temperature_sensor: boolean;
686
- has_occupancy_detection: boolean;
687
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
688
- is_heat_pump_compatible: boolean;
689
- supports_demand_response: boolean;
690
- supports_emergency_heating_mode: boolean;
691
- };
692
- software_features: {
693
- can_program_climate_schedules: boolean;
694
- };
695
- }) | ({
696
- description: string;
697
- display_name: string;
698
- device_model_id: string;
699
- manufacturer: {
700
- display_name: string;
701
- manufacturer_id: string;
702
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
703
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
704
- is_connect_webview_supported: boolean;
705
- requires_seam_support_to_add_account: boolean;
706
- annotations: {
707
- message: string;
708
- annotation_code: "subscription_required";
709
- }[];
710
- logo?: {
711
- height: number;
712
- width: number;
713
- url: string;
714
- } | undefined;
715
- };
716
- is_device_supported: boolean;
717
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
718
- hardware: {
719
- has_physical_key?: boolean | undefined;
720
- };
721
- aesthetic_variants: {
722
- display_name: string;
723
- slug: string;
724
- images: {
725
- height: number;
726
- width: number;
727
- url: string;
728
- }[];
729
- primary_color_hex?: string | undefined;
730
- manufacturer_sku?: string | undefined;
731
- front_image?: {
732
- height: number;
733
- width: number;
734
- url: string;
735
- } | undefined;
736
- back_image?: {
737
- height: number;
738
- width: number;
739
- url: string;
740
- } | undefined;
741
- }[];
742
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
743
- product_url?: string | undefined;
744
- } & {
745
- main_category: "relay";
746
- }) | ({
747
- description: string;
748
- display_name: string;
749
- device_model_id: string;
750
- manufacturer: {
751
- display_name: string;
752
- manufacturer_id: string;
753
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
754
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
755
- is_connect_webview_supported: boolean;
756
- requires_seam_support_to_add_account: boolean;
757
- annotations: {
758
- message: string;
759
- annotation_code: "subscription_required";
760
- }[];
761
- logo?: {
762
- height: number;
763
- width: number;
764
- url: string;
765
- } | undefined;
766
- };
767
- is_device_supported: boolean;
768
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
769
- hardware: {
770
- has_physical_key?: boolean | undefined;
771
- };
772
- aesthetic_variants: {
773
- display_name: string;
774
- slug: string;
775
- images: {
776
- height: number;
777
- width: number;
778
- url: string;
779
- }[];
780
- primary_color_hex?: string | undefined;
781
- manufacturer_sku?: string | undefined;
782
- front_image?: {
783
- height: number;
784
- width: number;
785
- url: string;
786
- } | undefined;
787
- back_image?: {
788
- height: number;
789
- width: number;
790
- url: string;
791
- } | undefined;
792
- }[];
793
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
794
- product_url?: string | undefined;
795
- } & {
796
- main_category: "intercom";
797
- physical_properties: {
798
- has_camera: boolean;
799
- has_rfid_reader: boolean;
800
- has_nfc_reader: boolean;
801
- has_wiegand_interface: boolean;
802
- };
803
- software_features: {
804
- can_remotely_unlock: boolean;
805
- can_program_access_codes: boolean;
806
- can_unlock_with_face_recognition: boolean;
807
- supports_onvif: boolean;
808
- };
809
- }) | ({
810
- description: string;
811
- display_name: string;
812
- device_model_id: string;
813
- manufacturer: {
814
- display_name: string;
815
- manufacturer_id: string;
816
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
817
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
818
- is_connect_webview_supported: boolean;
819
- requires_seam_support_to_add_account: boolean;
820
- annotations: {
821
- message: string;
822
- annotation_code: "subscription_required";
823
- }[];
824
- logo?: {
825
- height: number;
826
- width: number;
827
- url: string;
828
- } | undefined;
829
- };
830
- is_device_supported: boolean;
831
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
832
- hardware: {
833
- has_physical_key?: boolean | undefined;
834
- };
835
- aesthetic_variants: {
836
- display_name: string;
837
- slug: string;
838
- images: {
839
- height: number;
840
- width: number;
841
- url: string;
842
- }[];
843
- primary_color_hex?: string | undefined;
844
- manufacturer_sku?: string | undefined;
845
- front_image?: {
846
- height: number;
847
- width: number;
848
- url: string;
849
- } | undefined;
850
- back_image?: {
851
- height: number;
852
- width: number;
853
- url: string;
854
- } | undefined;
855
- }[];
856
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
857
- product_url?: string | undefined;
858
- } & {
859
- main_category: "accessory";
860
- });
861
- }, {
862
- device_model: ({
863
- description: string;
864
- display_name: string;
865
- device_model_id: string;
866
- manufacturer: {
867
- display_name: string;
868
- manufacturer_id: string;
869
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
870
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
871
- is_connect_webview_supported: boolean;
872
- requires_seam_support_to_add_account: boolean;
873
- annotations: {
874
- message: string;
875
- annotation_code: "subscription_required";
876
- }[];
877
- logo?: {
878
- height: number;
879
- width: number;
880
- url: string;
881
- } | undefined;
882
- };
883
- is_device_supported: boolean;
884
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
885
- hardware: {
886
- has_physical_key?: boolean | undefined;
887
- };
888
- aesthetic_variants: {
889
- display_name: string;
890
- slug: string;
891
- images: {
892
- height: number;
893
- width: number;
894
- url: string;
895
- }[];
896
- primary_color_hex?: string | undefined;
897
- manufacturer_sku?: string | undefined;
898
- front_image?: {
899
- height: number;
900
- width: number;
901
- url: string;
902
- } | undefined;
903
- back_image?: {
904
- height: number;
905
- width: number;
906
- url: string;
907
- } | undefined;
908
- }[];
909
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
910
- product_url?: string | undefined;
911
- } & {
912
- main_category: "smartlock";
913
- physical_properties: {
914
- lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
915
- has_physical_key: boolean;
916
- has_camera: boolean;
917
- };
918
- software_features: {
919
- can_remotely_unlock: boolean;
920
- can_program_access_codes: boolean;
921
- can_program_access_schedules: boolean;
922
- can_program_access_codes_offline: boolean;
923
- };
924
- can_remotely_unlock?: true | undefined;
925
- can_program_online_access_codes?: true | undefined;
926
- }) | ({
927
- description: string;
928
- display_name: string;
929
- device_model_id: string;
930
- manufacturer: {
931
- display_name: string;
932
- manufacturer_id: string;
933
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
934
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
935
- is_connect_webview_supported: boolean;
936
- requires_seam_support_to_add_account: boolean;
937
- annotations: {
938
- message: string;
939
- annotation_code: "subscription_required";
940
- }[];
941
- logo?: {
942
- height: number;
943
- width: number;
944
- url: string;
945
- } | undefined;
946
- };
947
- is_device_supported: boolean;
948
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
949
- hardware: {
950
- has_physical_key?: boolean | undefined;
951
- };
952
- aesthetic_variants: {
953
- display_name: string;
954
- slug: string;
955
- images: {
956
- height: number;
957
- width: number;
958
- url: string;
959
- }[];
960
- primary_color_hex?: string | undefined;
961
- manufacturer_sku?: string | undefined;
962
- front_image?: {
963
- height: number;
964
- width: number;
965
- url: string;
966
- } | undefined;
967
- back_image?: {
968
- height: number;
969
- width: number;
970
- url: string;
971
- } | undefined;
972
- }[];
973
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
974
- product_url?: string | undefined;
975
- } & {
976
- main_category: "sensor";
977
- physical_properties: {
978
- has_noise_sensor: boolean;
979
- has_humidity_sensor: boolean;
980
- has_temperature_sensor: boolean;
981
- has_occupancy_detection: boolean;
982
- };
983
- }) | ({
984
- description: string;
985
- display_name: string;
986
- device_model_id: string;
987
- manufacturer: {
988
- display_name: string;
989
- manufacturer_id: string;
990
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
991
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
992
- is_connect_webview_supported: boolean;
993
- requires_seam_support_to_add_account: boolean;
994
- annotations: {
995
- message: string;
996
- annotation_code: "subscription_required";
997
- }[];
998
- logo?: {
999
- height: number;
1000
- width: number;
1001
- url: string;
1002
- } | undefined;
1003
- };
1004
- is_device_supported: boolean;
1005
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
1006
- hardware: {
1007
- has_physical_key?: boolean | undefined;
1008
- };
1009
- aesthetic_variants: {
1010
- display_name: string;
1011
- slug: string;
1012
- images: {
1013
- height: number;
1014
- width: number;
1015
- url: string;
1016
- }[];
1017
- primary_color_hex?: string | undefined;
1018
- manufacturer_sku?: string | undefined;
1019
- front_image?: {
1020
- height: number;
1021
- width: number;
1022
- url: string;
1023
- } | undefined;
1024
- back_image?: {
1025
- height: number;
1026
- width: number;
1027
- url: string;
1028
- } | undefined;
1029
- }[];
1030
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
1031
- product_url?: string | undefined;
1032
- } & {
1033
- main_category: "thermostat";
1034
- physical_properties: {
1035
- has_humidity_sensor: boolean;
1036
- has_temperature_sensor: boolean;
1037
- has_occupancy_detection: boolean;
1038
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
1039
- is_heat_pump_compatible: boolean;
1040
- supports_demand_response: boolean;
1041
- supports_emergency_heating_mode: boolean;
1042
- };
1043
- software_features: {
1044
- can_program_climate_schedules: boolean;
1045
- };
1046
- }) | ({
1047
- description: string;
1048
- display_name: string;
1049
- device_model_id: string;
1050
- manufacturer: {
1051
- display_name: string;
1052
- manufacturer_id: string;
1053
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1054
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1055
- is_connect_webview_supported: boolean;
1056
- requires_seam_support_to_add_account: boolean;
1057
- annotations: {
1058
- message: string;
1059
- annotation_code: "subscription_required";
1060
- }[];
1061
- logo?: {
1062
- height: number;
1063
- width: number;
1064
- url: string;
1065
- } | undefined;
1066
- };
1067
- is_device_supported: boolean;
1068
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
1069
- hardware: {
1070
- has_physical_key?: boolean | undefined;
1071
- };
1072
- aesthetic_variants: {
1073
- display_name: string;
1074
- slug: string;
1075
- images: {
1076
- height: number;
1077
- width: number;
1078
- url: string;
1079
- }[];
1080
- primary_color_hex?: string | undefined;
1081
- manufacturer_sku?: string | undefined;
1082
- front_image?: {
1083
- height: number;
1084
- width: number;
1085
- url: string;
1086
- } | undefined;
1087
- back_image?: {
1088
- height: number;
1089
- width: number;
1090
- url: string;
1091
- } | undefined;
1092
- }[];
1093
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
1094
- product_url?: string | undefined;
1095
- } & {
1096
- main_category: "relay";
1097
- }) | ({
1098
- description: string;
1099
- display_name: string;
1100
- device_model_id: string;
1101
- manufacturer: {
1102
- display_name: string;
1103
- manufacturer_id: string;
1104
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1105
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1106
- is_connect_webview_supported: boolean;
1107
- requires_seam_support_to_add_account: boolean;
1108
- annotations: {
1109
- message: string;
1110
- annotation_code: "subscription_required";
1111
- }[];
1112
- logo?: {
1113
- height: number;
1114
- width: number;
1115
- url: string;
1116
- } | undefined;
1117
- };
1118
- is_device_supported: boolean;
1119
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
1120
- hardware: {
1121
- has_physical_key?: boolean | undefined;
1122
- };
1123
- aesthetic_variants: {
1124
- display_name: string;
1125
- slug: string;
1126
- images: {
1127
- height: number;
1128
- width: number;
1129
- url: string;
1130
- }[];
1131
- primary_color_hex?: string | undefined;
1132
- manufacturer_sku?: string | undefined;
1133
- front_image?: {
1134
- height: number;
1135
- width: number;
1136
- url: string;
1137
- } | undefined;
1138
- back_image?: {
1139
- height: number;
1140
- width: number;
1141
- url: string;
1142
- } | undefined;
1143
- }[];
1144
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
1145
- product_url?: string | undefined;
1146
- } & {
1147
- main_category: "intercom";
1148
- physical_properties: {
1149
- has_camera: boolean;
1150
- has_rfid_reader?: boolean | undefined;
1151
- has_nfc_reader?: boolean | undefined;
1152
- has_wiegand_interface?: boolean | undefined;
1153
- };
1154
- software_features: {
1155
- can_remotely_unlock: boolean;
1156
- can_program_access_codes: boolean;
1157
- can_unlock_with_face_recognition?: boolean | undefined;
1158
- supports_onvif?: boolean | undefined;
1159
- };
1160
- }) | ({
1161
- description: string;
1162
- display_name: string;
1163
- device_model_id: string;
1164
- manufacturer: {
1165
- display_name: string;
1166
- manufacturer_id: string;
1167
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1168
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1169
- is_connect_webview_supported: boolean;
1170
- requires_seam_support_to_add_account: boolean;
1171
- annotations: {
1172
- message: string;
1173
- annotation_code: "subscription_required";
1174
- }[];
1175
- logo?: {
1176
- height: number;
1177
- width: number;
1178
- url: string;
1179
- } | undefined;
1180
- };
1181
- is_device_supported: boolean;
1182
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
1183
- hardware: {
1184
- has_physical_key?: boolean | undefined;
1185
- };
1186
- aesthetic_variants: {
1187
- display_name: string;
1188
- slug: string;
1189
- images: {
1190
- height: number;
1191
- width: number;
1192
- url: string;
1193
- }[];
1194
- primary_color_hex?: string | undefined;
1195
- manufacturer_sku?: string | undefined;
1196
- front_image?: {
1197
- height: number;
1198
- width: number;
1199
- url: string;
1200
- } | undefined;
1201
- back_image?: {
1202
- height: number;
1203
- width: number;
1204
- url: string;
1205
- } | undefined;
1206
- }[];
1207
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
1208
- product_url?: string | undefined;
1209
- } & {
1210
- main_category: "accessory";
1211
- });
1212
- }>;
1213
- };
1214
- readonly '/api/v1/device_models/list': {
1215
- readonly auth: "publishable_key";
1216
- readonly methods: readonly ["GET", "OPTIONS"];
1217
- readonly queryParams: z.ZodObject<{
1218
- main_category: z.ZodOptional<z.ZodEnum<["smartlock", "sensor", "thermostat", "relay", "intercom", "accessory"]>>;
1219
- manufacturer_id: z.ZodOptional<z.ZodString>;
1220
- manufacturer_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1221
- /** @deprecated */
1222
- integration_status: z.ZodOptional<z.ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>>;
1223
- integration_support_levels: z.ZodOptional<z.ZodArray<z.ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>, "many">>;
1224
- text_search: z.ZodOptional<z.ZodString>;
1225
- include_if: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1226
- exclude_if: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1227
- }, "strip", z.ZodTypeAny, {
1228
- main_category?: "relay" | "thermostat" | "smartlock" | "sensor" | "intercom" | "accessory" | undefined;
1229
- manufacturer_id?: string | undefined;
1230
- manufacturer_ids?: string[] | undefined;
1231
- integration_status?: "beta" | "stable" | "planned" | "unsupported" | "inquire" | undefined;
1232
- integration_support_levels?: ("beta" | "stable" | "planned" | "unsupported" | "inquire")[] | undefined;
1233
- text_search?: string | undefined;
1234
- include_if?: string[] | undefined;
1235
- exclude_if?: string[] | undefined;
1236
- }, {
1237
- main_category?: "relay" | "thermostat" | "smartlock" | "sensor" | "intercom" | "accessory" | undefined;
1238
- manufacturer_id?: string | undefined;
1239
- manufacturer_ids?: string[] | undefined;
1240
- integration_status?: "beta" | "stable" | "planned" | "unsupported" | "inquire" | undefined;
1241
- integration_support_levels?: ("beta" | "stable" | "planned" | "unsupported" | "inquire")[] | undefined;
1242
- text_search?: string | undefined;
1243
- include_if?: string[] | undefined;
1244
- exclude_if?: string[] | undefined;
1245
- }>;
1246
- readonly jsonResponse: z.ZodObject<{
1247
- device_models: z.ZodArray<z.ZodIntersection<z.ZodObject<{
1248
- device_model_id: z.ZodString;
1249
- manufacturer: z.ZodObject<Omit<{
1250
- manufacturer_id: z.ZodString;
1251
- display_name: z.ZodString;
1252
- logo: z.ZodOptional<z.ZodObject<{
1253
- url: z.ZodString;
1254
- width: z.ZodNumber;
1255
- height: z.ZodNumber;
1256
- }, "strip", z.ZodTypeAny, {
1257
- height: number;
1258
- width: number;
1259
- url: string;
1260
- }, {
1261
- height: number;
1262
- width: number;
1263
- url: string;
1264
- }>>;
1265
- integration: z.ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>;
1266
- integration_support_level: z.ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>;
1267
- is_connect_webview_supported: z.ZodBoolean;
1268
- requires_seam_support_to_add_account: z.ZodBoolean;
1269
- device_model_count: z.ZodNumber;
1270
- annotations: z.ZodArray<z.ZodObject<{
1271
- annotation_code: z.ZodEnum<["subscription_required"]>;
1272
- message: z.ZodString;
1273
- }, "strip", z.ZodTypeAny, {
1274
- message: string;
1275
- annotation_code: "subscription_required";
1276
- }, {
1277
- message: string;
1278
- annotation_code: "subscription_required";
1279
- }>, "many">;
1280
- }, "device_model_count">, "strip", z.ZodTypeAny, {
1281
- display_name: string;
1282
- manufacturer_id: string;
1283
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1284
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1285
- is_connect_webview_supported: boolean;
1286
- requires_seam_support_to_add_account: boolean;
1287
- annotations: {
1288
- message: string;
1289
- annotation_code: "subscription_required";
1290
- }[];
1291
- logo?: {
1292
- height: number;
1293
- width: number;
1294
- url: string;
1295
- } | undefined;
1296
- }, {
1297
- display_name: string;
1298
- manufacturer_id: string;
1299
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1300
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1301
- is_connect_webview_supported: boolean;
1302
- requires_seam_support_to_add_account: boolean;
1303
- annotations: {
1304
- message: string;
1305
- annotation_code: "subscription_required";
1306
- }[];
1307
- logo?: {
1308
- height: number;
1309
- width: number;
1310
- url: string;
1311
- } | undefined;
1312
- }>;
1313
- is_device_supported: z.ZodBoolean;
1314
- display_name: z.ZodString;
1315
- description: z.ZodString;
1316
- product_url: z.ZodOptional<z.ZodString>;
1317
- main_connection_type: z.ZodEnum<["wifi", "zwave", "zigbee", "unknown"]>;
1318
- hardware: z.ZodObject<{
1319
- has_physical_key: z.ZodOptional<z.ZodBoolean>;
1320
- }, "strip", z.ZodTypeAny, {
1321
- has_physical_key?: boolean | undefined;
1322
- }, {
1323
- has_physical_key?: boolean | undefined;
1324
- }>;
1325
- aesthetic_variants: z.ZodArray<z.ZodObject<{
1326
- slug: z.ZodString;
1327
- display_name: z.ZodString;
1328
- primary_color_hex: z.ZodOptional<z.ZodString>;
1329
- manufacturer_sku: z.ZodOptional<z.ZodString>;
1330
- front_image: z.ZodOptional<z.ZodObject<{
1331
- url: z.ZodString;
1332
- width: z.ZodNumber;
1333
- height: z.ZodNumber;
1334
- }, "strip", z.ZodTypeAny, {
1335
- height: number;
1336
- width: number;
1337
- url: string;
1338
- }, {
1339
- height: number;
1340
- width: number;
1341
- url: string;
1342
- }>>;
1343
- back_image: z.ZodOptional<z.ZodObject<{
1344
- url: z.ZodString;
1345
- width: z.ZodNumber;
1346
- height: z.ZodNumber;
1347
- }, "strip", z.ZodTypeAny, {
1348
- height: number;
1349
- width: number;
1350
- url: string;
1351
- }, {
1352
- height: number;
1353
- width: number;
1354
- url: string;
1355
- }>>;
1356
- images: z.ZodArray<z.ZodObject<{
1357
- url: z.ZodString;
1358
- width: z.ZodNumber;
1359
- height: z.ZodNumber;
1360
- }, "strip", z.ZodTypeAny, {
1361
- height: number;
1362
- width: number;
1363
- url: string;
1364
- }, {
1365
- height: number;
1366
- width: number;
1367
- url: string;
1368
- }>, "many">;
1369
- }, "strip", z.ZodTypeAny, {
1370
- display_name: string;
1371
- slug: string;
1372
- images: {
1373
- height: number;
1374
- width: number;
1375
- url: string;
1376
- }[];
1377
- primary_color_hex?: string | undefined;
1378
- manufacturer_sku?: string | undefined;
1379
- front_image?: {
1380
- height: number;
1381
- width: number;
1382
- url: string;
1383
- } | undefined;
1384
- back_image?: {
1385
- height: number;
1386
- width: number;
1387
- url: string;
1388
- } | undefined;
1389
- }, {
1390
- display_name: string;
1391
- slug: string;
1392
- images: {
1393
- height: number;
1394
- width: number;
1395
- url: string;
1396
- }[];
1397
- primary_color_hex?: string | undefined;
1398
- manufacturer_sku?: string | undefined;
1399
- front_image?: {
1400
- height: number;
1401
- width: number;
1402
- url: string;
1403
- } | undefined;
1404
- back_image?: {
1405
- height: number;
1406
- width: number;
1407
- url: string;
1408
- } | undefined;
1409
- }>, "many">;
1410
- power_sources: z.ZodArray<z.ZodEnum<["battery", "hardwired", "mechanical_harvesting", "wireless", "ethernet"]>, "many">;
1411
- }, "strip", z.ZodTypeAny, {
1412
- description: string;
1413
- display_name: string;
1414
- device_model_id: string;
1415
- manufacturer: {
1416
- display_name: string;
1417
- manufacturer_id: string;
1418
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1419
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1420
- is_connect_webview_supported: boolean;
1421
- requires_seam_support_to_add_account: boolean;
1422
- annotations: {
1423
- message: string;
1424
- annotation_code: "subscription_required";
1425
- }[];
1426
- logo?: {
1427
- height: number;
1428
- width: number;
1429
- url: string;
1430
- } | undefined;
1431
- };
1432
- is_device_supported: boolean;
1433
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
1434
- hardware: {
1435
- has_physical_key?: boolean | undefined;
1436
- };
1437
- aesthetic_variants: {
1438
- display_name: string;
1439
- slug: string;
1440
- images: {
1441
- height: number;
1442
- width: number;
1443
- url: string;
1444
- }[];
1445
- primary_color_hex?: string | undefined;
1446
- manufacturer_sku?: string | undefined;
1447
- front_image?: {
1448
- height: number;
1449
- width: number;
1450
- url: string;
1451
- } | undefined;
1452
- back_image?: {
1453
- height: number;
1454
- width: number;
1455
- url: string;
1456
- } | undefined;
1457
- }[];
1458
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
1459
- product_url?: string | undefined;
1460
- }, {
1461
- description: string;
1462
- display_name: string;
1463
- device_model_id: string;
1464
- manufacturer: {
1465
- display_name: string;
1466
- manufacturer_id: string;
1467
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1468
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1469
- is_connect_webview_supported: boolean;
1470
- requires_seam_support_to_add_account: boolean;
1471
- annotations: {
1472
- message: string;
1473
- annotation_code: "subscription_required";
1474
- }[];
1475
- logo?: {
1476
- height: number;
1477
- width: number;
1478
- url: string;
1479
- } | undefined;
1480
- };
1481
- is_device_supported: boolean;
1482
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
1483
- hardware: {
1484
- has_physical_key?: boolean | undefined;
1485
- };
1486
- aesthetic_variants: {
1487
- display_name: string;
1488
- slug: string;
1489
- images: {
1490
- height: number;
1491
- width: number;
1492
- url: string;
1493
- }[];
1494
- primary_color_hex?: string | undefined;
1495
- manufacturer_sku?: string | undefined;
1496
- front_image?: {
1497
- height: number;
1498
- width: number;
1499
- url: string;
1500
- } | undefined;
1501
- back_image?: {
1502
- height: number;
1503
- width: number;
1504
- url: string;
1505
- } | undefined;
1506
- }[];
1507
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
1508
- product_url?: string | undefined;
1509
- }>, z.ZodDiscriminatedUnion<"main_category", [z.ZodObject<{
1510
- main_category: z.ZodLiteral<"smartlock">;
1511
- physical_properties: z.ZodObject<{
1512
- lock_type: z.ZodEnum<["deadbolt", "lever", "mortise", "lockbox", "cylinder", "padlock", "locker", "unknown"]>;
1513
- has_physical_key: z.ZodBoolean;
1514
- has_camera: z.ZodBoolean;
1515
- }, "strip", z.ZodTypeAny, {
1516
- lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
1517
- has_physical_key: boolean;
1518
- has_camera: boolean;
1519
- }, {
1520
- lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
1521
- has_physical_key: boolean;
1522
- has_camera: boolean;
1523
- }>;
1524
- software_features: z.ZodObject<{
1525
- can_remotely_unlock: z.ZodBoolean;
1526
- can_program_access_codes: z.ZodBoolean;
1527
- can_program_access_schedules: z.ZodBoolean;
1528
- can_program_access_codes_offline: z.ZodBoolean;
1529
- }, "strip", z.ZodTypeAny, {
1530
- can_remotely_unlock: boolean;
1531
- can_program_access_codes: boolean;
1532
- can_program_access_schedules: boolean;
1533
- can_program_access_codes_offline: boolean;
1534
- }, {
1535
- can_remotely_unlock: boolean;
1536
- can_program_access_codes: boolean;
1537
- can_program_access_schedules: boolean;
1538
- can_program_access_codes_offline: boolean;
1539
- }>;
1540
- can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
1541
- can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
1542
- }, "strip", z.ZodTypeAny, {
1543
- main_category: "smartlock";
1544
- physical_properties: {
1545
- lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
1546
- has_physical_key: boolean;
1547
- has_camera: boolean;
1548
- };
1549
- software_features: {
1550
- can_remotely_unlock: boolean;
1551
- can_program_access_codes: boolean;
1552
- can_program_access_schedules: boolean;
1553
- can_program_access_codes_offline: boolean;
1554
- };
1555
- can_remotely_unlock?: true | undefined;
1556
- can_program_online_access_codes?: true | undefined;
1557
- }, {
1558
- main_category: "smartlock";
1559
- physical_properties: {
1560
- lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
1561
- has_physical_key: boolean;
1562
- has_camera: boolean;
1563
- };
1564
- software_features: {
1565
- can_remotely_unlock: boolean;
1566
- can_program_access_codes: boolean;
1567
- can_program_access_schedules: boolean;
1568
- can_program_access_codes_offline: boolean;
1569
- };
1570
- can_remotely_unlock?: true | undefined;
1571
- can_program_online_access_codes?: true | undefined;
1572
- }>, z.ZodObject<{
1573
- main_category: z.ZodLiteral<"sensor">;
1574
- physical_properties: z.ZodObject<{
1575
- has_noise_sensor: z.ZodBoolean;
1576
- has_humidity_sensor: z.ZodBoolean; /** @deprecated */
1577
- has_temperature_sensor: z.ZodBoolean;
1578
- has_occupancy_detection: z.ZodBoolean;
1579
- }, "strip", z.ZodTypeAny, {
1580
- has_noise_sensor: boolean;
1581
- has_humidity_sensor: boolean;
1582
- has_temperature_sensor: boolean;
1583
- has_occupancy_detection: boolean;
1584
- }, {
1585
- has_noise_sensor: boolean;
1586
- has_humidity_sensor: boolean;
1587
- has_temperature_sensor: boolean;
1588
- has_occupancy_detection: boolean;
1589
- }>;
1590
- }, "strip", z.ZodTypeAny, {
1591
- main_category: "sensor";
1592
- physical_properties: {
1593
- has_noise_sensor: boolean;
1594
- has_humidity_sensor: boolean;
1595
- has_temperature_sensor: boolean;
1596
- has_occupancy_detection: boolean;
1597
- };
1598
- }, {
1599
- main_category: "sensor";
1600
- physical_properties: {
1601
- has_noise_sensor: boolean;
1602
- has_humidity_sensor: boolean;
1603
- has_temperature_sensor: boolean;
1604
- has_occupancy_detection: boolean;
1605
- };
1606
- }>, z.ZodObject<{
1607
- main_category: z.ZodLiteral<"thermostat">;
1608
- physical_properties: z.ZodObject<{
1609
- available_modes: z.ZodArray<z.ZodEnum<["heat", "cool", "fan", "eco"]>, "many">;
1610
- is_heat_pump_compatible: z.ZodBoolean;
1611
- has_occupancy_detection: z.ZodBoolean;
1612
- supports_demand_response: z.ZodBoolean;
1613
- has_humidity_sensor: z.ZodBoolean;
1614
- has_temperature_sensor: z.ZodBoolean;
1615
- supports_emergency_heating_mode: z.ZodBoolean;
1616
- }, "strip", z.ZodTypeAny, {
1617
- has_humidity_sensor: boolean;
1618
- has_temperature_sensor: boolean;
1619
- has_occupancy_detection: boolean;
1620
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
1621
- is_heat_pump_compatible: boolean;
1622
- supports_demand_response: boolean;
1623
- supports_emergency_heating_mode: boolean;
1624
- }, {
1625
- has_humidity_sensor: boolean;
1626
- has_temperature_sensor: boolean;
1627
- has_occupancy_detection: boolean;
1628
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
1629
- is_heat_pump_compatible: boolean;
1630
- supports_demand_response: boolean;
1631
- supports_emergency_heating_mode: boolean;
1632
- }>;
1633
- software_features: z.ZodObject<{
1634
- can_program_climate_schedules: z.ZodBoolean;
1635
- }, "strip", z.ZodTypeAny, {
1636
- can_program_climate_schedules: boolean;
1637
- }, {
1638
- can_program_climate_schedules: boolean;
1639
- }>;
1640
- }, "strip", z.ZodTypeAny, {
1641
- main_category: "thermostat";
1642
- physical_properties: {
1643
- has_humidity_sensor: boolean;
1644
- has_temperature_sensor: boolean;
1645
- has_occupancy_detection: boolean;
1646
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
1647
- is_heat_pump_compatible: boolean;
1648
- supports_demand_response: boolean;
1649
- supports_emergency_heating_mode: boolean;
1650
- };
1651
- software_features: {
1652
- can_program_climate_schedules: boolean;
1653
- };
1654
- }, {
1655
- main_category: "thermostat";
1656
- physical_properties: {
1657
- has_humidity_sensor: boolean;
1658
- has_temperature_sensor: boolean;
1659
- has_occupancy_detection: boolean;
1660
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
1661
- is_heat_pump_compatible: boolean;
1662
- supports_demand_response: boolean;
1663
- supports_emergency_heating_mode: boolean;
1664
- };
1665
- software_features: {
1666
- can_program_climate_schedules: boolean;
1667
- };
1668
- }>, z.ZodObject<{
1669
- main_category: z.ZodLiteral<"relay">;
1670
- }, "strip", z.ZodTypeAny, {
1671
- main_category: "relay";
1672
- }, {
1673
- main_category: "relay";
1674
- }>, z.ZodObject<{
1675
- main_category: z.ZodLiteral<"intercom">;
1676
- physical_properties: z.ZodObject<{
1677
- has_camera: z.ZodBoolean;
1678
- has_rfid_reader: z.ZodDefault<z.ZodBoolean>;
1679
- has_nfc_reader: z.ZodDefault<z.ZodBoolean>;
1680
- has_wiegand_interface: z.ZodDefault<z.ZodBoolean>;
1681
- }, "strip", z.ZodTypeAny, {
1682
- has_camera: boolean;
1683
- has_rfid_reader: boolean;
1684
- has_nfc_reader: boolean;
1685
- has_wiegand_interface: boolean;
1686
- }, {
1687
- has_camera: boolean;
1688
- has_rfid_reader?: boolean | undefined;
1689
- has_nfc_reader?: boolean | undefined;
1690
- has_wiegand_interface?: boolean | undefined;
1691
- }>;
1692
- software_features: z.ZodObject<{
1693
- can_remotely_unlock: z.ZodBoolean;
1694
- can_program_access_codes: z.ZodBoolean;
1695
- can_unlock_with_face_recognition: z.ZodDefault<z.ZodBoolean>;
1696
- supports_onvif: z.ZodDefault<z.ZodBoolean>;
1697
- }, "strip", z.ZodTypeAny, {
1698
- can_remotely_unlock: boolean;
1699
- can_program_access_codes: boolean;
1700
- can_unlock_with_face_recognition: boolean;
1701
- supports_onvif: boolean;
1702
- }, {
1703
- can_remotely_unlock: boolean;
1704
- can_program_access_codes: boolean;
1705
- can_unlock_with_face_recognition?: boolean | undefined;
1706
- supports_onvif?: boolean | undefined;
1707
- }>;
1708
- }, "strip", z.ZodTypeAny, {
1709
- main_category: "intercom";
1710
- physical_properties: {
1711
- has_camera: boolean;
1712
- has_rfid_reader: boolean;
1713
- has_nfc_reader: boolean;
1714
- has_wiegand_interface: boolean;
1715
- };
1716
- software_features: {
1717
- can_remotely_unlock: boolean;
1718
- can_program_access_codes: boolean;
1719
- can_unlock_with_face_recognition: boolean;
1720
- supports_onvif: boolean;
1721
- };
1722
- }, {
1723
- main_category: "intercom";
1724
- physical_properties: {
1725
- has_camera: boolean;
1726
- has_rfid_reader?: boolean | undefined;
1727
- has_nfc_reader?: boolean | undefined;
1728
- has_wiegand_interface?: boolean | undefined;
1729
- };
1730
- software_features: {
1731
- can_remotely_unlock: boolean;
1732
- can_program_access_codes: boolean;
1733
- can_unlock_with_face_recognition?: boolean | undefined;
1734
- supports_onvif?: boolean | undefined;
1735
- };
1736
- }>, z.ZodObject<{
1737
- main_category: z.ZodLiteral<"accessory">;
1738
- }, "strip", z.ZodTypeAny, {
1739
- main_category: "accessory";
1740
- }, {
1741
- main_category: "accessory";
1742
- }>]>>, "many">;
1743
- }, "strip", z.ZodTypeAny, {
1744
- device_models: ({
1745
- description: string;
1746
- display_name: string;
1747
- device_model_id: string;
1748
- manufacturer: {
1749
- display_name: string;
1750
- manufacturer_id: string;
1751
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1752
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1753
- is_connect_webview_supported: boolean;
1754
- requires_seam_support_to_add_account: boolean;
1755
- annotations: {
1756
- message: string;
1757
- annotation_code: "subscription_required";
1758
- }[];
1759
- logo?: {
1760
- height: number;
1761
- width: number;
1762
- url: string;
1763
- } | undefined;
1764
- };
1765
- is_device_supported: boolean;
1766
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
1767
- hardware: {
1768
- has_physical_key?: boolean | undefined;
1769
- };
1770
- aesthetic_variants: {
1771
- display_name: string;
1772
- slug: string;
1773
- images: {
1774
- height: number;
1775
- width: number;
1776
- url: string;
1777
- }[];
1778
- primary_color_hex?: string | undefined;
1779
- manufacturer_sku?: string | undefined;
1780
- front_image?: {
1781
- height: number;
1782
- width: number;
1783
- url: string;
1784
- } | undefined;
1785
- back_image?: {
1786
- height: number;
1787
- width: number;
1788
- url: string;
1789
- } | undefined;
1790
- }[];
1791
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
1792
- product_url?: string | undefined;
1793
- } & ({
1794
- main_category: "smartlock";
1795
- physical_properties: {
1796
- lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
1797
- has_physical_key: boolean;
1798
- has_camera: boolean;
1799
- };
1800
- software_features: {
1801
- can_remotely_unlock: boolean;
1802
- can_program_access_codes: boolean;
1803
- can_program_access_schedules: boolean;
1804
- can_program_access_codes_offline: boolean;
1805
- };
1806
- can_remotely_unlock?: true | undefined;
1807
- can_program_online_access_codes?: true | undefined;
1808
- } | {
1809
- main_category: "sensor";
1810
- physical_properties: {
1811
- has_noise_sensor: boolean;
1812
- has_humidity_sensor: boolean;
1813
- has_temperature_sensor: boolean;
1814
- has_occupancy_detection: boolean;
1815
- };
1816
- } | {
1817
- main_category: "thermostat";
1818
- physical_properties: {
1819
- has_humidity_sensor: boolean;
1820
- has_temperature_sensor: boolean;
1821
- has_occupancy_detection: boolean;
1822
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
1823
- is_heat_pump_compatible: boolean;
1824
- supports_demand_response: boolean;
1825
- supports_emergency_heating_mode: boolean;
1826
- };
1827
- software_features: {
1828
- can_program_climate_schedules: boolean;
1829
- };
1830
- } | {
1831
- main_category: "relay";
1832
- } | {
1833
- main_category: "intercom";
1834
- physical_properties: {
1835
- has_camera: boolean;
1836
- has_rfid_reader: boolean;
1837
- has_nfc_reader: boolean;
1838
- has_wiegand_interface: boolean;
1839
- };
1840
- software_features: {
1841
- can_remotely_unlock: boolean;
1842
- can_program_access_codes: boolean;
1843
- can_unlock_with_face_recognition: boolean;
1844
- supports_onvif: boolean;
1845
- };
1846
- } | {
1847
- main_category: "accessory";
1848
- }))[];
1849
- }, {
1850
- device_models: ({
1851
- description: string;
1852
- display_name: string;
1853
- device_model_id: string;
1854
- manufacturer: {
1855
- display_name: string;
1856
- manufacturer_id: string;
1857
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1858
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
1859
- is_connect_webview_supported: boolean;
1860
- requires_seam_support_to_add_account: boolean;
1861
- annotations: {
1862
- message: string;
1863
- annotation_code: "subscription_required";
1864
- }[];
1865
- logo?: {
1866
- height: number;
1867
- width: number;
1868
- url: string;
1869
- } | undefined;
1870
- };
1871
- is_device_supported: boolean;
1872
- main_connection_type: "unknown" | "wifi" | "zwave" | "zigbee";
1873
- hardware: {
1874
- has_physical_key?: boolean | undefined;
1875
- };
1876
- aesthetic_variants: {
1877
- display_name: string;
1878
- slug: string;
1879
- images: {
1880
- height: number;
1881
- width: number;
1882
- url: string;
1883
- }[];
1884
- primary_color_hex?: string | undefined;
1885
- manufacturer_sku?: string | undefined;
1886
- front_image?: {
1887
- height: number;
1888
- width: number;
1889
- url: string;
1890
- } | undefined;
1891
- back_image?: {
1892
- height: number;
1893
- width: number;
1894
- url: string;
1895
- } | undefined;
1896
- }[];
1897
- power_sources: ("battery" | "hardwired" | "mechanical_harvesting" | "wireless" | "ethernet")[];
1898
- product_url?: string | undefined;
1899
- } & ({
1900
- main_category: "smartlock";
1901
- physical_properties: {
1902
- lock_type: "unknown" | "deadbolt" | "lever" | "mortise" | "lockbox" | "cylinder" | "padlock" | "locker";
1903
- has_physical_key: boolean;
1904
- has_camera: boolean;
1905
- };
1906
- software_features: {
1907
- can_remotely_unlock: boolean;
1908
- can_program_access_codes: boolean;
1909
- can_program_access_schedules: boolean;
1910
- can_program_access_codes_offline: boolean;
1911
- };
1912
- can_remotely_unlock?: true | undefined;
1913
- can_program_online_access_codes?: true | undefined;
1914
- } | {
1915
- main_category: "sensor";
1916
- physical_properties: {
1917
- has_noise_sensor: boolean;
1918
- has_humidity_sensor: boolean;
1919
- has_temperature_sensor: boolean;
1920
- has_occupancy_detection: boolean;
1921
- };
1922
- } | {
1923
- main_category: "thermostat";
1924
- physical_properties: {
1925
- has_humidity_sensor: boolean;
1926
- has_temperature_sensor: boolean;
1927
- has_occupancy_detection: boolean;
1928
- available_modes: ("heat" | "cool" | "fan" | "eco")[];
1929
- is_heat_pump_compatible: boolean;
1930
- supports_demand_response: boolean;
1931
- supports_emergency_heating_mode: boolean;
1932
- };
1933
- software_features: {
1934
- can_program_climate_schedules: boolean;
1935
- };
1936
- } | {
1937
- main_category: "relay";
1938
- } | {
1939
- main_category: "intercom";
1940
- physical_properties: {
1941
- has_camera: boolean;
1942
- has_rfid_reader?: boolean | undefined;
1943
- has_nfc_reader?: boolean | undefined;
1944
- has_wiegand_interface?: boolean | undefined;
1945
- };
1946
- software_features: {
1947
- can_remotely_unlock: boolean;
1948
- can_program_access_codes: boolean;
1949
- can_unlock_with_face_recognition?: boolean | undefined;
1950
- supports_onvif?: boolean | undefined;
1951
- };
1952
- } | {
1953
- main_category: "accessory";
1954
- }))[];
1955
- }>;
1956
- };
1957
- readonly '/api/v1/manufacturers/get': {
1958
- readonly auth: "publishable_key";
1959
- readonly methods: readonly ["GET", "OPTIONS"];
1960
- readonly queryParams: z.ZodObject<{
1961
- manufacturer_id: z.ZodString;
1962
- }, "strip", z.ZodTypeAny, {
1963
- manufacturer_id: string;
1964
- }, {
1965
- manufacturer_id: string;
1966
- }>;
1967
- readonly jsonResponse: z.ZodObject<{
1968
- manufacturer: z.ZodObject<{
1969
- manufacturer_id: z.ZodString;
1970
- display_name: z.ZodString;
1971
- logo: z.ZodOptional<z.ZodObject<{
1972
- url: z.ZodString;
1973
- width: z.ZodNumber;
1974
- height: z.ZodNumber;
1975
- }, "strip", z.ZodTypeAny, {
1976
- height: number;
1977
- width: number;
1978
- url: string;
1979
- }, {
1980
- height: number;
1981
- width: number;
1982
- url: string;
1983
- }>>;
1984
- integration: z.ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>;
1985
- integration_support_level: z.ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>;
1986
- is_connect_webview_supported: z.ZodBoolean;
1987
- requires_seam_support_to_add_account: z.ZodBoolean;
1988
- device_model_count: z.ZodNumber;
1989
- annotations: z.ZodArray<z.ZodObject<{
1990
- annotation_code: z.ZodEnum<["subscription_required"]>;
1991
- message: z.ZodString;
1992
- }, "strip", z.ZodTypeAny, {
1993
- message: string;
1994
- annotation_code: "subscription_required";
1995
- }, {
1996
- message: string;
1997
- annotation_code: "subscription_required";
1998
- }>, "many">;
1999
- }, "strip", z.ZodTypeAny, {
2000
- display_name: string;
2001
- manufacturer_id: string;
2002
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2003
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2004
- is_connect_webview_supported: boolean;
2005
- requires_seam_support_to_add_account: boolean;
2006
- device_model_count: number;
2007
- annotations: {
2008
- message: string;
2009
- annotation_code: "subscription_required";
2010
- }[];
2011
- logo?: {
2012
- height: number;
2013
- width: number;
2014
- url: string;
2015
- } | undefined;
2016
- }, {
2017
- display_name: string;
2018
- manufacturer_id: string;
2019
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2020
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2021
- is_connect_webview_supported: boolean;
2022
- requires_seam_support_to_add_account: boolean;
2023
- device_model_count: number;
2024
- annotations: {
2025
- message: string;
2026
- annotation_code: "subscription_required";
2027
- }[];
2028
- logo?: {
2029
- height: number;
2030
- width: number;
2031
- url: string;
2032
- } | undefined;
2033
- }>;
2034
- }, "strip", z.ZodTypeAny, {
2035
- manufacturer: {
2036
- display_name: string;
2037
- manufacturer_id: string;
2038
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2039
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2040
- is_connect_webview_supported: boolean;
2041
- requires_seam_support_to_add_account: boolean;
2042
- device_model_count: number;
2043
- annotations: {
2044
- message: string;
2045
- annotation_code: "subscription_required";
2046
- }[];
2047
- logo?: {
2048
- height: number;
2049
- width: number;
2050
- url: string;
2051
- } | undefined;
2052
- };
2053
- }, {
2054
- manufacturer: {
2055
- display_name: string;
2056
- manufacturer_id: string;
2057
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2058
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2059
- is_connect_webview_supported: boolean;
2060
- requires_seam_support_to_add_account: boolean;
2061
- device_model_count: number;
2062
- annotations: {
2063
- message: string;
2064
- annotation_code: "subscription_required";
2065
- }[];
2066
- logo?: {
2067
- height: number;
2068
- width: number;
2069
- url: string;
2070
- } | undefined;
2071
- };
2072
- }>;
2073
- };
2074
- readonly '/api/v1/manufacturers/list': {
2075
- readonly auth: "publishable_key";
2076
- readonly methods: readonly ["GET", "OPTIONS"];
2077
- readonly queryParams: z.ZodObject<{
2078
- /** @deprecated */
2079
- integration_status: z.ZodOptional<z.ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>>;
2080
- integration_support_levels: z.ZodOptional<z.ZodArray<z.ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>, "many">>;
2081
- liqe_query: z.ZodOptional<z.ZodString>;
2082
- }, "strip", z.ZodTypeAny, {
2083
- integration_status?: "beta" | "stable" | "planned" | "unsupported" | "inquire" | undefined;
2084
- integration_support_levels?: ("beta" | "stable" | "planned" | "unsupported" | "inquire")[] | undefined;
2085
- liqe_query?: string | undefined;
2086
- }, {
2087
- integration_status?: "beta" | "stable" | "planned" | "unsupported" | "inquire" | undefined;
2088
- integration_support_levels?: ("beta" | "stable" | "planned" | "unsupported" | "inquire")[] | undefined;
2089
- liqe_query?: string | undefined;
2090
- }>;
2091
- readonly jsonResponse: z.ZodObject<{
2092
- manufacturers: z.ZodArray<z.ZodObject<{
2093
- manufacturer_id: z.ZodString;
2094
- display_name: z.ZodString;
2095
- logo: z.ZodOptional<z.ZodObject<{
2096
- url: z.ZodString;
2097
- width: z.ZodNumber;
2098
- height: z.ZodNumber;
2099
- }, "strip", z.ZodTypeAny, {
2100
- height: number;
2101
- width: number;
2102
- url: string;
2103
- }, {
2104
- height: number;
2105
- width: number;
2106
- url: string;
2107
- }>>;
2108
- integration: z.ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>;
2109
- integration_support_level: z.ZodEnum<["stable", "beta", "planned", "unsupported", "inquire"]>;
2110
- is_connect_webview_supported: z.ZodBoolean;
2111
- requires_seam_support_to_add_account: z.ZodBoolean;
2112
- device_model_count: z.ZodNumber;
2113
- annotations: z.ZodArray<z.ZodObject<{
2114
- annotation_code: z.ZodEnum<["subscription_required"]>;
2115
- message: z.ZodString;
2116
- }, "strip", z.ZodTypeAny, {
2117
- message: string;
2118
- annotation_code: "subscription_required";
2119
- }, {
2120
- message: string;
2121
- annotation_code: "subscription_required";
2122
- }>, "many">;
2123
- }, "strip", z.ZodTypeAny, {
2124
- display_name: string;
2125
- manufacturer_id: string;
2126
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2127
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2128
- is_connect_webview_supported: boolean;
2129
- requires_seam_support_to_add_account: boolean;
2130
- device_model_count: number;
2131
- annotations: {
2132
- message: string;
2133
- annotation_code: "subscription_required";
2134
- }[];
2135
- logo?: {
2136
- height: number;
2137
- width: number;
2138
- url: string;
2139
- } | undefined;
2140
- }, {
2141
- display_name: string;
2142
- manufacturer_id: string;
2143
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2144
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2145
- is_connect_webview_supported: boolean;
2146
- requires_seam_support_to_add_account: boolean;
2147
- device_model_count: number;
2148
- annotations: {
2149
- message: string;
2150
- annotation_code: "subscription_required";
2151
- }[];
2152
- logo?: {
2153
- height: number;
2154
- width: number;
2155
- url: string;
2156
- } | undefined;
2157
- }>, "many">;
2158
- }, "strip", z.ZodTypeAny, {
2159
- manufacturers: {
2160
- display_name: string;
2161
- manufacturer_id: string;
2162
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2163
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2164
- is_connect_webview_supported: boolean;
2165
- requires_seam_support_to_add_account: boolean;
2166
- device_model_count: number;
2167
- annotations: {
2168
- message: string;
2169
- annotation_code: "subscription_required";
2170
- }[];
2171
- logo?: {
2172
- height: number;
2173
- width: number;
2174
- url: string;
2175
- } | undefined;
2176
- }[];
2177
- }, {
2178
- manufacturers: {
2179
- display_name: string;
2180
- manufacturer_id: string;
2181
- integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2182
- integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
2183
- is_connect_webview_supported: boolean;
2184
- requires_seam_support_to_add_account: boolean;
2185
- device_model_count: number;
2186
- annotations: {
2187
- message: string;
2188
- annotation_code: "subscription_required";
2189
- }[];
2190
- logo?: {
2191
- height: number;
2192
- width: number;
2193
- url: string;
2194
- } | undefined;
2195
- }[];
2196
- }>;
2197
- };
2198
- };