@seamapi/types 1.324.0 → 1.326.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.
@@ -50,20 +50,176 @@ declare const access_code: z.ZodObject<{
50
50
  message: string;
51
51
  error_code: string;
52
52
  is_access_code_error: true;
53
+ }>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
54
+ message: z.ZodString;
55
+ is_device_error: z.ZodLiteral<true>;
56
+ }, {
57
+ error_code: z.ZodLiteral<"device_offline">;
58
+ }>, "strip", z.ZodTypeAny, {
59
+ message: string;
60
+ error_code: "device_offline";
61
+ is_device_error: true;
62
+ }, {
63
+ message: string;
64
+ error_code: "device_offline";
65
+ is_device_error: true;
53
66
  }>, z.ZodObject<z.objectUtil.extendShape<{
54
67
  message: z.ZodString;
55
68
  is_device_error: z.ZodLiteral<true>;
56
69
  }, {
57
- error_code: z.ZodString;
70
+ error_code: z.ZodLiteral<"device_removed">;
58
71
  }>, "strip", z.ZodTypeAny, {
59
72
  message: string;
60
- error_code: string;
73
+ error_code: "device_removed";
61
74
  is_device_error: true;
62
75
  }, {
63
76
  message: string;
64
- error_code: string;
77
+ error_code: "device_removed";
78
+ is_device_error: true;
79
+ }>, z.ZodObject<z.objectUtil.extendShape<{
80
+ message: z.ZodString;
81
+ is_device_error: z.ZodLiteral<true>;
82
+ }, {
83
+ error_code: z.ZodLiteral<"account_disconnected">;
84
+ }>, "strip", z.ZodTypeAny, {
85
+ message: string;
86
+ error_code: "account_disconnected";
87
+ is_device_error: true;
88
+ }, {
89
+ message: string;
90
+ error_code: "account_disconnected";
91
+ is_device_error: true;
92
+ }>, z.ZodObject<z.objectUtil.extendShape<{
93
+ message: z.ZodString;
94
+ is_device_error: z.ZodLiteral<true>;
95
+ }, {
96
+ error_code: z.ZodLiteral<"hub_disconnected">;
97
+ }>, "strip", z.ZodTypeAny, {
98
+ message: string;
99
+ error_code: "hub_disconnected";
100
+ is_device_error: true;
101
+ }, {
102
+ message: string;
103
+ error_code: "hub_disconnected";
104
+ is_device_error: true;
105
+ }>, z.ZodObject<z.objectUtil.extendShape<{
106
+ message: z.ZodString;
107
+ is_device_error: z.ZodLiteral<true>;
108
+ }, {
109
+ error_code: z.ZodLiteral<"device_disconnected">;
110
+ }>, "strip", z.ZodTypeAny, {
111
+ message: string;
112
+ error_code: "device_disconnected";
113
+ is_device_error: true;
114
+ }, {
115
+ message: string;
116
+ error_code: "device_disconnected";
117
+ is_device_error: true;
118
+ }>, z.ZodObject<z.objectUtil.extendShape<{
119
+ message: z.ZodString;
120
+ is_device_error: z.ZodLiteral<true>;
121
+ }, {
122
+ error_code: z.ZodLiteral<"empty_backup_access_code_pool">;
123
+ }>, "strip", z.ZodTypeAny, {
124
+ message: string;
125
+ error_code: "empty_backup_access_code_pool";
126
+ is_device_error: true;
127
+ }, {
128
+ message: string;
129
+ error_code: "empty_backup_access_code_pool";
130
+ is_device_error: true;
131
+ }>, z.ZodObject<z.objectUtil.extendShape<{
132
+ message: z.ZodString;
133
+ is_device_error: z.ZodLiteral<true>;
134
+ }, {
135
+ error_code: z.ZodLiteral<"august_lock_not_authorized">;
136
+ }>, "strip", z.ZodTypeAny, {
137
+ message: string;
138
+ error_code: "august_lock_not_authorized";
139
+ is_device_error: true;
140
+ }, {
141
+ message: string;
142
+ error_code: "august_lock_not_authorized";
143
+ is_device_error: true;
144
+ }>, z.ZodObject<z.objectUtil.extendShape<{
145
+ message: z.ZodString;
146
+ is_device_error: z.ZodLiteral<true>;
147
+ }, {
148
+ error_code: z.ZodLiteral<"august_lock_missing_bridge">;
149
+ }>, "strip", z.ZodTypeAny, {
150
+ message: string;
151
+ error_code: "august_lock_missing_bridge";
152
+ is_device_error: true;
153
+ }, {
154
+ message: string;
155
+ error_code: "august_lock_missing_bridge";
156
+ is_device_error: true;
157
+ }>, z.ZodObject<z.objectUtil.extendShape<{
158
+ message: z.ZodString;
159
+ is_device_error: z.ZodLiteral<true>;
160
+ }, {
161
+ error_code: z.ZodLiteral<"salto_site_user_limit_reached">;
162
+ }>, "strip", z.ZodTypeAny, {
163
+ message: string;
164
+ error_code: "salto_site_user_limit_reached";
165
+ is_device_error: true;
166
+ }, {
167
+ message: string;
168
+ error_code: "salto_site_user_limit_reached";
169
+ is_device_error: true;
170
+ }>, z.ZodObject<z.objectUtil.extendShape<{
171
+ message: z.ZodString;
172
+ is_device_error: z.ZodLiteral<true>;
173
+ }, {
174
+ error_code: z.ZodLiteral<"ttlock_lock_not_paired_to_gateway">;
175
+ }>, "strip", z.ZodTypeAny, {
176
+ message: string;
177
+ error_code: "ttlock_lock_not_paired_to_gateway";
178
+ is_device_error: true;
179
+ }, {
180
+ message: string;
181
+ error_code: "ttlock_lock_not_paired_to_gateway";
182
+ is_device_error: true;
183
+ }>, z.ZodObject<z.objectUtil.extendShape<{
184
+ message: z.ZodString;
185
+ is_device_error: z.ZodLiteral<true>;
186
+ }, {
187
+ error_code: z.ZodLiteral<"missing_device_credentials">;
188
+ }>, "strip", z.ZodTypeAny, {
189
+ message: string;
190
+ error_code: "missing_device_credentials";
191
+ is_device_error: true;
192
+ }, {
193
+ message: string;
194
+ error_code: "missing_device_credentials";
65
195
  is_device_error: true;
66
196
  }>, z.ZodObject<z.objectUtil.extendShape<{
197
+ message: z.ZodString;
198
+ is_device_error: z.ZodLiteral<true>;
199
+ }, {
200
+ error_code: z.ZodLiteral<"auxiliary_heat_running">;
201
+ }>, "strip", z.ZodTypeAny, {
202
+ message: string;
203
+ error_code: "auxiliary_heat_running";
204
+ is_device_error: true;
205
+ }, {
206
+ message: string;
207
+ error_code: "auxiliary_heat_running";
208
+ is_device_error: true;
209
+ }>, z.ZodObject<z.objectUtil.extendShape<{
210
+ message: z.ZodString;
211
+ is_device_error: z.ZodLiteral<true>;
212
+ }, {
213
+ error_code: z.ZodLiteral<"subscription_required">;
214
+ }>, "strip", z.ZodTypeAny, {
215
+ message: string;
216
+ error_code: "subscription_required";
217
+ is_device_error: true;
218
+ }, {
219
+ message: string;
220
+ error_code: "subscription_required";
221
+ is_device_error: true;
222
+ }>]>, z.ZodObject<z.objectUtil.extendShape<{
67
223
  message: z.ZodString;
68
224
  is_connected_account_error: z.ZodLiteral<true>;
69
225
  }, {
@@ -109,7 +265,55 @@ declare const access_code: z.ZodObject<{
109
265
  error_code: string;
110
266
  } | {
111
267
  message: string;
112
- error_code: string;
268
+ error_code: "device_offline";
269
+ is_device_error: true;
270
+ } | {
271
+ message: string;
272
+ error_code: "device_removed";
273
+ is_device_error: true;
274
+ } | {
275
+ message: string;
276
+ error_code: "account_disconnected";
277
+ is_device_error: true;
278
+ } | {
279
+ message: string;
280
+ error_code: "hub_disconnected";
281
+ is_device_error: true;
282
+ } | {
283
+ message: string;
284
+ error_code: "device_disconnected";
285
+ is_device_error: true;
286
+ } | {
287
+ message: string;
288
+ error_code: "empty_backup_access_code_pool";
289
+ is_device_error: true;
290
+ } | {
291
+ message: string;
292
+ error_code: "august_lock_not_authorized";
293
+ is_device_error: true;
294
+ } | {
295
+ message: string;
296
+ error_code: "august_lock_missing_bridge";
297
+ is_device_error: true;
298
+ } | {
299
+ message: string;
300
+ error_code: "salto_site_user_limit_reached";
301
+ is_device_error: true;
302
+ } | {
303
+ message: string;
304
+ error_code: "ttlock_lock_not_paired_to_gateway";
305
+ is_device_error: true;
306
+ } | {
307
+ message: string;
308
+ error_code: "missing_device_credentials";
309
+ is_device_error: true;
310
+ } | {
311
+ message: string;
312
+ error_code: "auxiliary_heat_running";
313
+ is_device_error: true;
314
+ } | {
315
+ message: string;
316
+ error_code: "subscription_required";
113
317
  is_device_error: true;
114
318
  } | {
115
319
  message: string;
@@ -146,7 +350,55 @@ declare const access_code: z.ZodObject<{
146
350
  error_code: string;
147
351
  } | {
148
352
  message: string;
149
- error_code: string;
353
+ error_code: "device_offline";
354
+ is_device_error: true;
355
+ } | {
356
+ message: string;
357
+ error_code: "device_removed";
358
+ is_device_error: true;
359
+ } | {
360
+ message: string;
361
+ error_code: "account_disconnected";
362
+ is_device_error: true;
363
+ } | {
364
+ message: string;
365
+ error_code: "hub_disconnected";
366
+ is_device_error: true;
367
+ } | {
368
+ message: string;
369
+ error_code: "device_disconnected";
370
+ is_device_error: true;
371
+ } | {
372
+ message: string;
373
+ error_code: "empty_backup_access_code_pool";
374
+ is_device_error: true;
375
+ } | {
376
+ message: string;
377
+ error_code: "august_lock_not_authorized";
378
+ is_device_error: true;
379
+ } | {
380
+ message: string;
381
+ error_code: "august_lock_missing_bridge";
382
+ is_device_error: true;
383
+ } | {
384
+ message: string;
385
+ error_code: "salto_site_user_limit_reached";
386
+ is_device_error: true;
387
+ } | {
388
+ message: string;
389
+ error_code: "ttlock_lock_not_paired_to_gateway";
390
+ is_device_error: true;
391
+ } | {
392
+ message: string;
393
+ error_code: "missing_device_credentials";
394
+ is_device_error: true;
395
+ } | {
396
+ message: string;
397
+ error_code: "auxiliary_heat_running";
398
+ is_device_error: true;
399
+ } | {
400
+ message: string;
401
+ error_code: "subscription_required";
150
402
  is_device_error: true;
151
403
  } | {
152
404
  message: string;
@@ -198,20 +450,176 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
198
450
  message: string;
199
451
  error_code: string;
200
452
  is_access_code_error: true;
453
+ }>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
454
+ message: z.ZodString;
455
+ is_device_error: z.ZodLiteral<true>;
456
+ }, {
457
+ error_code: z.ZodLiteral<"device_offline">;
458
+ }>, "strip", z.ZodTypeAny, {
459
+ message: string;
460
+ error_code: "device_offline";
461
+ is_device_error: true;
462
+ }, {
463
+ message: string;
464
+ error_code: "device_offline";
465
+ is_device_error: true;
201
466
  }>, z.ZodObject<z.objectUtil.extendShape<{
202
467
  message: z.ZodString;
203
468
  is_device_error: z.ZodLiteral<true>;
204
469
  }, {
205
- error_code: z.ZodString;
470
+ error_code: z.ZodLiteral<"device_removed">;
206
471
  }>, "strip", z.ZodTypeAny, {
207
472
  message: string;
208
- error_code: string;
473
+ error_code: "device_removed";
209
474
  is_device_error: true;
210
475
  }, {
211
476
  message: string;
212
- error_code: string;
477
+ error_code: "device_removed";
478
+ is_device_error: true;
479
+ }>, z.ZodObject<z.objectUtil.extendShape<{
480
+ message: z.ZodString;
481
+ is_device_error: z.ZodLiteral<true>;
482
+ }, {
483
+ error_code: z.ZodLiteral<"account_disconnected">;
484
+ }>, "strip", z.ZodTypeAny, {
485
+ message: string;
486
+ error_code: "account_disconnected";
487
+ is_device_error: true;
488
+ }, {
489
+ message: string;
490
+ error_code: "account_disconnected";
491
+ is_device_error: true;
492
+ }>, z.ZodObject<z.objectUtil.extendShape<{
493
+ message: z.ZodString;
494
+ is_device_error: z.ZodLiteral<true>;
495
+ }, {
496
+ error_code: z.ZodLiteral<"hub_disconnected">;
497
+ }>, "strip", z.ZodTypeAny, {
498
+ message: string;
499
+ error_code: "hub_disconnected";
500
+ is_device_error: true;
501
+ }, {
502
+ message: string;
503
+ error_code: "hub_disconnected";
504
+ is_device_error: true;
505
+ }>, z.ZodObject<z.objectUtil.extendShape<{
506
+ message: z.ZodString;
507
+ is_device_error: z.ZodLiteral<true>;
508
+ }, {
509
+ error_code: z.ZodLiteral<"device_disconnected">;
510
+ }>, "strip", z.ZodTypeAny, {
511
+ message: string;
512
+ error_code: "device_disconnected";
513
+ is_device_error: true;
514
+ }, {
515
+ message: string;
516
+ error_code: "device_disconnected";
517
+ is_device_error: true;
518
+ }>, z.ZodObject<z.objectUtil.extendShape<{
519
+ message: z.ZodString;
520
+ is_device_error: z.ZodLiteral<true>;
521
+ }, {
522
+ error_code: z.ZodLiteral<"empty_backup_access_code_pool">;
523
+ }>, "strip", z.ZodTypeAny, {
524
+ message: string;
525
+ error_code: "empty_backup_access_code_pool";
526
+ is_device_error: true;
527
+ }, {
528
+ message: string;
529
+ error_code: "empty_backup_access_code_pool";
530
+ is_device_error: true;
531
+ }>, z.ZodObject<z.objectUtil.extendShape<{
532
+ message: z.ZodString;
533
+ is_device_error: z.ZodLiteral<true>;
534
+ }, {
535
+ error_code: z.ZodLiteral<"august_lock_not_authorized">;
536
+ }>, "strip", z.ZodTypeAny, {
537
+ message: string;
538
+ error_code: "august_lock_not_authorized";
539
+ is_device_error: true;
540
+ }, {
541
+ message: string;
542
+ error_code: "august_lock_not_authorized";
543
+ is_device_error: true;
544
+ }>, z.ZodObject<z.objectUtil.extendShape<{
545
+ message: z.ZodString;
546
+ is_device_error: z.ZodLiteral<true>;
547
+ }, {
548
+ error_code: z.ZodLiteral<"august_lock_missing_bridge">;
549
+ }>, "strip", z.ZodTypeAny, {
550
+ message: string;
551
+ error_code: "august_lock_missing_bridge";
552
+ is_device_error: true;
553
+ }, {
554
+ message: string;
555
+ error_code: "august_lock_missing_bridge";
556
+ is_device_error: true;
557
+ }>, z.ZodObject<z.objectUtil.extendShape<{
558
+ message: z.ZodString;
559
+ is_device_error: z.ZodLiteral<true>;
560
+ }, {
561
+ error_code: z.ZodLiteral<"salto_site_user_limit_reached">;
562
+ }>, "strip", z.ZodTypeAny, {
563
+ message: string;
564
+ error_code: "salto_site_user_limit_reached";
565
+ is_device_error: true;
566
+ }, {
567
+ message: string;
568
+ error_code: "salto_site_user_limit_reached";
569
+ is_device_error: true;
570
+ }>, z.ZodObject<z.objectUtil.extendShape<{
571
+ message: z.ZodString;
572
+ is_device_error: z.ZodLiteral<true>;
573
+ }, {
574
+ error_code: z.ZodLiteral<"ttlock_lock_not_paired_to_gateway">;
575
+ }>, "strip", z.ZodTypeAny, {
576
+ message: string;
577
+ error_code: "ttlock_lock_not_paired_to_gateway";
578
+ is_device_error: true;
579
+ }, {
580
+ message: string;
581
+ error_code: "ttlock_lock_not_paired_to_gateway";
582
+ is_device_error: true;
583
+ }>, z.ZodObject<z.objectUtil.extendShape<{
584
+ message: z.ZodString;
585
+ is_device_error: z.ZodLiteral<true>;
586
+ }, {
587
+ error_code: z.ZodLiteral<"missing_device_credentials">;
588
+ }>, "strip", z.ZodTypeAny, {
589
+ message: string;
590
+ error_code: "missing_device_credentials";
591
+ is_device_error: true;
592
+ }, {
593
+ message: string;
594
+ error_code: "missing_device_credentials";
213
595
  is_device_error: true;
214
596
  }>, z.ZodObject<z.objectUtil.extendShape<{
597
+ message: z.ZodString;
598
+ is_device_error: z.ZodLiteral<true>;
599
+ }, {
600
+ error_code: z.ZodLiteral<"auxiliary_heat_running">;
601
+ }>, "strip", z.ZodTypeAny, {
602
+ message: string;
603
+ error_code: "auxiliary_heat_running";
604
+ is_device_error: true;
605
+ }, {
606
+ message: string;
607
+ error_code: "auxiliary_heat_running";
608
+ is_device_error: true;
609
+ }>, z.ZodObject<z.objectUtil.extendShape<{
610
+ message: z.ZodString;
611
+ is_device_error: z.ZodLiteral<true>;
612
+ }, {
613
+ error_code: z.ZodLiteral<"subscription_required">;
614
+ }>, "strip", z.ZodTypeAny, {
615
+ message: string;
616
+ error_code: "subscription_required";
617
+ is_device_error: true;
618
+ }, {
619
+ message: string;
620
+ error_code: "subscription_required";
621
+ is_device_error: true;
622
+ }>]>, z.ZodObject<z.objectUtil.extendShape<{
215
623
  message: z.ZodString;
216
624
  is_connected_account_error: z.ZodLiteral<true>;
217
625
  }, {
@@ -260,7 +668,55 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
260
668
  error_code: string;
261
669
  } | {
262
670
  message: string;
263
- error_code: string;
671
+ error_code: "device_offline";
672
+ is_device_error: true;
673
+ } | {
674
+ message: string;
675
+ error_code: "device_removed";
676
+ is_device_error: true;
677
+ } | {
678
+ message: string;
679
+ error_code: "account_disconnected";
680
+ is_device_error: true;
681
+ } | {
682
+ message: string;
683
+ error_code: "hub_disconnected";
684
+ is_device_error: true;
685
+ } | {
686
+ message: string;
687
+ error_code: "device_disconnected";
688
+ is_device_error: true;
689
+ } | {
690
+ message: string;
691
+ error_code: "empty_backup_access_code_pool";
692
+ is_device_error: true;
693
+ } | {
694
+ message: string;
695
+ error_code: "august_lock_not_authorized";
696
+ is_device_error: true;
697
+ } | {
698
+ message: string;
699
+ error_code: "august_lock_missing_bridge";
700
+ is_device_error: true;
701
+ } | {
702
+ message: string;
703
+ error_code: "salto_site_user_limit_reached";
704
+ is_device_error: true;
705
+ } | {
706
+ message: string;
707
+ error_code: "ttlock_lock_not_paired_to_gateway";
708
+ is_device_error: true;
709
+ } | {
710
+ message: string;
711
+ error_code: "missing_device_credentials";
712
+ is_device_error: true;
713
+ } | {
714
+ message: string;
715
+ error_code: "auxiliary_heat_running";
716
+ is_device_error: true;
717
+ } | {
718
+ message: string;
719
+ error_code: "subscription_required";
264
720
  is_device_error: true;
265
721
  } | {
266
722
  message: string;
@@ -288,7 +744,55 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
288
744
  error_code: string;
289
745
  } | {
290
746
  message: string;
291
- error_code: string;
747
+ error_code: "device_offline";
748
+ is_device_error: true;
749
+ } | {
750
+ message: string;
751
+ error_code: "device_removed";
752
+ is_device_error: true;
753
+ } | {
754
+ message: string;
755
+ error_code: "account_disconnected";
756
+ is_device_error: true;
757
+ } | {
758
+ message: string;
759
+ error_code: "hub_disconnected";
760
+ is_device_error: true;
761
+ } | {
762
+ message: string;
763
+ error_code: "device_disconnected";
764
+ is_device_error: true;
765
+ } | {
766
+ message: string;
767
+ error_code: "empty_backup_access_code_pool";
768
+ is_device_error: true;
769
+ } | {
770
+ message: string;
771
+ error_code: "august_lock_not_authorized";
772
+ is_device_error: true;
773
+ } | {
774
+ message: string;
775
+ error_code: "august_lock_missing_bridge";
776
+ is_device_error: true;
777
+ } | {
778
+ message: string;
779
+ error_code: "salto_site_user_limit_reached";
780
+ is_device_error: true;
781
+ } | {
782
+ message: string;
783
+ error_code: "ttlock_lock_not_paired_to_gateway";
784
+ is_device_error: true;
785
+ } | {
786
+ message: string;
787
+ error_code: "missing_device_credentials";
788
+ is_device_error: true;
789
+ } | {
790
+ message: string;
791
+ error_code: "auxiliary_heat_running";
792
+ is_device_error: true;
793
+ } | {
794
+ message: string;
795
+ error_code: "subscription_required";
292
796
  is_device_error: true;
293
797
  } | {
294
798
  message: string;
@@ -5424,20 +5928,176 @@ type ConnectedAccount = z.infer<typeof connected_account>;
5424
5928
  declare const custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
5425
5929
  type CustomMetadata = z.output<typeof custom_metadata>;
5426
5930
 
5427
- declare const device_error: z.ZodObject<z.objectUtil.extendShape<{
5931
+ declare const device_error: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
5428
5932
  message: z.ZodString;
5429
5933
  is_device_error: z.ZodLiteral<true>;
5430
5934
  }, {
5431
- error_code: z.ZodString;
5935
+ error_code: z.ZodLiteral<"device_offline">;
5432
5936
  }>, "strip", z.ZodTypeAny, {
5433
5937
  message: string;
5434
- error_code: string;
5938
+ error_code: "device_offline";
5435
5939
  is_device_error: true;
5436
5940
  }, {
5437
5941
  message: string;
5438
- error_code: string;
5942
+ error_code: "device_offline";
5439
5943
  is_device_error: true;
5440
- }>;
5944
+ }>, z.ZodObject<z.objectUtil.extendShape<{
5945
+ message: z.ZodString;
5946
+ is_device_error: z.ZodLiteral<true>;
5947
+ }, {
5948
+ error_code: z.ZodLiteral<"device_removed">;
5949
+ }>, "strip", z.ZodTypeAny, {
5950
+ message: string;
5951
+ error_code: "device_removed";
5952
+ is_device_error: true;
5953
+ }, {
5954
+ message: string;
5955
+ error_code: "device_removed";
5956
+ is_device_error: true;
5957
+ }>, z.ZodObject<z.objectUtil.extendShape<{
5958
+ message: z.ZodString;
5959
+ is_device_error: z.ZodLiteral<true>;
5960
+ }, {
5961
+ error_code: z.ZodLiteral<"account_disconnected">;
5962
+ }>, "strip", z.ZodTypeAny, {
5963
+ message: string;
5964
+ error_code: "account_disconnected";
5965
+ is_device_error: true;
5966
+ }, {
5967
+ message: string;
5968
+ error_code: "account_disconnected";
5969
+ is_device_error: true;
5970
+ }>, z.ZodObject<z.objectUtil.extendShape<{
5971
+ message: z.ZodString;
5972
+ is_device_error: z.ZodLiteral<true>;
5973
+ }, {
5974
+ error_code: z.ZodLiteral<"hub_disconnected">;
5975
+ }>, "strip", z.ZodTypeAny, {
5976
+ message: string;
5977
+ error_code: "hub_disconnected";
5978
+ is_device_error: true;
5979
+ }, {
5980
+ message: string;
5981
+ error_code: "hub_disconnected";
5982
+ is_device_error: true;
5983
+ }>, z.ZodObject<z.objectUtil.extendShape<{
5984
+ message: z.ZodString;
5985
+ is_device_error: z.ZodLiteral<true>;
5986
+ }, {
5987
+ error_code: z.ZodLiteral<"device_disconnected">;
5988
+ }>, "strip", z.ZodTypeAny, {
5989
+ message: string;
5990
+ error_code: "device_disconnected";
5991
+ is_device_error: true;
5992
+ }, {
5993
+ message: string;
5994
+ error_code: "device_disconnected";
5995
+ is_device_error: true;
5996
+ }>, z.ZodObject<z.objectUtil.extendShape<{
5997
+ message: z.ZodString;
5998
+ is_device_error: z.ZodLiteral<true>;
5999
+ }, {
6000
+ error_code: z.ZodLiteral<"empty_backup_access_code_pool">;
6001
+ }>, "strip", z.ZodTypeAny, {
6002
+ message: string;
6003
+ error_code: "empty_backup_access_code_pool";
6004
+ is_device_error: true;
6005
+ }, {
6006
+ message: string;
6007
+ error_code: "empty_backup_access_code_pool";
6008
+ is_device_error: true;
6009
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6010
+ message: z.ZodString;
6011
+ is_device_error: z.ZodLiteral<true>;
6012
+ }, {
6013
+ error_code: z.ZodLiteral<"august_lock_not_authorized">;
6014
+ }>, "strip", z.ZodTypeAny, {
6015
+ message: string;
6016
+ error_code: "august_lock_not_authorized";
6017
+ is_device_error: true;
6018
+ }, {
6019
+ message: string;
6020
+ error_code: "august_lock_not_authorized";
6021
+ is_device_error: true;
6022
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6023
+ message: z.ZodString;
6024
+ is_device_error: z.ZodLiteral<true>;
6025
+ }, {
6026
+ error_code: z.ZodLiteral<"august_lock_missing_bridge">;
6027
+ }>, "strip", z.ZodTypeAny, {
6028
+ message: string;
6029
+ error_code: "august_lock_missing_bridge";
6030
+ is_device_error: true;
6031
+ }, {
6032
+ message: string;
6033
+ error_code: "august_lock_missing_bridge";
6034
+ is_device_error: true;
6035
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6036
+ message: z.ZodString;
6037
+ is_device_error: z.ZodLiteral<true>;
6038
+ }, {
6039
+ error_code: z.ZodLiteral<"salto_site_user_limit_reached">;
6040
+ }>, "strip", z.ZodTypeAny, {
6041
+ message: string;
6042
+ error_code: "salto_site_user_limit_reached";
6043
+ is_device_error: true;
6044
+ }, {
6045
+ message: string;
6046
+ error_code: "salto_site_user_limit_reached";
6047
+ is_device_error: true;
6048
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6049
+ message: z.ZodString;
6050
+ is_device_error: z.ZodLiteral<true>;
6051
+ }, {
6052
+ error_code: z.ZodLiteral<"ttlock_lock_not_paired_to_gateway">;
6053
+ }>, "strip", z.ZodTypeAny, {
6054
+ message: string;
6055
+ error_code: "ttlock_lock_not_paired_to_gateway";
6056
+ is_device_error: true;
6057
+ }, {
6058
+ message: string;
6059
+ error_code: "ttlock_lock_not_paired_to_gateway";
6060
+ is_device_error: true;
6061
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6062
+ message: z.ZodString;
6063
+ is_device_error: z.ZodLiteral<true>;
6064
+ }, {
6065
+ error_code: z.ZodLiteral<"missing_device_credentials">;
6066
+ }>, "strip", z.ZodTypeAny, {
6067
+ message: string;
6068
+ error_code: "missing_device_credentials";
6069
+ is_device_error: true;
6070
+ }, {
6071
+ message: string;
6072
+ error_code: "missing_device_credentials";
6073
+ is_device_error: true;
6074
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6075
+ message: z.ZodString;
6076
+ is_device_error: z.ZodLiteral<true>;
6077
+ }, {
6078
+ error_code: z.ZodLiteral<"auxiliary_heat_running">;
6079
+ }>, "strip", z.ZodTypeAny, {
6080
+ message: string;
6081
+ error_code: "auxiliary_heat_running";
6082
+ is_device_error: true;
6083
+ }, {
6084
+ message: string;
6085
+ error_code: "auxiliary_heat_running";
6086
+ is_device_error: true;
6087
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6088
+ message: z.ZodString;
6089
+ is_device_error: z.ZodLiteral<true>;
6090
+ }, {
6091
+ error_code: z.ZodLiteral<"subscription_required">;
6092
+ }>, "strip", z.ZodTypeAny, {
6093
+ message: string;
6094
+ error_code: "subscription_required";
6095
+ is_device_error: true;
6096
+ }, {
6097
+ message: string;
6098
+ error_code: "subscription_required";
6099
+ is_device_error: true;
6100
+ }>]>;
5441
6101
  type DeviceError = z.infer<typeof device_error>;
