@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,5 +1,2009 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const unmanaged_device: z.ZodObject<{
|
|
2
|
+
export declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<Pick<z.objectUtil.extendShape<{
|
|
3
|
+
device_id: z.ZodString;
|
|
4
|
+
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"]>]>;
|
|
5
|
+
nickname: z.ZodOptional<z.ZodString>;
|
|
6
|
+
display_name: z.ZodString;
|
|
7
|
+
capabilities_supported: z.ZodArray<z.ZodEnum<["access_code", "lock", "noise_detection", "thermostat", "battery", "phone"]>, "many">;
|
|
8
|
+
properties: z.ZodIntersection<z.ZodIntersection<z.ZodIntersection<z.ZodObject<{
|
|
9
|
+
online: z.ZodBoolean;
|
|
10
|
+
name: z.ZodString;
|
|
11
|
+
accessory_keypad: z.ZodOptional<z.ZodObject<{
|
|
12
|
+
is_connected: z.ZodBoolean;
|
|
13
|
+
battery: z.ZodOptional<z.ZodObject<{
|
|
14
|
+
level: z.ZodNumber;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
level: number;
|
|
17
|
+
}, {
|
|
18
|
+
level: number;
|
|
19
|
+
}>>;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
is_connected: boolean;
|
|
22
|
+
battery?: {
|
|
23
|
+
level: number;
|
|
24
|
+
} | undefined;
|
|
25
|
+
}, {
|
|
26
|
+
is_connected: boolean;
|
|
27
|
+
battery?: {
|
|
28
|
+
level: number;
|
|
29
|
+
} | undefined;
|
|
30
|
+
}>>;
|
|
31
|
+
appearance: z.ZodObject<{
|
|
32
|
+
name: z.ZodString;
|
|
33
|
+
}, "strip", z.ZodTypeAny, {
|
|
34
|
+
name: string;
|
|
35
|
+
}, {
|
|
36
|
+
name: string;
|
|
37
|
+
}>;
|
|
38
|
+
model: z.ZodObject<{
|
|
39
|
+
can_connect_accessory_keypad: z.ZodOptional<z.ZodBoolean>;
|
|
40
|
+
display_name: z.ZodString;
|
|
41
|
+
manufacturer_display_name: z.ZodString;
|
|
42
|
+
has_built_in_keypad: z.ZodOptional<z.ZodBoolean>;
|
|
43
|
+
offline_access_codes_supported: z.ZodOptional<z.ZodBoolean>;
|
|
44
|
+
online_access_codes_supported: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
+
accessory_keypad_supported: z.ZodOptional<z.ZodBoolean>;
|
|
46
|
+
}, "strip", z.ZodTypeAny, {
|
|
47
|
+
display_name: string;
|
|
48
|
+
manufacturer_display_name: string;
|
|
49
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
50
|
+
has_built_in_keypad?: boolean | undefined;
|
|
51
|
+
offline_access_codes_supported?: boolean | undefined;
|
|
52
|
+
online_access_codes_supported?: boolean | undefined;
|
|
53
|
+
accessory_keypad_supported?: boolean | undefined;
|
|
54
|
+
}, {
|
|
55
|
+
display_name: string;
|
|
56
|
+
manufacturer_display_name: string;
|
|
57
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
58
|
+
has_built_in_keypad?: boolean | undefined;
|
|
59
|
+
offline_access_codes_supported?: boolean | undefined;
|
|
60
|
+
online_access_codes_supported?: boolean | undefined;
|
|
61
|
+
accessory_keypad_supported?: boolean | undefined;
|
|
62
|
+
}>;
|
|
63
|
+
has_direct_power: z.ZodOptional<z.ZodBoolean>;
|
|
64
|
+
battery_level: z.ZodOptional<z.ZodNumber>;
|
|
65
|
+
battery: z.ZodOptional<z.ZodObject<{
|
|
66
|
+
level: z.ZodNumber;
|
|
67
|
+
status: z.ZodEnum<["critical", "low", "good", "full"]>;
|
|
68
|
+
}, "strip", z.ZodTypeAny, {
|
|
69
|
+
status: "low" | "full" | "critical" | "good";
|
|
70
|
+
level: number;
|
|
71
|
+
}, {
|
|
72
|
+
status: "low" | "full" | "critical" | "good";
|
|
73
|
+
level: number;
|
|
74
|
+
}>>;
|
|
75
|
+
manufacturer: z.ZodOptional<z.ZodString>;
|
|
76
|
+
image_url: z.ZodOptional<z.ZodString>;
|
|
77
|
+
image_alt_text: z.ZodOptional<z.ZodString>;
|
|
78
|
+
serial_number: z.ZodOptional<z.ZodString>;
|
|
79
|
+
online_access_codes_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
80
|
+
offline_access_codes_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
81
|
+
supports_accessory_keypad: z.ZodOptional<z.ZodBoolean>;
|
|
82
|
+
supports_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
83
|
+
noise_level_decibels: z.ZodOptional<z.ZodNumber>;
|
|
84
|
+
currently_triggering_noise_threshold_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
85
|
+
}, "strip", z.ZodTypeAny, {
|
|
86
|
+
name: string;
|
|
87
|
+
appearance: {
|
|
88
|
+
name: string;
|
|
89
|
+
};
|
|
90
|
+
online: boolean;
|
|
91
|
+
model: {
|
|
92
|
+
display_name: string;
|
|
93
|
+
manufacturer_display_name: string;
|
|
94
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
95
|
+
has_built_in_keypad?: boolean | undefined;
|
|
96
|
+
offline_access_codes_supported?: boolean | undefined;
|
|
97
|
+
online_access_codes_supported?: boolean | undefined;
|
|
98
|
+
accessory_keypad_supported?: boolean | undefined;
|
|
99
|
+
};
|
|
100
|
+
battery?: {
|
|
101
|
+
status: "low" | "full" | "critical" | "good";
|
|
102
|
+
level: number;
|
|
103
|
+
} | undefined;
|
|
104
|
+
manufacturer?: string | undefined;
|
|
105
|
+
battery_level?: number | undefined;
|
|
106
|
+
serial_number?: string | undefined;
|
|
107
|
+
accessory_keypad?: {
|
|
108
|
+
is_connected: boolean;
|
|
109
|
+
battery?: {
|
|
110
|
+
level: number;
|
|
111
|
+
} | undefined;
|
|
112
|
+
} | undefined;
|
|
113
|
+
has_direct_power?: boolean | undefined;
|
|
114
|
+
image_url?: string | undefined;
|
|
115
|
+
image_alt_text?: string | undefined;
|
|
116
|
+
online_access_codes_enabled?: boolean | undefined;
|
|
117
|
+
offline_access_codes_enabled?: boolean | undefined;
|
|
118
|
+
supports_accessory_keypad?: boolean | undefined;
|
|
119
|
+
supports_offline_access_codes?: boolean | undefined;
|
|
120
|
+
noise_level_decibels?: number | undefined;
|
|
121
|
+
currently_triggering_noise_threshold_ids?: string[] | undefined;
|
|
122
|
+
}, {
|
|
123
|
+
name: string;
|
|
124
|
+
appearance: {
|
|
125
|
+
name: string;
|
|
126
|
+
};
|
|
127
|
+
online: boolean;
|
|
128
|
+
model: {
|
|
129
|
+
display_name: string;
|
|
130
|
+
manufacturer_display_name: string;
|
|
131
|
+
can_connect_accessory_keypad?: boolean | undefined;
|
|
132
|
+
has_built_in_keypad?: boolean | undefined;
|
|
133
|
+
offline_access_codes_supported?: boolean | undefined;
|
|
134
|
+
online_access_codes_supported?: boolean | undefined;
|
|
135
|
+
accessory_keypad_supported?: boolean | undefined;
|
|
136
|
+
};
|
|
137
|
+
battery?: {
|
|
138
|
+
status: "low" | "full" | "critical" | "good";
|
|
139
|
+
level: number;
|
|
140
|
+
} | undefined;
|
|
141
|
+
manufacturer?: string | undefined;
|
|
142
|
+
battery_level?: number | undefined;
|
|
143
|
+
serial_number?: string | undefined;
|
|
144
|
+
accessory_keypad?: {
|
|
145
|
+
is_connected: boolean;
|
|
146
|
+
battery?: {
|
|
147
|
+
level: number;
|
|
148
|
+
} | undefined;
|
|
149
|
+
} | undefined;
|
|
150
|
+
has_direct_power?: boolean | undefined;
|
|
151
|
+
image_url?: string | undefined;
|
|
152
|
+
image_alt_text?: string | undefined;
|
|
153
|
+
online_access_codes_enabled?: boolean | undefined;
|
|
154
|
+
offline_access_codes_enabled?: boolean | undefined;
|
|
155
|
+
supports_accessory_keypad?: boolean | undefined;
|
|
156
|
+
supports_offline_access_codes?: boolean | undefined;
|
|
157
|
+
noise_level_decibels?: number | undefined;
|
|
158
|
+
currently_triggering_noise_threshold_ids?: string[] | undefined;
|
|
159
|
+
}>, z.ZodObject<{
|
|
160
|
+
assa_abloy_credential_service_metadata: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
161
|
+
has_active_endpoint: z.ZodBoolean;
|
|
162
|
+
endpoints: z.ZodArray<z.ZodObject<{
|
|
163
|
+
endpoint_id: z.ZodString;
|
|
164
|
+
is_active: z.ZodBoolean;
|
|
165
|
+
}, "strip", z.ZodTypeAny, {
|
|
166
|
+
endpoint_id: string;
|
|
167
|
+
is_active: boolean;
|
|
168
|
+
}, {
|
|
169
|
+
endpoint_id: string;
|
|
170
|
+
is_active: boolean;
|
|
171
|
+
}>, "many">;
|
|
172
|
+
}, "strip", z.ZodTypeAny, {
|
|
173
|
+
has_active_endpoint: boolean;
|
|
174
|
+
endpoints: {
|
|
175
|
+
endpoint_id: string;
|
|
176
|
+
is_active: boolean;
|
|
177
|
+
}[];
|
|
178
|
+
}, {
|
|
179
|
+
has_active_endpoint: boolean;
|
|
180
|
+
endpoints: {
|
|
181
|
+
endpoint_id: string;
|
|
182
|
+
is_active: boolean;
|
|
183
|
+
}[];
|
|
184
|
+
}>>>;
|
|
185
|
+
}, "strip", z.ZodTypeAny, {
|
|
186
|
+
assa_abloy_credential_service_metadata?: {
|
|
187
|
+
has_active_endpoint: boolean;
|
|
188
|
+
endpoints: {
|
|
189
|
+
endpoint_id: string;
|
|
190
|
+
is_active: boolean;
|
|
191
|
+
}[];
|
|
192
|
+
} | undefined;
|
|
193
|
+
}, {
|
|
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
|
+
}>>, z.ZodObject<{
|
|
202
|
+
august_metadata: z.ZodOptional<z.ZodObject<{
|
|
203
|
+
lock_id: z.ZodString;
|
|
204
|
+
lock_name: z.ZodString;
|
|
205
|
+
house_name: z.ZodString;
|
|
206
|
+
has_keypad: z.ZodBoolean;
|
|
207
|
+
keypad_battery_level: z.ZodOptional<z.ZodString>;
|
|
208
|
+
model: z.ZodOptional<z.ZodString>;
|
|
209
|
+
house_id: z.ZodOptional<z.ZodString>;
|
|
210
|
+
}, "strip", z.ZodTypeAny, {
|
|
211
|
+
lock_id: string;
|
|
212
|
+
lock_name: string;
|
|
213
|
+
house_name: string;
|
|
214
|
+
has_keypad: boolean;
|
|
215
|
+
keypad_battery_level?: string | undefined;
|
|
216
|
+
model?: string | undefined;
|
|
217
|
+
house_id?: string | undefined;
|
|
218
|
+
}, {
|
|
219
|
+
lock_id: string;
|
|
220
|
+
lock_name: string;
|
|
221
|
+
house_name: string;
|
|
222
|
+
has_keypad: boolean;
|
|
223
|
+
keypad_battery_level?: string | undefined;
|
|
224
|
+
model?: string | undefined;
|
|
225
|
+
house_id?: string | undefined;
|
|
226
|
+
}>>;
|
|
227
|
+
avigilon_alta_metadata: z.ZodOptional<z.ZodObject<{
|
|
228
|
+
entry_name: z.ZodString;
|
|
229
|
+
org_name: z.ZodString;
|
|
230
|
+
zone_id: z.ZodNumber;
|
|
231
|
+
zone_name: z.ZodString;
|
|
232
|
+
site_id: z.ZodNumber;
|
|
233
|
+
site_name: z.ZodString;
|
|
234
|
+
entry_relays_total_count: z.ZodNumber;
|
|
235
|
+
}, "strip", z.ZodTypeAny, {
|
|
236
|
+
entry_name: string;
|
|
237
|
+
org_name: string;
|
|
238
|
+
zone_id: number;
|
|
239
|
+
zone_name: string;
|
|
240
|
+
site_id: number;
|
|
241
|
+
site_name: string;
|
|
242
|
+
entry_relays_total_count: number;
|
|
243
|
+
}, {
|
|
244
|
+
entry_name: string;
|
|
245
|
+
org_name: string;
|
|
246
|
+
zone_id: number;
|
|
247
|
+
zone_name: string;
|
|
248
|
+
site_id: number;
|
|
249
|
+
site_name: string;
|
|
250
|
+
entry_relays_total_count: number;
|
|
251
|
+
}>>;
|
|
252
|
+
schlage_metadata: z.ZodOptional<z.ZodObject<{
|
|
253
|
+
device_id: z.ZodString;
|
|
254
|
+
device_name: z.ZodString;
|
|
255
|
+
access_code_length: z.ZodNullable<z.ZodNumber>;
|
|
256
|
+
model: z.ZodOptional<z.ZodString>;
|
|
257
|
+
}, "strip", z.ZodTypeAny, {
|
|
258
|
+
device_id: string;
|
|
259
|
+
device_name: string;
|
|
260
|
+
access_code_length: number | null;
|
|
261
|
+
model?: string | undefined;
|
|
262
|
+
}, {
|
|
263
|
+
device_id: string;
|
|
264
|
+
device_name: string;
|
|
265
|
+
access_code_length: number | null;
|
|
266
|
+
model?: string | undefined;
|
|
267
|
+
}>>;
|
|
268
|
+
smartthings_metadata: z.ZodOptional<z.ZodObject<{
|
|
269
|
+
device_id: z.ZodString;
|
|
270
|
+
device_name: z.ZodString;
|
|
271
|
+
model: z.ZodOptional<z.ZodString>;
|
|
272
|
+
location_id: z.ZodOptional<z.ZodString>;
|
|
273
|
+
}, "strip", z.ZodTypeAny, {
|
|
274
|
+
device_id: string;
|
|
275
|
+
device_name: string;
|
|
276
|
+
model?: string | undefined;
|
|
277
|
+
location_id?: string | undefined;
|
|
278
|
+
}, {
|
|
279
|
+
device_id: string;
|
|
280
|
+
device_name: string;
|
|
281
|
+
model?: string | undefined;
|
|
282
|
+
location_id?: string | undefined;
|
|
283
|
+
}>>;
|
|
284
|
+
lockly_metadata: z.ZodOptional<z.ZodObject<{
|
|
285
|
+
device_id: z.ZodString;
|
|
286
|
+
device_name: z.ZodString;
|
|
287
|
+
model: z.ZodOptional<z.ZodString>;
|
|
288
|
+
}, "strip", z.ZodTypeAny, {
|
|
289
|
+
device_id: string;
|
|
290
|
+
device_name: string;
|
|
291
|
+
model?: string | undefined;
|
|
292
|
+
}, {
|
|
293
|
+
device_id: string;
|
|
294
|
+
device_name: string;
|
|
295
|
+
model?: string | undefined;
|
|
296
|
+
}>>;
|
|
297
|
+
nuki_metadata: z.ZodOptional<z.ZodObject<{
|
|
298
|
+
device_id: z.ZodString;
|
|
299
|
+
device_name: z.ZodString;
|
|
300
|
+
keypad_battery_critical: z.ZodOptional<z.ZodBoolean>;
|
|
301
|
+
keypad_paired: z.ZodOptional<z.ZodBoolean>;
|
|
302
|
+
keypad_2_paired: z.ZodOptional<z.ZodBoolean>;
|
|
303
|
+
}, "strip", z.ZodTypeAny, {
|
|
304
|
+
device_id: string;
|
|
305
|
+
device_name: string;
|
|
306
|
+
keypad_battery_critical?: boolean | undefined;
|
|
307
|
+
keypad_paired?: boolean | undefined;
|
|
308
|
+
keypad_2_paired?: boolean | undefined;
|
|
309
|
+
}, {
|
|
310
|
+
device_id: string;
|
|
311
|
+
device_name: string;
|
|
312
|
+
keypad_battery_critical?: boolean | undefined;
|
|
313
|
+
keypad_paired?: boolean | undefined;
|
|
314
|
+
keypad_2_paired?: boolean | undefined;
|
|
315
|
+
}>>;
|
|
316
|
+
kwikset_metadata: z.ZodOptional<z.ZodObject<{
|
|
317
|
+
device_id: z.ZodString;
|
|
318
|
+
device_name: z.ZodString;
|
|
319
|
+
model_number: z.ZodString;
|
|
320
|
+
}, "strip", z.ZodTypeAny, {
|
|
321
|
+
device_id: string;
|
|
322
|
+
device_name: string;
|
|
323
|
+
model_number: string;
|
|
324
|
+
}, {
|
|
325
|
+
device_id: string;
|
|
326
|
+
device_name: string;
|
|
327
|
+
model_number: string;
|
|
328
|
+
}>>;
|
|
329
|
+
salto_metadata: z.ZodOptional<z.ZodObject<{
|
|
330
|
+
lock_id: z.ZodString;
|
|
331
|
+
customer_reference: z.ZodString;
|
|
332
|
+
lock_type: z.ZodString;
|
|
333
|
+
battery_level: z.ZodString;
|
|
334
|
+
locked_state: z.ZodString;
|
|
335
|
+
model: z.ZodOptional<z.ZodString>;
|
|
336
|
+
}, "strip", z.ZodTypeAny, {
|
|
337
|
+
lock_type: string;
|
|
338
|
+
lock_id: string;
|
|
339
|
+
customer_reference: string;
|
|
340
|
+
battery_level: string;
|
|
341
|
+
locked_state: string;
|
|
342
|
+
model?: string | undefined;
|
|
343
|
+
}, {
|
|
344
|
+
lock_type: string;
|
|
345
|
+
lock_id: string;
|
|
346
|
+
customer_reference: string;
|
|
347
|
+
battery_level: string;
|
|
348
|
+
locked_state: string;
|
|
349
|
+
model?: string | undefined;
|
|
350
|
+
}>>;
|
|
351
|
+
genie_metadata: z.ZodOptional<z.ZodObject<{
|
|
352
|
+
device_name: z.ZodString;
|
|
353
|
+
door_name: z.ZodString;
|
|
354
|
+
}, "strip", z.ZodTypeAny, {
|
|
355
|
+
device_name: string;
|
|
356
|
+
door_name: string;
|
|
357
|
+
}, {
|
|
358
|
+
device_name: string;
|
|
359
|
+
door_name: string;
|
|
360
|
+
}>>;
|
|
361
|
+
brivo_metadata: z.ZodOptional<z.ZodObject<{
|
|
362
|
+
device_name: z.ZodString;
|
|
363
|
+
}, "strip", z.ZodTypeAny, {
|
|
364
|
+
device_name: string;
|
|
365
|
+
}, {
|
|
366
|
+
device_name: string;
|
|
367
|
+
}>>;
|
|
368
|
+
igloo_metadata: z.ZodOptional<z.ZodObject<{
|
|
369
|
+
device_id: z.ZodString;
|
|
370
|
+
bridge_id: z.ZodString;
|
|
371
|
+
model: z.ZodOptional<z.ZodString>;
|
|
372
|
+
}, "strip", z.ZodTypeAny, {
|
|
373
|
+
device_id: string;
|
|
374
|
+
bridge_id: string;
|
|
375
|
+
model?: string | undefined;
|
|
376
|
+
}, {
|
|
377
|
+
device_id: string;
|
|
378
|
+
bridge_id: string;
|
|
379
|
+
model?: string | undefined;
|
|
380
|
+
}>>;
|
|
381
|
+
noiseaware_metadata: z.ZodOptional<z.ZodObject<{
|
|
382
|
+
device_model: z.ZodEnum<["indoor", "outdoor"]>;
|
|
383
|
+
noise_level_nrs: z.ZodNumber;
|
|
384
|
+
noise_level_decibel: z.ZodNumber;
|
|
385
|
+
device_name: z.ZodString;
|
|
386
|
+
device_id: z.ZodString;
|
|
387
|
+
}, "strip", z.ZodTypeAny, {
|
|
388
|
+
device_id: string;
|
|
389
|
+
device_model: "indoor" | "outdoor";
|
|
390
|
+
device_name: string;
|
|
391
|
+
noise_level_nrs: number;
|
|
392
|
+
noise_level_decibel: number;
|
|
393
|
+
}, {
|
|
394
|
+
device_id: string;
|
|
395
|
+
device_model: "indoor" | "outdoor";
|
|
396
|
+
device_name: string;
|
|
397
|
+
noise_level_nrs: number;
|
|
398
|
+
noise_level_decibel: number;
|
|
399
|
+
}>>;
|
|
400
|
+
minut_metadata: z.ZodOptional<z.ZodObject<{
|
|
401
|
+
device_id: z.ZodString;
|
|
402
|
+
device_name: z.ZodString;
|
|
403
|
+
latest_sensor_values: z.ZodObject<{
|
|
404
|
+
temperature: z.ZodObject<{
|
|
405
|
+
time: z.ZodString;
|
|
406
|
+
value: z.ZodNumber;
|
|
407
|
+
}, "strip", z.ZodTypeAny, {
|
|
408
|
+
time: string;
|
|
409
|
+
value: number;
|
|
410
|
+
}, {
|
|
411
|
+
time: string;
|
|
412
|
+
value: number;
|
|
413
|
+
}>;
|
|
414
|
+
sound: z.ZodObject<{
|
|
415
|
+
time: z.ZodString;
|
|
416
|
+
value: z.ZodNumber;
|
|
417
|
+
}, "strip", z.ZodTypeAny, {
|
|
418
|
+
time: string;
|
|
419
|
+
value: number;
|
|
420
|
+
}, {
|
|
421
|
+
time: string;
|
|
422
|
+
value: number;
|
|
423
|
+
}>;
|
|
424
|
+
humidity: z.ZodObject<{
|
|
425
|
+
time: z.ZodString;
|
|
426
|
+
value: z.ZodNumber;
|
|
427
|
+
}, "strip", z.ZodTypeAny, {
|
|
428
|
+
time: string;
|
|
429
|
+
value: number;
|
|
430
|
+
}, {
|
|
431
|
+
time: string;
|
|
432
|
+
value: number;
|
|
433
|
+
}>;
|
|
434
|
+
pressure: z.ZodObject<{
|
|
435
|
+
time: z.ZodString;
|
|
436
|
+
value: z.ZodNumber;
|
|
437
|
+
}, "strip", z.ZodTypeAny, {
|
|
438
|
+
time: string;
|
|
439
|
+
value: number;
|
|
440
|
+
}, {
|
|
441
|
+
time: string;
|
|
442
|
+
value: number;
|
|
443
|
+
}>;
|
|
444
|
+
accelerometer_z: z.ZodObject<{
|
|
445
|
+
time: z.ZodString;
|
|
446
|
+
value: z.ZodNumber;
|
|
447
|
+
}, "strip", z.ZodTypeAny, {
|
|
448
|
+
time: string;
|
|
449
|
+
value: number;
|
|
450
|
+
}, {
|
|
451
|
+
time: string;
|
|
452
|
+
value: number;
|
|
453
|
+
}>;
|
|
454
|
+
}, "strip", z.ZodTypeAny, {
|
|
455
|
+
pressure: {
|
|
456
|
+
time: string;
|
|
457
|
+
value: number;
|
|
458
|
+
};
|
|
459
|
+
temperature: {
|
|
460
|
+
time: string;
|
|
461
|
+
value: number;
|
|
462
|
+
};
|
|
463
|
+
sound: {
|
|
464
|
+
time: string;
|
|
465
|
+
value: number;
|
|
466
|
+
};
|
|
467
|
+
humidity: {
|
|
468
|
+
time: string;
|
|
469
|
+
value: number;
|
|
470
|
+
};
|
|
471
|
+
accelerometer_z: {
|
|
472
|
+
time: string;
|
|
473
|
+
value: number;
|
|
474
|
+
};
|
|
475
|
+
}, {
|
|
476
|
+
pressure: {
|
|
477
|
+
time: string;
|
|
478
|
+
value: number;
|
|
479
|
+
};
|
|
480
|
+
temperature: {
|
|
481
|
+
time: string;
|
|
482
|
+
value: number;
|
|
483
|
+
};
|
|
484
|
+
sound: {
|
|
485
|
+
time: string;
|
|
486
|
+
value: number;
|
|
487
|
+
};
|
|
488
|
+
humidity: {
|
|
489
|
+
time: string;
|
|
490
|
+
value: number;
|
|
491
|
+
};
|
|
492
|
+
accelerometer_z: {
|
|
493
|
+
time: string;
|
|
494
|
+
value: number;
|
|
495
|
+
};
|
|
496
|
+
}>;
|
|
497
|
+
}, "strip", z.ZodTypeAny, {
|
|
498
|
+
device_id: string;
|
|
499
|
+
device_name: string;
|
|
500
|
+
latest_sensor_values: {
|
|
501
|
+
pressure: {
|
|
502
|
+
time: string;
|
|
503
|
+
value: number;
|
|
504
|
+
};
|
|
505
|
+
temperature: {
|
|
506
|
+
time: string;
|
|
507
|
+
value: number;
|
|
508
|
+
};
|
|
509
|
+
sound: {
|
|
510
|
+
time: string;
|
|
511
|
+
value: number;
|
|
512
|
+
};
|
|
513
|
+
humidity: {
|
|
514
|
+
time: string;
|
|
515
|
+
value: number;
|
|
516
|
+
};
|
|
517
|
+
accelerometer_z: {
|
|
518
|
+
time: string;
|
|
519
|
+
value: number;
|
|
520
|
+
};
|
|
521
|
+
};
|
|
522
|
+
}, {
|
|
523
|
+
device_id: string;
|
|
524
|
+
device_name: string;
|
|
525
|
+
latest_sensor_values: {
|
|
526
|
+
pressure: {
|
|
527
|
+
time: string;
|
|
528
|
+
value: number;
|
|
529
|
+
};
|
|
530
|
+
temperature: {
|
|
531
|
+
time: string;
|
|
532
|
+
value: number;
|
|
533
|
+
};
|
|
534
|
+
sound: {
|
|
535
|
+
time: string;
|
|
536
|
+
value: number;
|
|
537
|
+
};
|
|
538
|
+
humidity: {
|
|
539
|
+
time: string;
|
|
540
|
+
value: number;
|
|
541
|
+
};
|
|
542
|
+
accelerometer_z: {
|
|
543
|
+
time: string;
|
|
544
|
+
value: number;
|
|
545
|
+
};
|
|
546
|
+
};
|
|
547
|
+
}>>;
|
|
548
|
+
four_suites_metadata: z.ZodOptional<z.ZodObject<{
|
|
549
|
+
device_id: z.ZodNumber;
|
|
550
|
+
device_name: z.ZodString;
|
|
551
|
+
reclose_delay_in_seconds: z.ZodNumber;
|
|
552
|
+
}, "strip", z.ZodTypeAny, {
|
|
553
|
+
device_id: number;
|
|
554
|
+
device_name: string;
|
|
555
|
+
reclose_delay_in_seconds: number;
|
|
556
|
+
}, {
|
|
557
|
+
device_id: number;
|
|
558
|
+
device_name: string;
|
|
559
|
+
reclose_delay_in_seconds: number;
|
|
560
|
+
}>>;
|
|
561
|
+
two_n_metadata: z.ZodOptional<z.ZodObject<{
|
|
562
|
+
device_id: z.ZodNumber;
|
|
563
|
+
device_name: z.ZodString;
|
|
564
|
+
}, "strip", z.ZodTypeAny, {
|
|
565
|
+
device_id: number;
|
|
566
|
+
device_name: string;
|
|
567
|
+
}, {
|
|
568
|
+
device_id: number;
|
|
569
|
+
device_name: string;
|
|
570
|
+
}>>;
|
|
571
|
+
controlbyweb_metadata: z.ZodOptional<z.ZodObject<{
|
|
572
|
+
device_id: z.ZodString;
|
|
573
|
+
device_name: z.ZodString;
|
|
574
|
+
relay_name: z.ZodNullable<z.ZodString>;
|
|
575
|
+
}, "strip", z.ZodTypeAny, {
|
|
576
|
+
device_id: string;
|
|
577
|
+
device_name: string;
|
|
578
|
+
relay_name: string | null;
|
|
579
|
+
}, {
|
|
580
|
+
device_id: string;
|
|
581
|
+
device_name: string;
|
|
582
|
+
relay_name: string | null;
|
|
583
|
+
}>>;
|
|
584
|
+
ttlock_metadata: z.ZodOptional<z.ZodObject<{
|
|
585
|
+
lock_id: z.ZodNumber;
|
|
586
|
+
lock_alias: z.ZodString;
|
|
587
|
+
feature_value: z.ZodString;
|
|
588
|
+
}, "strip", z.ZodTypeAny, {
|
|
589
|
+
lock_id: number;
|
|
590
|
+
lock_alias: string;
|
|
591
|
+
feature_value: string;
|
|
592
|
+
}, {
|
|
593
|
+
lock_id: number;
|
|
594
|
+
lock_alias: string;
|
|
595
|
+
feature_value: string;
|
|
596
|
+
}>>;
|
|
597
|
+
seam_bridge_metadata: z.ZodOptional<z.ZodObject<{
|
|
598
|
+
unlock_method: z.ZodOptional<z.ZodEnum<["bridge", "doorking"]>>;
|
|
599
|
+
device_num: z.ZodNumber;
|
|
600
|
+
name: z.ZodString;
|
|
601
|
+
}, "strip", z.ZodTypeAny, {
|
|
602
|
+
name: string;
|
|
603
|
+
device_num: number;
|
|
604
|
+
unlock_method?: "bridge" | "doorking" | undefined;
|
|
605
|
+
}, {
|
|
606
|
+
name: string;
|
|
607
|
+
device_num: number;
|
|
608
|
+
unlock_method?: "bridge" | "doorking" | undefined;
|
|
609
|
+
}>>;
|
|
610
|
+
igloohome_metadata: z.ZodOptional<z.ZodObject<{
|
|
611
|
+
device_id: z.ZodString;
|
|
612
|
+
device_name: z.ZodString;
|
|
613
|
+
bridge_id: z.ZodOptional<z.ZodString>;
|
|
614
|
+
bridge_name: z.ZodOptional<z.ZodString>;
|
|
615
|
+
keypad_id: z.ZodOptional<z.ZodString>;
|
|
616
|
+
}, "strip", z.ZodTypeAny, {
|
|
617
|
+
device_id: string;
|
|
618
|
+
device_name: string;
|
|
619
|
+
bridge_id?: string | undefined;
|
|
620
|
+
bridge_name?: string | undefined;
|
|
621
|
+
keypad_id?: string | undefined;
|
|
622
|
+
}, {
|
|
623
|
+
device_id: string;
|
|
624
|
+
device_name: string;
|
|
625
|
+
bridge_id?: string | undefined;
|
|
626
|
+
bridge_name?: string | undefined;
|
|
627
|
+
keypad_id?: string | undefined;
|
|
628
|
+
}>>;
|
|
629
|
+
nest_metadata: z.ZodOptional<z.ZodObject<{
|
|
630
|
+
nest_device_id: z.ZodString;
|
|
631
|
+
device_name: z.ZodString;
|
|
632
|
+
custom_name: z.ZodString;
|
|
633
|
+
}, "strip", z.ZodTypeAny, {
|
|
634
|
+
device_name: string;
|
|
635
|
+
nest_device_id: string;
|
|
636
|
+
custom_name: string;
|
|
637
|
+
}, {
|
|
638
|
+
device_name: string;
|
|
639
|
+
nest_device_id: string;
|
|
640
|
+
custom_name: string;
|
|
641
|
+
}>>;
|
|
642
|
+
ecobee_metadata: z.ZodOptional<z.ZodObject<{
|
|
643
|
+
ecobee_device_id: z.ZodString;
|
|
644
|
+
device_name: z.ZodString;
|
|
645
|
+
}, "strip", z.ZodTypeAny, {
|
|
646
|
+
device_name: string;
|
|
647
|
+
ecobee_device_id: string;
|
|
648
|
+
}, {
|
|
649
|
+
device_name: string;
|
|
650
|
+
ecobee_device_id: string;
|
|
651
|
+
}>>;
|
|
652
|
+
honeywell_resideo_metadata: z.ZodOptional<z.ZodObject<{
|
|
653
|
+
honeywell_resideo_device_id: z.ZodString;
|
|
654
|
+
device_name: z.ZodString;
|
|
655
|
+
}, "strip", z.ZodTypeAny, {
|
|
656
|
+
device_name: string;
|
|
657
|
+
honeywell_resideo_device_id: string;
|
|
658
|
+
}, {
|
|
659
|
+
device_name: string;
|
|
660
|
+
honeywell_resideo_device_id: string;
|
|
661
|
+
}>>;
|
|
662
|
+
hubitat_metadata: z.ZodOptional<z.ZodObject<{
|
|
663
|
+
device_id: z.ZodString;
|
|
664
|
+
device_name: z.ZodString;
|
|
665
|
+
device_label: z.ZodString;
|
|
666
|
+
}, "strip", z.ZodTypeAny, {
|
|
667
|
+
device_id: string;
|
|
668
|
+
device_name: string;
|
|
669
|
+
device_label: string;
|
|
670
|
+
}, {
|
|
671
|
+
device_id: string;
|
|
672
|
+
device_name: string;
|
|
673
|
+
device_label: string;
|
|
674
|
+
}>>;
|
|
675
|
+
dormakaba_oracode_metadata: z.ZodOptional<z.ZodObject<{
|
|
676
|
+
door_id: z.ZodNumber;
|
|
677
|
+
door_name: z.ZodString;
|
|
678
|
+
device_id: z.ZodOptional<z.ZodNumber>;
|
|
679
|
+
door_is_wireless: z.ZodBoolean;
|
|
680
|
+
site_id: z.ZodNumber;
|
|
681
|
+
site_name: z.ZodString;
|
|
682
|
+
iana_timezone: z.ZodOptional<z.ZodString>;
|
|
683
|
+
predefined_time_slots: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
684
|
+
name: z.ZodString;
|
|
685
|
+
prefix: z.ZodNumber;
|
|
686
|
+
check_in_time: z.ZodString;
|
|
687
|
+
check_out_time: z.ZodString;
|
|
688
|
+
is_24_hour: z.ZodBoolean;
|
|
689
|
+
is_biweekly_mode: z.ZodBoolean;
|
|
690
|
+
is_one_shot: z.ZodBoolean;
|
|
691
|
+
is_master: z.ZodBoolean;
|
|
692
|
+
ext_dormakaba_oracode_user_level_prefix: z.ZodNumber;
|
|
693
|
+
dormakaba_oracode_user_level_id: z.ZodString;
|
|
694
|
+
}, "strip", z.ZodTypeAny, {
|
|
695
|
+
name: string;
|
|
696
|
+
prefix: number;
|
|
697
|
+
check_in_time: string;
|
|
698
|
+
check_out_time: string;
|
|
699
|
+
is_24_hour: boolean;
|
|
700
|
+
is_biweekly_mode: boolean;
|
|
701
|
+
is_one_shot: boolean;
|
|
702
|
+
is_master: boolean;
|
|
703
|
+
ext_dormakaba_oracode_user_level_prefix: number;
|
|
704
|
+
dormakaba_oracode_user_level_id: string;
|
|
705
|
+
}, {
|
|
706
|
+
name: string;
|
|
707
|
+
prefix: number;
|
|
708
|
+
check_in_time: string;
|
|
709
|
+
check_out_time: string;
|
|
710
|
+
is_24_hour: boolean;
|
|
711
|
+
is_biweekly_mode: boolean;
|
|
712
|
+
is_one_shot: boolean;
|
|
713
|
+
is_master: boolean;
|
|
714
|
+
ext_dormakaba_oracode_user_level_prefix: number;
|
|
715
|
+
dormakaba_oracode_user_level_id: string;
|
|
716
|
+
}>, "many">>;
|
|
717
|
+
}, "strip", z.ZodTypeAny, {
|
|
718
|
+
site_id: number;
|
|
719
|
+
site_name: string;
|
|
720
|
+
door_name: string;
|
|
721
|
+
door_id: number;
|
|
722
|
+
door_is_wireless: boolean;
|
|
723
|
+
device_id?: number | undefined;
|
|
724
|
+
iana_timezone?: string | undefined;
|
|
725
|
+
predefined_time_slots?: {
|
|
726
|
+
name: string;
|
|
727
|
+
prefix: number;
|
|
728
|
+
check_in_time: string;
|
|
729
|
+
check_out_time: string;
|
|
730
|
+
is_24_hour: boolean;
|
|
731
|
+
is_biweekly_mode: boolean;
|
|
732
|
+
is_one_shot: boolean;
|
|
733
|
+
is_master: boolean;
|
|
734
|
+
ext_dormakaba_oracode_user_level_prefix: number;
|
|
735
|
+
dormakaba_oracode_user_level_id: string;
|
|
736
|
+
}[] | undefined;
|
|
737
|
+
}, {
|
|
738
|
+
site_id: number;
|
|
739
|
+
site_name: string;
|
|
740
|
+
door_name: string;
|
|
741
|
+
door_id: number;
|
|
742
|
+
door_is_wireless: boolean;
|
|
743
|
+
device_id?: number | undefined;
|
|
744
|
+
iana_timezone?: string | undefined;
|
|
745
|
+
predefined_time_slots?: {
|
|
746
|
+
name: string;
|
|
747
|
+
prefix: number;
|
|
748
|
+
check_in_time: string;
|
|
749
|
+
check_out_time: string;
|
|
750
|
+
is_24_hour: boolean;
|
|
751
|
+
is_biweekly_mode: boolean;
|
|
752
|
+
is_one_shot: boolean;
|
|
753
|
+
is_master: boolean;
|
|
754
|
+
ext_dormakaba_oracode_user_level_prefix: number;
|
|
755
|
+
dormakaba_oracode_user_level_id: string;
|
|
756
|
+
}[] | undefined;
|
|
757
|
+
}>>;
|
|
758
|
+
wyze_metadata: z.ZodOptional<z.ZodObject<{
|
|
759
|
+
device_id: z.ZodString;
|
|
760
|
+
device_name: z.ZodString;
|
|
761
|
+
product_name: z.ZodString;
|
|
762
|
+
product_type: z.ZodString;
|
|
763
|
+
product_model: z.ZodString;
|
|
764
|
+
device_info_model: z.ZodString;
|
|
765
|
+
keypad_uuid: z.ZodOptional<z.ZodString>;
|
|
766
|
+
locker_status_hardlock: z.ZodOptional<z.ZodNumber>;
|
|
767
|
+
}, "strip", z.ZodTypeAny, {
|
|
768
|
+
device_id: string;
|
|
769
|
+
device_name: string;
|
|
770
|
+
product_name: string;
|
|
771
|
+
product_type: string;
|
|
772
|
+
product_model: string;
|
|
773
|
+
device_info_model: string;
|
|
774
|
+
keypad_uuid?: string | undefined;
|
|
775
|
+
locker_status_hardlock?: number | undefined;
|
|
776
|
+
}, {
|
|
777
|
+
device_id: string;
|
|
778
|
+
device_name: string;
|
|
779
|
+
product_name: string;
|
|
780
|
+
product_type: string;
|
|
781
|
+
product_model: string;
|
|
782
|
+
device_info_model: string;
|
|
783
|
+
keypad_uuid?: string | undefined;
|
|
784
|
+
locker_status_hardlock?: number | undefined;
|
|
785
|
+
}>>;
|
|
786
|
+
tedee_metadata: z.ZodOptional<z.ZodObject<{
|
|
787
|
+
device_id: z.ZodNumber;
|
|
788
|
+
serial_number: z.ZodString;
|
|
789
|
+
device_name: z.ZodString;
|
|
790
|
+
device_model: z.ZodString;
|
|
791
|
+
bridge_id: z.ZodNumber;
|
|
792
|
+
bridge_name: z.ZodString;
|
|
793
|
+
keypad_id: z.ZodOptional<z.ZodNumber>;
|
|
794
|
+
}, "strip", z.ZodTypeAny, {
|
|
795
|
+
device_id: number;
|
|
796
|
+
device_model: string;
|
|
797
|
+
device_name: string;
|
|
798
|
+
bridge_id: number;
|
|
799
|
+
bridge_name: string;
|
|
800
|
+
serial_number: string;
|
|
801
|
+
keypad_id?: number | undefined;
|
|
802
|
+
}, {
|
|
803
|
+
device_id: number;
|
|
804
|
+
device_model: string;
|
|
805
|
+
device_name: string;
|
|
806
|
+
bridge_id: number;
|
|
807
|
+
bridge_name: string;
|
|
808
|
+
serial_number: string;
|
|
809
|
+
keypad_id?: number | undefined;
|
|
810
|
+
}>>;
|
|
811
|
+
}, "strip", z.ZodTypeAny, {
|
|
812
|
+
august_metadata?: {
|
|
813
|
+
lock_id: string;
|
|
814
|
+
lock_name: string;
|
|
815
|
+
house_name: string;
|
|
816
|
+
has_keypad: boolean;
|
|
817
|
+
keypad_battery_level?: string | undefined;
|
|
818
|
+
model?: string | undefined;
|
|
819
|
+
house_id?: string | undefined;
|
|
820
|
+
} | undefined;
|
|
821
|
+
avigilon_alta_metadata?: {
|
|
822
|
+
entry_name: string;
|
|
823
|
+
org_name: string;
|
|
824
|
+
zone_id: number;
|
|
825
|
+
zone_name: string;
|
|
826
|
+
site_id: number;
|
|
827
|
+
site_name: string;
|
|
828
|
+
entry_relays_total_count: number;
|
|
829
|
+
} | undefined;
|
|
830
|
+
schlage_metadata?: {
|
|
831
|
+
device_id: string;
|
|
832
|
+
device_name: string;
|
|
833
|
+
access_code_length: number | null;
|
|
834
|
+
model?: string | undefined;
|
|
835
|
+
} | undefined;
|
|
836
|
+
smartthings_metadata?: {
|
|
837
|
+
device_id: string;
|
|
838
|
+
device_name: string;
|
|
839
|
+
model?: string | undefined;
|
|
840
|
+
location_id?: string | undefined;
|
|
841
|
+
} | undefined;
|
|
842
|
+
lockly_metadata?: {
|
|
843
|
+
device_id: string;
|
|
844
|
+
device_name: string;
|
|
845
|
+
model?: string | undefined;
|
|
846
|
+
} | undefined;
|
|
847
|
+
nuki_metadata?: {
|
|
848
|
+
device_id: string;
|
|
849
|
+
device_name: string;
|
|
850
|
+
keypad_battery_critical?: boolean | undefined;
|
|
851
|
+
keypad_paired?: boolean | undefined;
|
|
852
|
+
keypad_2_paired?: boolean | undefined;
|
|
853
|
+
} | undefined;
|
|
854
|
+
kwikset_metadata?: {
|
|
855
|
+
device_id: string;
|
|
856
|
+
device_name: string;
|
|
857
|
+
model_number: string;
|
|
858
|
+
} | undefined;
|
|
859
|
+
salto_metadata?: {
|
|
860
|
+
lock_type: string;
|
|
861
|
+
lock_id: string;
|
|
862
|
+
customer_reference: string;
|
|
863
|
+
battery_level: string;
|
|
864
|
+
locked_state: string;
|
|
865
|
+
model?: string | undefined;
|
|
866
|
+
} | undefined;
|
|
867
|
+
genie_metadata?: {
|
|
868
|
+
device_name: string;
|
|
869
|
+
door_name: string;
|
|
870
|
+
} | undefined;
|
|
871
|
+
brivo_metadata?: {
|
|
872
|
+
device_name: string;
|
|
873
|
+
} | undefined;
|
|
874
|
+
igloo_metadata?: {
|
|
875
|
+
device_id: string;
|
|
876
|
+
bridge_id: string;
|
|
877
|
+
model?: string | undefined;
|
|
878
|
+
} | undefined;
|
|
879
|
+
noiseaware_metadata?: {
|
|
880
|
+
device_id: string;
|
|
881
|
+
device_model: "indoor" | "outdoor";
|
|
882
|
+
device_name: string;
|
|
883
|
+
noise_level_nrs: number;
|
|
884
|
+
noise_level_decibel: number;
|
|
885
|
+
} | undefined;
|
|
886
|
+
minut_metadata?: {
|
|
887
|
+
device_id: string;
|
|
888
|
+
device_name: string;
|
|
889
|
+
latest_sensor_values: {
|
|
890
|
+
pressure: {
|
|
891
|
+
time: string;
|
|
892
|
+
value: number;
|
|
893
|
+
};
|
|
894
|
+
temperature: {
|
|
895
|
+
time: string;
|
|
896
|
+
value: number;
|
|
897
|
+
};
|
|
898
|
+
sound: {
|
|
899
|
+
time: string;
|
|
900
|
+
value: number;
|
|
901
|
+
};
|
|
902
|
+
humidity: {
|
|
903
|
+
time: string;
|
|
904
|
+
value: number;
|
|
905
|
+
};
|
|
906
|
+
accelerometer_z: {
|
|
907
|
+
time: string;
|
|
908
|
+
value: number;
|
|
909
|
+
};
|
|
910
|
+
};
|
|
911
|
+
} | undefined;
|
|
912
|
+
four_suites_metadata?: {
|
|
913
|
+
device_id: number;
|
|
914
|
+
device_name: string;
|
|
915
|
+
reclose_delay_in_seconds: number;
|
|
916
|
+
} | undefined;
|
|
917
|
+
two_n_metadata?: {
|
|
918
|
+
device_id: number;
|
|
919
|
+
device_name: string;
|
|
920
|
+
} | undefined;
|
|
921
|
+
controlbyweb_metadata?: {
|
|
922
|
+
device_id: string;
|
|
923
|
+
device_name: string;
|
|
924
|
+
relay_name: string | null;
|
|
925
|
+
} | undefined;
|
|
926
|
+
ttlock_metadata?: {
|
|
927
|
+
lock_id: number;
|
|
928
|
+
lock_alias: string;
|
|
929
|
+
feature_value: string;
|
|
930
|
+
} | undefined;
|
|
931
|
+
seam_bridge_metadata?: {
|
|
932
|
+
name: string;
|
|
933
|
+
device_num: number;
|
|
934
|
+
unlock_method?: "bridge" | "doorking" | undefined;
|
|
935
|
+
} | undefined;
|
|
936
|
+
igloohome_metadata?: {
|
|
937
|
+
device_id: string;
|
|
938
|
+
device_name: string;
|
|
939
|
+
bridge_id?: string | undefined;
|
|
940
|
+
bridge_name?: string | undefined;
|
|
941
|
+
keypad_id?: string | undefined;
|
|
942
|
+
} | undefined;
|
|
943
|
+
nest_metadata?: {
|
|
944
|
+
device_name: string;
|
|
945
|
+
nest_device_id: string;
|
|
946
|
+
custom_name: string;
|
|
947
|
+
} | undefined;
|
|
948
|
+
ecobee_metadata?: {
|
|
949
|
+
device_name: string;
|
|
950
|
+
ecobee_device_id: string;
|
|
951
|
+
} | undefined;
|
|
952
|
+
honeywell_resideo_metadata?: {
|
|
953
|
+
device_name: string;
|
|
954
|
+
honeywell_resideo_device_id: string;
|
|
955
|
+
} | undefined;
|
|
956
|
+
hubitat_metadata?: {
|
|
957
|
+
device_id: string;
|
|
958
|
+
device_name: string;
|
|
959
|
+
device_label: string;
|
|
960
|
+
} | undefined;
|
|
961
|
+
dormakaba_oracode_metadata?: {
|
|
962
|
+
site_id: number;
|
|
963
|
+
site_name: string;
|
|
964
|
+
door_name: string;
|
|
965
|
+
door_id: number;
|
|
966
|
+
door_is_wireless: boolean;
|
|
967
|
+
device_id?: number | undefined;
|
|
968
|
+
iana_timezone?: string | undefined;
|
|
969
|
+
predefined_time_slots?: {
|
|
970
|
+
name: string;
|
|
971
|
+
prefix: number;
|
|
972
|
+
check_in_time: string;
|
|
973
|
+
check_out_time: string;
|
|
974
|
+
is_24_hour: boolean;
|
|
975
|
+
is_biweekly_mode: boolean;
|
|
976
|
+
is_one_shot: boolean;
|
|
977
|
+
is_master: boolean;
|
|
978
|
+
ext_dormakaba_oracode_user_level_prefix: number;
|
|
979
|
+
dormakaba_oracode_user_level_id: string;
|
|
980
|
+
}[] | undefined;
|
|
981
|
+
} | undefined;
|
|
982
|
+
wyze_metadata?: {
|
|
983
|
+
device_id: string;
|
|
984
|
+
device_name: string;
|
|
985
|
+
product_name: string;
|
|
986
|
+
product_type: string;
|
|
987
|
+
product_model: string;
|
|
988
|
+
device_info_model: string;
|
|
989
|
+
keypad_uuid?: string | undefined;
|
|
990
|
+
locker_status_hardlock?: number | undefined;
|
|
991
|
+
} | undefined;
|
|
992
|
+
tedee_metadata?: {
|
|
993
|
+
device_id: number;
|
|
994
|
+
device_model: string;
|
|
995
|
+
device_name: string;
|
|
996
|
+
bridge_id: number;
|
|
997
|
+
bridge_name: string;
|
|
998
|
+
serial_number: string;
|
|
999
|
+
keypad_id?: number | undefined;
|
|
1000
|
+
} | undefined;
|
|
1001
|
+
}, {
|
|
1002
|
+
august_metadata?: {
|
|
1003
|
+
lock_id: string;
|
|
1004
|
+
lock_name: string;
|
|
1005
|
+
house_name: string;
|
|
1006
|
+
has_keypad: boolean;
|
|
1007
|
+
keypad_battery_level?: string | undefined;
|
|
1008
|
+
model?: string | undefined;
|
|
1009
|
+
house_id?: string | undefined;
|
|
1010
|
+
} | undefined;
|
|
1011
|
+
avigilon_alta_metadata?: {
|
|
1012
|
+
entry_name: string;
|
|
1013
|
+
org_name: string;
|
|
1014
|
+
zone_id: number;
|
|
1015
|
+
zone_name: string;
|
|
1016
|
+
site_id: number;
|
|
1017
|
+
site_name: string;
|
|
1018
|
+
entry_relays_total_count: number;
|
|
1019
|
+
} | undefined;
|
|
1020
|
+
schlage_metadata?: {
|
|
1021
|
+
device_id: string;
|
|
1022
|
+
device_name: string;
|
|
1023
|
+
access_code_length: number | null;
|
|
1024
|
+
model?: string | undefined;
|
|
1025
|
+
} | undefined;
|
|
1026
|
+
smartthings_metadata?: {
|
|
1027
|
+
device_id: string;
|
|
1028
|
+
device_name: string;
|
|
1029
|
+
model?: string | undefined;
|
|
1030
|
+
location_id?: string | undefined;
|
|
1031
|
+
} | undefined;
|
|
1032
|
+
lockly_metadata?: {
|
|
1033
|
+
device_id: string;
|
|
1034
|
+
device_name: string;
|
|
1035
|
+
model?: string | undefined;
|
|
1036
|
+
} | undefined;
|
|
1037
|
+
nuki_metadata?: {
|
|
1038
|
+
device_id: string;
|
|
1039
|
+
device_name: string;
|
|
1040
|
+
keypad_battery_critical?: boolean | undefined;
|
|
1041
|
+
keypad_paired?: boolean | undefined;
|
|
1042
|
+
keypad_2_paired?: boolean | undefined;
|
|
1043
|
+
} | undefined;
|
|
1044
|
+
kwikset_metadata?: {
|
|
1045
|
+
device_id: string;
|
|
1046
|
+
device_name: string;
|
|
1047
|
+
model_number: string;
|
|
1048
|
+
} | undefined;
|
|
1049
|
+
salto_metadata?: {
|
|
1050
|
+
lock_type: string;
|
|
1051
|
+
lock_id: string;
|
|
1052
|
+
customer_reference: string;
|
|
1053
|
+
battery_level: string;
|
|
1054
|
+
locked_state: string;
|
|
1055
|
+
model?: string | undefined;
|
|
1056
|
+
} | undefined;
|
|
1057
|
+
genie_metadata?: {
|
|
1058
|
+
device_name: string;
|
|
1059
|
+
door_name: string;
|
|
1060
|
+
} | undefined;
|
|
1061
|
+
brivo_metadata?: {
|
|
1062
|
+
device_name: string;
|
|
1063
|
+
} | undefined;
|
|
1064
|
+
igloo_metadata?: {
|
|
1065
|
+
device_id: string;
|
|
1066
|
+
bridge_id: string;
|
|
1067
|
+
model?: string | undefined;
|
|
1068
|
+
} | undefined;
|
|
1069
|
+
noiseaware_metadata?: {
|
|
1070
|
+
device_id: string;
|
|
1071
|
+
device_model: "indoor" | "outdoor";
|
|
1072
|
+
device_name: string;
|
|
1073
|
+
noise_level_nrs: number;
|
|
1074
|
+
noise_level_decibel: number;
|
|
1075
|
+
} | undefined;
|
|
1076
|
+
minut_metadata?: {
|
|
1077
|
+
device_id: string;
|
|
1078
|
+
device_name: string;
|
|
1079
|
+
latest_sensor_values: {
|
|
1080
|
+
pressure: {
|
|
1081
|
+
time: string;
|
|
1082
|
+
value: number;
|
|
1083
|
+
};
|
|
1084
|
+
temperature: {
|
|
1085
|
+
time: string;
|
|
1086
|
+
value: number;
|
|
1087
|
+
};
|
|
1088
|
+
sound: {
|
|
1089
|
+
time: string;
|
|
1090
|
+
value: number;
|
|
1091
|
+
};
|
|
1092
|
+
humidity: {
|
|
1093
|
+
time: string;
|
|
1094
|
+
value: number;
|
|
1095
|
+
};
|
|
1096
|
+
accelerometer_z: {
|
|
1097
|
+
time: string;
|
|
1098
|
+
value: number;
|
|
1099
|
+
};
|
|
1100
|
+
};
|
|
1101
|
+
} | undefined;
|
|
1102
|
+
four_suites_metadata?: {
|
|
1103
|
+
device_id: number;
|
|
1104
|
+
device_name: string;
|
|
1105
|
+
reclose_delay_in_seconds: number;
|
|
1106
|
+
} | undefined;
|
|
1107
|
+
two_n_metadata?: {
|
|
1108
|
+
device_id: number;
|
|
1109
|
+
device_name: string;
|
|
1110
|
+
} | undefined;
|
|
1111
|
+
controlbyweb_metadata?: {
|
|
1112
|
+
device_id: string;
|
|
1113
|
+
device_name: string;
|
|
1114
|
+
relay_name: string | null;
|
|
1115
|
+
} | undefined;
|
|
1116
|
+
ttlock_metadata?: {
|
|
1117
|
+
lock_id: number;
|
|
1118
|
+
lock_alias: string;
|
|
1119
|
+
feature_value: string;
|
|
1120
|
+
} | undefined;
|
|
1121
|
+
seam_bridge_metadata?: {
|
|
1122
|
+
name: string;
|
|
1123
|
+
device_num: number;
|
|
1124
|
+
unlock_method?: "bridge" | "doorking" | undefined;
|
|
1125
|
+
} | undefined;
|
|
1126
|
+
igloohome_metadata?: {
|
|
1127
|
+
device_id: string;
|
|
1128
|
+
device_name: string;
|
|
1129
|
+
bridge_id?: string | undefined;
|
|
1130
|
+
bridge_name?: string | undefined;
|
|
1131
|
+
keypad_id?: string | undefined;
|
|
1132
|
+
} | undefined;
|
|
1133
|
+
nest_metadata?: {
|
|
1134
|
+
device_name: string;
|
|
1135
|
+
nest_device_id: string;
|
|
1136
|
+
custom_name: string;
|
|
1137
|
+
} | undefined;
|
|
1138
|
+
ecobee_metadata?: {
|
|
1139
|
+
device_name: string;
|
|
1140
|
+
ecobee_device_id: string;
|
|
1141
|
+
} | undefined;
|
|
1142
|
+
honeywell_resideo_metadata?: {
|
|
1143
|
+
device_name: string;
|
|
1144
|
+
honeywell_resideo_device_id: string;
|
|
1145
|
+
} | undefined;
|
|
1146
|
+
hubitat_metadata?: {
|
|
1147
|
+
device_id: string;
|
|
1148
|
+
device_name: string;
|
|
1149
|
+
device_label: string;
|
|
1150
|
+
} | undefined;
|
|
1151
|
+
dormakaba_oracode_metadata?: {
|
|
1152
|
+
site_id: number;
|
|
1153
|
+
site_name: string;
|
|
1154
|
+
door_name: string;
|
|
1155
|
+
door_id: number;
|
|
1156
|
+
door_is_wireless: boolean;
|
|
1157
|
+
device_id?: number | undefined;
|
|
1158
|
+
iana_timezone?: string | undefined;
|
|
1159
|
+
predefined_time_slots?: {
|
|
1160
|
+
name: string;
|
|
1161
|
+
prefix: number;
|
|
1162
|
+
check_in_time: string;
|
|
1163
|
+
check_out_time: string;
|
|
1164
|
+
is_24_hour: boolean;
|
|
1165
|
+
is_biweekly_mode: boolean;
|
|
1166
|
+
is_one_shot: boolean;
|
|
1167
|
+
is_master: boolean;
|
|
1168
|
+
ext_dormakaba_oracode_user_level_prefix: number;
|
|
1169
|
+
dormakaba_oracode_user_level_id: string;
|
|
1170
|
+
}[] | undefined;
|
|
1171
|
+
} | undefined;
|
|
1172
|
+
wyze_metadata?: {
|
|
1173
|
+
device_id: string;
|
|
1174
|
+
device_name: string;
|
|
1175
|
+
product_name: string;
|
|
1176
|
+
product_type: string;
|
|
1177
|
+
product_model: string;
|
|
1178
|
+
device_info_model: string;
|
|
1179
|
+
keypad_uuid?: string | undefined;
|
|
1180
|
+
locker_status_hardlock?: number | undefined;
|
|
1181
|
+
} | undefined;
|
|
1182
|
+
tedee_metadata?: {
|
|
1183
|
+
device_id: number;
|
|
1184
|
+
device_model: string;
|
|
1185
|
+
device_name: string;
|
|
1186
|
+
bridge_id: number;
|
|
1187
|
+
bridge_name: string;
|
|
1188
|
+
serial_number: string;
|
|
1189
|
+
keypad_id?: number | undefined;
|
|
1190
|
+
} | undefined;
|
|
1191
|
+
}>>, z.ZodIntersection<z.ZodObject<z.objectUtil.extendShape<{
|
|
1192
|
+
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1193
|
+
code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1194
|
+
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"]>;
|
|
1195
|
+
}, "strip", z.ZodTypeAny, {
|
|
1196
|
+
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";
|
|
1197
|
+
}, {
|
|
1198
|
+
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";
|
|
1199
|
+
}>, z.ZodObject<{
|
|
1200
|
+
constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
|
|
1201
|
+
min_length: z.ZodOptional<z.ZodNumber>;
|
|
1202
|
+
max_length: z.ZodOptional<z.ZodNumber>;
|
|
1203
|
+
}, "strip", z.ZodTypeAny, {
|
|
1204
|
+
constraint_type: "name_length" | "name_must_be_unique";
|
|
1205
|
+
min_length?: number | undefined;
|
|
1206
|
+
max_length?: number | undefined;
|
|
1207
|
+
}, {
|
|
1208
|
+
constraint_type: "name_length" | "name_must_be_unique";
|
|
1209
|
+
min_length?: number | undefined;
|
|
1210
|
+
max_length?: number | undefined;
|
|
1211
|
+
}>]>, "many">>>;
|
|
1212
|
+
supported_code_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1213
|
+
max_active_codes_supported: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1214
|
+
supports_backup_access_code_pool: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1215
|
+
has_native_entry_events: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1216
|
+
}, {
|
|
1217
|
+
locked: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1218
|
+
keypad_battery: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1219
|
+
level: z.ZodNumber;
|
|
1220
|
+
}, "strip", z.ZodTypeAny, {
|
|
1221
|
+
level: number;
|
|
1222
|
+
}, {
|
|
1223
|
+
level: number;
|
|
1224
|
+
}>>>;
|
|
1225
|
+
door_open: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1226
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1227
|
+
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
1228
|
+
code_constraints?: ({
|
|
1229
|
+
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";
|
|
1230
|
+
} | {
|
|
1231
|
+
constraint_type: "name_length" | "name_must_be_unique";
|
|
1232
|
+
min_length?: number | undefined;
|
|
1233
|
+
max_length?: number | undefined;
|
|
1234
|
+
})[] | undefined;
|
|
1235
|
+
supported_code_lengths?: number[] | undefined;
|
|
1236
|
+
max_active_codes_supported?: number | undefined;
|
|
1237
|
+
supports_backup_access_code_pool?: boolean | undefined;
|
|
1238
|
+
has_native_entry_events?: boolean | undefined;
|
|
1239
|
+
locked?: boolean | undefined;
|
|
1240
|
+
keypad_battery?: {
|
|
1241
|
+
level: number;
|
|
1242
|
+
} | undefined;
|
|
1243
|
+
door_open?: boolean | undefined;
|
|
1244
|
+
}, {
|
|
1245
|
+
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
1246
|
+
code_constraints?: ({
|
|
1247
|
+
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";
|
|
1248
|
+
} | {
|
|
1249
|
+
constraint_type: "name_length" | "name_must_be_unique";
|
|
1250
|
+
min_length?: number | undefined;
|
|
1251
|
+
max_length?: number | undefined;
|
|
1252
|
+
})[] | undefined;
|
|
1253
|
+
supported_code_lengths?: number[] | undefined;
|
|
1254
|
+
max_active_codes_supported?: number | undefined;
|
|
1255
|
+
supports_backup_access_code_pool?: boolean | undefined;
|
|
1256
|
+
has_native_entry_events?: boolean | undefined;
|
|
1257
|
+
locked?: boolean | undefined;
|
|
1258
|
+
keypad_battery?: {
|
|
1259
|
+
level: number;
|
|
1260
|
+
} | undefined;
|
|
1261
|
+
door_open?: boolean | undefined;
|
|
1262
|
+
}>, z.ZodUnion<[z.ZodObject<{
|
|
1263
|
+
min_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1264
|
+
min_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1265
|
+
max_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1266
|
+
max_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1267
|
+
temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1268
|
+
temperature_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1269
|
+
relative_humidity: z.ZodOptional<z.ZodNumber>;
|
|
1270
|
+
can_enable_automatic_heating: z.ZodOptional<z.ZodBoolean>;
|
|
1271
|
+
can_enable_automatic_cooling: z.ZodOptional<z.ZodBoolean>;
|
|
1272
|
+
available_hvac_mode_settings: z.ZodOptional<z.ZodArray<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>, "many">>;
|
|
1273
|
+
is_heating: z.ZodOptional<z.ZodBoolean>;
|
|
1274
|
+
is_cooling: z.ZodOptional<z.ZodBoolean>;
|
|
1275
|
+
is_fan_running: z.ZodOptional<z.ZodBoolean>;
|
|
1276
|
+
fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
|
|
1277
|
+
is_temporary_manual_override_active: z.ZodOptional<z.ZodBoolean>;
|
|
1278
|
+
current_climate_setting: z.ZodOptional<z.ZodObject<{
|
|
1279
|
+
automatic_heating_enabled: z.ZodBoolean;
|
|
1280
|
+
automatic_cooling_enabled: z.ZodBoolean;
|
|
1281
|
+
hvac_mode_setting: z.ZodEnum<["off", "heat", "cool", "heat_cool"]>;
|
|
1282
|
+
cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1283
|
+
heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1284
|
+
cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1285
|
+
heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1286
|
+
manual_override_allowed: z.ZodBoolean;
|
|
1287
|
+
}, "strip", z.ZodTypeAny, {
|
|
1288
|
+
automatic_heating_enabled: boolean;
|
|
1289
|
+
automatic_cooling_enabled: boolean;
|
|
1290
|
+
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
1291
|
+
manual_override_allowed: boolean;
|
|
1292
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1293
|
+
heating_set_point_celsius?: number | undefined;
|
|
1294
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1295
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1296
|
+
}, {
|
|
1297
|
+
automatic_heating_enabled: boolean;
|
|
1298
|
+
automatic_cooling_enabled: boolean;
|
|
1299
|
+
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
1300
|
+
manual_override_allowed: boolean;
|
|
1301
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1302
|
+
heating_set_point_celsius?: number | undefined;
|
|
1303
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1304
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1305
|
+
}>>;
|
|
1306
|
+
default_climate_setting: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1307
|
+
automatic_heating_enabled: z.ZodBoolean;
|
|
1308
|
+
automatic_cooling_enabled: z.ZodBoolean;
|
|
1309
|
+
hvac_mode_setting: z.ZodEnum<["off", "heat", "cool", "heat_cool"]>;
|
|
1310
|
+
cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1311
|
+
heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1312
|
+
cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1313
|
+
heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1314
|
+
manual_override_allowed: z.ZodBoolean;
|
|
1315
|
+
}, "strip", z.ZodTypeAny, {
|
|
1316
|
+
automatic_heating_enabled: boolean;
|
|
1317
|
+
automatic_cooling_enabled: boolean;
|
|
1318
|
+
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
1319
|
+
manual_override_allowed: boolean;
|
|
1320
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1321
|
+
heating_set_point_celsius?: number | undefined;
|
|
1322
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1323
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1324
|
+
}, {
|
|
1325
|
+
automatic_heating_enabled: boolean;
|
|
1326
|
+
automatic_cooling_enabled: boolean;
|
|
1327
|
+
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
1328
|
+
manual_override_allowed: boolean;
|
|
1329
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1330
|
+
heating_set_point_celsius?: number | undefined;
|
|
1331
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1332
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1333
|
+
}>>>;
|
|
1334
|
+
is_climate_setting_schedule_active: z.ZodOptional<z.ZodBoolean>;
|
|
1335
|
+
active_climate_setting_schedule: z.ZodOptional<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
1336
|
+
climate_setting_schedule_id: z.ZodString;
|
|
1337
|
+
schedule_type: z.ZodLiteral<"time_bound">;
|
|
1338
|
+
device_id: z.ZodString;
|
|
1339
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1340
|
+
schedule_starts_at: z.ZodString;
|
|
1341
|
+
schedule_ends_at: z.ZodString;
|
|
1342
|
+
created_at: z.ZodString;
|
|
1343
|
+
errors: z.ZodAny;
|
|
1344
|
+
}, {
|
|
1345
|
+
automatic_heating_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1346
|
+
automatic_cooling_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1347
|
+
hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
|
|
1348
|
+
cooling_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1349
|
+
heating_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1350
|
+
cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1351
|
+
heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1352
|
+
manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
1353
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1354
|
+
created_at: string;
|
|
1355
|
+
climate_setting_schedule_id: string;
|
|
1356
|
+
schedule_type: "time_bound";
|
|
1357
|
+
device_id: string;
|
|
1358
|
+
schedule_starts_at: string;
|
|
1359
|
+
schedule_ends_at: string;
|
|
1360
|
+
name?: string | undefined;
|
|
1361
|
+
errors?: any;
|
|
1362
|
+
automatic_heating_enabled?: boolean | undefined;
|
|
1363
|
+
automatic_cooling_enabled?: boolean | undefined;
|
|
1364
|
+
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
1365
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1366
|
+
heating_set_point_celsius?: number | undefined;
|
|
1367
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1368
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1369
|
+
manual_override_allowed?: boolean | undefined;
|
|
1370
|
+
}, {
|
|
1371
|
+
created_at: string;
|
|
1372
|
+
climate_setting_schedule_id: string;
|
|
1373
|
+
schedule_type: "time_bound";
|
|
1374
|
+
device_id: string;
|
|
1375
|
+
schedule_starts_at: string;
|
|
1376
|
+
schedule_ends_at: string;
|
|
1377
|
+
name?: string | undefined;
|
|
1378
|
+
errors?: any;
|
|
1379
|
+
automatic_heating_enabled?: boolean | undefined;
|
|
1380
|
+
automatic_cooling_enabled?: boolean | undefined;
|
|
1381
|
+
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
1382
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1383
|
+
heating_set_point_celsius?: number | undefined;
|
|
1384
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1385
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1386
|
+
manual_override_allowed?: boolean | undefined;
|
|
1387
|
+
}>>>;
|
|
1388
|
+
min_heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1389
|
+
min_heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1390
|
+
max_heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1391
|
+
max_heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1392
|
+
is_cooling_available: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1393
|
+
is_heating_available: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1394
|
+
min_heating_cooling_delta_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1395
|
+
min_heating_cooling_delta_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1396
|
+
}, "strip", z.ZodTypeAny, {
|
|
1397
|
+
temperature_fahrenheit?: number | undefined;
|
|
1398
|
+
temperature_celsius?: number | undefined;
|
|
1399
|
+
relative_humidity?: number | undefined;
|
|
1400
|
+
can_enable_automatic_heating?: boolean | undefined;
|
|
1401
|
+
can_enable_automatic_cooling?: boolean | undefined;
|
|
1402
|
+
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
1403
|
+
is_heating_available?: true | undefined;
|
|
1404
|
+
is_cooling_available?: true | undefined;
|
|
1405
|
+
is_heating?: boolean | undefined;
|
|
1406
|
+
is_cooling?: boolean | undefined;
|
|
1407
|
+
is_fan_running?: boolean | undefined;
|
|
1408
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
1409
|
+
is_temporary_manual_override_active?: boolean | undefined;
|
|
1410
|
+
current_climate_setting?: {
|
|
1411
|
+
automatic_heating_enabled: boolean;
|
|
1412
|
+
automatic_cooling_enabled: boolean;
|
|
1413
|
+
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
1414
|
+
manual_override_allowed: boolean;
|
|
1415
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1416
|
+
heating_set_point_celsius?: number | undefined;
|
|
1417
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1418
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1419
|
+
} | undefined;
|
|
1420
|
+
default_climate_setting?: {
|
|
1421
|
+
automatic_heating_enabled: boolean;
|
|
1422
|
+
automatic_cooling_enabled: boolean;
|
|
1423
|
+
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
1424
|
+
manual_override_allowed: boolean;
|
|
1425
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1426
|
+
heating_set_point_celsius?: number | undefined;
|
|
1427
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1428
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1429
|
+
} | undefined;
|
|
1430
|
+
is_climate_setting_schedule_active?: boolean | undefined;
|
|
1431
|
+
active_climate_setting_schedule?: {
|
|
1432
|
+
created_at: string;
|
|
1433
|
+
climate_setting_schedule_id: string;
|
|
1434
|
+
schedule_type: "time_bound";
|
|
1435
|
+
device_id: string;
|
|
1436
|
+
schedule_starts_at: string;
|
|
1437
|
+
schedule_ends_at: string;
|
|
1438
|
+
name?: string | undefined;
|
|
1439
|
+
errors?: any;
|
|
1440
|
+
automatic_heating_enabled?: boolean | undefined;
|
|
1441
|
+
automatic_cooling_enabled?: boolean | undefined;
|
|
1442
|
+
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
1443
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1444
|
+
heating_set_point_celsius?: number | undefined;
|
|
1445
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1446
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1447
|
+
manual_override_allowed?: boolean | undefined;
|
|
1448
|
+
} | undefined;
|
|
1449
|
+
min_cooling_set_point_celsius?: number | undefined;
|
|
1450
|
+
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
1451
|
+
max_cooling_set_point_celsius?: number | undefined;
|
|
1452
|
+
max_cooling_set_point_fahrenheit?: number | undefined;
|
|
1453
|
+
min_heating_set_point_celsius?: number | undefined;
|
|
1454
|
+
min_heating_set_point_fahrenheit?: number | undefined;
|
|
1455
|
+
max_heating_set_point_celsius?: number | undefined;
|
|
1456
|
+
max_heating_set_point_fahrenheit?: number | undefined;
|
|
1457
|
+
min_heating_cooling_delta_celsius?: number | undefined;
|
|
1458
|
+
min_heating_cooling_delta_fahrenheit?: number | undefined;
|
|
1459
|
+
}, {
|
|
1460
|
+
temperature_fahrenheit?: number | undefined;
|
|
1461
|
+
temperature_celsius?: number | undefined;
|
|
1462
|
+
relative_humidity?: number | undefined;
|
|
1463
|
+
can_enable_automatic_heating?: boolean | undefined;
|
|
1464
|
+
can_enable_automatic_cooling?: boolean | undefined;
|
|
1465
|
+
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
1466
|
+
is_heating_available?: true | undefined;
|
|
1467
|
+
is_cooling_available?: true | undefined;
|
|
1468
|
+
is_heating?: boolean | undefined;
|
|
1469
|
+
is_cooling?: boolean | undefined;
|
|
1470
|
+
is_fan_running?: boolean | undefined;
|
|
1471
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
1472
|
+
is_temporary_manual_override_active?: boolean | undefined;
|
|
1473
|
+
current_climate_setting?: {
|
|
1474
|
+
automatic_heating_enabled: boolean;
|
|
1475
|
+
automatic_cooling_enabled: boolean;
|
|
1476
|
+
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
1477
|
+
manual_override_allowed: boolean;
|
|
1478
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1479
|
+
heating_set_point_celsius?: number | undefined;
|
|
1480
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1481
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1482
|
+
} | undefined;
|
|
1483
|
+
default_climate_setting?: {
|
|
1484
|
+
automatic_heating_enabled: boolean;
|
|
1485
|
+
automatic_cooling_enabled: boolean;
|
|
1486
|
+
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
1487
|
+
manual_override_allowed: boolean;
|
|
1488
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1489
|
+
heating_set_point_celsius?: number | undefined;
|
|
1490
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1491
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1492
|
+
} | undefined;
|
|
1493
|
+
is_climate_setting_schedule_active?: boolean | undefined;
|
|
1494
|
+
active_climate_setting_schedule?: {
|
|
1495
|
+
created_at: string;
|
|
1496
|
+
climate_setting_schedule_id: string;
|
|
1497
|
+
schedule_type: "time_bound";
|
|
1498
|
+
device_id: string;
|
|
1499
|
+
schedule_starts_at: string;
|
|
1500
|
+
schedule_ends_at: string;
|
|
1501
|
+
name?: string | undefined;
|
|
1502
|
+
errors?: any;
|
|
1503
|
+
automatic_heating_enabled?: boolean | undefined;
|
|
1504
|
+
automatic_cooling_enabled?: boolean | undefined;
|
|
1505
|
+
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
1506
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1507
|
+
heating_set_point_celsius?: number | undefined;
|
|
1508
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1509
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1510
|
+
manual_override_allowed?: boolean | undefined;
|
|
1511
|
+
} | undefined;
|
|
1512
|
+
min_cooling_set_point_celsius?: number | undefined;
|
|
1513
|
+
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
1514
|
+
max_cooling_set_point_celsius?: number | undefined;
|
|
1515
|
+
max_cooling_set_point_fahrenheit?: number | undefined;
|
|
1516
|
+
min_heating_set_point_celsius?: number | undefined;
|
|
1517
|
+
min_heating_set_point_fahrenheit?: number | undefined;
|
|
1518
|
+
max_heating_set_point_celsius?: number | undefined;
|
|
1519
|
+
max_heating_set_point_fahrenheit?: number | undefined;
|
|
1520
|
+
min_heating_cooling_delta_celsius?: number | undefined;
|
|
1521
|
+
min_heating_cooling_delta_fahrenheit?: number | undefined;
|
|
1522
|
+
}>, z.ZodObject<{
|
|
1523
|
+
temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1524
|
+
temperature_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1525
|
+
relative_humidity: z.ZodOptional<z.ZodNumber>;
|
|
1526
|
+
can_enable_automatic_heating: z.ZodOptional<z.ZodBoolean>;
|
|
1527
|
+
can_enable_automatic_cooling: z.ZodOptional<z.ZodBoolean>;
|
|
1528
|
+
available_hvac_mode_settings: z.ZodOptional<z.ZodArray<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>, "many">>;
|
|
1529
|
+
is_cooling_available: z.ZodOptional<z.ZodLiteral<false>>;
|
|
1530
|
+
is_heating: z.ZodOptional<z.ZodBoolean>;
|
|
1531
|
+
is_cooling: z.ZodOptional<z.ZodBoolean>;
|
|
1532
|
+
is_fan_running: z.ZodOptional<z.ZodBoolean>;
|
|
1533
|
+
fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
|
|
1534
|
+
is_temporary_manual_override_active: z.ZodOptional<z.ZodBoolean>;
|
|
1535
|
+
current_climate_setting: z.ZodOptional<z.ZodObject<{
|
|
1536
|
+
automatic_heating_enabled: z.ZodBoolean;
|
|
1537
|
+
automatic_cooling_enabled: z.ZodBoolean;
|
|
1538
|
+
hvac_mode_setting: z.ZodEnum<["off", "heat", "cool", "heat_cool"]>;
|
|
1539
|
+
cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1540
|
+
heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1541
|
+
cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1542
|
+
heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1543
|
+
manual_override_allowed: z.ZodBoolean;
|
|
1544
|
+
}, "strip", z.ZodTypeAny, {
|
|
1545
|
+
automatic_heating_enabled: boolean;
|
|
1546
|
+
automatic_cooling_enabled: boolean;
|
|
1547
|
+
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
1548
|
+
manual_override_allowed: boolean;
|
|
1549
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1550
|
+
heating_set_point_celsius?: number | undefined;
|
|
1551
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1552
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1553
|
+
}, {
|
|
1554
|
+
automatic_heating_enabled: boolean;
|
|
1555
|
+
automatic_cooling_enabled: boolean;
|
|
1556
|
+
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
1557
|
+
manual_override_allowed: boolean;
|
|
1558
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1559
|
+
heating_set_point_celsius?: number | undefined;
|
|
1560
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1561
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1562
|
+
}>>;
|
|
1563
|
+
default_climate_setting: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1564
|
+
automatic_heating_enabled: z.ZodBoolean;
|
|
1565
|
+
automatic_cooling_enabled: z.ZodBoolean;
|
|
1566
|
+
hvac_mode_setting: z.ZodEnum<["off", "heat", "cool", "heat_cool"]>;
|
|
1567
|
+
cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1568
|
+
heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1569
|
+
cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1570
|
+
heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1571
|
+
manual_override_allowed: z.ZodBoolean;
|
|
1572
|
+
}, "strip", z.ZodTypeAny, {
|
|
1573
|
+
automatic_heating_enabled: boolean;
|
|
1574
|
+
automatic_cooling_enabled: boolean;
|
|
1575
|
+
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
1576
|
+
manual_override_allowed: boolean;
|
|
1577
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1578
|
+
heating_set_point_celsius?: number | undefined;
|
|
1579
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1580
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1581
|
+
}, {
|
|
1582
|
+
automatic_heating_enabled: boolean;
|
|
1583
|
+
automatic_cooling_enabled: boolean;
|
|
1584
|
+
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
1585
|
+
manual_override_allowed: boolean;
|
|
1586
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1587
|
+
heating_set_point_celsius?: number | undefined;
|
|
1588
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1589
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1590
|
+
}>>>;
|
|
1591
|
+
is_climate_setting_schedule_active: z.ZodOptional<z.ZodBoolean>;
|
|
1592
|
+
active_climate_setting_schedule: z.ZodOptional<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
1593
|
+
climate_setting_schedule_id: z.ZodString;
|
|
1594
|
+
schedule_type: z.ZodLiteral<"time_bound">;
|
|
1595
|
+
device_id: z.ZodString;
|
|
1596
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1597
|
+
schedule_starts_at: z.ZodString;
|
|
1598
|
+
schedule_ends_at: z.ZodString;
|
|
1599
|
+
created_at: z.ZodString;
|
|
1600
|
+
errors: z.ZodAny;
|
|
1601
|
+
}, {
|
|
1602
|
+
automatic_heating_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1603
|
+
automatic_cooling_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1604
|
+
hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
|
|
1605
|
+
cooling_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1606
|
+
heating_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1607
|
+
cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1608
|
+
heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1609
|
+
manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
1610
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1611
|
+
created_at: string;
|
|
1612
|
+
climate_setting_schedule_id: string;
|
|
1613
|
+
schedule_type: "time_bound";
|
|
1614
|
+
device_id: string;
|
|
1615
|
+
schedule_starts_at: string;
|
|
1616
|
+
schedule_ends_at: string;
|
|
1617
|
+
name?: string | undefined;
|
|
1618
|
+
errors?: any;
|
|
1619
|
+
automatic_heating_enabled?: boolean | undefined;
|
|
1620
|
+
automatic_cooling_enabled?: boolean | undefined;
|
|
1621
|
+
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
1622
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1623
|
+
heating_set_point_celsius?: number | undefined;
|
|
1624
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1625
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1626
|
+
manual_override_allowed?: boolean | undefined;
|
|
1627
|
+
}, {
|
|
1628
|
+
created_at: string;
|
|
1629
|
+
climate_setting_schedule_id: string;
|
|
1630
|
+
schedule_type: "time_bound";
|
|
1631
|
+
device_id: string;
|
|
1632
|
+
schedule_starts_at: string;
|
|
1633
|
+
schedule_ends_at: string;
|
|
1634
|
+
name?: string | undefined;
|
|
1635
|
+
errors?: any;
|
|
1636
|
+
automatic_heating_enabled?: boolean | undefined;
|
|
1637
|
+
automatic_cooling_enabled?: boolean | undefined;
|
|
1638
|
+
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
1639
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1640
|
+
heating_set_point_celsius?: number | undefined;
|
|
1641
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1642
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1643
|
+
manual_override_allowed?: boolean | undefined;
|
|
1644
|
+
}>>>;
|
|
1645
|
+
min_heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1646
|
+
min_heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1647
|
+
max_heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1648
|
+
max_heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1649
|
+
is_heating_available: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1650
|
+
}, "strip", z.ZodTypeAny, {
|
|
1651
|
+
temperature_fahrenheit?: number | undefined;
|
|
1652
|
+
temperature_celsius?: number | undefined;
|
|
1653
|
+
relative_humidity?: number | undefined;
|
|
1654
|
+
can_enable_automatic_heating?: boolean | undefined;
|
|
1655
|
+
can_enable_automatic_cooling?: boolean | undefined;
|
|
1656
|
+
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
1657
|
+
is_heating_available?: true | undefined;
|
|
1658
|
+
is_cooling_available?: false | undefined;
|
|
1659
|
+
is_heating?: boolean | undefined;
|
|
1660
|
+
is_cooling?: boolean | undefined;
|
|
1661
|
+
is_fan_running?: boolean | undefined;
|
|
1662
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
1663
|
+
is_temporary_manual_override_active?: boolean | undefined;
|
|
1664
|
+
current_climate_setting?: {
|
|
1665
|
+
automatic_heating_enabled: boolean;
|
|
1666
|
+
automatic_cooling_enabled: boolean;
|
|
1667
|
+
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
1668
|
+
manual_override_allowed: boolean;
|
|
1669
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1670
|
+
heating_set_point_celsius?: number | undefined;
|
|
1671
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1672
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1673
|
+
} | undefined;
|
|
1674
|
+
default_climate_setting?: {
|
|
1675
|
+
automatic_heating_enabled: boolean;
|
|
1676
|
+
automatic_cooling_enabled: boolean;
|
|
1677
|
+
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
1678
|
+
manual_override_allowed: boolean;
|
|
1679
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1680
|
+
heating_set_point_celsius?: number | undefined;
|
|
1681
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1682
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1683
|
+
} | undefined;
|
|
1684
|
+
is_climate_setting_schedule_active?: boolean | undefined;
|
|
1685
|
+
active_climate_setting_schedule?: {
|
|
1686
|
+
created_at: string;
|
|
1687
|
+
climate_setting_schedule_id: string;
|
|
1688
|
+
schedule_type: "time_bound";
|
|
1689
|
+
device_id: string;
|
|
1690
|
+
schedule_starts_at: string;
|
|
1691
|
+
schedule_ends_at: string;
|
|
1692
|
+
name?: string | undefined;
|
|
1693
|
+
errors?: any;
|
|
1694
|
+
automatic_heating_enabled?: boolean | undefined;
|
|
1695
|
+
automatic_cooling_enabled?: boolean | undefined;
|
|
1696
|
+
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
1697
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1698
|
+
heating_set_point_celsius?: number | undefined;
|
|
1699
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1700
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1701
|
+
manual_override_allowed?: boolean | undefined;
|
|
1702
|
+
} | undefined;
|
|
1703
|
+
min_heating_set_point_celsius?: number | undefined;
|
|
1704
|
+
min_heating_set_point_fahrenheit?: number | undefined;
|
|
1705
|
+
max_heating_set_point_celsius?: number | undefined;
|
|
1706
|
+
max_heating_set_point_fahrenheit?: number | undefined;
|
|
1707
|
+
}, {
|
|
1708
|
+
temperature_fahrenheit?: number | undefined;
|
|
1709
|
+
temperature_celsius?: number | undefined;
|
|
1710
|
+
relative_humidity?: number | undefined;
|
|
1711
|
+
can_enable_automatic_heating?: boolean | undefined;
|
|
1712
|
+
can_enable_automatic_cooling?: boolean | undefined;
|
|
1713
|
+
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
1714
|
+
is_heating_available?: true | undefined;
|
|
1715
|
+
is_cooling_available?: false | undefined;
|
|
1716
|
+
is_heating?: boolean | undefined;
|
|
1717
|
+
is_cooling?: boolean | undefined;
|
|
1718
|
+
is_fan_running?: boolean | undefined;
|
|
1719
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
1720
|
+
is_temporary_manual_override_active?: boolean | undefined;
|
|
1721
|
+
current_climate_setting?: {
|
|
1722
|
+
automatic_heating_enabled: boolean;
|
|
1723
|
+
automatic_cooling_enabled: boolean;
|
|
1724
|
+
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
1725
|
+
manual_override_allowed: boolean;
|
|
1726
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1727
|
+
heating_set_point_celsius?: number | undefined;
|
|
1728
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1729
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1730
|
+
} | undefined;
|
|
1731
|
+
default_climate_setting?: {
|
|
1732
|
+
automatic_heating_enabled: boolean;
|
|
1733
|
+
automatic_cooling_enabled: boolean;
|
|
1734
|
+
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
1735
|
+
manual_override_allowed: boolean;
|
|
1736
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1737
|
+
heating_set_point_celsius?: number | undefined;
|
|
1738
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1739
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1740
|
+
} | undefined;
|
|
1741
|
+
is_climate_setting_schedule_active?: boolean | undefined;
|
|
1742
|
+
active_climate_setting_schedule?: {
|
|
1743
|
+
created_at: string;
|
|
1744
|
+
climate_setting_schedule_id: string;
|
|
1745
|
+
schedule_type: "time_bound";
|
|
1746
|
+
device_id: string;
|
|
1747
|
+
schedule_starts_at: string;
|
|
1748
|
+
schedule_ends_at: string;
|
|
1749
|
+
name?: string | undefined;
|
|
1750
|
+
errors?: any;
|
|
1751
|
+
automatic_heating_enabled?: boolean | undefined;
|
|
1752
|
+
automatic_cooling_enabled?: boolean | undefined;
|
|
1753
|
+
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
1754
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1755
|
+
heating_set_point_celsius?: number | undefined;
|
|
1756
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1757
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1758
|
+
manual_override_allowed?: boolean | undefined;
|
|
1759
|
+
} | undefined;
|
|
1760
|
+
min_heating_set_point_celsius?: number | undefined;
|
|
1761
|
+
min_heating_set_point_fahrenheit?: number | undefined;
|
|
1762
|
+
max_heating_set_point_celsius?: number | undefined;
|
|
1763
|
+
max_heating_set_point_fahrenheit?: number | undefined;
|
|
1764
|
+
}>, z.ZodObject<{
|
|
1765
|
+
temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1766
|
+
temperature_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1767
|
+
relative_humidity: z.ZodOptional<z.ZodNumber>;
|
|
1768
|
+
can_enable_automatic_heating: z.ZodOptional<z.ZodBoolean>;
|
|
1769
|
+
can_enable_automatic_cooling: z.ZodOptional<z.ZodBoolean>;
|
|
1770
|
+
available_hvac_mode_settings: z.ZodOptional<z.ZodArray<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>, "many">>;
|
|
1771
|
+
is_heating_available: z.ZodOptional<z.ZodLiteral<false>>;
|
|
1772
|
+
is_heating: z.ZodOptional<z.ZodBoolean>;
|
|
1773
|
+
is_cooling: z.ZodOptional<z.ZodBoolean>;
|
|
1774
|
+
is_fan_running: z.ZodOptional<z.ZodBoolean>;
|
|
1775
|
+
fan_mode_setting: z.ZodOptional<z.ZodEnum<["auto", "on"]>>;
|
|
1776
|
+
is_temporary_manual_override_active: z.ZodOptional<z.ZodBoolean>;
|
|
1777
|
+
current_climate_setting: z.ZodOptional<z.ZodObject<{
|
|
1778
|
+
automatic_heating_enabled: z.ZodBoolean;
|
|
1779
|
+
automatic_cooling_enabled: z.ZodBoolean;
|
|
1780
|
+
hvac_mode_setting: z.ZodEnum<["off", "heat", "cool", "heat_cool"]>;
|
|
1781
|
+
cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1782
|
+
heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1783
|
+
cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1784
|
+
heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1785
|
+
manual_override_allowed: z.ZodBoolean;
|
|
1786
|
+
}, "strip", z.ZodTypeAny, {
|
|
1787
|
+
automatic_heating_enabled: boolean;
|
|
1788
|
+
automatic_cooling_enabled: boolean;
|
|
1789
|
+
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
1790
|
+
manual_override_allowed: boolean;
|
|
1791
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1792
|
+
heating_set_point_celsius?: number | undefined;
|
|
1793
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1794
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1795
|
+
}, {
|
|
1796
|
+
automatic_heating_enabled: boolean;
|
|
1797
|
+
automatic_cooling_enabled: boolean;
|
|
1798
|
+
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
1799
|
+
manual_override_allowed: boolean;
|
|
1800
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1801
|
+
heating_set_point_celsius?: number | undefined;
|
|
1802
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1803
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1804
|
+
}>>;
|
|
1805
|
+
default_climate_setting: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1806
|
+
automatic_heating_enabled: z.ZodBoolean;
|
|
1807
|
+
automatic_cooling_enabled: z.ZodBoolean;
|
|
1808
|
+
hvac_mode_setting: z.ZodEnum<["off", "heat", "cool", "heat_cool"]>;
|
|
1809
|
+
cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1810
|
+
heating_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1811
|
+
cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1812
|
+
heating_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1813
|
+
manual_override_allowed: z.ZodBoolean;
|
|
1814
|
+
}, "strip", z.ZodTypeAny, {
|
|
1815
|
+
automatic_heating_enabled: boolean;
|
|
1816
|
+
automatic_cooling_enabled: boolean;
|
|
1817
|
+
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
1818
|
+
manual_override_allowed: boolean;
|
|
1819
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1820
|
+
heating_set_point_celsius?: number | undefined;
|
|
1821
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1822
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1823
|
+
}, {
|
|
1824
|
+
automatic_heating_enabled: boolean;
|
|
1825
|
+
automatic_cooling_enabled: boolean;
|
|
1826
|
+
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
1827
|
+
manual_override_allowed: boolean;
|
|
1828
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1829
|
+
heating_set_point_celsius?: number | undefined;
|
|
1830
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1831
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1832
|
+
}>>>;
|
|
1833
|
+
is_climate_setting_schedule_active: z.ZodOptional<z.ZodBoolean>;
|
|
1834
|
+
active_climate_setting_schedule: z.ZodOptional<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
1835
|
+
climate_setting_schedule_id: z.ZodString;
|
|
1836
|
+
schedule_type: z.ZodLiteral<"time_bound">;
|
|
1837
|
+
device_id: z.ZodString;
|
|
1838
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1839
|
+
schedule_starts_at: z.ZodString;
|
|
1840
|
+
schedule_ends_at: z.ZodString;
|
|
1841
|
+
created_at: z.ZodString;
|
|
1842
|
+
errors: z.ZodAny;
|
|
1843
|
+
}, {
|
|
1844
|
+
automatic_heating_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1845
|
+
automatic_cooling_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1846
|
+
hvac_mode_setting: z.ZodOptional<z.ZodEnum<["off", "heat", "cool", "heat_cool"]>>;
|
|
1847
|
+
cooling_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1848
|
+
heating_set_point_celsius: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1849
|
+
cooling_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1850
|
+
heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
1851
|
+
manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
1852
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1853
|
+
created_at: string;
|
|
1854
|
+
climate_setting_schedule_id: string;
|
|
1855
|
+
schedule_type: "time_bound";
|
|
1856
|
+
device_id: string;
|
|
1857
|
+
schedule_starts_at: string;
|
|
1858
|
+
schedule_ends_at: string;
|
|
1859
|
+
name?: string | undefined;
|
|
1860
|
+
errors?: any;
|
|
1861
|
+
automatic_heating_enabled?: boolean | undefined;
|
|
1862
|
+
automatic_cooling_enabled?: boolean | undefined;
|
|
1863
|
+
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
1864
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1865
|
+
heating_set_point_celsius?: number | undefined;
|
|
1866
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1867
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1868
|
+
manual_override_allowed?: boolean | undefined;
|
|
1869
|
+
}, {
|
|
1870
|
+
created_at: string;
|
|
1871
|
+
climate_setting_schedule_id: string;
|
|
1872
|
+
schedule_type: "time_bound";
|
|
1873
|
+
device_id: string;
|
|
1874
|
+
schedule_starts_at: string;
|
|
1875
|
+
schedule_ends_at: string;
|
|
1876
|
+
name?: string | undefined;
|
|
1877
|
+
errors?: any;
|
|
1878
|
+
automatic_heating_enabled?: boolean | undefined;
|
|
1879
|
+
automatic_cooling_enabled?: boolean | undefined;
|
|
1880
|
+
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
1881
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1882
|
+
heating_set_point_celsius?: number | undefined;
|
|
1883
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1884
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1885
|
+
manual_override_allowed?: boolean | undefined;
|
|
1886
|
+
}>>>;
|
|
1887
|
+
min_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1888
|
+
min_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1889
|
+
max_cooling_set_point_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1890
|
+
max_cooling_set_point_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1891
|
+
is_cooling_available: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1892
|
+
}, "strip", z.ZodTypeAny, {
|
|
1893
|
+
temperature_fahrenheit?: number | undefined;
|
|
1894
|
+
temperature_celsius?: number | undefined;
|
|
1895
|
+
relative_humidity?: number | undefined;
|
|
1896
|
+
can_enable_automatic_heating?: boolean | undefined;
|
|
1897
|
+
can_enable_automatic_cooling?: boolean | undefined;
|
|
1898
|
+
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
1899
|
+
is_heating_available?: false | undefined;
|
|
1900
|
+
is_cooling_available?: true | undefined;
|
|
1901
|
+
is_heating?: boolean | undefined;
|
|
1902
|
+
is_cooling?: boolean | undefined;
|
|
1903
|
+
is_fan_running?: boolean | undefined;
|
|
1904
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
1905
|
+
is_temporary_manual_override_active?: boolean | undefined;
|
|
1906
|
+
current_climate_setting?: {
|
|
1907
|
+
automatic_heating_enabled: boolean;
|
|
1908
|
+
automatic_cooling_enabled: boolean;
|
|
1909
|
+
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
1910
|
+
manual_override_allowed: boolean;
|
|
1911
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1912
|
+
heating_set_point_celsius?: number | undefined;
|
|
1913
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1914
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1915
|
+
} | undefined;
|
|
1916
|
+
default_climate_setting?: {
|
|
1917
|
+
automatic_heating_enabled: boolean;
|
|
1918
|
+
automatic_cooling_enabled: boolean;
|
|
1919
|
+
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
1920
|
+
manual_override_allowed: boolean;
|
|
1921
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1922
|
+
heating_set_point_celsius?: number | undefined;
|
|
1923
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1924
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1925
|
+
} | undefined;
|
|
1926
|
+
is_climate_setting_schedule_active?: boolean | undefined;
|
|
1927
|
+
active_climate_setting_schedule?: {
|
|
1928
|
+
created_at: string;
|
|
1929
|
+
climate_setting_schedule_id: string;
|
|
1930
|
+
schedule_type: "time_bound";
|
|
1931
|
+
device_id: string;
|
|
1932
|
+
schedule_starts_at: string;
|
|
1933
|
+
schedule_ends_at: string;
|
|
1934
|
+
name?: string | undefined;
|
|
1935
|
+
errors?: any;
|
|
1936
|
+
automatic_heating_enabled?: boolean | undefined;
|
|
1937
|
+
automatic_cooling_enabled?: boolean | undefined;
|
|
1938
|
+
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
1939
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1940
|
+
heating_set_point_celsius?: number | undefined;
|
|
1941
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1942
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1943
|
+
manual_override_allowed?: boolean | undefined;
|
|
1944
|
+
} | undefined;
|
|
1945
|
+
min_cooling_set_point_celsius?: number | undefined;
|
|
1946
|
+
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
1947
|
+
max_cooling_set_point_celsius?: number | undefined;
|
|
1948
|
+
max_cooling_set_point_fahrenheit?: number | undefined;
|
|
1949
|
+
}, {
|
|
1950
|
+
temperature_fahrenheit?: number | undefined;
|
|
1951
|
+
temperature_celsius?: number | undefined;
|
|
1952
|
+
relative_humidity?: number | undefined;
|
|
1953
|
+
can_enable_automatic_heating?: boolean | undefined;
|
|
1954
|
+
can_enable_automatic_cooling?: boolean | undefined;
|
|
1955
|
+
available_hvac_mode_settings?: ("off" | "heat" | "cool" | "heat_cool")[] | undefined;
|
|
1956
|
+
is_heating_available?: false | undefined;
|
|
1957
|
+
is_cooling_available?: true | undefined;
|
|
1958
|
+
is_heating?: boolean | undefined;
|
|
1959
|
+
is_cooling?: boolean | undefined;
|
|
1960
|
+
is_fan_running?: boolean | undefined;
|
|
1961
|
+
fan_mode_setting?: "auto" | "on" | undefined;
|
|
1962
|
+
is_temporary_manual_override_active?: boolean | undefined;
|
|
1963
|
+
current_climate_setting?: {
|
|
1964
|
+
automatic_heating_enabled: boolean;
|
|
1965
|
+
automatic_cooling_enabled: boolean;
|
|
1966
|
+
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
1967
|
+
manual_override_allowed: boolean;
|
|
1968
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1969
|
+
heating_set_point_celsius?: number | undefined;
|
|
1970
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1971
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1972
|
+
} | undefined;
|
|
1973
|
+
default_climate_setting?: {
|
|
1974
|
+
automatic_heating_enabled: boolean;
|
|
1975
|
+
automatic_cooling_enabled: boolean;
|
|
1976
|
+
hvac_mode_setting: "off" | "heat" | "cool" | "heat_cool";
|
|
1977
|
+
manual_override_allowed: boolean;
|
|
1978
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1979
|
+
heating_set_point_celsius?: number | undefined;
|
|
1980
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1981
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
1982
|
+
} | undefined;
|
|
1983
|
+
is_climate_setting_schedule_active?: boolean | undefined;
|
|
1984
|
+
active_climate_setting_schedule?: {
|
|
1985
|
+
created_at: string;
|
|
1986
|
+
climate_setting_schedule_id: string;
|
|
1987
|
+
schedule_type: "time_bound";
|
|
1988
|
+
device_id: string;
|
|
1989
|
+
schedule_starts_at: string;
|
|
1990
|
+
schedule_ends_at: string;
|
|
1991
|
+
name?: string | undefined;
|
|
1992
|
+
errors?: any;
|
|
1993
|
+
automatic_heating_enabled?: boolean | undefined;
|
|
1994
|
+
automatic_cooling_enabled?: boolean | undefined;
|
|
1995
|
+
hvac_mode_setting?: "off" | "heat" | "cool" | "heat_cool" | undefined;
|
|
1996
|
+
cooling_set_point_celsius?: number | undefined;
|
|
1997
|
+
heating_set_point_celsius?: number | undefined;
|
|
1998
|
+
cooling_set_point_fahrenheit?: number | undefined;
|
|
1999
|
+
heating_set_point_fahrenheit?: number | undefined;
|
|
2000
|
+
manual_override_allowed?: boolean | undefined;
|
|
2001
|
+
} | undefined;
|
|
2002
|
+
min_cooling_set_point_celsius?: number | undefined;
|
|
2003
|
+
min_cooling_set_point_fahrenheit?: number | undefined;
|
|
2004
|
+
max_cooling_set_point_celsius?: number | undefined;
|
|
2005
|
+
max_cooling_set_point_fahrenheit?: number | undefined;
|
|
2006
|
+
}>]>>>;
|
|
3
2007
|
location: z.ZodNullable<z.ZodObject<{
|
|
4
2008
|
location_name: z.ZodOptional<z.ZodString>;
|
|
5
2009
|
timezone: z.ZodOptional<z.ZodString>;
|
|
@@ -11,12 +2015,13 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
11
2015
|
timezone?: string | undefined;
|
|
12
2016
|
}>>;
|
|
13
2017
|
connected_account_id: z.ZodString;
|
|
14
|
-
|
|
15
|
-
errors: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
2018
|
+
workspace_id: z.ZodString;
|
|
2019
|
+
errors: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
16
2020
|
message: z.ZodString;
|
|
17
2021
|
is_device_error: z.ZodLiteral<true>;
|
|
2022
|
+
}, {
|
|
18
2023
|
error_code: z.ZodString;
|
|
19
|
-
}
|
|
2024
|
+
}>, "strip", z.ZodTypeAny, {
|
|
20
2025
|
message: string;
|
|
21
2026
|
error_code: string;
|
|
22
2027
|
is_device_error: true;
|
|
@@ -24,11 +2029,12 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
24
2029
|
message: string;
|
|
25
2030
|
error_code: string;
|
|
26
2031
|
is_device_error: true;
|
|
27
|
-
}>, z.ZodObject<{
|
|
2032
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
28
2033
|
message: z.ZodString;
|
|
29
2034
|
is_connected_account_error: z.ZodLiteral<true>;
|
|
2035
|
+
}, {
|
|
30
2036
|
error_code: z.ZodString;
|
|
31
|
-
}
|
|
2037
|
+
}>, "strip", z.ZodTypeAny, {
|
|
32
2038
|
message: string;
|
|
33
2039
|
is_connected_account_error: true;
|
|
34
2040
|
error_code: string;
|
|
@@ -37,19 +2043,31 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
37
2043
|
is_connected_account_error: true;
|
|
38
2044
|
error_code: string;
|
|
39
2045
|
}>]>, "many">;
|
|
40
|
-
warnings: z.ZodArray<z.ZodObject<{
|
|
2046
|
+
warnings: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
41
2047
|
message: z.ZodString;
|
|
2048
|
+
}, {
|
|
42
2049
|
warning_code: z.ZodString;
|
|
43
|
-
}
|
|
2050
|
+
}>, "strip", z.ZodTypeAny, {
|
|
44
2051
|
message: string;
|
|
45
2052
|
warning_code: string;
|
|
46
2053
|
}, {
|
|
47
2054
|
message: string;
|
|
48
2055
|
warning_code: string;
|
|
49
2056
|
}>, "many">;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
2057
|
+
created_at: z.ZodString;
|
|
2058
|
+
is_managed: z.ZodLiteral<true>;
|
|
2059
|
+
custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
|
|
2060
|
+
}, z.objectUtil.extendShape<{
|
|
2061
|
+
can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
|
|
2062
|
+
can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
|
|
2063
|
+
can_program_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
2064
|
+
can_program_online_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
2065
|
+
}, {
|
|
2066
|
+
can_simulate_removal: z.ZodOptional<z.ZodBoolean>;
|
|
2067
|
+
can_simulate_connection: z.ZodOptional<z.ZodBoolean>;
|
|
2068
|
+
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
2069
|
+
}>>, "location" | "connected_account_id" | "created_at" | "errors" | "warnings" | "device_id" | "device_type" | "capabilities_supported" | "workspace_id">, {
|
|
2070
|
+
is_managed: z.ZodLiteral<false>;
|
|
53
2071
|
properties: z.ZodObject<Pick<{
|
|
54
2072
|
online: z.ZodBoolean;
|
|
55
2073
|
name: z.ZodString;
|
|
@@ -184,16 +2202,16 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
184
2202
|
online_access_codes_enabled?: boolean | undefined;
|
|
185
2203
|
offline_access_codes_enabled?: boolean | undefined;
|
|
186
2204
|
}>;
|
|
187
|
-
|
|
188
|
-
is_managed: z.ZodLiteral<false>;
|
|
2205
|
+
}>, z.objectUtil.extendShape<{
|
|
189
2206
|
can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
|
|
190
2207
|
can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
|
|
191
2208
|
can_program_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
192
2209
|
can_program_online_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
2210
|
+
}, {
|
|
193
2211
|
can_simulate_removal: z.ZodOptional<z.ZodBoolean>;
|
|
194
2212
|
can_simulate_connection: z.ZodOptional<z.ZodBoolean>;
|
|
195
2213
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
196
|
-
}
|
|
2214
|
+
}>>, "strip", z.ZodTypeAny, {
|
|
197
2215
|
location: {
|
|
198
2216
|
location_name?: string | undefined;
|
|
199
2217
|
timezone?: string | undefined;
|
|
@@ -214,7 +2232,7 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
214
2232
|
warning_code: string;
|
|
215
2233
|
}[];
|
|
216
2234
|
device_id: string;
|
|
217
|
-
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";
|
|
2235
|
+
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");
|
|
218
2236
|
capabilities_supported: ("phone" | "access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
|
|
219
2237
|
properties: {
|
|
220
2238
|
name: string;
|
|
@@ -275,7 +2293,7 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
275
2293
|
warning_code: string;
|
|
276
2294
|
}[];
|
|
277
2295
|
device_id: string;
|
|
278
|
-
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";
|
|
2296
|
+
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");
|
|
279
2297
|
capabilities_supported: ("phone" | "access_code" | "lock" | "noise_detection" | "thermostat" | "battery")[];
|
|
280
2298
|
properties: {
|
|
281
2299
|
name: string;
|