@seamapi/types 1.360.1 → 1.361.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.
Files changed (40) hide show
  1. package/dist/connect.cjs +739 -583
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2320 -1622
  4. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +192 -126
  5. package/lib/seam/connect/models/access-codes/managed-access-code.js +2 -4
  6. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  7. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +193 -127
  8. package/lib/seam/connect/models/acs/acs-access-group.d.ts +4 -4
  9. package/lib/seam/connect/models/acs/acs-credential-pool.d.ts +2 -2
  10. package/lib/seam/connect/models/acs/acs-credential.d.ts +6 -6
  11. package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
  12. package/lib/seam/connect/models/acs/acs-entrance.d.ts +2 -2
  13. package/lib/seam/connect/models/acs/acs-system.d.ts +2 -2
  14. package/lib/seam/connect/models/acs/acs-user.d.ts +4 -4
  15. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +26 -26
  16. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +8 -8
  17. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +18 -18
  18. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +42 -42
  19. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +18 -18
  20. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +18 -18
  21. package/lib/seam/connect/models/devices/device.d.ts +1760 -389
  22. package/lib/seam/connect/models/devices/device.js +82 -4
  23. package/lib/seam/connect/models/devices/device.js.map +1 -1
  24. package/lib/seam/connect/models/devices/phone.d.ts +4 -4
  25. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +236 -58
  26. package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
  27. package/lib/seam/connect/models/events/devices.d.ts +152 -152
  28. package/lib/seam/connect/models/events/phones.d.ts +4 -4
  29. package/lib/seam/connect/models/events/seam-event.d.ts +112 -112
  30. package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +8 -8
  31. package/lib/seam/connect/models/user-identities/user-identity.d.ts +2 -2
  32. package/lib/seam/connect/openapi.d.ts +58 -148
  33. package/lib/seam/connect/openapi.js +563 -463
  34. package/lib/seam/connect/openapi.js.map +1 -1
  35. package/lib/seam/connect/route-types.d.ts +840 -648
  36. package/package.json +1 -1
  37. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +2 -4
  38. package/src/lib/seam/connect/models/devices/device.ts +103 -4
  39. package/src/lib/seam/connect/openapi.ts +562 -478
  40. package/src/lib/seam/connect/route-types.ts +888 -720
@@ -12,17 +12,17 @@ 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
+ device_id: string;
15
16
  created_at: string;
16
17
  connected_account_id: string;
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
+ device_id: string;
23
24
  created_at: string;
24
25
  connected_account_id: string;
25
- device_id: string;
26
26
  workspace_id: string;
27
27
  event_id: string;
28
28
  occurred_at: string;
@@ -40,17 +40,17 @@ 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
+ device_id: string;
43
44
  created_at: string;
44
45
  connected_account_id: string;
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
+ device_id: string;
51
52
  created_at: string;
52
53
  connected_account_id: string;
53
- device_id: string;
54
54
  workspace_id: string;
55
55
  event_id: string;
56
56
  occurred_at: string;
@@ -68,17 +68,17 @@ 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
+ device_id: string;
71
72
  created_at: string;
72
73
  connected_account_id: string;
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
+ device_id: string;
79
80
  created_at: string;
80
81
  connected_account_id: string;
81
- device_id: string;
82
82
  workspace_id: string;
83
83
  event_id: string;
84
84
  occurred_at: string;
@@ -96,17 +96,17 @@ 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
+ device_id: string;
99
100
  created_at: string;
100
101
  connected_account_id: string;
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
+ device_id: string;
107
108
  created_at: string;
108
109
  connected_account_id: string;
109
- device_id: string;
110
110
  workspace_id: string;
111
111
  event_id: string;
112
112
  occurred_at: string;
@@ -124,17 +124,17 @@ 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
+ device_id: string;
127
128
  created_at: string;
128
129
  connected_account_id: string;
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
+ device_id: string;
135
136
  created_at: string;
136
137
  connected_account_id: string;
137
- device_id: string;
138
138
  workspace_id: string;
139
139
  event_id: string;
140
140
  occurred_at: string;
@@ -153,19 +153,19 @@ 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
+ device_id: string;
156
157
  created_at: string;
157
158
  error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
158
159
  connected_account_id: string;
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
+ device_id: string;
165
166
  created_at: string;
166
167
  error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
167
168
  connected_account_id: string;
168
- device_id: string;
169
169
  workspace_id: string;
170
170
  event_id: string;
171
171
  occurred_at: string;
@@ -184,19 +184,19 @@ 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
+ device_id: string;
187
188
  created_at: string;
188
189
  error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
189
190
  connected_account_id: string;
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
+ device_id: string;
196
197
  created_at: string;
197
198
  error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
198
199
  connected_account_id: string;
199
- device_id: string;
200
200
  workspace_id: string;
201
201
  event_id: string;
202
202
  occurred_at: string;
@@ -214,17 +214,17 @@ 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
+ device_id: string;
217
218
  created_at: string;
218
219
  connected_account_id: string;
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
+ device_id: string;
225
226
  created_at: string;
226
227
  connected_account_id: string;
227
- device_id: string;
228
228
  workspace_id: string;
229
229
  event_id: string;
230
230
  occurred_at: string;
@@ -243,18 +243,18 @@ 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
+ device_id: string;
246
247
  created_at: string;
247
248
  connected_account_id: string;
248
- device_id: string;
249
249
  battery_level: number;
250
250
  workspace_id: string;
251
251
  event_id: string;
252
252
  occurred_at: string;
253
253
  event_type: "device.low_battery";
