@seamapi/types 1.324.0 → 1.326.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -986,11 +986,86 @@ export interface Routes {
986
986
  is_access_code_error: true
987
987
  error_code: string
988
988
  }
989
- | {
990
- message: string
991
- is_device_error: true
992
- error_code: string
993
- }
989
+ | (
990
+ | {
991
+ message: string
992
+ is_device_error: true
993
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
994
+ error_code: 'device_offline'
995
+ }
996
+ | {
997
+ message: string
998
+ is_device_error: true
999
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1000
+ error_code: 'device_removed'
1001
+ }
1002
+ | {
1003
+ message: string
1004
+ is_device_error: true
1005
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1006
+ error_code: 'account_disconnected'
1007
+ }
1008
+ | {
1009
+ message: string
1010
+ is_device_error: true
1011
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1012
+ error_code: 'hub_disconnected'
1013
+ }
1014
+ | {
1015
+ message: string
1016
+ is_device_error: true
1017
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1018
+ error_code: 'device_disconnected'
1019
+ }
1020
+ | {
1021
+ message: string
1022
+ is_device_error: true
1023
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1024
+ error_code: 'empty_backup_access_code_pool'
1025
+ }
1026
+ | {
1027
+ message: string
1028
+ is_device_error: true
1029
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1030
+ error_code: 'august_lock_not_authorized'
1031
+ }
1032
+ | {
1033
+ message: string
1034
+ is_device_error: true
1035
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1036
+ error_code: 'august_lock_missing_bridge'
1037
+ }
1038
+ | {
1039
+ message: string
1040
+ is_device_error: true
1041
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1042
+ error_code: 'salto_site_user_limit_reached'
1043
+ }
1044
+ | {
1045
+ message: string
1046
+ is_device_error: true
1047
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1048
+ error_code: 'ttlock_lock_not_paired_to_gateway'
1049
+ }
1050
+ | {
1051
+ message: string
1052
+ is_device_error: true
1053
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1054
+ error_code: 'missing_device_credentials'
1055
+ }
1056
+ | {
1057
+ message: string
1058
+ is_device_error: true
1059
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1060
+ error_code: 'auxiliary_heat_running'
1061
+ }
1062
+ | {
1063
+ message: string
1064
+ is_device_error: true
1065
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1066
+ error_code: 'subscription_required'
1067
+ }
1068
+ )
994
1069
  | {
995
1070
  message: string
996
1071
  is_connected_account_error: true
@@ -1078,11 +1153,86 @@ export interface Routes {
1078
1153
  is_access_code_error: true
1079
1154
  error_code: string
1080
1155
  }
1081
- | {
1082
- message: string
1083
- is_device_error: true
1084
- error_code: string
1085
- }
1156
+ | (
1157
+ | {
1158
+ message: string
1159
+ is_device_error: true
1160
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1161
+ error_code: 'device_offline'
1162
+ }
1163
+ | {
1164
+ message: string
1165
+ is_device_error: true
1166
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1167
+ error_code: 'device_removed'
1168
+ }
1169
+ | {
1170
+ message: string
1171
+ is_device_error: true
1172
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1173
+ error_code: 'account_disconnected'
1174
+ }
1175
+ | {
1176
+ message: string
1177
+ is_device_error: true
1178
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1179
+ error_code: 'hub_disconnected'
1180
+ }
1181
+ | {
1182
+ message: string
1183
+ is_device_error: true
1184
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1185
+ error_code: 'device_disconnected'
1186
+ }
1187
+ | {
1188
+ message: string
1189
+ is_device_error: true
1190
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1191
+ error_code: 'empty_backup_access_code_pool'
1192
+ }
1193
+ | {
1194
+ message: string
1195
+ is_device_error: true
1196
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1197
+ error_code: 'august_lock_not_authorized'
1198
+ }
1199
+ | {
1200
+ message: string
1201
+ is_device_error: true
1202
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1203
+ error_code: 'august_lock_missing_bridge'
1204
+ }
1205
+ | {
1206
+ message: string
1207
+ is_device_error: true
1208
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1209
+ error_code: 'salto_site_user_limit_reached'
1210
+ }
1211
+ | {
1212
+ message: string
1213
+ is_device_error: true
1214
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1215
+ error_code: 'ttlock_lock_not_paired_to_gateway'
1216
+ }
1217
+ | {
1218
+ message: string
1219
+ is_device_error: true
1220
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1221
+ error_code: 'missing_device_credentials'
1222
+ }
1223
+ | {
1224
+ message: string
1225
+ is_device_error: true
1226
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1227
+ error_code: 'auxiliary_heat_running'
1228
+ }
1229
+ | {
1230
+ message: string
1231
+ is_device_error: true
1232
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1233
+ error_code: 'subscription_required'
1234
+ }
1235
+ )
1086
1236
  | {
1087
1237
  message: string
1088
1238
  is_connected_account_error: true
@@ -2122,11 +2272,86 @@ export interface Routes {
2122
2272
  is_access_code_error: true
2123
2273
  error_code: string
2124
2274
  }
2125
- | {
2126
- message: string
2127
- is_device_error: true
2128
- error_code: string
2129
- }
2275
+ | (
2276
+ | {
2277
+ message: string
2278
+ is_device_error: true
2279
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2280
+ error_code: 'device_offline'
2281
+ }
2282
+ | {
2283
+ message: string
2284
+ is_device_error: true
2285
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2286
+ error_code: 'device_removed'
2287
+ }
2288
+ | {
2289
+ message: string
2290
+ is_device_error: true
2291
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2292
+ error_code: 'account_disconnected'
2293
+ }
2294
+ | {
2295
+ message: string
2296
+ is_device_error: true
2297
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2298
+ error_code: 'hub_disconnected'
2299
+ }
2300
+ | {
2301
+ message: string
2302
+ is_device_error: true
2303
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2304
+ error_code: 'device_disconnected'
2305
+ }
2306
+ | {
2307
+ message: string
2308
+ is_device_error: true
2309
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2310
+ error_code: 'empty_backup_access_code_pool'
2311
+ }
2312
+ | {
2313
+ message: string
2314
+ is_device_error: true
2315
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2316
+ error_code: 'august_lock_not_authorized'
2317
+ }
2318
+ | {
2319
+ message: string
2320
+ is_device_error: true
2321
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2322
+ error_code: 'august_lock_missing_bridge'
2323
+ }
2324
+ | {
2325
+ message: string
2326
+ is_device_error: true
2327
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2328
+ error_code: 'salto_site_user_limit_reached'
2329
+ }
2330
+ | {
2331
+ message: string
2332
+ is_device_error: true
2333
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2334
+ error_code: 'ttlock_lock_not_paired_to_gateway'
2335
+ }
2336
+ | {
2337
+ message: string
2338
+ is_device_error: true
2339
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2340
+ error_code: 'missing_device_credentials'
2341
+ }
2342
+ | {
2343
+ message: string
2344
+ is_device_error: true
2345
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2346
+ error_code: 'auxiliary_heat_running'
2347
+ }
2348
+ | {
2349
+ message: string
2350
+ is_device_error: true
2351
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2352
+ error_code: 'subscription_required'
2353
+ }
2354
+ )
2130
2355
  | {
2131
2356
  message: string
2132
2357
  is_connected_account_error: true
@@ -2201,11 +2426,86 @@ export interface Routes {
2201
2426
  is_access_code_error: true
2202
2427
  error_code: string
2203
2428
  }
2204
- | {
2205
- message: string
2206
- is_device_error: true
2207
- error_code: string
2208
- }
2429
+ | (
2430
+ | {
2431
+ message: string
2432
+ is_device_error: true
2433
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2434
+ error_code: 'device_offline'
2435
+ }
2436
+ | {
2437
+ message: string
2438
+ is_device_error: true
2439
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2440
+ error_code: 'device_removed'
2441
+ }
2442
+ | {
2443
+ message: string
2444
+ is_device_error: true
2445
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2446
+ error_code: 'account_disconnected'
2447
+ }
2448
+ | {
2449
+ message: string
2450
+ is_device_error: true
2451
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2452
+ error_code: 'hub_disconnected'
2453
+ }
2454
+ | {
2455
+ message: string
2456
+ is_device_error: true
2457
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2458
+ error_code: 'device_disconnected'
2459
+ }
2460
+ | {
2461
+ message: string
2462
+ is_device_error: true
2463
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2464
+ error_code: 'empty_backup_access_code_pool'
2465
+ }
2466
+ | {
2467
+ message: string
2468
+ is_device_error: true
2469
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2470
+ error_code: 'august_lock_not_authorized'
2471
+ }
2472
+ | {
2473
+ message: string
2474
+ is_device_error: true
2475
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2476
+ error_code: 'august_lock_missing_bridge'
2477
+ }
2478
+ | {
2479
+ message: string
2480
+ is_device_error: true
2481
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2482
+ error_code: 'salto_site_user_limit_reached'
2483
+ }
2484
+ | {
2485
+ message: string
2486
+ is_device_error: true
2487
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2488
+ error_code: 'ttlock_lock_not_paired_to_gateway'
2489
+ }
2490
+ | {
2491
+ message: string
2492
+ is_device_error: true
2493
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2494
+ error_code: 'missing_device_credentials'
2495
+ }
2496
+ | {
2497
+ message: string
2498
+ is_device_error: true
2499
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2500
+ error_code: 'auxiliary_heat_running'
2501
+ }
2502
+ | {
2503
+ message: string
2504
+ is_device_error: true
2505
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2506
+ error_code: 'subscription_required'
2507
+ }
2508
+ )
2209
2509
  | {
2210
2510
  message: string
2211
2511
  is_connected_account_error: true
@@ -2278,11 +2578,86 @@ export interface Routes {
2278
2578
  is_access_code_error: true
2279
2579
  error_code: string
2280
2580
  }
2281
- | {
2282
- message: string
2283
- is_device_error: true
2284
- error_code: string
2285
- }
2581
+ | (
2582
+ | {
2583
+ message: string
2584
+ is_device_error: true
2585
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2586
+ error_code: 'device_offline'
2587
+ }
2588
+ | {
2589
+ message: string
2590
+ is_device_error: true
2591
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2592
+ error_code: 'device_removed'
2593
+ }
2594
+ | {
2595
+ message: string
2596
+ is_device_error: true
2597
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2598
+ error_code: 'account_disconnected'
2599
+ }
2600
+ | {
2601
+ message: string
2602
+ is_device_error: true
2603
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2604
+ error_code: 'hub_disconnected'
2605
+ }
2606
+ | {
2607
+ message: string
2608
+ is_device_error: true
2609
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2610
+ error_code: 'device_disconnected'
2611
+ }
2612
+ | {
2613
+ message: string
2614
+ is_device_error: true
2615
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2616
+ error_code: 'empty_backup_access_code_pool'
2617
+ }
2618
+ | {
2619
+ message: string
2620
+ is_device_error: true
2621
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2622
+ error_code: 'august_lock_not_authorized'
2623
+ }
2624
+ | {
2625
+ message: string
2626
+ is_device_error: true
2627
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2628
+ error_code: 'august_lock_missing_bridge'
2629
+ }
2630
+ | {
2631
+ message: string
2632
+ is_device_error: true
2633
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2634
+ error_code: 'salto_site_user_limit_reached'
2635
+ }
2636
+ | {
2637
+ message: string
2638
+ is_device_error: true
2639
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2640
+ error_code: 'ttlock_lock_not_paired_to_gateway'
2641
+ }
2642
+ | {
2643
+ message: string
2644
+ is_device_error: true
2645
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2646
+ error_code: 'missing_device_credentials'
2647
+ }
2648
+ | {
2649
+ message: string
2650
+ is_device_error: true
2651
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2652
+ error_code: 'auxiliary_heat_running'
2653
+ }
2654
+ | {
2655
+ message: string
2656
+ is_device_error: true
2657
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2658
+ error_code: 'subscription_required'
2659
+ }
2660
+ )
2286
2661
  | {
2287
2662
  message: string
2288
2663
  is_connected_account_error: true
@@ -2343,11 +2718,86 @@ export interface Routes {
2343
2718
  is_access_code_error: true
2344
2719
  error_code: string
2345
2720
  }
2346
- | {
2347
- message: string
2348
- is_device_error: true
2349
- error_code: string
2350
- }
2721
+ | (
2722
+ | {
2723
+ message: string
2724
+ is_device_error: true
2725
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2726
+ error_code: 'device_offline'
2727
+ }
2728
+ | {
2729
+ message: string
2730
+ is_device_error: true
2731
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2732
+ error_code: 'device_removed'
2733
+ }
2734
+ | {
2735
+ message: string
2736
+ is_device_error: true
2737
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2738
+ error_code: 'account_disconnected'
2739
+ }
2740
+ | {
2741
+ message: string
2742
+ is_device_error: true
2743
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2744
+ error_code: 'hub_disconnected'
2745
+ }
2746
+ | {
2747
+ message: string
2748
+ is_device_error: true
2749
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2750
+ error_code: 'device_disconnected'
2751
+ }
2752
+ | {
2753
+ message: string
2754
+ is_device_error: true
2755
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2756
+ error_code: 'empty_backup_access_code_pool'
2757
+ }
2758
+ | {
2759
+ message: string
2760
+ is_device_error: true
2761
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2762
+ error_code: 'august_lock_not_authorized'
2763
+ }
2764
+ | {
2765
+ message: string
2766
+ is_device_error: true
2767
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2768
+ error_code: 'august_lock_missing_bridge'
2769
+ }
2770
+ | {
2771
+ message: string
2772
+ is_device_error: true
2773
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2774
+ error_code: 'salto_site_user_limit_reached'
2775
+ }
2776
+ | {
2777
+ message: string
2778
+ is_device_error: true
2779
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2780
+ error_code: 'ttlock_lock_not_paired_to_gateway'
2781
+ }
2782
+ | {
2783
+ message: string
2784
+ is_device_error: true
2785
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2786
+ error_code: 'missing_device_credentials'
2787
+ }
2788
+ | {
2789
+ message: string
2790
+ is_device_error: true
2791
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2792
+ error_code: 'auxiliary_heat_running'
2793
+ }
2794
+ | {
2795
+ message: string
2796
+ is_device_error: true
2797
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2798
+ error_code: 'subscription_required'
2799
+ }
2800
+ )
2351
2801
  | {
2352
2802
  message: string
2353
2803
  is_connected_account_error: true
@@ -2416,11 +2866,86 @@ export interface Routes {
2416
2866
  is_access_code_error: true
2417
2867
  error_code: string
2418
2868
  }
2419
- | {
2420
- message: string
2421
- is_device_error: true
2422
- error_code: string
2423
- }
2869
+ | (
2870
+ | {
2871
+ message: string
2872
+ is_device_error: true
2873
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2874
+ error_code: 'device_offline'
2875
+ }
2876
+ | {
2877
+ message: string
2878
+ is_device_error: true
2879
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2880
+ error_code: 'device_removed'
2881
+ }
2882
+ | {
2883
+ message: string
2884
+ is_device_error: true
2885
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2886
+ error_code: 'account_disconnected'
2887
+ }
2888
+ | {
2889
+ message: string
2890
+ is_device_error: true
2891
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2892
+ error_code: 'hub_disconnected'
2893
+ }
2894
+ | {
2895
+ message: string
2896
+ is_device_error: true
2897
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2898
+ error_code: 'device_disconnected'
2899
+ }
2900
+ | {
2901
+ message: string
2902
+ is_device_error: true
2903
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2904
+ error_code: 'empty_backup_access_code_pool'
2905
+ }
2906
+ | {
2907
+ message: string
2908
+ is_device_error: true
2909
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2910
+ error_code: 'august_lock_not_authorized'
2911
+ }
2912
+ | {
2913
+ message: string
2914
+ is_device_error: true
2915
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2916
+ error_code: 'august_lock_missing_bridge'
2917
+ }
2918
+ | {
2919
+ message: string
2920
+ is_device_error: true
2921
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2922
+ error_code: 'salto_site_user_limit_reached'
2923
+ }
2924
+ | {
2925
+ message: string
2926
+ is_device_error: true
2927
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2928
+ error_code: 'ttlock_lock_not_paired_to_gateway'
2929
+ }
2930
+ | {
2931
+ message: string
2932
+ is_device_error: true
2933
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2934
+ error_code: 'missing_device_credentials'
2935
+ }
2936
+ | {
2937
+ message: string
2938
+ is_device_error: true
2939
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2940
+ error_code: 'auxiliary_heat_running'
2941
+ }
2942
+ | {
2943
+ message: string
2944
+ is_device_error: true
2945
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2946
+ error_code: 'subscription_required'
2947
+ }
2948
+ )
2424
2949
  | {
2425
2950
  message: string
2426
2951
  is_connected_account_error: true
@@ -3436,11 +3961,86 @@ export interface Routes {
3436
3961
  is_access_code_error: true
3437
3962
  error_code: string
3438
3963
  }
3439
- | {
3440
- message: string
3441
- is_device_error: true
3442
- error_code: string
3443
- }
3964
+ | (
3965
+ | {
3966
+ message: string
3967
+ is_device_error: true
3968
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3969
+ error_code: 'device_offline'
3970
+ }
3971
+ | {
3972
+ message: string
3973
+ is_device_error: true
3974
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3975
+ error_code: 'device_removed'
3976
+ }
3977
+ | {
3978
+ message: string
3979
+ is_device_error: true
3980
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3981
+ error_code: 'account_disconnected'
3982
+ }
3983
+ | {
3984
+ message: string
3985
+ is_device_error: true
3986
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3987
+ error_code: 'hub_disconnected'
3988
+ }
3989
+ | {
3990
+ message: string
3991
+ is_device_error: true
3992
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3993
+ error_code: 'device_disconnected'
3994
+ }
3995
+ | {
3996
+ message: string
3997
+ is_device_error: true
3998
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3999
+ error_code: 'empty_backup_access_code_pool'
4000
+ }
4001
+ | {
4002
+ message: string
4003
+ is_device_error: true
4004
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4005
+ error_code: 'august_lock_not_authorized'
4006
+ }
4007
+ | {
4008
+ message: string
4009
+ is_device_error: true
4010
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4011
+ error_code: 'august_lock_missing_bridge'
4012
+ }
4013
+ | {
4014
+ message: string
4015
+ is_device_error: true
4016
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4017
+ error_code: 'salto_site_user_limit_reached'
4018
+ }
4019
+ | {
4020
+ message: string
4021
+ is_device_error: true
4022
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4023
+ error_code: 'ttlock_lock_not_paired_to_gateway'
4024
+ }
4025
+ | {
4026
+ message: string
4027
+ is_device_error: true
4028
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4029
+ error_code: 'missing_device_credentials'
4030
+ }
4031
+ | {
4032
+ message: string
4033
+ is_device_error: true
4034
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4035
+ error_code: 'auxiliary_heat_running'
4036
+ }
4037
+ | {
4038
+ message: string
4039
+ is_device_error: true
4040
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4041
+ error_code: 'subscription_required'
4042
+ }
4043
+ )
3444
4044
  | {
3445
4045
  message: string
3446
4046
  is_connected_account_error: true
@@ -3492,11 +4092,86 @@ export interface Routes {
3492
4092
  is_access_code_error: true
3493
4093
  error_code: string
3494
4094
  }
3495
- | {
3496
- message: string
3497
- is_device_error: true
3498
- error_code: string
3499
- }
4095
+ | (
4096
+ | {
4097
+ message: string
4098
+ is_device_error: true
4099
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4100
+ error_code: 'device_offline'
4101
+ }
4102
+ | {
4103
+ message: string
4104
+ is_device_error: true
4105
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4106
+ error_code: 'device_removed'
4107
+ }
4108
+ | {
4109
+ message: string
4110
+ is_device_error: true
4111
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4112
+ error_code: 'account_disconnected'
4113
+ }
4114
+ | {
4115
+ message: string
4116
+ is_device_error: true
4117
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4118
+ error_code: 'hub_disconnected'
4119
+ }
4120
+ | {
4121
+ message: string
4122
+ is_device_error: true
4123
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4124
+ error_code: 'device_disconnected'
4125
+ }
4126
+ | {
4127
+ message: string
4128
+ is_device_error: true
4129
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4130
+ error_code: 'empty_backup_access_code_pool'
4131
+ }
4132
+ | {
4133
+ message: string
4134
+ is_device_error: true
4135
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4136
+ error_code: 'august_lock_not_authorized'
4137
+ }
4138
+ | {
4139
+ message: string
4140
+ is_device_error: true
4141
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4142
+ error_code: 'august_lock_missing_bridge'
4143
+ }
4144
+ | {
4145
+ message: string
4146
+ is_device_error: true
4147
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4148
+ error_code: 'salto_site_user_limit_reached'
4149
+ }
4150
+ | {
4151
+ message: string
4152
+ is_device_error: true
4153
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4154
+ error_code: 'ttlock_lock_not_paired_to_gateway'
4155
+ }
4156
+ | {
4157
+ message: string
4158
+ is_device_error: true
4159
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4160
+ error_code: 'missing_device_credentials'
4161
+ }
4162
+ | {
4163
+ message: string
4164
+ is_device_error: true
4165
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4166
+ error_code: 'auxiliary_heat_running'
4167
+ }
4168
+ | {
4169
+ message: string
4170
+ is_device_error: true
4171
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4172
+ error_code: 'subscription_required'
4173
+ }
4174
+ )
3500
4175
  | {
3501
4176
  message: string
3502
4177
  is_connected_account_error: true
@@ -13226,11 +13901,86 @@ export interface Routes {
13226
13901
  workspace_id: string
13227
13902
  /** 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. */
13228
13903
  errors: Array<
13229
- | {
13230
- message: string
13231
- is_device_error: true
13232
- error_code: string
13233
- }
13904
+ | (
13905
+ | {
13906
+ message: string
13907
+ is_device_error: true
13908
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13909
+ error_code: 'device_offline'
13910
+ }
13911
+ | {
13912
+ message: string
13913
+ is_device_error: true
13914
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13915
+ error_code: 'device_removed'
13916
+ }
13917
+ | {
13918
+ message: string
13919
+ is_device_error: true
13920
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13921
+ error_code: 'account_disconnected'
13922
+ }
13923
+ | {
13924
+ message: string
13925
+ is_device_error: true
13926
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13927
+ error_code: 'hub_disconnected'
13928
+ }
13929
+ | {
13930
+ message: string
13931
+ is_device_error: true
13932
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13933
+ error_code: 'device_disconnected'
13934
+ }
13935
+ | {
13936
+ message: string
13937
+ is_device_error: true
13938
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13939
+ error_code: 'empty_backup_access_code_pool'
13940
+ }
13941
+ | {
13942
+ message: string
13943
+ is_device_error: true
13944
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13945
+ error_code: 'august_lock_not_authorized'
13946
+ }
13947
+ | {
13948
+ message: string
13949
+ is_device_error: true
13950
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13951
+ error_code: 'august_lock_missing_bridge'
13952
+ }
13953
+ | {
13954
+ message: string
13955
+ is_device_error: true
13956
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13957
+ error_code: 'salto_site_user_limit_reached'
13958
+ }
13959
+ | {
13960
+ message: string
13961
+ is_device_error: true
13962
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13963
+ error_code: 'ttlock_lock_not_paired_to_gateway'
13964
+ }
13965
+ | {
13966
+ message: string
13967
+ is_device_error: true
13968
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13969
+ error_code: 'missing_device_credentials'
13970
+ }
13971
+ | {
13972
+ message: string
13973
+ is_device_error: true
13974
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13975
+ error_code: 'auxiliary_heat_running'
13976
+ }
13977
+ | {
13978
+ message: string
13979
+ is_device_error: true
13980
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13981
+ error_code: 'subscription_required'
13982
+ }
13983
+ )
13234
13984
  | {
13235
13985
  message: string
13236
13986
  is_connected_account_error: true
@@ -14115,11 +14865,86 @@ export interface Routes {
14115
14865
  workspace_id: string
14116
14866
  /** 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. */
14117
14867
  errors: Array<
14118
- | {
14119
- message: string
14120
- is_device_error: true
14121
- error_code: string
14122
- }
14868
+ | (
14869
+ | {
14870
+ message: string
14871
+ is_device_error: true
14872
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14873
+ error_code: 'device_offline'
14874
+ }
14875
+ | {
14876
+ message: string
14877
+ is_device_error: true
14878
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14879
+ error_code: 'device_removed'
14880
+ }
14881
+ | {
14882
+ message: string
14883
+ is_device_error: true
14884
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14885
+ error_code: 'account_disconnected'
14886
+ }
14887
+ | {
14888
+ message: string
14889
+ is_device_error: true
14890
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14891
+ error_code: 'hub_disconnected'
14892
+ }
14893
+ | {
14894
+ message: string
14895
+ is_device_error: true
14896
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14897
+ error_code: 'device_disconnected'
14898
+ }
14899
+ | {
14900
+ message: string
14901
+ is_device_error: true
14902
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14903
+ error_code: 'empty_backup_access_code_pool'
14904
+ }
14905
+ | {
14906
+ message: string
14907
+ is_device_error: true
14908
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14909
+ error_code: 'august_lock_not_authorized'
14910
+ }
14911
+ | {
14912
+ message: string
14913
+ is_device_error: true
14914
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14915
+ error_code: 'august_lock_missing_bridge'
14916
+ }
14917
+ | {
14918
+ message: string
14919
+ is_device_error: true
14920
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14921
+ error_code: 'salto_site_user_limit_reached'
14922
+ }
14923
+ | {
14924
+ message: string
14925
+ is_device_error: true
14926
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14927
+ error_code: 'ttlock_lock_not_paired_to_gateway'
14928
+ }
14929
+ | {
14930
+ message: string
14931
+ is_device_error: true
14932
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14933
+ error_code: 'missing_device_credentials'
14934
+ }
14935
+ | {
14936
+ message: string
14937
+ is_device_error: true
14938
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14939
+ error_code: 'auxiliary_heat_running'
14940
+ }
14941
+ | {
14942
+ message: string
14943
+ is_device_error: true
14944
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14945
+ error_code: 'subscription_required'
14946
+ }
14947
+ )
14123
14948
  | {
14124
14949
  message: string
14125
14950
  is_connected_account_error: true
@@ -14346,11 +15171,86 @@ export interface Routes {
14346
15171
  workspace_id: string
14347
15172
  /** 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. */
14348
15173
  errors: Array<
14349
- | {
14350
- message: string
14351
- is_device_error: true
14352
- error_code: string
14353
- }
15174
+ | (
15175
+ | {
15176
+ message: string
15177
+ is_device_error: true
15178
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15179
+ error_code: 'device_offline'
15180
+ }
15181
+ | {
15182
+ message: string
15183
+ is_device_error: true
15184
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15185
+ error_code: 'device_removed'
15186
+ }
15187
+ | {
15188
+ message: string
15189
+ is_device_error: true
15190
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15191
+ error_code: 'account_disconnected'
15192
+ }
15193
+ | {
15194
+ message: string
15195
+ is_device_error: true
15196
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15197
+ error_code: 'hub_disconnected'
15198
+ }
15199
+ | {
15200
+ message: string
15201
+ is_device_error: true
15202
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15203
+ error_code: 'device_disconnected'
15204
+ }
15205
+ | {
15206
+ message: string
15207
+ is_device_error: true
15208
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15209
+ error_code: 'empty_backup_access_code_pool'
15210
+ }
15211
+ | {
15212
+ message: string
15213
+ is_device_error: true
15214
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15215
+ error_code: 'august_lock_not_authorized'
15216
+ }
15217
+ | {
15218
+ message: string
15219
+ is_device_error: true
15220
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15221
+ error_code: 'august_lock_missing_bridge'
15222
+ }
15223
+ | {
15224
+ message: string
15225
+ is_device_error: true
15226
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15227
+ error_code: 'salto_site_user_limit_reached'
15228
+ }
15229
+ | {
15230
+ message: string
15231
+ is_device_error: true
15232
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15233
+ error_code: 'ttlock_lock_not_paired_to_gateway'
15234
+ }
15235
+ | {
15236
+ message: string
15237
+ is_device_error: true
15238
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15239
+ error_code: 'missing_device_credentials'
15240
+ }
15241
+ | {
15242
+ message: string
15243
+ is_device_error: true
15244
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15245
+ error_code: 'auxiliary_heat_running'
15246
+ }
15247
+ | {
15248
+ message: string
15249
+ is_device_error: true
15250
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15251
+ error_code: 'subscription_required'
15252
+ }
15253
+ )
14354
15254
  | {
14355
15255
  message: string
14356
15256
  is_connected_account_error: true
@@ -14681,11 +15581,86 @@ export interface Routes {
14681
15581
  workspace_id: string
14682
15582
  /** 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. */
14683
15583
  errors: Array<
14684
- | {
14685
- message: string
14686
- is_device_error: true
14687
- error_code: string
14688
- }
15584
+ | (
15585
+ | {
15586
+ message: string
15587
+ is_device_error: true
15588
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15589
+ error_code: 'device_offline'
15590
+ }
15591
+ | {
15592
+ message: string
15593
+ is_device_error: true
15594
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15595
+ error_code: 'device_removed'
15596
+ }
15597
+ | {
15598
+ message: string
15599
+ is_device_error: true
15600
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15601
+ error_code: 'account_disconnected'
15602
+ }
15603
+ | {
15604
+ message: string
15605
+ is_device_error: true
15606
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15607
+ error_code: 'hub_disconnected'
15608
+ }
15609
+ | {
15610
+ message: string
15611
+ is_device_error: true
15612
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15613
+ error_code: 'device_disconnected'
15614
+ }
15615
+ | {
15616
+ message: string
15617
+ is_device_error: true
15618
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15619
+ error_code: 'empty_backup_access_code_pool'
15620
+ }
15621
+ | {
15622
+ message: string
15623
+ is_device_error: true
15624
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15625
+ error_code: 'august_lock_not_authorized'
15626
+ }
15627
+ | {
15628
+ message: string
15629
+ is_device_error: true
15630
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15631
+ error_code: 'august_lock_missing_bridge'
15632
+ }
15633
+ | {
15634
+ message: string
15635
+ is_device_error: true
15636
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15637
+ error_code: 'salto_site_user_limit_reached'
15638
+ }
15639
+ | {
15640
+ message: string
15641
+ is_device_error: true
15642
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15643
+ error_code: 'ttlock_lock_not_paired_to_gateway'
15644
+ }
15645
+ | {
15646
+ message: string
15647
+ is_device_error: true
15648
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15649
+ error_code: 'missing_device_credentials'
15650
+ }
15651
+ | {
15652
+ message: string
15653
+ is_device_error: true
15654
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15655
+ error_code: 'auxiliary_heat_running'
15656
+ }
15657
+ | {
15658
+ message: string
15659
+ is_device_error: true
15660
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15661
+ error_code: 'subscription_required'
15662
+ }
15663
+ )
14689
15664
  | {
14690
15665
  message: string
14691
15666
  is_connected_account_error: true
@@ -15994,6 +16969,29 @@ export interface Routes {
15994
16969
  /** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
15995
16970
  lower_limit_fahrenheit: number | null
15996
16971
  }
16972
+ | {
16973
+ /** ID of the event. */
16974
+ event_id: string
16975
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
16976
+ workspace_id: string
16977
+ /** Date and time at which the event was created. */
16978
+ created_at: string
16979
+ /** Date and time at which the event occurred. */
16980
+ occurred_at: string
16981
+ /** ID of the device. */
16982
+ device_id: string
16983
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
16984
+ connected_account_id: string
16985
+ event_type: 'thermostat.temperature_reached_set_point'
16986
+ /** Temperature, in °C, reported by the thermostat. */
16987
+ temperature_celsius: number
16988
+ /** Temperature, in °F, reported by the thermostat. */
16989
+ temperature_fahrenheit: number
16990
+ /** Desired temperature, in °C, set by the thermostat's cooling or heating set point. */
16991
+ desired_temperature_celsius?: number | undefined
16992
+ /** Desired temperature, in °F, set by the thermostat's cooling or heating set point. */
16993
+ desired_temperature_fahrenheit?: number | undefined
16994
+ }
15997
16995
  | {
15998
16996
  /** ID of the event. */
15999
16997
  event_id: string
@@ -16113,6 +17111,7 @@ export interface Routes {
16113
17111
  | 'thermostat.manually_adjusted'
16114
17112
  | 'thermostat.temperature_threshold_exceeded'
16115
17113
  | 'thermostat.temperature_threshold_no_longer_exceeded'
17114
+ | 'thermostat.temperature_reached_set_point'
16116
17115
  )
16117
17116
  | undefined
16118
17117
  event_types?:
@@ -16188,6 +17187,7 @@ export interface Routes {
16188
17187
  | 'thermostat.manually_adjusted'
16189
17188
  | 'thermostat.temperature_threshold_exceeded'
16190
17189
  | 'thermostat.temperature_threshold_no_longer_exceeded'
17190
+ | 'thermostat.temperature_reached_set_point'
16191
17191
  >
16192
17192
  | undefined
16193
17193
  connected_account_id?: string | undefined
@@ -17366,6 +18366,29 @@ export interface Routes {
17366
18366
  /** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
17367
18367
  lower_limit_fahrenheit: number | null
17368
18368
  }
18369
+ | {
18370
+ /** ID of the event. */
18371
+ event_id: string
18372
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
18373
+ workspace_id: string
18374
+ /** Date and time at which the event was created. */
18375
+ created_at: string
18376
+ /** Date and time at which the event occurred. */
18377
+ occurred_at: string
18378
+ /** ID of the device. */
18379
+ device_id: string
18380
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
18381
+ connected_account_id: string
18382
+ event_type: 'thermostat.temperature_reached_set_point'
18383
+ /** Temperature, in °C, reported by the thermostat. */
18384
+ temperature_celsius: number
18385
+ /** Temperature, in °F, reported by the thermostat. */
18386
+ temperature_fahrenheit: number
18387
+ /** Desired temperature, in °C, set by the thermostat's cooling or heating set point. */
18388
+ desired_temperature_celsius?: number | undefined
18389
+ /** Desired temperature, in °F, set by the thermostat's cooling or heating set point. */
18390
+ desired_temperature_fahrenheit?: number | undefined
18391
+ }
17369
18392
  | {
17370
18393
  /** ID of the event. */
17371
18394
  event_id: string
@@ -18078,11 +19101,86 @@ export interface Routes {
18078
19101
  workspace_id: string
18079
19102
  /** 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. */
18080
19103
  errors: Array<
18081
- | {
18082
- message: string
18083
- is_device_error: true
18084
- error_code: string
18085
- }
19104
+ | (
19105
+ | {
19106
+ message: string
19107
+ is_device_error: true
19108
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19109
+ error_code: 'device_offline'
19110
+ }
19111
+ | {
19112
+ message: string
19113
+ is_device_error: true
19114
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19115
+ error_code: 'device_removed'
19116
+ }
19117
+ | {
19118
+ message: string
19119
+ is_device_error: true
19120
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19121
+ error_code: 'account_disconnected'
19122
+ }
19123
+ | {
19124
+ message: string
19125
+ is_device_error: true
19126
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19127
+ error_code: 'hub_disconnected'
19128
+ }
19129
+ | {
19130
+ message: string
19131
+ is_device_error: true
19132
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19133
+ error_code: 'device_disconnected'
19134
+ }
19135
+ | {
19136
+ message: string
19137
+ is_device_error: true
19138
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19139
+ error_code: 'empty_backup_access_code_pool'
19140
+ }
19141
+ | {
19142
+ message: string
19143
+ is_device_error: true
19144
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19145
+ error_code: 'august_lock_not_authorized'
19146
+ }
19147
+ | {
19148
+ message: string
19149
+ is_device_error: true
19150
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19151
+ error_code: 'august_lock_missing_bridge'
19152
+ }
19153
+ | {
19154
+ message: string
19155
+ is_device_error: true
19156
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19157
+ error_code: 'salto_site_user_limit_reached'
19158
+ }
19159
+ | {
19160
+ message: string
19161
+ is_device_error: true
19162
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19163
+ error_code: 'ttlock_lock_not_paired_to_gateway'
19164
+ }
19165
+ | {
19166
+ message: string
19167
+ is_device_error: true
19168
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19169
+ error_code: 'missing_device_credentials'
19170
+ }
19171
+ | {
19172
+ message: string
19173
+ is_device_error: true
19174
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19175
+ error_code: 'auxiliary_heat_running'
19176
+ }
19177
+ | {
19178
+ message: string
19179
+ is_device_error: true
19180
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19181
+ error_code: 'subscription_required'
19182
+ }
19183
+ )
18086
19184
  | {
18087
19185
  message: string
18088
19186
  is_connected_account_error: true
@@ -18783,11 +19881,86 @@ export interface Routes {
18783
19881
  workspace_id: string
18784
19882
  /** 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. */
18785
19883
  errors: Array<
18786
- | {
18787
- message: string
18788
- is_device_error: true
18789
- error_code: string
18790
- }
19884
+ | (
19885
+ | {
19886
+ message: string
19887
+ is_device_error: true
19888
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19889
+ error_code: 'device_offline'
19890
+ }
19891
+ | {
19892
+ message: string
19893
+ is_device_error: true
19894
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19895
+ error_code: 'device_removed'
19896
+ }
19897
+ | {
19898
+ message: string
19899
+ is_device_error: true
19900
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19901
+ error_code: 'account_disconnected'
19902
+ }
19903
+ | {
19904
+ message: string
19905
+ is_device_error: true
19906
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19907
+ error_code: 'hub_disconnected'
19908
+ }
19909
+ | {
19910
+ message: string
19911
+ is_device_error: true
19912
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19913
+ error_code: 'device_disconnected'
19914
+ }
19915
+ | {
19916
+ message: string
19917
+ is_device_error: true
19918
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19919
+ error_code: 'empty_backup_access_code_pool'
19920
+ }
19921
+ | {
19922
+ message: string
19923
+ is_device_error: true
19924
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19925
+ error_code: 'august_lock_not_authorized'
19926
+ }
19927
+ | {
19928
+ message: string
19929
+ is_device_error: true
19930
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19931
+ error_code: 'august_lock_missing_bridge'
19932
+ }
19933
+ | {
19934
+ message: string
19935
+ is_device_error: true
19936
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19937
+ error_code: 'salto_site_user_limit_reached'
19938
+ }
19939
+ | {
19940
+ message: string
19941
+ is_device_error: true
19942
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19943
+ error_code: 'ttlock_lock_not_paired_to_gateway'
19944
+ }
19945
+ | {
19946
+ message: string
19947
+ is_device_error: true
19948
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19949
+ error_code: 'missing_device_credentials'
19950
+ }
19951
+ | {
19952
+ message: string
19953
+ is_device_error: true
19954
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19955
+ error_code: 'auxiliary_heat_running'
19956
+ }
19957
+ | {
19958
+ message: string
19959
+ is_device_error: true
19960
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19961
+ error_code: 'subscription_required'
19962
+ }
19963
+ )
18791
19964
  | {
18792
19965
  message: string
18793
19966
  is_connected_account_error: true
@@ -19672,11 +20845,86 @@ export interface Routes {
19672
20845
  workspace_id: string
19673
20846
  /** 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. */
19674
20847
  errors: Array<
19675
- | {
19676
- message: string
19677
- is_device_error: true
19678
- error_code: string
19679
- }
20848
+ | (
20849
+ | {
20850
+ message: string
20851
+ is_device_error: true
20852
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20853
+ error_code: 'device_offline'
20854
+ }
20855
+ | {
20856
+ message: string
20857
+ is_device_error: true
20858
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20859
+ error_code: 'device_removed'
20860
+ }
20861
+ | {
20862
+ message: string
20863
+ is_device_error: true
20864
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20865
+ error_code: 'account_disconnected'
20866
+ }
20867
+ | {
20868
+ message: string
20869
+ is_device_error: true
20870
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20871
+ error_code: 'hub_disconnected'
20872
+ }
20873
+ | {
20874
+ message: string
20875
+ is_device_error: true
20876
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20877
+ error_code: 'device_disconnected'
20878
+ }
20879
+ | {
20880
+ message: string
20881
+ is_device_error: true
20882
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20883
+ error_code: 'empty_backup_access_code_pool'
20884
+ }
20885
+ | {
20886
+ message: string
20887
+ is_device_error: true
20888
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20889
+ error_code: 'august_lock_not_authorized'
20890
+ }
20891
+ | {
20892
+ message: string
20893
+ is_device_error: true
20894
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20895
+ error_code: 'august_lock_missing_bridge'
20896
+ }
20897
+ | {
20898
+ message: string
20899
+ is_device_error: true
20900
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20901
+ error_code: 'salto_site_user_limit_reached'
20902
+ }
20903
+ | {
20904
+ message: string
20905
+ is_device_error: true
20906
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20907
+ error_code: 'ttlock_lock_not_paired_to_gateway'
20908
+ }
20909
+ | {
20910
+ message: string
20911
+ is_device_error: true
20912
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20913
+ error_code: 'missing_device_credentials'
20914
+ }
20915
+ | {
20916
+ message: string
20917
+ is_device_error: true
20918
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20919
+ error_code: 'auxiliary_heat_running'
20920
+ }
20921
+ | {
20922
+ message: string
20923
+ is_device_error: true
20924
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20925
+ error_code: 'subscription_required'
20926
+ }
20927
+ )
19680
20928
  | {
19681
20929
  message: string
19682
20930
  is_connected_account_error: true
@@ -20377,11 +21625,86 @@ export interface Routes {
20377
21625
  workspace_id: string
20378
21626
  /** 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. */
20379
21627
  errors: Array<
20380
- | {
20381
- message: string
20382
- is_device_error: true
20383
- error_code: string
20384
- }
21628
+ | (
21629
+ | {
21630
+ message: string
21631
+ is_device_error: true
21632
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
21633
+ error_code: 'device_offline'
21634
+ }
21635
+ | {
21636
+ message: string
21637
+ is_device_error: true
21638
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
21639
+ error_code: 'device_removed'
21640
+ }
21641
+ | {
21642
+ message: string
21643
+ is_device_error: true
21644
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
21645
+ error_code: 'account_disconnected'
21646
+ }
21647
+ | {
21648
+ message: string
21649
+ is_device_error: true
21650
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
21651
+ error_code: 'hub_disconnected'
21652
+ }
21653
+ | {
21654
+ message: string
21655
+ is_device_error: true
21656
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
21657
+ error_code: 'device_disconnected'
21658
+ }
21659
+ | {
21660
+ message: string
21661
+ is_device_error: true
21662
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
21663
+ error_code: 'empty_backup_access_code_pool'
21664
+ }
21665
+ | {
21666
+ message: string
21667
+ is_device_error: true
21668
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
21669
+ error_code: 'august_lock_not_authorized'
21670
+ }
21671
+ | {
21672
+ message: string
21673
+ is_device_error: true
21674
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
21675
+ error_code: 'august_lock_missing_bridge'
21676
+ }
21677
+ | {
21678
+ message: string
21679
+ is_device_error: true
21680
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
21681
+ error_code: 'salto_site_user_limit_reached'
21682
+ }
21683
+ | {
21684
+ message: string
21685
+ is_device_error: true
21686
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
21687
+ error_code: 'ttlock_lock_not_paired_to_gateway'
21688
+ }
21689
+ | {
21690
+ message: string
21691
+ is_device_error: true
21692
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
21693
+ error_code: 'missing_device_credentials'
21694
+ }
21695
+ | {
21696
+ message: string
21697
+ is_device_error: true
21698
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
21699
+ error_code: 'auxiliary_heat_running'
21700
+ }
21701
+ | {
21702
+ message: string
21703
+ is_device_error: true
21704
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
21705
+ error_code: 'subscription_required'
21706
+ }
21707
+ )
20385
21708
  | {
20386
21709
  message: string
20387
21710
  is_connected_account_error: true
@@ -23196,11 +24519,86 @@ export interface Routes {
23196
24519
  workspace_id: string
23197
24520
  /** 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. */
23198
24521
  errors: Array<
23199
- | {
23200
- message: string
23201
- is_device_error: true
23202
- error_code: string
23203
- }
24522
+ | (
24523
+ | {
24524
+ message: string
24525
+ is_device_error: true
24526
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24527
+ error_code: 'device_offline'
24528
+ }
24529
+ | {
24530
+ message: string
24531
+ is_device_error: true
24532
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24533
+ error_code: 'device_removed'
24534
+ }
24535
+ | {
24536
+ message: string
24537
+ is_device_error: true
24538
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24539
+ error_code: 'account_disconnected'
24540
+ }
24541
+ | {
24542
+ message: string
24543
+ is_device_error: true
24544
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24545
+ error_code: 'hub_disconnected'
24546
+ }
24547
+ | {
24548
+ message: string
24549
+ is_device_error: true
24550
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24551
+ error_code: 'device_disconnected'
24552
+ }
24553
+ | {
24554
+ message: string
24555
+ is_device_error: true
24556
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24557
+ error_code: 'empty_backup_access_code_pool'
24558
+ }
24559
+ | {
24560
+ message: string
24561
+ is_device_error: true
24562
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24563
+ error_code: 'august_lock_not_authorized'
24564
+ }
24565
+ | {
24566
+ message: string
24567
+ is_device_error: true
24568
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24569
+ error_code: 'august_lock_missing_bridge'
24570
+ }
24571
+ | {
24572
+ message: string
24573
+ is_device_error: true
24574
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24575
+ error_code: 'salto_site_user_limit_reached'
24576
+ }
24577
+ | {
24578
+ message: string
24579
+ is_device_error: true
24580
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24581
+ error_code: 'ttlock_lock_not_paired_to_gateway'
24582
+ }
24583
+ | {
24584
+ message: string
24585
+ is_device_error: true
24586
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24587
+ error_code: 'missing_device_credentials'
24588
+ }
24589
+ | {
24590
+ message: string
24591
+ is_device_error: true
24592
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24593
+ error_code: 'auxiliary_heat_running'
24594
+ }
24595
+ | {
24596
+ message: string
24597
+ is_device_error: true
24598
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24599
+ error_code: 'subscription_required'
24600
+ }
24601
+ )
23204
24602
  | {
23205
24603
  message: string
23206
24604
  is_connected_account_error: true
@@ -23901,11 +25299,86 @@ export interface Routes {
23901
25299
  workspace_id: string
23902
25300
  /** 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. */
23903
25301
  errors: Array<
23904
- | {
23905
- message: string
23906
- is_device_error: true
23907
- error_code: string
23908
- }
25302
+ | (
25303
+ | {
25304
+ message: string
25305
+ is_device_error: true
25306
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25307
+ error_code: 'device_offline'
25308
+ }
25309
+ | {
25310
+ message: string
25311
+ is_device_error: true
25312
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25313
+ error_code: 'device_removed'
25314
+ }
25315
+ | {
25316
+ message: string
25317
+ is_device_error: true
25318
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25319
+ error_code: 'account_disconnected'
25320
+ }
25321
+ | {
25322
+ message: string
25323
+ is_device_error: true
25324
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25325
+ error_code: 'hub_disconnected'
25326
+ }
25327
+ | {
25328
+ message: string
25329
+ is_device_error: true
25330
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25331
+ error_code: 'device_disconnected'
25332
+ }
25333
+ | {
25334
+ message: string
25335
+ is_device_error: true
25336
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25337
+ error_code: 'empty_backup_access_code_pool'
25338
+ }
25339
+ | {
25340
+ message: string
25341
+ is_device_error: true
25342
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25343
+ error_code: 'august_lock_not_authorized'
25344
+ }
25345
+ | {
25346
+ message: string
25347
+ is_device_error: true
25348
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25349
+ error_code: 'august_lock_missing_bridge'
25350
+ }
25351
+ | {
25352
+ message: string
25353
+ is_device_error: true
25354
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25355
+ error_code: 'salto_site_user_limit_reached'
25356
+ }
25357
+ | {
25358
+ message: string
25359
+ is_device_error: true
25360
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25361
+ error_code: 'ttlock_lock_not_paired_to_gateway'
25362
+ }
25363
+ | {
25364
+ message: string
25365
+ is_device_error: true
25366
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25367
+ error_code: 'missing_device_credentials'
25368
+ }
25369
+ | {
25370
+ message: string
25371
+ is_device_error: true
25372
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25373
+ error_code: 'auxiliary_heat_running'
25374
+ }
25375
+ | {
25376
+ message: string
25377
+ is_device_error: true
25378
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25379
+ error_code: 'subscription_required'
25380
+ }
25381
+ )
23909
25382
  | {
23910
25383
  message: string
23911
25384
  is_connected_account_error: true
@@ -26916,11 +28389,86 @@ export interface Routes {
26916
28389
  workspace_id: string
26917
28390
  /** 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. */
26918
28391
  errors: Array<
26919
- | {
26920
- message: string
26921
- is_device_error: true
26922
- error_code: string
26923
- }
28392
+ | (
28393
+ | {
28394
+ message: string
28395
+ is_device_error: true
28396
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28397
+ error_code: 'device_offline'
28398
+ }
28399
+ | {
28400
+ message: string
28401
+ is_device_error: true
28402
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28403
+ error_code: 'device_removed'
28404
+ }
28405
+ | {
28406
+ message: string
28407
+ is_device_error: true
28408
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28409
+ error_code: 'account_disconnected'
28410
+ }
28411
+ | {
28412
+ message: string
28413
+ is_device_error: true
28414
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28415
+ error_code: 'hub_disconnected'
28416
+ }
28417
+ | {
28418
+ message: string
28419
+ is_device_error: true
28420
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28421
+ error_code: 'device_disconnected'
28422
+ }
28423
+ | {
28424
+ message: string
28425
+ is_device_error: true
28426
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28427
+ error_code: 'empty_backup_access_code_pool'
28428
+ }
28429
+ | {
28430
+ message: string
28431
+ is_device_error: true
28432
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28433
+ error_code: 'august_lock_not_authorized'
28434
+ }
28435
+ | {
28436
+ message: string
28437
+ is_device_error: true
28438
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28439
+ error_code: 'august_lock_missing_bridge'
28440
+ }
28441
+ | {
28442
+ message: string
28443
+ is_device_error: true
28444
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28445
+ error_code: 'salto_site_user_limit_reached'
28446
+ }
28447
+ | {
28448
+ message: string
28449
+ is_device_error: true
28450
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28451
+ error_code: 'ttlock_lock_not_paired_to_gateway'
28452
+ }
28453
+ | {
28454
+ message: string
28455
+ is_device_error: true
28456
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28457
+ error_code: 'missing_device_credentials'
28458
+ }
28459
+ | {
28460
+ message: string
28461
+ is_device_error: true
28462
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28463
+ error_code: 'auxiliary_heat_running'
28464
+ }
28465
+ | {
28466
+ message: string
28467
+ is_device_error: true
28468
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28469
+ error_code: 'subscription_required'
28470
+ }
28471
+ )
26924
28472
  | {
26925
28473
  message: string
26926
28474
  is_connected_account_error: true
@@ -27015,11 +28563,86 @@ export interface Routes {
27015
28563
  workspace_id: string
27016
28564
  /** 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. */
27017
28565
  errors: Array<
27018
- | {
27019
- message: string
27020
- is_device_error: true
27021
- error_code: string
27022
- }
28566
+ | (
28567
+ | {
28568
+ message: string
28569
+ is_device_error: true
28570
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28571
+ error_code: 'device_offline'
28572
+ }
28573
+ | {
28574
+ message: string
28575
+ is_device_error: true
28576
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28577
+ error_code: 'device_removed'
28578
+ }
28579
+ | {
28580
+ message: string
28581
+ is_device_error: true
28582
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28583
+ error_code: 'account_disconnected'
28584
+ }
28585
+ | {
28586
+ message: string
28587
+ is_device_error: true
28588
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28589
+ error_code: 'hub_disconnected'
28590
+ }
28591
+ | {
28592
+ message: string
28593
+ is_device_error: true
28594
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28595
+ error_code: 'device_disconnected'
28596
+ }
28597
+ | {
28598
+ message: string
28599
+ is_device_error: true
28600
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28601
+ error_code: 'empty_backup_access_code_pool'
28602
+ }
28603
+ | {
28604
+ message: string
28605
+ is_device_error: true
28606
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28607
+ error_code: 'august_lock_not_authorized'
28608
+ }
28609
+ | {
28610
+ message: string
28611
+ is_device_error: true
28612
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28613
+ error_code: 'august_lock_missing_bridge'
28614
+ }
28615
+ | {
28616
+ message: string
28617
+ is_device_error: true
28618
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28619
+ error_code: 'salto_site_user_limit_reached'
28620
+ }
28621
+ | {
28622
+ message: string
28623
+ is_device_error: true
28624
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28625
+ error_code: 'ttlock_lock_not_paired_to_gateway'
28626
+ }
28627
+ | {
28628
+ message: string
28629
+ is_device_error: true
28630
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28631
+ error_code: 'missing_device_credentials'
28632
+ }
28633
+ | {
28634
+ message: string
28635
+ is_device_error: true
28636
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28637
+ error_code: 'auxiliary_heat_running'
28638
+ }
28639
+ | {
28640
+ message: string
28641
+ is_device_error: true
28642
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28643
+ error_code: 'subscription_required'
28644
+ }
28645
+ )
27023
28646
  | {
27024
28647
  message: string
27025
28648
  is_connected_account_error: true
@@ -29684,11 +31307,86 @@ export interface Routes {
29684
31307
  workspace_id: string
29685
31308
  /** 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. */
29686
31309
  errors: Array<
29687
- | {
29688
- message: string
29689
- is_device_error: true
29690
- error_code: string
29691
- }
31310
+ | (
31311
+ | {
31312
+ message: string
31313
+ is_device_error: true
31314
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31315
+ error_code: 'device_offline'
31316
+ }
31317
+ | {
31318
+ message: string
31319
+ is_device_error: true
31320
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31321
+ error_code: 'device_removed'
31322
+ }
31323
+ | {
31324
+ message: string
31325
+ is_device_error: true
31326
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31327
+ error_code: 'account_disconnected'
31328
+ }
31329
+ | {
31330
+ message: string
31331
+ is_device_error: true
31332
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31333
+ error_code: 'hub_disconnected'
31334
+ }
31335
+ | {
31336
+ message: string
31337
+ is_device_error: true
31338
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31339
+ error_code: 'device_disconnected'
31340
+ }
31341
+ | {
31342
+ message: string
31343
+ is_device_error: true
31344
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31345
+ error_code: 'empty_backup_access_code_pool'
31346
+ }
31347
+ | {
31348
+ message: string
31349
+ is_device_error: true
31350
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31351
+ error_code: 'august_lock_not_authorized'
31352
+ }
31353
+ | {
31354
+ message: string
31355
+ is_device_error: true
31356
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31357
+ error_code: 'august_lock_missing_bridge'
31358
+ }
31359
+ | {
31360
+ message: string
31361
+ is_device_error: true
31362
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31363
+ error_code: 'salto_site_user_limit_reached'
31364
+ }
31365
+ | {
31366
+ message: string
31367
+ is_device_error: true
31368
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31369
+ error_code: 'ttlock_lock_not_paired_to_gateway'
31370
+ }
31371
+ | {
31372
+ message: string
31373
+ is_device_error: true
31374
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31375
+ error_code: 'missing_device_credentials'
31376
+ }
31377
+ | {
31378
+ message: string
31379
+ is_device_error: true
31380
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31381
+ error_code: 'auxiliary_heat_running'
31382
+ }
31383
+ | {
31384
+ message: string
31385
+ is_device_error: true
31386
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31387
+ error_code: 'subscription_required'
31388
+ }
31389
+ )
29692
31390
  | {
29693
31391
  message: string
29694
31392
  is_connected_account_error: true
@@ -32485,11 +34183,86 @@ export interface Routes {
32485
34183
  workspace_id: string
32486
34184
  /** 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. */
32487
34185
  errors: Array<
32488
- | {
32489
- message: string
32490
- is_device_error: true
32491
- error_code: string
32492
- }
34186
+ | (
34187
+ | {
34188
+ message: string
34189
+ is_device_error: true
34190
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34191
+ error_code: 'device_offline'
34192
+ }
34193
+ | {
34194
+ message: string
34195
+ is_device_error: true
34196
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34197
+ error_code: 'device_removed'
34198
+ }
34199
+ | {
34200
+ message: string
34201
+ is_device_error: true
34202
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34203
+ error_code: 'account_disconnected'
34204
+ }
34205
+ | {
34206
+ message: string
34207
+ is_device_error: true
34208
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34209
+ error_code: 'hub_disconnected'
34210
+ }
34211
+ | {
34212
+ message: string
34213
+ is_device_error: true
34214
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34215
+ error_code: 'device_disconnected'
34216
+ }
34217
+ | {
34218
+ message: string
34219
+ is_device_error: true
34220
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34221
+ error_code: 'empty_backup_access_code_pool'
34222
+ }
34223
+ | {
34224
+ message: string
34225
+ is_device_error: true
34226
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34227
+ error_code: 'august_lock_not_authorized'
34228
+ }
34229
+ | {
34230
+ message: string
34231
+ is_device_error: true
34232
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34233
+ error_code: 'august_lock_missing_bridge'
34234
+ }
34235
+ | {
34236
+ message: string
34237
+ is_device_error: true
34238
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34239
+ error_code: 'salto_site_user_limit_reached'
34240
+ }
34241
+ | {
34242
+ message: string
34243
+ is_device_error: true
34244
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34245
+ error_code: 'ttlock_lock_not_paired_to_gateway'
34246
+ }
34247
+ | {
34248
+ message: string
34249
+ is_device_error: true
34250
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34251
+ error_code: 'missing_device_credentials'
34252
+ }
34253
+ | {
34254
+ message: string
34255
+ is_device_error: true
34256
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34257
+ error_code: 'auxiliary_heat_running'
34258
+ }
34259
+ | {
34260
+ message: string
34261
+ is_device_error: true
34262
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34263
+ error_code: 'subscription_required'
34264
+ }
34265
+ )
32493
34266
  | {
32494
34267
  message: string
32495
34268
  is_connected_account_error: true
@@ -33190,11 +34963,86 @@ export interface Routes {
33190
34963
  workspace_id: string
33191
34964
  /** 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. */
33192
34965
  errors: Array<
33193
- | {
33194
- message: string
33195
- is_device_error: true
33196
- error_code: string
33197
- }
34966
+ | (
34967
+ | {
34968
+ message: string
34969
+ is_device_error: true
34970
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34971
+ error_code: 'device_offline'
34972
+ }
34973
+ | {
34974
+ message: string
34975
+ is_device_error: true
34976
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34977
+ error_code: 'device_removed'
34978
+ }
34979
+ | {
34980
+ message: string
34981
+ is_device_error: true
34982
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34983
+ error_code: 'account_disconnected'
34984
+ }
34985
+ | {
34986
+ message: string
34987
+ is_device_error: true
34988
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34989
+ error_code: 'hub_disconnected'
34990
+ }
34991
+ | {
34992
+ message: string
34993
+ is_device_error: true
34994
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34995
+ error_code: 'device_disconnected'
34996
+ }
34997
+ | {
34998
+ message: string
34999
+ is_device_error: true
35000
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
35001
+ error_code: 'empty_backup_access_code_pool'
35002
+ }
35003
+ | {
35004
+ message: string
35005
+ is_device_error: true
35006
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
35007
+ error_code: 'august_lock_not_authorized'
35008
+ }
35009
+ | {
35010
+ message: string
35011
+ is_device_error: true
35012
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
35013
+ error_code: 'august_lock_missing_bridge'
35014
+ }
35015
+ | {
35016
+ message: string
35017
+ is_device_error: true
35018
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
35019
+ error_code: 'salto_site_user_limit_reached'
35020
+ }
35021
+ | {
35022
+ message: string
35023
+ is_device_error: true
35024
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
35025
+ error_code: 'ttlock_lock_not_paired_to_gateway'
35026
+ }
35027
+ | {
35028
+ message: string
35029
+ is_device_error: true
35030
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
35031
+ error_code: 'missing_device_credentials'
35032
+ }
35033
+ | {
35034
+ message: string
35035
+ is_device_error: true
35036
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
35037
+ error_code: 'auxiliary_heat_running'
35038
+ }
35039
+ | {
35040
+ message: string
35041
+ is_device_error: true
35042
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
35043
+ error_code: 'subscription_required'
35044
+ }
35045
+ )
33198
35046
  | {
33199
35047
  message: string
33200
35048
  is_connected_account_error: true
@@ -37254,11 +39102,86 @@ export interface Routes {
37254
39102
  workspace_id: string
37255
39103
  /** 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. */
37256
39104
  errors: Array<
37257
- | {
37258
- message: string
37259
- is_device_error: true
37260
- error_code: string
37261
- }
39105
+ | (
39106
+ | {
39107
+ message: string
39108
+ is_device_error: true
39109
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39110
+ error_code: 'device_offline'
39111
+ }
39112
+ | {
39113
+ message: string
39114
+ is_device_error: true
39115
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39116
+ error_code: 'device_removed'
39117
+ }
39118
+ | {
39119
+ message: string
39120
+ is_device_error: true
39121
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39122
+ error_code: 'account_disconnected'
39123
+ }
39124
+ | {
39125
+ message: string
39126
+ is_device_error: true
39127
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39128
+ error_code: 'hub_disconnected'
39129
+ }
39130
+ | {
39131
+ message: string
39132
+ is_device_error: true
39133
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39134
+ error_code: 'device_disconnected'
39135
+ }
39136
+ | {
39137
+ message: string
39138
+ is_device_error: true
39139
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39140
+ error_code: 'empty_backup_access_code_pool'
39141
+ }
39142
+ | {
39143
+ message: string
39144
+ is_device_error: true
39145
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39146
+ error_code: 'august_lock_not_authorized'
39147
+ }
39148
+ | {
39149
+ message: string
39150
+ is_device_error: true
39151
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39152
+ error_code: 'august_lock_missing_bridge'
39153
+ }
39154
+ | {
39155
+ message: string
39156
+ is_device_error: true
39157
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39158
+ error_code: 'salto_site_user_limit_reached'
39159
+ }
39160
+ | {
39161
+ message: string
39162
+ is_device_error: true
39163
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39164
+ error_code: 'ttlock_lock_not_paired_to_gateway'
39165
+ }
39166
+ | {
39167
+ message: string
39168
+ is_device_error: true
39169
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39170
+ error_code: 'missing_device_credentials'
39171
+ }
39172
+ | {
39173
+ message: string
39174
+ is_device_error: true
39175
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39176
+ error_code: 'auxiliary_heat_running'
39177
+ }
39178
+ | {
39179
+ message: string
39180
+ is_device_error: true
39181
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39182
+ error_code: 'subscription_required'
39183
+ }
39184
+ )
37262
39185
  | {
37263
39186
  message: string
37264
39187
  is_connected_account_error: true
@@ -37961,11 +39884,86 @@ export interface Routes {
37961
39884
  workspace_id: string
37962
39885
  /** 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. */
37963
39886
  errors: Array<
37964
- | {
37965
- message: string
37966
- is_device_error: true
37967
- error_code: string
37968
- }
39887
+ | (
39888
+ | {
39889
+ message: string
39890
+ is_device_error: true
39891
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39892
+ error_code: 'device_offline'
39893
+ }
39894
+ | {
39895
+ message: string
39896
+ is_device_error: true
39897
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39898
+ error_code: 'device_removed'
39899
+ }
39900
+ | {
39901
+ message: string
39902
+ is_device_error: true
39903
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39904
+ error_code: 'account_disconnected'
39905
+ }
39906
+ | {
39907
+ message: string
39908
+ is_device_error: true
39909
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39910
+ error_code: 'hub_disconnected'
39911
+ }
39912
+ | {
39913
+ message: string
39914
+ is_device_error: true
39915
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39916
+ error_code: 'device_disconnected'
39917
+ }
39918
+ | {
39919
+ message: string
39920
+ is_device_error: true
39921
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39922
+ error_code: 'empty_backup_access_code_pool'
39923
+ }
39924
+ | {
39925
+ message: string
39926
+ is_device_error: true
39927
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39928
+ error_code: 'august_lock_not_authorized'
39929
+ }
39930
+ | {
39931
+ message: string
39932
+ is_device_error: true
39933
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39934
+ error_code: 'august_lock_missing_bridge'
39935
+ }
39936
+ | {
39937
+ message: string
39938
+ is_device_error: true
39939
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39940
+ error_code: 'salto_site_user_limit_reached'
39941
+ }
39942
+ | {
39943
+ message: string
39944
+ is_device_error: true
39945
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39946
+ error_code: 'ttlock_lock_not_paired_to_gateway'
39947
+ }
39948
+ | {
39949
+ message: string
39950
+ is_device_error: true
39951
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39952
+ error_code: 'missing_device_credentials'
39953
+ }
39954
+ | {
39955
+ message: string
39956
+ is_device_error: true
39957
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39958
+ error_code: 'auxiliary_heat_running'
39959
+ }
39960
+ | {
39961
+ message: string
39962
+ is_device_error: true
39963
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39964
+ error_code: 'subscription_required'
39965
+ }
39966
+ )
37969
39967
  | {
37970
39968
  message: string
37971
39969
  is_connected_account_error: true