@seamapi/types 1.395.1 → 1.395.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/connect.cjs +57 -18
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +578 -502
  4. package/lib/seam/connect/models/access-grants/access-grant.d.ts +2 -2
  5. package/lib/seam/connect/models/access-grants/access-method.d.ts +2 -2
  6. package/lib/seam/connect/models/acs/acs-access-group.d.ts +4 -4
  7. package/lib/seam/connect/models/acs/acs-credential-pool.d.ts +2 -2
  8. package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.d.ts +4 -4
  9. package/lib/seam/connect/models/acs/acs-credential.d.ts +4 -4
  10. package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
  11. package/lib/seam/connect/models/acs/acs-system.d.ts +2 -2
  12. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +4 -4
  13. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +24 -24
  14. package/lib/seam/connect/models/action-attempts/encode-access-method.d.ts +4 -4
  15. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +8 -8
  16. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +12 -12
  17. package/lib/seam/connect/models/bridges/bridge-connected-system.d.ts +2 -2
  18. package/lib/seam/connect/models/bridges/bridge.d.ts +2 -2
  19. package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
  20. package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +2 -2
  21. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +25 -20
  22. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +25 -20
  23. package/lib/seam/connect/models/devices/capability-properties/thermostat.js +2 -7
  24. package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
  25. package/lib/seam/connect/models/devices/device.d.ts +37 -30
  26. package/lib/seam/connect/models/devices/phone.d.ts +2 -2
  27. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +28 -23
  28. package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
  29. package/lib/seam/connect/models/events/access-grants.d.ts +20 -20
  30. package/lib/seam/connect/models/events/access-methods.d.ts +12 -12
  31. package/lib/seam/connect/models/events/acs/access-groups.d.ts +4 -4
  32. package/lib/seam/connect/models/events/acs/common.d.ts +2 -2
  33. package/lib/seam/connect/models/events/acs/credentials.d.ts +16 -16
  34. package/lib/seam/connect/models/events/acs/encoders.d.ts +8 -8
  35. package/lib/seam/connect/models/events/acs/entrances.d.ts +8 -8
  36. package/lib/seam/connect/models/events/acs/index.d.ts +28 -28
  37. package/lib/seam/connect/models/events/acs/systems.d.ts +12 -12
  38. package/lib/seam/connect/models/events/acs/users.d.ts +8 -8
  39. package/lib/seam/connect/models/events/action-attempts.d.ts +16 -16
  40. package/lib/seam/connect/models/events/client-sessions.d.ts +4 -4
  41. package/lib/seam/connect/models/events/common.d.ts +2 -2
  42. package/lib/seam/connect/models/events/connect-webviews.d.ts +8 -8
  43. package/lib/seam/connect/models/events/connected-accounts.d.ts +28 -28
  44. package/lib/seam/connect/models/events/devices.d.ts +132 -132
  45. package/lib/seam/connect/models/events/enrollment-automations.d.ts +4 -4
  46. package/lib/seam/connect/models/events/phones.d.ts +4 -4
  47. package/lib/seam/connect/models/events/seam-event.d.ts +176 -176
  48. package/lib/seam/connect/models/instant-keys/instant-key.d.ts +2 -2
  49. package/lib/seam/connect/models/locations/location.d.ts +2 -2
  50. package/lib/seam/connect/models/thermostats/thermostat-program.d.ts +6 -6
  51. package/lib/seam/connect/models/thermostats/thermostat-program.js +5 -5
  52. package/lib/seam/connect/models/thermostats/thermostat-program.js.map +1 -1
  53. package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +6 -3
  54. package/lib/seam/connect/models/thermostats/thermostat-schedule.js +5 -1
  55. package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
  56. package/lib/seam/connect/models/user-identities/user-identity.d.ts +2 -2
  57. package/lib/seam/connect/openapi.d.ts +35 -8
  58. package/lib/seam/connect/openapi.js +43 -9
  59. package/lib/seam/connect/openapi.js.map +1 -1
  60. package/lib/seam/connect/route-types.d.ts +136 -102
  61. package/package.json +2 -2
  62. package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +2 -7
  63. package/src/lib/seam/connect/models/thermostats/thermostat-program.ts +7 -5
  64. package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +7 -1
  65. package/src/lib/seam/connect/openapi.ts +47 -10
  66. package/src/lib/seam/connect/route-types.ts +617 -505
@@ -13,17 +13,17 @@ export declare const device_connected_event: z.ZodObject<z.objectUtil.extendShap
13
13
  event_type: z.ZodLiteral<"device.connected">;
