@seamapi/types 1.324.0 → 1.325.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
@@ -18078,11 +19053,86 @@ export interface Routes {
18078
19053
  workspace_id: string
18079
19054
  /** 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
19055
  errors: Array<
18081
- | {
18082
- message: string
18083
- is_device_error: true
18084
- error_code: string
18085
- }
19056
+ | (
19057
+ | {
19058
+ message: string
19059
+ is_device_error: true
19060
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19061
+ error_code: 'device_offline'
19062
+ }
19063
+ | {
19064
+ message: string
19065
+ is_device_error: true
19066
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19067
+ error_code: 'device_removed'
19068
+ }
19069
+ | {
19070
+ message: string
19071
+ is_device_error: true
19072
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19073
+ error_code: 'account_disconnected'
19074
+ }
19075
+ | {
19076
+ message: string
19077
+ is_device_error: true
19078
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19079
+ error_code: 'hub_disconnected'
19080
+ }
19081
+ | {
19082
+ message: string
19083
+ is_device_error: true
19084
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19085
+ error_code: 'device_disconnected'
19086
+ }
19087
+ | {
19088
+ message: string
19089
+ is_device_error: true
19090
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19091
+ error_code: 'empty_backup_access_code_pool'
19092
+ }
19093
+ | {
19094
+ message: string
19095
+ is_device_error: true
19096
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19097
+ error_code: 'august_lock_not_authorized'
19098
+ }
19099
+ | {
19100
+ message: string
19101
+ is_device_error: true
19102
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19103
+ error_code: 'august_lock_missing_bridge'
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: 'salto_site_user_limit_reached'
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: 'ttlock_lock_not_paired_to_gateway'
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: 'missing_device_credentials'
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: 'auxiliary_heat_running'
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: 'subscription_required'
19134
+ }
19135
+ )
18086
19136
  | {
18087
19137
  message: string
18088
19138
  is_connected_account_error: true
@@ -18783,11 +19833,86 @@ export interface Routes {
18783
19833
  workspace_id: string
18784
19834
  /** 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
19835
  errors: Array<
18786
- | {
18787
- message: string
18788
- is_device_error: true
18789
- error_code: string
18790
- }
19836
+ | (
19837
+ | {
19838
+ message: string
19839
+ is_device_error: true
19840
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19841
+ error_code: 'device_offline'
19842
+ }
19843
+ | {
19844
+ message: string
19845
+ is_device_error: true
19846
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19847
+ error_code: 'device_removed'
19848
+ }
19849
+ | {
19850
+ message: string
19851
+ is_device_error: true
19852
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19853
+ error_code: 'account_disconnected'
19854
+ }
19855
+ | {
19856
+ message: string
19857
+ is_device_error: true
19858
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19859
+ error_code: 'hub_disconnected'
19860
+ }
19861
+ | {
19862
+ message: string
19863
+ is_device_error: true
19864
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19865
+ error_code: 'device_disconnected'
19866
+ }
19867
+ | {
19868
+ message: string
19869
+ is_device_error: true
19870
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19871
+ error_code: 'empty_backup_access_code_pool'
19872
+ }
19873
+ | {
19874
+ message: string
19875
+ is_device_error: true
19876
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19877
+ error_code: 'august_lock_not_authorized'
19878
+ }
19879
+ | {
19880
+ message: string
19881
+ is_device_error: true
19882
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19883
+ error_code: 'august_lock_missing_bridge'
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: 'salto_site_user_limit_reached'
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: 'ttlock_lock_not_paired_to_gateway'
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: 'missing_device_credentials'
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: 'auxiliary_heat_running'
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: 'subscription_required'
19914
+ }
19915
+ )
18791
19916
  | {
18792
19917
  message: string
18793
19918
  is_connected_account_error: true
@@ -19672,11 +20797,86 @@ export interface Routes {
19672
20797
  workspace_id: string
19673
20798
  /** 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
20799
  errors: Array<
19675
- | {
19676
- message: string
19677
- is_device_error: true
19678
- error_code: string
19679
- }
20800
+ | (
20801
+ | {
20802
+ message: string
20803
+ is_device_error: true
20804
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20805
+ error_code: 'device_offline'
20806
+ }
20807
+ | {
20808
+ message: string
20809
+ is_device_error: true
20810
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20811
+ error_code: 'device_removed'
20812
+ }
20813
+ | {
20814
+ message: string
20815
+ is_device_error: true
20816
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20817
+ error_code: 'account_disconnected'
20818
+ }
20819
+ | {
20820
+ message: string
20821
+ is_device_error: true
20822
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20823
+ error_code: 'hub_disconnected'
20824
+ }
20825
+ | {
20826
+ message: string
20827
+ is_device_error: true
20828
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20829
+ error_code: 'device_disconnected'
20830
+ }
20831
+ | {
20832
+ message: string
20833
+ is_device_error: true
20834
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20835
+ error_code: 'empty_backup_access_code_pool'
20836
+ }
20837
+ | {
20838
+ message: string
20839
+ is_device_error: true
20840
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20841
+ error_code: 'august_lock_not_authorized'
20842
+ }
20843
+ | {
20844
+ message: string
20845
+ is_device_error: true
20846
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20847
+ error_code: 'august_lock_missing_bridge'
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: 'salto_site_user_limit_reached'
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: 'ttlock_lock_not_paired_to_gateway'
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: 'missing_device_credentials'
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: 'auxiliary_heat_running'
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: 'subscription_required'
20878
+ }
20879
+ )
19680
20880
  | {
19681
20881
  message: string
19682
20882
  is_connected_account_error: true
@@ -20377,11 +21577,86 @@ export interface Routes {
20377
21577
  workspace_id: string
20378
21578
  /** 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
21579
  errors: Array<
20380
- | {
20381
- message: string
20382
- is_device_error: true
20383
- error_code: string
20384
- }
21580
+ | (
21581
+ | {
21582
+ message: string
21583
+ is_device_error: true
21584
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
21585
+ error_code: 'device_offline'
21586
+ }
21587
+ | {
21588
+ message: string
21589
+ is_device_error: true
21590
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
21591
+ error_code: 'device_removed'
21592
+ }
21593
+ | {
21594
+ message: string
21595
+ is_device_error: true
21596
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
21597
+ error_code: 'account_disconnected'
21598
+ }
21599
+ | {
21600
+ message: string
21601
+ is_device_error: true
21602
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
21603
+ error_code: 'hub_disconnected'
21604
+ }
21605
+ | {
21606
+ message: string
21607
+ is_device_error: true
21608
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
21609
+ error_code: 'device_disconnected'
21610
+ }
21611
+ | {
21612
+ message: string
21613
+ is_device_error: true
21614
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
21615
+ error_code: 'empty_backup_access_code_pool'
21616
+ }
21617
+ | {
21618
+ message: string
21619
+ is_device_error: true
21620
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
21621
+ error_code: 'august_lock_not_authorized'
21622
+ }
21623
+ | {
21624
+ message: string
21625
+ is_device_error: true
21626
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
21627
+ error_code: 'august_lock_missing_bridge'
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: 'salto_site_user_limit_reached'
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: 'ttlock_lock_not_paired_to_gateway'
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: 'missing_device_credentials'
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: 'auxiliary_heat_running'
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: 'subscription_required'
21658
+ }
21659
+ )
20385
21660
  | {
20386
21661
  message: string
20387
21662
  is_connected_account_error: true
@@ -23196,11 +24471,86 @@ export interface Routes {
23196
24471
  workspace_id: string
23197
24472
  /** 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
24473
  errors: Array<
23199
- | {
23200
- message: string
23201
- is_device_error: true
23202
- error_code: string
23203
- }
24474
+ | (
24475
+ | {
24476
+ message: string
24477
+ is_device_error: true
24478
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24479
+ error_code: 'device_offline'
24480
+ }
24481
+ | {
24482
+ message: string
24483
+ is_device_error: true
24484
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24485
+ error_code: 'device_removed'
24486
+ }
24487
+ | {
24488
+ message: string
24489
+ is_device_error: true
24490
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24491
+ error_code: 'account_disconnected'
24492
+ }
24493
+ | {
24494
+ message: string
24495
+ is_device_error: true
24496
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24497
+ error_code: 'hub_disconnected'
24498
+ }
24499
+ | {
24500
+ message: string
24501
+ is_device_error: true
24502
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24503
+ error_code: 'device_disconnected'
24504
+ }
24505
+ | {
24506
+ message: string
24507
+ is_device_error: true
24508
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24509
+ error_code: 'empty_backup_access_code_pool'
24510
+ }
24511
+ | {
24512
+ message: string
24513
+ is_device_error: true
24514
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24515
+ error_code: 'august_lock_not_authorized'
24516
+ }
24517
+ | {
24518
+ message: string
24519
+ is_device_error: true
24520
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24521
+ error_code: 'august_lock_missing_bridge'
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: 'salto_site_user_limit_reached'
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: 'ttlock_lock_not_paired_to_gateway'
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: 'missing_device_credentials'
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: 'auxiliary_heat_running'
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: 'subscription_required'
24552
+ }
24553
+ )
23204
24554
  | {
23205
24555
  message: string
23206
24556
  is_connected_account_error: true
@@ -23901,11 +25251,86 @@ export interface Routes {
23901
25251
  workspace_id: string
23902
25252
  /** 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
25253
  errors: Array<
23904
- | {
23905
- message: string
23906
- is_device_error: true
23907
- error_code: string
23908
- }
25254
+ | (
25255
+ | {
25256
+ message: string
25257
+ is_device_error: true
25258
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25259
+ error_code: 'device_offline'
25260
+ }
25261
+ | {
25262
+ message: string
25263
+ is_device_error: true
25264
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25265
+ error_code: 'device_removed'
25266
+ }
25267
+ | {
25268
+ message: string
25269
+ is_device_error: true
25270
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25271
+ error_code: 'account_disconnected'
25272
+ }
25273
+ | {
25274
+ message: string
25275
+ is_device_error: true
25276
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25277
+ error_code: 'hub_disconnected'
25278
+ }
25279
+ | {
25280
+ message: string
25281
+ is_device_error: true
25282
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25283
+ error_code: 'device_disconnected'
25284
+ }
25285
+ | {
25286
+ message: string
25287
+ is_device_error: true
25288
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25289
+ error_code: 'empty_backup_access_code_pool'
25290
+ }
25291
+ | {
25292
+ message: string
25293
+ is_device_error: true
25294
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25295
+ error_code: 'august_lock_not_authorized'
25296
+ }
25297
+ | {
25298
+ message: string
25299
+ is_device_error: true
25300
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25301
+ error_code: 'august_lock_missing_bridge'
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: 'salto_site_user_limit_reached'
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: 'ttlock_lock_not_paired_to_gateway'
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: 'missing_device_credentials'
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: 'auxiliary_heat_running'
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: 'subscription_required'
25332
+ }
25333
+ )
23909
25334
  | {
23910
25335
  message: string
23911
25336
  is_connected_account_error: true
@@ -26916,11 +28341,86 @@ export interface Routes {
26916
28341
  workspace_id: string
26917
28342
  /** 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
28343
  errors: Array<
26919
- | {
26920
- message: string
26921
- is_device_error: true
26922
- error_code: string
26923
- }
28344
+ | (
28345
+ | {
28346
+ message: string
28347
+ is_device_error: true
28348
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28349
+ error_code: 'device_offline'
28350
+ }
28351
+ | {
28352
+ message: string
28353
+ is_device_error: true
28354
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28355
+ error_code: 'device_removed'
28356
+ }
28357
+ | {
28358
+ message: string
28359
+ is_device_error: true
28360
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28361
+ error_code: 'account_disconnected'
28362
+ }
28363
+ | {
28364
+ message: string
28365
+ is_device_error: true
28366
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28367
+ error_code: 'hub_disconnected'
28368
+ }
28369
+ | {
28370
+ message: string
28371
+ is_device_error: true
28372
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28373
+ error_code: 'device_disconnected'
28374
+ }
28375
+ | {
28376
+ message: string
28377
+ is_device_error: true
28378
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28379
+ error_code: 'empty_backup_access_code_pool'
28380
+ }
28381
+ | {
28382
+ message: string
28383
+ is_device_error: true
28384
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28385
+ error_code: 'august_lock_not_authorized'
28386
+ }
28387
+ | {
28388
+ message: string
28389
+ is_device_error: true
28390
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28391
+ error_code: 'august_lock_missing_bridge'
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: 'salto_site_user_limit_reached'
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: 'ttlock_lock_not_paired_to_gateway'
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: 'missing_device_credentials'
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: 'auxiliary_heat_running'
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: 'subscription_required'
28422
+ }
28423
+ )
26924
28424
  | {
26925
28425
  message: string
26926
28426
  is_connected_account_error: true
@@ -27015,11 +28515,86 @@ export interface Routes {
27015
28515
  workspace_id: string
27016
28516
  /** 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
28517
  errors: Array<
27018
- | {
27019
- message: string
27020
- is_device_error: true
27021
- error_code: string
27022
- }
28518
+ | (
28519
+ | {
28520
+ message: string
28521
+ is_device_error: true
28522
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28523
+ error_code: 'device_offline'
28524
+ }
28525
+ | {
28526
+ message: string
28527
+ is_device_error: true
28528
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28529
+ error_code: 'device_removed'
28530
+ }
28531
+ | {
28532
+ message: string
28533
+ is_device_error: true
28534
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28535
+ error_code: 'account_disconnected'
28536
+ }
28537
+ | {
28538
+ message: string
28539
+ is_device_error: true
28540
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28541
+ error_code: 'hub_disconnected'
28542
+ }
28543
+ | {
28544
+ message: string
28545
+ is_device_error: true
28546
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28547
+ error_code: 'device_disconnected'
28548
+ }
28549
+ | {
28550
+ message: string
28551
+ is_device_error: true
28552
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28553
+ error_code: 'empty_backup_access_code_pool'
28554
+ }
28555
+ | {
28556
+ message: string
28557
+ is_device_error: true
28558
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28559
+ error_code: 'august_lock_not_authorized'
28560
+ }
28561
+ | {
28562
+ message: string
28563
+ is_device_error: true
28564
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28565
+ error_code: 'august_lock_missing_bridge'
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: 'salto_site_user_limit_reached'
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: 'ttlock_lock_not_paired_to_gateway'
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: 'missing_device_credentials'
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: 'auxiliary_heat_running'
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: 'subscription_required'
28596
+ }
28597
+ )
27023
28598
  | {
27024
28599
  message: string
27025
28600
  is_connected_account_error: true
@@ -29684,11 +31259,86 @@ export interface Routes {
29684
31259
  workspace_id: string
29685
31260
  /** 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
31261
  errors: Array<
29687
- | {
29688
- message: string
29689
- is_device_error: true
29690
- error_code: string
29691
- }
31262
+ | (
31263
+ | {
31264
+ message: string
31265
+ is_device_error: true
31266
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31267
+ error_code: 'device_offline'
31268
+ }
31269
+ | {
31270
+ message: string
31271
+ is_device_error: true
31272
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31273
+ error_code: 'device_removed'
31274
+ }
31275
+ | {
31276
+ message: string
31277
+ is_device_error: true
31278
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31279
+ error_code: 'account_disconnected'
31280
+ }
31281
+ | {
31282
+ message: string
31283
+ is_device_error: true
31284
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31285
+ error_code: 'hub_disconnected'
31286
+ }
31287
+ | {
31288
+ message: string
31289
+ is_device_error: true
31290
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31291
+ error_code: 'device_disconnected'
31292
+ }
31293
+ | {
31294
+ message: string
31295
+ is_device_error: true
31296
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31297
+ error_code: 'empty_backup_access_code_pool'
31298
+ }
31299
+ | {
31300
+ message: string
31301
+ is_device_error: true
31302
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31303
+ error_code: 'august_lock_not_authorized'
31304
+ }
31305
+ | {
31306
+ message: string
31307
+ is_device_error: true
31308
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31309
+ error_code: 'august_lock_missing_bridge'
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: 'salto_site_user_limit_reached'
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: 'ttlock_lock_not_paired_to_gateway'
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: 'missing_device_credentials'
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: 'auxiliary_heat_running'
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: 'subscription_required'
31340
+ }
31341
+ )
29692
31342
  | {
29693
31343
  message: string
29694
31344
  is_connected_account_error: true
@@ -32485,11 +34135,86 @@ export interface Routes {
32485
34135
  workspace_id: string
32486
34136
  /** 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
34137
  errors: Array<
32488
- | {
32489
- message: string
32490
- is_device_error: true
32491
- error_code: string
32492
- }
34138
+ | (
34139
+ | {
34140
+ message: string
34141
+ is_device_error: true
34142
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34143
+ error_code: 'device_offline'
34144
+ }
34145
+ | {
34146
+ message: string
34147
+ is_device_error: true
34148
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34149
+ error_code: 'device_removed'
34150
+ }
34151
+ | {
34152
+ message: string
34153
+ is_device_error: true
34154
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34155
+ error_code: 'account_disconnected'
34156
+ }
34157
+ | {
34158
+ message: string
34159
+ is_device_error: true
34160
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34161
+ error_code: 'hub_disconnected'
34162
+ }
34163
+ | {
34164
+ message: string
34165
+ is_device_error: true
34166
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34167
+ error_code: 'device_disconnected'
34168
+ }
34169
+ | {
34170
+ message: string
34171
+ is_device_error: true
34172
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34173
+ error_code: 'empty_backup_access_code_pool'
34174
+ }
34175
+ | {
34176
+ message: string
34177
+ is_device_error: true
34178
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34179
+ error_code: 'august_lock_not_authorized'
34180
+ }
34181
+ | {
34182
+ message: string
34183
+ is_device_error: true
34184
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34185
+ error_code: 'august_lock_missing_bridge'
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: 'salto_site_user_limit_reached'
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: 'ttlock_lock_not_paired_to_gateway'
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: 'missing_device_credentials'
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: 'auxiliary_heat_running'
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: 'subscription_required'
34216
+ }
34217
+ )
32493
34218
  | {
32494
34219
  message: string
32495
34220
  is_connected_account_error: true
@@ -33190,11 +34915,86 @@ export interface Routes {
33190
34915
  workspace_id: string
33191
34916
  /** 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
34917
  errors: Array<
33193
- | {
33194
- message: string
33195
- is_device_error: true
33196
- error_code: string
33197
- }
34918
+ | (
34919
+ | {
34920
+ message: string
34921
+ is_device_error: true
34922
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34923
+ error_code: 'device_offline'
34924
+ }
34925
+ | {
34926
+ message: string
34927
+ is_device_error: true
34928
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34929
+ error_code: 'device_removed'
34930
+ }
34931
+ | {
34932
+ message: string
34933
+ is_device_error: true
34934
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34935
+ error_code: 'account_disconnected'
34936
+ }
34937
+ | {
34938
+ message: string
34939
+ is_device_error: true
34940
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34941
+ error_code: 'hub_disconnected'
34942
+ }
34943
+ | {
34944
+ message: string
34945
+ is_device_error: true
34946
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34947
+ error_code: 'device_disconnected'
34948
+ }
34949
+ | {
34950
+ message: string
34951
+ is_device_error: true
34952
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34953
+ error_code: 'empty_backup_access_code_pool'
34954
+ }
34955
+ | {
34956
+ message: string
34957
+ is_device_error: true
34958
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34959
+ error_code: 'august_lock_not_authorized'
34960
+ }
34961
+ | {
34962
+ message: string
34963
+ is_device_error: true
34964
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
34965
+ error_code: 'august_lock_missing_bridge'
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: 'salto_site_user_limit_reached'
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: 'ttlock_lock_not_paired_to_gateway'
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: 'missing_device_credentials'
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: 'auxiliary_heat_running'
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: 'subscription_required'
34996
+ }
34997
+ )
33198
34998
  | {
33199
34999
  message: string
33200
35000
  is_connected_account_error: true
@@ -37254,11 +39054,86 @@ export interface Routes {
37254
39054
  workspace_id: string
37255
39055
  /** 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
39056
  errors: Array<
37257
- | {
37258
- message: string
37259
- is_device_error: true
37260
- error_code: string
37261
- }
39057
+ | (
39058
+ | {
39059
+ message: string
39060
+ is_device_error: true
39061
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39062
+ error_code: 'device_offline'
39063
+ }
39064
+ | {
39065
+ message: string
39066
+ is_device_error: true
39067
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39068
+ error_code: 'device_removed'
39069
+ }
39070
+ | {
39071
+ message: string
39072
+ is_device_error: true
39073
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39074
+ error_code: 'account_disconnected'
39075
+ }
39076
+ | {
39077
+ message: string
39078
+ is_device_error: true
39079
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39080
+ error_code: 'hub_disconnected'
39081
+ }
39082
+ | {
39083
+ message: string
39084
+ is_device_error: true
39085
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39086
+ error_code: 'device_disconnected'
39087
+ }
39088
+ | {
39089
+ message: string
39090
+ is_device_error: true
39091
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39092
+ error_code: 'empty_backup_access_code_pool'
39093
+ }
39094
+ | {
39095
+ message: string
39096
+ is_device_error: true
39097
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39098
+ error_code: 'august_lock_not_authorized'
39099
+ }
39100
+ | {
39101
+ message: string
39102
+ is_device_error: true
39103
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39104
+ error_code: 'august_lock_missing_bridge'
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: 'salto_site_user_limit_reached'
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: 'ttlock_lock_not_paired_to_gateway'
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: 'missing_device_credentials'
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: 'auxiliary_heat_running'
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: 'subscription_required'
39135
+ }
39136
+ )
37262
39137
  | {
37263
39138
  message: string
37264
39139
  is_connected_account_error: true
@@ -37961,11 +39836,86 @@ export interface Routes {
37961
39836
  workspace_id: string
37962
39837
  /** 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
39838
  errors: Array<
37964
- | {
37965
- message: string
37966
- is_device_error: true
37967
- error_code: string
37968
- }
39839
+ | (
39840
+ | {
39841
+ message: string
39842
+ is_device_error: true
39843
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39844
+ error_code: 'device_offline'
39845
+ }
39846
+ | {
39847
+ message: string
39848
+ is_device_error: true
39849
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39850
+ error_code: 'device_removed'
39851
+ }
39852
+ | {
39853
+ message: string
39854
+ is_device_error: true
39855
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39856
+ error_code: 'account_disconnected'
39857
+ }
39858
+ | {
39859
+ message: string
39860
+ is_device_error: true
39861
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39862
+ error_code: 'hub_disconnected'
39863
+ }
39864
+ | {
39865
+ message: string
39866
+ is_device_error: true
39867
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39868
+ error_code: 'device_disconnected'
39869
+ }
39870
+ | {
39871
+ message: string
39872
+ is_device_error: true
39873
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39874
+ error_code: 'empty_backup_access_code_pool'
39875
+ }
39876
+ | {
39877
+ message: string
39878
+ is_device_error: true
39879
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39880
+ error_code: 'august_lock_not_authorized'
39881
+ }
39882
+ | {
39883
+ message: string
39884
+ is_device_error: true
39885
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39886
+ error_code: 'august_lock_missing_bridge'
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: 'salto_site_user_limit_reached'
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: 'ttlock_lock_not_paired_to_gateway'
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: 'missing_device_credentials'
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: 'auxiliary_heat_running'
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: 'subscription_required'
39917
+ }
39918
+ )
37969
39919
  | {
37970
39920
  message: string
37971
39921
  is_connected_account_error: true