@seamapi/types 1.324.0 → 1.325.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";
65
104
  is_device_error: true;
66
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";
195
+ is_device_error: true;
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";
213
478
  is_device_error: true;
214
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";
595
+ is_device_error: true;
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";
7969
+ is_device_error: true;
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";
7309
8112
  is_device_error: true;
7310
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: {
@@ -12739,28 +13903,36 @@ declare const _default: {
12739
13903
  message: {
12740
13904
  type: string;
12741
13905
  };
12742
- is_device_error?: never;
12743
13906
  is_connected_account_error?: never;
12744
13907
  };
12745
13908
  required: string[];
12746
13909
  type: string;
13910
+ description?: never;
13911
+ oneOf?: never;
12747
13912
  } | {
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;
13913
+ description: string;
13914
+ oneOf: {
13915
+ description: string;
13916
+ properties: {
13917
+ error_code: {
13918
+ description: string;
13919
+ enum: string[];
13920
+ type: string;
13921
+ };
13922
+ is_device_error: {
13923
+ enum: boolean[];
13924
+ type: string;
13925
+ };
13926
+ message: {
13927
+ type: string;
13928
+ };
12758
13929
  };
12759
- is_access_code_error?: never;
12760
- is_connected_account_error?: never;
12761
- };
12762
- required: string[];
12763
- type: string;
13930
+ required: string[];
13931
+ type: string;
13932
+ }[];
13933
+ properties?: never;
13934
+ required?: never;
13935
+ type?: never;
12764
13936
  } | {
12765
13937
  properties: {
12766
13938
  error_code: {
@@ -12774,10 +13946,11 @@ declare const _default: {
12774
13946
  type: string;
12775
13947
  };
12776
13948
  is_access_code_error?: never;
12777
- is_device_error?: never;
12778
13949
  };
12779
13950
  required: string[];
12780
13951
  type: string;
13952
+ description?: never;
13953
+ oneOf?: never;
12781
13954
  })[];
12782
13955
  };
12783
13956
  type: string;
@@ -15040,21 +16213,29 @@ declare const _default: {
15040
16213
  description: string;
15041
16214
  items: {
15042
16215
  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;
16216
+ description: string;
16217
+ oneOf: {
16218
+ description: string;
16219
+ properties: {
16220
+ error_code: {
16221
+ description: string;
16222
+ enum: string[];
16223
+ type: string;
16224
+ };
16225
+ is_device_error: {
16226
+ enum: boolean[];
16227
+ type: string;
16228
+ };
16229
+ message: {
16230
+ type: string;
16231
+ };
15053
16232
  };
15054
- is_connected_account_error?: never;
15055
- };
15056
- required: string[];
15057
- type: string;
16233
+ required: string[];
16234
+ type: string;
16235
+ }[];
16236
+ properties?: never;
16237
+ required?: never;
16238
+ type?: never;
15058
16239
  } | {
15059
16240
  properties: {
15060
16241
  error_code: {
@@ -15067,10 +16248,11 @@ declare const _default: {
15067
16248
  message: {
15068
16249
  type: string;
15069
16250
  };
15070
- is_device_error?: never;
15071
16251
  };
15072
16252
  required: string[];
15073
16253
  type: string;
16254
+ description?: never;
16255
+ oneOf?: never;
15074
16256
  })[];
15075
16257
  };
15076
16258
  type: string;
@@ -18928,21 +20110,29 @@ declare const _default: {
18928
20110
  description: string;
18929
20111
  items: {
18930
20112
  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;
20113
+ description: string;
20114
+ oneOf: {
20115
+ description: string;
20116
+ properties: {
20117
+ error_code: {
20118
+ description: string;
20119
+ enum: string[];
20120
+ type: string;
20121
+ };
20122
+ is_device_error: {
20123
+ enum: boolean[];
20124
+ type: string;
20125
+ };
20126
+ message: {
20127
+ type: string;
20128
+ };
18941
20129
  };
18942
- is_connected_account_error?: never;
18943
- };
18944
- required: string[];
18945
- type: string;
20130
+ required: string[];
20131
+ type: string;
20132
+ }[];
20133
+ properties?: never;
20134
+ required?: never;
20135
+ type?: never;
18946
20136
  } | {
18947
20137
  properties: {
18948
20138
  error_code: {
@@ -18955,10 +20145,11 @@ declare const _default: {
18955
20145
  message: {
18956
20146
  type: string;
18957
20147
  };
18958
- is_device_error?: never;
18959
20148
  };
18960
20149
  required: string[];
18961
20150
  type: string;
20151
+ description?: never;
20152
+ oneOf?: never;
18962
20153
  })[];
18963
20154
  };
18964
20155
  type: string;
@@ -19166,28 +20357,36 @@ declare const _default: {
19166
20357
  message: {
19167
20358
  type: string;
19168
20359
  };
19169
- is_device_error?: never;
19170
20360
  is_connected_account_error?: never;
19171
20361
  };
19172
20362
  required: string[];
19173
20363
  type: string;
20364
+ description?: never;
20365
+ oneOf?: never;
19174
20366
  } | {
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;
20367
+ description: string;
20368
+ oneOf: {
20369
+ description: string;
20370
+ properties: {
20371
+ error_code: {
20372
+ description: string;
20373
+ enum: string[];
20374
+ type: string;
20375
+ };
20376
+ is_device_error: {
20377
+ enum: boolean[];
20378
+ type: string;
20379
+ };
20380
+ message: {
20381
+ type: string;
20382
+ };
19185
20383
  };
19186
- is_access_code_error?: never;
19187
- is_connected_account_error?: never;
19188
- };
19189
- required: string[];
19190
- type: string;
20384
+ required: string[];
20385
+ type: string;
20386
+ }[];
20387
+ properties?: never;
20388
+ required?: never;
20389
+ type?: never;
19191
20390
  } | {
19192
20391
  properties: {
19193
20392
  error_code: {
@@ -19201,10 +20400,11 @@ declare const _default: {
19201
20400
  type: string;
19202
20401
  };
19203
20402
  is_access_code_error?: never;
19204
- is_device_error?: never;
19205
20403
  };
19206
20404
  required: string[];
19207
20405
  type: string;
20406
+ description?: never;
20407
+ oneOf?: never;
19208
20408
  })[];
19209
20409
  };
19210
20410
  type: string;
@@ -19322,21 +20522,29 @@ declare const _default: {
19322
20522
  description: string;
19323
20523
  items: {
19324
20524
  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;
20525
+ description: string;
20526
+ oneOf: {
20527
+ description: string;
20528
+ properties: {
20529
+ error_code: {
20530
+ description: string;
20531
+ enum: string[];
20532
+ type: string;
20533
+ };
20534
+ is_device_error: {
20535
+ enum: boolean[];
20536
+ type: string;
20537
+ };
20538
+ message: {
20539
+ type: string;
20540
+ };
19335
20541
  };
19336
- is_connected_account_error?: never;
19337
- };
19338
- required: string[];
19339
- type: string;
20542
+ required: string[];
20543
+ type: string;
20544
+ }[];
20545
+ properties?: never;
20546
+ required?: never;
20547
+ type?: never;
19340
20548
  } | {
19341
20549
  properties: {
19342
20550
  error_code: {
@@ -19349,10 +20557,11 @@ declare const _default: {
19349
20557
  message: {
19350
20558
  type: string;
19351
20559
  };
19352
- is_device_error?: never;
19353
20560
  };
19354
20561
  required: string[];
19355
20562
  type: string;
20563
+ description?: never;
20564
+ oneOf?: never;
19356
20565
  })[];
19357
20566
  };
19358
20567
  type: string;
