@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
@@ -1208,85 +1208,98 @@ export interface Routes {
1208
1208
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1209
1209
  error_code: 'hubitat_no_free_positions_available'
1210
1210
  }
1211
+ | {
1212
+ message: string
1213
+ is_device_error: false
1214
+ created_at: string
1215
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1216
+ error_code: 'account_disconnected'
1217
+ is_connected_account_error: true
1218
+ }
1219
+ | {
1220
+ message: string
1221
+ is_device_error: false
1222
+ created_at: string
1223
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1224
+ error_code: 'salto_ks_subscription_limit_exceeded'
1225
+ is_connected_account_error: true
1226
+ }
1211
1227
  | {
1212
1228
  message: string
1213
1229
  is_device_error: true
1230
+ created_at: string
1214
1231
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1215
1232
  error_code: 'device_offline'
1216
1233
  }
1217
1234
  | {
1218
1235
  message: string
1219
1236
  is_device_error: true
1237
+ created_at: string
1220
1238
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1221
1239
  error_code: 'device_removed'
1222
1240
  }
1223
1241
  | {
1224
1242
  message: string
1225
1243
  is_device_error: true
1244
+ created_at: string
1226
1245
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1227
1246
  error_code: 'hub_disconnected'
1228
1247
  }
1229
1248
  | {
1230
1249
  message: string
1231
1250
  is_device_error: true
1251
+ created_at: string
1232
1252
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1233
1253
  error_code: 'device_disconnected'
1234
1254
  }
1235
1255
  | {
1236
1256
  message: string
1237
1257
  is_device_error: true
1258
+ created_at: string
1238
1259
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1239
1260
  error_code: 'empty_backup_access_code_pool'
1240
1261
  }
1241
1262
  | {
1242
1263
  message: string
1243
1264
  is_device_error: true
1265
+ created_at: string
1244
1266
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1245
1267
  error_code: 'august_lock_not_authorized'
1246
1268
  }
1247
1269
  | {
1248
1270
  message: string
1249
1271
  is_device_error: true
1272
+ created_at: string
1250
1273
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1251
1274
  error_code: 'august_lock_missing_bridge'
1252
1275
  }
1253
1276
  | {
1254
1277
  message: string
1255
1278
  is_device_error: true
1256
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1257
- error_code: 'salto_site_user_limit_reached'
1258
- }
1259
- | {
1260
- message: string
1261
- is_device_error: true
1279
+ created_at: string
1262
1280
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1263
1281
  error_code: 'ttlock_lock_not_paired_to_gateway'
1264
1282
  }
1265
1283
  | {
1266
1284
  message: string
1267
1285
  is_device_error: true
1286
+ created_at: string
1268
1287
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1269
1288
  error_code: 'missing_device_credentials'
1270
1289
  }
1271
1290
  | {
1272
1291
  message: string
1273
1292
  is_device_error: true
1293
+ created_at: string
1274
1294
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1275
1295
  error_code: 'auxiliary_heat_running'
1276
1296
  }
1277
1297
  | {
1278
1298
  message: string
1279
1299
  is_device_error: true
1280
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1281
- error_code: 'subscription_required'
1282
- }
1283
- | {
1284
- /** Date and time at which Seam created the error. */
1285
1300
  created_at: string
1286
- message: string
1287
- is_connected_account_error: true
1288
1301
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1289
- error_code: 'account_disconnected'
1302
+ error_code: 'subscription_required'
1290
1303
  }
