@seamapi/types 1.358.0 → 1.359.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.cjs +467 -10
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2286 -812
- package/lib/seam/connect/model-types.d.ts +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +100 -0
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +100 -0
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +14 -14
- package/lib/seam/connect/models/acs/acs-credential.d.ts +74 -74
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +8 -8
- package/lib/seam/connect/models/acs/acs-system.d.ts +72 -72
- package/lib/seam/connect/models/acs/acs-user.d.ts +104 -104
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +168 -168
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +72 -72
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +96 -96
- package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +2 -2
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +634 -21
- package/lib/seam/connect/models/connected-accounts/connected-account.js +56 -0
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device-metadata.d.ts +24 -24
- package/lib/seam/connect/models/devices/device.d.ts +146 -46
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +127 -27
- package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
- package/lib/seam/connect/models/events/connect-webviews.d.ts +4 -4
- package/lib/seam/connect/models/events/connected-accounts.d.ts +28 -28
- package/lib/seam/connect/models/events/devices.d.ts +128 -128
- package/lib/seam/connect/models/events/seam-event.d.ts +114 -114
- package/lib/seam/connect/openapi.d.ts +366 -4
- package/lib/seam/connect/openapi.js +415 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +567 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/model-types.ts +0 -2
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +77 -2
- package/src/lib/seam/connect/openapi.ts +445 -2
- package/src/lib/seam/connect/route-types.ts +597 -0
|
@@ -12,16 +12,16 @@ export declare const device_connected_event: z.ZodObject<z.objectUtil.extendShap
|
|
|
12
12
|
}>, {
|
|
13
13
|
event_type: z.ZodLiteral<"device.connected">;
|
|
14
14
|
}>, "strip", z.ZodTypeAny, {
|
|
15
|
-
connected_account_id: string;
|
|
16
15
|
created_at: string;
|
|
16
|
+
connected_account_id: string;
|
|
17
17
|
device_id: string;
|
|
18
18
|
workspace_id: string;
|
|
19
19
|
event_id: string;
|
|
20
20
|
occurred_at: string;
|
|
21
21
|
event_type: "device.connected";
|
|
22
22
|
}, {
|
|
23
|
-
connected_account_id: string;
|
|
24
23
|
created_at: string;
|
|
24
|
+
connected_account_id: string;
|
|
25
25
|
device_id: string;
|
|
26
26
|
workspace_id: string;
|
|
27
27
|
event_id: string;
|
|
@@ -40,16 +40,16 @@ export declare const device_added_event: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
40
40
|
}>, {
|
|
41
41
|
event_type: z.ZodLiteral<"device.added">;
|
|
42
42
|
}>, "strip", z.ZodTypeAny, {
|
|
43
|
-
connected_account_id: string;
|
|
44
43
|
created_at: string;
|
|
44
|
+
connected_account_id: string;
|
|
45
45
|
device_id: string;
|
|
46
46
|
workspace_id: string;
|
|
47
47
|
event_id: string;
|
|
48
48
|
occurred_at: string;
|
|
49
49
|
event_type: "device.added";
|
|
50
50
|
}, {
|
|
51
|
-
connected_account_id: string;
|
|
52
51
|
created_at: string;
|
|
52
|
+
connected_account_id: string;
|
|
53
53
|
device_id: string;
|
|
54
54
|
workspace_id: string;
|
|
55
55
|
event_id: string;
|
|
@@ -68,16 +68,16 @@ export declare const device_converted_to_unmanaged_event: z.ZodObject<z.objectUt
|
|
|
68
68
|
}>, {
|
|
69
69
|
event_type: z.ZodLiteral<"device.converted_to_unmanaged">;
|
|
70
70
|
}>, "strip", z.ZodTypeAny, {
|
|
71
|
-
connected_account_id: string;
|
|
72
71
|
created_at: string;
|
|
72
|
+
connected_account_id: string;
|
|
73
73
|
device_id: string;
|
|
74
74
|
workspace_id: string;
|
|
75
75
|
event_id: string;
|
|
76
76
|
occurred_at: string;
|
|
77
77
|
event_type: "device.converted_to_unmanaged";
|
|
78
78
|
}, {
|
|
79
|
-
connected_account_id: string;
|
|
80
79
|
created_at: string;
|
|
80
|
+
connected_account_id: string;
|
|
81
81
|
device_id: string;
|
|
82
82
|
workspace_id: string;
|
|
83
83
|
event_id: string;
|
|
@@ -96,16 +96,16 @@ export declare const unmanaged_device_converted_to_managed_event: z.ZodObject<z.
|
|
|
96
96
|
}>, {
|
|
97
97
|
event_type: z.ZodLiteral<"device.unmanaged.converted_to_managed">;
|
|
98
98
|
}>, "strip", z.ZodTypeAny, {
|
|
99
|
-
connected_account_id: string;
|
|
100
99
|
created_at: string;
|
|
100
|
+
connected_account_id: string;
|
|
101
101
|
device_id: string;
|
|
102
102
|
workspace_id: string;
|
|
103
103
|
event_id: string;
|
|
104
104
|
occurred_at: string;
|
|
105
105
|
event_type: "device.unmanaged.converted_to_managed";
|
|
106
106
|
}, {
|
|
107
|
-
connected_account_id: string;
|
|
108
107
|
created_at: string;
|
|
108
|
+
connected_account_id: string;
|
|
109
109
|
device_id: string;
|
|
110
110
|
workspace_id: string;
|
|
111
111
|
event_id: string;
|
|
@@ -124,16 +124,16 @@ export declare const unmanaged_device_connected_event: z.ZodObject<z.objectUtil.
|
|
|
124
124
|
}>, {
|
|
125
125
|
event_type: z.ZodLiteral<"device.unmanaged.connected">;
|
|
126
126
|
}>, "strip", z.ZodTypeAny, {
|
|
127
|
-
connected_account_id: string;
|
|
128
127
|
created_at: string;
|
|
128
|
+
connected_account_id: string;
|
|
129
129
|
device_id: string;
|
|
130
130
|
workspace_id: string;
|
|
131
131
|
event_id: string;
|
|
132
132
|
occurred_at: string;
|
|
133
133
|
event_type: "device.unmanaged.connected";
|
|
134
134
|
}, {
|
|
135
|
-
connected_account_id: string;
|
|
136
135
|
created_at: string;
|
|
136
|
+
connected_account_id: string;
|
|
137
137
|
device_id: string;
|
|
138
138
|
workspace_id: string;
|
|
139
139
|
event_id: string;
|
|
@@ -153,18 +153,18 @@ export declare const device_disconnected_event: z.ZodObject<z.objectUtil.extendS
|
|
|
153
153
|
event_type: z.ZodLiteral<"device.disconnected">;
|
|
154
154
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
155
155
|
}>, "strip", z.ZodTypeAny, {
|
|
156
|
+
created_at: string;
|
|
156
157
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
157
158
|
connected_account_id: string;
|
|
158
|
-
created_at: string;
|
|
159
159
|
device_id: string;
|
|
160
160
|
workspace_id: string;
|
|
161
161
|
event_id: string;
|
|
162
162
|
occurred_at: string;
|
|
163
163
|
event_type: "device.disconnected";
|
|
164
164
|
}, {
|
|
165
|
+
created_at: string;
|
|
165
166
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
166
167
|
connected_account_id: string;
|
|
167
|
-
created_at: string;
|
|
168
168
|
device_id: string;
|
|
169
169
|
workspace_id: string;
|
|
170
170
|
event_id: string;
|
|
@@ -184,18 +184,18 @@ export declare const unmanaged_device_disconnected_event: z.ZodObject<z.objectUt
|
|
|
184
184
|
event_type: z.ZodLiteral<"device.unmanaged.disconnected">;
|
|
185
185
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
186
186
|
}>, "strip", z.ZodTypeAny, {
|
|
187
|
+
created_at: string;
|
|
187
188
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
188
189
|
connected_account_id: string;
|
|
189
|
-
created_at: string;
|
|
190
190
|
device_id: string;
|
|
191
191
|
workspace_id: string;
|
|
192
192
|
event_id: string;
|
|
193
193
|
occurred_at: string;
|
|
194
194
|
event_type: "device.unmanaged.disconnected";
|
|
195
195
|
}, {
|
|
196
|
+
created_at: string;
|
|
196
197
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
197
198
|
connected_account_id: string;
|
|
198
|
-
created_at: string;
|
|
199
199
|
device_id: string;
|
|
200
200
|
workspace_id: string;
|
|
201
201
|
event_id: string;
|
|
@@ -214,16 +214,16 @@ export declare const device_tampered_event: z.ZodObject<z.objectUtil.extendShape
|
|
|
214
214
|
}>, {
|
|
215
215
|
event_type: z.ZodLiteral<"device.tampered">;
|
|
216
216
|
}>, "strip", z.ZodTypeAny, {
|
|
217
|
-
connected_account_id: string;
|
|
218
217
|
created_at: string;
|
|
218
|
+
connected_account_id: string;
|
|
219
219
|
device_id: string;
|
|
220
220
|
workspace_id: string;
|
|
221
221
|
event_id: string;
|
|
222
222
|
occurred_at: string;
|
|
223
223
|
event_type: "device.tampered";
|
|
224
224
|
}, {
|
|
225
|
-
connected_account_id: string;
|
|
226
225
|
created_at: string;
|
|
226
|
+
connected_account_id: string;
|
|
227
227
|
device_id: string;
|
|
228
228
|
workspace_id: string;
|
|
229
229
|
event_id: string;
|
|
@@ -243,8 +243,8 @@ export declare const device_low_battery_event: z.ZodObject<z.objectUtil.extendSh
|
|
|
243
243
|
event_type: z.ZodLiteral<"device.low_battery">;
|
|
244
244
|
battery_level: z.ZodNumber;
|
|
245
245
|
}>, "strip", z.ZodTypeAny, {
|
|
246
|
-
connected_account_id: string;
|
|
247
246
|
created_at: string;
|
|
247
|
+
connected_account_id: string;
|
|
248
248
|
device_id: string;
|
|
249
249
|
battery_level: number;
|
|
250
250
|
workspace_id: string;
|
|
@@ -252,8 +252,8 @@ export declare const device_low_battery_event: z.ZodObject<z.objectUtil.extendSh
|
|
|
252
252
|
occurred_at: string;
|
|
253
253
|
event_type: "device.low_battery";
|
|
254
254
|
}, {
|
|
255
|
-
connected_account_id: string;
|
|
256
255
|
created_at: string;
|
|
256
|
+
connected_account_id: string;
|
|
257
257
|
device_id: string;
|
|
258
258
|
battery_level: number;
|
|
259
259
|
workspace_id: string;
|
|
@@ -275,8 +275,8 @@ export declare const device_battery_status_changed_event: z.ZodObject<z.objectUt
|
|
|
275
275
|
battery_status: z.ZodEnum<["critical", "low", "good", "full"]>;
|
|
276
276
|
battery_level: z.ZodNumber;
|
|
277
277
|
}>, "strip", z.ZodTypeAny, {
|
|
278
|
-
connected_account_id: string;
|
|
279
278
|
created_at: string;
|
|
279
|
+
connected_account_id: string;
|
|
280
280
|
device_id: string;
|
|
281
281
|
battery_level: number;
|
|
282
282
|
workspace_id: string;
|
|
@@ -285,8 +285,8 @@ export declare const device_battery_status_changed_event: z.ZodObject<z.objectUt
|
|
|
285
285
|
event_type: "device.battery_status_changed";
|
|
286
286
|
battery_status: "low" | "full" | "critical" | "good";
|
|
287
287
|
}, {
|
|
288
|
-
connected_account_id: string;
|
|
289
288
|
created_at: string;
|
|
289
|
+
connected_account_id: string;
|
|
290
290
|
device_id: string;
|
|
291
291
|
battery_level: number;
|
|
292
292
|
workspace_id: string;
|
|
@@ -307,16 +307,16 @@ export declare const device_removed_event: z.ZodObject<z.objectUtil.extendShape<
|
|
|
307
307
|
}>, {
|
|
308
308
|
event_type: z.ZodLiteral<"device.removed">;
|
|
309
309
|
}>, "strip", z.ZodTypeAny, {
|
|
310
|
-
connected_account_id: string;
|
|
311
310
|
created_at: string;
|
|
311
|
+
connected_account_id: string;
|
|
312
312
|
device_id: string;
|
|
313
313
|
workspace_id: string;
|
|
314
314
|
event_id: string;
|
|
315
315
|
occurred_at: string;
|
|
316
316
|
event_type: "device.removed";
|
|
317
317
|
}, {
|
|
318
|
-
connected_account_id: string;
|
|
319
318
|
created_at: string;
|
|
319
|
+
connected_account_id: string;
|
|
320
320
|
device_id: string;
|
|
321
321
|
workspace_id: string;
|
|
322
322
|
event_id: string;
|
|
@@ -335,16 +335,16 @@ export declare const device_deleted_event: z.ZodObject<z.objectUtil.extendShape<
|
|
|
335
335
|
}>, {
|
|
336
336
|
event_type: z.ZodLiteral<"device.deleted">;
|
|
337
337
|
}>, "strip", z.ZodTypeAny, {
|
|
338
|
-
connected_account_id: string;
|
|
339
338
|
created_at: string;
|
|
339
|
+
connected_account_id: string;
|
|
340
340
|
device_id: string;
|
|
341
341
|
workspace_id: string;
|
|
342
342
|
event_id: string;
|
|
343
343
|
occurred_at: string;
|
|
344
344
|
event_type: "device.deleted";
|
|
345
345
|
}, {
|
|
346
|
-
connected_account_id: string;
|
|
347
346
|
created_at: string;
|
|
347
|
+
connected_account_id: string;
|
|
348
348
|
device_id: string;
|
|
349
349
|
workspace_id: string;
|
|
350
350
|
event_id: string;
|
|
@@ -363,16 +363,16 @@ export declare const device_third_party_integration_detected_event: z.ZodObject<
|
|
|
363
363
|
}>, {
|
|
364
364
|
event_type: z.ZodLiteral<"device.third_party_integration_detected">;
|
|
365
365
|
}>, "strip", z.ZodTypeAny, {
|
|
366
|
-
connected_account_id: string;
|
|
367
366
|
created_at: string;
|
|
367
|
+
connected_account_id: string;
|
|
368
368
|
device_id: string;
|
|
369
369
|
workspace_id: string;
|
|
370
370
|
event_id: string;
|
|
371
371
|
occurred_at: string;
|
|
372
372
|
event_type: "device.third_party_integration_detected";
|
|
373
373
|
}, {
|
|
374
|
-
connected_account_id: string;
|
|
375
374
|
created_at: string;
|
|
375
|
+
connected_account_id: string;
|
|
376
376
|
device_id: string;
|
|
377
377
|
workspace_id: string;
|
|
378
378
|
event_id: string;
|
|
@@ -391,16 +391,16 @@ export declare const device_third_party_integration_no_longer_detected_event: z.
|
|
|
391
391
|
}>, {
|
|
392
392
|
event_type: z.ZodLiteral<"device.third_party_integration_no_longer_detected">;
|
|
393
393
|
}>, "strip", z.ZodTypeAny, {
|
|
394
|
-
connected_account_id: string;
|
|
395
394
|
created_at: string;
|
|
395
|
+
connected_account_id: string;
|
|
396
396
|
device_id: string;
|
|
397
397
|
workspace_id: string;
|
|
398
398
|
event_id: string;
|
|
399
399
|
occurred_at: string;
|
|
400
400
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
401
401
|
}, {
|
|
402
|
-
connected_account_id: string;
|
|
403
402
|
created_at: string;
|
|
403
|
+
connected_account_id: string;
|
|
404
404
|
device_id: string;
|
|
405
405
|
workspace_id: string;
|
|
406
406
|
event_id: string;
|
|
@@ -419,16 +419,16 @@ export declare const device_salto_privacy_mode_activated_event: z.ZodObject<z.ob
|
|
|
419
419
|
}>, {
|
|
420
420
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_activated">;
|
|
421
421
|
}>, "strip", z.ZodTypeAny, {
|
|
422
|
-
connected_account_id: string;
|
|
423
422
|
created_at: string;
|
|
423
|
+
connected_account_id: string;
|
|
424
424
|
device_id: string;
|
|
425
425
|
workspace_id: string;
|
|
426
426
|
event_id: string;
|
|
427
427
|
occurred_at: string;
|
|
428
428
|
event_type: "device.salto.privacy_mode_activated";
|
|
429
429
|
}, {
|
|
430
|
-
connected_account_id: string;
|
|
431
430
|
created_at: string;
|
|
431
|
+
connected_account_id: string;
|
|
432
432
|
device_id: string;
|
|
433
433
|
workspace_id: string;
|
|
434
434
|
event_id: string;
|
|
@@ -447,16 +447,16 @@ export declare const device_salto_privacy_mode_deactivated_event: z.ZodObject<z.
|
|
|
447
447
|
}>, {
|
|
448
448
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_deactivated">;
|
|
449
449
|
}>, "strip", z.ZodTypeAny, {
|
|
450
|
-
connected_account_id: string;
|
|
451
450
|
created_at: string;
|
|
451
|
+
connected_account_id: string;
|
|
452
452
|
device_id: string;
|
|
453
453
|
workspace_id: string;
|
|
454
454
|
event_id: string;
|
|
455
455
|
occurred_at: string;
|
|
456
456
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
457
457
|
}, {
|
|
458
|
-
connected_account_id: string;
|
|
459
458
|
created_at: string;
|
|
459
|
+
connected_account_id: string;
|
|
460
460
|
device_id: string;
|
|
461
461
|
workspace_id: string;
|
|
462
462
|
event_id: string;
|
|
@@ -475,16 +475,16 @@ export declare const device_connection_became_flaky_event: z.ZodObject<z.objectU
|
|
|
475
475
|
}>, {
|
|
476
476
|
event_type: z.ZodLiteral<"device.connection_became_flaky">;
|
|
477
477
|
}>, "strip", z.ZodTypeAny, {
|
|
478
|
-
connected_account_id: string;
|
|
479
478
|
created_at: string;
|
|
479
|
+
connected_account_id: string;
|
|
480
480
|
device_id: string;
|
|
481
481
|
workspace_id: string;
|
|
482
482
|
event_id: string;
|
|
483
483
|
occurred_at: string;
|
|
484
484
|
event_type: "device.connection_became_flaky";
|
|
485
485
|
}, {
|
|
486
|
-
connected_account_id: string;
|
|
487
486
|
created_at: string;
|
|
487
|
+
connected_account_id: string;
|
|
488
488
|
device_id: string;
|
|
489
489
|
workspace_id: string;
|
|
490
490
|
event_id: string;
|
|
@@ -503,16 +503,16 @@ export declare const device_connection_stabilized_event: z.ZodObject<z.objectUti
|
|
|
503
503
|
}>, {
|
|
504
504
|
event_type: z.ZodLiteral<"device.connection_stabilized">;
|
|
505
505
|
}>, "strip", z.ZodTypeAny, {
|
|
506
|
-
connected_account_id: string;
|
|
507
506
|
created_at: string;
|
|
507
|
+
connected_account_id: string;
|
|
508
508
|
device_id: string;
|
|
509
509
|
workspace_id: string;
|
|
510
510
|
event_id: string;
|
|
511
511
|
occurred_at: string;
|
|
512
512
|
event_type: "device.connection_stabilized";
|
|
513
513
|
}, {
|
|
514
|
-
connected_account_id: string;
|
|
515
514
|
created_at: string;
|
|
515
|
+
connected_account_id: string;
|
|
516
516
|
device_id: string;
|
|
517
517
|
workspace_id: string;
|
|
518
518
|
event_id: string;
|
|
@@ -531,16 +531,16 @@ export declare const device_error_subscription_required_event: z.ZodObject<z.obj
|
|
|
531
531
|
}>, {
|
|
532
532
|
event_type: z.ZodLiteral<"device.error.subscription_required">;
|
|
533
533
|
}>, "strip", z.ZodTypeAny, {
|
|
534
|
-
connected_account_id: string;
|
|
535
534
|
created_at: string;
|
|
535
|
+
connected_account_id: string;
|
|
536
536
|
device_id: string;
|
|
537
537
|
workspace_id: string;
|
|
538
538
|
event_id: string;
|
|
539
539
|
occurred_at: string;
|
|
540
540
|
event_type: "device.error.subscription_required";
|
|
541
541
|
}, {
|
|
542
|
-
connected_account_id: string;
|
|
543
542
|
created_at: string;
|
|
543
|
+
connected_account_id: string;
|
|
544
544
|
device_id: string;
|
|
545
545
|
workspace_id: string;
|
|
546
546
|
event_id: string;
|
|
@@ -559,16 +559,16 @@ export declare const device_error_subscription_required_resolved_event: z.ZodObj
|
|
|
559
559
|
}>, {
|
|
560
560
|
event_type: z.ZodLiteral<"device.error.subscription_required.resolved">;
|
|
561
561
|
}>, "strip", z.ZodTypeAny, {
|
|
562
|
-
connected_account_id: string;
|
|
563
562
|
created_at: string;
|
|
563
|
+
connected_account_id: string;
|
|
564
564
|
device_id: string;
|
|
565
565
|
workspace_id: string;
|
|
566
566
|
event_id: string;
|
|
567
567
|
occurred_at: string;
|
|
568
568
|
event_type: "device.error.subscription_required.resolved";
|
|
569
569
|
}, {
|
|
570
|
-
connected_account_id: string;
|
|
571
570
|
created_at: string;
|
|
571
|
+
connected_account_id: string;
|
|
572
572
|
device_id: string;
|
|
573
573
|
workspace_id: string;
|
|
574
574
|
event_id: string;
|
|
@@ -587,16 +587,16 @@ export declare const device_accessory_keypad_connected_event: z.ZodObject<z.obje
|
|
|
587
587
|
}>, {
|
|
588
588
|
event_type: z.ZodLiteral<"device.accessory_keypad_connected">;
|
|
589
589
|
}>, "strip", z.ZodTypeAny, {
|
|
590
|
-
connected_account_id: string;
|
|
591
590
|
created_at: string;
|
|
591
|
+
connected_account_id: string;
|
|
592
592
|
device_id: string;
|
|
593
593
|
workspace_id: string;
|
|
594
594
|
event_id: string;
|
|
595
595
|
occurred_at: string;
|
|
596
596
|
event_type: "device.accessory_keypad_connected";
|
|
597
597
|
}, {
|
|
598
|
-
connected_account_id: string;
|
|
599
598
|
created_at: string;
|
|
599
|
+
connected_account_id: string;
|
|
600
600
|
device_id: string;
|
|
601
601
|
workspace_id: string;
|
|
602
602
|
event_id: string;
|
|
@@ -615,16 +615,16 @@ export declare const device_accessory_keypad_disconnected_event: z.ZodObject<z.o
|
|
|
615
615
|
}>, {
|
|
616
616
|
event_type: z.ZodLiteral<"device.accessory_keypad_disconnected">;
|
|
617
617
|
}>, "strip", z.ZodTypeAny, {
|
|
618
|
-
connected_account_id: string;
|
|
619
618
|
created_at: string;
|
|
619
|
+
connected_account_id: string;
|
|
620
620
|
device_id: string;
|
|
621
621
|
workspace_id: string;
|
|
622
622
|
event_id: string;
|
|
623
623
|
occurred_at: string;
|
|
624
624
|
event_type: "device.accessory_keypad_disconnected";
|
|
625
625
|
}, {
|
|
626
|
-
connected_account_id: string;
|
|
627
626
|
created_at: string;
|
|
627
|
+
connected_account_id: string;
|
|
628
628
|
device_id: string;
|
|
629
629
|
workspace_id: string;
|
|
630
630
|
event_id: string;
|
|
@@ -649,8 +649,8 @@ export declare const noise_sensor_noise_threshold_triggered_event: z.ZodObject<z
|
|
|
649
649
|
noiseaware_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
650
650
|
minut_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
651
651
|
}>, "strip", z.ZodTypeAny, {
|
|
652
|
-
connected_account_id: string;
|
|
653
652
|
created_at: string;
|
|
653
|
+
connected_account_id: string;
|
|
654
654
|
device_id: string;
|
|
655
655
|
workspace_id: string;
|
|
656
656
|
event_id: string;
|
|
@@ -663,8 +663,8 @@ export declare const noise_sensor_noise_threshold_triggered_event: z.ZodObject<z
|
|
|
663
663
|
noise_threshold_id?: string | undefined;
|
|
664
664
|
noise_threshold_name?: string | undefined;
|
|
665
665
|
}, {
|
|
666
|
-
connected_account_id: string;
|
|
667
666
|
created_at: string;
|
|
667
|
+
connected_account_id: string;
|
|
668
668
|
device_id: string;
|
|
669
669
|
workspace_id: string;
|
|
670
670
|
event_id: string;
|
|
@@ -693,8 +693,8 @@ export declare const lock_locked_event: z.ZodObject<z.objectUtil.extendShape<z.o
|
|
|
693
693
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
694
694
|
}>, "strip", z.ZodTypeAny, {
|
|
695
695
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
696
|
-
connected_account_id: string;
|
|
697
696
|
created_at: string;
|
|
697
|
+
connected_account_id: string;
|
|
698
698
|
device_id: string;
|
|
699
699
|
workspace_id: string;
|
|
700
700
|
event_id: string;
|
|
@@ -704,8 +704,8 @@ export declare const lock_locked_event: z.ZodObject<z.objectUtil.extendShape<z.o
|
|
|
704
704
|
action_attempt_id?: string | undefined;
|
|
705
705
|
}, {
|
|
706
706
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
707
|
-
connected_account_id: string;
|
|
708
707
|
created_at: string;
|
|
708
|
+
connected_account_id: string;
|
|
709
709
|
device_id: string;
|
|
710
710
|
workspace_id: string;
|
|
711
711
|
event_id: string;
|
|
@@ -730,8 +730,8 @@ export declare const lock_unlocked_event: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
730
730
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
731
731
|
}>, "strip", z.ZodTypeAny, {
|
|
732
732
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
733
|
-
connected_account_id: string;
|
|
734
733
|
created_at: string;
|
|
734
|
+
connected_account_id: string;
|
|
735
735
|
device_id: string;
|
|
736
736
|
workspace_id: string;
|
|
737
737
|
event_id: string;
|
|
@@ -741,8 +741,8 @@ export declare const lock_unlocked_event: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
741
741
|
action_attempt_id?: string | undefined;
|
|
742
742
|
}, {
|
|
743
743
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
744
|
-
connected_account_id: string;
|
|
745
744
|
created_at: string;
|
|
745
|
+
connected_account_id: string;
|
|
746
746
|
device_id: string;
|
|
747
747
|
workspace_id: string;
|
|
748
748
|
event_id: string;
|
|
@@ -764,8 +764,8 @@ export declare const lock_access_denied_event: z.ZodObject<z.objectUtil.extendSh
|
|
|
764
764
|
event_type: z.ZodLiteral<"lock.access_denied">;
|
|
765
765
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
766
766
|
}>, "strip", z.ZodTypeAny, {
|
|
767
|
-
connected_account_id: string;
|
|
768
767
|
created_at: string;
|
|
768
|
+
connected_account_id: string;
|
|
769
769
|
device_id: string;
|
|
770
770
|
workspace_id: string;
|
|
771
771
|
event_id: string;
|
|
@@ -773,8 +773,8 @@ export declare const lock_access_denied_event: z.ZodObject<z.objectUtil.extendSh
|
|
|
773
773
|
event_type: "lock.access_denied";
|
|
774
774
|
access_code_id?: string | undefined;
|
|
775
775
|
}, {
|
|
776
|
-
connected_account_id: string;
|
|
777
776
|
created_at: string;
|
|
777
|
+
connected_account_id: string;
|
|
778
778
|
device_id: string;
|
|
779
779
|
workspace_id: string;
|
|
780
780
|
event_id: string;
|
|
@@ -797,8 +797,8 @@ export declare const thermostat_climate_preset_activated_event: z.ZodObject<z.ob
|
|
|
797
797
|
climate_preset_key: z.ZodString;
|
|
798
798
|
is_fallback_climate_preset: z.ZodBoolean;
|
|
799
799
|
}>, "strip", z.ZodTypeAny, {
|
|
800
|
-
connected_account_id: string;
|
|
801
800
|
created_at: string;
|
|
801
|
+
connected_account_id: string;
|
|
802
802
|
climate_preset_key: string;
|
|
803
803
|
thermostat_schedule_id: string | null;
|
|
804
804
|
device_id: string;
|
|
@@ -808,8 +808,8 @@ export declare const thermostat_climate_preset_activated_event: z.ZodObject<z.ob
|
|
|
808
808
|
event_type: "thermostat.climate_preset_activated";
|
|
809
809
|
is_fallback_climate_preset: boolean;
|
|
810
810
|
}, {
|
|
811
|
-
connected_account_id: string;
|
|
812
811
|
created_at: string;
|
|
812
|
+
connected_account_id: string;
|
|
813
813
|
climate_preset_key: string;
|
|
814
814
|
thermostat_schedule_id: string | null;
|
|
815
815
|
device_id: string;
|
|
@@ -847,8 +847,8 @@ export declare const thermostat_manually_adjusted_event: z.ZodObject<z.objectUti
|
|
|
847
847
|
manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
848
848
|
}, "fan_mode_setting" | "hvac_mode_setting" | "cooling_set_point_celsius" | "heating_set_point_celsius" | "cooling_set_point_fahrenheit" | "heating_set_point_fahrenheit">>, "strip", z.ZodTypeAny, {
|
|
849
849
|
method: "external" | "seam";
|
|
850
|
-
connected_account_id: string;
|
|
851
850
|
created_at: string;
|
|
851
|
+
connected_account_id: string;
|
|
852
852
|
device_id: string;
|
|
853
853
|
workspace_id: string;
|
|
854
854
|
event_id: string;
|
|
@@ -862,8 +862,8 @@ export declare const thermostat_manually_adjusted_event: z.ZodObject<z.objectUti
|
|
|
862
862
|
heating_set_point_fahrenheit?: number | undefined;
|
|
863
863
|
}, {
|
|
864
864
|
method: "external" | "seam";
|
|
865
|
-
connected_account_id: string;
|
|
866
865
|
created_at: string;
|
|
866
|
+
connected_account_id: string;
|
|
867
867
|
device_id: string;
|
|
868
868
|
workspace_id: string;
|
|
869
869
|
event_id: string;
|
|
@@ -894,8 +894,8 @@ export declare const temperature_threshold_exceeded_event: z.ZodObject<z.objectU
|
|
|
894
894
|
lower_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
895
895
|
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
896
896
|
}>, "strip", z.ZodTypeAny, {
|
|
897
|
-
connected_account_id: string;
|
|
898
897
|
created_at: string;
|
|
898
|
+
connected_account_id: string;
|
|
899
899
|
device_id: string;
|
|
900
900
|
temperature_fahrenheit: number;
|
|
901
901
|
temperature_celsius: number;
|
|
@@ -908,8 +908,8 @@ export declare const temperature_threshold_exceeded_event: z.ZodObject<z.objectU
|
|
|
908
908
|
occurred_at: string;
|
|
909
909
|
event_type: "thermostat.temperature_threshold_exceeded";
|
|
910
910
|
}, {
|
|
911
|
-
connected_account_id: string;
|
|
912
911
|
created_at: string;
|
|
912
|
+
connected_account_id: string;
|
|
913
913
|
device_id: string;
|
|
914
914
|
temperature_fahrenheit: number;
|
|
915
915
|
temperature_celsius: number;
|
|
@@ -940,8 +940,8 @@ export declare const temperature_threshold_no_longer_exceeded_event: z.ZodObject
|
|
|
940
940
|
lower_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
941
941
|
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
942
942
|
}>, "strip", z.ZodTypeAny, {
|
|
943
|
-
connected_account_id: string;
|
|
944
943
|
created_at: string;
|
|
944
|
+
connected_account_id: string;
|
|
945
945
|
device_id: string;
|
|
946
946
|
temperature_fahrenheit: number;
|
|
947
947
|
temperature_celsius: number;
|
|
@@ -954,8 +954,8 @@ export declare const temperature_threshold_no_longer_exceeded_event: z.ZodObject
|
|
|
954
954
|
occurred_at: string;
|
|
955
955
|
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
956
956
|
}, {
|
|
957
|
-
connected_account_id: string;
|
|
958
957
|
created_at: string;
|
|
958
|
+
connected_account_id: string;
|
|
959
959
|
device_id: string;
|
|
960
960
|
temperature_fahrenheit: number;
|
|
961
961
|
temperature_celsius: number;
|
|
@@ -984,8 +984,8 @@ export declare const temperature_reached_set_point_event: z.ZodObject<z.objectUt
|
|
|
984
984
|
desired_temperature_celsius: z.ZodOptional<z.ZodNumber>;
|
|
985
985
|
desired_temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
986
986
|
}>, "strip", z.ZodTypeAny, {
|
|
987
|
-
connected_account_id: string;
|
|
988
987
|
created_at: string;
|
|
988
|
+
connected_account_id: string;
|
|
989
989
|
device_id: string;
|
|
990
990
|
temperature_fahrenheit: number;
|
|
991
991
|
temperature_celsius: number;
|
|
@@ -996,8 +996,8 @@ export declare const temperature_reached_set_point_event: z.ZodObject<z.objectUt
|
|
|
996
996
|
desired_temperature_celsius?: number | undefined;
|
|
997
997
|
desired_temperature_fahrenheit?: number | undefined;
|
|
998
998
|
}, {
|
|
999
|
-
connected_account_id: string;
|
|
1000
999
|
created_at: string;
|
|
1000
|
+
connected_account_id: string;
|
|
1001
1001
|
device_id: string;
|
|
1002
1002
|
temperature_fahrenheit: number;
|
|
1003
1003
|
temperature_celsius: number;
|
|
@@ -1022,8 +1022,8 @@ export declare const temperature_changed_event: z.ZodObject<z.objectUtil.extendS
|
|
|
1022
1022
|
temperature_celsius: z.ZodNumber;
|
|
1023
1023
|
temperature_fahrenheit: z.ZodNumber;
|
|
1024
1024
|
}>, "strip", z.ZodTypeAny, {
|
|
1025
|
-
connected_account_id: string;
|
|
1026
1025
|
created_at: string;
|
|
1026
|
+
connected_account_id: string;
|
|
1027
1027
|
device_id: string;
|
|
1028
1028
|
temperature_fahrenheit: number;
|
|
1029
1029
|
temperature_celsius: number;
|
|
@@ -1032,8 +1032,8 @@ export declare const temperature_changed_event: z.ZodObject<z.objectUtil.extendS
|
|
|
1032
1032
|
occurred_at: string;
|
|
1033
1033
|
event_type: "thermostat.temperature_changed";
|
|
1034
1034
|
}, {
|
|
1035
|
-
connected_account_id: string;
|
|
1036
1035
|
created_at: string;
|
|
1036
|
+
connected_account_id: string;
|
|
1037
1037
|
device_id: string;
|
|
1038
1038
|
temperature_fahrenheit: number;
|
|
1039
1039
|
temperature_celsius: number;
|
|
@@ -1054,16 +1054,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1054
1054
|
}>, {
|
|
1055
1055
|
event_type: z.ZodLiteral<"device.connected">;
|
|
1056
1056
|
}>, "strip", z.ZodTypeAny, {
|
|
1057
|
-
connected_account_id: string;
|
|
1058
1057
|
created_at: string;
|
|
1058
|
+
connected_account_id: string;
|
|
1059
1059
|
device_id: string;
|
|
1060
1060
|
workspace_id: string;
|
|
1061
1061
|
event_id: string;
|
|
1062
1062
|
occurred_at: string;
|
|
1063
1063
|
event_type: "device.connected";
|
|
1064
1064
|
}, {
|
|
1065
|
-
connected_account_id: string;
|
|
1066
1065
|
created_at: string;
|
|
1066
|
+
connected_account_id: string;
|
|
1067
1067
|
device_id: string;
|
|
1068
1068
|
workspace_id: string;
|
|
1069
1069
|
event_id: string;
|
|
@@ -1080,16 +1080,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1080
1080
|
}>, {
|
|
1081
1081
|
event_type: z.ZodLiteral<"device.added">;
|
|
1082
1082
|
}>, "strip", z.ZodTypeAny, {
|
|
1083
|
-
connected_account_id: string;
|
|
1084
1083
|
created_at: string;
|
|
1084
|
+
connected_account_id: string;
|
|
1085
1085
|
device_id: string;
|
|
1086
1086
|
workspace_id: string;
|
|
1087
1087
|
event_id: string;
|
|
1088
1088
|
occurred_at: string;
|
|
1089
1089
|
event_type: "device.added";
|
|
1090
1090
|
}, {
|
|
1091
|
-
connected_account_id: string;
|
|
1092
1091
|
created_at: string;
|
|
1092
|
+
connected_account_id: string;
|
|
1093
1093
|
device_id: string;
|
|
1094
1094
|
workspace_id: string;
|
|
1095
1095
|
event_id: string;
|
|
@@ -1106,16 +1106,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1106
1106
|
}>, {
|
|
1107
1107
|
event_type: z.ZodLiteral<"device.converted_to_unmanaged">;
|
|
1108
1108
|
}>, "strip", z.ZodTypeAny, {
|
|
1109
|
-
connected_account_id: string;
|
|
1110
1109
|
created_at: string;
|
|
1110
|
+
connected_account_id: string;
|
|
1111
1111
|
device_id: string;
|
|
1112
1112
|
workspace_id: string;
|
|
1113
1113
|
event_id: string;
|
|
1114
1114
|
occurred_at: string;
|
|
1115
1115
|
event_type: "device.converted_to_unmanaged";
|
|
1116
1116
|
}, {
|
|
1117
|
-
connected_account_id: string;
|
|
1118
1117
|
created_at: string;
|
|
1118
|
+
connected_account_id: string;
|
|
1119
1119
|
device_id: string;
|
|
1120
1120
|
workspace_id: string;
|
|
1121
1121
|
event_id: string;
|
|
@@ -1132,16 +1132,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1132
1132
|
}>, {
|
|
1133
1133
|
event_type: z.ZodLiteral<"device.unmanaged.converted_to_managed">;
|
|
1134
1134
|
}>, "strip", z.ZodTypeAny, {
|
|
1135
|
-
connected_account_id: string;
|
|
1136
1135
|
created_at: string;
|
|
1136
|
+
connected_account_id: string;
|
|
1137
1137
|
device_id: string;
|
|
1138
1138
|
workspace_id: string;
|
|
1139
1139
|
event_id: string;
|
|
1140
1140
|
occurred_at: string;
|
|
1141
1141
|
event_type: "device.unmanaged.converted_to_managed";
|
|
1142
1142
|
}, {
|
|
1143
|
-
connected_account_id: string;
|
|
1144
1143
|
created_at: string;
|
|
1144
|
+
connected_account_id: string;
|
|
1145
1145
|
device_id: string;
|
|
1146
1146
|
workspace_id: string;
|
|
1147
1147
|
event_id: string;
|
|
@@ -1158,16 +1158,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1158
1158
|
}>, {
|
|
1159
1159
|
event_type: z.ZodLiteral<"device.unmanaged.connected">;
|
|
1160
1160
|
}>, "strip", z.ZodTypeAny, {
|
|
1161
|
-
connected_account_id: string;
|
|
1162
1161
|
created_at: string;
|
|
1162
|
+
connected_account_id: string;
|
|
1163
1163
|
device_id: string;
|
|
1164
1164
|
workspace_id: string;
|
|
1165
1165
|
event_id: string;
|
|
1166
1166
|
occurred_at: string;
|
|
1167
1167
|
event_type: "device.unmanaged.connected";
|
|
1168
1168
|
}, {
|
|
1169
|
-
connected_account_id: string;
|
|
1170
1169
|
created_at: string;
|
|
1170
|
+
connected_account_id: string;
|
|
1171
1171
|
device_id: string;
|
|
1172
1172
|
workspace_id: string;
|
|
1173
1173
|
event_id: string;
|
|
@@ -1185,18 +1185,18 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1185
1185
|
event_type: z.ZodLiteral<"device.disconnected">;
|
|
1186
1186
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
1187
1187
|
}>, "strip", z.ZodTypeAny, {
|
|
1188
|
+
created_at: string;
|
|
1188
1189
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
1189
1190
|
connected_account_id: string;
|
|
1190
|
-
created_at: string;
|
|
1191
1191
|
device_id: string;
|
|
1192
1192
|
workspace_id: string;
|
|
1193
1193
|
event_id: string;
|
|
1194
1194
|
occurred_at: string;
|
|
1195
1195
|
event_type: "device.disconnected";
|
|
1196
1196
|
}, {
|
|
1197
|
+
created_at: string;
|
|
1197
1198
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
1198
1199
|
connected_account_id: string;
|
|
1199
|
-
created_at: string;
|
|
1200
1200
|
device_id: string;
|
|
1201
1201
|
workspace_id: string;
|
|
1202
1202
|
event_id: string;
|
|
@@ -1214,18 +1214,18 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1214
1214
|
event_type: z.ZodLiteral<"device.unmanaged.disconnected">;
|
|
1215
1215
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
1216
1216
|
}>, "strip", z.ZodTypeAny, {
|
|
1217
|
+
created_at: string;
|
|
1217
1218
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
1218
1219
|
connected_account_id: string;
|
|
1219
|
-
created_at: string;
|
|
1220
1220
|
device_id: string;
|
|
1221
1221
|
workspace_id: string;
|
|
1222
1222
|
event_id: string;
|
|
1223
1223
|
occurred_at: string;
|
|
1224
1224
|
event_type: "device.unmanaged.disconnected";
|
|
1225
1225
|
}, {
|
|
1226
|
+
created_at: string;
|
|
1226
1227
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
1227
1228
|
connected_account_id: string;
|
|
1228
|
-
created_at: string;
|
|
1229
1229
|
device_id: string;
|
|
1230
1230
|
workspace_id: string;
|
|
1231
1231
|
event_id: string;
|
|
@@ -1242,16 +1242,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1242
1242
|
}>, {
|
|
1243
1243
|
event_type: z.ZodLiteral<"device.tampered">;
|
|
1244
1244
|
}>, "strip", z.ZodTypeAny, {
|
|
1245
|
-
connected_account_id: string;
|
|
1246
1245
|
created_at: string;
|
|
1246
|
+
connected_account_id: string;
|
|
1247
1247
|
device_id: string;
|
|
1248
1248
|
workspace_id: string;
|
|
1249
1249
|
event_id: string;
|
|
1250
1250
|
occurred_at: string;
|
|
1251
1251
|
event_type: "device.tampered";
|
|
1252
1252
|
}, {
|
|
1253
|
-
connected_account_id: string;
|
|
1254
1253
|
created_at: string;
|
|
1254
|
+
connected_account_id: string;
|
|
1255
1255
|
device_id: string;
|
|
1256
1256
|
workspace_id: string;
|
|
1257
1257
|
event_id: string;
|
|
@@ -1269,8 +1269,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1269
1269
|
event_type: z.ZodLiteral<"device.low_battery">;
|
|
1270
1270
|
battery_level: z.ZodNumber;
|
|
1271
1271
|
}>, "strip", z.ZodTypeAny, {
|
|
1272
|
-
connected_account_id: string;
|
|
1273
1272
|
created_at: string;
|
|
1273
|
+
connected_account_id: string;
|
|
1274
1274
|
device_id: string;
|
|
1275
1275
|
battery_level: number;
|
|
1276
1276
|
workspace_id: string;
|
|
@@ -1278,8 +1278,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1278
1278
|
occurred_at: string;
|
|
1279
1279
|
event_type: "device.low_battery";
|
|
1280
1280
|
}, {
|
|
1281
|
-
connected_account_id: string;
|
|
1282
1281
|
created_at: string;
|
|
1282
|
+
connected_account_id: string;
|
|
1283
1283
|
device_id: string;
|
|
1284
1284
|
battery_level: number;
|
|
1285
1285
|
workspace_id: string;
|
|
@@ -1299,8 +1299,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1299
1299
|
battery_status: z.ZodEnum<["critical", "low", "good", "full"]>;
|
|
1300
1300
|
battery_level: z.ZodNumber;
|
|
1301
1301
|
}>, "strip", z.ZodTypeAny, {
|
|
1302
|
-
connected_account_id: string;
|
|
1303
1302
|
created_at: string;
|
|
1303
|
+
connected_account_id: string;
|
|
1304
1304
|
device_id: string;
|
|
1305
1305
|
battery_level: number;
|
|
1306
1306
|
workspace_id: string;
|
|
@@ -1309,8 +1309,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1309
1309
|
event_type: "device.battery_status_changed";
|
|
1310
1310
|
battery_status: "low" | "full" | "critical" | "good";
|
|
1311
1311
|
}, {
|
|
1312
|
-
connected_account_id: string;
|
|
1313
1312
|
created_at: string;
|
|
1313
|
+
connected_account_id: string;
|
|
1314
1314
|
device_id: string;
|
|
1315
1315
|
battery_level: number;
|
|
1316
1316
|
workspace_id: string;
|
|
@@ -1329,16 +1329,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1329
1329
|
}>, {
|
|
1330
1330
|
event_type: z.ZodLiteral<"device.removed">;
|
|
1331
1331
|
}>, "strip", z.ZodTypeAny, {
|
|
1332
|
-
connected_account_id: string;
|
|
1333
1332
|
created_at: string;
|
|
1333
|
+
connected_account_id: string;
|
|
1334
1334
|
device_id: string;
|
|
1335
1335
|
workspace_id: string;
|
|
1336
1336
|
event_id: string;
|
|
1337
1337
|
occurred_at: string;
|
|
1338
1338
|
event_type: "device.removed";
|
|
1339
1339
|
}, {
|
|
1340
|
-
connected_account_id: string;
|
|
1341
1340
|
created_at: string;
|
|
1341
|
+
connected_account_id: string;
|
|
1342
1342
|
device_id: string;
|
|
1343
1343
|
workspace_id: string;
|
|
1344
1344
|
event_id: string;
|
|
@@ -1355,16 +1355,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1355
1355
|
}>, {
|
|
1356
1356
|
event_type: z.ZodLiteral<"device.deleted">;
|
|
1357
1357
|
}>, "strip", z.ZodTypeAny, {
|
|
1358
|
-
connected_account_id: string;
|
|
1359
1358
|
created_at: string;
|
|
1359
|
+
connected_account_id: string;
|
|
1360
1360
|
device_id: string;
|
|
1361
1361
|
workspace_id: string;
|
|
1362
1362
|
event_id: string;
|
|
1363
1363
|
occurred_at: string;
|
|
1364
1364
|
event_type: "device.deleted";
|
|
1365
1365
|
}, {
|
|
1366
|
-
connected_account_id: string;
|
|
1367
1366
|
created_at: string;
|
|
1367
|
+
connected_account_id: string;
|
|
1368
1368
|
device_id: string;
|
|
1369
1369
|
workspace_id: string;
|
|
1370
1370
|
event_id: string;
|
|
@@ -1381,16 +1381,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1381
1381
|
}>, {
|
|
1382
1382
|
event_type: z.ZodLiteral<"device.third_party_integration_detected">;
|
|
1383
1383
|
}>, "strip", z.ZodTypeAny, {
|
|
1384
|
-
connected_account_id: string;
|
|
1385
1384
|
created_at: string;
|
|
1385
|
+
connected_account_id: string;
|
|
1386
1386
|
device_id: string;
|
|
1387
1387
|
workspace_id: string;
|
|
1388
1388
|
event_id: string;
|
|
1389
1389
|
occurred_at: string;
|
|
1390
1390
|
event_type: "device.third_party_integration_detected";
|
|
1391
1391
|
}, {
|
|
1392
|
-
connected_account_id: string;
|
|
1393
1392
|
created_at: string;
|
|
1393
|
+
connected_account_id: string;
|
|
1394
1394
|
device_id: string;
|
|
1395
1395
|
workspace_id: string;
|
|
1396
1396
|
event_id: string;
|
|
@@ -1407,16 +1407,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1407
1407
|
}>, {
|
|
1408
1408
|
event_type: z.ZodLiteral<"device.third_party_integration_no_longer_detected">;
|
|
1409
1409
|
}>, "strip", z.ZodTypeAny, {
|
|
1410
|
-
connected_account_id: string;
|
|
1411
1410
|
created_at: string;
|
|
1411
|
+
connected_account_id: string;
|
|
1412
1412
|
device_id: string;
|
|
1413
1413
|
workspace_id: string;
|
|
1414
1414
|
event_id: string;
|
|
1415
1415
|
occurred_at: string;
|
|
1416
1416
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
1417
1417
|
}, {
|
|
1418
|
-
connected_account_id: string;
|
|
1419
1418
|
created_at: string;
|
|
1419
|
+
connected_account_id: string;
|
|
1420
1420
|
device_id: string;
|
|
1421
1421
|
workspace_id: string;
|
|
1422
1422
|
event_id: string;
|
|
@@ -1433,16 +1433,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1433
1433
|
}>, {
|
|
1434
1434
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_activated">;
|
|
1435
1435
|
}>, "strip", z.ZodTypeAny, {
|
|
1436
|
-
connected_account_id: string;
|
|
1437
1436
|
created_at: string;
|
|
1437
|
+
connected_account_id: string;
|
|
1438
1438
|
device_id: string;
|
|
1439
1439
|
workspace_id: string;
|
|
1440
1440
|
event_id: string;
|
|
1441
1441
|
occurred_at: string;
|
|
1442
1442
|
event_type: "device.salto.privacy_mode_activated";
|
|
1443
1443
|
}, {
|
|
1444
|
-
connected_account_id: string;
|
|
1445
1444
|
created_at: string;
|
|
1445
|
+
connected_account_id: string;
|
|
1446
1446
|
device_id: string;
|
|
1447
1447
|
workspace_id: string;
|
|
1448
1448
|
event_id: string;
|
|
@@ -1459,16 +1459,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1459
1459
|
}>, {
|
|
1460
1460
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_deactivated">;
|
|
1461
1461
|
}>, "strip", z.ZodTypeAny, {
|
|
1462
|
-
connected_account_id: string;
|
|
1463
1462
|
created_at: string;
|
|
1463
|
+
connected_account_id: string;
|
|
1464
1464
|
device_id: string;
|
|
1465
1465
|
workspace_id: string;
|
|
1466
1466
|
event_id: string;
|
|
1467
1467
|
occurred_at: string;
|
|
1468
1468
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
1469
1469
|
}, {
|
|
1470
|
-
connected_account_id: string;
|
|
1471
1470
|
created_at: string;
|
|
1471
|
+
connected_account_id: string;
|
|
1472
1472
|
device_id: string;
|
|
1473
1473
|
workspace_id: string;
|
|
1474
1474
|
event_id: string;
|
|
@@ -1485,16 +1485,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1485
1485
|
}>, {
|
|
1486
1486
|
event_type: z.ZodLiteral<"device.connection_became_flaky">;
|
|
1487
1487
|
}>, "strip", z.ZodTypeAny, {
|
|
1488
|
-
connected_account_id: string;
|
|
1489
1488
|
created_at: string;
|
|
1489
|
+
connected_account_id: string;
|
|
1490
1490
|
device_id: string;
|
|
1491
1491
|
workspace_id: string;
|
|
1492
1492
|
event_id: string;
|
|
1493
1493
|
occurred_at: string;
|
|
1494
1494
|
event_type: "device.connection_became_flaky";
|
|
1495
1495
|
}, {
|
|
1496
|
-
connected_account_id: string;
|
|
1497
1496
|
created_at: string;
|
|
1497
|
+
connected_account_id: string;
|
|
1498
1498
|
device_id: string;
|
|
1499
1499
|
workspace_id: string;
|
|
1500
1500
|
event_id: string;
|
|
@@ -1511,16 +1511,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1511
1511
|
}>, {
|
|
1512
1512
|
event_type: z.ZodLiteral<"device.connection_stabilized">;
|
|
1513
1513
|
}>, "strip", z.ZodTypeAny, {
|
|
1514
|
-
connected_account_id: string;
|
|
1515
1514
|
created_at: string;
|
|
1515
|
+
connected_account_id: string;
|
|
1516
1516
|
device_id: string;
|
|
1517
1517
|
workspace_id: string;
|
|
1518
1518
|
event_id: string;
|
|
1519
1519
|
occurred_at: string;
|
|
1520
1520
|
event_type: "device.connection_stabilized";
|
|
1521
1521
|
}, {
|
|
1522
|
-
connected_account_id: string;
|
|
1523
1522
|
created_at: string;
|
|
1523
|
+
connected_account_id: string;
|
|
1524
1524
|
device_id: string;
|
|
1525
1525
|
workspace_id: string;
|
|
1526
1526
|
event_id: string;
|
|
@@ -1537,16 +1537,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1537
1537
|
}>, {
|
|
1538
1538
|
event_type: z.ZodLiteral<"device.error.subscription_required">;
|
|
1539
1539
|
}>, "strip", z.ZodTypeAny, {
|
|
1540
|
-
connected_account_id: string;
|
|
1541
1540
|
created_at: string;
|
|
1541
|
+
connected_account_id: string;
|
|
1542
1542
|
device_id: string;
|
|
1543
1543
|
workspace_id: string;
|
|
1544
1544
|
event_id: string;
|
|
1545
1545
|
occurred_at: string;
|
|
1546
1546
|
event_type: "device.error.subscription_required";
|
|
1547
1547
|
}, {
|
|
1548
|
-
connected_account_id: string;
|
|
1549
1548
|
created_at: string;
|
|
1549
|
+
connected_account_id: string;
|
|
1550
1550
|
device_id: string;
|
|
1551
1551
|
workspace_id: string;
|
|
1552
1552
|
event_id: string;
|
|
@@ -1563,16 +1563,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1563
1563
|
}>, {
|
|
1564
1564
|
event_type: z.ZodLiteral<"device.error.subscription_required.resolved">;
|
|
1565
1565
|
}>, "strip", z.ZodTypeAny, {
|
|
1566
|
-
connected_account_id: string;
|
|
1567
1566
|
created_at: string;
|
|
1567
|
+
connected_account_id: string;
|
|
1568
1568
|
device_id: string;
|
|
1569
1569
|
workspace_id: string;
|
|
1570
1570
|
event_id: string;
|
|
1571
1571
|
occurred_at: string;
|
|
1572
1572
|
event_type: "device.error.subscription_required.resolved";
|
|
1573
1573
|
}, {
|
|
1574
|
-
connected_account_id: string;
|
|
1575
1574
|
created_at: string;
|
|
1575
|
+
connected_account_id: string;
|
|
1576
1576
|
device_id: string;
|
|
1577
1577
|
workspace_id: string;
|
|
1578
1578
|
event_id: string;
|
|
@@ -1589,16 +1589,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1589
1589
|
}>, {
|
|
1590
1590
|
event_type: z.ZodLiteral<"device.accessory_keypad_connected">;
|
|
1591
1591
|
}>, "strip", z.ZodTypeAny, {
|
|
1592
|
-
connected_account_id: string;
|
|
1593
1592
|
created_at: string;
|
|
1593
|
+
connected_account_id: string;
|
|
1594
1594
|
device_id: string;
|
|
1595
1595
|
workspace_id: string;
|
|
1596
1596
|
event_id: string;
|
|
1597
1597
|
occurred_at: string;
|
|
1598
1598
|
event_type: "device.accessory_keypad_connected";
|
|
1599
1599
|
}, {
|
|
1600
|
-
connected_account_id: string;
|
|
1601
1600
|
created_at: string;
|
|
1601
|
+
connected_account_id: string;
|
|
1602
1602
|
device_id: string;
|
|
1603
1603
|
workspace_id: string;
|
|
1604
1604
|
event_id: string;
|
|
@@ -1615,16 +1615,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1615
1615
|
}>, {
|
|
1616
1616
|
event_type: z.ZodLiteral<"device.accessory_keypad_disconnected">;
|
|
1617
1617
|
}>, "strip", z.ZodTypeAny, {
|
|
1618
|
-
connected_account_id: string;
|
|
1619
1618
|
created_at: string;
|
|
1619
|
+
connected_account_id: string;
|
|
1620
1620
|
device_id: string;
|
|
1621
1621
|
workspace_id: string;
|
|
1622
1622
|
event_id: string;
|
|
1623
1623
|
occurred_at: string;
|
|
1624
1624
|
event_type: "device.accessory_keypad_disconnected";
|
|
1625
1625
|
}, {
|
|
1626
|
-
connected_account_id: string;
|
|
1627
1626
|
created_at: string;
|
|
1627
|
+
connected_account_id: string;
|
|
1628
1628
|
device_id: string;
|
|
1629
1629
|
workspace_id: string;
|
|
1630
1630
|
event_id: string;
|
|
@@ -1647,8 +1647,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1647
1647
|
noiseaware_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1648
1648
|
minut_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1649
1649
|
}>, "strip", z.ZodTypeAny, {
|
|
1650
|
-
connected_account_id: string;
|
|
1651
1650
|
created_at: string;
|
|
1651
|
+
connected_account_id: string;
|
|
1652
1652
|
device_id: string;
|
|
1653
1653
|
workspace_id: string;
|
|
1654
1654
|
event_id: string;
|
|
@@ -1661,8 +1661,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1661
1661
|
noise_threshold_id?: string | undefined;
|
|
1662
1662
|
noise_threshold_name?: string | undefined;
|
|
1663
1663
|
}, {
|
|
1664
|
-
connected_account_id: string;
|
|
1665
1664
|
created_at: string;
|
|
1665
|
+
connected_account_id: string;
|
|
1666
1666
|
device_id: string;
|
|
1667
1667
|
workspace_id: string;
|
|
1668
1668
|
event_id: string;
|
|
@@ -1689,8 +1689,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1689
1689
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
1690
1690
|
}>, "strip", z.ZodTypeAny, {
|
|
1691
1691
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
1692
|
-
connected_account_id: string;
|
|
1693
1692
|
created_at: string;
|
|
1693
|
+
connected_account_id: string;
|
|
1694
1694
|
device_id: string;
|
|
1695
1695
|
workspace_id: string;
|
|
1696
1696
|
event_id: string;
|
|
@@ -1700,8 +1700,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1700
1700
|
action_attempt_id?: string | undefined;
|
|
1701
1701
|
}, {
|
|
1702
1702
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
1703
|
-
connected_account_id: string;
|
|
1704
1703
|
created_at: string;
|
|
1704
|
+
connected_account_id: string;
|
|
1705
1705
|
device_id: string;
|
|
1706
1706
|
workspace_id: string;
|
|
1707
1707
|
event_id: string;
|
|
@@ -1724,8 +1724,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1724
1724
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
1725
1725
|
}>, "strip", z.ZodTypeAny, {
|
|
1726
1726
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
1727
|
-
connected_account_id: string;
|
|
1728
1727
|
created_at: string;
|
|
1728
|
+
connected_account_id: string;
|
|
1729
1729
|
device_id: string;
|
|
1730
1730
|
workspace_id: string;
|
|
1731
1731
|
event_id: string;
|
|
@@ -1735,8 +1735,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1735
1735
|
action_attempt_id?: string | undefined;
|
|
1736
1736
|
}, {
|
|
1737
1737
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
1738
|
-
connected_account_id: string;
|
|
1739
1738
|
created_at: string;
|
|
1739
|
+
connected_account_id: string;
|
|
1740
1740
|
device_id: string;
|
|
1741
1741
|
workspace_id: string;
|
|
1742
1742
|
event_id: string;
|
|
@@ -1756,8 +1756,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1756
1756
|
event_type: z.ZodLiteral<"lock.access_denied">;
|
|
1757
1757
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
1758
1758
|
}>, "strip", z.ZodTypeAny, {
|
|
1759
|
-
connected_account_id: string;
|
|
1760
1759
|
created_at: string;
|
|
1760
|
+
connected_account_id: string;
|
|
1761
1761
|
device_id: string;
|
|
1762
1762
|
workspace_id: string;
|
|
1763
1763
|
event_id: string;
|
|
@@ -1765,8 +1765,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1765
1765
|
event_type: "lock.access_denied";
|
|
1766
1766
|
access_code_id?: string | undefined;
|
|
1767
1767
|
}, {
|
|
1768
|
-
connected_account_id: string;
|
|
1769
1768
|
created_at: string;
|
|
1769
|
+
connected_account_id: string;
|
|
1770
1770
|
device_id: string;
|
|
1771
1771
|
workspace_id: string;
|
|
1772
1772
|
event_id: string;
|
|
@@ -1787,8 +1787,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1787
1787
|
climate_preset_key: z.ZodString;
|
|
1788
1788
|
is_fallback_climate_preset: z.ZodBoolean;
|
|
1789
1789
|
}>, "strip", z.ZodTypeAny, {
|
|
1790
|
-
connected_account_id: string;
|
|
1791
1790
|
created_at: string;
|
|
1791
|
+
connected_account_id: string;
|
|
1792
1792
|
climate_preset_key: string;
|
|
1793
1793
|
thermostat_schedule_id: string | null;
|
|
1794
1794
|
device_id: string;
|
|
@@ -1798,8 +1798,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1798
1798
|
event_type: "thermostat.climate_preset_activated";
|
|
1799
1799
|
is_fallback_climate_preset: boolean;
|
|
1800
1800
|
}, {
|
|
1801
|
-
connected_account_id: string;
|
|
1802
1801
|
created_at: string;
|
|
1802
|
+
connected_account_id: string;
|
|
1803
1803
|
climate_preset_key: string;
|
|
1804
1804
|
thermostat_schedule_id: string | null;
|
|
1805
1805
|
device_id: string;
|
|
@@ -1834,8 +1834,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1834
1834
|
manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
1835
1835
|
}, "fan_mode_setting" | "hvac_mode_setting" | "cooling_set_point_celsius" | "heating_set_point_celsius" | "cooling_set_point_fahrenheit" | "heating_set_point_fahrenheit">>, "strip", z.ZodTypeAny, {
|
|
1836
1836
|
method: "external" | "seam";
|
|
1837
|
-
connected_account_id: string;
|
|
1838
1837
|
created_at: string;
|
|
1838
|
+
connected_account_id: string;
|
|
1839
1839
|
device_id: string;
|
|
1840
1840
|
workspace_id: string;
|
|
1841
1841
|
event_id: string;
|
|
@@ -1849,8 +1849,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1849
1849
|
heating_set_point_fahrenheit?: number | undefined;
|
|
1850
1850
|
}, {
|
|
1851
1851
|
method: "external" | "seam";
|
|
1852
|
-
connected_account_id: string;
|
|
1853
1852
|
created_at: string;
|
|
1853
|
+
connected_account_id: string;
|
|
1854
1854
|
device_id: string;
|
|
1855
1855
|
workspace_id: string;
|
|
1856
1856
|
event_id: string;
|
|
@@ -1879,8 +1879,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1879
1879
|
lower_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
1880
1880
|
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
1881
1881
|
}>, "strip", z.ZodTypeAny, {
|
|
1882
|
-
connected_account_id: string;
|
|
1883
1882
|
created_at: string;
|
|
1883
|
+
connected_account_id: string;
|
|
1884
1884
|
device_id: string;
|
|
1885
1885
|
temperature_fahrenheit: number;
|
|
1886
1886
|
temperature_celsius: number;
|
|
@@ -1893,8 +1893,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1893
1893
|
occurred_at: string;
|
|
1894
1894
|
event_type: "thermostat.temperature_threshold_exceeded";
|
|
1895
1895
|
}, {
|
|
1896
|
-
connected_account_id: string;
|
|
1897
1896
|
created_at: string;
|
|
1897
|
+
connected_account_id: string;
|
|
1898
1898
|
device_id: string;
|
|
1899
1899
|
temperature_fahrenheit: number;
|
|
1900
1900
|
temperature_celsius: number;
|
|
@@ -1923,8 +1923,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1923
1923
|
lower_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
1924
1924
|
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
1925
1925
|
}>, "strip", z.ZodTypeAny, {
|
|
1926
|
-
connected_account_id: string;
|
|
1927
1926
|
created_at: string;
|
|
1927
|
+
connected_account_id: string;
|
|
1928
1928
|
device_id: string;
|
|
1929
1929
|
temperature_fahrenheit: number;
|
|
1930
1930
|
temperature_celsius: number;
|
|
@@ -1937,8 +1937,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1937
1937
|
occurred_at: string;
|
|
1938
1938
|
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
1939
1939
|
}, {
|
|
1940
|
-
connected_account_id: string;
|
|
1941
1940
|
created_at: string;
|
|
1941
|
+
connected_account_id: string;
|
|
1942
1942
|
device_id: string;
|
|
1943
1943
|
temperature_fahrenheit: number;
|
|
1944
1944
|
temperature_celsius: number;
|
|
@@ -1965,8 +1965,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1965
1965
|
desired_temperature_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1966
1966
|
desired_temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1967
1967
|
}>, "strip", z.ZodTypeAny, {
|
|
1968
|
-
connected_account_id: string;
|
|
1969
1968
|
created_at: string;
|
|
1969
|
+
connected_account_id: string;
|
|
1970
1970
|
device_id: string;
|
|
1971
1971
|
temperature_fahrenheit: number;
|
|
1972
1972
|
temperature_celsius: number;
|
|
@@ -1977,8 +1977,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1977
1977
|
desired_temperature_celsius?: number | undefined;
|
|
1978
1978
|
desired_temperature_fahrenheit?: number | undefined;
|
|
1979
1979
|
}, {
|
|
1980
|
-
connected_account_id: string;
|
|
1981
1980
|
created_at: string;
|
|
1981
|
+
connected_account_id: string;
|
|
1982
1982
|
device_id: string;
|
|
1983
1983
|
temperature_fahrenheit: number;
|
|
1984
1984
|
temperature_celsius: number;
|
|
@@ -2001,8 +2001,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2001
2001
|
temperature_celsius: z.ZodNumber;
|
|
2002
2002
|
temperature_fahrenheit: z.ZodNumber;
|
|
2003
2003
|
}>, "strip", z.ZodTypeAny, {
|
|
2004
|
-
connected_account_id: string;
|
|
2005
2004
|
created_at: string;
|
|
2005
|
+
connected_account_id: string;
|
|
2006
2006
|
device_id: string;
|
|
2007
2007
|
temperature_fahrenheit: number;
|
|
2008
2008
|
temperature_celsius: number;
|
|
@@ -2011,8 +2011,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2011
2011
|
occurred_at: string;
|
|
2012
2012
|
event_type: "thermostat.temperature_changed";
|
|
2013
2013
|
}, {
|
|
2014
|
-
connected_account_id: string;
|
|
2015
2014
|
created_at: string;
|
|
2015
|
+
connected_account_id: string;
|
|
2016
2016
|
device_id: string;
|
|
2017
2017
|
temperature_fahrenheit: number;
|
|
2018
2018
|
temperature_celsius: number;
|