@@ -36931,11 +38140,72 @@ interface Routes {
36931
38140
  message: string;
36932
38141
  is_access_code_error: true;
36933
38142
  error_code: string;
38143
+ } | ({
38144
+ message: string;
38145
+ is_device_error: true;
38146
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38147
+ error_code: 'device_offline';
36934
38148
  } | {
36935
38149
  message: string;
36936
38150
  is_device_error: true;
36937
- error_code: string;
38151
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38152
+ error_code: 'device_removed';
38153
+ } | {
38154
+ message: string;
38155
+ is_device_error: true;
38156
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38157
+ error_code: 'account_disconnected';
38158
+ } | {
38159
+ message: string;
38160
+ is_device_error: true;
38161
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38162
+ error_code: 'hub_disconnected';
38163
+ } | {
38164
+ message: string;
38165
+ is_device_error: true;
38166
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38167
+ error_code: 'device_disconnected';
38168
+ } | {
38169
+ message: string;
38170
+ is_device_error: true;
38171
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38172
+ error_code: 'empty_backup_access_code_pool';
38173
+ } | {
38174
+ message: string;
38175
+ is_device_error: true;
38176
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38177
+ error_code: 'august_lock_not_authorized';
38178
+ } | {
38179
+ message: string;
38180
+ is_device_error: true;
38181
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38182
+ error_code: 'august_lock_missing_bridge';
38183
+ } | {
38184
+ message: string;
38185
+ is_device_error: true;
38186
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38187
+ error_code: 'salto_site_user_limit_reached';
36938
38188
  } | {
38189
+ message: string;
38190
+ is_device_error: true;
38191
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38192
+ error_code: 'ttlock_lock_not_paired_to_gateway';
38193
+ } | {
38194
+ message: string;
38195
+ is_device_error: true;
38196
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38197
+ error_code: 'missing_device_credentials';
38198
+ } | {
38199
+ message: string;
38200
+ is_device_error: true;
38201
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38202
+ error_code: 'auxiliary_heat_running';
38203
+ } | {
38204
+ message: string;
38205
+ is_device_error: true;
38206
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38207
+ error_code: 'subscription_required';
38208
+ }) | {
36939
38209
  message: string;
36940
38210
  is_connected_account_error: true;
36941
38211
  error_code: string;
@@ -37019,11 +38289,72 @@ interface Routes {
37019
38289
  message: string;
37020
38290
  is_access_code_error: true;
37021
38291
  error_code: string;
38292
+ } | ({
38293
+ message: string;
38294
+ is_device_error: true;
38295
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38296
+ error_code: 'device_offline';
37022
38297
  } | {
37023
38298
  message: string;
37024
38299
  is_device_error: true;
37025
- error_code: string;
38300
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38301
+ error_code: 'device_removed';
38302
+ } | {
38303
+ message: string;
38304
+ is_device_error: true;
38305
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38306
+ error_code: 'account_disconnected';
38307
+ } | {
38308
+ message: string;
38309
+ is_device_error: true;
38310
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38311
+ error_code: 'hub_disconnected';
38312
+ } | {
38313
+ message: string;
38314
+ is_device_error: true;
38315
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38316
+ error_code: 'device_disconnected';
38317
+ } | {
38318
+ message: string;
38319
+ is_device_error: true;
38320
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38321
+ error_code: 'empty_backup_access_code_pool';
38322
+ } | {
38323
+ message: string;
38324
+ is_device_error: true;
38325
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38326
+ error_code: 'august_lock_not_authorized';
38327
+ } | {
38328
+ message: string;
38329
+ is_device_error: true;
38330
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38331
+ error_code: 'august_lock_missing_bridge';
38332
+ } | {
38333
+ message: string;
38334
+ is_device_error: true;
38335
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38336
+ error_code: 'salto_site_user_limit_reached';
38337
+ } | {
38338
+ message: string;
38339
+ is_device_error: true;
38340
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38341
+ error_code: 'ttlock_lock_not_paired_to_gateway';
38342
+ } | {
38343
+ message: string;
38344
+ is_device_error: true;
38345
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38346
+ error_code: 'missing_device_credentials';
38347
+ } | {
38348
+ message: string;
38349
+ is_device_error: true;
38350
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38351
+ error_code: 'auxiliary_heat_running';
37026
38352
  } | {
38353
+ message: string;
38354
+ is_device_error: true;
38355
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38356
+ error_code: 'subscription_required';
38357
+ }) | {
37027
38358
  message: string;
37028
38359
  is_connected_account_error: true;
37029
38360
  error_code: string;
@@ -37916,11 +39247,342 @@ interface Routes {
37916
39247
  message: string;
37917
39248
  is_access_code_error: true;
37918
39249
  error_code: string;
39250
+ } | ({
39251
+ message: string;
39252
+ is_device_error: true;
39253
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39254
+ error_code: 'device_offline';
39255
+ } | {
39256
+ message: string;
39257
+ is_device_error: true;
39258
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39259
+ error_code: 'device_removed';
37919
39260
  } | {
37920
39261
  message: string;
37921
39262
  is_device_error: true;
39263
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39264
+ error_code: 'account_disconnected';
39265
+ } | {
39266
+ message: string;
39267
+ is_device_error: true;
39268
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39269
+ error_code: 'hub_disconnected';
39270
+ } | {
39271
+ message: string;
39272
+ is_device_error: true;
39273
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39274
+ error_code: 'device_disconnected';
39275
+ } | {
39276
+ message: string;
39277
+ is_device_error: true;
39278
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39279
+ error_code: 'empty_backup_access_code_pool';
39280
+ } | {
39281
+ message: string;
39282
+ is_device_error: true;
39283
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39284
+ error_code: 'august_lock_not_authorized';
39285
+ } | {
39286
+ message: string;
39287
+ is_device_error: true;
39288
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39289
+ error_code: 'august_lock_missing_bridge';
39290
+ } | {
39291
+ message: string;
39292
+ is_device_error: true;
39293
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39294
+ error_code: 'salto_site_user_limit_reached';
39295
+ } | {
39296
+ message: string;
39297
+ is_device_error: true;
39298
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39299
+ error_code: 'ttlock_lock_not_paired_to_gateway';
39300
+ } | {
39301
+ message: string;
39302
+ is_device_error: true;
39303
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39304
+ error_code: 'missing_device_credentials';
39305
+ } | {
39306
+ message: string;
39307
+ is_device_error: true;
39308
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39309
+ error_code: 'auxiliary_heat_running';
39310
+ } | {
39311
+ message: string;
39312
+ is_device_error: true;
39313
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39314
+ error_code: 'subscription_required';
39315
+ }) | {
39316
+ message: string;
39317
+ is_connected_account_error: true;
37922
39318
  error_code: string;
39319
+ }>;
39320
+ /** 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. */
39321
+ warnings: Array<{
39322
+ message: string;
39323
+ warning_code: string;
39324
+ }>;
39325
+ /** Indicates whether Seam manages the access code. */
39326
+ is_managed: true;
39327
+ /** Date and time at which the time-bound access code becomes active. */
39328
+ starts_at?: (string | null) | undefined;
39329
+ /** Date and time after which the time-bound access code becomes inactive. */
39330
+ ends_at?: (string | null) | undefined;
39331
+ /**
39332
+ 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.
39333
+ */
39334
+ status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown';
39335
+ /** Indicates whether a backup access code is available for use if the primary access code is lost or compromised. */
39336
+ is_backup_access_code_available: boolean;
39337
+ /** Indicates whether the access code is a backup code. */
39338
+ is_backup?: boolean | undefined;
39339
+ /** Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code. */
39340
+ pulled_backup_access_code_id?: (string | null) | undefined;
39341
+ /** Indicates whether changes to the access code from external sources are permitted. */
39342
+ is_external_modification_allowed: boolean;
39343
+ /** Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use. */
39344
+ is_one_time_use: boolean;
39345
+ /** 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. */
39346
+ is_offline_access_code: boolean;
39347
+ };
39348
+ };
39349
+ };
39350
+ '/access_codes/list': {
39351
+ route: '/access_codes/list';
39352
+ method: 'GET' | 'POST';
39353
+ queryParams: {};
39354
+ jsonBody: {};
39355
+ commonParams: {
39356
+ device_id?: string | undefined;
39357
+ access_code_ids?: string[] | undefined;
39358
+ user_identifier_key?: string | undefined;
39359
+ };
39360
+ formData: {};
39361
+ jsonResponse: {
39362
+ access_codes: Array<{
39363
+ /** Unique identifier for a group of access codes that share the same code. */
39364
+ common_code_key: string | null;
39365
+ /** Indicates whether the code is set on the device according to a preconfigured schedule. */
39366
+ is_scheduled_on_device?: boolean | undefined;
39367
+ /** 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. */
39368
+ type: 'time_bound' | 'ongoing';
39369
+ /** Indicates whether the access code is waiting for a code assignment. */
39370
+ is_waiting_for_code_assignment?: boolean | undefined;
39371
+ /** Unique identifier for the access code. */
39372
+ access_code_id: string;
39373
+ /** Unique identifier for the device associated with the access code. */
39374
+ device_id: string;
39375
+ /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
39376
+ name: string | null;
39377
+ /** Code used for access. Typically, a numeric or alphanumeric string. */
39378
+ code: string | null;
39379
+ /** Date and time at which the access code was created. */
39380
+ created_at: string;
39381
+ /** 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. */
39382
+ errors: Array<{
39383
+ message: string;
39384
+ is_access_code_error: true;
39385
+ error_code: string;
39386
+ } | ({
39387
+ message: string;
39388
+ is_device_error: true;
39389
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39390
+ error_code: 'device_offline';
39391
+ } | {
39392
+ message: string;
39393
+ is_device_error: true;
39394
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39395
+ error_code: 'device_removed';
39396
+ } | {
39397
+ message: string;
39398
+ is_device_error: true;
39399
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39400
+ error_code: 'account_disconnected';
39401
+ } | {
39402
+ message: string;
39403
+ is_device_error: true;
39404
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39405
+ error_code: 'hub_disconnected';
39406
+ } | {
39407
+ message: string;
39408
+ is_device_error: true;
39409
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39410
+ error_code: 'device_disconnected';
37923
39411
  } | {
39412
+ message: string;
39413
+ is_device_error: true;
39414
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39415
+ error_code: 'empty_backup_access_code_pool';
39416
+ } | {
39417
+ message: string;
39418
+ is_device_error: true;
39419
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39420
+ error_code: 'august_lock_not_authorized';
39421
+ } | {
39422
+ message: string;
39423
+ is_device_error: true;
39424
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39425
+ error_code: 'august_lock_missing_bridge';
39426
+ } | {
39427
+ message: string;
39428
+ is_device_error: true;
39429
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39430
+ error_code: 'salto_site_user_limit_reached';
39431
+ } | {
39432
+ message: string;
39433
+ is_device_error: true;
39434
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39435
+ error_code: 'ttlock_lock_not_paired_to_gateway';
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: 'missing_device_credentials';
39441
+ } | {
39442
+ message: string;
39443
+ is_device_error: true;
39444
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39445
+ error_code: 'auxiliary_heat_running';
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: 'subscription_required';
39451
+ }) | {
39452
+ message: string;
39453
+ is_connected_account_error: true;
39454
+ error_code: string;
39455
+ }>;
39456
+ /** 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. */
39457
+ warnings: Array<{
39458
+ message: string;
39459
+ warning_code: string;
39460
+ }>;
39461
+ /** Indicates whether Seam manages the access code. */
39462
+ is_managed: true;
39463
+ /** Date and time at which the time-bound access code becomes active. */
39464
+ starts_at?: (string | null) | undefined;
39465
+ /** Date and time after which the time-bound access code becomes inactive. */
39466
+ ends_at?: (string | null) | undefined;
39467
+ /**
39468
+ 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.
39469
+ */
39470
+ status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown';
39471
+ /** Indicates whether a backup access code is available for use if the primary access code is lost or compromised. */
39472
+ is_backup_access_code_available: boolean;
39473
+ /** Indicates whether the access code is a backup code. */
39474
+ is_backup?: boolean | undefined;
39475
+ /** Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code. */
39476
+ pulled_backup_access_code_id?: (string | null) | undefined;
39477
+ /** Indicates whether changes to the access code from external sources are permitted. */
39478
+ is_external_modification_allowed: boolean;
39479
+ /** Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use. */
39480
+ is_one_time_use: boolean;
39481
+ /** 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. */
39482
+ is_offline_access_code: boolean;
39483
+ }>;
39484
+ };
39485
+ };
39486
+ '/access_codes/pull_backup_access_code': {
39487
+ route: '/access_codes/pull_backup_access_code';
39488
+ method: 'POST';
39489
+ queryParams: {};
39490
+ jsonBody: {
39491
+ access_code_id: string;
39492
+ };
39493
+ commonParams: {};
39494
+ formData: {};
39495
+ jsonResponse: {
39496
+ backup_access_code: {
39497
+ /** Unique identifier for a group of access codes that share the same code. */
39498
+ common_code_key: string | null;
39499
+ /** Indicates whether the code is set on the device according to a preconfigured schedule. */
39500
+ is_scheduled_on_device?: boolean | undefined;
39501
+ /** 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. */
39502
+ type: 'time_bound' | 'ongoing';
39503
+ /** Indicates whether the access code is waiting for a code assignment. */
39504
+ is_waiting_for_code_assignment?: boolean | undefined;
39505
+ /** Unique identifier for the access code. */
39506
+ access_code_id: string;
39507
+ /** Unique identifier for the device associated with the access code. */
39508
+ device_id: string;
39509
+ /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
39510
+ name: string | null;
39511
+ /** Code used for access. Typically, a numeric or alphanumeric string. */
39512
+ code: string | null;
39513
+ /** Date and time at which the access code was created. */
39514
+ created_at: string;
39515
+ /** 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. */
39516
+ errors: Array<{
39517
+ message: string;
39518
+ is_access_code_error: true;
39519
+ error_code: string;
39520
+ } | ({
39521
+ message: string;
39522
+ is_device_error: true;
39523
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39524
+ error_code: 'device_offline';
39525
+ } | {
39526
+ message: string;
39527
+ is_device_error: true;
39528
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39529
+ error_code: 'device_removed';
39530
+ } | {
39531
+ message: string;
39532
+ is_device_error: true;
39533
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39534
+ error_code: 'account_disconnected';
39535
+ } | {
39536
+ message: string;
39537
+ is_device_error: true;
39538
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39539
+ error_code: 'hub_disconnected';
39540
+ } | {
39541
+ message: string;
39542
+ is_device_error: true;
39543
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39544
+ error_code: 'device_disconnected';
39545
+ } | {
39546
+ message: string;
39547
+ is_device_error: true;
39548
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39549
+ error_code: 'empty_backup_access_code_pool';
39550
+ } | {
39551
+ message: string;
39552
+ is_device_error: true;
39553
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39554
+ error_code: 'august_lock_not_authorized';
39555
+ } | {
39556
+ message: string;
39557
+ is_device_error: true;
39558
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39559
+ error_code: 'august_lock_missing_bridge';
39560
+ } | {
39561
+ message: string;
39562
+ is_device_error: true;
39563
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39564
+ error_code: 'salto_site_user_limit_reached';
39565
+ } | {
39566
+ message: string;
39567
+ is_device_error: true;
39568
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39569
+ error_code: 'ttlock_lock_not_paired_to_gateway';
39570
+ } | {
39571
+ message: string;
39572
+ is_device_error: true;
39573
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39574
+ error_code: 'missing_device_credentials';
39575
+ } | {
39576
+ message: string;
39577
+ is_device_error: true;
39578
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39579
+ error_code: 'auxiliary_heat_running';
39580
+ } | {
39581
+ message: string;
39582
+ is_device_error: true;
39583
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39584
+ error_code: 'subscription_required';
39585
+ }) | {
37924
39586
  message: string;
37925
39587
  is_connected_account_error: true;
37926
39588
  error_code: string;
@@ -37953,21 +39615,7 @@ interface Routes {
37953
39615
  /** 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. */
37954
39616
  is_offline_access_code: boolean;
37955
39617
  };
37956
- };
37957
- };
37958
- '/access_codes/list': {
37959
- route: '/access_codes/list';
37960
- method: 'GET' | 'POST';
37961
- queryParams: {};
37962
- jsonBody: {};
37963
- commonParams: {
37964
- device_id?: string | undefined;
37965
- access_code_ids?: string[] | undefined;
37966
- user_identifier_key?: string | undefined;
37967
- };
37968
- formData: {};
37969
- jsonResponse: {
37970
- access_codes: Array<{
39618
+ access_code: {
37971
39619
  /** Unique identifier for a group of access codes that share the same code. */
37972
39620
  common_code_key: string | null;
37973
39621
  /** Indicates whether the code is set on the device according to a preconfigured schedule. */
@@ -37991,145 +39639,72 @@ interface Routes {
37991
39639
  message: string;
37992
39640
  is_access_code_error: true;
37993
39641
  error_code: string;
39642
+ } | ({
39643
+ message: string;
39644
+ is_device_error: true;
39645
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39646
+ error_code: 'device_offline';
37994
39647
  } | {
37995
39648
  message: string;
37996
39649
  is_device_error: true;
37997
- error_code: string;
39650
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39651
+ error_code: 'device_removed';
37998
39652
  } | {
37999
39653
  message: string;
38000
- is_connected_account_error: true;
38001
- error_code: string;
38002
- }>;
38003
- /** 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. */
38004
- warnings: Array<{
39654
+ is_device_error: true;
39655
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39656
+ error_code: 'account_disconnected';
39657
+ } | {
38005
39658
  message: string;
38006
- warning_code: string;
38007
- }>;
38008
- /** Indicates whether Seam manages the access code. */
38009
- is_managed: true;
38010
- /** Date and time at which the time-bound access code becomes active. */
38011
- starts_at?: (string | null) | undefined;
38012
- /** Date and time after which the time-bound access code becomes inactive. */
38013
- ends_at?: (string | null) | undefined;
38014
- /**
38015
- 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.
38016
- */
38017
- status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown';
38018
- /** Indicates whether a backup access code is available for use if the primary access code is lost or compromised. */
38019
- is_backup_access_code_available: boolean;
38020
- /** Indicates whether the access code is a backup code. */
38021
- is_backup?: boolean | undefined;
38022
- /** Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code. */
38023
- pulled_backup_access_code_id?: (string | null) | undefined;
38024
- /** Indicates whether changes to the access code from external sources are permitted. */
38025
- is_external_modification_allowed: boolean;
38026
- /** Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use. */
38027
- is_one_time_use: boolean;
38028
- /** 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
- 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: {
38044
- /** Unique identifier for a group of access codes that share the same code. */
38045
- common_code_key: string | null;
38046
- /** Indicates whether the code is set on the device according to a preconfigured schedule. */
38047
- is_scheduled_on_device?: boolean | undefined;
38048
- /** 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. */
38049
- type: 'time_bound' | 'ongoing';
38050
- /** Indicates whether the access code is waiting for a code assignment. */
38051
- is_waiting_for_code_assignment?: boolean | undefined;
38052
- /** Unique identifier for the access code. */
38053
- access_code_id: string;
38054
- /** Unique identifier for the device associated with the access code. */
38055
- device_id: string;
38056
- /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
38057
- name: string | null;
38058
- /** Code used for access. Typically, a numeric or alphanumeric string. */
38059
- code: string | null;
38060
- /** Date and time at which the access code was created. */
38061
- created_at: string;
38062
- /** 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. */
38063
- errors: Array<{
39659
+ is_device_error: true;
39660
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39661
+ error_code: 'hub_disconnected';
39662
+ } | {
38064
39663
  message: string;
38065
- is_access_code_error: true;
38066
- error_code: string;
39664
+ is_device_error: true;
39665
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39666
+ error_code: 'device_disconnected';
38067
39667
  } | {
38068
39668
  message: string;
38069
39669
  is_device_error: true;
38070
- error_code: string;
39670
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39671
+ error_code: 'empty_backup_access_code_pool';
38071
39672
  } | {
38072
39673
  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<{
39674
+ is_device_error: true;
39675
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39676
+ error_code: 'august_lock_not_authorized';
39677
+ } | {
38078
39678
  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<{
39679
+ is_device_error: true;
39680
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39681
+ error_code: 'august_lock_missing_bridge';
39682
+ } | {
38125
39683
  message: string;
38126
- is_access_code_error: true;
38127
- error_code: string;
39684
+ is_device_error: true;
39685
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39686
+ error_code: 'salto_site_user_limit_reached';
38128
39687
  } | {
38129
39688
  message: string;
38130
39689
  is_device_error: true;
38131
- error_code: string;
39690
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39691
+ error_code: 'ttlock_lock_not_paired_to_gateway';
38132
39692
  } | {
39693
+ message: string;
39694
+ is_device_error: true;
39695
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39696
+ error_code: 'missing_device_credentials';
39697
+ } | {
39698
+ message: string;
39699
+ is_device_error: true;
39700
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39701
+ error_code: 'auxiliary_heat_running';
39702
+ } | {
39703
+ message: string;
39704
+ is_device_error: true;
39705
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39706
+ error_code: 'subscription_required';
39707
+ }) | {
38133
39708
  message: string;
38134
39709
  is_connected_account_error: true;
38135
39710
  error_code: string;
@@ -38194,11 +39769,72 @@ interface Routes {
38194
39769
  message: string;
38195
39770
  is_access_code_error: true;
38196
39771
  error_code: string;
39772
+ } | ({
39773
+ message: string;
39774
+ is_device_error: true;
39775
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39776
+ error_code: 'device_offline';
38197
39777
  } | {
38198
39778
  message: string;
38199
39779
  is_device_error: true;
38200
- error_code: string;
39780
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39781
+ error_code: 'device_removed';
39782
+ } | {
39783
+ message: string;
39784
+ is_device_error: true;
39785
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39786
+ error_code: 'account_disconnected';
39787
+ } | {
39788
+ message: string;
39789
+ is_device_error: true;
39790
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39791
+ error_code: 'hub_disconnected';
39792
+ } | {
39793
+ message: string;
39794
+ is_device_error: true;
39795
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39796
+ error_code: 'device_disconnected';
39797
+ } | {
39798
+ message: string;
39799
+ is_device_error: true;
39800
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39801
+ error_code: 'empty_backup_access_code_pool';
39802
+ } | {
39803
+ message: string;
39804
+ is_device_error: true;
39805
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39806
+ error_code: 'august_lock_not_authorized';
39807
+ } | {
39808
+ message: string;
39809
+ is_device_error: true;
39810
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39811
+ error_code: 'august_lock_missing_bridge';
39812
+ } | {
39813
+ message: string;
39814
+ is_device_error: true;
39815
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39816
+ error_code: 'salto_site_user_limit_reached';
38201
39817
  } | {
39818
+ message: string;
39819
+ is_device_error: true;
39820
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39821
+ error_code: 'ttlock_lock_not_paired_to_gateway';
39822
+ } | {
39823
+ message: string;
39824
+ is_device_error: true;
39825
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39826
+ error_code: 'missing_device_credentials';
39827
+ } | {
39828
+ message: string;
39829
+ is_device_error: true;
39830
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39831
+ error_code: 'auxiliary_heat_running';
39832
+ } | {
39833
+ message: string;
39834
+ is_device_error: true;
39835
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39836
+ error_code: 'subscription_required';
39837
+ }) | {
38202
39838
  message: string;
38203
39839
  is_connected_account_error: true;
38204
39840
  error_code: string;
@@ -39067,11 +40703,72 @@ interface Routes {
39067
40703
  message: string;
39068
40704
  is_access_code_error: true;
39069
40705
  error_code: string;
40706
+ } | ({
40707
+ message: string;
40708
+ is_device_error: true;
40709
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40710
+ error_code: 'device_offline';
39070
40711
  } | {
39071
40712
  message: string;
39072
40713
  is_device_error: true;
39073
- error_code: string;
40714
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40715
+ error_code: 'device_removed';
39074
40716
  } | {
40717
+ message: string;
40718
+ is_device_error: true;
40719
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40720
+ error_code: 'account_disconnected';
40721
+ } | {
40722
+ message: string;
40723
+ is_device_error: true;
40724
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40725
+ error_code: 'hub_disconnected';
40726
+ } | {
40727
+ message: string;
40728
+ is_device_error: true;
40729
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40730
+ error_code: 'device_disconnected';
40731
+ } | {
40732
+ message: string;
40733
+ is_device_error: true;
40734
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40735
+ error_code: 'empty_backup_access_code_pool';
40736
+ } | {
40737
+ message: string;
40738
+ is_device_error: true;
40739
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40740
+ error_code: 'august_lock_not_authorized';
40741
+ } | {
40742
+ message: string;
40743
+ is_device_error: true;
40744
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40745
+ error_code: 'august_lock_missing_bridge';
40746
+ } | {
40747
+ message: string;
40748
+ is_device_error: true;
40749
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40750
+ error_code: 'salto_site_user_limit_reached';
40751
+ } | {
40752
+ message: string;
40753
+ is_device_error: true;
40754
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40755
+ error_code: 'ttlock_lock_not_paired_to_gateway';
40756
+ } | {
40757
+ message: string;
40758
+ is_device_error: true;
40759
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40760
+ error_code: 'missing_device_credentials';
40761
+ } | {
40762
+ message: string;
40763
+ is_device_error: true;
40764
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40765
+ error_code: 'auxiliary_heat_running';
40766
+ } | {
40767
+ message: string;
40768
+ is_device_error: true;
40769
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40770
+ error_code: 'subscription_required';
40771
+ }) | {
39075
40772
  message: string;
39076
40773
  is_connected_account_error: true;
39077
40774
  error_code: string;
@@ -39119,11 +40816,72 @@ interface Routes {
39119
40816
  message: string;
39120
40817
  is_access_code_error: true;
39121
40818
  error_code: string;
40819
+ } | ({
40820
+ message: string;
40821
+ is_device_error: true;
40822
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40823
+ error_code: 'device_offline';
39122
40824
  } | {
39123
40825
  message: string;
39124
40826
  is_device_error: true;
39125
- error_code: string;
40827
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40828
+ error_code: 'device_removed';
40829
+ } | {
40830
+ message: string;
40831
+ is_device_error: true;
40832
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40833
+ error_code: 'account_disconnected';
40834
+ } | {
40835
+ message: string;
40836
+ is_device_error: true;
40837
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40838
+ error_code: 'hub_disconnected';
40839
+ } | {
40840
+ message: string;
40841
+ is_device_error: true;
40842
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40843
+ error_code: 'device_disconnected';
40844
+ } | {
40845
+ message: string;
40846
+ is_device_error: true;
40847
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40848
+ error_code: 'empty_backup_access_code_pool';
40849
+ } | {
40850
+ message: string;
40851
+ is_device_error: true;
40852
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40853
+ error_code: 'august_lock_not_authorized';
40854
+ } | {
40855
+ message: string;
40856
+ is_device_error: true;
40857
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40858
+ error_code: 'august_lock_missing_bridge';
40859
+ } | {
40860
+ message: string;
40861
+ is_device_error: true;
40862
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40863
+ error_code: 'salto_site_user_limit_reached';
40864
+ } | {
40865
+ message: string;
40866
+ is_device_error: true;
40867
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40868
+ error_code: 'ttlock_lock_not_paired_to_gateway';
39126
40869
  } | {
40870
+ message: string;
40871
+ is_device_error: true;
40872
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40873
+ error_code: 'missing_device_credentials';
40874
+ } | {
40875
+ message: string;
40876
+ is_device_error: true;
40877
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40878
+ error_code: 'auxiliary_heat_running';
40879
+ } | {
40880
+ message: string;
40881
+ is_device_error: true;
40882
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40883
+ error_code: 'subscription_required';
40884
+ }) | {
39127
40885
  message: string;
39128
40886
  is_connected_account_error: true;
39129
40887
  error_code: string;
@@ -47203,11 +48961,72 @@ interface Routes {
47203
48961
  /** Unique identifier for the Seam workspace associated with the device. */
47204
48962
  workspace_id: string;
47205
48963
  /** 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<{
48964
+ errors: Array<({
47207
48965
  message: string;
47208
48966
  is_device_error: true;
47209
- error_code: string;
48967
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48968
+ error_code: 'device_offline';
48969
+ } | {
48970
+ message: string;
48971
+ is_device_error: true;
48972
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48973
+ error_code: 'device_removed';
48974
+ } | {
48975
+ message: string;
48976
+ is_device_error: true;
48977
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48978
+ error_code: 'account_disconnected';
48979
+ } | {
48980
+ message: string;
48981
+ is_device_error: true;
48982
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48983
+ error_code: 'hub_disconnected';
48984
+ } | {
48985
+ message: string;
48986
+ is_device_error: true;
48987
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48988
+ error_code: 'device_disconnected';
48989
+ } | {
48990
+ message: string;
48991
+ is_device_error: true;
48992
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48993
+ error_code: 'empty_backup_access_code_pool';
48994
+ } | {
48995
+ message: string;
48996
+ is_device_error: true;
48997
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
48998
+ error_code: 'august_lock_not_authorized';
48999
+ } | {
49000
+ message: string;
49001
+ is_device_error: true;
49002
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49003
+ error_code: 'august_lock_missing_bridge';
49004
+ } | {
49005
+ message: string;
49006
+ is_device_error: true;
49007
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49008
+ error_code: 'salto_site_user_limit_reached';
49009
+ } | {
49010
+ message: string;
49011
+ is_device_error: true;
49012
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49013
+ error_code: 'ttlock_lock_not_paired_to_gateway';
49014
+ } | {
49015
+ message: string;
49016
+ is_device_error: true;
49017
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49018
+ error_code: 'missing_device_credentials';
49019
+ } | {
49020
+ message: string;
49021
+ is_device_error: true;
49022
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49023
+ error_code: 'auxiliary_heat_running';
47210
49024
  } | {
49025
+ message: string;
49026
+ is_device_error: true;
49027
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49028
+ error_code: 'subscription_required';
49029
+ }) | {
47211
49030
  message: string;
47212
49031
  is_connected_account_error: true;
47213
49032
  error_code: string;
@@ -47760,11 +49579,72 @@ interface Routes {
47760
49579
  /** Unique identifier for the Seam workspace associated with the device. */
47761
49580
  workspace_id: string;
47762
49581
  /** 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<{
49582
+ errors: Array<({
47764
49583
  message: string;
47765
49584
  is_device_error: true;
47766
- error_code: string;
49585
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49586
+ error_code: 'device_offline';
49587
+ } | {
49588
+ message: string;
49589
+ is_device_error: true;
49590
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49591
+ error_code: 'device_removed';
49592
+ } | {
49593
+ message: string;
49594
+ is_device_error: true;
49595
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49596
+ error_code: 'account_disconnected';
49597
+ } | {
49598
+ message: string;
49599
+ is_device_error: true;
49600
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49601
+ error_code: 'hub_disconnected';
49602
+ } | {
49603
+ message: string;
49604
+ is_device_error: true;
49605
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49606
+ error_code: 'device_disconnected';
49607
+ } | {
49608
+ message: string;
49609
+ is_device_error: true;
49610
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49611
+ error_code: 'empty_backup_access_code_pool';
49612
+ } | {
49613
+ message: string;
49614
+ is_device_error: true;
49615
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49616
+ error_code: 'august_lock_not_authorized';
49617
+ } | {
49618
+ message: string;
49619
+ is_device_error: true;
49620
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49621
+ error_code: 'august_lock_missing_bridge';
49622
+ } | {
49623
+ message: string;
49624
+ is_device_error: true;
49625
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49626
+ error_code: 'salto_site_user_limit_reached';
49627
+ } | {
49628
+ message: string;
49629
+ is_device_error: true;
49630
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49631
+ error_code: 'ttlock_lock_not_paired_to_gateway';
47767
49632
  } | {
49633
+ message: string;
49634
+ is_device_error: true;
49635
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49636
+ error_code: 'missing_device_credentials';
49637
+ } | {
49638
+ message: string;
49639
+ is_device_error: true;
49640
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49641
+ error_code: 'auxiliary_heat_running';
49642
+ } | {
49643
+ message: string;
49644
+ is_device_error: true;
49645
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49646
+ error_code: 'subscription_required';
49647
+ }) | {
47768
49648
  message: string;
47769
49649
  is_connected_account_error: true;
47770
49650
  error_code: string;
@@ -47885,11 +49765,72 @@ interface Routes {
47885
49765
  /** Unique identifier for the Seam workspace associated with the device. */
47886
49766
  workspace_id: string;
47887
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. */
47888
- errors: Array<{
49768
+ errors: Array<({
47889
49769
  message: string;
47890
49770
  is_device_error: true;
47891
- error_code: string;
49771
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49772
+ error_code: 'device_offline';
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';
47892
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
+ }) | {
47893
49834
  message: string;
47894
49835
  is_connected_account_error: true;
47895
49836
  error_code: string;
@@ -48020,11 +49961,72 @@ interface Routes {
48020
49961
  /** Unique identifier for the Seam workspace associated with the device. */
48021
49962
  workspace_id: string;
48022
49963
  /** 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<{
49964
+ errors: Array<({
48024
49965
  message: string;
48025
49966
  is_device_error: true;
48026
- error_code: string;
49967
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
49968
+ error_code: 'device_offline';
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: 'device_removed';
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: 'account_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: 'hub_disconnected';
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: 'device_disconnected';
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: 'empty_backup_access_code_pool';
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: 'august_lock_not_authorized';
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: 'august_lock_missing_bridge';
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: 'salto_site_user_limit_reached';
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: 'ttlock_lock_not_paired_to_gateway';
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: 'missing_device_credentials';
50019
+ } | {
50020
+ message: string;
50021
+ is_device_error: true;
50022
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50023
+ error_code: 'auxiliary_heat_running';
48027
50024
  } | {
50025
+ message: string;
50026
+ is_device_error: true;
50027
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
50028
+ error_code: 'subscription_required';
50029
+ }) | {
48028
50030
  message: string;
48029
50031
  is_connected_account_error: true;
48030
50032
  error_code: string;
@@ -50900,11 +52902,72 @@ interface Routes {
50900
52902
  /** Unique identifier for the Seam workspace associated with the device. */
50901
52903
  workspace_id: string;
50902
52904
  /** 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<{
52905
+ errors: Array<({
50904
52906
  message: string;
50905
52907
  is_device_error: true;
50906
- error_code: string;
52908
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52909
+ error_code: 'device_offline';
52910
+ } | {
52911
+ message: string;
52912
+ is_device_error: true;
52913
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52914
+ error_code: 'device_removed';
52915
+ } | {
52916
+ message: string;
52917
+ is_device_error: true;
52918
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52919
+ error_code: 'account_disconnected';
52920
+ } | {
52921
+ message: string;
52922
+ is_device_error: true;
52923
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52924
+ error_code: 'hub_disconnected';
52925
+ } | {
52926
+ message: string;
52927
+ is_device_error: true;
52928
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52929
+ error_code: 'device_disconnected';
52930
+ } | {
52931
+ message: string;
52932
+ is_device_error: true;
52933
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52934
+ error_code: 'empty_backup_access_code_pool';
52935
+ } | {
52936
+ message: string;
52937
+ is_device_error: true;
52938
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52939
+ error_code: 'august_lock_not_authorized';
52940
+ } | {
52941
+ message: string;
52942
+ is_device_error: true;
52943
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52944
+ error_code: 'august_lock_missing_bridge';
50907
52945
  } | {
52946
+ message: string;
52947
+ is_device_error: true;
52948
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52949
+ error_code: 'salto_site_user_limit_reached';
52950
+ } | {
52951
+ message: string;
52952
+ is_device_error: true;
52953
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52954
+ error_code: 'ttlock_lock_not_paired_to_gateway';
52955
+ } | {
52956
+ message: string;
52957
+ is_device_error: true;
52958
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52959
+ error_code: 'missing_device_credentials';
52960
+ } | {
52961
+ message: string;
52962
+ is_device_error: true;
52963
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52964
+ error_code: 'auxiliary_heat_running';
52965
+ } | {
52966
+ message: string;
52967
+ is_device_error: true;
52968
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
52969
+ error_code: 'subscription_required';
52970
+ }) | {
50908
52971
  message: string;
50909
52972
  is_connected_account_error: true;
50910
52973
  error_code: string;
@@ -51420,11 +53483,72 @@ interface Routes {
51420
53483
  /** Unique identifier for the Seam workspace associated with the device. */
51421
53484
  workspace_id: string;
51422
53485
  /** 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<{
53486
+ errors: Array<({
51424
53487
  message: string;
51425
53488
  is_device_error: true;
51426
- error_code: string;
53489
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53490
+ error_code: 'device_offline';
53491
+ } | {
53492
+ message: string;
53493
+ is_device_error: true;
53494
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53495
+ error_code: 'device_removed';
53496
+ } | {
53497
+ message: string;
53498
+ is_device_error: true;
53499
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53500
+ error_code: 'account_disconnected';
53501
+ } | {
53502
+ message: string;
53503
+ is_device_error: true;
53504
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53505
+ error_code: 'hub_disconnected';
53506
+ } | {
53507
+ message: string;
53508
+ is_device_error: true;
53509
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53510
+ error_code: 'device_disconnected';
51427
53511
  } | {
53512
+ message: string;
53513
+ is_device_error: true;
53514
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53515
+ error_code: 'empty_backup_access_code_pool';
53516
+ } | {
53517
+ message: string;
53518
+ is_device_error: true;
53519
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53520
+ error_code: 'august_lock_not_authorized';
53521
+ } | {
53522
+ message: string;
53523
+ is_device_error: true;
53524
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53525
+ error_code: 'august_lock_missing_bridge';
53526
+ } | {
53527
+ message: string;
53528
+ is_device_error: true;
53529
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53530
+ error_code: 'salto_site_user_limit_reached';
53531
+ } | {
53532
+ message: string;
53533
+ is_device_error: true;
53534
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53535
+ error_code: 'ttlock_lock_not_paired_to_gateway';
53536
+ } | {
53537
+ message: string;
53538
+ is_device_error: true;
53539
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53540
+ error_code: 'missing_device_credentials';
53541
+ } | {
53542
+ message: string;
53543
+ is_device_error: true;
53544
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53545
+ error_code: 'auxiliary_heat_running';
53546
+ } | {
53547
+ message: string;
53548
+ is_device_error: true;
53549
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53550
+ error_code: 'subscription_required';
53551
+ }) | {
51428
53552
  message: string;
51429
53553
  is_connected_account_error: true;
51430
53554
  error_code: string;
@@ -51977,11 +54101,72 @@ interface Routes {
51977
54101
  /** Unique identifier for the Seam workspace associated with the device. */
51978
54102
  workspace_id: string;
51979
54103
  /** 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<{
54104
+ errors: Array<({
51981
54105
  message: string;
51982
54106
  is_device_error: true;
51983
- error_code: string;
54107
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54108
+ error_code: 'device_offline';
54109
+ } | {
54110
+ message: string;
54111
+ is_device_error: true;
54112
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54113
+ error_code: 'device_removed';
51984
54114
  } | {
54115
+ message: string;
54116
+ is_device_error: true;
54117
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54118
+ error_code: 'account_disconnected';
54119
+ } | {
54120
+ message: string;
54121
+ is_device_error: true;
54122
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54123
+ error_code: 'hub_disconnected';
54124
+ } | {
54125
+ message: string;
54126
+ is_device_error: true;
54127
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54128
+ error_code: 'device_disconnected';
54129
+ } | {
54130
+ message: string;
54131
+ is_device_error: true;
54132
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54133
+ error_code: 'empty_backup_access_code_pool';
54134
+ } | {
54135
+ message: string;
54136
+ is_device_error: true;
54137
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54138
+ error_code: 'august_lock_not_authorized';
54139
+ } | {
54140
+ message: string;
54141
+ is_device_error: true;
54142
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54143
+ error_code: 'august_lock_missing_bridge';
54144
+ } | {
54145
+ message: string;
54146
+ is_device_error: true;
54147
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54148
+ error_code: 'salto_site_user_limit_reached';
54149
+ } | {
54150
+ message: string;
54151
+ is_device_error: true;
54152
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54153
+ error_code: 'ttlock_lock_not_paired_to_gateway';
54154
+ } | {
54155
+ message: string;
54156
+ is_device_error: true;
54157
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54158
+ error_code: 'missing_device_credentials';
54159
+ } | {
54160
+ message: string;
54161
+ is_device_error: true;
54162
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54163
+ error_code: 'auxiliary_heat_running';
54164
+ } | {
54165
+ message: string;
54166
+ is_device_error: true;
54167
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54168
+ error_code: 'subscription_required';
54169
+ }) | {
51985
54170
  message: string;
51986
54171
  is_connected_account_error: true;
51987
54172
  error_code: string;
@@ -52497,11 +54682,72 @@ interface Routes {
52497
54682
  /** Unique identifier for the Seam workspace associated with the device. */
52498
54683
  workspace_id: string;
52499
54684
  /** 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<{
54685
+ errors: Array<({
52501
54686
  message: string;
52502
54687
  is_device_error: true;
52503
- error_code: string;
54688
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54689
+ error_code: 'device_offline';
54690
+ } | {
54691
+ message: string;
54692
+ is_device_error: true;
54693
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54694
+ error_code: 'device_removed';
54695
+ } | {
54696
+ message: string;
54697
+ is_device_error: true;
54698
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54699
+ error_code: 'account_disconnected';
54700
+ } | {
54701
+ message: string;
54702
+ is_device_error: true;
54703
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54704
+ error_code: 'hub_disconnected';
54705
+ } | {
54706
+ message: string;
54707
+ is_device_error: true;
54708
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54709
+ error_code: 'device_disconnected';
54710
+ } | {
54711
+ message: string;
54712
+ is_device_error: true;
54713
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54714
+ error_code: 'empty_backup_access_code_pool';
54715
+ } | {
54716
+ message: string;
54717
+ is_device_error: true;
54718
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54719
+ error_code: 'august_lock_not_authorized';
54720
+ } | {
54721
+ message: string;
54722
+ is_device_error: true;
54723
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54724
+ error_code: 'august_lock_missing_bridge';
52504
54725
  } | {
54726
+ message: string;
54727
+ is_device_error: true;
54728
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54729
+ error_code: 'salto_site_user_limit_reached';
54730
+ } | {
54731
+ message: string;
54732
+ is_device_error: true;
54733
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54734
+ error_code: 'ttlock_lock_not_paired_to_gateway';
54735
+ } | {
54736
+ message: string;
54737
+ is_device_error: true;
54738
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54739
+ error_code: 'missing_device_credentials';
54740
+ } | {
54741
+ message: string;
54742
+ is_device_error: true;
54743
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54744
+ error_code: 'auxiliary_heat_running';
54745
+ } | {
54746
+ message: string;
54747
+ is_device_error: true;
54748
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54749
+ error_code: 'subscription_required';
54750
+ }) | {
52505
54751
  message: string;
52506
54752
  is_connected_account_error: true;
52507
54753
  error_code: string;
@@ -54698,11 +56944,72 @@ interface Routes {
54698
56944
  /** Unique identifier for the Seam workspace associated with the device. */
54699
56945
  workspace_id: string;
54700
56946
  /** 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<{
56947
+ errors: Array<({
54702
56948
  message: string;
54703
56949
  is_device_error: true;
54704
- error_code: string;
56950
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56951
+ error_code: 'device_offline';
56952
+ } | {
56953
+ message: string;
56954
+ is_device_error: true;
56955
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56956
+ error_code: 'device_removed';
56957
+ } | {
56958
+ message: string;
56959
+ is_device_error: true;
56960
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56961
+ error_code: 'account_disconnected';
56962
+ } | {
56963
+ message: string;
56964
+ is_device_error: true;
56965
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56966
+ error_code: 'hub_disconnected';
56967
+ } | {
56968
+ message: string;
56969
+ is_device_error: true;
56970
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56971
+ error_code: 'device_disconnected';
54705
56972
  } | {
56973
+ message: string;
56974
+ is_device_error: true;
56975
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56976
+ error_code: 'empty_backup_access_code_pool';
56977
+ } | {
56978
+ message: string;
56979
+ is_device_error: true;
56980
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56981
+ error_code: 'august_lock_not_authorized';
56982
+ } | {
56983
+ message: string;
56984
+ is_device_error: true;
56985
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56986
+ error_code: 'august_lock_missing_bridge';
56987
+ } | {
56988
+ message: string;
56989
+ is_device_error: true;
56990
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56991
+ error_code: 'salto_site_user_limit_reached';
56992
+ } | {
56993
+ message: string;
56994
+ is_device_error: true;
56995
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
56996
+ error_code: 'ttlock_lock_not_paired_to_gateway';
56997
+ } | {
56998
+ message: string;
56999
+ is_device_error: true;
57000
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57001
+ error_code: 'missing_device_credentials';
57002
+ } | {
57003
+ message: string;
57004
+ is_device_error: true;
57005
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57006
+ error_code: 'auxiliary_heat_running';
57007
+ } | {
57008
+ message: string;
57009
+ is_device_error: true;
57010
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57011
+ error_code: 'subscription_required';
57012
+ }) | {
54706
57013
  message: string;
54707
57014
  is_connected_account_error: true;
54708
57015
  error_code: string;
@@ -55218,11 +57525,72 @@ interface Routes {
55218
57525
  /** Unique identifier for the Seam workspace associated with the device. */
55219
57526
  workspace_id: string;
55220
57527
  /** 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<{
57528
+ errors: Array<({
55222
57529
  message: string;
55223
57530
  is_device_error: true;
55224
- error_code: string;
57531
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57532
+ error_code: 'device_offline';
57533
+ } | {
57534
+ message: string;
57535
+ is_device_error: true;
57536
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57537
+ error_code: 'device_removed';
55225
57538
  } | {
57539
+ message: string;
57540
+ is_device_error: true;
57541
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57542
+ error_code: 'account_disconnected';
57543
+ } | {
57544
+ message: string;
57545
+ is_device_error: true;
57546
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57547
+ error_code: 'hub_disconnected';
57548
+ } | {
57549
+ message: string;
57550
+ is_device_error: true;
57551
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57552
+ error_code: 'device_disconnected';
57553
+ } | {
57554
+ message: string;
57555
+ is_device_error: true;
57556
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57557
+ error_code: 'empty_backup_access_code_pool';
57558
+ } | {
57559
+ message: string;
57560
+ is_device_error: true;
57561
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57562
+ error_code: 'august_lock_not_authorized';
57563
+ } | {
57564
+ message: string;
57565
+ is_device_error: true;
57566
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57567
+ error_code: 'august_lock_missing_bridge';
57568
+ } | {
57569
+ message: string;
57570
+ is_device_error: true;
57571
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57572
+ error_code: 'salto_site_user_limit_reached';
57573
+ } | {
57574
+ message: string;
57575
+ is_device_error: true;
57576
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57577
+ error_code: 'ttlock_lock_not_paired_to_gateway';
57578
+ } | {
57579
+ message: string;
57580
+ is_device_error: true;
57581
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57582
+ error_code: 'missing_device_credentials';
57583
+ } | {
57584
+ message: string;
57585
+ is_device_error: true;
57586
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57587
+ error_code: 'auxiliary_heat_running';
57588
+ } | {
57589
+ message: string;
57590
+ is_device_error: true;
57591
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
57592
+ error_code: 'subscription_required';
57593
+ }) | {
55226
57594
  message: string;
55227
57595
  is_connected_account_error: true;
55228
57596
  error_code: string;
@@ -57792,11 +60160,72 @@ interface Routes {
57792
60160
  /** Unique identifier for the Seam workspace associated with the device. */
57793
60161
  workspace_id: string;
57794
60162
  /** 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<{
60163
+ errors: Array<({
57796
60164
  message: string;
57797
60165
  is_device_error: true;
57798
- error_code: string;
60166
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60167
+ error_code: 'device_offline';
60168
+ } | {
60169
+ message: string;
60170
+ is_device_error: true;
60171
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60172
+ error_code: 'device_removed';
60173
+ } | {
60174
+ message: string;
60175
+ is_device_error: true;
60176
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60177
+ error_code: 'account_disconnected';
60178
+ } | {
60179
+ message: string;
60180
+ is_device_error: true;
60181
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60182
+ error_code: 'hub_disconnected';
60183
+ } | {
60184
+ message: string;
60185
+ is_device_error: true;
60186
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60187
+ error_code: 'device_disconnected';
60188
+ } | {
60189
+ message: string;
60190
+ is_device_error: true;
60191
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60192
+ error_code: 'empty_backup_access_code_pool';
60193
+ } | {
60194
+ message: string;
60195
+ is_device_error: true;
60196
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60197
+ error_code: 'august_lock_not_authorized';
60198
+ } | {
60199
+ message: string;
60200
+ is_device_error: true;
60201
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60202
+ error_code: 'august_lock_missing_bridge';
57799
60203
  } | {
60204
+ message: string;
60205
+ is_device_error: true;
60206
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60207
+ error_code: 'salto_site_user_limit_reached';
60208
+ } | {
60209
+ message: string;
60210
+ is_device_error: true;
60211
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60212
+ error_code: 'ttlock_lock_not_paired_to_gateway';
60213
+ } | {
60214
+ message: string;
60215
+ is_device_error: true;
60216
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60217
+ error_code: 'missing_device_credentials';
60218
+ } | {
60219
+ message: string;
60220
+ is_device_error: true;
60221
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60222
+ error_code: 'auxiliary_heat_running';
60223
+ } | {
60224
+ message: string;
60225
+ is_device_error: true;
60226
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60227
+ error_code: 'subscription_required';
60228
+ }) | {
57800
60229
  message: string;
57801
60230
  is_connected_account_error: true;
57802
60231
  error_code: string;
@@ -57879,11 +60308,72 @@ interface Routes {
57879
60308
  /** Unique identifier for the Seam workspace associated with the device. */
57880
60309
  workspace_id: string;
57881
60310
  /** 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<{
60311
+ errors: Array<({
57883
60312
  message: string;
57884
60313
  is_device_error: true;
57885
- error_code: string;
60314
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60315
+ error_code: 'device_offline';
60316
+ } | {
60317
+ message: string;
60318
+ is_device_error: true;
60319
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60320
+ error_code: 'device_removed';
60321
+ } | {
60322
+ message: string;
60323
+ is_device_error: true;
60324
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60325
+ error_code: 'account_disconnected';
60326
+ } | {
60327
+ message: string;
60328
+ is_device_error: true;
60329
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60330
+ error_code: 'hub_disconnected';
60331
+ } | {
60332
+ message: string;
60333
+ is_device_error: true;
60334
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60335
+ error_code: 'device_disconnected';
57886
60336
  } | {
60337
+ message: string;
60338
+ is_device_error: true;
60339
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60340
+ error_code: 'empty_backup_access_code_pool';
60341
+ } | {
60342
+ message: string;
60343
+ is_device_error: true;
60344
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60345
+ error_code: 'august_lock_not_authorized';
60346
+ } | {
60347
+ message: string;
60348
+ is_device_error: true;
60349
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60350
+ error_code: 'august_lock_missing_bridge';
60351
+ } | {
60352
+ message: string;
60353
+ is_device_error: true;
60354
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60355
+ error_code: 'salto_site_user_limit_reached';
60356
+ } | {
60357
+ message: string;
60358
+ is_device_error: true;
60359
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60360
+ error_code: 'ttlock_lock_not_paired_to_gateway';
60361
+ } | {
60362
+ message: string;
60363
+ is_device_error: true;
60364
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60365
+ error_code: 'missing_device_credentials';
60366
+ } | {
60367
+ message: string;
60368
+ is_device_error: true;
60369
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60370
+ error_code: 'auxiliary_heat_running';
60371
+ } | {
60372
+ message: string;
60373
+ is_device_error: true;
60374
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60375
+ error_code: 'subscription_required';
60376
+ }) | {
57887
60377
  message: string;
57888
60378
  is_connected_account_error: true;
57889
60379
  error_code: string;
@@ -60077,11 +62567,72 @@ interface Routes {
60077
62567
  /** Unique identifier for the Seam workspace associated with the device. */
60078
62568
  workspace_id: string;
60079
62569
  /** 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<{
62570
+ errors: Array<({
60081
62571
  message: string;
60082
62572
  is_device_error: true;
60083
- error_code: string;
62573
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62574
+ error_code: 'device_offline';
62575
+ } | {
62576
+ message: string;
62577
+ is_device_error: true;
62578
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62579
+ error_code: 'device_removed';
60084
62580
  } | {
62581
+ message: string;
62582
+ is_device_error: true;
62583
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62584
+ error_code: 'account_disconnected';
62585
+ } | {
62586
+ message: string;
62587
+ is_device_error: true;
62588
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62589
+ error_code: 'hub_disconnected';
62590
+ } | {
62591
+ message: string;
62592
+ is_device_error: true;
62593
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62594
+ error_code: 'device_disconnected';
62595
+ } | {
62596
+ message: string;
62597
+ is_device_error: true;
62598
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62599
+ error_code: 'empty_backup_access_code_pool';
62600
+ } | {
62601
+ message: string;
62602
+ is_device_error: true;
62603
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62604
+ error_code: 'august_lock_not_authorized';
62605
+ } | {
62606
+ message: string;
62607
+ is_device_error: true;
62608
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62609
+ error_code: 'august_lock_missing_bridge';
62610
+ } | {
62611
+ message: string;
62612
+ is_device_error: true;
62613
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62614
+ error_code: 'salto_site_user_limit_reached';
62615
+ } | {
62616
+ message: string;
62617
+ is_device_error: true;
62618
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62619
+ error_code: 'ttlock_lock_not_paired_to_gateway';
62620
+ } | {
62621
+ message: string;
62622
+ is_device_error: true;
62623
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62624
+ error_code: 'missing_device_credentials';
62625
+ } | {
62626
+ message: string;
62627
+ is_device_error: true;
62628
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62629
+ error_code: 'auxiliary_heat_running';
62630
+ } | {
62631
+ message: string;
62632
+ is_device_error: true;
62633
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62634
+ error_code: 'subscription_required';
62635
+ }) | {
60085
62636
  message: string;
60086
62637
  is_connected_account_error: true;
60087
62638
  error_code: string;
@@ -62260,11 +64811,72 @@ interface Routes {
62260
64811
  /** Unique identifier for the Seam workspace associated with the device. */
62261
64812
  workspace_id: string;
62262
64813
  /** 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<{
64814
+ errors: Array<({
62264
64815
  message: string;
62265
64816
  is_device_error: true;
62266
- error_code: string;
64817
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
64818
+ error_code: 'device_offline';
64819
+ } | {
64820
+ message: string;
64821
+ is_device_error: true;
64822
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
64823
+ error_code: 'device_removed';
64824
+ } | {
64825
+ message: string;
64826
+ is_device_error: true;
64827
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
64828
+ error_code: 'account_disconnected';
64829
+ } | {
64830
+ message: string;
64831
+ is_device_error: true;
64832
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
64833
+ error_code: 'hub_disconnected';
64834
+ } | {
64835
+ message: string;
64836
+ is_device_error: true;
64837
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
64838
+ error_code: 'device_disconnected';
64839
+ } | {
64840
+ message: string;
64841
+ is_device_error: true;
64842
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
64843
+ error_code: 'empty_backup_access_code_pool';
64844
+ } | {
64845
+ message: string;
64846
+ is_device_error: true;
64847
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
64848
+ error_code: 'august_lock_not_authorized';
64849
+ } | {
64850
+ message: string;
64851
+ is_device_error: true;
64852
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
64853
+ error_code: 'august_lock_missing_bridge';
62267
64854
  } | {
64855
+ message: string;
64856
+ is_device_error: true;
64857
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
64858
+ error_code: 'salto_site_user_limit_reached';
64859
+ } | {
64860
+ message: string;
64861
+ is_device_error: true;
64862
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
64863
+ error_code: 'ttlock_lock_not_paired_to_gateway';
64864
+ } | {
64865
+ message: string;
64866
+ is_device_error: true;
64867
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
64868
+ error_code: 'missing_device_credentials';
64869
+ } | {
64870
+ message: string;
64871
+ is_device_error: true;
64872
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
64873
+ error_code: 'auxiliary_heat_running';
64874
+ } | {
64875
+ message: string;
64876
+ is_device_error: true;
64877
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
64878
+ error_code: 'subscription_required';
64879
+ }) | {
62268
64880
  message: string;
62269
64881
  is_connected_account_error: true;
62270
64882
  error_code: string;
@@ -62780,11 +65392,72 @@ interface Routes {
62780
65392
  /** Unique identifier for the Seam workspace associated with the device. */
62781
65393
  workspace_id: string;
62782
65394
  /** 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<{
65395
+ errors: Array<({
62784
65396
  message: string;
62785
65397
  is_device_error: true;
62786
- error_code: string;
65398
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65399
+ error_code: 'device_offline';
65400
+ } | {
65401
+ message: string;
65402
+ is_device_error: true;
65403
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65404
+ error_code: 'device_removed';
65405
+ } | {
65406
+ message: string;
65407
+ is_device_error: true;
65408
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65409
+ error_code: 'account_disconnected';
65410
+ } | {
65411
+ message: string;
65412
+ is_device_error: true;
65413
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65414
+ error_code: 'hub_disconnected';
65415
+ } | {
65416
+ message: string;
65417
+ is_device_error: true;
65418
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65419
+ error_code: 'device_disconnected';
62787
65420
  } | {
65421
+ message: string;
65422
+ is_device_error: true;
65423
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65424
+ error_code: 'empty_backup_access_code_pool';
65425
+ } | {
65426
+ message: string;
65427
+ is_device_error: true;
65428
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65429
+ error_code: 'august_lock_not_authorized';
65430
+ } | {
65431
+ message: string;
65432
+ is_device_error: true;
65433
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65434
+ error_code: 'august_lock_missing_bridge';
65435
+ } | {
65436
+ message: string;
65437
+ is_device_error: true;
65438
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65439
+ error_code: 'salto_site_user_limit_reached';
65440
+ } | {
65441
+ message: string;
65442
+ is_device_error: true;
65443
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65444
+ error_code: 'ttlock_lock_not_paired_to_gateway';
65445
+ } | {
65446
+ message: string;
65447
+ is_device_error: true;
65448
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65449
+ error_code: 'missing_device_credentials';
65450
+ } | {
65451
+ message: string;
65452
+ is_device_error: true;
65453
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65454
+ error_code: 'auxiliary_heat_running';
65455
+ } | {
65456
+ message: string;
65457
+ is_device_error: true;
65458
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65459
+ error_code: 'subscription_required';
65460
+ }) | {
62788
65461
  message: string;
62789
65462
  is_connected_account_error: true;
62790
65463
  error_code: string;
@@ -66224,11 +68897,72 @@ interface Routes {
66224
68897
  /** Unique identifier for the Seam workspace associated with the device. */
66225
68898
  workspace_id: string;
66226
68899
  /** 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<{
68900
+ errors: Array<({
66228
68901
  message: string;
66229
68902
  is_device_error: true;
66230
- error_code: string;
68903
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
68904
+ error_code: 'device_offline';
68905
+ } | {
68906
+ message: string;
68907
+ is_device_error: true;
68908
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
68909
+ error_code: 'device_removed';
66231
68910
  } | {
68911
+ message: string;
68912
+ is_device_error: true;
68913
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
68914
+ error_code: 'account_disconnected';
68915
+ } | {
68916
+ message: string;
68917
+ is_device_error: true;
68918
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
68919
+ error_code: 'hub_disconnected';
68920
+ } | {
68921
+ message: string;
68922
+ is_device_error: true;
68923
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
68924
+ error_code: 'device_disconnected';
68925
+ } | {
68926
+ message: string;
68927
+ is_device_error: true;
68928
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
68929
+ error_code: 'empty_backup_access_code_pool';
68930
+ } | {
68931
+ message: string;
68932
+ is_device_error: true;
68933
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
68934
+ error_code: 'august_lock_not_authorized';
68935
+ } | {
68936
+ message: string;
68937
+ is_device_error: true;
68938
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
68939
+ error_code: 'august_lock_missing_bridge';
68940
+ } | {
68941
+ message: string;
68942
+ is_device_error: true;
68943
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
68944
+ error_code: 'salto_site_user_limit_reached';
68945
+ } | {
68946
+ message: string;
68947
+ is_device_error: true;
68948
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
68949
+ error_code: 'ttlock_lock_not_paired_to_gateway';
68950
+ } | {
68951
+ message: string;
68952
+ is_device_error: true;
68953
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
68954
+ error_code: 'missing_device_credentials';
68955
+ } | {
68956
+ message: string;
68957
+ is_device_error: true;
68958
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
68959
+ error_code: 'auxiliary_heat_running';
68960
+ } | {
68961
+ message: string;
68962
+ is_device_error: true;
68963
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
68964
+ error_code: 'subscription_required';
68965
+ }) | {
66232
68966
  message: string;
66233
68967
  is_connected_account_error: true;
66234
68968
  error_code: string;
@@ -66746,11 +69480,72 @@ interface Routes {
66746
69480
  /** Unique identifier for the Seam workspace associated with the device. */
66747
69481
  workspace_id: string;
66748
69482
  /** 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<{
69483
+ errors: Array<({
66750
69484
  message: string;
66751
69485
  is_device_error: true;
66752
- error_code: string;
69486
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69487
+ error_code: 'device_offline';
69488
+ } | {
69489
+ message: string;
69490
+ is_device_error: true;
69491
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69492
+ error_code: 'device_removed';
69493
+ } | {
69494
+ message: string;
69495
+ is_device_error: true;
69496
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69497
+ error_code: 'account_disconnected';
69498
+ } | {
69499
+ message: string;
69500
+ is_device_error: true;
69501
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69502
+ error_code: 'hub_disconnected';
69503
+ } | {
69504
+ message: string;
69505
+ is_device_error: true;
69506
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69507
+ error_code: 'device_disconnected';
69508
+ } | {
69509
+ message: string;
69510
+ is_device_error: true;
69511
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69512
+ error_code: 'empty_backup_access_code_pool';
69513
+ } | {
69514
+ message: string;
69515
+ is_device_error: true;
69516
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69517
+ error_code: 'august_lock_not_authorized';
69518
+ } | {
69519
+ message: string;
69520
+ is_device_error: true;
69521
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69522
+ error_code: 'august_lock_missing_bridge';
66753
69523
  } | {
69524
+ message: string;
69525
+ is_device_error: true;
69526
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69527
+ error_code: 'salto_site_user_limit_reached';
69528
+ } | {
69529
+ message: string;
69530
+ is_device_error: true;
69531
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69532
+ error_code: 'ttlock_lock_not_paired_to_gateway';
69533
+ } | {
69534
+ message: string;
69535
+ is_device_error: true;
69536
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69537
+ error_code: 'missing_device_credentials';
69538
+ } | {
69539
+ message: string;
69540
+ is_device_error: true;
69541
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69542
+ error_code: 'auxiliary_heat_running';
69543
+ } | {
69544
+ message: string;
69545
+ is_device_error: true;
69546
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69547
+ error_code: 'subscription_required';
69548
+ }) | {
66754
69549
  message: string;
66755
69550
  is_connected_account_error: true;
66756
69551
  error_code: string;