14
14
  }>, "strip", z.ZodTypeAny, {
15
15
  device_id: string;
16
+ workspace_id: string;
16
17
  created_at: string;
17
18
  connected_account_id: string;
18
- workspace_id: string;
19
19
  event_id: string;
20
20
  occurred_at: string;
21
21
  event_type: "device.connected";
22
22
  }, {
23
23
  device_id: string;
24
+ workspace_id: string;
24
25
  created_at: string;
25
26
  connected_account_id: string;
26
- workspace_id: string;
27
27
  event_id: string;
28
28
  occurred_at: string;
29
29
  event_type: "device.connected";
@@ -41,17 +41,17 @@ export declare const device_added_event: z.ZodObject<z.objectUtil.extendShape<z.
41
41
  event_type: z.ZodLiteral<"device.added">;
42
42
  }>, "strip", z.ZodTypeAny, {
43
43
  device_id: string;
44
+ workspace_id: string;
44
45
  created_at: string;
45
46
  connected_account_id: string;
46
- workspace_id: string;
47
47
  event_id: string;
48
48
  occurred_at: string;
49
49
  event_type: "device.added";
50
50
  }, {
51
51
  device_id: string;
52
+ workspace_id: string;
52
53
  created_at: string;
53
54
  connected_account_id: string;
54
- workspace_id: string;
55
55
  event_id: string;
56
56
  occurred_at: string;
57
57
  event_type: "device.added";
@@ -69,17 +69,17 @@ export declare const device_converted_to_unmanaged_event: z.ZodObject<z.objectUt
69
69
  event_type: z.ZodLiteral<"device.converted_to_unmanaged">;
70
70
  }>, "strip", z.ZodTypeAny, {
71
71
  device_id: string;
72
+ workspace_id: string;
72
73
  created_at: string;
73
74
  connected_account_id: string;
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
79
  device_id: string;
80
+ workspace_id: string;
80
81
  created_at: string;
81
82
  connected_account_id: string;
82
- workspace_id: string;
83
83
  event_id: string;
84
84
  occurred_at: string;
85
85
  event_type: "device.converted_to_unmanaged";
@@ -97,17 +97,17 @@ export declare const unmanaged_device_converted_to_managed_event: z.ZodObject<z.
97
97
  event_type: z.ZodLiteral<"device.unmanaged.converted_to_managed">;
98
98
  }>, "strip", z.ZodTypeAny, {
99
99
  device_id: string;
100
+ workspace_id: string;
100
101
  created_at: string;
101
102
  connected_account_id: string;
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
107
  device_id: string;
108
+ workspace_id: string;
108
109
  created_at: string;
109
110
  connected_account_id: string;
110
- workspace_id: string;
111
111
  event_id: string;
112
112
  occurred_at: string;
113
113
  event_type: "device.unmanaged.converted_to_managed";
@@ -125,17 +125,17 @@ export declare const unmanaged_device_connected_event: z.ZodObject<z.objectUtil.
125
125
  event_type: z.ZodLiteral<"device.unmanaged.connected">;
126
126
  }>, "strip", z.ZodTypeAny, {
127
127
  device_id: string;
128
+ workspace_id: string;
128
129
  created_at: string;
129
130
  connected_account_id: string;
130
- workspace_id: string;
131
131
  event_id: string;
132
132
  occurred_at: string;
133
133
  event_type: "device.unmanaged.connected";
134
134
  }, {
135
135
  device_id: string;
136
+ workspace_id: string;
136
137
  created_at: string;
137
138
  connected_account_id: string;
138
- workspace_id: string;
139
139
  event_id: string;
140
140
  occurred_at: string;
141
141
  event_type: "device.unmanaged.connected";
@@ -154,19 +154,19 @@ export declare const device_disconnected_event: z.ZodObject<z.objectUtil.extendS
154
154
  error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
155
155
  }>, "strip", z.ZodTypeAny, {
156
156
  device_id: string;
157
+ workspace_id: string;
157
158
  created_at: string;
158
159
  error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
159
160
  connected_account_id: string;
160
- workspace_id: string;
161
161
  event_id: string;
162
162
  occurred_at: string;
163
163
  event_type: "device.disconnected";
164
164
  }, {
165
165
  device_id: string;
166
+ workspace_id: string;
166
167
  created_at: string;
167
168
  error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
168
169
  connected_account_id: string;
169
- workspace_id: string;
170
170
  event_id: string;
171
171
  occurred_at: string;
172
172
  event_type: "device.disconnected";
@@ -185,19 +185,19 @@ export declare const unmanaged_device_disconnected_event: z.ZodObject<z.objectUt
185
185
  error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
186
186
  }>, "strip", z.ZodTypeAny, {
187
187
  device_id: string;
188
+ workspace_id: string;
188
189
  created_at: string;
189
190
  error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
190
191
  connected_account_id: string;
191
- workspace_id: string;
192
192
  event_id: string;
193
193
  occurred_at: string;
194
194
  event_type: "device.unmanaged.disconnected";
195
195
  }, {
196
196
  device_id: string;
197
+ workspace_id: string;
197
198
  created_at: string;
198
199
  error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
199
200
  connected_account_id: string;
200
- workspace_id: string;
201
201
  event_id: string;
202
202
  occurred_at: string;
203
203
  event_type: "device.unmanaged.disconnected";
@@ -215,17 +215,17 @@ export declare const device_tampered_event: z.ZodObject<z.objectUtil.extendShape
215
215
  event_type: z.ZodLiteral<"device.tampered">;
216
216
  }>, "strip", z.ZodTypeAny, {
217
217
  device_id: string;
218
+ workspace_id: string;
218
219
  created_at: string;
219
220
  connected_account_id: string;
220
- workspace_id: string;
221
221
  event_id: string;
222
222
  occurred_at: string;
223
223
  event_type: "device.tampered";
224
224
  }, {
225
225
  device_id: string;
226
+ workspace_id: string;
226
227
  created_at: string;
227
228
  connected_account_id: string;
228
- workspace_id: string;
229
229
  event_id: string;
230
230
  occurred_at: string;
231
231
  event_type: "device.tampered";
@@ -244,19 +244,19 @@ export declare const device_low_battery_event: z.ZodObject<z.objectUtil.extendSh
244
244
  battery_level: z.ZodNumber;
245
245
  }>, "strip", z.ZodTypeAny, {
246
246
  device_id: string;
247
+ workspace_id: string;
247
248
  created_at: string;
248
249
  connected_account_id: string;
249
250
  battery_level: number;
250
- workspace_id: string;
251
251
  event_id: string;
252
252
  occurred_at: string;
253
253
  event_type: "device.low_battery";
254
254
  }, {
255
255
  device_id: string;
256
+ workspace_id: string;
256
257
  created_at: string;
257
258
  connected_account_id: string;
258
259
  battery_level: number;
259
- workspace_id: string;
260
260
  event_id: string;
261
261
  occurred_at: string;
262
262
  event_type: "device.low_battery";
@@ -276,20 +276,20 @@ export declare const device_battery_status_changed_event: z.ZodObject<z.objectUt
276
276
  battery_level: z.ZodNumber;
277
277
  }>, "strip", z.ZodTypeAny, {
278
278
  device_id: string;
279
+ workspace_id: string;
279
280
  created_at: string;
280
281
  connected_account_id: string;
281
282
  battery_level: number;
282
- workspace_id: string;
283
283
  event_id: string;
284
284
  occurred_at: string;
285
285
  event_type: "device.battery_status_changed";
286
286
  battery_status: "low" | "full" | "critical" | "good";
287
287
  }, {
288
288
  device_id: string;
289
+ workspace_id: string;
289
290
  created_at: string;
290
291
  connected_account_id: string;
291
292
  battery_level: number;
292
- workspace_id: string;
293
293
  event_id: string;
294
294
  occurred_at: string;
295
295
  event_type: "device.battery_status_changed";
@@ -308,17 +308,17 @@ export declare const device_removed_event: z.ZodObject<z.objectUtil.extendShape<
308
308
  event_type: z.ZodLiteral<"device.removed">;
309
309
  }>, "strip", z.ZodTypeAny, {
310
310
  device_id: string;
311
+ workspace_id: string;
311
312
  created_at: string;
312
313
  connected_account_id: string;
313
- workspace_id: string;
314
314
  event_id: string;
315
315
  occurred_at: string;
316
316
  event_type: "device.removed";
317
317
  }, {
318
318
  device_id: string;
319
+ workspace_id: string;
319
320
  created_at: string;
320
321
  connected_account_id: string;
321
- workspace_id: string;
322
322
  event_id: string;
323
323
  occurred_at: string;
324
324
  event_type: "device.removed";
@@ -336,17 +336,17 @@ export declare const device_deleted_event: z.ZodObject<z.objectUtil.extendShape<
336
336
  event_type: z.ZodLiteral<"device.deleted">;
337
337
  }>, "strip", z.ZodTypeAny, {
338
338
  device_id: string;
339
+ workspace_id: string;
339
340
  created_at: string;
340
341
  connected_account_id: string;
341
- workspace_id: string;
342
342
  event_id: string;
343
343
  occurred_at: string;
344
344
  event_type: "device.deleted";
345
345
  }, {
346
346
  device_id: string;
347
+ workspace_id: string;
347
348
  created_at: string;
348
349
  connected_account_id: string;
349
- workspace_id: string;
350
350
  event_id: string;
351
351
  occurred_at: string;
352
352
  event_type: "device.deleted";
@@ -364,17 +364,17 @@ export declare const device_third_party_integration_detected_event: z.ZodObject<
364
364
  event_type: z.ZodLiteral<"device.third_party_integration_detected">;
365
365
  }>, "strip", z.ZodTypeAny, {
366
366
  device_id: string;
367
+ workspace_id: string;
367
368
  created_at: string;
368
369
  connected_account_id: string;
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
374
  device_id: string;
375
+ workspace_id: string;
375
376
  created_at: string;
376
377
  connected_account_id: string;
377
- workspace_id: string;
378
378
  event_id: string;
379
379
  occurred_at: string;
380
380
  event_type: "device.third_party_integration_detected";
@@ -392,17 +392,17 @@ export declare const device_third_party_integration_no_longer_detected_event: z.
392
392
  event_type: z.ZodLiteral<"device.third_party_integration_no_longer_detected">;
393
393
  }>, "strip", z.ZodTypeAny, {
394
394
  device_id: string;
395
+ workspace_id: string;
395
396
  created_at: string;
396
397
  connected_account_id: string;
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
402
  device_id: string;
403
+ workspace_id: string;
403
404
  created_at: string;
404
405
  connected_account_id: string;
405
- workspace_id: string;
406
406
  event_id: string;
407
407
  occurred_at: string;
408
408
  event_type: "device.third_party_integration_no_longer_detected";
@@ -420,17 +420,17 @@ export declare const device_salto_privacy_mode_activated_event: z.ZodObject<z.ob
420
420
  event_type: z.ZodLiteral<"device.salto.privacy_mode_activated">;
421
421
  }>, "strip", z.ZodTypeAny, {
422
422
  device_id: string;
423
+ workspace_id: string;
423
424
  created_at: string;
424
425
  connected_account_id: string;
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
430
  device_id: string;
431
+ workspace_id: string;
431
432
  created_at: string;
432
433
  connected_account_id: string;
433
- workspace_id: string;
434
434
  event_id: string;
435
435
  occurred_at: string;
436
436
  event_type: "device.salto.privacy_mode_activated";
@@ -448,17 +448,17 @@ export declare const device_salto_privacy_mode_deactivated_event: z.ZodObject<z.
448
448
  event_type: z.ZodLiteral<"device.salto.privacy_mode_deactivated">;
449
449
  }>, "strip", z.ZodTypeAny, {
450
450
  device_id: string;
451
+ workspace_id: string;
451
452
  created_at: string;
452
453
  connected_account_id: string;
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
458
  device_id: string;
459
+ workspace_id: string;
459
460
  created_at: string;
460
461
  connected_account_id: string;
461
- workspace_id: string;
462
462
  event_id: string;
463
463
  occurred_at: string;
464
464
  event_type: "device.salto.privacy_mode_deactivated";
@@ -476,17 +476,17 @@ export declare const device_connection_became_flaky_event: z.ZodObject<z.objectU
476
476
  event_type: z.ZodLiteral<"device.connection_became_flaky">;
477
477
  }>, "strip", z.ZodTypeAny, {
478
478
  device_id: string;
479
+ workspace_id: string;
479
480
  created_at: string;
480
481
  connected_account_id: string;
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
486
  device_id: string;
487
+ workspace_id: string;
487
488
  created_at: string;
488
489
  connected_account_id: string;
489
- workspace_id: string;
490
490
  event_id: string;
491
491
  occurred_at: string;
492
492
  event_type: "device.connection_became_flaky";
@@ -504,17 +504,17 @@ export declare const device_connection_stabilized_event: z.ZodObject<z.objectUti
504
504
  event_type: z.ZodLiteral<"device.connection_stabilized">;
505
505
  }>, "strip", z.ZodTypeAny, {
506
506
  device_id: string;
507
+ workspace_id: string;
507
508
  created_at: string;
508
509
  connected_account_id: string;
509
- workspace_id: string;
510
510
  event_id: string;
511
511
  occurred_at: string;
512
512
  event_type: "device.connection_stabilized";
513
513
  }, {
514
514
  device_id: string;
515
+ workspace_id: string;
515
516
  created_at: string;
516
517
  connected_account_id: string;
517
- workspace_id: string;
518
518
  event_id: string;
519
519
  occurred_at: string;
520
520
  event_type: "device.connection_stabilized";
@@ -532,17 +532,17 @@ export declare const device_error_subscription_required_event: z.ZodObject<z.obj
532
532
  event_type: z.ZodLiteral<"device.error.subscription_required">;
533
533
  }>, "strip", z.ZodTypeAny, {
534
534
  device_id: string;
535
+ workspace_id: string;
535
536
  created_at: string;
536
537
  connected_account_id: string;
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
542
  device_id: string;
543
+ workspace_id: string;
543
544
  created_at: string;
544
545
  connected_account_id: string;
545
- workspace_id: string;
546
546
  event_id: string;
547
547
  occurred_at: string;
548
548
  event_type: "device.error.subscription_required";
@@ -560,17 +560,17 @@ export declare const device_error_subscription_required_resolved_event: z.ZodObj
560
560
  event_type: z.ZodLiteral<"device.error.subscription_required.resolved">;
561
561
  }>, "strip", z.ZodTypeAny, {
562
562
  device_id: string;
563
+ workspace_id: string;
563
564
  created_at: string;
564
565
  connected_account_id: string;
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
570
  device_id: string;
571
+ workspace_id: string;
571
572
  created_at: string;
572
573
  connected_account_id: string;
573
- workspace_id: string;
574
574
  event_id: string;
575
575
  occurred_at: string;
576
576
  event_type: "device.error.subscription_required.resolved";
@@ -588,17 +588,17 @@ export declare const device_accessory_keypad_connected_event: z.ZodObject<z.obje
588
588
  event_type: z.ZodLiteral<"device.accessory_keypad_connected">;
589
589
  }>, "strip", z.ZodTypeAny, {
590
590
  device_id: string;
591
+ workspace_id: string;
591
592
  created_at: string;
592
593
  connected_account_id: string;
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
598
  device_id: string;
599
+ workspace_id: string;
599
600
  created_at: string;
600
601
  connected_account_id: string;
601
- workspace_id: string;
602
602
  event_id: string;
603
603
  occurred_at: string;
604
604
  event_type: "device.accessory_keypad_connected";
@@ -616,17 +616,17 @@ export declare const device_accessory_keypad_disconnected_event: z.ZodObject<z.o
616
616
  event_type: z.ZodLiteral<"device.accessory_keypad_disconnected">;
617
617
  }>, "strip", z.ZodTypeAny, {
618
618
  device_id: string;
619
+ workspace_id: string;
619
620
  created_at: string;
620
621
  connected_account_id: string;
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
626
  device_id: string;
627
+ workspace_id: string;
627
628
  created_at: string;
628
629
  connected_account_id: string;
629
- workspace_id: string;
630
630
  event_id: string;
631
631
  occurred_at: string;
632
632
  event_type: "device.accessory_keypad_disconnected";
@@ -650,9 +650,9 @@ export declare const noise_sensor_noise_threshold_triggered_event: z.ZodObject<z
650
650
  minut_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
651
651
  }>, "strip", z.ZodTypeAny, {
652
652
  device_id: string;
653
+ workspace_id: string;
653
654
  created_at: string;
654
655
  connected_account_id: string;
655
- workspace_id: string;
656
656
  event_id: string;
657
657
  occurred_at: string;
658
658
  event_type: "noise_sensor.noise_threshold_triggered";
@@ -664,9 +664,9 @@ export declare const noise_sensor_noise_threshold_triggered_event: z.ZodObject<z
664
664
  noise_threshold_name?: string | undefined;
665
665
  }, {
666
666
  device_id: string;
667
+ workspace_id: string;
667
668
  created_at: string;
668
669
  connected_account_id: string;
669
- workspace_id: string;
670
670
  event_id: string;
671
671
  occurred_at: string;
672
672
  event_type: "noise_sensor.noise_threshold_triggered";
@@ -694,9 +694,9 @@ export declare const lock_locked_event: z.ZodObject<z.objectUtil.extendShape<z.o
694
694
  }>, "strip", z.ZodTypeAny, {
695
695
  method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
696
696
  device_id: string;
697
+ workspace_id: string;
697
698
  created_at: string;
698
699
  connected_account_id: string;
699
- workspace_id: string;
700
700
  event_id: string;
701
701
  occurred_at: string;
702
702
  event_type: "lock.locked";
@@ -705,9 +705,9 @@ export declare const lock_locked_event: z.ZodObject<z.objectUtil.extendShape<z.o
705
705
  }, {
706
706
  method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
707
707
  device_id: string;
708
+ workspace_id: string;
708
709
  created_at: string;
709
710
  connected_account_id: string;
710
- workspace_id: string;
711
711
  event_id: string;
712
712
  occurred_at: string;
713
713
  event_type: "lock.locked";
@@ -731,9 +731,9 @@ export declare const lock_unlocked_event: z.ZodObject<z.objectUtil.extendShape<z
731
731
  }>, "strip", z.ZodTypeAny, {
732
732
  method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
733
733
  device_id: string;
734
+ workspace_id: string;
734
735
  created_at: string;
735
736
  connected_account_id: string;
736
- workspace_id: string;
737
737
  event_id: string;
738
738
  occurred_at: string;
739
739
  event_type: "lock.unlocked";
@@ -742,9 +742,9 @@ export declare const lock_unlocked_event: z.ZodObject<z.objectUtil.extendShape<z
742
742
  }, {
743
743
  method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
744
744
  device_id: string;
745
+ workspace_id: string;
745
746
  created_at: string;
746
747
  connected_account_id: string;
747
- workspace_id: string;
748
748
  event_id: string;
749
749
  occurred_at: string;
750
750
  event_type: "lock.unlocked";
@@ -765,18 +765,18 @@ export declare const lock_access_denied_event: z.ZodObject<z.objectUtil.extendSh
765
765
  access_code_id: z.ZodOptional<z.ZodString>;
766
766
  }>, "strip", z.ZodTypeAny, {
767
767
  device_id: string;
768
+ workspace_id: string;
768
769
  created_at: string;
769
770
  connected_account_id: string;
770
- workspace_id: string;
771
771
  event_id: string;
772
772
  occurred_at: string;
773
773
  event_type: "lock.access_denied";
774
774
  access_code_id?: string | undefined;
775
775
  }, {
776
776
  device_id: string;
777
+ workspace_id: string;
777
778
  created_at: string;
778
779
  connected_account_id: string;
779
- workspace_id: string;
780
780
  event_id: string;
781
781
  occurred_at: string;
782
782
  event_type: "lock.access_denied";
@@ -799,10 +799,10 @@ export declare const thermostat_climate_preset_activated_event: z.ZodObject<z.ob
799
799
  }>, "strip", z.ZodTypeAny, {
800
800
  climate_preset_key: string;
801
801
  device_id: string;
802
+ workspace_id: string;
802
803
  created_at: string;
803
804
  thermostat_schedule_id: string | null;
804
805
  connected_account_id: string;
805
- workspace_id: string;
806
806
  event_id: string;
807
807
  occurred_at: string;
808
808
  event_type: "thermostat.climate_preset_activated";
@@ -810,10 +810,10 @@ export declare const thermostat_climate_preset_activated_event: z.ZodObject<z.ob
810
810
  }, {
811
811
  climate_preset_key: string;
812
812
  device_id: string;
813
+ workspace_id: string;
813
814
  created_at: string;
814
815
  thermostat_schedule_id: string | null;
815
816
  connected_account_id: string;
816
- workspace_id: string;
817
817
  event_id: string;
818
818
  occurred_at: string;
819
819
  event_type: "thermostat.climate_preset_activated";
@@ -849,9 +849,9 @@ export declare const thermostat_manually_adjusted_event: z.ZodObject<z.objectUti
849
849
  }, "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, {
