@seamapi/types 1.324.0 → 1.326.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -841,11 +841,72 @@ export interface Routes {
841
841
  message: string;
842
842
  is_access_code_error: true;
843
843
  error_code: string;
844
+ } | ({
845
+ message: string;
846
+ is_device_error: true;
847
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
848
+ error_code: 'device_offline';
844
849
  } | {
845
850
  message: string;
846
851
  is_device_error: true;
847
- error_code: string;
852
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
853
+ error_code: 'device_removed';
854
+ } | {
855
+ message: string;
856
+ is_device_error: true;
857
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
858
+ error_code: 'account_disconnected';
859
+ } | {
860
+ message: string;
861
+ is_device_error: true;
862
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
863
+ error_code: 'hub_disconnected';
864
+ } | {
865
+ message: string;
866
+ is_device_error: true;
867
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
868
+ error_code: 'device_disconnected';
869
+ } | {
870
+ message: string;
871
+ is_device_error: true;
872
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
873
+ error_code: 'empty_backup_access_code_pool';
874
+ } | {
875
+ message: string;
876
+ is_device_error: true;
877
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
878
+ error_code: 'august_lock_not_authorized';
879
+ } | {
880
+ message: string;
881
+ is_device_error: true;
882
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
883
+ error_code: 'august_lock_missing_bridge';
884
+ } | {
885
+ message: string;
886
+ is_device_error: true;
887
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
888
+ error_code: 'salto_site_user_limit_reached';
889
+ } | {
890
+ message: string;
891
+ is_device_error: true;
892
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
893
+ error_code: 'ttlock_lock_not_paired_to_gateway';
894
+ } | {
895
+ message: string;
896
+ is_device_error: true;
897
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
898
+ error_code: 'missing_device_credentials';
899
+ } | {
900
+ message: string;
901
+ is_device_error: true;
902
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
903
+ error_code: 'auxiliary_heat_running';
848
904
  } | {
905
+ message: string;
906
+ is_device_error: true;
907
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
908
+ error_code: 'subscription_required';
909
+ }) | {
849
910
  message: string;
850
911
  is_connected_account_error: true;
851
912
  error_code: string;
@@ -929,11 +990,72 @@ export interface Routes {
929
990
  message: string;
930
991
  is_access_code_error: true;
931
992
  error_code: string;
993
+ } | ({
994
+ message: string;
995
+ is_device_error: true;
996
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
997
+ error_code: 'device_offline';
932
998
  } | {
933
999
  message: string;
934
1000
  is_device_error: true;
935
- error_code: string;
1001
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1002
+ error_code: 'device_removed';
1003
+ } | {
1004
+ message: string;
1005
+ is_device_error: true;
1006
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1007
+ error_code: 'account_disconnected';
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
+ message: string;
1015
+ is_device_error: true;
1016
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1017
+ error_code: 'device_disconnected';
1018
+ } | {
1019
+ message: string;
1020
+ is_device_error: true;
1021
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1022
+ error_code: 'empty_backup_access_code_pool';
1023
+ } | {
1024
+ message: string;
1025
+ is_device_error: true;
1026
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1027
+ error_code: 'august_lock_not_authorized';
936
1028
  } | {
1029
+ message: string;
1030
+ is_device_error: true;
1031
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1032
+ error_code: 'august_lock_missing_bridge';
1033
+ } | {
1034
+ message: string;
1035
+ is_device_error: true;
1036
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1037
+ error_code: 'salto_site_user_limit_reached';
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: 'ttlock_lock_not_paired_to_gateway';
1043
+ } | {
1044
+ message: string;
1045
+ is_device_error: true;
1046
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1047
+ error_code: 'missing_device_credentials';
1048
+ } | {
1049
+ message: string;
1050
+ is_device_error: true;
1051
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1052
+ error_code: 'auxiliary_heat_running';
1053
+ } | {
1054
+ message: string;
1055
+ is_device_error: true;
1056
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1057
+ error_code: 'subscription_required';
1058
+ }) | {
937
1059
  message: string;
938
1060
  is_connected_account_error: true;
939
1061
  error_code: string;
@@ -1826,11 +1948,72 @@ export interface Routes {
1826
1948
  message: string;
1827
1949
  is_access_code_error: true;
1828
1950
  error_code: string;
1951
+ } | ({
1952
+ message: string;
1953
+ is_device_error: true;
1954
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1955
+ error_code: 'device_offline';
1829
1956
  } | {
1830
1957
  message: string;
1831
1958
  is_device_error: true;
1832
- error_code: string;
1959
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1960
+ error_code: 'device_removed';
1961
+ } | {
1962
+ message: string;
1963
+ is_device_error: true;
1964
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1965
+ error_code: 'account_disconnected';
1966
+ } | {
1967
+ message: string;
1968
+ is_device_error: true;
1969
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1970
+ error_code: 'hub_disconnected';
1971
+ } | {
1972
+ message: string;
1973
+ is_device_error: true;
1974
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1975
+ error_code: 'device_disconnected';
1976
+ } | {
1977
+ message: string;
1978
+ is_device_error: true;
1979
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1980
+ error_code: 'empty_backup_access_code_pool';
1833
1981
  } | {
1982
+ message: string;
1983
+ is_device_error: true;
1984
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1985
+ error_code: 'august_lock_not_authorized';
1986
+ } | {
1987
+ message: string;
1988
+ is_device_error: true;
1989
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1990
+ error_code: 'august_lock_missing_bridge';
1991
+ } | {
1992
+ message: string;
1993
+ is_device_error: true;
1994
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1995
+ error_code: 'salto_site_user_limit_reached';
1996
+ } | {
1997
+ message: string;
1998
+ is_device_error: true;
1999
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2000
+ error_code: 'ttlock_lock_not_paired_to_gateway';
2001
+ } | {
2002
+ message: string;
2003
+ is_device_error: true;
2004
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2005
+ error_code: 'missing_device_credentials';
2006
+ } | {
2007
+ message: string;
2008
+ is_device_error: true;
2009
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2010
+ error_code: 'auxiliary_heat_running';
2011
+ } | {
2012
+ message: string;
2013
+ is_device_error: true;
2014
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2015
+ error_code: 'subscription_required';
2016
+ }) | {
1834
2017
  message: string;
1835
2018
  is_connected_account_error: true;
1836
2019
  error_code: string;
@@ -1901,11 +2084,72 @@ export interface Routes {
1901
2084
  message: string;
1902
2085
  is_access_code_error: true;
1903
2086
  error_code: string;
2087
+ } | ({
2088
+ message: string;
2089
+ is_device_error: true;
2090
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2091
+ error_code: 'device_offline';
1904
2092
  } | {
1905
2093
  message: string;
1906
2094
  is_device_error: true;
1907
- error_code: string;
2095
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2096
+ error_code: 'device_removed';
2097
+ } | {
2098
+ message: string;
2099
+ is_device_error: true;
2100
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2101
+ error_code: 'account_disconnected';
2102
+ } | {
2103
+ message: string;
2104
+ is_device_error: true;
2105
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2106
+ error_code: 'hub_disconnected';
2107
+ } | {
2108
+ message: string;
2109
+ is_device_error: true;
2110
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2111
+ error_code: 'device_disconnected';
2112
+ } | {
2113
+ message: string;
2114
+ is_device_error: true;
2115
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2116
+ error_code: 'empty_backup_access_code_pool';
2117
+ } | {
2118
+ message: string;
2119
+ is_device_error: true;
2120
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2121
+ error_code: 'august_lock_not_authorized';
2122
+ } | {
2123
+ message: string;
2124
+ is_device_error: true;
2125
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2126
+ error_code: 'august_lock_missing_bridge';
2127
+ } | {
2128
+ message: string;
2129
+ is_device_error: true;
2130
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2131
+ error_code: 'salto_site_user_limit_reached';
2132
+ } | {
2133
+ message: string;
2134
+ is_device_error: true;
2135
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2136
+ error_code: 'ttlock_lock_not_paired_to_gateway';
2137
+ } | {
2138
+ message: string;
2139
+ is_device_error: true;
2140
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2141
+ error_code: 'missing_device_credentials';
1908
2142
  } | {
2143
+ message: string;
2144
+ is_device_error: true;
2145
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2146
+ error_code: 'auxiliary_heat_running';
2147
+ } | {
2148
+ message: string;
2149
+ is_device_error: true;
2150
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2151
+ error_code: 'subscription_required';
2152
+ }) | {
1909
2153
  message: string;
1910
2154
  is_connected_account_error: true;
1911
2155
  error_code: string;
@@ -1974,11 +2218,72 @@ export interface Routes {
1974
2218
  message: string;
1975
2219
  is_access_code_error: true;
1976
2220
  error_code: string;
2221
+ } | ({
2222
+ message: string;
2223
+ is_device_error: true;
2224
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2225
+ error_code: 'device_offline';
1977
2226
  } | {
1978
2227
  message: string;
1979
2228
  is_device_error: true;
1980
- error_code: string;
2229
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2230
+ error_code: 'device_removed';
2231
+ } | {
2232
+ message: string;
2233
+ is_device_error: true;
2234
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2235
+ error_code: 'account_disconnected';
2236
+ } | {
2237
+ message: string;
2238
+ is_device_error: true;
2239
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2240
+ error_code: 'hub_disconnected';
2241
+ } | {
2242
+ message: string;
2243
+ is_device_error: true;
2244
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2245
+ error_code: 'device_disconnected';
2246
+ } | {
2247
+ message: string;
2248
+ is_device_error: true;
2249
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2250
+ error_code: 'empty_backup_access_code_pool';
2251
+ } | {
2252
+ message: string;
2253
+ is_device_error: true;
2254
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2255
+ error_code: 'august_lock_not_authorized';
2256
+ } | {
2257
+ message: string;
2258
+ is_device_error: true;
2259
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2260
+ error_code: 'august_lock_missing_bridge';
2261
+ } | {
2262
+ message: string;
2263
+ is_device_error: true;
2264
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2265
+ error_code: 'salto_site_user_limit_reached';
2266
+ } | {
2267
+ message: string;
2268
+ is_device_error: true;
2269
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2270
+ error_code: 'ttlock_lock_not_paired_to_gateway';
1981
2271
  } | {
2272
+ message: string;
2273
+ is_device_error: true;
2274
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2275
+ error_code: 'missing_device_credentials';
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: 'auxiliary_heat_running';
2281
+ } | {
2282
+ message: string;
2283
+ is_device_error: true;
2284
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2285
+ error_code: 'subscription_required';
2286
+ }) | {
1982
2287
  message: string;
1983
2288
  is_connected_account_error: true;
1984
2289
  error_code: string;
@@ -2035,11 +2340,72 @@ export interface Routes {
2035
2340
  message: string;
2036
2341
  is_access_code_error: true;
2037
2342
  error_code: string;
2343
+ } | ({
2344
+ message: string;
2345
+ is_device_error: true;
2346
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2347
+ error_code: 'device_offline';
2038
2348
  } | {
2039
2349
  message: string;
2040
2350
  is_device_error: true;
2041
- error_code: string;
2351
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2352
+ error_code: 'device_removed';
2353
+ } | {
2354
+ message: string;
2355
+ is_device_error: true;
2356
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2357
+ error_code: 'account_disconnected';
2358
+ } | {
2359
+ message: string;
2360
+ is_device_error: true;
2361
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2362
+ error_code: 'hub_disconnected';
2363
+ } | {
2364
+ message: string;
2365
+ is_device_error: true;
2366
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2367
+ error_code: 'device_disconnected';
2368
+ } | {
2369
+ message: string;
2370
+ is_device_error: true;
2371
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2372
+ error_code: 'empty_backup_access_code_pool';
2373
+ } | {
2374
+ message: string;
2375
+ is_device_error: true;
2376
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2377
+ error_code: 'august_lock_not_authorized';
2378
+ } | {
2379
+ message: string;
2380
+ is_device_error: true;
2381
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2382
+ error_code: 'august_lock_missing_bridge';
2383
+ } | {
2384
+ message: string;
2385
+ is_device_error: true;
2386
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2387
+ error_code: 'salto_site_user_limit_reached';
2042
2388
  } | {
2389
+ message: string;
2390
+ is_device_error: true;
2391
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2392
+ error_code: 'ttlock_lock_not_paired_to_gateway';
2393
+ } | {
2394
+ message: string;
2395
+ is_device_error: true;
2396
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2397
+ error_code: 'missing_device_credentials';
2398
+ } | {
2399
+ message: string;
2400
+ is_device_error: true;
2401
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2402
+ error_code: 'auxiliary_heat_running';
2403
+ } | {
2404
+ message: string;
2405
+ is_device_error: true;
2406
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2407
+ error_code: 'subscription_required';
2408
+ }) | {
2043
2409
  message: string;
2044
2410
  is_connected_account_error: true;
2045
2411
  error_code: string;
@@ -2102,13 +2468,74 @@ export interface Routes {
2102
2468
  /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
2103
2469
  errors: Array<{
2104
2470
  message: string;
2105
- is_access_code_error: true;
2106
- error_code: string;
2471
+ is_access_code_error: true;
2472
+ error_code: string;
2473
+ } | ({
2474
+ message: string;
2475
+ is_device_error: true;
2476
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2477
+ error_code: 'device_offline';
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: 'device_removed';
2483
+ } | {
2484
+ message: string;
2485
+ is_device_error: true;
2486
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2487
+ error_code: 'account_disconnected';
2488
+ } | {
2489
+ message: string;
2490
+ is_device_error: true;
2491
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2492
+ error_code: 'hub_disconnected';
2493
+ } | {
2494
+ message: string;
2495
+ is_device_error: true;
2496
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2497
+ error_code: 'device_disconnected';
2498
+ } | {
2499
+ message: string;
2500
+ is_device_error: true;
2501
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2502
+ error_code: 'empty_backup_access_code_pool';
2107
2503
  } | {
2108
2504
  message: string;
2109
2505
  is_device_error: true;
2110
- error_code: string;
2506
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2507
+ error_code: 'august_lock_not_authorized';
2508
+ } | {
2509
+ message: string;
2510
+ is_device_error: true;
2511
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2512
+ error_code: 'august_lock_missing_bridge';
2513
+ } | {
2514
+ message: string;
2515
+ is_device_error: true;
2516
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2517
+ error_code: 'salto_site_user_limit_reached';
2518
+ } | {
2519
+ message: string;
2520
+ is_device_error: true;
2521
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2522
+ error_code: 'ttlock_lock_not_paired_to_gateway';
2523
+ } | {
2524
+ message: string;
2525
+ is_device_error: true;
2526
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2527
+ error_code: 'missing_device_credentials';
2528
+ } | {
2529
+ message: string;
2530
+ is_device_error: true;
2531
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2532
+ error_code: 'auxiliary_heat_running';
2111
2533
  } | {
2534
+ message: string;
2535
+ is_device_error: true;
2536
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2537
+ error_code: 'subscription_required';
2538
+ }) | {
2112
2539
  message: string;
2113
2540
  is_connected_account_error: true;
2114
2541
  error_code: string;
@@ -2977,11 +3404,72 @@ export interface Routes {
2977
3404
  message: string;
2978
3405
  is_access_code_error: true;
2979
3406
  error_code: string;
3407
+ } | ({
3408
+ message: string;
3409
+ is_device_error: true;
3410
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3411
+ error_code: 'device_offline';
2980
3412
  } | {
2981
3413
  message: string;
2982
3414
  is_device_error: true;
2983
- error_code: string;
3415
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3416
+ error_code: 'device_removed';
3417
+ } | {
3418
+ message: string;
3419
+ is_device_error: true;
3420
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3421
+ error_code: 'account_disconnected';
3422
+ } | {
3423
+ message: string;
3424
+ is_device_error: true;
3425
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3426
+ error_code: 'hub_disconnected';
3427
+ } | {
3428
+ message: string;
3429
+ is_device_error: true;
3430
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3431
+ error_code: 'device_disconnected';
3432
+ } | {
3433
+ message: string;
3434
+ is_device_error: true;
3435
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3436
+ error_code: 'empty_backup_access_code_pool';
3437
+ } | {
3438
+ message: string;
3439
+ is_device_error: true;
3440
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3441
+ error_code: 'august_lock_not_authorized';
3442
+ } | {
3443
+ message: string;
3444
+ is_device_error: true;
3445
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3446
+ error_code: 'august_lock_missing_bridge';
3447
+ } | {
3448
+ message: string;
3449
+ is_device_error: true;
3450
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3451
+ error_code: 'salto_site_user_limit_reached';
3452
+ } | {
3453
+ message: string;
3454
+ is_device_error: true;
3455
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3456
+ error_code: 'ttlock_lock_not_paired_to_gateway';
3457
+ } | {
3458
+ message: string;
3459
+ is_device_error: true;
3460
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3461
+ error_code: 'missing_device_credentials';
3462
+ } | {
3463
+ message: string;
3464
+ is_device_error: true;
3465
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3466
+ error_code: 'auxiliary_heat_running';
2984
3467
  } | {
3468
+ message: string;
3469
+ is_device_error: true;
3470
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3471
+ error_code: 'subscription_required';
3472
+ }) | {
2985
3473
  message: string;
2986
3474
  is_connected_account_error: true;
2987
3475
  error_code: string;
@@ -3029,11 +3517,72 @@ export interface Routes {
3029
3517
  message: string;
3030
3518
  is_access_code_error: true;
3031
3519
  error_code: string;
3520
+ } | ({
3521
+ message: string;
3522
+ is_device_error: true;
3523
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3524
+ error_code: 'device_offline';
3032
3525
  } | {
3033
3526
  message: string;
3034
3527
  is_device_error: true;
3035
- error_code: string;
3528
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3529
+ error_code: 'device_removed';
3530
+ } | {
3531
+ message: string;
3532
+ is_device_error: true;
3533
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3534
+ error_code: 'account_disconnected';
3535
+ } | {
3536
+ message: string;
3537
+ is_device_error: true;
3538
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3539
+ error_code: 'hub_disconnected';
3540
+ } | {
3541
+ message: string;
3542
+ is_device_error: true;
3543
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3544
+ error_code: 'device_disconnected';
3036
3545
  } | {
3546
+ message: string;
3547
+ is_device_error: true;
3548
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3549
+ error_code: 'empty_backup_access_code_pool';
3550
+ } | {
3551
+ message: string;
3552
+ is_device_error: true;
3553
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3554
+ error_code: 'august_lock_not_authorized';
3555
+ } | {
3556
+ message: string;
3557
+ is_device_error: true;
3558
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3559
+ error_code: 'august_lock_missing_bridge';
3560
+ } | {
3561
+ message: string;
3562
+ is_device_error: true;
3563
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3564
+ error_code: 'salto_site_user_limit_reached';
3565
+ } | {
3566
+ message: string;
3567
+ is_device_error: true;
3568
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3569
+ error_code: 'ttlock_lock_not_paired_to_gateway';
3570
+ } | {
3571
+ message: string;
3572
+ is_device_error: true;
3573
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3574
+ error_code: 'missing_device_credentials';
3575
+ } | {
3576
+ message: string;
3577
+ is_device_error: true;
3578
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3579
+ error_code: 'auxiliary_heat_running';
3580
+ } | {
3581
+ message: string;
3582
+ is_device_error: true;
3583
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3584
+ error_code: 'subscription_required';
3585
+ }) | {
3037
3586
  message: string;
3038
3587
  is_connected_account_error: true;
3039
3588
  error_code: string;
@@ -11113,11 +11662,72 @@ export interface Routes {
11113
11662
  /** Unique identifier for the Seam workspace associated with the device. */
11114
11663
  workspace_id: string;
11115
11664
  /** 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. */
11116
- errors: Array<{
11665
+ errors: Array<({
11117
11666
  message: string;
11118
11667
  is_device_error: true;
11119
- error_code: string;
11668
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
11669
+ error_code: 'device_offline';
11670
+ } | {
11671
+ message: string;
11672
+ is_device_error: true;
11673
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
11674
+ error_code: 'device_removed';
11675
+ } | {
11676
+ message: string;
11677
+ is_device_error: true;
11678
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
11679
+ error_code: 'account_disconnected';
11680
+ } | {
11681
+ message: string;
11682
+ is_device_error: true;
11683
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
11684
+ error_code: 'hub_disconnected';
11685
+ } | {
11686
+ message: string;
11687
+ is_device_error: true;
11688
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
11689
+ error_code: 'device_disconnected';
11690
+ } | {
11691
+ message: string;
11692
+ is_device_error: true;
11693
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
11694
+ error_code: 'empty_backup_access_code_pool';
11695
+ } | {
11696
+ message: string;
11697
+ is_device_error: true;
11698
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
11699
+ error_code: 'august_lock_not_authorized';
11700
+ } | {
11701
+ message: string;
11702
+ is_device_error: true;
11703
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
11704
+ error_code: 'august_lock_missing_bridge';
11705
+ } | {
11706
+ message: string;
11707
+ is_device_error: true;
11708
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
11709
+ error_code: 'salto_site_user_limit_reached';
11710
+ } | {
11711
+ message: string;
11712
+ is_device_error: true;
11713
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
11714
+ error_code: 'ttlock_lock_not_paired_to_gateway';
11715
+ } | {
11716
+ message: string;
11717
+ is_device_error: true;
11718
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
11719
+ error_code: 'missing_device_credentials';
11720
+ } | {
11721
+ message: string;
11722
+ is_device_error: true;
11723
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
11724
+ error_code: 'auxiliary_heat_running';
11120
11725
  } | {
11726
+ message: string;
11727
+ is_device_error: true;
11728
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
11729
+ error_code: 'subscription_required';
11730
+ }) | {
11121
11731
  message: string;
11122
11732
  is_connected_account_error: true;
11123
11733
  error_code: string;
@@ -11670,11 +12280,72 @@ export interface Routes {
11670
12280
  /** Unique identifier for the Seam workspace associated with the device. */
11671
12281
  workspace_id: string;
11672
12282
  /** 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. */
11673
- errors: Array<{
12283
+ errors: Array<({
11674
12284
  message: string;
11675
12285
  is_device_error: true;
11676
- error_code: string;
12286
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12287
+ error_code: 'device_offline';
12288
+ } | {
12289
+ message: string;
12290
+ is_device_error: true;
12291
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12292
+ error_code: 'device_removed';
12293
+ } | {
12294
+ message: string;
12295
+ is_device_error: true;
12296
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12297
+ error_code: 'account_disconnected';
12298
+ } | {
12299
+ message: string;
12300
+ is_device_error: true;
12301
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12302
+ error_code: 'hub_disconnected';
12303
+ } | {
12304
+ message: string;
12305
+ is_device_error: true;
12306
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12307
+ error_code: 'device_disconnected';
12308
+ } | {
12309
+ message: string;
12310
+ is_device_error: true;
12311
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12312
+ error_code: 'empty_backup_access_code_pool';
12313
+ } | {
12314
+ message: string;
12315
+ is_device_error: true;
12316
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12317
+ error_code: 'august_lock_not_authorized';
12318
+ } | {
12319
+ message: string;
12320
+ is_device_error: true;
12321
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12322
+ error_code: 'august_lock_missing_bridge';
12323
+ } | {
12324
+ message: string;
12325
+ is_device_error: true;
12326
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12327
+ error_code: 'salto_site_user_limit_reached';
12328
+ } | {
12329
+ message: string;
12330
+ is_device_error: true;
12331
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12332
+ error_code: 'ttlock_lock_not_paired_to_gateway';
12333
+ } | {
12334
+ message: string;
12335
+ is_device_error: true;
12336
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12337
+ error_code: 'missing_device_credentials';
12338
+ } | {
12339
+ message: string;
12340
+ is_device_error: true;
12341
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12342
+ error_code: 'auxiliary_heat_running';
11677
12343
  } | {
12344
+ message: string;
12345
+ is_device_error: true;
12346
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12347
+ error_code: 'subscription_required';
12348
+ }) | {
11678
12349
  message: string;
11679
12350
  is_connected_account_error: true;
11680
12351
  error_code: string;
@@ -11795,11 +12466,72 @@ export interface Routes {
11795
12466
  /** Unique identifier for the Seam workspace associated with the device. */
11796
12467
  workspace_id: string;
11797
12468
  /** 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. */
11798
- errors: Array<{
12469
+ errors: Array<({
12470
+ message: string;
12471
+ is_device_error: true;
12472
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12473
+ error_code: 'device_offline';
12474
+ } | {
12475
+ message: string;
12476
+ is_device_error: true;
12477
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12478
+ error_code: 'device_removed';
12479
+ } | {
12480
+ message: string;
12481
+ is_device_error: true;
12482
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12483
+ error_code: 'account_disconnected';
12484
+ } | {
12485
+ message: string;
12486
+ is_device_error: true;
12487
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12488
+ error_code: 'hub_disconnected';
12489
+ } | {
12490
+ message: string;
12491
+ is_device_error: true;
12492
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12493
+ error_code: 'device_disconnected';
12494
+ } | {
12495
+ message: string;
12496
+ is_device_error: true;
12497
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12498
+ error_code: 'empty_backup_access_code_pool';
12499
+ } | {
12500
+ message: string;
12501
+ is_device_error: true;
12502
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12503
+ error_code: 'august_lock_not_authorized';
12504
+ } | {
11799
12505
  message: string;
11800
12506
  is_device_error: true;
11801
- error_code: string;
12507
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12508
+ error_code: 'august_lock_missing_bridge';
12509
+ } | {
12510
+ message: string;
12511
+ is_device_error: true;
12512
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12513
+ error_code: 'salto_site_user_limit_reached';
12514
+ } | {
12515
+ message: string;
12516
+ is_device_error: true;
12517
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12518
+ error_code: 'ttlock_lock_not_paired_to_gateway';
12519
+ } | {
12520
+ message: string;
12521
+ is_device_error: true;
12522
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12523
+ error_code: 'missing_device_credentials';
12524
+ } | {
12525
+ message: string;
12526
+ is_device_error: true;
12527
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12528
+ error_code: 'auxiliary_heat_running';
11802
12529
  } | {
12530
+ message: string;
12531
+ is_device_error: true;
12532
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12533
+ error_code: 'subscription_required';
12534
+ }) | {
11803
12535
  message: string;
11804
12536
  is_connected_account_error: true;
11805
12537
  error_code: string;
@@ -11930,11 +12662,72 @@ export interface Routes {
11930
12662
  /** Unique identifier for the Seam workspace associated with the device. */
11931
12663
  workspace_id: string;
11932
12664
  /** 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. */
11933
- errors: Array<{
12665
+ errors: Array<({
11934
12666
  message: string;
11935
12667
  is_device_error: true;
11936
- error_code: string;
12668
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12669
+ error_code: 'device_offline';
12670
+ } | {
12671
+ message: string;
12672
+ is_device_error: true;
12673
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12674
+ error_code: 'device_removed';
12675
+ } | {
12676
+ message: string;
12677
+ is_device_error: true;
12678
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12679
+ error_code: 'account_disconnected';
12680
+ } | {
12681
+ message: string;
12682
+ is_device_error: true;
12683
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12684
+ error_code: 'hub_disconnected';
12685
+ } | {
12686
+ message: string;
12687
+ is_device_error: true;
12688
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12689
+ error_code: 'device_disconnected';
12690
+ } | {
12691
+ message: string;
12692
+ is_device_error: true;
12693
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12694
+ error_code: 'empty_backup_access_code_pool';
12695
+ } | {
12696
+ message: string;
12697
+ is_device_error: true;
12698
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12699
+ error_code: 'august_lock_not_authorized';
12700
+ } | {
12701
+ message: string;
12702
+ is_device_error: true;
12703
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12704
+ error_code: 'august_lock_missing_bridge';
12705
+ } | {
12706
+ message: string;
12707
+ is_device_error: true;
12708
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12709
+ error_code: 'salto_site_user_limit_reached';
12710
+ } | {
12711
+ message: string;
12712
+ is_device_error: true;
12713
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12714
+ error_code: 'ttlock_lock_not_paired_to_gateway';
11937
12715
  } | {
12716
+ message: string;
12717
+ is_device_error: true;
12718
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12719
+ error_code: 'missing_device_credentials';
12720
+ } | {
12721
+ message: string;
12722
+ is_device_error: true;
12723
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12724
+ error_code: 'auxiliary_heat_running';
12725
+ } | {
12726
+ message: string;
12727
+ is_device_error: true;
12728
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
12729
+ error_code: 'subscription_required';
12730
+ }) | {
11938
12731
  message: string;
11939
12732
  is_connected_account_error: true;
11940
12733
  error_code: string;
@@ -13142,6 +13935,28 @@ export interface Routes {
13142
13935
  lower_limit_celsius: number | null;
13143
13936
  /** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
13144
13937
  lower_limit_fahrenheit: number | null;
13938
+ } | {
13939
+ /** ID of the event. */
13940
+ event_id: string;
13941
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
13942
+ workspace_id: string;
13943
+ /** Date and time at which the event was created. */
13944
+ created_at: string;
13945
+ /** Date and time at which the event occurred. */
13946
+ occurred_at: string;
13947
+ /** ID of the device. */
13948
+ device_id: string;
13949
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
13950
+ connected_account_id: string;
13951
+ event_type: 'thermostat.temperature_reached_set_point';
13952
+ /** Temperature, in °C, reported by the thermostat. */
13953
+ temperature_celsius: number;
13954
+ /** Temperature, in °F, reported by the thermostat. */
13955
+ temperature_fahrenheit: number;
13956
+ /** Desired temperature, in °C, set by the thermostat's cooling or heating set point. */
13957
+ desired_temperature_celsius?: number | undefined;
13958
+ /** Desired temperature, in °F, set by the thermostat's cooling or heating set point. */
13959
+ desired_temperature_fahrenheit?: number | undefined;
13145
13960
  } | {
13146
13961
  /** ID of the event. */
13147
13962
  event_id: string;
@@ -13185,8 +14000,8 @@ export interface Routes {
13185
14000
  acs_system_ids?: string[] | undefined;
13186
14001
  access_code_id?: string | undefined;
13187
14002
  access_code_ids?: string[] | undefined;
13188
- event_type?: ('device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_system.disconnected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_encoder.added' | 'acs_encoder.removed' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded') | undefined;
13189
- event_types?: Array<'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_system.disconnected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_encoder.added' | 'acs_encoder.removed' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded'> | undefined;
14003
+ event_type?: ('device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_system.disconnected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_encoder.added' | 'acs_encoder.removed' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point') | undefined;
14004
+ event_types?: Array<'device.accessory_keypad_connected' | 'device.accessory_keypad_disconnected' | 'device.added' | 'device.connected' | 'device.unmanaged.connected' | 'device.disconnected' | 'device.unmanaged.disconnected' | 'device.converted_to_unmanaged' | 'device.unmanaged.converted_to_managed' | 'device.removed' | 'device.deleted' | 'device.tampered' | 'device.low_battery' | 'device.battery_status_changed' | 'device.third_party_integration_detected' | 'device.third_party_integration_no_longer_detected' | 'device.salto.privacy_mode_activated' | 'device.salto.privacy_mode_deactivated' | 'device.connection_became_flaky' | 'device.connection_stabilized' | 'device.error.subscription_required' | 'device.error.subscription_required.resolved' | 'access_code.created' | 'access_code.changed' | 'access_code.scheduled_on_device' | 'access_code.set_on_device' | 'access_code.deleted' | 'access_code.removed_from_device' | 'access_code.failed_to_set_on_device' | 'access_code.delay_in_setting_on_device' | 'access_code.failed_to_remove_from_device' | 'access_code.delay_in_removing_from_device' | 'access_code.deleted_external_to_seam' | 'access_code.modified_external_to_seam' | 'access_code.unmanaged.converted_to_managed' | 'access_code.unmanaged.failed_to_convert_to_managed' | 'access_code.unmanaged.created' | 'access_code.unmanaged.removed' | 'lock.locked' | 'lock.unlocked' | 'lock.access_denied' | 'phone.deactivated' | 'connected_account.connected' | 'connected_account.successful_login' | 'connected_account.created' | 'connected_account.deleted' | 'connected_account.disconnected' | 'connected_account.completed_first_sync' | 'connected_account.completed_first_sync_after_reconnection' | 'connect_webview.login_succeeded' | 'connect_webview.login_failed' | 'noise_sensor.noise_threshold_triggered' | 'access_code.backup_access_code_pulled' | 'acs_system.added' | 'acs_system.connected' | 'acs_system.disconnected' | 'acs_user.deleted' | 'acs_credential.deleted' | 'acs_credential.issued' | 'acs_encoder.added' | 'acs_encoder.removed' | 'enrollment_automation.deleted' | 'client_session.deleted' | 'action_attempt.lock_door.succeeded' | 'action_attempt.lock_door.failed' | 'action_attempt.unlock_door.succeeded' | 'action_attempt.unlock_door.failed' | 'thermostat.climate_preset_activated' | 'thermostat.manually_adjusted' | 'thermostat.temperature_threshold_exceeded' | 'thermostat.temperature_threshold_no_longer_exceeded' | 'thermostat.temperature_reached_set_point'> | undefined;
13190
14005
  connected_account_id?: string | undefined;
13191
14006
  connect_webview_id?: string | undefined;
13192
14007
  limit?: number;
@@ -14283,6 +15098,28 @@ export interface Routes {
14283
15098
  lower_limit_celsius: number | null;
14284
15099
  /** Lower temperature limit, in °F, defined by the set [threshold](https://docs.seam.co/latest/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds). */
14285
15100
  lower_limit_fahrenheit: number | null;
15101
+ } | {
15102
+ /** ID of the event. */
15103
+ event_id: string;
15104
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
15105
+ workspace_id: string;
15106
+ /** Date and time at which the event was created. */
15107
+ created_at: string;
15108
+ /** Date and time at which the event occurred. */
15109
+ occurred_at: string;
15110
+ /** ID of the device. */
15111
+ device_id: string;
15112
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
15113
+ connected_account_id: string;
15114
+ event_type: 'thermostat.temperature_reached_set_point';
15115
+ /** Temperature, in °C, reported by the thermostat. */
15116
+ temperature_celsius: number;
15117
+ /** Temperature, in °F, reported by the thermostat. */
15118
+ temperature_fahrenheit: number;
15119
+ /** Desired temperature, in °C, set by the thermostat's cooling or heating set point. */
15120
+ desired_temperature_celsius?: number | undefined;
15121
+ /** Desired temperature, in °F, set by the thermostat's cooling or heating set point. */
15122
+ desired_temperature_fahrenheit?: number | undefined;
14286
15123
  } | {
14287
15124
  /** ID of the event. */
14288
15125
  event_id: string;
@@ -14810,11 +15647,72 @@ export interface Routes {
14810
15647
  /** Unique identifier for the Seam workspace associated with the device. */
14811
15648
  workspace_id: string;
14812
15649
  /** 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. */
14813
- errors: Array<{
15650
+ errors: Array<({
14814
15651
  message: string;
14815
15652
  is_device_error: true;
14816
- error_code: string;
15653
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15654
+ error_code: 'device_offline';
15655
+ } | {
15656
+ message: string;
15657
+ is_device_error: true;
15658
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15659
+ error_code: 'device_removed';
15660
+ } | {
15661
+ message: string;
15662
+ is_device_error: true;
15663
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15664
+ error_code: 'account_disconnected';
15665
+ } | {
15666
+ message: string;
15667
+ is_device_error: true;
15668
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15669
+ error_code: 'hub_disconnected';
15670
+ } | {
15671
+ message: string;
15672
+ is_device_error: true;
15673
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15674
+ error_code: 'device_disconnected';
15675
+ } | {
15676
+ message: string;
15677
+ is_device_error: true;
15678
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15679
+ error_code: 'empty_backup_access_code_pool';
15680
+ } | {
15681
+ message: string;
15682
+ is_device_error: true;
15683
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15684
+ error_code: 'august_lock_not_authorized';
15685
+ } | {
15686
+ message: string;
15687
+ is_device_error: true;
15688
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15689
+ error_code: 'august_lock_missing_bridge';
15690
+ } | {
15691
+ message: string;
15692
+ is_device_error: true;
15693
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15694
+ error_code: 'salto_site_user_limit_reached';
15695
+ } | {
15696
+ message: string;
15697
+ is_device_error: true;
15698
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15699
+ error_code: 'ttlock_lock_not_paired_to_gateway';
15700
+ } | {
15701
+ message: string;
15702
+ is_device_error: true;
15703
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15704
+ error_code: 'missing_device_credentials';
15705
+ } | {
15706
+ message: string;
15707
+ is_device_error: true;
15708
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15709
+ error_code: 'auxiliary_heat_running';
14817
15710
  } | {
15711
+ message: string;
15712
+ is_device_error: true;
15713
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15714
+ error_code: 'subscription_required';
15715
+ }) | {
14818
15716
  message: string;
14819
15717
  is_connected_account_error: true;
14820
15718
  error_code: string;
@@ -15330,11 +16228,72 @@ export interface Routes {
15330
16228
  /** Unique identifier for the Seam workspace associated with the device. */
15331
16229
  workspace_id: string;
15332
16230
  /** 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. */
15333
- errors: Array<{
16231
+ errors: Array<({
15334
16232
  message: string;
15335
16233
  is_device_error: true;
15336
- error_code: string;
16234
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16235
+ error_code: 'device_offline';
16236
+ } | {
16237
+ message: string;
16238
+ is_device_error: true;
16239
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16240
+ error_code: 'device_removed';
16241
+ } | {
16242
+ message: string;
16243
+ is_device_error: true;
16244
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16245
+ error_code: 'account_disconnected';
16246
+ } | {
16247
+ message: string;
16248
+ is_device_error: true;
16249
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16250
+ error_code: 'hub_disconnected';
16251
+ } | {
16252
+ message: string;
16253
+ is_device_error: true;
16254
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16255
+ error_code: 'device_disconnected';
16256
+ } | {
16257
+ message: string;
16258
+ is_device_error: true;
16259
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16260
+ error_code: 'empty_backup_access_code_pool';
16261
+ } | {
16262
+ message: string;
16263
+ is_device_error: true;
16264
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16265
+ error_code: 'august_lock_not_authorized';
16266
+ } | {
16267
+ message: string;
16268
+ is_device_error: true;
16269
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16270
+ error_code: 'august_lock_missing_bridge';
16271
+ } | {
16272
+ message: string;
16273
+ is_device_error: true;
16274
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16275
+ error_code: 'salto_site_user_limit_reached';
15337
16276
  } | {
16277
+ message: string;
16278
+ is_device_error: true;
16279
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16280
+ error_code: 'ttlock_lock_not_paired_to_gateway';
16281
+ } | {
16282
+ message: string;
16283
+ is_device_error: true;
16284
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16285
+ error_code: 'missing_device_credentials';
16286
+ } | {
16287
+ message: string;
16288
+ is_device_error: true;
16289
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16290
+ error_code: 'auxiliary_heat_running';
16291
+ } | {
16292
+ message: string;
16293
+ is_device_error: true;
16294
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16295
+ error_code: 'subscription_required';
16296
+ }) | {
15338
16297
  message: string;
15339
16298
  is_connected_account_error: true;
15340
16299
  error_code: string;
@@ -15887,11 +16846,72 @@ export interface Routes {
15887
16846
  /** Unique identifier for the Seam workspace associated with the device. */
15888
16847
  workspace_id: string;
15889
16848
  /** 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. */
15890
- errors: Array<{
16849
+ errors: Array<({
15891
16850
  message: string;
15892
16851
  is_device_error: true;
15893
- error_code: string;
16852
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16853
+ error_code: 'device_offline';
16854
+ } | {
16855
+ message: string;
16856
+ is_device_error: true;
16857
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16858
+ error_code: 'device_removed';
16859
+ } | {
16860
+ message: string;
16861
+ is_device_error: true;
16862
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16863
+ error_code: 'account_disconnected';
16864
+ } | {
16865
+ message: string;
16866
+ is_device_error: true;
16867
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16868
+ error_code: 'hub_disconnected';
16869
+ } | {
16870
+ message: string;
16871
+ is_device_error: true;
16872
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16873
+ error_code: 'device_disconnected';
16874
+ } | {
16875
+ message: string;
16876
+ is_device_error: true;
16877
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16878
+ error_code: 'empty_backup_access_code_pool';
16879
+ } | {
16880
+ message: string;
16881
+ is_device_error: true;
16882
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16883
+ error_code: 'august_lock_not_authorized';
16884
+ } | {
16885
+ message: string;
16886
+ is_device_error: true;
16887
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16888
+ error_code: 'august_lock_missing_bridge';
16889
+ } | {
16890
+ message: string;
16891
+ is_device_error: true;
16892
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16893
+ error_code: 'salto_site_user_limit_reached';
16894
+ } | {
16895
+ message: string;
16896
+ is_device_error: true;
16897
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16898
+ error_code: 'ttlock_lock_not_paired_to_gateway';
16899
+ } | {
16900
+ message: string;
16901
+ is_device_error: true;
16902
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16903
+ error_code: 'missing_device_credentials';
16904
+ } | {
16905
+ message: string;
16906
+ is_device_error: true;
16907
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16908
+ error_code: 'auxiliary_heat_running';
15894
16909
  } | {
16910
+ message: string;
16911
+ is_device_error: true;
16912
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16913
+ error_code: 'subscription_required';
16914
+ }) | {
15895
16915
  message: string;
15896
16916
  is_connected_account_error: true;
15897
16917
  error_code: string;
@@ -16407,11 +17427,72 @@ export interface Routes {
16407
17427
  /** Unique identifier for the Seam workspace associated with the device. */
16408
17428
  workspace_id: string;
16409
17429
  /** 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. */
16410
- errors: Array<{
17430
+ errors: Array<({
16411
17431
  message: string;
16412
17432
  is_device_error: true;
16413
- error_code: string;
17433
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17434
+ error_code: 'device_offline';
17435
+ } | {
17436
+ message: string;
17437
+ is_device_error: true;
17438
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17439
+ error_code: 'device_removed';
17440
+ } | {
17441
+ message: string;
17442
+ is_device_error: true;
17443
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17444
+ error_code: 'account_disconnected';
17445
+ } | {
17446
+ message: string;
17447
+ is_device_error: true;
17448
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17449
+ error_code: 'hub_disconnected';
17450
+ } | {
17451
+ message: string;
17452
+ is_device_error: true;
17453
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17454
+ error_code: 'device_disconnected';
17455
+ } | {
17456
+ message: string;
17457
+ is_device_error: true;
17458
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17459
+ error_code: 'empty_backup_access_code_pool';
17460
+ } | {
17461
+ message: string;
17462
+ is_device_error: true;
17463
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17464
+ error_code: 'august_lock_not_authorized';
17465
+ } | {
17466
+ message: string;
17467
+ is_device_error: true;
17468
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17469
+ error_code: 'august_lock_missing_bridge';
17470
+ } | {
17471
+ message: string;
17472
+ is_device_error: true;
17473
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17474
+ error_code: 'salto_site_user_limit_reached';
17475
+ } | {
17476
+ message: string;
17477
+ is_device_error: true;
17478
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17479
+ error_code: 'ttlock_lock_not_paired_to_gateway';
17480
+ } | {
17481
+ message: string;
17482
+ is_device_error: true;
17483
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17484
+ error_code: 'missing_device_credentials';
17485
+ } | {
17486
+ message: string;
17487
+ is_device_error: true;
17488
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17489
+ error_code: 'auxiliary_heat_running';
16414
17490
  } | {
17491
+ message: string;
17492
+ is_device_error: true;
17493
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17494
+ error_code: 'subscription_required';
17495
+ }) | {
16415
17496
  message: string;
16416
17497
  is_connected_account_error: true;
16417
17498
  error_code: string;
@@ -18608,11 +19689,72 @@ export interface Routes {
18608
19689
  /** Unique identifier for the Seam workspace associated with the device. */
18609
19690
  workspace_id: string;
18610
19691
  /** 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. */
18611
- errors: Array<{
19692
+ errors: Array<({
18612
19693
  message: string;
18613
19694
  is_device_error: true;
18614
- error_code: string;
19695
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19696
+ error_code: 'device_offline';
19697
+ } | {
19698
+ message: string;
19699
+ is_device_error: true;
19700
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19701
+ error_code: 'device_removed';
19702
+ } | {
19703
+ message: string;
19704
+ is_device_error: true;
19705
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19706
+ error_code: 'account_disconnected';
19707
+ } | {
19708
+ message: string;
19709
+ is_device_error: true;
19710
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19711
+ error_code: 'hub_disconnected';
19712
+ } | {
19713
+ message: string;
19714
+ is_device_error: true;
19715
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19716
+ error_code: 'device_disconnected';
19717
+ } | {
19718
+ message: string;
19719
+ is_device_error: true;
19720
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19721
+ error_code: 'empty_backup_access_code_pool';
19722
+ } | {
19723
+ message: string;
19724
+ is_device_error: true;
19725
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19726
+ error_code: 'august_lock_not_authorized';
19727
+ } | {
19728
+ message: string;
19729
+ is_device_error: true;
19730
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19731
+ error_code: 'august_lock_missing_bridge';
19732
+ } | {
19733
+ message: string;
19734
+ is_device_error: true;
19735
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19736
+ error_code: 'salto_site_user_limit_reached';
19737
+ } | {
19738
+ message: string;
19739
+ is_device_error: true;
19740
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19741
+ error_code: 'ttlock_lock_not_paired_to_gateway';
19742
+ } | {
19743
+ message: string;
19744
+ is_device_error: true;
19745
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19746
+ error_code: 'missing_device_credentials';
19747
+ } | {
19748
+ message: string;
19749
+ is_device_error: true;
19750
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19751
+ error_code: 'auxiliary_heat_running';
18615
19752
  } | {
19753
+ message: string;
19754
+ is_device_error: true;
19755
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19756
+ error_code: 'subscription_required';
19757
+ }) | {
18616
19758
  message: string;
18617
19759
  is_connected_account_error: true;
18618
19760
  error_code: string;
@@ -19128,11 +20270,72 @@ export interface Routes {
19128
20270
  /** Unique identifier for the Seam workspace associated with the device. */
19129
20271
  workspace_id: string;
19130
20272
  /** 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. */
19131
- errors: Array<{
20273
+ errors: Array<({
19132
20274
  message: string;
19133
20275
  is_device_error: true;
19134
- error_code: string;
20276
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20277
+ error_code: 'device_offline';
20278
+ } | {
20279
+ message: string;
20280
+ is_device_error: true;
20281
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20282
+ error_code: 'device_removed';
20283
+ } | {
20284
+ message: string;
20285
+ is_device_error: true;
20286
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20287
+ error_code: 'account_disconnected';
20288
+ } | {
20289
+ message: string;
20290
+ is_device_error: true;
20291
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20292
+ error_code: 'hub_disconnected';
20293
+ } | {
20294
+ message: string;
20295
+ is_device_error: true;
20296
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20297
+ error_code: 'device_disconnected';
20298
+ } | {
20299
+ message: string;
20300
+ is_device_error: true;
20301
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20302
+ error_code: 'empty_backup_access_code_pool';
19135
20303
  } | {
20304
+ message: string;
20305
+ is_device_error: true;
20306
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20307
+ error_code: 'august_lock_not_authorized';
20308
+ } | {
20309
+ message: string;
20310
+ is_device_error: true;
20311
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20312
+ error_code: 'august_lock_missing_bridge';
20313
+ } | {
20314
+ message: string;
20315
+ is_device_error: true;
20316
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20317
+ error_code: 'salto_site_user_limit_reached';
20318
+ } | {
20319
+ message: string;
20320
+ is_device_error: true;
20321
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20322
+ error_code: 'ttlock_lock_not_paired_to_gateway';
20323
+ } | {
20324
+ message: string;
20325
+ is_device_error: true;
20326
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20327
+ error_code: 'missing_device_credentials';
20328
+ } | {
20329
+ message: string;
20330
+ is_device_error: true;
20331
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20332
+ error_code: 'auxiliary_heat_running';
20333
+ } | {
20334
+ message: string;
20335
+ is_device_error: true;
20336
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20337
+ error_code: 'subscription_required';
20338
+ }) | {
19136
20339
  message: string;
19137
20340
  is_connected_account_error: true;
19138
20341
  error_code: string;
@@ -21702,11 +22905,72 @@ export interface Routes {
21702
22905
  /** Unique identifier for the Seam workspace associated with the device. */
21703
22906
  workspace_id: string;
21704
22907
  /** 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. */
21705
- errors: Array<{
22908
+ errors: Array<({
21706
22909
  message: string;
21707
22910
  is_device_error: true;
21708
- error_code: string;
22911
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22912
+ error_code: 'device_offline';
22913
+ } | {
22914
+ message: string;
22915
+ is_device_error: true;
22916
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22917
+ error_code: 'device_removed';
22918
+ } | {
22919
+ message: string;
22920
+ is_device_error: true;
22921
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22922
+ error_code: 'account_disconnected';
22923
+ } | {
22924
+ message: string;
22925
+ is_device_error: true;
22926
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22927
+ error_code: 'hub_disconnected';
22928
+ } | {
22929
+ message: string;
22930
+ is_device_error: true;
22931
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22932
+ error_code: 'device_disconnected';
22933
+ } | {
22934
+ message: string;
22935
+ is_device_error: true;
22936
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22937
+ error_code: 'empty_backup_access_code_pool';
22938
+ } | {
22939
+ message: string;
22940
+ is_device_error: true;
22941
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22942
+ error_code: 'august_lock_not_authorized';
22943
+ } | {
22944
+ message: string;
22945
+ is_device_error: true;
22946
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22947
+ error_code: 'august_lock_missing_bridge';
22948
+ } | {
22949
+ message: string;
22950
+ is_device_error: true;
22951
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22952
+ error_code: 'salto_site_user_limit_reached';
22953
+ } | {
22954
+ message: string;
22955
+ is_device_error: true;
22956
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22957
+ error_code: 'ttlock_lock_not_paired_to_gateway';
22958
+ } | {
22959
+ message: string;
22960
+ is_device_error: true;
22961
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22962
+ error_code: 'missing_device_credentials';
22963
+ } | {
22964
+ message: string;
22965
+ is_device_error: true;
22966
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22967
+ error_code: 'auxiliary_heat_running';
21709
22968
  } | {
22969
+ message: string;
22970
+ is_device_error: true;
22971
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22972
+ error_code: 'subscription_required';
22973
+ }) | {
21710
22974
  message: string;
21711
22975
  is_connected_account_error: true;
21712
22976
  error_code: string;
@@ -21789,11 +23053,72 @@ export interface Routes {
21789
23053
  /** Unique identifier for the Seam workspace associated with the device. */
21790
23054
  workspace_id: string;
21791
23055
  /** 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. */
21792
- errors: Array<{
23056
+ errors: Array<({
21793
23057
  message: string;
21794
23058
  is_device_error: true;
21795
- error_code: string;
23059
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23060
+ error_code: 'device_offline';
23061
+ } | {
23062
+ message: string;
23063
+ is_device_error: true;
23064
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23065
+ error_code: 'device_removed';
23066
+ } | {
23067
+ message: string;
23068
+ is_device_error: true;
23069
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23070
+ error_code: 'account_disconnected';
23071
+ } | {
23072
+ message: string;
23073
+ is_device_error: true;
23074
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23075
+ error_code: 'hub_disconnected';
23076
+ } | {
23077
+ message: string;
23078
+ is_device_error: true;
23079
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23080
+ error_code: 'device_disconnected';
23081
+ } | {
23082
+ message: string;
23083
+ is_device_error: true;
23084
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23085
+ error_code: 'empty_backup_access_code_pool';
23086
+ } | {
23087
+ message: string;
23088
+ is_device_error: true;
23089
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23090
+ error_code: 'august_lock_not_authorized';
23091
+ } | {
23092
+ message: string;
23093
+ is_device_error: true;
23094
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23095
+ error_code: 'august_lock_missing_bridge';
23096
+ } | {
23097
+ message: string;
23098
+ is_device_error: true;
23099
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23100
+ error_code: 'salto_site_user_limit_reached';
23101
+ } | {
23102
+ message: string;
23103
+ is_device_error: true;
23104
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23105
+ error_code: 'ttlock_lock_not_paired_to_gateway';
23106
+ } | {
23107
+ message: string;
23108
+ is_device_error: true;
23109
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23110
+ error_code: 'missing_device_credentials';
23111
+ } | {
23112
+ message: string;
23113
+ is_device_error: true;
23114
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23115
+ error_code: 'auxiliary_heat_running';
21796
23116
  } | {
23117
+ message: string;
23118
+ is_device_error: true;
23119
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23120
+ error_code: 'subscription_required';
23121
+ }) | {
21797
23122
  message: string;
21798
23123
  is_connected_account_error: true;
21799
23124
  error_code: string;
@@ -23987,11 +25312,72 @@ export interface Routes {
23987
25312
  /** Unique identifier for the Seam workspace associated with the device. */
23988
25313
  workspace_id: string;
23989
25314
  /** 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. */
23990
- errors: Array<{
25315
+ errors: Array<({
23991
25316
  message: string;
23992
25317
  is_device_error: true;
23993
- error_code: string;
25318
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25319
+ error_code: 'device_offline';
25320
+ } | {
25321
+ message: string;
25322
+ is_device_error: true;
25323
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25324
+ error_code: 'device_removed';
25325
+ } | {
25326
+ message: string;
25327
+ is_device_error: true;
25328
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25329
+ error_code: 'account_disconnected';
25330
+ } | {
25331
+ message: string;
25332
+ is_device_error: true;
25333
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25334
+ error_code: 'hub_disconnected';
25335
+ } | {
25336
+ message: string;
25337
+ is_device_error: true;
25338
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25339
+ error_code: 'device_disconnected';
25340
+ } | {
25341
+ message: string;
25342
+ is_device_error: true;
25343
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25344
+ error_code: 'empty_backup_access_code_pool';
25345
+ } | {
25346
+ message: string;
25347
+ is_device_error: true;
25348
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25349
+ error_code: 'august_lock_not_authorized';
25350
+ } | {
25351
+ message: string;
25352
+ is_device_error: true;
25353
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25354
+ error_code: 'august_lock_missing_bridge';
25355
+ } | {
25356
+ message: string;
25357
+ is_device_error: true;
25358
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25359
+ error_code: 'salto_site_user_limit_reached';
25360
+ } | {
25361
+ message: string;
25362
+ is_device_error: true;
25363
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25364
+ error_code: 'ttlock_lock_not_paired_to_gateway';
25365
+ } | {
25366
+ message: string;
25367
+ is_device_error: true;
25368
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25369
+ error_code: 'missing_device_credentials';
25370
+ } | {
25371
+ message: string;
25372
+ is_device_error: true;
25373
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25374
+ error_code: 'auxiliary_heat_running';
23994
25375
  } | {
25376
+ message: string;
25377
+ is_device_error: true;
25378
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25379
+ error_code: 'subscription_required';
25380
+ }) | {
23995
25381
  message: string;
23996
25382
  is_connected_account_error: true;
23997
25383
  error_code: string;
@@ -26170,11 +27556,72 @@ export interface Routes {
26170
27556
  /** Unique identifier for the Seam workspace associated with the device. */
26171
27557
  workspace_id: string;
26172
27558
  /** 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. */
26173
- errors: Array<{
27559
+ errors: Array<({
26174
27560
  message: string;
26175
27561
  is_device_error: true;
26176
- error_code: string;
27562
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
27563
+ error_code: 'device_offline';
27564
+ } | {
27565
+ message: string;
27566
+ is_device_error: true;
27567
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
27568
+ error_code: 'device_removed';
27569
+ } | {
27570
+ message: string;
27571
+ is_device_error: true;
27572
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
27573
+ error_code: 'account_disconnected';
26177
27574
  } | {
27575
+ message: string;
27576
+ is_device_error: true;
27577
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
27578
+ error_code: 'hub_disconnected';
27579
+ } | {
27580
+ message: string;
27581
+ is_device_error: true;
27582
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
27583
+ error_code: 'device_disconnected';
27584
+ } | {
27585
+ message: string;
27586
+ is_device_error: true;
27587
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
27588
+ error_code: 'empty_backup_access_code_pool';
27589
+ } | {
27590
+ message: string;
27591
+ is_device_error: true;
27592
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
27593
+ error_code: 'august_lock_not_authorized';
27594
+ } | {
27595
+ message: string;
27596
+ is_device_error: true;
27597
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
27598
+ error_code: 'august_lock_missing_bridge';
27599
+ } | {
27600
+ message: string;
27601
+ is_device_error: true;
27602
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
27603
+ error_code: 'salto_site_user_limit_reached';
27604
+ } | {
27605
+ message: string;
27606
+ is_device_error: true;
27607
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
27608
+ error_code: 'ttlock_lock_not_paired_to_gateway';
27609
+ } | {
27610
+ message: string;
27611
+ is_device_error: true;
27612
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
27613
+ error_code: 'missing_device_credentials';
27614
+ } | {
27615
+ message: string;
27616
+ is_device_error: true;
27617
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
27618
+ error_code: 'auxiliary_heat_running';
27619
+ } | {
27620
+ message: string;
27621
+ is_device_error: true;
27622
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
27623
+ error_code: 'subscription_required';
27624
+ }) | {
26178
27625
  message: string;
26179
27626
  is_connected_account_error: true;
26180
27627
  error_code: string;
@@ -26690,11 +28137,72 @@ export interface Routes {
26690
28137
  /** Unique identifier for the Seam workspace associated with the device. */
26691
28138
  workspace_id: string;
26692
28139
  /** 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. */
26693
- errors: Array<{
28140
+ errors: Array<({
26694
28141
  message: string;
26695
28142
  is_device_error: true;
26696
- error_code: string;
28143
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28144
+ error_code: 'device_offline';
28145
+ } | {
28146
+ message: string;
28147
+ is_device_error: true;
28148
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28149
+ error_code: 'device_removed';
28150
+ } | {
28151
+ message: string;
28152
+ is_device_error: true;
28153
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28154
+ error_code: 'account_disconnected';
28155
+ } | {
28156
+ message: string;
28157
+ is_device_error: true;
28158
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28159
+ error_code: 'hub_disconnected';
28160
+ } | {
28161
+ message: string;
28162
+ is_device_error: true;
28163
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28164
+ error_code: 'device_disconnected';
28165
+ } | {
28166
+ message: string;
28167
+ is_device_error: true;
28168
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28169
+ error_code: 'empty_backup_access_code_pool';
28170
+ } | {
28171
+ message: string;
28172
+ is_device_error: true;
28173
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28174
+ error_code: 'august_lock_not_authorized';
28175
+ } | {
28176
+ message: string;
28177
+ is_device_error: true;
28178
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28179
+ error_code: 'august_lock_missing_bridge';
28180
+ } | {
28181
+ message: string;
28182
+ is_device_error: true;
28183
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28184
+ error_code: 'salto_site_user_limit_reached';
28185
+ } | {
28186
+ message: string;
28187
+ is_device_error: true;
28188
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28189
+ error_code: 'ttlock_lock_not_paired_to_gateway';
28190
+ } | {
28191
+ message: string;
28192
+ is_device_error: true;
28193
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28194
+ error_code: 'missing_device_credentials';
28195
+ } | {
28196
+ message: string;
28197
+ is_device_error: true;
28198
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28199
+ error_code: 'auxiliary_heat_running';
26697
28200
  } | {
28201
+ message: string;
28202
+ is_device_error: true;
28203
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28204
+ error_code: 'subscription_required';
28205
+ }) | {
26698
28206
  message: string;
26699
28207
  is_connected_account_error: true;
26700
28208
  error_code: string;
@@ -30134,11 +31642,72 @@ export interface Routes {
30134
31642
  /** Unique identifier for the Seam workspace associated with the device. */
30135
31643
  workspace_id: string;
30136
31644
  /** 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. */
30137
- errors: Array<{
31645
+ errors: Array<({
30138
31646
  message: string;
30139
31647
  is_device_error: true;
30140
- error_code: string;
31648
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31649
+ error_code: 'device_offline';
31650
+ } | {
31651
+ message: string;
31652
+ is_device_error: true;
31653
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31654
+ error_code: 'device_removed';
31655
+ } | {
31656
+ message: string;
31657
+ is_device_error: true;
31658
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31659
+ error_code: 'account_disconnected';
31660
+ } | {
31661
+ message: string;
31662
+ is_device_error: true;
31663
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31664
+ error_code: 'hub_disconnected';
31665
+ } | {
31666
+ message: string;
31667
+ is_device_error: true;
31668
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31669
+ error_code: 'device_disconnected';
31670
+ } | {
31671
+ message: string;
31672
+ is_device_error: true;
31673
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31674
+ error_code: 'empty_backup_access_code_pool';
31675
+ } | {
31676
+ message: string;
31677
+ is_device_error: true;
31678
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31679
+ error_code: 'august_lock_not_authorized';
31680
+ } | {
31681
+ message: string;
31682
+ is_device_error: true;
31683
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31684
+ error_code: 'august_lock_missing_bridge';
31685
+ } | {
31686
+ message: string;
31687
+ is_device_error: true;
31688
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31689
+ error_code: 'salto_site_user_limit_reached';
31690
+ } | {
31691
+ message: string;
31692
+ is_device_error: true;
31693
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31694
+ error_code: 'ttlock_lock_not_paired_to_gateway';
31695
+ } | {
31696
+ message: string;
31697
+ is_device_error: true;
31698
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31699
+ error_code: 'missing_device_credentials';
31700
+ } | {
31701
+ message: string;
31702
+ is_device_error: true;
31703
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31704
+ error_code: 'auxiliary_heat_running';
30141
31705
  } | {
31706
+ message: string;
31707
+ is_device_error: true;
31708
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31709
+ error_code: 'subscription_required';
31710
+ }) | {
30142
31711
  message: string;
30143
31712
  is_connected_account_error: true;
30144
31713
  error_code: string;
@@ -30656,11 +32225,72 @@ export interface Routes {
30656
32225
  /** Unique identifier for the Seam workspace associated with the device. */
30657
32226
  workspace_id: string;
30658
32227
  /** 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. */
30659
- errors: Array<{
32228
+ errors: Array<({
30660
32229
  message: string;
30661
32230
  is_device_error: true;
30662
- error_code: string;
32231
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32232
+ error_code: 'device_offline';
32233
+ } | {
32234
+ message: string;
32235
+ is_device_error: true;
32236
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32237
+ error_code: 'device_removed';
32238
+ } | {
32239
+ message: string;
32240
+ is_device_error: true;
32241
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32242
+ error_code: 'account_disconnected';
32243
+ } | {
32244
+ message: string;
32245
+ is_device_error: true;
32246
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32247
+ error_code: 'hub_disconnected';
32248
+ } | {
32249
+ message: string;
32250
+ is_device_error: true;
32251
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32252
+ error_code: 'device_disconnected';
32253
+ } | {
32254
+ message: string;
32255
+ is_device_error: true;
32256
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32257
+ error_code: 'empty_backup_access_code_pool';
32258
+ } | {
32259
+ message: string;
32260
+ is_device_error: true;
32261
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32262
+ error_code: 'august_lock_not_authorized';
32263
+ } | {
32264
+ message: string;
32265
+ is_device_error: true;
32266
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32267
+ error_code: 'august_lock_missing_bridge';
32268
+ } | {
32269
+ message: string;
32270
+ is_device_error: true;
32271
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32272
+ error_code: 'salto_site_user_limit_reached';
32273
+ } | {
32274
+ message: string;
32275
+ is_device_error: true;
32276
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32277
+ error_code: 'ttlock_lock_not_paired_to_gateway';
32278
+ } | {
32279
+ message: string;
32280
+ is_device_error: true;
32281
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32282
+ error_code: 'missing_device_credentials';
32283
+ } | {
32284
+ message: string;
32285
+ is_device_error: true;
32286
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32287
+ error_code: 'auxiliary_heat_running';
30663
32288
  } | {
32289
+ message: string;
32290
+ is_device_error: true;
32291
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32292
+ error_code: 'subscription_required';
32293
+ }) | {
30664
32294
  message: string;
30665
32295
  is_connected_account_error: true;
30666
32296
  error_code: string;