5442
6102
  declare const device_warning: z.ZodObject<z.objectUtil.extendShape<{
5443
6103
  message: z.ZodString;
@@ -7294,20 +7954,176 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
7294
7954
  }>>;
7295
7955
  connected_account_id: z.ZodString;
7296
7956
  workspace_id: z.ZodString;
7297
- errors: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
7957
+ errors: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
7298
7958
  message: z.ZodString;
7299
7959
  is_device_error: z.ZodLiteral<true>;
7300
7960
  }, {
7301
- error_code: z.ZodString;
7961
+ error_code: z.ZodLiteral<"device_offline">;
7302
7962
  }>, "strip", z.ZodTypeAny, {
7303
7963
  message: string;
7304
- error_code: string;
7964
+ error_code: "device_offline";
7305
7965
  is_device_error: true;
7306
7966
  }, {
7307
7967
  message: string;
7308
- error_code: string;
7968
+ error_code: "device_offline";
7309
7969
  is_device_error: true;
7310
7970
  }>, z.ZodObject<z.objectUtil.extendShape<{
7971
+ message: z.ZodString;
7972
+ is_device_error: z.ZodLiteral<true>;
7973
+ }, {
7974
+ error_code: z.ZodLiteral<"device_removed">;
7975
+ }>, "strip", z.ZodTypeAny, {
7976
+ message: string;
7977
+ error_code: "device_removed";
7978
+ is_device_error: true;
7979
+ }, {
7980
+ message: string;
7981
+ error_code: "device_removed";
7982
+ is_device_error: true;
7983
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7984
+ message: z.ZodString;
7985
+ is_device_error: z.ZodLiteral<true>;
7986
+ }, {
7987
+ error_code: z.ZodLiteral<"account_disconnected">;
7988
+ }>, "strip", z.ZodTypeAny, {
7989
+ message: string;
7990
+ error_code: "account_disconnected";
7991
+ is_device_error: true;
7992
+ }, {
7993
+ message: string;
7994
+ error_code: "account_disconnected";
7995
+ is_device_error: true;
7996
+ }>, z.ZodObject<z.objectUtil.extendShape<{
7997
+ message: z.ZodString;
7998
+ is_device_error: z.ZodLiteral<true>;
7999
+ }, {
8000
+ error_code: z.ZodLiteral<"hub_disconnected">;
8001
+ }>, "strip", z.ZodTypeAny, {
8002
+ message: string;
8003
+ error_code: "hub_disconnected";
8004
+ is_device_error: true;
8005
+ }, {
8006
+ message: string;
8007
+ error_code: "hub_disconnected";
8008
+ is_device_error: true;
8009
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8010
+ message: z.ZodString;
8011
+ is_device_error: z.ZodLiteral<true>;
8012
+ }, {
8013
+ error_code: z.ZodLiteral<"device_disconnected">;
8014
+ }>, "strip", z.ZodTypeAny, {
8015
+ message: string;
8016
+ error_code: "device_disconnected";
8017
+ is_device_error: true;
8018
+ }, {
8019
+ message: string;
8020
+ error_code: "device_disconnected";
8021
+ is_device_error: true;
8022
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8023
+ message: z.ZodString;
8024
+ is_device_error: z.ZodLiteral<true>;
8025
+ }, {
8026
+ error_code: z.ZodLiteral<"empty_backup_access_code_pool">;
8027
+ }>, "strip", z.ZodTypeAny, {
8028
+ message: string;
8029
+ error_code: "empty_backup_access_code_pool";
8030
+ is_device_error: true;
8031
+ }, {
8032
+ message: string;
8033
+ error_code: "empty_backup_access_code_pool";
8034
+ is_device_error: true;
8035
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8036
+ message: z.ZodString;
8037
+ is_device_error: z.ZodLiteral<true>;
8038
+ }, {
8039
+ error_code: z.ZodLiteral<"august_lock_not_authorized">;
8040
+ }>, "strip", z.ZodTypeAny, {
8041
+ message: string;
8042
+ error_code: "august_lock_not_authorized";
8043
+ is_device_error: true;
8044
+ }, {
8045
+ message: string;
8046
+ error_code: "august_lock_not_authorized";
8047
+ is_device_error: true;
8048
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8049
+ message: z.ZodString;
8050
+ is_device_error: z.ZodLiteral<true>;
8051
+ }, {
8052
+ error_code: z.ZodLiteral<"august_lock_missing_bridge">;
8053
+ }>, "strip", z.ZodTypeAny, {
8054
+ message: string;
8055
+ error_code: "august_lock_missing_bridge";
8056
+ is_device_error: true;
8057
+ }, {
8058
+ message: string;
8059
+ error_code: "august_lock_missing_bridge";
8060
+ is_device_error: true;
8061
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8062
+ message: z.ZodString;
8063
+ is_device_error: z.ZodLiteral<true>;
8064
+ }, {
8065
+ error_code: z.ZodLiteral<"salto_site_user_limit_reached">;
8066
+ }>, "strip", z.ZodTypeAny, {
8067
+ message: string;
8068
+ error_code: "salto_site_user_limit_reached";
8069
+ is_device_error: true;
8070
+ }, {
8071
+ message: string;
8072
+ error_code: "salto_site_user_limit_reached";
8073
+ is_device_error: true;
8074
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8075
+ message: z.ZodString;
8076
+ is_device_error: z.ZodLiteral<true>;
8077
+ }, {
8078
+ error_code: z.ZodLiteral<"ttlock_lock_not_paired_to_gateway">;
8079
+ }>, "strip", z.ZodTypeAny, {
8080
+ message: string;
8081
+ error_code: "ttlock_lock_not_paired_to_gateway";
8082
+ is_device_error: true;
8083
+ }, {
8084
+ message: string;
8085
+ error_code: "ttlock_lock_not_paired_to_gateway";
8086
+ is_device_error: true;
8087
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8088
+ message: z.ZodString;
8089
+ is_device_error: z.ZodLiteral<true>;
8090
+ }, {
8091
+ error_code: z.ZodLiteral<"missing_device_credentials">;
8092
+ }>, "strip", z.ZodTypeAny, {
8093
+ message: string;
8094
+ error_code: "missing_device_credentials";
8095
+ is_device_error: true;
8096
+ }, {
8097
+ message: string;
8098
+ error_code: "missing_device_credentials";
8099
+ is_device_error: true;
8100
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8101
+ message: z.ZodString;
8102
+ is_device_error: z.ZodLiteral<true>;
8103
+ }, {
8104
+ error_code: z.ZodLiteral<"auxiliary_heat_running">;
8105
+ }>, "strip", z.ZodTypeAny, {
8106
+ message: string;
8107
+ error_code: "auxiliary_heat_running";
8108
+ is_device_error: true;
8109
+ }, {
8110
+ message: string;
8111
+ error_code: "auxiliary_heat_running";
8112
+ is_device_error: true;
8113
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8114
+ message: z.ZodString;
8115
+ is_device_error: z.ZodLiteral<true>;
8116
+ }, {
8117
+ error_code: z.ZodLiteral<"subscription_required">;
8118
+ }>, "strip", z.ZodTypeAny, {
8119
+ message: string;
8120
+ error_code: "subscription_required";
8121
+ is_device_error: true;
8122
+ }, {
8123
+ message: string;
8124
+ error_code: "subscription_required";
8125
+ is_device_error: true;
8126
+ }>]>, z.ZodObject<z.objectUtil.extendShape<{
7311
8127
  message: z.ZodString;
7312
8128
  is_connected_account_error: z.ZodLiteral<true>;
7313
8129
  }, {
@@ -7357,7 +8173,55 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
7357
8173
  error_code: string;
7358
8174
  } | {
7359
8175
  message: string;
7360
- error_code: string;
8176
+ error_code: "device_offline";
8177
+ is_device_error: true;
8178
+ } | {
8179
+ message: string;
8180
+ error_code: "device_removed";
8181
+ is_device_error: true;
8182
+ } | {
8183
+ message: string;
8184
+ error_code: "account_disconnected";
8185
+ is_device_error: true;
8186
+ } | {
8187
+ message: string;
8188
+ error_code: "hub_disconnected";
8189
+ is_device_error: true;
8190
+ } | {
8191
+ message: string;
8192
+ error_code: "device_disconnected";
8193
+ is_device_error: true;
8194
+ } | {
8195
+ message: string;
8196
+ error_code: "empty_backup_access_code_pool";
8197
+ is_device_error: true;
8198
+ } | {
8199
+ message: string;
8200
+ error_code: "august_lock_not_authorized";
8201
+ is_device_error: true;
8202
+ } | {
8203
+ message: string;
8204
+ error_code: "august_lock_missing_bridge";
8205
+ is_device_error: true;
8206
+ } | {
8207
+ message: string;
8208
+ error_code: "salto_site_user_limit_reached";
8209
+ is_device_error: true;
8210
+ } | {
8211
+ message: string;
8212
+ error_code: "ttlock_lock_not_paired_to_gateway";
8213
+ is_device_error: true;
8214
+ } | {
8215
+ message: string;
8216
+ error_code: "missing_device_credentials";
8217
+ is_device_error: true;
8218
+ } | {
8219
+ message: string;
8220
+ error_code: "auxiliary_heat_running";
8221
+ is_device_error: true;
8222
+ } | {
8223
+ message: string;
8224
+ error_code: "subscription_required";
7361
8225
  is_device_error: true;
7362
8226
  })[];
