@seamapi/types 1.210.0 → 1.211.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.d.cts +2793 -1343
- package/dist/devicedb.d.cts +199 -795
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +18 -12
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +29 -13
- package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.d.ts +6 -4
- package/lib/seam/connect/models/acs/acs-credential.d.ts +10 -10
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +12 -12
- package/lib/seam/connect/models/acs/acs-system.d.ts +45 -40
- package/lib/seam/connect/models/acs/acs-user.d.ts +40 -36
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -165
- package/lib/seam/connect/models/action-attempts/common.d.ts +12 -6
- package/lib/seam/connect/models/action-attempts/deprecated.d.ts +140 -77
- package/lib/seam/connect/models/action-attempts/lock-door.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-cool.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-heat-cool.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-heat.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-thermostat-off.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +20 -11
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +20 -16
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +33 -29
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +213 -48
- package/lib/seam/connect/models/devices/device-provider.d.ts +7 -5
- package/lib/seam/connect/models/devices/device.d.ts +188 -1036
- package/lib/seam/connect/models/devices/phone.d.ts +2023 -15
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +2034 -16
- package/lib/seam/connect/models/events/access-codes.d.ts +306 -238
- package/lib/seam/connect/models/events/acs/common.d.ts +5 -4
- package/lib/seam/connect/models/events/acs/credentials.d.ts +18 -12
- package/lib/seam/connect/models/events/acs/index.d.ts +26 -18
- package/lib/seam/connect/models/events/acs/systems.d.ts +16 -12
- package/lib/seam/connect/models/events/acs/users.d.ts +18 -12
- package/lib/seam/connect/models/events/action-attempts.d.ts +16 -12
- package/lib/seam/connect/models/events/client-sessions.d.ts +14 -10
- package/lib/seam/connect/models/events/connected-accounts.d.ts +98 -70
- package/lib/seam/connect/models/events/devices.d.ts +412 -312
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +14 -10
- package/lib/seam/connect/models/events/phones.d.ts +14 -10
- package/lib/seam/connect/models/events/seam-event.d.ts +456 -344
- package/lib/seam/connect/models/thermostats/climate-setting-schedule.d.ts +6 -5
- package/lib/seam/connect/models/webhooks/webhook.d.ts +2 -2
- package/lib/seam/devicedb/models/device-model.d.ts +6 -4
- package/lib/seam/devicedb/models/manufacturer.d.ts +2 -2
- package/lib/seam/devicedb/route-specs.d.ts +132 -730
- package/package.json +5 -1
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const device_capability_flags: z.ZodObject<{
|
|
2
|
+
export declare const device_capability_flags: z.ZodObject<z.objectUtil.extendShape<{
|
|
3
3
|
can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
|
|
4
4
|
can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
|
|
5
5
|
can_program_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
6
6
|
can_program_online_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
7
|
+
}, {
|
|
7
8
|
can_simulate_removal: z.ZodOptional<z.ZodBoolean>;
|
|
8
9
|
can_simulate_connection: z.ZodOptional<z.ZodBoolean>;
|
|
9
10
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
-
}
|
|
11
|
+
}>, "strip", z.ZodTypeAny, {
|
|
11
12
|
can_remotely_unlock?: boolean | undefined;
|
|
12
13
|
can_remotely_lock?: boolean | undefined;
|
|
13
14
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -26,11 +27,12 @@ export declare const device_capability_flags: z.ZodObject<{
|
|
|
26
27
|
}>;
|
|
27
28
|
export declare const battery_status: z.ZodEnum<["critical", "low", "good", "full"]>;
|
|
28
29
|
export type BatteryStatus = z.infer<typeof battery_status>;
|
|
29
|
-
export declare const device_error: z.ZodObject<{
|
|
30
|
+
export declare const device_error: z.ZodObject<z.objectUtil.extendShape<{
|
|
30
31
|
message: z.ZodString;
|
|
31
32
|
is_device_error: z.ZodLiteral<true>;
|
|
33
|
+
}, {
|
|
32
34
|
error_code: z.ZodString;
|
|
33
|
-
}
|
|
35
|
+
}>, "strip", z.ZodTypeAny, {
|
|
34
36
|
message: string;
|
|
35
37
|
error_code: string;
|
|
36
38
|
is_device_error: true;
|
|
@@ -40,10 +42,11 @@ export declare const device_error: z.ZodObject<{
|
|
|
40
42
|
is_device_error: true;
|
|
41
43
|
}>;
|
|
42
44
|
export type DeviceError = z.infer<typeof device_error>;
|
|
43
|
-
declare const device_warning: z.ZodObject<{
|
|
45
|
+
declare const device_warning: z.ZodObject<z.objectUtil.extendShape<{
|
|
44
46
|
message: z.ZodString;
|
|
47
|
+
}, {
|
|
45
48
|
warning_code: z.ZodString;
|
|
46
|
-
}
|
|
49
|
+
}>, "strip", z.ZodTypeAny, {
|
|
47
50
|
message: string;
|
|
48
51
|
warning_code: string;
|
|
49
52
|
}, {
|
|
@@ -143,6 +146,13 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
143
146
|
online_access_codes_supported?: boolean | undefined;
|
|
144
147
|
accessory_keypad_supported?: boolean | undefined;
|
|
145
148
|
};
|
|
149
|
+
battery?: {
|
|
150
|
+
status: "low" | "full" | "critical" | "good";
|
|
151
|
+
level: number;
|
|
152
|
+
} | undefined;
|
|
153
|
+
manufacturer?: string | undefined;
|
|
154
|
+
battery_level?: number | undefined;
|
|
155
|
+
serial_number?: string | undefined;
|
|
146
156
|
accessory_keypad?: {
|
|
147
157
|
is_connected: boolean;
|
|
148
158
|
battery?: {
|
|
@@ -150,15 +160,8 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
150
160
|
} | undefined;
|
|
151
161
|
} | undefined;
|
|
152
162
|
has_direct_power?: boolean | undefined;
|
|
153
|
-
battery_level?: number | undefined;
|
|
154
|
-
battery?: {
|
|
155
|
-
status: "low" | "full" | "critical" | "good";
|
|
156
|
-
level: number;
|
|
157
|
-
} | undefined;
|
|
158
|
-
manufacturer?: string | undefined;
|
|
159
163
|
image_url?: string | undefined;
|
|
160
164
|
image_alt_text?: string | undefined;
|
|
161
|
-
serial_number?: string | undefined;
|
|
162
165
|
online_access_codes_enabled?: boolean | undefined;
|
|
163
166
|
offline_access_codes_enabled?: boolean | undefined;
|
|
164
167
|
supports_accessory_keypad?: boolean | undefined;
|
|
@@ -180,6 +183,13 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
180
183
|
online_access_codes_supported?: boolean | undefined;
|
|
181
184
|
accessory_keypad_supported?: boolean | undefined;
|
|
182
185
|
};
|
|
186
|
+
battery?: {
|
|
187
|
+
status: "low" | "full" | "critical" | "good";
|
|
188
|
+
level: number;
|
|
189
|
+
} | undefined;
|
|
190
|
+
manufacturer?: string | undefined;
|
|
191
|
+
battery_level?: number | undefined;
|
|
192
|
+
serial_number?: string | undefined;
|
|
183
193
|
accessory_keypad?: {
|
|
184
194
|
is_connected: boolean;
|
|
185
195
|
battery?: {
|
|
@@ -187,15 +197,8 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
187
197
|
} | undefined;
|
|
188
198
|
} | undefined;
|
|
189
199
|
has_direct_power?: boolean | undefined;
|
|
190
|
-
battery_level?: number | undefined;
|
|
191
|
-
battery?: {
|
|
192
|
-
status: "low" | "full" | "critical" | "good";
|
|
193
|
-
level: number;
|
|
194
|
-
} | undefined;
|
|
195
|
-
manufacturer?: string | undefined;
|
|
196
200
|
image_url?: string | undefined;
|
|
197
201
|
image_alt_text?: string | undefined;
|
|
198
|
-
serial_number?: string | undefined;
|
|
199
202
|
online_access_codes_enabled?: boolean | undefined;
|
|
200
203
|
offline_access_codes_enabled?: boolean | undefined;
|
|
201
204
|
supports_accessory_keypad?: boolean | undefined;
|
|
@@ -203,59 +206,11 @@ export declare const common_device_properties: z.ZodObject<{
|
|
|
203
206
|
noise_level_decibels?: number | undefined;
|
|
204
207
|
currently_triggering_noise_threshold_ids?: string[] | undefined;
|
|
205
208
|
}>;
|
|
206
|
-
export declare const device: z.ZodObject<{
|
|
207
|
-
location: z.ZodNullable<z.ZodObject<{
|
|
208
|
-
location_name: z.ZodOptional<z.ZodString>;
|
|
209
|
-
timezone: z.ZodOptional<z.ZodString>;
|
|
210
|
-
}, "strip", z.ZodTypeAny, {
|
|
211
|
-
location_name?: string | undefined;
|
|
212
|
-
timezone?: string | undefined;
|
|
213
|
-
}, {
|
|
214
|
-
location_name?: string | undefined;
|
|
215
|
-
timezone?: string | undefined;
|
|
216
|
-
}>>;
|
|
217
|
-
connected_account_id: z.ZodString;
|
|
218
|
-
created_at: z.ZodString;
|
|
219
|
-
errors: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
220
|
-
message: z.ZodString;
|
|
221
|
-
is_device_error: z.ZodLiteral<true>;
|
|
222
|
-
error_code: z.ZodString;
|
|
223
|
-
}, "strip", z.ZodTypeAny, {
|
|
224
|
-
message: string;
|
|
225
|
-
error_code: string;
|
|
226
|
-
is_device_error: true;
|
|
227
|
-
}, {
|
|
228
|
-
message: string;
|
|
229
|
-
error_code: string;
|
|
230
|
-
is_device_error: true;
|
|
231
|
-
}>, z.ZodObject<{
|
|
232
|
-
message: z.ZodString;
|
|
233
|
-
is_connected_account_error: z.ZodLiteral<true>;
|
|
234
|
-
error_code: z.ZodString;
|
|
235
|
-
}, "strip", z.ZodTypeAny, {
|
|
236
|
-
message: string;
|
|
237
|
-
is_connected_account_error: true;
|
|
238
|
-
error_code: string;
|
|
239
|
-
}, {
|
|
240
|
-
message: string;
|
|
241
|
-
is_connected_account_error: true;
|
|
242
|
-
error_code: string;
|
|
243
|
-
}>]>, "many">;
|
|
244
|
-
warnings: z.ZodArray<z.ZodObject<{
|
|
245
|
-
message: z.ZodString;
|
|
246
|
-
warning_code: z.ZodString;
|
|
247
|
-
}, "strip", z.ZodTypeAny, {
|
|
248
|
-
message: string;
|
|
249
|
-
warning_code: string;
|
|
250
|
-
}, {
|
|
251
|
-
message: string;
|
|
252
|
-
warning_code: string;
|
|
253
|
-
}>, "many">;
|
|
254
|
-
custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
209
|
+
export declare const device: z.ZodObject<z.objectUtil.extendShape<{
|
|
255
210
|
device_id: z.ZodString;
|
|
256
|
-
display_name: z.ZodString;
|
|
257
211
|
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"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>]>;
|
|
258
212
|
nickname: z.ZodOptional<z.ZodString>;
|
|
213
|
+
display_name: z.ZodString;
|
|
259
214
|
capabilities_supported: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery", "phone"]>, "many">;
|
|
260
215
|
properties: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
261
216
|
online: z.ZodBoolean;
|
|
@@ -349,6 +304,13 @@ export declare const device: z.ZodObject<{
|
|
|
349
304
|
online_access_codes_supported?: boolean | undefined;
|
|
350
305
|
accessory_keypad_supported?: boolean | undefined;
|
|
351
306
|
};
|
|
307
|
+
battery?: {
|
|
308
|
+
status: "low" | "full" | "critical" | "good";
|
|
309
|
+
level: number;
|
|
310
|
+
} | undefined;
|
|
311
|
+
manufacturer?: string | undefined;
|
|
312
|
+
battery_level?: number | undefined;
|
|
313
|
+
serial_number?: string | undefined;
|
|
352
314
|
accessory_keypad?: {
|
|
353
315
|
is_connected: boolean;
|
|
354
316
|
battery?: {
|
|
@@ -356,15 +318,8 @@ export declare const device: z.ZodObject<{
|
|
|
356
318
|
} | undefined;
|
|
357
319
|
} | undefined;
|
|
358
320
|
has_direct_power?: boolean | undefined;
|
|
359
|
-
battery_level?: number | undefined;
|
|
360
|
-
battery?: {
|
|
361
|
-
status: "low" | "full" | "critical" | "good";
|
|
362
|
-
level: number;
|
|
363
|
-
} | undefined;
|
|
364
|
-
manufacturer?: string | undefined;
|
|
365
321
|
image_url?: string | undefined;
|
|
366
322
|
image_alt_text?: string | undefined;
|
|
367
|
-
serial_number?: string | undefined;
|
|
368
323
|
online_access_codes_enabled?: boolean | undefined;
|
|
369
324
|
offline_access_codes_enabled?: boolean | undefined;
|
|
370
325
|
supports_accessory_keypad?: boolean | undefined;
|
|
@@ -386,6 +341,13 @@ export declare const device: z.ZodObject<{
|
|
|
386
341
|
online_access_codes_supported?: boolean | undefined;
|
|
387
342
|
accessory_keypad_supported?: boolean | undefined;
|
|
388
343
|
};
|
|
344
|
+
battery?: {
|
|
345
|
+
status: "low" | "full" | "critical" | "good";
|
|
346
|
+
level: number;
|
|
347
|
+
} | undefined;
|
|
348
|
+
manufacturer?: string | undefined;
|
|
349
|
+
battery_level?: number | undefined;
|
|
350
|
+
serial_number?: string | undefined;
|
|
389
351
|
accessory_keypad?: {
|
|
390
352
|
is_connected: boolean;
|
|
391
353
|
battery?: {
|
|
@@ -393,15 +355,8 @@ export declare const device: z.ZodObject<{
|
|
|
393
355
|
} | undefined;
|
|
394
356
|
} | undefined;
|
|
395
357
|
has_direct_power?: boolean | undefined;
|
|
396
|
-
battery_level?: number | undefined;
|
|
397
|
-
battery?: {
|
|
398
|
-
status: "low" | "full" | "critical" | "good";
|
|
399
|
-
level: number;
|
|
400
|
-
} | undefined;
|
|
401
|
-
manufacturer?: string | undefined;
|
|
402
358
|
image_url?: string | undefined;
|
|
403
359
|
image_alt_text?: string | undefined;
|
|
404
|
-
serial_number?: string | undefined;
|
|
405
360
|
online_access_codes_enabled?: boolean | undefined;
|
|
406
361
|
offline_access_codes_enabled?: boolean | undefined;
|
|
407
362
|
supports_accessory_keypad?: boolean | undefined;
|
|
@@ -1440,7 +1395,7 @@ export declare const device: z.ZodObject<{
|
|
|
1440
1395
|
serial_number: string;
|
|
1441
1396
|
keypad_id?: number | undefined;
|
|
1442
1397
|
} | undefined;
|
|
1443
|
-
}>>, z.ZodIntersection<z.ZodObject<{
|
|
1398
|
+
}>>, z.ZodIntersection<z.ZodObject<z.objectUtil.extendShape<{
|
|
1444
1399
|
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1445
1400
|
code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1446
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"]>;
|
|
@@ -1465,6 +1420,7 @@ export declare const device: z.ZodObject<{
|
|
|
1465
1420
|
max_active_codes_supported: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1466
1421
|
supports_backup_access_code_pool: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1467
1422
|
has_native_entry_events: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1423
|
+
}, {
|
|
1468
1424
|
locked: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1469
1425
|
keypad_battery: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1470
1426
|
level: z.ZodNumber;
|
|
@@ -1474,7 +1430,7 @@ export declare const device: z.ZodObject<{
|
|
|
1474
1430
|
level: number;
|
|
1475
1431
|
}>>>;
|
|
1476
1432
|
door_open: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1477
|
-
}
|
|
1433
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1478
1434
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
1479
1435
|
code_constraints?: ({
|
|
1480
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";
|
|
@@ -1511,6 +1467,10 @@ export declare const device: z.ZodObject<{
|
|
|
1511
1467
|
} | undefined;
|
|
1512
1468
|
door_open?: boolean | undefined;
|
|
1513
1469
|
}>, z.ZodUnion<[z.ZodObject<{
|
|
1470
|
+
min_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1471
|
+
min_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1472
|
+
max_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1473
|
+
max_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1514
1474
|
temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1515
1475
|
temperature_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1516
1476
|
relative_humidity: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1579,15 +1539,16 @@ export declare const device: z.ZodObject<{
|
|
|
1579
1539
|
heating_set_point_fahrenheit?: number | undefined;
|
|
1580
1540
|
}>>>;
|
|
1581
1541
|
is_climate_setting_schedule_active: z.ZodOptional<z.ZodBoolean>;
|
|
1582
|
-
active_climate_setting_schedule: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1583
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1584
|
-
created_at: z.ZodString;
|
|
1585
|
-
errors: z.ZodAny;
|
|
1542
|
+
active_climate_setting_schedule: z.ZodOptional<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
1586
1543
|
climate_setting_schedule_id: z.ZodString;
|
|
1587
1544
|
schedule_type: z.ZodLiteral<"time_bound">;
|
|
1588
1545
|
device_id: z.ZodString;
|
|
1546
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1589
1547
|
schedule_starts_at: z.ZodString;
|
|
1590
1548
|
schedule_ends_at: z.ZodString;
|
|
1549
|
+
created_at: z.ZodString;
|
|
1550
|
+
errors: z.ZodAny;
|
|
1551
|
+
}, {
|
|
1591
1552
|
automatic_heating_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1592
1553
|
automatic_cooling_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1593
1554
|
hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
|
|
@@ -1596,7 +1557,7 @@ export declare const device: z.ZodObject<{
|
|
|
1596
1557
|
cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1597
1558
|
heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1598
1559
|
manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
1599
|
-
}
|
|
1560
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1600
1561
|
created_at: string;
|
|
1601
1562
|
climate_setting_schedule_id: string;
|
|
1602
1563
|
schedule_type: "time_bound";
|
|
@@ -1631,10 +1592,6 @@ export declare const device: z.ZodObject<{
|
|
|
1631
1592
|
heating_set_point_fahrenheit?: number | undefined;
|
|
1632
1593
|
manual_override_allowed?: boolean | undefined;
|
|
1633
1594
|
}>>>;
|
|
1634
|
-
min_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1635
|
-
min_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1636
|
-
max_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1637
|
-
max_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1638
1595
|
min_heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1639
1596
|
min_heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1640
1597
|
max_heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1650,6 +1607,8 @@ export declare const device: z.ZodObject<{
|
|
|
1650
1607
|
can_enable_automatic_heating?: boolean | undefined;
|
|
1651
1608
|
can_enable_automatic_cooling?: boolean | undefined;
|
|
1652
1609
|
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
1610
|
+
is_heating_available?: true | undefined;
|
|
1611
|
+
is_cooling_available?: true | undefined;
|
|
1653
1612
|
is_heating?: boolean | undefined;
|
|
1654
1613
|
is_cooling?: boolean | undefined;
|
|
1655
1614
|
is_fan_running?: boolean | undefined;
|
|
@@ -1702,8 +1661,6 @@ export declare const device: z.ZodObject<{
|
|
|
1702
1661
|
min_heating_set_point_fahrenheit?: number | undefined;
|
|
1703
1662
|
max_heating_set_point_celsius?: number | undefined;
|
|
1704
1663
|
max_heating_set_point_fahrenheit?: number | undefined;
|
|
1705
|
-
is_cooling_available?: true | undefined;
|
|
1706
|
-
is_heating_available?: true | undefined;
|
|
1707
1664
|
min_heating_cooling_delta_celsius?: number | undefined;
|
|
1708
1665
|
min_heating_cooling_delta_fahrenheit?: number | undefined;
|
|
1709
1666
|
}, {
|
|
@@ -1713,6 +1670,8 @@ export declare const device: z.ZodObject<{
|
|
|
1713
1670
|
can_enable_automatic_heating?: boolean | undefined;
|
|
1714
1671
|
can_enable_automatic_cooling?: boolean | undefined;
|
|
1715
1672
|
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
1673
|
+
is_heating_available?: true | undefined;
|
|
1674
|
+
is_cooling_available?: true | undefined;
|
|
1716
1675
|
is_heating?: boolean | undefined;
|
|
1717
1676
|
is_cooling?: boolean | undefined;
|
|
1718
1677
|
is_fan_running?: boolean | undefined;
|
|
@@ -1765,8 +1724,6 @@ export declare const device: z.ZodObject<{
|
|
|
1765
1724
|
min_heating_set_point_fahrenheit?: number | undefined;
|
|
1766
1725
|
max_heating_set_point_celsius?: number | undefined;
|
|
1767
1726
|
max_heating_set_point_fahrenheit?: number | undefined;
|
|
1768
|
-
is_cooling_available?: true | undefined;
|
|
1769
|
-
is_heating_available?: true | undefined;
|
|
1770
1727
|
min_heating_cooling_delta_celsius?: number | undefined;
|
|
1771
1728
|
min_heating_cooling_delta_fahrenheit?: number | undefined;
|
|
1772
1729
|
}>, z.ZodObject<{
|
|
@@ -1839,15 +1796,16 @@ export declare const device: z.ZodObject<{
|
|
|
1839
1796
|
heating_set_point_fahrenheit?: number | undefined;
|
|
1840
1797
|
}>>>;
|
|
1841
1798
|
is_climate_setting_schedule_active: z.ZodOptional<z.ZodBoolean>;
|
|
1842
|
-
active_climate_setting_schedule: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1843
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1844
|
-
created_at: z.ZodString;
|
|
1845
|
-
errors: z.ZodAny;
|
|
1799
|
+
active_climate_setting_schedule: z.ZodOptional<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
1846
1800
|
climate_setting_schedule_id: z.ZodString;
|
|
1847
1801
|
schedule_type: z.ZodLiteral<"time_bound">;
|
|
1848
1802
|
device_id: z.ZodString;
|
|
1803
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1849
1804
|
schedule_starts_at: z.ZodString;
|
|
1850
1805
|
schedule_ends_at: z.ZodString;
|
|
1806
|
+
created_at: z.ZodString;
|
|
1807
|
+
errors: z.ZodAny;
|
|
1808
|
+
}, {
|
|
1851
1809
|
automatic_heating_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1852
1810
|
automatic_cooling_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1853
1811
|
hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
|
|
@@ -1856,7 +1814,7 @@ export declare const device: z.ZodObject<{
|
|
|
1856
1814
|
cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1857
1815
|
heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1858
1816
|
manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
1859
|
-
}
|
|
1817
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1860
1818
|
created_at: string;
|
|
1861
1819
|
climate_setting_schedule_id: string;
|
|
1862
1820
|
schedule_type: "time_bound";
|
|
@@ -1903,6 +1861,7 @@ export declare const device: z.ZodObject<{
|
|
|
1903
1861
|
can_enable_automatic_heating?: boolean | undefined;
|
|
1904
1862
|
can_enable_automatic_cooling?: boolean | undefined;
|
|
1905
1863
|
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
1864
|
+
is_heating_available?: true | undefined;
|
|
1906
1865
|
is_cooling_available?: false | undefined;
|
|
1907
1866
|
is_heating?: boolean | undefined;
|
|
1908
1867
|
is_cooling?: boolean | undefined;
|
|
@@ -1952,7 +1911,6 @@ export declare const device: z.ZodObject<{
|
|
|
1952
1911
|
min_heating_set_point_fahrenheit?: number | undefined;
|
|
1953
1912
|
max_heating_set_point_celsius?: number | undefined;
|
|
1954
1913
|
max_heating_set_point_fahrenheit?: number | undefined;
|
|
1955
|
-
is_heating_available?: true | undefined;
|
|
1956
1914
|
}, {
|
|
1957
1915
|
temperature_fahrenheit?: number | undefined;
|
|
1958
1916
|
temperature_celsius?: number | undefined;
|
|
@@ -1960,6 +1918,7 @@ export declare const device: z.ZodObject<{
|
|
|
1960
1918
|
can_enable_automatic_heating?: boolean | undefined;
|
|
1961
1919
|
can_enable_automatic_cooling?: boolean | undefined;
|
|
1962
1920
|
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
1921
|
+
is_heating_available?: true | undefined;
|
|
1963
1922
|
is_cooling_available?: false | undefined;
|
|
1964
1923
|
is_heating?: boolean | undefined;
|
|
1965
1924
|
is_cooling?: boolean | undefined;
|
|
@@ -2009,7 +1968,6 @@ export declare const device: z.ZodObject<{
|
|
|
2009
1968
|
min_heating_set_point_fahrenheit?: number | undefined;
|
|
2010
1969
|
max_heating_set_point_celsius?: number | undefined;
|
|
2011
1970
|
max_heating_set_point_fahrenheit?: number | undefined;
|
|
2012
|
-
is_heating_available?: true | undefined;
|
|
2013
1971
|
}>, z.ZodObject<{
|
|
2014
1972
|
temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
2015
1973
|
temperature_celsius: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2080,15 +2038,16 @@ export declare const device: z.ZodObject<{
|
|
|
2080
2038
|
heating_set_point_fahrenheit?: number | undefined;
|
|
2081
2039
|
}>>>;
|
|
2082
2040
|
is_climate_setting_schedule_active: z.ZodOptional<z.ZodBoolean>;
|
|
2083
|
-
active_climate_setting_schedule: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
2084
|
-
name: z.ZodOptional<z.ZodString>;
|
|
2085
|
-
created_at: z.ZodString;
|
|
2086
|
-
errors: z.ZodAny;
|
|
2041
|
+
active_climate_setting_schedule: z.ZodOptional<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
2087
2042
|
climate_setting_schedule_id: z.ZodString;
|
|
2088
2043
|
schedule_type: z.ZodLiteral<"time_bound">;
|
|
2089
2044
|
device_id: z.ZodString;
|
|
2045
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2090
2046
|
schedule_starts_at: z.ZodString;
|
|
2091
2047
|
schedule_ends_at: z.ZodString;
|
|
2048
|
+
created_at: z.ZodString;
|
|
2049
|
+
errors: z.ZodAny;
|
|
2050
|
+
}, {
|
|
2092
2051
|
automatic_heating_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2093
2052
|
automatic_cooling_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2094
2053
|
hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
|
|
@@ -2097,7 +2056,7 @@ export declare const device: z.ZodObject<{
|
|
|
2097
2056
|
cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2098
2057
|
heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
2099
2058
|
manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
2100
|
-
}
|
|
2059
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2101
2060
|
created_at: string;
|
|
2102
2061
|
climate_setting_schedule_id: string;
|
|
2103
2062
|
schedule_type: "time_bound";
|
|
@@ -2145,6 +2104,7 @@ export declare const device: z.ZodObject<{
|
|
|
2145
2104
|
can_enable_automatic_cooling?: boolean | undefined;
|
|
2146
2105
|
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
2147
2106
|
is_heating_available?: false | undefined;
|
|
2107
|
+
is_cooling_available?: true | undefined;
|
|
2148
2108
|
is_heating?: boolean | undefined;
|
|
2149
2109
|
is_cooling?: boolean | undefined;
|
|
2150
2110
|
is_fan_running?: boolean | undefined;
|
|
@@ -2193,7 +2153,6 @@ export declare const device: z.ZodObject<{
|
|
|
2193
2153
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
2194
2154
|
max_cooling_set_point_celsius?: number | undefined;
|
|
2195
2155
|
max_cooling_set_point_fahrenheit?: number | undefined;
|
|
2196
|
-
is_cooling_available?: true | undefined;
|
|
2197
2156
|
}, {
|
|
2198
2157
|
temperature_fahrenheit?: number | undefined;
|
|
2199
2158
|
temperature_celsius?: number | undefined;
|
|
@@ -2202,6 +2161,7 @@ export declare const device: z.ZodObject<{
|
|
|
2202
2161
|
can_enable_automatic_cooling?: boolean | undefined;
|
|
2203
2162
|
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
2204
2163
|
is_heating_available?: false | undefined;
|
|
2164
|
+
is_cooling_available?: true | undefined;
|
|
2205
2165
|
is_heating?: boolean | undefined;
|
|
2206
2166
|
is_cooling?: boolean | undefined;
|
|
2207
2167
|
is_fan_running?: boolean | undefined;
|
|
@@ -2250,18 +2210,70 @@ export declare const device: z.ZodObject<{
|
|
|
2250
2210
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
2251
2211
|
max_cooling_set_point_celsius?: number | undefined;
|
|
2252
2212
|
max_cooling_set_point_fahrenheit?: number | undefined;
|
|
2253
|
-
is_cooling_available?: true | undefined;
|
|
2254
2213
|
}>]>>>;
|
|
2214
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
2215
|
+
location_name: z.ZodOptional<z.ZodString>;
|
|
2216
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
2217
|
+
}, "strip", z.ZodTypeAny, {
|
|
2218
|
+
location_name?: string | undefined;
|
|
2219
|
+
timezone?: string | undefined;
|
|
2220
|
+
}, {
|
|
2221
|
+
location_name?: string | undefined;
|
|
2222
|
+
timezone?: string | undefined;
|
|
2223
|
+
}>>;
|
|
2224
|
+
connected_account_id: z.ZodString;
|
|
2255
2225
|
workspace_id: z.ZodString;
|
|
2226
|
+
errors: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
2227
|
+
message: z.ZodString;
|
|
2228
|
+
is_device_error: z.ZodLiteral<true>;
|
|
2229
|
+
}, {
|
|
2230
|
+
error_code: z.ZodString;
|
|
2231
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2232
|
+
message: string;
|
|
2233
|
+
error_code: string;
|
|
2234
|
+
is_device_error: true;
|
|
2235
|
+
}, {
|
|
2236
|
+
message: string;
|
|
2237
|
+
error_code: string;
|
|
2238
|
+
is_device_error: true;
|
|
2239
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2240
|
+
message: z.ZodString;
|
|
2241
|
+
is_connected_account_error: z.ZodLiteral<true>;
|
|
2242
|
+
}, {
|
|
2243
|
+
error_code: z.ZodString;
|
|
2244
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2245
|
+
message: string;
|
|
2246
|
+
is_connected_account_error: true;
|
|
2247
|
+
error_code: string;
|
|
2248
|
+
}, {
|
|
2249
|
+
message: string;
|
|
2250
|
+
is_connected_account_error: true;
|
|
2251
|
+
error_code: string;
|
|
2252
|
+
}>]>, "many">;
|
|
2253
|
+
warnings: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
2254
|
+
message: z.ZodString;
|
|
2255
|
+
}, {
|
|
2256
|
+
warning_code: z.ZodString;
|
|
2257
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2258
|
+
message: string;
|
|
2259
|
+
warning_code: string;
|
|
2260
|
+
}, {
|
|
2261
|
+
message: string;
|
|
2262
|
+
warning_code: string;
|
|
2263
|
+
}>, "many">;
|
|
2264
|
+
created_at: z.ZodString;
|
|
2256
2265
|
is_managed: z.ZodLiteral<true>;
|
|
2266
|
+
custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
2267
|
+
}, z.objectUtil.extendShape<{
|
|
2257
2268
|
can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
|
|
2258
2269
|
can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
|
|
2259
2270
|
can_program_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
2260
2271
|
can_program_online_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
2272
|
+
}, {
|
|
2261
2273
|
can_simulate_removal: z.ZodOptional<z.ZodBoolean>;
|
|
2262
2274
|
can_simulate_connection: z.ZodOptional<z.ZodBoolean>;
|
|
2263
2275
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
2264
|
-
}
|
|
2276
|
+
}>>, "strip", z.ZodTypeAny, {
|
|
2265
2277
|
location: {
|
|
2266
2278
|
location_name?: string | undefined;
|
|
2267
2279
|
timezone?: string | undefined;
|
|
@@ -2284,9 +2296,9 @@ export declare const device: z.ZodObject<{
|
|
|
2284
2296
|
custom_metadata: Record<string, string | boolean>;
|
|
2285
2297
|
device_id: string;
|
|
2286
2298
|
display_name: string;
|
|
2287
|
-
device_type: "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" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "ios_phone" | "android_phone";
|
|
2299
|
+
device_type: ("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") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat") | ("ios_phone" | "android_phone");
|
|
2288
2300
|
capabilities_supported: ("phone" | "access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
|
|
2289
|
-
properties:
|
|
2301
|
+
properties: {
|
|
2290
2302
|
name: string;
|
|
2291
2303
|
appearance: {
|
|
2292
2304
|
name: string;
|
|
@@ -2301,6 +2313,13 @@ export declare const device: z.ZodObject<{
|
|
|
2301
2313
|
online_access_codes_supported?: boolean | undefined;
|
|
2302
2314
|
accessory_keypad_supported?: boolean | undefined;
|
|
2303
2315
|
};
|
|
2316
|
+
battery?: {
|
|
2317
|
+
status: "low" | "full" | "critical" | "good";
|
|
2318
|
+
level: number;
|
|
2319
|
+
} | undefined;
|
|
2320
|
+
manufacturer?: string | undefined;
|
|
2321
|
+
battery_level?: number | undefined;
|
|
2322
|
+
serial_number?: string | undefined;
|
|
2304
2323
|
accessory_keypad?: {
|
|
2305
2324
|
is_connected: boolean;
|
|
2306
2325
|
battery?: {
|
|
@@ -2308,15 +2327,8 @@ export declare const device: z.ZodObject<{
|
|
|
2308
2327
|
} | undefined;
|
|
2309
2328
|
} | undefined;
|
|
2310
2329
|
has_direct_power?: boolean | undefined;
|
|
2311
|
-
battery_level?: number | undefined;
|
|
2312
|
-
battery?: {
|
|
2313
|
-
status: "low" | "full" | "critical" | "good";
|
|
2314
|
-
level: number;
|
|
2315
|
-
} | undefined;
|
|
2316
|
-
manufacturer?: string | undefined;
|
|
2317
2330
|
image_url?: string | undefined;
|
|
2318
2331
|
image_alt_text?: string | undefined;
|
|
2319
|
-
serial_number?: string | undefined;
|
|
2320
2332
|
online_access_codes_enabled?: boolean | undefined;
|
|
2321
2333
|
offline_access_codes_enabled?: boolean | undefined;
|
|
2322
2334
|
supports_accessory_keypad?: boolean | undefined;
|
|
@@ -2546,6 +2558,8 @@ export declare const device: z.ZodObject<{
|
|
|
2546
2558
|
can_enable_automatic_heating?: boolean | undefined;
|
|
2547
2559
|
can_enable_automatic_cooling?: boolean | undefined;
|
|
2548
2560
|
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
2561
|
+
is_heating_available?: true | undefined;
|
|
2562
|
+
is_cooling_available?: true | undefined;
|
|
2549
2563
|
is_heating?: boolean | undefined;
|
|
2550
2564
|
is_cooling?: boolean | undefined;
|
|
2551
2565
|
is_fan_running?: boolean | undefined;
|
|
@@ -2598,8 +2612,6 @@ export declare const device: z.ZodObject<{
|
|
|
2598
2612
|
min_heating_set_point_fahrenheit?: number | undefined;
|
|
2599
2613
|
max_heating_set_point_celsius?: number | undefined;
|
|
2600
2614
|
max_heating_set_point_fahrenheit?: number | undefined;
|
|
2601
|
-
is_cooling_available?: true | undefined;
|
|
2602
|
-
is_heating_available?: true | undefined;
|
|
2603
2615
|
min_heating_cooling_delta_celsius?: number | undefined;
|
|
2604
2616
|
min_heating_cooling_delta_fahrenheit?: number | undefined;
|
|
2605
2617
|
} | {
|
|
@@ -2609,6 +2621,7 @@ export declare const device: z.ZodObject<{
|
|
|
2609
2621
|
can_enable_automatic_heating?: boolean | undefined;
|
|
2610
2622
|
can_enable_automatic_cooling?: boolean | undefined;
|
|
2611
2623
|
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
2624
|
+
is_heating_available?: true | undefined;
|
|
2612
2625
|
is_cooling_available?: false | undefined;
|
|
2613
2626
|
is_heating?: boolean | undefined;
|
|
2614
2627
|
is_cooling?: boolean | undefined;
|
|
@@ -2658,7 +2671,6 @@ export declare const device: z.ZodObject<{
|
|
|
2658
2671
|
min_heating_set_point_fahrenheit?: number | undefined;
|
|
2659
2672
|
max_heating_set_point_celsius?: number | undefined;
|
|
2660
2673
|
max_heating_set_point_fahrenheit?: number | undefined;
|
|
2661
|
-
is_heating_available?: true | undefined;
|
|
2662
2674
|
} | {
|
|
2663
2675
|
temperature_fahrenheit?: number | undefined;
|
|
2664
2676
|
temperature_celsius?: number | undefined;
|
|
@@ -2667,6 +2679,7 @@ export declare const device: z.ZodObject<{
|
|
|
2667
2679
|
can_enable_automatic_cooling?: boolean | undefined;
|
|
2668
2680
|
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
2669
2681
|
is_heating_available?: false | undefined;
|
|
2682
|
+
is_cooling_available?: true | undefined;
|
|
2670
2683
|
is_heating?: boolean | undefined;
|
|
2671
2684
|
is_cooling?: boolean | undefined;
|
|
2672
2685
|
is_fan_running?: boolean | undefined;
|
|
@@ -2715,904 +2728,43 @@ export declare const device: z.ZodObject<{
|
|
|
2715
2728
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
2716
2729
|
max_cooling_set_point_celsius?: number | undefined;
|
|
2717
2730
|
max_cooling_set_point_fahrenheit?: number | undefined;
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2730
|
-
|
|
2731
|
-
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
|
|
2739
|
-
|
|
2740
|
-
has_direct_power?: boolean | undefined;
|
|
2741
|
-
battery_level?: number | undefined;
|
|
2742
|
-
battery?: {
|
|
2743
|
-
status: "low" | "full" | "critical" | "good";
|
|
2744
|
-
level: number;
|
|
2745
|
-
} | undefined;
|
|
2746
|
-
manufacturer?: string | undefined;
|
|
2747
|
-
image_url?: string | undefined;
|
|
2748
|
-
image_alt_text?: string | undefined;
|
|
2749
|
-
serial_number?: string | undefined;
|
|
2750
|
-
online_access_codes_enabled?: boolean | undefined;
|
|
2751
|
-
offline_access_codes_enabled?: boolean | undefined;
|
|
2752
|
-
supports_accessory_keypad?: boolean | undefined;
|
|
2753
|
-
supports_offline_access_codes?: boolean | undefined;
|
|
2754
|
-
noise_level_decibels?: number | undefined;
|
|
2755
|
-
currently_triggering_noise_threshold_ids?: string[] | undefined;
|
|
2756
|
-
} & {
|
|
2757
|
-
assa_abloy_credential_service_metadata?: {
|
|
2758
|
-
has_active_endpoint: boolean;
|
|
2759
|
-
endpoints: {
|
|
2760
|
-
endpoint_id: string;
|
|
2761
|
-
is_active: boolean;
|
|
2762
|
-
}[];
|
|
2763
|
-
} | undefined;
|
|
2764
|
-
} & ({
|
|
2765
|
-
august_metadata?: {
|
|
2766
|
-
lock_id: string;
|
|
2767
|
-
lock_name: string;
|
|
2768
|
-
house_name: string;
|
|
2769
|
-
has_keypad: boolean;
|
|
2770
|
-
keypad_battery_level?: string | undefined;
|
|
2771
|
-
model?: string | undefined;
|
|
2772
|
-
house_id?: string | undefined;
|
|
2773
|
-
} | undefined;
|
|
2774
|
-
avigilon_alta_metadata?: {
|
|
2775
|
-
entry_name: string;
|
|
2776
|
-
org_name: string;
|
|
2777
|
-
zone_id: number;
|
|
2778
|
-
zone_name: string;
|
|
2779
|
-
site_id: number;
|
|
2780
|
-
site_name: string;
|
|
2781
|
-
entry_relays_total_count: number;
|
|
2782
|
-
} | undefined;
|
|
2783
|
-
schlage_metadata?: {
|
|
2784
|
-
device_id: string;
|
|
2785
|
-
device_name: string;
|
|
2786
|
-
access_code_length: number | null;
|
|
2787
|
-
model?: string | undefined;
|
|
2788
|
-
} | undefined;
|
|
2789
|
-
smartthings_metadata?: {
|
|
2790
|
-
device_id: string;
|
|
2791
|
-
device_name: string;
|
|
2792
|
-
model?: string | undefined;
|
|
2793
|
-
location_id?: string | undefined;
|
|
2794
|
-
} | undefined;
|
|
2795
|
-
lockly_metadata?: {
|
|
2796
|
-
device_id: string;
|
|
2797
|
-
device_name: string;
|
|
2798
|
-
model?: string | undefined;
|
|
2799
|
-
} | undefined;
|
|
2800
|
-
nuki_metadata?: {
|
|
2801
|
-
device_id: string;
|
|
2802
|
-
device_name: string;
|
|
2803
|
-
keypad_battery_critical?: boolean | undefined;
|
|
2804
|
-
keypad_paired?: boolean | undefined;
|
|
2805
|
-
keypad_2_paired?: boolean | undefined;
|
|
2806
|
-
} | undefined;
|
|
2807
|
-
kwikset_metadata?: {
|
|
2808
|
-
device_id: string;
|
|
2809
|
-
device_name: string;
|
|
2810
|
-
model_number: string;
|
|
2811
|
-
} | undefined;
|
|
2812
|
-
salto_metadata?: {
|
|
2813
|
-
lock_type: string;
|
|
2814
|
-
lock_id: string;
|
|
2815
|
-
customer_reference: string;
|
|
2816
|
-
battery_level: string;
|
|
2817
|
-
locked_state: string;
|
|
2818
|
-
model?: string | undefined;
|
|
2819
|
-
} | undefined;
|
|
2820
|
-
genie_metadata?: {
|
|
2821
|
-
device_name: string;
|
|
2822
|
-
door_name: string;
|
|
2823
|
-
} | undefined;
|
|
2824
|
-
brivo_metadata?: {
|
|
2825
|
-
device_name: string;
|
|
2826
|
-
} | undefined;
|
|
2827
|
-
igloo_metadata?: {
|
|
2828
|
-
device_id: string;
|
|
2829
|
-
bridge_id: string;
|
|
2830
|
-
model?: string | undefined;
|
|
2831
|
-
} | undefined;
|
|
2832
|
-
noiseaware_metadata?: {
|
|
2833
|
-
device_id: string;
|
|
2834
|
-
device_model: "indoor" | "outdoor";
|
|
2835
|
-
device_name: string;
|
|
2836
|
-
noise_level_nrs: number;
|
|
2837
|
-
noise_level_decibel: number;
|
|
2838
|
-
} | undefined;
|
|
2839
|
-
minut_metadata?: {
|
|
2840
|
-
device_id: string;
|
|
2841
|
-
device_name: string;
|
|
2842
|
-
latest_sensor_values: {
|
|
2843
|
-
pressure: {
|
|
2844
|
-
time: string;
|
|
2845
|
-
value: number;
|
|
2846
|
-
};
|
|
2847
|
-
temperature: {
|
|
2848
|
-
time: string;
|
|
2849
|
-
value: number;
|
|
2850
|
-
};
|
|
2851
|
-
sound: {
|
|
2852
|
-
time: string;
|
|
2853
|
-
value: number;
|
|
2854
|
-
};
|
|
2855
|
-
humidity: {
|
|
2856
|
-
time: string;
|
|
2857
|
-
value: number;
|
|
2858
|
-
};
|
|
2859
|
-
accelerometer_z: {
|
|
2860
|
-
time: string;
|
|
2861
|
-
value: number;
|
|
2862
|
-
};
|
|
2863
|
-
};
|
|
2864
|
-
} | undefined;
|
|
2865
|
-
four_suites_metadata?: {
|
|
2866
|
-
device_id: number;
|
|
2867
|
-
device_name: string;
|
|
2868
|
-
reclose_delay_in_seconds: number;
|
|
2869
|
-
} | undefined;
|
|
2870
|
-
two_n_metadata?: {
|
|
2871
|
-
device_id: number;
|
|
2872
|
-
device_name: string;
|
|
2873
|
-
} | undefined;
|
|
2874
|
-
controlbyweb_metadata?: {
|
|
2875
|
-
device_id: string;
|
|
2876
|
-
device_name: string;
|
|
2877
|
-
relay_name: string | null;
|
|
2878
|
-
} | undefined;
|
|
2879
|
-
ttlock_metadata?: {
|
|
2880
|
-
lock_id: number;
|
|
2881
|
-
lock_alias: string;
|
|
2882
|
-
feature_value: string;
|
|
2883
|
-
} | undefined;
|
|
2884
|
-
seam_bridge_metadata?: {
|
|
2885
|
-
name: string;
|
|
2886
|
-
device_num: number;
|
|
2887
|
-
unlock_method?: "bridge" | "doorking" | undefined;
|
|
2888
|
-
} | undefined;
|
|
2889
|
-
igloohome_metadata?: {
|
|
2890
|
-
device_id: string;
|
|
2891
|
-
device_name: string;
|
|
2892
|
-
bridge_id?: string | undefined;
|
|
2893
|
-
bridge_name?: string | undefined;
|
|
2894
|
-
keypad_id?: string | undefined;
|
|
2895
|
-
} | undefined;
|
|
2896
|
-
nest_metadata?: {
|
|
2897
|
-
device_name: string;
|
|
2898
|
-
nest_device_id: string;
|
|
2899
|
-
custom_name: string;
|
|
2900
|
-
} | undefined;
|
|
2901
|
-
ecobee_metadata?: {
|
|
2902
|
-
device_name: string;
|
|
2903
|
-
ecobee_device_id: string;
|
|
2904
|
-
} | undefined;
|
|
2905
|
-
honeywell_resideo_metadata?: {
|
|
2906
|
-
device_name: string;
|
|
2907
|
-
honeywell_resideo_device_id: string;
|
|
2908
|
-
} | undefined;
|
|
2909
|
-
hubitat_metadata?: {
|
|
2910
|
-
device_id: string;
|
|
2911
|
-
device_name: string;
|
|
2912
|
-
device_label: string;
|
|
2913
|
-
} | undefined;
|
|
2914
|
-
dormakaba_oracode_metadata?: {
|
|
2915
|
-
site_id: number;
|
|
2916
|
-
site_name: string;
|
|
2917
|
-
door_name: string;
|
|
2918
|
-
door_id: number;
|
|
2919
|
-
door_is_wireless: boolean;
|
|
2920
|
-
device_id?: number | undefined;
|
|
2921
|
-
iana_timezone?: string | undefined;
|
|
2922
|
-
predefined_time_slots?: {
|
|
2923
|
-
name: string;
|
|
2924
|
-
prefix: number;
|
|
2925
|
-
check_in_time: string;
|
|
2926
|
-
check_out_time: string;
|
|
2927
|
-
is_24_hour: boolean;
|
|
2928
|
-
is_biweekly_mode: boolean;
|
|
2929
|
-
is_one_shot: boolean;
|
|
2930
|
-
is_master: boolean;
|
|
2931
|
-
ext_dormakaba_oracode_user_level_prefix: number;
|
|
2932
|
-
dormakaba_oracode_user_level_id: string;
|
|
2933
|
-
}[] | undefined;
|
|
2934
|
-
} | undefined;
|
|
2935
|
-
wyze_metadata?: {
|
|
2936
|
-
device_id: string;
|
|
2937
|
-
device_name: string;
|
|
2938
|
-
product_name: string;
|
|
2939
|
-
product_type: string;
|
|
2940
|
-
product_model: string;
|
|
2941
|
-
device_info_model: string;
|
|
2942
|
-
keypad_uuid?: string | undefined;
|
|
2943
|
-
locker_status_hardlock?: number | undefined;
|
|
2944
|
-
} | undefined;
|
|
2945
|
-
tedee_metadata?: {
|
|
2946
|
-
device_id: number;
|
|
2947
|
-
device_model: string;
|
|
2948
|
-
device_name: string;
|
|
2949
|
-
bridge_id: number;
|
|
2950
|
-
bridge_name: string;
|
|
2951
|
-
serial_number: string;
|
|
2952
|
-
keypad_id?: number | undefined;
|
|
2953
|
-
} | undefined;
|
|
2954
|
-
} & ({
|
|
2955
|
-
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
2956
|
-
code_constraints?: ({
|
|
2957
|
-
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";
|
|
2958
|
-
} | {
|
|
2959
|
-
constraint_type: "name_length" | "name_must_be_unique";
|
|
2960
|
-
min_length?: number | undefined;
|
|
2961
|
-
max_length?: number | undefined;
|
|
2962
|
-
})[] | undefined;
|
|
2963
|
-
supported_code_lengths?: number[] | undefined;
|
|
2964
|
-
max_active_codes_supported?: number | undefined;
|
|
2965
|
-
supports_backup_access_code_pool?: boolean | undefined;
|
|
2966
|
-
has_native_entry_events?: boolean | undefined;
|
|
2967
|
-
locked?: boolean | undefined;
|
|
2968
|
-
keypad_battery?: {
|
|
2969
|
-
level: number;
|
|
2970
|
-
} | undefined;
|
|
2971
|
-
door_open?: boolean | undefined;
|
|
2972
|
-
} & ({
|
|
2973
|
-
temperature_fahrenheit?: number | undefined;
|
|
2974
|
-
temperature_celsius?: number | undefined;
|
|
2975
|
-
relative_humidity?: number | undefined;
|
|
2976
|
-
can_enable_automatic_heating?: boolean | undefined;
|
|
2977
|
-
can_enable_automatic_cooling?: boolean | undefined;
|
|
2978
|
-
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
2979
|
-
is_heating?: boolean | undefined;
|
|
2980
|
-
is_cooling?: boolean | undefined;
|
|
2981
|
-
is_fan_running?: boolean | undefined;
|
|
2982
|
-
fan_mode_setting?: "auto" | "on" | undefined;
|
|
2983
|
-
is_temporary_manual_override_active?: boolean | undefined;
|
|
2984
|
-
current_climate_setting?: {
|
|
2985
|
-
automatic_heating_enabled: boolean;
|
|
2986
|
-
automatic_cooling_enabled: boolean;
|
|
2987
|
-
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
2988
|
-
manual_override_allowed: boolean;
|
|
2989
|
-
cooling_set_point_celsius?: number | undefined;
|
|
2990
|
-
heating_set_point_celsius?: number | undefined;
|
|
2991
|
-
cooling_set_point_fahrenheit?: number | undefined;
|
|
2992
|
-
heating_set_point_fahrenheit?: number | undefined;
|
|
2993
|
-
} | undefined;
|
|
2994
|
-
default_climate_setting?: {
|
|
2995
|
-
automatic_heating_enabled: boolean;
|
|
2996
|
-
automatic_cooling_enabled: boolean;
|
|
2997
|
-
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
2998
|
-
manual_override_allowed: boolean;
|
|
2999
|
-
cooling_set_point_celsius?: number | undefined;
|
|
3000
|
-
heating_set_point_celsius?: number | undefined;
|
|
3001
|
-
cooling_set_point_fahrenheit?: number | undefined;
|
|
3002
|
-
heating_set_point_fahrenheit?: number | undefined;
|
|
3003
|
-
} | undefined;
|
|
3004
|
-
is_climate_setting_schedule_active?: boolean | undefined;
|
|
3005
|
-
active_climate_setting_schedule?: {
|
|
3006
|
-
created_at: string;
|
|
3007
|
-
climate_setting_schedule_id: string;
|
|
3008
|
-
schedule_type: "time_bound";
|
|
3009
|
-
device_id: string;
|
|
3010
|
-
schedule_starts_at: string;
|
|
3011
|
-
schedule_ends_at: string;
|
|
3012
|
-
name?: string | undefined;
|
|
3013
|
-
errors?: any;
|
|
3014
|
-
automatic_heating_enabled?: boolean | undefined;
|
|
3015
|
-
automatic_cooling_enabled?: boolean | undefined;
|
|
3016
|
-
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
3017
|
-
cooling_set_point_celsius?: number | undefined;
|
|
3018
|
-
heating_set_point_celsius?: number | undefined;
|
|
3019
|
-
cooling_set_point_fahrenheit?: number | undefined;
|
|
3020
|
-
heating_set_point_fahrenheit?: number | undefined;
|
|
3021
|
-
manual_override_allowed?: boolean | undefined;
|
|
3022
|
-
} | undefined;
|
|
3023
|
-
min_cooling_set_point_celsius?: number | undefined;
|
|
3024
|
-
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
3025
|
-
max_cooling_set_point_celsius?: number | undefined;
|
|
3026
|
-
max_cooling_set_point_fahrenheit?: number | undefined;
|
|
3027
|
-
min_heating_set_point_celsius?: number | undefined;
|
|
3028
|
-
min_heating_set_point_fahrenheit?: number | undefined;
|
|
3029
|
-
max_heating_set_point_celsius?: number | undefined;
|
|
3030
|
-
max_heating_set_point_fahrenheit?: number | undefined;
|
|
3031
|
-
is_cooling_available?: true | undefined;
|
|
3032
|
-
is_heating_available?: true | undefined;
|
|
3033
|
-
min_heating_cooling_delta_celsius?: number | undefined;
|
|
3034
|
-
min_heating_cooling_delta_fahrenheit?: number | undefined;
|
|
3035
|
-
} | {
|
|
3036
|
-
temperature_fahrenheit?: number | undefined;
|
|
3037
|
-
temperature_celsius?: number | undefined;
|
|
3038
|
-
relative_humidity?: number | undefined;
|
|
3039
|
-
can_enable_automatic_heating?: boolean | undefined;
|
|
3040
|
-
can_enable_automatic_cooling?: boolean | undefined;
|
|
3041
|
-
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
3042
|
-
is_cooling_available?: false | undefined;
|
|
3043
|
-
is_heating?: boolean | undefined;
|
|
3044
|
-
is_cooling?: boolean | undefined;
|
|
3045
|
-
is_fan_running?: boolean | undefined;
|
|
3046
|
-
fan_mode_setting?: "auto" | "on" | undefined;
|
|
3047
|
-
is_temporary_manual_override_active?: boolean | undefined;
|
|
3048
|
-
current_climate_setting?: {
|
|
3049
|
-
automatic_heating_enabled: boolean;
|
|
3050
|
-
automatic_cooling_enabled: boolean;
|
|
3051
|
-
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
3052
|
-
manual_override_allowed: boolean;
|
|
3053
|
-
cooling_set_point_celsius?: number | undefined;
|
|
3054
|
-
heating_set_point_celsius?: number | undefined;
|
|
3055
|
-
cooling_set_point_fahrenheit?: number | undefined;
|
|
3056
|
-
heating_set_point_fahrenheit?: number | undefined;
|
|
3057
|
-
} | undefined;
|
|
3058
|
-
default_climate_setting?: {
|
|
3059
|
-
automatic_heating_enabled: boolean;
|
|
3060
|
-
automatic_cooling_enabled: boolean;
|
|
3061
|
-
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
3062
|
-
manual_override_allowed: boolean;
|
|
3063
|
-
cooling_set_point_celsius?: number | undefined;
|
|
3064
|
-
heating_set_point_celsius?: number | undefined;
|
|
3065
|
-
cooling_set_point_fahrenheit?: number | undefined;
|
|
3066
|
-
heating_set_point_fahrenheit?: number | undefined;
|
|
3067
|
-
} | undefined;
|
|
3068
|
-
is_climate_setting_schedule_active?: boolean | undefined;
|
|
3069
|
-
active_climate_setting_schedule?: {
|
|
3070
|
-
created_at: string;
|
|
3071
|
-
climate_setting_schedule_id: string;
|
|
3072
|
-
schedule_type: "time_bound";
|
|
3073
|
-
device_id: string;
|
|
3074
|
-
schedule_starts_at: string;
|
|
3075
|
-
schedule_ends_at: string;
|
|
3076
|
-
name?: string | undefined;
|
|
3077
|
-
errors?: any;
|
|
3078
|
-
automatic_heating_enabled?: boolean | undefined;
|
|
3079
|
-
automatic_cooling_enabled?: boolean | undefined;
|
|
3080
|
-
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
3081
|
-
cooling_set_point_celsius?: number | undefined;
|
|
3082
|
-
heating_set_point_celsius?: number | undefined;
|
|
3083
|
-
cooling_set_point_fahrenheit?: number | undefined;
|
|
3084
|
-
heating_set_point_fahrenheit?: number | undefined;
|
|
3085
|
-
manual_override_allowed?: boolean | undefined;
|
|
3086
|
-
} | undefined;
|
|
3087
|
-
min_heating_set_point_celsius?: number | undefined;
|
|
3088
|
-
min_heating_set_point_fahrenheit?: number | undefined;
|
|
3089
|
-
max_heating_set_point_celsius?: number | undefined;
|
|
3090
|
-
max_heating_set_point_fahrenheit?: number | undefined;
|
|
3091
|
-
is_heating_available?: true | undefined;
|
|
3092
|
-
} | {
|
|
3093
|
-
temperature_fahrenheit?: number | undefined;
|
|
3094
|
-
temperature_celsius?: number | undefined;
|
|
3095
|
-
relative_humidity?: number | undefined;
|
|
3096
|
-
can_enable_automatic_heating?: boolean | undefined;
|
|
3097
|
-
can_enable_automatic_cooling?: boolean | undefined;
|
|
3098
|
-
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
3099
|
-
is_heating_available?: false | undefined;
|
|
3100
|
-
is_heating?: boolean | undefined;
|
|
3101
|
-
is_cooling?: boolean | undefined;
|
|
3102
|
-
is_fan_running?: boolean | undefined;
|
|
3103
|
-
fan_mode_setting?: "auto" | "on" | undefined;
|
|
3104
|
-
is_temporary_manual_override_active?: boolean | undefined;
|
|
3105
|
-
current_climate_setting?: {
|
|
3106
|
-
automatic_heating_enabled: boolean;
|
|
3107
|
-
automatic_cooling_enabled: boolean;
|
|
3108
|
-
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
3109
|
-
manual_override_allowed: boolean;
|
|
3110
|
-
cooling_set_point_celsius?: number | undefined;
|
|
3111
|
-
heating_set_point_celsius?: number | undefined;
|
|
3112
|
-
cooling_set_point_fahrenheit?: number | undefined;
|
|
3113
|
-
heating_set_point_fahrenheit?: number | undefined;
|
|
3114
|
-
} | undefined;
|
|
3115
|
-
default_climate_setting?: {
|
|
3116
|
-
automatic_heating_enabled: boolean;
|
|
3117
|
-
automatic_cooling_enabled: boolean;
|
|
3118
|
-
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
3119
|
-
manual_override_allowed: boolean;
|
|
3120
|
-
cooling_set_point_celsius?: number | undefined;
|
|
3121
|
-
heating_set_point_celsius?: number | undefined;
|
|
3122
|
-
cooling_set_point_fahrenheit?: number | undefined;
|
|
3123
|
-
heating_set_point_fahrenheit?: number | undefined;
|
|
3124
|
-
} | undefined;
|
|
3125
|
-
is_climate_setting_schedule_active?: boolean | undefined;
|
|
3126
|
-
active_climate_setting_schedule?: {
|
|
3127
|
-
created_at: string;
|
|
3128
|
-
climate_setting_schedule_id: string;
|
|
3129
|
-
schedule_type: "time_bound";
|
|
3130
|
-
device_id: string;
|
|
3131
|
-
schedule_starts_at: string;
|
|
3132
|
-
schedule_ends_at: string;
|
|
3133
|
-
name?: string | undefined;
|
|
3134
|
-
errors?: any;
|
|
3135
|
-
automatic_heating_enabled?: boolean | undefined;
|
|
3136
|
-
automatic_cooling_enabled?: boolean | undefined;
|
|
3137
|
-
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
3138
|
-
cooling_set_point_celsius?: number | undefined;
|
|
3139
|
-
heating_set_point_celsius?: number | undefined;
|
|
3140
|
-
cooling_set_point_fahrenheit?: number | undefined;
|
|
3141
|
-
heating_set_point_fahrenheit?: number | undefined;
|
|
3142
|
-
manual_override_allowed?: boolean | undefined;
|
|
3143
|
-
} | undefined;
|
|
3144
|
-
min_cooling_set_point_celsius?: number | undefined;
|
|
3145
|
-
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
3146
|
-
max_cooling_set_point_celsius?: number | undefined;
|
|
3147
|
-
max_cooling_set_point_fahrenheit?: number | undefined;
|
|
3148
|
-
is_cooling_available?: true | undefined;
|
|
3149
|
-
})))) | undefined);
|
|
3150
|
-
workspace_id: string;
|
|
3151
|
-
is_managed: true;
|
|
3152
|
-
nickname?: string | undefined;
|
|
3153
|
-
can_remotely_unlock?: boolean | undefined;
|
|
3154
|
-
can_remotely_lock?: boolean | undefined;
|
|
3155
|
-
can_program_offline_access_codes?: boolean | undefined;
|
|
3156
|
-
can_program_online_access_codes?: boolean | undefined;
|
|
3157
|
-
can_simulate_removal?: boolean | undefined;
|
|
3158
|
-
can_simulate_connection?: boolean | undefined;
|
|
3159
|
-
can_simulate_disconnection?: boolean | undefined;
|
|
3160
|
-
}, {
|
|
3161
|
-
location: {
|
|
3162
|
-
location_name?: string | undefined;
|
|
3163
|
-
timezone?: string | undefined;
|
|
3164
|
-
} | null;
|
|
3165
|
-
connected_account_id: string;
|
|
3166
|
-
created_at: string;
|
|
3167
|
-
errors: ({
|
|
3168
|
-
message: string;
|
|
3169
|
-
is_connected_account_error: true;
|
|
3170
|
-
error_code: string;
|
|
3171
|
-
} | {
|
|
3172
|
-
message: string;
|
|
3173
|
-
error_code: string;
|
|
3174
|
-
is_device_error: true;
|
|
3175
|
-
})[];
|
|
3176
|
-
warnings: {
|
|
3177
|
-
message: string;
|
|
3178
|
-
warning_code: string;
|
|
3179
|
-
}[];
|
|
3180
|
-
custom_metadata: Record<string, string | boolean>;
|
|
3181
|
-
device_id: string;
|
|
3182
|
-
display_name: string;
|
|
3183
|
-
device_type: "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" | "noiseaware_activity_zone" | "minut_sensor" | "ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "ios_phone" | "android_phone";
|
|
3184
|
-
capabilities_supported: ("phone" | "access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
|
|
3185
|
-
properties: ({
|
|
3186
|
-
name: string;
|
|
3187
|
-
appearance: {
|
|
3188
|
-
name: string;
|
|
3189
|
-
};
|
|
3190
|
-
online: boolean;
|
|
3191
|
-
model: {
|
|
3192
|
-
display_name: string;
|
|
3193
|
-
manufacturer_display_name: string;
|
|
3194
|
-
can_connect_accessory_keypad?: boolean | undefined;
|
|
3195
|
-
has_built_in_keypad?: boolean | undefined;
|
|
3196
|
-
offline_access_codes_supported?: boolean | undefined;
|
|
3197
|
-
online_access_codes_supported?: boolean | undefined;
|
|
3198
|
-
accessory_keypad_supported?: boolean | undefined;
|
|
3199
|
-
};
|
|
3200
|
-
accessory_keypad?: {
|
|
3201
|
-
is_connected: boolean;
|
|
3202
|
-
battery?: {
|
|
3203
|
-
level: number;
|
|
3204
|
-
} | undefined;
|
|
3205
|
-
} | undefined;
|
|
3206
|
-
has_direct_power?: boolean | undefined;
|
|
3207
|
-
battery_level?: number | undefined;
|
|
3208
|
-
battery?: {
|
|
3209
|
-
status: "low" | "full" | "critical" | "good";
|
|
3210
|
-
level: number;
|
|
3211
|
-
} | undefined;
|
|
3212
|
-
manufacturer?: string | undefined;
|
|
3213
|
-
image_url?: string | undefined;
|
|
3214
|
-
image_alt_text?: string | undefined;
|
|
3215
|
-
serial_number?: string | undefined;
|
|
3216
|
-
online_access_codes_enabled?: boolean | undefined;
|
|
3217
|
-
offline_access_codes_enabled?: boolean | undefined;
|
|
3218
|
-
supports_accessory_keypad?: boolean | undefined;
|
|
3219
|
-
supports_offline_access_codes?: boolean | undefined;
|
|
3220
|
-
noise_level_decibels?: number | undefined;
|
|
3221
|
-
currently_triggering_noise_threshold_ids?: string[] | undefined;
|
|
3222
|
-
} & {
|
|
3223
|
-
assa_abloy_credential_service_metadata?: {
|
|
3224
|
-
has_active_endpoint: boolean;
|
|
3225
|
-
endpoints: {
|
|
3226
|
-
endpoint_id: string;
|
|
3227
|
-
is_active: boolean;
|
|
3228
|
-
}[];
|
|
3229
|
-
} | undefined;
|
|
3230
|
-
} & ({
|
|
3231
|
-
august_metadata?: {
|
|
3232
|
-
lock_id: string;
|
|
3233
|
-
lock_name: string;
|
|
3234
|
-
house_name: string;
|
|
3235
|
-
has_keypad: boolean;
|
|
3236
|
-
keypad_battery_level?: string | undefined;
|
|
3237
|
-
model?: string | undefined;
|
|
3238
|
-
house_id?: string | undefined;
|
|
3239
|
-
} | undefined;
|
|
3240
|
-
avigilon_alta_metadata?: {
|
|
3241
|
-
entry_name: string;
|
|
3242
|
-
org_name: string;
|
|
3243
|
-
zone_id: number;
|
|
3244
|
-
zone_name: string;
|
|
3245
|
-
site_id: number;
|
|
3246
|
-
site_name: string;
|
|
3247
|
-
entry_relays_total_count: number;
|
|
3248
|
-
} | undefined;
|
|
3249
|
-
schlage_metadata?: {
|
|
3250
|
-
device_id: string;
|
|
3251
|
-
device_name: string;
|
|
3252
|
-
access_code_length: number | null;
|
|
3253
|
-
model?: string | undefined;
|
|
3254
|
-
} | undefined;
|
|
3255
|
-
smartthings_metadata?: {
|
|
3256
|
-
device_id: string;
|
|
3257
|
-
device_name: string;
|
|
3258
|
-
model?: string | undefined;
|
|
3259
|
-
location_id?: string | undefined;
|
|
3260
|
-
} | undefined;
|
|
3261
|
-
lockly_metadata?: {
|
|
3262
|
-
device_id: string;
|
|
3263
|
-
device_name: string;
|
|
3264
|
-
model?: string | undefined;
|
|
3265
|
-
} | undefined;
|
|
3266
|
-
nuki_metadata?: {
|
|
3267
|
-
device_id: string;
|
|
3268
|
-
device_name: string;
|
|
3269
|
-
keypad_battery_critical?: boolean | undefined;
|
|
3270
|
-
keypad_paired?: boolean | undefined;
|
|
3271
|
-
keypad_2_paired?: boolean | undefined;
|
|
3272
|
-
} | undefined;
|
|
3273
|
-
kwikset_metadata?: {
|
|
3274
|
-
device_id: string;
|
|
3275
|
-
device_name: string;
|
|
3276
|
-
model_number: string;
|
|
3277
|
-
} | undefined;
|
|
3278
|
-
salto_metadata?: {
|
|
3279
|
-
lock_type: string;
|
|
3280
|
-
lock_id: string;
|
|
3281
|
-
customer_reference: string;
|
|
3282
|
-
battery_level: string;
|
|
3283
|
-
locked_state: string;
|
|
3284
|
-
model?: string | undefined;
|
|
3285
|
-
} | undefined;
|
|
3286
|
-
genie_metadata?: {
|
|
3287
|
-
device_name: string;
|
|
3288
|
-
door_name: string;
|
|
3289
|
-
} | undefined;
|
|
3290
|
-
brivo_metadata?: {
|
|
3291
|
-
device_name: string;
|
|
3292
|
-
} | undefined;
|
|
3293
|
-
igloo_metadata?: {
|
|
3294
|
-
device_id: string;
|
|
3295
|
-
bridge_id: string;
|
|
3296
|
-
model?: string | undefined;
|
|
3297
|
-
} | undefined;
|
|
3298
|
-
noiseaware_metadata?: {
|
|
3299
|
-
device_id: string;
|
|
3300
|
-
device_model: "indoor" | "outdoor";
|
|
3301
|
-
device_name: string;
|
|
3302
|
-
noise_level_nrs: number;
|
|
3303
|
-
noise_level_decibel: number;
|
|
3304
|
-
} | undefined;
|
|
3305
|
-
minut_metadata?: {
|
|
3306
|
-
device_id: string;
|
|
3307
|
-
device_name: string;
|
|
3308
|
-
latest_sensor_values: {
|
|
3309
|
-
pressure: {
|
|
3310
|
-
time: string;
|
|
3311
|
-
value: number;
|
|
3312
|
-
};
|
|
3313
|
-
temperature: {
|
|
3314
|
-
time: string;
|
|
3315
|
-
value: number;
|
|
3316
|
-
};
|
|
3317
|
-
sound: {
|
|
3318
|
-
time: string;
|
|
3319
|
-
value: number;
|
|
3320
|
-
};
|
|
3321
|
-
humidity: {
|
|
3322
|
-
time: string;
|
|
3323
|
-
value: number;
|
|
3324
|
-
};
|
|
3325
|
-
accelerometer_z: {
|
|
3326
|
-
time: string;
|
|
3327
|
-
value: number;
|
|
3328
|
-
};
|
|
3329
|
-
};
|
|
3330
|
-
} | undefined;
|
|
3331
|
-
four_suites_metadata?: {
|
|
3332
|
-
device_id: number;
|
|
3333
|
-
device_name: string;
|
|
3334
|
-
reclose_delay_in_seconds: number;
|
|
3335
|
-
} | undefined;
|
|
3336
|
-
two_n_metadata?: {
|
|
3337
|
-
device_id: number;
|
|
3338
|
-
device_name: string;
|
|
3339
|
-
} | undefined;
|
|
3340
|
-
controlbyweb_metadata?: {
|
|
3341
|
-
device_id: string;
|
|
3342
|
-
device_name: string;
|
|
3343
|
-
relay_name: string | null;
|
|
3344
|
-
} | undefined;
|
|
3345
|
-
ttlock_metadata?: {
|
|
3346
|
-
lock_id: number;
|
|
3347
|
-
lock_alias: string;
|
|
3348
|
-
feature_value: string;
|
|
3349
|
-
} | undefined;
|
|
3350
|
-
seam_bridge_metadata?: {
|
|
3351
|
-
name: string;
|
|
3352
|
-
device_num: number;
|
|
3353
|
-
unlock_method?: "bridge" | "doorking" | undefined;
|
|
3354
|
-
} | undefined;
|
|
3355
|
-
igloohome_metadata?: {
|
|
3356
|
-
device_id: string;
|
|
3357
|
-
device_name: string;
|
|
3358
|
-
bridge_id?: string | undefined;
|
|
3359
|
-
bridge_name?: string | undefined;
|
|
3360
|
-
keypad_id?: string | undefined;
|
|
3361
|
-
} | undefined;
|
|
3362
|
-
nest_metadata?: {
|
|
3363
|
-
device_name: string;
|
|
3364
|
-
nest_device_id: string;
|
|
3365
|
-
custom_name: string;
|
|
3366
|
-
} | undefined;
|
|
3367
|
-
ecobee_metadata?: {
|
|
3368
|
-
device_name: string;
|
|
3369
|
-
ecobee_device_id: string;
|
|
3370
|
-
} | undefined;
|
|
3371
|
-
honeywell_resideo_metadata?: {
|
|
3372
|
-
device_name: string;
|
|
3373
|
-
honeywell_resideo_device_id: string;
|
|
3374
|
-
} | undefined;
|
|
3375
|
-
hubitat_metadata?: {
|
|
3376
|
-
device_id: string;
|
|
3377
|
-
device_name: string;
|
|
3378
|
-
device_label: string;
|
|
3379
|
-
} | undefined;
|
|
3380
|
-
dormakaba_oracode_metadata?: {
|
|
3381
|
-
site_id: number;
|
|
3382
|
-
site_name: string;
|
|
3383
|
-
door_name: string;
|
|
3384
|
-
door_id: number;
|
|
3385
|
-
door_is_wireless: boolean;
|
|
3386
|
-
device_id?: number | undefined;
|
|
3387
|
-
iana_timezone?: string | undefined;
|
|
3388
|
-
predefined_time_slots?: {
|
|
3389
|
-
name: string;
|
|
3390
|
-
prefix: number;
|
|
3391
|
-
check_in_time: string;
|
|
3392
|
-
check_out_time: string;
|
|
3393
|
-
is_24_hour: boolean;
|
|
3394
|
-
is_biweekly_mode: boolean;
|
|
3395
|
-
is_one_shot: boolean;
|
|
3396
|
-
is_master: boolean;
|
|
3397
|
-
ext_dormakaba_oracode_user_level_prefix: number;
|
|
3398
|
-
dormakaba_oracode_user_level_id: string;
|
|
3399
|
-
}[] | undefined;
|
|
3400
|
-
} | undefined;
|
|
3401
|
-
wyze_metadata?: {
|
|
3402
|
-
device_id: string;
|
|
3403
|
-
device_name: string;
|
|
3404
|
-
product_name: string;
|
|
3405
|
-
product_type: string;
|
|
3406
|
-
product_model: string;
|
|
3407
|
-
device_info_model: string;
|
|
3408
|
-
keypad_uuid?: string | undefined;
|
|
3409
|
-
locker_status_hardlock?: number | undefined;
|
|
3410
|
-
} | undefined;
|
|
3411
|
-
tedee_metadata?: {
|
|
3412
|
-
device_id: number;
|
|
3413
|
-
device_model: string;
|
|
3414
|
-
device_name: string;
|
|
3415
|
-
bridge_id: number;
|
|
3416
|
-
bridge_name: string;
|
|
3417
|
-
serial_number: string;
|
|
3418
|
-
keypad_id?: number | undefined;
|
|
3419
|
-
} | undefined;
|
|
3420
|
-
} & ({
|
|
3421
|
-
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
3422
|
-
code_constraints?: ({
|
|
3423
|
-
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";
|
|
3424
|
-
} | {
|
|
3425
|
-
constraint_type: "name_length" | "name_must_be_unique";
|
|
3426
|
-
min_length?: number | undefined;
|
|
3427
|
-
max_length?: number | undefined;
|
|
3428
|
-
})[] | undefined;
|
|
3429
|
-
supported_code_lengths?: number[] | undefined;
|
|
3430
|
-
max_active_codes_supported?: number | undefined;
|
|
3431
|
-
supports_backup_access_code_pool?: boolean | undefined;
|
|
3432
|
-
has_native_entry_events?: boolean | undefined;
|
|
3433
|
-
locked?: boolean | undefined;
|
|
3434
|
-
keypad_battery?: {
|
|
3435
|
-
level: number;
|
|
3436
|
-
} | undefined;
|
|
3437
|
-
door_open?: boolean | undefined;
|
|
3438
|
-
} & ({
|
|
3439
|
-
temperature_fahrenheit?: number | undefined;
|
|
3440
|
-
temperature_celsius?: number | undefined;
|
|
3441
|
-
relative_humidity?: number | undefined;
|
|
3442
|
-
can_enable_automatic_heating?: boolean | undefined;
|
|
3443
|
-
can_enable_automatic_cooling?: boolean | undefined;
|
|
3444
|
-
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
3445
|
-
is_heating?: boolean | undefined;
|
|
3446
|
-
is_cooling?: boolean | undefined;
|
|
3447
|
-
is_fan_running?: boolean | undefined;
|
|
3448
|
-
fan_mode_setting?: "auto" | "on" | undefined;
|
|
3449
|
-
is_temporary_manual_override_active?: boolean | undefined;
|
|
3450
|
-
current_climate_setting?: {
|
|
3451
|
-
automatic_heating_enabled: boolean;
|
|
3452
|
-
automatic_cooling_enabled: boolean;
|
|
3453
|
-
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
3454
|
-
manual_override_allowed: boolean;
|
|
3455
|
-
cooling_set_point_celsius?: number | undefined;
|
|
3456
|
-
heating_set_point_celsius?: number | undefined;
|
|
3457
|
-
cooling_set_point_fahrenheit?: number | undefined;
|
|
3458
|
-
heating_set_point_fahrenheit?: number | undefined;
|
|
3459
|
-
} | undefined;
|
|
3460
|
-
default_climate_setting?: {
|
|
3461
|
-
automatic_heating_enabled: boolean;
|
|
3462
|
-
automatic_cooling_enabled: boolean;
|
|
3463
|
-
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
3464
|
-
manual_override_allowed: boolean;
|
|
3465
|
-
cooling_set_point_celsius?: number | undefined;
|
|
3466
|
-
heating_set_point_celsius?: number | undefined;
|
|
3467
|
-
cooling_set_point_fahrenheit?: number | undefined;
|
|
3468
|
-
heating_set_point_fahrenheit?: number | undefined;
|
|
3469
|
-
} | undefined;
|
|
3470
|
-
is_climate_setting_schedule_active?: boolean | undefined;
|
|
3471
|
-
active_climate_setting_schedule?: {
|
|
3472
|
-
created_at: string;
|
|
3473
|
-
climate_setting_schedule_id: string;
|
|
3474
|
-
schedule_type: "time_bound";
|
|
3475
|
-
device_id: string;
|
|
3476
|
-
schedule_starts_at: string;
|
|
3477
|
-
schedule_ends_at: string;
|
|
3478
|
-
name?: string | undefined;
|
|
3479
|
-
errors?: any;
|
|
3480
|
-
automatic_heating_enabled?: boolean | undefined;
|
|
3481
|
-
automatic_cooling_enabled?: boolean | undefined;
|
|
3482
|
-
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
3483
|
-
cooling_set_point_celsius?: number | undefined;
|
|
3484
|
-
heating_set_point_celsius?: number | undefined;
|
|
3485
|
-
cooling_set_point_fahrenheit?: number | undefined;
|
|
3486
|
-
heating_set_point_fahrenheit?: number | undefined;
|
|
3487
|
-
manual_override_allowed?: boolean | undefined;
|
|
3488
|
-
} | undefined;
|
|
3489
|
-
min_cooling_set_point_celsius?: number | undefined;
|
|
3490
|
-
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
3491
|
-
max_cooling_set_point_celsius?: number | undefined;
|
|
3492
|
-
max_cooling_set_point_fahrenheit?: number | undefined;
|
|
3493
|
-
min_heating_set_point_celsius?: number | undefined;
|
|
3494
|
-
min_heating_set_point_fahrenheit?: number | undefined;
|
|
3495
|
-
max_heating_set_point_celsius?: number | undefined;
|
|
3496
|
-
max_heating_set_point_fahrenheit?: number | undefined;
|
|
3497
|
-
is_cooling_available?: true | undefined;
|
|
3498
|
-
is_heating_available?: true | undefined;
|
|
3499
|
-
min_heating_cooling_delta_celsius?: number | undefined;
|
|
3500
|
-
min_heating_cooling_delta_fahrenheit?: number | undefined;
|
|
3501
|
-
} | {
|
|
3502
|
-
temperature_fahrenheit?: number | undefined;
|
|
3503
|
-
temperature_celsius?: number | undefined;
|
|
3504
|
-
relative_humidity?: number | undefined;
|
|
3505
|
-
can_enable_automatic_heating?: boolean | undefined;
|
|
3506
|
-
can_enable_automatic_cooling?: boolean | undefined;
|
|
3507
|
-
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
3508
|
-
is_cooling_available?: false | undefined;
|
|
3509
|
-
is_heating?: boolean | undefined;
|
|
3510
|
-
is_cooling?: boolean | undefined;
|
|
3511
|
-
is_fan_running?: boolean | undefined;
|
|
3512
|
-
fan_mode_setting?: "auto" | "on" | undefined;
|
|
3513
|
-
is_temporary_manual_override_active?: boolean | undefined;
|
|
3514
|
-
current_climate_setting?: {
|
|
3515
|
-
automatic_heating_enabled: boolean;
|
|
3516
|
-
automatic_cooling_enabled: boolean;
|
|
3517
|
-
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
3518
|
-
manual_override_allowed: boolean;
|
|
3519
|
-
cooling_set_point_celsius?: number | undefined;
|
|
3520
|
-
heating_set_point_celsius?: number | undefined;
|
|
3521
|
-
cooling_set_point_fahrenheit?: number | undefined;
|
|
3522
|
-
heating_set_point_fahrenheit?: number | undefined;
|
|
3523
|
-
} | undefined;
|
|
3524
|
-
default_climate_setting?: {
|
|
3525
|
-
automatic_heating_enabled: boolean;
|
|
3526
|
-
automatic_cooling_enabled: boolean;
|
|
3527
|
-
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
3528
|
-
manual_override_allowed: boolean;
|
|
3529
|
-
cooling_set_point_celsius?: number | undefined;
|
|
3530
|
-
heating_set_point_celsius?: number | undefined;
|
|
3531
|
-
cooling_set_point_fahrenheit?: number | undefined;
|
|
3532
|
-
heating_set_point_fahrenheit?: number | undefined;
|
|
3533
|
-
} | undefined;
|
|
3534
|
-
is_climate_setting_schedule_active?: boolean | undefined;
|
|
3535
|
-
active_climate_setting_schedule?: {
|
|
3536
|
-
created_at: string;
|
|
3537
|
-
climate_setting_schedule_id: string;
|
|
3538
|
-
schedule_type: "time_bound";
|
|
3539
|
-
device_id: string;
|
|
3540
|
-
schedule_starts_at: string;
|
|
3541
|
-
schedule_ends_at: string;
|
|
3542
|
-
name?: string | undefined;
|
|
3543
|
-
errors?: any;
|
|
3544
|
-
automatic_heating_enabled?: boolean | undefined;
|
|
3545
|
-
automatic_cooling_enabled?: boolean | undefined;
|
|
3546
|
-
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
3547
|
-
cooling_set_point_celsius?: number | undefined;
|
|
3548
|
-
heating_set_point_celsius?: number | undefined;
|
|
3549
|
-
cooling_set_point_fahrenheit?: number | undefined;
|
|
3550
|
-
heating_set_point_fahrenheit?: number | undefined;
|
|
3551
|
-
manual_override_allowed?: boolean | undefined;
|
|
3552
|
-
} | undefined;
|
|
3553
|
-
min_heating_set_point_celsius?: number | undefined;
|
|
3554
|
-
min_heating_set_point_fahrenheit?: number | undefined;
|
|
3555
|
-
max_heating_set_point_celsius?: number | undefined;
|
|
3556
|
-
max_heating_set_point_fahrenheit?: number | undefined;
|
|
3557
|
-
is_heating_available?: true | undefined;
|
|
2731
|
+
})));
|
|
2732
|
+
workspace_id: string;
|
|
2733
|
+
is_managed: true;
|
|
2734
|
+
can_remotely_unlock?: boolean | undefined;
|
|
2735
|
+
can_remotely_lock?: boolean | undefined;
|
|
2736
|
+
can_program_offline_access_codes?: boolean | undefined;
|
|
2737
|
+
can_program_online_access_codes?: boolean | undefined;
|
|
2738
|
+
can_simulate_removal?: boolean | undefined;
|
|
2739
|
+
can_simulate_connection?: boolean | undefined;
|
|
2740
|
+
can_simulate_disconnection?: boolean | undefined;
|
|
2741
|
+
nickname?: string | undefined;
|
|
2742
|
+
}, {
|
|
2743
|
+
location: {
|
|
2744
|
+
location_name?: string | undefined;
|
|
2745
|
+
timezone?: string | undefined;
|
|
2746
|
+
} | null;
|
|
2747
|
+
connected_account_id: string;
|
|
2748
|
+
created_at: string;
|
|
2749
|
+
errors: ({
|
|
2750
|
+
message: string;
|
|
2751
|
+
is_connected_account_error: true;
|
|
2752
|
+
error_code: string;
|
|
3558
2753
|
} | {
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
automatic_cooling_enabled: boolean;
|
|
3574
|
-
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
3575
|
-
manual_override_allowed: boolean;
|
|
3576
|
-
cooling_set_point_celsius?: number | undefined;
|
|
3577
|
-
heating_set_point_celsius?: number | undefined;
|
|
3578
|
-
cooling_set_point_fahrenheit?: number | undefined;
|
|
3579
|
-
heating_set_point_fahrenheit?: number | undefined;
|
|
3580
|
-
} | undefined;
|
|
3581
|
-
default_climate_setting?: {
|
|
3582
|
-
automatic_heating_enabled: boolean;
|
|
3583
|
-
automatic_cooling_enabled: boolean;
|
|
3584
|
-
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
3585
|
-
manual_override_allowed: boolean;
|
|
3586
|
-
cooling_set_point_celsius?: number | undefined;
|
|
3587
|
-
heating_set_point_celsius?: number | undefined;
|
|
3588
|
-
cooling_set_point_fahrenheit?: number | undefined;
|
|
3589
|
-
heating_set_point_fahrenheit?: number | undefined;
|
|
3590
|
-
} | undefined;
|
|
3591
|
-
is_climate_setting_schedule_active?: boolean | undefined;
|
|
3592
|
-
active_climate_setting_schedule?: {
|
|
3593
|
-
created_at: string;
|
|
3594
|
-
climate_setting_schedule_id: string;
|
|
3595
|
-
schedule_type: "time_bound";
|
|
3596
|
-
device_id: string;
|
|
3597
|
-
schedule_starts_at: string;
|
|
3598
|
-
schedule_ends_at: string;
|
|
3599
|
-
name?: string | undefined;
|
|
3600
|
-
errors?: any;
|
|
3601
|
-
automatic_heating_enabled?: boolean | undefined;
|
|
3602
|
-
automatic_cooling_enabled?: boolean | undefined;
|
|
3603
|
-
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
3604
|
-
cooling_set_point_celsius?: number | undefined;
|
|
3605
|
-
heating_set_point_celsius?: number | undefined;
|
|
3606
|
-
cooling_set_point_fahrenheit?: number | undefined;
|
|
3607
|
-
heating_set_point_fahrenheit?: number | undefined;
|
|
3608
|
-
manual_override_allowed?: boolean | undefined;
|
|
3609
|
-
} | undefined;
|
|
3610
|
-
min_cooling_set_point_celsius?: number | undefined;
|
|
3611
|
-
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
3612
|
-
max_cooling_set_point_celsius?: number | undefined;
|
|
3613
|
-
max_cooling_set_point_fahrenheit?: number | undefined;
|
|
3614
|
-
is_cooling_available?: true | undefined;
|
|
3615
|
-
})))) & (({
|
|
2754
|
+
message: string;
|
|
2755
|
+
error_code: string;
|
|
2756
|
+
is_device_error: true;
|
|
2757
|
+
})[];
|
|
2758
|
+
warnings: {
|
|
2759
|
+
message: string;
|
|
2760
|
+
warning_code: string;
|
|
2761
|
+
}[];
|
|
2762
|
+
custom_metadata: Record<string, string | boolean>;
|
|
2763
|
+
device_id: string;
|
|
2764
|
+
display_name: string;
|
|
2765
|
+
device_type: ("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") | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat") | ("ios_phone" | "android_phone");
|
|
2766
|
+
capabilities_supported: ("phone" | "access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
|
|
2767
|
+
properties: {
|
|
3616
2768
|
name: string;
|
|
3617
2769
|
appearance: {
|
|
3618
2770
|
name: string;
|
|
@@ -3627,6 +2779,13 @@ export declare const device: z.ZodObject<{
|
|
|
3627
2779
|
online_access_codes_supported?: boolean | undefined;
|
|
3628
2780
|
accessory_keypad_supported?: boolean | undefined;
|
|
3629
2781
|
};
|
|
2782
|
+
battery?: {
|
|
2783
|
+
status: "low" | "full" | "critical" | "good";
|
|
2784
|
+
level: number;
|
|
2785
|
+
} | undefined;
|
|
2786
|
+
manufacturer?: string | undefined;
|
|
2787
|
+
battery_level?: number | undefined;
|
|
2788
|
+
serial_number?: string | undefined;
|
|
3630
2789
|
accessory_keypad?: {
|
|
3631
2790
|
is_connected: boolean;
|
|
3632
2791
|
battery?: {
|
|
@@ -3634,15 +2793,8 @@ export declare const device: z.ZodObject<{
|
|
|
3634
2793
|
} | undefined;
|
|
3635
2794
|
} | undefined;
|
|
3636
2795
|
has_direct_power?: boolean | undefined;
|
|
3637
|
-
battery_level?: number | undefined;
|
|
3638
|
-
battery?: {
|
|
3639
|
-
status: "low" | "full" | "critical" | "good";
|
|
3640
|
-
level: number;
|
|
3641
|
-
} | undefined;
|
|
3642
|
-
manufacturer?: string | undefined;
|
|
3643
2796
|
image_url?: string | undefined;
|
|
3644
2797
|
image_alt_text?: string | undefined;
|
|
3645
|
-
serial_number?: string | undefined;
|
|
3646
2798
|
online_access_codes_enabled?: boolean | undefined;
|
|
3647
2799
|
offline_access_codes_enabled?: boolean | undefined;
|
|
3648
2800
|
supports_accessory_keypad?: boolean | undefined;
|
|
@@ -3872,6 +3024,8 @@ export declare const device: z.ZodObject<{
|
|
|
3872
3024
|
can_enable_automatic_heating?: boolean | undefined;
|
|
3873
3025
|
can_enable_automatic_cooling?: boolean | undefined;
|
|
3874
3026
|
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
3027
|
+
is_heating_available?: true | undefined;
|
|
3028
|
+
is_cooling_available?: true | undefined;
|
|
3875
3029
|
is_heating?: boolean | undefined;
|
|
3876
3030
|
is_cooling?: boolean | undefined;
|
|
3877
3031
|
is_fan_running?: boolean | undefined;
|
|
@@ -3924,8 +3078,6 @@ export declare const device: z.ZodObject<{
|
|
|
3924
3078
|
min_heating_set_point_fahrenheit?: number | undefined;
|
|
3925
3079
|
max_heating_set_point_celsius?: number | undefined;
|
|
3926
3080
|
max_heating_set_point_fahrenheit?: number | undefined;
|
|
3927
|
-
is_cooling_available?: true | undefined;
|
|
3928
|
-
is_heating_available?: true | undefined;
|
|
3929
3081
|
min_heating_cooling_delta_celsius?: number | undefined;
|
|
3930
3082
|
min_heating_cooling_delta_fahrenheit?: number | undefined;
|
|
3931
3083
|
} | {
|
|
@@ -3935,6 +3087,7 @@ export declare const device: z.ZodObject<{
|
|
|
3935
3087
|
can_enable_automatic_heating?: boolean | undefined;
|
|
3936
3088
|
can_enable_automatic_cooling?: boolean | undefined;
|
|
3937
3089
|
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
3090
|
+
is_heating_available?: true | undefined;
|
|
3938
3091
|
is_cooling_available?: false | undefined;
|
|
3939
3092
|
is_heating?: boolean | undefined;
|
|
3940
3093
|
is_cooling?: boolean | undefined;
|
|
@@ -3984,7 +3137,6 @@ export declare const device: z.ZodObject<{
|
|
|
3984
3137
|
min_heating_set_point_fahrenheit?: number | undefined;
|
|
3985
3138
|
max_heating_set_point_celsius?: number | undefined;
|
|
3986
3139
|
max_heating_set_point_fahrenheit?: number | undefined;
|
|
3987
|
-
is_heating_available?: true | undefined;
|
|
3988
3140
|
} | {
|
|
3989
3141
|
temperature_fahrenheit?: number | undefined;
|
|
3990
3142
|
temperature_celsius?: number | undefined;
|
|
@@ -3993,6 +3145,7 @@ export declare const device: z.ZodObject<{
|
|
|
3993
3145
|
can_enable_automatic_cooling?: boolean | undefined;
|
|
3994
3146
|
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
3995
3147
|
is_heating_available?: false | undefined;
|
|
3148
|
+
is_cooling_available?: true | undefined;
|
|
3996
3149
|
is_heating?: boolean | undefined;
|
|
3997
3150
|
is_cooling?: boolean | undefined;
|
|
3998
3151
|
is_fan_running?: boolean | undefined;
|
|
@@ -4041,11 +3194,9 @@ export declare const device: z.ZodObject<{
|
|
|
4041
3194
|
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
4042
3195
|
max_cooling_set_point_celsius?: number | undefined;
|
|
4043
3196
|
max_cooling_set_point_fahrenheit?: number | undefined;
|
|
4044
|
-
|
|
4045
|
-
})))) | undefined);
|
|
3197
|
+
})));
|
|
4046
3198
|
workspace_id: string;
|
|
4047
3199
|
is_managed: true;
|
|
4048
|
-
nickname?: string | undefined;
|
|
4049
3200
|
can_remotely_unlock?: boolean | undefined;
|
|
4050
3201
|
can_remotely_lock?: boolean | undefined;
|
|
4051
3202
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -4053,6 +3204,7 @@ export declare const device: z.ZodObject<{
|
|
|
4053
3204
|
can_simulate_removal?: boolean | undefined;
|
|
4054
3205
|
can_simulate_connection?: boolean | undefined;
|
|
4055
3206
|
can_simulate_disconnection?: boolean | undefined;
|
|
3207
|
+
nickname?: string | undefined;
|
|
4056
3208
|
}>;
|
|
4057
3209
|
export type Device = z.infer<typeof device>;
|
|
4058
3210
|
export {};
|