@seamapi/types 1.358.0 → 1.360.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 +532 -11
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2726 -1075
- 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 +188 -128
- package/lib/seam/connect/models/events/devices.js +10 -0
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/seam-event.d.ts +144 -115
- package/lib/seam/connect/openapi.d.ts +482 -4
- package/lib/seam/connect/openapi.js +469 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +601 -2
- package/package.json +2 -2
- 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/models/events/devices.ts +13 -0
- package/src/lib/seam/connect/openapi.ts +502 -2
- package/src/lib/seam/connect/route-types.ts +633 -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;
|
|
@@ -1043,6 +1043,37 @@ export declare const temperature_changed_event: z.ZodObject<z.objectUtil.extendS
|
|
|
1043
1043
|
event_type: "thermostat.temperature_changed";
|
|
1044
1044
|
}>;
|
|
1045
1045
|
export type TemperatureChangedEvent = z.infer<typeof temperature_changed_event>;
|
|
1046
|
+
export declare const device_name_changed_event: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1047
|
+
event_id: z.ZodString;
|
|
1048
|
+
workspace_id: z.ZodString;
|
|
1049
|
+
created_at: z.ZodString;
|
|
1050
|
+
occurred_at: z.ZodString;
|
|
1051
|
+
}, {
|
|
1052
|
+
device_id: z.ZodString;
|
|
1053
|
+
connected_account_id: z.ZodString;
|
|
1054
|
+
}>, {
|
|
1055
|
+
event_type: z.ZodLiteral<"device.name_changed">;
|
|
1056
|
+
new_name: z.ZodString;
|
|
1057
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1058
|
+
created_at: string;
|
|
1059
|
+
connected_account_id: string;
|
|
1060
|
+
device_id: string;
|
|
1061
|
+
workspace_id: string;
|
|
1062
|
+
event_id: string;
|
|
1063
|
+
occurred_at: string;
|
|
1064
|
+
event_type: "device.name_changed";
|
|
1065
|
+
new_name: string;
|
|
1066
|
+
}, {
|
|
1067
|
+
created_at: string;
|
|
1068
|
+
connected_account_id: string;
|
|
1069
|
+
device_id: string;
|
|
1070
|
+
workspace_id: string;
|
|
1071
|
+
event_id: string;
|
|
1072
|
+
occurred_at: string;
|
|
1073
|
+
event_type: "device.name_changed";
|
|
1074
|
+
new_name: string;
|
|
1075
|
+
}>;
|
|
1076
|
+
export type DeviceNameChangedEvent = z.infer<typeof device_name_changed_event>;
|
|
1046
1077
|
export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1047
1078
|
event_id: z.ZodString;
|
|
1048
1079
|
workspace_id: z.ZodString;
|
|
@@ -1054,16 +1085,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1054
1085
|
}>, {
|
|
1055
1086
|
event_type: z.ZodLiteral<"device.connected">;
|
|
1056
1087
|
}>, "strip", z.ZodTypeAny, {
|
|
1057
|
-
connected_account_id: string;
|
|
1058
1088
|
created_at: string;
|
|
1089
|
+
connected_account_id: string;
|
|
1059
1090
|
device_id: string;
|
|
1060
1091
|
workspace_id: string;
|
|
1061
1092
|
event_id: string;
|
|
1062
1093
|
occurred_at: string;
|
|
1063
1094
|
event_type: "device.connected";
|
|
1064
1095
|
}, {
|
|
1065
|
-
connected_account_id: string;
|
|
1066
1096
|
created_at: string;
|
|
1097
|
+
connected_account_id: string;
|
|
1067
1098
|
device_id: string;
|
|
1068
1099
|
workspace_id: string;
|
|
1069
1100
|
event_id: string;
|
|
@@ -1080,16 +1111,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1080
1111
|
}>, {
|
|
1081
1112
|
event_type: z.ZodLiteral<"device.added">;
|
|
1082
1113
|
}>, "strip", z.ZodTypeAny, {
|
|
1083
|
-
connected_account_id: string;
|
|
1084
1114
|
created_at: string;
|
|
1115
|
+
connected_account_id: string;
|
|
1085
1116
|
device_id: string;
|
|
1086
1117
|
workspace_id: string;
|
|
1087
1118
|
event_id: string;
|
|
1088
1119
|
occurred_at: string;
|
|
1089
1120
|
event_type: "device.added";
|
|
1090
1121
|
}, {
|
|
1091
|
-
connected_account_id: string;
|
|
1092
1122
|
created_at: string;
|
|
1123
|
+
connected_account_id: string;
|
|
1093
1124
|
device_id: string;
|
|
1094
1125
|
workspace_id: string;
|
|
1095
1126
|
event_id: string;
|
|
@@ -1106,16 +1137,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1106
1137
|
}>, {
|
|
1107
1138
|
event_type: z.ZodLiteral<"device.converted_to_unmanaged">;
|
|
1108
1139
|
}>, "strip", z.ZodTypeAny, {
|
|
1109
|
-
connected_account_id: string;
|
|
1110
1140
|
created_at: string;
|
|
1141
|
+
connected_account_id: string;
|
|
1111
1142
|
device_id: string;
|
|
1112
1143
|
workspace_id: string;
|
|
1113
1144
|
event_id: string;
|
|
1114
1145
|
occurred_at: string;
|
|
1115
1146
|
event_type: "device.converted_to_unmanaged";
|
|
1116
1147
|
}, {
|
|
1117
|
-
connected_account_id: string;
|
|
1118
1148
|
created_at: string;
|
|
1149
|
+
connected_account_id: string;
|
|
1119
1150
|
device_id: string;
|
|
1120
1151
|
workspace_id: string;
|
|
1121
1152
|
event_id: string;
|
|
@@ -1132,16 +1163,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1132
1163
|
}>, {
|
|
1133
1164
|
event_type: z.ZodLiteral<"device.unmanaged.converted_to_managed">;
|
|
1134
1165
|
}>, "strip", z.ZodTypeAny, {
|
|
1135
|
-
connected_account_id: string;
|
|
1136
1166
|
created_at: string;
|
|
1167
|
+
connected_account_id: string;
|
|
1137
1168
|
device_id: string;
|
|
1138
1169
|
workspace_id: string;
|
|
1139
1170
|
event_id: string;
|
|
1140
1171
|
occurred_at: string;
|
|
1141
1172
|
event_type: "device.unmanaged.converted_to_managed";
|
|
1142
1173
|
}, {
|
|
1143
|
-
connected_account_id: string;
|
|
1144
1174
|
created_at: string;
|
|
1175
|
+
connected_account_id: string;
|
|
1145
1176
|
device_id: string;
|
|
1146
1177
|
workspace_id: string;
|
|
1147
1178
|
event_id: string;
|
|
@@ -1158,16 +1189,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1158
1189
|
}>, {
|
|
1159
1190
|
event_type: z.ZodLiteral<"device.unmanaged.connected">;
|
|
1160
1191
|
}>, "strip", z.ZodTypeAny, {
|
|
1161
|
-
connected_account_id: string;
|
|
1162
1192
|
created_at: string;
|
|
1193
|
+
connected_account_id: string;
|
|
1163
1194
|
device_id: string;
|
|
1164
1195
|
workspace_id: string;
|
|
1165
1196
|
event_id: string;
|
|
1166
1197
|
occurred_at: string;
|
|
1167
1198
|
event_type: "device.unmanaged.connected";
|
|
1168
1199
|
}, {
|
|
1169
|
-
connected_account_id: string;
|
|
1170
1200
|
created_at: string;
|
|
1201
|
+
connected_account_id: string;
|
|
1171
1202
|
device_id: string;
|
|
1172
1203
|
workspace_id: string;
|
|
1173
1204
|
event_id: string;
|
|
@@ -1185,18 +1216,18 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1185
1216
|
event_type: z.ZodLiteral<"device.disconnected">;
|
|
1186
1217
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
1187
1218
|
}>, "strip", z.ZodTypeAny, {
|
|
1219
|
+
created_at: string;
|
|
1188
1220
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
1189
1221
|
connected_account_id: string;
|
|
1190
|
-
created_at: string;
|
|
1191
1222
|
device_id: string;
|
|
1192
1223
|
workspace_id: string;
|
|
1193
1224
|
event_id: string;
|
|
1194
1225
|
occurred_at: string;
|
|
1195
1226
|
event_type: "device.disconnected";
|
|
1196
1227
|
}, {
|
|
1228
|
+
created_at: string;
|
|
1197
1229
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
1198
1230
|
connected_account_id: string;
|
|
1199
|
-
created_at: string;
|
|
1200
1231
|
device_id: string;
|
|
1201
1232
|
workspace_id: string;
|
|
1202
1233
|
event_id: string;
|
|
@@ -1214,18 +1245,18 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1214
1245
|
event_type: z.ZodLiteral<"device.unmanaged.disconnected">;
|
|
1215
1246
|
error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
|
|
1216
1247
|
}>, "strip", z.ZodTypeAny, {
|
|
1248
|
+
created_at: string;
|
|
1217
1249
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
1218
1250
|
connected_account_id: string;
|
|
1219
|
-
created_at: string;
|
|
1220
1251
|
device_id: string;
|
|
1221
1252
|
workspace_id: string;
|
|
1222
1253
|
event_id: string;
|
|
1223
1254
|
occurred_at: string;
|
|
1224
1255
|
event_type: "device.unmanaged.disconnected";
|
|
1225
1256
|
}, {
|
|
1257
|
+
created_at: string;
|
|
1226
1258
|
error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
|
|
1227
1259
|
connected_account_id: string;
|
|
1228
|
-
created_at: string;
|
|
1229
1260
|
device_id: string;
|
|
1230
1261
|
workspace_id: string;
|
|
1231
1262
|
event_id: string;
|
|
@@ -1242,16 +1273,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1242
1273
|
}>, {
|
|
1243
1274
|
event_type: z.ZodLiteral<"device.tampered">;
|
|
1244
1275
|
}>, "strip", z.ZodTypeAny, {
|
|
1245
|
-
connected_account_id: string;
|
|
1246
1276
|
created_at: string;
|
|
1277
|
+
connected_account_id: string;
|
|
1247
1278
|
device_id: string;
|
|
1248
1279
|
workspace_id: string;
|
|
1249
1280
|
event_id: string;
|
|
1250
1281
|
occurred_at: string;
|
|
1251
1282
|
event_type: "device.tampered";
|
|
1252
1283
|
}, {
|
|
1253
|
-
connected_account_id: string;
|
|
1254
1284
|
created_at: string;
|
|
1285
|
+
connected_account_id: string;
|
|
1255
1286
|
device_id: string;
|
|
1256
1287
|
workspace_id: string;
|
|
1257
1288
|
event_id: string;
|
|
@@ -1269,8 +1300,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1269
1300
|
event_type: z.ZodLiteral<"device.low_battery">;
|
|
1270
1301
|
battery_level: z.ZodNumber;
|
|
1271
1302
|
}>, "strip", z.ZodTypeAny, {
|
|
1272
|
-
connected_account_id: string;
|
|
1273
1303
|
created_at: string;
|
|
1304
|
+
connected_account_id: string;
|
|
1274
1305
|
device_id: string;
|
|
1275
1306
|
battery_level: number;
|
|
1276
1307
|
workspace_id: string;
|
|
@@ -1278,8 +1309,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1278
1309
|
occurred_at: string;
|
|
1279
1310
|
event_type: "device.low_battery";
|
|
1280
1311
|
}, {
|
|
1281
|
-
connected_account_id: string;
|
|
1282
1312
|
created_at: string;
|
|
1313
|
+
connected_account_id: string;
|
|
1283
1314
|
device_id: string;
|
|
1284
1315
|
battery_level: number;
|
|
1285
1316
|
workspace_id: string;
|
|
@@ -1299,8 +1330,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1299
1330
|
battery_status: z.ZodEnum<["critical", "low", "good", "full"]>;
|
|
1300
1331
|
battery_level: z.ZodNumber;
|
|
1301
1332
|
}>, "strip", z.ZodTypeAny, {
|
|
1302
|
-
connected_account_id: string;
|
|
1303
1333
|
created_at: string;
|
|
1334
|
+
connected_account_id: string;
|
|
1304
1335
|
device_id: string;
|
|
1305
1336
|
battery_level: number;
|
|
1306
1337
|
workspace_id: string;
|
|
@@ -1309,8 +1340,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1309
1340
|
event_type: "device.battery_status_changed";
|
|
1310
1341
|
battery_status: "low" | "full" | "critical" | "good";
|
|
1311
1342
|
}, {
|
|
1312
|
-
connected_account_id: string;
|
|
1313
1343
|
created_at: string;
|
|
1344
|
+
connected_account_id: string;
|
|
1314
1345
|
device_id: string;
|
|
1315
1346
|
battery_level: number;
|
|
1316
1347
|
workspace_id: string;
|
|
@@ -1329,16 +1360,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1329
1360
|
}>, {
|
|
1330
1361
|
event_type: z.ZodLiteral<"device.removed">;
|
|
1331
1362
|
}>, "strip", z.ZodTypeAny, {
|
|
1332
|
-
connected_account_id: string;
|
|
1333
1363
|
created_at: string;
|
|
1364
|
+
connected_account_id: string;
|
|
1334
1365
|
device_id: string;
|
|
1335
1366
|
workspace_id: string;
|
|
1336
1367
|
event_id: string;
|
|
1337
1368
|
occurred_at: string;
|
|
1338
1369
|
event_type: "device.removed";
|
|
1339
1370
|
}, {
|
|
1340
|
-
connected_account_id: string;
|
|
1341
1371
|
created_at: string;
|
|
1372
|
+
connected_account_id: string;
|
|
1342
1373
|
device_id: string;
|
|
1343
1374
|
workspace_id: string;
|
|
1344
1375
|
event_id: string;
|
|
@@ -1355,16 +1386,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1355
1386
|
}>, {
|
|
1356
1387
|
event_type: z.ZodLiteral<"device.deleted">;
|
|
1357
1388
|
}>, "strip", z.ZodTypeAny, {
|
|
1358
|
-
connected_account_id: string;
|
|
1359
1389
|
created_at: string;
|
|
1390
|
+
connected_account_id: string;
|
|
1360
1391
|
device_id: string;
|
|
1361
1392
|
workspace_id: string;
|
|
1362
1393
|
event_id: string;
|
|
1363
1394
|
occurred_at: string;
|
|
1364
1395
|
event_type: "device.deleted";
|
|
1365
1396
|
}, {
|
|
1366
|
-
connected_account_id: string;
|
|
1367
1397
|
created_at: string;
|
|
1398
|
+
connected_account_id: string;
|
|
1368
1399
|
device_id: string;
|
|
1369
1400
|
workspace_id: string;
|
|
1370
1401
|
event_id: string;
|
|
@@ -1381,16 +1412,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1381
1412
|
}>, {
|
|
1382
1413
|
event_type: z.ZodLiteral<"device.third_party_integration_detected">;
|
|
1383
1414
|
}>, "strip", z.ZodTypeAny, {
|
|
1384
|
-
connected_account_id: string;
|
|
1385
1415
|
created_at: string;
|
|
1416
|
+
connected_account_id: string;
|
|
1386
1417
|
device_id: string;
|
|
1387
1418
|
workspace_id: string;
|
|
1388
1419
|
event_id: string;
|
|
1389
1420
|
occurred_at: string;
|
|
1390
1421
|
event_type: "device.third_party_integration_detected";
|
|
1391
1422
|
}, {
|
|
1392
|
-
connected_account_id: string;
|
|
1393
1423
|
created_at: string;
|
|
1424
|
+
connected_account_id: string;
|
|
1394
1425
|
device_id: string;
|
|
1395
1426
|
workspace_id: string;
|
|
1396
1427
|
event_id: string;
|
|
@@ -1407,16 +1438,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1407
1438
|
}>, {
|
|
1408
1439
|
event_type: z.ZodLiteral<"device.third_party_integration_no_longer_detected">;
|
|
1409
1440
|
}>, "strip", z.ZodTypeAny, {
|
|
1410
|
-
connected_account_id: string;
|
|
1411
1441
|
created_at: string;
|
|
1442
|
+
connected_account_id: string;
|
|
1412
1443
|
device_id: string;
|
|
1413
1444
|
workspace_id: string;
|
|
1414
1445
|
event_id: string;
|
|
1415
1446
|
occurred_at: string;
|
|
1416
1447
|
event_type: "device.third_party_integration_no_longer_detected";
|
|
1417
1448
|
}, {
|
|
1418
|
-
connected_account_id: string;
|
|
1419
1449
|
created_at: string;
|
|
1450
|
+
connected_account_id: string;
|
|
1420
1451
|
device_id: string;
|
|
1421
1452
|
workspace_id: string;
|
|
1422
1453
|
event_id: string;
|
|
@@ -1433,16 +1464,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1433
1464
|
}>, {
|
|
1434
1465
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_activated">;
|
|
1435
1466
|
}>, "strip", z.ZodTypeAny, {
|
|
1436
|
-
connected_account_id: string;
|
|
1437
1467
|
created_at: string;
|
|
1468
|
+
connected_account_id: string;
|
|
1438
1469
|
device_id: string;
|
|
1439
1470
|
workspace_id: string;
|
|
1440
1471
|
event_id: string;
|
|
1441
1472
|
occurred_at: string;
|
|
1442
1473
|
event_type: "device.salto.privacy_mode_activated";
|
|
1443
1474
|
}, {
|
|
1444
|
-
connected_account_id: string;
|
|
1445
1475
|
created_at: string;
|
|
1476
|
+
connected_account_id: string;
|
|
1446
1477
|
device_id: string;
|
|
1447
1478
|
workspace_id: string;
|
|
1448
1479
|
event_id: string;
|
|
@@ -1459,16 +1490,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1459
1490
|
}>, {
|
|
1460
1491
|
event_type: z.ZodLiteral<"device.salto.privacy_mode_deactivated">;
|
|
1461
1492
|
}>, "strip", z.ZodTypeAny, {
|
|
1462
|
-
connected_account_id: string;
|
|
1463
1493
|
created_at: string;
|
|
1494
|
+
connected_account_id: string;
|
|
1464
1495
|
device_id: string;
|
|
1465
1496
|
workspace_id: string;
|
|
1466
1497
|
event_id: string;
|
|
1467
1498
|
occurred_at: string;
|
|
1468
1499
|
event_type: "device.salto.privacy_mode_deactivated";
|
|
1469
1500
|
}, {
|
|
1470
|
-
connected_account_id: string;
|
|
1471
1501
|
created_at: string;
|
|
1502
|
+
connected_account_id: string;
|
|
1472
1503
|
device_id: string;
|
|
1473
1504
|
workspace_id: string;
|
|
1474
1505
|
event_id: string;
|
|
@@ -1485,16 +1516,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1485
1516
|
}>, {
|
|
1486
1517
|
event_type: z.ZodLiteral<"device.connection_became_flaky">;
|
|
1487
1518
|
}>, "strip", z.ZodTypeAny, {
|
|
1488
|
-
connected_account_id: string;
|
|
1489
1519
|
created_at: string;
|
|
1520
|
+
connected_account_id: string;
|
|
1490
1521
|
device_id: string;
|
|
1491
1522
|
workspace_id: string;
|
|
1492
1523
|
event_id: string;
|
|
1493
1524
|
occurred_at: string;
|
|
1494
1525
|
event_type: "device.connection_became_flaky";
|
|
1495
1526
|
}, {
|
|
1496
|
-
connected_account_id: string;
|
|
1497
1527
|
created_at: string;
|
|
1528
|
+
connected_account_id: string;
|
|
1498
1529
|
device_id: string;
|
|
1499
1530
|
workspace_id: string;
|
|
1500
1531
|
event_id: string;
|
|
@@ -1511,16 +1542,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1511
1542
|
}>, {
|
|
1512
1543
|
event_type: z.ZodLiteral<"device.connection_stabilized">;
|
|
1513
1544
|
}>, "strip", z.ZodTypeAny, {
|
|
1514
|
-
connected_account_id: string;
|
|
1515
1545
|
created_at: string;
|
|
1546
|
+
connected_account_id: string;
|
|
1516
1547
|
device_id: string;
|
|
1517
1548
|
workspace_id: string;
|
|
1518
1549
|
event_id: string;
|
|
1519
1550
|
occurred_at: string;
|
|
1520
1551
|
event_type: "device.connection_stabilized";
|
|
1521
1552
|
}, {
|
|
1522
|
-
connected_account_id: string;
|
|
1523
1553
|
created_at: string;
|
|
1554
|
+
connected_account_id: string;
|
|
1524
1555
|
device_id: string;
|
|
1525
1556
|
workspace_id: string;
|
|
1526
1557
|
event_id: string;
|
|
@@ -1537,16 +1568,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1537
1568
|
}>, {
|
|
1538
1569
|
event_type: z.ZodLiteral<"device.error.subscription_required">;
|
|
1539
1570
|
}>, "strip", z.ZodTypeAny, {
|
|
1540
|
-
connected_account_id: string;
|
|
1541
1571
|
created_at: string;
|
|
1572
|
+
connected_account_id: string;
|
|
1542
1573
|
device_id: string;
|
|
1543
1574
|
workspace_id: string;
|
|
1544
1575
|
event_id: string;
|
|
1545
1576
|
occurred_at: string;
|
|
1546
1577
|
event_type: "device.error.subscription_required";
|
|
1547
1578
|
}, {
|
|
1548
|
-
connected_account_id: string;
|
|
1549
1579
|
created_at: string;
|
|
1580
|
+
connected_account_id: string;
|
|
1550
1581
|
device_id: string;
|
|
1551
1582
|
workspace_id: string;
|
|
1552
1583
|
event_id: string;
|
|
@@ -1563,16 +1594,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1563
1594
|
}>, {
|
|
1564
1595
|
event_type: z.ZodLiteral<"device.error.subscription_required.resolved">;
|
|
1565
1596
|
}>, "strip", z.ZodTypeAny, {
|
|
1566
|
-
connected_account_id: string;
|
|
1567
1597
|
created_at: string;
|
|
1598
|
+
connected_account_id: string;
|
|
1568
1599
|
device_id: string;
|
|
1569
1600
|
workspace_id: string;
|
|
1570
1601
|
event_id: string;
|
|
1571
1602
|
occurred_at: string;
|
|
1572
1603
|
event_type: "device.error.subscription_required.resolved";
|
|
1573
1604
|
}, {
|
|
1574
|
-
connected_account_id: string;
|
|
1575
1605
|
created_at: string;
|
|
1606
|
+
connected_account_id: string;
|
|
1576
1607
|
device_id: string;
|
|
1577
1608
|
workspace_id: string;
|
|
1578
1609
|
event_id: string;
|
|
@@ -1589,16 +1620,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1589
1620
|
}>, {
|
|
1590
1621
|
event_type: z.ZodLiteral<"device.accessory_keypad_connected">;
|
|
1591
1622
|
}>, "strip", z.ZodTypeAny, {
|
|
1592
|
-
connected_account_id: string;
|
|
1593
1623
|
created_at: string;
|
|
1624
|
+
connected_account_id: string;
|
|
1594
1625
|
device_id: string;
|
|
1595
1626
|
workspace_id: string;
|
|
1596
1627
|
event_id: string;
|
|
1597
1628
|
occurred_at: string;
|
|
1598
1629
|
event_type: "device.accessory_keypad_connected";
|
|
1599
1630
|
}, {
|
|
1600
|
-
connected_account_id: string;
|
|
1601
1631
|
created_at: string;
|
|
1632
|
+
connected_account_id: string;
|
|
1602
1633
|
device_id: string;
|
|
1603
1634
|
workspace_id: string;
|
|
1604
1635
|
event_id: string;
|
|
@@ -1615,16 +1646,16 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1615
1646
|
}>, {
|
|
1616
1647
|
event_type: z.ZodLiteral<"device.accessory_keypad_disconnected">;
|
|
1617
1648
|
}>, "strip", z.ZodTypeAny, {
|
|
1618
|
-
connected_account_id: string;
|
|
1619
1649
|
created_at: string;
|
|
1650
|
+
connected_account_id: string;
|
|
1620
1651
|
device_id: string;
|
|
1621
1652
|
workspace_id: string;
|
|
1622
1653
|
event_id: string;
|
|
1623
1654
|
occurred_at: string;
|
|
1624
1655
|
event_type: "device.accessory_keypad_disconnected";
|
|
1625
1656
|
}, {
|
|
1626
|
-
connected_account_id: string;
|
|
1627
1657
|
created_at: string;
|
|
1658
|
+
connected_account_id: string;
|
|
1628
1659
|
device_id: string;
|
|
1629
1660
|
workspace_id: string;
|
|
1630
1661
|
event_id: string;
|
|
@@ -1647,8 +1678,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1647
1678
|
noiseaware_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1648
1679
|
minut_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1649
1680
|
}>, "strip", z.ZodTypeAny, {
|
|
1650
|
-
connected_account_id: string;
|
|
1651
1681
|
created_at: string;
|
|
1682
|
+
connected_account_id: string;
|
|
1652
1683
|
device_id: string;
|
|
1653
1684
|
workspace_id: string;
|
|
1654
1685
|
event_id: string;
|
|
@@ -1661,8 +1692,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1661
1692
|
noise_threshold_id?: string | undefined;
|
|
1662
1693
|
noise_threshold_name?: string | undefined;
|
|
1663
1694
|
}, {
|
|
1664
|
-
connected_account_id: string;
|
|
1665
1695
|
created_at: string;
|
|
1696
|
+
connected_account_id: string;
|
|
1666
1697
|
device_id: string;
|
|
1667
1698
|
workspace_id: string;
|
|
1668
1699
|
event_id: string;
|
|
@@ -1689,8 +1720,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1689
1720
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
1690
1721
|
}>, "strip", z.ZodTypeAny, {
|
|
1691
1722
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
1692
|
-
connected_account_id: string;
|
|
1693
1723
|
created_at: string;
|
|
1724
|
+
connected_account_id: string;
|
|
1694
1725
|
device_id: string;
|
|
1695
1726
|
workspace_id: string;
|
|
1696
1727
|
event_id: string;
|
|
@@ -1700,8 +1731,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1700
1731
|
action_attempt_id?: string | undefined;
|
|
1701
1732
|
}, {
|
|
1702
1733
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
1703
|
-
connected_account_id: string;
|
|
1704
1734
|
created_at: string;
|
|
1735
|
+
connected_account_id: string;
|
|
1705
1736
|
device_id: string;
|
|
1706
1737
|
workspace_id: string;
|
|
1707
1738
|
event_id: string;
|
|
@@ -1724,8 +1755,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1724
1755
|
method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
|
|
1725
1756
|
}>, "strip", z.ZodTypeAny, {
|
|
1726
1757
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
1727
|
-
connected_account_id: string;
|
|
1728
1758
|
created_at: string;
|
|
1759
|
+
connected_account_id: string;
|
|
1729
1760
|
device_id: string;
|
|
1730
1761
|
workspace_id: string;
|
|
1731
1762
|
event_id: string;
|
|
@@ -1735,8 +1766,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1735
1766
|
action_attempt_id?: string | undefined;
|
|
1736
1767
|
}, {
|
|
1737
1768
|
method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
|
|
1738
|
-
connected_account_id: string;
|
|
1739
1769
|
created_at: string;
|
|
1770
|
+
connected_account_id: string;
|
|
1740
1771
|
device_id: string;
|
|
1741
1772
|
workspace_id: string;
|
|
1742
1773
|
event_id: string;
|
|
@@ -1756,8 +1787,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1756
1787
|
event_type: z.ZodLiteral<"lock.access_denied">;
|
|
1757
1788
|
access_code_id: z.ZodOptional<z.ZodString>;
|
|
1758
1789
|
}>, "strip", z.ZodTypeAny, {
|
|
1759
|
-
connected_account_id: string;
|
|
1760
1790
|
created_at: string;
|
|
1791
|
+
connected_account_id: string;
|
|
1761
1792
|
device_id: string;
|
|
1762
1793
|
workspace_id: string;
|
|
1763
1794
|
event_id: string;
|
|
@@ -1765,8 +1796,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1765
1796
|
event_type: "lock.access_denied";
|
|
1766
1797
|
access_code_id?: string | undefined;
|
|
1767
1798
|
}, {
|
|
1768
|
-
connected_account_id: string;
|
|
1769
1799
|
created_at: string;
|
|
1800
|
+
connected_account_id: string;
|
|
1770
1801
|
device_id: string;
|
|
1771
1802
|
workspace_id: string;
|
|
1772
1803
|
event_id: string;
|
|
@@ -1787,8 +1818,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1787
1818
|
climate_preset_key: z.ZodString;
|
|
1788
1819
|
is_fallback_climate_preset: z.ZodBoolean;
|
|
1789
1820
|
}>, "strip", z.ZodTypeAny, {
|
|
1790
|
-
connected_account_id: string;
|
|
1791
1821
|
created_at: string;
|
|
1822
|
+
connected_account_id: string;
|
|
1792
1823
|
climate_preset_key: string;
|
|
1793
1824
|
thermostat_schedule_id: string | null;
|
|
1794
1825
|
device_id: string;
|
|
@@ -1798,8 +1829,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1798
1829
|
event_type: "thermostat.climate_preset_activated";
|
|
1799
1830
|
is_fallback_climate_preset: boolean;
|
|
1800
1831
|
}, {
|
|
1801
|
-
connected_account_id: string;
|
|
1802
1832
|
created_at: string;
|
|
1833
|
+
connected_account_id: string;
|
|
1803
1834
|
climate_preset_key: string;
|
|
1804
1835
|
thermostat_schedule_id: string | null;
|
|
1805
1836
|
device_id: string;
|
|
@@ -1834,8 +1865,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1834
1865
|
manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
1835
1866
|
}, "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
1867
|
method: "external" | "seam";
|
|
1837
|
-
connected_account_id: string;
|
|
1838
1868
|
created_at: string;
|
|
1869
|
+
connected_account_id: string;
|
|
1839
1870
|
device_id: string;
|
|
1840
1871
|
workspace_id: string;
|
|
1841
1872
|
event_id: string;
|
|
@@ -1849,8 +1880,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1849
1880
|
heating_set_point_fahrenheit?: number | undefined;
|
|
1850
1881
|
}, {
|
|
1851
1882
|
method: "external" | "seam";
|
|
1852
|
-
connected_account_id: string;
|
|
1853
1883
|
created_at: string;
|
|
1884
|
+
connected_account_id: string;
|
|
1854
1885
|
device_id: string;
|
|
1855
1886
|
workspace_id: string;
|
|
1856
1887
|
event_id: string;
|
|
@@ -1879,8 +1910,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1879
1910
|
lower_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
1880
1911
|
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
1881
1912
|
}>, "strip", z.ZodTypeAny, {
|
|
1882
|
-
connected_account_id: string;
|
|
1883
1913
|
created_at: string;
|
|
1914
|
+
connected_account_id: string;
|
|
1884
1915
|
device_id: string;
|
|
1885
1916
|
temperature_fahrenheit: number;
|
|
1886
1917
|
temperature_celsius: number;
|
|
@@ -1893,8 +1924,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1893
1924
|
occurred_at: string;
|
|
1894
1925
|
event_type: "thermostat.temperature_threshold_exceeded";
|
|
1895
1926
|
}, {
|
|
1896
|
-
connected_account_id: string;
|
|
1897
1927
|
created_at: string;
|
|
1928
|
+
connected_account_id: string;
|
|
1898
1929
|
device_id: string;
|
|
1899
1930
|
temperature_fahrenheit: number;
|
|
1900
1931
|
temperature_celsius: number;
|
|
@@ -1923,8 +1954,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1923
1954
|
lower_limit_celsius: z.ZodNullable<z.ZodNumber>;
|
|
1924
1955
|
lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
|
|
1925
1956
|
}>, "strip", z.ZodTypeAny, {
|
|
1926
|
-
connected_account_id: string;
|
|
1927
1957
|
created_at: string;
|
|
1958
|
+
connected_account_id: string;
|
|
1928
1959
|
device_id: string;
|
|
1929
1960
|
temperature_fahrenheit: number;
|
|
1930
1961
|
temperature_celsius: number;
|
|
@@ -1937,8 +1968,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1937
1968
|
occurred_at: string;
|
|
1938
1969
|
event_type: "thermostat.temperature_threshold_no_longer_exceeded";
|
|
1939
1970
|
}, {
|
|
1940
|
-
connected_account_id: string;
|
|
1941
1971
|
created_at: string;
|
|
1972
|
+
connected_account_id: string;
|
|
1942
1973
|
device_id: string;
|
|
1943
1974
|
temperature_fahrenheit: number;
|
|
1944
1975
|
temperature_celsius: number;
|
|
@@ -1965,8 +1996,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1965
1996
|
desired_temperature_celsius: z.ZodOptional<z.ZodNumber>;
|
|
1966
1997
|
desired_temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
|
|
1967
1998
|
}>, "strip", z.ZodTypeAny, {
|
|
1968
|
-
connected_account_id: string;
|
|
1969
1999
|
created_at: string;
|
|
2000
|
+
connected_account_id: string;
|
|
1970
2001
|
device_id: string;
|
|
1971
2002
|
temperature_fahrenheit: number;
|
|
1972
2003
|
temperature_celsius: number;
|
|
@@ -1977,8 +2008,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
1977
2008
|
desired_temperature_celsius?: number | undefined;
|
|
1978
2009
|
desired_temperature_fahrenheit?: number | undefined;
|
|
1979
2010
|
}, {
|
|
1980
|
-
connected_account_id: string;
|
|
1981
2011
|
created_at: string;
|
|
2012
|
+
connected_account_id: string;
|
|
1982
2013
|
device_id: string;
|
|
1983
2014
|
temperature_fahrenheit: number;
|
|
1984
2015
|
temperature_celsius: number;
|
|
@@ -2001,8 +2032,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2001
2032
|
temperature_celsius: z.ZodNumber;
|
|
2002
2033
|
temperature_fahrenheit: z.ZodNumber;
|
|
2003
2034
|
}>, "strip", z.ZodTypeAny, {
|
|
2004
|
-
connected_account_id: string;
|
|
2005
2035
|
created_at: string;
|
|
2036
|
+
connected_account_id: string;
|
|
2006
2037
|
device_id: string;
|
|
2007
2038
|
temperature_fahrenheit: number;
|
|
2008
2039
|
temperature_celsius: number;
|
|
@@ -2011,8 +2042,8 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2011
2042
|
occurred_at: string;
|
|
2012
2043
|
event_type: "thermostat.temperature_changed";
|
|
2013
2044
|
}, {
|
|
2014
|
-
connected_account_id: string;
|
|
2015
2045
|
created_at: string;
|
|
2046
|
+
connected_account_id: string;
|
|
2016
2047
|
device_id: string;
|
|
2017
2048
|
temperature_fahrenheit: number;
|
|
2018
2049
|
temperature_celsius: number;
|
|
@@ -2020,4 +2051,33 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
|
|
|
2020
2051
|
event_id: string;
|
|
2021
2052
|
occurred_at: string;
|
|
2022
2053
|
event_type: "thermostat.temperature_changed";
|
|
2054
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2055
|
+
event_id: z.ZodString;
|
|
2056
|
+
workspace_id: z.ZodString;
|
|
2057
|
+
created_at: z.ZodString;
|
|
2058
|
+
occurred_at: z.ZodString;
|
|
2059
|
+
}, {
|
|
2060
|
+
device_id: z.ZodString;
|
|
2061
|
+
connected_account_id: z.ZodString;
|
|
2062
|
+
}>, {
|
|
2063
|
+
event_type: z.ZodLiteral<"device.name_changed">;
|
|
2064
|
+
new_name: z.ZodString;
|
|
2065
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2066
|
+
created_at: string;
|
|
2067
|
+
connected_account_id: string;
|
|
2068
|
+
device_id: string;
|
|
2069
|
+
workspace_id: string;
|
|
2070
|
+
event_id: string;
|
|
2071
|
+
occurred_at: string;
|
|
2072
|
+
event_type: "device.name_changed";
|
|
2073
|
+
new_name: string;
|
|
2074
|
+
}, {
|
|
2075
|
+
created_at: string;
|
|
2076
|
+
connected_account_id: string;
|
|
2077
|
+
device_id: string;
|
|
2078
|
+
workspace_id: string;
|
|
2079
|
+
event_id: string;
|
|
2080
|
+
occurred_at: string;
|
|
2081
|
+
event_type: "device.name_changed";
|
|
2082
|
+
new_name: string;
|
|
2023
2083
|
}>];
|