@seamapi/types 1.345.1 → 1.346.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 (42) hide show
  1. package/dist/connect.cjs +327 -687
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +269 -484
  4. package/lib/seam/connect/internal/schemas.d.ts +1 -1
  5. package/lib/seam/connect/internal/schemas.js +1 -1
  6. package/lib/seam/connect/internal/schemas.js.map +1 -1
  7. package/lib/seam/connect/model-types.d.ts +1 -1
  8. package/lib/seam/connect/models/bridges/bridge.d.ts +15 -0
  9. package/lib/seam/connect/models/bridges/bridge.js +12 -0
  10. package/lib/seam/connect/models/bridges/bridge.js.map +1 -0
  11. package/lib/seam/connect/models/bridges/index.d.ts +1 -0
  12. package/lib/seam/connect/models/bridges/index.js +2 -0
  13. package/lib/seam/connect/models/bridges/index.js.map +1 -0
  14. package/lib/seam/connect/models/devices/device-type.js +3 -1
  15. package/lib/seam/connect/models/devices/device-type.js.map +1 -1
  16. package/lib/seam/connect/models/devices/phone-properties.js +7 -3
  17. package/lib/seam/connect/models/devices/phone-properties.js.map +1 -1
  18. package/lib/seam/connect/models/devices/phone.d.ts +29 -2450
  19. package/lib/seam/connect/models/devices/phone.js +36 -15
  20. package/lib/seam/connect/models/devices/phone.js.map +1 -1
  21. package/lib/seam/connect/models/index.d.ts +1 -0
  22. package/lib/seam/connect/models/index.js +1 -0
  23. package/lib/seam/connect/models/index.js.map +1 -1
  24. package/lib/seam/connect/openapi.d.ts +188 -141
  25. package/lib/seam/connect/openapi.js +273 -642
  26. package/lib/seam/connect/openapi.js.map +1 -1
  27. package/lib/seam/connect/route-types.d.ts +63 -341
  28. package/lib/seam/connect/schemas.d.ts +1 -1
  29. package/lib/seam/connect/schemas.js +1 -1
  30. package/lib/seam/connect/schemas.js.map +1 -1
  31. package/package.json +2 -2
  32. package/src/lib/seam/connect/internal/schemas.ts +1 -0
  33. package/src/lib/seam/connect/model-types.ts +1 -0
  34. package/src/lib/seam/connect/models/bridges/bridge.ts +13 -0
  35. package/src/lib/seam/connect/models/bridges/index.ts +1 -0
  36. package/src/lib/seam/connect/models/devices/device-type.ts +3 -3
  37. package/src/lib/seam/connect/models/devices/phone-properties.ts +36 -32
  38. package/src/lib/seam/connect/models/devices/phone.ts +53 -15
  39. package/src/lib/seam/connect/models/index.ts +1 -0
  40. package/src/lib/seam/connect/openapi.ts +269 -676
  41. package/src/lib/seam/connect/route-types.ts +63 -419
  42. package/src/lib/seam/connect/schemas.ts +1 -0
@@ -1,2224 +1,33 @@
1
1
  import { z } from 'zod';
2
2
  export { phone_specific_properties } from './phone-properties.js';