7363
8227
  warnings: {
@@ -7772,7 +8636,55 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
7772
8636
  error_code: string;
7773
8637
  } | {
7774
8638
  message: string;
7775
- error_code: string;
8639
+ error_code: "device_offline";
8640
+ is_device_error: true;
8641
+ } | {
8642
+ message: string;
8643
+ error_code: "device_removed";
8644
+ is_device_error: true;
8645
+ } | {
8646
+ message: string;
8647
+ error_code: "account_disconnected";
8648
+ is_device_error: true;
8649
+ } | {
8650
+ message: string;
8651
+ error_code: "hub_disconnected";
8652
+ is_device_error: true;
8653
+ } | {
8654
+ message: string;
8655
+ error_code: "device_disconnected";
8656
+ is_device_error: true;
8657
+ } | {
8658
+ message: string;
8659
+ error_code: "empty_backup_access_code_pool";
8660
+ is_device_error: true;
8661
+ } | {
8662
+ message: string;
8663
+ error_code: "august_lock_not_authorized";
8664
+ is_device_error: true;
8665
+ } | {
8666
+ message: string;
8667
+ error_code: "august_lock_missing_bridge";
8668
+ is_device_error: true;
8669
+ } | {
8670
+ message: string;
8671
+ error_code: "salto_site_user_limit_reached";
8672
+ is_device_error: true;
8673
+ } | {
8674
+ message: string;
8675
+ error_code: "ttlock_lock_not_paired_to_gateway";
8676
+ is_device_error: true;
8677
+ } | {
8678
+ message: string;
8679
+ error_code: "missing_device_credentials";
8680
+ is_device_error: true;
8681
+ } | {
8682
+ message: string;
8683
+ error_code: "auxiliary_heat_running";
8684
+ is_device_error: true;
8685
+ } | {
8686
+ message: string;
8687
+ error_code: "subscription_required";
7776
8688
  is_device_error: true;
7777
8689
  })[];
7778
8690
  warnings: {
@@ -10125,20 +11037,176 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
10125
11037
  }>>;
10126
11038
  connected_account_id: z.ZodString;
10127
11039
  workspace_id: z.ZodString;
10128
- errors: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
11040
+ errors: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
10129
11041
  message: z.ZodString;
10130
11042
  is_device_error: z.ZodLiteral<true>;
10131
11043
  }, {
10132
- error_code: z.ZodString;
11044
+ error_code: z.ZodLiteral<"device_offline">;
10133
11045
  }>, "strip", z.ZodTypeAny, {
10134
11046
  message: string;
10135
- error_code: string;
11047
+ error_code: "device_offline";
10136
11048
  is_device_error: true;
10137
11049
  }, {
10138
11050
  message: string;
10139
- error_code: string;
11051
+ error_code: "device_offline";
11052
+ is_device_error: true;
11053
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11054
+ message: z.ZodString;
11055
+ is_device_error: z.ZodLiteral<true>;
11056
+ }, {
11057
+ error_code: z.ZodLiteral<"device_removed">;
11058
+ }>, "strip", z.ZodTypeAny, {
11059
+ message: string;
11060
+ error_code: "device_removed";
11061
+ is_device_error: true;
11062
+ }, {
11063
+ message: string;
11064
+ error_code: "device_removed";
11065
+ is_device_error: true;
11066
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11067
+ message: z.ZodString;
11068
+ is_device_error: z.ZodLiteral<true>;
11069
+ }, {
11070
+ error_code: z.ZodLiteral<"account_disconnected">;
11071
+ }>, "strip", z.ZodTypeAny, {
11072
+ message: string;
11073
+ error_code: "account_disconnected";
11074
+ is_device_error: true;
11075
+ }, {
11076
+ message: string;
11077
+ error_code: "account_disconnected";
11078
+ is_device_error: true;
11079
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11080
+ message: z.ZodString;
11081
+ is_device_error: z.ZodLiteral<true>;
11082
+ }, {
11083
+ error_code: z.ZodLiteral<"hub_disconnected">;
11084
+ }>, "strip", z.ZodTypeAny, {
11085
+ message: string;
11086
+ error_code: "hub_disconnected";
11087
+ is_device_error: true;
11088
+ }, {
11089
+ message: string;
11090
+ error_code: "hub_disconnected";
11091
+ is_device_error: true;
11092
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11093
+ message: z.ZodString;
11094
+ is_device_error: z.ZodLiteral<true>;
11095
+ }, {
11096
+ error_code: z.ZodLiteral<"device_disconnected">;
11097
+ }>, "strip", z.ZodTypeAny, {
11098
+ message: string;
11099
+ error_code: "device_disconnected";
11100
+ is_device_error: true;
11101
+ }, {
11102
+ message: string;
11103
+ error_code: "device_disconnected";
11104
+ is_device_error: true;
11105
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11106
+ message: z.ZodString;
11107
+ is_device_error: z.ZodLiteral<true>;
11108
+ }, {
11109
+ error_code: z.ZodLiteral<"empty_backup_access_code_pool">;
11110
+ }>, "strip", z.ZodTypeAny, {
11111
+ message: string;
11112
+ error_code: "empty_backup_access_code_pool";
11113
+ is_device_error: true;
11114
+ }, {
11115
+ message: string;
11116
+ error_code: "empty_backup_access_code_pool";
11117
+ is_device_error: true;
11118
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11119
+ message: z.ZodString;
11120
+ is_device_error: z.ZodLiteral<true>;
11121
+ }, {
11122
+ error_code: z.ZodLiteral<"august_lock_not_authorized">;
11123
+ }>, "strip", z.ZodTypeAny, {
11124
+ message: string;
11125
+ error_code: "august_lock_not_authorized";
11126
+ is_device_error: true;
11127
+ }, {
11128
+ message: string;
11129
+ error_code: "august_lock_not_authorized";
11130
+ is_device_error: true;
11131
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11132
+ message: z.ZodString;
11133
+ is_device_error: z.ZodLiteral<true>;
11134
+ }, {
11135
+ error_code: z.ZodLiteral<"august_lock_missing_bridge">;
11136
+ }>, "strip", z.ZodTypeAny, {
11137
+ message: string;
11138
+ error_code: "august_lock_missing_bridge";
11139
+ is_device_error: true;
11140
+ }, {
11141
+ message: string;
11142
+ error_code: "august_lock_missing_bridge";
11143
+ is_device_error: true;
11144
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11145
+ message: z.ZodString;
11146
+ is_device_error: z.ZodLiteral<true>;
11147
+ }, {
11148
+ error_code: z.ZodLiteral<"salto_site_user_limit_reached">;
11149
+ }>, "strip", z.ZodTypeAny, {
11150
+ message: string;
11151
+ error_code: "salto_site_user_limit_reached";
11152
+ is_device_error: true;
11153
+ }, {
11154
+ message: string;
11155
+ error_code: "salto_site_user_limit_reached";
11156
+ is_device_error: true;
11157
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11158
+ message: z.ZodString;
11159
+ is_device_error: z.ZodLiteral<true>;
11160
+ }, {
11161
+ error_code: z.ZodLiteral<"ttlock_lock_not_paired_to_gateway">;
11162
+ }>, "strip", z.ZodTypeAny, {
11163
+ message: string;
11164
+ error_code: "ttlock_lock_not_paired_to_gateway";
11165
+ is_device_error: true;
11166
+ }, {
11167
+ message: string;
11168
+ error_code: "ttlock_lock_not_paired_to_gateway";
11169
+ is_device_error: true;
11170
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11171
+ message: z.ZodString;
11172
+ is_device_error: z.ZodLiteral<true>;
11173
+ }, {
11174
+ error_code: z.ZodLiteral<"missing_device_credentials">;
11175
+ }>, "strip", z.ZodTypeAny, {
11176
+ message: string;
11177
+ error_code: "missing_device_credentials";
11178
+ is_device_error: true;
11179
+ }, {
11180
+ message: string;
11181
+ error_code: "missing_device_credentials";
10140
11182
  is_device_error: true;
10141
11183
  }>, z.ZodObject<z.objectUtil.extendShape<{
11184
+ message: z.ZodString;
11185
+ is_device_error: z.ZodLiteral<true>;
11186
+ }, {
11187
+ error_code: z.ZodLiteral<"auxiliary_heat_running">;
11188
+ }>, "strip", z.ZodTypeAny, {
11189
+ message: string;
11190
+ error_code: "auxiliary_heat_running";
11191
+ is_device_error: true;
11192
+ }, {
11193
+ message: string;
11194
+ error_code: "auxiliary_heat_running";
11195
+ is_device_error: true;
11196
+ }>, z.ZodObject<z.objectUtil.extendShape<{
11197
+ message: z.ZodString;
11198
+ is_device_error: z.ZodLiteral<true>;
11199
+ }, {
11200
+ error_code: z.ZodLiteral<"subscription_required">;
11201
+ }>, "strip", z.ZodTypeAny, {
11202
+ message: string;
11203
+ error_code: "subscription_required";
11204
+ is_device_error: true;
11205
+ }, {
11206
+ message: string;
11207
+ error_code: "subscription_required";
11208
+ is_device_error: true;
11209
+ }>]>, z.ZodObject<z.objectUtil.extendShape<{
10142
11210
  message: z.ZodString;
10143
11211
  is_connected_account_error: z.ZodLiteral<true>;
10144
11212
  }, {
@@ -10337,7 +11405,55 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
10337
11405
  error_code: string;
10338
11406
  } | {
10339
11407
  message: string;
10340
- error_code: string;
11408
+ error_code: "device_offline";
11409
+ is_device_error: true;
11410
+ } | {
11411
+ message: string;
11412
+ error_code: "device_removed";
11413
+ is_device_error: true;
11414
+ } | {
11415
+ message: string;
11416
+ error_code: "account_disconnected";
11417
+ is_device_error: true;
11418
+ } | {
11419
+ message: string;
11420
+ error_code: "hub_disconnected";
11421
+ is_device_error: true;
11422
+ } | {
11423
+ message: string;
11424
+ error_code: "device_disconnected";
11425
+ is_device_error: true;
11426
+ } | {
11427
+ message: string;
11428
+ error_code: "empty_backup_access_code_pool";
11429
+ is_device_error: true;
11430
+ } | {
11431
+ message: string;
11432
+ error_code: "august_lock_not_authorized";
11433
+ is_device_error: true;
11434
+ } | {
11435
+ message: string;
11436
+ error_code: "august_lock_missing_bridge";
11437
+ is_device_error: true;
11438
+ } | {
11439
+ message: string;
11440
+ error_code: "salto_site_user_limit_reached";
11441
+ is_device_error: true;
11442
+ } | {
11443
+ message: string;
11444
+ error_code: "ttlock_lock_not_paired_to_gateway";
11445
+ is_device_error: true;
11446
+ } | {
11447
+ message: string;
11448
+ error_code: "missing_device_credentials";
11449
+ is_device_error: true;
11450
+ } | {
11451
+ message: string;
11452
+ error_code: "auxiliary_heat_running";
11453
+ is_device_error: true;
11454
+ } | {
11455
+ message: string;
11456
+ error_code: "subscription_required";
10341
11457
  is_device_error: true;
10342
11458
  })[];
10343
11459
  warnings: {
@@ -10402,7 +11518,55 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
10402
11518
  error_code: string;
10403
11519
  } | {
10404
11520
  message: string;
10405
- error_code: string;
11521
+ error_code: "device_offline";
11522
+ is_device_error: true;
11523
+ } | {
11524
+ message: string;
11525
+ error_code: "device_removed";
11526
+ is_device_error: true;
11527
+ } | {
11528
+ message: string;
11529
+ error_code: "account_disconnected";
11530
+ is_device_error: true;
11531
+ } | {
11532
+ message: string;
11533
+ error_code: "hub_disconnected";
11534
+ is_device_error: true;
11535
+ } | {
11536
+ message: string;
11537
+ error_code: "device_disconnected";
11538
+ is_device_error: true;
11539
+ } | {
11540
+ message: string;
11541
+ error_code: "empty_backup_access_code_pool";
11542
+ is_device_error: true;
11543
+ } | {
11544
+ message: string;
11545
+ error_code: "august_lock_not_authorized";
11546
+ is_device_error: true;
11547
+ } | {
11548
+ message: string;
11549
+ error_code: "august_lock_missing_bridge";
11550
+ is_device_error: true;
11551
+ } | {
11552
+ message: string;
11553
+ error_code: "salto_site_user_limit_reached";
11554
+ is_device_error: true;
11555
+ } | {
11556
+ message: string;
11557
+ error_code: "ttlock_lock_not_paired_to_gateway";
11558
+ is_device_error: true;
11559
+ } | {
11560
+ message: string;
11561
+ error_code: "missing_device_credentials";
11562
+ is_device_error: true;
11563
+ } | {
11564
+ message: string;
11565
+ error_code: "auxiliary_heat_running";
11566
+ is_device_error: true;
11567
+ } | {
11568
+ message: string;
11569
+ error_code: "subscription_required";
10406
11570
  is_device_error: true;
10407
11571
  })[];
