@seamapi/types 1.332.0 → 1.333.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 (36) hide show
  1. package/dist/connect.cjs +1578 -318
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +3297 -472
  4. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +902 -35
  5. package/lib/seam/connect/models/access-codes/managed-access-code.js +238 -6
  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 +568 -25
  8. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +85 -23
  9. package/lib/seam/connect/models/connected-accounts/connected-account.js +27 -9
  10. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  11. package/lib/seam/connect/models/devices/device.d.ts +28 -7
  12. package/lib/seam/connect/models/devices/phone.d.ts +28 -7
  13. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +28 -7
  14. package/lib/seam/connect/models/events/acs/{access_groups.js → access-groups.js} +1 -1
  15. package/lib/seam/connect/models/events/acs/{access_groups.js.map → access-groups.js.map} +1 -1
  16. package/lib/seam/connect/models/events/acs/index.js +1 -1
  17. package/lib/seam/connect/models/events/index.d.ts +1 -0
  18. package/lib/seam/connect/models/events/index.js +1 -0
  19. package/lib/seam/connect/models/events/index.js.map +1 -1
  20. package/lib/seam/connect/models/events/seam-event.d.ts +1 -0
  21. package/lib/seam/connect/models/events/seam-event.js +2 -0
  22. package/lib/seam/connect/models/events/seam-event.js.map +1 -1
  23. package/lib/seam/connect/openapi.d.ts +174 -164
  24. package/lib/seam/connect/openapi.js +1331 -205
  25. package/lib/seam/connect/openapi.js.map +1 -1
  26. package/lib/seam/connect/route-types.d.ts +1539 -210
  27. package/package.json +1 -1
  28. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +282 -7
  29. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +32 -9
  30. package/src/lib/seam/connect/models/events/acs/index.ts +1 -1
  31. package/src/lib/seam/connect/models/events/index.ts +1 -0
  32. package/src/lib/seam/connect/models/events/seam-event.ts +10 -0
  33. package/src/lib/seam/connect/openapi.ts +1452 -229
  34. package/src/lib/seam/connect/route-types.ts +2349 -654
  35. /package/lib/seam/connect/models/events/acs/{access_groups.d.ts → access-groups.d.ts} +0 -0
  36. /package/src/lib/seam/connect/models/events/acs/{access_groups.ts → access-groups.ts} +0 -0