3
- export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<{
3
+ export declare const phone: z.ZodObject<{
4
4
  device_id: z.ZodString;
5
- device_type: z.ZodUnion<[z.ZodEnum<["akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "seam_relay" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "hubitat_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>]>;
6
5
  nickname: z.ZodOptional<z.ZodString>;
7
6
  display_name: z.ZodString;
8
- capabilities_supported: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery", "phone"]>, "many">;
9
- properties: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
10
- online: z.ZodBoolean;
11
- name: z.ZodString;
12
- accessory_keypad: z.ZodOptional<z.ZodObject<{
13
- is_connected: z.ZodBoolean;
14
- battery: z.ZodOptional<z.ZodObject<{
15
- level: z.ZodNumber;
16
- }, "strip", z.ZodTypeAny, {
17
- level: number;
18
- }, {
19
- level: number;
20
- }>>;
21
- }, "strip", z.ZodTypeAny, {
22
- is_connected: boolean;
23
- battery?: {
24
- level: number;
25
- } | undefined;
26
- }, {
27
- is_connected: boolean;
28
- battery?: {
29
- level: number;
30
- } | undefined;
31
- }>>;
32
- appearance: z.ZodObject<{
33
- name: z.ZodString;
34
- }, "strip", z.ZodTypeAny, {
35
- name: string;
36
- }, {
37
- name: string;
38
- }>;
39
- model: z.ZodObject<{
40
- can_connect_accessory_keypad: z.ZodOptional<z.ZodBoolean>;
41
- display_name: z.ZodString;
42
- manufacturer_display_name: z.ZodString;
43
- has_built_in_keypad: z.ZodOptional<z.ZodBoolean>;
44
- offline_access_codes_supported: z.ZodOptional<z.ZodBoolean>;
45
- online_access_codes_supported: z.ZodOptional<z.ZodBoolean>;
46
- accessory_keypad_supported: z.ZodOptional<z.ZodBoolean>;
47
- }, "strip", z.ZodTypeAny, {
48
- display_name: string;
49
- manufacturer_display_name: string;
50
- can_connect_accessory_keypad?: boolean | undefined;
51
- has_built_in_keypad?: boolean | undefined;
52
- offline_access_codes_supported?: boolean | undefined;
53
- online_access_codes_supported?: boolean | undefined;
54
- accessory_keypad_supported?: boolean | undefined;
55
- }, {
56
- display_name: string;
57
- manufacturer_display_name: string;
58
- can_connect_accessory_keypad?: boolean | undefined;
59
- has_built_in_keypad?: boolean | undefined;
60
- offline_access_codes_supported?: boolean | undefined;
61
- online_access_codes_supported?: boolean | undefined;
62
- accessory_keypad_supported?: boolean | undefined;
63
- }>;
64
- has_direct_power: z.ZodOptional<z.ZodBoolean>;
65
- battery_level: z.ZodOptional<z.ZodNumber>;
66
- battery: z.ZodOptional<z.ZodObject<{
67
- level: z.ZodNumber;
68
- status: z.ZodEnum<["critical", "low", "good", "full"]>;
69
- }, "strip", z.ZodTypeAny, {
70
- status: "low" | "full" | "critical" | "good";
71
- level: number;
72
- }, {
73
- status: "low" | "full" | "critical" | "good";
74
- level: number;
75
- }>>;
76
- manufacturer: z.ZodOptional<z.ZodString>;
77
- image_url: z.ZodOptional<z.ZodString>;
78
- image_alt_text: z.ZodOptional<z.ZodString>;
79
- serial_number: z.ZodOptional<z.ZodString>;
80
- online_access_codes_enabled: z.ZodOptional<z.ZodBoolean>;
81
- offline_access_codes_enabled: z.ZodOptional<z.ZodBoolean>;
82
- supports_accessory_keypad: z.ZodOptional<z.ZodBoolean>;
83
- supports_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
84
- noise_level_decibels: z.ZodOptional<z.ZodNumber>;
85
- currently_triggering_noise_threshold_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
86
- }, "strip", z.ZodTypeAny, {
87
- name: string;
88
- appearance: {
89
- name: string;
90
- };
91
- online: boolean;
92
- model: {
93
- display_name: string;
94
- manufacturer_display_name: string;
95
- can_connect_accessory_keypad?: boolean | undefined;
96
- has_built_in_keypad?: boolean | undefined;
97
- offline_access_codes_supported?: boolean | undefined;
98
- online_access_codes_supported?: boolean | undefined;
99
- accessory_keypad_supported?: boolean | undefined;
100
- };
101
- battery?: {
102
- status: "low" | "full" | "critical" | "good";
103
- level: number;
104
- } | undefined;
105
- manufacturer?: string | undefined;
106
- battery_level?: number | undefined;
107
- serial_number?: string | undefined;
108
- accessory_keypad?: {
109
- is_connected: boolean;
110
- battery?: {
111
- level: number;
112
- } | undefined;
113
- } | undefined;
114
- has_direct_power?: boolean | undefined;
115
- image_url?: string | undefined;
116
- image_alt_text?: string | undefined;
117
- online_access_codes_enabled?: boolean | undefined;
118
- offline_access_codes_enabled?: boolean | undefined;
119
- supports_accessory_keypad?: boolean | undefined;
120
- supports_offline_access_codes?: boolean | undefined;
121
- noise_level_decibels?: number | undefined;
122
- currently_triggering_noise_threshold_ids?: string[] | undefined;
123
- }, {
124
- name: string;
125
- appearance: {
126
- name: string;
127
- };
128
- online: boolean;
129
- model: {
130
- display_name: string;
131
- manufacturer_display_name: string;
132
- can_connect_accessory_keypad?: boolean | undefined;
133
- has_built_in_keypad?: boolean | undefined;
134
- offline_access_codes_supported?: boolean | undefined;
135
- online_access_codes_supported?: boolean | undefined;
136
- accessory_keypad_supported?: boolean | undefined;
137
- };
138
- battery?: {
139
- status: "low" | "full" | "critical" | "good";
140
- level: number;
141
- } | undefined;
142
- manufacturer?: string | undefined;
143
- battery_level?: number | undefined;
144
- serial_number?: string | undefined;
145
- accessory_keypad?: {
146
- is_connected: boolean;
147
- battery?: {
148
- level: number;
149
- } | undefined;
150
- } | undefined;
151
- has_direct_power?: boolean | undefined;
152
- image_url?: string | undefined;
153
- image_alt_text?: string | undefined;
154
- online_access_codes_enabled?: boolean | undefined;
155
- offline_access_codes_enabled?: boolean | undefined;
156
- supports_accessory_keypad?: boolean | undefined;
157
- supports_offline_access_codes?: boolean | undefined;
158
- noise_level_decibels?: number | undefined;
159
- currently_triggering_noise_threshold_ids?: string[] | undefined;
160
- }>, z.ZodObject<{
161
- assa_abloy_credential_service_metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
162
- has_active_endpoint: z.ZodBoolean;
163
- endpoints: z.ZodArray<z.ZodObject<{
164
- endpoint_id: z.ZodString;
165
- is_active: z.ZodBoolean;
166
- }, "strip", z.ZodTypeAny, {
167
- endpoint_id: string;
168
- is_active: boolean;
169
- }, {
170
- endpoint_id: string;
171
- is_active: boolean;
172
- }>, "many">;
173
- }, "strip", z.ZodTypeAny, {
174
- has_active_endpoint: boolean;
175
- endpoints: {
176
- endpoint_id: string;
177
- is_active: boolean;
178
- }[];
179
- }, {
180
- has_active_endpoint: boolean;
181
- endpoints: {
182
- endpoint_id: string;
183
- is_active: boolean;
184
- }[];
185
- }>>>;
186
- salto_space_credential_service_metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
187
- has_active_phone: z.ZodBoolean;
188
- }, "strip", z.ZodTypeAny, {
189
- has_active_phone: boolean;
190
- }, {
191
- has_active_phone: boolean;
192
- }>>>;
193
- }, "strip", z.ZodTypeAny, {
194
- assa_abloy_credential_service_metadata?: {
195
- has_active_endpoint: boolean;
196
- endpoints: {
197
- endpoint_id: string;
198
- is_active: boolean;
199
- }[];
200
- } | undefined;
201
- salto_space_credential_service_metadata?: {
202
- has_active_phone: boolean;
203
- } | undefined;
204
- }, {
205
- assa_abloy_credential_service_metadata?: {
206
- has_active_endpoint: boolean;
207
- endpoints: {
208
- endpoint_id: string;
209
- is_active: boolean;
210
- }[];
211
- } | undefined;
212
- salto_space_credential_service_metadata?: {
213
- has_active_phone: boolean;
214
- } | undefined;
215
- }>>, z.ZodObject<{
216
- august_metadata: z.ZodOptional<z.ZodObject<{
217
- lock_id: z.ZodString;
218
- lock_name: z.ZodString;
219
- house_name: z.ZodString;
220
- has_keypad: z.ZodBoolean;
221
- keypad_battery_level: z.ZodOptional<z.ZodString>;
222
- model: z.ZodOptional<z.ZodString>;
223
- house_id: z.ZodOptional<z.ZodString>;
224
- }, "strip", z.ZodTypeAny, {
225
- lock_id: string;
226
- lock_name: string;
227
- house_name: string;
228
- has_keypad: boolean;
229
- keypad_battery_level?: string | undefined;
230
- model?: string | undefined;
231
- house_id?: string | undefined;
232
- }, {
233
- lock_id: string;
234
- lock_name: string;
235
- house_name: string;
236
- has_keypad: boolean;
237
- keypad_battery_level?: string | undefined;
238
- model?: string | undefined;
239
- house_id?: string | undefined;
240
- }>>;
241
- avigilon_alta_metadata: z.ZodOptional<z.ZodObject<{
242
- entry_name: z.ZodString;
243
- org_name: z.ZodString;
244
- zone_id: z.ZodNumber;
245
- zone_name: z.ZodString;
246
- site_id: z.ZodNumber;
247
- site_name: z.ZodString;
248
- entry_relays_total_count: z.ZodNumber;
249
- }, "strip", z.ZodTypeAny, {
250
- entry_name: string;
251
- org_name: string;
252
- zone_id: number;
253
- zone_name: string;
254
- site_id: number;
255
- site_name: string;
256
- entry_relays_total_count: number;
257
- }, {
258
- entry_name: string;
259
- org_name: string;
260
- zone_id: number;
261
- zone_name: string;
262
- site_id: number;
263
- site_name: string;
264
- entry_relays_total_count: number;
265
- }>>;
266
- schlage_metadata: z.ZodOptional<z.ZodObject<{
267
- device_id: z.ZodString;
268
- device_name: z.ZodString;
269
- access_code_length: z.ZodNullable<z.ZodNumber>;
270
- model: z.ZodOptional<z.ZodString>;
271
- }, "strip", z.ZodTypeAny, {
272
- device_id: string;
273
- device_name: string;
274
- access_code_length: number | null;
275
- model?: string | undefined;
276
- }, {
277
- device_id: string;
278
- device_name: string;
279
- access_code_length: number | null;
280
- model?: string | undefined;
281
- }>>;
282
- smartthings_metadata: z.ZodOptional<z.ZodObject<{
283
- device_id: z.ZodString;
284
- device_name: z.ZodString;
285
- model: z.ZodOptional<z.ZodString>;
286
- location_id: z.ZodOptional<z.ZodString>;
287
- }, "strip", z.ZodTypeAny, {
288
- device_id: string;
289
- device_name: string;
290
- model?: string | undefined;
291
- location_id?: string | undefined;
292
- }, {
293
- device_id: string;
294
- device_name: string;
295
- model?: string | undefined;
296
- location_id?: string | undefined;
297
- }>>;
298
- lockly_metadata: z.ZodOptional<z.ZodObject<{
299
- device_id: z.ZodString;
300
- device_name: z.ZodString;
301
- model: z.ZodOptional<z.ZodString>;
302
- }, "strip", z.ZodTypeAny, {
303
- device_id: string;
304
- device_name: string;
305
- model?: string | undefined;
306
- }, {
307
- device_id: string;
308
- device_name: string;
309
- model?: string | undefined;
310
- }>>;
311
- nuki_metadata: z.ZodOptional<z.ZodObject<{
312
- device_id: z.ZodString;
313
- device_name: z.ZodString;
314
- keypad_battery_critical: z.ZodOptional<z.ZodBoolean>;
315
- keypad_paired: z.ZodOptional<z.ZodBoolean>;
316
- keypad_2_paired: z.ZodOptional<z.ZodBoolean>;
317
- }, "strip", z.ZodTypeAny, {
318
- device_id: string;
319
- device_name: string;
320
- keypad_battery_critical?: boolean | undefined;
321
- keypad_paired?: boolean | undefined;
322
- keypad_2_paired?: boolean | undefined;
323
- }, {
324
- device_id: string;
325
- device_name: string;
326
- keypad_battery_critical?: boolean | undefined;
327
- keypad_paired?: boolean | undefined;
328
- keypad_2_paired?: boolean | undefined;
329
- }>>;
330
- kwikset_metadata: z.ZodOptional<z.ZodObject<{
331
- device_id: z.ZodString;
332
- device_name: z.ZodString;
333
- model_number: z.ZodString;
334
- }, "strip", z.ZodTypeAny, {
335
- device_id: string;
336
- device_name: string;
337
- model_number: string;
338
- }, {
339
- device_id: string;
340
- device_name: string;
341
- model_number: string;
342
- }>>;
343
- salto_metadata: z.ZodOptional<z.ZodObject<{
344
- lock_id: z.ZodString;
345
- customer_reference: z.ZodString;
346
- lock_type: z.ZodString;
347
- battery_level: z.ZodString;
348
- locked_state: z.ZodString;
349
- model: z.ZodOptional<z.ZodString>;
350
- }, "strip", z.ZodTypeAny, {
351
- lock_type: string;
352
- lock_id: string;
353
- customer_reference: string;
354
- battery_level: string;
355
- locked_state: string;
356
- model?: string | undefined;
357
- }, {
358
- lock_type: string;
359
- lock_id: string;
360
- customer_reference: string;
361
- battery_level: string;
362
- locked_state: string;
363
- model?: string | undefined;
364
- }>>;
365
- salto_ks_metadata: z.ZodOptional<z.ZodObject<{
366
- lock_id: z.ZodString;
367
- customer_reference: z.ZodString;
368
- lock_type: z.ZodString;
369
- battery_level: z.ZodString;
370
- locked_state: z.ZodString;
371
- model: z.ZodOptional<z.ZodString>;
372
- }, "strip", z.ZodTypeAny, {
373
- lock_type: string;
374
- lock_id: string;
375
- customer_reference: string;
376
- battery_level: string;
377
- locked_state: string;
378
- model?: string | undefined;
379
- }, {
380
- lock_type: string;
381
- lock_id: string;
382
- customer_reference: string;
383
- battery_level: string;
384
- locked_state: string;
385
- model?: string | undefined;
386
- }>>;
387
- genie_metadata: z.ZodOptional<z.ZodObject<{
388
- device_name: z.ZodString;
389
- door_name: z.ZodString;
390
- }, "strip", z.ZodTypeAny, {
391
- device_name: string;
392
- door_name: string;
393
- }, {
394
- device_name: string;
395
- door_name: string;
396
- }>>;
397
- brivo_metadata: z.ZodOptional<z.ZodObject<{
398
- device_name: z.ZodString;
399
- }, "strip", z.ZodTypeAny, {
400
- device_name: string;
401
- }, {
402
- device_name: string;
403
- }>>;
404
- igloo_metadata: z.ZodOptional<z.ZodObject<{
405
- device_id: z.ZodString;
406
- bridge_id: z.ZodString;
407
- model: z.ZodOptional<z.ZodString>;
408
- }, "strip", z.ZodTypeAny, {
409
- device_id: string;
410
- bridge_id: string;
411
- model?: string | undefined;
412
- }, {
413
- device_id: string;
414
- bridge_id: string;
415
- model?: string | undefined;
416
- }>>;
417
- noiseaware_metadata: z.ZodOptional<z.ZodObject<{
418
- device_model: z.ZodEnum<["indoor", "outdoor"]>;
419
- noise_level_nrs: z.ZodNumber;
420
- noise_level_decibel: z.ZodNumber;
421
- device_name: z.ZodString;
422
- device_id: z.ZodString;
423
- }, "strip", z.ZodTypeAny, {
424
- device_id: string;
425
- device_model: "indoor" | "outdoor";
426
- device_name: string;
427
- noise_level_nrs: number;
428
- noise_level_decibel: number;
429
- }, {
430
- device_id: string;
431
- device_model: "indoor" | "outdoor";
432
- device_name: string;
433
- noise_level_nrs: number;
434
- noise_level_decibel: number;
435
- }>>;
436
- minut_metadata: z.ZodOptional<z.ZodObject<{
437
- device_id: z.ZodString;
438
- device_name: z.ZodString;
439
- latest_sensor_values: z.ZodObject<{
440
- temperature: z.ZodObject<{
441
- time: z.ZodString;
442
- value: z.ZodNumber;
443
- }, "strip", z.ZodTypeAny, {
444
- time: string;
445
- value: number;
446
- }, {
447
- time: string;
448
- value: number;
449
- }>;
450
- sound: z.ZodObject<{
451
- time: z.ZodString;
452
- value: z.ZodNumber;
453
- }, "strip", z.ZodTypeAny, {
454
- time: string;
455
- value: number;
456
- }, {
457
- time: string;
458
- value: number;
459
- }>;
460
- humidity: z.ZodObject<{
461
- time: z.ZodString;
462
- value: z.ZodNumber;
463
- }, "strip", z.ZodTypeAny, {
464
- time: string;
465
- value: number;
466
- }, {
467
- time: string;
468
- value: number;
469
- }>;
470
- pressure: z.ZodObject<{
471
- time: z.ZodString;
472
- value: z.ZodNumber;
473
- }, "strip", z.ZodTypeAny, {
474
- time: string;
475
- value: number;
476
- }, {
477
- time: string;
478
- value: number;
479
- }>;
480
- accelerometer_z: z.ZodObject<{
481
- time: z.ZodString;
482
- value: z.ZodNumber;
483
- }, "strip", z.ZodTypeAny, {
484
- time: string;
485
- value: number;
486
- }, {
487
- time: string;
488
- value: number;
489
- }>;
490
- }, "strip", z.ZodTypeAny, {
491
- pressure: {
492
- time: string;
493
- value: number;
494
- };
495
- temperature: {
496
- time: string;
497
- value: number;
498
- };
499
- sound: {
500
- time: string;
501
- value: number;
502
- };
503
- humidity: {
504
- time: string;
505
- value: number;
506
- };
507
- accelerometer_z: {
508
- time: string;
509
- value: number;
510
- };
511
- }, {
512
- pressure: {
513
- time: string;
514
- value: number;
515
- };
516
- temperature: {
517
- time: string;
518
- value: number;
519
- };
520
- sound: {
521
- time: string;
522
- value: number;
523
- };
524
- humidity: {
525
- time: string;
526
- value: number;
527
- };
528
- accelerometer_z: {
529
- time: string;
530
- value: number;
531
- };
532
- }>;
533
- }, "strip", z.ZodTypeAny, {
534
- device_id: string;
535
- device_name: string;
536
- latest_sensor_values: {
537
- pressure: {
538
- time: string;
539
- value: number;
540
- };
541
- temperature: {
542
- time: string;
543
- value: number;
544
- };
545
- sound: {
546
- time: string;
547
- value: number;
548
- };
549
- humidity: {
550
- time: string;
551
- value: number;
552
- };
553
- accelerometer_z: {
554
- time: string;
555
- value: number;
556
- };
557
- };
558
- }, {
559
- device_id: string;
560
- device_name: string;
561
- latest_sensor_values: {
562
- pressure: {
563
- time: string;
564
- value: number;
565
- };
566
- temperature: {
567
- time: string;
568
- value: number;
569
- };
570
- sound: {
571
- time: string;
572
- value: number;
573
- };
574
- humidity: {
575
- time: string;
576
- value: number;
577
- };
578
- accelerometer_z: {
579
- time: string;
580
- value: number;
581
- };
582
- };
583
- }>>;
584
- four_suites_metadata: z.ZodOptional<z.ZodObject<{
585
- device_id: z.ZodNumber;
586
- device_name: z.ZodString;
587
- reclose_delay_in_seconds: z.ZodNumber;
588
- }, "strip", z.ZodTypeAny, {
589
- device_id: number;
590
- device_name: string;
591
- reclose_delay_in_seconds: number;
592
- }, {
593
- device_id: number;
594
- device_name: string;
595
- reclose_delay_in_seconds: number;
596
- }>>;
597
- two_n_metadata: z.ZodOptional<z.ZodObject<{
598
- device_id: z.ZodNumber;
599
- device_name: z.ZodString;
600
- }, "strip", z.ZodTypeAny, {
601
- device_id: number;
602
- device_name: string;
603
- }, {
604
- device_id: number;
605
- device_name: string;
606
- }>>;
607
- controlbyweb_metadata: z.ZodOptional<z.ZodObject<{
608
- device_id: z.ZodString;
609
- device_name: z.ZodString;
610
- relay_name: z.ZodNullable<z.ZodString>;
611
- }, "strip", z.ZodTypeAny, {
612
- device_id: string;
613
- device_name: string;
614
- relay_name: string | null;
615
- }, {
616
- device_id: string;
617
- device_name: string;
618
- relay_name: string | null;
619
- }>>;
620
- ttlock_metadata: z.ZodOptional<z.ZodObject<{
621
- lock_id: z.ZodNumber;
622
- lock_alias: z.ZodString;
623
- feature_value: z.ZodString;
624
- features: z.ZodObject<{
625
- passcode: z.ZodBoolean;
626
- passcode_management: z.ZodBoolean;
627
- unlock_via_gateway: z.ZodBoolean;
628
- lock_command: z.ZodBoolean;
629
- incomplete_keyboard_passcode: z.ZodBoolean;
630
- }, "strip", z.ZodTypeAny, {
631
- passcode: boolean;
632
- passcode_management: boolean;
633
- unlock_via_gateway: boolean;
634
- lock_command: boolean;
635
- incomplete_keyboard_passcode: boolean;
636
- }, {
637
- passcode: boolean;
638
- passcode_management: boolean;
639
- unlock_via_gateway: boolean;
640
- lock_command: boolean;
641
- incomplete_keyboard_passcode: boolean;
642
- }>;
643
- has_gateway: z.ZodOptional<z.ZodBoolean>;
644
- wireless_keypads: z.ZodOptional<z.ZodArray<z.ZodObject<{
645
- wireless_keypad_id: z.ZodNumber;
646
- wireless_keypad_name: z.ZodString;
647
- }, "strip", z.ZodTypeAny, {
648
- wireless_keypad_id: number;
649
- wireless_keypad_name: string;
650
- }, {
651
- wireless_keypad_id: number;
652
- wireless_keypad_name: string;
653
- }>, "many">>;
654
- }, "strip", z.ZodTypeAny, {
655
- lock_id: number;
656
- lock_alias: string;
657
- feature_value: string;
658
- features: {
659
- passcode: boolean;
660
- passcode_management: boolean;
661
- unlock_via_gateway: boolean;
662
- lock_command: boolean;
663
- incomplete_keyboard_passcode: boolean;
664
- };
665
- has_gateway?: boolean | undefined;
666
- wireless_keypads?: {
667
- wireless_keypad_id: number;
668
- wireless_keypad_name: string;
669
- }[] | undefined;
670
- }, {
671
- lock_id: number;
672
- lock_alias: string;
673
- feature_value: string;
674
- features: {
675
- passcode: boolean;
676
- passcode_management: boolean;
677
- unlock_via_gateway: boolean;
678
- lock_command: boolean;
679
- incomplete_keyboard_passcode: boolean;
680
- };
681
- has_gateway?: boolean | undefined;
682
- wireless_keypads?: {
683
- wireless_keypad_id: number;
684
- wireless_keypad_name: string;
685
- }[] | undefined;
686
- }>>;
687
- seam_bridge_metadata: z.ZodOptional<z.ZodObject<{
688
- unlock_method: z.ZodOptional<z.ZodEnum<["bridge", "doorking"]>>;
689
- device_num: z.ZodNumber;
690
- name: z.ZodString;
691
- }, "strip", z.ZodTypeAny, {
692
- name: string;
693
- device_num: number;
694
- unlock_method?: "bridge" | "doorking" | undefined;
695
- }, {
696
- name: string;
697
- device_num: number;
698
- unlock_method?: "bridge" | "doorking" | undefined;
699
- }>>;
700
- igloohome_metadata: z.ZodOptional<z.ZodObject<{
701
- device_id: z.ZodString;
702
- device_name: z.ZodString;
703
- bridge_id: z.ZodOptional<z.ZodString>;
704
- bridge_name: z.ZodOptional<z.ZodString>;
705
- keypad_id: z.ZodOptional<z.ZodString>;
706
- }, "strip", z.ZodTypeAny, {
707
- device_id: string;
708
- device_name: string;
709
- bridge_id?: string | undefined;
710
- bridge_name?: string | undefined;
711
- keypad_id?: string | undefined;
712
- }, {
713
- device_id: string;
714
- device_name: string;
715
- bridge_id?: string | undefined;
716
- bridge_name?: string | undefined;
717
- keypad_id?: string | undefined;
718
- }>>;
719
- nest_metadata: z.ZodOptional<z.ZodObject<{
720
- nest_device_id: z.ZodString;
721
- device_name: z.ZodString;
722
- device_custom_name: z.ZodString;
723
- display_name: z.ZodOptional<z.ZodString>;
724
- }, "strip", z.ZodTypeAny, {
725
- device_name: string;
726
- nest_device_id: string;
727
- device_custom_name: string;
728
- display_name?: string | undefined;
729
- }, {
730
- device_name: string;
731
- nest_device_id: string;
732
- device_custom_name: string;
733
- display_name?: string | undefined;
734
- }>>;
735
- ecobee_metadata: z.ZodOptional<z.ZodObject<{
736
- ecobee_device_id: z.ZodString;
737
- device_name: z.ZodString;
738
- }, "strip", z.ZodTypeAny, {
739
- device_name: string;
740
- ecobee_device_id: string;
741
- }, {
742
- device_name: string;
743
- ecobee_device_id: string;
744
- }>>;
745
- honeywell_resideo_metadata: z.ZodOptional<z.ZodObject<{
746
- honeywell_resideo_device_id: z.ZodString;
747
- device_name: z.ZodString;
748
- }, "strip", z.ZodTypeAny, {
749
- device_name: string;
750
- honeywell_resideo_device_id: string;
751
- }, {
752
- device_name: string;
753
- honeywell_resideo_device_id: string;
754
- }>>;
755
- hubitat_metadata: z.ZodOptional<z.ZodObject<{
756
- device_id: z.ZodString;
757
- device_name: z.ZodString;
758
- device_label: z.ZodString;
759
- }, "strip", z.ZodTypeAny, {
760
- device_id: string;
761
- device_name: string;
762
- device_label: string;
763
- }, {
764
- device_id: string;
765
- device_name: string;
766
- device_label: string;
767
- }>>;
768
- dormakaba_oracode_metadata: z.ZodOptional<z.ZodObject<{
769
- door_id: z.ZodOptional<z.ZodNumber>;
770
- door_name: z.ZodString;
771
- device_id: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
772
- door_is_wireless: z.ZodBoolean;
773
- site_id: z.ZodNullable<z.ZodNumber>;
774
- site_name: z.ZodString;
775
- iana_timezone: z.ZodOptional<z.ZodString>;
776
- predefined_time_slots: z.ZodOptional<z.ZodArray<z.ZodObject<{
777
- name: z.ZodString;
778
- prefix: z.ZodNumber;
779
- check_in_time: z.ZodString;
780
- check_out_time: z.ZodString;
781
- is_24_hour: z.ZodBoolean;
782
- is_biweekly_mode: z.ZodBoolean;
783
- is_one_shot: z.ZodBoolean;
784
- is_master: z.ZodBoolean;
785
- ext_dormakaba_oracode_user_level_prefix: z.ZodNumber;
786
- dormakaba_oracode_user_level_id: z.ZodString;
787
- }, "strip", z.ZodTypeAny, {
788
- name: string;
789
- prefix: number;
790
- check_in_time: string;
791
- check_out_time: string;
792
- is_24_hour: boolean;
793
- is_biweekly_mode: boolean;
794
- is_one_shot: boolean;
795
- is_master: boolean;
796
- ext_dormakaba_oracode_user_level_prefix: number;
797
- dormakaba_oracode_user_level_id: string;
798
- }, {
799
- name: string;
800
- prefix: number;
801
- check_in_time: string;
802
- check_out_time: string;
803
- is_24_hour: boolean;
804
- is_biweekly_mode: boolean;
805
- is_one_shot: boolean;
806
- is_master: boolean;
807
- ext_dormakaba_oracode_user_level_prefix: number;
808
- dormakaba_oracode_user_level_id: string;
809
- }>, "many">>;
810
- }, "strip", z.ZodTypeAny, {
811
- site_id: number | null;
812
- site_name: string;
813
- door_name: string;
814
- door_is_wireless: boolean;
815
- device_id?: string | number | undefined;
816
- door_id?: number | undefined;
817
- iana_timezone?: string | undefined;
818
- predefined_time_slots?: {
819
- name: string;
820
- prefix: number;
821
- check_in_time: string;
822
- check_out_time: string;
823
- is_24_hour: boolean;
824
- is_biweekly_mode: boolean;
825
- is_one_shot: boolean;
826
- is_master: boolean;
827
- ext_dormakaba_oracode_user_level_prefix: number;
828
- dormakaba_oracode_user_level_id: string;
829
- }[] | undefined;
830
- }, {
831
- site_id: number | null;
832
- site_name: string;
833
- door_name: string;
834
- door_is_wireless: boolean;
835
- device_id?: string | number | undefined;
836
- door_id?: number | undefined;
837
- iana_timezone?: string | undefined;
838
- predefined_time_slots?: {
839
- name: string;
840
- prefix: number;
841
- check_in_time: string;
842
- check_out_time: string;
843
- is_24_hour: boolean;
844
- is_biweekly_mode: boolean;
845
- is_one_shot: boolean;
846
- is_master: boolean;
847
- ext_dormakaba_oracode_user_level_prefix: number;
848
- dormakaba_oracode_user_level_id: string;
849
- }[] | undefined;
850
- }>>;
851
- wyze_metadata: z.ZodOptional<z.ZodObject<{
852
- device_id: z.ZodString;
853
- device_name: z.ZodString;
854
- product_name: z.ZodString;
855
- product_type: z.ZodString;
856
- product_model: z.ZodString;
857
- device_info_model: z.ZodString;
858
- keypad_uuid: z.ZodOptional<z.ZodString>;
859
- locker_status_hardlock: z.ZodOptional<z.ZodNumber>;
860
- }, "strip", z.ZodTypeAny, {
861
- device_id: string;
862
- device_name: string;
863
- product_name: string;
864
- product_type: string;
865
- product_model: string;
866
- device_info_model: string;
867
- keypad_uuid?: string | undefined;
868
- locker_status_hardlock?: number | undefined;
869
- }, {
870
- device_id: string;
871
- device_name: string;
872
- product_name: string;
873
- product_type: string;
874
- product_model: string;
875
- device_info_model: string;
876
- keypad_uuid?: string | undefined;
877
- locker_status_hardlock?: number | undefined;
878
- }>>;
879
- tedee_metadata: z.ZodOptional<z.ZodObject<{
880
- device_id: z.ZodNumber;
881
- serial_number: z.ZodString;
882
- device_name: z.ZodString;
883
- device_model: z.ZodString;
884
- bridge_id: z.ZodNumber;
885
- bridge_name: z.ZodString;
886
- keypad_id: z.ZodOptional<z.ZodNumber>;
887
- }, "strip", z.ZodTypeAny, {
888
- device_id: number;
889
- device_model: string;
890
- device_name: string;
891
- bridge_id: number;
892
- bridge_name: string;
893
- serial_number: string;
894
- keypad_id?: number | undefined;
895
- }, {
896
- device_id: number;
897
- device_model: string;
898
- device_name: string;
899
- bridge_id: number;
900
- bridge_name: string;
901
- serial_number: string;
902
- keypad_id?: number | undefined;
903
- }>>;
904
- visionline_metadata: z.ZodOptional<z.ZodObject<{
905
- encoder_id: z.ZodString;
906
- }, "strip", z.ZodTypeAny, {
907
- encoder_id: string;
908
- }, {
909
- encoder_id: string;
910
- }>>;
911
- akiles_metadata: z.ZodOptional<z.ZodObject<{
912
- gadget_name: z.ZodString;
913
- gadget_id: z.ZodString;
914
- product_name: z.ZodString;
915
- _member_group_id: z.ZodOptional<z.ZodString>;
916
- }, "strip", z.ZodTypeAny, {
917
- product_name: string;
918
- gadget_name: string;
919
- gadget_id: string;
920
- _member_group_id?: string | undefined;
921
- }, {
922
- product_name: string;
923
- gadget_name: string;
924
- gadget_id: string;
925
- _member_group_id?: string | undefined;
926
- }>>;
927
- assa_abloy_vostio_metadata: z.ZodOptional<z.ZodObject<{
928
- encoder_name: z.ZodString;
929
- }, "strip", z.ZodTypeAny, {
930
- encoder_name: string;
931
- }, {
932
- encoder_name: string;
933
- }>>;
934
- tado_metadata: z.ZodOptional<z.ZodObject<{
935
- serial_no: z.ZodString;
936
- device_type: z.ZodString;
937
- }, "strip", z.ZodTypeAny, {
938
- serial_no: string;
939
- device_type: string;
940
- }, {
941
- serial_no: string;
942
- device_type: string;
943
- }>>;
944
- }, "strip", z.ZodTypeAny, {
945
- august_metadata?: {
946
- lock_id: string;
947
- lock_name: string;
948
- house_name: string;
949
- has_keypad: boolean;
950
- keypad_battery_level?: string | undefined;
951
- model?: string | undefined;
952
- house_id?: string | undefined;
953
- } | undefined;
954
- avigilon_alta_metadata?: {
955
- entry_name: string;
956
- org_name: string;
957
- zone_id: number;
958
- zone_name: string;
959
- site_id: number;
960
- site_name: string;
961
- entry_relays_total_count: number;
962
- } | undefined;
963
- schlage_metadata?: {
964
- device_id: string;
965
- device_name: string;
966
- access_code_length: number | null;
967
- model?: string | undefined;
968
- } | undefined;
969
- smartthings_metadata?: {
970
- device_id: string;
971
- device_name: string;
972
- model?: string | undefined;
973
- location_id?: string | undefined;
974
- } | undefined;
975
- lockly_metadata?: {
976
- device_id: string;
977
- device_name: string;
978
- model?: string | undefined;
979
- } | undefined;
980
- nuki_metadata?: {
981
- device_id: string;
982
- device_name: string;
983
- keypad_battery_critical?: boolean | undefined;
984
- keypad_paired?: boolean | undefined;
985
- keypad_2_paired?: boolean | undefined;
986
- } | undefined;
987
- kwikset_metadata?: {
988
- device_id: string;
989
- device_name: string;
990
- model_number: string;
991
- } | undefined;
992
- salto_metadata?: {
993
- lock_type: string;
994
- lock_id: string;
995
- customer_reference: string;
996
- battery_level: string;
997
- locked_state: string;
998
- model?: string | undefined;
999
- } | undefined;
1000
- salto_ks_metadata?: {
1001
- lock_type: string;
1002
- lock_id: string;
1003
- customer_reference: string;
1004
- battery_level: string;
1005
- locked_state: string;
1006
- model?: string | undefined;
1007
- } | undefined;
1008
- genie_metadata?: {
1009
- device_name: string;
1010
- door_name: string;
1011
- } | undefined;
1012
- brivo_metadata?: {
1013
- device_name: string;
1014
- } | undefined;
1015
- igloo_metadata?: {
1016
- device_id: string;
1017
- bridge_id: string;
1018
- model?: string | undefined;
1019
- } | undefined;
1020
- noiseaware_metadata?: {
1021
- device_id: string;
1022
- device_model: "indoor" | "outdoor";
1023
- device_name: string;
1024
- noise_level_nrs: number;
1025
- noise_level_decibel: number;
1026
- } | undefined;
1027
- minut_metadata?: {
1028
- device_id: string;
1029
- device_name: string;
1030
- latest_sensor_values: {
1031
- pressure: {
1032
- time: string;
1033
- value: number;
1034
- };
1035
- temperature: {
1036
- time: string;
1037
- value: number;
1038
- };
1039
- sound: {
1040
- time: string;
1041
- value: number;
1042
- };
1043
- humidity: {
1044
- time: string;
1045
- value: number;
1046
- };
1047
- accelerometer_z: {
1048
- time: string;
1049
- value: number;
1050
- };
1051
- };
1052
- } | undefined;
1053
- four_suites_metadata?: {
1054
- device_id: number;
1055
- device_name: string;
1056
- reclose_delay_in_seconds: number;
1057
- } | undefined;
1058
- two_n_metadata?: {
1059
- device_id: number;
1060
- device_name: string;
1061
- } | undefined;
1062
- controlbyweb_metadata?: {
1063
- device_id: string;
1064
- device_name: string;
1065
- relay_name: string | null;
1066
- } | undefined;
1067
- ttlock_metadata?: {
1068
- lock_id: number;
1069
- lock_alias: string;
1070
- feature_value: string;
1071
- features: {
1072
- passcode: boolean;
1073
- passcode_management: boolean;
1074
- unlock_via_gateway: boolean;
1075
- lock_command: boolean;
1076
- incomplete_keyboard_passcode: boolean;
1077
- };
1078
- has_gateway?: boolean | undefined;
1079
- wireless_keypads?: {
1080
- wireless_keypad_id: number;
1081
- wireless_keypad_name: string;
1082
- }[] | undefined;
1083
- } | undefined;
1084
- seam_bridge_metadata?: {
1085
- name: string;
1086
- device_num: number;
1087
- unlock_method?: "bridge" | "doorking" | undefined;
1088
- } | undefined;
1089
- igloohome_metadata?: {
1090
- device_id: string;
1091
- device_name: string;
1092
- bridge_id?: string | undefined;
1093
- bridge_name?: string | undefined;
1094
- keypad_id?: string | undefined;
1095
- } | undefined;
1096
- nest_metadata?: {
1097
- device_name: string;
1098
- nest_device_id: string;
1099
- device_custom_name: string;
1100
- display_name?: string | undefined;
1101
- } | undefined;
1102
- ecobee_metadata?: {
1103
- device_name: string;
1104
- ecobee_device_id: string;
1105
- } | undefined;
1106
- honeywell_resideo_metadata?: {
1107
- device_name: string;
1108
- honeywell_resideo_device_id: string;
1109
- } | undefined;
1110
- hubitat_metadata?: {
1111
- device_id: string;
1112
- device_name: string;
1113
- device_label: string;
1114
- } | undefined;
1115
- dormakaba_oracode_metadata?: {
1116
- site_id: number | null;
1117
- site_name: string;
1118
- door_name: string;
1119
- door_is_wireless: boolean;
1120
- device_id?: string | number | undefined;
1121
- door_id?: number | undefined;
1122
- iana_timezone?: string | undefined;
1123
- predefined_time_slots?: {
1124
- name: string;
1125
- prefix: number;
1126
- check_in_time: string;
1127
- check_out_time: string;
1128
- is_24_hour: boolean;
1129
- is_biweekly_mode: boolean;
1130
- is_one_shot: boolean;
1131
- is_master: boolean;
1132
- ext_dormakaba_oracode_user_level_prefix: number;
1133
- dormakaba_oracode_user_level_id: string;
1134
- }[] | undefined;
1135
- } | undefined;
1136
- wyze_metadata?: {
1137
- device_id: string;
1138
- device_name: string;
1139
- product_name: string;
1140
- product_type: string;
1141
- product_model: string;
1142
- device_info_model: string;
1143
- keypad_uuid?: string | undefined;
1144
- locker_status_hardlock?: number | undefined;
1145
- } | undefined;
1146
- tedee_metadata?: {
1147
- device_id: number;
1148
- device_model: string;
1149
- device_name: string;
1150
- bridge_id: number;
1151
- bridge_name: string;
1152
- serial_number: string;
1153
- keypad_id?: number | undefined;
1154
- } | undefined;
1155
- visionline_metadata?: {
1156
- encoder_id: string;
1157
- } | undefined;
1158
- akiles_metadata?: {
1159
- product_name: string;
1160
- gadget_name: string;
1161
- gadget_id: string;
1162
- _member_group_id?: string | undefined;
1163
- } | undefined;
1164
- assa_abloy_vostio_metadata?: {
1165
- encoder_name: string;
1166
- } | undefined;
1167
- tado_metadata?: {
1168
- serial_no: string;
1169
- device_type: string;
1170
- } | undefined;
1171
- }, {
1172
- august_metadata?: {
1173
- lock_id: string;
1174
- lock_name: string;
1175
- house_name: string;
1176
- has_keypad: boolean;
1177
- keypad_battery_level?: string | undefined;
1178
- model?: string | undefined;
1179
- house_id?: string | undefined;
1180
- } | undefined;
1181
- avigilon_alta_metadata?: {
1182
- entry_name: string;
1183
- org_name: string;
1184
- zone_id: number;
1185
- zone_name: string;
1186
- site_id: number;
1187
- site_name: string;
1188
- entry_relays_total_count: number;
1189
- } | undefined;
1190
- schlage_metadata?: {
1191
- device_id: string;
1192
- device_name: string;
1193
- access_code_length: number | null;
1194
- model?: string | undefined;
1195
- } | undefined;
1196
- smartthings_metadata?: {
1197
- device_id: string;
1198
- device_name: string;
1199
- model?: string | undefined;
1200
- location_id?: string | undefined;
1201
- } | undefined;
1202
- lockly_metadata?: {
1203
- device_id: string;
1204
- device_name: string;
1205
- model?: string | undefined;
1206
- } | undefined;
1207
- nuki_metadata?: {
1208
- device_id: string;
1209
- device_name: string;
1210
- keypad_battery_critical?: boolean | undefined;
1211
- keypad_paired?: boolean | undefined;
1212
- keypad_2_paired?: boolean | undefined;
1213
- } | undefined;
1214
- kwikset_metadata?: {
1215
- device_id: string;
1216
- device_name: string;
1217
- model_number: string;
1218
- } | undefined;
1219
- salto_metadata?: {
1220
- lock_type: string;
1221
- lock_id: string;
1222
- customer_reference: string;
1223
- battery_level: string;
1224
- locked_state: string;
1225
- model?: string | undefined;
1226
- } | undefined;
1227
- salto_ks_metadata?: {
1228
- lock_type: string;
1229
- lock_id: string;
1230
- customer_reference: string;
1231
- battery_level: string;
1232
- locked_state: string;
1233
- model?: string | undefined;
1234
- } | undefined;
1235
- genie_metadata?: {
1236
- device_name: string;
1237
- door_name: string;
1238
- } | undefined;
1239
- brivo_metadata?: {
1240
- device_name: string;
1241
- } | undefined;
1242
- igloo_metadata?: {
1243
- device_id: string;
1244
- bridge_id: string;
1245
- model?: string | undefined;
1246
- } | undefined;
1247
- noiseaware_metadata?: {
1248
- device_id: string;
1249
- device_model: "indoor" | "outdoor";
1250
- device_name: string;
1251
- noise_level_nrs: number;
1252
- noise_level_decibel: number;
1253
- } | undefined;
1254
- minut_metadata?: {
1255
- device_id: string;
1256
- device_name: string;
1257
- latest_sensor_values: {
1258
- pressure: {
1259
- time: string;
1260
- value: number;
1261
- };
1262
- temperature: {
1263
- time: string;
1264
- value: number;
1265
- };
1266
- sound: {
1267
- time: string;
1268
- value: number;
1269
- };
1270
- humidity: {
1271
- time: string;
1272
- value: number;
1273
- };
1274
- accelerometer_z: {
1275
- time: string;
1276
- value: number;
1277
- };
1278
- };
1279
- } | undefined;
1280
- four_suites_metadata?: {
1281
- device_id: number;
1282
- device_name: string;
1283
- reclose_delay_in_seconds: number;
1284
- } | undefined;
1285
- two_n_metadata?: {
1286
- device_id: number;
1287
- device_name: string;
1288
- } | undefined;
1289
- controlbyweb_metadata?: {
1290
- device_id: string;
1291
- device_name: string;
1292
- relay_name: string | null;
1293
- } | undefined;
1294
- ttlock_metadata?: {
1295
- lock_id: number;
1296
- lock_alias: string;
1297
- feature_value: string;
1298
- features: {
1299
- passcode: boolean;
1300
- passcode_management: boolean;
1301
- unlock_via_gateway: boolean;
1302
- lock_command: boolean;
1303
- incomplete_keyboard_passcode: boolean;
1304
- };
1305
- has_gateway?: boolean | undefined;
1306
- wireless_keypads?: {
1307
- wireless_keypad_id: number;
1308
- wireless_keypad_name: string;
1309
- }[] | undefined;
1310
- } | undefined;
1311
- seam_bridge_metadata?: {
1312
- name: string;
1313
- device_num: number;
1314
- unlock_method?: "bridge" | "doorking" | undefined;
1315
- } | undefined;
1316
- igloohome_metadata?: {
1317
- device_id: string;
1318
- device_name: string;
1319
- bridge_id?: string | undefined;
1320
- bridge_name?: string | undefined;
1321
- keypad_id?: string | undefined;
1322
- } | undefined;
1323
- nest_metadata?: {
1324
- device_name: string;
1325
- nest_device_id: string;
1326
- device_custom_name: string;
1327
- display_name?: string | undefined;
1328
- } | undefined;
1329
- ecobee_metadata?: {
1330
- device_name: string;
1331
- ecobee_device_id: string;
1332
- } | undefined;
1333
- honeywell_resideo_metadata?: {
1334
- device_name: string;
1335
- honeywell_resideo_device_id: string;
1336
- } | undefined;
1337
- hubitat_metadata?: {
1338
- device_id: string;
1339
- device_name: string;
1340
- device_label: string;
1341
- } | undefined;
1342
- dormakaba_oracode_metadata?: {
1343
- site_id: number | null;
1344
- site_name: string;
1345
- door_name: string;
1346
- door_is_wireless: boolean;
1347
- device_id?: string | number | undefined;
1348
- door_id?: number | undefined;
1349
- iana_timezone?: string | undefined;
1350
- predefined_time_slots?: {
1351
- name: string;
1352
- prefix: number;
1353
- check_in_time: string;
1354
- check_out_time: string;
1355
- is_24_hour: boolean;
1356
- is_biweekly_mode: boolean;
1357
- is_one_shot: boolean;
1358
- is_master: boolean;
1359
- ext_dormakaba_oracode_user_level_prefix: number;
1360
- dormakaba_oracode_user_level_id: string;
1361
- }[] | undefined;
1362
- } | undefined;
1363
- wyze_metadata?: {
1364
- device_id: string;
1365
- device_name: string;
1366
- product_name: string;
1367
- product_type: string;
1368
- product_model: string;
1369
- device_info_model: string;
1370
- keypad_uuid?: string | undefined;
1371
- locker_status_hardlock?: number | undefined;
1372
- } | undefined;
1373
- tedee_metadata?: {
1374
- device_id: number;
1375
- device_model: string;
1376
- device_name: string;
1377
- bridge_id: number;
1378
- bridge_name: string;
1379
- serial_number: string;
1380
- keypad_id?: number | undefined;
1381
- } | undefined;
1382
- visionline_metadata?: {
1383
- encoder_id: string;
1384
- } | undefined;
1385
- akiles_metadata?: {
1386
- product_name: string;
1387
- gadget_name: string;
1388
- gadget_id: string;
1389
- _member_group_id?: string | undefined;
1390
- } | undefined;
1391
- assa_abloy_vostio_metadata?: {
1392
- encoder_name: string;
1393
- } | undefined;
1394
- tado_metadata?: {
1395
- serial_no: string;
1396
- device_type: string;
1397
- } | undefined;
1398
- }>>, z.ZodIntersection<z.ZodObject<z.objectUtil.extendShape<{
1399
- _experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
1400
- code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
1401
- constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future", "no_ascending_or_descending_sequence", "at_least_three_unique_digits", "cannot_contain_089", "cannot_contain_0789"]>;
1402
- }, "strip", z.ZodTypeAny, {
1403
- constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
1404
- }, {
1405
- constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
1406
- }>, z.ZodObject<{
1407
- constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
1408
- min_length: z.ZodOptional<z.ZodNumber>;
1409
- max_length: z.ZodOptional<z.ZodNumber>;
1410
- }, "strip", z.ZodTypeAny, {
1411
- constraint_type: "name_length" | "name_must_be_unique";
1412
- min_length?: number | undefined;
1413
- max_length?: number | undefined;
1414
- }, {
1415
- constraint_type: "name_length" | "name_must_be_unique";
1416
- min_length?: number | undefined;
1417
- max_length?: number | undefined;
1418
- }>]>, "many">>>;
1419
- supported_code_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
1420
- max_active_codes_supported: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1421
- supports_backup_access_code_pool: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1422
- has_native_entry_events: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1423
- }, {
1424
- locked: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1425
- keypad_battery: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1426
- level: z.ZodNumber;
1427
- }, "strip", z.ZodTypeAny, {
1428
- level: number;
1429
- }, {
1430
- level: number;
1431
- }>>>;
1432
- door_open: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
1433
- }>, "strip", z.ZodTypeAny, {
1434
- _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
1435
- code_constraints?: ({
1436
- constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
1437
- } | {
1438
- constraint_type: "name_length" | "name_must_be_unique";
1439
- min_length?: number | undefined;
1440
- max_length?: number | undefined;
1441
- })[] | undefined;
1442
- supported_code_lengths?: number[] | undefined;
1443
- max_active_codes_supported?: number | undefined;
1444
- supports_backup_access_code_pool?: boolean | undefined;
1445
- has_native_entry_events?: boolean | undefined;
1446
- locked?: boolean | undefined;
1447
- keypad_battery?: {
1448
- level: number;
1449
- } | undefined;
1450
- door_open?: boolean | undefined;
1451
- }, {
1452
- _experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
1453
- code_constraints?: ({
1454
- constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
1455
- } | {
1456
- constraint_type: "name_length" | "name_must_be_unique";
1457
- min_length?: number | undefined;
1458
- max_length?: number | undefined;
1459
- })[] | undefined;
1460
- supported_code_lengths?: number[] | undefined;
1461
- max_active_codes_supported?: number | undefined;
1462
- supports_backup_access_code_pool?: boolean | undefined;
1463
- has_native_entry_events?: boolean | undefined;
1464
- locked?: boolean | undefined;
1465
- keypad_battery?: {
1466
- level: number;
1467
- } | undefined;
1468
- door_open?: boolean | undefined;
1469
- }>, z.ZodObject<{
1470
- temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
1471
- temperature_celsius: z.ZodOptional<z.ZodNumber>;
1472
- relative_humidity: z.ZodOptional<z.ZodNumber>;
1473
- available_hvac_mode_settings: z.ZodOptional<z.ZodArray<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>, "many">>;
1474
- available_fan_mode_settings: z.ZodOptional<z.ZodArray<z.ZodEnum<["auto", "on", "circulate"]>, "many">>;
1475
- is_heating: z.ZodOptional<z.ZodBoolean>;
1476
- is_cooling: z.ZodOptional<z.ZodBoolean>;
1477
- is_fan_running: z.ZodOptional<z.ZodBoolean>;
1478
- fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on", "circulate"]>>;
1479
- is_temporary_manual_override_active: z.ZodOptional<z.ZodBoolean>;
1480
- current_climate_setting: z.ZodOptional<z.ZodObject<{
1481
- climate_preset_key: z.ZodOptional<z.ZodString>;
1482
- can_edit: z.ZodOptional<z.ZodBoolean>;
1483
- can_delete: z.ZodOptional<z.ZodBoolean>;
1484
- name: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>>;
1485
- display_name: z.ZodOptional<z.ZodString>;
1486
- fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on", "circulate"]>>>;
1487
- hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
1488
- cooling_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1489
- heating_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1490
- cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1491
- heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1492
- manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
1493
- }, "strip", z.ZodTypeAny, {
1494
- name?: string | null | undefined;
1495
- climate_preset_key?: string | undefined;
1496
- can_edit?: boolean | undefined;
1497
- can_delete?: boolean | undefined;
1498
- display_name?: string | undefined;
1499
- fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
1500
- hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
1501
- cooling_set_point_celsius?: number | undefined;
1502
- heating_set_point_celsius?: number | undefined;
1503
- cooling_set_point_fahrenheit?: number | undefined;
1504
- heating_set_point_fahrenheit?: number | undefined;
1505
- manual_override_allowed?: boolean | undefined;
1506
- }, {
1507
- name?: string | null | undefined;
1508
- climate_preset_key?: string | undefined;
1509
- can_edit?: boolean | undefined;
1510
- can_delete?: boolean | undefined;
1511
- display_name?: string | undefined;
1512
- fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
1513
- hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
1514
- cooling_set_point_celsius?: number | undefined;
1515
- heating_set_point_celsius?: number | undefined;
1516
- cooling_set_point_fahrenheit?: number | undefined;
1517
- heating_set_point_fahrenheit?: number | undefined;
1518
- manual_override_allowed?: boolean | undefined;
1519
- }>>;
1520
- default_climate_setting: z.ZodOptional<z.ZodObject<{
1521
- climate_preset_key: z.ZodOptional<z.ZodString>;
1522
- can_edit: z.ZodOptional<z.ZodBoolean>;
1523
- can_delete: z.ZodOptional<z.ZodBoolean>;
1524
- name: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>>;
1525
- display_name: z.ZodOptional<z.ZodString>;
1526
- fan_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["auto", "on", "circulate"]>>>;
1527
- hvac_mode_setting: z.ZodOptional<z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>>;
1528
- cooling_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1529
- heating_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1530
- cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1531
- heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
1532
- manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
1533
- }, "strip", z.ZodTypeAny, {
1534
- name?: string | null | undefined;
1535
- climate_preset_key?: string | undefined;
1536
- can_edit?: boolean | undefined;
1537
- can_delete?: boolean | undefined;
1538
- display_name?: string | undefined;
1539
- fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
1540
- hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
1541
- cooling_set_point_celsius?: number | undefined;
1542
- heating_set_point_celsius?: number | undefined;
1543
- cooling_set_point_fahrenheit?: number | undefined;
1544
- heating_set_point_fahrenheit?: number | undefined;
1545
- manual_override_allowed?: boolean | undefined;
1546
- }, {
1547
- name?: string | null | undefined;
1548
- climate_preset_key?: string | undefined;
1549
- can_edit?: boolean | undefined;
1550
- can_delete?: boolean | undefined;
1551
- display_name?: string | undefined;
1552
- fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
1553
- hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
1554
- cooling_set_point_celsius?: number | undefined;
1555
- heating_set_point_celsius?: number | undefined;
1556
- cooling_set_point_fahrenheit?: number | undefined;
1557
- heating_set_point_fahrenheit?: number | undefined;
1558
- manual_override_allowed?: boolean | undefined;
1559
- }>>;
1560
- available_climate_presets: z.ZodOptional<z.ZodArray<z.ZodObject<{
1561
- climate_preset_key: z.ZodString;
1562
- can_edit: z.ZodBoolean;
1563
- can_delete: z.ZodBoolean;
1564
- name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
1565
- display_name: z.ZodString;
1566
- fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on", "circulate"]>>;
1567
- hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
1568
- cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
1569
- heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
1570
- cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
1571
- heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
1572
- manual_override_allowed: z.ZodBoolean;
1573
- }, "strip", z.ZodTypeAny, {
1574
- climate_preset_key: string;
1575
- can_edit: boolean;
1576
- can_delete: boolean;
1577
- display_name: string;
1578
- manual_override_allowed: boolean;
1579
- name?: string | null | undefined;
1580
- fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
1581
- hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
1582
- cooling_set_point_celsius?: number | undefined;
1583
- heating_set_point_celsius?: number | undefined;
1584
- cooling_set_point_fahrenheit?: number | undefined;
1585
- heating_set_point_fahrenheit?: number | undefined;
1586
- }, {
1587
- climate_preset_key: string;
1588
- can_edit: boolean;
1589
- can_delete: boolean;
1590
- display_name: string;
1591
- manual_override_allowed: boolean;
1592
- name?: string | null | undefined;
1593
- fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
1594
- hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
1595
- cooling_set_point_celsius?: number | undefined;
1596
- heating_set_point_celsius?: number | undefined;
1597
- cooling_set_point_fahrenheit?: number | undefined;
1598
- heating_set_point_fahrenheit?: number | undefined;
1599
- }>, "many">>;
1600
- fallback_climate_preset_key: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
1601
- active_thermostat_schedule: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodObject<{
1602
- thermostat_schedule_id: z.ZodString;
1603
- device_id: z.ZodString;
1604
- name: z.ZodOptional<z.ZodString>;
1605
- climate_preset_key: z.ZodString;
1606
- max_override_period_minutes: z.ZodNumber;
1607
- starts_at: z.ZodString;
1608
- unstable_is_override_allowed: z.ZodOptional<z.ZodBoolean>;
1609
- ends_at: z.ZodString;
1610
- created_at: z.ZodString;
1611
- errors: z.ZodArray<z.ZodObject<{
1612
- error_code: z.ZodString;
1613
- message: z.ZodString;
1614
- }, "strip", z.ZodTypeAny, {
1615
- message: string;
1616
- error_code: string;
1617
- }, {
1618
- message: string;
1619
- error_code: string;
1620
- }>, "many">;
1621
- }, "strip", z.ZodTypeAny, {
1622
- created_at: string;
1623
- errors: {
1624
- message: string;
1625
- error_code: string;
1626
- }[];
1627
- climate_preset_key: string;
1628
- thermostat_schedule_id: string;
1629
- device_id: string;
1630
- max_override_period_minutes: number;
1631
- starts_at: string;
1632
- ends_at: string;
1633
- name?: string | undefined;
1634
- unstable_is_override_allowed?: boolean | undefined;
1635
- }, {
1636
- created_at: string;
1637
- errors: {
1638
- message: string;
1639
- error_code: string;
1640
- }[];
1641
- climate_preset_key: string;
1642
- thermostat_schedule_id: string;
1643
- device_id: string;
1644
- max_override_period_minutes: number;
1645
- starts_at: string;
1646
- ends_at: string;
1647
- name?: string | undefined;
1648
- unstable_is_override_allowed?: boolean | undefined;
1649
- }>>>>;
1650
- min_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
1651
- min_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
1652
- max_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
1653
- max_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
1654
- min_heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
1655
- min_heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
1656
- max_heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
1657
- max_heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
1658
- min_heating_cooling_delta_celsius: z.ZodOptional<z.ZodNumber>;
1659
- min_heating_cooling_delta_fahrenheit: z.ZodOptional<z.ZodNumber>;
1660
- temperature_threshold: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1661
- lower_limit_celsius: z.ZodNullable<z.ZodNumber>;
1662
- lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
1663
- upper_limit_celsius: z.ZodNullable<z.ZodNumber>;
1664
- upper_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
1665
- }, "strip", z.ZodTypeAny, {
1666
- lower_limit_celsius: number | null;
1667
- lower_limit_fahrenheit: number | null;
1668
- upper_limit_celsius: number | null;
1669
- upper_limit_fahrenheit: number | null;
1670
- }, {
1671
- lower_limit_celsius: number | null;
1672
- lower_limit_fahrenheit: number | null;
1673
- upper_limit_celsius: number | null;
1674
- upper_limit_fahrenheit: number | null;
1675
- }>>>;
1676
- }, "strip", z.ZodTypeAny, {
1677
- fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
1678
- temperature_fahrenheit?: number | undefined;
1679
- temperature_celsius?: number | undefined;
1680
- relative_humidity?: number | undefined;
1681
- available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
1682
- available_fan_mode_settings?: ("auto" | "on" | "circulate")[] | undefined;
1683
- is_heating?: boolean | undefined;
1684
- is_cooling?: boolean | undefined;
1685
- is_fan_running?: boolean | undefined;
1686
- is_temporary_manual_override_active?: boolean | undefined;
1687
- current_climate_setting?: {
1688
- name?: string | null | undefined;
1689
- climate_preset_key?: string | undefined;
1690
- can_edit?: boolean | undefined;
1691
- can_delete?: boolean | undefined;
1692
- display_name?: string | undefined;
1693
- fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
1694
- hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
1695
- cooling_set_point_celsius?: number | undefined;
1696
- heating_set_point_celsius?: number | undefined;
1697
- cooling_set_point_fahrenheit?: number | undefined;
1698
- heating_set_point_fahrenheit?: number | undefined;
1699
- manual_override_allowed?: boolean | undefined;
1700
- } | undefined;
1701
- default_climate_setting?: {
1702
- name?: string | null | undefined;
1703
- climate_preset_key?: string | undefined;
1704
- can_edit?: boolean | undefined;
1705
- can_delete?: boolean | undefined;
1706
- display_name?: string | undefined;
1707
- fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
1708
- hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
1709
- cooling_set_point_celsius?: number | undefined;
1710
- heating_set_point_celsius?: number | undefined;
1711
- cooling_set_point_fahrenheit?: number | undefined;
1712
- heating_set_point_fahrenheit?: number | undefined;
1713
- manual_override_allowed?: boolean | undefined;
1714
- } | undefined;
1715
- available_climate_presets?: {
1716
- climate_preset_key: string;
1717
- can_edit: boolean;
1718
- can_delete: boolean;
1719
- display_name: string;
1720
- manual_override_allowed: boolean;
1721
- name?: string | null | undefined;
1722
- fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
1723
- hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
1724
- cooling_set_point_celsius?: number | undefined;
1725
- heating_set_point_celsius?: number | undefined;
1726
- cooling_set_point_fahrenheit?: number | undefined;
1727
- heating_set_point_fahrenheit?: number | undefined;
1728
- }[] | undefined;
1729
- fallback_climate_preset_key?: string | null | undefined;
1730
- active_thermostat_schedule?: {
1731
- created_at: string;
1732
- errors: {
1733
- message: string;
1734
- error_code: string;
1735
- }[];
1736
- climate_preset_key: string;
1737
- thermostat_schedule_id: string;
1738
- device_id: string;
1739
- max_override_period_minutes: number;
1740
- starts_at: string;
1741
- ends_at: string;
1742
- name?: string | undefined;
1743
- unstable_is_override_allowed?: boolean | undefined;
1744
- } | null | undefined;
1745
- min_cooling_set_point_celsius?: number | undefined;
1746
- min_cooling_set_point_fahrenheit?: number | undefined;
1747
- max_cooling_set_point_celsius?: number | undefined;
1748
- max_cooling_set_point_fahrenheit?: number | undefined;
1749
- min_heating_set_point_celsius?: number | undefined;
1750
- min_heating_set_point_fahrenheit?: number | undefined;
1751
- max_heating_set_point_celsius?: number | undefined;
1752
- max_heating_set_point_fahrenheit?: number | undefined;
1753
- min_heating_cooling_delta_celsius?: number | undefined;
1754
- min_heating_cooling_delta_fahrenheit?: number | undefined;
1755
- temperature_threshold?: {
1756
- lower_limit_celsius: number | null;
1757
- lower_limit_fahrenheit: number | null;
1758
- upper_limit_celsius: number | null;
1759
- upper_limit_fahrenheit: number | null;
1760
- } | undefined;
1761
- }, {
1762
- fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
1763
- temperature_fahrenheit?: number | undefined;
1764
- temperature_celsius?: number | undefined;
1765
- relative_humidity?: number | undefined;
1766
- available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
1767
- available_fan_mode_settings?: ("auto" | "on" | "circulate")[] | undefined;
1768
- is_heating?: boolean | undefined;
1769
- is_cooling?: boolean | undefined;
1770
- is_fan_running?: boolean | undefined;
1771
- is_temporary_manual_override_active?: boolean | undefined;
1772
- current_climate_setting?: {
1773
- name?: string | null | undefined;
1774
- climate_preset_key?: string | undefined;
1775
- can_edit?: boolean | undefined;
1776
- can_delete?: boolean | undefined;
1777
- display_name?: string | undefined;
1778
- fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
1779
- hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
1780
- cooling_set_point_celsius?: number | undefined;
1781
- heating_set_point_celsius?: number | undefined;
1782
- cooling_set_point_fahrenheit?: number | undefined;
1783
- heating_set_point_fahrenheit?: number | undefined;
1784
- manual_override_allowed?: boolean | undefined;
1785
- } | undefined;
1786
- default_climate_setting?: {
1787
- name?: string | null | undefined;
1788
- climate_preset_key?: string | undefined;
1789
- can_edit?: boolean | undefined;
1790
- can_delete?: boolean | undefined;
1791
- display_name?: string | undefined;
1792
- fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
1793
- hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
1794
- cooling_set_point_celsius?: number | undefined;
1795
- heating_set_point_celsius?: number | undefined;
1796
- cooling_set_point_fahrenheit?: number | undefined;
1797
- heating_set_point_fahrenheit?: number | undefined;
1798
- manual_override_allowed?: boolean | undefined;
1799
- } | undefined;
1800
- available_climate_presets?: {
1801
- climate_preset_key: string;
1802
- can_edit: boolean;
1803
- can_delete: boolean;
1804
- display_name: string;
1805
- manual_override_allowed: boolean;
1806
- name?: string | null | undefined;
1807
- fan_mode_setting?: "auto" | "on" | "circulate" | undefined;
1808
- hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
1809
- cooling_set_point_celsius?: number | undefined;
1810
- heating_set_point_celsius?: number | undefined;
1811
- cooling_set_point_fahrenheit?: number | undefined;
1812
- heating_set_point_fahrenheit?: number | undefined;
1813
- }[] | undefined;
1814
- fallback_climate_preset_key?: string | null | undefined;
1815
- active_thermostat_schedule?: {
1816
- created_at: string;
1817
- errors: {
1818
- message: string;
1819
- error_code: string;
1820
- }[];
1821
- climate_preset_key: string;
1822
- thermostat_schedule_id: string;
1823
- device_id: string;
1824
- max_override_period_minutes: number;
1825
- starts_at: string;
1826
- ends_at: string;
1827
- name?: string | undefined;
1828
- unstable_is_override_allowed?: boolean | undefined;
1829
- } | null | undefined;
1830
- min_cooling_set_point_celsius?: number | undefined;
1831
- min_cooling_set_point_fahrenheit?: number | undefined;
1832
- max_cooling_set_point_celsius?: number | undefined;
1833
- max_cooling_set_point_fahrenheit?: number | undefined;
1834
- min_heating_set_point_celsius?: number | undefined;
1835
- min_heating_set_point_fahrenheit?: number | undefined;
1836
- max_heating_set_point_celsius?: number | undefined;
1837
- max_heating_set_point_fahrenheit?: number | undefined;
1838
- min_heating_cooling_delta_celsius?: number | undefined;
1839
- min_heating_cooling_delta_fahrenheit?: number | undefined;
1840
- temperature_threshold?: {
1841
- lower_limit_celsius: number | null;
1842
- lower_limit_fahrenheit: number | null;
1843
- upper_limit_celsius: number | null;
1844
- upper_limit_fahrenheit: number | null;
1845
- } | undefined;
1846
- }>>>;
1847
- location: z.ZodNullable<z.ZodObject<{
1848
- location_name: z.ZodOptional<z.ZodString>;
1849
- timezone: z.ZodOptional<z.ZodString>;
1850
- }, "strip", z.ZodTypeAny, {
1851
- location_name?: string | undefined;
1852
- timezone?: string | undefined;
1853
- }, {
1854
- location_name?: string | undefined;
1855
- timezone?: string | undefined;
1856
- }>>;
1857
- connected_account_id: z.ZodString;
1858
7
  workspace_id: z.ZodString;