10408
11572
  warnings: {
@@ -12464,6 +13628,44 @@ declare const seam_event: z.ZodDiscriminatedUnion<"event_type", [z.ZodObject<z.o
12464
13628
  workspace_id: z.ZodString;
12465
13629
  created_at: z.ZodString;
12466
13630
  occurred_at: z.ZodString;
13631
+ }, {
13632
+ device_id: z.ZodString;
13633
+ connected_account_id: z.ZodString;
13634
+ }>, {
13635
+ event_type: z.ZodLiteral<"thermostat.temperature_reached_set_point">;
13636
+ temperature_celsius: z.ZodNumber;
13637
+ temperature_fahrenheit: z.ZodNumber;
13638
+ desired_temperature_celsius: z.ZodOptional<z.ZodNumber>;
13639
+ desired_temperature_fahrenheit: z.ZodOptional<z.ZodNumber>;
13640
+ }>, "strip", z.ZodTypeAny, {
13641
+ connected_account_id: string;
13642
+ created_at: string;
13643
+ device_id: string;
13644
+ temperature_fahrenheit: number;
13645
+ temperature_celsius: number;
13646
+ workspace_id: string;
13647
+ event_id: string;
13648
+ occurred_at: string;
13649
+ event_type: "thermostat.temperature_reached_set_point";
13650
+ desired_temperature_celsius?: number | undefined;
13651
+ desired_temperature_fahrenheit?: number | undefined;
13652
+ }, {
13653
+ connected_account_id: string;
13654
+ created_at: string;
13655
+ device_id: string;
13656
+ temperature_fahrenheit: number;
13657
+ temperature_celsius: number;
13658
+ workspace_id: string;
13659
+ event_id: string;
13660
+ occurred_at: string;
13661
+ event_type: "thermostat.temperature_reached_set_point";
13662
+ desired_temperature_celsius?: number | undefined;
13663
+ desired_temperature_fahrenheit?: number | undefined;
13664
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
13665
+ event_id: z.ZodString;
13666
+ workspace_id: z.ZodString;
13667
+ created_at: z.ZodString;
13668
+ occurred_at: z.ZodString;
12467
13669
  }, {
12468
13670
  enrollment_automation_id: z.ZodString;
12469
13671
  }>, {
@@ -12739,28 +13941,36 @@ declare const _default: {
12739
13941
  message: {
12740
13942
  type: string;
12741
13943
  };
12742
- is_device_error?: never;
12743
13944
  is_connected_account_error?: never;
12744
13945
  };
12745
13946
  required: string[];
12746
13947
  type: string;
13948
+ description?: never;
13949
+ oneOf?: never;
12747
13950
  } | {
12748
- properties: {
12749
- error_code: {
12750
- type: string;
12751
- };
12752
- is_device_error: {
12753
- enum: boolean[];
12754
- type: string;
12755
- };
12756
- message: {
12757
- type: string;
13951
+ description: string;
13952
+ oneOf: {
13953
+ description: string;
13954
+ properties: {
13955
+ error_code: {
13956
+ description: string;
13957
+ enum: string[];
13958
+ type: string;
13959
+ };
13960
+ is_device_error: {
13961
+ enum: boolean[];
13962
+ type: string;
13963
+ };
13964
+ message: {
13965
+ type: string;
13966
+ };
12758
13967
  };
12759
- is_access_code_error?: never;
12760
- is_connected_account_error?: never;
12761
- };
12762
- required: string[];
12763
- type: string;
13968
+ required: string[];
13969
+ type: string;
13970
+ }[];
13971
+ properties?: never;
13972
+ required?: never;
13973
+ type?: never;
12764
13974
  } | {
12765
13975
  properties: {
12766
13976
  error_code: {
@@ -12774,10 +13984,11 @@ declare const _default: {
12774
13984
  type: string;
12775
13985
  };
12776
13986
  is_access_code_error?: never;
12777
- is_device_error?: never;
12778
13987
  };
12779
13988
  required: string[];
12780
13989
  type: string;
13990
+ description?: never;
13991
+ oneOf?: never;
12781
13992
  })[];
12782
13993
  };
12783
13994
  type: string;
@@ -15040,21 +16251,29 @@ declare const _default: {
15040
16251
  description: string;
15041
16252
  items: {
15042
16253
  oneOf: ({
15043
- properties: {
15044
- error_code: {
15045
- type: string;
15046
- };
15047
- is_device_error: {
15048
- enum: boolean[];
15049
- type: string;
15050
- };
15051
- message: {
15052
- type: string;
16254
+ description: string;
16255
+ oneOf: {
16256
+ description: string;
16257
+ properties: {
16258
+ error_code: {
16259
+ description: string;
16260
+ enum: string[];
16261
+ type: string;
16262
+ };
16263
+ is_device_error: {
16264
+ enum: boolean[];
16265
+ type: string;
16266
+ };
16267
+ message: {
16268
+ type: string;
16269
+ };
15053
16270
  };
15054
- is_connected_account_error?: never;
15055
- };
15056
- required: string[];
15057
- type: string;
16271
+ required: string[];
16272
+ type: string;
16273
+ }[];
16274
+ properties?: never;
16275
+ required?: never;
16276
+ type?: never;
15058
16277
  } | {
15059
16278
  properties: {
15060
16279
  error_code: {
@@ -15067,10 +16286,11 @@ declare const _default: {
15067
16286
  message: {
15068
16287
  type: string;
15069
16288
  };
15070
- is_device_error?: never;
15071
16289
  };
15072
16290
  required: string[];
15073
16291
  type: string;
16292
+ description?: never;
16293
+ oneOf?: never;
15074
16294
  })[];
15075
16295
  };
15076
16296
  type: string;
@@ -16739,6 +17959,8 @@ declare const _default: {
16739
17959
  temperature_fahrenheit?: never;
16740
17960
  upper_limit_celsius?: never;
16741
17961
  upper_limit_fahrenheit?: never;
17962
+ desired_temperature_celsius?: never;
17963
+ desired_temperature_fahrenheit?: never;
16742
17964
  enrollment_automation_id?: never;
16743
17965
  };
16744
17966
  required: string[];
@@ -16827,6 +18049,8 @@ declare const _default: {
16827
18049
  temperature_fahrenheit?: never;
16828
18050
  upper_limit_celsius?: never;
16829
18051
  upper_limit_fahrenheit?: never;
18052
+ desired_temperature_celsius?: never;
18053
+ desired_temperature_fahrenheit?: never;
16830
18054
  enrollment_automation_id?: never;
16831
18055
  };
16832
18056
  required: string[];
@@ -16915,6 +18139,8 @@ declare const _default: {
16915
18139
  temperature_fahrenheit?: never;
16916
18140
  upper_limit_celsius?: never;
16917
18141
  upper_limit_fahrenheit?: never;
18142
+ desired_temperature_celsius?: never;
18143
+ desired_temperature_fahrenheit?: never;
16918
18144
  enrollment_automation_id?: never;
16919
18145
  };
16920
18146
  required: string[];
@@ -17001,6 +18227,8 @@ declare const _default: {
17001
18227
  temperature_fahrenheit?: never;
17002
18228
  upper_limit_celsius?: never;
17003
18229
  upper_limit_fahrenheit?: never;
18230
+ desired_temperature_celsius?: never;
18231
+ desired_temperature_fahrenheit?: never;
17004
18232
  enrollment_automation_id?: never;
17005
18233
  };
17006
18234
  required: string[];
@@ -17081,6 +18309,8 @@ declare const _default: {
17081
18309
  temperature_fahrenheit?: never;
17082
18310
  upper_limit_celsius?: never;
17083
18311
  upper_limit_fahrenheit?: never;
18312
+ desired_temperature_celsius?: never;
18313
+ desired_temperature_fahrenheit?: never;
17084
18314
  enrollment_automation_id?: never;
17085
18315
  };
17086
18316
  required: string[];
@@ -17164,6 +18394,8 @@ declare const _default: {
17164
18394
  temperature_fahrenheit?: never;
17165
18395
  upper_limit_celsius?: never;
17166
18396
  upper_limit_fahrenheit?: never;
18397
+ desired_temperature_celsius?: never;
18398
+ desired_temperature_fahrenheit?: never;
17167
18399
  enrollment_automation_id?: never;
17168
18400
  };
17169
18401
  required: string[];
@@ -17247,6 +18479,8 @@ declare const _default: {
17247
18479
  temperature_fahrenheit?: never;
17248
18480
  upper_limit_celsius?: never;
17249
18481
  upper_limit_fahrenheit?: never;
18482
+ desired_temperature_celsius?: never;
18483
+ desired_temperature_fahrenheit?: never;
17250
18484
  enrollment_automation_id?: never;
17251
18485
  };
17252
18486
  required: string[];
@@ -17331,6 +18565,8 @@ declare const _default: {
17331
18565
  temperature_fahrenheit?: never;
17332
18566
  upper_limit_celsius?: never;
17333
18567
  upper_limit_fahrenheit?: never;
18568
+ desired_temperature_celsius?: never;
18569
+ desired_temperature_fahrenheit?: never;
17334
18570
  enrollment_automation_id?: never;
17335
18571
  };
17336
18572
  required: string[];
@@ -17407,6 +18643,8 @@ declare const _default: {
17407
18643
  temperature_fahrenheit?: never;
17408
18644
  upper_limit_celsius?: never;
17409
18645
  upper_limit_fahrenheit?: never;
18646
+ desired_temperature_celsius?: never;
18647
+ desired_temperature_fahrenheit?: never;
17410
18648
  enrollment_automation_id?: never;
17411
18649
  };
17412
18650
  required: string[];
@@ -17487,6 +18725,8 @@ declare const _default: {
17487
18725
  temperature_fahrenheit?: never;
17488
18726
  upper_limit_celsius?: never;
17489
18727
  upper_limit_fahrenheit?: never;
18728
+ desired_temperature_celsius?: never;
18729
+ desired_temperature_fahrenheit?: never;
17490
18730
  enrollment_automation_id?: never;
17491
18731
  };
17492
18732
  required: string[];
@@ -17568,6 +18808,8 @@ declare const _default: {
17568
18808
  temperature_fahrenheit?: never;
17569
18809
  upper_limit_celsius?: never;
17570
18810
  upper_limit_fahrenheit?: never;
18811
+ desired_temperature_celsius?: never;
18812
+ desired_temperature_fahrenheit?: never;
17571
18813
  enrollment_automation_id?: never;
17572
18814
  };
17573
18815
  required: string[];
@@ -17643,6 +18885,8 @@ declare const _default: {
17643
18885
  temperature_fahrenheit?: never;
17644
18886
  upper_limit_celsius?: never;
17645
18887
  upper_limit_fahrenheit?: never;
18888
+ desired_temperature_celsius?: never;
18889
+ desired_temperature_fahrenheit?: never;
17646
18890
  enrollment_automation_id?: never;
17647
18891
  };
17648
18892
  required: string[];
@@ -17725,6 +18969,8 @@ declare const _default: {
17725
18969
  temperature_fahrenheit?: never;
17726
18970
  upper_limit_celsius?: never;
17727
18971
  upper_limit_fahrenheit?: never;
18972
+ desired_temperature_celsius?: never;
18973
+ desired_temperature_fahrenheit?: never;
17728
18974
  enrollment_automation_id?: never;
17729
18975
  };
17730
18976
  required: string[];
@@ -17801,6 +19047,8 @@ declare const _default: {
17801
19047
  temperature_fahrenheit?: never;
17802
19048
  upper_limit_celsius?: never;
17803
19049
  upper_limit_fahrenheit?: never;
19050
+ desired_temperature_celsius?: never;
19051
+ desired_temperature_fahrenheit?: never;
17804
19052
  enrollment_automation_id?: never;
17805
19053
  };
17806
19054
  required: string[];
@@ -17881,6 +19129,8 @@ declare const _default: {
17881
19129
  temperature_fahrenheit?: never;
17882
19130
  upper_limit_celsius?: never;
17883
19131
  upper_limit_fahrenheit?: never;
19132
+ desired_temperature_celsius?: never;
19133
+ desired_temperature_fahrenheit?: never;
17884
19134
  enrollment_automation_id?: never;
17885
19135
  };
17886
19136
  required: string[];
@@ -17965,6 +19215,8 @@ declare const _default: {
17965
19215
  temperature_fahrenheit?: never;
17966
19216
  upper_limit_celsius?: never;
17967
19217
  upper_limit_fahrenheit?: never;
19218
+ desired_temperature_celsius?: never;
19219
+ desired_temperature_fahrenheit?: never;
17968
19220
  enrollment_automation_id?: never;
17969
19221
  };
17970
19222
  required: string[];
@@ -18051,6 +19303,8 @@ declare const _default: {
18051
19303
  temperature_fahrenheit?: never;
18052
19304
  upper_limit_celsius?: never;
18053
19305
  upper_limit_fahrenheit?: never;
19306
+ desired_temperature_celsius?: never;
19307
+ desired_temperature_fahrenheit?: never;
18054
19308
  enrollment_automation_id?: never;
18055
19309
  };
18056
19310
  required: string[];
@@ -18141,6 +19395,8 @@ declare const _default: {
18141
19395
  temperature_fahrenheit?: never;
18142
19396
  upper_limit_celsius?: never;
18143
19397
  upper_limit_fahrenheit?: never;
19398
+ desired_temperature_celsius?: never;
19399
+ desired_temperature_fahrenheit?: never;
18144
19400
  enrollment_automation_id?: never;
18145
19401
  };
18146
19402
  required: string[];
@@ -18244,6 +19500,8 @@ declare const _default: {
18244
19500
  temperature_fahrenheit?: never;
18245
19501
  upper_limit_celsius?: never;
18246
19502
  upper_limit_fahrenheit?: never;
19503
+ desired_temperature_celsius?: never;
19504
+ desired_temperature_fahrenheit?: never;
18247
19505
  enrollment_automation_id?: never;
18248
19506
  };
18249
19507
  required: string[];
@@ -18336,6 +19594,8 @@ declare const _default: {
18336
19594
  temperature_fahrenheit?: never;
18337
19595
  upper_limit_celsius?: never;
18338
19596
  upper_limit_fahrenheit?: never;
19597
+ desired_temperature_celsius?: never;
19598
+ desired_temperature_fahrenheit?: never;
18339
19599
  enrollment_automation_id?: never;
18340
19600
  };
18341
19601
  required: string[];
@@ -18427,6 +19687,8 @@ declare const _default: {
18427
19687
  temperature_fahrenheit?: never;
18428
19688
  upper_limit_celsius?: never;
18429
19689
  upper_limit_fahrenheit?: never;
19690
+ desired_temperature_celsius?: never;
19691
+ desired_temperature_fahrenheit?: never;
18430
19692
  enrollment_automation_id?: never;
18431
19693
  };
18432
19694
  required: string[];
@@ -18535,6 +19797,8 @@ declare const _default: {
18535
19797
  temperature_fahrenheit?: never;
18536
19798
  upper_limit_celsius?: never;
18537
19799
  upper_limit_fahrenheit?: never;
19800
+ desired_temperature_celsius?: never;
19801
+ desired_temperature_fahrenheit?: never;
18538
19802
  enrollment_automation_id?: never;
18539
19803
  };
18540
19804
  required: string[];
@@ -18643,10 +19907,110 @@ declare const _default: {
18643
19907
  heating_set_point_celsius?: never;
18644
19908
  heating_set_point_fahrenheit?: never;
18645
19909
  hvac_mode_setting?: never;
19910
+ desired_temperature_celsius?: never;
19911
+ desired_temperature_fahrenheit?: never;
19912
+ enrollment_automation_id?: never;
19913
+ };
19914
+ required: string[];
19915
+ type: string;
19916
+ deprecated?: never;
19917
+ 'x-deprecated'?: never;
19918
+ } | {
19919
+ properties: {
19920
+ connected_account_id: {
19921
+ description: string;
19922
+ format: string;
19923
+ type: string;
19924
+ };
19925
+ created_at: {
19926
+ description: string;
19927
+ format: string;
19928
+ type: string;
19929
+ };
19930
+ desired_temperature_celsius: {
19931
+ description: string;
19932
+ format: string;
19933
+ type: string;
19934
+ };
19935
+ desired_temperature_fahrenheit: {
19936
+ description: string;
19937
+ format: string;
19938
+ type: string;
19939
+ };
19940
+ device_id: {
19941
+ description: string;
19942
+ format: string;
19943
+ type: string;
19944
+ };
19945
+ event_id: {
19946
+ description: string;
19947
+ format: string;
19948
+ type: string;
19949
+ };
19950
+ event_type: {
19951
+ enum: string[];
19952
+ type: string;
19953
+ };
19954
+ occurred_at: {
19955
+ description: string;
19956
+ format: string;
19957
+ type: string;
19958
+ };
19959
+ temperature_celsius: {
19960
+ description: string;
19961
+ format: string;
19962
+ type: string;
19963
+ };
19964
+ temperature_fahrenheit: {
19965
+ description: string;
19966
+ format: string;
19967
+ type: string;
19968
+ };
19969
+ workspace_id: {
19970
+ description: string;
19971
+ format: string;
19972
+ type: string;
19973
+ };
19974
+ access_code_id?: never;
19975
+ code?: never;
19976
+ backup_access_code_id?: never;
19977
+ acs_system_id?: never;
19978
+ acs_credential_id?: never;
19979
+ acs_user_id?: never;
19980
+ acs_encoder_id?: never;
19981
+ client_session_id?: never;
19982
+ connect_webview_id?: never;
19983
+ action_attempt_id?: never;
19984
+ action_type?: never;
19985
+ status?: never;
19986
+ error_code?: never;
19987
+ battery_level?: never;
19988
+ battery_status?: never;
19989
+ minut_metadata?: never;
19990
+ noise_level_decibels?: never;
19991
+ noise_level_nrs?: never;
19992
+ noise_threshold_id?: never;
19993
+ noise_threshold_name?: never;
19994
+ noiseaware_metadata?: never;
19995
+ method?: never;
19996
+ climate_preset_key?: never;
19997
+ is_fallback_climate_preset?: never;
19998
+ thermostat_schedule_id?: never;
19999
+ cooling_set_point_celsius?: never;
20000
+ cooling_set_point_fahrenheit?: never;
20001
+ fan_mode_setting?: never;
20002
+ heating_set_point_celsius?: never;
20003
+ heating_set_point_fahrenheit?: never;
20004
+ hvac_mode_setting?: never;
20005
+ lower_limit_celsius?: never;
20006
+ lower_limit_fahrenheit?: never;
20007
+ upper_limit_celsius?: never;
20008
+ upper_limit_fahrenheit?: never;
18646
20009
  enrollment_automation_id?: never;
18647
20010
  };
18648
20011
  required: string[];
18649
20012
  type: string;
20013
+ description?: never;
18650
20014
  deprecated?: never;
18651
20015
  'x-deprecated'?: never;
18652
20016
  } | {
@@ -18720,6 +20084,8 @@ declare const _default: {
18720
20084
  temperature_fahrenheit?: never;
18721
20085
  upper_limit_celsius?: never;
18722
20086
  upper_limit_fahrenheit?: never;
20087
+ desired_temperature_celsius?: never;
20088
+ desired_temperature_fahrenheit?: never;
18723
20089
  };
18724
20090
  required: string[];
18725
20091
  type: string;
@@ -18795,6 +20161,8 @@ declare const _default: {
18795
20161
  temperature_fahrenheit?: never;
18796
20162
  upper_limit_celsius?: never;
18797
20163
  upper_limit_fahrenheit?: never;
20164
+ desired_temperature_celsius?: never;
20165
+ desired_temperature_fahrenheit?: never;
18798
20166
  enrollment_automation_id?: never;
18799
20167
  };
18800
20168
  required: string[];
@@ -18928,21 +20296,29 @@ declare const _default: {
18928
20296
  description: string;
18929
20297
  items: {
18930
20298
  oneOf: ({
18931
- properties: {
18932
- error_code: {
18933
- type: string;
18934
- };
18935
- is_device_error: {
18936
- enum: boolean[];
18937
- type: string;
18938
- };
18939
- message: {
18940
- type: string;
20299
+ description: string;
20300
+ oneOf: {
20301
+ description: string;
20302
+ properties: {
20303
+ error_code: {
20304
+ description: string;
20305
+ enum: string[];
20306
+ type: string;
20307
+ };
20308
+ is_device_error: {
20309
+ enum: boolean[];
20310
+ type: string;
20311
+ };
20312
+ message: {
20313
+ type: string;
20314
+ };
18941
20315
  };
18942
- is_connected_account_error?: never;
18943
- };
18944
- required: string[];
18945
- type: string;
20316
+ required: string[];
20317
+ type: string;
20318
+ }[];
20319
+ properties?: never;
20320
+ required?: never;
20321
+ type?: never;
18946
20322
  } | {
18947
20323
  properties: {
18948
20324
  error_code: {
@@ -18955,10 +20331,11 @@ declare const _default: {
18955
20331
  message: {
18956
20332
  type: string;
18957
20333
  };
18958
- is_device_error?: never;
18959
20334
  };
18960
20335
  required: string[];
18961
20336
  type: string;
20337
+ description?: never;
20338
+ oneOf?: never;
18962
20339
  })[];
18963
20340
  };
18964
20341
  type: string;
@@ -19166,28 +20543,36 @@ declare const _default: {
19166
20543
  message: {
19167
20544
  type: string;
19168
20545
  };
19169
- is_device_error?: never;
19170
20546
  is_connected_account_error?: never;
19171
20547
  };
19172
20548
  required: string[];
19173
20549
  type: string;
20550
+ description?: never;
20551
+ oneOf?: never;
19174
20552
  } | {
19175
- properties: {
19176
- error_code: {
19177
- type: string;
19178
- };
19179
- is_device_error: {
19180
- enum: boolean[];
19181
- type: string;
19182
- };
19183
- message: {
19184
- type: string;
20553
+ description: string;
20554
+ oneOf: {
20555
+ description: string;
20556
+ properties: {
20557
+ error_code: {
20558
+ description: string;
20559
+ enum: string[];
20560
+ type: string;
20561
+ };
20562
+ is_device_error: {
20563
+ enum: boolean[];
20564
+ type: string;
20565
+ };
20566
+ message: {
20567
+ type: string;
20568
+ };
19185
20569
  };
19186
- is_access_code_error?: never;
19187
- is_connected_account_error?: never;
19188
- };
19189
- required: string[];
19190
- type: string;
20570
+ required: string[];
20571
+ type: string;
20572
+ }[];
20573
+ properties?: never;
20574
+ required?: never;
20575
+ type?: never;
19191
20576
  } | {
19192
20577
  properties: {
19193
20578
  error_code: {
@@ -19201,10 +20586,11 @@ declare const _default: {
19201
20586
  type: string;
19202
20587
  };
19203
20588
  is_access_code_error?: never;
19204
- is_device_error?: never;
19205
20589
  };
19206
20590
  required: string[];
19207
20591
  type: string;
20592
+ description?: never;
20593
+ oneOf?: never;
19208
20594
  })[];
19209
20595
  };
19210
20596
  type: string;
@@ -19322,21 +20708,29 @@ declare const _default: {
19322
20708
  description: string;
19323
20709
  items: {
19324
20710
  oneOf: ({
19325
- properties: {
19326
- error_code: {
19327
- type: string;
19328
- };
19329
- is_device_error: {
19330
- enum: boolean[];
19331
- type: string;
19332
- };
19333
- message: {
19334
- type: string;
20711
+ description: string;
20712
+ oneOf: {
20713
+ description: string;
20714
+ properties: {
20715
+ error_code: {
20716
+ description: string;
20717
+ enum: string[];
20718
+ type: string;
20719
+ };
20720
+ is_device_error: {
20721
+ enum: boolean[];
20722
+ type: string;
20723
+ };
20724
+ message: {
20725
+ type: string;
20726
+ };
19335
20727
  };
19336
- is_connected_account_error?: never;
19337
- };
19338
- required: string[];
19339
- type: string;
20728
+ required: string[];
20729
+ type: string;
20730
+ }[];
20731
+ properties?: never;
20732
+ required?: never;
20733
+ type?: never;
19340
20734
  } | {
19341
20735
  properties: {
19342
20736
  error_code: {
@@ -19349,10 +20743,11 @@ declare const _default: {
19349
20743
  message: {
19350
20744
  type: string;
19351
20745
  };
19352
- is_device_error?: never;
19353
20746
  };
19354
20747
  required: string[];
19355
20748
  type: string;
20749
+ description?: never;
20750
+ oneOf?: never;
19356
20751
  })[];
19357
20752
  };
19358
20753
  type: string;
@@ -36931,11 +38326,72 @@ interface Routes {
36931
38326
  message: string;
36932
38327
  is_access_code_error: true;
36933
38328
  error_code: string;
38329
+ } | ({
38330
+ message: string;
38331
+ is_device_error: true;
38332
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38333
+ error_code: 'device_offline';
36934
38334
  } | {
36935
38335
  message: string;
36936
38336
  is_device_error: true;
36937
- error_code: string;
38337
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38338
+ error_code: 'device_removed';
36938
38339
  } | {
38340
+ message: string;
38341
+ is_device_error: true;
38342
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38343
+ error_code: 'account_disconnected';
38344
+ } | {
38345
+ message: string;
38346
+ is_device_error: true;
38347
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38348
+ error_code: 'hub_disconnected';
38349
+ } | {
38350
+ message: string;
38351
+ is_device_error: true;
38352
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38353
+ error_code: 'device_disconnected';
38354
+ } | {
38355
+ message: string;
38356
+ is_device_error: true;
38357
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38358
+ error_code: 'empty_backup_access_code_pool';
38359
+ } | {
38360
+ message: string;
38361
+ is_device_error: true;
38362
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38363
+ error_code: 'august_lock_not_authorized';
38364
+ } | {
38365
+ message: string;
38366
+ is_device_error: true;
38367
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38368
+ error_code: 'august_lock_missing_bridge';
38369
+ } | {
38370
+ message: string;
38371
+ is_device_error: true;
38372
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38373
+ error_code: 'salto_site_user_limit_reached';
38374
+ } | {
38375
+ message: string;
38376
+ is_device_error: true;
38377
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38378
+ error_code: 'ttlock_lock_not_paired_to_gateway';
38379
+ } | {
38380
+ message: string;
38381
+ is_device_error: true;
38382
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38383
+ error_code: 'missing_device_credentials';
38384
+ } | {
38385
+ message: string;
38386
+ is_device_error: true;
38387
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38388
+ error_code: 'auxiliary_heat_running';
38389
+ } | {
38390
+ message: string;
38391
+ is_device_error: true;
38392
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38393
+ error_code: 'subscription_required';
38394
+ }) | {
36939
38395
  message: string;
36940
38396
  is_connected_account_error: true;
36941
38397
  error_code: string;
@@ -37019,11 +38475,72 @@ interface Routes {
37019
38475
  message: string;
37020
38476
  is_access_code_error: true;
37021
38477
  error_code: string;
38478
+ } | ({
38479
+ message: string;
38480
+ is_device_error: true;
38481
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38482
+ error_code: 'device_offline';
37022
38483
  } | {
37023
38484
  message: string;
37024
38485
  is_device_error: true;
37025
- error_code: string;
38486
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38487
+ error_code: 'device_removed';
38488
+ } | {
38489
+ message: string;
38490
+ is_device_error: true;
38491
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38492
+ error_code: 'account_disconnected';
38493
+ } | {
38494
+ message: string;
38495
+ is_device_error: true;
38496
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38497
+ error_code: 'hub_disconnected';
38498
+ } | {
38499
+ message: string;
38500
+ is_device_error: true;
38501
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38502
+ error_code: 'device_disconnected';
38503
+ } | {
38504
+ message: string;
38505
+ is_device_error: true;
38506
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38507
+ error_code: 'empty_backup_access_code_pool';
38508
+ } | {
38509
+ message: string;
38510
+ is_device_error: true;
38511
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38512
+ error_code: 'august_lock_not_authorized';
38513
+ } | {
38514
+ message: string;
38515
+ is_device_error: true;
38516
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38517
+ error_code: 'august_lock_missing_bridge';
38518
+ } | {
38519
+ message: string;
38520
+ is_device_error: true;
38521
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38522
+ error_code: 'salto_site_user_limit_reached';
37026
38523
  } | {
38524
+ message: string;
38525
+ is_device_error: true;
38526
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38527
+ error_code: 'ttlock_lock_not_paired_to_gateway';
38528
+ } | {
38529
+ message: string;
38530
+ is_device_error: true;
38531
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38532
+ error_code: 'missing_device_credentials';
38533
+ } | {
38534
+ message: string;
38535
+ is_device_error: true;
38536
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38537
+ error_code: 'auxiliary_heat_running';
38538
+ } | {
38539
+ message: string;
38540
+ is_device_error: true;
38541
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38542
+ error_code: 'subscription_required';
38543
+ }) | {
37027
38544
  message: string;
37028
38545
  is_connected_account_error: true;
37029
38546
  error_code: string;
@@ -37916,11 +39433,72 @@ interface Routes {
37916
39433
  message: string;
37917
39434
  is_access_code_error: true;
37918
39435
  error_code: string;
39436
+ } | ({
39437
+ message: string;
39438
+ is_device_error: true;
39439
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39440
+ error_code: 'device_offline';
37919
39441
  } | {
37920
39442
  message: string;
37921
39443
  is_device_error: true;
37922
- error_code: string;
39444
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39445
+ error_code: 'device_removed';
39446
+ } | {
39447
+ message: string;
39448
+ is_device_error: true;
39449
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39450
+ error_code: 'account_disconnected';
39451
+ } | {
39452
+ message: string;
39453
+ is_device_error: true;
39454
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39455
+ error_code: 'hub_disconnected';
39456
+ } | {
39457
+ message: string;
39458
+ is_device_error: true;
39459
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39460
+ error_code: 'device_disconnected';
37923
39461
  } | {
39462
+ message: string;
39463
+ is_device_error: true;
39464
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39465
+ error_code: 'empty_backup_access_code_pool';
39466
+ } | {
39467
+ message: string;
39468
+ is_device_error: true;
39469
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39470
+ error_code: 'august_lock_not_authorized';
39471
+ } | {
39472
+ message: string;
39473
+ is_device_error: true;
39474
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39475
+ error_code: 'august_lock_missing_bridge';
39476
+ } | {
39477
+ message: string;
39478
+ is_device_error: true;
39479
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39480
+ error_code: 'salto_site_user_limit_reached';
39481
+ } | {
39482
+ message: string;
39483
+ is_device_error: true;
39484
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39485
+ error_code: 'ttlock_lock_not_paired_to_gateway';
39486
+ } | {
39487
+ message: string;
39488
+ is_device_error: true;
39489
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39490
+ error_code: 'missing_device_credentials';
39491
+ } | {
39492
+ message: string;
39493
+ is_device_error: true;
39494
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39495
+ error_code: 'auxiliary_heat_running';
39496
+ } | {
39497
+ message: string;
39498
+ is_device_error: true;
39499
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39500
+ error_code: 'subscription_required';
39501
+ }) | {
37924
39502
  message: string;
37925
39503
  is_connected_account_error: true;
37926
39504
  error_code: string;
@@ -37991,11 +39569,206 @@ interface Routes {
37991
39569
  message: string;
37992
39570
  is_access_code_error: true;
37993
39571
  error_code: string;
39572
+ } | ({
39573
+ message: string;
39574
+ is_device_error: true;
39575
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39576
+ error_code: 'device_offline';
39577
+ } | {
39578
+ message: string;
39579
+ is_device_error: true;
39580
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39581
+ error_code: 'device_removed';
37994
39582
  } | {
37995
39583
  message: string;
37996
39584
  is_device_error: true;
39585
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39586
+ error_code: 'account_disconnected';
39587
+ } | {
39588
+ message: string;
39589
+ is_device_error: true;
39590
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39591
+ error_code: 'hub_disconnected';
39592
+ } | {
39593
+ message: string;
39594
+ is_device_error: true;
39595
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39596
+ error_code: 'device_disconnected';
39597
+ } | {
39598
+ message: string;
39599
+ is_device_error: true;
39600
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39601
+ error_code: 'empty_backup_access_code_pool';
39602
+ } | {
39603
+ message: string;
39604
+ is_device_error: true;
39605
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39606
+ error_code: 'august_lock_not_authorized';
39607
+ } | {
39608
+ message: string;
39609
+ is_device_error: true;
39610
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39611
+ error_code: 'august_lock_missing_bridge';
39612
+ } | {
39613
+ message: string;
39614
+ is_device_error: true;
39615
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39616
+ error_code: 'salto_site_user_limit_reached';
39617
+ } | {
39618
+ message: string;
39619
+ is_device_error: true;
39620
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39621
+ error_code: 'ttlock_lock_not_paired_to_gateway';
39622
+ } | {
39623
+ message: string;
39624
+ is_device_error: true;
39625
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39626
+ error_code: 'missing_device_credentials';
39627
+ } | {
39628
+ message: string;
39629
+ is_device_error: true;
39630
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39631
+ error_code: 'auxiliary_heat_running';
39632
+ } | {
39633
+ message: string;
39634
+ is_device_error: true;
39635
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39636
+ error_code: 'subscription_required';
39637
+ }) | {
39638
+ message: string;
39639
+ is_connected_account_error: true;
39640
+ error_code: string;
39641
+ }>;
39642
+ /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
39643
+ warnings: Array<{
39644
+ message: string;
39645
+ warning_code: string;
39646
+ }>;
39647
+ /** Indicates whether Seam manages the access code. */
39648
+ is_managed: true;
39649
+ /** Date and time at which the time-bound access code becomes active. */
39650
+ starts_at?: (string | null) | undefined;
39651
+ /** Date and time after which the time-bound access code becomes inactive. */
39652
+ ends_at?: (string | null) | undefined;
39653
+ /**
39654
+ Current status of the access code within the operational lifecycle. Values are "setting," a transitional phase that indicates that the code is being configured or activated; "set", which indicates that the code is active and operational; "unset," which indicates a deactivated or unused state, either before activation or after deliberate deactivation; "removing," which indicates a transitional period in which the code is being deleted or made inactive; and "unknown," which indicates an indeterminate state, due to reasons such as system errors or incomplete data, that highlights a potential need for system review or troubleshooting.
39655
+ */
39656
+ status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown';
39657
+ /** Indicates whether a backup access code is available for use if the primary access code is lost or compromised. */
39658
+ is_backup_access_code_available: boolean;
39659
+ /** Indicates whether the access code is a backup code. */
39660
+ is_backup?: boolean | undefined;
39661
+ /** Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code. */
39662
+ pulled_backup_access_code_id?: (string | null) | undefined;
39663
+ /** Indicates whether changes to the access code from external sources are permitted. */
39664
+ is_external_modification_allowed: boolean;
39665
+ /** Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use. */
39666
+ is_one_time_use: boolean;
39667
+ /** Indicates whether the access code is intended for use in offline scenarios. If "true," this code can be created on a device without a network connection. */
39668
+ is_offline_access_code: boolean;
39669
+ }>;
39670
+ };
39671
+ };
39672
+ '/access_codes/pull_backup_access_code': {
39673
+ route: '/access_codes/pull_backup_access_code';
39674
+ method: 'POST';
39675
+ queryParams: {};
39676
+ jsonBody: {
39677
+ access_code_id: string;
39678
+ };
39679
+ commonParams: {};
39680
+ formData: {};
39681
+ jsonResponse: {
39682
+ backup_access_code: {
39683
+ /** Unique identifier for a group of access codes that share the same code. */
39684
+ common_code_key: string | null;
39685
+ /** Indicates whether the code is set on the device according to a preconfigured schedule. */
39686
+ is_scheduled_on_device?: boolean | undefined;
39687
+ /** Nature of the access code. Values are "ongoing" for access codes that are active continuously until deactivated manually or "time_bound" for access codes that have a specific duration. */
39688
+ type: 'time_bound' | 'ongoing';
39689
+ /** Indicates whether the access code is waiting for a code assignment. */
39690
+ is_waiting_for_code_assignment?: boolean | undefined;
39691
+ /** Unique identifier for the access code. */
39692
+ access_code_id: string;
39693
+ /** Unique identifier for the device associated with the access code. */
39694
+ device_id: string;
39695
+ /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
39696
+ name: string | null;
39697
+ /** Code used for access. Typically, a numeric or alphanumeric string. */
39698
+ code: string | null;
39699
+ /** Date and time at which the access code was created. */
39700
+ created_at: string;
39701
+ /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
39702
+ errors: Array<{
39703
+ message: string;
39704
+ is_access_code_error: true;
37997
39705
  error_code: string;
39706
+ } | ({
39707
+ message: string;
39708
+ is_device_error: true;
39709
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39710
+ error_code: 'device_offline';
39711
+ } | {
39712
+ message: string;
39713
+ is_device_error: true;
39714
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39715
+ error_code: 'device_removed';
39716
+ } | {
39717
+ message: string;
39718
+ is_device_error: true;
39719
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39720
+ error_code: 'account_disconnected';
39721
+ } | {
39722
+ message: string;
39723
+ is_device_error: true;
39724
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39725
+ error_code: 'hub_disconnected';
39726
+ } | {
39727
+ message: string;
39728
+ is_device_error: true;
39729
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39730
+ error_code: 'device_disconnected';
37998
39731
  } | {
39732
+ message: string;
39733
+ is_device_error: true;
39734
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39735
+ error_code: 'empty_backup_access_code_pool';
39736
+ } | {
39737
+ message: string;
39738
+ is_device_error: true;
39739
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39740
+ error_code: 'august_lock_not_authorized';
39741
+ } | {
39742
+ message: string;
39743
+ is_device_error: true;
39744
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39745
+ error_code: 'august_lock_missing_bridge';
39746
+ } | {
39747
+ message: string;
39748
+ is_device_error: true;
39749
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39750
+ error_code: 'salto_site_user_limit_reached';
39751
+ } | {
39752
+ message: string;
39753
+ is_device_error: true;
39754
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39755
+ error_code: 'ttlock_lock_not_paired_to_gateway';
39756
+ } | {
39757
+ message: string;
39758
+ is_device_error: true;
39759
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39760
+ error_code: 'missing_device_credentials';
39761
+ } | {
39762
+ message: string;
39763
+ is_device_error: true;
39764
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39765
+ error_code: 'auxiliary_heat_running';
39766
+ } | {
39767
+ message: string;
39768
+ is_device_error: true;
39769
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39770
+ error_code: 'subscription_required';
39771
+ }) | {
37999
39772
  message: string;
38000
39773
  is_connected_account_error: true;
38001
39774
  error_code: string;
@@ -38027,20 +39800,8 @@ interface Routes {
38027
39800
  is_one_time_use: boolean;
38028
39801
  /** Indicates whether the access code is intended for use in offline scenarios. If "true," this code can be created on a device without a network connection. */
38029
39802
  is_offline_access_code: boolean;
38030
- }>;
38031
- };
38032
- };
38033
- '/access_codes/pull_backup_access_code': {
38034
- route: '/access_codes/pull_backup_access_code';
38035
- method: 'POST';
38036
- queryParams: {};
38037
- jsonBody: {
38038
- access_code_id: string;
38039
- };
38040
- commonParams: {};
38041
- formData: {};
38042
- jsonResponse: {
38043
- backup_access_code: {
39803
+ };
39804
+ access_code: {
38044
39805
  /** Unique identifier for a group of access codes that share the same code. */
38045
39806
  common_code_key: string | null;
38046
39807
  /** Indicates whether the code is set on the device according to a preconfigured schedule. */
@@ -38064,72 +39825,72 @@ interface Routes {
38064
39825
  message: string;
38065
39826
  is_access_code_error: true;
38066
39827
  error_code: string;
39828
+ } | ({
39829
+ message: string;
39830
+ is_device_error: true;
39831
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39832
+ error_code: 'device_offline';
38067
39833
  } | {
38068
39834
  message: string;
38069
39835
  is_device_error: true;
38070
- error_code: string;
39836
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39837
+ error_code: 'device_removed';
38071
39838
  } | {
38072
39839
  message: string;
38073
- is_connected_account_error: true;
38074
- error_code: string;
38075
- }>;
38076
- /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
38077
- warnings: Array<{
39840
+ is_device_error: true;
39841
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39842
+ error_code: 'account_disconnected';
39843
+ } | {
38078
39844
  message: string;
38079
- warning_code: string;
38080
- }>;
38081
- /** Indicates whether Seam manages the access code. */
38082
- is_managed: true;
38083
- /** Date and time at which the time-bound access code becomes active. */
38084
- starts_at?: (string | null) | undefined;
38085
- /** Date and time after which the time-bound access code becomes inactive. */
38086
- ends_at?: (string | null) | undefined;
38087
- /**
38088
- Current status of the access code within the operational lifecycle. Values are "setting," a transitional phase that indicates that the code is being configured or activated; "set", which indicates that the code is active and operational; "unset," which indicates a deactivated or unused state, either before activation or after deliberate deactivation; "removing," which indicates a transitional period in which the code is being deleted or made inactive; and "unknown," which indicates an indeterminate state, due to reasons such as system errors or incomplete data, that highlights a potential need for system review or troubleshooting.
38089
- */
38090
- status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown';
38091
- /** Indicates whether a backup access code is available for use if the primary access code is lost or compromised. */
38092
- is_backup_access_code_available: boolean;
38093
- /** Indicates whether the access code is a backup code. */
38094
- is_backup?: boolean | undefined;
38095
- /** Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code. */
38096
- pulled_backup_access_code_id?: (string | null) | undefined;
38097
- /** Indicates whether changes to the access code from external sources are permitted. */
38098
- is_external_modification_allowed: boolean;
38099
- /** Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use. */
38100
- is_one_time_use: boolean;
38101
- /** Indicates whether the access code is intended for use in offline scenarios. If "true," this code can be created on a device without a network connection. */
38102
- is_offline_access_code: boolean;
38103
- };
38104
- access_code: {
38105
- /** Unique identifier for a group of access codes that share the same code. */
38106
- common_code_key: string | null;
38107
- /** Indicates whether the code is set on the device according to a preconfigured schedule. */
38108
- is_scheduled_on_device?: boolean | undefined;
38109
- /** Nature of the access code. Values are "ongoing" for access codes that are active continuously until deactivated manually or "time_bound" for access codes that have a specific duration. */
38110
- type: 'time_bound' | 'ongoing';
38111
- /** Indicates whether the access code is waiting for a code assignment. */
38112
- is_waiting_for_code_assignment?: boolean | undefined;
38113
- /** Unique identifier for the access code. */
38114
- access_code_id: string;
38115
- /** Unique identifier for the device associated with the access code. */
38116
- device_id: string;
38117
- /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
38118
- name: string | null;
38119
- /** Code used for access. Typically, a numeric or alphanumeric string. */
38120
- code: string | null;
38121
- /** Date and time at which the access code was created. */
38122
- created_at: string;
38123
- /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
38124
- errors: Array<{
39845
+ is_device_error: true;
39846
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39847
+ error_code: 'hub_disconnected';
39848
+ } | {
38125
39849
  message: string;
38126
- is_access_code_error: true;
38127
- error_code: string;
39850
+ is_device_error: true;
39851
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39852
+ error_code: 'device_disconnected';
38128
39853
  } | {
38129
39854
  message: string;
38130
39855
  is_device_error: true;
38131
- error_code: string;
39856
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39857
+ error_code: 'empty_backup_access_code_pool';
39858
+ } | {
39859
+ message: string;
39860
+ is_device_error: true;
39861
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39862
+ error_code: 'august_lock_not_authorized';
39863
+ } | {
39864
+ message: string;
39865
+ is_device_error: true;
39866
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39867
+ error_code: 'august_lock_missing_bridge';
39868
+ } | {
39869
+ message: string;
39870
+ is_device_error: true;
39871
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39872
+ error_code: 'salto_site_user_limit_reached';
38132
39873
  } | {
39874
+ message: string;
39875
+ is_device_error: true;
39876
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39877
+ error_code: 'ttlock_lock_not_paired_to_gateway';
39878
+ } | {
39879
+ message: string;
39880
+ is_device_error: true;
39881
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39882
+ error_code: 'missing_device_credentials';
39883
+ } | {
39884
+ message: string;
39885
+ is_device_error: true;
39886
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39887
+ error_code: 'auxiliary_heat_running';
39888
+ } | {
39889
+ message: string;
39890
+ is_device_error: true;
39891
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39892
+ error_code: 'subscription_required';
39893
+ }) | {
38133
39894
  message: string;
38134
39895
  is_connected_account_error: true;
38135
39896
  error_code: string;
@@ -38194,11 +39955,72 @@ interface Routes {
38194
39955
  message: string;
38195
39956
  is_access_code_error: true;
38196
39957
  error_code: string;
39958
+ } | ({
39959
+ message: string;
39960
+ is_device_error: true;
39961
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39962
+ error_code: 'device_offline';
38197
39963
  } | {
38198
39964
  message: string;
38199
39965
  is_device_error: true;
38200
- error_code: string;
39966
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39967
+ error_code: 'device_removed';
39968
+ } | {
39969
+ message: string;
39970
+ is_device_error: true;
39971
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39972
+ error_code: 'account_disconnected';
39973
+ } | {
39974
+ message: string;
39975
+ is_device_error: true;
39976
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39977
+ error_code: 'hub_disconnected';
39978
+ } | {
39979
+ message: string;
39980
+ is_device_error: true;
39981
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39982
+ error_code: 'device_disconnected';
38201
39983
  } | {
39984
+ message: string;
39985
+ is_device_error: true;
39986
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39987
+ error_code: 'empty_backup_access_code_pool';
39988
+ } | {
39989
+ message: string;
39990
+ is_device_error: true;
39991
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39992
+ error_code: 'august_lock_not_authorized';
39993
+ } | {
39994
+ message: string;
39995
+ is_device_error: true;
39996
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39997
+ error_code: 'august_lock_missing_bridge';
39998
+ } | {
39999
+ message: string;
40000
+ is_device_error: true;
40001
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40002
+ error_code: 'salto_site_user_limit_reached';
40003
+ } | {
40004
+ message: string;
40005
+ is_device_error: true;
40006
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40007
+ error_code: 'ttlock_lock_not_paired_to_gateway';
40008
+ } | {
40009
+ message: string;
40010
+ is_device_error: true;
40011
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40012
+ error_code: 'missing_device_credentials';
40013
+ } | {
40014
+ message: string;
40015
+ is_device_error: true;
40016
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40017
+ error_code: 'auxiliary_heat_running';
40018
+ } | {
40019
+ message: string;
40020
+ is_device_error: true;
40021
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40022
+ error_code: 'subscription_required';
40023
+ }) | {
38202
40024
  message: string;
38203
40025
  is_connected_account_error: true;
38204
40026
  error_code: string;
@@ -39067,11 +40889,72 @@ interface Routes {
39067
40889
  message: string;
39068
40890
  is_access_code_error: true;
39069
40891
  error_code: string;
40892
+ } | ({
40893
+ message: string;
40894
+ is_device_error: true;
40895
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40896
+ error_code: 'device_offline';
39070
40897
  } | {
39071
40898
  message: string;
39072
40899
  is_device_error: true;
39073
- error_code: string;
40900
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40901
+ error_code: 'device_removed';
40902
+ } | {
40903
+ message: string;
40904
+ is_device_error: true;
40905
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40906
+ error_code: 'account_disconnected';
40907
+ } | {
40908
+ message: string;
40909
+ is_device_error: true;
40910
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40911
+ error_code: 'hub_disconnected';
40912
+ } | {
40913
+ message: string;
40914
+ is_device_error: true;
40915
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40916
+ error_code: 'device_disconnected';
40917
+ } | {
40918
+ message: string;
40919
+ is_device_error: true;
40920
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40921
+ error_code: 'empty_backup_access_code_pool';
40922
+ } | {
40923
+ message: string;
40924
+ is_device_error: true;
40925
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40926
+ error_code: 'august_lock_not_authorized';
40927
+ } | {
40928
+ message: string;
40929
+ is_device_error: true;
40930
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40931
+ error_code: 'august_lock_missing_bridge';
40932
+ } | {
40933
+ message: string;
40934
+ is_device_error: true;
40935
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40936
+ error_code: 'salto_site_user_limit_reached';
39074
40937
  } | {
40938
+ message: string;
40939
+ is_device_error: true;
40940
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40941
+ error_code: 'ttlock_lock_not_paired_to_gateway';
40942
+ } | {
40943
+ message: string;
40944
+ is_device_error: true;
40945
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40946
+ error_code: 'missing_device_credentials';
40947
+ } | {
40948
+ message: string;
40949
+ is_device_error: true;
40950
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40951
+ error_code: 'auxiliary_heat_running';
40952
+ } | {
40953
+ message: string;
40954
+ is_device_error: true;
40955
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40956
+ error_code: 'subscription_required';
40957
+ }) | {
39075
40958
  message: string;
39076
40959
  is_connected_account_error: true;
39077
40960
  error_code: string;
@@ -39119,11 +41002,72 @@ interface Routes {
39119
41002
  message: string;
39120
41003
  is_access_code_error: true;
39121
41004
  error_code: string;
41005
+ } | ({
41006
+ message: string;
41007
+ is_device_error: true;
41008
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41009
+ error_code: 'device_offline';
39122
41010
  } | {
39123
41011
  message: string;
39124
41012
  is_device_error: true;
39125
- error_code: string;
41013
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41014
+ error_code: 'device_removed';
41015
+ } | {
41016
+ message: string;
41017
+ is_device_error: true;
41018
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41019
+ error_code: 'account_disconnected';
41020
+ } | {
41021
+ message: string;
41022
+ is_device_error: true;
41023
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41024
+ error_code: 'hub_disconnected';
41025
+ } | {
41026
+ message: string;
41027
+ is_device_error: true;
41028
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41029
+ error_code: 'device_disconnected';
41030
+ } | {
41031
+ message: string;
41032
+ is_device_error: true;
41033
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41034
+ error_code: 'empty_backup_access_code_pool';
41035
+ } | {
41036
+ message: string;
41037
+ is_device_error: true;
41038
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41039
+ error_code: 'august_lock_not_authorized';
41040
+ } | {
41041
+ message: string;
41042
+ is_device_error: true;
41043
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41044
+ error_code: 'august_lock_missing_bridge';
41045
+ } | {
41046
+ message: string;
41047
+ is_device_error: true;
41048
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41049
+ error_code: 'salto_site_user_limit_reached';
41050
+ } | {
41051
+ message: string;
41052
+ is_device_error: true;
41053
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41054
+ error_code: 'ttlock_lock_not_paired_to_gateway';
41055
+ } | {
41056
+ message: string;
41057
+ is_device_error: true;
41058
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41059
+ error_code: 'missing_device_credentials';
41060
+ } | {
41061
+ message: string;
41062
+ is_device_error: true;
41063
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41064
+ error_code: 'auxiliary_heat_running';
39126
41065
  } | {
41066
+ message: string;
41067
+ is_device_error: true;
41068
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41069
+ error_code: 'subscription_required';
41070
+ }) | {
39127
41071
  message: string;
39128
41072
  is_connected_account_error: true;
39129
41073
  error_code: string;
@@ -47203,11 +49147,72 @@ interface Routes {
47203
49147
  /** Unique identifier for the Seam workspace associated with the device. */
47204
49148
  workspace_id: string;
47205
49149
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
47206
- errors: Array<{
49150
+ errors: Array<({
47207
49151
  message: string;
47208
49152
  is_device_error: true;
47209
- error_code: string;
49153
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49154
+ error_code: 'device_offline';
49155
+ } | {
49156
+ message: string;
49157
+ is_device_error: true;
49158
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49159
+ error_code: 'device_removed';
49160
+ } | {
49161
+ message: string;
49162
+ is_device_error: true;
49163
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49164
+ error_code: 'account_disconnected';
49165
+ } | {
49166
+ message: string;
49167
+ is_device_error: true;
49168
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49169
+ error_code: 'hub_disconnected';
49170
+ } | {
49171
+ message: string;
49172
+ is_device_error: true;
49173
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49174
+ error_code: 'device_disconnected';
49175
+ } | {
49176
+ message: string;
49177
+ is_device_error: true;
49178
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49179
+ error_code: 'empty_backup_access_code_pool';
49180
+ } | {
49181
+ message: string;
49182
+ is_device_error: true;
49183
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49184
+ error_code: 'august_lock_not_authorized';
49185
+ } | {
49186
+ message: string;
49187
+ is_device_error: true;
49188
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49189
+ error_code: 'august_lock_missing_bridge';
49190
+ } | {
49191
+ message: string;
49192
+ is_device_error: true;
49193
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49194
+ error_code: 'salto_site_user_limit_reached';
47210
49195
  } | {
49196
+ message: string;
49197
+ is_device_error: true;
49198
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49199
+ error_code: 'ttlock_lock_not_paired_to_gateway';
49200
+ } | {
49201
+ message: string;
49202
+ is_device_error: true;
49203
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49204
+ error_code: 'missing_device_credentials';
49205
+ } | {
49206
+ message: string;
49207
+ is_device_error: true;
49208
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49209
+ error_code: 'auxiliary_heat_running';
49210
+ } | {
49211
+ message: string;
49212
+ is_device_error: true;
49213
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49214
+ error_code: 'subscription_required';
49215
+ }) | {
47211
49216
  message: string;
47212
49217
  is_connected_account_error: true;
47213
49218
  error_code: string;
@@ -47760,11 +49765,72 @@ interface Routes {
47760
49765
  /** Unique identifier for the Seam workspace associated with the device. */
47761
49766
  workspace_id: string;
47762
49767
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
47763
- errors: Array<{
49768
+ errors: Array<({
47764
49769
  message: string;
47765
49770
  is_device_error: true;
47766
- error_code: string;
49771
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49772
+ error_code: 'device_offline';
47767
49773
  } | {
49774
+ message: string;
49775
+ is_device_error: true;
49776
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49777
+ error_code: 'device_removed';
49778
+ } | {
49779
+ message: string;
49780
+ is_device_error: true;
49781
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49782
+ error_code: 'account_disconnected';
49783
+ } | {
49784
+ message: string;
49785
+ is_device_error: true;
49786
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49787
+ error_code: 'hub_disconnected';
49788
+ } | {
49789
+ message: string;
49790
+ is_device_error: true;
49791
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49792
+ error_code: 'device_disconnected';
49793
+ } | {
49794
+ message: string;
49795
+ is_device_error: true;
49796
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49797
+ error_code: 'empty_backup_access_code_pool';
49798
+ } | {
49799
+ message: string;
49800
+ is_device_error: true;
49801
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49802
+ error_code: 'august_lock_not_authorized';
49803
+ } | {
49804
+ message: string;
49805
+ is_device_error: true;
49806
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49807
+ error_code: 'august_lock_missing_bridge';
49808
+ } | {
49809
+ message: string;
49810
+ is_device_error: true;
49811
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49812
+ error_code: 'salto_site_user_limit_reached';
49813
+ } | {
49814
+ message: string;
49815
+ is_device_error: true;
49816
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49817
+ error_code: 'ttlock_lock_not_paired_to_gateway';
49818
+ } | {
49819
+ message: string;
49820
+ is_device_error: true;
49821
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49822
+ error_code: 'missing_device_credentials';
49823
+ } | {
49824
+ message: string;
49825
+ is_device_error: true;
49826
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49827
+ error_code: 'auxiliary_heat_running';
49828
+ } | {
49829
+ message: string;
49830
+ is_device_error: true;
49831
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49832
+ error_code: 'subscription_required';
49833
+ }) | {
47768
49834
  message: string;
47769
49835
  is_connected_account_error: true;
47770
49836
  error_code: string;
@@ -47885,11 +49951,72 @@ interface Routes {
47885
49951
  /** Unique identifier for the Seam workspace associated with the device. */
47886
49952
  workspace_id: string;
47887
49953
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
47888
- errors: Array<{
49954
+ errors: Array<({
47889
49955
  message: string;
47890
49956
  is_device_error: true;
47891
- error_code: string;
49957
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49958
+ error_code: 'device_offline';
47892
49959
  } | {
49960
+ message: string;
49961
+ is_device_error: true;
49962
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49963
+ error_code: 'device_removed';
49964
+ } | {
49965
+ message: string;
49966
+ is_device_error: true;
49967
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49968
+ error_code: 'account_disconnected';
49969
+ } | {
49970
+ message: string;
49971
+ is_device_error: true;
49972
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49973
+ error_code: 'hub_disconnected';
49974
+ } | {
49975
+ message: string;
49976
+ is_device_error: true;
49977
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49978
+ error_code: 'device_disconnected';
49979
+ } | {
49980
+ message: string;
49981
+ is_device_error: true;
49982
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49983
+ error_code: 'empty_backup_access_code_pool';
49984
+ } | {
49985
+ message: string;
49986
+ is_device_error: true;
49987
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49988
+ error_code: 'august_lock_not_authorized';
49989
+ } | {
49990
+ message: string;
49991
+ is_device_error: true;
49992
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49993
+ error_code: 'august_lock_missing_bridge';
49994
+ } | {
49995
+ message: string;
49996
+ is_device_error: true;
49997
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49998
+ error_code: 'salto_site_user_limit_reached';
49999
+ } | {
50000
+ message: string;
50001
+ is_device_error: true;
50002
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50003
+ error_code: 'ttlock_lock_not_paired_to_gateway';
50004
+ } | {
50005
+ message: string;
50006
+ is_device_error: true;
50007
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50008
+ error_code: 'missing_device_credentials';
50009
+ } | {
50010
+ message: string;
50011
+ is_device_error: true;
50012
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50013
+ error_code: 'auxiliary_heat_running';
50014
+ } | {
50015
+ message: string;
50016
+ is_device_error: true;
50017
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50018
+ error_code: 'subscription_required';
50019
+ }) | {
47893
50020
  message: string;
47894
50021
  is_connected_account_error: true;
47895
50022
  error_code: string;
@@ -48020,11 +50147,72 @@ interface Routes {
48020
50147
  /** Unique identifier for the Seam workspace associated with the device. */
48021
50148
  workspace_id: string;
48022
50149
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
48023
- errors: Array<{
50150
+ errors: Array<({
48024
50151
  message: string;
48025
50152
  is_device_error: true;
48026
- error_code: string;
50153
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50154
+ error_code: 'device_offline';
50155
+ } | {
50156
+ message: string;
50157
+ is_device_error: true;
50158
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50159
+ error_code: 'device_removed';
50160
+ } | {
50161
+ message: string;
50162
+ is_device_error: true;
50163
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50164
+ error_code: 'account_disconnected';
50165
+ } | {
50166
+ message: string;
50167
+ is_device_error: true;
50168
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50169
+ error_code: 'hub_disconnected';
50170
+ } | {
50171
+ message: string;
50172
+ is_device_error: true;
50173
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50174
+ error_code: 'device_disconnected';
48027
50175
  } | {
50176
+ message: string;
50177
+ is_device_error: true;
50178
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50179
+ error_code: 'empty_backup_access_code_pool';
50180
+ } | {
50181
+ message: string;
50182
+ is_device_error: true;
50183
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50184
+ error_code: 'august_lock_not_authorized';
50185
+ } | {
50186
+ message: string;
50187
+ is_device_error: true;
50188
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50189
+ error_code: 'august_lock_missing_bridge';
50190
+ } | {
50191
+ message: string;
50192
+ is_device_error: true;
50193
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50194
+ error_code: 'salto_site_user_limit_reached';
50195
+ } | {
50196
+ message: string;
50197
+ is_device_error: true;
50198
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50199
+ error_code: 'ttlock_lock_not_paired_to_gateway';
50200
+ } | {
50201
+ message: string;
50202
+ is_device_error: true;
50203
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50204
+ error_code: 'missing_device_credentials';
50205
+ } | {
50206
+ message: string;
50207
+ is_device_error: true;
50208
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50209
+ error_code: 'auxiliary_heat_running';
50210
+ } | {
50211
+ message: string;
50212
+ is_device_error: true;
50213
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50214
+ error_code: 'subscription_required';
50215
+ }) | {
48028
50216
  message: string;
48029
50217
  is_connected_account_error: true;
48030
50218
  error_code: string;
@@ -49232,6 +51420,28 @@ interface Routes {
49232
51420
  lower_limit_celsius: number | null;
49233
51421
  /** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
49234
51422
  lower_limit_fahrenheit: number | null;
51423
+ } | {
51424
+ /** ID of the event. */
51425
+ event_id: string;
51426
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
51427
+ workspace_id: string;
51428
+ /** Date and time at which the event was created. */
51429
+ created_at: string;
51430
+ /** Date and time at which the event occurred. */
51431
+ occurred_at: string;
51432
+ /** ID of the device. */
51433
+ device_id: string;
51434
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
51435
+ connected_account_id: string;
51436
+ event_type: 'thermostat.temperature_reached_set_point';
51437
+ /** Temperature, in °C, reported by the thermostat. */
51438
+ temperature_celsius: number;
51439
+ /** Temperature, in °F, reported by the thermostat. */
51440
+ temperature_fahrenheit: number;
51441
+ /** Desired temperature, in °C, set by the thermostat's cooling or heating set point. */
51442
+ desired_temperature_celsius?: number | undefined;
51443
+ /** Desired temperature, in °F, set by the thermostat's cooling or heating set point. */
51444
+ desired_temperature_fahrenheit?: number | undefined;
49235
51445
  } | {
49236
51446
  /** ID of the event. */
49237
51447
  event_id: string;
@@ -49275,8 +51485,8 @@ interface Routes {
49275
51485
  acs_system_ids?: string[] | undefined;
49276
51486
  access_code_id?: string | undefined;
49277
51487
  access_code_ids?: string[] | undefined;
49278
- event_type?: ('device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_system.disconnected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_encoder.added' | 'acs_encoder.removed' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded') | undefined;
49279
- event_types?: Array<'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_system.disconnected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_encoder.added' | 'acs_encoder.removed' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded'> | undefined;
51488
+ event_type?: ('device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_system.disconnected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_encoder.added' | 'acs_encoder.removed' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point') | undefined;
51489
+ event_types?: Array<'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_system.disconnected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_encoder.added' | 'acs_encoder.removed' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point'> | undefined;
49280
51490
  connected_account_id?: string | undefined;
49281
51491
  connect_webview_id?: string | undefined;
49282
51492
  limit?: number;
@@ -50373,6 +52583,28 @@ interface Routes {
50373
52583
  lower_limit_celsius: number | null;
50374
52584
  /** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
50375
52585
  lower_limit_fahrenheit: number | null;
52586
+ } | {
52587
+ /** ID of the event. */
52588
+ event_id: string;
52589
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
52590
+ workspace_id: string;
52591
+ /** Date and time at which the event was created. */
52592
+ created_at: string;
52593
+ /** Date and time at which the event occurred. */
52594
+ occurred_at: string;
52595
+ /** ID of the device. */
52596
+ device_id: string;
52597
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
52598
+ connected_account_id: string;
52599
+ event_type: 'thermostat.temperature_reached_set_point';
52600
+ /** Temperature, in °C, reported by the thermostat. */
52601
+ temperature_celsius: number;
52602
+ /** Temperature, in °F, reported by the thermostat. */
52603
+ temperature_fahrenheit: number;
52604
+ /** Desired temperature, in °C, set by the thermostat's cooling or heating set point. */
52605
+ desired_temperature_celsius?: number | undefined;
52606
+ /** Desired temperature, in °F, set by the thermostat's cooling or heating set point. */
52607
+ desired_temperature_fahrenheit?: number | undefined;
50376
52608
  } | {
50377
52609
  /** ID of the event. */
50378
52610
  event_id: string;
@@ -50900,11 +53132,72 @@ interface Routes {
50900
53132
  /** Unique identifier for the Seam workspace associated with the device. */
50901
53133
  workspace_id: string;
50902
53134
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
50903
- errors: Array<{
53135
+ errors: Array<({
50904
53136
  message: string;
50905
53137
  is_device_error: true;
50906
- error_code: string;
53138
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53139
+ error_code: 'device_offline';
53140
+ } | {
53141
+ message: string;
53142
+ is_device_error: true;
53143
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53144
+ error_code: 'device_removed';
53145
+ } | {
53146
+ message: string;
53147
+ is_device_error: true;
53148
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53149
+ error_code: 'account_disconnected';
53150
+ } | {
53151
+ message: string;
53152
+ is_device_error: true;
53153
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53154
+ error_code: 'hub_disconnected';
50907
53155
  } | {
53156
+ message: string;
53157
+ is_device_error: true;
53158
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53159
+ error_code: 'device_disconnected';
53160
+ } | {
53161
+ message: string;
53162
+ is_device_error: true;
53163
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53164
+ error_code: 'empty_backup_access_code_pool';
53165
+ } | {
53166
+ message: string;
53167
+ is_device_error: true;
53168
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53169
+ error_code: 'august_lock_not_authorized';
53170
+ } | {
53171
+ message: string;
53172
+ is_device_error: true;
53173
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53174
+ error_code: 'august_lock_missing_bridge';
53175
+ } | {
53176
+ message: string;
53177
+ is_device_error: true;
53178
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53179
+ error_code: 'salto_site_user_limit_reached';
53180
+ } | {
53181
+ message: string;
53182
+ is_device_error: true;
53183
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53184
+ error_code: 'ttlock_lock_not_paired_to_gateway';
53185
+ } | {
53186
+ message: string;
53187
+ is_device_error: true;
53188
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53189
+ error_code: 'missing_device_credentials';
53190
+ } | {
53191
+ message: string;
53192
+ is_device_error: true;
53193
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53194
+ error_code: 'auxiliary_heat_running';
53195
+ } | {
53196
+ message: string;
53197
+ is_device_error: true;
53198
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53199
+ error_code: 'subscription_required';
53200
+ }) | {
50908
53201
  message: string;
50909
53202
  is_connected_account_error: true;
50910
53203
  error_code: string;
@@ -51420,11 +53713,72 @@ interface Routes {
51420
53713
  /** Unique identifier for the Seam workspace associated with the device. */
51421
53714
  workspace_id: string;
51422
53715
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
51423
- errors: Array<{
53716
+ errors: Array<({
51424
53717
  message: string;
51425
53718
  is_device_error: true;
51426
- error_code: string;
53719
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53720
+ error_code: 'device_offline';
53721
+ } | {
53722
+ message: string;
53723
+ is_device_error: true;
53724
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53725
+ error_code: 'device_removed';
53726
+ } | {
53727
+ message: string;
53728
+ is_device_error: true;
53729
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53730
+ error_code: 'account_disconnected';
53731
+ } | {
53732
+ message: string;
53733
+ is_device_error: true;
53734
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53735
+ error_code: 'hub_disconnected';
53736
+ } | {
53737
+ message: string;
53738
+ is_device_error: true;
53739
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53740
+ error_code: 'device_disconnected';
51427
53741
  } | {
53742
+ message: string;
53743
+ is_device_error: true;
53744
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53745
+ error_code: 'empty_backup_access_code_pool';
53746
+ } | {
53747
+ message: string;
53748
+ is_device_error: true;
53749
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53750
+ error_code: 'august_lock_not_authorized';
53751
+ } | {
53752
+ message: string;
53753
+ is_device_error: true;
53754
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53755
+ error_code: 'august_lock_missing_bridge';
53756
+ } | {
53757
+ message: string;
53758
+ is_device_error: true;
53759
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53760
+ error_code: 'salto_site_user_limit_reached';
53761
+ } | {
53762
+ message: string;
53763
+ is_device_error: true;
53764
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53765
+ error_code: 'ttlock_lock_not_paired_to_gateway';
53766
+ } | {
53767
+ message: string;
53768
+ is_device_error: true;
53769
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53770
+ error_code: 'missing_device_credentials';
53771
+ } | {
53772
+ message: string;
53773
+ is_device_error: true;
53774
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53775
+ error_code: 'auxiliary_heat_running';
53776
+ } | {
53777
+ message: string;
53778
+ is_device_error: true;
53779
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53780
+ error_code: 'subscription_required';
53781
+ }) | {
51428
53782
  message: string;
51429
53783
  is_connected_account_error: true;
51430
53784
  error_code: string;
@@ -51977,11 +54331,72 @@ interface Routes {
51977
54331
  /** Unique identifier for the Seam workspace associated with the device. */
51978
54332
  workspace_id: string;
51979
54333
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
51980
- errors: Array<{
54334
+ errors: Array<({
51981
54335
  message: string;
51982
54336
  is_device_error: true;
51983
- error_code: string;
54337
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54338
+ error_code: 'device_offline';
54339
+ } | {
54340
+ message: string;
54341
+ is_device_error: true;
54342
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54343
+ error_code: 'device_removed';
51984
54344
  } | {
54345
+ message: string;
54346
+ is_device_error: true;
54347
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54348
+ error_code: 'account_disconnected';
54349
+ } | {
54350
+ message: string;
54351
+ is_device_error: true;
54352
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54353
+ error_code: 'hub_disconnected';
54354
+ } | {
54355
+ message: string;
54356
+ is_device_error: true;
54357
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54358
+ error_code: 'device_disconnected';
54359
+ } | {
54360
+ message: string;
54361
+ is_device_error: true;
54362
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54363
+ error_code: 'empty_backup_access_code_pool';
54364
+ } | {
54365
+ message: string;
54366
+ is_device_error: true;
54367
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54368
+ error_code: 'august_lock_not_authorized';
54369
+ } | {
54370
+ message: string;
54371
+ is_device_error: true;
54372
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54373
+ error_code: 'august_lock_missing_bridge';
54374
+ } | {
54375
+ message: string;
54376
+ is_device_error: true;
54377
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54378
+ error_code: 'salto_site_user_limit_reached';
54379
+ } | {
54380
+ message: string;
54381
+ is_device_error: true;
54382
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54383
+ error_code: 'ttlock_lock_not_paired_to_gateway';
54384
+ } | {
54385
+ message: string;
54386
+ is_device_error: true;
54387
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54388
+ error_code: 'missing_device_credentials';
54389
+ } | {
54390
+ message: string;
54391
+ is_device_error: true;
54392
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54393
+ error_code: 'auxiliary_heat_running';
54394
+ } | {
54395
+ message: string;
54396
+ is_device_error: true;
54397
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54398
+ error_code: 'subscription_required';
54399
+ }) | {
51985
54400
  message: string;
51986
54401
  is_connected_account_error: true;
51987
54402
  error_code: string;
@@ -52497,11 +54912,72 @@ interface Routes {
52497
54912
  /** Unique identifier for the Seam workspace associated with the device. */
52498
54913
  workspace_id: string;
52499
54914
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
52500
- errors: Array<{
54915
+ errors: Array<({
52501
54916
  message: string;
52502
54917
  is_device_error: true;
52503
- error_code: string;
54918
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54919
+ error_code: 'device_offline';
54920
+ } | {
54921
+ message: string;
54922
+ is_device_error: true;
54923
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54924
+ error_code: 'device_removed';
54925
+ } | {
54926
+ message: string;
54927
+ is_device_error: true;
54928
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54929
+ error_code: 'account_disconnected';
54930
+ } | {
54931
+ message: string;
54932
+ is_device_error: true;
54933
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54934
+ error_code: 'hub_disconnected';
54935
+ } | {
54936
+ message: string;
54937
+ is_device_error: true;
54938
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54939
+ error_code: 'device_disconnected';
54940
+ } | {
54941
+ message: string;
54942
+ is_device_error: true;
54943
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54944
+ error_code: 'empty_backup_access_code_pool';
54945
+ } | {
54946
+ message: string;
54947
+ is_device_error: true;
54948
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54949
+ error_code: 'august_lock_not_authorized';
54950
+ } | {
54951
+ message: string;
54952
+ is_device_error: true;
54953
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54954
+ error_code: 'august_lock_missing_bridge';
52504
54955
  } | {
54956
+ message: string;
54957
+ is_device_error: true;
54958
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54959
+ error_code: 'salto_site_user_limit_reached';
54960
+ } | {
54961
+ message: string;
54962
+ is_device_error: true;
54963
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54964
+ error_code: 'ttlock_lock_not_paired_to_gateway';
54965
+ } | {
54966
+ message: string;
54967
+ is_device_error: true;
54968
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54969
+ error_code: 'missing_device_credentials';
54970
+ } | {
54971
+ message: string;
54972
+ is_device_error: true;
54973
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54974
+ error_code: 'auxiliary_heat_running';
54975
+ } | {
54976
+ message: string;
54977
+ is_device_error: true;
54978
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54979
+ error_code: 'subscription_required';
54980
+ }) | {
52505
54981
  message: string;
52506
54982
  is_connected_account_error: true;
52507
54983
  error_code: string;
@@ -54698,11 +57174,72 @@ interface Routes {
54698
57174
  /** Unique identifier for the Seam workspace associated with the device. */
54699
57175
  workspace_id: string;
54700
57176
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
54701
- errors: Array<{
57177
+ errors: Array<({
54702
57178
  message: string;
54703
57179
  is_device_error: true;
54704
- error_code: string;
57180
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57181
+ error_code: 'device_offline';
57182
+ } | {
57183
+ message: string;
57184
+ is_device_error: true;
57185
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57186
+ error_code: 'device_removed';
57187
+ } | {
57188
+ message: string;
57189
+ is_device_error: true;
57190
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57191
+ error_code: 'account_disconnected';
57192
+ } | {
57193
+ message: string;
57194
+ is_device_error: true;
57195
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57196
+ error_code: 'hub_disconnected';
57197
+ } | {
57198
+ message: string;
57199
+ is_device_error: true;
57200
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57201
+ error_code: 'device_disconnected';
54705
57202
  } | {
57203
+ message: string;
57204
+ is_device_error: true;
57205
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57206
+ error_code: 'empty_backup_access_code_pool';
57207
+ } | {
57208
+ message: string;
57209
+ is_device_error: true;
57210
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57211
+ error_code: 'august_lock_not_authorized';
57212
+ } | {
57213
+ message: string;
57214
+ is_device_error: true;
57215
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57216
+ error_code: 'august_lock_missing_bridge';
57217
+ } | {
57218
+ message: string;
57219
+ is_device_error: true;
57220
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57221
+ error_code: 'salto_site_user_limit_reached';
57222
+ } | {
57223
+ message: string;
57224
+ is_device_error: true;
57225
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57226
+ error_code: 'ttlock_lock_not_paired_to_gateway';
57227
+ } | {
57228
+ message: string;
57229
+ is_device_error: true;
57230
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57231
+ error_code: 'missing_device_credentials';
57232
+ } | {
57233
+ message: string;
57234
+ is_device_error: true;
57235
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57236
+ error_code: 'auxiliary_heat_running';
57237
+ } | {
57238
+ message: string;
57239
+ is_device_error: true;
57240
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57241
+ error_code: 'subscription_required';
57242
+ }) | {
54706
57243
  message: string;
54707
57244
  is_connected_account_error: true;
54708
57245
  error_code: string;
@@ -55218,11 +57755,72 @@ interface Routes {
55218
57755
  /** Unique identifier for the Seam workspace associated with the device. */
55219
57756
  workspace_id: string;
55220
57757
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
55221
- errors: Array<{
57758
+ errors: Array<({
55222
57759
  message: string;
55223
57760
  is_device_error: true;
55224
- error_code: string;
57761
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57762
+ error_code: 'device_offline';
57763
+ } | {
57764
+ message: string;
57765
+ is_device_error: true;
57766
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57767
+ error_code: 'device_removed';
55225
57768
  } | {
57769
+ message: string;
57770
+ is_device_error: true;
57771
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57772
+ error_code: 'account_disconnected';
57773
+ } | {
57774
+ message: string;
57775
+ is_device_error: true;
57776
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57777
+ error_code: 'hub_disconnected';
57778
+ } | {
57779
+ message: string;
57780
+ is_device_error: true;
57781
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57782
+ error_code: 'device_disconnected';
57783
+ } | {
57784
+ message: string;
57785
+ is_device_error: true;
57786
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57787
+ error_code: 'empty_backup_access_code_pool';
57788
+ } | {
57789
+ message: string;
57790
+ is_device_error: true;
57791
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57792
+ error_code: 'august_lock_not_authorized';
57793
+ } | {
57794
+ message: string;
57795
+ is_device_error: true;
57796
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57797
+ error_code: 'august_lock_missing_bridge';
57798
+ } | {
57799
+ message: string;
57800
+ is_device_error: true;
57801
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57802
+ error_code: 'salto_site_user_limit_reached';
57803
+ } | {
57804
+ message: string;
57805
+ is_device_error: true;
57806
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57807
+ error_code: 'ttlock_lock_not_paired_to_gateway';
57808
+ } | {
57809
+ message: string;
57810
+ is_device_error: true;
57811
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57812
+ error_code: 'missing_device_credentials';
57813
+ } | {
57814
+ message: string;
57815
+ is_device_error: true;
57816
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57817
+ error_code: 'auxiliary_heat_running';
57818
+ } | {
57819
+ message: string;
57820
+ is_device_error: true;
57821
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57822
+ error_code: 'subscription_required';
57823
+ }) | {
55226
57824
  message: string;
55227
57825
  is_connected_account_error: true;
55228
57826
  error_code: string;
@@ -57792,11 +60390,72 @@ interface Routes {
57792
60390
  /** Unique identifier for the Seam workspace associated with the device. */
57793
60391
  workspace_id: string;
57794
60392
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
57795
- errors: Array<{
60393
+ errors: Array<({
57796
60394
  message: string;
57797
60395
  is_device_error: true;
57798
- error_code: string;
60396
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60397
+ error_code: 'device_offline';
60398
+ } | {
60399
+ message: string;
60400
+ is_device_error: true;
60401
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60402
+ error_code: 'device_removed';
60403
+ } | {
60404
+ message: string;
60405
+ is_device_error: true;
60406
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60407
+ error_code: 'account_disconnected';
60408
+ } | {
60409
+ message: string;
60410
+ is_device_error: true;
60411
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60412
+ error_code: 'hub_disconnected';
60413
+ } | {
60414
+ message: string;
60415
+ is_device_error: true;
60416
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60417
+ error_code: 'device_disconnected';
60418
+ } | {
60419
+ message: string;
60420
+ is_device_error: true;
60421
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60422
+ error_code: 'empty_backup_access_code_pool';
60423
+ } | {
60424
+ message: string;
60425
+ is_device_error: true;
60426
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60427
+ error_code: 'august_lock_not_authorized';
60428
+ } | {
60429
+ message: string;
60430
+ is_device_error: true;
60431
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60432
+ error_code: 'august_lock_missing_bridge';
57799
60433
  } | {
60434
+ message: string;
60435
+ is_device_error: true;
60436
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60437
+ error_code: 'salto_site_user_limit_reached';
60438
+ } | {
60439
+ message: string;
60440
+ is_device_error: true;
60441
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60442
+ error_code: 'ttlock_lock_not_paired_to_gateway';
60443
+ } | {
60444
+ message: string;
60445
+ is_device_error: true;
60446
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60447
+ error_code: 'missing_device_credentials';
60448
+ } | {
60449
+ message: string;
60450
+ is_device_error: true;
60451
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60452
+ error_code: 'auxiliary_heat_running';
60453
+ } | {
60454
+ message: string;
60455
+ is_device_error: true;
60456
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60457
+ error_code: 'subscription_required';
60458
+ }) | {
57800
60459
  message: string;
57801
60460
  is_connected_account_error: true;
57802
60461
  error_code: string;
@@ -57879,11 +60538,72 @@ interface Routes {
57879
60538
  /** Unique identifier for the Seam workspace associated with the device. */
57880
60539
  workspace_id: string;
57881
60540
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
57882
- errors: Array<{
60541
+ errors: Array<({
57883
60542
  message: string;
57884
60543
  is_device_error: true;
57885
- error_code: string;
60544
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60545
+ error_code: 'device_offline';
60546
+ } | {
60547
+ message: string;
60548
+ is_device_error: true;
60549
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60550
+ error_code: 'device_removed';
60551
+ } | {
60552
+ message: string;
60553
+ is_device_error: true;
60554
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60555
+ error_code: 'account_disconnected';
60556
+ } | {
60557
+ message: string;
60558
+ is_device_error: true;
60559
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60560
+ error_code: 'hub_disconnected';
60561
+ } | {
60562
+ message: string;
60563
+ is_device_error: true;
60564
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60565
+ error_code: 'device_disconnected';
57886
60566
  } | {
60567
+ message: string;
60568
+ is_device_error: true;
60569
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60570
+ error_code: 'empty_backup_access_code_pool';
60571
+ } | {
60572
+ message: string;
60573
+ is_device_error: true;
60574
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60575
+ error_code: 'august_lock_not_authorized';
60576
+ } | {
60577
+ message: string;
60578
+ is_device_error: true;
60579
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60580
+ error_code: 'august_lock_missing_bridge';
60581
+ } | {
60582
+ message: string;
60583
+ is_device_error: true;
60584
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60585
+ error_code: 'salto_site_user_limit_reached';
60586
+ } | {
60587
+ message: string;
60588
+ is_device_error: true;
60589
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60590
+ error_code: 'ttlock_lock_not_paired_to_gateway';
60591
+ } | {
60592
+ message: string;
60593
+ is_device_error: true;
60594
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60595
+ error_code: 'missing_device_credentials';
60596
+ } | {
60597
+ message: string;
60598
+ is_device_error: true;
60599
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60600
+ error_code: 'auxiliary_heat_running';
60601
+ } | {
60602
+ message: string;
60603
+ is_device_error: true;
60604
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60605
+ error_code: 'subscription_required';
60606
+ }) | {
57887
60607
  message: string;
57888
60608
  is_connected_account_error: true;
57889
60609
  error_code: string;
@@ -60077,11 +62797,72 @@ interface Routes {
60077
62797
  /** Unique identifier for the Seam workspace associated with the device. */
60078
62798
  workspace_id: string;
60079
62799
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
60080
- errors: Array<{
62800
+ errors: Array<({
60081
62801
  message: string;
60082
62802
  is_device_error: true;
60083
- error_code: string;
62803
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62804
+ error_code: 'device_offline';
62805
+ } | {
62806
+ message: string;
62807
+ is_device_error: true;
62808
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62809
+ error_code: 'device_removed';
60084
62810
  } | {
62811
+ message: string;
62812
+ is_device_error: true;
62813
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62814
+ error_code: 'account_disconnected';
62815
+ } | {
62816
+ message: string;
62817
+ is_device_error: true;
62818
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62819
+ error_code: 'hub_disconnected';
62820
+ } | {
62821
+ message: string;
62822
+ is_device_error: true;
62823
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62824
+ error_code: 'device_disconnected';
62825
+ } | {
62826
+ message: string;
62827
+ is_device_error: true;
62828
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62829
+ error_code: 'empty_backup_access_code_pool';
62830
+ } | {
62831
+ message: string;
62832
+ is_device_error: true;
62833
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62834
+ error_code: 'august_lock_not_authorized';
62835
+ } | {
62836
+ message: string;
62837
+ is_device_error: true;
62838
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62839
+ error_code: 'august_lock_missing_bridge';
62840
+ } | {
62841
+ message: string;
62842
+ is_device_error: true;
62843
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62844
+ error_code: 'salto_site_user_limit_reached';
62845
+ } | {
62846
+ message: string;
62847
+ is_device_error: true;
62848
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62849
+ error_code: 'ttlock_lock_not_paired_to_gateway';
62850
+ } | {
62851
+ message: string;
62852
+ is_device_error: true;
62853
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62854
+ error_code: 'missing_device_credentials';
62855
+ } | {
62856
+ message: string;
62857
+ is_device_error: true;
62858
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62859
+ error_code: 'auxiliary_heat_running';
62860
+ } | {
62861
+ message: string;
62862
+ is_device_error: true;
62863
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62864
+ error_code: 'subscription_required';
62865
+ }) | {
60085
62866
  message: string;
60086
62867
  is_connected_account_error: true;
60087
62868
  error_code: string;
@@ -62260,11 +65041,72 @@ interface Routes {
62260
65041
  /** Unique identifier for the Seam workspace associated with the device. */
62261
65042
  workspace_id: string;
62262
65043
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
62263
- errors: Array<{
65044
+ errors: Array<({
62264
65045
  message: string;
62265
65046
  is_device_error: true;
62266
- error_code: string;
65047
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65048
+ error_code: 'device_offline';
65049
+ } | {
65050
+ message: string;
65051
+ is_device_error: true;
65052
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65053
+ error_code: 'device_removed';
65054
+ } | {
65055
+ message: string;
65056
+ is_device_error: true;
65057
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65058
+ error_code: 'account_disconnected';
65059
+ } | {
65060
+ message: string;
65061
+ is_device_error: true;
65062
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65063
+ error_code: 'hub_disconnected';
65064
+ } | {
65065
+ message: string;
65066
+ is_device_error: true;
65067
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65068
+ error_code: 'device_disconnected';
65069
+ } | {
65070
+ message: string;
65071
+ is_device_error: true;
65072
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65073
+ error_code: 'empty_backup_access_code_pool';
65074
+ } | {
65075
+ message: string;
65076
+ is_device_error: true;
65077
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65078
+ error_code: 'august_lock_not_authorized';
65079
+ } | {
65080
+ message: string;
65081
+ is_device_error: true;
65082
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65083
+ error_code: 'august_lock_missing_bridge';
62267
65084
  } | {
65085
+ message: string;
65086
+ is_device_error: true;
65087
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65088
+ error_code: 'salto_site_user_limit_reached';
65089
+ } | {
65090
+ message: string;
65091
+ is_device_error: true;
65092
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65093
+ error_code: 'ttlock_lock_not_paired_to_gateway';
65094
+ } | {
65095
+ message: string;
65096
+ is_device_error: true;
65097
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65098
+ error_code: 'missing_device_credentials';
65099
+ } | {
65100
+ message: string;
65101
+ is_device_error: true;
65102
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65103
+ error_code: 'auxiliary_heat_running';
65104
+ } | {
65105
+ message: string;
65106
+ is_device_error: true;
65107
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65108
+ error_code: 'subscription_required';
65109
+ }) | {
62268
65110
  message: string;
62269
65111
  is_connected_account_error: true;
62270
65112
  error_code: string;
@@ -62780,11 +65622,72 @@ interface Routes {
62780
65622
  /** Unique identifier for the Seam workspace associated with the device. */
62781
65623
  workspace_id: string;
62782
65624
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
62783
- errors: Array<{
65625
+ errors: Array<({
62784
65626
  message: string;
62785
65627
  is_device_error: true;
62786
- error_code: string;
65628
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65629
+ error_code: 'device_offline';
65630
+ } | {
65631
+ message: string;
65632
+ is_device_error: true;
65633
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65634
+ error_code: 'device_removed';
65635
+ } | {
65636
+ message: string;
65637
+ is_device_error: true;
65638
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65639
+ error_code: 'account_disconnected';
65640
+ } | {
65641
+ message: string;
65642
+ is_device_error: true;
65643
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65644
+ error_code: 'hub_disconnected';
65645
+ } | {
65646
+ message: string;
65647
+ is_device_error: true;
65648
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65649
+ error_code: 'device_disconnected';
62787
65650
  } | {
65651
+ message: string;
65652
+ is_device_error: true;
65653
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65654
+ error_code: 'empty_backup_access_code_pool';
65655
+ } | {
65656
+ message: string;
65657
+ is_device_error: true;
65658
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65659
+ error_code: 'august_lock_not_authorized';
65660
+ } | {
65661
+ message: string;
65662
+ is_device_error: true;
65663
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65664
+ error_code: 'august_lock_missing_bridge';
65665
+ } | {
65666
+ message: string;
65667
+ is_device_error: true;
65668
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65669
+ error_code: 'salto_site_user_limit_reached';
65670
+ } | {
65671
+ message: string;
65672
+ is_device_error: true;
65673
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65674
+ error_code: 'ttlock_lock_not_paired_to_gateway';
65675
+ } | {
65676
+ message: string;
65677
+ is_device_error: true;
65678
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65679
+ error_code: 'missing_device_credentials';
65680
+ } | {
65681
+ message: string;
65682
+ is_device_error: true;
65683
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65684
+ error_code: 'auxiliary_heat_running';
65685
+ } | {
65686
+ message: string;
65687
+ is_device_error: true;
65688
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65689
+ error_code: 'subscription_required';
65690
+ }) | {
62788
65691
  message: string;
62789
65692
  is_connected_account_error: true;
62790
65693
  error_code: string;
@@ -66224,11 +69127,72 @@ interface Routes {
66224
69127
  /** Unique identifier for the Seam workspace associated with the device. */
66225
69128
  workspace_id: string;
66226
69129
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
66227
- errors: Array<{
69130
+ errors: Array<({
66228
69131
  message: string;
66229
69132
  is_device_error: true;
66230
- error_code: string;
69133
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69134
+ error_code: 'device_offline';
69135
+ } | {
69136
+ message: string;
69137
+ is_device_error: true;
69138
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69139
+ error_code: 'device_removed';
66231
69140
  } | {
69141
+ message: string;
69142
+ is_device_error: true;
69143
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69144
+ error_code: 'account_disconnected';
69145
+ } | {
69146
+ message: string;
69147
+ is_device_error: true;
69148
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69149
+ error_code: 'hub_disconnected';
69150
+ } | {
69151
+ message: string;
69152
+ is_device_error: true;
69153
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69154
+ error_code: 'device_disconnected';
69155
+ } | {
69156
+ message: string;
69157
+ is_device_error: true;
69158
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69159
+ error_code: 'empty_backup_access_code_pool';
69160
+ } | {
69161
+ message: string;
69162
+ is_device_error: true;
69163
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69164
+ error_code: 'august_lock_not_authorized';
69165
+ } | {
69166
+ message: string;
69167
+ is_device_error: true;
69168
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69169
+ error_code: 'august_lock_missing_bridge';
69170
+ } | {
69171
+ message: string;
69172
+ is_device_error: true;
69173
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69174
+ error_code: 'salto_site_user_limit_reached';
69175
+ } | {
69176
+ message: string;
69177
+ is_device_error: true;
69178
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69179
+ error_code: 'ttlock_lock_not_paired_to_gateway';
69180
+ } | {
69181
+ message: string;
69182
+ is_device_error: true;
69183
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69184
+ error_code: 'missing_device_credentials';
69185
+ } | {
69186
+ message: string;
69187
+ is_device_error: true;
69188
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69189
+ error_code: 'auxiliary_heat_running';
69190
+ } | {
69191
+ message: string;
69192
+ is_device_error: true;
69193
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69194
+ error_code: 'subscription_required';
69195
+ }) | {
66232
69196
  message: string;
66233
69197
  is_connected_account_error: true;
66234
69198
  error_code: string;
@@ -66746,11 +69710,72 @@ interface Routes {
66746
69710
  /** Unique identifier for the Seam workspace associated with the device. */
66747
69711
  workspace_id: string;
66748
69712
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
66749
- errors: Array<{
69713
+ errors: Array<({
66750
69714
  message: string;
66751
69715
  is_device_error: true;
66752
- error_code: string;
69716
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69717
+ error_code: 'device_offline';
69718
+ } | {
69719
+ message: string;
69720
+ is_device_error: true;
69721
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69722
+ error_code: 'device_removed';
69723
+ } | {
69724
+ message: string;
69725
+ is_device_error: true;
69726
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69727
+ error_code: 'account_disconnected';
69728
+ } | {
69729
+ message: string;
69730
+ is_device_error: true;
69731
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69732
+ error_code: 'hub_disconnected';
69733
+ } | {
69734
+ message: string;
69735
+ is_device_error: true;
69736
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69737
+ error_code: 'device_disconnected';
69738
+ } | {
69739
+ message: string;
69740
+ is_device_error: true;
69741
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69742
+ error_code: 'empty_backup_access_code_pool';
69743
+ } | {
69744
+ message: string;
69745
+ is_device_error: true;
69746
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69747
+ error_code: 'august_lock_not_authorized';
69748
+ } | {
69749
+ message: string;
69750
+ is_device_error: true;
69751
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69752
+ error_code: 'august_lock_missing_bridge';
66753
69753
  } | {
69754
+ message: string;
69755
+ is_device_error: true;
69756
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69757
+ error_code: 'salto_site_user_limit_reached';
69758
+ } | {
69759
+ message: string;
69760
+ is_device_error: true;
69761
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69762
+ error_code: 'ttlock_lock_not_paired_to_gateway';
69763
+ } | {
69764
+ message: string;
69765
+ is_device_error: true;
69766
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69767
+ error_code: 'missing_device_credentials';
69768
+ } | {
69769
+ message: string;
69770
+ is_device_error: true;
69771
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69772
+ error_code: 'auxiliary_heat_running';
69773
+ } | {
69774
+ message: string;
69775
+ is_device_error: true;
69776
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69777
+ error_code: 'subscription_required';
69778
+ }) | {
66754
69779
  message: string;
66755
69780
  is_connected_account_error: true;
66756
69781
  error_code: string;