850
850
  method: "external" | "seam";
851
851
  device_id: string;
852
+ workspace_id: string;
852
853
  created_at: string;
853
854
  connected_account_id: string;
854
- workspace_id: string;
855
855
  event_id: string;
856
856
  occurred_at: string;
857
857
  event_type: "thermostat.manually_adjusted";
@@ -864,9 +864,9 @@ export declare const thermostat_manually_adjusted_event: z.ZodObject<z.objectUti
864
864
  }, {
865
865
  method: "external" | "seam";
866
866
  device_id: string;
867
+ workspace_id: string;
867
868
  created_at: string;
868
869
  connected_account_id: string;
869
- workspace_id: string;
870
870
  event_id: string;
871
871
  occurred_at: string;
872
872
  event_type: "thermostat.manually_adjusted";
@@ -896,6 +896,7 @@ export declare const temperature_threshold_exceeded_event: z.ZodObject<z.objectU
896
896
  lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
897
897
  }>, "strip", z.ZodTypeAny, {
898
898
  device_id: string;
899
+ workspace_id: string;
899
900
  created_at: string;
900
901
  temperature_fahrenheit: number;
901
902
  temperature_celsius: number;
@@ -904,12 +905,12 @@ export declare const temperature_threshold_exceeded_event: z.ZodObject<z.objectU
904
905
  upper_limit_celsius: number | null;
905
906
  upper_limit_fahrenheit: number | null;
906
907
  connected_account_id: string;
907
- workspace_id: string;
908
908
  event_id: string;
909
909
  occurred_at: string;
910
910
  event_type: "thermostat.temperature_threshold_exceeded";
911
911
  }, {
912
912
  device_id: string;
913
+ workspace_id: string;
913
914
  created_at: string;
914
915
  temperature_fahrenheit: number;
915
916
  temperature_celsius: number;
@@ -918,7 +919,6 @@ export declare const temperature_threshold_exceeded_event: z.ZodObject<z.objectU
918
919
  upper_limit_celsius: number | null;
919
920
  upper_limit_fahrenheit: number | null;
920
921
  connected_account_id: string;
921
- workspace_id: string;
922
922
  event_id: string;
923
923
  occurred_at: string;
924
924
  event_type: "thermostat.temperature_threshold_exceeded";
@@ -942,6 +942,7 @@ export declare const temperature_threshold_no_longer_exceeded_event: z.ZodObject
942
942
  lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
943
943
  }>, "strip", z.ZodTypeAny, {
944
944
  device_id: string;
945
+ workspace_id: string;
945
946
  created_at: string;
946
947
  temperature_fahrenheit: number;
947
948
  temperature_celsius: number;
@@ -950,12 +951,12 @@ export declare const temperature_threshold_no_longer_exceeded_event: z.ZodObject
950
951
  upper_limit_celsius: number | null;
951
952
  upper_limit_fahrenheit: number | null;
952
953
  connected_account_id: string;
953
- workspace_id: string;
954
954
  event_id: string;
955
955
  occurred_at: string;
956
956
  event_type: "thermostat.temperature_threshold_no_longer_exceeded";
957
957
  }, {
958
958
  device_id: string;
959
+ workspace_id: string;
959
960
  created_at: string;
960
961
  temperature_fahrenheit: number;
961
962
  temperature_celsius: number;
@@ -964,7 +965,6 @@ export declare const temperature_threshold_no_longer_exceeded_event: z.ZodObject
964
965
  upper_limit_celsius: number | null;
965
966
  upper_limit_fahrenheit: number | null;
966
967
  connected_account_id: string;
967
- workspace_id: string;
968
968
  event_id: string;
969
969
  occurred_at: string;
970
970
  event_type: "thermostat.temperature_threshold_no_longer_exceeded";
@@ -986,11 +986,11 @@ export declare const temperature_reached_set_point_event: z.ZodObject<z.objectUt
986
986
  desired_temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
987
987
  }>, "strip", z.ZodTypeAny, {
988
988
  device_id: string;
989
+ workspace_id: string;
989
990
  created_at: string;
990
991
  temperature_fahrenheit: number;
991
992
  temperature_celsius: number;
992
993
  connected_account_id: string;
993
- workspace_id: string;
994
994
  event_id: string;
995
995
  occurred_at: string;
996
996
  event_type: "thermostat.temperature_reached_set_point";
@@ -998,11 +998,11 @@ export declare const temperature_reached_set_point_event: z.ZodObject<z.objectUt
998
998
  desired_temperature_fahrenheit?: number | undefined;
999
999
  }, {
1000
1000
  device_id: string;
1001
+ workspace_id: string;
1001
1002
  created_at: string;
1002
1003
  temperature_fahrenheit: number;
1003
1004
  temperature_celsius: number;
1004
1005
  connected_account_id: string;
1005
- workspace_id: string;
1006
1006
  event_id: string;
1007
1007
  occurred_at: string;
1008
1008
  event_type: "thermostat.temperature_reached_set_point";
@@ -1024,21 +1024,21 @@ export declare const temperature_changed_event: z.ZodObject<z.objectUtil.extendS
1024
1024
  temperature_fahrenheit: z.ZodNumber;
1025
1025
  }>, "strip", z.ZodTypeAny, {
1026
1026
  device_id: string;
1027
+ workspace_id: string;
1027
1028
  created_at: string;
1028
1029
  temperature_fahrenheit: number;
1029
1030
  temperature_celsius: number;
1030
1031
  connected_account_id: string;
1031
- workspace_id: string;
1032
1032
  event_id: string;
1033
1033
  occurred_at: string;
1034
1034
  event_type: "thermostat.temperature_changed";
1035
1035
  }, {
1036
1036
  device_id: string;
1037
+ workspace_id: string;
1037
1038
  created_at: string;
1038
1039
  temperature_fahrenheit: number;
1039
1040
  temperature_celsius: number;
1040
1041
  connected_account_id: string;
1041
- workspace_id: string;
1042
1042
  event_id: string;
1043
1043
  occurred_at: string;
1044
1044
  event_type: "thermostat.temperature_changed";
@@ -1057,19 +1057,19 @@ export declare const device_name_changed_event: z.ZodObject<z.objectUtil.extendS
1057
1057
  device_name: z.ZodString;
1058
1058
  }>, "strip", z.ZodTypeAny, {
1059
1059
  device_id: string;
1060
+ workspace_id: string;
1060
1061
  created_at: string;
1061
1062
  connected_account_id: string;
1062
1063
  device_name: string;
1063
- workspace_id: string;
1064
1064
  event_id: string;
1065
1065
  occurred_at: string;
1066
1066
  event_type: "device.name_changed";
1067
1067
  }, {
1068
1068
  device_id: string;
1069
+ workspace_id: string;
1069
1070
  created_at: string;
1070
1071
  connected_account_id: string;
1071
1072
  device_name: string;
1072
- workspace_id: string;
1073
1073
  event_id: string;
1074
1074
  occurred_at: string;
1075
1075
  event_type: "device.name_changed";
@@ -1087,17 +1087,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1087
1087
  event_type: z.ZodLiteral<"device.connected">;
1088
1088
  }>, "strip", z.ZodTypeAny, {
1089
1089
  device_id: string;
1090
+ workspace_id: string;
1090
1091
  created_at: string;
1091
1092
  connected_account_id: string;
1092
- workspace_id: string;
1093
1093
  event_id: string;
1094
1094
  occurred_at: string;
1095
1095
  event_type: "device.connected";
1096
1096
  }, {
1097
1097
  device_id: string;
1098
+ workspace_id: string;
1098
1099
  created_at: string;
1099
1100
  connected_account_id: string;
1100
- workspace_id: string;
1101
1101
  event_id: string;
1102
1102
  occurred_at: string;
1103
1103
  event_type: "device.connected";
@@ -1113,17 +1113,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1113
1113
  event_type: z.ZodLiteral<"device.added">;
1114
1114
  }>, "strip", z.ZodTypeAny, {
1115
1115
  device_id: string;
1116
+ workspace_id: string;
1116
1117
  created_at: string;
1117
1118
  connected_account_id: string;
1118
- workspace_id: string;
1119
1119
  event_id: string;
1120
1120
  occurred_at: string;
1121
1121
  event_type: "device.added";
1122
1122
  }, {
1123
1123
  device_id: string;
1124
+ workspace_id: string;
1124
1125
  created_at: string;
1125
1126
  connected_account_id: string;
1126
- workspace_id: string;
1127
1127
  event_id: string;
1128
1128
  occurred_at: string;
1129
1129
  event_type: "device.added";
@@ -1139,17 +1139,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1139
1139
  event_type: z.ZodLiteral<"device.converted_to_unmanaged">;
1140
1140
  }>, "strip", z.ZodTypeAny, {
1141
1141
  device_id: string;
1142
+ workspace_id: string;
1142
1143
  created_at: string;
1143
1144
  connected_account_id: string;
1144
- workspace_id: string;
1145
1145
  event_id: string;
1146
1146
  occurred_at: string;
1147
1147
  event_type: "device.converted_to_unmanaged";
1148
1148
  }, {
1149
1149
  device_id: string;
1150
+ workspace_id: string;
1150
1151
  created_at: string;
1151
1152
  connected_account_id: string;
1152
- workspace_id: string;
1153
1153
  event_id: string;
1154
1154
  occurred_at: string;
1155
1155
  event_type: "device.converted_to_unmanaged";
@@ -1165,17 +1165,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1165
1165
  event_type: z.ZodLiteral<"device.unmanaged.converted_to_managed">;
1166
1166
  }>, "strip", z.ZodTypeAny, {
1167
1167
  device_id: string;
1168
+ workspace_id: string;
1168
1169
  created_at: string;
1169
1170
  connected_account_id: string;
1170
- workspace_id: string;
1171
1171
  event_id: string;
1172
1172
  occurred_at: string;
1173
1173
  event_type: "device.unmanaged.converted_to_managed";
1174
1174
  }, {
1175
1175
  device_id: string;
1176
+ workspace_id: string;
1176
1177
  created_at: string;
1177
1178
  connected_account_id: string;
1178
- workspace_id: string;
1179
1179
  event_id: string;
1180
1180
  occurred_at: string;
1181
1181
  event_type: "device.unmanaged.converted_to_managed";
@@ -1191,17 +1191,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1191
1191
  event_type: z.ZodLiteral<"device.unmanaged.connected">;
1192
1192
  }>, "strip", z.ZodTypeAny, {
1193
1193
  device_id: string;
1194
+ workspace_id: string;
1194
1195
  created_at: string;
1195
1196
  connected_account_id: string;
1196
- workspace_id: string;
1197
1197
  event_id: string;
1198
1198
  occurred_at: string;
1199
1199
  event_type: "device.unmanaged.connected";
1200
1200
  }, {
1201
1201
  device_id: string;
1202
+ workspace_id: string;
1202
1203
  created_at: string;
1203
1204
  connected_account_id: string;
1204
- workspace_id: string;
1205
1205
  event_id: string;
1206
1206
  occurred_at: string;
1207
1207
  event_type: "device.unmanaged.connected";
@@ -1218,19 +1218,19 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1218
1218
  error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
1219
1219
  }>, "strip", z.ZodTypeAny, {
1220
1220
  device_id: string;
1221
+ workspace_id: string;
1221
1222
  created_at: string;
1222
1223
  error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
1223
1224
  connected_account_id: string;
1224
- workspace_id: string;
1225
1225
  event_id: string;
1226
1226
  occurred_at: string;
1227
1227
  event_type: "device.disconnected";
1228
1228
  }, {
1229
1229
  device_id: string;
1230
+ workspace_id: string;
1230
1231
  created_at: string;
1231
1232
  error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
1232
1233
  connected_account_id: string;
1233
- workspace_id: string;
1234
1234
  event_id: string;
1235
1235
  occurred_at: string;
1236
1236
  event_type: "device.disconnected";
@@ -1247,19 +1247,19 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1247
1247
  error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
1248
1248
  }>, "strip", z.ZodTypeAny, {
1249
1249
  device_id: string;
1250
+ workspace_id: string;
1250
1251
  created_at: string;
1251
1252
  error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
1252
1253
  connected_account_id: string;
1253
- workspace_id: string;
1254
1254
  event_id: string;
1255
1255
  occurred_at: string;
1256
1256
  event_type: "device.unmanaged.disconnected";
1257
1257
  }, {
1258
1258
  device_id: string;
1259
+ workspace_id: string;
1259
1260
  created_at: string;
1260
1261
  error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
1261
1262
  connected_account_id: string;
1262
- workspace_id: string;
1263
1263
  event_id: string;
1264
1264
  occurred_at: string;
1265
1265
  event_type: "device.unmanaged.disconnected";
@@ -1275,17 +1275,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1275
1275
  event_type: z.ZodLiteral<"device.tampered">;
1276
1276
  }>, "strip", z.ZodTypeAny, {
1277
1277
  device_id: string;
1278
+ workspace_id: string;
1278
1279
  created_at: string;
1279
1280
  connected_account_id: string;
1280
- workspace_id: string;
1281
1281
  event_id: string;
1282
1282
  occurred_at: string;
1283
1283
  event_type: "device.tampered";
1284
1284
  }, {
1285
1285
  device_id: string;
1286
+ workspace_id: string;
1286
1287
  created_at: string;
1287
1288
  connected_account_id: string;
1288
- workspace_id: string;
1289
1289
  event_id: string;
1290
1290
  occurred_at: string;
1291
1291
  event_type: "device.tampered";
@@ -1302,19 +1302,19 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1302
1302
  battery_level: z.ZodNumber;
1303
1303
  }>, "strip", z.ZodTypeAny, {
1304
1304
  device_id: string;
1305
+ workspace_id: string;
1305
1306
  created_at: string;
1306
1307
  connected_account_id: string;
1307
1308
  battery_level: number;
1308
- workspace_id: string;
1309
1309
  event_id: string;
1310
1310
  occurred_at: string;
1311
1311
  event_type: "device.low_battery";
1312
1312
  }, {
1313
1313
  device_id: string;
1314
+ workspace_id: string;
1314
1315
  created_at: string;
1315
1316
  connected_account_id: string;
1316
1317
  battery_level: number;
1317
- workspace_id: string;
1318
1318
  event_id: string;
1319
1319
  occurred_at: string;
1320
1320
  event_type: "device.low_battery";
@@ -1332,20 +1332,20 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1332
1332
  battery_level: z.ZodNumber;
1333
1333
  }>, "strip", z.ZodTypeAny, {
1334
1334
  device_id: string;
1335
+ workspace_id: string;
1335
1336
  created_at: string;
1336
1337
  connected_account_id: string;
1337
1338
  battery_level: number;
1338
- workspace_id: string;
1339
1339
  event_id: string;
1340
1340
  occurred_at: string;
1341
1341
  event_type: "device.battery_status_changed";
1342
1342
  battery_status: "low" | "full" | "critical" | "good";
1343
1343
  }, {
1344
1344
  device_id: string;
1345
+ workspace_id: string;
1345
1346
  created_at: string;
1346
1347
  connected_account_id: string;
1347
1348
  battery_level: number;
1348
- workspace_id: string;
1349
1349
  event_id: string;
1350
1350
  occurred_at: string;
1351
1351
  event_type: "device.battery_status_changed";
@@ -1362,17 +1362,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1362
1362
  event_type: z.ZodLiteral<"device.removed">;
1363
1363
  }>, "strip", z.ZodTypeAny, {
1364
1364
  device_id: string;
1365
+ workspace_id: string;
1365
1366
  created_at: string;
1366
1367
  connected_account_id: string;
1367
- workspace_id: string;
1368
1368
  event_id: string;
1369
1369
  occurred_at: string;
1370
1370
  event_type: "device.removed";
1371
1371
  }, {
1372
1372
  device_id: string;
1373
+ workspace_id: string;
1373
1374
  created_at: string;
1374
1375
  connected_account_id: string;
1375
- workspace_id: string;
1376
1376
  event_id: string;
1377
1377
  occurred_at: string;
1378
1378
  event_type: "device.removed";
@@ -1388,17 +1388,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1388
1388
  event_type: z.ZodLiteral<"device.deleted">;
1389
1389
  }>, "strip", z.ZodTypeAny, {
1390
1390
  device_id: string;
1391
+ workspace_id: string;
1391
1392
  created_at: string;
1392
1393
  connected_account_id: string;
1393
- workspace_id: string;
1394
1394
  event_id: string;
1395
1395
  occurred_at: string;
1396
1396
  event_type: "device.deleted";
1397
1397
  }, {
1398
1398
  device_id: string;
1399
+ workspace_id: string;
1399
1400
  created_at: string;
1400
1401
  connected_account_id: string;
1401
- workspace_id: string;
1402
1402
  event_id: string;
1403
1403
  occurred_at: string;
1404
1404
  event_type: "device.deleted";
@@ -1414,17 +1414,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1414
1414
  event_type: z.ZodLiteral<"device.third_party_integration_detected">;
1415
1415
  }>, "strip", z.ZodTypeAny, {
1416
1416
  device_id: string;
1417
+ workspace_id: string;
1417
1418
  created_at: string;
1418
1419
  connected_account_id: string;
1419
- workspace_id: string;
1420
1420
  event_id: string;
1421
1421
  occurred_at: string;
1422
1422
  event_type: "device.third_party_integration_detected";
1423
1423
  }, {
1424
1424
  device_id: string;
1425
+ workspace_id: string;
1425
1426
  created_at: string;
1426
1427
  connected_account_id: string;
1427
- workspace_id: string;
1428
1428
  event_id: string;
1429
1429
  occurred_at: string;
1430
1430
  event_type: "device.third_party_integration_detected";
@@ -1440,17 +1440,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1440
1440
  event_type: z.ZodLiteral<"device.third_party_integration_no_longer_detected">;
1441
1441
  }>, "strip", z.ZodTypeAny, {
1442
1442
  device_id: string;
1443
+ workspace_id: string;
1443
1444
  created_at: string;
1444
1445
  connected_account_id: string;
1445
- workspace_id: string;
1446
1446
  event_id: string;
1447
1447
  occurred_at: string;
1448
1448
  event_type: "device.third_party_integration_no_longer_detected";
1449
1449
  }, {
1450
1450
  device_id: string;
1451
+ workspace_id: string;
1451
1452
  created_at: string;
1452
1453
  connected_account_id: string;
1453
- workspace_id: string;
1454
1454
  event_id: string;
1455
1455
  occurred_at: string;
1456
1456
  event_type: "device.third_party_integration_no_longer_detected";
@@ -1466,17 +1466,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1466
1466
  event_type: z.ZodLiteral<"device.salto.privacy_mode_activated">;
1467
1467
  }>, "strip", z.ZodTypeAny, {
1468
1468
  device_id: string;
1469
+ workspace_id: string;
1469
1470
  created_at: string;
1470
1471
  connected_account_id: string;
1471
- workspace_id: string;
1472
1472
  event_id: string;
1473
1473
  occurred_at: string;
1474
1474
  event_type: "device.salto.privacy_mode_activated";
1475
1475
  }, {
1476
1476
  device_id: string;
1477
+ workspace_id: string;
1477
1478
  created_at: string;
1478
1479
  connected_account_id: string;
1479
- workspace_id: string;
1480
1480
  event_id: string;
1481
1481
  occurred_at: string;
1482
1482
  event_type: "device.salto.privacy_mode_activated";
@@ -1492,17 +1492,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1492
1492
  event_type: z.ZodLiteral<"device.salto.privacy_mode_deactivated">;
1493
1493
  }>, "strip", z.ZodTypeAny, {
1494
1494
  device_id: string;
1495
+ workspace_id: string;
1495
1496
  created_at: string;
1496
1497
  connected_account_id: string;
1497
- workspace_id: string;
1498
1498
  event_id: string;
1499
1499
  occurred_at: string;
1500
1500
  event_type: "device.salto.privacy_mode_deactivated";
1501
1501
  }, {
1502
1502
  device_id: string;
1503
+ workspace_id: string;
1503
1504
  created_at: string;
1504
1505
  connected_account_id: string;
1505
- workspace_id: string;
1506
1506
  event_id: string;
1507
1507
  occurred_at: string;
1508
1508
  event_type: "device.salto.privacy_mode_deactivated";
@@ -1518,17 +1518,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1518
1518
  event_type: z.ZodLiteral<"device.connection_became_flaky">;
1519
1519
  }>, "strip", z.ZodTypeAny, {
1520
1520
  device_id: string;
1521
+ workspace_id: string;
1521
1522
  created_at: string;
1522
1523
  connected_account_id: string;
1523
- workspace_id: string;
1524
1524
  event_id: string;
1525
1525
  occurred_at: string;
1526
1526
  event_type: "device.connection_became_flaky";
1527
1527
  }, {
1528
1528
  device_id: string;
1529
+ workspace_id: string;
1529
1530
  created_at: string;
1530
1531
  connected_account_id: string;
1531
- workspace_id: string;
1532
1532
  event_id: string;
1533
1533
  occurred_at: string;
1534
1534
  event_type: "device.connection_became_flaky";
@@ -1544,17 +1544,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1544
1544
  event_type: z.ZodLiteral<"device.connection_stabilized">;
1545
1545
  }>, "strip", z.ZodTypeAny, {
1546
1546
  device_id: string;
1547
+ workspace_id: string;
1547
1548
  created_at: string;
1548
1549
  connected_account_id: string;
1549
- workspace_id: string;
1550
1550
  event_id: string;
1551
1551
  occurred_at: string;
1552
1552
  event_type: "device.connection_stabilized";
1553
1553
  }, {
1554
1554
  device_id: string;
1555
+ workspace_id: string;
1555
1556
  created_at: string;
1556
1557
  connected_account_id: string;
1557
- workspace_id: string;
1558
1558
  event_id: string;
1559
1559
  occurred_at: string;
1560
1560
  event_type: "device.connection_stabilized";
@@ -1570,17 +1570,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1570
1570
  event_type: z.ZodLiteral<"device.error.subscription_required">;
1571
1571
  }>, "strip", z.ZodTypeAny, {
1572
1572
  device_id: string;
1573
+ workspace_id: string;
1573
1574
  created_at: string;
1574
1575
  connected_account_id: string;
1575
- workspace_id: string;
1576
1576
  event_id: string;
1577
1577
  occurred_at: string;
1578
1578
  event_type: "device.error.subscription_required";
1579
1579
  }, {
1580
1580
  device_id: string;
1581
+ workspace_id: string;
1581
1582
  created_at: string;
1582
1583
  connected_account_id: string;
1583
- workspace_id: string;
1584
1584
  event_id: string;
1585
1585
  occurred_at: string;
1586
1586
  event_type: "device.error.subscription_required";
@@ -1596,17 +1596,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1596
1596
  event_type: z.ZodLiteral<"device.error.subscription_required.resolved">;
1597
1597
  }>, "strip", z.ZodTypeAny, {
1598
1598
  device_id: string;
1599
+ workspace_id: string;
1599
1600
  created_at: string;
1600
1601
  connected_account_id: string;
1601
- workspace_id: string;
1602
1602
  event_id: string;
1603
1603
  occurred_at: string;
1604
1604
  event_type: "device.error.subscription_required.resolved";
1605
1605
  }, {
1606
1606
  device_id: string;
1607
+ workspace_id: string;
1607
1608
  created_at: string;
1608
1609
  connected_account_id: string;
1609
- workspace_id: string;
1610
1610
  event_id: string;
1611
1611
  occurred_at: string;
1612
1612
  event_type: "device.error.subscription_required.resolved";
@@ -1622,17 +1622,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1622
1622
  event_type: z.ZodLiteral<"device.accessory_keypad_connected">;
1623
1623
  }>, "strip", z.ZodTypeAny, {
1624
1624
  device_id: string;
1625
+ workspace_id: string;
1625
1626
  created_at: string;
1626
1627
  connected_account_id: string;
1627
- workspace_id: string;
1628
1628
  event_id: string;
1629
1629
  occurred_at: string;
1630
1630
  event_type: "device.accessory_keypad_connected";
1631
1631
  }, {
1632
1632
  device_id: string;
1633
+ workspace_id: string;
1633
1634
  created_at: string;
1634
1635
  connected_account_id: string;
1635
- workspace_id: string;
1636
1636
  event_id: string;
1637
1637
  occurred_at: string;
1638
1638
  event_type: "device.accessory_keypad_connected";
@@ -1648,17 +1648,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1648
1648
  event_type: z.ZodLiteral<"device.accessory_keypad_disconnected">;
1649
1649
  }>, "strip", z.ZodTypeAny, {
1650
1650
  device_id: string;
1651
+ workspace_id: string;
1651
1652
  created_at: string;
1652
1653
  connected_account_id: string;
1653
- workspace_id: string;
1654
1654
  event_id: string;
1655
1655
  occurred_at: string;
1656
1656
  event_type: "device.accessory_keypad_disconnected";
1657
1657
  }, {
1658
1658
  device_id: string;
1659
+ workspace_id: string;
1659
1660
  created_at: string;
1660
1661
  connected_account_id: string;
1661
- workspace_id: string;
1662
1662
  event_id: string;
1663
1663
  occurred_at: string;
1664
1664
  event_type: "device.accessory_keypad_disconnected";
@@ -1680,9 +1680,9 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1680
1680
  minut_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1681
1681
  }>, "strip", z.ZodTypeAny, {
1682
1682
  device_id: string;
1683
+ workspace_id: string;
1683
1684
  created_at: string;
1684
1685
  connected_account_id: string;
1685
- workspace_id: string;
1686
1686
  event_id: string;
1687
1687
  occurred_at: string;
1688
1688
  event_type: "noise_sensor.noise_threshold_triggered";
@@ -1694,9 +1694,9 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1694
1694
  noise_threshold_name?: string | undefined;
1695
1695
  }, {
1696
1696
  device_id: string;
1697
+ workspace_id: string;
1697
1698
  created_at: string;
1698
1699
  connected_account_id: string;
1699
- workspace_id: string;
1700
1700
  event_id: string;
1701
1701
  occurred_at: string;
1702
1702
  event_type: "noise_sensor.noise_threshold_triggered";
@@ -1722,9 +1722,9 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1722
1722
  }>, "strip", z.ZodTypeAny, {
1723
1723
  method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
1724
1724
  device_id: string;
1725
+ workspace_id: string;
1725
1726
  created_at: string;
1726
1727
  connected_account_id: string;
1727
- workspace_id: string;
1728
1728
  event_id: string;
1729
1729
  occurred_at: string;
1730
1730
  event_type: "lock.locked";
@@ -1733,9 +1733,9 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1733
1733
  }, {
1734
1734
  method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
1735
1735
  device_id: string;
1736
+ workspace_id: string;
1736
1737
  created_at: string;
1737
1738
  connected_account_id: string;
1738
- workspace_id: string;
1739
1739
  event_id: string;
1740
1740
  occurred_at: string;
1741
1741
  event_type: "lock.locked";
@@ -1757,9 +1757,9 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1757
1757
  }>, "strip", z.ZodTypeAny, {
1758
1758
  method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
1759
1759
  device_id: string;
1760
+ workspace_id: string;
1760
1761
  created_at: string;
1761
1762
  connected_account_id: string;
1762
- workspace_id: string;
1763
1763
  event_id: string;
1764
1764
  occurred_at: string;
1765
1765
  event_type: "lock.unlocked";
@@ -1768,9 +1768,9 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1768
1768
  }, {
1769
1769
  method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
1770
1770
  device_id: string;
1771
+ workspace_id: string;
1771
1772
  created_at: string;
1772
1773
  connected_account_id: string;
1773
- workspace_id: string;
1774
1774
  event_id: string;
1775
1775
  occurred_at: string;
1776
1776
  event_type: "lock.unlocked";
@@ -1789,18 +1789,18 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1789
1789
  access_code_id: z.ZodOptional<z.ZodString>;
1790
1790
  }>, "strip", z.ZodTypeAny, {
1791
1791
  device_id: string;
1792
+ workspace_id: string;
1792
1793
  created_at: string;
1793
1794
  connected_account_id: string;
1794
- workspace_id: string;
1795
1795
  event_id: string;
1796
1796
  occurred_at: string;
1797
1797
  event_type: "lock.access_denied";
1798
1798
  access_code_id?: string | undefined;
1799
1799
  }, {
1800
1800
  device_id: string;
1801
+ workspace_id: string;
1801
1802
  created_at: string;
1802
1803
  connected_account_id: string;
1803
- workspace_id: string;
1804
1804
  event_id: string;
1805
1805
  occurred_at: string;
1806
1806
  event_type: "lock.access_denied";
@@ -1821,10 +1821,10 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1821
1821
  }>, "strip", z.ZodTypeAny, {
1822
1822
  climate_preset_key: string;
1823
1823
  device_id: string;
1824
+ workspace_id: string;
1824
1825
  created_at: string;
1825
1826
  thermostat_schedule_id: string | null;
1826
1827
  connected_account_id: string;
1827
- workspace_id: string;
1828
1828
  event_id: string;
1829
1829
  occurred_at: string;
1830
1830
  event_type: "thermostat.climate_preset_activated";
@@ -1832,10 +1832,10 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1832
1832
  }, {
1833
1833
  climate_preset_key: string;
1834
1834
  device_id: string;
1835
+ workspace_id: string;
1835
1836
  created_at: string;
1836
1837
  thermostat_schedule_id: string | null;
1837
1838
  connected_account_id: string;
1838
- workspace_id: string;
1839
1839
  event_id: string;
1840
1840
  occurred_at: string;
1841
1841
  event_type: "thermostat.climate_preset_activated";
@@ -1868,9 +1868,9 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1868
1868
  }, "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, {