1859
- errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
1860
- message: z.ZodString;
1861
- is_device_error: z.ZodLiteral<true>;
1862
- }, {
1863
- error_code: z.ZodLiteral<"device_offline">;
1864
- }>, "strip", z.ZodTypeAny, {
1865
- message: string;
1866
- error_code: "device_offline";
1867
- is_device_error: true;
1868
- }, {
1869
- message: string;
1870
- error_code: "device_offline";
1871
- is_device_error: true;
1872
- }>, z.ZodObject<z.objectUtil.extendShape<{
1873
- message: z.ZodString;
1874
- is_device_error: z.ZodLiteral<true>;
1875
- }, {
1876
- error_code: z.ZodLiteral<"device_removed">;
1877
- }>, "strip", z.ZodTypeAny, {
1878
- message: string;
1879
- error_code: "device_removed";
1880
- is_device_error: true;
1881
- }, {
1882
- message: string;
1883
- error_code: "device_removed";
1884
- is_device_error: true;
1885
- }>, z.ZodObject<z.objectUtil.extendShape<{
1886
- message: z.ZodString;
1887
- is_device_error: z.ZodLiteral<true>;
1888
- }, {
1889
- error_code: z.ZodLiteral<"hub_disconnected">;
1890
- }>, "strip", z.ZodTypeAny, {
1891
- message: string;
1892
- error_code: "hub_disconnected";
1893
- is_device_error: true;
1894
- }, {
1895
- message: string;
1896
- error_code: "hub_disconnected";
1897
- is_device_error: true;
1898
- }>, z.ZodObject<z.objectUtil.extendShape<{
1899
- message: z.ZodString;
1900
- is_device_error: z.ZodLiteral<true>;
1901
- }, {
1902
- error_code: z.ZodLiteral<"device_disconnected">;
1903
- }>, "strip", z.ZodTypeAny, {
1904
- message: string;
1905
- error_code: "device_disconnected";
1906
- is_device_error: true;
1907
- }, {
1908
- message: string;
1909
- error_code: "device_disconnected";
1910
- is_device_error: true;
1911
- }>, z.ZodObject<z.objectUtil.extendShape<{
1912
- message: z.ZodString;
1913
- is_device_error: z.ZodLiteral<true>;
1914
- }, {
1915
- error_code: z.ZodLiteral<"empty_backup_access_code_pool">;
1916
- }>, "strip", z.ZodTypeAny, {
1917
- message: string;
1918
- error_code: "empty_backup_access_code_pool";
1919
- is_device_error: true;
1920
- }, {
1921
- message: string;
1922
- error_code: "empty_backup_access_code_pool";
1923
- is_device_error: true;
1924
- }>, z.ZodObject<z.objectUtil.extendShape<{
1925
- message: z.ZodString;
1926
- is_device_error: z.ZodLiteral<true>;
1927
- }, {
1928
- error_code: z.ZodLiteral<"august_lock_not_authorized">;
1929
- }>, "strip", z.ZodTypeAny, {
1930
- message: string;
1931
- error_code: "august_lock_not_authorized";
1932
- is_device_error: true;
1933
- }, {
1934
- message: string;
1935
- error_code: "august_lock_not_authorized";
1936
- is_device_error: true;
1937
- }>, z.ZodObject<z.objectUtil.extendShape<{
1938
- message: z.ZodString;
1939
- is_device_error: z.ZodLiteral<true>;
1940
- }, {
1941
- error_code: z.ZodLiteral<"august_lock_missing_bridge">;
1942
- }>, "strip", z.ZodTypeAny, {
1943
- message: string;
1944
- error_code: "august_lock_missing_bridge";
1945
- is_device_error: true;
1946
- }, {
1947
- message: string;
1948
- error_code: "august_lock_missing_bridge";
1949
- is_device_error: true;
1950
- }>, z.ZodObject<z.objectUtil.extendShape<{
1951
- message: z.ZodString;
1952
- is_device_error: z.ZodLiteral<true>;
1953
- }, {
1954
- error_code: z.ZodLiteral<"salto_site_user_limit_reached">;
1955
- }>, "strip", z.ZodTypeAny, {
1956
- message: string;
1957
- error_code: "salto_site_user_limit_reached";
1958
- is_device_error: true;
1959
- }, {
1960
- message: string;
1961
- error_code: "salto_site_user_limit_reached";
1962
- is_device_error: true;
1963
- }>, z.ZodObject<z.objectUtil.extendShape<{
1964
- message: z.ZodString;
1965
- is_device_error: z.ZodLiteral<true>;
1966
- }, {
1967
- error_code: z.ZodLiteral<"ttlock_lock_not_paired_to_gateway">;
1968
- }>, "strip", z.ZodTypeAny, {
1969
- message: string;
1970
- error_code: "ttlock_lock_not_paired_to_gateway";
1971
- is_device_error: true;
1972
- }, {
1973
- message: string;
1974
- error_code: "ttlock_lock_not_paired_to_gateway";
1975
- is_device_error: true;
1976
- }>, z.ZodObject<z.objectUtil.extendShape<{
1977
- message: z.ZodString;
1978
- is_device_error: z.ZodLiteral<true>;
1979
- }, {
1980
- error_code: z.ZodLiteral<"missing_device_credentials">;
1981
- }>, "strip", z.ZodTypeAny, {
1982
- message: string;
1983
- error_code: "missing_device_credentials";
1984
- is_device_error: true;
1985
- }, {
1986
- message: string;
1987
- error_code: "missing_device_credentials";
1988
- is_device_error: true;
1989
- }>, z.ZodObject<z.objectUtil.extendShape<{
1990
- message: z.ZodString;
1991
- is_device_error: z.ZodLiteral<true>;
1992
- }, {
1993
- error_code: z.ZodLiteral<"auxiliary_heat_running">;
1994
- }>, "strip", z.ZodTypeAny, {
1995
- message: string;
1996
- error_code: "auxiliary_heat_running";
1997
- is_device_error: true;
1998
- }, {
1999
- message: string;
2000
- error_code: "auxiliary_heat_running";
2001
- is_device_error: true;
2002
- }>, z.ZodObject<z.objectUtil.extendShape<{
2003
- message: z.ZodString;
2004
- is_device_error: z.ZodLiteral<true>;
2005
- }, {
2006
- error_code: z.ZodLiteral<"subscription_required">;
2007
- }>, "strip", z.ZodTypeAny, {
2008
- message: string;
2009
- error_code: "subscription_required";
2010
- is_device_error: true;
2011
- }, {
2012
- message: string;
2013
- error_code: "subscription_required";
2014
- is_device_error: true;
2015
- }>, z.ZodObject<z.objectUtil.extendShape<{
2016
- message: z.ZodString;
2017
- is_connected_account_error: z.ZodLiteral<true>;
2018
- }, {
2019
- error_code: z.ZodLiteral<"account_disconnected">;
2020
- }>, "strip", z.ZodTypeAny, {
2021
- message: string;
2022
- is_connected_account_error: true;
2023
- error_code: "account_disconnected";
2024
- }, {
2025
- message: string;
2026
- is_connected_account_error: true;
2027
- error_code: "account_disconnected";
2028
- }>, z.ZodObject<z.objectUtil.extendShape<{
2029
- message: z.ZodString;
2030
- is_connected_account_error: z.ZodLiteral<true>;
2031
- }, {
2032
- error_code: z.ZodLiteral<"invalid_credentials">;
2033
- }>, "strip", z.ZodTypeAny, {
2034
- message: string;
2035
- is_connected_account_error: true;
2036
- error_code: "invalid_credentials";
2037
- }, {
2038
- message: string;
2039
- is_connected_account_error: true;
2040
- error_code: "invalid_credentials";
2041
- }>]>, "many">;
2042
- warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
2043
- message: z.ZodString;
2044
- }, {
2045
- warning_code: z.ZodLiteral<"partial_backup_access_code_pool">;
2046
- }>, "strip", z.ZodTypeAny, {
2047
- message: string;
2048
- warning_code: "partial_backup_access_code_pool";
2049
- }, {
2050
- message: string;
2051
- warning_code: "partial_backup_access_code_pool";
2052
- }>, z.ZodObject<z.objectUtil.extendShape<{
2053
- message: z.ZodString;
2054
- }, {
2055
- warning_code: z.ZodLiteral<"many_active_backup_codes">;
2056
- }>, "strip", z.ZodTypeAny, {
2057
- message: string;
2058
- warning_code: "many_active_backup_codes";
2059
- }, {
2060
- message: string;
2061
- warning_code: "many_active_backup_codes";
2062
- }>, z.ZodObject<z.objectUtil.extendShape<{
2063
- message: z.ZodString;
2064
- }, {
2065
- warning_code: z.ZodLiteral<"salto_unknown_device_type">;
2066
- }>, "strip", z.ZodTypeAny, {
2067
- message: string;
2068
- warning_code: "salto_unknown_device_type";
2069
- }, {
2070
- message: string;
2071
- warning_code: "salto_unknown_device_type";
2072
- }>, z.ZodObject<z.objectUtil.extendShape<{
2073
- message: z.ZodString;
2074
- }, {
2075
- warning_code: z.ZodLiteral<"wyze_device_missing_gateway">;
2076
- }>, "strip", z.ZodTypeAny, {
2077
- message: string;
2078
- warning_code: "wyze_device_missing_gateway";
2079
- }, {
2080
- message: string;
2081
- warning_code: "wyze_device_missing_gateway";
2082
- }>, z.ZodObject<z.objectUtil.extendShape<{
2083
- message: z.ZodString;
2084
- }, {
2085
- warning_code: z.ZodLiteral<"functional_offline_device">;
2086
- }>, "strip", z.ZodTypeAny, {
2087
- message: string;
2088
- warning_code: "functional_offline_device";
2089
- }, {
2090
- message: string;
2091
- warning_code: "functional_offline_device";
2092
- }>, z.ZodObject<z.objectUtil.extendShape<{
2093
- message: z.ZodString;
2094
- }, {
2095
- warning_code: z.ZodLiteral<"third_party_integration_detected">;
2096
- }>, "strip", z.ZodTypeAny, {
2097
- message: string;
2098
- warning_code: "third_party_integration_detected";
2099
- }, {
2100
- message: string;
2101
- warning_code: "third_party_integration_detected";
2102
- }>, z.ZodObject<z.objectUtil.extendShape<{
2103
- message: z.ZodString;
2104
- }, {
2105
- warning_code: z.ZodLiteral<"nest_thermostat_in_manual_eco_mode">;
2106
- }>, "strip", z.ZodTypeAny, {
2107
- message: string;
2108
- warning_code: "nest_thermostat_in_manual_eco_mode";
2109
- }, {
2110
- message: string;
2111
- warning_code: "nest_thermostat_in_manual_eco_mode";
2112
- }>, z.ZodObject<z.objectUtil.extendShape<{
2113
- message: z.ZodString;
2114
- }, {
2115
- warning_code: z.ZodLiteral<"ttlock_lock_gateway_unlocking_not_enabled">;
2116
- }>, "strip", z.ZodTypeAny, {
2117
- message: string;
2118
- warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
2119
- }, {
2120
- message: string;
2121
- warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
2122
- }>, z.ZodObject<z.objectUtil.extendShape<{
2123
- message: z.ZodString;
2124
- }, {
2125
- warning_code: z.ZodLiteral<"ttlock_weak_gateway_signal">;
2126
- }>, "strip", z.ZodTypeAny, {
2127
- message: string;
2128
- warning_code: "ttlock_weak_gateway_signal";
2129
- }, {
2130
- message: string;
2131
- warning_code: "ttlock_weak_gateway_signal";
2132
- }>, z.ZodObject<z.objectUtil.extendShape<{
2133
- message: z.ZodString;
2134
- }, {
2135
- warning_code: z.ZodLiteral<"temperature_threshold_exceeded">;
2136
- }>, "strip", z.ZodTypeAny, {
2137
- message: string;
2138
- warning_code: "temperature_threshold_exceeded";
2139
- }, {
2140
- message: string;
2141
- warning_code: "temperature_threshold_exceeded";
2142
- }>, z.ZodObject<z.objectUtil.extendShape<{
2143
- message: z.ZodString;
2144
- }, {
2145
- warning_code: z.ZodLiteral<"device_communication_degraded">;
2146
- }>, "strip", z.ZodTypeAny, {
2147
- message: string;
2148
- warning_code: "device_communication_degraded";
2149
- }, {
2150
- message: string;
2151
- warning_code: "device_communication_degraded";
2152
- }>, z.ZodObject<z.objectUtil.extendShape<{
2153
- message: z.ZodString;
2154
- }, {
2155
- warning_code: z.ZodLiteral<"scheduled_maintenance_window">;
2156
- }>, "strip", z.ZodTypeAny, {
2157
- message: string;
2158
- warning_code: "scheduled_maintenance_window";
2159
- }, {
2160
- message: string;
2161
- warning_code: "scheduled_maintenance_window";
2162
- }>, z.ZodObject<z.objectUtil.extendShape<{
2163
- message: z.ZodString;
2164
- }, {
2165
- warning_code: z.ZodLiteral<"device_has_flaky_connection">;
2166
- }>, "strip", z.ZodTypeAny, {
2167
- message: string;
2168
- warning_code: "device_has_flaky_connection";
2169
- }, {
2170
- message: string;
2171
- warning_code: "device_has_flaky_connection";
2172
- }>, z.ZodObject<z.objectUtil.extendShape<{
2173
- message: z.ZodString;
2174
- }, {
2175
- warning_code: z.ZodLiteral<"salto_office_mode">;
2176
- }>, "strip", z.ZodTypeAny, {
2177
- message: string;
2178
- warning_code: "salto_office_mode";
2179
- }, {
2180
- message: string;
2181
- warning_code: "salto_office_mode";
2182
- }>, z.ZodObject<z.objectUtil.extendShape<{
8
+ created_at: z.ZodString;
9
+ custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
10
+ errors: z.ZodArray<z.ZodObject<{
11
+ error_code: z.ZodString;
2183
12
  message: z.ZodString;
2184
- }, {
2185
- warning_code: z.ZodLiteral<"salto_privacy_mode">;
2186
- }>, "strip", z.ZodTypeAny, {
13
+ }, "strip", z.ZodTypeAny, {
2187
14
  message: string;
2188
- warning_code: "salto_privacy_mode";
15
+ error_code: string;
2189
16
  }, {
2190
17
  message: string;
2191
- warning_code: "salto_privacy_mode";
2192
- }>, z.ZodObject<z.objectUtil.extendShape<{
18
+ error_code: string;
19
+ }>, "many">;
20
+ warnings: z.ZodArray<z.ZodObject<{
21
+ warning_code: z.ZodString;
2193
22
  message: z.ZodString;
2194
- }, {
2195
- warning_code: z.ZodLiteral<"unknown_issue_with_phone">;
2196
- }>, "strip", z.ZodTypeAny, {
23
+ }, "strip", z.ZodTypeAny, {
2197
24
  message: string;
2198
- warning_code: "unknown_issue_with_phone";
25
+ warning_code: string;
2199
26
  }, {
2200
27
  message: string;
2201
- warning_code: "unknown_issue_with_phone";
2202
- }>]>, "many">;
2203
- created_at: z.ZodString;
2204
- is_managed: z.ZodLiteral<true>;
2205
- custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
2206
- }, z.objectUtil.extendShape<{
2207
- can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
2208
- can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
2209
- can_program_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
2210
- can_program_online_access_codes: z.ZodOptional<z.ZodBoolean>;
2211
- can_hvac_heat: z.ZodOptional<z.ZodBoolean>;
2212
- can_hvac_cool: z.ZodOptional<z.ZodBoolean>;
2213
- can_hvac_heat_cool: z.ZodOptional<z.ZodBoolean>;
2214
- can_turn_off_hvac: z.ZodOptional<z.ZodBoolean>;
2215
- }, {
2216
- can_simulate_removal: z.ZodOptional<z.ZodBoolean>;
2217
- can_simulate_connection: z.ZodOptional<z.ZodBoolean>;
2218
- can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
2219
- }>>, "connected_account_id">, {
2220
- device_type: z.ZodEnum<["android_phone", "ios_phone"]>;
2221
- }>, {
28
+ warning_code: string;
29
+ }>, "many">;
30
+ device_type: z.ZodEnum<["ios_phone" | "android_phone"]>;
2222
31
  properties: z.ZodObject<{
2223
32
  assa_abloy_credential_service_metadata: z.ZodOptional<z.ZodObject<{
2224
33
  has_active_endpoint: z.ZodBoolean;
@@ -2275,123 +84,20 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
2275
84
  has_active_phone: boolean;
2276
85
  } | undefined;
2277
86
  }>;