1291
1304
  | {
1292
1305
  /** Date and time at which Seam created the error. */
@@ -1296,22 +1309,6 @@ export interface Routes {
1296
1309
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1297
1310
  error_code: 'invalid_credentials'
1298
1311
  }
1299
- | {
1300
- /** Date and time at which Seam created the error. */
1301
- created_at: string
1302
- message: string
1303
- is_connected_account_error: true
1304
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1305
- error_code: 'salto_ks_subscription_limit_exceeded'
1306
- salto_ks_metadata: {
1307
- sites: Array<{
1308
- site_id: string
1309
- site_name: string
1310
- subscribed_site_user_count: number
1311
- site_user_subscription_limit: number
1312
- }>
1313
- }
1314
- }
1315
1312
  >
1316
1313
  /** 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. */
1317
1314
  warnings: Array<
@@ -1561,85 +1558,98 @@ export interface Routes {
1561
1558
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1562
1559
  error_code: 'hubitat_no_free_positions_available'
1563
1560
  }
1561
+ | {
1562
+ message: string
1563
+ is_device_error: false
1564
+ created_at: string
1565
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1566
+ error_code: 'account_disconnected'
1567
+ is_connected_account_error: true
1568
+ }
1569
+ | {
1570
+ message: string
1571
+ is_device_error: false
1572
+ created_at: string
1573
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1574
+ error_code: 'salto_ks_subscription_limit_exceeded'
1575
+ is_connected_account_error: true
1576
+ }
1564
1577
  | {
1565
1578
  message: string
1566
1579
  is_device_error: true
1580
+ created_at: string
1567
1581
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1568
1582
  error_code: 'device_offline'
1569
1583
  }
1570
1584
  | {
1571
1585
  message: string
1572
1586
  is_device_error: true
1587
+ created_at: string
1573
1588
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1574
1589
  error_code: 'device_removed'
1575
1590
  }
1576
1591
  | {
1577
1592
  message: string
1578
1593
  is_device_error: true
1594
+ created_at: string
1579
1595
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1580
1596
  error_code: 'hub_disconnected'
1581
1597
  }
1582
1598
  | {
1583
1599
  message: string
1584
1600
  is_device_error: true
1601
+ created_at: string
1585
1602
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1586
1603
  error_code: 'device_disconnected'
1587
1604
  }
1588
1605
  | {
1589
1606
  message: string
1590
1607
  is_device_error: true
1608
+ created_at: string
1591
1609
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1592
1610
  error_code: 'empty_backup_access_code_pool'
1593
1611
  }
1594
1612
  | {
1595
1613
  message: string
1596
1614
  is_device_error: true
1615
+ created_at: string
1597
1616
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1598
1617
  error_code: 'august_lock_not_authorized'
1599
1618
  }
1600
1619
  | {
1601
1620
  message: string
1602
1621
  is_device_error: true
1622
+ created_at: string
1603
1623
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1604
1624
  error_code: 'august_lock_missing_bridge'
1605
1625
  }
1606
1626
  | {
1607
1627
  message: string
1608
1628
  is_device_error: true
1609
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1610
- error_code: 'salto_site_user_limit_reached'
1611
- }
1612
- | {
1613
- message: string
1614
- is_device_error: true
1629
+ created_at: string
1615
1630
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1616
1631
  error_code: 'ttlock_lock_not_paired_to_gateway'
1617
1632
  }
1618
1633
  | {
1619
1634
  message: string
1620
1635
  is_device_error: true
1636
+ created_at: string
1621
1637
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1622
1638
  error_code: 'missing_device_credentials'
1623
1639
  }
1624
1640
  | {
1625
1641
  message: string
1626
1642
  is_device_error: true
1643
+ created_at: string
1627
1644
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1628
1645
  error_code: 'auxiliary_heat_running'
1629
1646
  }
1630
1647
  | {
1631
1648
  message: string
1632
1649
  is_device_error: true
1633
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1634
- error_code: 'subscription_required'
1635
- }
1636
- | {
1637
- /** Date and time at which Seam created the error. */
1638
1650
  created_at: string
1639
- message: string
1640
- is_connected_account_error: true
1641
1651
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1642
- error_code: 'account_disconnected'
1652
+ error_code: 'subscription_required'
1643
1653
  }
1644
1654
  | {
1645
1655
  /** Date and time at which Seam created the error. */
@@ -1649,22 +1659,6 @@ export interface Routes {
1649
1659
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1650
1660
  error_code: 'invalid_credentials'
1651
1661
  }
1652
- | {
1653
- /** Date and time at which Seam created the error. */
1654
- created_at: string
1655
- message: string
1656
- is_connected_account_error: true
1657
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1658
- error_code: 'salto_ks_subscription_limit_exceeded'
1659
- salto_ks_metadata: {
1660
- sites: Array<{
1661
- site_id: string
1662
- site_name: string
1663
- subscribed_site_user_count: number
1664
- site_user_subscription_limit: number
1665
- }>
1666
- }
1667
- }
1668
1662
  >
1669
1663
  /** 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. */
1670
1664
  warnings: Array<
@@ -2979,85 +2973,98 @@ export interface Routes {
2979
2973
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2980
2974
  error_code: 'hubitat_no_free_positions_available'
2981
2975
  }
2976
+ | {
2977
+ message: string
2978
+ is_device_error: false
2979
+ created_at: string
2980
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2981
+ error_code: 'account_disconnected'
2982
+ is_connected_account_error: true
2983
+ }
2984
+ | {
2985
+ message: string
2986
+ is_device_error: false
2987
+ created_at: string
2988
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2989
+ error_code: 'salto_ks_subscription_limit_exceeded'
2990
+ is_connected_account_error: true
2991
+ }
2982
2992
  | {
2983
2993
  message: string
2984
2994
  is_device_error: true
2995
+ created_at: string
2985
2996
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2986
2997
  error_code: 'device_offline'
2987
2998
  }
2988
2999
  | {
2989
3000
  message: string
2990
3001
  is_device_error: true
3002
+ created_at: string
2991
3003
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2992
3004
  error_code: 'device_removed'
2993
3005
  }
2994
3006
  | {
2995
3007
  message: string
2996
3008
  is_device_error: true
3009
+ created_at: string
2997
3010
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2998
3011
  error_code: 'hub_disconnected'
2999
3012
  }
3000
3013
  | {
3001
3014
  message: string
3002
3015
  is_device_error: true
3016
+ created_at: string
3003
3017
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3004
3018
  error_code: 'device_disconnected'
3005
3019
  }
3006
3020
  | {
3007
3021
  message: string
3008
3022
  is_device_error: true
3023
+ created_at: string
3009
3024
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3010
3025
  error_code: 'empty_backup_access_code_pool'
3011
3026
  }
3012
3027
  | {
3013
3028
  message: string
3014
3029
  is_device_error: true
3030
+ created_at: string
3015
3031
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3016
3032
  error_code: 'august_lock_not_authorized'
3017
3033
  }
3018
3034
  | {
3019
3035
  message: string
3020
3036
  is_device_error: true
3037
+ created_at: string
3021
3038
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3022
3039
  error_code: 'august_lock_missing_bridge'
3023
3040
  }
3024
3041
  | {
3025
3042
  message: string
3026
3043
  is_device_error: true
3027
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3028
- error_code: 'salto_site_user_limit_reached'
3029
- }
3030
- | {
3031
- message: string
3032
- is_device_error: true
3044
+ created_at: string
3033
3045
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3034
3046
  error_code: 'ttlock_lock_not_paired_to_gateway'
3035
3047
  }
3036
3048
  | {
3037
3049
  message: string
3038
3050
  is_device_error: true
3051
+ created_at: string
3039
3052
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3040
3053
  error_code: 'missing_device_credentials'
3041
3054
  }
3042
3055
  | {
3043
3056
  message: string
3044
3057
  is_device_error: true
3058
+ created_at: string
3045
3059
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3046
3060
  error_code: 'auxiliary_heat_running'
3047
3061
  }
3048
3062
  | {
3049
3063
  message: string
3050
3064
  is_device_error: true
3051
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3052
- error_code: 'subscription_required'
3053
- }
3054
- | {
3055
- /** Date and time at which Seam created the error. */
3056
3065
  created_at: string
3057
- message: string
3058
- is_connected_account_error: true
3059
3066
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3060
- error_code: 'account_disconnected'
3067
+ error_code: 'subscription_required'
3061
3068
  }
3062
3069
  | {
3063
3070
  /** Date and time at which Seam created the error. */
@@ -3067,22 +3074,6 @@ export interface Routes {
3067
3074
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3068
3075
  error_code: 'invalid_credentials'
3069
3076
  }
3070
- | {
3071
- /** Date and time at which Seam created the error. */
3072
- created_at: string
3073
- message: string
3074
- is_connected_account_error: true
3075
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3076
- error_code: 'salto_ks_subscription_limit_exceeded'
3077
- salto_ks_metadata: {
3078
- sites: Array<{
3079
- site_id: string
3080
- site_name: string
3081
- subscribed_site_user_count: number
3082
- site_user_subscription_limit: number
3083
- }>
3084
- }
3085
- }
3086
3077
  >
3087
3078
  /** 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. */
3088
3079
  warnings: Array<
@@ -3319,85 +3310,98 @@ export interface Routes {
3319
3310
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3320
3311
  error_code: 'hubitat_no_free_positions_available'
3321
3312
  }
3313
+ | {
3314
+ message: string
3315
+ is_device_error: false
3316
+ created_at: string
3317
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3318
+ error_code: 'account_disconnected'
3319
+ is_connected_account_error: true
3320
+ }
3321
+ | {
3322
+ message: string
3323
+ is_device_error: false
3324
+ created_at: string
3325
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3326
+ error_code: 'salto_ks_subscription_limit_exceeded'
3327
+ is_connected_account_error: true
3328
+ }
3322
3329
  | {
3323
3330
  message: string
3324
3331
  is_device_error: true
3332
+ created_at: string
3325
3333
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3326
3334
  error_code: 'device_offline'
3327
3335
  }
3328
3336
  | {
3329
3337
  message: string
3330
3338
  is_device_error: true
3339
+ created_at: string
3331
3340
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3332
3341
  error_code: 'device_removed'
3333
3342
  }
3334
3343
  | {
3335
3344
  message: string
3336
3345
  is_device_error: true
3346
+ created_at: string
3337
3347
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3338
3348
  error_code: 'hub_disconnected'
3339
3349
  }
3340
3350
  | {
3341
3351
  message: string
3342
3352
  is_device_error: true
3353
+ created_at: string
3343
3354
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3344
3355
  error_code: 'device_disconnected'
3345
3356
  }
3346
3357
  | {
3347
3358
  message: string
3348
3359
  is_device_error: true
3360
+ created_at: string
3349
3361
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3350
3362
  error_code: 'empty_backup_access_code_pool'
3351
3363
  }
3352
3364
  | {
3353
3365
  message: string
3354
3366
  is_device_error: true
3367
+ created_at: string
3355
3368
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3356
3369
  error_code: 'august_lock_not_authorized'
3357
3370
  }
3358
3371
  | {
3359
3372
  message: string
3360
3373
  is_device_error: true
3374
+ created_at: string
3361
3375
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3362
3376
  error_code: 'august_lock_missing_bridge'
3363
3377
  }
3364
3378
  | {
3365
3379
  message: string
3366
3380
  is_device_error: true
3367
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3368
- error_code: 'salto_site_user_limit_reached'
3369
- }
3370
- | {
3371
- message: string
3372
- is_device_error: true
3381
+ created_at: string
3373
3382
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3374
3383
  error_code: 'ttlock_lock_not_paired_to_gateway'
3375
3384
  }
3376
3385
  | {
3377
3386
  message: string
3378
3387
  is_device_error: true
3388
+ created_at: string
3379
3389
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3380
3390
  error_code: 'missing_device_credentials'
3381
3391
  }
3382
3392
  | {
3383
3393
  message: string
3384
3394
  is_device_error: true
3395
+ created_at: string
3385
3396
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3386
3397
  error_code: 'auxiliary_heat_running'
3387
3398
  }
3388
3399
  | {
3389
3400
  message: string
3390
3401
  is_device_error: true
3391
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3392
- error_code: 'subscription_required'
3393
- }
3394
- | {
3395
- /** Date and time at which Seam created the error. */
3396
3402
  created_at: string
3397
- message: string
3398
- is_connected_account_error: true
3399
3403
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3400
- error_code: 'account_disconnected'
3404
+ error_code: 'subscription_required'
3401
3405
  }
3402
3406
  | {
3403
3407
  /** Date and time at which Seam created the error. */
@@ -3407,22 +3411,6 @@ export interface Routes {
3407
3411
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3408
3412
  error_code: 'invalid_credentials'
3409
3413
  }
3410
- | {
3411
- /** Date and time at which Seam created the error. */
3412
- created_at: string
3413
- message: string
3414
- is_connected_account_error: true
3415
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3416
- error_code: 'salto_ks_subscription_limit_exceeded'
3417
- salto_ks_metadata: {
3418
- sites: Array<{
3419
- site_id: string
3420
- site_name: string
3421
- subscribed_site_user_count: number
3422
- site_user_subscription_limit: number
3423
- }>
3424
- }
3425
- }
3426
3414
  >
3427
3415
  /** 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. */
3428
3416
  warnings: Array<
@@ -3658,85 +3646,98 @@ export interface Routes {
3658
3646
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3659
3647
  error_code: 'hubitat_no_free_positions_available'
3660
3648
  }
3649
+ | {
3650
+ message: string
3651
+ is_device_error: false
3652
+ created_at: string
3653
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3654
+ error_code: 'account_disconnected'
3655
+ is_connected_account_error: true
3656
+ }
3657
+ | {
3658
+ message: string
3659
+ is_device_error: false
3660
+ created_at: string
3661
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3662
+ error_code: 'salto_ks_subscription_limit_exceeded'
3663
+ is_connected_account_error: true
3664
+ }
3661
3665
  | {
3662
3666
  message: string
3663
3667
  is_device_error: true
3668
+ created_at: string
3664
3669
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3665
3670
  error_code: 'device_offline'
3666
3671
  }
3667
3672
  | {
3668
3673
  message: string
3669
3674
  is_device_error: true
3675
+ created_at: string
3670
3676
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3671
3677
  error_code: 'device_removed'
3672
3678
  }
3673
3679
  | {
3674
3680
  message: string
3675
3681
  is_device_error: true
3682
+ created_at: string
3676
3683
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3677
3684
  error_code: 'hub_disconnected'
3678
3685
  }
3679
3686
  | {
3680
3687
  message: string
3681
3688
  is_device_error: true
3689
+ created_at: string
3682
3690
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3683
3691
  error_code: 'device_disconnected'
3684
3692
  }
3685
3693
  | {
3686
3694
  message: string
3687
3695
  is_device_error: true
3696
+ created_at: string
3688
3697
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3689
3698
  error_code: 'empty_backup_access_code_pool'
3690
3699
  }
3691
3700
  | {
3692
3701
  message: string
3693
3702
  is_device_error: true
3703
+ created_at: string
3694
3704
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3695
3705
  error_code: 'august_lock_not_authorized'
3696
3706
  }
3697
3707
  | {
3698
3708
  message: string
3699
3709
  is_device_error: true
3710
+ created_at: string
3700
3711
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3701
3712
  error_code: 'august_lock_missing_bridge'
3702
3713
  }
3703
3714
  | {
3704
3715
  message: string
3705
3716
  is_device_error: true
3706
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3707
- error_code: 'salto_site_user_limit_reached'
3708
- }
3709
- | {
3710
- message: string
3711
- is_device_error: true
3717
+ created_at: string
3712
3718
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3713
3719
  error_code: 'ttlock_lock_not_paired_to_gateway'
3714
3720
  }
3715
3721
  | {
3716
3722
  message: string
3717
3723
  is_device_error: true
3724
+ created_at: string
3718
3725
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3719
3726
  error_code: 'missing_device_credentials'
3720
3727
  }
3721
3728
  | {
3722
3729
  message: string
3723
3730
  is_device_error: true
3731
+ created_at: string
3724
3732
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3725
3733
  error_code: 'auxiliary_heat_running'
3726
3734
  }
3727
3735
  | {
3728
3736
  message: string
3729
3737
  is_device_error: true
3730
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3731
- error_code: 'subscription_required'
3732
- }
3733
- | {
3734
- /** Date and time at which Seam created the error. */
3735
3738
  created_at: string
3736
- message: string
3737
- is_connected_account_error: true
3738
3739
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3739
- error_code: 'account_disconnected'
3740
+ error_code: 'subscription_required'
3740
3741
  }
3741
3742
  | {
3742
3743
  /** Date and time at which Seam created the error. */
@@ -3746,22 +3747,6 @@ export interface Routes {
3746
3747
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3747
3748
  error_code: 'invalid_credentials'
3748
3749
  }
3749
- | {
3750
- /** Date and time at which Seam created the error. */
3751
- created_at: string
3752
- message: string
3753
- is_connected_account_error: true
3754
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3755
- error_code: 'salto_ks_subscription_limit_exceeded'
3756
- salto_ks_metadata: {
3757
- sites: Array<{
3758
- site_id: string
3759
- site_name: string
3760
- subscribed_site_user_count: number
3761
- site_user_subscription_limit: number
3762
- }>
3763
- }
3764
- }
3765
3750
  >
3766
3751
  /** 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. */
3767
3752
  warnings: Array<
@@ -3985,85 +3970,98 @@ export interface Routes {
3985
3970
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3986
3971
  error_code: 'hubitat_no_free_positions_available'
3987
3972
  }
3973
+ | {
3974
+ message: string
3975
+ is_device_error: false
3976
+ created_at: string
3977
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3978
+ error_code: 'account_disconnected'
3979
+ is_connected_account_error: true
3980
+ }
3981
+ | {
3982
+ message: string
3983
+ is_device_error: false
3984
+ created_at: string
3985
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3986
+ error_code: 'salto_ks_subscription_limit_exceeded'
3987
+ is_connected_account_error: true
3988
+ }
3988
3989
  | {
3989
3990
  message: string
3990
3991
  is_device_error: true
3992
+ created_at: string
3991
3993
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3992
3994
  error_code: 'device_offline'
3993
3995
  }
3994
3996
  | {
3995
3997
  message: string
3996
3998
  is_device_error: true
3999
+ created_at: string
3997
4000
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3998
4001
  error_code: 'device_removed'
3999
4002
  }
4000
4003
  | {
4001
4004
  message: string
4002
4005
  is_device_error: true
4006
+ created_at: string
4003
4007
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4004
4008
  error_code: 'hub_disconnected'
4005
4009
  }
4006
4010
  | {
4007
4011
  message: string
4008
4012
  is_device_error: true
4013
+ created_at: string
4009
4014
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4010
4015
  error_code: 'device_disconnected'
4011
4016
  }
4012
4017
  | {
4013
4018
  message: string
4014
4019
  is_device_error: true
4020
+ created_at: string
4015
4021
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4016
4022
  error_code: 'empty_backup_access_code_pool'
4017
4023
  }
4018
4024
  | {
4019
4025
  message: string
4020
4026
  is_device_error: true
4027
+ created_at: string
4021
4028
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4022
4029
  error_code: 'august_lock_not_authorized'
4023
4030
  }
4024
4031
  | {
4025
4032
  message: string
4026
4033
  is_device_error: true
4034
+ created_at: string
4027
4035
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4028
4036
  error_code: 'august_lock_missing_bridge'
4029
4037
  }
4030
4038
  | {
4031
4039
  message: string
4032
4040
  is_device_error: true
4033
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4034
- error_code: 'salto_site_user_limit_reached'
4035
- }
4036
- | {
4037
- message: string
4038
- is_device_error: true
4041
+ created_at: string
4039
4042
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4040
4043
  error_code: 'ttlock_lock_not_paired_to_gateway'
4041
4044
  }
4042
4045
  | {
4043
4046
  message: string
4044
4047
  is_device_error: true
4048
+ created_at: string
4045
4049
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4046
4050
  error_code: 'missing_device_credentials'
4047
4051
  }
4048
4052
  | {
4049
4053
  message: string
4050
4054
  is_device_error: true
4055
+ created_at: string
4051
4056
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4052
4057
  error_code: 'auxiliary_heat_running'
4053
4058
  }
4054
4059
  | {
4055
4060
  message: string
4056
4061
  is_device_error: true
4057
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4058
- error_code: 'subscription_required'
4059
- }
4060
- | {
4061
- /** Date and time at which Seam created the error. */
4062
4062
  created_at: string
4063
- message: string
4064
- is_connected_account_error: true
4065
4063
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4066
- error_code: 'account_disconnected'
4064
+ error_code: 'subscription_required'
4067
4065
  }
4068
4066
  | {
4069
4067
  /** Date and time at which Seam created the error. */
@@ -4073,22 +4071,6 @@ export interface Routes {
4073
4071
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4074
4072
  error_code: 'invalid_credentials'
4075
4073
  }
4076
- | {
4077
- /** Date and time at which Seam created the error. */
4078
- created_at: string
4079
- message: string
4080
- is_connected_account_error: true
4081
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4082
- error_code: 'salto_ks_subscription_limit_exceeded'
4083
- salto_ks_metadata: {
4084
- sites: Array<{
4085
- site_id: string
4086
- site_name: string
4087
- subscribed_site_user_count: number
4088
- site_user_subscription_limit: number
4089
- }>
4090
- }
4091
- }
4092
4074
  >
4093
4075
  /** 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. */
4094
4076
  warnings: Array<
@@ -4320,85 +4302,98 @@ export interface Routes {
4320
4302
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4321
4303
  error_code: 'hubitat_no_free_positions_available'
4322
4304
  }
4305
+ | {
4306
+ message: string
4307
+ is_device_error: false
4308
+ created_at: string
4309
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4310
+ error_code: 'account_disconnected'
4311
+ is_connected_account_error: true
4312
+ }
4313
+ | {
4314
+ message: string
4315
+ is_device_error: false
4316
+ created_at: string
4317
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4318
+ error_code: 'salto_ks_subscription_limit_exceeded'
4319
+ is_connected_account_error: true
4320
+ }
4323
4321
  | {
4324
4322
  message: string
4325
4323
  is_device_error: true
4324
+ created_at: string
4326
4325
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4327
4326
  error_code: 'device_offline'
4328
4327
  }
4329
4328
  | {
4330
4329
  message: string
4331
4330
  is_device_error: true
4331
+ created_at: string
4332
4332
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4333
4333
  error_code: 'device_removed'
4334
4334
  }
4335
4335
  | {
4336
4336
  message: string
4337
4337
  is_device_error: true
4338
+ created_at: string
4338
4339
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4339
4340
  error_code: 'hub_disconnected'
4340
4341
  }
4341
4342
  | {
4342
4343
  message: string
4343
4344
  is_device_error: true
4345
+ created_at: string
4344
4346
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4345
4347
  error_code: 'device_disconnected'
4346
4348
  }
4347
4349
  | {
4348
4350
  message: string
4349
4351
  is_device_error: true
4352
+ created_at: string
4350
4353
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4351
4354
  error_code: 'empty_backup_access_code_pool'
4352
4355
  }
4353
4356
  | {
4354
4357
  message: string
4355
4358
  is_device_error: true
4359
+ created_at: string
4356
4360
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4357
4361
  error_code: 'august_lock_not_authorized'
4358
4362
  }
4359
4363
  | {
4360
4364
  message: string
4361
4365
  is_device_error: true
4366
+ created_at: string
4362
4367
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4363
4368
  error_code: 'august_lock_missing_bridge'
4364
4369
  }
4365
4370
  | {
4366
4371
  message: string
4367
4372
  is_device_error: true
4368
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4369
- error_code: 'salto_site_user_limit_reached'
4370
- }
4371
- | {
4372
- message: string
4373
- is_device_error: true
4373
+ created_at: string
4374
4374
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4375
4375
  error_code: 'ttlock_lock_not_paired_to_gateway'
4376
4376
  }
4377
4377
  | {
4378
4378
  message: string
4379
4379
  is_device_error: true
4380
+ created_at: string
4380
4381
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4381
4382
  error_code: 'missing_device_credentials'
4382
4383
  }
4383
4384
  | {
4384
4385
  message: string
4385
4386
  is_device_error: true
4387
+ created_at: string
4386
4388
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4387
4389
  error_code: 'auxiliary_heat_running'
4388
4390
  }
4389
4391
  | {
4390
4392
  message: string
4391
4393
  is_device_error: true
4392
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4393
- error_code: 'subscription_required'
4394
- }
4395
- | {
4396
- /** Date and time at which Seam created the error. */
4397
4394
  created_at: string
4398
- message: string
4399
- is_connected_account_error: true
4400
4395
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4401
- error_code: 'account_disconnected'
4396
+ error_code: 'subscription_required'
4402
4397
  }
4403
4398
  | {
4404
4399
  /** Date and time at which Seam created the error. */
@@ -4408,22 +4403,6 @@ export interface Routes {
4408
4403
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4409
4404
  error_code: 'invalid_credentials'
4410
4405
  }
4411
- | {
4412
- /** Date and time at which Seam created the error. */
4413
- created_at: string
4414
- message: string
4415
- is_connected_account_error: true
4416
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4417
- error_code: 'salto_ks_subscription_limit_exceeded'
4418
- salto_ks_metadata: {
4419
- sites: Array<{
4420
- site_id: string
4421
- site_name: string
4422
- subscribed_site_user_count: number
4423
- site_user_subscription_limit: number
4424
- }>
4425
- }
4426
- }
4427
4406
  >
4428
4407
  /** 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. */
4429
4408
  warnings: Array<
@@ -5714,85 +5693,98 @@ export interface Routes {
5714
5693
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5715
5694
  error_code: 'hubitat_no_free_positions_available'
5716
5695
  }
5696
+ | {
5697
+ message: string
5698
+ is_device_error: false
5699
+ created_at: string
5700
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5701
+ error_code: 'account_disconnected'
5702
+ is_connected_account_error: true
5703
+ }
5704
+ | {
5705
+ message: string
5706
+ is_device_error: false
5707
+ created_at: string
5708
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5709
+ error_code: 'salto_ks_subscription_limit_exceeded'
5710
+ is_connected_account_error: true
5711
+ }
5717
5712
  | {
5718
5713
  message: string
5719
5714
  is_device_error: true
5715
+ created_at: string
5720
5716
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5721
5717
  error_code: 'device_offline'
5722
5718
  }
5723
5719
  | {
5724
5720
  message: string
5725
5721
  is_device_error: true
5722
+ created_at: string
5726
5723
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5727
5724
  error_code: 'device_removed'
5728
5725
  }
5729
5726
  | {
5730
5727
  message: string
5731
5728
  is_device_error: true
5729
+ created_at: string
5732
5730
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5733
5731
  error_code: 'hub_disconnected'
5734
5732
  }
5735
5733
  | {
5736
5734
  message: string
5737
5735
  is_device_error: true
5736
+ created_at: string
5738
5737
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5739
5738
  error_code: 'device_disconnected'
5740
5739
  }
5741
5740
  | {
5742
5741
  message: string
5743
5742
  is_device_error: true
5743
+ created_at: string
5744
5744
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5745
5745
  error_code: 'empty_backup_access_code_pool'
5746
5746
  }
5747
5747
  | {
5748
5748
  message: string
5749
5749
  is_device_error: true
5750
+ created_at: string
5750
5751
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5751
5752
  error_code: 'august_lock_not_authorized'
5752
5753
  }
5753
5754
  | {
5754
5755
  message: string
5755
5756
  is_device_error: true
5757
+ created_at: string
5756
5758
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5757
5759
  error_code: 'august_lock_missing_bridge'
5758
5760
  }
5759
5761
  | {
5760
5762
  message: string
5761
5763
  is_device_error: true
5762
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5763
- error_code: 'salto_site_user_limit_reached'
5764
- }
5765
- | {
5766
- message: string
5767
- is_device_error: true
5764
+ created_at: string
5768
5765
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5769
5766
  error_code: 'ttlock_lock_not_paired_to_gateway'
5770
5767
  }
5771
5768
  | {
5772
5769
  message: string
5773
5770
  is_device_error: true
5771
+ created_at: string
5774
5772
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5775
5773
  error_code: 'missing_device_credentials'
5776
5774
  }
5777
5775
  | {
5778
5776
  message: string
5779
5777
  is_device_error: true
5778
+ created_at: string
5780
5779
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5781
5780
  error_code: 'auxiliary_heat_running'
5782
5781
  }
5783
5782
  | {
5784
5783
  message: string
5785
5784
  is_device_error: true
5786
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5787
- error_code: 'subscription_required'
5788
- }
5789
- | {
5790
- /** Date and time at which Seam created the error. */
5791
5785
  created_at: string
5792
- message: string
5793
- is_connected_account_error: true
5794
5786
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5795
- error_code: 'account_disconnected'
5787
+ error_code: 'subscription_required'
5796
5788
  }
5797
5789
  | {
5798
5790
  /** Date and time at which Seam created the error. */
@@ -5802,22 +5794,6 @@ export interface Routes {
5802
5794
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5803
5795
  error_code: 'invalid_credentials'
5804
5796
  }
5805
- | {
5806
- /** Date and time at which Seam created the error. */
5807
- created_at: string
5808
- message: string
5809
- is_connected_account_error: true
5810
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5811
- error_code: 'salto_ks_subscription_limit_exceeded'
5812
- salto_ks_metadata: {
5813
- sites: Array<{
5814
- site_id: string
5815
- site_name: string
5816
- subscribed_site_user_count: number
5817
- site_user_subscription_limit: number
5818
- }>
5819
- }
5820
- }
5821
5797
  >
5822
5798
  /** 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. */
5823
5799
  warnings: Array<
@@ -6031,85 +6007,98 @@ export interface Routes {
6031
6007
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6032
6008
  error_code: 'hubitat_no_free_positions_available'
6033
6009
  }
6010
+ | {
6011
+ message: string
6012
+ is_device_error: false
6013
+ created_at: string
6014
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6015
+ error_code: 'account_disconnected'
6016
+ is_connected_account_error: true
6017
+ }
6018
+ | {
6019
+ message: string
6020
+ is_device_error: false
6021
+ created_at: string
6022
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6023
+ error_code: 'salto_ks_subscription_limit_exceeded'
6024
+ is_connected_account_error: true
6025
+ }
6034
6026
  | {
6035
6027
  message: string
6036
6028
  is_device_error: true
6029
+ created_at: string
6037
6030
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6038
6031
  error_code: 'device_offline'
6039
6032
  }
6040
6033
  | {
6041
6034
  message: string
6042
6035
  is_device_error: true
6036
+ created_at: string
6043
6037
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6044
6038
  error_code: 'device_removed'
6045
6039
  }
6046
6040
  | {
6047
6041
  message: string
6048
6042
  is_device_error: true
6043
+ created_at: string
6049
6044
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6050
6045
  error_code: 'hub_disconnected'
6051
6046
  }
6052
6047
  | {
6053
6048
  message: string
6054
6049
  is_device_error: true
6050
+ created_at: string
6055
6051
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6056
6052
  error_code: 'device_disconnected'
6057
6053
  }
6058
6054
  | {
6059
6055
  message: string
6060
6056
  is_device_error: true
6057
+ created_at: string
6061
6058
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6062
6059
  error_code: 'empty_backup_access_code_pool'
6063
6060
  }
6064
6061
  | {
6065
6062
  message: string
6066
6063
  is_device_error: true
6064
+ created_at: string
6067
6065
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6068
6066
  error_code: 'august_lock_not_authorized'
6069
6067
  }
6070
6068
  | {
6071
6069
  message: string
6072
6070
  is_device_error: true
6071
+ created_at: string
6073
6072
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6074
6073
  error_code: 'august_lock_missing_bridge'
6075
6074
  }
6076
6075
  | {
6077
6076
  message: string
6078
6077
  is_device_error: true
6079
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6080
- error_code: 'salto_site_user_limit_reached'
6081
- }
6082
- | {
6083
- message: string
6084
- is_device_error: true
6078
+ created_at: string
6085
6079
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6086
6080
  error_code: 'ttlock_lock_not_paired_to_gateway'
6087
6081
  }
6088
6082
  | {
6089
6083
  message: string
6090
6084
  is_device_error: true
6085
+ created_at: string
6091
6086
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6092
6087
  error_code: 'missing_device_credentials'
6093
6088
  }
6094
6089
  | {
6095
6090
  message: string
6096
6091
  is_device_error: true
6092
+ created_at: string
6097
6093
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6098
6094
  error_code: 'auxiliary_heat_running'
6099
6095
  }
6100
6096
  | {
6101
6097
  message: string
6102
6098
  is_device_error: true
6103
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6104
- error_code: 'subscription_required'
6105
- }
6106
- | {
6107
- /** Date and time at which Seam created the error. */
6108
6099
  created_at: string
6109
- message: string
6110
- is_connected_account_error: true
6111
6100
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6112
- error_code: 'account_disconnected'
6101
+ error_code: 'subscription_required'
6113
6102
  }
6114
6103
  | {
6115
6104
  /** Date and time at which Seam created the error. */
@@ -6119,22 +6108,6 @@ export interface Routes {
6119
6108
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6120
6109
  error_code: 'invalid_credentials'
6121
6110
  }
6122
- | {
6123
- /** Date and time at which Seam created the error. */
6124
- created_at: string
6125
- message: string
6126
- is_connected_account_error: true
6127
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6128
- error_code: 'salto_ks_subscription_limit_exceeded'
6129
- salto_ks_metadata: {
6130
- sites: Array<{
6131
- site_id: string
6132
- site_name: string
6133
- subscribed_site_user_count: number
6134
- site_user_subscription_limit: number
6135
- }>
6136
- }
6137
- }
6138
6111
  >
6139
6112
  /** 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. */
6140
6113
  warnings: Array<
@@ -17033,85 +17006,98 @@ export interface Routes {
17033
17006
  workspace_id: string
17034
17007
  /** 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. */
17035
17008
  errors: Array<
17009
+ | {
17010
+ message: string
17011
+ is_device_error: false
17012
+ created_at: string
17013
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17014
+ error_code: 'account_disconnected'
17015
+ is_connected_account_error: true
17016
+ }
17017
+ | {
17018
+ message: string
17019
+ is_device_error: false
17020
+ created_at: string
17021
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17022
+ error_code: 'salto_ks_subscription_limit_exceeded'
17023
+ is_connected_account_error: true
17024
+ }
17036
17025
  | {
17037
17026
  message: string
17038
17027
  is_device_error: true
17028
+ created_at: string
17039
17029
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17040
17030
  error_code: 'device_offline'
17041
17031
  }
17042
17032
  | {
17043
17033
  message: string
17044
17034
  is_device_error: true
17035
+ created_at: string
17045
17036
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17046
17037
  error_code: 'device_removed'
17047
17038
  }
17048
17039
  | {
17049
17040
  message: string
17050
17041
  is_device_error: true
17042
+ created_at: string
17051
17043
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17052
17044
  error_code: 'hub_disconnected'
17053
17045
  }
17054
17046
  | {
17055
17047
  message: string
17056
17048
  is_device_error: true
17049
+ created_at: string
17057
17050
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17058
17051
  error_code: 'device_disconnected'
17059
17052
  }
17060
17053
  | {
17061
17054
  message: string
17062
17055
  is_device_error: true
17056
+ created_at: string
17063
17057
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17064
17058
  error_code: 'empty_backup_access_code_pool'
17065
17059
  }
17066
17060
  | {
17067
17061
  message: string
17068
17062
  is_device_error: true
17063
+ created_at: string
17069
17064
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17070
17065
  error_code: 'august_lock_not_authorized'
17071
17066
  }
17072
17067
  | {
17073
17068
  message: string
17074
17069
  is_device_error: true
17070
+ created_at: string
17075
17071
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17076
17072
  error_code: 'august_lock_missing_bridge'
17077
17073
  }
17078
17074
  | {
17079
17075
  message: string
17080
17076
  is_device_error: true
17081
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17082
- error_code: 'salto_site_user_limit_reached'
17083
- }
17084
- | {
17085
- message: string
17086
- is_device_error: true
17077
+ created_at: string
17087
17078
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17088
17079
  error_code: 'ttlock_lock_not_paired_to_gateway'
17089
17080
  }
17090
17081
  | {
17091
17082
  message: string
17092
17083
  is_device_error: true
17084
+ created_at: string
17093
17085
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17094
17086
  error_code: 'missing_device_credentials'
17095
17087
  }
17096
17088
  | {
17097
17089
  message: string
17098
17090
  is_device_error: true
17091
+ created_at: string
17099
17092
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17100
17093
  error_code: 'auxiliary_heat_running'
17101
17094
  }
17102
17095
  | {
17103
17096
  message: string
17104
17097
  is_device_error: true
17105
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17106
- error_code: 'subscription_required'
17107
- }
17108
- | {
17109
- /** Date and time at which Seam created the error. */
17110
17098
  created_at: string
17111
- message: string
17112
- is_connected_account_error: true
17113
17099
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17114
- error_code: 'account_disconnected'
17100
+ error_code: 'subscription_required'
17115
17101
  }
17116
17102
  | {
17117
17103
  /** Date and time at which Seam created the error. */
@@ -17121,102 +17107,102 @@ export interface Routes {
17121
17107
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17122
17108
  error_code: 'invalid_credentials'
17123
17109
  }
17124
- | {
17125
- /** Date and time at which Seam created the error. */
17126
- created_at: string
17127
- message: string
17128
- is_connected_account_error: true
17129
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17130
- error_code: 'salto_ks_subscription_limit_exceeded'
17131
- salto_ks_metadata: {
17132
- sites: Array<{
17133
- site_id: string
17134
- site_name: string
17135
- subscribed_site_user_count: number
17136
- site_user_subscription_limit: number
17137
- }>
17138
- }
17139
- }
17140
17110
  >
17141
17111
  /** 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. */
17142
17112
  warnings: Array<
17143
17113
  | {
17144
17114
  message: string
17115
+ created_at: string
17145
17116
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17146
17117
  warning_code: 'partial_backup_access_code_pool'
17147
17118
  }
17148
17119
  | {
17149
17120
  message: string
17121
+ created_at: string
17150
17122
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17151
17123
  warning_code: 'many_active_backup_codes'
17152
17124
  }
17153
17125
  | {
17154
17126
  message: string
17127
+ created_at: string
17155
17128
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17156
17129
  warning_code: 'salto_unknown_device_type'
17157
17130
  }
17158
17131
  | {
17159
17132
  message: string
17133
+ created_at: string
17160
17134
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17161
17135
  warning_code: 'wyze_device_missing_gateway'
17162
17136
  }
17163
17137
  | {
17164
17138
  message: string
17139
+ created_at: string
17165
17140
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17166
17141
  warning_code: 'functional_offline_device'
17167
17142
  }
17168
17143
  | {
17169
17144
  message: string
17145
+ created_at: string
17170
17146
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17171
17147
  warning_code: 'third_party_integration_detected'
17172
17148
  }
17173
17149
  | {
17174
17150
  message: string
17151
+ created_at: string
17175
17152
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17176
17153
  warning_code: 'nest_thermostat_in_manual_eco_mode'
17177
17154
  }
17178
17155
  | {
17179
17156
  message: string
17157
+ created_at: string
17180
17158
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17181
17159
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
17182
17160
  }
17183
17161
  | {
17184
17162
  message: string
17163
+ created_at: string
17185
17164
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17186
17165
  warning_code: 'ttlock_weak_gateway_signal'
17187
17166
  }
17188
17167
  | {
17189
17168
  message: string
17169
+ created_at: string
17190
17170
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17191
17171
  warning_code: 'temperature_threshold_exceeded'
17192
17172
  }
17193
17173
  | {
17194
17174
  message: string
17175
+ created_at: string
17195
17176
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17196
17177
  warning_code: 'device_communication_degraded'
17197
17178
  }
17198
17179
  | {
17199
17180
  message: string
17181
+ created_at: string
17200
17182
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17201
17183
  warning_code: 'scheduled_maintenance_window'
17202
17184
  }
17203
17185
  | {
17204
17186
  message: string
17187
+ created_at: string
17205
17188
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17206
17189
  warning_code: 'device_has_flaky_connection'
17207
17190
  }
17208
17191
  | {
17209
17192
  message: string
17193
+ created_at: string
17210
17194
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17211
17195
  warning_code: 'salto_office_mode'
17212
17196
  }
17213
17197
  | {
17214
17198
  message: string
17199
+ created_at: string
17215
17200
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17216
17201
  warning_code: 'salto_privacy_mode'
17217
17202
  }
17218
17203
  | {
17219
17204
  message: string
17205
+ created_at: string
17220
17206
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17221
17207
  warning_code: 'unknown_issue_with_phone'
17222
17208
  }
@@ -18111,85 +18097,98 @@ export interface Routes {
18111
18097
  workspace_id: string
18112
18098
  /** 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. */
18113
18099
  errors: Array<
18100
+ | {
18101
+ message: string
18102
+ is_device_error: false
18103
+ created_at: string
18104
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18105
+ error_code: 'account_disconnected'
18106
+ is_connected_account_error: true
18107
+ }
18108
+ | {
18109
+ message: string
18110
+ is_device_error: false
18111
+ created_at: string
18112
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18113
+ error_code: 'salto_ks_subscription_limit_exceeded'
18114
+ is_connected_account_error: true
18115
+ }
18114
18116
  | {
18115
18117
  message: string
18116
18118
  is_device_error: true
18119
+ created_at: string
18117
18120
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18118
18121
  error_code: 'device_offline'
18119
18122
  }
18120
18123
  | {
18121
18124
  message: string
18122
18125
  is_device_error: true
18126
+ created_at: string
18123
18127
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18124
18128
  error_code: 'device_removed'
18125
18129
  }
18126
18130
  | {
18127
18131
  message: string
18128
18132
  is_device_error: true
18133
+ created_at: string
18129
18134
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18130
18135
  error_code: 'hub_disconnected'
18131
18136
  }
18132
18137
  | {
18133
18138
  message: string
18134
18139
  is_device_error: true
18140
+ created_at: string
18135
18141
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18136
18142
  error_code: 'device_disconnected'
18137
18143
  }
18138
18144
  | {
18139
18145
  message: string
18140
18146
  is_device_error: true
18147
+ created_at: string
18141
18148
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18142
18149
  error_code: 'empty_backup_access_code_pool'
18143
18150
  }
18144
18151
  | {
18145
18152
  message: string
18146
18153
  is_device_error: true
18154
+ created_at: string
18147
18155
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18148
18156
  error_code: 'august_lock_not_authorized'
18149
18157
  }
18150
18158
  | {
18151
18159
  message: string
18152
18160
  is_device_error: true
18161
+ created_at: string
18153
18162
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18154
18163
  error_code: 'august_lock_missing_bridge'
18155
18164
  }
18156
18165
  | {
18157
18166
  message: string
18158
18167
  is_device_error: true
18159
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18160
- error_code: 'salto_site_user_limit_reached'
18161
- }
18162
- | {
18163
- message: string
18164
- is_device_error: true
18168
+ created_at: string
18165
18169
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18166
18170
  error_code: 'ttlock_lock_not_paired_to_gateway'
18167
18171
  }
18168
18172
  | {
18169
18173
  message: string
18170
18174
  is_device_error: true
18175
+ created_at: string
18171
18176
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18172
18177
  error_code: 'missing_device_credentials'
18173
18178
  }
18174
18179
  | {
18175
18180
  message: string
18176
18181
  is_device_error: true
18182
+ created_at: string
18177
18183
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18178
18184
  error_code: 'auxiliary_heat_running'
18179
18185
  }
18180
18186
  | {
18181
18187
  message: string
18182
18188
  is_device_error: true
18183
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18184
- error_code: 'subscription_required'
18185
- }
18186
- | {
18187
- /** Date and time at which Seam created the error. */
18188
18189
  created_at: string
18189
- message: string
18190
- is_connected_account_error: true
18191
18190
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18192
- error_code: 'account_disconnected'
18191
+ error_code: 'subscription_required'
18193
18192
  }
18194
18193
  | {
18195
18194
  /** Date and time at which Seam created the error. */
@@ -18199,102 +18198,102 @@ export interface Routes {
18199
18198
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18200
18199
  error_code: 'invalid_credentials'
18201
18200
  }
18202
- | {
18203
- /** Date and time at which Seam created the error. */
18204
- created_at: string
18205
- message: string
18206
- is_connected_account_error: true
18207
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18208
- error_code: 'salto_ks_subscription_limit_exceeded'
18209
- salto_ks_metadata: {
18210
- sites: Array<{
18211
- site_id: string
18212
- site_name: string
18213
- subscribed_site_user_count: number
18214
- site_user_subscription_limit: number
18215
- }>
18216
- }
18217
- }
18218
18201
  >
18219
18202
  /** 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. */
18220
18203
  warnings: Array<
18221
18204
  | {
18222
18205
  message: string
18206
+ created_at: string
18223
18207
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18224
18208
  warning_code: 'partial_backup_access_code_pool'
18225
18209
  }
18226
18210
  | {
18227
18211
  message: string
18212
+ created_at: string
18228
18213
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18229
18214
  warning_code: 'many_active_backup_codes'
18230
18215
  }
18231
18216
  | {
18232
18217
  message: string
18218
+ created_at: string
18233
18219
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18234
18220
  warning_code: 'salto_unknown_device_type'
18235
18221
  }
18236
18222
  | {
18237
18223
  message: string
18224
+ created_at: string
18238
18225
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18239
18226
  warning_code: 'wyze_device_missing_gateway'
18240
18227
  }
18241
18228
  | {
18242
18229
  message: string
18230
+ created_at: string
18243
18231
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18244
18232
  warning_code: 'functional_offline_device'
18245
18233
  }
18246
18234
  | {
18247
18235
  message: string
18236
+ created_at: string
18248
18237
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18249
18238
  warning_code: 'third_party_integration_detected'
18250
18239
  }
18251
18240
  | {
18252
18241
  message: string
18242
+ created_at: string
18253
18243
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18254
18244
  warning_code: 'nest_thermostat_in_manual_eco_mode'
18255
18245
  }
18256
18246
  | {
18257
18247
  message: string
18248
+ created_at: string
18258
18249
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18259
18250
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
18260
18251
  }
18261
18252
  | {
18262
18253
  message: string
18254
+ created_at: string
18263
18255
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18264
18256
  warning_code: 'ttlock_weak_gateway_signal'
18265
18257
  }
18266
18258
  | {
18267
18259
  message: string
18260
+ created_at: string
18268
18261
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18269
18262
  warning_code: 'temperature_threshold_exceeded'
18270
18263
  }
18271
18264
  | {
18272
18265
  message: string
18266
+ created_at: string
18273
18267
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18274
18268
  warning_code: 'device_communication_degraded'
18275
18269
  }
18276
18270
  | {
18277
18271
  message: string
18272
+ created_at: string
18278
18273
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18279
18274
  warning_code: 'scheduled_maintenance_window'
18280
18275
  }
18281
18276
  | {
18282
18277
  message: string
18278
+ created_at: string
18283
18279
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18284
18280
  warning_code: 'device_has_flaky_connection'
18285
18281
  }
18286
18282
  | {
18287
18283
  message: string
18284
+ created_at: string
18288
18285
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18289
18286
  warning_code: 'salto_office_mode'
18290
18287
  }
18291
18288
  | {
18292
18289
  message: string
18290
+ created_at: string
18293
18291
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18294
18292
  warning_code: 'salto_privacy_mode'
18295
18293
  }
18296
18294
  | {
18297
18295
  message: string
18296
+ created_at: string
18298
18297
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18299
18298
  warning_code: 'unknown_issue_with_phone'
18300
18299
  }
@@ -18515,85 +18514,98 @@ export interface Routes {
18515
18514
  workspace_id: string
18516
18515
  /** 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. */
18517
18516
  errors: Array<
18517
+ | {
18518
+ message: string
18519
+ is_device_error: false
18520
+ created_at: string
18521
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18522
+ error_code: 'account_disconnected'
18523
+ is_connected_account_error: true
18524
+ }
18525
+ | {
18526
+ message: string
18527
+ is_device_error: false
18528
+ created_at: string
18529
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18530
+ error_code: 'salto_ks_subscription_limit_exceeded'
18531
+ is_connected_account_error: true
18532
+ }
18518
18533
  | {
18519
18534
  message: string
18520
18535
  is_device_error: true
18536
+ created_at: string
18521
18537
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18522
18538
  error_code: 'device_offline'
18523
18539
  }
18524
18540
  | {
18525
18541
  message: string
18526
18542
  is_device_error: true
18543
+ created_at: string
18527
18544
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18528
18545
  error_code: 'device_removed'
18529
18546
  }
18530
18547
  | {
18531
18548
  message: string
18532
18549
  is_device_error: true
18550
+ created_at: string
18533
18551
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18534
18552
  error_code: 'hub_disconnected'
18535
18553
  }
18536
18554
  | {
18537
18555
  message: string
18538
18556
  is_device_error: true
18557
+ created_at: string
18539
18558
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18540
18559
  error_code: 'device_disconnected'
18541
18560
  }
18542
18561
  | {
18543
18562
  message: string
18544
18563
  is_device_error: true
18564
+ created_at: string
18545
18565
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18546
18566
  error_code: 'empty_backup_access_code_pool'
18547
18567
  }
18548
18568
  | {
18549
18569
  message: string
18550
18570
  is_device_error: true
18571
+ created_at: string
18551
18572
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18552
18573
  error_code: 'august_lock_not_authorized'
18553
18574
  }
18554
18575
  | {
18555
18576
  message: string
18556
18577
  is_device_error: true
18578
+ created_at: string
18557
18579
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18558
18580
  error_code: 'august_lock_missing_bridge'
18559
18581
  }
18560
18582
  | {
18561
18583
  message: string
18562
18584
  is_device_error: true
18563
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18564
- error_code: 'salto_site_user_limit_reached'
18565
- }
18566
- | {
18567
- message: string
18568
- is_device_error: true
18585
+ created_at: string
18569
18586
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18570
18587
  error_code: 'ttlock_lock_not_paired_to_gateway'
18571
18588
  }
18572
18589
  | {
18573
18590
  message: string
18574
18591
  is_device_error: true
18592
+ created_at: string
18575
18593
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18576
18594
  error_code: 'missing_device_credentials'
18577
18595
  }
18578
18596
  | {
18579
18597
  message: string
18580
18598
  is_device_error: true
18599
+ created_at: string
18581
18600
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18582
18601
  error_code: 'auxiliary_heat_running'
18583
18602
  }
18584
18603
  | {
18585
18604
  message: string
18586
18605
  is_device_error: true
18587
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18588
- error_code: 'subscription_required'
18589
- }
18590
- | {
18591
- /** Date and time at which Seam created the error. */
18592
18606
  created_at: string
18593
- message: string
18594
- is_connected_account_error: true
18595
18607
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18596
- error_code: 'account_disconnected'
18608
+ error_code: 'subscription_required'
18597
18609
  }
18598
18610
  | {
18599
18611
  /** Date and time at which Seam created the error. */
@@ -18603,102 +18615,102 @@ export interface Routes {
18603
18615
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18604
18616
  error_code: 'invalid_credentials'
18605
18617
  }
18606
- | {
18607
- /** Date and time at which Seam created the error. */
18608
- created_at: string
18609
- message: string
18610
- is_connected_account_error: true
18611
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18612
- error_code: 'salto_ks_subscription_limit_exceeded'
18613
- salto_ks_metadata: {
18614
- sites: Array<{
18615
- site_id: string
18616
- site_name: string
18617
- subscribed_site_user_count: number
18618
- site_user_subscription_limit: number
18619
- }>
18620
- }
18621
- }
18622
18618
  >
18623
18619
  /** 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. */
18624
18620
  warnings: Array<
18625
18621
  | {
18626
18622
  message: string
18623
+ created_at: string
18627
18624
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18628
18625
  warning_code: 'partial_backup_access_code_pool'
18629
18626
  }
18630
18627
  | {
18631
18628
  message: string
18629
+ created_at: string
18632
18630
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18633
18631
  warning_code: 'many_active_backup_codes'
18634
18632
  }
18635
18633
  | {
18636
18634
  message: string
18635
+ created_at: string
18637
18636
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18638
18637
  warning_code: 'salto_unknown_device_type'
18639
18638
  }
18640
18639
  | {
18641
18640
  message: string
18641
+ created_at: string
18642
18642
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18643
18643
  warning_code: 'wyze_device_missing_gateway'
18644
18644
  }
18645
18645
  | {
18646
18646
  message: string
18647
+ created_at: string
18647
18648
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18648
18649
  warning_code: 'functional_offline_device'
18649
18650
  }
18650
18651
  | {
18651
18652
  message: string
18653
+ created_at: string
18652
18654
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18653
18655
  warning_code: 'third_party_integration_detected'
18654
18656
  }
18655
18657
  | {
18656
18658
  message: string
18659
+ created_at: string
18657
18660
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18658
18661
  warning_code: 'nest_thermostat_in_manual_eco_mode'
18659
18662
  }
18660
18663
  | {
18661
18664
  message: string
18665
+ created_at: string
18662
18666
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18663
18667
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
18664
18668
  }
18665
18669
  | {
18666
18670
  message: string
18671
+ created_at: string
18667
18672
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18668
18673
  warning_code: 'ttlock_weak_gateway_signal'
18669
18674
  }
18670
18675
  | {
18671
18676
  message: string
18677
+ created_at: string
18672
18678
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18673
18679
  warning_code: 'temperature_threshold_exceeded'
18674
18680
  }
18675
18681
  | {
18676
18682
  message: string
18683
+ created_at: string
18677
18684
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18678
18685
  warning_code: 'device_communication_degraded'
18679
18686
  }
18680
18687
  | {
18681
18688
  message: string
18689
+ created_at: string
18682
18690
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18683
18691
  warning_code: 'scheduled_maintenance_window'
18684
18692
  }
18685
18693
  | {
18686
18694
  message: string
18695
+ created_at: string
18687
18696
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18688
18697
  warning_code: 'device_has_flaky_connection'
18689
18698
  }
18690
18699
  | {
18691
18700
  message: string
18701
+ created_at: string
18692
18702
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18693
18703
  warning_code: 'salto_office_mode'
18694
18704
  }
18695
18705
  | {
18696
18706
  message: string
18707
+ created_at: string
18697
18708
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18698
18709
  warning_code: 'salto_privacy_mode'
18699
18710
  }
18700
18711
  | {
18701
18712
  message: string
18713
+ created_at: string
18702
18714
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
18703
18715
  warning_code: 'unknown_issue_with_phone'
18704
18716
  }
@@ -19022,85 +19034,98 @@ export interface Routes {
19022
19034
  workspace_id: string
19023
19035
  /** 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. */
19024
19036
  errors: Array<
19037
+ | {
19038
+ message: string
19039
+ is_device_error: false
19040
+ created_at: string
19041
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19042
+ error_code: 'account_disconnected'
19043
+ is_connected_account_error: true
19044
+ }
19045
+ | {
19046
+ message: string
19047
+ is_device_error: false
19048
+ created_at: string
19049
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19050
+ error_code: 'salto_ks_subscription_limit_exceeded'
19051
+ is_connected_account_error: true
19052
+ }
19025
19053
  | {
19026
19054
  message: string
19027
19055
  is_device_error: true
19056
+ created_at: string
19028
19057
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19029
19058
  error_code: 'device_offline'
19030
19059
  }
19031
19060
  | {
19032
19061
  message: string
19033
19062
  is_device_error: true
19063
+ created_at: string
19034
19064
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19035
19065
  error_code: 'device_removed'
19036
19066
  }
19037
19067
  | {
19038
19068
  message: string
19039
19069
  is_device_error: true
19070
+ created_at: string
19040
19071
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19041
19072
  error_code: 'hub_disconnected'
19042
19073
  }
19043
19074
  | {
19044
19075
  message: string
19045
19076
  is_device_error: true
19077
+ created_at: string
19046
19078
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19047
19079
  error_code: 'device_disconnected'
19048
19080
  }
19049
19081
  | {
19050
19082
  message: string
19051
19083
  is_device_error: true
19084
+ created_at: string
19052
19085
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19053
19086
  error_code: 'empty_backup_access_code_pool'
19054
19087
  }
19055
19088
  | {
19056
19089
  message: string
19057
19090
  is_device_error: true
19091
+ created_at: string
19058
19092
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19059
19093
  error_code: 'august_lock_not_authorized'
19060
19094
  }
19061
19095
  | {
19062
19096
  message: string
19063
19097
  is_device_error: true
19098
+ created_at: string
19064
19099
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19065
19100
  error_code: 'august_lock_missing_bridge'
19066
19101
  }
19067
19102
  | {
19068
19103
  message: string
19069
19104
  is_device_error: true
19070
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19071
- error_code: 'salto_site_user_limit_reached'
19072
- }
19073
- | {
19074
- message: string
19075
- is_device_error: true
19105
+ created_at: string
19076
19106
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19077
19107
  error_code: 'ttlock_lock_not_paired_to_gateway'
19078
19108
  }
19079
19109
  | {
19080
19110
  message: string
19081
19111
  is_device_error: true
19112
+ created_at: string
19082
19113
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19083
19114
  error_code: 'missing_device_credentials'
19084
19115
  }
19085
19116
  | {
19086
19117
  message: string
19087
19118
  is_device_error: true
19119
+ created_at: string
19088
19120
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19089
19121
  error_code: 'auxiliary_heat_running'
19090
19122
  }
19091
19123
  | {
19092
19124
  message: string
19093
19125
  is_device_error: true
19094
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19095
- error_code: 'subscription_required'
19096
- }
19097
- | {
19098
- /** Date and time at which Seam created the error. */
19099
19126
  created_at: string
19100
- message: string
19101
- is_connected_account_error: true
19102
19127
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19103
- error_code: 'account_disconnected'
19128
+ error_code: 'subscription_required'
19104
19129
  }
19105
19130
  | {
19106
19131
  /** Date and time at which Seam created the error. */
@@ -19110,102 +19135,102 @@ export interface Routes {
19110
19135
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19111
19136
  error_code: 'invalid_credentials'
19112
19137
  }
19113
- | {
19114
- /** Date and time at which Seam created the error. */
19115
- created_at: string
19116
- message: string
19117
- is_connected_account_error: true
19118
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19119
- error_code: 'salto_ks_subscription_limit_exceeded'
19120
- salto_ks_metadata: {
19121
- sites: Array<{
19122
- site_id: string
19123
- site_name: string
19124
- subscribed_site_user_count: number
19125
- site_user_subscription_limit: number
19126
- }>
19127
- }
19128
- }
19129
19138
  >
19130
19139
  /** 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. */
19131
19140
  warnings: Array<
19132
19141
  | {
19133
19142
  message: string
19143
+ created_at: string
19134
19144
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19135
19145
  warning_code: 'partial_backup_access_code_pool'
19136
19146
  }
19137
19147
  | {
19138
19148
  message: string
19149
+ created_at: string
19139
19150
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19140
19151
  warning_code: 'many_active_backup_codes'
19141
19152
  }
19142
19153
  | {
19143
19154
  message: string
19155
+ created_at: string
19144
19156
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19145
19157
  warning_code: 'salto_unknown_device_type'
19146
19158
  }
19147
19159
  | {
19148
19160
  message: string
19161
+ created_at: string
19149
19162
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19150
19163
  warning_code: 'wyze_device_missing_gateway'
19151
19164
  }
19152
19165
  | {
19153
19166
  message: string
19167
+ created_at: string
19154
19168
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19155
19169
  warning_code: 'functional_offline_device'
19156
19170
  }
19157
19171
  | {
19158
19172
  message: string
19173
+ created_at: string
19159
19174
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19160
19175
  warning_code: 'third_party_integration_detected'
19161
19176
  }
19162
19177
  | {
19163
19178
  message: string
19179
+ created_at: string
19164
19180
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19165
19181
  warning_code: 'nest_thermostat_in_manual_eco_mode'
19166
19182
  }
19167
19183
  | {
19168
19184
  message: string
19185
+ created_at: string
19169
19186
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19170
19187
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
19171
19188
  }
19172
19189
  | {
19173
19190
  message: string
19191
+ created_at: string
19174
19192
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19175
19193
  warning_code: 'ttlock_weak_gateway_signal'
19176
19194
  }
19177
19195
  | {
19178
19196
  message: string
19197
+ created_at: string
19179
19198
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19180
19199
  warning_code: 'temperature_threshold_exceeded'
19181
19200
  }
19182
19201
  | {
19183
19202
  message: string
19203
+ created_at: string
19184
19204
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19185
19205
  warning_code: 'device_communication_degraded'
19186
19206
  }
19187
19207
  | {
19188
19208
  message: string
19209
+ created_at: string
19189
19210
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19190
19211
  warning_code: 'scheduled_maintenance_window'
19191
19212
  }
19192
19213
  | {
19193
19214
  message: string
19215
+ created_at: string
19194
19216
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19195
19217
  warning_code: 'device_has_flaky_connection'
19196
19218
  }
19197
19219
  | {
19198
19220
  message: string
19221
+ created_at: string
19199
19222
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19200
19223
  warning_code: 'salto_office_mode'
19201
19224
  }
19202
19225
  | {
19203
19226
  message: string
19227
+ created_at: string
19204
19228
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19205
19229
  warning_code: 'salto_privacy_mode'
19206
19230
  }
19207
19231
  | {
19208
19232
  message: string
19233
+ created_at: string
19209
19234
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
19210
19235
  warning_code: 'unknown_issue_with_phone'
19211
19236
  }
@@ -22803,85 +22828,98 @@ export interface Routes {
22803
22828
  workspace_id: string
22804
22829
  /** 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. */
22805
22830
  errors: Array<
22831
+ | {
22832
+ message: string
22833
+ is_device_error: false
22834
+ created_at: string
22835
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22836
+ error_code: 'account_disconnected'
22837
+ is_connected_account_error: true
22838
+ }
22839
+ | {
22840
+ message: string
22841
+ is_device_error: false
22842
+ created_at: string
22843
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22844
+ error_code: 'salto_ks_subscription_limit_exceeded'
22845
+ is_connected_account_error: true
22846
+ }
22806
22847
  | {
22807
22848
  message: string
22808
22849
  is_device_error: true
22850
+ created_at: string
22809
22851
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22810
22852
  error_code: 'device_offline'
22811
22853
  }
22812
22854
  | {
22813
22855
  message: string
22814
22856
  is_device_error: true
22857
+ created_at: string
22815
22858
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22816
22859
  error_code: 'device_removed'
22817
22860
  }
22818
22861
  | {
22819
22862
  message: string
22820
22863
  is_device_error: true
22864
+ created_at: string
22821
22865
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22822
22866
  error_code: 'hub_disconnected'
22823
22867
  }
22824
22868
  | {
22825
22869
  message: string
22826
22870
  is_device_error: true
22871
+ created_at: string
22827
22872
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22828
22873
  error_code: 'device_disconnected'
22829
22874
  }
22830
22875
  | {
22831
22876
  message: string
22832
22877
  is_device_error: true
22878
+ created_at: string
22833
22879
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22834
22880
  error_code: 'empty_backup_access_code_pool'
22835
22881
  }
22836
22882
  | {
22837
22883
  message: string
22838
22884
  is_device_error: true
22885
+ created_at: string
22839
22886
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22840
22887
  error_code: 'august_lock_not_authorized'
22841
22888
  }
22842
22889
  | {
22843
22890
  message: string
22844
22891
  is_device_error: true
22892
+ created_at: string
22845
22893
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22846
22894
  error_code: 'august_lock_missing_bridge'
22847
22895
  }
22848
22896
  | {
22849
22897
  message: string
22850
22898
  is_device_error: true
22851
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22852
- error_code: 'salto_site_user_limit_reached'
22853
- }
22854
- | {
22855
- message: string
22856
- is_device_error: true
22899
+ created_at: string
22857
22900
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22858
22901
  error_code: 'ttlock_lock_not_paired_to_gateway'
22859
22902
  }
22860
22903
  | {
22861
22904
  message: string
22862
22905
  is_device_error: true
22906
+ created_at: string
22863
22907
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22864
22908
  error_code: 'missing_device_credentials'
22865
22909
  }
22866
22910
  | {
22867
22911
  message: string
22868
22912
  is_device_error: true
22913
+ created_at: string
22869
22914
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22870
22915
  error_code: 'auxiliary_heat_running'
22871
22916
  }
22872
22917
  | {
22873
22918
  message: string
22874
22919
  is_device_error: true
22875
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22876
- error_code: 'subscription_required'
22877
- }
22878
- | {
22879
- /** Date and time at which Seam created the error. */
22880
22920
  created_at: string
22881
- message: string
22882
- is_connected_account_error: true
22883
22921
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22884
- error_code: 'account_disconnected'
22922
+ error_code: 'subscription_required'
22885
22923
  }
22886
22924
  | {
22887
22925
  /** Date and time at which Seam created the error. */
@@ -22891,102 +22929,102 @@ export interface Routes {
22891
22929
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22892
22930
  error_code: 'invalid_credentials'
22893
22931
  }
22894
- | {
22895
- /** Date and time at which Seam created the error. */
22896
- created_at: string
22897
- message: string
22898
- is_connected_account_error: true
22899
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22900
- error_code: 'salto_ks_subscription_limit_exceeded'
22901
- salto_ks_metadata: {
22902
- sites: Array<{
22903
- site_id: string
22904
- site_name: string
22905
- subscribed_site_user_count: number
22906
- site_user_subscription_limit: number
22907
- }>
22908
- }
22909
- }
22910
22932
  >
22911
22933
  /** 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. */
22912
22934
  warnings: Array<
22913
22935
  | {
22914
22936
  message: string
22937
+ created_at: string
22915
22938
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22916
22939
  warning_code: 'partial_backup_access_code_pool'
22917
22940
  }
22918
22941
  | {
22919
22942
  message: string
22943
+ created_at: string
22920
22944
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22921
22945
  warning_code: 'many_active_backup_codes'
22922
22946
  }
22923
22947
  | {
22924
22948
  message: string
22949
+ created_at: string
22925
22950
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22926
22951
  warning_code: 'salto_unknown_device_type'
22927
22952
  }
22928
22953
  | {
22929
22954
  message: string
22955
+ created_at: string
22930
22956
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22931
22957
  warning_code: 'wyze_device_missing_gateway'
22932
22958
  }
22933
22959
  | {
22934
22960
  message: string
22961
+ created_at: string
22935
22962
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22936
22963
  warning_code: 'functional_offline_device'
22937
22964
  }
22938
22965
  | {
22939
22966
  message: string
22967
+ created_at: string
22940
22968
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22941
22969
  warning_code: 'third_party_integration_detected'
22942
22970
  }
22943
22971
  | {
22944
22972
  message: string
22973
+ created_at: string
22945
22974
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22946
22975
  warning_code: 'nest_thermostat_in_manual_eco_mode'
22947
22976
  }
22948
22977
  | {
22949
22978
  message: string
22979
+ created_at: string
22950
22980
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22951
22981
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
22952
22982
  }
22953
22983
  | {
22954
22984
  message: string
22985
+ created_at: string
22955
22986
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22956
22987
  warning_code: 'ttlock_weak_gateway_signal'
22957
22988
  }
22958
22989
  | {
22959
22990
  message: string
22991
+ created_at: string
22960
22992
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22961
22993
  warning_code: 'temperature_threshold_exceeded'
22962
22994
  }
22963
22995
  | {
22964
22996
  message: string
22997
+ created_at: string
22965
22998
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22966
22999
  warning_code: 'device_communication_degraded'
22967
23000
  }
22968
23001
  | {
22969
23002
  message: string
23003
+ created_at: string
22970
23004
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22971
23005
  warning_code: 'scheduled_maintenance_window'
22972
23006
  }
22973
23007
  | {
22974
23008
  message: string
23009
+ created_at: string
22975
23010
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22976
23011
  warning_code: 'device_has_flaky_connection'
22977
23012
  }
22978
23013
  | {
22979
23014
  message: string
23015
+ created_at: string
22980
23016
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22981
23017
  warning_code: 'salto_office_mode'
22982
23018
  }
22983
23019
  | {
22984
23020
  message: string
23021
+ created_at: string
22985
23022
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22986
23023
  warning_code: 'salto_privacy_mode'
22987
23024
  }
22988
23025
  | {
22989
23026
  message: string
23027
+ created_at: string
22990
23028
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22991
23029
  warning_code: 'unknown_issue_with_phone'
22992
23030
  }
@@ -23698,85 +23736,98 @@ export interface Routes {
23698
23736
  workspace_id: string
23699
23737
  /** 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. */
23700
23738
  errors: Array<
23739
+ | {
23740
+ message: string
23741
+ is_device_error: false
23742
+ created_at: string
23743
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23744
+ error_code: 'account_disconnected'
23745
+ is_connected_account_error: true
23746
+ }
23747
+ | {
23748
+ message: string
23749
+ is_device_error: false
23750
+ created_at: string
23751
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23752
+ error_code: 'salto_ks_subscription_limit_exceeded'
23753
+ is_connected_account_error: true
23754
+ }
23701
23755
  | {
23702
23756
  message: string
23703
23757
  is_device_error: true
23758
+ created_at: string
23704
23759
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23705
23760
  error_code: 'device_offline'
23706
23761
  }
23707
23762
  | {
23708
23763
  message: string
23709
23764
  is_device_error: true
23765
+ created_at: string
23710
23766
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23711
23767
  error_code: 'device_removed'
23712
23768
  }
23713
23769
  | {
23714
23770
  message: string
23715
23771
  is_device_error: true
23772
+ created_at: string
23716
23773
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23717
23774
  error_code: 'hub_disconnected'
23718
23775
  }
23719
23776
  | {
23720
23777
  message: string
23721
23778
  is_device_error: true
23779
+ created_at: string
23722
23780
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23723
23781
  error_code: 'device_disconnected'
23724
23782
  }
23725
23783
  | {
23726
23784
  message: string
23727
23785
  is_device_error: true
23786
+ created_at: string
23728
23787
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23729
23788
  error_code: 'empty_backup_access_code_pool'
23730
23789
  }
23731
23790
  | {
23732
23791
  message: string
23733
23792
  is_device_error: true
23793
+ created_at: string
23734
23794
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23735
23795
  error_code: 'august_lock_not_authorized'
23736
23796
  }
23737
23797
  | {
23738
23798
  message: string
23739
23799
  is_device_error: true
23800
+ created_at: string
23740
23801
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23741
23802
  error_code: 'august_lock_missing_bridge'
23742
23803
  }
23743
23804
  | {
23744
23805
  message: string
23745
23806
  is_device_error: true
23746
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23747
- error_code: 'salto_site_user_limit_reached'
23748
- }
23749
- | {
23750
- message: string
23751
- is_device_error: true
23807
+ created_at: string
23752
23808
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23753
23809
  error_code: 'ttlock_lock_not_paired_to_gateway'
23754
23810
  }
23755
23811
  | {
23756
23812
  message: string
23757
23813
  is_device_error: true
23814
+ created_at: string
23758
23815
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23759
23816
  error_code: 'missing_device_credentials'
23760
23817
  }
23761
23818
  | {
23762
23819
  message: string
23763
23820
  is_device_error: true
23821
+ created_at: string
23764
23822
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23765
23823
  error_code: 'auxiliary_heat_running'
23766
23824
  }
23767
23825
  | {
23768
23826
  message: string
23769
23827
  is_device_error: true
23770
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23771
- error_code: 'subscription_required'
23772
- }
23773
- | {
23774
- /** Date and time at which Seam created the error. */
23775
23828
  created_at: string
23776
- message: string
23777
- is_connected_account_error: true
23778
23829
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23779
- error_code: 'account_disconnected'
23830
+ error_code: 'subscription_required'
23780
23831
  }
23781
23832
  | {
23782
23833
  /** Date and time at which Seam created the error. */
@@ -23786,102 +23837,102 @@ export interface Routes {
23786
23837
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23787
23838
  error_code: 'invalid_credentials'
23788
23839
  }
23789
- | {
23790
- /** Date and time at which Seam created the error. */
23791
- created_at: string
23792
- message: string
23793
- is_connected_account_error: true
23794
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23795
- error_code: 'salto_ks_subscription_limit_exceeded'
23796
- salto_ks_metadata: {
23797
- sites: Array<{
23798
- site_id: string
23799
- site_name: string
23800
- subscribed_site_user_count: number
23801
- site_user_subscription_limit: number
23802
- }>
23803
- }
23804
- }
23805
23840
  >
23806
23841
  /** 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. */
23807
23842
  warnings: Array<
23808
23843
  | {
23809
23844
  message: string
23845
+ created_at: string
23810
23846
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23811
23847
  warning_code: 'partial_backup_access_code_pool'
23812
23848
  }
23813
23849
  | {
23814
23850
  message: string
23851
+ created_at: string
23815
23852
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23816
23853
  warning_code: 'many_active_backup_codes'
23817
23854
  }
23818
23855
  | {
23819
23856
  message: string
23857
+ created_at: string
23820
23858
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23821
23859
  warning_code: 'salto_unknown_device_type'
23822
23860
  }
23823
23861
  | {
23824
23862
  message: string
23863
+ created_at: string
23825
23864
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23826
23865
  warning_code: 'wyze_device_missing_gateway'
23827
23866
  }
23828
23867
  | {
23829
23868
  message: string
23869
+ created_at: string
23830
23870
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23831
23871
  warning_code: 'functional_offline_device'
23832
23872
  }
23833
23873
  | {
23834
23874
  message: string
23875
+ created_at: string
23835
23876
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23836
23877
  warning_code: 'third_party_integration_detected'
23837
23878
  }
23838
23879
  | {
23839
23880
  message: string
23881
+ created_at: string
23840
23882
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23841
23883
  warning_code: 'nest_thermostat_in_manual_eco_mode'
23842
23884
  }
23843
23885
  | {
23844
23886
  message: string
23887
+ created_at: string
23845
23888
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23846
23889
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
23847
23890
  }
23848
23891
  | {
23849
23892
  message: string
23893
+ created_at: string
23850
23894
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23851
23895
  warning_code: 'ttlock_weak_gateway_signal'
23852
23896
  }
23853
23897
  | {
23854
23898
  message: string
23899
+ created_at: string
23855
23900
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23856
23901
  warning_code: 'temperature_threshold_exceeded'
23857
23902
  }
23858
23903
  | {
23859
23904
  message: string
23905
+ created_at: string
23860
23906
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23861
23907
  warning_code: 'device_communication_degraded'
23862
23908
  }
23863
23909
  | {
23864
23910
  message: string
23911
+ created_at: string
23865
23912
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23866
23913
  warning_code: 'scheduled_maintenance_window'
23867
23914
  }
23868
23915
  | {
23869
23916
  message: string
23917
+ created_at: string
23870
23918
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23871
23919
  warning_code: 'device_has_flaky_connection'
23872
23920
  }
23873
23921
  | {
23874
23922
  message: string
23923
+ created_at: string
23875
23924
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23876
23925
  warning_code: 'salto_office_mode'
23877
23926
  }
23878
23927
  | {
23879
23928
  message: string
23929
+ created_at: string
23880
23930
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23881
23931
  warning_code: 'salto_privacy_mode'
23882
23932
  }
23883
23933
  | {
23884
23934
  message: string
23935
+ created_at: string
23885
23936
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23886
23937
  warning_code: 'unknown_issue_with_phone'
23887
23938
  }
@@ -24776,85 +24827,98 @@ export interface Routes {
24776
24827
  workspace_id: string
24777
24828
  /** 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. */
24778
24829
  errors: Array<
24830
+ | {
24831
+ message: string
24832
+ is_device_error: false
24833
+ created_at: string
24834
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24835
+ error_code: 'account_disconnected'
24836
+ is_connected_account_error: true
24837
+ }
24838
+ | {
24839
+ message: string
24840
+ is_device_error: false
24841
+ created_at: string
24842
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24843
+ error_code: 'salto_ks_subscription_limit_exceeded'
24844
+ is_connected_account_error: true
24845
+ }
24779
24846
  | {
24780
24847
  message: string
24781
24848
  is_device_error: true
24849
+ created_at: string
24782
24850
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24783
24851
  error_code: 'device_offline'
24784
24852
  }
24785
24853
  | {
24786
24854
  message: string
24787
24855
  is_device_error: true
24856
+ created_at: string
24788
24857
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24789
24858
  error_code: 'device_removed'
24790
24859
  }
24791
24860
  | {
24792
24861
  message: string
24793
24862
  is_device_error: true
24863
+ created_at: string
24794
24864
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24795
24865
  error_code: 'hub_disconnected'
24796
24866
  }
24797
24867
  | {
24798
24868
  message: string
24799
24869
  is_device_error: true
24870
+ created_at: string
24800
24871
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24801
24872
  error_code: 'device_disconnected'
24802
24873
  }
24803
24874
  | {
24804
24875
  message: string
24805
24876
  is_device_error: true
24877
+ created_at: string
24806
24878
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24807
24879
  error_code: 'empty_backup_access_code_pool'
24808
24880
  }
24809
24881
  | {
24810
24882
  message: string
24811
24883
  is_device_error: true
24884
+ created_at: string
24812
24885
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24813
24886
  error_code: 'august_lock_not_authorized'
24814
24887
  }
24815
24888
  | {
24816
24889
  message: string
24817
24890
  is_device_error: true
24891
+ created_at: string
24818
24892
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24819
24893
  error_code: 'august_lock_missing_bridge'
24820
24894
  }
24821
24895
  | {
24822
24896
  message: string
24823
24897
  is_device_error: true
24824
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24825
- error_code: 'salto_site_user_limit_reached'
24826
- }
24827
- | {
24828
- message: string
24829
- is_device_error: true
24898
+ created_at: string
24830
24899
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24831
24900
  error_code: 'ttlock_lock_not_paired_to_gateway'
24832
24901
  }
24833
24902
  | {
24834
24903
  message: string
24835
24904
  is_device_error: true
24905
+ created_at: string
24836
24906
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24837
24907
  error_code: 'missing_device_credentials'
24838
24908
  }
24839
24909
  | {
24840
24910
  message: string
24841
24911
  is_device_error: true
24912
+ created_at: string
24842
24913
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24843
24914
  error_code: 'auxiliary_heat_running'
24844
24915
  }
24845
24916
  | {
24846
24917
  message: string
24847
24918
  is_device_error: true
24848
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24849
- error_code: 'subscription_required'
24850
- }
24851
- | {
24852
- /** Date and time at which Seam created the error. */
24853
24919
  created_at: string
24854
- message: string
24855
- is_connected_account_error: true
24856
24920
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24857
- error_code: 'account_disconnected'
24921
+ error_code: 'subscription_required'
24858
24922
  }
24859
24923
  | {
24860
24924
  /** Date and time at which Seam created the error. */
@@ -24864,102 +24928,102 @@ export interface Routes {
24864
24928
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24865
24929
  error_code: 'invalid_credentials'
24866
24930
  }
24867
- | {
24868
- /** Date and time at which Seam created the error. */
24869
- created_at: string
24870
- message: string
24871
- is_connected_account_error: true
24872
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24873
- error_code: 'salto_ks_subscription_limit_exceeded'
24874
- salto_ks_metadata: {
24875
- sites: Array<{
24876
- site_id: string
24877
- site_name: string
24878
- subscribed_site_user_count: number
24879
- site_user_subscription_limit: number
24880
- }>
24881
- }
24882
- }
24883
24931
  >
24884
24932
  /** 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. */
24885
24933
  warnings: Array<
24886
24934
  | {
24887
24935
  message: string
24936
+ created_at: string
24888
24937
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24889
24938
  warning_code: 'partial_backup_access_code_pool'
24890
24939
  }
24891
24940
  | {
24892
24941
  message: string
24942
+ created_at: string
24893
24943
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24894
24944
  warning_code: 'many_active_backup_codes'
24895
24945
  }
24896
24946
  | {
24897
24947
  message: string
24948
+ created_at: string
24898
24949
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24899
24950
  warning_code: 'salto_unknown_device_type'
24900
24951
  }
24901
24952
  | {
24902
24953
  message: string
24954
+ created_at: string
24903
24955
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24904
24956
  warning_code: 'wyze_device_missing_gateway'
24905
24957
  }
24906
24958
  | {
24907
24959
  message: string
24960
+ created_at: string
24908
24961
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24909
24962
  warning_code: 'functional_offline_device'
24910
24963
  }
24911
24964
  | {
24912
24965
  message: string
24966
+ created_at: string
24913
24967
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24914
24968
  warning_code: 'third_party_integration_detected'
24915
24969
  }
24916
24970
  | {
24917
24971
  message: string
24972
+ created_at: string
24918
24973
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24919
24974
  warning_code: 'nest_thermostat_in_manual_eco_mode'
24920
24975
  }
24921
24976
  | {
24922
24977
  message: string
24978
+ created_at: string
24923
24979
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24924
24980
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
24925
24981
  }
24926
24982
  | {
24927
24983
  message: string
24984
+ created_at: string
24928
24985
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24929
24986
  warning_code: 'ttlock_weak_gateway_signal'
24930
24987
  }
24931
24988
  | {
24932
24989
  message: string
24990
+ created_at: string
24933
24991
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24934
24992
  warning_code: 'temperature_threshold_exceeded'
24935
24993
  }
24936
24994
  | {
24937
24995
  message: string
24996
+ created_at: string
24938
24997
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24939
24998
  warning_code: 'device_communication_degraded'
24940
24999
  }
24941
25000
  | {
24942
25001
  message: string
25002
+ created_at: string
24943
25003
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24944
25004
  warning_code: 'scheduled_maintenance_window'
24945
25005
  }
24946
25006
  | {
24947
25007
  message: string
25008
+ created_at: string
24948
25009
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24949
25010
  warning_code: 'device_has_flaky_connection'
24950
25011
  }
24951
25012
  | {
24952
25013
  message: string
25014
+ created_at: string
24953
25015
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24954
25016
  warning_code: 'salto_office_mode'
24955
25017
  }
24956
25018
  | {
24957
25019
  message: string
25020
+ created_at: string
24958
25021
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24959
25022
  warning_code: 'salto_privacy_mode'
24960
25023
  }
24961
25024
  | {
24962
25025
  message: string
25026
+ created_at: string
24963
25027
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24964
25028
  warning_code: 'unknown_issue_with_phone'
24965
25029
  }
@@ -25670,85 +25734,98 @@ export interface Routes {
25670
25734
  workspace_id: string
25671
25735
  /** 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. */
25672
25736
  errors: Array<
25737
+ | {
25738
+ message: string
25739
+ is_device_error: false
25740
+ created_at: string
25741
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25742
+ error_code: 'account_disconnected'
25743
+ is_connected_account_error: true
25744
+ }
25745
+ | {
25746
+ message: string
25747
+ is_device_error: false
25748
+ created_at: string
25749
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25750
+ error_code: 'salto_ks_subscription_limit_exceeded'
25751
+ is_connected_account_error: true
25752
+ }
25673
25753
  | {
25674
25754
  message: string
25675
25755
  is_device_error: true
25756
+ created_at: string
25676
25757
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25677
25758
  error_code: 'device_offline'
25678
25759
  }
25679
25760
  | {
25680
25761
  message: string
25681
25762
  is_device_error: true
25763
+ created_at: string
25682
25764
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25683
25765
  error_code: 'device_removed'
25684
25766
  }
25685
25767
  | {
25686
25768
  message: string
25687
25769
  is_device_error: true
25770
+ created_at: string
25688
25771
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25689
25772
  error_code: 'hub_disconnected'
25690
25773
  }
25691
25774
  | {
25692
25775
  message: string
25693
25776
  is_device_error: true
25777
+ created_at: string
25694
25778
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25695
25779
  error_code: 'device_disconnected'
25696
25780
  }
25697
25781
  | {
25698
25782
  message: string
25699
25783
  is_device_error: true
25784
+ created_at: string
25700
25785
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25701
25786
  error_code: 'empty_backup_access_code_pool'
25702
25787
  }
25703
25788
  | {
25704
25789
  message: string
25705
25790
  is_device_error: true
25791
+ created_at: string
25706
25792
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25707
25793
  error_code: 'august_lock_not_authorized'
25708
25794
  }
25709
25795
  | {
25710
25796
  message: string
25711
25797
  is_device_error: true
25798
+ created_at: string
25712
25799
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25713
25800
  error_code: 'august_lock_missing_bridge'
25714
25801
  }
25715
25802
  | {
25716
25803
  message: string
25717
25804
  is_device_error: true
25718
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25719
- error_code: 'salto_site_user_limit_reached'
25720
- }
25721
- | {
25722
- message: string
25723
- is_device_error: true
25805
+ created_at: string
25724
25806
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25725
25807
  error_code: 'ttlock_lock_not_paired_to_gateway'
25726
25808
  }
25727
25809
  | {
25728
25810
  message: string
25729
25811
  is_device_error: true
25812
+ created_at: string
25730
25813
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25731
25814
  error_code: 'missing_device_credentials'
25732
25815
  }
25733
25816
  | {
25734
25817
  message: string
25735
25818
  is_device_error: true
25819
+ created_at: string
25736
25820
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25737
25821
  error_code: 'auxiliary_heat_running'
25738
25822
  }
25739
25823
  | {
25740
25824
  message: string
25741
25825
  is_device_error: true
25742
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25743
- error_code: 'subscription_required'
25744
- }
25745
- | {
25746
- /** Date and time at which Seam created the error. */
25747
25826
  created_at: string
25748
- message: string
25749
- is_connected_account_error: true
25750
25827
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25751
- error_code: 'account_disconnected'
25828
+ error_code: 'subscription_required'
25752
25829
  }
25753
25830
  | {
25754
25831
  /** Date and time at which Seam created the error. */
@@ -25758,102 +25835,102 @@ export interface Routes {
25758
25835
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25759
25836
  error_code: 'invalid_credentials'
25760
25837
  }
25761
- | {
25762
- /** Date and time at which Seam created the error. */
25763
- created_at: string
25764
- message: string
25765
- is_connected_account_error: true
25766
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25767
- error_code: 'salto_ks_subscription_limit_exceeded'
25768
- salto_ks_metadata: {
25769
- sites: Array<{
25770
- site_id: string
25771
- site_name: string
25772
- subscribed_site_user_count: number
25773
- site_user_subscription_limit: number
25774
- }>
25775
- }
25776
- }
25777
25838
  >
25778
25839
  /** 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. */
25779
25840
  warnings: Array<
25780
25841
  | {
25781
25842
  message: string
25843
+ created_at: string
25782
25844
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25783
25845
  warning_code: 'partial_backup_access_code_pool'
25784
25846
  }
25785
25847
  | {
25786
25848
  message: string
25849
+ created_at: string
25787
25850
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25788
25851
  warning_code: 'many_active_backup_codes'
25789
25852
  }
25790
25853
  | {
25791
25854
  message: string
25855
+ created_at: string
25792
25856
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25793
25857
  warning_code: 'salto_unknown_device_type'
25794
25858
  }
25795
25859
  | {
25796
25860
  message: string
25861
+ created_at: string
25797
25862
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25798
25863
  warning_code: 'wyze_device_missing_gateway'
25799
25864
  }
25800
25865
  | {
25801
25866
  message: string
25867
+ created_at: string
25802
25868
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25803
25869
  warning_code: 'functional_offline_device'
25804
25870
  }
25805
25871
  | {
25806
25872
  message: string
25873
+ created_at: string
25807
25874
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25808
25875
  warning_code: 'third_party_integration_detected'
25809
25876
  }
25810
25877
  | {
25811
25878
  message: string
25879
+ created_at: string
25812
25880
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25813
25881
  warning_code: 'nest_thermostat_in_manual_eco_mode'
25814
25882
  }
25815
25883
  | {
25816
25884
  message: string
25885
+ created_at: string
25817
25886
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25818
25887
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
25819
25888
  }
25820
25889
  | {
25821
25890
  message: string
25891
+ created_at: string
25822
25892
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25823
25893
  warning_code: 'ttlock_weak_gateway_signal'
25824
25894
  }
25825
25895
  | {
25826
25896
  message: string
25897
+ created_at: string
25827
25898
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25828
25899
  warning_code: 'temperature_threshold_exceeded'
25829
25900
  }
25830
25901
  | {
25831
25902
  message: string
25903
+ created_at: string
25832
25904
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25833
25905
  warning_code: 'device_communication_degraded'
25834
25906
  }
25835
25907
  | {
25836
25908
  message: string
25909
+ created_at: string
25837
25910
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25838
25911
  warning_code: 'scheduled_maintenance_window'
25839
25912
  }
25840
25913
  | {
25841
25914
  message: string
25915
+ created_at: string
25842
25916
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25843
25917
  warning_code: 'device_has_flaky_connection'
25844
25918
  }
25845
25919
  | {
25846
25920
  message: string
25921
+ created_at: string
25847
25922
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25848
25923
  warning_code: 'salto_office_mode'
25849
25924
  }
25850
25925
  | {
25851
25926
  message: string
25927
+ created_at: string
25852
25928
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25853
25929
  warning_code: 'salto_privacy_mode'
25854
25930
  }
25855
25931
  | {
25856
25932
  message: string
25933
+ created_at: string
25857
25934
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
25858
25935
  warning_code: 'unknown_issue_with_phone'
25859
25936
  }
@@ -28903,85 +28980,98 @@ export interface Routes {
28903
28980
  workspace_id: string
28904
28981
  /** 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. */
28905
28982
  errors: Array<
28983
+ | {
28984
+ message: string
28985
+ is_device_error: false
28986
+ created_at: string
28987
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28988
+ error_code: 'account_disconnected'
28989
+ is_connected_account_error: true
28990
+ }
28991
+ | {
28992
+ message: string
28993
+ is_device_error: false
28994
+ created_at: string
28995
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28996
+ error_code: 'salto_ks_subscription_limit_exceeded'
28997
+ is_connected_account_error: true
28998
+ }
28906
28999
  | {
28907
29000
  message: string
28908
29001
  is_device_error: true
29002
+ created_at: string
28909
29003
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28910
29004
  error_code: 'device_offline'
28911
29005
  }
28912
29006
  | {
28913
29007
  message: string
28914
29008
  is_device_error: true
29009
+ created_at: string
28915
29010
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28916
29011
  error_code: 'device_removed'
28917
29012
  }
28918
29013
  | {
28919
29014
  message: string
28920
29015
  is_device_error: true
29016
+ created_at: string
28921
29017
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28922
29018
  error_code: 'hub_disconnected'
28923
29019
  }
28924
29020
  | {
28925
29021
  message: string
28926
29022
  is_device_error: true
29023
+ created_at: string
28927
29024
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28928
29025
  error_code: 'device_disconnected'
28929
29026
  }
28930
29027
  | {
28931
29028
  message: string
28932
29029
  is_device_error: true
29030
+ created_at: string
28933
29031
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28934
29032
  error_code: 'empty_backup_access_code_pool'
28935
29033
  }
28936
29034
  | {
28937
29035
  message: string
28938
29036
  is_device_error: true
29037
+ created_at: string
28939
29038
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28940
29039
  error_code: 'august_lock_not_authorized'
28941
29040
  }
28942
29041
  | {
28943
29042
  message: string
28944
29043
  is_device_error: true
29044
+ created_at: string
28945
29045
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28946
29046
  error_code: 'august_lock_missing_bridge'
28947
29047
  }
28948
29048
  | {
28949
29049
  message: string
28950
29050
  is_device_error: true
28951
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28952
- error_code: 'salto_site_user_limit_reached'
28953
- }
28954
- | {
28955
- message: string
28956
- is_device_error: true
29051
+ created_at: string
28957
29052
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28958
29053
  error_code: 'ttlock_lock_not_paired_to_gateway'
28959
29054
  }
28960
29055
  | {
28961
29056
  message: string
28962
29057
  is_device_error: true
29058
+ created_at: string
28963
29059
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28964
29060
  error_code: 'missing_device_credentials'
28965
29061
  }
28966
29062
  | {
28967
29063
  message: string
28968
29064
  is_device_error: true
29065
+ created_at: string
28969
29066
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28970
29067
  error_code: 'auxiliary_heat_running'
28971
29068
  }
28972
29069
  | {
28973
29070
  message: string
28974
29071
  is_device_error: true
28975
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28976
- error_code: 'subscription_required'
28977
- }
28978
- | {
28979
- /** Date and time at which Seam created the error. */
28980
29072
  created_at: string
28981
- message: string
28982
- is_connected_account_error: true
28983
29073
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28984
- error_code: 'account_disconnected'
29074
+ error_code: 'subscription_required'
28985
29075
  }
28986
29076
  | {
28987
29077
  /** Date and time at which Seam created the error. */
@@ -28991,102 +29081,102 @@ export interface Routes {
28991
29081
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28992
29082
  error_code: 'invalid_credentials'
28993
29083
  }
28994
- | {
28995
- /** Date and time at which Seam created the error. */
28996
- created_at: string
28997
- message: string
28998
- is_connected_account_error: true
28999
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29000
- error_code: 'salto_ks_subscription_limit_exceeded'
29001
- salto_ks_metadata: {
29002
- sites: Array<{
29003
- site_id: string
29004
- site_name: string
29005
- subscribed_site_user_count: number
29006
- site_user_subscription_limit: number
29007
- }>
29008
- }
29009
- }
29010
29084
  >
29011
29085
  /** 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. */
29012
29086
  warnings: Array<
29013
29087
  | {
29014
29088
  message: string
29089
+ created_at: string
29015
29090
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29016
29091
  warning_code: 'partial_backup_access_code_pool'
29017
29092
  }
29018
29093
  | {
29019
29094
  message: string
29095
+ created_at: string
29020
29096
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29021
29097
  warning_code: 'many_active_backup_codes'
29022
29098
  }
29023
29099
  | {
29024
29100
  message: string
29101
+ created_at: string
29025
29102
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29026
29103
  warning_code: 'salto_unknown_device_type'
29027
29104
  }
29028
29105
  | {
29029
29106
  message: string
29107
+ created_at: string
29030
29108
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29031
29109
  warning_code: 'wyze_device_missing_gateway'
29032
29110
  }
29033
29111
  | {
29034
29112
  message: string
29113
+ created_at: string
29035
29114
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29036
29115
  warning_code: 'functional_offline_device'
29037
29116
  }
29038
29117
  | {
29039
29118
  message: string
29119
+ created_at: string
29040
29120
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29041
29121
  warning_code: 'third_party_integration_detected'
29042
29122
  }
29043
29123
  | {
29044
29124
  message: string
29125
+ created_at: string
29045
29126
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29046
29127
  warning_code: 'nest_thermostat_in_manual_eco_mode'
29047
29128
  }
29048
29129
  | {
29049
29130
  message: string
29131
+ created_at: string
29050
29132
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29051
29133
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
29052
29134
  }
29053
29135
  | {
29054
29136
  message: string
29137
+ created_at: string
29055
29138
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29056
29139
  warning_code: 'ttlock_weak_gateway_signal'
29057
29140
  }
29058
29141
  | {
29059
29142
  message: string
29143
+ created_at: string
29060
29144
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29061
29145
  warning_code: 'temperature_threshold_exceeded'
29062
29146
  }
29063
29147
  | {
29064
29148
  message: string
29149
+ created_at: string
29065
29150
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29066
29151
  warning_code: 'device_communication_degraded'
29067
29152
  }
29068
29153
  | {
29069
29154
  message: string
29155
+ created_at: string
29070
29156
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29071
29157
  warning_code: 'scheduled_maintenance_window'
29072
29158
  }
29073
29159
  | {
29074
29160
  message: string
29161
+ created_at: string
29075
29162
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29076
29163
  warning_code: 'device_has_flaky_connection'
29077
29164
  }
29078
29165
  | {
29079
29166
  message: string
29167
+ created_at: string
29080
29168
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29081
29169
  warning_code: 'salto_office_mode'
29082
29170
  }
29083
29171
  | {
29084
29172
  message: string
29173
+ created_at: string
29085
29174
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29086
29175
  warning_code: 'salto_privacy_mode'
29087
29176
  }
29088
29177
  | {
29089
29178
  message: string
29179
+ created_at: string
29090
29180
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29091
29181
  warning_code: 'unknown_issue_with_phone'
29092
29182
  }
@@ -29797,85 +29887,98 @@ export interface Routes {
29797
29887
  workspace_id: string
29798
29888
  /** 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. */
29799
29889
  errors: Array<
29890
+ | {
29891
+ message: string
29892
+ is_device_error: false
29893
+ created_at: string
29894
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29895
+ error_code: 'account_disconnected'
29896
+ is_connected_account_error: true
29897
+ }
29898
+ | {
29899
+ message: string
29900
+ is_device_error: false
29901
+ created_at: string
29902
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29903
+ error_code: 'salto_ks_subscription_limit_exceeded'
29904
+ is_connected_account_error: true
29905
+ }
29800
29906
  | {
29801
29907
  message: string
29802
29908
  is_device_error: true
29909
+ created_at: string
29803
29910
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29804
29911
  error_code: 'device_offline'
29805
29912
  }
29806
29913
  | {
29807
29914
  message: string
29808
29915
  is_device_error: true
29916
+ created_at: string
29809
29917
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29810
29918
  error_code: 'device_removed'
29811
29919
  }
29812
29920
  | {
29813
29921
  message: string
29814
29922
  is_device_error: true
29923
+ created_at: string
29815
29924
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29816
29925
  error_code: 'hub_disconnected'
29817
29926
  }
29818
29927
  | {
29819
29928
  message: string
29820
29929
  is_device_error: true
29930
+ created_at: string
29821
29931
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29822
29932
  error_code: 'device_disconnected'
29823
29933
  }
29824
29934
  | {
29825
29935
  message: string
29826
29936
  is_device_error: true
29937
+ created_at: string
29827
29938
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29828
29939
  error_code: 'empty_backup_access_code_pool'
29829
29940
  }
29830
29941
  | {
29831
29942
  message: string
29832
29943
  is_device_error: true
29944
+ created_at: string
29833
29945
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29834
29946
  error_code: 'august_lock_not_authorized'
29835
29947
  }
29836
29948
  | {
29837
29949
  message: string
29838
29950
  is_device_error: true
29951
+ created_at: string
29839
29952
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29840
29953
  error_code: 'august_lock_missing_bridge'
29841
29954
  }
29842
29955
  | {
29843
29956
  message: string
29844
29957
  is_device_error: true
29845
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29846
- error_code: 'salto_site_user_limit_reached'
29847
- }
29848
- | {
29849
- message: string
29850
- is_device_error: true
29958
+ created_at: string
29851
29959
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29852
29960
  error_code: 'ttlock_lock_not_paired_to_gateway'
29853
29961
  }
29854
29962
  | {
29855
29963
  message: string
29856
29964
  is_device_error: true
29965
+ created_at: string
29857
29966
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29858
29967
  error_code: 'missing_device_credentials'
29859
29968
  }
29860
29969
  | {
29861
29970
  message: string
29862
29971
  is_device_error: true
29972
+ created_at: string
29863
29973
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29864
29974
  error_code: 'auxiliary_heat_running'
29865
29975
  }
29866
29976
  | {
29867
29977
  message: string
29868
29978
  is_device_error: true
29869
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29870
- error_code: 'subscription_required'
29871
- }
29872
- | {
29873
- /** Date and time at which Seam created the error. */
29874
29979
  created_at: string
29875
- message: string
29876
- is_connected_account_error: true
29877
29980
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29878
- error_code: 'account_disconnected'
29981
+ error_code: 'subscription_required'
29879
29982
  }
29880
29983
  | {
29881
29984
  /** Date and time at which Seam created the error. */
@@ -29885,102 +29988,102 @@ export interface Routes {
29885
29988
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29886
29989
  error_code: 'invalid_credentials'
29887
29990
  }
29888
- | {
29889
- /** Date and time at which Seam created the error. */
29890
- created_at: string
29891
- message: string
29892
- is_connected_account_error: true
29893
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29894
- error_code: 'salto_ks_subscription_limit_exceeded'
29895
- salto_ks_metadata: {
29896
- sites: Array<{
29897
- site_id: string
29898
- site_name: string
29899
- subscribed_site_user_count: number
29900
- site_user_subscription_limit: number
29901
- }>
29902
- }
29903
- }
29904
29991
  >
29905
29992
  /** 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. */
29906
29993
  warnings: Array<
29907
29994
  | {
29908
29995
  message: string
29996
+ created_at: string
29909
29997
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29910
29998
  warning_code: 'partial_backup_access_code_pool'
29911
29999
  }
29912
30000
  | {
29913
30001
  message: string
30002
+ created_at: string
29914
30003
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29915
30004
  warning_code: 'many_active_backup_codes'
29916
30005
  }
29917
30006
  | {
29918
30007
  message: string
30008
+ created_at: string
29919
30009
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29920
30010
  warning_code: 'salto_unknown_device_type'
29921
30011
  }
29922
30012
  | {
29923
30013
  message: string
30014
+ created_at: string
29924
30015
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29925
30016
  warning_code: 'wyze_device_missing_gateway'
29926
30017
  }
29927
30018
  | {
29928
30019
  message: string
30020
+ created_at: string
29929
30021
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29930
30022
  warning_code: 'functional_offline_device'
29931
30023
  }
29932
30024
  | {
29933
30025
  message: string
30026
+ created_at: string
29934
30027
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29935
30028
  warning_code: 'third_party_integration_detected'
29936
30029
  }
29937
30030
  | {
29938
30031
  message: string
30032
+ created_at: string
29939
30033
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29940
30034
  warning_code: 'nest_thermostat_in_manual_eco_mode'
29941
30035
  }
29942
30036
  | {
29943
30037
  message: string
30038
+ created_at: string
29944
30039
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29945
30040
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
29946
30041
  }
29947
30042
  | {
29948
30043
  message: string
30044
+ created_at: string
29949
30045
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29950
30046
  warning_code: 'ttlock_weak_gateway_signal'
29951
30047
  }
29952
30048
  | {
29953
30049
  message: string
30050
+ created_at: string
29954
30051
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29955
30052
  warning_code: 'temperature_threshold_exceeded'
29956
30053
  }
29957
30054
  | {
29958
30055
  message: string
30056
+ created_at: string
29959
30057
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29960
30058
  warning_code: 'device_communication_degraded'
29961
30059
  }
29962
30060
  | {
29963
30061
  message: string
30062
+ created_at: string
29964
30063
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29965
30064
  warning_code: 'scheduled_maintenance_window'
29966
30065
  }
29967
30066
  | {
29968
30067
  message: string
30068
+ created_at: string
29969
30069
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29970
30070
  warning_code: 'device_has_flaky_connection'
29971
30071
  }
29972
30072
  | {
29973
30073
  message: string
30074
+ created_at: string
29974
30075
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29975
30076
  warning_code: 'salto_office_mode'
29976
30077
  }
29977
30078
  | {
29978
30079
  message: string
30080
+ created_at: string
29979
30081
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29980
30082
  warning_code: 'salto_privacy_mode'
29981
30083
  }
29982
30084
  | {
29983
30085
  message: string
30086
+ created_at: string
29984
30087
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29985
30088
  warning_code: 'unknown_issue_with_phone'
29986
30089
  }
@@ -36443,85 +36546,98 @@ export interface Routes {
36443
36546
  workspace_id: string
36444
36547
  /** 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. */
36445
36548
  errors: Array<
36549
+ | {
36550
+ message: string
36551
+ is_device_error: false
36552
+ created_at: string
36553
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36554
+ error_code: 'account_disconnected'
36555
+ is_connected_account_error: true
36556
+ }
36557
+ | {
36558
+ message: string
36559
+ is_device_error: false
36560
+ created_at: string
36561
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36562
+ error_code: 'salto_ks_subscription_limit_exceeded'
36563
+ is_connected_account_error: true
36564
+ }
36446
36565
  | {
36447
36566
  message: string
36448
36567
  is_device_error: true
36568
+ created_at: string
36449
36569
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36450
36570
  error_code: 'device_offline'
36451
36571
  }
36452
36572
  | {
36453
36573
  message: string
36454
36574
  is_device_error: true
36575
+ created_at: string
36455
36576
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36456
36577
  error_code: 'device_removed'
36457
36578
  }
36458
36579
  | {
36459
36580
  message: string
36460
36581
  is_device_error: true
36582
+ created_at: string
36461
36583
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36462
36584
  error_code: 'hub_disconnected'
36463
36585
  }
36464
36586
  | {
36465
36587
  message: string
36466
36588
  is_device_error: true
36589
+ created_at: string
36467
36590
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36468
36591
  error_code: 'device_disconnected'
36469
36592
  }
36470
36593
  | {
36471
36594
  message: string
36472
36595
  is_device_error: true
36596
+ created_at: string
36473
36597
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36474
36598
  error_code: 'empty_backup_access_code_pool'
36475
36599
  }
36476
36600
  | {
36477
36601
  message: string
36478
36602
  is_device_error: true
36603
+ created_at: string
36479
36604
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36480
36605
  error_code: 'august_lock_not_authorized'
36481
36606
  }
36482
36607
  | {
36483
36608
  message: string
36484
36609
  is_device_error: true
36610
+ created_at: string
36485
36611
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36486
36612
  error_code: 'august_lock_missing_bridge'
36487
36613
  }
36488
36614
  | {
36489
36615
  message: string
36490
36616
  is_device_error: true
36491
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36492
- error_code: 'salto_site_user_limit_reached'
36493
- }
36494
- | {
36495
- message: string
36496
- is_device_error: true
36617
+ created_at: string
36497
36618
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36498
36619
  error_code: 'ttlock_lock_not_paired_to_gateway'
36499
36620
  }
36500
36621
  | {
36501
36622
  message: string
36502
36623
  is_device_error: true
36624
+ created_at: string
36503
36625
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36504
36626
  error_code: 'missing_device_credentials'
36505
36627
  }
36506
36628
  | {
36507
36629
  message: string
36508
36630
  is_device_error: true
36631
+ created_at: string
36509
36632
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36510
36633
  error_code: 'auxiliary_heat_running'
36511
36634
  }
36512
36635
  | {
36513
36636
  message: string
36514
36637
  is_device_error: true
36515
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36516
- error_code: 'subscription_required'
36517
- }
36518
- | {
36519
- /** Date and time at which Seam created the error. */
36520
36638
  created_at: string
36521
- message: string
36522
- is_connected_account_error: true
36523
36639
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36524
- error_code: 'account_disconnected'
36640
+ error_code: 'subscription_required'
36525
36641
  }
36526
36642
  | {
36527
36643
  /** Date and time at which Seam created the error. */
@@ -36531,102 +36647,102 @@ export interface Routes {
36531
36647
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36532
36648
  error_code: 'invalid_credentials'
36533
36649
  }
36534
- | {
36535
- /** Date and time at which Seam created the error. */
36536
- created_at: string
36537
- message: string
36538
- is_connected_account_error: true
36539
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36540
- error_code: 'salto_ks_subscription_limit_exceeded'
36541
- salto_ks_metadata: {
36542
- sites: Array<{
36543
- site_id: string
36544
- site_name: string
36545
- subscribed_site_user_count: number
36546
- site_user_subscription_limit: number
36547
- }>
36548
- }
36549
- }
36550
36650
  >
36551
36651
  /** 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. */
36552
36652
  warnings: Array<
36553
36653
  | {
36554
36654
  message: string
36655
+ created_at: string
36555
36656
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36556
36657
  warning_code: 'partial_backup_access_code_pool'
36557
36658
  }
36558
36659
  | {
36559
36660
  message: string
36661
+ created_at: string
36560
36662
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36561
36663
  warning_code: 'many_active_backup_codes'
36562
36664
  }
36563
36665
  | {
36564
36666
  message: string
36667
+ created_at: string
36565
36668
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36566
36669
  warning_code: 'salto_unknown_device_type'
36567
36670
  }
36568
36671
  | {
36569
36672
  message: string
36673
+ created_at: string
36570
36674
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36571
36675
  warning_code: 'wyze_device_missing_gateway'
36572
36676
  }
36573
36677
  | {
36574
36678
  message: string
36679
+ created_at: string
36575
36680
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36576
36681
  warning_code: 'functional_offline_device'
36577
36682
  }
36578
36683
  | {
36579
36684
  message: string
36685
+ created_at: string
36580
36686
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36581
36687
  warning_code: 'third_party_integration_detected'
36582
36688
  }
36583
36689
  | {
36584
36690
  message: string
36691
+ created_at: string
36585
36692
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36586
36693
  warning_code: 'nest_thermostat_in_manual_eco_mode'
36587
36694
  }
36588
36695
  | {
36589
36696
  message: string
36697
+ created_at: string
36590
36698
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36591
36699
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
36592
36700
  }
36593
36701
  | {
36594
36702
  message: string
36703
+ created_at: string
36595
36704
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36596
36705
  warning_code: 'ttlock_weak_gateway_signal'
36597
36706
  }
36598
36707
  | {
36599
36708
  message: string
36709
+ created_at: string
36600
36710
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36601
36711
  warning_code: 'temperature_threshold_exceeded'
36602
36712
  }
36603
36713
  | {
36604
36714
  message: string
36715
+ created_at: string
36605
36716
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36606
36717
  warning_code: 'device_communication_degraded'
36607
36718
  }
36608
36719
  | {
36609
36720
  message: string
36721
+ created_at: string
36610
36722
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36611
36723
  warning_code: 'scheduled_maintenance_window'
36612
36724
  }
36613
36725
  | {
36614
36726
  message: string
36727
+ created_at: string
36615
36728
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36616
36729
  warning_code: 'device_has_flaky_connection'
36617
36730
  }
36618
36731
  | {
36619
36732
  message: string
36733
+ created_at: string
36620
36734
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36621
36735
  warning_code: 'salto_office_mode'
36622
36736
  }
36623
36737
  | {
36624
36738
  message: string
36739
+ created_at: string
36625
36740
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36626
36741
  warning_code: 'salto_privacy_mode'
36627
36742
  }
36628
36743
  | {
36629
36744
  message: string
36745
+ created_at: string
36630
36746
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
36631
36747
  warning_code: 'unknown_issue_with_phone'
36632
36748
  }
@@ -39657,85 +39773,98 @@ export interface Routes {
39657
39773
  workspace_id: string
39658
39774
  /** 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. */
39659
39775
  errors: Array<
39776
+ | {
39777
+ message: string
39778
+ is_device_error: false
39779
+ created_at: string
39780
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39781
+ error_code: 'account_disconnected'
39782
+ is_connected_account_error: true
39783
+ }
39784
+ | {
39785
+ message: string
39786
+ is_device_error: false
39787
+ created_at: string
39788
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39789
+ error_code: 'salto_ks_subscription_limit_exceeded'
39790
+ is_connected_account_error: true
39791
+ }
39660
39792
  | {
39661
39793
  message: string
39662
39794
  is_device_error: true
39795
+ created_at: string
39663
39796
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39664
39797
  error_code: 'device_offline'
39665
39798
  }
39666
39799
  | {
39667
39800
  message: string
39668
39801
  is_device_error: true
39802
+ created_at: string
39669
39803
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39670
39804
  error_code: 'device_removed'
39671
39805
  }
39672
39806
  | {
39673
39807
  message: string
39674
39808
  is_device_error: true
39809
+ created_at: string
39675
39810
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39676
39811
  error_code: 'hub_disconnected'
39677
39812
  }
39678
39813
  | {
39679
39814
  message: string
39680
39815
  is_device_error: true
39816
+ created_at: string
39681
39817
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39682
39818
  error_code: 'device_disconnected'
39683
39819
  }
39684
39820
  | {
39685
39821
  message: string
39686
39822
  is_device_error: true
39823
+ created_at: string
39687
39824
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39688
39825
  error_code: 'empty_backup_access_code_pool'
39689
39826
  }
39690
39827
  | {
39691
39828
  message: string
39692
39829
  is_device_error: true
39830
+ created_at: string
39693
39831
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39694
39832
  error_code: 'august_lock_not_authorized'
39695
39833
  }
39696
39834
  | {
39697
39835
  message: string
39698
39836
  is_device_error: true
39837
+ created_at: string
39699
39838
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39700
39839
  error_code: 'august_lock_missing_bridge'
39701
39840
  }
39702
39841
  | {
39703
39842
  message: string
39704
39843
  is_device_error: true
39705
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39706
- error_code: 'salto_site_user_limit_reached'
39707
- }
39708
- | {
39709
- message: string
39710
- is_device_error: true
39844
+ created_at: string
39711
39845
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39712
39846
  error_code: 'ttlock_lock_not_paired_to_gateway'
39713
39847
  }
39714
39848
  | {
39715
39849
  message: string
39716
39850
  is_device_error: true
39851
+ created_at: string
39717
39852
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39718
39853
  error_code: 'missing_device_credentials'
39719
39854
  }
39720
39855
  | {
39721
39856
  message: string
39722
39857
  is_device_error: true
39858
+ created_at: string
39723
39859
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39724
39860
  error_code: 'auxiliary_heat_running'
39725
39861
  }
39726
39862
  | {
39727
39863
  message: string
39728
39864
  is_device_error: true
39729
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39730
- error_code: 'subscription_required'
39731
- }
39732
- | {
39733
- /** Date and time at which Seam created the error. */
39734
39865
  created_at: string
39735
- message: string
39736
- is_connected_account_error: true
39737
39866
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39738
- error_code: 'account_disconnected'
39867
+ error_code: 'subscription_required'
39739
39868
  }
39740
39869
  | {
39741
39870
  /** Date and time at which Seam created the error. */
@@ -39745,102 +39874,102 @@ export interface Routes {
39745
39874
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39746
39875
  error_code: 'invalid_credentials'
39747
39876
  }
39748
- | {
39749
- /** Date and time at which Seam created the error. */
39750
- created_at: string
39751
- message: string
39752
- is_connected_account_error: true
39753
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39754
- error_code: 'salto_ks_subscription_limit_exceeded'
39755
- salto_ks_metadata: {
39756
- sites: Array<{
39757
- site_id: string
39758
- site_name: string
39759
- subscribed_site_user_count: number
39760
- site_user_subscription_limit: number
39761
- }>
39762
- }
39763
- }
39764
39877
  >
39765
39878
  /** 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. */
39766
39879
  warnings: Array<
39767
39880
  | {
39768
39881
  message: string
39882
+ created_at: string
39769
39883
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
39770
39884
  warning_code: 'partial_backup_access_code_pool'
39771
39885
  }
39772
39886
  | {
39773
39887
  message: string
39888
+ created_at: string
39774
39889
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
39775
39890
  warning_code: 'many_active_backup_codes'
39776
39891
  }
39777
39892
  | {
39778
39893
  message: string
39894
+ created_at: string
39779
39895
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
39780
39896
  warning_code: 'salto_unknown_device_type'
39781
39897
  }
39782
39898
  | {
39783
39899
  message: string
39900
+ created_at: string
39784
39901
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
39785
39902
  warning_code: 'wyze_device_missing_gateway'
39786
39903
  }
39787
39904
  | {
39788
39905
  message: string
39906
+ created_at: string
39789
39907
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
39790
39908
  warning_code: 'functional_offline_device'
39791
39909
  }
39792
39910
  | {
39793
39911
  message: string
39912
+ created_at: string
39794
39913
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
39795
39914
  warning_code: 'third_party_integration_detected'
39796
39915
  }
39797
39916
  | {
39798
39917
  message: string
39918
+ created_at: string
39799
39919
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
39800
39920
  warning_code: 'nest_thermostat_in_manual_eco_mode'
39801
39921
  }
39802
39922
  | {
39803
39923
  message: string
39924
+ created_at: string
39804
39925
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
39805
39926
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
39806
39927
  }
39807
39928
  | {
39808
39929
  message: string
39930
+ created_at: string
39809
39931
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
39810
39932
  warning_code: 'ttlock_weak_gateway_signal'
39811
39933
  }
39812
39934
  | {
39813
39935
  message: string
39936
+ created_at: string
39814
39937
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
39815
39938
  warning_code: 'temperature_threshold_exceeded'
39816
39939
  }
39817
39940
  | {
39818
39941
  message: string
39942
+ created_at: string
39819
39943
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
39820
39944
  warning_code: 'device_communication_degraded'
39821
39945
  }
39822
39946
  | {
39823
39947
  message: string
39948
+ created_at: string
39824
39949
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
39825
39950
  warning_code: 'scheduled_maintenance_window'
39826
39951
  }
39827
39952
  | {
39828
39953
  message: string
39954
+ created_at: string
39829
39955
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
39830
39956
  warning_code: 'device_has_flaky_connection'
39831
39957
  }
39832
39958
  | {
39833
39959
  message: string
39960
+ created_at: string
39834
39961
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
39835
39962
  warning_code: 'salto_office_mode'
39836
39963
  }
39837
39964
  | {
39838
39965
  message: string
39966
+ created_at: string
39839
39967
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
39840
39968
  warning_code: 'salto_privacy_mode'
39841
39969
  }
39842
39970
  | {
39843
39971
  message: string
39972
+ created_at: string
39844
39973
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
39845
39974
  warning_code: 'unknown_issue_with_phone'
39846
39975
  }
@@ -40551,85 +40680,98 @@ export interface Routes {
40551
40680
  workspace_id: string
40552
40681
  /** 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. */
40553
40682
  errors: Array<
40683
+ | {
40684
+ message: string
40685
+ is_device_error: false
40686
+ created_at: string
40687
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40688
+ error_code: 'account_disconnected'
40689
+ is_connected_account_error: true
40690
+ }
40691
+ | {
40692
+ message: string
40693
+ is_device_error: false
40694
+ created_at: string
40695
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40696
+ error_code: 'salto_ks_subscription_limit_exceeded'
40697
+ is_connected_account_error: true
40698
+ }
40554
40699
  | {
40555
40700
  message: string
40556
40701
  is_device_error: true
40702
+ created_at: string
40557
40703
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40558
40704
  error_code: 'device_offline'
40559
40705
  }
40560
40706
  | {
40561
40707
  message: string
40562
40708
  is_device_error: true
40709
+ created_at: string
40563
40710
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40564
40711
  error_code: 'device_removed'
40565
40712
  }
40566
40713
  | {
40567
40714
  message: string
40568
40715
  is_device_error: true
40716
+ created_at: string
40569
40717
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40570
40718
  error_code: 'hub_disconnected'
40571
40719
  }
40572
40720
  | {
40573
40721
  message: string
40574
40722
  is_device_error: true
40723
+ created_at: string
40575
40724
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40576
40725
  error_code: 'device_disconnected'
40577
40726
  }
40578
40727
  | {
40579
40728
  message: string
40580
40729
  is_device_error: true
40730
+ created_at: string
40581
40731
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40582
40732
  error_code: 'empty_backup_access_code_pool'
40583
40733
  }
40584
40734
  | {
40585
40735
  message: string
40586
40736
  is_device_error: true
40737
+ created_at: string
40587
40738
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40588
40739
  error_code: 'august_lock_not_authorized'
40589
40740
  }
40590
40741
  | {
40591
40742
  message: string
40592
40743
  is_device_error: true
40744
+ created_at: string
40593
40745
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40594
40746
  error_code: 'august_lock_missing_bridge'
40595
40747
  }
40596
40748
  | {
40597
40749
  message: string
40598
40750
  is_device_error: true
40599
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40600
- error_code: 'salto_site_user_limit_reached'
40601
- }
40602
- | {
40603
- message: string
40604
- is_device_error: true
40751
+ created_at: string
40605
40752
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40606
40753
  error_code: 'ttlock_lock_not_paired_to_gateway'
40607
40754
  }
40608
40755
  | {
40609
40756
  message: string
40610
40757
  is_device_error: true
40758
+ created_at: string
40611
40759
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40612
40760
  error_code: 'missing_device_credentials'
40613
40761
  }
40614
40762
  | {
40615
40763
  message: string
40616
40764
  is_device_error: true
40765
+ created_at: string
40617
40766
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40618
40767
  error_code: 'auxiliary_heat_running'
40619
40768
  }
40620
40769
  | {
40621
40770
  message: string
40622
40771
  is_device_error: true
40623
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40624
- error_code: 'subscription_required'
40625
- }
40626
- | {
40627
- /** Date and time at which Seam created the error. */
40628
40772
  created_at: string
40629
- message: string
40630
- is_connected_account_error: true
40631
40773
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40632
- error_code: 'account_disconnected'
40774
+ error_code: 'subscription_required'
40633
40775
  }
40634
40776
  | {
40635
40777
  /** Date and time at which Seam created the error. */
@@ -40639,102 +40781,102 @@ export interface Routes {
40639
40781
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40640
40782
  error_code: 'invalid_credentials'
40641
40783
  }
40642
- | {
40643
- /** Date and time at which Seam created the error. */
40644
- created_at: string
40645
- message: string
40646
- is_connected_account_error: true
40647
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40648
- error_code: 'salto_ks_subscription_limit_exceeded'
40649
- salto_ks_metadata: {
40650
- sites: Array<{
40651
- site_id: string
40652
- site_name: string
40653
- subscribed_site_user_count: number
40654
- site_user_subscription_limit: number
40655
- }>
40656
- }
40657
- }
40658
40784
  >
40659
40785
  /** 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. */
40660
40786
  warnings: Array<
40661
40787
  | {
40662
40788
  message: string
40789
+ created_at: string
40663
40790
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
40664
40791
  warning_code: 'partial_backup_access_code_pool'
40665
40792
  }
40666
40793
  | {
40667
40794
  message: string
40795
+ created_at: string
40668
40796
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
40669
40797
  warning_code: 'many_active_backup_codes'
40670
40798
  }
40671
40799
  | {
40672
40800
  message: string
40801
+ created_at: string
40673
40802
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
40674
40803
  warning_code: 'salto_unknown_device_type'
40675
40804
  }
40676
40805
  | {
40677
40806
  message: string
40807
+ created_at: string
40678
40808
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
40679
40809
  warning_code: 'wyze_device_missing_gateway'
40680
40810
  }
40681
40811
  | {
40682
40812
  message: string
40813
+ created_at: string
40683
40814
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
40684
40815
  warning_code: 'functional_offline_device'
40685
40816
  }
40686
40817
  | {
40687
40818
  message: string
40819
+ created_at: string
40688
40820
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
40689
40821
  warning_code: 'third_party_integration_detected'
40690
40822
  }
40691
40823
  | {
40692
40824
  message: string
40825
+ created_at: string
40693
40826
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
40694
40827
  warning_code: 'nest_thermostat_in_manual_eco_mode'
40695
40828
  }
40696
40829
  | {
40697
40830
  message: string
40831
+ created_at: string
40698
40832
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
40699
40833
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
40700
40834
  }
40701
40835
  | {
40702
40836
  message: string
40837
+ created_at: string
40703
40838
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
40704
40839
  warning_code: 'ttlock_weak_gateway_signal'
40705
40840
  }
40706
40841
  | {
40707
40842
  message: string
40843
+ created_at: string
40708
40844
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
40709
40845
  warning_code: 'temperature_threshold_exceeded'
40710
40846
  }
40711
40847
  | {
40712
40848
  message: string
40849
+ created_at: string
40713
40850
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
40714
40851
  warning_code: 'device_communication_degraded'
40715
40852
  }
40716
40853
  | {
40717
40854
  message: string
40855
+ created_at: string
40718
40856
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
40719
40857
  warning_code: 'scheduled_maintenance_window'
40720
40858
  }
40721
40859
  | {
40722
40860
  message: string
40861
+ created_at: string
40723
40862
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
40724
40863
  warning_code: 'device_has_flaky_connection'
40725
40864
  }
40726
40865
  | {
40727
40866
  message: string
40867
+ created_at: string
40728
40868
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
40729
40869
  warning_code: 'salto_office_mode'
40730
40870
  }
40731
40871
  | {
40732
40872
  message: string
40873
+ created_at: string
40733
40874
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
40734
40875
  warning_code: 'salto_privacy_mode'
40735
40876
  }
40736
40877
  | {
40737
40878
  message: string
40879
+ created_at: string
40738
40880
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
40739
40881
  warning_code: 'unknown_issue_with_phone'
40740
40882
  }
@@ -45211,85 +45353,98 @@ export interface Routes {
45211
45353
  workspace_id: string
45212
45354
  /** 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. */
45213
45355
  errors: Array<
45356
+ | {
45357
+ message: string
45358
+ is_device_error: false
45359
+ created_at: string
45360
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45361
+ error_code: 'account_disconnected'
45362
+ is_connected_account_error: true
45363
+ }
45364
+ | {
45365
+ message: string
45366
+ is_device_error: false
45367
+ created_at: string
45368
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45369
+ error_code: 'salto_ks_subscription_limit_exceeded'
45370
+ is_connected_account_error: true
45371
+ }
45214
45372
  | {
45215
45373
  message: string
45216
45374
  is_device_error: true
45375
+ created_at: string
45217
45376
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45218
45377
  error_code: 'device_offline'
45219
45378
  }
45220
45379
  | {
45221
45380
  message: string
45222
45381
  is_device_error: true
45382
+ created_at: string
45223
45383
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45224
45384
  error_code: 'device_removed'
45225
45385
  }
45226
45386
  | {
45227
45387
  message: string
45228
45388
  is_device_error: true
45389
+ created_at: string
45229
45390
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45230
45391
  error_code: 'hub_disconnected'
45231
45392
  }
45232
45393
  | {
45233
45394
  message: string
45234
45395
  is_device_error: true
45396
+ created_at: string
45235
45397
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45236
45398
  error_code: 'device_disconnected'
45237
45399
  }
45238
45400
  | {
45239
45401
  message: string
45240
45402
  is_device_error: true
45403
+ created_at: string
45241
45404
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45242
45405
  error_code: 'empty_backup_access_code_pool'
45243
45406
  }
45244
45407
  | {
45245
45408
  message: string
45246
45409
  is_device_error: true
45410
+ created_at: string
45247
45411
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45248
45412
  error_code: 'august_lock_not_authorized'
45249
45413
  }
45250
45414
  | {
45251
45415
  message: string
45252
45416
  is_device_error: true
45417
+ created_at: string
45253
45418
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45254
45419
  error_code: 'august_lock_missing_bridge'
45255
45420
  }
45256
45421
  | {
45257
45422
  message: string
45258
45423
  is_device_error: true
45259
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45260
- error_code: 'salto_site_user_limit_reached'
45261
- }
45262
- | {
45263
- message: string
45264
- is_device_error: true
45424
+ created_at: string
45265
45425
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45266
45426
  error_code: 'ttlock_lock_not_paired_to_gateway'
45267
45427
  }
45268
45428
  | {
45269
45429
  message: string
45270
45430
  is_device_error: true
45431
+ created_at: string
45271
45432
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45272
45433
  error_code: 'missing_device_credentials'
45273
45434
  }
45274
45435
  | {
45275
45436
  message: string
45276
45437
  is_device_error: true
45438
+ created_at: string
45277
45439
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45278
45440
  error_code: 'auxiliary_heat_running'
45279
45441
  }
45280
45442
  | {
45281
45443
  message: string
45282
45444
  is_device_error: true
45283
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45284
- error_code: 'subscription_required'
45285
- }
45286
- | {
45287
- /** Date and time at which Seam created the error. */
45288
45445
  created_at: string
45289
- message: string
45290
- is_connected_account_error: true
45291
45446
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45292
- error_code: 'account_disconnected'
45447
+ error_code: 'subscription_required'
45293
45448
  }
45294
45449
  | {
45295
45450
  /** Date and time at which Seam created the error. */
@@ -45299,102 +45454,102 @@ export interface Routes {
45299
45454
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45300
45455
  error_code: 'invalid_credentials'
45301
45456
  }
45302
- | {
45303
- /** Date and time at which Seam created the error. */
45304
- created_at: string
45305
- message: string
45306
- is_connected_account_error: true
45307
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45308
- error_code: 'salto_ks_subscription_limit_exceeded'
45309
- salto_ks_metadata: {
45310
- sites: Array<{
45311
- site_id: string
45312
- site_name: string
45313
- subscribed_site_user_count: number
45314
- site_user_subscription_limit: number
45315
- }>
45316
- }
45317
- }
45318
45457
  >
45319
45458
  /** 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. */
45320
45459
  warnings: Array<
45321
45460
  | {
45322
45461
  message: string
45462
+ created_at: string
45323
45463
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45324
45464
  warning_code: 'partial_backup_access_code_pool'
45325
45465
  }
45326
45466
  | {
45327
45467
  message: string
45468
+ created_at: string
45328
45469
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45329
45470
  warning_code: 'many_active_backup_codes'
45330
45471
  }
45331
45472
  | {
45332
45473
  message: string
45474
+ created_at: string
45333
45475
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45334
45476
  warning_code: 'salto_unknown_device_type'
45335
45477
  }
45336
45478
  | {
45337
45479
  message: string
45480
+ created_at: string
45338
45481
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45339
45482
  warning_code: 'wyze_device_missing_gateway'
45340
45483
  }
45341
45484
  | {
45342
45485
  message: string
45486
+ created_at: string
45343
45487
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45344
45488
  warning_code: 'functional_offline_device'
45345
45489
  }
45346
45490
  | {
45347
45491
  message: string
45492
+ created_at: string
45348
45493
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45349
45494
  warning_code: 'third_party_integration_detected'
45350
45495
  }
45351
45496
  | {
45352
45497
  message: string
45498
+ created_at: string
45353
45499
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45354
45500
  warning_code: 'nest_thermostat_in_manual_eco_mode'
45355
45501
  }
45356
45502
  | {
45357
45503
  message: string
45504
+ created_at: string
45358
45505
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45359
45506
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
45360
45507
  }
45361
45508
  | {
45362
45509
  message: string
45510
+ created_at: string
45363
45511
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45364
45512
  warning_code: 'ttlock_weak_gateway_signal'
45365
45513
  }
45366
45514
  | {
45367
45515
  message: string
45516
+ created_at: string
45368
45517
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45369
45518
  warning_code: 'temperature_threshold_exceeded'
45370
45519
  }
45371
45520
  | {
45372
45521
  message: string
45522
+ created_at: string
45373
45523
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45374
45524
  warning_code: 'device_communication_degraded'
45375
45525
  }
45376
45526
  | {
45377
45527
  message: string
45528
+ created_at: string
45378
45529
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45379
45530
  warning_code: 'scheduled_maintenance_window'
45380
45531
  }
45381
45532
  | {
45382
45533
  message: string
45534
+ created_at: string
45383
45535
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45384
45536
  warning_code: 'device_has_flaky_connection'
45385
45537
  }
45386
45538
  | {
45387
45539
  message: string
45540
+ created_at: string
45388
45541
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45389
45542
  warning_code: 'salto_office_mode'
45390
45543
  }
45391
45544
  | {
45392
45545
  message: string
45546
+ created_at: string
45393
45547
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45394
45548
  warning_code: 'salto_privacy_mode'
45395
45549
  }
45396
45550
  | {
45397
45551
  message: string
45552
+ created_at: string
45398
45553
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45399
45554
  warning_code: 'unknown_issue_with_phone'
45400
45555
  }
@@ -46107,85 +46262,98 @@ export interface Routes {
46107
46262
  workspace_id: string
46108
46263
  /** 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. */
46109
46264
  errors: Array<
46265
+ | {
46266
+ message: string
46267
+ is_device_error: false
46268
+ created_at: string
46269
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46270
+ error_code: 'account_disconnected'
46271
+ is_connected_account_error: true
46272
+ }
46273
+ | {
46274
+ message: string
46275
+ is_device_error: false
46276
+ created_at: string
46277
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46278
+ error_code: 'salto_ks_subscription_limit_exceeded'
46279
+ is_connected_account_error: true
46280
+ }
46110
46281
  | {
46111
46282
  message: string
46112
46283
  is_device_error: true
46284
+ created_at: string
46113
46285
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46114
46286
  error_code: 'device_offline'
46115
46287
  }
46116
46288
  | {
46117
46289
  message: string
46118
46290
  is_device_error: true
46291
+ created_at: string
46119
46292
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46120
46293
  error_code: 'device_removed'
46121
46294
  }
46122
46295
  | {
46123
46296
  message: string
46124
46297
  is_device_error: true
46298
+ created_at: string
46125
46299
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46126
46300
  error_code: 'hub_disconnected'
46127
46301
  }
46128
46302
  | {
46129
46303
  message: string
46130
46304
  is_device_error: true
46305
+ created_at: string
46131
46306
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46132
46307
  error_code: 'device_disconnected'
46133
46308
  }
46134
46309
  | {
46135
46310
  message: string
46136
46311
  is_device_error: true
46312
+ created_at: string
46137
46313
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46138
46314
  error_code: 'empty_backup_access_code_pool'
46139
46315
  }
46140
46316
  | {
46141
46317
  message: string
46142
46318
  is_device_error: true
46319
+ created_at: string
46143
46320
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46144
46321
  error_code: 'august_lock_not_authorized'
46145
46322
  }
46146
46323
  | {
46147
46324
  message: string
46148
46325
  is_device_error: true
46326
+ created_at: string
46149
46327
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46150
46328
  error_code: 'august_lock_missing_bridge'
46151
46329
  }
46152
46330
  | {
46153
46331
  message: string
46154
46332
  is_device_error: true
46155
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46156
- error_code: 'salto_site_user_limit_reached'
46157
- }
46158
- | {
46159
- message: string
46160
- is_device_error: true
46333
+ created_at: string
46161
46334
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46162
46335
  error_code: 'ttlock_lock_not_paired_to_gateway'
46163
46336
  }
46164
46337
  | {
46165
46338
  message: string
46166
46339
  is_device_error: true
46340
+ created_at: string
46167
46341
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46168
46342
  error_code: 'missing_device_credentials'
46169
46343
  }
46170
46344
  | {
46171
46345
  message: string
46172
46346
  is_device_error: true
46347
+ created_at: string
46173
46348
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46174
46349
  error_code: 'auxiliary_heat_running'
46175
46350
  }
46176
46351
  | {
46177
46352
  message: string
46178
46353
  is_device_error: true
46179
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46180
- error_code: 'subscription_required'
46181
- }
46182
- | {
46183
- /** Date and time at which Seam created the error. */
46184
46354
  created_at: string
46185
- message: string
46186
- is_connected_account_error: true
46187
46355
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46188
- error_code: 'account_disconnected'
46356
+ error_code: 'subscription_required'
46189
46357
  }
46190
46358
  | {
46191
46359
  /** Date and time at which Seam created the error. */
@@ -46195,102 +46363,102 @@ export interface Routes {
46195
46363
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46196
46364
  error_code: 'invalid_credentials'
46197
46365
  }
46198
- | {
46199
- /** Date and time at which Seam created the error. */
46200
- created_at: string
46201
- message: string
46202
- is_connected_account_error: true
46203
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
46204
- error_code: 'salto_ks_subscription_limit_exceeded'
46205
- salto_ks_metadata: {
46206
- sites: Array<{
46207
- site_id: string
46208
- site_name: string
46209
- subscribed_site_user_count: number
46210
- site_user_subscription_limit: number
46211
- }>
46212
- }
46213
- }
46214
46366
  >
46215
46367
  /** 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. */
46216
46368
  warnings: Array<
46217
46369
  | {
46218
46370
  message: string
46371
+ created_at: string
46219
46372
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46220
46373
  warning_code: 'partial_backup_access_code_pool'
46221
46374
  }
46222
46375
  | {
46223
46376
  message: string
46377
+ created_at: string
46224
46378
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46225
46379
  warning_code: 'many_active_backup_codes'
46226
46380
  }
46227
46381
  | {
46228
46382
  message: string
46383
+ created_at: string
46229
46384
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46230
46385
  warning_code: 'salto_unknown_device_type'
46231
46386
  }
46232
46387
  | {
46233
46388
  message: string
46389
+ created_at: string
46234
46390
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46235
46391
  warning_code: 'wyze_device_missing_gateway'
46236
46392
  }
46237
46393
  | {
46238
46394
  message: string
46395
+ created_at: string
46239
46396
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46240
46397
  warning_code: 'functional_offline_device'
46241
46398
  }
46242
46399
  | {
46243
46400
  message: string
46401
+ created_at: string
46244
46402
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46245
46403
  warning_code: 'third_party_integration_detected'
46246
46404
  }
46247
46405
  | {
46248
46406
  message: string
46407
+ created_at: string
46249
46408
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46250
46409
  warning_code: 'nest_thermostat_in_manual_eco_mode'
46251
46410
  }
46252
46411
  | {
46253
46412
  message: string
46413
+ created_at: string
46254
46414
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46255
46415
  warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
46256
46416
  }
46257
46417
  | {
46258
46418
  message: string
46419
+ created_at: string
46259
46420
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46260
46421
  warning_code: 'ttlock_weak_gateway_signal'
46261
46422
  }
46262
46423
  | {
46263
46424
  message: string
46425
+ created_at: string
46264
46426
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46265
46427
  warning_code: 'temperature_threshold_exceeded'
46266
46428
  }
46267
46429
  | {
46268
46430
  message: string
46431
+ created_at: string
46269
46432
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46270
46433
  warning_code: 'device_communication_degraded'
46271
46434
  }
46272
46435
  | {
46273
46436
  message: string
46437
+ created_at: string
46274
46438
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46275
46439
  warning_code: 'scheduled_maintenance_window'
46276
46440
  }
46277
46441
  | {
46278
46442
  message: string
46443
+ created_at: string
46279
46444
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46280
46445
  warning_code: 'device_has_flaky_connection'
46281
46446
  }
46282
46447
  | {
46283
46448
  message: string
46449
+ created_at: string
46284
46450
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46285
46451
  warning_code: 'salto_office_mode'
46286
46452
  }
46287
46453
  | {
46288
46454
  message: string
46455
+ created_at: string
46289
46456
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46290
46457
  warning_code: 'salto_privacy_mode'
46291
46458
  }
46292
46459
  | {
46293
46460
  message: string
46461
+ created_at: string
46294
46462
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
46295
46463
  warning_code: 'unknown_issue_with_phone'
46296
46464
  }