@seamapi/types 1.360.1 → 1.361.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.
Files changed (40) hide show
  1. package/dist/connect.cjs +739 -583
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2320 -1622
  4. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +192 -126
  5. package/lib/seam/connect/models/access-codes/managed-access-code.js +2 -4
  6. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  7. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +193 -127
  8. package/lib/seam/connect/models/acs/acs-access-group.d.ts +4 -4
  9. package/lib/seam/connect/models/acs/acs-credential-pool.d.ts +2 -2
  10. package/lib/seam/connect/models/acs/acs-credential.d.ts +6 -6
  11. package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
  12. package/lib/seam/connect/models/acs/acs-entrance.d.ts +2 -2
  13. package/lib/seam/connect/models/acs/acs-system.d.ts +2 -2
  14. package/lib/seam/connect/models/acs/acs-user.d.ts +4 -4
  15. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +26 -26
  16. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +8 -8
  17. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +18 -18
  18. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +42 -42
  19. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +18 -18
  20. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +18 -18
  21. package/lib/seam/connect/models/devices/device.d.ts +1760 -389
  22. package/lib/seam/connect/models/devices/device.js +82 -4
  23. package/lib/seam/connect/models/devices/device.js.map +1 -1
  24. package/lib/seam/connect/models/devices/phone.d.ts +4 -4
  25. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +236 -58
  26. package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
  27. package/lib/seam/connect/models/events/devices.d.ts +152 -152
  28. package/lib/seam/connect/models/events/phones.d.ts +4 -4
  29. package/lib/seam/connect/models/events/seam-event.d.ts +112 -112
  30. package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +8 -8
  31. package/lib/seam/connect/models/user-identities/user-identity.d.ts +2 -2
  32. package/lib/seam/connect/openapi.d.ts +58 -148
  33. package/lib/seam/connect/openapi.js +563 -463
  34. package/lib/seam/connect/openapi.js.map +1 -1
  35. package/lib/seam/connect/route-types.d.ts +840 -648
  36. package/package.json +1 -1
  37. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +2 -4
  38. package/src/lib/seam/connect/models/devices/device.ts +103 -4
  39. package/src/lib/seam/connect/openapi.ts +562 -478
  40. package/src/lib/seam/connect/route-types.ts +888 -720