2278
- }>, "strip", z.ZodTypeAny, {
2279
- location: {
2280
- location_name?: string | undefined;
2281
- timezone?: string | undefined;
2282
- } | null;
87
+ }, "strip", z.ZodTypeAny, {
2283
88
  created_at: string;
2284
- errors: ({
2285
- message: string;
2286
- is_connected_account_error: true;
2287
- error_code: "account_disconnected";
2288
- } | {
2289
- message: string;
2290
- is_connected_account_error: true;
2291
- error_code: "invalid_credentials";
2292
- } | {
2293
- message: string;
2294
- error_code: "device_offline";
2295
- is_device_error: true;
2296
- } | {
2297
- message: string;
2298
- error_code: "device_removed";
2299
- is_device_error: true;
2300
- } | {
2301
- message: string;
2302
- error_code: "hub_disconnected";
2303
- is_device_error: true;
2304
- } | {
2305
- message: string;
2306
- error_code: "device_disconnected";
2307
- is_device_error: true;
2308
- } | {
2309
- message: string;
2310
- error_code: "empty_backup_access_code_pool";
2311
- is_device_error: true;
2312
- } | {
2313
- message: string;
2314
- error_code: "august_lock_not_authorized";
2315
- is_device_error: true;
2316
- } | {
2317
- message: string;
2318
- error_code: "august_lock_missing_bridge";
2319
- is_device_error: true;
2320
- } | {
2321
- message: string;
2322
- error_code: "salto_site_user_limit_reached";
2323
- is_device_error: true;
2324
- } | {
2325
- message: string;
2326
- error_code: "ttlock_lock_not_paired_to_gateway";
2327
- is_device_error: true;
2328
- } | {
2329
- message: string;
2330
- error_code: "missing_device_credentials";
2331
- is_device_error: true;
2332
- } | {
2333
- message: string;
2334
- error_code: "auxiliary_heat_running";
2335
- is_device_error: true;
2336
- } | {
2337
- message: string;
2338
- error_code: "subscription_required";
2339
- is_device_error: true;
2340
- })[];
2341
- warnings: ({
2342
- message: string;
2343
- warning_code: "partial_backup_access_code_pool";
2344
- } | {
2345
- message: string;
2346
- warning_code: "many_active_backup_codes";
2347
- } | {
2348
- message: string;
2349
- warning_code: "salto_unknown_device_type";
2350
- } | {
2351
- message: string;
2352
- warning_code: "salto_office_mode";
2353
- } | {
2354
- message: string;
2355
- warning_code: "salto_privacy_mode";
2356
- } | {
2357
- message: string;
2358
- warning_code: "wyze_device_missing_gateway";
2359
- } | {
2360
- message: string;
2361
- warning_code: "functional_offline_device";
2362
- } | {
2363
- message: string;
2364
- warning_code: "third_party_integration_detected";
2365
- } | {
2366
- message: string;
2367
- warning_code: "nest_thermostat_in_manual_eco_mode";
2368
- } | {
2369
- message: string;
2370
- warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
2371
- } | {
2372
- message: string;
2373
- warning_code: "ttlock_weak_gateway_signal";
2374
- } | {
2375
- message: string;
2376
- warning_code: "temperature_threshold_exceeded";
2377
- } | {
2378
- message: string;
2379
- warning_code: "device_communication_degraded";
2380
- } | {
89
+ errors: {
2381
90
  message: string;
2382
- warning_code: "scheduled_maintenance_window";
2383
- } | {
91
+ error_code: string;
92
+ }[];
93
+ warnings: {
2384
94
  message: string;
2385
- warning_code: "device_has_flaky_connection";
2386
- } | {
2387
- message: string;
2388
- warning_code: "unknown_issue_with_phone";
2389
- })[];
95
+ warning_code: string;
96
+ }[];
2390
97
  custom_metadata: Record<string, string | boolean>;
2391
98
  display_name: string;
2392
99
  device_id: string;
2393
100
  device_type: "ios_phone" | "android_phone";
2394
- capabilities_supported: ("phone" | "access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
2395
101
  properties: {
2396
102
  assa_abloy_credential_service_metadata?: {
2397
103
  has_active_endpoint: boolean;
@@ -2405,136 +111,21 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
2405
111
  } | undefined;
2406
112
  };
2407
113
  workspace_id: string;
2408
- is_managed: true;
2409
- can_remotely_unlock?: boolean | undefined;
2410
- can_remotely_lock?: boolean | undefined;
2411
- can_program_offline_access_codes?: boolean | undefined;
2412
- can_program_online_access_codes?: boolean | undefined;
2413
- can_hvac_heat?: boolean | undefined;
2414
- can_hvac_cool?: boolean | undefined;
2415
- can_hvac_heat_cool?: boolean | undefined;
2416
- can_turn_off_hvac?: boolean | undefined;
2417
- can_simulate_removal?: boolean | undefined;
2418
- can_simulate_connection?: boolean | undefined;
2419
- can_simulate_disconnection?: boolean | undefined;
2420
114
  nickname?: string | undefined;
2421
115
  }, {
2422
- location: {
2423
- location_name?: string | undefined;
2424
- timezone?: string | undefined;
2425
- } | null;
2426
116
  created_at: string;
2427
- errors: ({
2428
- message: string;
2429
- is_connected_account_error: true;
2430
- error_code: "account_disconnected";
2431
- } | {
2432
- message: string;
2433
- is_connected_account_error: true;
2434
- error_code: "invalid_credentials";
2435
- } | {
2436
- message: string;
2437
- error_code: "device_offline";
2438
- is_device_error: true;
2439
- } | {
2440
- message: string;
2441
- error_code: "device_removed";
2442
- is_device_error: true;
2443
- } | {
2444
- message: string;
2445
- error_code: "hub_disconnected";
2446
- is_device_error: true;
2447
- } | {
2448
- message: string;
2449
- error_code: "device_disconnected";
2450
- is_device_error: true;
2451
- } | {
2452
- message: string;
2453
- error_code: "empty_backup_access_code_pool";
2454
- is_device_error: true;
2455
- } | {
2456
- message: string;
2457
- error_code: "august_lock_not_authorized";
2458
- is_device_error: true;
2459
- } | {
2460
- message: string;
2461
- error_code: "august_lock_missing_bridge";
2462
- is_device_error: true;
2463
- } | {
2464
- message: string;
2465
- error_code: "salto_site_user_limit_reached";
2466
- is_device_error: true;
2467
- } | {
2468
- message: string;
2469
- error_code: "ttlock_lock_not_paired_to_gateway";
2470
- is_device_error: true;
2471
- } | {
2472
- message: string;
2473
- error_code: "missing_device_credentials";
2474
- is_device_error: true;
2475
- } | {
2476
- message: string;
2477
- error_code: "auxiliary_heat_running";
2478
- is_device_error: true;
2479
- } | {
2480
- message: string;
2481
- error_code: "subscription_required";
2482
- is_device_error: true;
2483
- })[];
2484
- warnings: ({
2485
- message: string;
2486
- warning_code: "partial_backup_access_code_pool";
2487
- } | {
2488
- message: string;
2489
- warning_code: "many_active_backup_codes";
2490
- } | {
2491
- message: string;
2492
- warning_code: "salto_unknown_device_type";
2493
- } | {
2494
- message: string;
2495
- warning_code: "salto_office_mode";
2496
- } | {
2497
- message: string;
2498
- warning_code: "salto_privacy_mode";
2499
- } | {
2500
- message: string;
2501
- warning_code: "wyze_device_missing_gateway";
2502
- } | {
2503
- message: string;
2504
- warning_code: "functional_offline_device";
2505
- } | {
2506
- message: string;
2507
- warning_code: "third_party_integration_detected";
2508
- } | {
2509
- message: string;
2510
- warning_code: "nest_thermostat_in_manual_eco_mode";
2511
- } | {
2512
- message: string;
2513
- warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
2514
- } | {
2515
- message: string;
2516
- warning_code: "ttlock_weak_gateway_signal";
2517
- } | {
2518
- message: string;
2519
- warning_code: "temperature_threshold_exceeded";
2520
- } | {
2521
- message: string;
2522
- warning_code: "device_communication_degraded";
2523
- } | {
2524
- message: string;
2525
- warning_code: "scheduled_maintenance_window";
2526
- } | {
117
+ errors: {
2527
118
  message: string;
2528
- warning_code: "device_has_flaky_connection";
2529
- } | {
119
+ error_code: string;
120
+ }[];
121
+ warnings: {
2530
122
  message: string;
2531
- warning_code: "unknown_issue_with_phone";
2532
- })[];
123
+ warning_code: string;
124
+ }[];
2533
125
  custom_metadata: Record<string, string | boolean>;
2534
126
  display_name: string;
2535
127
  device_id: string;
2536
128
  device_type: "ios_phone" | "android_phone";
2537
- capabilities_supported: ("phone" | "access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
2538
129
  properties: {
2539
130
  assa_abloy_credential_service_metadata?: {
2540
131
  has_active_endpoint: boolean;
@@ -2548,17 +139,5 @@ export declare const phone: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
2548
139
  } | undefined;
2549
140
  };
2550
141
  workspace_id: string;
2551
- is_managed: true;
2552
- can_remotely_unlock?: boolean | undefined;
2553
- can_remotely_lock?: boolean | undefined;
2554
- can_program_offline_access_codes?: boolean | undefined;
2555
- can_program_online_access_codes?: boolean | undefined;
2556
- can_hvac_heat?: boolean | undefined;
2557
- can_hvac_cool?: boolean | undefined;
2558
- can_hvac_heat_cool?: boolean | undefined;
2559
- can_turn_off_hvac?: boolean | undefined;
2560
- can_simulate_removal?: boolean | undefined;
2561
- can_simulate_connection?: boolean | undefined;
2562
- can_simulate_disconnection?: boolean | undefined;
2563
142
  nickname?: string | undefined;
2564
143
  }>;