254
254
  }, {
255
+ device_id: string;
255
256
  created_at: string;
256
257
  connected_account_id: string;
257
- device_id: string;
258
258
  battery_level: number;
259
259
  workspace_id: string;
260
260
  event_id: string;
@@ -275,9 +275,9 @@ 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
+ device_id: string;
278
279
  created_at: string;
279
280
  connected_account_id: string;
280
- device_id: string;
281
281
  battery_level: number;
282
282
  workspace_id: string;
283
283
  event_id: string;
@@ -285,9 +285,9 @@ 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
+ device_id: string;
288
289
  created_at: string;
289
290
  connected_account_id: string;
290
- device_id: string;
291
291
  battery_level: number;
292
292
  workspace_id: string;
293
293
  event_id: string;
@@ -307,17 +307,17 @@ 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
+ device_id: string;
310
311
  created_at: string;
311
312
  connected_account_id: string;
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
+ device_id: string;
318
319
  created_at: string;
319
320
  connected_account_id: string;
320
- device_id: string;
321
321
  workspace_id: string;
322
322
  event_id: string;
323
323
  occurred_at: string;
@@ -335,17 +335,17 @@ 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
+ device_id: string;
338
339
  created_at: string;
339
340
  connected_account_id: string;
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
+ device_id: string;
346
347
  created_at: string;
347
348
  connected_account_id: string;
348
- device_id: string;
349
349
  workspace_id: string;
350
350
  event_id: string;
351
351
  occurred_at: string;
@@ -363,17 +363,17 @@ 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
+ device_id: string;
366
367
  created_at: string;
367
368
  connected_account_id: string;
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
+ device_id: string;
374
375
  created_at: string;
375
376
  connected_account_id: string;
376
- device_id: string;
377
377
  workspace_id: string;
378
378
  event_id: string;
379
379
  occurred_at: string;
@@ -391,17 +391,17 @@ 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
+ device_id: string;
394
395
  created_at: string;
395
396
  connected_account_id: string;
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
+ device_id: string;
402
403
  created_at: string;
403
404
  connected_account_id: string;
404
- device_id: string;
405
405
  workspace_id: string;
406
406
  event_id: string;
407
407
  occurred_at: string;
@@ -419,17 +419,17 @@ 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
+ device_id: string;
422
423
  created_at: string;
423
424
  connected_account_id: string;
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
+ device_id: string;
430
431
  created_at: string;
431
432
  connected_account_id: string;
432
- device_id: string;
433
433
  workspace_id: string;
434
434
  event_id: string;
435
435
  occurred_at: string;
@@ -447,17 +447,17 @@ 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
+ device_id: string;
450
451
  created_at: string;
451
452
  connected_account_id: string;
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
+ device_id: string;
458
459
  created_at: string;
459
460
  connected_account_id: string;
460
- device_id: string;
461
461
  workspace_id: string;
462
462
  event_id: string;
463
463
  occurred_at: string;
@@ -475,17 +475,17 @@ 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
+ device_id: string;
478
479
  created_at: string;
479
480
  connected_account_id: string;
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
+ device_id: string;
486
487
  created_at: string;
487
488
  connected_account_id: string;
488
- device_id: string;
489
489
  workspace_id: string;
490
490
  event_id: string;
491
491
  occurred_at: string;
@@ -503,17 +503,17 @@ 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
+ device_id: string;
506
507
  created_at: string;
507
508
  connected_account_id: string;
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
+ device_id: string;
514
515
  created_at: string;
515
516
  connected_account_id: string;
516
- device_id: string;
517
517
  workspace_id: string;
518
518
  event_id: string;
519
519
  occurred_at: string;
@@ -531,17 +531,17 @@ 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
+ device_id: string;
534
535
  created_at: string;
535
536
  connected_account_id: string;
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
+ device_id: string;
542
543
  created_at: string;
543
544
  connected_account_id: string;
544
- device_id: string;
545
545
  workspace_id: string;
546
546
  event_id: string;
547
547
  occurred_at: string;
@@ -559,17 +559,17 @@ 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
+ device_id: string;
562
563
  created_at: string;
563
564
  connected_account_id: string;
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
+ device_id: string;
570
571
  created_at: string;
571
572
  connected_account_id: string;
572
- device_id: string;
573
573
  workspace_id: string;
574
574
  event_id: string;
575
575
  occurred_at: string;
@@ -587,17 +587,17 @@ 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
+ device_id: string;
590
591
  created_at: string;
591
592
  connected_account_id: string;
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
+ device_id: string;
598
599
  created_at: string;
599
600
  connected_account_id: string;
600
- device_id: string;
601
601
  workspace_id: string;
602
602
  event_id: string;
603
603
  occurred_at: string;
@@ -615,17 +615,17 @@ 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
+ device_id: string;
618
619
  created_at: string;
619
620
  connected_account_id: string;
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
+ device_id: string;
626
627
  created_at: string;
627
628
  connected_account_id: string;
628
- device_id: string;
629
629
  workspace_id: string;
630
630
  event_id: string;
631
631
  occurred_at: string;
@@ -649,9 +649,9 @@ 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
+ device_id: string;
652
653
  created_at: string;
653
654
  connected_account_id: string;
654
- device_id: string;
655
655
  workspace_id: string;
656
656
  event_id: string;
657
657
  occurred_at: string;
@@ -663,9 +663,9 @@ 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
+ device_id: string;
666
667
  created_at: string;
667
668
  connected_account_id: string;
668
- device_id: string;
669
669
  workspace_id: string;
670
670
  event_id: string;
671
671
  occurred_at: string;
@@ -693,9 +693,9 @@ 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
+ device_id: string;
696
697
  created_at: string;
697
698
  connected_account_id: string;
698
- device_id: string;
699
699
  workspace_id: string;
700
700
  event_id: string;
701
701
  occurred_at: string;
@@ -704,9 +704,9 @@ 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
+ device_id: string;
707
708
  created_at: string;
708
709
  connected_account_id: string;
709
- device_id: string;
710
710
  workspace_id: string;
711
711
  event_id: string;
712
712
  occurred_at: string;
@@ -730,9 +730,9 @@ 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
+ device_id: string;
733
734
  created_at: string;
734
735
  connected_account_id: string;
735
- device_id: string;
736
736
  workspace_id: string;
737
737
  event_id: string;
738
738
  occurred_at: string;
@@ -741,9 +741,9 @@ 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
+ device_id: string;
744
745
  created_at: string;
745
746
  connected_account_id: string;
746
- device_id: string;
747
747
  workspace_id: string;
748
748
  event_id: string;
749
749
  occurred_at: string;
@@ -764,18 +764,18 @@ 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
+ device_id: string;
767
768
  created_at: string;
768
769
  connected_account_id: string;
769
- device_id: string;
770
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
+ device_id: string;
776
777
  created_at: string;
777
778
  connected_account_id: string;
778
- device_id: string;
779
779
  workspace_id: string;
780
780
  event_id: string;
781
781
  occurred_at: string;
@@ -797,22 +797,22 @@ 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
- created_at: string;
801
- connected_account_id: string;
802
800
  climate_preset_key: string;
803
801
  thermostat_schedule_id: string | null;
804
802
  device_id: string;
803
+ created_at: string;
804
+ connected_account_id: string;
805
805
  workspace_id: string;
806
806
  event_id: string;
807
807
  occurred_at: string;
808
808
  event_type: "thermostat.climate_preset_activated";
809
809
  is_fallback_climate_preset: boolean;
810
810
  }, {
811
- created_at: string;
812
- connected_account_id: string;
813
811
  climate_preset_key: string;
814
812
  thermostat_schedule_id: string | null;
815
813
  device_id: string;
814
+ created_at: string;
815
+ connected_account_id: string;
816
816
  workspace_id: string;
817
817
  event_id: string;
818
818
  occurred_at: string;
@@ -847,9 +847,9 @@ 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
+ device_id: string;
850
851
  created_at: string;
851
852
  connected_account_id: string;
852
- device_id: string;
853
853
  workspace_id: string;
854
854
  event_id: string;
855
855
  occurred_at: string;
@@ -862,9 +862,9 @@ 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
+ device_id: string;
865
866
  created_at: string;
866
867
  connected_account_id: string;
867
- device_id: string;
868
868
  workspace_id: string;
869
869
  event_id: string;
870
870
  occurred_at: string;
@@ -894,29 +894,29 @@ 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
- created_at: string;
898
- connected_account_id: string;
899
897
  device_id: string;
898
+ created_at: string;
900
899
  temperature_fahrenheit: number;
901
900
  temperature_celsius: number;
902
901
  lower_limit_celsius: number | null;
903
902
  lower_limit_fahrenheit: number | null;
904
903
  upper_limit_celsius: number | null;
905
904
  upper_limit_fahrenheit: number | null;
905
+ connected_account_id: string;
906
906
  workspace_id: string;
907
907
  event_id: string;
908
908
  occurred_at: string;
909
909
  event_type: "thermostat.temperature_threshold_exceeded";
910
910
  }, {
911
- created_at: string;
912
- connected_account_id: string;
913
911
  device_id: string;
912
+ created_at: string;
914
913
  temperature_fahrenheit: number;
915
914
  temperature_celsius: number;
916
915
  lower_limit_celsius: number | null;
917
916
  lower_limit_fahrenheit: number | null;
918
917
  upper_limit_celsius: number | null;
919
918
  upper_limit_fahrenheit: number | null;
919
+ connected_account_id: string;
920
920
  workspace_id: string;
921
921
  event_id: string;
922
922
  occurred_at: string;
@@ -940,29 +940,29 @@ 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
- created_at: string;
944
- connected_account_id: string;
945
943
  device_id: string;
944
+ created_at: string;
946
945
  temperature_fahrenheit: number;
947
946
  temperature_celsius: number;
948
947
  lower_limit_celsius: number | null;
949
948
  lower_limit_fahrenheit: number | null;
950
949
  upper_limit_celsius: number | null;
951
950
  upper_limit_fahrenheit: number | null;
951
+ connected_account_id: string;
952
952
  workspace_id: string;
953
953
  event_id: string;
954
954
  occurred_at: string;
955
955
  event_type: "thermostat.temperature_threshold_no_longer_exceeded";
956
956
  }, {
957
- created_at: string;
958
- connected_account_id: string;
959
957
  device_id: string;
958
+ created_at: string;
960
959
  temperature_fahrenheit: number;
961
960
  temperature_celsius: number;
962
961
  lower_limit_celsius: number | null;
963
962
  lower_limit_fahrenheit: number | null;
964
963
  upper_limit_celsius: number | null;
965
964
  upper_limit_fahrenheit: number | null;
965
+ connected_account_id: string;
966
966
  workspace_id: string;
967
967
  event_id: string;
968
968
  occurred_at: string;
@@ -984,11 +984,11 @@ 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
- created_at: string;
988
- connected_account_id: string;
989
987
  device_id: string;
988
+ created_at: string;
990
989
  temperature_fahrenheit: number;
991
990
  temperature_celsius: number;
991
+ connected_account_id: string;
992
992
  workspace_id: string;
993
993
  event_id: string;
994
994
  occurred_at: string;
@@ -996,11 +996,11 @@ 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
- created_at: string;
1000
- connected_account_id: string;
1001
999
  device_id: string;
1000
+ created_at: string;
1002
1001
  temperature_fahrenheit: number;
1003
1002
  temperature_celsius: number;
1003
+ connected_account_id: string;
1004
1004
  workspace_id: string;
1005
1005
  event_id: string;
1006
1006
  occurred_at: string;
@@ -1022,21 +1022,21 @@ 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
- created_at: string;
1026
- connected_account_id: string;
1027
1025
  device_id: string;
1026
+ created_at: string;
1028
1027
  temperature_fahrenheit: number;
1029
1028
  temperature_celsius: number;
1029
+ connected_account_id: string;
1030
1030
  workspace_id: string;
1031
1031
  event_id: string;
1032
1032
  occurred_at: string;
1033
1033
  event_type: "thermostat.temperature_changed";
1034
1034
  }, {
1035
- created_at: string;
1036
- connected_account_id: string;
1037
1035
  device_id: string;
1036
+ created_at: string;
1038
1037
  temperature_fahrenheit: number;
1039
1038
  temperature_celsius: number;
1039
+ connected_account_id: string;
1040
1040
  workspace_id: string;
1041
1041
  event_id: string;
1042
1042
  occurred_at: string;
@@ -1055,18 +1055,18 @@ export declare const device_name_changed_event: z.ZodObject<z.objectUtil.extendS
1055
1055
  event_type: z.ZodLiteral<"device.name_changed">;
1056
1056
  new_name: z.ZodString;
1057
1057
  }>, "strip", z.ZodTypeAny, {
1058
+ device_id: string;
1058
1059
  created_at: string;
1059
1060
  connected_account_id: string;
1060
- device_id: string;
1061
1061
  workspace_id: string;
1062
1062
  event_id: string;
1063
1063
  occurred_at: string;
1064
1064
  event_type: "device.name_changed";
1065
1065
  new_name: string;
1066
1066
  }, {
1067
+ device_id: string;
1067
1068
  created_at: string;
1068
1069
  connected_account_id: string;
1069
- device_id: string;
1070
1070
  workspace_id: string;
1071
1071
  event_id: string;
1072
1072
  occurred_at: string;
@@ -1085,17 +1085,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1085
1085
  }>, {
1086
1086
  event_type: z.ZodLiteral<"device.connected">;
1087
1087
  }>, "strip", z.ZodTypeAny, {
1088
+ device_id: string;
1088
1089
  created_at: string;
1089
1090
  connected_account_id: string;
1090
- device_id: string;
1091
1091
  workspace_id: string;
1092
1092
  event_id: string;
1093
1093
  occurred_at: string;
1094
1094
  event_type: "device.connected";
1095
1095
  }, {
1096
+ device_id: string;
1096
1097
  created_at: string;
1097
1098
  connected_account_id: string;
1098
- device_id: string;
1099
1099
  workspace_id: string;
1100
1100
  event_id: string;
1101
1101
  occurred_at: string;
@@ -1111,17 +1111,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1111
1111
  }>, {
1112
1112
  event_type: z.ZodLiteral<"device.added">;
1113
1113
  }>, "strip", z.ZodTypeAny, {
1114
+ device_id: string;
1114
1115
  created_at: string;
1115
1116
  connected_account_id: string;
1116
- device_id: string;
1117
1117
  workspace_id: string;
1118
1118
  event_id: string;
1119
1119
  occurred_at: string;
1120
1120
  event_type: "device.added";
1121
1121
  }, {
1122
+ device_id: string;
1122
1123
  created_at: string;
1123
1124
  connected_account_id: string;
1124
- device_id: string;
1125
1125
  workspace_id: string;
1126
1126
  event_id: string;
1127
1127
  occurred_at: string;
@@ -1137,17 +1137,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1137
1137
  }>, {
1138
1138
  event_type: z.ZodLiteral<"device.converted_to_unmanaged">;
1139
1139
  }>, "strip", z.ZodTypeAny, {
1140
+ device_id: string;
1140
1141
  created_at: string;
1141
1142
  connected_account_id: string;
1142
- device_id: string;
1143
1143
  workspace_id: string;
1144
1144
  event_id: string;
1145
1145
  occurred_at: string;
1146
1146
  event_type: "device.converted_to_unmanaged";
1147
1147
  }, {
1148
+ device_id: string;
1148
1149
  created_at: string;
1149
1150
  connected_account_id: string;
1150
- device_id: string;
1151
1151
  workspace_id: string;
1152
1152
  event_id: string;
1153
1153
  occurred_at: string;
@@ -1163,17 +1163,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1163
1163
  }>, {
1164
1164
  event_type: z.ZodLiteral<"device.unmanaged.converted_to_managed">;
1165
1165
  }>, "strip", z.ZodTypeAny, {
1166
+ device_id: string;
1166
1167
  created_at: string;
1167
1168
  connected_account_id: string;
1168
- device_id: string;
1169
1169
  workspace_id: string;
1170
1170
  event_id: string;
1171
1171
  occurred_at: string;
1172
1172
  event_type: "device.unmanaged.converted_to_managed";
1173
1173
  }, {
1174
+ device_id: string;
1174
1175
  created_at: string;
1175
1176
  connected_account_id: string;
1176
- device_id: string;
1177
1177
  workspace_id: string;
1178
1178
  event_id: string;
1179
1179
  occurred_at: string;
@@ -1189,17 +1189,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1189
1189
  }>, {
1190
1190
  event_type: z.ZodLiteral<"device.unmanaged.connected">;
1191
1191
  }>, "strip", z.ZodTypeAny, {
1192
+ device_id: string;
1192
1193
  created_at: string;
1193
1194
  connected_account_id: string;
1194
- device_id: string;
1195
1195
  workspace_id: string;
1196
1196
  event_id: string;
1197
1197
  occurred_at: string;
1198
1198
  event_type: "device.unmanaged.connected";
1199
1199
  }, {
1200
+ device_id: string;
1200
1201
  created_at: string;
1201
1202
  connected_account_id: string;
1202
- device_id: string;
1203
1203
  workspace_id: string;
1204
1204
  event_id: string;
1205
1205
  occurred_at: string;
@@ -1216,19 +1216,19 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1216
1216
  event_type: z.ZodLiteral<"device.disconnected">;
1217
1217
  error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
1218
1218
  }>, "strip", z.ZodTypeAny, {
1219
+ device_id: string;
1219
1220
  created_at: string;
1220
1221
  error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
1221
1222
  connected_account_id: string;
1222
- device_id: string;
1223
1223
  workspace_id: string;
1224
1224
  event_id: string;
1225
1225
  occurred_at: string;
1226
1226
  event_type: "device.disconnected";
1227
1227
  }, {
1228
+ device_id: string;
1228
1229
  created_at: string;
1229
1230
  error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
1230
1231
  connected_account_id: string;
1231
- device_id: string;
1232
1232
  workspace_id: string;
1233
1233
  event_id: string;
1234
1234
  occurred_at: string;
@@ -1245,19 +1245,19 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1245
1245
  event_type: z.ZodLiteral<"device.unmanaged.disconnected">;
1246
1246
  error_code: z.ZodEnum<["account_disconnected", "hub_disconnected", "device_disconnected"]>;
1247
1247
  }>, "strip", z.ZodTypeAny, {
1248
+ device_id: string;
1248
1249
  created_at: string;
1249
1250
  error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
1250
1251
  connected_account_id: string;
1251
- device_id: string;
1252
1252
  workspace_id: string;
1253
1253
  event_id: string;
1254
1254
  occurred_at: string;
1255
1255
  event_type: "device.unmanaged.disconnected";
1256
1256
  }, {
1257
+ device_id: string;
1257
1258
  created_at: string;
1258
1259
  error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
1259
1260
  connected_account_id: string;
1260
- device_id: string;
1261
1261
  workspace_id: string;
1262
1262
  event_id: string;
1263
1263
  occurred_at: string;
@@ -1273,17 +1273,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1273
1273
  }>, {
1274
1274
  event_type: z.ZodLiteral<"device.tampered">;
1275
1275
  }>, "strip", z.ZodTypeAny, {
1276
+ device_id: string;
1276
1277
  created_at: string;
1277
1278
  connected_account_id: string;
1278
- device_id: string;
1279
1279
  workspace_id: string;
1280
1280
  event_id: string;
1281
1281
  occurred_at: string;
1282
1282
  event_type: "device.tampered";
1283
1283
  }, {
1284
+ device_id: string;
1284
1285
  created_at: string;
1285
1286
  connected_account_id: string;
1286
- device_id: string;
1287
1287
  workspace_id: string;
1288
1288
  event_id: string;
1289
1289
  occurred_at: string;
@@ -1300,18 +1300,18 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1300
1300
  event_type: z.ZodLiteral<"device.low_battery">;
1301
1301
  battery_level: z.ZodNumber;
1302
1302
  }>, "strip", z.ZodTypeAny, {
1303
+ device_id: string;
1303
1304
  created_at: string;
1304
1305
  connected_account_id: string;
1305
- device_id: string;
1306
1306
  battery_level: number;
1307
1307
  workspace_id: string;
1308
1308
  event_id: string;
1309
1309
  occurred_at: string;
1310
1310
  event_type: "device.low_battery";
1311
1311
  }, {
1312
+ device_id: string;
1312
1313
  created_at: string;
1313
1314
  connected_account_id: string;
1314
- device_id: string;
1315
1315
  battery_level: number;
1316
1316
  workspace_id: string;
1317
1317
  event_id: string;
@@ -1330,9 +1330,9 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1330
1330
  battery_status: z.ZodEnum<["critical", "low", "good", "full"]>;
1331
1331
  battery_level: z.ZodNumber;
1332
1332
  }>, "strip", z.ZodTypeAny, {
1333
+ device_id: string;
1333
1334
  created_at: string;
1334
1335
  connected_account_id: string;
1335
- device_id: string;
1336
1336
  battery_level: number;
1337
1337
  workspace_id: string;
1338
1338
  event_id: string;
@@ -1340,9 +1340,9 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1340
1340
  event_type: "device.battery_status_changed";
1341
1341
  battery_status: "low" | "full" | "critical" | "good";
1342
1342
  }, {
1343
+ device_id: string;
1343
1344
  created_at: string;
1344
1345
  connected_account_id: string;
1345
- device_id: string;
1346
1346
  battery_level: number;
1347
1347
  workspace_id: string;
1348
1348
  event_id: string;
@@ -1360,17 +1360,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1360
1360
  }>, {
1361
1361
  event_type: z.ZodLiteral<"device.removed">;
1362
1362
  }>, "strip", z.ZodTypeAny, {
1363
+ device_id: string;
1363
1364
  created_at: string;
1364
1365
  connected_account_id: string;
1365
- device_id: string;
1366
1366
  workspace_id: string;
1367
1367
  event_id: string;
1368
1368
  occurred_at: string;
1369
1369
  event_type: "device.removed";
1370
1370
  }, {
1371
+ device_id: string;
1371
1372
  created_at: string;
1372
1373
  connected_account_id: string;
1373
- device_id: string;
1374
1374
  workspace_id: string;
1375
1375
  event_id: string;
1376
1376
  occurred_at: string;
@@ -1386,17 +1386,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1386
1386
  }>, {
1387
1387
  event_type: z.ZodLiteral<"device.deleted">;
1388
1388
  }>, "strip", z.ZodTypeAny, {
1389
+ device_id: string;
1389
1390
  created_at: string;
1390
1391
  connected_account_id: string;
1391
- device_id: string;
1392
1392
  workspace_id: string;
1393
1393
  event_id: string;
1394
1394
  occurred_at: string;
1395
1395
  event_type: "device.deleted";
1396
1396
  }, {
1397
+ device_id: string;
1397
1398
  created_at: string;
1398
1399
  connected_account_id: string;
1399
- device_id: string;
1400
1400
  workspace_id: string;
1401
1401
  event_id: string;
1402
1402
  occurred_at: string;
@@ -1412,17 +1412,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1412
1412
  }>, {
1413
1413
  event_type: z.ZodLiteral<"device.third_party_integration_detected">;
1414
1414
  }>, "strip", z.ZodTypeAny, {
1415
+ device_id: string;
1415
1416
  created_at: string;
1416
1417
  connected_account_id: string;
1417
- device_id: string;
1418
1418
  workspace_id: string;
1419
1419
  event_id: string;
1420
1420
  occurred_at: string;
1421
1421
  event_type: "device.third_party_integration_detected";
1422
1422
  }, {
1423
+ device_id: string;
1423
1424
  created_at: string;
1424
1425
  connected_account_id: string;
1425
- device_id: string;
1426
1426
  workspace_id: string;
1427
1427
  event_id: string;
1428
1428
  occurred_at: string;
@@ -1438,17 +1438,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1438
1438
  }>, {
1439
1439
  event_type: z.ZodLiteral<"device.third_party_integration_no_longer_detected">;
1440
1440
  }>, "strip", z.ZodTypeAny, {
1441
+ device_id: string;
1441
1442
  created_at: string;
1442
1443
  connected_account_id: string;
1443
- device_id: string;
1444
1444
  workspace_id: string;
1445
1445
  event_id: string;
1446
1446
  occurred_at: string;
1447
1447
  event_type: "device.third_party_integration_no_longer_detected";
1448
1448
  }, {
1449
+ device_id: string;
1449
1450
  created_at: string;
1450
1451
  connected_account_id: string;
1451
- device_id: string;
1452
1452
  workspace_id: string;
1453
1453
  event_id: string;
1454
1454
  occurred_at: string;
@@ -1464,17 +1464,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1464
1464
  }>, {
1465
1465
  event_type: z.ZodLiteral<"device.salto.privacy_mode_activated">;
1466
1466
  }>, "strip", z.ZodTypeAny, {
1467
+ device_id: string;
1467
1468
  created_at: string;
1468
1469
  connected_account_id: string;
1469
- device_id: string;
1470
1470
  workspace_id: string;
1471
1471
  event_id: string;
1472
1472
  occurred_at: string;
1473
1473
  event_type: "device.salto.privacy_mode_activated";
1474
1474
  }, {
1475
+ device_id: string;
1475
1476
  created_at: string;
1476
1477
  connected_account_id: string;
1477
- device_id: string;
1478
1478
  workspace_id: string;
1479
1479
  event_id: string;
1480
1480
  occurred_at: string;
@@ -1490,17 +1490,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1490
1490
  }>, {
1491
1491
  event_type: z.ZodLiteral<"device.salto.privacy_mode_deactivated">;
1492
1492
  }>, "strip", z.ZodTypeAny, {
1493
+ device_id: string;
1493
1494
  created_at: string;
1494
1495
  connected_account_id: string;
1495
- device_id: string;
1496
1496
  workspace_id: string;
1497
1497
  event_id: string;
1498
1498
  occurred_at: string;
1499
1499
  event_type: "device.salto.privacy_mode_deactivated";
1500
1500
  }, {
1501
+ device_id: string;
1501
1502
  created_at: string;
1502
1503
  connected_account_id: string;
1503
- device_id: string;
1504
1504
  workspace_id: string;
1505
1505
  event_id: string;
1506
1506
  occurred_at: string;
@@ -1516,17 +1516,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1516
1516
  }>, {
1517
1517
  event_type: z.ZodLiteral<"device.connection_became_flaky">;
1518
1518
  }>, "strip", z.ZodTypeAny, {
1519
+ device_id: string;
1519
1520
  created_at: string;
1520
1521
  connected_account_id: string;
1521
- device_id: string;
1522
1522
  workspace_id: string;
1523
1523
  event_id: string;
1524
1524
  occurred_at: string;
1525
1525
  event_type: "device.connection_became_flaky";
1526
1526
  }, {
1527
+ device_id: string;
1527
1528
  created_at: string;
1528
1529
  connected_account_id: string;
1529
- device_id: string;
1530
1530
  workspace_id: string;
1531
1531
  event_id: string;
1532
1532
  occurred_at: string;
@@ -1542,17 +1542,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1542
1542
  }>, {
1543
1543
  event_type: z.ZodLiteral<"device.connection_stabilized">;
1544
1544
  }>, "strip", z.ZodTypeAny, {
1545
+ device_id: string;
1545
1546
  created_at: string;
1546
1547
  connected_account_id: string;
1547
- device_id: string;
1548
1548
  workspace_id: string;
1549
1549
  event_id: string;
1550
1550
  occurred_at: string;
1551
1551
  event_type: "device.connection_stabilized";
1552
1552
  }, {
1553
+ device_id: string;
1553
1554
  created_at: string;
1554
1555
  connected_account_id: string;
1555
- device_id: string;
1556
1556
  workspace_id: string;
1557
1557
  event_id: string;
1558
1558
  occurred_at: string;
@@ -1568,17 +1568,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1568
1568
  }>, {
1569
1569
  event_type: z.ZodLiteral<"device.error.subscription_required">;
1570
1570
  }>, "strip", z.ZodTypeAny, {
1571
+ device_id: string;
1571
1572
  created_at: string;
1572
1573
  connected_account_id: string;
1573
- device_id: string;
1574
1574
  workspace_id: string;
1575
1575
  event_id: string;
1576
1576
  occurred_at: string;
1577
1577
  event_type: "device.error.subscription_required";
1578
1578
  }, {
1579
+ device_id: string;
1579
1580
  created_at: string;
1580
1581
  connected_account_id: string;
1581
- device_id: string;
1582
1582
  workspace_id: string;
1583
1583
  event_id: string;
1584
1584
  occurred_at: string;
@@ -1594,17 +1594,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1594
1594
  }>, {
1595
1595
  event_type: z.ZodLiteral<"device.error.subscription_required.resolved">;
1596
1596
  }>, "strip", z.ZodTypeAny, {
1597
+ device_id: string;
1597
1598
  created_at: string;
1598
1599
  connected_account_id: string;
1599
- device_id: string;
1600
1600
  workspace_id: string;
1601
1601
  event_id: string;
1602
1602
  occurred_at: string;
1603
1603
  event_type: "device.error.subscription_required.resolved";
1604
1604
  }, {
1605
+ device_id: string;
1605
1606
  created_at: string;
1606
1607
  connected_account_id: string;
1607
- device_id: string;
1608
1608
  workspace_id: string;
1609
1609
  event_id: string;
1610
1610
  occurred_at: string;
@@ -1620,17 +1620,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1620
1620
  }>, {
1621
1621
  event_type: z.ZodLiteral<"device.accessory_keypad_connected">;
1622
1622
  }>, "strip", z.ZodTypeAny, {
1623
+ device_id: string;
1623
1624
  created_at: string;
1624
1625
  connected_account_id: string;
1625
- device_id: string;
1626
1626
  workspace_id: string;
1627
1627
  event_id: string;
1628
1628
  occurred_at: string;
1629
1629
  event_type: "device.accessory_keypad_connected";
1630
1630
  }, {
1631
+ device_id: string;
1631
1632
  created_at: string;
1632
1633
  connected_account_id: string;
1633
- device_id: string;
1634
1634
  workspace_id: string;
1635
1635
  event_id: string;
1636
1636
  occurred_at: string;
@@ -1646,17 +1646,17 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1646
1646
  }>, {
1647
1647
  event_type: z.ZodLiteral<"device.accessory_keypad_disconnected">;
1648
1648
  }>, "strip", z.ZodTypeAny, {
1649
+ device_id: string;
1649
1650
  created_at: string;
1650
1651
  connected_account_id: string;
1651
- device_id: string;
1652
1652
  workspace_id: string;
1653
1653
  event_id: string;
1654
1654
  occurred_at: string;
1655
1655
  event_type: "device.accessory_keypad_disconnected";
1656
1656
  }, {
1657
+ device_id: string;
1657
1658
  created_at: string;
1658
1659
  connected_account_id: string;
1659
- device_id: string;
1660
1660
  workspace_id: string;
1661
1661
  event_id: string;
1662
1662
  occurred_at: string;
@@ -1678,9 +1678,9 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1678
1678
  noiseaware_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1679
1679
  minut_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1680
1680
  }>, "strip", z.ZodTypeAny, {
1681
+ device_id: string;
1681
1682
  created_at: string;
1682
1683
  connected_account_id: string;
1683
- device_id: string;
1684
1684
  workspace_id: string;
1685
1685
  event_id: string;
1686
1686
  occurred_at: string;
@@ -1692,9 +1692,9 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1692
1692
  noise_threshold_id?: string | undefined;
1693
1693
  noise_threshold_name?: string | undefined;
1694
1694
  }, {
1695
+ device_id: string;
1695
1696
  created_at: string;
1696
1697
  connected_account_id: string;
1697
- device_id: string;
1698
1698
  workspace_id: string;
1699
1699
  event_id: string;
1700
1700
  occurred_at: string;
@@ -1720,9 +1720,9 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1720
1720
  method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
1721
1721
  }>, "strip", z.ZodTypeAny, {
1722
1722
  method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
1723
+ device_id: string;
1723
1724
  created_at: string;
1724
1725
  connected_account_id: string;
1725
- device_id: string;
1726
1726
  workspace_id: string;
1727
1727
  event_id: string;
1728
1728
  occurred_at: string;
@@ -1731,9 +1731,9 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1731
1731
  action_attempt_id?: string | undefined;
1732
1732
  }, {
1733
1733
  method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
1734
+ device_id: string;
1734
1735
  created_at: string;
1735
1736
  connected_account_id: string;
1736
- device_id: string;
1737
1737
  workspace_id: string;
1738
1738
  event_id: string;
1739
1739
  occurred_at: string;
@@ -1755,9 +1755,9 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1755
1755
  method: z.ZodEnum<["keycode", "manual", "automatic", "unknown", "seamapi"]>;
1756
1756
  }>, "strip", z.ZodTypeAny, {
1757
1757
  method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
1758
+ device_id: string;
1758
1759
  created_at: string;
1759
1760
  connected_account_id: string;
1760
- device_id: string;
1761
1761
  workspace_id: string;
1762
1762
  event_id: string;
1763
1763
  occurred_at: string;
@@ -1766,9 +1766,9 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1766
1766
  action_attempt_id?: string | undefined;
1767
1767
  }, {
1768
1768
  method: "manual" | "unknown" | "keycode" | "automatic" | "seamapi";
1769
+ device_id: string;
1769
1770
  created_at: string;
1770
1771
  connected_account_id: string;
1771
- device_id: string;
1772
1772
  workspace_id: string;
1773
1773
  event_id: string;
1774
1774
  occurred_at: string;
@@ -1787,18 +1787,18 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1787
1787
  event_type: z.ZodLiteral<"lock.access_denied">;
1788
1788
  access_code_id: z.ZodOptional<z.ZodString>;
1789
1789
  }>, "strip", z.ZodTypeAny, {
1790
+ device_id: string;
1790
1791
  created_at: string;
1791
1792
  connected_account_id: string;
1792
- device_id: string;
1793
1793
  workspace_id: string;
1794
1794
  event_id: string;
1795
1795
  occurred_at: string;
1796
1796
  event_type: "lock.access_denied";
1797
1797
  access_code_id?: string | undefined;
1798
1798
  }, {
1799
+ device_id: string;
1799
1800
  created_at: string;
1800
1801
  connected_account_id: string;
1801
- device_id: string;
1802
1802
  workspace_id: string;
1803
1803
  event_id: string;
1804
1804
  occurred_at: string;
@@ -1818,22 +1818,22 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1818
1818
  climate_preset_key: z.ZodString;
1819
1819
  is_fallback_climate_preset: z.ZodBoolean;
1820
1820
  }>, "strip", z.ZodTypeAny, {
1821
- created_at: string;
1822
- connected_account_id: string;
1823
1821
  climate_preset_key: string;
1824
1822
  thermostat_schedule_id: string | null;
1825
1823
  device_id: string;
1824
+ created_at: string;
1825
+ connected_account_id: string;
1826
1826
  workspace_id: string;
1827
1827
  event_id: string;
1828
1828
  occurred_at: string;
1829
1829
  event_type: "thermostat.climate_preset_activated";
1830
1830
  is_fallback_climate_preset: boolean;
1831
1831
  }, {
1832
- created_at: string;
1833
- connected_account_id: string;
1834
1832
  climate_preset_key: string;
1835
1833
  thermostat_schedule_id: string | null;
1836
1834
  device_id: string;
1835
+ created_at: string;
1836
+ connected_account_id: string;
1837
1837
  workspace_id: string;
1838
1838
  event_id: string;
1839
1839
  occurred_at: string;
@@ -1865,9 +1865,9 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1865
1865
  manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
1866
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, {
1867
1867
  method: "external" | "seam";
1868
+ device_id: string;
1868
1869
  created_at: string;
1869
1870
  connected_account_id: string;
1870
- device_id: string;
1871
1871
  workspace_id: string;
1872
1872
  event_id: string;
1873
1873
  occurred_at: string;
@@ -1880,9 +1880,9 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1880
1880
  heating_set_point_fahrenheit?: number | undefined;
1881
1881
  }, {
1882
1882
  method: "external" | "seam";
1883
+ device_id: string;
1883
1884
  created_at: string;
1884
1885
  connected_account_id: string;
1885
- device_id: string;
1886
1886
  workspace_id: string;
1887
1887
  event_id: string;
1888
1888
  occurred_at: string;
@@ -1910,29 +1910,29 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1910
1910
  lower_limit_celsius: z.ZodNullable<z.ZodNumber>;
1911
1911
  lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
1912
1912
  }>, "strip", z.ZodTypeAny, {
1913
- created_at: string;
1914
- connected_account_id: string;
1915
1913
  device_id: string;
1914
+ created_at: string;
1916
1915
  temperature_fahrenheit: number;
1917
1916
  temperature_celsius: number;
1918
1917
  lower_limit_celsius: number | null;
1919
1918
  lower_limit_fahrenheit: number | null;
1920
1919
  upper_limit_celsius: number | null;
1921
1920
  upper_limit_fahrenheit: number | null;
1921
+ connected_account_id: string;
1922
1922
  workspace_id: string;
1923
1923
  event_id: string;
1924
1924
  occurred_at: string;
1925
1925
  event_type: "thermostat.temperature_threshold_exceeded";
1926
1926
  }, {
1927
- created_at: string;
1928
- connected_account_id: string;
1929
1927
  device_id: string;
1928
+ created_at: string;
1930
1929
  temperature_fahrenheit: number;
1931
1930
  temperature_celsius: number;
1932
1931
  lower_limit_celsius: number | null;
1933
1932
  lower_limit_fahrenheit: number | null;
1934
1933
  upper_limit_celsius: number | null;
1935
1934
  upper_limit_fahrenheit: number | null;
1935
+ connected_account_id: string;
1936
1936
  workspace_id: string;
1937
1937
  event_id: string;
1938
1938
  occurred_at: string;
@@ -1954,29 +1954,29 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1954
1954
  lower_limit_celsius: z.ZodNullable<z.ZodNumber>;
1955
1955
  lower_limit_fahrenheit: z.ZodNullable<z.ZodNumber>;
1956
1956
  }>, "strip", z.ZodTypeAny, {
1957
- created_at: string;
1958
- connected_account_id: string;
1959
1957
  device_id: string;
1958
+ created_at: string;
1960
1959
  temperature_fahrenheit: number;
1961
1960
  temperature_celsius: number;
1962
1961
  lower_limit_celsius: number | null;
1963
1962
  lower_limit_fahrenheit: number | null;
1964
1963
  upper_limit_celsius: number | null;
1965
1964
  upper_limit_fahrenheit: number | null;
1965
+ connected_account_id: string;
1966
1966
  workspace_id: string;
1967
1967
  event_id: string;
1968
1968
  occurred_at: string;
1969
1969
  event_type: "thermostat.temperature_threshold_no_longer_exceeded";
1970
1970
  }, {
1971
- created_at: string;
1972
- connected_account_id: string;
1973
1971
  device_id: string;
1972
+ created_at: string;
1974
1973
  temperature_fahrenheit: number;
1975
1974
  temperature_celsius: number;
1976
1975
  lower_limit_celsius: number | null;
1977
1976
  lower_limit_fahrenheit: number | null;
1978
1977
  upper_limit_celsius: number | null;
1979
1978
  upper_limit_fahrenheit: number | null;
1979
+ connected_account_id: string;
1980
1980
  workspace_id: string;
1981
1981
  event_id: string;
1982
1982
  occurred_at: string;
@@ -1996,11 +1996,11 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
1996
1996
  desired_temperature_celsius: z.ZodOptional<z.ZodNumber>;
1997
1997
  desired_temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
1998
1998
  }>, "strip", z.ZodTypeAny, {
1999
- created_at: string;
2000
- connected_account_id: string;
2001
1999
  device_id: string;
2000
+ created_at: string;
2002
2001
  temperature_fahrenheit: number;
2003
2002
  temperature_celsius: number;
2003
+ connected_account_id: string;
2004
2004
  workspace_id: string;
2005
2005
  event_id: string;
2006
2006
  occurred_at: string;
@@ -2008,11 +2008,11 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
2008
2008
  desired_temperature_celsius?: number | undefined;
2009
2009
  desired_temperature_fahrenheit?: number | undefined;
2010
2010
  }, {
2011
- created_at: string;
2012
- connected_account_id: string;
2013
2011
  device_id: string;
2012
+ created_at: string;
2014
2013
  temperature_fahrenheit: number;
2015
2014
  temperature_celsius: number;
2015
+ connected_account_id: string;
2016
2016
  workspace_id: string;
2017
2017
  event_id: string;
2018
2018
  occurred_at: string;
@@ -2032,21 +2032,21 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
2032
2032
  temperature_celsius: z.ZodNumber;
2033
2033
  temperature_fahrenheit: z.ZodNumber;
2034
2034
  }>, "strip", z.ZodTypeAny, {
2035
- created_at: string;
2036
- connected_account_id: string;
2037
2035
  device_id: string;
2036
+ created_at: string;
2038
2037
  temperature_fahrenheit: number;
2039
2038
  temperature_celsius: number;
2039
+ connected_account_id: string;
2040
2040
  workspace_id: string;
2041
2041
  event_id: string;
2042
2042
  occurred_at: string;
2043
2043
  event_type: "thermostat.temperature_changed";
2044
2044
  }, {
2045
- created_at: string;
2046
- connected_account_id: string;
2047
2045
  device_id: string;
2046
+ created_at: string;
2048
2047
  temperature_fahrenheit: number;
2049
2048
  temperature_celsius: number;
2049
+ connected_account_id: string;
2050
2050
  workspace_id: string;
2051
2051
  event_id: string;
2052
2052
  occurred_at: string;
@@ -2063,18 +2063,18 @@ export declare const device_events: readonly [z.ZodObject<z.objectUtil.extendSha
2063
2063
  event_type: z.ZodLiteral<"device.name_changed">;
2064
2064
  new_name: z.ZodString;
2065
2065
  }>, "strip", z.ZodTypeAny, {
2066
+ device_id: string;
2066
2067
  created_at: string;
2067
2068
  connected_account_id: string;
2068
- device_id: string;
2069
2069
  workspace_id: string;
2070
2070
  event_id: string;
2071
2071
  occurred_at: string;
2072
2072
  event_type: "device.name_changed";
2073
2073
  new_name: string;
2074
2074
  }, {
2075
+ device_id: string;
2075
2076
  created_at: string;
2076
2077
  connected_account_id: string;
2077
- device_id: string;
2078
2078
  workspace_id: string;
2079
2079
  event_id: string;
2080
2080
  occurred_at: string;