1869
1869
  method: "external" | "seam";
1870
1870
  device_id: string;
1871
+ workspace_id: string;
1871
1872
  created_at: string;
1872
1873
  connected_account_id: string;
1873
- workspace_id: string;
1874
1874
  event_id: string;
1875
1875
  occurred_at: string;
1876
1876
  event_type: "thermostat.manually_adjusted";
@@ -1883,9 +1883,9 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1883
1883
  }, {
1884
1884
  method: "external" | "seam";
1885
1885
  device_id: string;
1886
+ workspace_id: string;
1886
1887
  created_at: string;
1887
1888
  connected_account_id: string;
1888
- workspace_id: string;
1889
1889
  event_id: string;
1890
1890
  occurred_at: string;
1891
1891
  event_type: "thermostat.manually_adjusted";
@@ -1913,6 +1913,7 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1913
1913
  lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
1914
1914
  }>, "strip", z.ZodTypeAny, {
1915
1915
  device_id: string;
1916
+ workspace_id: string;
1916
1917
  created_at: string;
1917
1918
  temperature_fahrenheit: number;
1918
1919
  temperature_celsius: number;
@@ -1921,12 +1922,12 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1921
1922
  upper_limit_celsius: number | null;
1922
1923
  upper_limit_fahrenheit: number | null;
1923
1924
  connected_account_id: string;
1924
- workspace_id: string;
1925
1925
  event_id: string;
1926
1926
  occurred_at: string;
1927
1927
  event_type: "thermostat.temperature_threshold_exceeded";
1928
1928
  }, {
1929
1929
  device_id: string;
1930
+ workspace_id: string;
1930
1931
  created_at: string;
1931
1932
  temperature_fahrenheit: number;
1932
1933
  temperature_celsius: number;
@@ -1935,7 +1936,6 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1935
1936
  upper_limit_celsius: number | null;
1936
1937
  upper_limit_fahrenheit: number | null;
1937
1938
  connected_account_id: string;
1938
- workspace_id: string;
1939
1939
  event_id: string;
1940
1940
  occurred_at: string;
1941
1941
  event_type: "thermostat.temperature_threshold_exceeded";
@@ -1957,6 +1957,7 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1957
1957
  lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
1958
1958
  }>, "strip", z.ZodTypeAny, {
1959
1959
  device_id: string;
1960
+ workspace_id: string;
1960
1961
  created_at: string;
1961
1962
  temperature_fahrenheit: number;
1962
1963
  temperature_celsius: number;
@@ -1965,12 +1966,12 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1965
1966
  upper_limit_celsius: number | null;
1966
1967
  upper_limit_fahrenheit: number | null;
1967
1968
  connected_account_id: string;
1968
- workspace_id: string;
1969
1969
  event_id: string;
1970
1970
  occurred_at: string;
1971
1971
  event_type: "thermostat.temperature_threshold_no_longer_exceeded";
1972
1972
  }, {
1973
1973
  device_id: string;
1974
+ workspace_id: string;
1974
1975
  created_at: string;
1975
1976
  temperature_fahrenheit: number;
1976
1977
  temperature_celsius: number;
@@ -1979,7 +1980,6 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1979
1980
  upper_limit_celsius: number | null;
1980
1981
  upper_limit_fahrenheit: number | null;
1981
1982
  connected_account_id: string;
1982
- workspace_id: string;
1983
1983
  event_id: string;
1984
1984
  occurred_at: string;
1985
1985
  event_type: "thermostat.temperature_threshold_no_longer_exceeded";
@@ -1999,11 +1999,11 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1999
1999
  desired_temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
2000
2000
  }>, "strip", z.ZodTypeAny, {
2001
2001
  device_id: string;
2002
+ workspace_id: string;
2002
2003
  created_at: string;
2003
2004
  temperature_fahrenheit: number;
2004
2005
  temperature_celsius: number;
2005
2006
  connected_account_id: string;
2006
- workspace_id: string;
2007
2007
  event_id: string;
2008
2008
  occurred_at: string;
2009
2009
  event_type: "thermostat.temperature_reached_set_point";
@@ -2011,11 +2011,11 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
2011
2011
  desired_temperature_fahrenheit?: number | undefined;
2012
2012
  }, {
2013
2013
  device_id: string;
2014
+ workspace_id: string;
2014
2015
  created_at: string;
2015
2016
  temperature_fahrenheit: number;
2016
2017
  temperature_celsius: number;
2017
2018
  connected_account_id: string;
2018
- workspace_id: string;
2019
2019
  event_id: string;
2020
2020
  occurred_at: string;
2021
2021
  event_type: "thermostat.temperature_reached_set_point";
@@ -2035,21 +2035,21 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
2035
2035
  temperature_fahrenheit: z.ZodNumber;
2036
2036
  }>, "strip", z.ZodTypeAny, {
2037
2037
  device_id: string;
2038
+ workspace_id: string;
2038
2039
  created_at: string;
2039
2040
  temperature_fahrenheit: number;
2040
2041
  temperature_celsius: number;
2041
2042
  connected_account_id: string;
2042
- workspace_id: string;
2043
2043
  event_id: string;
2044
2044
  occurred_at: string;
2045
2045
  event_type: "thermostat.temperature_changed";
2046
2046
  }, {
2047
2047
  device_id: string;
2048
+ workspace_id: string;
2048
2049
  created_at: string;
2049
2050
  temperature_fahrenheit: number;
2050
2051
  temperature_celsius: number;
2051
2052
  connected_account_id: string;
2052
- workspace_id: string;
2053
2053
  event_id: string;
2054
2054
  occurred_at: string;
2055
2055
  event_type: "thermostat.temperature_changed";
@@ -2066,19 +2066,19 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
2066
2066
  device_name: z.ZodString;
2067
2067
  }>, "strip", z.ZodTypeAny, {
2068
2068
  device_id: string;
2069
+ workspace_id: string;
2069
2070
  created_at: string;
2070
2071
  connected_account_id: string;
2071
2072
  device_name: string;
2072
- workspace_id: string;
2073
2073
  event_id: string;
2074
2074
  occurred_at: string;
2075
2075
  event_type: "device.name_changed";
2076
2076
  }, {
2077
2077
  device_id: string;
2078
+ workspace_id: string;
2078
2079
  created_at: string;
2079
2080
  connected_account_id: string;
2080
2081
  device_name: string;
2081
- workspace_id: string;
2082
2082
  event_id: string;
2083
2083
  occurred_at: string;
2084
2084
  event_type: "device.name_changed";