@@ -1023,11 +1023,122 @@ export interface Routes {
1023
1023
  created_at: string
1024
1024
  /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
1025
1025
  errors: Array<
1026
- | {
1027
- message: string
1028
- is_access_code_error: true
1029
- error_code: string
1030
- }
1026
+ | (
1027
+ | {
1028
+ message: string
1029
+ is_access_code_error: true
1030
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1031
+ error_code: 'smartthings_failed_to_set_access_code'
1032
+ }
1033
+ | {
1034
+ message: string
1035
+ is_access_code_error: true
1036
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1037
+ error_code: 'smartthings_failed_to_set_after_multiple_retries'
1038
+ }
1039
+ | {
1040
+ message: string
1041
+ is_access_code_error: true
1042
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1043
+ error_code: 'failed_to_set_on_device'
1044
+ }
1045
+ | {
1046
+ message: string
1047
+ is_access_code_error: true
1048
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1049
+ error_code: 'failed_to_remove_from_device'
1050
+ }
1051
+ | {
1052
+ message: string
1053
+ is_access_code_error: true
1054
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1055
+ error_code: 'duplicate_code_on_device'
1056
+ }
1057
+ | {
1058
+ message: string
1059
+ is_access_code_error: true
1060
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1061
+ error_code: 'duplicate_code_attempt_prevented'
1062
+ }
1063
+ | {
1064
+ message: string
1065
+ is_access_code_error: true
1066
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1067
+ error_code: 'igloohome_bridge_too_many_pending_jobs'
1068
+ }
1069
+ | {
1070
+ message: string
1071
+ is_access_code_error: true
1072
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1073
+ error_code: 'igloohome_bridge_offline'
1074
+ }
1075
+ | {
1076
+ message: string
1077
+ is_access_code_error: true
1078
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1079
+ error_code: 'igloohome_offline_access_code_no_variance_available'
1080
+ }
1081
+ | {
1082
+ message: string
1083
+ is_access_code_error: true
1084
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1085
+ error_code: 'kwikset_unable_to_confirm_code'
1086
+ }
1087
+ | {
1088
+ message: string
1089
+ is_access_code_error: true
1090
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1091
+ error_code: 'kwikset_unable_to_confirm_deletion'
1092
+ }
1093
+ | {
1094
+ message: string
1095
+ is_access_code_error: true
1096
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1097
+ error_code: 'code_modified_external_to_seam'
1098
+ }
1099
+ | {
1100
+ message: string
1101
+ is_access_code_error: true
1102
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1103
+ error_code: 'august_lock_invalid_code_length'
1104
+ }
1105
+ | {
1106
+ message: string
1107
+ is_access_code_error: true
1108
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1109
+ error_code: 'august_device_programming_delay'
1110
+ }
1111
+ | {
1112
+ message: string
1113
+ is_access_code_error: true
1114
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1115
+ error_code: 'august_device_slots_full'
1116
+ }
1117
+ | {
1118
+ message: string
1119
+ is_access_code_error: true
1120
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1121
+ error_code: 'august_lock_missing_keypad'
1122
+ }
1123
+ | {
1124
+ message: string
1125
+ is_access_code_error: true
1126
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1127
+ error_code: 'salto_site_user_not_subscribed'
1128
+ }
1129
+ | {
1130
+ message: string
1131
+ is_access_code_error: true
1132
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1133
+ error_code: 'hubitat_device_programming_delay'
1134
+ }
1135
+ | {
1136
+ message: string
1137
+ is_access_code_error: true
1138
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1139
+ error_code: 'hubitat_no_free_positions_available'
1140
+ }
1141
+ )
1031
1142
  | (
1032
1143
  | {
1033
1144
  message: string
@@ -1108,17 +1219,74 @@ export interface Routes {
1108
1219
  error_code: 'subscription_required'
1109
1220
  }
1110
1221
  )
1222
+ | (
1223
+ | {
1224
+ message: string
1225
+ is_connected_account_error: true
1226
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1227
+ error_code: 'account_disconnected'
1228
+ }
1229
+ | {
1230
+ message: string
1231
+ is_connected_account_error: true
1232
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1233
+ error_code: 'invalid_credentials'
1234
+ }
1235
+ )
1236
+ >
1237
+ /** 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. */
1238
+ warnings: Array<
1111
1239
  | {
1112
1240
  message: string
1113
- is_connected_account_error: true
1114
- error_code: string
1241
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1242
+ warning_code: 'smartthings_failed_to_set_access_code'
1243
+ }
1244
+ | {
1245
+ message: string
1246
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1247
+ warning_code: 'schlage_detected_duplicate'
1248
+ }
1249
+ | {
1250
+ message: string
1251
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1252
+ warning_code: 'schlage_creation_outage'
1253
+ }
1254
+ | {
1255
+ message: string
1256
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1257
+ warning_code: 'code_modified_external_to_seam'
1258
+ }
1259
+ | {
1260
+ message: string
1261
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1262
+ warning_code: 'delay_in_setting_on_device'
1263
+ }
1264
+ | {
1265
+ message: string
1266
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1267
+ warning_code: 'delay_in_removing_from_device'
1268
+ }
1269
+ | {
1270
+ message: string
1271
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1272
+ warning_code: 'third_party_integration_detected'
1273
+ }
1274
+ | {
1275
+ message: string
1276
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1277
+ warning_code: 'august_device_programming_delay'
1278
+ }
1279
+ | {
1280
+ message: string
1281
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1282
+ warning_code: 'igloo_algopin_must_be_used_within_24_hours'
1283
+ }
1284
+ | {
1285
+ message: string
1286
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1287
+ warning_code: 'management_transferred'
1115
1288
  }
1116
1289
  >
1117
- /** 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. */
1118
- warnings: Array<{
1119
- message: string
1120
- warning_code: string
1121
- }>
1122
1290
  /** Indicates whether Seam manages the access code. */
1123
1291
  is_managed: true
1124
1292
  /** Date and time at which the time-bound access code becomes active. */
@@ -1190,11 +1358,122 @@ export interface Routes {
1190
1358
  created_at: string
1191
1359
  /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
1192
1360
  errors: Array<
1193
- | {
1194
- message: string
1195
- is_access_code_error: true
1196
- error_code: string
1197
- }
1361
+ | (
1362
+ | {
1363
+ message: string
1364
+ is_access_code_error: true
1365
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1366
+ error_code: 'smartthings_failed_to_set_access_code'
1367
+ }
1368
+ | {
1369
+ message: string
1370
+ is_access_code_error: true
1371
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1372
+ error_code: 'smartthings_failed_to_set_after_multiple_retries'
1373
+ }
1374
+ | {
1375
+ message: string
1376
+ is_access_code_error: true
1377
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1378
+ error_code: 'failed_to_set_on_device'
1379
+ }
1380
+ | {
1381
+ message: string
1382
+ is_access_code_error: true
1383
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1384
+ error_code: 'failed_to_remove_from_device'
1385
+ }
1386
+ | {
1387
+ message: string
1388
+ is_access_code_error: true
1389
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1390
+ error_code: 'duplicate_code_on_device'
1391
+ }
1392
+ | {
1393
+ message: string
1394
+ is_access_code_error: true
1395
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1396
+ error_code: 'duplicate_code_attempt_prevented'
1397
+ }
1398
+ | {
1399
+ message: string
1400
+ is_access_code_error: true
1401
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1402
+ error_code: 'igloohome_bridge_too_many_pending_jobs'
1403
+ }
1404
+ | {
1405
+ message: string
1406
+ is_access_code_error: true
1407
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1408
+ error_code: 'igloohome_bridge_offline'
1409
+ }
1410
+ | {
1411
+ message: string
1412
+ is_access_code_error: true
1413
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1414
+ error_code: 'igloohome_offline_access_code_no_variance_available'
1415
+ }
1416
+ | {
1417
+ message: string
1418
+ is_access_code_error: true
1419
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1420
+ error_code: 'kwikset_unable_to_confirm_code'
1421
+ }
1422
+ | {
1423
+ message: string
1424
+ is_access_code_error: true
1425
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1426
+ error_code: 'kwikset_unable_to_confirm_deletion'
1427
+ }
1428
+ | {
1429
+ message: string
1430
+ is_access_code_error: true
1431
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1432
+ error_code: 'code_modified_external_to_seam'
1433
+ }
1434
+ | {
1435
+ message: string
1436
+ is_access_code_error: true
1437
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1438
+ error_code: 'august_lock_invalid_code_length'
1439
+ }
1440
+ | {
1441
+ message: string
1442
+ is_access_code_error: true
1443
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1444
+ error_code: 'august_device_programming_delay'
1445
+ }
1446
+ | {
1447
+ message: string
1448
+ is_access_code_error: true
1449
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1450
+ error_code: 'august_device_slots_full'
1451
+ }
1452
+ | {
1453
+ message: string
1454
+ is_access_code_error: true
1455
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1456
+ error_code: 'august_lock_missing_keypad'
1457
+ }
1458
+ | {
1459
+ message: string
1460
+ is_access_code_error: true
1461
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1462
+ error_code: 'salto_site_user_not_subscribed'
1463
+ }
1464
+ | {
1465
+ message: string
1466
+ is_access_code_error: true
1467
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1468
+ error_code: 'hubitat_device_programming_delay'
1469
+ }
1470
+ | {
1471
+ message: string
1472
+ is_access_code_error: true
1473
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1474
+ error_code: 'hubitat_no_free_positions_available'
1475
+ }
1476
+ )
1198
1477
  | (
1199
1478
  | {
1200
1479
  message: string
@@ -1275,17 +1554,74 @@ export interface Routes {
1275
1554
  error_code: 'subscription_required'
1276
1555
  }
1277
1556
  )
1557
+ | (
1558
+ | {
1559
+ message: string
1560
+ is_connected_account_error: true
1561
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1562
+ error_code: 'account_disconnected'
1563
+ }
1564
+ | {
1565
+ message: string
1566
+ is_connected_account_error: true
1567
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1568
+ error_code: 'invalid_credentials'
1569
+ }
1570
+ )
1571
+ >
1572
+ /** 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. */
1573
+ warnings: Array<
1278
1574
  | {
1279
1575
  message: string
1280
- is_connected_account_error: true
1281
- error_code: string
1576
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1577
+ warning_code: 'smartthings_failed_to_set_access_code'
1578
+ }
1579
+ | {
1580
+ message: string
1581
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1582
+ warning_code: 'schlage_detected_duplicate'
1583
+ }
1584
+ | {
1585
+ message: string
1586
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1587
+ warning_code: 'schlage_creation_outage'
1588
+ }
1589
+ | {
1590
+ message: string
1591
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1592
+ warning_code: 'code_modified_external_to_seam'
1593
+ }
1594
+ | {
1595
+ message: string
1596
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1597
+ warning_code: 'delay_in_setting_on_device'
1598
+ }
1599
+ | {
1600
+ message: string
1601
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1602
+ warning_code: 'delay_in_removing_from_device'
1603
+ }
1604
+ | {
1605
+ message: string
1606
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1607
+ warning_code: 'third_party_integration_detected'
1608
+ }
1609
+ | {
1610
+ message: string
1611
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1612
+ warning_code: 'august_device_programming_delay'
1613
+ }
1614
+ | {
1615
+ message: string
1616
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1617
+ warning_code: 'igloo_algopin_must_be_used_within_24_hours'
1618
+ }
1619
+ | {
1620
+ message: string
1621
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
1622
+ warning_code: 'management_transferred'
1282
1623
  }
1283
1624
  >
1284
- /** 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. */
1285
- warnings: Array<{
1286
- message: string
1287
- warning_code: string
1288
- }>
1289
1625
  /** Indicates whether Seam manages the access code. */
1290
1626
  is_managed: true
1291
1627
  /** Date and time at which the time-bound access code becomes active. */
@@ -2351,11 +2687,122 @@ export interface Routes {
2351
2687
  created_at: string
2352
2688
  /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
2353
2689
  errors: Array<
2354
- | {
2355
- message: string
2356
- is_access_code_error: true
2357
- error_code: string
2358
- }
2690
+ | (
2691
+ | {
2692
+ message: string
2693
+ is_access_code_error: true
2694
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2695
+ error_code: 'smartthings_failed_to_set_access_code'
2696
+ }
2697
+ | {
2698
+ message: string
2699
+ is_access_code_error: true
2700
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2701
+ error_code: 'smartthings_failed_to_set_after_multiple_retries'
2702
+ }
2703
+ | {
2704
+ message: string
2705
+ is_access_code_error: true
2706
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2707
+ error_code: 'failed_to_set_on_device'
2708
+ }
2709
+ | {
2710
+ message: string
2711
+ is_access_code_error: true
2712
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2713
+ error_code: 'failed_to_remove_from_device'
2714
+ }
2715
+ | {
2716
+ message: string
2717
+ is_access_code_error: true
2718
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2719
+ error_code: 'duplicate_code_on_device'
2720
+ }
2721
+ | {
2722
+ message: string
2723
+ is_access_code_error: true
2724
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2725
+ error_code: 'duplicate_code_attempt_prevented'
2726
+ }
2727
+ | {
2728
+ message: string
2729
+ is_access_code_error: true
2730
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2731
+ error_code: 'igloohome_bridge_too_many_pending_jobs'
2732
+ }
2733
+ | {
2734
+ message: string
2735
+ is_access_code_error: true
2736
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2737
+ error_code: 'igloohome_bridge_offline'
2738
+ }
2739
+ | {
2740
+ message: string
2741
+ is_access_code_error: true
2742
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2743
+ error_code: 'igloohome_offline_access_code_no_variance_available'
2744
+ }
2745
+ | {
2746
+ message: string
2747
+ is_access_code_error: true
2748
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2749
+ error_code: 'kwikset_unable_to_confirm_code'
2750
+ }
2751
+ | {
2752
+ message: string
2753
+ is_access_code_error: true
2754
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2755
+ error_code: 'kwikset_unable_to_confirm_deletion'
2756
+ }
2757
+ | {
2758
+ message: string
2759
+ is_access_code_error: true
2760
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2761
+ error_code: 'code_modified_external_to_seam'
2762
+ }
2763
+ | {
2764
+ message: string
2765
+ is_access_code_error: true
2766
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2767
+ error_code: 'august_lock_invalid_code_length'
2768
+ }
2769
+ | {
2770
+ message: string
2771
+ is_access_code_error: true
2772
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2773
+ error_code: 'august_device_programming_delay'
2774
+ }
2775
+ | {
2776
+ message: string
2777
+ is_access_code_error: true
2778
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2779
+ error_code: 'august_device_slots_full'
2780
+ }
2781
+ | {
2782
+ message: string
2783
+ is_access_code_error: true
2784
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2785
+ error_code: 'august_lock_missing_keypad'
2786
+ }
2787
+ | {
2788
+ message: string
2789
+ is_access_code_error: true
2790
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2791
+ error_code: 'salto_site_user_not_subscribed'
2792
+ }
2793
+ | {
2794
+ message: string
2795
+ is_access_code_error: true
2796
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2797
+ error_code: 'hubitat_device_programming_delay'
2798
+ }
2799
+ | {
2800
+ message: string
2801
+ is_access_code_error: true
2802
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2803
+ error_code: 'hubitat_no_free_positions_available'
2804
+ }
2805
+ )
2359
2806
  | (
2360
2807
  | {
2361
2808
  message: string
@@ -2436,17 +2883,74 @@ export interface Routes {
2436
2883
  error_code: 'subscription_required'
2437
2884
  }
2438
2885
  )
2886
+ | (
2887
+ | {
2888
+ message: string
2889
+ is_connected_account_error: true
2890
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2891
+ error_code: 'account_disconnected'
2892
+ }
2893
+ | {
2894
+ message: string
2895
+ is_connected_account_error: true
2896
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2897
+ error_code: 'invalid_credentials'
2898
+ }
2899
+ )
2900
+ >
2901
+ /** 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. */
2902
+ warnings: Array<
2439
2903
  | {
2440
2904
  message: string
2441
- is_connected_account_error: true
2442
- error_code: string
2905
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2906
+ warning_code: 'smartthings_failed_to_set_access_code'
2907
+ }
2908
+ | {
2909
+ message: string
2910
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2911
+ warning_code: 'schlage_detected_duplicate'
2912
+ }
2913
+ | {
2914
+ message: string
2915
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2916
+ warning_code: 'schlage_creation_outage'
2917
+ }
2918
+ | {
2919
+ message: string
2920
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2921
+ warning_code: 'code_modified_external_to_seam'
2922
+ }
2923
+ | {
2924
+ message: string
2925
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2926
+ warning_code: 'delay_in_setting_on_device'
2927
+ }
2928
+ | {
2929
+ message: string
2930
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2931
+ warning_code: 'delay_in_removing_from_device'
2932
+ }
2933
+ | {
2934
+ message: string
2935
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2936
+ warning_code: 'third_party_integration_detected'
2937
+ }
2938
+ | {
2939
+ message: string
2940
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2941
+ warning_code: 'august_device_programming_delay'
2942
+ }
2943
+ | {
2944
+ message: string
2945
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2946
+ warning_code: 'igloo_algopin_must_be_used_within_24_hours'
2947
+ }
2948
+ | {
2949
+ message: string
2950
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2951
+ warning_code: 'management_transferred'
2443
2952
  }
2444
2953
  >
2445
- /** 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. */
2446
- warnings: Array<{
2447
- message: string
2448
- warning_code: string
2449
- }>
2450
2954
  /** Indicates whether Seam manages the access code. */
2451
2955
  is_managed: true
2452
2956
  /** Date and time at which the time-bound access code becomes active. */
@@ -2505,11 +3009,122 @@ export interface Routes {
2505
3009
  created_at: string
2506
3010
  /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
2507
3011
  errors: Array<
2508
- | {
2509
- message: string
2510
- is_access_code_error: true
2511
- error_code: string
2512
- }
3012
+ | (
3013
+ | {
3014
+ message: string
3015
+ is_access_code_error: true
3016
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3017
+ error_code: 'smartthings_failed_to_set_access_code'
3018
+ }
3019
+ | {
3020
+ message: string
3021
+ is_access_code_error: true
3022
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3023
+ error_code: 'smartthings_failed_to_set_after_multiple_retries'
3024
+ }
3025
+ | {
3026
+ message: string
3027
+ is_access_code_error: true
3028
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3029
+ error_code: 'failed_to_set_on_device'
3030
+ }
3031
+ | {
3032
+ message: string
3033
+ is_access_code_error: true
3034
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3035
+ error_code: 'failed_to_remove_from_device'
3036
+ }
3037
+ | {
3038
+ message: string
3039
+ is_access_code_error: true
3040
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3041
+ error_code: 'duplicate_code_on_device'
3042
+ }
3043
+ | {
3044
+ message: string
3045
+ is_access_code_error: true
3046
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3047
+ error_code: 'duplicate_code_attempt_prevented'
3048
+ }
3049
+ | {
3050
+ message: string
3051
+ is_access_code_error: true
3052
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3053
+ error_code: 'igloohome_bridge_too_many_pending_jobs'
3054
+ }
3055
+ | {
3056
+ message: string
3057
+ is_access_code_error: true
3058
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3059
+ error_code: 'igloohome_bridge_offline'
3060
+ }
3061
+ | {
3062
+ message: string
3063
+ is_access_code_error: true
3064
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3065
+ error_code: 'igloohome_offline_access_code_no_variance_available'
3066
+ }
3067
+ | {
3068
+ message: string
3069
+ is_access_code_error: true
3070
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3071
+ error_code: 'kwikset_unable_to_confirm_code'
3072
+ }
3073
+ | {
3074
+ message: string
3075
+ is_access_code_error: true
3076
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3077
+ error_code: 'kwikset_unable_to_confirm_deletion'
3078
+ }
3079
+ | {
3080
+ message: string
3081
+ is_access_code_error: true
3082
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3083
+ error_code: 'code_modified_external_to_seam'
3084
+ }
3085
+ | {
3086
+ message: string
3087
+ is_access_code_error: true
3088
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3089
+ error_code: 'august_lock_invalid_code_length'
3090
+ }
3091
+ | {
3092
+ message: string
3093
+ is_access_code_error: true
3094
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3095
+ error_code: 'august_device_programming_delay'
3096
+ }
3097
+ | {
3098
+ message: string
3099
+ is_access_code_error: true
3100
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3101
+ error_code: 'august_device_slots_full'
3102
+ }
3103
+ | {
3104
+ message: string
3105
+ is_access_code_error: true
3106
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3107
+ error_code: 'august_lock_missing_keypad'
3108
+ }
3109
+ | {
3110
+ message: string
3111
+ is_access_code_error: true
3112
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3113
+ error_code: 'salto_site_user_not_subscribed'
3114
+ }
3115
+ | {
3116
+ message: string
3117
+ is_access_code_error: true
3118
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3119
+ error_code: 'hubitat_device_programming_delay'
3120
+ }
3121
+ | {
3122
+ message: string
3123
+ is_access_code_error: true
3124
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3125
+ error_code: 'hubitat_no_free_positions_available'
3126
+ }
3127
+ )
2513
3128
  | (
2514
3129
  | {
2515
3130
  message: string
@@ -2590,17 +3205,74 @@ export interface Routes {
2590
3205
  error_code: 'subscription_required'
2591
3206
  }
2592
3207
  )
3208
+ | (
3209
+ | {
3210
+ message: string
3211
+ is_connected_account_error: true
3212
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3213
+ error_code: 'account_disconnected'
3214
+ }
3215
+ | {
3216
+ message: string
3217
+ is_connected_account_error: true
3218
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3219
+ error_code: 'invalid_credentials'
3220
+ }
3221
+ )
3222
+ >
3223
+ /** 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. */
3224
+ warnings: Array<
2593
3225
  | {
2594
3226
  message: string
2595
- is_connected_account_error: true
2596
- error_code: string
3227
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3228
+ warning_code: 'smartthings_failed_to_set_access_code'
3229
+ }
3230
+ | {
3231
+ message: string
3232
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3233
+ warning_code: 'schlage_detected_duplicate'
3234
+ }
3235
+ | {
3236
+ message: string
3237
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3238
+ warning_code: 'schlage_creation_outage'
3239
+ }
3240
+ | {
3241
+ message: string
3242
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3243
+ warning_code: 'code_modified_external_to_seam'
3244
+ }
3245
+ | {
3246
+ message: string
3247
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3248
+ warning_code: 'delay_in_setting_on_device'
3249
+ }
3250
+ | {
3251
+ message: string
3252
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3253
+ warning_code: 'delay_in_removing_from_device'
3254
+ }
3255
+ | {
3256
+ message: string
3257
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3258
+ warning_code: 'third_party_integration_detected'
3259
+ }
3260
+ | {
3261
+ message: string
3262
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3263
+ warning_code: 'august_device_programming_delay'
3264
+ }
3265
+ | {
3266
+ message: string
3267
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3268
+ warning_code: 'igloo_algopin_must_be_used_within_24_hours'
3269
+ }
3270
+ | {
3271
+ message: string
3272
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3273
+ warning_code: 'management_transferred'
2597
3274
  }
2598
3275
  >
2599
- /** 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. */
2600
- warnings: Array<{
2601
- message: string
2602
- warning_code: string
2603
- }>
2604
3276
  /** Indicates whether Seam manages the access code. */
2605
3277
  is_managed: true
2606
3278
  /** Date and time at which the time-bound access code becomes active. */
@@ -2658,11 +3330,122 @@ export interface Routes {
2658
3330
  created_at: string
2659
3331
  /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
2660
3332
  errors: Array<
2661
- | {
2662
- message: string
2663
- is_access_code_error: true
2664
- error_code: string
2665
- }
3333
+ | (
3334
+ | {
3335
+ message: string
3336
+ is_access_code_error: true
3337
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3338
+ error_code: 'smartthings_failed_to_set_access_code'
3339
+ }
3340
+ | {
3341
+ message: string
3342
+ is_access_code_error: true
3343
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3344
+ error_code: 'smartthings_failed_to_set_after_multiple_retries'
3345
+ }
3346
+ | {
3347
+ message: string
3348
+ is_access_code_error: true
3349
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3350
+ error_code: 'failed_to_set_on_device'
3351
+ }
3352
+ | {
3353
+ message: string
3354
+ is_access_code_error: true
3355
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3356
+ error_code: 'failed_to_remove_from_device'
3357
+ }
3358
+ | {
3359
+ message: string
3360
+ is_access_code_error: true
3361
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3362
+ error_code: 'duplicate_code_on_device'
3363
+ }
3364
+ | {
3365
+ message: string
3366
+ is_access_code_error: true
3367
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3368
+ error_code: 'duplicate_code_attempt_prevented'
3369
+ }
3370
+ | {
3371
+ message: string
3372
+ is_access_code_error: true
3373
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3374
+ error_code: 'igloohome_bridge_too_many_pending_jobs'
3375
+ }
3376
+ | {
3377
+ message: string
3378
+ is_access_code_error: true
3379
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3380
+ error_code: 'igloohome_bridge_offline'
3381
+ }
3382
+ | {
3383
+ message: string
3384
+ is_access_code_error: true
3385
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3386
+ error_code: 'igloohome_offline_access_code_no_variance_available'
3387
+ }
3388
+ | {
3389
+ message: string
3390
+ is_access_code_error: true
3391
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3392
+ error_code: 'kwikset_unable_to_confirm_code'
3393
+ }
3394
+ | {
3395
+ message: string
3396
+ is_access_code_error: true
3397
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3398
+ error_code: 'kwikset_unable_to_confirm_deletion'
3399
+ }
3400
+ | {
3401
+ message: string
3402
+ is_access_code_error: true
3403
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3404
+ error_code: 'code_modified_external_to_seam'
3405
+ }
3406
+ | {
3407
+ message: string
3408
+ is_access_code_error: true
3409
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3410
+ error_code: 'august_lock_invalid_code_length'
3411
+ }
3412
+ | {
3413
+ message: string
3414
+ is_access_code_error: true
3415
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3416
+ error_code: 'august_device_programming_delay'
3417
+ }
3418
+ | {
3419
+ message: string
3420
+ is_access_code_error: true
3421
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3422
+ error_code: 'august_device_slots_full'
3423
+ }
3424
+ | {
3425
+ message: string
3426
+ is_access_code_error: true
3427
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3428
+ error_code: 'august_lock_missing_keypad'
3429
+ }
3430
+ | {
3431
+ message: string
3432
+ is_access_code_error: true
3433
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3434
+ error_code: 'salto_site_user_not_subscribed'
3435
+ }
3436
+ | {
3437
+ message: string
3438
+ is_access_code_error: true
3439
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3440
+ error_code: 'hubitat_device_programming_delay'
3441
+ }
3442
+ | {
3443
+ message: string
3444
+ is_access_code_error: true
3445
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3446
+ error_code: 'hubitat_no_free_positions_available'
3447
+ }
3448
+ )
2666
3449
  | (
2667
3450
  | {
2668
3451
  message: string
@@ -2743,17 +3526,74 @@ export interface Routes {
2743
3526
  error_code: 'subscription_required'
2744
3527
  }
2745
3528
  )
3529
+ | (
3530
+ | {
3531
+ message: string
3532
+ is_connected_account_error: true
3533
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3534
+ error_code: 'account_disconnected'
3535
+ }
3536
+ | {
3537
+ message: string
3538
+ is_connected_account_error: true
3539
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3540
+ error_code: 'invalid_credentials'
3541
+ }
3542
+ )
3543
+ >
3544
+ /** 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. */
3545
+ warnings: Array<
2746
3546
  | {
2747
3547
  message: string
2748
- is_connected_account_error: true
2749
- error_code: string
3548
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3549
+ warning_code: 'smartthings_failed_to_set_access_code'
3550
+ }
3551
+ | {
3552
+ message: string
3553
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3554
+ warning_code: 'schlage_detected_duplicate'
3555
+ }
3556
+ | {
3557
+ message: string
3558
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3559
+ warning_code: 'schlage_creation_outage'
3560
+ }
3561
+ | {
3562
+ message: string
3563
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3564
+ warning_code: 'code_modified_external_to_seam'
3565
+ }
3566
+ | {
3567
+ message: string
3568
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3569
+ warning_code: 'delay_in_setting_on_device'
3570
+ }
3571
+ | {
3572
+ message: string
3573
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3574
+ warning_code: 'delay_in_removing_from_device'
3575
+ }
3576
+ | {
3577
+ message: string
3578
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3579
+ warning_code: 'third_party_integration_detected'
3580
+ }
3581
+ | {
3582
+ message: string
3583
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3584
+ warning_code: 'august_device_programming_delay'
3585
+ }
3586
+ | {
3587
+ message: string
3588
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3589
+ warning_code: 'igloo_algopin_must_be_used_within_24_hours'
3590
+ }
3591
+ | {
3592
+ message: string
3593
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3594
+ warning_code: 'management_transferred'
2750
3595
  }
2751
3596
  >
2752
- /** 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. */
2753
- warnings: Array<{
2754
- message: string
2755
- warning_code: string
2756
- }>
2757
3597
  /** Indicates whether Seam manages the access code. */
2758
3598
  is_managed: true
2759
3599
  /** Date and time at which the time-bound access code becomes active. */
@@ -2799,11 +3639,439 @@ export interface Routes {
2799
3639
  created_at: string
2800
3640
  /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
2801
3641
  errors: Array<
3642
+ | (
3643
+ | {
3644
+ message: string
3645
+ is_access_code_error: true
3646
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3647
+ error_code: 'smartthings_failed_to_set_access_code'
3648
+ }
3649
+ | {
3650
+ message: string
3651
+ is_access_code_error: true
3652
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3653
+ error_code: 'smartthings_failed_to_set_after_multiple_retries'
3654
+ }
3655
+ | {
3656
+ message: string
3657
+ is_access_code_error: true
3658
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3659
+ error_code: 'failed_to_set_on_device'
3660
+ }
3661
+ | {
3662
+ message: string
3663
+ is_access_code_error: true
3664
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3665
+ error_code: 'failed_to_remove_from_device'
3666
+ }
3667
+ | {
3668
+ message: string
3669
+ is_access_code_error: true
3670
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3671
+ error_code: 'duplicate_code_on_device'
3672
+ }
3673
+ | {
3674
+ message: string
3675
+ is_access_code_error: true
3676
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3677
+ error_code: 'duplicate_code_attempt_prevented'
3678
+ }
3679
+ | {
3680
+ message: string
3681
+ is_access_code_error: true
3682
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3683
+ error_code: 'igloohome_bridge_too_many_pending_jobs'
3684
+ }
3685
+ | {
3686
+ message: string
3687
+ is_access_code_error: true
3688
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3689
+ error_code: 'igloohome_bridge_offline'
3690
+ }
3691
+ | {
3692
+ message: string
3693
+ is_access_code_error: true
3694
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3695
+ error_code: 'igloohome_offline_access_code_no_variance_available'
3696
+ }
3697
+ | {
3698
+ message: string
3699
+ is_access_code_error: true
3700
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3701
+ error_code: 'kwikset_unable_to_confirm_code'
3702
+ }
3703
+ | {
3704
+ message: string
3705
+ is_access_code_error: true
3706
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3707
+ error_code: 'kwikset_unable_to_confirm_deletion'
3708
+ }
3709
+ | {
3710
+ message: string
3711
+ is_access_code_error: true
3712
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3713
+ error_code: 'code_modified_external_to_seam'
3714
+ }
3715
+ | {
3716
+ message: string
3717
+ is_access_code_error: true
3718
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3719
+ error_code: 'august_lock_invalid_code_length'
3720
+ }
3721
+ | {
3722
+ message: string
3723
+ is_access_code_error: true
3724
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3725
+ error_code: 'august_device_programming_delay'
3726
+ }
3727
+ | {
3728
+ message: string
3729
+ is_access_code_error: true
3730
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3731
+ error_code: 'august_device_slots_full'
3732
+ }
3733
+ | {
3734
+ message: string
3735
+ is_access_code_error: true
3736
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3737
+ error_code: 'august_lock_missing_keypad'
3738
+ }
3739
+ | {
3740
+ message: string
3741
+ is_access_code_error: true
3742
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3743
+ error_code: 'salto_site_user_not_subscribed'
3744
+ }
3745
+ | {
3746
+ message: string
3747
+ is_access_code_error: true
3748
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3749
+ error_code: 'hubitat_device_programming_delay'
3750
+ }
3751
+ | {
3752
+ message: string
3753
+ is_access_code_error: true
3754
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3755
+ error_code: 'hubitat_no_free_positions_available'
3756
+ }
3757
+ )
3758
+ | (
3759
+ | {
3760
+ message: string
3761
+ is_device_error: true
3762
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3763
+ error_code: 'device_offline'
3764
+ }
3765
+ | {
3766
+ message: string
3767
+ is_device_error: true
3768
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3769
+ error_code: 'device_removed'
3770
+ }
3771
+ | {
3772
+ message: string
3773
+ is_device_error: true
3774
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3775
+ error_code: 'account_disconnected'
3776
+ }
3777
+ | {
3778
+ message: string
3779
+ is_device_error: true
3780
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3781
+ error_code: 'hub_disconnected'
3782
+ }
3783
+ | {
3784
+ message: string
3785
+ is_device_error: true
3786
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3787
+ error_code: 'device_disconnected'
3788
+ }
3789
+ | {
3790
+ message: string
3791
+ is_device_error: true
3792
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3793
+ error_code: 'empty_backup_access_code_pool'
3794
+ }
3795
+ | {
3796
+ message: string
3797
+ is_device_error: true
3798
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3799
+ error_code: 'august_lock_not_authorized'
3800
+ }
3801
+ | {
3802
+ message: string
3803
+ is_device_error: true
3804
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3805
+ error_code: 'august_lock_missing_bridge'
3806
+ }
3807
+ | {
3808
+ message: string
3809
+ is_device_error: true
3810
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3811
+ error_code: 'salto_site_user_limit_reached'
3812
+ }
3813
+ | {
3814
+ message: string
3815
+ is_device_error: true
3816
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3817
+ error_code: 'ttlock_lock_not_paired_to_gateway'
3818
+ }
3819
+ | {
3820
+ message: string
3821
+ is_device_error: true
3822
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3823
+ error_code: 'missing_device_credentials'
3824
+ }
3825
+ | {
3826
+ message: string
3827
+ is_device_error: true
3828
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3829
+ error_code: 'auxiliary_heat_running'
3830
+ }
3831
+ | {
3832
+ message: string
3833
+ is_device_error: true
3834
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3835
+ error_code: 'subscription_required'
3836
+ }
3837
+ )
3838
+ | (
3839
+ | {
3840
+ message: string
3841
+ is_connected_account_error: true
3842
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3843
+ error_code: 'account_disconnected'
3844
+ }
3845
+ | {
3846
+ message: string
3847
+ is_connected_account_error: true
3848
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3849
+ error_code: 'invalid_credentials'
3850
+ }
3851
+ )
3852
+ >
3853
+ /** 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. */
3854
+ warnings: Array<
3855
+ | {
3856
+ message: string
3857
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3858
+ warning_code: 'smartthings_failed_to_set_access_code'
3859
+ }
3860
+ | {
3861
+ message: string
3862
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3863
+ warning_code: 'schlage_detected_duplicate'
3864
+ }
3865
+ | {
3866
+ message: string
3867
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3868
+ warning_code: 'schlage_creation_outage'
3869
+ }
3870
+ | {
3871
+ message: string
3872
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3873
+ warning_code: 'code_modified_external_to_seam'
3874
+ }
3875
+ | {
3876
+ message: string
3877
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3878
+ warning_code: 'delay_in_setting_on_device'
3879
+ }
3880
+ | {
3881
+ message: string
3882
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3883
+ warning_code: 'delay_in_removing_from_device'
3884
+ }
3885
+ | {
3886
+ message: string
3887
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3888
+ warning_code: 'third_party_integration_detected'
3889
+ }
3890
+ | {
3891
+ message: string
3892
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3893
+ warning_code: 'august_device_programming_delay'
3894
+ }
3895
+ | {
3896
+ message: string
3897
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3898
+ warning_code: 'igloo_algopin_must_be_used_within_24_hours'
3899
+ }
2802
3900
  | {
2803
3901
  message: string
2804
- is_access_code_error: true
2805
- error_code: string
3902
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
3903
+ warning_code: 'management_transferred'
2806
3904
  }
3905
+ >
3906
+ /** Indicates whether Seam manages the access code. */
3907
+ is_managed: true
3908
+ /** Date and time at which the time-bound access code becomes active. */
3909
+ starts_at?: (string | null) | undefined
3910
+ /** Date and time after which the time-bound access code becomes inactive. */
3911
+ ends_at?: (string | null) | undefined
3912
+ /**
3913
+ Current status of the access code within the operational lifecycle. Values are "setting," a transitional phase that indicates that the code is being configured or activated; "set", which indicates that the code is active and operational; "unset," which indicates a deactivated or unused state, either before activation or after deliberate deactivation; "removing," which indicates a transitional period in which the code is being deleted or made inactive; and "unknown," which indicates an indeterminate state, due to reasons such as system errors or incomplete data, that highlights a potential need for system review or troubleshooting.
3914
+ */
3915
+ status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown'
3916
+ /** Indicates whether a backup access code is available for use if the primary access code is lost or compromised. */
3917
+ is_backup_access_code_available: boolean
3918
+ /** Indicates whether the access code is a backup code. */
3919
+ is_backup?: boolean | undefined
3920
+ /** Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code. */
3921
+ pulled_backup_access_code_id?: (string | null) | undefined
3922
+ /** Indicates whether changes to the access code from external sources are permitted. */
3923
+ is_external_modification_allowed: boolean
3924
+ /** Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use. */
3925
+ is_one_time_use: boolean
3926
+ /** Indicates whether the access code is intended for use in offline scenarios. If "true," this code can be created on a device without a network connection. */
3927
+ is_offline_access_code: boolean
3928
+ }
3929
+ }
3930
+ }
3931
+ '/access_codes/simulate/create_unmanaged_access_code': {
3932
+ route: '/access_codes/simulate/create_unmanaged_access_code'
3933
+ method: 'POST'
3934
+ queryParams: {}
3935
+ jsonBody: {
3936
+ device_id: string
3937
+ name: string
3938
+ code: string
3939
+ }
3940
+ commonParams: {}
3941
+ formData: {}
3942
+ jsonResponse: {
3943
+ /** */
3944
+ access_code: {
3945
+ /** Nature of the access code. Values are "ongoing" for access codes that are active continuously until deactivated manually or "time_bound" for access codes that have a specific duration. */
3946
+ type: 'time_bound' | 'ongoing'
3947
+ /** Unique identifier for the access code. */
3948
+ access_code_id: string
3949
+ /** Unique identifier for the device associated with the access code. */
3950
+ device_id: string
3951
+ /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
3952
+ name: string | null
3953
+ /** Code used for access. Typically, a numeric or alphanumeric string. */
3954
+ code: string | null
3955
+ /** Date and time at which the access code was created. */
3956
+ created_at: string
3957
+ /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
3958
+ errors: Array<
3959
+ | (
3960
+ | {
3961
+ message: string
3962
+ is_access_code_error: true
3963
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3964
+ error_code: 'smartthings_failed_to_set_access_code'
3965
+ }
3966
+ | {
3967
+ message: string
3968
+ is_access_code_error: true
3969
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3970
+ error_code: 'smartthings_failed_to_set_after_multiple_retries'
3971
+ }
3972
+ | {
3973
+ message: string
3974
+ is_access_code_error: true
3975
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3976
+ error_code: 'failed_to_set_on_device'
3977
+ }
3978
+ | {
3979
+ message: string
3980
+ is_access_code_error: true
3981
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3982
+ error_code: 'failed_to_remove_from_device'
3983
+ }
3984
+ | {
3985
+ message: string
3986
+ is_access_code_error: true
3987
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3988
+ error_code: 'duplicate_code_on_device'
3989
+ }
3990
+ | {
3991
+ message: string
3992
+ is_access_code_error: true
3993
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3994
+ error_code: 'duplicate_code_attempt_prevented'
3995
+ }
3996
+ | {
3997
+ message: string
3998
+ is_access_code_error: true
3999
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4000
+ error_code: 'igloohome_bridge_too_many_pending_jobs'
4001
+ }
4002
+ | {
4003
+ message: string
4004
+ is_access_code_error: true
4005
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4006
+ error_code: 'igloohome_bridge_offline'
4007
+ }
4008
+ | {
4009
+ message: string
4010
+ is_access_code_error: true
4011
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4012
+ error_code: 'igloohome_offline_access_code_no_variance_available'
4013
+ }
4014
+ | {
4015
+ message: string
4016
+ is_access_code_error: true
4017
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4018
+ error_code: 'kwikset_unable_to_confirm_code'
4019
+ }
4020
+ | {
4021
+ message: string
4022
+ is_access_code_error: true
4023
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4024
+ error_code: 'kwikset_unable_to_confirm_deletion'
4025
+ }
4026
+ | {
4027
+ message: string
4028
+ is_access_code_error: true
4029
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4030
+ error_code: 'code_modified_external_to_seam'
4031
+ }
4032
+ | {
4033
+ message: string
4034
+ is_access_code_error: true
4035
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4036
+ error_code: 'august_lock_invalid_code_length'
4037
+ }
4038
+ | {
4039
+ message: string
4040
+ is_access_code_error: true
4041
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4042
+ error_code: 'august_device_programming_delay'
4043
+ }
4044
+ | {
4045
+ message: string
4046
+ is_access_code_error: true
4047
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4048
+ error_code: 'august_device_slots_full'
4049
+ }
4050
+ | {
4051
+ message: string
4052
+ is_access_code_error: true
4053
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4054
+ error_code: 'august_lock_missing_keypad'
4055
+ }
4056
+ | {
4057
+ message: string
4058
+ is_access_code_error: true
4059
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4060
+ error_code: 'salto_site_user_not_subscribed'
4061
+ }
4062
+ | {
4063
+ message: string
4064
+ is_access_code_error: true
4065
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4066
+ error_code: 'hubitat_device_programming_delay'
4067
+ }
4068
+ | {
4069
+ message: string
4070
+ is_access_code_error: true
4071
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4072
+ error_code: 'hubitat_no_free_positions_available'
4073
+ }
4074
+ )
2807
4075
  | (
2808
4076
  | {
2809
4077
  message: string
@@ -2884,166 +4152,74 @@ export interface Routes {
2884
4152
  error_code: 'subscription_required'
2885
4153
  }
2886
4154
  )
2887
- | {
2888
- message: string
2889
- is_connected_account_error: true
2890
- error_code: string
2891
- }
2892
- >
2893
- /** 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. */
2894
- warnings: Array<{
2895
- message: string
2896
- warning_code: string
2897
- }>
2898
- /** Indicates whether Seam manages the access code. */
2899
- is_managed: true
2900
- /** Date and time at which the time-bound access code becomes active. */
2901
- starts_at?: (string | null) | undefined
2902
- /** Date and time after which the time-bound access code becomes inactive. */
2903
- ends_at?: (string | null) | undefined
2904
- /**
2905
- Current status of the access code within the operational lifecycle. Values are "setting," a transitional phase that indicates that the code is being configured or activated; "set", which indicates that the code is active and operational; "unset," which indicates a deactivated or unused state, either before activation or after deliberate deactivation; "removing," which indicates a transitional period in which the code is being deleted or made inactive; and "unknown," which indicates an indeterminate state, due to reasons such as system errors or incomplete data, that highlights a potential need for system review or troubleshooting.
2906
- */
2907
- status: 'setting' | 'set' | 'unset' | 'removing' | 'unknown'
2908
- /** Indicates whether a backup access code is available for use if the primary access code is lost or compromised. */
2909
- is_backup_access_code_available: boolean
2910
- /** Indicates whether the access code is a backup code. */
2911
- is_backup?: boolean | undefined
2912
- /** Identifier of the pulled backup access code. Used to associate the pulled backup access code with the original access code. */
2913
- pulled_backup_access_code_id?: (string | null) | undefined
2914
- /** Indicates whether changes to the access code from external sources are permitted. */
2915
- is_external_modification_allowed: boolean
2916
- /** Indicates whether the access code can only be used once. If "true," the code becomes invalid after the first use. */
2917
- is_one_time_use: boolean
2918
- /** Indicates whether the access code is intended for use in offline scenarios. If "true," this code can be created on a device without a network connection. */
2919
- is_offline_access_code: boolean
2920
- }
2921
- }
2922
- }
2923
- '/access_codes/simulate/create_unmanaged_access_code': {
2924
- route: '/access_codes/simulate/create_unmanaged_access_code'
2925
- method: 'POST'
2926
- queryParams: {}
2927
- jsonBody: {
2928
- device_id: string
2929
- name: string
2930
- code: string
2931
- }
2932
- commonParams: {}
2933
- formData: {}
2934
- jsonResponse: {
2935
- /** */
2936
- access_code: {
2937
- /** Nature of the access code. Values are "ongoing" for access codes that are active continuously until deactivated manually or "time_bound" for access codes that have a specific duration. */
2938
- type: 'time_bound' | 'ongoing'
2939
- /** Unique identifier for the access code. */
2940
- access_code_id: string
2941
- /** Unique identifier for the device associated with the access code. */
2942
- device_id: string
2943
- /** Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. */
2944
- name: string | null
2945
- /** Code used for access. Typically, a numeric or alphanumeric string. */
2946
- code: string | null
2947
- /** Date and time at which the access code was created. */
2948
- created_at: string
2949
- /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
2950
- errors: Array<
2951
- | {
2952
- message: string
2953
- is_access_code_error: true
2954
- error_code: string
2955
- }
2956
4155
  | (
2957
4156
  | {
2958
4157
  message: string
2959
- is_device_error: true
2960
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2961
- error_code: 'device_offline'
2962
- }
2963
- | {
2964
- message: string
2965
- is_device_error: true
2966
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2967
- error_code: 'device_removed'
2968
- }
2969
- | {
2970
- message: string
2971
- is_device_error: true
2972
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4158
+ is_connected_account_error: true
4159
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
2973
4160
  error_code: 'account_disconnected'
2974
4161
  }
2975
4162
  | {
2976
4163
  message: string
2977
- is_device_error: true
2978
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2979
- error_code: 'hub_disconnected'
2980
- }
2981
- | {
2982
- message: string
2983
- is_device_error: true
2984
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2985
- error_code: 'device_disconnected'
2986
- }
2987
- | {
2988
- message: string
2989
- is_device_error: true
2990
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2991
- error_code: 'empty_backup_access_code_pool'
2992
- }
2993
- | {
2994
- message: string
2995
- is_device_error: true
2996
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2997
- error_code: 'august_lock_not_authorized'
2998
- }
2999
- | {
3000
- message: string
3001
- is_device_error: true
3002
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3003
- error_code: 'august_lock_missing_bridge'
3004
- }
3005
- | {
3006
- message: string
3007
- is_device_error: true
3008
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3009
- error_code: 'salto_site_user_limit_reached'
3010
- }
3011
- | {
3012
- message: string
3013
- is_device_error: true
3014
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3015
- error_code: 'ttlock_lock_not_paired_to_gateway'
3016
- }
3017
- | {
3018
- message: string
3019
- is_device_error: true
3020
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3021
- error_code: 'missing_device_credentials'
3022
- }
3023
- | {
3024
- message: string
3025
- is_device_error: true
3026
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3027
- error_code: 'auxiliary_heat_running'
3028
- }
3029
- | {
3030
- message: string
3031
- is_device_error: true
3032
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3033
- error_code: 'subscription_required'
4164
+ is_connected_account_error: true
4165
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4166
+ error_code: 'invalid_credentials'
3034
4167
  }
3035
4168
  )
4169
+ >
4170
+ /** 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. */
4171
+ warnings: Array<
3036
4172
  | {
3037
4173
  message: string
3038
- is_connected_account_error: true
3039
- error_code: string
4174
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4175
+ warning_code: 'smartthings_failed_to_set_access_code'
4176
+ }
4177
+ | {
4178
+ message: string
4179
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4180
+ warning_code: 'schlage_detected_duplicate'
4181
+ }
4182
+ | {
4183
+ message: string
4184
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4185
+ warning_code: 'schlage_creation_outage'
4186
+ }
4187
+ | {
4188
+ message: string
4189
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4190
+ warning_code: 'code_modified_external_to_seam'
4191
+ }
4192
+ | {
4193
+ message: string
4194
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4195
+ warning_code: 'delay_in_setting_on_device'
4196
+ }
4197
+ | {
4198
+ message: string
4199
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4200
+ warning_code: 'delay_in_removing_from_device'
4201
+ }
4202
+ | {
4203
+ message: string
4204
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4205
+ warning_code: 'third_party_integration_detected'
4206
+ }
4207
+ | {
4208
+ message: string
4209
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4210
+ warning_code: 'august_device_programming_delay'
4211
+ }
4212
+ | {
4213
+ message: string
4214
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4215
+ warning_code: 'igloo_algopin_must_be_used_within_24_hours'
4216
+ }
4217
+ | {
4218
+ message: string
4219
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
4220
+ warning_code: 'management_transferred'
3040
4221
  }
3041
4222
  >
3042
- /** 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. */
3043
- warnings: Array<{
3044
- message: string
3045
- warning_code: string
3046
- }>
3047
4223
  is_managed: false
3048
4224
  /** Date and time at which the time-bound access code becomes active. */
3049
4225
  starts_at?: (string | null) | undefined
@@ -4085,11 +5261,122 @@ export interface Routes {
4085
5261
  created_at: string
4086
5262
  /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
4087
5263
  errors: Array<
4088
- | {
4089
- message: string
4090
- is_access_code_error: true
4091
- error_code: string
4092
- }
5264
+ | (
5265
+ | {
5266
+ message: string
5267
+ is_access_code_error: true
5268
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5269
+ error_code: 'smartthings_failed_to_set_access_code'
5270
+ }
5271
+ | {
5272
+ message: string
5273
+ is_access_code_error: true
5274
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5275
+ error_code: 'smartthings_failed_to_set_after_multiple_retries'
5276
+ }
5277
+ | {
5278
+ message: string
5279
+ is_access_code_error: true
5280
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5281
+ error_code: 'failed_to_set_on_device'
5282
+ }
5283
+ | {
5284
+ message: string
5285
+ is_access_code_error: true
5286
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5287
+ error_code: 'failed_to_remove_from_device'
5288
+ }
5289
+ | {
5290
+ message: string
5291
+ is_access_code_error: true
5292
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5293
+ error_code: 'duplicate_code_on_device'
5294
+ }
5295
+ | {
5296
+ message: string
5297
+ is_access_code_error: true
5298
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5299
+ error_code: 'duplicate_code_attempt_prevented'
5300
+ }
5301
+ | {
5302
+ message: string
5303
+ is_access_code_error: true
5304
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5305
+ error_code: 'igloohome_bridge_too_many_pending_jobs'
5306
+ }
5307
+ | {
5308
+ message: string
5309
+ is_access_code_error: true
5310
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5311
+ error_code: 'igloohome_bridge_offline'
5312
+ }
5313
+ | {
5314
+ message: string
5315
+ is_access_code_error: true
5316
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5317
+ error_code: 'igloohome_offline_access_code_no_variance_available'
5318
+ }
5319
+ | {
5320
+ message: string
5321
+ is_access_code_error: true
5322
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5323
+ error_code: 'kwikset_unable_to_confirm_code'
5324
+ }
5325
+ | {
5326
+ message: string
5327
+ is_access_code_error: true
5328
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5329
+ error_code: 'kwikset_unable_to_confirm_deletion'
5330
+ }
5331
+ | {
5332
+ message: string
5333
+ is_access_code_error: true
5334
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5335
+ error_code: 'code_modified_external_to_seam'
5336
+ }
5337
+ | {
5338
+ message: string
5339
+ is_access_code_error: true
5340
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5341
+ error_code: 'august_lock_invalid_code_length'
5342
+ }
5343
+ | {
5344
+ message: string
5345
+ is_access_code_error: true
5346
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5347
+ error_code: 'august_device_programming_delay'
5348
+ }
5349
+ | {
5350
+ message: string
5351
+ is_access_code_error: true
5352
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5353
+ error_code: 'august_device_slots_full'
5354
+ }
5355
+ | {
5356
+ message: string
5357
+ is_access_code_error: true
5358
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5359
+ error_code: 'august_lock_missing_keypad'
5360
+ }
5361
+ | {
5362
+ message: string
5363
+ is_access_code_error: true
5364
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5365
+ error_code: 'salto_site_user_not_subscribed'
5366
+ }
5367
+ | {
5368
+ message: string
5369
+ is_access_code_error: true
5370
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5371
+ error_code: 'hubitat_device_programming_delay'
5372
+ }
5373
+ | {
5374
+ message: string
5375
+ is_access_code_error: true
5376
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5377
+ error_code: 'hubitat_no_free_positions_available'
5378
+ }
5379
+ )
4093
5380
  | (
4094
5381
  | {
4095
5382
  message: string
@@ -4170,17 +5457,74 @@ export interface Routes {
4170
5457
  error_code: 'subscription_required'
4171
5458
  }
4172
5459
  )
5460
+ | (
5461
+ | {
5462
+ message: string
5463
+ is_connected_account_error: true
5464
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5465
+ error_code: 'account_disconnected'
5466
+ }
5467
+ | {
5468
+ message: string
5469
+ is_connected_account_error: true
5470
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5471
+ error_code: 'invalid_credentials'
5472
+ }
5473
+ )
5474
+ >
5475
+ /** 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. */
5476
+ warnings: Array<
4173
5477
  | {
4174
5478
  message: string
4175
- is_connected_account_error: true
4176
- error_code: string
5479
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5480
+ warning_code: 'smartthings_failed_to_set_access_code'
5481
+ }
5482
+ | {
5483
+ message: string
5484
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5485
+ warning_code: 'schlage_detected_duplicate'
5486
+ }
5487
+ | {
5488
+ message: string
5489
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5490
+ warning_code: 'schlage_creation_outage'
5491
+ }
5492
+ | {
5493
+ message: string
5494
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5495
+ warning_code: 'code_modified_external_to_seam'
5496
+ }
5497
+ | {
5498
+ message: string
5499
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5500
+ warning_code: 'delay_in_setting_on_device'
5501
+ }
5502
+ | {
5503
+ message: string
5504
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5505
+ warning_code: 'delay_in_removing_from_device'
5506
+ }
5507
+ | {
5508
+ message: string
5509
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5510
+ warning_code: 'third_party_integration_detected'
5511
+ }
5512
+ | {
5513
+ message: string
5514
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5515
+ warning_code: 'august_device_programming_delay'
5516
+ }
5517
+ | {
5518
+ message: string
5519
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5520
+ warning_code: 'igloo_algopin_must_be_used_within_24_hours'
5521
+ }
5522
+ | {
5523
+ message: string
5524
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5525
+ warning_code: 'management_transferred'
4177
5526
  }
4178
5527
  >
4179
- /** 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. */
4180
- warnings: Array<{
4181
- message: string
4182
- warning_code: string
4183
- }>
4184
5528
  is_managed: false
4185
5529
  /** Date and time at which the time-bound access code becomes active. */
4186
5530
  starts_at?: (string | null) | undefined
@@ -4216,11 +5560,122 @@ export interface Routes {
4216
5560
  created_at: string
4217
5561
  /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
4218
5562
  errors: Array<
4219
- | {
4220
- message: string
4221
- is_access_code_error: true
4222
- error_code: string
4223
- }
5563
+ | (
5564
+ | {
5565
+ message: string
5566
+ is_access_code_error: true
5567
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5568
+ error_code: 'smartthings_failed_to_set_access_code'
5569
+ }
5570
+ | {
5571
+ message: string
5572
+ is_access_code_error: true
5573
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5574
+ error_code: 'smartthings_failed_to_set_after_multiple_retries'
5575
+ }
5576
+ | {
5577
+ message: string
5578
+ is_access_code_error: true
5579
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5580
+ error_code: 'failed_to_set_on_device'
5581
+ }
5582
+ | {
5583
+ message: string
5584
+ is_access_code_error: true
5585
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5586
+ error_code: 'failed_to_remove_from_device'
5587
+ }
5588
+ | {
5589
+ message: string
5590
+ is_access_code_error: true
5591
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5592
+ error_code: 'duplicate_code_on_device'
5593
+ }
5594
+ | {
5595
+ message: string
5596
+ is_access_code_error: true
5597
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5598
+ error_code: 'duplicate_code_attempt_prevented'
5599
+ }
5600
+ | {
5601
+ message: string
5602
+ is_access_code_error: true
5603
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5604
+ error_code: 'igloohome_bridge_too_many_pending_jobs'
5605
+ }
5606
+ | {
5607
+ message: string
5608
+ is_access_code_error: true
5609
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5610
+ error_code: 'igloohome_bridge_offline'
5611
+ }
5612
+ | {
5613
+ message: string
5614
+ is_access_code_error: true
5615
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5616
+ error_code: 'igloohome_offline_access_code_no_variance_available'
5617
+ }
5618
+ | {
5619
+ message: string
5620
+ is_access_code_error: true
5621
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5622
+ error_code: 'kwikset_unable_to_confirm_code'
5623
+ }
5624
+ | {
5625
+ message: string
5626
+ is_access_code_error: true
5627
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5628
+ error_code: 'kwikset_unable_to_confirm_deletion'
5629
+ }
5630
+ | {
5631
+ message: string
5632
+ is_access_code_error: true
5633
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5634
+ error_code: 'code_modified_external_to_seam'
5635
+ }
5636
+ | {
5637
+ message: string
5638
+ is_access_code_error: true
5639
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5640
+ error_code: 'august_lock_invalid_code_length'
5641
+ }
5642
+ | {
5643
+ message: string
5644
+ is_access_code_error: true
5645
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5646
+ error_code: 'august_device_programming_delay'
5647
+ }
5648
+ | {
5649
+ message: string
5650
+ is_access_code_error: true
5651
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5652
+ error_code: 'august_device_slots_full'
5653
+ }
5654
+ | {
5655
+ message: string
5656
+ is_access_code_error: true
5657
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5658
+ error_code: 'august_lock_missing_keypad'
5659
+ }
5660
+ | {
5661
+ message: string
5662
+ is_access_code_error: true
5663
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5664
+ error_code: 'salto_site_user_not_subscribed'
5665
+ }
5666
+ | {
5667
+ message: string
5668
+ is_access_code_error: true
5669
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5670
+ error_code: 'hubitat_device_programming_delay'
5671
+ }
5672
+ | {
5673
+ message: string
5674
+ is_access_code_error: true
5675
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5676
+ error_code: 'hubitat_no_free_positions_available'
5677
+ }
5678
+ )
4224
5679
  | (
4225
5680
  | {
4226
5681
  message: string
@@ -4301,17 +5756,74 @@ export interface Routes {
4301
5756
  error_code: 'subscription_required'
4302
5757
  }
4303
5758
  )
5759
+ | (
5760
+ | {
5761
+ message: string
5762
+ is_connected_account_error: true
5763
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5764
+ error_code: 'account_disconnected'
5765
+ }
5766
+ | {
5767
+ message: string
5768
+ is_connected_account_error: true
5769
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5770
+ error_code: 'invalid_credentials'
5771
+ }
5772
+ )
5773
+ >
5774
+ /** 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. */
5775
+ warnings: Array<
4304
5776
  | {
4305
5777
  message: string
4306
- is_connected_account_error: true
4307
- error_code: string
5778
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5779
+ warning_code: 'smartthings_failed_to_set_access_code'
5780
+ }
5781
+ | {
5782
+ message: string
5783
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5784
+ warning_code: 'schlage_detected_duplicate'
5785
+ }
5786
+ | {
5787
+ message: string
5788
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5789
+ warning_code: 'schlage_creation_outage'
5790
+ }
5791
+ | {
5792
+ message: string
5793
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5794
+ warning_code: 'code_modified_external_to_seam'
5795
+ }
5796
+ | {
5797
+ message: string
5798
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5799
+ warning_code: 'delay_in_setting_on_device'
5800
+ }
5801
+ | {
5802
+ message: string
5803
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5804
+ warning_code: 'delay_in_removing_from_device'
5805
+ }
5806
+ | {
5807
+ message: string
5808
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5809
+ warning_code: 'third_party_integration_detected'
5810
+ }
5811
+ | {
5812
+ message: string
5813
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5814
+ warning_code: 'august_device_programming_delay'
5815
+ }
5816
+ | {
5817
+ message: string
5818
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5819
+ warning_code: 'igloo_algopin_must_be_used_within_24_hours'
5820
+ }
5821
+ | {
5822
+ message: string
5823
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
5824
+ warning_code: 'management_transferred'
4308
5825
  }
4309
5826
  >
4310
- /** 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. */
4311
- warnings: Array<{
4312
- message: string
4313
- warning_code: string
4314
- }>
4315
5827
  is_managed: false
4316
5828
  /** Date and time at which the time-bound access code becomes active. */
4317
5829
  starts_at?: (string | null) | undefined
@@ -13557,15 +15069,25 @@ export interface Routes {
13557
15069
  | undefined
13558
15070
  account_type?: string | undefined
13559
15071
  account_type_display_name: string
13560
- errors: Array<{
13561
- message: string
13562
- is_connected_account_error: true
13563
- error_code: string
13564
- }>
15072
+ errors: Array<
15073
+ | {
15074
+ message: string
15075
+ is_connected_account_error: true
15076
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15077
+ error_code: 'account_disconnected'
15078
+ }
15079
+ | {
15080
+ message: string
15081
+ is_connected_account_error: true
15082
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15083
+ error_code: 'invalid_credentials'
15084
+ }
15085
+ >
13565
15086
  warnings: Array<
13566
15087
  | {
13567
15088
  message: string
13568
- warning_code: string
15089
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15090
+ warning_code: 'scheduled_maintenance_window'
13569
15091
  }
13570
15092
  | {
13571
15093
  message: string
@@ -13605,15 +15127,25 @@ export interface Routes {
13605
15127
  | undefined
13606
15128
  account_type?: string | undefined
13607
15129
  account_type_display_name: string
13608
- errors: Array<{
13609
- message: string
13610
- is_connected_account_error: true
13611
- error_code: string
13612
- }>
15130
+ errors: Array<
15131
+ | {
15132
+ message: string
15133
+ is_connected_account_error: true
15134
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15135
+ error_code: 'account_disconnected'
15136
+ }
15137
+ | {
15138
+ message: string
15139
+ is_connected_account_error: true
15140
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15141
+ error_code: 'invalid_credentials'
15142
+ }
15143
+ >
13613
15144
  warnings: Array<
13614
15145
  | {
13615
15146
  message: string
13616
- warning_code: string
15147
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15148
+ warning_code: 'scheduled_maintenance_window'
13617
15149
  }
13618
15150
  | {
13619
15151
  message: string
@@ -13653,15 +15185,25 @@ export interface Routes {
13653
15185
  | undefined
13654
15186
  account_type?: string | undefined
13655
15187
  account_type_display_name: string
13656
- errors: Array<{
13657
- message: string
13658
- is_connected_account_error: true
13659
- error_code: string
13660
- }>
15188
+ errors: Array<
15189
+ | {
15190
+ message: string
15191
+ is_connected_account_error: true
15192
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15193
+ error_code: 'account_disconnected'
15194
+ }
15195
+ | {
15196
+ message: string
15197
+ is_connected_account_error: true
15198
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15199
+ error_code: 'invalid_credentials'
15200
+ }
15201
+ >
13661
15202
  warnings: Array<
13662
15203
  | {
13663
15204
  message: string
13664
- warning_code: string
15205
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15206
+ warning_code: 'scheduled_maintenance_window'
13665
15207
  }
13666
15208
  | {
13667
15209
  message: string
@@ -14449,11 +15991,20 @@ export interface Routes {
14449
15991
  error_code: 'subscription_required'
14450
15992
  }
14451
15993
  )
14452
- | {
14453
- message: string
14454
- is_connected_account_error: true
14455
- error_code: string
14456
- }
15994
+ | (
15995
+ | {
15996
+ message: string
15997
+ is_connected_account_error: true
15998
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15999
+ error_code: 'account_disconnected'
16000
+ }
16001
+ | {
16002
+ message: string
16003
+ is_connected_account_error: true
16004
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16005
+ error_code: 'invalid_credentials'
16006
+ }
16007
+ )
14457
16008
  >
14458
16009
  /** 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. */
14459
16010
  warnings: Array<
@@ -15486,11 +17037,20 @@ export interface Routes {
15486
17037
  error_code: 'subscription_required'
15487
17038
  }
15488
17039
  )
15489
- | {
15490
- message: string
15491
- is_connected_account_error: true
15492
- error_code: string
15493
- }
17040
+ | (
17041
+ | {
17042
+ message: string
17043
+ is_connected_account_error: true
17044
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17045
+ error_code: 'account_disconnected'
17046
+ }
17047
+ | {
17048
+ message: string
17049
+ is_connected_account_error: true
17050
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17051
+ error_code: 'invalid_credentials'
17052
+ }
17053
+ )
15494
17054
  >
15495
17055
  /** 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. */
15496
17056
  warnings: Array<
@@ -15866,11 +17426,20 @@ export interface Routes {
15866
17426
  error_code: 'subscription_required'
15867
17427
  }
15868
17428
  )
15869
- | {
15870
- message: string
15871
- is_connected_account_error: true
15872
- error_code: string
15873
- }
17429
+ | (
17430
+ | {
17431
+ message: string
17432
+ is_connected_account_error: true
17433
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17434
+ error_code: 'account_disconnected'
17435
+ }
17436
+ | {
17437
+ message: string
17438
+ is_connected_account_error: true
17439
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17440
+ error_code: 'invalid_credentials'
17441
+ }
17442
+ )
15874
17443
  >
15875
17444
  /** 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. */
15876
17445
  warnings: Array<
@@ -16349,11 +17918,20 @@ export interface Routes {
16349
17918
  error_code: 'subscription_required'
16350
17919
  }
16351
17920
  )
16352
- | {
16353
- message: string
16354
- is_connected_account_error: true
16355
- error_code: string
16356
- }
17921
+ | (
17922
+ | {
17923
+ message: string
17924
+ is_connected_account_error: true
17925
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17926
+ error_code: 'account_disconnected'
17927
+ }
17928
+ | {
17929
+ message: string
17930
+ is_connected_account_error: true
17931
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
17932
+ error_code: 'invalid_credentials'
17933
+ }
17934
+ )
16357
17935
  >
16358
17936
  /** 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. */
16359
17937
  warnings: Array<
@@ -17834,98 +19412,59 @@ export interface Routes {
17834
19412
  access_code_ids?: string[] | undefined
17835
19413
  event_type?:
17836
19414
  | (
17837
- | 'device.accessory_keypad_connected'
17838
- | 'device.accessory_keypad_disconnected'
17839
- | 'device.added'
17840
- | 'device.connected'
17841
- | 'device.unmanaged.connected'
17842
- | 'device.disconnected'
17843
- | 'device.unmanaged.disconnected'
17844
- | 'device.converted_to_unmanaged'
17845
- | 'device.unmanaged.converted_to_managed'
17846
- | 'device.removed'
17847
- | 'device.deleted'
17848
- | 'device.tampered'
17849
- | 'device.low_battery'
17850
- | 'device.battery_status_changed'
17851
- | 'device.third_party_integration_detected'
17852
- | 'device.third_party_integration_no_longer_detected'
17853
- | 'device.salto.privacy_mode_activated'
17854
- | 'device.salto.privacy_mode_deactivated'
17855
- | 'device.connection_became_flaky'
17856
- | 'device.connection_stabilized'
17857
- | 'device.error.subscription_required'
17858
- | 'device.error.subscription_required.resolved'
17859
19415
  | 'access_code.created'
17860
19416
  | 'access_code.changed'
17861
19417
  | 'access_code.scheduled_on_device'
17862
19418
  | 'access_code.set_on_device'
17863
- | 'access_code.deleted'
17864
19419
  | 'access_code.removed_from_device'
17865
- | 'access_code.failed_to_set_on_device'
17866
19420
  | 'access_code.delay_in_setting_on_device'
17867
- | 'access_code.failed_to_remove_from_device'
19421
+ | 'access_code.failed_to_set_on_device'
19422
+ | 'access_code.deleted'
17868
19423
  | 'access_code.delay_in_removing_from_device'
17869
- | 'access_code.deleted_external_to_seam'
19424
+ | 'access_code.failed_to_remove_from_device'
17870
19425
  | 'access_code.modified_external_to_seam'
19426
+ | 'access_code.deleted_external_to_seam'
19427
+ | 'access_code.backup_access_code_pulled'
17871
19428
  | 'access_code.unmanaged.converted_to_managed'
17872
19429
  | 'access_code.unmanaged.failed_to_convert_to_managed'
17873
19430
  | 'access_code.unmanaged.created'
17874
19431
  | 'access_code.unmanaged.removed'
17875
- | 'lock.locked'
17876
- | 'lock.unlocked'
17877
- | 'lock.access_denied'
17878
- | 'phone.deactivated'
17879
- | 'connected_account.connected'
17880
- | 'connected_account.successful_login'
17881
- | 'connected_account.created'
17882
- | 'connected_account.deleted'
17883
- | 'connected_account.disconnected'
17884
- | 'connected_account.completed_first_sync'
17885
- | 'connected_account.completed_first_sync_after_reconnection'
17886
- | 'connect_webview.login_succeeded'
17887
- | 'connect_webview.login_failed'
17888
- | 'noise_sensor.noise_threshold_triggered'
17889
- | 'access_code.backup_access_code_pulled'
17890
- | 'acs_system.added'
17891
19432
  | 'acs_system.connected'
19433
+ | 'acs_system.added'
17892
19434
  | 'acs_system.disconnected'
17893
- | 'acs_access_group.deleted'
17894
- | 'acs_user.deleted'
17895
19435
  | 'acs_credential.deleted'
17896
19436
  | 'acs_credential.issued'
17897
19437
  | 'acs_credential.reissued'
19438
+ | 'acs_user.deleted'
17898
19439
  | 'acs_encoder.added'
17899
19440
  | 'acs_encoder.removed'
17900
- | 'enrollment_automation.deleted'
19441
+ | 'acs_access_group.deleted'
17901
19442
  | 'client_session.deleted'
19443
+ | 'connected_account.connected'
19444
+ | 'connected_account.created'
19445
+ | 'connected_account.successful_login'
19446
+ | 'connected_account.disconnected'
19447
+ | 'connected_account.completed_first_sync'
19448
+ | 'connected_account.deleted'
19449
+ | 'connected_account.completed_first_sync_after_reconnection'
17902
19450
  | 'action_attempt.lock_door.succeeded'
17903
19451
  | 'action_attempt.lock_door.failed'
17904
19452
  | 'action_attempt.unlock_door.succeeded'
17905
19453
  | 'action_attempt.unlock_door.failed'
17906
- | 'thermostat.climate_preset_activated'
17907
- | 'thermostat.manually_adjusted'
17908
- | 'thermostat.temperature_threshold_exceeded'
17909
- | 'thermostat.temperature_threshold_no_longer_exceeded'
17910
- | 'thermostat.temperature_reached_set_point'
17911
- )
17912
- | undefined
17913
- event_types?:
17914
- | Array<
17915
- | 'device.accessory_keypad_connected'
17916
- | 'device.accessory_keypad_disconnected'
17917
- | 'device.added'
19454
+ | 'connect_webview.login_succeeded'
19455
+ | 'connect_webview.login_failed'
17918
19456
  | 'device.connected'
19457
+ | 'device.added'
19458
+ | 'device.converted_to_unmanaged'
19459
+ | 'device.unmanaged.converted_to_managed'
17919
19460
  | 'device.unmanaged.connected'
17920
19461
  | 'device.disconnected'
17921
19462
  | 'device.unmanaged.disconnected'
17922
- | 'device.converted_to_unmanaged'
17923
- | 'device.unmanaged.converted_to_managed'
17924
- | 'device.removed'
17925
- | 'device.deleted'
17926
19463
  | 'device.tampered'
17927
19464
  | 'device.low_battery'
17928
19465
  | 'device.battery_status_changed'
19466
+ | 'device.removed'
19467
+ | 'device.deleted'
17929
19468
  | 'device.third_party_integration_detected'
17930
19469
  | 'device.third_party_integration_no_longer_detected'
17931
19470
  | 'device.salto.privacy_mode_activated'
@@ -17934,58 +19473,97 @@ export interface Routes {
17934
19473
  | 'device.connection_stabilized'
17935
19474
  | 'device.error.subscription_required'
17936
19475
  | 'device.error.subscription_required.resolved'
19476
+ | 'device.accessory_keypad_connected'
19477
+ | 'device.accessory_keypad_disconnected'
19478
+ | 'noise_sensor.noise_threshold_triggered'
19479
+ | 'lock.locked'
19480
+ | 'lock.unlocked'
19481
+ | 'lock.access_denied'
19482
+ | 'thermostat.climate_preset_activated'
19483
+ | 'thermostat.manually_adjusted'
19484
+ | 'thermostat.temperature_threshold_exceeded'
19485
+ | 'thermostat.temperature_threshold_no_longer_exceeded'
19486
+ | 'thermostat.temperature_reached_set_point'
19487
+ | 'enrollment_automation.deleted'
19488
+ | 'phone.deactivated'
19489
+ )
19490
+ | undefined
19491
+ event_types?:
19492
+ | Array<
17937
19493
  | 'access_code.created'
17938
19494
  | 'access_code.changed'
17939
19495
  | 'access_code.scheduled_on_device'
17940
19496
  | 'access_code.set_on_device'
17941
- | 'access_code.deleted'
17942
19497
  | 'access_code.removed_from_device'
17943
- | 'access_code.failed_to_set_on_device'
17944
19498
  | 'access_code.delay_in_setting_on_device'
17945
- | 'access_code.failed_to_remove_from_device'
19499
+ | 'access_code.failed_to_set_on_device'
19500
+ | 'access_code.deleted'
17946
19501
  | 'access_code.delay_in_removing_from_device'
17947
- | 'access_code.deleted_external_to_seam'
19502
+ | 'access_code.failed_to_remove_from_device'
17948
19503
  | 'access_code.modified_external_to_seam'
19504
+ | 'access_code.deleted_external_to_seam'
19505
+ | 'access_code.backup_access_code_pulled'
17949
19506
  | 'access_code.unmanaged.converted_to_managed'
17950
19507
  | 'access_code.unmanaged.failed_to_convert_to_managed'
17951
19508
  | 'access_code.unmanaged.created'
17952
19509
  | 'access_code.unmanaged.removed'
17953
- | 'lock.locked'
17954
- | 'lock.unlocked'
17955
- | 'lock.access_denied'
17956
- | 'phone.deactivated'
17957
- | 'connected_account.connected'
17958
- | 'connected_account.successful_login'
17959
- | 'connected_account.created'
17960
- | 'connected_account.deleted'
17961
- | 'connected_account.disconnected'
17962
- | 'connected_account.completed_first_sync'
17963
- | 'connected_account.completed_first_sync_after_reconnection'
17964
- | 'connect_webview.login_succeeded'
17965
- | 'connect_webview.login_failed'
17966
- | 'noise_sensor.noise_threshold_triggered'
17967
- | 'access_code.backup_access_code_pulled'
17968
- | 'acs_system.added'
17969
19510
  | 'acs_system.connected'
19511
+ | 'acs_system.added'
17970
19512
  | 'acs_system.disconnected'
17971
- | 'acs_access_group.deleted'
17972
- | 'acs_user.deleted'
17973
19513
  | 'acs_credential.deleted'
17974
19514
  | 'acs_credential.issued'
17975
19515
  | 'acs_credential.reissued'
19516
+ | 'acs_user.deleted'
17976
19517
  | 'acs_encoder.added'
17977
19518
  | 'acs_encoder.removed'
17978
- | 'enrollment_automation.deleted'
19519
+ | 'acs_access_group.deleted'
17979
19520
  | 'client_session.deleted'
19521
+ | 'connected_account.connected'
19522
+ | 'connected_account.created'
19523
+ | 'connected_account.successful_login'
19524
+ | 'connected_account.disconnected'
19525
+ | 'connected_account.completed_first_sync'
19526
+ | 'connected_account.deleted'
19527
+ | 'connected_account.completed_first_sync_after_reconnection'
17980
19528
  | 'action_attempt.lock_door.succeeded'
17981
19529
  | 'action_attempt.lock_door.failed'
17982
19530
  | 'action_attempt.unlock_door.succeeded'
17983
19531
  | 'action_attempt.unlock_door.failed'
19532
+ | 'connect_webview.login_succeeded'
19533
+ | 'connect_webview.login_failed'
19534
+ | 'device.connected'
19535
+ | 'device.added'
19536
+ | 'device.converted_to_unmanaged'
19537
+ | 'device.unmanaged.converted_to_managed'
19538
+ | 'device.unmanaged.connected'
19539
+ | 'device.disconnected'
19540
+ | 'device.unmanaged.disconnected'
19541
+ | 'device.tampered'
19542
+ | 'device.low_battery'
19543
+ | 'device.battery_status_changed'
19544
+ | 'device.removed'
19545
+ | 'device.deleted'
19546
+ | 'device.third_party_integration_detected'
19547
+ | 'device.third_party_integration_no_longer_detected'
19548
+ | 'device.salto.privacy_mode_activated'
19549
+ | 'device.salto.privacy_mode_deactivated'
19550
+ | 'device.connection_became_flaky'
19551
+ | 'device.connection_stabilized'
19552
+ | 'device.error.subscription_required'
19553
+ | 'device.error.subscription_required.resolved'
19554
+ | 'device.accessory_keypad_connected'
19555
+ | 'device.accessory_keypad_disconnected'
19556
+ | 'noise_sensor.noise_threshold_triggered'
19557
+ | 'lock.locked'
19558
+ | 'lock.unlocked'
19559
+ | 'lock.access_denied'
17984
19560
  | 'thermostat.climate_preset_activated'
17985
19561
  | 'thermostat.manually_adjusted'
17986
19562
  | 'thermostat.temperature_threshold_exceeded'
17987
19563
  | 'thermostat.temperature_threshold_no_longer_exceeded'
17988
19564
  | 'thermostat.temperature_reached_set_point'
19565
+ | 'enrollment_automation.deleted'
19566
+ | 'phone.deactivated'
17989
19567
  >
17990
19568
  | undefined
17991
19569
  connected_account_id?: string | undefined
@@ -20012,11 +21590,20 @@ export interface Routes {
20012
21590
  error_code: 'subscription_required'
20013
21591
  }
20014
21592
  )
20015
- | {
20016
- message: string
20017
- is_connected_account_error: true
20018
- error_code: string
20019
- }
21593
+ | (
21594
+ | {
21595
+ message: string
21596
+ is_connected_account_error: true
21597
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
21598
+ error_code: 'account_disconnected'
21599
+ }
21600
+ | {
21601
+ message: string
21602
+ is_connected_account_error: true
21603
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
21604
+ error_code: 'invalid_credentials'
21605
+ }
21606
+ )
20020
21607
  >
20021
21608
  /** 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. */
20022
21609
  warnings: Array<
@@ -20866,11 +22453,20 @@ export interface Routes {
20866
22453
  error_code: 'subscription_required'
20867
22454
  }
20868
22455
  )
20869
- | {
20870
- message: string
20871
- is_connected_account_error: true
20872
- error_code: string
20873
- }
22456
+ | (
22457
+ | {
22458
+ message: string
22459
+ is_connected_account_error: true
22460
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22461
+ error_code: 'account_disconnected'
22462
+ }
22463
+ | {
22464
+ message: string
22465
+ is_connected_account_error: true
22466
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
22467
+ error_code: 'invalid_credentials'
22468
+ }
22469
+ )
20874
22470
  >
20875
22471
  /** 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. */
20876
22472
  warnings: Array<
@@ -21903,11 +23499,20 @@ export interface Routes {
21903
23499
  error_code: 'subscription_required'
21904
23500
  }
21905
23501
  )
21906
- | {
21907
- message: string
21908
- is_connected_account_error: true
21909
- error_code: string
21910
- }
23502
+ | (
23503
+ | {
23504
+ message: string
23505
+ is_connected_account_error: true
23506
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23507
+ error_code: 'account_disconnected'
23508
+ }
23509
+ | {
23510
+ message: string
23511
+ is_connected_account_error: true
23512
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
23513
+ error_code: 'invalid_credentials'
23514
+ }
23515
+ )
21911
23516
  >
21912
23517
  /** 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. */
21913
23518
  warnings: Array<
@@ -22756,11 +24361,20 @@ export interface Routes {
22756
24361
  error_code: 'subscription_required'
22757
24362
  }
22758
24363
  )
22759
- | {
22760
- message: string
22761
- is_connected_account_error: true
22762
- error_code: string
22763
- }
24364
+ | (
24365
+ | {
24366
+ message: string
24367
+ is_connected_account_error: true
24368
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24369
+ error_code: 'account_disconnected'
24370
+ }
24371
+ | {
24372
+ message: string
24373
+ is_connected_account_error: true
24374
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
24375
+ error_code: 'invalid_credentials'
24376
+ }
24377
+ )
22764
24378
  >
22765
24379
  /** 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. */
22766
24380
  warnings: Array<
@@ -25806,11 +27420,20 @@ export interface Routes {
25806
27420
  error_code: 'subscription_required'
25807
27421
  }
25808
27422
  )
25809
- | {
25810
- message: string
25811
- is_connected_account_error: true
25812
- error_code: string
25813
- }
27423
+ | (
27424
+ | {
27425
+ message: string
27426
+ is_connected_account_error: true
27427
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
27428
+ error_code: 'account_disconnected'
27429
+ }
27430
+ | {
27431
+ message: string
27432
+ is_connected_account_error: true
27433
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
27434
+ error_code: 'invalid_credentials'
27435
+ }
27436
+ )
25814
27437
  >
25815
27438
  /** 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. */
25816
27439
  warnings: Array<
@@ -26659,11 +28282,20 @@ export interface Routes {
26659
28282
  error_code: 'subscription_required'
26660
28283
  }
26661
28284
  )
26662
- | {
26663
- message: string
26664
- is_connected_account_error: true
26665
- error_code: string
26666
- }
28285
+ | (
28286
+ | {
28287
+ message: string
28288
+ is_connected_account_error: true
28289
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
28290
+ error_code: 'account_disconnected'
28291
+ }
28292
+ | {
28293
+ message: string
28294
+ is_connected_account_error: true
28295
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
28296
+ error_code: 'invalid_credentials'
28297
+ }
28298
+ )
26667
28299
  >
26668
28300
  /** 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. */
26669
28301
  warnings: Array<
@@ -29947,259 +31579,277 @@ export interface Routes {
29947
31579
  error_code: 'subscription_required'
29948
31580
  }
29949
31581
  )
29950
- | {
29951
- message: string
29952
- is_connected_account_error: true
29953
- error_code: string
29954
- }
29955
- >
29956
- /** 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. */
29957
- warnings: Array<
29958
- | {
29959
- message: string
29960
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29961
- warning_code: 'partial_backup_access_code_pool'
29962
- }
29963
- | {
29964
- message: string
29965
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29966
- warning_code: 'many_active_backup_codes'
29967
- }
29968
- | {
29969
- message: string
29970
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29971
- warning_code: 'salto_unknown_device_type'
29972
- }
29973
- | {
29974
- message: string
29975
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29976
- warning_code: 'wyze_device_missing_gateway'
29977
- }
29978
- | {
29979
- message: string
29980
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29981
- warning_code: 'functional_offline_device'
29982
- }
29983
- | {
29984
- message: string
29985
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29986
- warning_code: 'third_party_integration_detected'
29987
- }
29988
- | {
29989
- message: string
29990
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29991
- warning_code: 'nest_thermostat_in_manual_eco_mode'
29992
- }
29993
- | {
29994
- message: string
29995
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
29996
- warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
29997
- }
29998
- | {
29999
- message: string
30000
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30001
- warning_code: 'ttlock_weak_gateway_signal'
30002
- }
30003
- | {
30004
- message: string
30005
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30006
- warning_code: 'temperature_threshold_exceeded'
30007
- }
30008
- | {
30009
- message: string
30010
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30011
- warning_code: 'device_communication_degraded'
30012
- }
30013
- | {
30014
- message: string
30015
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30016
- warning_code: 'scheduled_maintenance_window'
30017
- }
30018
- | {
30019
- message: string
30020
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30021
- warning_code: 'device_has_flaky_connection'
30022
- }
30023
- | {
30024
- message: string
30025
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30026
- warning_code: 'salto_office_mode'
30027
- }
30028
- | {
30029
- message: string
30030
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30031
- warning_code: 'salto_privacy_mode'
30032
- }
30033
- >
30034
- /** Date and time at which the device object was created. */
30035
- created_at: string
30036
- /** Indicates whether Seam manages the device. */
30037
- is_managed: true
30038
- custom_metadata: Record<string, string | boolean>
30039
- can_remotely_unlock?: boolean | undefined
30040
- can_remotely_lock?: boolean | undefined
30041
- can_program_offline_access_codes?: boolean | undefined
30042
- can_program_online_access_codes?: boolean | undefined
30043
- can_hvac_heat?: boolean | undefined
30044
- can_hvac_cool?: boolean | undefined
30045
- can_hvac_heat_cool?: boolean | undefined
30046
- can_turn_off_hvac?: boolean | undefined
30047
- can_simulate_removal?: boolean | undefined
30048
- can_simulate_connection?: boolean | undefined
30049
- can_simulate_disconnection?: boolean | undefined
30050
- }>
30051
- }
30052
- }
30053
- '/phones/simulate/create_sandbox_phone': {
30054
- route: '/phones/simulate/create_sandbox_phone'
30055
- method: 'GET' | 'POST'
30056
- queryParams: {}
30057
- jsonBody: {
30058
- custom_sdk_installation_id?: string | undefined
30059
- user_identity_id: string
30060
- phone_metadata?: {
30061
- operating_system?: 'android' | 'ios'
30062
- os_version?: string
30063
- device_manufacturer?: string
30064
- device_model?: string
30065
- }
30066
- assa_abloy_metadata?: {
30067
- ble_capability?: boolean
30068
- hce_capability?: boolean
30069
- nfc_capability?: boolean
30070
- application_version?: string
30071
- seos_applet_version?: string
30072
- seos_tsm_endpoint_id?: number
30073
- }
30074
- }
30075
- commonParams: {}
30076
- formData: {}
30077
- jsonResponse: {
30078
- /** */
30079
- phone: {
30080
- /** Unique identifier for the device. */
30081
- device_id: string
30082
- device_type: 'android_phone' | 'ios_phone'
30083
- /** Optional nickname to describe the device, settable through Seam */
30084
- nickname?: string | undefined
30085
- /** Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
30086
- display_name: string
30087
- /** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
30088
- capabilities_supported: Array<
30089
- | 'access_code'
30090
- | 'lock'
30091
- | 'noise_detection'
30092
- | 'thermostat'
30093
- | 'battery'
30094
- | 'phone'
30095
- >
30096
- properties: {
30097
- assa_abloy_credential_service_metadata?:
30098
- | {
30099
- has_active_endpoint: boolean
30100
- endpoints: Array<{
30101
- endpoint_id: string
30102
- is_active: boolean
30103
- }>
30104
- }
30105
- | undefined
30106
- }
30107
- /** Location information for the device. */
30108
- location: {
30109
- /** Name of the device location. */
30110
- location_name?: string | undefined
30111
- /** Time zone of the device location. */
30112
- timezone?: string | undefined
30113
- } | null
30114
- /** Unique identifier for the Seam workspace associated with the device. */
30115
- workspace_id: string
30116
- /** 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. */
30117
- errors: Array<
30118
31582
  | (
30119
31583
  | {
30120
31584
  message: string
30121
- is_device_error: true
30122
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
30123
- error_code: 'device_offline'
30124
- }
30125
- | {
30126
- message: string
30127
- is_device_error: true
30128
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
30129
- error_code: 'device_removed'
30130
- }
30131
- | {
30132
- message: string
30133
- is_device_error: true
30134
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31585
+ is_connected_account_error: true
31586
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31587
+ error_code: 'account_disconnected'
31588
+ }
31589
+ | {
31590
+ message: string
31591
+ is_connected_account_error: true
31592
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31593
+ error_code: 'invalid_credentials'
31594
+ }
31595
+ )
31596
+ >
31597
+ /** 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. */
31598
+ warnings: Array<
31599
+ | {
31600
+ message: string
31601
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31602
+ warning_code: 'partial_backup_access_code_pool'
31603
+ }
31604
+ | {
31605
+ message: string
31606
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31607
+ warning_code: 'many_active_backup_codes'
31608
+ }
31609
+ | {
31610
+ message: string
31611
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31612
+ warning_code: 'salto_unknown_device_type'
31613
+ }
31614
+ | {
31615
+ message: string
31616
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31617
+ warning_code: 'wyze_device_missing_gateway'
31618
+ }
31619
+ | {
31620
+ message: string
31621
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31622
+ warning_code: 'functional_offline_device'
31623
+ }
31624
+ | {
31625
+ message: string
31626
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31627
+ warning_code: 'third_party_integration_detected'
31628
+ }
31629
+ | {
31630
+ message: string
31631
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31632
+ warning_code: 'nest_thermostat_in_manual_eco_mode'
31633
+ }
31634
+ | {
31635
+ message: string
31636
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31637
+ warning_code: 'ttlock_lock_gateway_unlocking_not_enabled'
31638
+ }
31639
+ | {
31640
+ message: string
31641
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31642
+ warning_code: 'ttlock_weak_gateway_signal'
31643
+ }
31644
+ | {
31645
+ message: string
31646
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31647
+ warning_code: 'temperature_threshold_exceeded'
31648
+ }
31649
+ | {
31650
+ message: string
31651
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31652
+ warning_code: 'device_communication_degraded'
31653
+ }
31654
+ | {
31655
+ message: string
31656
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31657
+ warning_code: 'scheduled_maintenance_window'
31658
+ }
31659
+ | {
31660
+ message: string
31661
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31662
+ warning_code: 'device_has_flaky_connection'
31663
+ }
31664
+ | {
31665
+ message: string
31666
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31667
+ warning_code: 'salto_office_mode'
31668
+ }
31669
+ | {
31670
+ message: string
31671
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31672
+ warning_code: 'salto_privacy_mode'
31673
+ }
31674
+ >
31675
+ /** Date and time at which the device object was created. */
31676
+ created_at: string
31677
+ /** Indicates whether Seam manages the device. */
31678
+ is_managed: true
31679
+ custom_metadata: Record<string, string | boolean>
31680
+ can_remotely_unlock?: boolean | undefined
31681
+ can_remotely_lock?: boolean | undefined
31682
+ can_program_offline_access_codes?: boolean | undefined
31683
+ can_program_online_access_codes?: boolean | undefined
31684
+ can_hvac_heat?: boolean | undefined
31685
+ can_hvac_cool?: boolean | undefined
31686
+ can_hvac_heat_cool?: boolean | undefined
31687
+ can_turn_off_hvac?: boolean | undefined
31688
+ can_simulate_removal?: boolean | undefined
31689
+ can_simulate_connection?: boolean | undefined
31690
+ can_simulate_disconnection?: boolean | undefined
31691
+ }>
31692
+ }
31693
+ }
31694
+ '/phones/simulate/create_sandbox_phone': {
31695
+ route: '/phones/simulate/create_sandbox_phone'
31696
+ method: 'GET' | 'POST'
31697
+ queryParams: {}
31698
+ jsonBody: {
31699
+ custom_sdk_installation_id?: string | undefined
31700
+ user_identity_id: string
31701
+ phone_metadata?: {
31702
+ operating_system?: 'android' | 'ios'
31703
+ os_version?: string
31704
+ device_manufacturer?: string
31705
+ device_model?: string
31706
+ }
31707
+ assa_abloy_metadata?: {
31708
+ ble_capability?: boolean
31709
+ hce_capability?: boolean
31710
+ nfc_capability?: boolean
31711
+ application_version?: string
31712
+ seos_applet_version?: string
31713
+ seos_tsm_endpoint_id?: number
31714
+ }
31715
+ }
31716
+ commonParams: {}
31717
+ formData: {}
31718
+ jsonResponse: {
31719
+ /** */
31720
+ phone: {
31721
+ /** Unique identifier for the device. */
31722
+ device_id: string
31723
+ device_type: 'android_phone' | 'ios_phone'
31724
+ /** Optional nickname to describe the device, settable through Seam */
31725
+ nickname?: string | undefined
31726
+ /** Display name of the device, defaults to nickname (if it is set) or properties.appearance.name otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
31727
+ display_name: string
31728
+ /** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
31729
+ capabilities_supported: Array<
31730
+ | 'access_code'
31731
+ | 'lock'
31732
+ | 'noise_detection'
31733
+ | 'thermostat'
31734
+ | 'battery'
31735
+ | 'phone'
31736
+ >
31737
+ properties: {
31738
+ assa_abloy_credential_service_metadata?:
31739
+ | {
31740
+ has_active_endpoint: boolean
31741
+ endpoints: Array<{
31742
+ endpoint_id: string
31743
+ is_active: boolean
31744
+ }>
31745
+ }
31746
+ | undefined
31747
+ }
31748
+ /** Location information for the device. */
31749
+ location: {
31750
+ /** Name of the device location. */
31751
+ location_name?: string | undefined
31752
+ /** Time zone of the device location. */
31753
+ timezone?: string | undefined
31754
+ } | null
31755
+ /** Unique identifier for the Seam workspace associated with the device. */
31756
+ workspace_id: string
31757
+ /** 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. */
31758
+ errors: Array<
31759
+ | (
31760
+ | {
31761
+ message: string
31762
+ is_device_error: true
31763
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31764
+ error_code: 'device_offline'
31765
+ }
31766
+ | {
31767
+ message: string
31768
+ is_device_error: true
31769
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31770
+ error_code: 'device_removed'
31771
+ }
31772
+ | {
31773
+ message: string
31774
+ is_device_error: true
31775
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31776
+ error_code: 'account_disconnected'
31777
+ }
31778
+ | {
31779
+ message: string
31780
+ is_device_error: true
31781
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31782
+ error_code: 'hub_disconnected'
31783
+ }
31784
+ | {
31785
+ message: string
31786
+ is_device_error: true
31787
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31788
+ error_code: 'device_disconnected'
31789
+ }
31790
+ | {
31791
+ message: string
31792
+ is_device_error: true
31793
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31794
+ error_code: 'empty_backup_access_code_pool'
31795
+ }
31796
+ | {
31797
+ message: string
31798
+ is_device_error: true
31799
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31800
+ error_code: 'august_lock_not_authorized'
31801
+ }
31802
+ | {
31803
+ message: string
31804
+ is_device_error: true
31805
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31806
+ error_code: 'august_lock_missing_bridge'
31807
+ }
31808
+ | {
31809
+ message: string
31810
+ is_device_error: true
31811
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31812
+ error_code: 'salto_site_user_limit_reached'
31813
+ }
31814
+ | {
31815
+ message: string
31816
+ is_device_error: true
31817
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31818
+ error_code: 'ttlock_lock_not_paired_to_gateway'
31819
+ }
31820
+ | {
31821
+ message: string
31822
+ is_device_error: true
31823
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31824
+ error_code: 'missing_device_credentials'
31825
+ }
31826
+ | {
31827
+ message: string
31828
+ is_device_error: true
31829
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31830
+ error_code: 'auxiliary_heat_running'
31831
+ }
31832
+ | {
31833
+ message: string
31834
+ is_device_error: true
31835
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31836
+ error_code: 'subscription_required'
31837
+ }
31838
+ )
31839
+ | (
31840
+ | {
31841
+ message: string
31842
+ is_connected_account_error: true
31843
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
30135
31844
  error_code: 'account_disconnected'
30136
31845
  }
30137
31846
  | {
30138
31847
  message: string
30139
- is_device_error: true
30140
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
30141
- error_code: 'hub_disconnected'
30142
- }
30143
- | {
30144
- message: string
30145
- is_device_error: true
30146
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
30147
- error_code: 'device_disconnected'
30148
- }
30149
- | {
30150
- message: string
30151
- is_device_error: true
30152
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
30153
- error_code: 'empty_backup_access_code_pool'
30154
- }
30155
- | {
30156
- message: string
30157
- is_device_error: true
30158
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
30159
- error_code: 'august_lock_not_authorized'
30160
- }
30161
- | {
30162
- message: string
30163
- is_device_error: true
30164
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
30165
- error_code: 'august_lock_missing_bridge'
30166
- }
30167
- | {
30168
- message: string
30169
- is_device_error: true
30170
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
30171
- error_code: 'salto_site_user_limit_reached'
30172
- }
30173
- | {
30174
- message: string
30175
- is_device_error: true
30176
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
30177
- error_code: 'ttlock_lock_not_paired_to_gateway'
30178
- }
30179
- | {
30180
- message: string
30181
- is_device_error: true
30182
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
30183
- error_code: 'missing_device_credentials'
30184
- }
30185
- | {
30186
- message: string
30187
- is_device_error: true
30188
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
30189
- error_code: 'auxiliary_heat_running'
30190
- }
30191
- | {
30192
- message: string
30193
- is_device_error: true
30194
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
30195
- error_code: 'subscription_required'
31848
+ is_connected_account_error: true
31849
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
31850
+ error_code: 'invalid_credentials'
30196
31851
  }
30197
31852
  )
30198
- | {
30199
- message: string
30200
- is_connected_account_error: true
30201
- error_code: string
30202
- }
30203
31853
  >
30204
31854
  /** 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. */
30205
31855
  warnings: Array<
@@ -33095,11 +34745,20 @@ export interface Routes {
33095
34745
  error_code: 'subscription_required'
33096
34746
  }
33097
34747
  )
33098
- | {
33099
- message: string
33100
- is_connected_account_error: true
33101
- error_code: string
33102
- }
34748
+ | (
34749
+ | {
34750
+ message: string
34751
+ is_connected_account_error: true
34752
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
34753
+ error_code: 'account_disconnected'
34754
+ }
34755
+ | {
34756
+ message: string
34757
+ is_connected_account_error: true
34758
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
34759
+ error_code: 'invalid_credentials'
34760
+ }
34761
+ )
33103
34762
  >
33104
34763
  /** 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. */
33105
34764
  warnings: Array<
@@ -36126,11 +37785,20 @@ export interface Routes {
36126
37785
  error_code: 'subscription_required'
36127
37786
  }
36128
37787
  )
36129
- | {
36130
- message: string
36131
- is_connected_account_error: true
36132
- error_code: string
36133
- }
37788
+ | (
37789
+ | {
37790
+ message: string
37791
+ is_connected_account_error: true
37792
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37793
+ error_code: 'account_disconnected'
37794
+ }
37795
+ | {
37796
+ message: string
37797
+ is_connected_account_error: true
37798
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
37799
+ error_code: 'invalid_credentials'
37800
+ }
37801
+ )
36134
37802
  >
36135
37803
  /** 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. */
36136
37804
  warnings: Array<
@@ -36979,11 +38647,20 @@ export interface Routes {
36979
38647
  error_code: 'subscription_required'
36980
38648
  }
36981
38649
  )
36982
- | {
36983
- message: string
36984
- is_connected_account_error: true
36985
- error_code: string
36986
- }
38650
+ | (
38651
+ | {
38652
+ message: string
38653
+ is_connected_account_error: true
38654
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
38655
+ error_code: 'account_disconnected'
38656
+ }
38657
+ | {
38658
+ message: string
38659
+ is_connected_account_error: true
38660
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
38661
+ error_code: 'invalid_credentials'
38662
+ }
38663
+ )
36987
38664
  >
36988
38665
  /** 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. */
36989
38666
  warnings: Array<
@@ -41314,11 +42991,20 @@ export interface Routes {
41314
42991
  error_code: 'subscription_required'
41315
42992
  }
41316
42993
  )
41317
- | {
41318
- message: string
41319
- is_connected_account_error: true
41320
- error_code: string
41321
- }
42994
+ | (
42995
+ | {
42996
+ message: string
42997
+ is_connected_account_error: true
42998
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42999
+ error_code: 'account_disconnected'
43000
+ }
43001
+ | {
43002
+ message: string
43003
+ is_connected_account_error: true
43004
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43005
+ error_code: 'invalid_credentials'
43006
+ }
43007
+ )
41322
43008
  >
41323
43009
  /** 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. */
41324
43010
  warnings: Array<
@@ -42169,11 +43855,20 @@ export interface Routes {
42169
43855
  error_code: 'subscription_required'
42170
43856
  }
42171
43857
  )
42172
- | {
42173
- message: string
42174
- is_connected_account_error: true
42175
- error_code: string
42176
- }
43858
+ | (
43859
+ | {
43860
+ message: string
43861
+ is_connected_account_error: true
43862
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43863
+ error_code: 'account_disconnected'
43864
+ }
43865
+ | {
43866
+ message: string
43867
+ is_connected_account_error: true
43868
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43869
+ error_code: 'invalid_credentials'
43870
+ }
43871
+ )
42177
43872
  >
42178
43873
  /** 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. */
42179
43874
  warnings: Array<