@@ -1020,73 +1020,86 @@ export interface Routes {
1020
1020
  is_access_code_error: true;
1021
1021
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1022
1022
  error_code: 'hubitat_no_free_positions_available';
1023
+ } | {
1024
+ message: string;
1025
+ is_device_error: false;
1026
+ created_at: string;
1027
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1028
+ error_code: 'account_disconnected';
1029
+ is_connected_account_error: true;
1030
+ } | {
1031
+ message: string;
1032
+ is_device_error: false;
1033
+ created_at: string;
1034
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1035
+ error_code: 'salto_ks_subscription_limit_exceeded';
1036
+ is_connected_account_error: true;
1023
1037
  } | {
1024
1038
  message: string;
1025
1039
  is_device_error: true;
1040
+ created_at: string;
1026
1041
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1027
1042
  error_code: 'device_offline';
1028
1043
  } | {
1029
1044
  message: string;
1030
1045
  is_device_error: true;
1046
+ created_at: string;
1031
1047
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1032
1048
  error_code: 'device_removed';
1033
1049
  } | {
1034
1050
  message: string;
1035
1051
  is_device_error: true;
1052
+ created_at: string;
1036
1053
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1037
1054
  error_code: 'hub_disconnected';
1038
1055
  } | {
1039
1056
  message: string;
1040
1057
  is_device_error: true;
1058
+ created_at: string;
1041
1059
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1042
1060
  error_code: 'device_disconnected';
1043
1061
  } | {
1044
1062
  message: string;
1045
1063
  is_device_error: true;
1064
+ created_at: string;
1046
1065
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1047
1066
  error_code: 'empty_backup_access_code_pool';
1048
1067
  } | {
1049
1068
  message: string;
1050
1069
  is_device_error: true;
1070
+ created_at: string;
1051
1071
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1052
1072
  error_code: 'august_lock_not_authorized';
1053
1073
  } | {
1054
1074
  message: string;
1055
1075
  is_device_error: true;
1076
+ created_at: string;
1056
1077
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1057
1078
  error_code: 'august_lock_missing_bridge';
1058
1079
  } | {
1059
1080
  message: string;
1060
1081
  is_device_error: true;
1061
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1062
- error_code: 'salto_site_user_limit_reached';
1063
- } | {
1064
- message: string;
1065
- is_device_error: true;
1082
+ created_at: string;
1066
1083
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1067
1084
  error_code: 'ttlock_lock_not_paired_to_gateway';
1068
1085
  } | {
1069
1086
  message: string;
1070
1087
  is_device_error: true;
1088
+ created_at: string;
1071
1089
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1072
1090
  error_code: 'missing_device_credentials';
1073
1091
  } | {
1074
1092
  message: string;
1075
1093
  is_device_error: true;
1094
+ created_at: string;
1076
1095
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1077
1096
  error_code: 'auxiliary_heat_running';
1078
1097
  } | {
1079
1098
  message: string;
1080
1099
  is_device_error: true;
1081
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1082
- error_code: 'subscription_required';
1083
- } | {
1084
- /** Date and time at which Seam created the error. */
1085
1100
  created_at: string;
1086
- message: string;
1087
- is_connected_account_error: true;
1088
1101
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1089
- error_code: 'account_disconnected';
1102
+ error_code: 'subscription_required';
1090
1103
  } | {
1091
1104
  /** Date and time at which Seam created the error. */
1092
1105
  created_at: string;
@@ -1094,21 +1107,6 @@ export interface Routes {
1094
1107
  is_connected_account_error: true;
1095
1108
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1096
1109
  error_code: 'invalid_credentials';
1097
- } | {
1098
- /** Date and time at which Seam created the error. */
1099
- created_at: string;
1100
- message: string;
1101
- is_connected_account_error: true;
1102
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1103
- error_code: 'salto_ks_subscription_limit_exceeded';
1104
- salto_ks_metadata: {
1105
- sites: Array<{
1106
- site_id: string;
1107
- site_name: string;
1108
- subscribed_site_user_count: number;
1109
- site_user_subscription_limit: number;
1110
- }>;
1111
- };
1112
1110
  }>;
1113
1111
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
1114
1112
  warnings: Array<{
@@ -1325,73 +1323,86 @@ export interface Routes {
1325
1323
  is_access_code_error: true;
1326
1324
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1327
1325
  error_code: 'hubitat_no_free_positions_available';
1326
+ } | {
1327
+ message: string;
1328
+ is_device_error: false;
1329
+ created_at: string;
1330
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1331
+ error_code: 'account_disconnected';
1332
+ is_connected_account_error: true;
1333
+ } | {
1334
+ message: string;
1335
+ is_device_error: false;
1336
+ created_at: string;
1337
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1338
+ error_code: 'salto_ks_subscription_limit_exceeded';
1339
+ is_connected_account_error: true;
1328
1340
  } | {
1329
1341
  message: string;
1330
1342
  is_device_error: true;
1343
+ created_at: string;
1331
1344
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1332
1345
  error_code: 'device_offline';
1333
1346
  } | {
1334
1347
  message: string;
1335
1348
  is_device_error: true;
1349
+ created_at: string;
1336
1350
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1337
1351
  error_code: 'device_removed';
1338
1352
  } | {
1339
1353
  message: string;
1340
1354
  is_device_error: true;
1355
+ created_at: string;
1341
1356
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1342
1357
  error_code: 'hub_disconnected';
1343
1358
  } | {
1344
1359
  message: string;
1345
1360
  is_device_error: true;
1361
+ created_at: string;
1346
1362
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1347
1363
  error_code: 'device_disconnected';
1348
1364
  } | {
1349
1365
  message: string;
1350
1366
  is_device_error: true;
1367
+ created_at: string;
1351
1368
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1352
1369
  error_code: 'empty_backup_access_code_pool';
1353
1370
  } | {
1354
1371
  message: string;
1355
1372
  is_device_error: true;
1373
+ created_at: string;
1356
1374
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1357
1375
  error_code: 'august_lock_not_authorized';
1358
1376
  } | {
1359
1377
  message: string;
1360
1378
  is_device_error: true;
1379
+ created_at: string;
1361
1380
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1362
1381
  error_code: 'august_lock_missing_bridge';
1363
1382
  } | {
1364
1383
  message: string;
1365
1384
  is_device_error: true;
1366
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1367
- error_code: 'salto_site_user_limit_reached';
1368
- } | {
1369
- message: string;
1370
- is_device_error: true;
1385
+ created_at: string;
1371
1386
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1372
1387
  error_code: 'ttlock_lock_not_paired_to_gateway';
1373
1388
  } | {
1374
1389
  message: string;
1375
1390
  is_device_error: true;
1391
+ created_at: string;
1376
1392
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1377
1393
  error_code: 'missing_device_credentials';
1378
1394
  } | {
1379
1395
  message: string;
1380
1396
  is_device_error: true;
1397
+ created_at: string;
1381
1398
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1382
1399
  error_code: 'auxiliary_heat_running';
1383
1400
  } | {
1384
1401
  message: string;
1385
1402
  is_device_error: true;
1386
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1387
- error_code: 'subscription_required';
1388
- } | {
1389
- /** Date and time at which Seam created the error. */
1390
1403
  created_at: string;
1391
- message: string;
1392
- is_connected_account_error: true;
1393
1404
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1394
- error_code: 'account_disconnected';
1405
+ error_code: 'subscription_required';
1395
1406
  } | {
1396
1407
  /** Date and time at which Seam created the error. */
1397
1408
  created_at: string;
@@ -1399,21 +1410,6 @@ export interface Routes {
1399
1410
  is_connected_account_error: true;
1400
1411
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1401
1412
  error_code: 'invalid_credentials';
1402
- } | {
1403
- /** Date and time at which Seam created the error. */
1404
- created_at: string;
1405
- message: string;
1406
- is_connected_account_error: true;
1407
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1408
- error_code: 'salto_ks_subscription_limit_exceeded';
1409
- salto_ks_metadata: {
1410
- sites: Array<{
1411
- site_id: string;
1412
- site_name: string;
1413
- subscribed_site_user_count: number;
1414
- site_user_subscription_limit: number;
1415
- }>;
1416
- };
1417
1413
  }>;
1418
1414
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
1419
1415
  warnings: Array<{
@@ -2527,73 +2523,86 @@ export interface Routes {
2527
2523
  is_access_code_error: true;
2528
2524
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2529
2525
  error_code: 'hubitat_no_free_positions_available';
2526
+ } | {
2527
+ message: string;
2528
+ is_device_error: false;
2529
+ created_at: string;
2530
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2531
+ error_code: 'account_disconnected';
2532
+ is_connected_account_error: true;
2533
+ } | {
2534
+ message: string;
2535
+ is_device_error: false;
2536
+ created_at: string;
2537
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2538
+ error_code: 'salto_ks_subscription_limit_exceeded';
2539
+ is_connected_account_error: true;
2530
2540
  } | {
2531
2541
  message: string;
2532
2542
  is_device_error: true;
2543
+ created_at: string;
2533
2544
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2534
2545
  error_code: 'device_offline';
2535
2546
  } | {
2536
2547
  message: string;
2537
2548
  is_device_error: true;
2549
+ created_at: string;
2538
2550
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2539
2551
  error_code: 'device_removed';
2540
2552
  } | {
2541
2553
  message: string;
2542
2554
  is_device_error: true;
2555
+ created_at: string;
2543
2556
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2544
2557
  error_code: 'hub_disconnected';
2545
2558
  } | {
2546
2559
  message: string;
2547
2560
  is_device_error: true;
2561
+ created_at: string;
2548
2562
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2549
2563
  error_code: 'device_disconnected';
2550
2564
  } | {
2551
2565
  message: string;
2552
2566
  is_device_error: true;
2567
+ created_at: string;
2553
2568
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2554
2569
  error_code: 'empty_backup_access_code_pool';
2555
2570
  } | {
2556
2571
  message: string;
2557
2572
  is_device_error: true;
2573
+ created_at: string;
2558
2574
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2559
2575
  error_code: 'august_lock_not_authorized';
2560
2576
  } | {
2561
2577
  message: string;
2562
2578
  is_device_error: true;
2579
+ created_at: string;
2563
2580
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2564
2581
  error_code: 'august_lock_missing_bridge';
2565
2582
  } | {
2566
2583
  message: string;
2567
2584
  is_device_error: true;
2568
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2569
- error_code: 'salto_site_user_limit_reached';
2570
- } | {
2571
- message: string;
2572
- is_device_error: true;
2585
+ created_at: string;
2573
2586
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2574
2587
  error_code: 'ttlock_lock_not_paired_to_gateway';
2575
2588
  } | {
2576
2589
  message: string;
2577
2590
  is_device_error: true;
2591
+ created_at: string;
2578
2592
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2579
2593
  error_code: 'missing_device_credentials';
2580
2594
  } | {
2581
2595
  message: string;
2582
2596
  is_device_error: true;
2597
+ created_at: string;
2583
2598
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2584
2599
  error_code: 'auxiliary_heat_running';
2585
2600
  } | {
2586
2601
  message: string;
2587
2602
  is_device_error: true;
2588
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2589
- error_code: 'subscription_required';
2590
- } | {
2591
- /** Date and time at which Seam created the error. */
2592
2603
  created_at: string;
2593
- message: string;
2594
- is_connected_account_error: true;
2595
2604
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2596
- error_code: 'account_disconnected';
2605
+ error_code: 'subscription_required';
2597
2606
  } | {
2598
2607
  /** Date and time at which Seam created the error. */
2599
2608
  created_at: string;
@@ -2601,21 +2610,6 @@ export interface Routes {
2601
2610
  is_connected_account_error: true;
2602
2611
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2603
2612
  error_code: 'invalid_credentials';
2604
- } | {
2605
- /** Date and time at which Seam created the error. */
2606
- created_at: string;
2607
- message: string;
2608
- is_connected_account_error: true;
2609
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2610
- error_code: 'salto_ks_subscription_limit_exceeded';
2611
- salto_ks_metadata: {
2612
- sites: Array<{
2613
- site_id: string;
2614
- site_name: string;
2615
- subscribed_site_user_count: number;
2616
- site_user_subscription_limit: number;
2617
- }>;
2618
- };
2619
2613
  }>;
2620
2614
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
2621
2615
  warnings: Array<{
@@ -2819,73 +2813,86 @@ export interface Routes {
2819
2813
  is_access_code_error: true;
2820
2814
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2821
2815
  error_code: 'hubitat_no_free_positions_available';
2816
+ } | {
2817
+ message: string;
2818
+ is_device_error: false;
2819
+ created_at: string;
2820
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2821
+ error_code: 'account_disconnected';
2822
+ is_connected_account_error: true;
2823
+ } | {
2824
+ message: string;
2825
+ is_device_error: false;
2826
+ created_at: string;
2827
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2828
+ error_code: 'salto_ks_subscription_limit_exceeded';
2829
+ is_connected_account_error: true;
2822
2830
  } | {
2823
2831
  message: string;
2824
2832
  is_device_error: true;
2833
+ created_at: string;
2825
2834
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2826
2835
  error_code: 'device_offline';
2827
2836
  } | {
2828
2837
  message: string;
2829
2838
  is_device_error: true;
2839
+ created_at: string;
2830
2840
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2831
2841
  error_code: 'device_removed';
2832
2842
  } | {
2833
2843
  message: string;
2834
2844
  is_device_error: true;
2845
+ created_at: string;
2835
2846
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2836
2847
  error_code: 'hub_disconnected';
2837
2848
  } | {
2838
2849
  message: string;
2839
2850
  is_device_error: true;
2851
+ created_at: string;
2840
2852
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2841
2853
  error_code: 'device_disconnected';
2842
2854
  } | {
2843
2855
  message: string;
2844
2856
  is_device_error: true;
2857
+ created_at: string;
2845
2858
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2846
2859
  error_code: 'empty_backup_access_code_pool';
2847
2860
  } | {
2848
2861
  message: string;
2849
2862
  is_device_error: true;
2863
+ created_at: string;
2850
2864
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2851
2865
  error_code: 'august_lock_not_authorized';
2852
2866
  } | {
2853
2867
  message: string;
2854
2868
  is_device_error: true;
2869
+ created_at: string;
2855
2870
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2856
2871
  error_code: 'august_lock_missing_bridge';
2857
2872
  } | {
2858
2873
  message: string;
2859
2874
  is_device_error: true;
2860
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2861
- error_code: 'salto_site_user_limit_reached';
2862
- } | {
2863
- message: string;
2864
- is_device_error: true;
2875
+ created_at: string;
2865
2876
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2866
2877
  error_code: 'ttlock_lock_not_paired_to_gateway';
2867
2878
  } | {
2868
2879
  message: string;
2869
2880
  is_device_error: true;
2881
+ created_at: string;
2870
2882
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2871
2883
  error_code: 'missing_device_credentials';
2872
2884
  } | {
2873
2885
  message: string;
2874
2886
  is_device_error: true;
2887
+ created_at: string;
2875
2888
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2876
2889
  error_code: 'auxiliary_heat_running';
2877
2890
  } | {
2878
2891
  message: string;
2879
2892
  is_device_error: true;
2880
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2881
- error_code: 'subscription_required';
2882
- } | {
2883
- /** Date and time at which Seam created the error. */
2884
2893
  created_at: string;
2885
- message: string;
2886
- is_connected_account_error: true;
2887
2894
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2888
- error_code: 'account_disconnected';
2895
+ error_code: 'subscription_required';
2889
2896
  } | {
2890
2897
  /** Date and time at which Seam created the error. */
2891
2898
  created_at: string;
@@ -2893,21 +2900,6 @@ export interface Routes {
2893
2900
  is_connected_account_error: true;
2894
2901
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2895
2902
  error_code: 'invalid_credentials';
2896
- } | {
2897
- /** Date and time at which Seam created the error. */
2898
- created_at: string;
2899
- message: string;
2900
- is_connected_account_error: true;
2901
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2902
- error_code: 'salto_ks_subscription_limit_exceeded';
2903
- salto_ks_metadata: {
2904
- sites: Array<{
2905
- site_id: string;
2906
- site_name: string;
2907
- subscribed_site_user_count: number;
2908
- site_user_subscription_limit: number;
2909
- }>;
2910
- };
2911
2903
  }>;
2912
2904
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
2913
2905
  warnings: Array<{
@@ -3110,73 +3102,86 @@ export interface Routes {
3110
3102
  is_access_code_error: true;
3111
3103
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3112
3104
  error_code: 'hubitat_no_free_positions_available';
3105
+ } | {
3106
+ message: string;
3107
+ is_device_error: false;
3108
+ created_at: string;
3109
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3110
+ error_code: 'account_disconnected';
3111
+ is_connected_account_error: true;
3112
+ } | {
3113
+ message: string;
3114
+ is_device_error: false;
3115
+ created_at: string;
3116
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3117
+ error_code: 'salto_ks_subscription_limit_exceeded';
3118
+ is_connected_account_error: true;
3113
3119
  } | {
3114
3120
  message: string;
3115
3121
  is_device_error: true;
3122
+ created_at: string;
3116
3123
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3117
3124
  error_code: 'device_offline';
3118
3125
  } | {
3119
3126
  message: string;
3120
3127
  is_device_error: true;
3128
+ created_at: string;
3121
3129
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3122
3130
  error_code: 'device_removed';
3123
3131
  } | {
3124
3132
  message: string;
3125
3133
  is_device_error: true;
3134
+ created_at: string;
3126
3135
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3127
3136
  error_code: 'hub_disconnected';
3128
3137
  } | {
3129
3138
  message: string;
3130
3139
  is_device_error: true;
3140
+ created_at: string;
3131
3141
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3132
3142
  error_code: 'device_disconnected';
3133
3143
  } | {
3134
3144
  message: string;
3135
3145
  is_device_error: true;
3146
+ created_at: string;
3136
3147
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3137
3148
  error_code: 'empty_backup_access_code_pool';
3138
3149
  } | {
3139
3150
  message: string;
3140
3151
  is_device_error: true;
3152
+ created_at: string;
3141
3153
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3142
3154
  error_code: 'august_lock_not_authorized';
3143
3155
  } | {
3144
3156
  message: string;
3145
3157
  is_device_error: true;
3158
+ created_at: string;
3146
3159
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3147
3160
  error_code: 'august_lock_missing_bridge';
3148
3161
  } | {
3149
3162
  message: string;
3150
3163
  is_device_error: true;
3151
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3152
- error_code: 'salto_site_user_limit_reached';
3153
- } | {
3154
- message: string;
3155
- is_device_error: true;
3164
+ created_at: string;
3156
3165
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3157
3166
  error_code: 'ttlock_lock_not_paired_to_gateway';
3158
3167
  } | {
3159
3168
  message: string;
3160
3169
  is_device_error: true;
3170
+ created_at: string;
3161
3171
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3162
3172
  error_code: 'missing_device_credentials';
3163
3173
  } | {
3164
3174
  message: string;
3165
3175
  is_device_error: true;
3176
+ created_at: string;
3166
3177
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3167
3178
  error_code: 'auxiliary_heat_running';
3168
3179
  } | {
3169
3180
  message: string;
3170
3181
  is_device_error: true;
3171
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3172
- error_code: 'subscription_required';
3173
- } | {
3174
- /** Date and time at which Seam created the error. */
3175
3182
  created_at: string;
3176
- message: string;
3177
- is_connected_account_error: true;
3178
3183
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3179
- error_code: 'account_disconnected';
3184
+ error_code: 'subscription_required';
3180
3185
  } | {
3181
3186
  /** Date and time at which Seam created the error. */
3182
3187
  created_at: string;
@@ -3184,21 +3189,6 @@ export interface Routes {
3184
3189
  is_connected_account_error: true;
3185
3190
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3186
3191
  error_code: 'invalid_credentials';
3187
- } | {
3188
- /** Date and time at which Seam created the error. */
3189
- created_at: string;
3190
- message: string;
3191
- is_connected_account_error: true;
3192
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3193
- error_code: 'salto_ks_subscription_limit_exceeded';
3194
- salto_ks_metadata: {
3195
- sites: Array<{
3196
- site_id: string;
3197
- site_name: string;
3198
- subscribed_site_user_count: number;
3199
- site_user_subscription_limit: number;
3200
- }>;
3201
- };
3202
3192
  }>;
3203
3193
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
3204
3194
  warnings: Array<{
@@ -3389,73 +3379,86 @@ export interface Routes {
3389
3379
  is_access_code_error: true;
3390
3380
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3391
3381
  error_code: 'hubitat_no_free_positions_available';
3382
+ } | {
3383
+ message: string;
3384
+ is_device_error: false;
3385
+ created_at: string;
3386
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3387
+ error_code: 'account_disconnected';
3388
+ is_connected_account_error: true;
3389
+ } | {
3390
+ message: string;
3391
+ is_device_error: false;
3392
+ created_at: string;
3393
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3394
+ error_code: 'salto_ks_subscription_limit_exceeded';
3395
+ is_connected_account_error: true;
3392
3396
  } | {
3393
3397
  message: string;
3394
3398
  is_device_error: true;
3399
+ created_at: string;
3395
3400
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3396
3401
  error_code: 'device_offline';
3397
3402
  } | {
3398
3403
  message: string;
3399
3404
  is_device_error: true;
3405
+ created_at: string;
3400
3406
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3401
3407
  error_code: 'device_removed';
3402
3408
  } | {
3403
3409
  message: string;
3404
3410
  is_device_error: true;
3411
+ created_at: string;
3405
3412
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3406
3413
  error_code: 'hub_disconnected';
3407
3414
  } | {
3408
3415
  message: string;
3409
3416
  is_device_error: true;
3417
+ created_at: string;
3410
3418
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3411
3419
  error_code: 'device_disconnected';
3412
3420
  } | {
3413
3421
  message: string;
3414
3422
  is_device_error: true;
3423
+ created_at: string;
3415
3424
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3416
3425
  error_code: 'empty_backup_access_code_pool';
3417
3426
  } | {
3418
3427
  message: string;
3419
3428
  is_device_error: true;
3429
+ created_at: string;
3420
3430
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3421
3431
  error_code: 'august_lock_not_authorized';
3422
3432
  } | {
3423
3433
  message: string;
3424
3434
  is_device_error: true;
3435
+ created_at: string;
3425
3436
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3426
3437
  error_code: 'august_lock_missing_bridge';
3427
3438
  } | {
3428
3439
  message: string;
3429
3440
  is_device_error: true;
3430
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3431
- error_code: 'salto_site_user_limit_reached';
3432
- } | {
3433
- message: string;
3434
- is_device_error: true;
3441
+ created_at: string;
3435
3442
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3436
3443
  error_code: 'ttlock_lock_not_paired_to_gateway';
3437
3444
  } | {
3438
3445
  message: string;
3439
3446
  is_device_error: true;
3447
+ created_at: string;
3440
3448
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3441
3449
  error_code: 'missing_device_credentials';
3442
3450
  } | {
3443
3451
  message: string;
3444
3452
  is_device_error: true;
3453
+ created_at: string;
3445
3454
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3446
3455
  error_code: 'auxiliary_heat_running';
3447
3456
  } | {
3448
3457
  message: string;
3449
3458
  is_device_error: true;
3450
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3451
- error_code: 'subscription_required';
3452
- } | {
3453
- /** Date and time at which Seam created the error. */
3454
3459
  created_at: string;
3455
- message: string;
3456
- is_connected_account_error: true;
3457
3460
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3458
- error_code: 'account_disconnected';
3461
+ error_code: 'subscription_required';
3459
3462
  } | {
3460
3463
  /** Date and time at which Seam created the error. */
3461
3464
  created_at: string;
@@ -3463,21 +3466,6 @@ export interface Routes {
3463
3466
  is_connected_account_error: true;
3464
3467
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3465
3468
  error_code: 'invalid_credentials';
3466
- } | {
3467
- /** Date and time at which Seam created the error. */
3468
- created_at: string;
3469
- message: string;
3470
- is_connected_account_error: true;
3471
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3472
- error_code: 'salto_ks_subscription_limit_exceeded';
3473
- salto_ks_metadata: {
3474
- sites: Array<{
3475
- site_id: string;
3476
- site_name: string;
3477
- subscribed_site_user_count: number;
3478
- site_user_subscription_limit: number;
3479
- }>;
3480
- };
3481
3469
  }>;
3482
3470
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
3483
3471
  warnings: Array<{
@@ -3676,73 +3664,86 @@ export interface Routes {
3676
3664
  is_access_code_error: true;
3677
3665
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3678
3666
  error_code: 'hubitat_no_free_positions_available';
3667
+ } | {
3668
+ message: string;
3669
+ is_device_error: false;
3670
+ created_at: string;
3671
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3672
+ error_code: 'account_disconnected';
3673
+ is_connected_account_error: true;
3674
+ } | {
3675
+ message: string;
3676
+ is_device_error: false;
3677
+ created_at: string;
3678
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3679
+ error_code: 'salto_ks_subscription_limit_exceeded';
3680
+ is_connected_account_error: true;
3679
3681
  } | {
3680
3682
  message: string;
3681
3683
  is_device_error: true;
3684
+ created_at: string;
3682
3685
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3683
3686
  error_code: 'device_offline';
3684
3687
  } | {
3685
3688
  message: string;
3686
3689
  is_device_error: true;
3690
+ created_at: string;
3687
3691
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3688
3692
  error_code: 'device_removed';
3689
3693
  } | {
3690
3694
  message: string;
3691
3695
  is_device_error: true;
3696
+ created_at: string;
3692
3697
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3693
3698
  error_code: 'hub_disconnected';
3694
3699
  } | {
3695
3700
  message: string;
3696
3701
  is_device_error: true;
3702
+ created_at: string;
3697
3703
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3698
3704
  error_code: 'device_disconnected';
3699
3705
  } | {
3700
3706
  message: string;
3701
3707
  is_device_error: true;
3708
+ created_at: string;
3702
3709
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3703
3710
  error_code: 'empty_backup_access_code_pool';
3704
3711
  } | {
3705
3712
  message: string;
3706
3713
  is_device_error: true;
3714
+ created_at: string;
3707
3715
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3708
3716
  error_code: 'august_lock_not_authorized';
3709
3717
  } | {
3710
3718
  message: string;
3711
3719
  is_device_error: true;
3720
+ created_at: string;
3712
3721
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3713
3722
  error_code: 'august_lock_missing_bridge';
3714
3723
  } | {
3715
3724
  message: string;
3716
3725
  is_device_error: true;
3717
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3718
- error_code: 'salto_site_user_limit_reached';
3719
- } | {
3720
- message: string;
3721
- is_device_error: true;
3726
+ created_at: string;
3722
3727
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3723
3728
  error_code: 'ttlock_lock_not_paired_to_gateway';
3724
3729
  } | {
3725
3730
  message: string;
3726
3731
  is_device_error: true;
3732
+ created_at: string;
3727
3733
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3728
3734
  error_code: 'missing_device_credentials';
3729
3735
  } | {
3730
3736
  message: string;
3731
3737
  is_device_error: true;
3738
+ created_at: string;
3732
3739
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3733
3740
  error_code: 'auxiliary_heat_running';
3734
3741
  } | {
3735
3742
  message: string;
3736
3743
  is_device_error: true;
3737
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3738
- error_code: 'subscription_required';
3739
- } | {
3740
- /** Date and time at which Seam created the error. */
3741
3744
  created_at: string;
3742
- message: string;
3743
- is_connected_account_error: true;
3744
3745
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3745
- error_code: 'account_disconnected';
3746
+ error_code: 'subscription_required';
3746
3747
  } | {
3747
3748
  /** Date and time at which Seam created the error. */
3748
3749
  created_at: string;
@@ -3750,21 +3751,6 @@ export interface Routes {
3750
3751
  is_connected_account_error: true;
3751
3752
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3752
3753
  error_code: 'invalid_credentials';
3753
- } | {
3754
- /** Date and time at which Seam created the error. */
3755
- created_at: string;
3756
- message: string;
3757
- is_connected_account_error: true;
3758
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3759
- error_code: 'salto_ks_subscription_limit_exceeded';
3760
- salto_ks_metadata: {
3761
- sites: Array<{
3762
- site_id: string;
3763
- site_name: string;
3764
- subscribed_site_user_count: number;
3765
- site_user_subscription_limit: number;
3766
- }>;
3767
- };
3768
3754
  }>;
3769
3755
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
3770
3756
  warnings: Array<{
@@ -4854,73 +4840,86 @@ export interface Routes {
4854
4840
  is_access_code_error: true;
4855
4841
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4856
4842
  error_code: 'hubitat_no_free_positions_available';
4843
+ } | {
4844
+ message: string;
4845
+ is_device_error: false;
4846
+ created_at: string;
4847
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4848
+ error_code: 'account_disconnected';
4849
+ is_connected_account_error: true;
4850
+ } | {
4851
+ message: string;
4852
+ is_device_error: false;
4853
+ created_at: string;
4854
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4855
+ error_code: 'salto_ks_subscription_limit_exceeded';
4856
+ is_connected_account_error: true;
4857
4857
  } | {
4858
4858
  message: string;
4859
4859
  is_device_error: true;
4860
+ created_at: string;
4860
4861
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4861
4862
  error_code: 'device_offline';
4862
4863
  } | {
4863
4864
  message: string;
4864
4865
  is_device_error: true;
4866
+ created_at: string;
4865
4867
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4866
4868
  error_code: 'device_removed';
4867
4869
  } | {
4868
4870
  message: string;
4869
4871
  is_device_error: true;
4872
+ created_at: string;
4870
4873
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4871
4874
  error_code: 'hub_disconnected';
4872
4875
  } | {
4873
4876
  message: string;
4874
4877
  is_device_error: true;
4878
+ created_at: string;
4875
4879
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4876
4880
  error_code: 'device_disconnected';
4877
4881
  } | {
4878
4882
  message: string;
4879
4883
  is_device_error: true;
4884
+ created_at: string;
4880
4885
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4881
4886
  error_code: 'empty_backup_access_code_pool';
4882
4887
  } | {
4883
4888
  message: string;
4884
4889
  is_device_error: true;
4890
+ created_at: string;
4885
4891
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4886
4892
  error_code: 'august_lock_not_authorized';
4887
4893
  } | {
4888
4894
  message: string;
4889
4895
  is_device_error: true;
4896
+ created_at: string;
4890
4897
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4891
4898
  error_code: 'august_lock_missing_bridge';
4892
4899
  } | {
4893
4900
  message: string;
4894
4901
  is_device_error: true;
4895
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4896
- error_code: 'salto_site_user_limit_reached';
4897
- } | {
4898
- message: string;
4899
- is_device_error: true;
4902
+ created_at: string;
4900
4903
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4901
4904
  error_code: 'ttlock_lock_not_paired_to_gateway';
4902
4905
  } | {
4903
4906
  message: string;
4904
4907
  is_device_error: true;
4908
+ created_at: string;
4905
4909
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4906
4910
  error_code: 'missing_device_credentials';
4907
4911
  } | {
4908
4912
  message: string;
4909
4913
  is_device_error: true;
4914
+ created_at: string;
4910
4915
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4911
4916
  error_code: 'auxiliary_heat_running';
4912
4917
  } | {
4913
4918
  message: string;
4914
4919
  is_device_error: true;
4915
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4916
- error_code: 'subscription_required';
4917
- } | {
4918
- /** Date and time at which Seam created the error. */
4919
4920
  created_at: string;
4920
- message: string;
4921
- is_connected_account_error: true;
4922
4921
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4923
- error_code: 'account_disconnected';
4922
+ error_code: 'subscription_required';
4924
4923
  } | {
4925
4924
  /** Date and time at which Seam created the error. */
4926
4925
  created_at: string;
@@ -4928,21 +4927,6 @@ export interface Routes {
4928
4927
  is_connected_account_error: true;
4929
4928
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4930
4929
  error_code: 'invalid_credentials';
4931
- } | {
4932
- /** Date and time at which Seam created the error. */
4933
- created_at: string;
4934
- message: string;
4935
- is_connected_account_error: true;
4936
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4937
- error_code: 'salto_ks_subscription_limit_exceeded';
4938
- salto_ks_metadata: {
4939
- sites: Array<{
4940
- site_id: string;
4941
- site_name: string;
4942
- subscribed_site_user_count: number;
4943
- site_user_subscription_limit: number;
4944
- }>;
4945
- };
4946
4930
  }>;
4947
4931
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
4948
4932
  warnings: Array<{
@@ -5123,73 +5107,86 @@ export interface Routes {
5123
5107
  is_access_code_error: true;
5124
5108
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5125
5109
  error_code: 'hubitat_no_free_positions_available';
5110
+ } | {
5111
+ message: string;
5112
+ is_device_error: false;
5113
+ created_at: string;
5114
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5115
+ error_code: 'account_disconnected';
5116
+ is_connected_account_error: true;
5117
+ } | {
5118
+ message: string;
5119
+ is_device_error: false;
5120
+ created_at: string;
5121
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5122
+ error_code: 'salto_ks_subscription_limit_exceeded';
5123
+ is_connected_account_error: true;
5126
5124
  } | {
5127
5125
  message: string;
5128
5126
  is_device_error: true;
5127
+ created_at: string;
5129
5128
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5130
5129
  error_code: 'device_offline';
5131
5130
  } | {
5132
5131
  message: string;
5133
5132
  is_device_error: true;
5133
+ created_at: string;
5134
5134
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5135
5135
  error_code: 'device_removed';
5136
5136
  } | {
5137
5137
  message: string;
5138
5138
  is_device_error: true;
5139
+ created_at: string;
5139
5140
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5140
5141
  error_code: 'hub_disconnected';
5141
5142
  } | {
5142
5143
  message: string;
5143
5144
  is_device_error: true;
5145
+ created_at: string;
5144
5146
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5145
5147
  error_code: 'device_disconnected';
5146
5148
  } | {
5147
5149
  message: string;
5148
5150
  is_device_error: true;
5151
+ created_at: string;
5149
5152
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5150
5153
  error_code: 'empty_backup_access_code_pool';
5151
5154
  } | {
5152
5155
  message: string;
5153
5156
  is_device_error: true;
5157
+ created_at: string;
5154
5158
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5155
5159
  error_code: 'august_lock_not_authorized';
5156
5160
  } | {
5157
5161
  message: string;
5158
5162
  is_device_error: true;
5163
+ created_at: string;
5159
5164
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5160
5165
  error_code: 'august_lock_missing_bridge';
5161
5166
  } | {
5162
5167
  message: string;
5163
5168
  is_device_error: true;
5164
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5165
- error_code: 'salto_site_user_limit_reached';
5166
- } | {
5167
- message: string;
5168
- is_device_error: true;
5169
+ created_at: string;
5169
5170
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5170
5171
  error_code: 'ttlock_lock_not_paired_to_gateway';
5171
5172
  } | {
5172
5173
  message: string;
5173
5174
  is_device_error: true;
5175
+ created_at: string;
5174
5176
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5175
5177
  error_code: 'missing_device_credentials';
5176
5178
  } | {
5177
5179
  message: string;
5178
5180
  is_device_error: true;
5181
+ created_at: string;
5179
5182
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5180
5183
  error_code: 'auxiliary_heat_running';
5181
5184
  } | {
5182
5185
  message: string;
5183
5186
  is_device_error: true;
5184
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5185
- error_code: 'subscription_required';
5186
- } | {
5187
- /** Date and time at which Seam created the error. */
5188
5187
  created_at: string;
5189
- message: string;
5190
- is_connected_account_error: true;
5191
5188
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5192
- error_code: 'account_disconnected';
5189
+ error_code: 'subscription_required';
5193
5190
  } | {
5194
5191
  /** Date and time at which Seam created the error. */
5195
5192
  created_at: string;
@@ -5197,21 +5194,6 @@ export interface Routes {
5197
5194
  is_connected_account_error: true;
5198
5195
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5199
5196
  error_code: 'invalid_credentials';
5200
- } | {
5201
- /** Date and time at which Seam created the error. */
5202
- created_at: string;
5203
- message: string;
5204
- is_connected_account_error: true;
5205
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5206
- error_code: 'salto_ks_subscription_limit_exceeded';
5207
- salto_ks_metadata: {
5208
- sites: Array<{
5209
- site_id: string;
5210
- site_name: string;
5211
- subscribed_site_user_count: number;
5212
- site_user_subscription_limit: number;
5213
- }>;
5214
- };
5215
5197
  }>;
5216
5198
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
5217
5199
  warnings: Array<{
@@ -14243,72 +14225,85 @@ export interface Routes {
14243
14225
  workspace_id: string;
14244
14226
  /** 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. */
14245
14227
  errors: Array<{
14228
+ message: string;
14229
+ is_device_error: false;
14230
+ created_at: string;
14231
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14232
+ error_code: 'account_disconnected';
14233
+ is_connected_account_error: true;
14234
+ } | {
14235
+ message: string;
14236
+ is_device_error: false;
14237
+ created_at: string;
14238
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14239
+ error_code: 'salto_ks_subscription_limit_exceeded';
14240
+ is_connected_account_error: true;
14241
+ } | {
14246
14242
  message: string;
14247
14243
  is_device_error: true;
14244
+ created_at: string;
14248
14245
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14249
14246
  error_code: 'device_offline';
14250
14247
  } | {
14251
14248
  message: string;
14252
14249
  is_device_error: true;
14250
+ created_at: string;
14253
14251
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14254
14252
  error_code: 'device_removed';
14255
14253
  } | {
14256
14254
  message: string;
14257
14255
  is_device_error: true;
14256
+ created_at: string;
14258
14257
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14259
14258
  error_code: 'hub_disconnected';
14260
14259
  } | {
14261
14260
  message: string;
14262
14261
  is_device_error: true;
14262
+ created_at: string;
14263
14263
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14264
14264
  error_code: 'device_disconnected';
14265
14265
  } | {
14266
14266
  message: string;
14267
14267
  is_device_error: true;
14268
+ created_at: string;
14268
14269
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14269
14270
  error_code: 'empty_backup_access_code_pool';
14270
14271
  } | {
14271
14272
  message: string;
14272
14273
  is_device_error: true;
14274
+ created_at: string;
14273
14275
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14274
14276
  error_code: 'august_lock_not_authorized';
14275
14277
  } | {
14276
14278
  message: string;
14277
14279
  is_device_error: true;
14280
+ created_at: string;
14278
14281
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14279
14282
  error_code: 'august_lock_missing_bridge';
14280
14283
  } | {
14281
14284
  message: string;
14282
14285
  is_device_error: true;
14283
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14284
- error_code: 'salto_site_user_limit_reached';
14285
- } | {
14286
- message: string;
14287
- is_device_error: true;
14286
+ created_at: string;
14288
14287
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14289
14288
  error_code: 'ttlock_lock_not_paired_to_gateway';
14290
14289
  } | {
14291
14290
  message: string;
14292
14291
  is_device_error: true;
14292
+ created_at: string;
14293
14293
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14294
14294
  error_code: 'missing_device_credentials';
14295
14295
  } | {
14296
14296
  message: string;
14297
14297
  is_device_error: true;
14298
+ created_at: string;
14298
14299
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14299
14300
  error_code: 'auxiliary_heat_running';
14300
14301
  } | {
14301
14302
  message: string;
14302
14303
  is_device_error: true;
14303
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14304
- error_code: 'subscription_required';
14305
- } | {
14306
- /** Date and time at which Seam created the error. */
14307
14304
  created_at: string;
14308
- message: string;
14309
- is_connected_account_error: true;
14310
14305
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14311
- error_code: 'account_disconnected';
14306
+ error_code: 'subscription_required';
14312
14307
  } | {
14313
14308
  /** Date and time at which Seam created the error. */
14314
14309
  created_at: string;
@@ -14316,85 +14311,86 @@ export interface Routes {
14316
14311
  is_connected_account_error: true;
14317
14312
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14318
14313
  error_code: 'invalid_credentials';
14319
- } | {
14320
- /** Date and time at which Seam created the error. */
14321
- created_at: string;
14322
- message: string;
14323
- is_connected_account_error: true;
14324
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14325
- error_code: 'salto_ks_subscription_limit_exceeded';
14326
- salto_ks_metadata: {
14327
- sites: Array<{
14328
- site_id: string;
14329
- site_name: string;
14330
- subscribed_site_user_count: number;
14331
- site_user_subscription_limit: number;
14332
- }>;
14333
- };
14334
14314
  }>;
14335
14315
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
14336
14316
  warnings: Array<{
14337
14317
  message: string;
14318
+ created_at: string;
14338
14319
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14339
14320
  warning_code: 'partial_backup_access_code_pool';
14340
14321
  } | {
14341
14322
  message: string;
14323
+ created_at: string;
14342
14324
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14343
14325
  warning_code: 'many_active_backup_codes';
14344
14326
  } | {
14345
14327
  message: string;
14328
+ created_at: string;
14346
14329
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14347
14330
  warning_code: 'salto_unknown_device_type';
14348
14331
  } | {
14349
14332
  message: string;
14333
+ created_at: string;
14350
14334
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14351
14335
  warning_code: 'wyze_device_missing_gateway';
14352
14336
  } | {
14353
14337
  message: string;
14338
+ created_at: string;
14354
14339
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14355
14340
  warning_code: 'functional_offline_device';
14356
14341
  } | {
14357
14342
  message: string;
14343
+ created_at: string;
14358
14344
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14359
14345
  warning_code: 'third_party_integration_detected';
14360
14346
  } | {
14361
14347
  message: string;
14348
+ created_at: string;
14362
14349
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14363
14350
  warning_code: 'nest_thermostat_in_manual_eco_mode';
14364
14351
  } | {
14365
14352
  message: string;
14353
+ created_at: string;
14366
14354
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14367
14355
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
14368
14356
  } | {
14369
14357
  message: string;
14358
+ created_at: string;
14370
14359
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14371
14360
  warning_code: 'ttlock_weak_gateway_signal';
14372
14361
  } | {
14373
14362
  message: string;
14363
+ created_at: string;
14374
14364
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14375
14365
  warning_code: 'temperature_threshold_exceeded';
14376
14366
  } | {
14377
14367
  message: string;
14368
+ created_at: string;
14378
14369
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14379
14370
  warning_code: 'device_communication_degraded';
14380
14371
  } | {
14381
14372
  message: string;
14373
+ created_at: string;
14382
14374
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14383
14375
  warning_code: 'scheduled_maintenance_window';
14384
14376
  } | {
14385
14377
  message: string;
14378
+ created_at: string;
14386
14379
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14387
14380
  warning_code: 'device_has_flaky_connection';
14388
14381
  } | {
14389
14382
  message: string;
14383
+ created_at: string;
14390
14384
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14391
14385
  warning_code: 'salto_office_mode';
14392
14386
  } | {
14393
14387
  message: string;
14388
+ created_at: string;
14394
14389
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14395
14390
  warning_code: 'salto_privacy_mode';
14396
14391
  } | {
14397
14392
  message: string;
14393
+ created_at: string;
14398
14394
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
14399
14395
  warning_code: 'unknown_issue_with_phone';
14400
14396
  }>;
@@ -14954,72 +14950,85 @@ export interface Routes {
14954
14950
  workspace_id: string;
14955
14951
  /** 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. */
14956
14952
  errors: Array<{
14953
+ message: string;
14954
+ is_device_error: false;
14955
+ created_at: string;
14956
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14957
+ error_code: 'account_disconnected';
14958
+ is_connected_account_error: true;
14959
+ } | {
14960
+ message: string;
14961
+ is_device_error: false;
14962
+ created_at: string;
14963
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14964
+ error_code: 'salto_ks_subscription_limit_exceeded';
14965
+ is_connected_account_error: true;
14966
+ } | {
14957
14967
  message: string;
14958
14968
  is_device_error: true;
14969
+ created_at: string;
14959
14970
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14960
14971
  error_code: 'device_offline';
14961
14972
  } | {
14962
14973
  message: string;
14963
14974
  is_device_error: true;
14975
+ created_at: string;
14964
14976
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14965
14977
  error_code: 'device_removed';
14966
14978
  } | {
14967
14979
  message: string;
14968
14980
  is_device_error: true;
14981
+ created_at: string;
14969
14982
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14970
14983
  error_code: 'hub_disconnected';
14971
14984
  } | {
14972
14985
  message: string;
14973
14986
  is_device_error: true;
14987
+ created_at: string;
14974
14988
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14975
14989
  error_code: 'device_disconnected';
14976
14990
  } | {
14977
14991
  message: string;
14978
14992
  is_device_error: true;
14993
+ created_at: string;
14979
14994
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14980
14995
  error_code: 'empty_backup_access_code_pool';
14981
14996
  } | {
14982
14997
  message: string;
14983
14998
  is_device_error: true;
14999
+ created_at: string;
14984
15000
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14985
15001
  error_code: 'august_lock_not_authorized';
14986
15002
  } | {
14987
15003
  message: string;
14988
15004
  is_device_error: true;
15005
+ created_at: string;
14989
15006
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14990
15007
  error_code: 'august_lock_missing_bridge';
14991
15008
  } | {
14992
15009
  message: string;
14993
15010
  is_device_error: true;
14994
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14995
- error_code: 'salto_site_user_limit_reached';
14996
- } | {
14997
- message: string;
14998
- is_device_error: true;
15011
+ created_at: string;
14999
15012
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15000
15013
  error_code: 'ttlock_lock_not_paired_to_gateway';
15001
15014
  } | {
15002
15015
  message: string;
15003
15016
  is_device_error: true;
15017
+ created_at: string;
15004
15018
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15005
15019
  error_code: 'missing_device_credentials';
15006
15020
  } | {
15007
15021
  message: string;
15008
15022
  is_device_error: true;
15023
+ created_at: string;
15009
15024
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15010
15025
  error_code: 'auxiliary_heat_running';
15011
15026
  } | {
15012
15027
  message: string;
15013
15028
  is_device_error: true;
15014
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15015
- error_code: 'subscription_required';
15016
- } | {
15017
- /** Date and time at which Seam created the error. */
15018
15029
  created_at: string;
15019
- message: string;
15020
- is_connected_account_error: true;
15021
15030
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15022
- error_code: 'account_disconnected';
15031
+ error_code: 'subscription_required';
15023
15032
  } | {
15024
15033
  /** Date and time at which Seam created the error. */
15025
15034
  created_at: string;
@@ -15027,85 +15036,86 @@ export interface Routes {
15027
15036
  is_connected_account_error: true;
15028
15037
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15029
15038
  error_code: 'invalid_credentials';
15030
- } | {
15031
- /** Date and time at which Seam created the error. */
15032
- created_at: string;
15033
- message: string;
15034
- is_connected_account_error: true;
15035
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15036
- error_code: 'salto_ks_subscription_limit_exceeded';
15037
- salto_ks_metadata: {
15038
- sites: Array<{
15039
- site_id: string;
15040
- site_name: string;
15041
- subscribed_site_user_count: number;
15042
- site_user_subscription_limit: number;
15043
- }>;
15044
- };
15045
15039
  }>;
15046
15040
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
15047
15041
  warnings: Array<{
15048
15042
  message: string;
15043
+ created_at: string;
15049
15044
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15050
15045
  warning_code: 'partial_backup_access_code_pool';
15051
15046
  } | {
15052
15047
  message: string;
15048
+ created_at: string;
15053
15049
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15054
15050
  warning_code: 'many_active_backup_codes';
15055
15051
  } | {
15056
15052
  message: string;
15053
+ created_at: string;
15057
15054
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15058
15055
  warning_code: 'salto_unknown_device_type';
15059
15056
  } | {
15060
15057
  message: string;
15058
+ created_at: string;
15061
15059
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15062
15060
  warning_code: 'wyze_device_missing_gateway';
15063
15061
  } | {
15064
15062
  message: string;
15063
+ created_at: string;
15065
15064
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15066
15065
  warning_code: 'functional_offline_device';
15067
15066
  } | {
15068
15067
  message: string;
15068
+ created_at: string;
15069
15069
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15070
15070
  warning_code: 'third_party_integration_detected';
15071
15071
  } | {
15072
15072
  message: string;
15073
+ created_at: string;
15073
15074
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15074
15075
  warning_code: 'nest_thermostat_in_manual_eco_mode';
15075
15076
  } | {
15076
15077
  message: string;
15078
+ created_at: string;
15077
15079
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15078
15080
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
15079
15081
  } | {
15080
15082
  message: string;
15083
+ created_at: string;
15081
15084
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15082
15085
  warning_code: 'ttlock_weak_gateway_signal';
15083
15086
  } | {
15084
15087
  message: string;
15088
+ created_at: string;
15085
15089
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15086
15090
  warning_code: 'temperature_threshold_exceeded';
15087
15091
  } | {
15088
15092
  message: string;
15093
+ created_at: string;
15089
15094
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15090
15095
  warning_code: 'device_communication_degraded';
15091
15096
  } | {
15092
15097
  message: string;
15098
+ created_at: string;
15093
15099
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15094
15100
  warning_code: 'scheduled_maintenance_window';
15095
15101
  } | {
15096
15102
  message: string;
15103
+ created_at: string;
15097
15104
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15098
15105
  warning_code: 'device_has_flaky_connection';
15099
15106
  } | {
15100
15107
  message: string;
15108
+ created_at: string;
15101
15109
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15102
15110
  warning_code: 'salto_office_mode';
15103
15111
  } | {
15104
15112
  message: string;
15113
+ created_at: string;
15105
15114
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15106
15115
  warning_code: 'salto_privacy_mode';
15107
15116
  } | {
15108
15117
  message: string;
15118
+ created_at: string;
15109
15119
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15110
15120
  warning_code: 'unknown_issue_with_phone';
15111
15121
  }>;
@@ -15222,72 +15232,85 @@ export interface Routes {
15222
15232
  workspace_id: string;
15223
15233
  /** 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. */
15224
15234
  errors: Array<{
15235
+ message: string;
15236
+ is_device_error: false;
15237
+ created_at: string;
15238
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15239
+ error_code: 'account_disconnected';
15240
+ is_connected_account_error: true;
15241
+ } | {
15242
+ message: string;
15243
+ is_device_error: false;
15244
+ created_at: string;
15245
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15246
+ error_code: 'salto_ks_subscription_limit_exceeded';
15247
+ is_connected_account_error: true;
15248
+ } | {
15225
15249
  message: string;
15226
15250
  is_device_error: true;
15251
+ created_at: string;
15227
15252
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15228
15253
  error_code: 'device_offline';
15229
15254
  } | {
15230
15255
  message: string;
15231
15256
  is_device_error: true;
15257
+ created_at: string;
15232
15258
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15233
15259
  error_code: 'device_removed';
15234
15260
  } | {
15235
15261
  message: string;
15236
15262
  is_device_error: true;
15263
+ created_at: string;
15237
15264
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15238
15265
  error_code: 'hub_disconnected';
15239
15266
  } | {
15240
15267
  message: string;
15241
15268
  is_device_error: true;
15269
+ created_at: string;
15242
15270
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15243
15271
  error_code: 'device_disconnected';
15244
15272
  } | {
15245
15273
  message: string;
15246
15274
  is_device_error: true;
15275
+ created_at: string;
15247
15276
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15248
15277
  error_code: 'empty_backup_access_code_pool';
15249
15278
  } | {
15250
15279
  message: string;
15251
15280
  is_device_error: true;
15281
+ created_at: string;
15252
15282
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15253
15283
  error_code: 'august_lock_not_authorized';
15254
15284
  } | {
15255
15285
  message: string;
15256
15286
  is_device_error: true;
15287
+ created_at: string;
15257
15288
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15258
15289
  error_code: 'august_lock_missing_bridge';
15259
15290
  } | {
15260
15291
  message: string;
15261
15292
  is_device_error: true;
15262
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15263
- error_code: 'salto_site_user_limit_reached';
15264
- } | {
15265
- message: string;
15266
- is_device_error: true;
15293
+ created_at: string;
15267
15294
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15268
15295
  error_code: 'ttlock_lock_not_paired_to_gateway';
15269
15296
  } | {
15270
15297
  message: string;
15271
15298
  is_device_error: true;
15299
+ created_at: string;
15272
15300
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15273
15301
  error_code: 'missing_device_credentials';
15274
15302
  } | {
15275
15303
  message: string;
15276
15304
  is_device_error: true;
15305
+ created_at: string;
15277
15306
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15278
15307
  error_code: 'auxiliary_heat_running';
15279
15308
  } | {
15280
15309
  message: string;
15281
15310
  is_device_error: true;
15282
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15283
- error_code: 'subscription_required';
15284
- } | {
15285
- /** Date and time at which Seam created the error. */
15286
15311
  created_at: string;
15287
- message: string;
15288
- is_connected_account_error: true;
15289
15312
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15290
- error_code: 'account_disconnected';
15313
+ error_code: 'subscription_required';
15291
15314
  } | {
15292
15315
  /** Date and time at which Seam created the error. */
15293
15316
  created_at: string;
@@ -15295,85 +15318,86 @@ export interface Routes {
15295
15318
  is_connected_account_error: true;
15296
15319
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15297
15320
  error_code: 'invalid_credentials';
15298
- } | {
15299
- /** Date and time at which Seam created the error. */
15300
- created_at: string;
15301
- message: string;
15302
- is_connected_account_error: true;
15303
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15304
- error_code: 'salto_ks_subscription_limit_exceeded';
15305
- salto_ks_metadata: {
15306
- sites: Array<{
15307
- site_id: string;
15308
- site_name: string;
15309
- subscribed_site_user_count: number;
15310
- site_user_subscription_limit: number;
15311
- }>;
15312
- };
15313
15321
  }>;
15314
15322
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
15315
15323
  warnings: Array<{
15316
15324
  message: string;
15325
+ created_at: string;
15317
15326
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15318
15327
  warning_code: 'partial_backup_access_code_pool';
15319
15328
  } | {
15320
15329
  message: string;
15330
+ created_at: string;
15321
15331
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15322
15332
  warning_code: 'many_active_backup_codes';
15323
15333
  } | {
15324
15334
  message: string;
15335
+ created_at: string;
15325
15336
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15326
15337
  warning_code: 'salto_unknown_device_type';
15327
15338
  } | {
15328
15339
  message: string;
15340
+ created_at: string;
15329
15341
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15330
15342
  warning_code: 'wyze_device_missing_gateway';
15331
15343
  } | {
15332
15344
  message: string;
15345
+ created_at: string;
15333
15346
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15334
15347
  warning_code: 'functional_offline_device';
15335
15348
  } | {
15336
15349
  message: string;
15350
+ created_at: string;
15337
15351
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15338
15352
  warning_code: 'third_party_integration_detected';
15339
15353
  } | {
15340
15354
  message: string;
15355
+ created_at: string;
15341
15356
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15342
15357
  warning_code: 'nest_thermostat_in_manual_eco_mode';
15343
15358
  } | {
15344
15359
  message: string;
15360
+ created_at: string;
15345
15361
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15346
15362
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
15347
15363
  } | {
15348
15364
  message: string;
15365
+ created_at: string;
15349
15366
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15350
15367
  warning_code: 'ttlock_weak_gateway_signal';
15351
15368
  } | {
15352
15369
  message: string;
15370
+ created_at: string;
15353
15371
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15354
15372
  warning_code: 'temperature_threshold_exceeded';
15355
15373
  } | {
15356
15374
  message: string;
15375
+ created_at: string;
15357
15376
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15358
15377
  warning_code: 'device_communication_degraded';
15359
15378
  } | {
15360
15379
  message: string;
15380
+ created_at: string;
15361
15381
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15362
15382
  warning_code: 'scheduled_maintenance_window';
15363
15383
  } | {
15364
15384
  message: string;
15385
+ created_at: string;
15365
15386
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15366
15387
  warning_code: 'device_has_flaky_connection';
15367
15388
  } | {
15368
15389
  message: string;
15390
+ created_at: string;
15369
15391
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15370
15392
  warning_code: 'salto_office_mode';
15371
15393
  } | {
15372
15394
  message: string;
15395
+ created_at: string;
15373
15396
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15374
15397
  warning_code: 'salto_privacy_mode';
15375
15398
  } | {
15376
15399
  message: string;
15400
+ created_at: string;
15377
15401
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15378
15402
  warning_code: 'unknown_issue_with_phone';
15379
15403
  }>;
@@ -15499,72 +15523,85 @@ export interface Routes {
15499
15523
  workspace_id: string;
15500
15524
  /** 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. */
15501
15525
  errors: Array<{
15526
+ message: string;
15527
+ is_device_error: false;
15528
+ created_at: string;
15529
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15530
+ error_code: 'account_disconnected';
15531
+ is_connected_account_error: true;
15532
+ } | {
15533
+ message: string;
15534
+ is_device_error: false;
15535
+ created_at: string;
15536
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15537
+ error_code: 'salto_ks_subscription_limit_exceeded';
15538
+ is_connected_account_error: true;
15539
+ } | {
15502
15540
  message: string;
15503
15541
  is_device_error: true;
15542
+ created_at: string;
15504
15543
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15505
15544
  error_code: 'device_offline';
15506
15545
  } | {
15507
15546
  message: string;
15508
15547
  is_device_error: true;
15548
+ created_at: string;
15509
15549
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15510
15550
  error_code: 'device_removed';
15511
15551
  } | {
15512
15552
  message: string;
15513
15553
  is_device_error: true;
15554
+ created_at: string;
15514
15555
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15515
15556
  error_code: 'hub_disconnected';
15516
15557
  } | {
15517
15558
  message: string;
15518
15559
  is_device_error: true;
15560
+ created_at: string;
15519
15561
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15520
15562
  error_code: 'device_disconnected';
15521
15563
  } | {
15522
15564
  message: string;
15523
15565
  is_device_error: true;
15566
+ created_at: string;
15524
15567
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15525
15568
  error_code: 'empty_backup_access_code_pool';
15526
15569
  } | {
15527
15570
  message: string;
15528
15571
  is_device_error: true;
15572
+ created_at: string;
15529
15573
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15530
15574
  error_code: 'august_lock_not_authorized';
15531
15575
  } | {
15532
15576
  message: string;
15533
15577
  is_device_error: true;
15578
+ created_at: string;
15534
15579
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15535
15580
  error_code: 'august_lock_missing_bridge';
15536
15581
  } | {
15537
15582
  message: string;
15538
15583
  is_device_error: true;
15539
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15540
- error_code: 'salto_site_user_limit_reached';
15541
- } | {
15542
- message: string;
15543
- is_device_error: true;
15584
+ created_at: string;
15544
15585
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15545
15586
  error_code: 'ttlock_lock_not_paired_to_gateway';
15546
15587
  } | {
15547
15588
  message: string;
15548
15589
  is_device_error: true;
15590
+ created_at: string;
15549
15591
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15550
15592
  error_code: 'missing_device_credentials';
15551
15593
  } | {
15552
15594
  message: string;
15553
15595
  is_device_error: true;
15596
+ created_at: string;
15554
15597
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15555
15598
  error_code: 'auxiliary_heat_running';
15556
15599
  } | {
15557
15600
  message: string;
15558
15601
  is_device_error: true;
15559
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15560
- error_code: 'subscription_required';
15561
- } | {
15562
- /** Date and time at which Seam created the error. */
15563
15602
  created_at: string;
15564
- message: string;
15565
- is_connected_account_error: true;
15566
15603
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15567
- error_code: 'account_disconnected';
15604
+ error_code: 'subscription_required';
15568
15605
  } | {
15569
15606
  /** Date and time at which Seam created the error. */
15570
15607
  created_at: string;
@@ -15572,85 +15609,86 @@ export interface Routes {
15572
15609
  is_connected_account_error: true;
15573
15610
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15574
15611
  error_code: 'invalid_credentials';
15575
- } | {
15576
- /** Date and time at which Seam created the error. */
15577
- created_at: string;
15578
- message: string;
15579
- is_connected_account_error: true;
15580
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15581
- error_code: 'salto_ks_subscription_limit_exceeded';
15582
- salto_ks_metadata: {
15583
- sites: Array<{
15584
- site_id: string;
15585
- site_name: string;
15586
- subscribed_site_user_count: number;
15587
- site_user_subscription_limit: number;
15588
- }>;
15589
- };
15590
15612
  }>;
15591
15613
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
15592
15614
  warnings: Array<{
15593
15615
  message: string;
15616
+ created_at: string;
15594
15617
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15595
15618
  warning_code: 'partial_backup_access_code_pool';
15596
15619
  } | {
15597
15620
  message: string;
15621
+ created_at: string;
15598
15622
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15599
15623
  warning_code: 'many_active_backup_codes';
15600
15624
  } | {
15601
15625
  message: string;
15626
+ created_at: string;
15602
15627
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15603
15628
  warning_code: 'salto_unknown_device_type';
15604
15629
  } | {
15605
15630
  message: string;
15631
+ created_at: string;
15606
15632
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15607
15633
  warning_code: 'wyze_device_missing_gateway';
15608
15634
  } | {
15609
15635
  message: string;
15636
+ created_at: string;
15610
15637
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15611
15638
  warning_code: 'functional_offline_device';
15612
15639
  } | {
15613
15640
  message: string;
15641
+ created_at: string;
15614
15642
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15615
15643
  warning_code: 'third_party_integration_detected';
15616
15644
  } | {
15617
15645
  message: string;
15646
+ created_at: string;
15618
15647
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15619
15648
  warning_code: 'nest_thermostat_in_manual_eco_mode';
15620
15649
  } | {
15621
15650
  message: string;
15651
+ created_at: string;
15622
15652
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15623
15653
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
15624
15654
  } | {
15625
15655
  message: string;
15656
+ created_at: string;
15626
15657
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15627
15658
  warning_code: 'ttlock_weak_gateway_signal';
15628
15659
  } | {
15629
15660
  message: string;
15661
+ created_at: string;
15630
15662
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15631
15663
  warning_code: 'temperature_threshold_exceeded';
15632
15664
  } | {
15633
15665
  message: string;
15666
+ created_at: string;
15634
15667
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15635
15668
  warning_code: 'device_communication_degraded';
15636
15669
  } | {
15637
15670
  message: string;
15671
+ created_at: string;
15638
15672
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15639
15673
  warning_code: 'scheduled_maintenance_window';
15640
15674
  } | {
15641
15675
  message: string;
15676
+ created_at: string;
15642
15677
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15643
15678
  warning_code: 'device_has_flaky_connection';
15644
15679
  } | {
15645
15680
  message: string;
15681
+ created_at: string;
15646
15682
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15647
15683
  warning_code: 'salto_office_mode';
15648
15684
  } | {
15649
15685
  message: string;
15686
+ created_at: string;
15650
15687
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15651
15688
  warning_code: 'salto_privacy_mode';
15652
15689
  } | {
15653
15690
  message: string;
15691
+ created_at: string;
15654
15692
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15655
15693
  warning_code: 'unknown_issue_with_phone';
15656
15694
  }>;
@@ -18708,72 +18746,85 @@ export interface Routes {
18708
18746
  workspace_id: string;
18709
18747
  /** 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. */
18710
18748
  errors: Array<{
18749
+ message: string;
18750
+ is_device_error: false;
18751
+ created_at: string;
18752
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18753
+ error_code: 'account_disconnected';
18754
+ is_connected_account_error: true;
18755
+ } | {
18756
+ message: string;
18757
+ is_device_error: false;
18758
+ created_at: string;
18759
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18760
+ error_code: 'salto_ks_subscription_limit_exceeded';
18761
+ is_connected_account_error: true;
18762
+ } | {
18711
18763
  message: string;
18712
18764
  is_device_error: true;
18765
+ created_at: string;
18713
18766
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18714
18767
  error_code: 'device_offline';
18715
18768
  } | {
18716
18769
  message: string;
18717
18770
  is_device_error: true;
18771
+ created_at: string;
18718
18772
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18719
18773
  error_code: 'device_removed';
18720
18774
  } | {
18721
18775
  message: string;
18722
18776
  is_device_error: true;
18777
+ created_at: string;
18723
18778
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18724
18779
  error_code: 'hub_disconnected';
18725
18780
  } | {
18726
18781
  message: string;
18727
18782
  is_device_error: true;
18783
+ created_at: string;
18728
18784
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18729
18785
  error_code: 'device_disconnected';
18730
18786
  } | {
18731
18787
  message: string;
18732
18788
  is_device_error: true;
18789
+ created_at: string;
18733
18790
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18734
18791
  error_code: 'empty_backup_access_code_pool';
18735
18792
  } | {
18736
18793
  message: string;
18737
18794
  is_device_error: true;
18795
+ created_at: string;
18738
18796
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18739
18797
  error_code: 'august_lock_not_authorized';
18740
18798
  } | {
18741
18799
  message: string;
18742
18800
  is_device_error: true;
18801
+ created_at: string;
18743
18802
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18744
18803
  error_code: 'august_lock_missing_bridge';
18745
18804
  } | {
18746
18805
  message: string;
18747
18806
  is_device_error: true;
18748
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18749
- error_code: 'salto_site_user_limit_reached';
18750
- } | {
18751
- message: string;
18752
- is_device_error: true;
18807
+ created_at: string;
18753
18808
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18754
18809
  error_code: 'ttlock_lock_not_paired_to_gateway';
18755
18810
  } | {
18756
18811
  message: string;
18757
18812
  is_device_error: true;
18813
+ created_at: string;
18758
18814
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18759
18815
  error_code: 'missing_device_credentials';
18760
18816
  } | {
18761
18817
  message: string;
18762
18818
  is_device_error: true;
18819
+ created_at: string;
18763
18820
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18764
18821
  error_code: 'auxiliary_heat_running';
18765
18822
  } | {
18766
18823
  message: string;
18767
18824
  is_device_error: true;
18768
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18769
- error_code: 'subscription_required';
18770
- } | {
18771
- /** Date and time at which Seam created the error. */
18772
18825
  created_at: string;
18773
- message: string;
18774
- is_connected_account_error: true;
18775
18826
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18776
- error_code: 'account_disconnected';
18827
+ error_code: 'subscription_required';
18777
18828
  } | {
18778
18829
  /** Date and time at which Seam created the error. */
18779
18830
  created_at: string;
@@ -18781,85 +18832,86 @@ export interface Routes {
18781
18832
  is_connected_account_error: true;
18782
18833
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18783
18834
  error_code: 'invalid_credentials';
18784
- } | {
18785
- /** Date and time at which Seam created the error. */
18786
- created_at: string;
18787
- message: string;
18788
- is_connected_account_error: true;
18789
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18790
- error_code: 'salto_ks_subscription_limit_exceeded';
18791
- salto_ks_metadata: {
18792
- sites: Array<{
18793
- site_id: string;
18794
- site_name: string;
18795
- subscribed_site_user_count: number;
18796
- site_user_subscription_limit: number;
18797
- }>;
18798
- };
18799
18835
  }>;
18800
18836
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
18801
18837
  warnings: Array<{
18802
18838
  message: string;
18839
+ created_at: string;
18803
18840
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18804
18841
  warning_code: 'partial_backup_access_code_pool';
18805
18842
  } | {
18806
18843
  message: string;
18844
+ created_at: string;
18807
18845
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18808
18846
  warning_code: 'many_active_backup_codes';
18809
18847
  } | {
18810
18848
  message: string;
18849
+ created_at: string;
18811
18850
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18812
18851
  warning_code: 'salto_unknown_device_type';
18813
18852
  } | {
18814
18853
  message: string;
18854
+ created_at: string;
18815
18855
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18816
18856
  warning_code: 'wyze_device_missing_gateway';
18817
18857
  } | {
18818
18858
  message: string;
18859
+ created_at: string;
18819
18860
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18820
18861
  warning_code: 'functional_offline_device';
18821
18862
  } | {
18822
18863
  message: string;
18864
+ created_at: string;
18823
18865
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18824
18866
  warning_code: 'third_party_integration_detected';
18825
18867
  } | {
18826
18868
  message: string;
18869
+ created_at: string;
18827
18870
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18828
18871
  warning_code: 'nest_thermostat_in_manual_eco_mode';
18829
18872
  } | {
18830
18873
  message: string;
18874
+ created_at: string;
18831
18875
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18832
18876
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
18833
18877
  } | {
18834
18878
  message: string;
18879
+ created_at: string;
18835
18880
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18836
18881
  warning_code: 'ttlock_weak_gateway_signal';
18837
18882
  } | {
18838
18883
  message: string;
18884
+ created_at: string;
18839
18885
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18840
18886
  warning_code: 'temperature_threshold_exceeded';
18841
18887
  } | {
18842
18888
  message: string;
18889
+ created_at: string;
18843
18890
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18844
18891
  warning_code: 'device_communication_degraded';
18845
18892
  } | {
18846
18893
  message: string;
18894
+ created_at: string;
18847
18895
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18848
18896
  warning_code: 'scheduled_maintenance_window';
18849
18897
  } | {
18850
18898
  message: string;
18899
+ created_at: string;
18851
18900
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18852
18901
  warning_code: 'device_has_flaky_connection';
18853
18902
  } | {
18854
18903
  message: string;
18904
+ created_at: string;
18855
18905
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18856
18906
  warning_code: 'salto_office_mode';
18857
18907
  } | {
18858
18908
  message: string;
18909
+ created_at: string;
18859
18910
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18860
18911
  warning_code: 'salto_privacy_mode';
18861
18912
  } | {
18862
18913
  message: string;
18914
+ created_at: string;
18863
18915
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18864
18916
  warning_code: 'unknown_issue_with_phone';
18865
18917
  }>;
@@ -19383,72 +19435,85 @@ export interface Routes {
19383
19435
  workspace_id: string;
19384
19436
  /** 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. */
19385
19437
  errors: Array<{
19438
+ message: string;
19439
+ is_device_error: false;
19440
+ created_at: string;
19441
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19442
+ error_code: 'account_disconnected';
19443
+ is_connected_account_error: true;
19444
+ } | {
19445
+ message: string;
19446
+ is_device_error: false;
19447
+ created_at: string;
19448
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19449
+ error_code: 'salto_ks_subscription_limit_exceeded';
19450
+ is_connected_account_error: true;
19451
+ } | {
19386
19452
  message: string;
19387
19453
  is_device_error: true;
19454
+ created_at: string;
19388
19455
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19389
19456
  error_code: 'device_offline';
19390
19457
  } | {
19391
19458
  message: string;
19392
19459
  is_device_error: true;
19460
+ created_at: string;
19393
19461
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19394
19462
  error_code: 'device_removed';
19395
19463
  } | {
19396
19464
  message: string;
19397
19465
  is_device_error: true;
19466
+ created_at: string;
19398
19467
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19399
19468
  error_code: 'hub_disconnected';
19400
19469
  } | {
19401
19470
  message: string;
19402
19471
  is_device_error: true;
19472
+ created_at: string;
19403
19473
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19404
19474
  error_code: 'device_disconnected';
19405
19475
  } | {
19406
19476
  message: string;
19407
19477
  is_device_error: true;
19478
+ created_at: string;
19408
19479
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19409
19480
  error_code: 'empty_backup_access_code_pool';
19410
19481
  } | {
19411
19482
  message: string;
19412
19483
  is_device_error: true;
19484
+ created_at: string;
19413
19485
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19414
19486
  error_code: 'august_lock_not_authorized';
19415
19487
  } | {
19416
19488
  message: string;
19417
19489
  is_device_error: true;
19490
+ created_at: string;
19418
19491
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19419
19492
  error_code: 'august_lock_missing_bridge';
19420
19493
  } | {
19421
19494
  message: string;
19422
19495
  is_device_error: true;
19423
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19424
- error_code: 'salto_site_user_limit_reached';
19425
- } | {
19426
- message: string;
19427
- is_device_error: true;
19496
+ created_at: string;
19428
19497
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19429
19498
  error_code: 'ttlock_lock_not_paired_to_gateway';
19430
19499
  } | {
19431
19500
  message: string;
19432
19501
  is_device_error: true;
19502
+ created_at: string;
19433
19503
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19434
19504
  error_code: 'missing_device_credentials';
19435
19505
  } | {
19436
19506
  message: string;
19437
19507
  is_device_error: true;
19508
+ created_at: string;
19438
19509
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19439
19510
  error_code: 'auxiliary_heat_running';
19440
19511
  } | {
19441
19512
  message: string;
19442
19513
  is_device_error: true;
19443
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19444
- error_code: 'subscription_required';
19445
- } | {
19446
- /** Date and time at which Seam created the error. */
19447
19514
  created_at: string;
19448
- message: string;
19449
- is_connected_account_error: true;
19450
19515
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19451
- error_code: 'account_disconnected';
19516
+ error_code: 'subscription_required';
19452
19517
  } | {
19453
19518
  /** Date and time at which Seam created the error. */
19454
19519
  created_at: string;
@@ -19456,85 +19521,86 @@ export interface Routes {
19456
19521
  is_connected_account_error: true;
19457
19522
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19458
19523
  error_code: 'invalid_credentials';
19459
- } | {
19460
- /** Date and time at which Seam created the error. */
19461
- created_at: string;
19462
- message: string;
19463
- is_connected_account_error: true;
19464
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19465
- error_code: 'salto_ks_subscription_limit_exceeded';
19466
- salto_ks_metadata: {
19467
- sites: Array<{
19468
- site_id: string;
19469
- site_name: string;
19470
- subscribed_site_user_count: number;
19471
- site_user_subscription_limit: number;
19472
- }>;
19473
- };
19474
19524
  }>;
19475
19525
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
19476
19526
  warnings: Array<{
19477
19527
  message: string;
19528
+ created_at: string;
19478
19529
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19479
19530
  warning_code: 'partial_backup_access_code_pool';
19480
19531
  } | {
19481
19532
  message: string;
19533
+ created_at: string;
19482
19534
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19483
19535
  warning_code: 'many_active_backup_codes';
19484
19536
  } | {
19485
19537
  message: string;
19538
+ created_at: string;
19486
19539
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19487
19540
  warning_code: 'salto_unknown_device_type';
19488
19541
  } | {
19489
19542
  message: string;
19543
+ created_at: string;
19490
19544
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19491
19545
  warning_code: 'wyze_device_missing_gateway';
19492
19546
  } | {
19493
19547
  message: string;
19548
+ created_at: string;
19494
19549
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19495
19550
  warning_code: 'functional_offline_device';
19496
19551
  } | {
19497
19552
  message: string;
19553
+ created_at: string;
19498
19554
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19499
19555
  warning_code: 'third_party_integration_detected';
19500
19556
  } | {
19501
19557
  message: string;
19558
+ created_at: string;
19502
19559
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19503
19560
  warning_code: 'nest_thermostat_in_manual_eco_mode';
19504
19561
  } | {
19505
19562
  message: string;
19563
+ created_at: string;
19506
19564
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19507
19565
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
19508
19566
  } | {
19509
19567
  message: string;
19568
+ created_at: string;
19510
19569
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19511
19570
  warning_code: 'ttlock_weak_gateway_signal';
19512
19571
  } | {
19513
19572
  message: string;
19573
+ created_at: string;
19514
19574
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19515
19575
  warning_code: 'temperature_threshold_exceeded';
19516
19576
  } | {
19517
19577
  message: string;
19578
+ created_at: string;
19518
19579
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19519
19580
  warning_code: 'device_communication_degraded';
19520
19581
  } | {
19521
19582
  message: string;
19583
+ created_at: string;
19522
19584
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19523
19585
  warning_code: 'scheduled_maintenance_window';
19524
19586
  } | {
19525
19587
  message: string;
19588
+ created_at: string;
19526
19589
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19527
19590
  warning_code: 'device_has_flaky_connection';
19528
19591
  } | {
19529
19592
  message: string;
19593
+ created_at: string;
19530
19594
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19531
19595
  warning_code: 'salto_office_mode';
19532
19596
  } | {
19533
19597
  message: string;
19598
+ created_at: string;
19534
19599
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19535
19600
  warning_code: 'salto_privacy_mode';
19536
19601
  } | {
19537
19602
  message: string;
19603
+ created_at: string;
19538
19604
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19539
19605
  warning_code: 'unknown_issue_with_phone';
19540
19606
  }>;
@@ -20094,72 +20160,85 @@ export interface Routes {
20094
20160
  workspace_id: string;
20095
20161
  /** 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. */
20096
20162
  errors: Array<{
20163
+ message: string;
20164
+ is_device_error: false;
20165
+ created_at: string;
20166
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20167
+ error_code: 'account_disconnected';
20168
+ is_connected_account_error: true;
20169
+ } | {
20170
+ message: string;
20171
+ is_device_error: false;
20172
+ created_at: string;
20173
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20174
+ error_code: 'salto_ks_subscription_limit_exceeded';
20175
+ is_connected_account_error: true;
20176
+ } | {
20097
20177
  message: string;
20098
20178
  is_device_error: true;
20179
+ created_at: string;
20099
20180
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20100
20181
  error_code: 'device_offline';
20101
20182
  } | {
20102
20183
  message: string;
20103
20184
  is_device_error: true;
20185
+ created_at: string;
20104
20186
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20105
20187
  error_code: 'device_removed';
20106
20188
  } | {
20107
20189
  message: string;
20108
20190
  is_device_error: true;
20191
+ created_at: string;
20109
20192
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20110
20193
  error_code: 'hub_disconnected';
20111
20194
  } | {
20112
20195
  message: string;
20113
20196
  is_device_error: true;
20197
+ created_at: string;
20114
20198
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20115
20199
  error_code: 'device_disconnected';
20116
20200
  } | {
20117
20201
  message: string;
20118
20202
  is_device_error: true;
20203
+ created_at: string;
20119
20204
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20120
20205
  error_code: 'empty_backup_access_code_pool';
20121
20206
  } | {
20122
20207
  message: string;
20123
20208
  is_device_error: true;
20209
+ created_at: string;
20124
20210
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20125
20211
  error_code: 'august_lock_not_authorized';
20126
20212
  } | {
20127
20213
  message: string;
20128
20214
  is_device_error: true;
20215
+ created_at: string;
20129
20216
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20130
20217
  error_code: 'august_lock_missing_bridge';
20131
20218
  } | {
20132
20219
  message: string;
20133
20220
  is_device_error: true;
20134
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20135
- error_code: 'salto_site_user_limit_reached';
20136
- } | {
20137
- message: string;
20138
- is_device_error: true;
20221
+ created_at: string;
20139
20222
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20140
20223
  error_code: 'ttlock_lock_not_paired_to_gateway';
20141
20224
  } | {
20142
20225
  message: string;
20143
20226
  is_device_error: true;
20227
+ created_at: string;
20144
20228
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20145
20229
  error_code: 'missing_device_credentials';
20146
20230
  } | {
20147
20231
  message: string;
20148
20232
  is_device_error: true;
20233
+ created_at: string;
20149
20234
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20150
20235
  error_code: 'auxiliary_heat_running';
20151
20236
  } | {
20152
20237
  message: string;
20153
20238
  is_device_error: true;
20154
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20155
- error_code: 'subscription_required';
20156
- } | {
20157
- /** Date and time at which Seam created the error. */
20158
20239
  created_at: string;
20159
- message: string;
20160
- is_connected_account_error: true;
20161
20240
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20162
- error_code: 'account_disconnected';
20241
+ error_code: 'subscription_required';
20163
20242
  } | {
20164
20243
  /** Date and time at which Seam created the error. */
20165
20244
  created_at: string;
@@ -20167,85 +20246,86 @@ export interface Routes {
20167
20246
  is_connected_account_error: true;
20168
20247
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20169
20248
  error_code: 'invalid_credentials';
20170
- } | {
20171
- /** Date and time at which Seam created the error. */
20172
- created_at: string;
20173
- message: string;
20174
- is_connected_account_error: true;
20175
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20176
- error_code: 'salto_ks_subscription_limit_exceeded';
20177
- salto_ks_metadata: {
20178
- sites: Array<{
20179
- site_id: string;
20180
- site_name: string;
20181
- subscribed_site_user_count: number;
20182
- site_user_subscription_limit: number;
20183
- }>;
20184
- };
20185
20249
  }>;
20186
20250
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
20187
20251
  warnings: Array<{
20188
20252
  message: string;
20253
+ created_at: string;
20189
20254
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20190
20255
  warning_code: 'partial_backup_access_code_pool';
20191
20256
  } | {
20192
20257
  message: string;
20258
+ created_at: string;
20193
20259
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20194
20260
  warning_code: 'many_active_backup_codes';
20195
20261
  } | {
20196
20262
  message: string;
20263
+ created_at: string;
20197
20264
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20198
20265
  warning_code: 'salto_unknown_device_type';
20199
20266
  } | {
20200
20267
  message: string;
20268
+ created_at: string;
20201
20269
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20202
20270
  warning_code: 'wyze_device_missing_gateway';
20203
20271
  } | {
20204
20272
  message: string;
20273
+ created_at: string;
20205
20274
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20206
20275
  warning_code: 'functional_offline_device';
20207
20276
  } | {
20208
20277
  message: string;
20278
+ created_at: string;
20209
20279
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20210
20280
  warning_code: 'third_party_integration_detected';
20211
20281
  } | {
20212
20282
  message: string;
20283
+ created_at: string;
20213
20284
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20214
20285
  warning_code: 'nest_thermostat_in_manual_eco_mode';
20215
20286
  } | {
20216
20287
  message: string;
20288
+ created_at: string;
20217
20289
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20218
20290
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
20219
20291
  } | {
20220
20292
  message: string;
20293
+ created_at: string;
20221
20294
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20222
20295
  warning_code: 'ttlock_weak_gateway_signal';
20223
20296
  } | {
20224
20297
  message: string;
20298
+ created_at: string;
20225
20299
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20226
20300
  warning_code: 'temperature_threshold_exceeded';
20227
20301
  } | {
20228
20302
  message: string;
20303
+ created_at: string;
20229
20304
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20230
20305
  warning_code: 'device_communication_degraded';
20231
20306
  } | {
20232
20307
  message: string;
20308
+ created_at: string;
20233
20309
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20234
20310
  warning_code: 'scheduled_maintenance_window';
20235
20311
  } | {
20236
20312
  message: string;
20313
+ created_at: string;
20237
20314
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20238
20315
  warning_code: 'device_has_flaky_connection';
20239
20316
  } | {
20240
20317
  message: string;
20318
+ created_at: string;
20241
20319
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20242
20320
  warning_code: 'salto_office_mode';
20243
20321
  } | {
20244
20322
  message: string;
20323
+ created_at: string;
20245
20324
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20246
20325
  warning_code: 'salto_privacy_mode';
20247
20326
  } | {
20248
20327
  message: string;
20328
+ created_at: string;
20249
20329
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20250
20330
  warning_code: 'unknown_issue_with_phone';
20251
20331
  }>;
@@ -20768,72 +20848,85 @@ export interface Routes {
20768
20848
  workspace_id: string;
20769
20849
  /** 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. */
20770
20850
  errors: Array<{
20851
+ message: string;
20852
+ is_device_error: false;
20853
+ created_at: string;
20854
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20855
+ error_code: 'account_disconnected';
20856
+ is_connected_account_error: true;
20857
+ } | {
20858
+ message: string;
20859
+ is_device_error: false;
20860
+ created_at: string;
20861
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20862
+ error_code: 'salto_ks_subscription_limit_exceeded';
20863
+ is_connected_account_error: true;
20864
+ } | {
20771
20865
  message: string;
20772
20866
  is_device_error: true;
20867
+ created_at: string;
20773
20868
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20774
20869
  error_code: 'device_offline';
20775
20870
  } | {
20776
20871
  message: string;
20777
20872
  is_device_error: true;
20873
+ created_at: string;
20778
20874
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20779
20875
  error_code: 'device_removed';
20780
20876
  } | {
20781
20877
  message: string;
20782
20878
  is_device_error: true;
20879
+ created_at: string;
20783
20880
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20784
20881
  error_code: 'hub_disconnected';
20785
20882
  } | {
20786
20883
  message: string;
20787
20884
  is_device_error: true;
20885
+ created_at: string;
20788
20886
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20789
20887
  error_code: 'device_disconnected';
20790
20888
  } | {
20791
20889
  message: string;
20792
20890
  is_device_error: true;
20891
+ created_at: string;
20793
20892
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20794
20893
  error_code: 'empty_backup_access_code_pool';
20795
20894
  } | {
20796
20895
  message: string;
20797
20896
  is_device_error: true;
20897
+ created_at: string;
20798
20898
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20799
20899
  error_code: 'august_lock_not_authorized';
20800
20900
  } | {
20801
20901
  message: string;
20802
20902
  is_device_error: true;
20903
+ created_at: string;
20803
20904
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20804
20905
  error_code: 'august_lock_missing_bridge';
20805
20906
  } | {
20806
20907
  message: string;
20807
20908
  is_device_error: true;
20808
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20809
- error_code: 'salto_site_user_limit_reached';
20810
- } | {
20811
- message: string;
20812
- is_device_error: true;
20909
+ created_at: string;
20813
20910
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20814
20911
  error_code: 'ttlock_lock_not_paired_to_gateway';
20815
20912
  } | {
20816
20913
  message: string;
20817
20914
  is_device_error: true;
20915
+ created_at: string;
20818
20916
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20819
20917
  error_code: 'missing_device_credentials';
20820
20918
  } | {
20821
20919
  message: string;
20822
20920
  is_device_error: true;
20921
+ created_at: string;
20823
20922
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20824
20923
  error_code: 'auxiliary_heat_running';
20825
20924
  } | {
20826
20925
  message: string;
20827
20926
  is_device_error: true;
20828
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20829
- error_code: 'subscription_required';
20830
- } | {
20831
- /** Date and time at which Seam created the error. */
20832
20927
  created_at: string;
20833
- message: string;
20834
- is_connected_account_error: true;
20835
20928
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20836
- error_code: 'account_disconnected';
20929
+ error_code: 'subscription_required';
20837
20930
  } | {
20838
20931
  /** Date and time at which Seam created the error. */
20839
20932
  created_at: string;
@@ -20841,85 +20934,86 @@ export interface Routes {
20841
20934
  is_connected_account_error: true;
20842
20935
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20843
20936
  error_code: 'invalid_credentials';
20844
- } | {
20845
- /** Date and time at which Seam created the error. */
20846
- created_at: string;
20847
- message: string;
20848
- is_connected_account_error: true;
20849
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20850
- error_code: 'salto_ks_subscription_limit_exceeded';
20851
- salto_ks_metadata: {
20852
- sites: Array<{
20853
- site_id: string;
20854
- site_name: string;
20855
- subscribed_site_user_count: number;
20856
- site_user_subscription_limit: number;
20857
- }>;
20858
- };
20859
20937
  }>;
20860
20938
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
20861
20939
  warnings: Array<{
20862
20940
  message: string;
20941
+ created_at: string;
20863
20942
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20864
20943
  warning_code: 'partial_backup_access_code_pool';
20865
20944
  } | {
20866
20945
  message: string;
20946
+ created_at: string;
20867
20947
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20868
20948
  warning_code: 'many_active_backup_codes';
20869
20949
  } | {
20870
20950
  message: string;
20951
+ created_at: string;
20871
20952
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20872
20953
  warning_code: 'salto_unknown_device_type';
20873
20954
  } | {
20874
20955
  message: string;
20956
+ created_at: string;
20875
20957
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20876
20958
  warning_code: 'wyze_device_missing_gateway';
20877
20959
  } | {
20878
20960
  message: string;
20961
+ created_at: string;
20879
20962
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20880
20963
  warning_code: 'functional_offline_device';
20881
20964
  } | {
20882
20965
  message: string;
20966
+ created_at: string;
20883
20967
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20884
20968
  warning_code: 'third_party_integration_detected';
20885
20969
  } | {
20886
20970
  message: string;
20971
+ created_at: string;
20887
20972
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20888
20973
  warning_code: 'nest_thermostat_in_manual_eco_mode';
20889
20974
  } | {
20890
20975
  message: string;
20976
+ created_at: string;
20891
20977
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20892
20978
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
20893
20979
  } | {
20894
20980
  message: string;
20981
+ created_at: string;
20895
20982
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20896
20983
  warning_code: 'ttlock_weak_gateway_signal';
20897
20984
  } | {
20898
20985
  message: string;
20986
+ created_at: string;
20899
20987
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20900
20988
  warning_code: 'temperature_threshold_exceeded';
20901
20989
  } | {
20902
20990
  message: string;
20991
+ created_at: string;
20903
20992
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20904
20993
  warning_code: 'device_communication_degraded';
20905
20994
  } | {
20906
20995
  message: string;
20996
+ created_at: string;
20907
20997
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20908
20998
  warning_code: 'scheduled_maintenance_window';
20909
20999
  } | {
20910
21000
  message: string;
21001
+ created_at: string;
20911
21002
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20912
21003
  warning_code: 'device_has_flaky_connection';
20913
21004
  } | {
20914
21005
  message: string;
21006
+ created_at: string;
20915
21007
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20916
21008
  warning_code: 'salto_office_mode';
20917
21009
  } | {
20918
21010
  message: string;
21011
+ created_at: string;
20919
21012
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20920
21013
  warning_code: 'salto_privacy_mode';
20921
21014
  } | {
20922
21015
  message: string;
21016
+ created_at: string;
20923
21017
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
20924
21018
  warning_code: 'unknown_issue_with_phone';
20925
21019
  }>;
@@ -23298,72 +23392,85 @@ export interface Routes {
23298
23392
  workspace_id: string;
23299
23393
  /** 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. */
23300
23394
  errors: Array<{
23395
+ message: string;
23396
+ is_device_error: false;
23397
+ created_at: string;
23398
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23399
+ error_code: 'account_disconnected';
23400
+ is_connected_account_error: true;
23401
+ } | {
23402
+ message: string;
23403
+ is_device_error: false;
23404
+ created_at: string;
23405
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23406
+ error_code: 'salto_ks_subscription_limit_exceeded';
23407
+ is_connected_account_error: true;
23408
+ } | {
23301
23409
  message: string;
23302
23410
  is_device_error: true;
23411
+ created_at: string;
23303
23412
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23304
23413
  error_code: 'device_offline';
23305
23414
  } | {
23306
23415
  message: string;
23307
23416
  is_device_error: true;
23417
+ created_at: string;
23308
23418
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23309
23419
  error_code: 'device_removed';
23310
23420
  } | {
23311
23421
  message: string;
23312
23422
  is_device_error: true;
23423
+ created_at: string;
23313
23424
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23314
23425
  error_code: 'hub_disconnected';
23315
23426
  } | {
23316
23427
  message: string;
23317
23428
  is_device_error: true;
23429
+ created_at: string;
23318
23430
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23319
23431
  error_code: 'device_disconnected';
23320
23432
  } | {
23321
23433
  message: string;
23322
23434
  is_device_error: true;
23435
+ created_at: string;
23323
23436
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23324
23437
  error_code: 'empty_backup_access_code_pool';
23325
23438
  } | {
23326
23439
  message: string;
23327
23440
  is_device_error: true;
23441
+ created_at: string;
23328
23442
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23329
23443
  error_code: 'august_lock_not_authorized';
23330
23444
  } | {
23331
23445
  message: string;
23332
23446
  is_device_error: true;
23447
+ created_at: string;
23333
23448
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23334
23449
  error_code: 'august_lock_missing_bridge';
23335
23450
  } | {
23336
23451
  message: string;
23337
23452
  is_device_error: true;
23338
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23339
- error_code: 'salto_site_user_limit_reached';
23340
- } | {
23341
- message: string;
23342
- is_device_error: true;
23453
+ created_at: string;
23343
23454
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23344
23455
  error_code: 'ttlock_lock_not_paired_to_gateway';
23345
23456
  } | {
23346
23457
  message: string;
23347
23458
  is_device_error: true;
23459
+ created_at: string;
23348
23460
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23349
23461
  error_code: 'missing_device_credentials';
23350
23462
  } | {
23351
23463
  message: string;
23352
23464
  is_device_error: true;
23465
+ created_at: string;
23353
23466
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23354
23467
  error_code: 'auxiliary_heat_running';
23355
23468
  } | {
23356
23469
  message: string;
23357
23470
  is_device_error: true;
23358
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23359
- error_code: 'subscription_required';
23360
- } | {
23361
- /** Date and time at which Seam created the error. */
23362
23471
  created_at: string;
23363
- message: string;
23364
- is_connected_account_error: true;
23365
23472
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23366
- error_code: 'account_disconnected';
23473
+ error_code: 'subscription_required';
23367
23474
  } | {
23368
23475
  /** Date and time at which Seam created the error. */
23369
23476
  created_at: string;
@@ -23371,85 +23478,86 @@ export interface Routes {
23371
23478
  is_connected_account_error: true;
23372
23479
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23373
23480
  error_code: 'invalid_credentials';
23374
- } | {
23375
- /** Date and time at which Seam created the error. */
23376
- created_at: string;
23377
- message: string;
23378
- is_connected_account_error: true;
23379
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23380
- error_code: 'salto_ks_subscription_limit_exceeded';
23381
- salto_ks_metadata: {
23382
- sites: Array<{
23383
- site_id: string;
23384
- site_name: string;
23385
- subscribed_site_user_count: number;
23386
- site_user_subscription_limit: number;
23387
- }>;
23388
- };
23389
23481
  }>;
23390
23482
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
23391
23483
  warnings: Array<{
23392
23484
  message: string;
23485
+ created_at: string;
23393
23486
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23394
23487
  warning_code: 'partial_backup_access_code_pool';
23395
23488
  } | {
23396
23489
  message: string;
23490
+ created_at: string;
23397
23491
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23398
23492
  warning_code: 'many_active_backup_codes';
23399
23493
  } | {
23400
23494
  message: string;
23495
+ created_at: string;
23401
23496
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23402
23497
  warning_code: 'salto_unknown_device_type';
23403
23498
  } | {
23404
23499
  message: string;
23500
+ created_at: string;
23405
23501
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23406
23502
  warning_code: 'wyze_device_missing_gateway';
23407
23503
  } | {
23408
23504
  message: string;
23505
+ created_at: string;
23409
23506
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23410
23507
  warning_code: 'functional_offline_device';
23411
23508
  } | {
23412
23509
  message: string;
23510
+ created_at: string;
23413
23511
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23414
23512
  warning_code: 'third_party_integration_detected';
23415
23513
  } | {
23416
23514
  message: string;
23515
+ created_at: string;
23417
23516
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23418
23517
  warning_code: 'nest_thermostat_in_manual_eco_mode';
23419
23518
  } | {
23420
23519
  message: string;
23520
+ created_at: string;
23421
23521
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23422
23522
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
23423
23523
  } | {
23424
23524
  message: string;
23525
+ created_at: string;
23425
23526
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23426
23527
  warning_code: 'ttlock_weak_gateway_signal';
23427
23528
  } | {
23428
23529
  message: string;
23530
+ created_at: string;
23429
23531
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23430
23532
  warning_code: 'temperature_threshold_exceeded';
23431
23533
  } | {
23432
23534
  message: string;
23535
+ created_at: string;
23433
23536
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23434
23537
  warning_code: 'device_communication_degraded';
23435
23538
  } | {
23436
23539
  message: string;
23540
+ created_at: string;
23437
23541
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23438
23542
  warning_code: 'scheduled_maintenance_window';
23439
23543
  } | {
23440
23544
  message: string;
23545
+ created_at: string;
23441
23546
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23442
23547
  warning_code: 'device_has_flaky_connection';
23443
23548
  } | {
23444
23549
  message: string;
23550
+ created_at: string;
23445
23551
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23446
23552
  warning_code: 'salto_office_mode';
23447
23553
  } | {
23448
23554
  message: string;
23555
+ created_at: string;
23449
23556
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23450
23557
  warning_code: 'salto_privacy_mode';
23451
23558
  } | {
23452
23559
  message: string;
23560
+ created_at: string;
23453
23561
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23454
23562
  warning_code: 'unknown_issue_with_phone';
23455
23563
  }>;
@@ -23972,72 +24080,85 @@ export interface Routes {
23972
24080
  workspace_id: string;
23973
24081
  /** 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. */
23974
24082
  errors: Array<{
24083
+ message: string;
24084
+ is_device_error: false;
24085
+ created_at: string;
24086
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24087
+ error_code: 'account_disconnected';
24088
+ is_connected_account_error: true;
24089
+ } | {
24090
+ message: string;
24091
+ is_device_error: false;
24092
+ created_at: string;
24093
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24094
+ error_code: 'salto_ks_subscription_limit_exceeded';
24095
+ is_connected_account_error: true;
24096
+ } | {
23975
24097
  message: string;
23976
24098
  is_device_error: true;
24099
+ created_at: string;
23977
24100
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23978
24101
  error_code: 'device_offline';
23979
24102
  } | {
23980
24103
  message: string;
23981
24104
  is_device_error: true;
24105
+ created_at: string;
23982
24106
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23983
24107
  error_code: 'device_removed';
23984
24108
  } | {
23985
24109
  message: string;
23986
24110
  is_device_error: true;
24111
+ created_at: string;
23987
24112
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23988
24113
  error_code: 'hub_disconnected';
23989
24114
  } | {
23990
24115
  message: string;
23991
24116
  is_device_error: true;
24117
+ created_at: string;
23992
24118
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23993
24119
  error_code: 'device_disconnected';
23994
24120
  } | {
23995
24121
  message: string;
23996
24122
  is_device_error: true;
24123
+ created_at: string;
23997
24124
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23998
24125
  error_code: 'empty_backup_access_code_pool';
23999
24126
  } | {
24000
24127
  message: string;
24001
24128
  is_device_error: true;
24129
+ created_at: string;
24002
24130
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24003
24131
  error_code: 'august_lock_not_authorized';
24004
24132
  } | {
24005
24133
  message: string;
24006
24134
  is_device_error: true;
24135
+ created_at: string;
24007
24136
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24008
24137
  error_code: 'august_lock_missing_bridge';
24009
24138
  } | {
24010
24139
  message: string;
24011
24140
  is_device_error: true;
24012
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24013
- error_code: 'salto_site_user_limit_reached';
24014
- } | {
24015
- message: string;
24016
- is_device_error: true;
24141
+ created_at: string;
24017
24142
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24018
24143
  error_code: 'ttlock_lock_not_paired_to_gateway';
24019
24144
  } | {
24020
24145
  message: string;
24021
24146
  is_device_error: true;
24147
+ created_at: string;
24022
24148
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24023
24149
  error_code: 'missing_device_credentials';
24024
24150
  } | {
24025
24151
  message: string;
24026
24152
  is_device_error: true;
24153
+ created_at: string;
24027
24154
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24028
24155
  error_code: 'auxiliary_heat_running';
24029
24156
  } | {
24030
24157
  message: string;
24031
24158
  is_device_error: true;
24032
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24033
- error_code: 'subscription_required';
24034
- } | {
24035
- /** Date and time at which Seam created the error. */
24036
24159
  created_at: string;
24037
- message: string;
24038
- is_connected_account_error: true;
24039
24160
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24040
- error_code: 'account_disconnected';
24161
+ error_code: 'subscription_required';
24041
24162
  } | {
24042
24163
  /** Date and time at which Seam created the error. */
24043
24164
  created_at: string;
@@ -24045,85 +24166,86 @@ export interface Routes {
24045
24166
  is_connected_account_error: true;
24046
24167
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24047
24168
  error_code: 'invalid_credentials';
24048
- } | {
24049
- /** Date and time at which Seam created the error. */
24050
- created_at: string;
24051
- message: string;
24052
- is_connected_account_error: true;
24053
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24054
- error_code: 'salto_ks_subscription_limit_exceeded';
24055
- salto_ks_metadata: {
24056
- sites: Array<{
24057
- site_id: string;
24058
- site_name: string;
24059
- subscribed_site_user_count: number;
24060
- site_user_subscription_limit: number;
24061
- }>;
24062
- };
24063
24169
  }>;
24064
24170
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
24065
24171
  warnings: Array<{
24066
24172
  message: string;
24173
+ created_at: string;
24067
24174
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24068
24175
  warning_code: 'partial_backup_access_code_pool';
24069
24176
  } | {
24070
24177
  message: string;
24178
+ created_at: string;
24071
24179
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24072
24180
  warning_code: 'many_active_backup_codes';
24073
24181
  } | {
24074
24182
  message: string;
24183
+ created_at: string;
24075
24184
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24076
24185
  warning_code: 'salto_unknown_device_type';
24077
24186
  } | {
24078
24187
  message: string;
24188
+ created_at: string;
24079
24189
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24080
24190
  warning_code: 'wyze_device_missing_gateway';
24081
24191
  } | {
24082
24192
  message: string;
24193
+ created_at: string;
24083
24194
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24084
24195
  warning_code: 'functional_offline_device';
24085
24196
  } | {
24086
24197
  message: string;
24198
+ created_at: string;
24087
24199
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24088
24200
  warning_code: 'third_party_integration_detected';
24089
24201
  } | {
24090
24202
  message: string;
24203
+ created_at: string;
24091
24204
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24092
24205
  warning_code: 'nest_thermostat_in_manual_eco_mode';
24093
24206
  } | {
24094
24207
  message: string;
24208
+ created_at: string;
24095
24209
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24096
24210
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
24097
24211
  } | {
24098
24212
  message: string;
24213
+ created_at: string;
24099
24214
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24100
24215
  warning_code: 'ttlock_weak_gateway_signal';
24101
24216
  } | {
24102
24217
  message: string;
24218
+ created_at: string;
24103
24219
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24104
24220
  warning_code: 'temperature_threshold_exceeded';
24105
24221
  } | {
24106
24222
  message: string;
24223
+ created_at: string;
24107
24224
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24108
24225
  warning_code: 'device_communication_degraded';
24109
24226
  } | {
24110
24227
  message: string;
24228
+ created_at: string;
24111
24229
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24112
24230
  warning_code: 'scheduled_maintenance_window';
24113
24231
  } | {
24114
24232
  message: string;
24233
+ created_at: string;
24115
24234
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24116
24235
  warning_code: 'device_has_flaky_connection';
24117
24236
  } | {
24118
24237
  message: string;
24238
+ created_at: string;
24119
24239
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24120
24240
  warning_code: 'salto_office_mode';
24121
24241
  } | {
24122
24242
  message: string;
24243
+ created_at: string;
24123
24244
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24124
24245
  warning_code: 'salto_privacy_mode';
24125
24246
  } | {
24126
24247
  message: string;
24248
+ created_at: string;
24127
24249
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24128
24250
  warning_code: 'unknown_issue_with_phone';
24129
24251
  }>;
@@ -29546,72 +29668,85 @@ export interface Routes {
29546
29668
  workspace_id: string;
29547
29669
  /** 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. */
29548
29670
  errors: Array<{
29671
+ message: string;
29672
+ is_device_error: false;
29673
+ created_at: string;
29674
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29675
+ error_code: 'account_disconnected';
29676
+ is_connected_account_error: true;
29677
+ } | {
29678
+ message: string;
29679
+ is_device_error: false;
29680
+ created_at: string;
29681
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29682
+ error_code: 'salto_ks_subscription_limit_exceeded';
29683
+ is_connected_account_error: true;
29684
+ } | {
29549
29685
  message: string;
29550
29686
  is_device_error: true;
29687
+ created_at: string;
29551
29688
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29552
29689
  error_code: 'device_offline';
29553
29690
  } | {
29554
29691
  message: string;
29555
29692
  is_device_error: true;
29693
+ created_at: string;
29556
29694
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29557
29695
  error_code: 'device_removed';
29558
29696
  } | {
29559
29697
  message: string;
29560
29698
  is_device_error: true;
29699
+ created_at: string;
29561
29700
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29562
29701
  error_code: 'hub_disconnected';
29563
29702
  } | {
29564
29703
  message: string;
29565
29704
  is_device_error: true;
29705
+ created_at: string;
29566
29706
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29567
29707
  error_code: 'device_disconnected';
29568
29708
  } | {
29569
29709
  message: string;
29570
29710
  is_device_error: true;
29711
+ created_at: string;
29571
29712
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29572
29713
  error_code: 'empty_backup_access_code_pool';
29573
29714
  } | {
29574
29715
  message: string;
29575
29716
  is_device_error: true;
29717
+ created_at: string;
29576
29718
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29577
29719
  error_code: 'august_lock_not_authorized';
29578
29720
  } | {
29579
29721
  message: string;
29580
29722
  is_device_error: true;
29723
+ created_at: string;
29581
29724
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29582
29725
  error_code: 'august_lock_missing_bridge';
29583
29726
  } | {
29584
29727
  message: string;
29585
29728
  is_device_error: true;
29586
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29587
- error_code: 'salto_site_user_limit_reached';
29588
- } | {
29589
- message: string;
29590
- is_device_error: true;
29729
+ created_at: string;
29591
29730
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29592
29731
  error_code: 'ttlock_lock_not_paired_to_gateway';
29593
29732
  } | {
29594
29733
  message: string;
29595
29734
  is_device_error: true;
29735
+ created_at: string;
29596
29736
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29597
29737
  error_code: 'missing_device_credentials';
29598
29738
  } | {
29599
29739
  message: string;
29600
29740
  is_device_error: true;
29741
+ created_at: string;
29601
29742
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29602
29743
  error_code: 'auxiliary_heat_running';
29603
29744
  } | {
29604
29745
  message: string;
29605
29746
  is_device_error: true;
29606
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29607
- error_code: 'subscription_required';
29608
- } | {
29609
- /** Date and time at which Seam created the error. */
29610
29747
  created_at: string;
29611
- message: string;
29612
- is_connected_account_error: true;
29613
29748
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29614
- error_code: 'account_disconnected';
29749
+ error_code: 'subscription_required';
29615
29750
  } | {
29616
29751
  /** Date and time at which Seam created the error. */
29617
29752
  created_at: string;
@@ -29619,85 +29754,86 @@ export interface Routes {
29619
29754
  is_connected_account_error: true;
29620
29755
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29621
29756
  error_code: 'invalid_credentials';
29622
- } | {
29623
- /** Date and time at which Seam created the error. */
29624
- created_at: string;
29625
- message: string;
29626
- is_connected_account_error: true;
29627
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29628
- error_code: 'salto_ks_subscription_limit_exceeded';
29629
- salto_ks_metadata: {
29630
- sites: Array<{
29631
- site_id: string;
29632
- site_name: string;
29633
- subscribed_site_user_count: number;
29634
- site_user_subscription_limit: number;
29635
- }>;
29636
- };
29637
29757
  }>;
29638
29758
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
29639
29759
  warnings: Array<{
29640
29760
  message: string;
29761
+ created_at: string;
29641
29762
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29642
29763
  warning_code: 'partial_backup_access_code_pool';
29643
29764
  } | {
29644
29765
  message: string;
29766
+ created_at: string;
29645
29767
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29646
29768
  warning_code: 'many_active_backup_codes';
29647
29769
  } | {
29648
29770
  message: string;
29771
+ created_at: string;
29649
29772
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29650
29773
  warning_code: 'salto_unknown_device_type';
29651
29774
  } | {
29652
29775
  message: string;
29776
+ created_at: string;
29653
29777
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29654
29778
  warning_code: 'wyze_device_missing_gateway';
29655
29779
  } | {
29656
29780
  message: string;
29781
+ created_at: string;
29657
29782
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29658
29783
  warning_code: 'functional_offline_device';
29659
29784
  } | {
29660
29785
  message: string;
29786
+ created_at: string;
29661
29787
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29662
29788
  warning_code: 'third_party_integration_detected';
29663
29789
  } | {
29664
29790
  message: string;
29791
+ created_at: string;
29665
29792
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29666
29793
  warning_code: 'nest_thermostat_in_manual_eco_mode';
29667
29794
  } | {
29668
29795
  message: string;
29796
+ created_at: string;
29669
29797
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29670
29798
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
29671
29799
  } | {
29672
29800
  message: string;
29801
+ created_at: string;
29673
29802
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29674
29803
  warning_code: 'ttlock_weak_gateway_signal';
29675
29804
  } | {
29676
29805
  message: string;
29806
+ created_at: string;
29677
29807
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29678
29808
  warning_code: 'temperature_threshold_exceeded';
29679
29809
  } | {
29680
29810
  message: string;
29811
+ created_at: string;
29681
29812
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29682
29813
  warning_code: 'device_communication_degraded';
29683
29814
  } | {
29684
29815
  message: string;
29816
+ created_at: string;
29685
29817
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29686
29818
  warning_code: 'scheduled_maintenance_window';
29687
29819
  } | {
29688
29820
  message: string;
29821
+ created_at: string;
29689
29822
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29690
29823
  warning_code: 'device_has_flaky_connection';
29691
29824
  } | {
29692
29825
  message: string;
29826
+ created_at: string;
29693
29827
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29694
29828
  warning_code: 'salto_office_mode';
29695
29829
  } | {
29696
29830
  message: string;
29831
+ created_at: string;
29697
29832
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29698
29833
  warning_code: 'salto_privacy_mode';
29699
29834
  } | {
29700
29835
  message: string;
29836
+ created_at: string;
29701
29837
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29702
29838
  warning_code: 'unknown_issue_with_phone';
29703
29839
  }>;
@@ -32057,72 +32193,85 @@ export interface Routes {
32057
32193
  workspace_id: string;
32058
32194
  /** 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. */
32059
32195
  errors: Array<{
32196
+ message: string;
32197
+ is_device_error: false;
32198
+ created_at: string;
32199
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32200
+ error_code: 'account_disconnected';
32201
+ is_connected_account_error: true;
32202
+ } | {
32203
+ message: string;
32204
+ is_device_error: false;
32205
+ created_at: string;
32206
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32207
+ error_code: 'salto_ks_subscription_limit_exceeded';
32208
+ is_connected_account_error: true;
32209
+ } | {
32060
32210
  message: string;
32061
32211
  is_device_error: true;
32212
+ created_at: string;
32062
32213
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32063
32214
  error_code: 'device_offline';
32064
32215
  } | {
32065
32216
  message: string;
32066
32217
  is_device_error: true;
32218
+ created_at: string;
32067
32219
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32068
32220
  error_code: 'device_removed';
32069
32221
  } | {
32070
32222
  message: string;
32071
32223
  is_device_error: true;
32224
+ created_at: string;
32072
32225
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32073
32226
  error_code: 'hub_disconnected';
32074
32227
  } | {
32075
32228
  message: string;
32076
32229
  is_device_error: true;
32230
+ created_at: string;
32077
32231
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32078
32232
  error_code: 'device_disconnected';
32079
32233
  } | {
32080
32234
  message: string;
32081
32235
  is_device_error: true;
32236
+ created_at: string;
32082
32237
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32083
32238
  error_code: 'empty_backup_access_code_pool';
32084
32239
  } | {
32085
32240
  message: string;
32086
32241
  is_device_error: true;
32242
+ created_at: string;
32087
32243
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32088
32244
  error_code: 'august_lock_not_authorized';
32089
32245
  } | {
32090
32246
  message: string;
32091
32247
  is_device_error: true;
32248
+ created_at: string;
32092
32249
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32093
32250
  error_code: 'august_lock_missing_bridge';
32094
32251
  } | {
32095
32252
  message: string;
32096
32253
  is_device_error: true;
32097
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32098
- error_code: 'salto_site_user_limit_reached';
32099
- } | {
32100
- message: string;
32101
- is_device_error: true;
32254
+ created_at: string;
32102
32255
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32103
32256
  error_code: 'ttlock_lock_not_paired_to_gateway';
32104
32257
  } | {
32105
32258
  message: string;
32106
32259
  is_device_error: true;
32260
+ created_at: string;
32107
32261
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32108
32262
  error_code: 'missing_device_credentials';
32109
32263
  } | {
32110
32264
  message: string;
32111
32265
  is_device_error: true;
32266
+ created_at: string;
32112
32267
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32113
32268
  error_code: 'auxiliary_heat_running';
32114
32269
  } | {
32115
32270
  message: string;
32116
32271
  is_device_error: true;
32117
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32118
- error_code: 'subscription_required';
32119
- } | {
32120
- /** Date and time at which Seam created the error. */
32121
32272
  created_at: string;
32122
- message: string;
32123
- is_connected_account_error: true;
32124
32273
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32125
- error_code: 'account_disconnected';
32274
+ error_code: 'subscription_required';
32126
32275
  } | {
32127
32276
  /** Date and time at which Seam created the error. */
32128
32277
  created_at: string;
@@ -32130,85 +32279,86 @@ export interface Routes {
32130
32279
  is_connected_account_error: true;
32131
32280
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32132
32281
  error_code: 'invalid_credentials';
32133
- } | {
32134
- /** Date and time at which Seam created the error. */
32135
- created_at: string;
32136
- message: string;
32137
- is_connected_account_error: true;
32138
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32139
- error_code: 'salto_ks_subscription_limit_exceeded';
32140
- salto_ks_metadata: {
32141
- sites: Array<{
32142
- site_id: string;
32143
- site_name: string;
32144
- subscribed_site_user_count: number;
32145
- site_user_subscription_limit: number;
32146
- }>;
32147
- };
32148
32282
  }>;
32149
32283
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
32150
32284
  warnings: Array<{
32151
32285
  message: string;
32286
+ created_at: string;
32152
32287
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32153
32288
  warning_code: 'partial_backup_access_code_pool';
32154
32289
  } | {
32155
32290
  message: string;
32291
+ created_at: string;
32156
32292
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32157
32293
  warning_code: 'many_active_backup_codes';
32158
32294
  } | {
32159
32295
  message: string;
32296
+ created_at: string;
32160
32297
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32161
32298
  warning_code: 'salto_unknown_device_type';
32162
32299
  } | {
32163
32300
  message: string;
32301
+ created_at: string;
32164
32302
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32165
32303
  warning_code: 'wyze_device_missing_gateway';
32166
32304
  } | {
32167
32305
  message: string;
32306
+ created_at: string;
32168
32307
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32169
32308
  warning_code: 'functional_offline_device';
32170
32309
  } | {
32171
32310
  message: string;
32311
+ created_at: string;
32172
32312
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32173
32313
  warning_code: 'third_party_integration_detected';
32174
32314
  } | {
32175
32315
  message: string;
32316
+ created_at: string;
32176
32317
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32177
32318
  warning_code: 'nest_thermostat_in_manual_eco_mode';
32178
32319
  } | {
32179
32320
  message: string;
32321
+ created_at: string;
32180
32322
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32181
32323
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
32182
32324
  } | {
32183
32325
  message: string;
32326
+ created_at: string;
32184
32327
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32185
32328
  warning_code: 'ttlock_weak_gateway_signal';
32186
32329
  } | {
32187
32330
  message: string;
32331
+ created_at: string;
32188
32332
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32189
32333
  warning_code: 'temperature_threshold_exceeded';
32190
32334
  } | {
32191
32335
  message: string;
32336
+ created_at: string;
32192
32337
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32193
32338
  warning_code: 'device_communication_degraded';
32194
32339
  } | {
32195
32340
  message: string;
32341
+ created_at: string;
32196
32342
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32197
32343
  warning_code: 'scheduled_maintenance_window';
32198
32344
  } | {
32199
32345
  message: string;
32346
+ created_at: string;
32200
32347
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32201
32348
  warning_code: 'device_has_flaky_connection';
32202
32349
  } | {
32203
32350
  message: string;
32351
+ created_at: string;
32204
32352
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32205
32353
  warning_code: 'salto_office_mode';
32206
32354
  } | {
32207
32355
  message: string;
32356
+ created_at: string;
32208
32357
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32209
32358
  warning_code: 'salto_privacy_mode';
32210
32359
  } | {
32211
32360
  message: string;
32361
+ created_at: string;
32212
32362
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32213
32363
  warning_code: 'unknown_issue_with_phone';
32214
32364
  }>;
@@ -32731,72 +32881,85 @@ export interface Routes {
32731
32881
  workspace_id: string;
32732
32882
  /** 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. */
32733
32883
  errors: Array<{
32884
+ message: string;
32885
+ is_device_error: false;
32886
+ created_at: string;
32887
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32888
+ error_code: 'account_disconnected';
32889
+ is_connected_account_error: true;
32890
+ } | {
32891
+ message: string;
32892
+ is_device_error: false;
32893
+ created_at: string;
32894
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32895
+ error_code: 'salto_ks_subscription_limit_exceeded';
32896
+ is_connected_account_error: true;
32897
+ } | {
32734
32898
  message: string;
32735
32899
  is_device_error: true;
32900
+ created_at: string;
32736
32901
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32737
32902
  error_code: 'device_offline';
32738
32903
  } | {
32739
32904
  message: string;
32740
32905
  is_device_error: true;
32906
+ created_at: string;
32741
32907
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32742
32908
  error_code: 'device_removed';
32743
32909
  } | {
32744
32910
  message: string;
32745
32911
  is_device_error: true;
32912
+ created_at: string;
32746
32913
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32747
32914
  error_code: 'hub_disconnected';
32748
32915
  } | {
32749
32916
  message: string;
32750
32917
  is_device_error: true;
32918
+ created_at: string;
32751
32919
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32752
32920
  error_code: 'device_disconnected';
32753
32921
  } | {
32754
32922
  message: string;
32755
32923
  is_device_error: true;
32924
+ created_at: string;
32756
32925
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32757
32926
  error_code: 'empty_backup_access_code_pool';
32758
32927
  } | {
32759
32928
  message: string;
32760
32929
  is_device_error: true;
32930
+ created_at: string;
32761
32931
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32762
32932
  error_code: 'august_lock_not_authorized';
32763
32933
  } | {
32764
32934
  message: string;
32765
32935
  is_device_error: true;
32936
+ created_at: string;
32766
32937
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32767
32938
  error_code: 'august_lock_missing_bridge';
32768
32939
  } | {
32769
32940
  message: string;
32770
32941
  is_device_error: true;
32771
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32772
- error_code: 'salto_site_user_limit_reached';
32773
- } | {
32774
- message: string;
32775
- is_device_error: true;
32942
+ created_at: string;
32776
32943
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32777
32944
  error_code: 'ttlock_lock_not_paired_to_gateway';
32778
32945
  } | {
32779
32946
  message: string;
32780
32947
  is_device_error: true;
32948
+ created_at: string;
32781
32949
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32782
32950
  error_code: 'missing_device_credentials';
32783
32951
  } | {
32784
32952
  message: string;
32785
32953
  is_device_error: true;
32954
+ created_at: string;
32786
32955
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32787
32956
  error_code: 'auxiliary_heat_running';
32788
32957
  } | {
32789
32958
  message: string;
32790
32959
  is_device_error: true;
32791
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32792
- error_code: 'subscription_required';
32793
- } | {
32794
- /** Date and time at which Seam created the error. */
32795
32960
  created_at: string;
32796
- message: string;
32797
- is_connected_account_error: true;
32798
32961
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32799
- error_code: 'account_disconnected';
32962
+ error_code: 'subscription_required';
32800
32963
  } | {
32801
32964
  /** Date and time at which Seam created the error. */
32802
32965
  created_at: string;
@@ -32804,85 +32967,86 @@ export interface Routes {
32804
32967
  is_connected_account_error: true;
32805
32968
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32806
32969
  error_code: 'invalid_credentials';
32807
- } | {
32808
- /** Date and time at which Seam created the error. */
32809
- created_at: string;
32810
- message: string;
32811
- is_connected_account_error: true;
32812
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32813
- error_code: 'salto_ks_subscription_limit_exceeded';
32814
- salto_ks_metadata: {
32815
- sites: Array<{
32816
- site_id: string;
32817
- site_name: string;
32818
- subscribed_site_user_count: number;
32819
- site_user_subscription_limit: number;
32820
- }>;
32821
- };
32822
32970
  }>;
32823
32971
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
32824
32972
  warnings: Array<{
32825
32973
  message: string;
32974
+ created_at: string;
32826
32975
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32827
32976
  warning_code: 'partial_backup_access_code_pool';
32828
32977
  } | {
32829
32978
  message: string;
32979
+ created_at: string;
32830
32980
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32831
32981
  warning_code: 'many_active_backup_codes';
32832
32982
  } | {
32833
32983
  message: string;
32984
+ created_at: string;
32834
32985
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32835
32986
  warning_code: 'salto_unknown_device_type';
32836
32987
  } | {
32837
32988
  message: string;
32989
+ created_at: string;
32838
32990
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32839
32991
  warning_code: 'wyze_device_missing_gateway';
32840
32992
  } | {
32841
32993
  message: string;
32994
+ created_at: string;
32842
32995
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32843
32996
  warning_code: 'functional_offline_device';
32844
32997
  } | {
32845
32998
  message: string;
32999
+ created_at: string;
32846
33000
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32847
33001
  warning_code: 'third_party_integration_detected';
32848
33002
  } | {
32849
33003
  message: string;
33004
+ created_at: string;
32850
33005
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32851
33006
  warning_code: 'nest_thermostat_in_manual_eco_mode';
32852
33007
  } | {
32853
33008
  message: string;
33009
+ created_at: string;
32854
33010
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32855
33011
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
32856
33012
  } | {
32857
33013
  message: string;
33014
+ created_at: string;
32858
33015
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32859
33016
  warning_code: 'ttlock_weak_gateway_signal';
32860
33017
  } | {
32861
33018
  message: string;
33019
+ created_at: string;
32862
33020
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32863
33021
  warning_code: 'temperature_threshold_exceeded';
32864
33022
  } | {
32865
33023
  message: string;
33024
+ created_at: string;
32866
33025
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32867
33026
  warning_code: 'device_communication_degraded';
32868
33027
  } | {
32869
33028
  message: string;
33029
+ created_at: string;
32870
33030
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32871
33031
  warning_code: 'scheduled_maintenance_window';
32872
33032
  } | {
32873
33033
  message: string;
33034
+ created_at: string;
32874
33035
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32875
33036
  warning_code: 'device_has_flaky_connection';
32876
33037
  } | {
32877
33038
  message: string;
33039
+ created_at: string;
32878
33040
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32879
33041
  warning_code: 'salto_office_mode';
32880
33042
  } | {
32881
33043
  message: string;
33044
+ created_at: string;
32882
33045
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32883
33046
  warning_code: 'salto_privacy_mode';
32884
33047
  } | {
32885
33048
  message: string;
33049
+ created_at: string;
32886
33050
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
32887
33051
  warning_code: 'unknown_issue_with_phone';
32888
33052
  }>;
@@ -36657,72 +36821,85 @@ export interface Routes {
36657
36821
  workspace_id: string;
36658
36822
  /** 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. */
36659
36823
  errors: Array<{
36824
+ message: string;
36825
+ is_device_error: false;
36826
+ created_at: string;
36827
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36828
+ error_code: 'account_disconnected';
36829
+ is_connected_account_error: true;
36830
+ } | {
36831
+ message: string;
36832
+ is_device_error: false;
36833
+ created_at: string;
36834
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36835
+ error_code: 'salto_ks_subscription_limit_exceeded';
36836
+ is_connected_account_error: true;
36837
+ } | {
36660
36838
  message: string;
36661
36839
  is_device_error: true;
36840
+ created_at: string;
36662
36841
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36663
36842
  error_code: 'device_offline';
36664
36843
  } | {
36665
36844
  message: string;
36666
36845
  is_device_error: true;
36846
+ created_at: string;
36667
36847
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36668
36848
  error_code: 'device_removed';
36669
36849
  } | {
36670
36850
  message: string;
36671
36851
  is_device_error: true;
36852
+ created_at: string;
36672
36853
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36673
36854
  error_code: 'hub_disconnected';
36674
36855
  } | {
36675
36856
  message: string;
36676
36857
  is_device_error: true;
36858
+ created_at: string;
36677
36859
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36678
36860
  error_code: 'device_disconnected';
36679
36861
  } | {
36680
36862
  message: string;
36681
36863
  is_device_error: true;
36864
+ created_at: string;
36682
36865
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36683
36866
  error_code: 'empty_backup_access_code_pool';
36684
36867
  } | {
36685
36868
  message: string;
36686
36869
  is_device_error: true;
36870
+ created_at: string;
36687
36871
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36688
36872
  error_code: 'august_lock_not_authorized';
36689
36873
  } | {
36690
36874
  message: string;
36691
36875
  is_device_error: true;
36876
+ created_at: string;
36692
36877
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36693
36878
  error_code: 'august_lock_missing_bridge';
36694
36879
  } | {
36695
36880
  message: string;
36696
36881
  is_device_error: true;
36697
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36698
- error_code: 'salto_site_user_limit_reached';
36699
- } | {
36700
- message: string;
36701
- is_device_error: true;
36882
+ created_at: string;
36702
36883
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36703
36884
  error_code: 'ttlock_lock_not_paired_to_gateway';
36704
36885
  } | {
36705
36886
  message: string;
36706
36887
  is_device_error: true;
36888
+ created_at: string;
36707
36889
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36708
36890
  error_code: 'missing_device_credentials';
36709
36891
  } | {
36710
36892
  message: string;
36711
36893
  is_device_error: true;
36894
+ created_at: string;
36712
36895
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36713
36896
  error_code: 'auxiliary_heat_running';
36714
36897
  } | {
36715
36898
  message: string;
36716
36899
  is_device_error: true;
36717
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36718
- error_code: 'subscription_required';
36719
- } | {
36720
- /** Date and time at which Seam created the error. */
36721
36900
  created_at: string;
36722
- message: string;
36723
- is_connected_account_error: true;
36724
36901
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36725
- error_code: 'account_disconnected';
36902
+ error_code: 'subscription_required';
36726
36903
  } | {
36727
36904
  /** Date and time at which Seam created the error. */
36728
36905
  created_at: string;
@@ -36730,85 +36907,86 @@ export interface Routes {
36730
36907
  is_connected_account_error: true;
36731
36908
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36732
36909
  error_code: 'invalid_credentials';
36733
- } | {
36734
- /** Date and time at which Seam created the error. */
36735
- created_at: string;
36736
- message: string;
36737
- is_connected_account_error: true;
36738
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36739
- error_code: 'salto_ks_subscription_limit_exceeded';
36740
- salto_ks_metadata: {
36741
- sites: Array<{
36742
- site_id: string;
36743
- site_name: string;
36744
- subscribed_site_user_count: number;
36745
- site_user_subscription_limit: number;
36746
- }>;
36747
- };
36748
36910
  }>;
36749
36911
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
36750
36912
  warnings: Array<{
36751
36913
  message: string;
36914
+ created_at: string;
36752
36915
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36753
36916
  warning_code: 'partial_backup_access_code_pool';
36754
36917
  } | {
36755
36918
  message: string;
36919
+ created_at: string;
36756
36920
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36757
36921
  warning_code: 'many_active_backup_codes';
36758
36922
  } | {
36759
36923
  message: string;
36924
+ created_at: string;
36760
36925
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36761
36926
  warning_code: 'salto_unknown_device_type';
36762
36927
  } | {
36763
36928
  message: string;
36929
+ created_at: string;
36764
36930
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36765
36931
  warning_code: 'wyze_device_missing_gateway';
36766
36932
  } | {
36767
36933
  message: string;
36934
+ created_at: string;
36768
36935
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36769
36936
  warning_code: 'functional_offline_device';
36770
36937
  } | {
36771
36938
  message: string;
36939
+ created_at: string;
36772
36940
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36773
36941
  warning_code: 'third_party_integration_detected';
36774
36942
  } | {
36775
36943
  message: string;
36944
+ created_at: string;
36776
36945
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36777
36946
  warning_code: 'nest_thermostat_in_manual_eco_mode';
36778
36947
  } | {
36779
36948
  message: string;
36949
+ created_at: string;
36780
36950
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36781
36951
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
36782
36952
  } | {
36783
36953
  message: string;
36954
+ created_at: string;
36784
36955
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36785
36956
  warning_code: 'ttlock_weak_gateway_signal';
36786
36957
  } | {
36787
36958
  message: string;
36959
+ created_at: string;
36788
36960
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36789
36961
  warning_code: 'temperature_threshold_exceeded';
36790
36962
  } | {
36791
36963
  message: string;
36964
+ created_at: string;
36792
36965
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36793
36966
  warning_code: 'device_communication_degraded';
36794
36967
  } | {
36795
36968
  message: string;
36969
+ created_at: string;
36796
36970
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36797
36971
  warning_code: 'scheduled_maintenance_window';
36798
36972
  } | {
36799
36973
  message: string;
36974
+ created_at: string;
36800
36975
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36801
36976
  warning_code: 'device_has_flaky_connection';
36802
36977
  } | {
36803
36978
  message: string;
36979
+ created_at: string;
36804
36980
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36805
36981
  warning_code: 'salto_office_mode';
36806
36982
  } | {
36807
36983
  message: string;
36984
+ created_at: string;
36808
36985
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36809
36986
  warning_code: 'salto_privacy_mode';
36810
36987
  } | {
36811
36988
  message: string;
36989
+ created_at: string;
36812
36990
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36813
36991
  warning_code: 'unknown_issue_with_phone';
36814
36992
  }>;
@@ -37333,72 +37511,85 @@ export interface Routes {
37333
37511
  workspace_id: string;
37334
37512
  /** 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. */
37335
37513
  errors: Array<{
37514
+ message: string;
37515
+ is_device_error: false;
37516
+ created_at: string;
37517
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
37518
+ error_code: 'account_disconnected';
37519
+ is_connected_account_error: true;
37520
+ } | {
37521
+ message: string;
37522
+ is_device_error: false;
37523
+ created_at: string;
37524
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
37525
+ error_code: 'salto_ks_subscription_limit_exceeded';
37526
+ is_connected_account_error: true;
37527
+ } | {
37336
37528
  message: string;
37337
37529
  is_device_error: true;
37530
+ created_at: string;
37338
37531
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
37339
37532
  error_code: 'device_offline';
37340
37533
  } | {
37341
37534
  message: string;
37342
37535
  is_device_error: true;
37536
+ created_at: string;
37343
37537
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
37344
37538
  error_code: 'device_removed';
37345
37539
  } | {
37346
37540
  message: string;
37347
37541
  is_device_error: true;
37542
+ created_at: string;
37348
37543
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
37349
37544
  error_code: 'hub_disconnected';
37350
37545
  } | {
37351
37546
  message: string;
37352
37547
  is_device_error: true;
37548
+ created_at: string;
37353
37549
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
37354
37550
  error_code: 'device_disconnected';
37355
37551
  } | {
37356
37552
  message: string;
37357
37553
  is_device_error: true;
37554
+ created_at: string;
37358
37555
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
37359
37556
  error_code: 'empty_backup_access_code_pool';
37360
37557
  } | {
37361
37558
  message: string;
37362
37559
  is_device_error: true;
37560
+ created_at: string;
37363
37561
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
37364
37562
  error_code: 'august_lock_not_authorized';
37365
37563
  } | {
37366
37564
  message: string;
37367
37565
  is_device_error: true;
37566
+ created_at: string;
37368
37567
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
37369
37568
  error_code: 'august_lock_missing_bridge';
37370
37569
  } | {
37371
37570
  message: string;
37372
37571
  is_device_error: true;
37373
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
37374
- error_code: 'salto_site_user_limit_reached';
37375
- } | {
37376
- message: string;
37377
- is_device_error: true;
37572
+ created_at: string;
37378
37573
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
37379
37574
  error_code: 'ttlock_lock_not_paired_to_gateway';
37380
37575
  } | {
37381
37576
  message: string;
37382
37577
  is_device_error: true;
37578
+ created_at: string;
37383
37579
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
37384
37580
  error_code: 'missing_device_credentials';
37385
37581
  } | {
37386
37582
  message: string;
37387
37583
  is_device_error: true;
37584
+ created_at: string;
37388
37585
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
37389
37586
  error_code: 'auxiliary_heat_running';
37390
37587
  } | {
37391
37588
  message: string;
37392
37589
  is_device_error: true;
37393
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
37394
- error_code: 'subscription_required';
37395
- } | {
37396
- /** Date and time at which Seam created the error. */
37397
37590
  created_at: string;
37398
- message: string;
37399
- is_connected_account_error: true;
37400
37591
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
37401
- error_code: 'account_disconnected';
37592
+ error_code: 'subscription_required';
37402
37593
  } | {
37403
37594
  /** Date and time at which Seam created the error. */
37404
37595
  created_at: string;
@@ -37406,85 +37597,86 @@ export interface Routes {
37406
37597
  is_connected_account_error: true;
37407
37598
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
37408
37599
  error_code: 'invalid_credentials';
37409
- } | {
37410
- /** Date and time at which Seam created the error. */
37411
- created_at: string;
37412
- message: string;
37413
- is_connected_account_error: true;
37414
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
37415
- error_code: 'salto_ks_subscription_limit_exceeded';
37416
- salto_ks_metadata: {
37417
- sites: Array<{
37418
- site_id: string;
37419
- site_name: string;
37420
- subscribed_site_user_count: number;
37421
- site_user_subscription_limit: number;
37422
- }>;
37423
- };
37424
37600
  }>;
37425
37601
  /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
37426
37602
  warnings: Array<{
37427
37603
  message: string;
37604
+ created_at: string;
37428
37605
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37429
37606
  warning_code: 'partial_backup_access_code_pool';
37430
37607
  } | {
37431
37608
  message: string;
37609
+ created_at: string;
37432
37610
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37433
37611
  warning_code: 'many_active_backup_codes';
37434
37612
  } | {
37435
37613
  message: string;
37614
+ created_at: string;
37436
37615
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37437
37616
  warning_code: 'salto_unknown_device_type';
37438
37617
  } | {
37439
37618
  message: string;
37619
+ created_at: string;
37440
37620
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37441
37621
  warning_code: 'wyze_device_missing_gateway';
37442
37622
  } | {
37443
37623
  message: string;
37624
+ created_at: string;
37444
37625
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37445
37626
  warning_code: 'functional_offline_device';
37446
37627
  } | {
37447
37628
  message: string;
37629
+ created_at: string;
37448
37630
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37449
37631
  warning_code: 'third_party_integration_detected';
37450
37632
  } | {
37451
37633
  message: string;
37634
+ created_at: string;
37452
37635
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37453
37636
  warning_code: 'nest_thermostat_in_manual_eco_mode';
37454
37637
  } | {
37455
37638
  message: string;
37639
+ created_at: string;
37456
37640
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37457
37641
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled';
37458
37642
  } | {
37459
37643
  message: string;
37644
+ created_at: string;
37460
37645
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37461
37646
  warning_code: 'ttlock_weak_gateway_signal';
37462
37647
  } | {
37463
37648
  message: string;
37649
+ created_at: string;
37464
37650
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37465
37651
  warning_code: 'temperature_threshold_exceeded';
37466
37652
  } | {
37467
37653
  message: string;
37654
+ created_at: string;
37468
37655
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37469
37656
  warning_code: 'device_communication_degraded';
37470
37657
  } | {
37471
37658
  message: string;
37659
+ created_at: string;
37472
37660
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37473
37661
  warning_code: 'scheduled_maintenance_window';
37474
37662
  } | {
37475
37663
  message: string;
37664
+ created_at: string;
37476
37665
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37477
37666
  warning_code: 'device_has_flaky_connection';
37478
37667
  } | {
37479
37668
  message: string;
37669
+ created_at: string;
37480
37670
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37481
37671
  warning_code: 'salto_office_mode';
37482
37672
  } | {
37483
37673
  message: string;
37674
+ created_at: string;
37484
37675
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37485
37676
  warning_code: 'salto_privacy_mode';
37486
37677
  } | {
37487
37678
  message: string;
37679
+ created_at: string;
37488
37680
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37489
37681
  warning_code: 'unknown_issue_with_phone';
37490
37682
  }>;