@seamapi/types 1.332.1 → 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.
package/dist/connect.cjs CHANGED
@@ -56,24 +56,30 @@ var common_connected_account_error = zod.z.object({
56
56
  message: zod.z.string(),
57
57
  is_connected_account_error: zod.z.literal(true)
58
58
  });
59
+ var error_code_description = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
59
60
  var warning_code_description = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
60
61
  var common_connected_account_warning = zod.z.object({
61
62
  message: zod.z.string()
62
63
  });
63
- var connected_account_error = common_connected_account_error.extend({
64
- error_code: zod.z.string()
65
- });
64
+ var account_disconnected = common_connected_account_error.extend({
65
+ error_code: zod.z.literal("account_disconnected").describe(error_code_description)
66
+ }).describe("Account is disconnected.");
67
+ var invalid_credentials = common_connected_account_error.extend({
68
+ error_code: zod.z.literal("invalid_credentials").describe(error_code_description)
69
+ }).describe("Credentials provided were invalid.");
70
+ var connected_account_error = zod.z.union([
71
+ account_disconnected,
72
+ invalid_credentials
73
+ ]);
66
74
  var unknown_issue_with_connected_account = common_connected_account_warning.extend({
67
75
  warning_code: zod.z.literal("unknown_issue_with_connected_account").describe(warning_code_description)
68
76
  }).describe(
69
77
  "An unknown issue occurred while syncing the state of this connected account with the provider. This issue may affect the proper functioning of one or more resources in this account."
70
78
  );
71
- var connected_account_warning = zod.z.union([
72
- common_connected_account_warning.extend({
73
- warning_code: zod.z.string()
74
- }),
75
- unknown_issue_with_connected_account
76
- ]).describe("Warning associated with the `connected_account`.");
79
+ var scheduled_maintenance_window = common_connected_account_warning.extend({
80
+ warning_code: zod.z.literal("scheduled_maintenance_window").describe(warning_code_description)
81
+ }).describe("Scheduled downtime for account planned.");
82
+ var connected_account_warning = zod.z.union([scheduled_maintenance_window, unknown_issue_with_connected_account]).describe("Warning associated with the `connected_account`.");
77
83
  var connected_account = zod.z.object({
78
84
  connected_account_id: zod.z.string().uuid().optional(),
79
85
  created_at: zod.z.string().datetime().optional(),
@@ -819,50 +825,50 @@ var common_device_error = zod.z.object({
819
825
  message: zod.z.string(),
820
826
  is_device_error: zod.z.literal(true)
821
827
  });
822
- var error_code_description = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
828
+ var error_code_description2 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
823
829
  var device_offline = common_device_error.extend({
824
- error_code: zod.z.literal("device_offline").describe(error_code_description)
830
+ error_code: zod.z.literal("device_offline").describe(error_code_description2)
825
831
  }).describe("Device is offline");
826
832
  var device_removed = common_device_error.extend({
827
- error_code: zod.z.literal("device_removed").describe(error_code_description)
833
+ error_code: zod.z.literal("device_removed").describe(error_code_description2)
828
834
  }).describe("Device has been removed");
829
- var account_disconnected = common_device_error.extend({
830
- error_code: zod.z.literal("account_disconnected").describe(error_code_description)
835
+ var account_disconnected2 = common_device_error.extend({
836
+ error_code: zod.z.literal("account_disconnected").describe(error_code_description2)
831
837
  }).describe("Account is disconnected");
832
838
  var hub_disconnected = common_device_error.extend({
833
- error_code: zod.z.literal("hub_disconnected").describe(error_code_description)
839
+ error_code: zod.z.literal("hub_disconnected").describe(error_code_description2)
834
840
  }).describe("Hub is disconnected");
835
841
  var device_disconnected = common_device_error.extend({
836
- error_code: zod.z.literal("device_disconnected").describe(error_code_description)
842
+ error_code: zod.z.literal("device_disconnected").describe(error_code_description2)
837
843
  }).describe("Device is disconnected");
838
844
  var empty_backup_access_code_pool = common_device_error.extend({
839
- error_code: zod.z.literal("empty_backup_access_code_pool").describe(error_code_description)
845
+ error_code: zod.z.literal("empty_backup_access_code_pool").describe(error_code_description2)
840
846
  }).describe("The backup access code pool is empty.");
841
847
  var august_lock_not_authorized = common_device_error.extend({
842
- error_code: zod.z.literal("august_lock_not_authorized").describe(error_code_description)
848
+ error_code: zod.z.literal("august_lock_not_authorized").describe(error_code_description2)
843
849
  }).describe("User is not authorized to use the August Lock.");
844
850
  var august_lock_missing_bridge = common_device_error.extend({
845
- error_code: zod.z.literal("august_lock_missing_bridge").describe(error_code_description)
851
+ error_code: zod.z.literal("august_lock_missing_bridge").describe(error_code_description2)
846
852
  }).describe("Lock is not connected to the Seam Bridge.");
847
853
  var salto_site_user_limit_reached = common_device_error.extend({
848
- error_code: zod.z.literal("salto_site_user_limit_reached").describe(error_code_description)
854
+ error_code: zod.z.literal("salto_site_user_limit_reached").describe(error_code_description2)
849
855
  }).describe("Salto site user limit reached.");
850
856
  var ttlock_lock_not_paired_to_gateway = common_device_error.extend({
851
- error_code: zod.z.literal("ttlock_lock_not_paired_to_gateway").describe(error_code_description)
857
+ error_code: zod.z.literal("ttlock_lock_not_paired_to_gateway").describe(error_code_description2)
852
858
  }).describe("Lock is not paired with a Gateway.");
853
859
  var missing_device_credentials = common_device_error.extend({
854
- error_code: zod.z.literal("missing_device_credentials").describe(error_code_description)
860
+ error_code: zod.z.literal("missing_device_credentials").describe(error_code_description2)
855
861
  }).describe("Missing device credentials.");
856
862
  var auxiliary_heat_running = common_device_error.extend({
857
- error_code: zod.z.literal("auxiliary_heat_running").describe(error_code_description)
863
+ error_code: zod.z.literal("auxiliary_heat_running").describe(error_code_description2)
858
864
  }).describe("The auxiliary heat is running.");
859
865
  var subscription_required = common_device_error.extend({
860
- error_code: zod.z.literal("subscription_required").describe(error_code_description)
866
+ error_code: zod.z.literal("subscription_required").describe(error_code_description2)
861
867
  }).describe("Subscription required to connect.");
862
868
  var device_error = zod.z.union([
863
869
  device_offline,
864
870
  device_removed,
865
- account_disconnected,
871
+ account_disconnected2,
866
872
  hub_disconnected,
867
873
  device_disconnected,
868
874
  empty_backup_access_code_pool,
@@ -917,7 +923,7 @@ var temperature_threshold_exceeded = common_device_warning.extend({
917
923
  var device_communication_degraded = common_device_warning.extend({
918
924
  warning_code: zod.z.literal("device_communication_degraded").describe(warning_code_description2)
919
925
  }).describe("Device appears to be unresponsive.");
920
- var scheduled_maintenance_window = common_device_warning.extend({
926
+ var scheduled_maintenance_window2 = common_device_warning.extend({
921
927
  warning_code: zod.z.literal("scheduled_maintenance_window").describe(warning_code_description2)
922
928
  }).describe("Scheduled maintenance window detected.");
923
929
  var device_has_flaky_connection = common_device_warning.extend({
@@ -935,7 +941,7 @@ var device_warning = zod.z.union([
935
941
  ttlock_weak_gateway_signal,
936
942
  temperature_threshold_exceeded,
937
943
  device_communication_degraded,
938
- scheduled_maintenance_window,
944
+ scheduled_maintenance_window2,
939
945
  device_has_flaky_connection,
940
946
  salto_office_mode,
941
947
  salto_privacy_mode
@@ -1210,15 +1216,139 @@ var common_access_code_error = zod.z.object({
1210
1216
  message: zod.z.string(),
1211
1217
  is_access_code_error: zod.z.literal(true)
1212
1218
  });
1219
+ var error_code_description3 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
1220
+ var smartthings_failed_to_set_access_code_error = common_access_code_error.extend({
1221
+ error_code: zod.z.literal("smartthings_failed_to_set_access_code").describe(error_code_description3)
1222
+ }).describe("Failed to set code on Smart Things device.");
1223
+ var smartthings_failed_to_set_after_multiple_retries = common_access_code_error.extend({
1224
+ error_code: zod.z.literal("smartthings_failed_to_set_after_multiple_retries").describe(error_code_description3)
1225
+ }).describe("Failed to set code after multiple retries.");
1226
+ var code_modified_external_to_seam_error = common_access_code_error.extend({
1227
+ error_code: zod.z.literal("code_modified_external_to_seam").describe(error_code_description3)
1228
+ }).describe(
1229
+ "Code was modified or removed externally after Seam successfully set it on the device."
1230
+ );
1231
+ var failed_to_set_on_device = common_access_code_error.extend({
1232
+ error_code: zod.z.literal("failed_to_set_on_device").describe(error_code_description3)
1233
+ }).describe("Failed to set code on device.");
1234
+ var failed_to_remove_from_device = common_access_code_error.extend({
1235
+ error_code: zod.z.literal("failed_to_remove_from_device").describe(error_code_description3)
1236
+ }).describe("Failed to remove code from device.");
1237
+ var duplicate_code_on_device = common_access_code_error.extend({
1238
+ error_code: zod.z.literal("duplicate_code_on_device").describe(error_code_description3)
1239
+ }).describe("Duplicate access code detected on device.");
1240
+ var duplicate_code_attempt_prevented = common_access_code_error.extend({
1241
+ error_code: zod.z.literal("duplicate_code_attempt_prevented").describe(error_code_description3)
1242
+ }).describe("An attempt to modify this access code was prevented.");
1243
+ var igloohome_bridge_too_many_pending_jobs = common_access_code_error.extend({
1244
+ error_code: zod.z.literal("igloohome_bridge_too_many_pending_jobs").describe(error_code_description3)
1245
+ }).describe("Igloohome bridge has too many pending jobs in the queue.");
1246
+ var igloohome_bridge_offline = common_access_code_error.extend({
1247
+ error_code: zod.z.literal("igloohome_bridge_offline").describe(error_code_description3)
1248
+ }).describe("Igloohome bridge is offline.");
1249
+ var kwikset_unable_to_confirm_code = common_access_code_error.extend({
1250
+ error_code: zod.z.literal("kwikset_unable_to_confirm_code").describe(error_code_description3)
1251
+ }).describe("Unable to confirm the access code is set on Kwikset device.");
1252
+ var kwikset_unable_to_confirm_deletion = common_access_code_error.extend({
1253
+ error_code: zod.z.literal("kwikset_unable_to_confirm_deletion").describe(error_code_description3)
1254
+ }).describe(
1255
+ "Unable to confirm the deletion of the access code on Kwikset device."
1256
+ );
1257
+ var igloohome_offline_access_code_no_variance_available = common_access_code_error.extend({
1258
+ error_code: zod.z.literal("igloohome_offline_access_code_no_variance_available").describe(error_code_description3)
1259
+ }).describe("Lock as reached max amount of codes.");
1260
+ var august_lock_invalid_code_length = common_access_code_error.extend({
1261
+ error_code: zod.z.literal("august_lock_invalid_code_length").describe(error_code_description3)
1262
+ }).describe("Invalid code length for August lock.");
1263
+ var august_device_programming_delay_error = common_access_code_error.extend({
1264
+ error_code: zod.z.literal("august_device_programming_delay").describe(error_code_description3)
1265
+ }).describe("Access code has not yet been fully moved to the device.");
1266
+ var august_device_slots_full = common_access_code_error.extend({
1267
+ error_code: zod.z.literal("august_device_slots_full").describe(error_code_description3)
1268
+ }).describe("All access code slots on the device are full.");
1269
+ var august_lock_missing_keypad = common_access_code_error.extend({
1270
+ error_code: zod.z.literal("august_lock_missing_keypad").describe(error_code_description3)
1271
+ }).describe("August lock is missing a keypad.");
1272
+ var salto_site_user_not_subscribed = common_access_code_error.extend({
1273
+ error_code: zod.z.literal("salto_site_user_not_subscribed").describe(error_code_description3)
1274
+ }).describe("Salto site user is not subscribed.");
1275
+ var hubitat_device_programming_delay = common_access_code_error.extend({
1276
+ error_code: zod.z.literal("hubitat_device_programming_delay").describe(error_code_description3)
1277
+ }).describe("Access code has not yet been fully moved to the device.");
1278
+ var hubitat_no_free_positions_available = common_access_code_error.extend({
1279
+ error_code: zod.z.literal("hubitat_no_free_positions_available").describe(error_code_description3)
1280
+ }).describe("No free positions available on the device.");
1281
+ var access_code_error = zod.z.union([
1282
+ smartthings_failed_to_set_access_code_error,
1283
+ smartthings_failed_to_set_after_multiple_retries,
1284
+ failed_to_set_on_device,
1285
+ failed_to_remove_from_device,
1286
+ duplicate_code_on_device,
1287
+ duplicate_code_attempt_prevented,
1288
+ igloohome_bridge_too_many_pending_jobs,
1289
+ igloohome_bridge_offline,
1290
+ igloohome_offline_access_code_no_variance_available,
1291
+ kwikset_unable_to_confirm_code,
1292
+ kwikset_unable_to_confirm_deletion,
1293
+ code_modified_external_to_seam_error,
1294
+ august_lock_invalid_code_length,
1295
+ august_device_programming_delay_error,
1296
+ august_device_slots_full,
1297
+ august_lock_missing_keypad,
1298
+ salto_site_user_not_subscribed,
1299
+ hubitat_device_programming_delay,
1300
+ hubitat_no_free_positions_available
1301
+ ]);
1213
1302
  var common_access_code_warning = zod.z.object({
1214
1303
  message: zod.z.string()
1215
1304
  });
1216
- var access_code_error = common_access_code_error.extend({
1217
- error_code: zod.z.string()
1218
- });
1219
- var access_code_warning = common_access_code_warning.extend({
1220
- warning_code: zod.z.string()
1221
- });
1305
+ var warning_code_description3 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
1306
+ var smartthings_failed_to_set_access_code_warning = common_access_code_warning.extend({
1307
+ warning_code: zod.z.literal("smartthings_failed_to_set_access_code").describe(warning_code_description3)
1308
+ }).describe("Failed to set code on Smart Things device.");
1309
+ var august_device_programming_delay_warning = common_access_code_warning.extend({
1310
+ warning_code: zod.z.literal("august_device_programming_delay").describe(warning_code_description3)
1311
+ }).describe("Access code has not yet been fully moved to the device.");
1312
+ var code_modified_external_to_seam_warning = common_access_code_warning.extend({
1313
+ warning_code: zod.z.literal("code_modified_external_to_seam").describe(warning_code_description3)
1314
+ }).describe(
1315
+ "Code was modified or removed externally after Seam successfully set it on the device."
1316
+ );
1317
+ var schlage_detected_duplicate = common_access_code_warning.extend({
1318
+ warning_code: zod.z.literal("schlage_detected_duplicate").describe(warning_code_description3)
1319
+ }).describe("Duplicate access code detected.");
1320
+ var schlage_creation_outage = common_access_code_warning.extend({
1321
+ warning_code: zod.z.literal("schlage_creation_outage").describe(warning_code_description3)
1322
+ }).describe("Received an error when attempting to create this code.");
1323
+ var delay_in_setting_on_device = common_access_code_warning.extend({
1324
+ warning_code: zod.z.literal("delay_in_setting_on_device").describe(warning_code_description3)
1325
+ }).describe("Delay in setting code on device.");
1326
+ var delay_in_removing_from_device = common_access_code_warning.extend({
1327
+ warning_code: zod.z.literal("delay_in_removing_from_device").describe(warning_code_description3)
1328
+ }).describe("Delay in removing code from device.");
1329
+ var third_party_integration_detected2 = common_access_code_warning.extend({
1330
+ warning_code: zod.z.literal("third_party_integration_detected").describe(warning_code_description3)
1331
+ }).describe(
1332
+ "Third party integration detected that may cause access codes to fail."
1333
+ );
1334
+ var igloo_algopin_must_be_used_within_24_hours = common_access_code_warning.extend({
1335
+ warning_code: zod.z.literal("igloo_algopin_must_be_used_within_24_hours").describe(warning_code_description3)
1336
+ }).describe("Algopins must be used within 24 hours.");
1337
+ var management_transferred = common_access_code_warning.extend({
1338
+ warning_code: zod.z.literal("management_transferred").describe(warning_code_description3)
1339
+ }).describe("Management was transferred to another workspace.");
1340
+ var access_code_warning = zod.z.union([
1341
+ smartthings_failed_to_set_access_code_warning,
1342
+ schlage_detected_duplicate,
1343
+ schlage_creation_outage,
1344
+ code_modified_external_to_seam_warning,
1345
+ delay_in_setting_on_device,
1346
+ delay_in_removing_from_device,
1347
+ third_party_integration_detected2,
1348
+ august_device_programming_delay_warning,
1349
+ igloo_algopin_must_be_used_within_24_hours,
1350
+ management_transferred
1351
+ ]);
1222
1352
  var access_code = zod.z.object({
1223
1353
  common_code_key: zod.z.string().nullable().describe(
1224
1354
  "Unique identifier for a group of access codes that share the same code."
@@ -1314,9 +1444,9 @@ var common_acs_access_group_warning = zod.z.object({
1314
1444
  "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it."
1315
1445
  )
1316
1446
  });
1317
- var warning_code_description3 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
1447
+ var warning_code_description4 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
1318
1448
  var unknown_issue_with_acs_access_group = common_acs_access_group_warning.extend({
1319
- warning_code: zod.z.literal("unknown_issue_with_acs_access_group").describe(warning_code_description3)
1449
+ warning_code: zod.z.literal("unknown_issue_with_acs_access_group").describe(warning_code_description4)
1320
1450
  }).describe(
1321
1451
  "An unknown issue occurred while syncing the state of this access group with the provider. This issue may affect the proper functioning of this access group."
1322
1452
  );
@@ -1441,30 +1571,30 @@ var common_acs_credential_warning = zod.z.object({
1441
1571
  "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it."
1442
1572
  )
1443
1573
  });
1444
- var warning_code_description4 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
1574
+ var warning_code_description5 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
1445
1575
  var waiting_to_be_issued = common_acs_credential_warning.extend({
1446
- warning_code: zod.z.literal("waiting_to_be_issued").describe(warning_code_description4)
1576
+ warning_code: zod.z.literal("waiting_to_be_issued").describe(warning_code_description5)
1447
1577
  }).describe("Indicates that the credential is waiting to be issued.");
1448
1578
  var schedule_externally_modified = common_acs_credential_warning.extend({
1449
- warning_code: zod.z.literal("schedule_externally_modified").describe(warning_code_description4)
1579
+ warning_code: zod.z.literal("schedule_externally_modified").describe(warning_code_description5)
1450
1580
  }).describe(
1451
1581
  "Indicates that the schedule of one of the credential's children was modified externally."
1452
1582
  );
1453
1583
  var schedule_modified = common_acs_credential_warning.extend({
1454
- warning_code: zod.z.literal("schedule_modified").describe(warning_code_description4)
1584
+ warning_code: zod.z.literal("schedule_modified").describe(warning_code_description5)
1455
1585
  }).describe(
1456
1586
  "Indicates that the schedule of this credential was modified to avoid creating a credential with a start date in the past."
1457
1587
  );
1458
1588
  var being_deleted = common_acs_credential_warning.extend({
1459
- warning_code: zod.z.literal("being_deleted").describe(warning_code_description4)
1589
+ warning_code: zod.z.literal("being_deleted").describe(warning_code_description5)
1460
1590
  }).describe("Indicates that this credential is being deleted.");
1461
1591
  var unknown_issue_with_acs_credential = common_acs_credential_warning.extend({
1462
- warning_code: zod.z.literal("unknown_issue_with_acs_credential").describe(warning_code_description4)
1592
+ warning_code: zod.z.literal("unknown_issue_with_acs_credential").describe(warning_code_description5)
1463
1593
  }).describe(
1464
1594
  "An unknown issue occurred while syncing the state of this credential with the provider. This issue may affect the proper functioning of this credential."
1465
1595
  );
1466
1596
  var needs_to_be_reissued = common_acs_credential_warning.extend({
1467
- warning_code: zod.z.literal("needs_to_be_reissued").describe(warning_code_description4)
1597
+ warning_code: zod.z.literal("needs_to_be_reissued").describe(warning_code_description5)
1468
1598
  }).describe(
1469
1599
  "Access permissions for this [credential](https://docs.seam.co/latest/capability-guides/access-systems/managing-credentials) have changed. [Reissue](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners/creating-and-encoding-card-based-credentials) (re-encode) this credential. This issue may affect the proper functioning of the credential."
1470
1600
  );
@@ -1579,9 +1709,9 @@ var common_acs_encoder_error = zod.z.object({
1579
1709
  "Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
1580
1710
  )
1581
1711
  });
1582
- var error_code_description2 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
1712
+ var error_code_description4 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
1583
1713
  var acs_encoder_removed = common_acs_encoder_error.extend({
1584
- error_code: zod.z.literal("acs_encoder_removed").describe(error_code_description2)
1714
+ error_code: zod.z.literal("acs_encoder_removed").describe(error_code_description4)
1585
1715
  });
1586
1716
  var acs_encoder_error = (
1587
1717
  // z.union([
@@ -1670,29 +1800,29 @@ var common_acs_system_error = zod.z.object({
1670
1800
  "Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
1671
1801
  )
1672
1802
  });
1673
- var error_code_description3 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
1803
+ var error_code_description5 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
1674
1804
  var seam_bridge_disconnected = common_acs_system_error.extend({
1675
- error_code: zod.z.literal("seam_bridge_disconnected").describe(error_code_description3)
1805
+ error_code: zod.z.literal("seam_bridge_disconnected").describe(error_code_description5)
1676
1806
  }).describe(`Indicates that the Seam API cannot communicate with the [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.
1677
1807
  This error might also occur if the Seam Bridge is connected to the wrong [workspace](https://docs.seam.co/latest/core-concepts/workspaces).
1678
1808
  See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).`);
1679
1809
  var visionline_instance_unreachable = common_acs_system_error.extend({
1680
- error_code: zod.z.literal("visionline_instance_unreachable").describe(error_code_description3)
1810
+ error_code: zod.z.literal("visionline_instance_unreachable").describe(error_code_description5)
1681
1811
  }).describe(`Indicates that the Seam Bridge is functioning correctly and the Seam API can communicate with the Seam Bridge, but the Seam API cannot connect to the on-premises [Visionline access control system](https://docs.seam.co/latest/device-and-system-integration-guides/assa-abloy-visionline-access-control-system).
1682
1812
  For example, the IP address of the on-premises access control system may be set incorrectly within the Seam [workspace](https://docs.seam.co/latest/core-concepts/workspaces).
1683
1813
  See also [Troubleshooting Your Access Control System](https://docs.seam.co/latest/capability-guides/capability-guides/access-systems/troubleshooting-your-access-control-system#acs_system.errors.visionline_instance_unreachable).`);
1684
1814
  var salto_ks_subscription_limit_exceeded = common_acs_system_error.extend({
1685
- error_code: zod.z.literal("salto_ks_subscription_limit_exceeded").describe(error_code_description3)
1815
+ error_code: zod.z.literal("salto_ks_subscription_limit_exceeded").describe(error_code_description5)
1686
1816
  }).describe(
1687
1817
  "Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit."
1688
1818
  );
1689
1819
  var acs_system_disconnected = common_acs_system_error.extend({
1690
- error_code: zod.z.literal("acs_system_disconnected").describe(error_code_description3)
1820
+ error_code: zod.z.literal("acs_system_disconnected").describe(error_code_description5)
1691
1821
  }).describe(
1692
1822
  "Indicates that the access system has been disconnected. See [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue."
1693
1823
  );
1694
- var account_disconnected2 = common_acs_system_error.extend({
1695
- error_code: zod.z.literal("account_disconnected").describe(error_code_description3)
1824
+ var account_disconnected3 = common_acs_system_error.extend({
1825
+ error_code: zod.z.literal("account_disconnected").describe(error_code_description5)
1696
1826
  }).describe(
1697
1827
  "Indicates that the login credentials are invalid. Reconnect the account using the Connect Webview to restore access."
1698
1828
  );
@@ -1706,7 +1836,7 @@ var acs_system_error = zod.z.union([
1706
1836
  visionline_instance_unreachable,
1707
1837
  salto_ks_subscription_limit_exceeded,
1708
1838
  acs_system_disconnected,
1709
- account_disconnected2,
1839
+ account_disconnected3,
1710
1840
  salto_ks_certification_expired
1711
1841
  ]).describe("Error associated with the `acs_system`.");
1712
1842
  zod.z.object({
@@ -1714,7 +1844,7 @@ zod.z.object({
1714
1844
  visionline_instance_unreachable: visionline_instance_unreachable.optional().nullable(),
1715
1845
  salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded.optional().nullable(),
1716
1846
  acs_system_disconnected: acs_system_disconnected.optional().nullable(),
1717
- account_disconnected: account_disconnected2.optional().nullable(),
1847
+ account_disconnected: account_disconnected3.optional().nullable(),
1718
1848
  salto_ks_certification_expired: salto_ks_certification_expired.optional().nullable()
1719
1849
  });
1720
1850
  var common_acs_system_warning = zod.z.object({
@@ -3426,121 +3556,364 @@ var openapi_default = {
3426
3556
  items: {
3427
3557
  oneOf: [
3428
3558
  {
3429
- properties: {
3430
- error_code: { type: "string" },
3431
- is_access_code_error: { enum: [true], type: "boolean" },
3432
- message: { type: "string" }
3433
- },
3434
- required: ["message", "is_access_code_error", "error_code"],
3435
- type: "object"
3436
- },
3437
- {
3438
- description: "Error associated with the `device`.",
3439
3559
  oneOf: [
3440
3560
  {
3441
- description: "Device is offline",
3561
+ description: "Failed to set code on Smart Things device.",
3442
3562
  properties: {
3443
3563
  error_code: {
3444
3564
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3445
- enum: ["device_offline"],
3565
+ enum: ["smartthings_failed_to_set_access_code"],
3446
3566
  type: "string"
3447
3567
  },
3448
- is_device_error: { enum: [true], type: "boolean" },
3568
+ is_access_code_error: { enum: [true], type: "boolean" },
3449
3569
  message: { type: "string" }
3450
3570
  },
3451
- required: ["message", "is_device_error", "error_code"],
3571
+ required: [
3572
+ "message",
3573
+ "is_access_code_error",
3574
+ "error_code"
3575
+ ],
3452
3576
  type: "object"
3453
3577
  },
3454
3578
  {
3455
- description: "Device has been removed",
3579
+ description: "Failed to set code after multiple retries.",
3456
3580
  properties: {
3457
3581
  error_code: {
3458
3582
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3459
- enum: ["device_removed"],
3583
+ enum: [
3584
+ "smartthings_failed_to_set_after_multiple_retries"
3585
+ ],
3460
3586
  type: "string"
3461
3587
  },
3462
- is_device_error: { enum: [true], type: "boolean" },
3588
+ is_access_code_error: { enum: [true], type: "boolean" },
3463
3589
  message: { type: "string" }
3464
3590
  },
3465
- required: ["message", "is_device_error", "error_code"],
3591
+ required: [
3592
+ "message",
3593
+ "is_access_code_error",
3594
+ "error_code"
3595
+ ],
3466
3596
  type: "object"
3467
3597
  },
3468
3598
  {
3469
- description: "Account is disconnected",
3599
+ description: "Failed to set code on device.",
3470
3600
  properties: {
3471
3601
  error_code: {
3472
3602
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3473
- enum: ["account_disconnected"],
3603
+ enum: ["failed_to_set_on_device"],
3474
3604
  type: "string"
3475
3605
  },
3476
- is_device_error: { enum: [true], type: "boolean" },
3606
+ is_access_code_error: { enum: [true], type: "boolean" },
3477
3607
  message: { type: "string" }
3478
3608
  },
3479
- required: ["message", "is_device_error", "error_code"],
3609
+ required: [
3610
+ "message",
3611
+ "is_access_code_error",
3612
+ "error_code"
3613
+ ],
3480
3614
  type: "object"
3481
3615
  },
3482
3616
  {
3483
- description: "Hub is disconnected",
3617
+ description: "Failed to remove code from device.",
3484
3618
  properties: {
3485
3619
  error_code: {
3486
3620
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3487
- enum: ["hub_disconnected"],
3621
+ enum: ["failed_to_remove_from_device"],
3488
3622
  type: "string"
3489
3623
  },
3490
- is_device_error: { enum: [true], type: "boolean" },
3624
+ is_access_code_error: { enum: [true], type: "boolean" },
3491
3625
  message: { type: "string" }
3492
3626
  },
3493
- required: ["message", "is_device_error", "error_code"],
3627
+ required: [
3628
+ "message",
3629
+ "is_access_code_error",
3630
+ "error_code"
3631
+ ],
3494
3632
  type: "object"
3495
3633
  },
3496
3634
  {
3497
- description: "Device is disconnected",
3635
+ description: "Duplicate access code detected on device.",
3498
3636
  properties: {
3499
3637
  error_code: {
3500
3638
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3501
- enum: ["device_disconnected"],
3639
+ enum: ["duplicate_code_on_device"],
3502
3640
  type: "string"
3503
3641
  },
3504
- is_device_error: { enum: [true], type: "boolean" },
3642
+ is_access_code_error: { enum: [true], type: "boolean" },
3505
3643
  message: { type: "string" }
3506
3644
  },
3507
- required: ["message", "is_device_error", "error_code"],
3645
+ required: [
3646
+ "message",
3647
+ "is_access_code_error",
3648
+ "error_code"
3649
+ ],
3508
3650
  type: "object"
3509
3651
  },
3510
3652
  {
3511
- description: "The backup access code pool is empty.",
3653
+ description: "An attempt to modify this access code was prevented.",
3512
3654
  properties: {
3513
3655
  error_code: {
3514
3656
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3515
- enum: ["empty_backup_access_code_pool"],
3657
+ enum: ["duplicate_code_attempt_prevented"],
3516
3658
  type: "string"
3517
3659
  },
3518
- is_device_error: { enum: [true], type: "boolean" },
3660
+ is_access_code_error: { enum: [true], type: "boolean" },
3519
3661
  message: { type: "string" }
3520
3662
  },
3521
- required: ["message", "is_device_error", "error_code"],
3663
+ required: [
3664
+ "message",
3665
+ "is_access_code_error",
3666
+ "error_code"
3667
+ ],
3522
3668
  type: "object"
3523
3669
  },
3524
3670
  {
3525
- description: "User is not authorized to use the August Lock.",
3671
+ description: "Igloohome bridge has too many pending jobs in the queue.",
3526
3672
  properties: {
3527
3673
  error_code: {
3528
3674
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3529
- enum: ["august_lock_not_authorized"],
3675
+ enum: ["igloohome_bridge_too_many_pending_jobs"],
3530
3676
  type: "string"
3531
3677
  },
3532
- is_device_error: { enum: [true], type: "boolean" },
3678
+ is_access_code_error: { enum: [true], type: "boolean" },
3533
3679
  message: { type: "string" }
3534
3680
  },
3535
- required: ["message", "is_device_error", "error_code"],
3681
+ required: [
3682
+ "message",
3683
+ "is_access_code_error",
3684
+ "error_code"
3685
+ ],
3536
3686
  type: "object"
3537
3687
  },
3538
3688
  {
3539
- description: "Lock is not connected to the Seam Bridge.",
3689
+ description: "Igloohome bridge is offline.",
3540
3690
  properties: {
3541
3691
  error_code: {
3542
3692
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3543
- enum: ["august_lock_missing_bridge"],
3693
+ enum: ["igloohome_bridge_offline"],
3694
+ type: "string"
3695
+ },
3696
+ is_access_code_error: { enum: [true], type: "boolean" },
3697
+ message: { type: "string" }
3698
+ },
3699
+ required: [
3700
+ "message",
3701
+ "is_access_code_error",
3702
+ "error_code"
3703
+ ],
3704
+ type: "object"
3705
+ },
3706
+ {
3707
+ description: "Lock as reached max amount of codes.",
3708
+ properties: {
3709
+ error_code: {
3710
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3711
+ enum: [
3712
+ "igloohome_offline_access_code_no_variance_available"
3713
+ ],
3714
+ type: "string"
3715
+ },
3716
+ is_access_code_error: { enum: [true], type: "boolean" },
3717
+ message: { type: "string" }
3718
+ },
3719
+ required: [
3720
+ "message",
3721
+ "is_access_code_error",
3722
+ "error_code"
3723
+ ],
3724
+ type: "object"
3725
+ },
3726
+ {
3727
+ description: "Unable to confirm the access code is set on Kwikset device.",
3728
+ properties: {
3729
+ error_code: {
3730
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3731
+ enum: ["kwikset_unable_to_confirm_code"],
3732
+ type: "string"
3733
+ },
3734
+ is_access_code_error: { enum: [true], type: "boolean" },
3735
+ message: { type: "string" }
3736
+ },
3737
+ required: [
3738
+ "message",
3739
+ "is_access_code_error",
3740
+ "error_code"
3741
+ ],
3742
+ type: "object"
3743
+ },
3744
+ {
3745
+ description: "Unable to confirm the deletion of the access code on Kwikset device.",
3746
+ properties: {
3747
+ error_code: {
3748
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3749
+ enum: ["kwikset_unable_to_confirm_deletion"],
3750
+ type: "string"
3751
+ },
3752
+ is_access_code_error: { enum: [true], type: "boolean" },
3753
+ message: { type: "string" }
3754
+ },
3755
+ required: [
3756
+ "message",
3757
+ "is_access_code_error",
3758
+ "error_code"
3759
+ ],
3760
+ type: "object"
3761
+ },
3762
+ {
3763
+ description: "Code was modified or removed externally after Seam successfully set it on the device.",
3764
+ properties: {
3765
+ error_code: {
3766
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3767
+ enum: ["code_modified_external_to_seam"],
3768
+ type: "string"
3769
+ },
3770
+ is_access_code_error: { enum: [true], type: "boolean" },
3771
+ message: { type: "string" }
3772
+ },
3773
+ required: [
3774
+ "message",
3775
+ "is_access_code_error",
3776
+ "error_code"
3777
+ ],
3778
+ type: "object"
3779
+ },
3780
+ {
3781
+ description: "Invalid code length for August lock.",
3782
+ properties: {
3783
+ error_code: {
3784
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3785
+ enum: ["august_lock_invalid_code_length"],
3786
+ type: "string"
3787
+ },
3788
+ is_access_code_error: { enum: [true], type: "boolean" },
3789
+ message: { type: "string" }
3790
+ },
3791
+ required: [
3792
+ "message",
3793
+ "is_access_code_error",
3794
+ "error_code"
3795
+ ],
3796
+ type: "object"
3797
+ },
3798
+ {
3799
+ description: "Access code has not yet been fully moved to the device.",
3800
+ properties: {
3801
+ error_code: {
3802
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3803
+ enum: ["august_device_programming_delay"],
3804
+ type: "string"
3805
+ },
3806
+ is_access_code_error: { enum: [true], type: "boolean" },
3807
+ message: { type: "string" }
3808
+ },
3809
+ required: [
3810
+ "message",
3811
+ "is_access_code_error",
3812
+ "error_code"
3813
+ ],
3814
+ type: "object"
3815
+ },
3816
+ {
3817
+ description: "All access code slots on the device are full.",
3818
+ properties: {
3819
+ error_code: {
3820
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3821
+ enum: ["august_device_slots_full"],
3822
+ type: "string"
3823
+ },
3824
+ is_access_code_error: { enum: [true], type: "boolean" },
3825
+ message: { type: "string" }
3826
+ },
3827
+ required: [
3828
+ "message",
3829
+ "is_access_code_error",
3830
+ "error_code"
3831
+ ],
3832
+ type: "object"
3833
+ },
3834
+ {
3835
+ description: "August lock is missing a keypad.",
3836
+ properties: {
3837
+ error_code: {
3838
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3839
+ enum: ["august_lock_missing_keypad"],
3840
+ type: "string"
3841
+ },
3842
+ is_access_code_error: { enum: [true], type: "boolean" },
3843
+ message: { type: "string" }
3844
+ },
3845
+ required: [
3846
+ "message",
3847
+ "is_access_code_error",
3848
+ "error_code"
3849
+ ],
3850
+ type: "object"
3851
+ },
3852
+ {
3853
+ description: "Salto site user is not subscribed.",
3854
+ properties: {
3855
+ error_code: {
3856
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3857
+ enum: ["salto_site_user_not_subscribed"],
3858
+ type: "string"
3859
+ },
3860
+ is_access_code_error: { enum: [true], type: "boolean" },
3861
+ message: { type: "string" }
3862
+ },
3863
+ required: [
3864
+ "message",
3865
+ "is_access_code_error",
3866
+ "error_code"
3867
+ ],
3868
+ type: "object"
3869
+ },
3870
+ {
3871
+ description: "Access code has not yet been fully moved to the device.",
3872
+ properties: {
3873
+ error_code: {
3874
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3875
+ enum: ["hubitat_device_programming_delay"],
3876
+ type: "string"
3877
+ },
3878
+ is_access_code_error: { enum: [true], type: "boolean" },
3879
+ message: { type: "string" }
3880
+ },
3881
+ required: [
3882
+ "message",
3883
+ "is_access_code_error",
3884
+ "error_code"
3885
+ ],
3886
+ type: "object"
3887
+ },
3888
+ {
3889
+ description: "No free positions available on the device.",
3890
+ properties: {
3891
+ error_code: {
3892
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3893
+ enum: ["hubitat_no_free_positions_available"],
3894
+ type: "string"
3895
+ },
3896
+ is_access_code_error: { enum: [true], type: "boolean" },
3897
+ message: { type: "string" }
3898
+ },
3899
+ required: [
3900
+ "message",
3901
+ "is_access_code_error",
3902
+ "error_code"
3903
+ ],
3904
+ type: "object"
3905
+ }
3906
+ ]
3907
+ },
3908
+ {
3909
+ description: "Error associated with the `device`.",
3910
+ oneOf: [
3911
+ {
3912
+ description: "Device is offline",
3913
+ properties: {
3914
+ error_code: {
3915
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3916
+ enum: ["device_offline"],
3544
3917
  type: "string"
3545
3918
  },
3546
3919
  is_device_error: { enum: [true], type: "boolean" },
@@ -3550,11 +3923,11 @@ var openapi_default = {
3550
3923
  type: "object"
3551
3924
  },
3552
3925
  {
3553
- description: "Salto site user limit reached.",
3926
+ description: "Device has been removed",
3554
3927
  properties: {
3555
3928
  error_code: {
3556
3929
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3557
- enum: ["salto_site_user_limit_reached"],
3930
+ enum: ["device_removed"],
3558
3931
  type: "string"
3559
3932
  },
3560
3933
  is_device_error: { enum: [true], type: "boolean" },
@@ -3564,11 +3937,11 @@ var openapi_default = {
3564
3937
  type: "object"
3565
3938
  },
3566
3939
  {
3567
- description: "Lock is not paired with a Gateway.",
3940
+ description: "Account is disconnected",
3568
3941
  properties: {
3569
3942
  error_code: {
3570
3943
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3571
- enum: ["ttlock_lock_not_paired_to_gateway"],
3944
+ enum: ["account_disconnected"],
3572
3945
  type: "string"
3573
3946
  },
3574
3947
  is_device_error: { enum: [true], type: "boolean" },
@@ -3578,11 +3951,11 @@ var openapi_default = {
3578
3951
  type: "object"
3579
3952
  },
3580
3953
  {
3581
- description: "Missing device credentials.",
3954
+ description: "Hub is disconnected",
3582
3955
  properties: {
3583
3956
  error_code: {
3584
3957
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3585
- enum: ["missing_device_credentials"],
3958
+ enum: ["hub_disconnected"],
3586
3959
  type: "string"
3587
3960
  },
3588
3961
  is_device_error: { enum: [true], type: "boolean" },
@@ -3592,11 +3965,11 @@ var openapi_default = {
3592
3965
  type: "object"
3593
3966
  },
3594
3967
  {
3595
- description: "The auxiliary heat is running.",
3968
+ description: "Device is disconnected",
3596
3969
  properties: {
3597
3970
  error_code: {
3598
3971
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3599
- enum: ["auxiliary_heat_running"],
3972
+ enum: ["device_disconnected"],
3600
3973
  type: "string"
3601
3974
  },
3602
3975
  is_device_error: { enum: [true], type: "boolean" },
@@ -3606,11 +3979,11 @@ var openapi_default = {
3606
3979
  type: "object"
3607
3980
  },
3608
3981
  {
3609
- description: "Subscription required to connect.",
3982
+ description: "The backup access code pool is empty.",
3610
3983
  properties: {
3611
3984
  error_code: {
3612
3985
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3613
- enum: ["subscription_required"],
3986
+ enum: ["empty_backup_access_code_pool"],
3614
3987
  type: "string"
3615
3988
  },
3616
3989
  is_device_error: { enum: [true], type: "boolean" },
@@ -3618,24 +3991,152 @@ var openapi_default = {
3618
3991
  },
3619
3992
  required: ["message", "is_device_error", "error_code"],
3620
3993
  type: "object"
3621
- }
3994
+ },
3995
+ {
3996
+ description: "User is not authorized to use the August Lock.",
3997
+ properties: {
3998
+ error_code: {
3999
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4000
+ enum: ["august_lock_not_authorized"],
4001
+ type: "string"
4002
+ },
4003
+ is_device_error: { enum: [true], type: "boolean" },
4004
+ message: { type: "string" }
4005
+ },
4006
+ required: ["message", "is_device_error", "error_code"],
4007
+ type: "object"
4008
+ },
4009
+ {
4010
+ description: "Lock is not connected to the Seam Bridge.",
4011
+ properties: {
4012
+ error_code: {
4013
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4014
+ enum: ["august_lock_missing_bridge"],
4015
+ type: "string"
4016
+ },
4017
+ is_device_error: { enum: [true], type: "boolean" },
4018
+ message: { type: "string" }
4019
+ },
4020
+ required: ["message", "is_device_error", "error_code"],
4021
+ type: "object"
4022
+ },
4023
+ {
4024
+ description: "Salto site user limit reached.",
4025
+ properties: {
4026
+ error_code: {
4027
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4028
+ enum: ["salto_site_user_limit_reached"],
4029
+ type: "string"
4030
+ },
4031
+ is_device_error: { enum: [true], type: "boolean" },
4032
+ message: { type: "string" }
4033
+ },
4034
+ required: ["message", "is_device_error", "error_code"],
4035
+ type: "object"
4036
+ },
4037
+ {
4038
+ description: "Lock is not paired with a Gateway.",
4039
+ properties: {
4040
+ error_code: {
4041
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4042
+ enum: ["ttlock_lock_not_paired_to_gateway"],
4043
+ type: "string"
4044
+ },
4045
+ is_device_error: { enum: [true], type: "boolean" },
4046
+ message: { type: "string" }
4047
+ },
4048
+ required: ["message", "is_device_error", "error_code"],
4049
+ type: "object"
4050
+ },
4051
+ {
4052
+ description: "Missing device credentials.",
4053
+ properties: {
4054
+ error_code: {
4055
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4056
+ enum: ["missing_device_credentials"],
4057
+ type: "string"
4058
+ },
4059
+ is_device_error: { enum: [true], type: "boolean" },
4060
+ message: { type: "string" }
4061
+ },
4062
+ required: ["message", "is_device_error", "error_code"],
4063
+ type: "object"
4064
+ },
4065
+ {
4066
+ description: "The auxiliary heat is running.",
4067
+ properties: {
4068
+ error_code: {
4069
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4070
+ enum: ["auxiliary_heat_running"],
4071
+ type: "string"
4072
+ },
4073
+ is_device_error: { enum: [true], type: "boolean" },
4074
+ message: { type: "string" }
4075
+ },
4076
+ required: ["message", "is_device_error", "error_code"],
4077
+ type: "object"
4078
+ },
4079
+ {
4080
+ description: "Subscription required to connect.",
4081
+ properties: {
4082
+ error_code: {
4083
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
4084
+ enum: ["subscription_required"],
4085
+ type: "string"
4086
+ },
4087
+ is_device_error: { enum: [true], type: "boolean" },
4088
+ message: { type: "string" }
4089
+ },
4090
+ required: ["message", "is_device_error", "error_code"],
4091
+ type: "object"
4092
+ }
3622
4093
  ]
3623
4094
  },
3624
4095
  {
3625
- properties: {
3626
- error_code: { type: "string" },
3627
- is_connected_account_error: {
3628
- enum: [true],
3629
- type: "boolean"
4096
+ oneOf: [
4097
+ {
4098
+ description: "Account is disconnected.",
4099
+ properties: {
4100
+ error_code: {
4101
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4102
+ enum: ["account_disconnected"],
4103
+ type: "string"
4104
+ },
4105
+ is_connected_account_error: {
4106
+ enum: [true],
4107
+ type: "boolean"
4108
+ },
4109
+ message: { type: "string" }
4110
+ },
4111
+ required: [
4112
+ "message",
4113
+ "is_connected_account_error",
4114
+ "error_code"
4115
+ ],
4116
+ type: "object"
3630
4117
  },
3631
- message: { type: "string" }
3632
- },
3633
- required: [
3634
- "message",
3635
- "is_connected_account_error",
3636
- "error_code"
3637
- ],
3638
- type: "object"
4118
+ {
4119
+ description: "Credentials provided were invalid.",
4120
+ properties: {
4121
+ error_code: {
4122
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4123
+ enum: ["invalid_credentials"],
4124
+ type: "string"
4125
+ },
4126
+ is_connected_account_error: {
4127
+ enum: [true],
4128
+ type: "boolean"
4129
+ },
4130
+ message: { type: "string" }
4131
+ },
4132
+ required: [
4133
+ "message",
4134
+ "is_connected_account_error",
4135
+ "error_code"
4136
+ ],
4137
+ type: "object"
4138
+ }
4139
+ ]
3639
4140
  }
3640
4141
  ]
3641
4142
  },
@@ -3704,12 +4205,138 @@ var openapi_default = {
3704
4205
  warnings: {
3705
4206
  description: '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.',
3706
4207
  items: {
3707
- properties: {
3708
- message: { type: "string" },
3709
- warning_code: { type: "string" }
3710
- },
3711
- required: ["message", "warning_code"],
3712
- type: "object"
4208
+ oneOf: [
4209
+ {
4210
+ description: "Failed to set code on Smart Things device.",
4211
+ properties: {
4212
+ message: { type: "string" },
4213
+ warning_code: {
4214
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4215
+ enum: ["smartthings_failed_to_set_access_code"],
4216
+ type: "string"
4217
+ }
4218
+ },
4219
+ required: ["message", "warning_code"],
4220
+ type: "object"
4221
+ },
4222
+ {
4223
+ description: "Duplicate access code detected.",
4224
+ properties: {
4225
+ message: { type: "string" },
4226
+ warning_code: {
4227
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4228
+ enum: ["schlage_detected_duplicate"],
4229
+ type: "string"
4230
+ }
4231
+ },
4232
+ required: ["message", "warning_code"],
4233
+ type: "object"
4234
+ },
4235
+ {
4236
+ description: "Received an error when attempting to create this code.",
4237
+ properties: {
4238
+ message: { type: "string" },
4239
+ warning_code: {
4240
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4241
+ enum: ["schlage_creation_outage"],
4242
+ type: "string"
4243
+ }
4244
+ },
4245
+ required: ["message", "warning_code"],
4246
+ type: "object"
4247
+ },
4248
+ {
4249
+ description: "Code was modified or removed externally after Seam successfully set it on the device.",
4250
+ properties: {
4251
+ message: { type: "string" },
4252
+ warning_code: {
4253
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4254
+ enum: ["code_modified_external_to_seam"],
4255
+ type: "string"
4256
+ }
4257
+ },
4258
+ required: ["message", "warning_code"],
4259
+ type: "object"
4260
+ },
4261
+ {
4262
+ description: "Delay in setting code on device.",
4263
+ properties: {
4264
+ message: { type: "string" },
4265
+ warning_code: {
4266
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4267
+ enum: ["delay_in_setting_on_device"],
4268
+ type: "string"
4269
+ }
4270
+ },
4271
+ required: ["message", "warning_code"],
4272
+ type: "object"
4273
+ },
4274
+ {
4275
+ description: "Delay in removing code from device.",
4276
+ properties: {
4277
+ message: { type: "string" },
4278
+ warning_code: {
4279
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4280
+ enum: ["delay_in_removing_from_device"],
4281
+ type: "string"
4282
+ }
4283
+ },
4284
+ required: ["message", "warning_code"],
4285
+ type: "object"
4286
+ },
4287
+ {
4288
+ description: "Third party integration detected that may cause access codes to fail.",
4289
+ properties: {
4290
+ message: { type: "string" },
4291
+ warning_code: {
4292
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4293
+ enum: ["third_party_integration_detected"],
4294
+ type: "string"
4295
+ }
4296
+ },
4297
+ required: ["message", "warning_code"],
4298
+ type: "object"
4299
+ },
4300
+ {
4301
+ description: "Access code has not yet been fully moved to the device.",
4302
+ properties: {
4303
+ message: { type: "string" },
4304
+ warning_code: {
4305
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4306
+ enum: ["august_device_programming_delay"],
4307
+ type: "string"
4308
+ }
4309
+ },
4310
+ required: ["message", "warning_code"],
4311
+ type: "object"
4312
+ },
4313
+ {
4314
+ description: "Algopins must be used within 24 hours.",
4315
+ properties: {
4316
+ message: { type: "string" },
4317
+ warning_code: {
4318
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4319
+ enum: ["igloo_algopin_must_be_used_within_24_hours"],
4320
+ type: "string"
4321
+ }
4322
+ },
4323
+ required: ["message", "warning_code"],
4324
+ type: "object"
4325
+ },
4326
+ {
4327
+ description: "Management was transferred to another workspace.",
4328
+ properties: {
4329
+ message: { type: "string" },
4330
+ warning_code: {
4331
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4332
+ enum: ["management_transferred"],
4333
+ type: "string"
4334
+ }
4335
+ },
4336
+ required: ["message", "warning_code"],
4337
+ type: "object"
4338
+ }
4339
+ ]
3713
4340
  },
3714
4341
  type: "array"
3715
4342
  }
@@ -7652,13 +8279,50 @@ var openapi_default = {
7652
8279
  },
7653
8280
  errors: {
7654
8281
  items: {
7655
- properties: {
7656
- error_code: { type: "string" },
7657
- is_connected_account_error: { enum: [true], type: "boolean" },
7658
- message: { type: "string" }
7659
- },
7660
- required: ["message", "is_connected_account_error", "error_code"],
7661
- type: "object"
8282
+ oneOf: [
8283
+ {
8284
+ description: "Account is disconnected.",
8285
+ properties: {
8286
+ error_code: {
8287
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
8288
+ enum: ["account_disconnected"],
8289
+ type: "string"
8290
+ },
8291
+ is_connected_account_error: {
8292
+ enum: [true],
8293
+ type: "boolean"
8294
+ },
8295
+ message: { type: "string" }
8296
+ },
8297
+ required: [
8298
+ "message",
8299
+ "is_connected_account_error",
8300
+ "error_code"
8301
+ ],
8302
+ type: "object"
8303
+ },
8304
+ {
8305
+ description: "Credentials provided were invalid.",
8306
+ properties: {
8307
+ error_code: {
8308
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
8309
+ enum: ["invalid_credentials"],
8310
+ type: "string"
8311
+ },
8312
+ is_connected_account_error: {
8313
+ enum: [true],
8314
+ type: "boolean"
8315
+ },
8316
+ message: { type: "string" }
8317
+ },
8318
+ required: [
8319
+ "message",
8320
+ "is_connected_account_error",
8321
+ "error_code"
8322
+ ],
8323
+ type: "object"
8324
+ }
8325
+ ]
7662
8326
  },
7663
8327
  type: "array"
7664
8328
  },
@@ -7677,9 +8341,14 @@ var openapi_default = {
7677
8341
  description: "Warning associated with the `connected_account`.",
7678
8342
  oneOf: [
7679
8343
  {
8344
+ description: "Scheduled downtime for account planned.",
7680
8345
  properties: {
7681
8346
  message: { type: "string" },
7682
- warning_code: { type: "string" }
8347
+ warning_code: {
8348
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
8349
+ enum: ["scheduled_maintenance_window"],
8350
+ type: "string"
8351
+ }
7683
8352
  },
7684
8353
  required: ["message", "warning_code"],
7685
8354
  type: "object"
@@ -8008,20 +8677,50 @@ var openapi_default = {
8008
8677
  ]
8009
8678
  },
8010
8679
  {
8011
- properties: {
8012
- error_code: { type: "string" },
8013
- is_connected_account_error: {
8014
- enum: [true],
8015
- type: "boolean"
8680
+ oneOf: [
8681
+ {
8682
+ description: "Account is disconnected.",
8683
+ properties: {
8684
+ error_code: {
8685
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
8686
+ enum: ["account_disconnected"],
8687
+ type: "string"
8688
+ },
8689
+ is_connected_account_error: {
8690
+ enum: [true],
8691
+ type: "boolean"
8692
+ },
8693
+ message: { type: "string" }
8694
+ },
8695
+ required: [
8696
+ "message",
8697
+ "is_connected_account_error",
8698
+ "error_code"
8699
+ ],
8700
+ type: "object"
8016
8701
  },
8017
- message: { type: "string" }
8018
- },
8019
- required: [
8020
- "message",
8021
- "is_connected_account_error",
8022
- "error_code"
8023
- ],
8024
- type: "object"
8702
+ {
8703
+ description: "Credentials provided were invalid.",
8704
+ properties: {
8705
+ error_code: {
8706
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
8707
+ enum: ["invalid_credentials"],
8708
+ type: "string"
8709
+ },
8710
+ is_connected_account_error: {
8711
+ enum: [true],
8712
+ type: "boolean"
8713
+ },
8714
+ message: { type: "string" }
8715
+ },
8716
+ required: [
8717
+ "message",
8718
+ "is_connected_account_error",
8719
+ "error_code"
8720
+ ],
8721
+ type: "object"
8722
+ }
8723
+ ]
8025
8724
  }
8026
8725
  ]
8027
8726
  },
@@ -13848,20 +14547,50 @@ var openapi_default = {
13848
14547
  ]
13849
14548
  },
13850
14549
  {
13851
- properties: {
13852
- error_code: { type: "string" },
13853
- is_connected_account_error: {
13854
- enum: [true],
13855
- type: "boolean"
14550
+ oneOf: [
14551
+ {
14552
+ description: "Account is disconnected.",
14553
+ properties: {
14554
+ error_code: {
14555
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
14556
+ enum: ["account_disconnected"],
14557
+ type: "string"
14558
+ },
14559
+ is_connected_account_error: {
14560
+ enum: [true],
14561
+ type: "boolean"
14562
+ },
14563
+ message: { type: "string" }
14564
+ },
14565
+ required: [
14566
+ "message",
14567
+ "is_connected_account_error",
14568
+ "error_code"
14569
+ ],
14570
+ type: "object"
13856
14571
  },
13857
- message: { type: "string" }
13858
- },
13859
- required: [
13860
- "message",
13861
- "is_connected_account_error",
13862
- "error_code"
13863
- ],
13864
- type: "object"
14572
+ {
14573
+ description: "Credentials provided were invalid.",
14574
+ properties: {
14575
+ error_code: {
14576
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
14577
+ enum: ["invalid_credentials"],
14578
+ type: "string"
14579
+ },
14580
+ is_connected_account_error: {
14581
+ enum: [true],
14582
+ type: "boolean"
14583
+ },
14584
+ message: { type: "string" }
14585
+ },
14586
+ required: [
14587
+ "message",
14588
+ "is_connected_account_error",
14589
+ "error_code"
14590
+ ],
14591
+ type: "object"
14592
+ }
14593
+ ]
13865
14594
  }
13866
14595
  ]
13867
14596
  },
@@ -14255,248 +14984,745 @@ var openapi_default = {
14255
14984
  items: {
14256
14985
  oneOf: [
14257
14986
  {
14258
- properties: {
14259
- error_code: { type: "string" },
14260
- is_access_code_error: { enum: [true], type: "boolean" },
14261
- message: { type: "string" }
14262
- },
14263
- required: ["message", "is_access_code_error", "error_code"],
14264
- type: "object"
14265
- },
14266
- {
14267
- description: "Error associated with the `device`.",
14268
14987
  oneOf: [
14269
14988
  {
14270
- description: "Device is offline",
14989
+ description: "Failed to set code on Smart Things device.",
14271
14990
  properties: {
14272
14991
  error_code: {
14273
14992
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
14274
- enum: ["device_offline"],
14993
+ enum: ["smartthings_failed_to_set_access_code"],
14275
14994
  type: "string"
14276
14995
  },
14277
- is_device_error: { enum: [true], type: "boolean" },
14996
+ is_access_code_error: { enum: [true], type: "boolean" },
14278
14997
  message: { type: "string" }
14279
14998
  },
14280
- required: ["message", "is_device_error", "error_code"],
14999
+ required: [
15000
+ "message",
15001
+ "is_access_code_error",
15002
+ "error_code"
15003
+ ],
14281
15004
  type: "object"
14282
15005
  },
14283
15006
  {
14284
- description: "Device has been removed",
15007
+ description: "Failed to set code after multiple retries.",
14285
15008
  properties: {
14286
15009
  error_code: {
14287
15010
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
14288
- enum: ["device_removed"],
15011
+ enum: [
15012
+ "smartthings_failed_to_set_after_multiple_retries"
15013
+ ],
14289
15014
  type: "string"
14290
15015
  },
14291
- is_device_error: { enum: [true], type: "boolean" },
15016
+ is_access_code_error: { enum: [true], type: "boolean" },
14292
15017
  message: { type: "string" }
14293
15018
  },
14294
- required: ["message", "is_device_error", "error_code"],
15019
+ required: [
15020
+ "message",
15021
+ "is_access_code_error",
15022
+ "error_code"
15023
+ ],
14295
15024
  type: "object"
14296
15025
  },
14297
15026
  {
14298
- description: "Account is disconnected",
15027
+ description: "Failed to set code on device.",
14299
15028
  properties: {
14300
15029
  error_code: {
14301
15030
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
14302
- enum: ["account_disconnected"],
15031
+ enum: ["failed_to_set_on_device"],
14303
15032
  type: "string"
14304
15033
  },
14305
- is_device_error: { enum: [true], type: "boolean" },
15034
+ is_access_code_error: { enum: [true], type: "boolean" },
14306
15035
  message: { type: "string" }
14307
15036
  },
14308
- required: ["message", "is_device_error", "error_code"],
15037
+ required: [
15038
+ "message",
15039
+ "is_access_code_error",
15040
+ "error_code"
15041
+ ],
14309
15042
  type: "object"
14310
15043
  },
14311
15044
  {
14312
- description: "Hub is disconnected",
15045
+ description: "Failed to remove code from device.",
14313
15046
  properties: {
14314
15047
  error_code: {
14315
15048
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
14316
- enum: ["hub_disconnected"],
15049
+ enum: ["failed_to_remove_from_device"],
14317
15050
  type: "string"
14318
15051
  },
14319
- is_device_error: { enum: [true], type: "boolean" },
15052
+ is_access_code_error: { enum: [true], type: "boolean" },
14320
15053
  message: { type: "string" }
14321
15054
  },
14322
- required: ["message", "is_device_error", "error_code"],
15055
+ required: [
15056
+ "message",
15057
+ "is_access_code_error",
15058
+ "error_code"
15059
+ ],
14323
15060
  type: "object"
14324
15061
  },
14325
15062
  {
14326
- description: "Device is disconnected",
15063
+ description: "Duplicate access code detected on device.",
14327
15064
  properties: {
14328
15065
  error_code: {
14329
15066
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
14330
- enum: ["device_disconnected"],
15067
+ enum: ["duplicate_code_on_device"],
14331
15068
  type: "string"
14332
15069
  },
14333
- is_device_error: { enum: [true], type: "boolean" },
15070
+ is_access_code_error: { enum: [true], type: "boolean" },
14334
15071
  message: { type: "string" }
14335
15072
  },
14336
- required: ["message", "is_device_error", "error_code"],
15073
+ required: [
15074
+ "message",
15075
+ "is_access_code_error",
15076
+ "error_code"
15077
+ ],
14337
15078
  type: "object"
14338
15079
  },
14339
15080
  {
14340
- description: "The backup access code pool is empty.",
15081
+ description: "An attempt to modify this access code was prevented.",
14341
15082
  properties: {
14342
15083
  error_code: {
14343
15084
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
14344
- enum: ["empty_backup_access_code_pool"],
15085
+ enum: ["duplicate_code_attempt_prevented"],
14345
15086
  type: "string"
14346
15087
  },
14347
- is_device_error: { enum: [true], type: "boolean" },
15088
+ is_access_code_error: { enum: [true], type: "boolean" },
14348
15089
  message: { type: "string" }
14349
15090
  },
14350
- required: ["message", "is_device_error", "error_code"],
15091
+ required: [
15092
+ "message",
15093
+ "is_access_code_error",
15094
+ "error_code"
15095
+ ],
14351
15096
  type: "object"
14352
15097
  },
14353
15098
  {
14354
- description: "User is not authorized to use the August Lock.",
15099
+ description: "Igloohome bridge has too many pending jobs in the queue.",
14355
15100
  properties: {
14356
15101
  error_code: {
14357
15102
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
14358
- enum: ["august_lock_not_authorized"],
15103
+ enum: ["igloohome_bridge_too_many_pending_jobs"],
14359
15104
  type: "string"
14360
15105
  },
14361
- is_device_error: { enum: [true], type: "boolean" },
15106
+ is_access_code_error: { enum: [true], type: "boolean" },
14362
15107
  message: { type: "string" }
14363
15108
  },
14364
- required: ["message", "is_device_error", "error_code"],
15109
+ required: [
15110
+ "message",
15111
+ "is_access_code_error",
15112
+ "error_code"
15113
+ ],
14365
15114
  type: "object"
14366
15115
  },
14367
15116
  {
14368
- description: "Lock is not connected to the Seam Bridge.",
15117
+ description: "Igloohome bridge is offline.",
14369
15118
  properties: {
14370
15119
  error_code: {
14371
15120
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
14372
- enum: ["august_lock_missing_bridge"],
15121
+ enum: ["igloohome_bridge_offline"],
14373
15122
  type: "string"
14374
15123
  },
14375
- is_device_error: { enum: [true], type: "boolean" },
15124
+ is_access_code_error: { enum: [true], type: "boolean" },
14376
15125
  message: { type: "string" }
14377
15126
  },
14378
- required: ["message", "is_device_error", "error_code"],
15127
+ required: [
15128
+ "message",
15129
+ "is_access_code_error",
15130
+ "error_code"
15131
+ ],
14379
15132
  type: "object"
14380
15133
  },
14381
15134
  {
14382
- description: "Salto site user limit reached.",
15135
+ description: "Lock as reached max amount of codes.",
14383
15136
  properties: {
14384
15137
  error_code: {
14385
15138
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
14386
- enum: ["salto_site_user_limit_reached"],
15139
+ enum: [
15140
+ "igloohome_offline_access_code_no_variance_available"
15141
+ ],
14387
15142
  type: "string"
14388
15143
  },
14389
- is_device_error: { enum: [true], type: "boolean" },
15144
+ is_access_code_error: { enum: [true], type: "boolean" },
14390
15145
  message: { type: "string" }
14391
15146
  },
14392
- required: ["message", "is_device_error", "error_code"],
15147
+ required: [
15148
+ "message",
15149
+ "is_access_code_error",
15150
+ "error_code"
15151
+ ],
14393
15152
  type: "object"
14394
15153
  },
14395
15154
  {
14396
- description: "Lock is not paired with a Gateway.",
15155
+ description: "Unable to confirm the access code is set on Kwikset device.",
14397
15156
  properties: {
14398
15157
  error_code: {
14399
15158
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
14400
- enum: ["ttlock_lock_not_paired_to_gateway"],
15159
+ enum: ["kwikset_unable_to_confirm_code"],
14401
15160
  type: "string"
14402
15161
  },
14403
- is_device_error: { enum: [true], type: "boolean" },
15162
+ is_access_code_error: { enum: [true], type: "boolean" },
14404
15163
  message: { type: "string" }
14405
15164
  },
14406
- required: ["message", "is_device_error", "error_code"],
15165
+ required: [
15166
+ "message",
15167
+ "is_access_code_error",
15168
+ "error_code"
15169
+ ],
14407
15170
  type: "object"
14408
15171
  },
14409
15172
  {
14410
- description: "Missing device credentials.",
15173
+ description: "Unable to confirm the deletion of the access code on Kwikset device.",
14411
15174
  properties: {
14412
15175
  error_code: {
14413
15176
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
14414
- enum: ["missing_device_credentials"],
15177
+ enum: ["kwikset_unable_to_confirm_deletion"],
14415
15178
  type: "string"
14416
15179
  },
14417
- is_device_error: { enum: [true], type: "boolean" },
15180
+ is_access_code_error: { enum: [true], type: "boolean" },
14418
15181
  message: { type: "string" }
14419
15182
  },
14420
- required: ["message", "is_device_error", "error_code"],
15183
+ required: [
15184
+ "message",
15185
+ "is_access_code_error",
15186
+ "error_code"
15187
+ ],
14421
15188
  type: "object"
14422
15189
  },
14423
15190
  {
14424
- description: "The auxiliary heat is running.",
15191
+ description: "Code was modified or removed externally after Seam successfully set it on the device.",
14425
15192
  properties: {
14426
15193
  error_code: {
14427
15194
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
14428
- enum: ["auxiliary_heat_running"],
15195
+ enum: ["code_modified_external_to_seam"],
14429
15196
  type: "string"
14430
15197
  },
14431
- is_device_error: { enum: [true], type: "boolean" },
15198
+ is_access_code_error: { enum: [true], type: "boolean" },
14432
15199
  message: { type: "string" }
14433
15200
  },
14434
- required: ["message", "is_device_error", "error_code"],
15201
+ required: [
15202
+ "message",
15203
+ "is_access_code_error",
15204
+ "error_code"
15205
+ ],
14435
15206
  type: "object"
14436
15207
  },
14437
15208
  {
14438
- description: "Subscription required to connect.",
15209
+ description: "Invalid code length for August lock.",
14439
15210
  properties: {
14440
15211
  error_code: {
14441
15212
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
14442
- enum: ["subscription_required"],
15213
+ enum: ["august_lock_invalid_code_length"],
14443
15214
  type: "string"
14444
15215
  },
14445
- is_device_error: { enum: [true], type: "boolean" },
15216
+ is_access_code_error: { enum: [true], type: "boolean" },
14446
15217
  message: { type: "string" }
14447
15218
  },
14448
- required: ["message", "is_device_error", "error_code"],
15219
+ required: [
15220
+ "message",
15221
+ "is_access_code_error",
15222
+ "error_code"
15223
+ ],
14449
15224
  type: "object"
14450
- }
14451
- ]
14452
- },
14453
- {
14454
- properties: {
14455
- error_code: { type: "string" },
14456
- is_connected_account_error: {
14457
- enum: [true],
14458
- type: "boolean"
14459
15225
  },
14460
- message: { type: "string" }
14461
- },
14462
- required: [
14463
- "message",
14464
- "is_connected_account_error",
14465
- "error_code"
14466
- ],
14467
- type: "object"
14468
- }
14469
- ]
14470
- },
14471
- type: "array"
14472
- },
14473
- is_managed: { enum: [false], type: "boolean" },
14474
- name: {
14475
- description: "Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.",
14476
- nullable: true,
14477
- type: "string"
14478
- },
14479
- starts_at: {
14480
- description: "Date and time at which the time-bound access code becomes active.",
14481
- format: "date-time",
14482
- nullable: true,
14483
- type: "string"
14484
- },
14485
- status: { enum: ["set"], type: "string" },
14486
- type: {
14487
- description: '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.',
14488
- enum: ["time_bound", "ongoing"],
15226
+ {
15227
+ description: "Access code has not yet been fully moved to the device.",
15228
+ properties: {
15229
+ error_code: {
15230
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15231
+ enum: ["august_device_programming_delay"],
15232
+ type: "string"
15233
+ },
15234
+ is_access_code_error: { enum: [true], type: "boolean" },
15235
+ message: { type: "string" }
15236
+ },
15237
+ required: [
15238
+ "message",
15239
+ "is_access_code_error",
15240
+ "error_code"
15241
+ ],
15242
+ type: "object"
15243
+ },
15244
+ {
15245
+ description: "All access code slots on the device are full.",
15246
+ properties: {
15247
+ error_code: {
15248
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15249
+ enum: ["august_device_slots_full"],
15250
+ type: "string"
15251
+ },
15252
+ is_access_code_error: { enum: [true], type: "boolean" },
15253
+ message: { type: "string" }
15254
+ },
15255
+ required: [
15256
+ "message",
15257
+ "is_access_code_error",
15258
+ "error_code"
15259
+ ],
15260
+ type: "object"
15261
+ },
15262
+ {
15263
+ description: "August lock is missing a keypad.",
15264
+ properties: {
15265
+ error_code: {
15266
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15267
+ enum: ["august_lock_missing_keypad"],
15268
+ type: "string"
15269
+ },
15270
+ is_access_code_error: { enum: [true], type: "boolean" },
15271
+ message: { type: "string" }
15272
+ },
15273
+ required: [
15274
+ "message",
15275
+ "is_access_code_error",
15276
+ "error_code"
15277
+ ],
15278
+ type: "object"
15279
+ },
15280
+ {
15281
+ description: "Salto site user is not subscribed.",
15282
+ properties: {
15283
+ error_code: {
15284
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15285
+ enum: ["salto_site_user_not_subscribed"],
15286
+ type: "string"
15287
+ },
15288
+ is_access_code_error: { enum: [true], type: "boolean" },
15289
+ message: { type: "string" }
15290
+ },
15291
+ required: [
15292
+ "message",
15293
+ "is_access_code_error",
15294
+ "error_code"
15295
+ ],
15296
+ type: "object"
15297
+ },
15298
+ {
15299
+ description: "Access code has not yet been fully moved to the device.",
15300
+ properties: {
15301
+ error_code: {
15302
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15303
+ enum: ["hubitat_device_programming_delay"],
15304
+ type: "string"
15305
+ },
15306
+ is_access_code_error: { enum: [true], type: "boolean" },
15307
+ message: { type: "string" }
15308
+ },
15309
+ required: [
15310
+ "message",
15311
+ "is_access_code_error",
15312
+ "error_code"
15313
+ ],
15314
+ type: "object"
15315
+ },
15316
+ {
15317
+ description: "No free positions available on the device.",
15318
+ properties: {
15319
+ error_code: {
15320
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15321
+ enum: ["hubitat_no_free_positions_available"],
15322
+ type: "string"
15323
+ },
15324
+ is_access_code_error: { enum: [true], type: "boolean" },
15325
+ message: { type: "string" }
15326
+ },
15327
+ required: [
15328
+ "message",
15329
+ "is_access_code_error",
15330
+ "error_code"
15331
+ ],
15332
+ type: "object"
15333
+ }
15334
+ ]
15335
+ },
15336
+ {
15337
+ description: "Error associated with the `device`.",
15338
+ oneOf: [
15339
+ {
15340
+ description: "Device is offline",
15341
+ properties: {
15342
+ error_code: {
15343
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15344
+ enum: ["device_offline"],
15345
+ type: "string"
15346
+ },
15347
+ is_device_error: { enum: [true], type: "boolean" },
15348
+ message: { type: "string" }
15349
+ },
15350
+ required: ["message", "is_device_error", "error_code"],
15351
+ type: "object"
15352
+ },
15353
+ {
15354
+ description: "Device has been removed",
15355
+ properties: {
15356
+ error_code: {
15357
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15358
+ enum: ["device_removed"],
15359
+ type: "string"
15360
+ },
15361
+ is_device_error: { enum: [true], type: "boolean" },
15362
+ message: { type: "string" }
15363
+ },
15364
+ required: ["message", "is_device_error", "error_code"],
15365
+ type: "object"
15366
+ },
15367
+ {
15368
+ description: "Account is disconnected",
15369
+ properties: {
15370
+ error_code: {
15371
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15372
+ enum: ["account_disconnected"],
15373
+ type: "string"
15374
+ },
15375
+ is_device_error: { enum: [true], type: "boolean" },
15376
+ message: { type: "string" }
15377
+ },
15378
+ required: ["message", "is_device_error", "error_code"],
15379
+ type: "object"
15380
+ },
15381
+ {
15382
+ description: "Hub is disconnected",
15383
+ properties: {
15384
+ error_code: {
15385
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15386
+ enum: ["hub_disconnected"],
15387
+ type: "string"
15388
+ },
15389
+ is_device_error: { enum: [true], type: "boolean" },
15390
+ message: { type: "string" }
15391
+ },
15392
+ required: ["message", "is_device_error", "error_code"],
15393
+ type: "object"
15394
+ },
15395
+ {
15396
+ description: "Device is disconnected",
15397
+ properties: {
15398
+ error_code: {
15399
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15400
+ enum: ["device_disconnected"],
15401
+ type: "string"
15402
+ },
15403
+ is_device_error: { enum: [true], type: "boolean" },
15404
+ message: { type: "string" }
15405
+ },
15406
+ required: ["message", "is_device_error", "error_code"],
15407
+ type: "object"
15408
+ },
15409
+ {
15410
+ description: "The backup access code pool is empty.",
15411
+ properties: {
15412
+ error_code: {
15413
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15414
+ enum: ["empty_backup_access_code_pool"],
15415
+ type: "string"
15416
+ },
15417
+ is_device_error: { enum: [true], type: "boolean" },
15418
+ message: { type: "string" }
15419
+ },
15420
+ required: ["message", "is_device_error", "error_code"],
15421
+ type: "object"
15422
+ },
15423
+ {
15424
+ description: "User is not authorized to use the August Lock.",
15425
+ properties: {
15426
+ error_code: {
15427
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15428
+ enum: ["august_lock_not_authorized"],
15429
+ type: "string"
15430
+ },
15431
+ is_device_error: { enum: [true], type: "boolean" },
15432
+ message: { type: "string" }
15433
+ },
15434
+ required: ["message", "is_device_error", "error_code"],
15435
+ type: "object"
15436
+ },
15437
+ {
15438
+ description: "Lock is not connected to the Seam Bridge.",
15439
+ properties: {
15440
+ error_code: {
15441
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15442
+ enum: ["august_lock_missing_bridge"],
15443
+ type: "string"
15444
+ },
15445
+ is_device_error: { enum: [true], type: "boolean" },
15446
+ message: { type: "string" }
15447
+ },
15448
+ required: ["message", "is_device_error", "error_code"],
15449
+ type: "object"
15450
+ },
15451
+ {
15452
+ description: "Salto site user limit reached.",
15453
+ properties: {
15454
+ error_code: {
15455
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15456
+ enum: ["salto_site_user_limit_reached"],
15457
+ type: "string"
15458
+ },
15459
+ is_device_error: { enum: [true], type: "boolean" },
15460
+ message: { type: "string" }
15461
+ },
15462
+ required: ["message", "is_device_error", "error_code"],
15463
+ type: "object"
15464
+ },
15465
+ {
15466
+ description: "Lock is not paired with a Gateway.",
15467
+ properties: {
15468
+ error_code: {
15469
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15470
+ enum: ["ttlock_lock_not_paired_to_gateway"],
15471
+ type: "string"
15472
+ },
15473
+ is_device_error: { enum: [true], type: "boolean" },
15474
+ message: { type: "string" }
15475
+ },
15476
+ required: ["message", "is_device_error", "error_code"],
15477
+ type: "object"
15478
+ },
15479
+ {
15480
+ description: "Missing device credentials.",
15481
+ properties: {
15482
+ error_code: {
15483
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15484
+ enum: ["missing_device_credentials"],
15485
+ type: "string"
15486
+ },
15487
+ is_device_error: { enum: [true], type: "boolean" },
15488
+ message: { type: "string" }
15489
+ },
15490
+ required: ["message", "is_device_error", "error_code"],
15491
+ type: "object"
15492
+ },
15493
+ {
15494
+ description: "The auxiliary heat is running.",
15495
+ properties: {
15496
+ error_code: {
15497
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15498
+ enum: ["auxiliary_heat_running"],
15499
+ type: "string"
15500
+ },
15501
+ is_device_error: { enum: [true], type: "boolean" },
15502
+ message: { type: "string" }
15503
+ },
15504
+ required: ["message", "is_device_error", "error_code"],
15505
+ type: "object"
15506
+ },
15507
+ {
15508
+ description: "Subscription required to connect.",
15509
+ properties: {
15510
+ error_code: {
15511
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15512
+ enum: ["subscription_required"],
15513
+ type: "string"
15514
+ },
15515
+ is_device_error: { enum: [true], type: "boolean" },
15516
+ message: { type: "string" }
15517
+ },
15518
+ required: ["message", "is_device_error", "error_code"],
15519
+ type: "object"
15520
+ }
15521
+ ]
15522
+ },
15523
+ {
15524
+ oneOf: [
15525
+ {
15526
+ description: "Account is disconnected.",
15527
+ properties: {
15528
+ error_code: {
15529
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
15530
+ enum: ["account_disconnected"],
15531
+ type: "string"
15532
+ },
15533
+ is_connected_account_error: {
15534
+ enum: [true],
15535
+ type: "boolean"
15536
+ },
15537
+ message: { type: "string" }
15538
+ },
15539
+ required: [
15540
+ "message",
15541
+ "is_connected_account_error",
15542
+ "error_code"
15543
+ ],
15544
+ type: "object"
15545
+ },
15546
+ {
15547
+ description: "Credentials provided were invalid.",
15548
+ properties: {
15549
+ error_code: {
15550
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
15551
+ enum: ["invalid_credentials"],
15552
+ type: "string"
15553
+ },
15554
+ is_connected_account_error: {
15555
+ enum: [true],
15556
+ type: "boolean"
15557
+ },
15558
+ message: { type: "string" }
15559
+ },
15560
+ required: [
15561
+ "message",
15562
+ "is_connected_account_error",
15563
+ "error_code"
15564
+ ],
15565
+ type: "object"
15566
+ }
15567
+ ]
15568
+ }
15569
+ ]
15570
+ },
15571
+ type: "array"
15572
+ },
15573
+ is_managed: { enum: [false], type: "boolean" },
15574
+ name: {
15575
+ description: "Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.",
15576
+ nullable: true,
15577
+ type: "string"
15578
+ },
15579
+ starts_at: {
15580
+ description: "Date and time at which the time-bound access code becomes active.",
15581
+ format: "date-time",
15582
+ nullable: true,
15583
+ type: "string"
15584
+ },
15585
+ status: { enum: ["set"], type: "string" },
15586
+ type: {
15587
+ description: '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.',
15588
+ enum: ["time_bound", "ongoing"],
14489
15589
  type: "string"
14490
15590
  },
14491
15591
  warnings: {
14492
15592
  description: '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.',
14493
15593
  items: {
14494
- properties: {
14495
- message: { type: "string" },
14496
- warning_code: { type: "string" }
14497
- },
14498
- required: ["message", "warning_code"],
14499
- type: "object"
15594
+ oneOf: [
15595
+ {
15596
+ description: "Failed to set code on Smart Things device.",
15597
+ properties: {
15598
+ message: { type: "string" },
15599
+ warning_code: {
15600
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
15601
+ enum: ["smartthings_failed_to_set_access_code"],
15602
+ type: "string"
15603
+ }
15604
+ },
15605
+ required: ["message", "warning_code"],
15606
+ type: "object"
15607
+ },
15608
+ {
15609
+ description: "Duplicate access code detected.",
15610
+ properties: {
15611
+ message: { type: "string" },
15612
+ warning_code: {
15613
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
15614
+ enum: ["schlage_detected_duplicate"],
15615
+ type: "string"
15616
+ }
15617
+ },
15618
+ required: ["message", "warning_code"],
15619
+ type: "object"
15620
+ },
15621
+ {
15622
+ description: "Received an error when attempting to create this code.",
15623
+ properties: {
15624
+ message: { type: "string" },
15625
+ warning_code: {
15626
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
15627
+ enum: ["schlage_creation_outage"],
15628
+ type: "string"
15629
+ }
15630
+ },
15631
+ required: ["message", "warning_code"],
15632
+ type: "object"
15633
+ },
15634
+ {
15635
+ description: "Code was modified or removed externally after Seam successfully set it on the device.",
15636
+ properties: {
15637
+ message: { type: "string" },
15638
+ warning_code: {
15639
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
15640
+ enum: ["code_modified_external_to_seam"],
15641
+ type: "string"
15642
+ }
15643
+ },
15644
+ required: ["message", "warning_code"],
15645
+ type: "object"
15646
+ },
15647
+ {
15648
+ description: "Delay in setting code on device.",
15649
+ properties: {
15650
+ message: { type: "string" },
15651
+ warning_code: {
15652
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
15653
+ enum: ["delay_in_setting_on_device"],
15654
+ type: "string"
15655
+ }
15656
+ },
15657
+ required: ["message", "warning_code"],
15658
+ type: "object"
15659
+ },
15660
+ {
15661
+ description: "Delay in removing code from device.",
15662
+ properties: {
15663
+ message: { type: "string" },
15664
+ warning_code: {
15665
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
15666
+ enum: ["delay_in_removing_from_device"],
15667
+ type: "string"
15668
+ }
15669
+ },
15670
+ required: ["message", "warning_code"],
15671
+ type: "object"
15672
+ },
15673
+ {
15674
+ description: "Third party integration detected that may cause access codes to fail.",
15675
+ properties: {
15676
+ message: { type: "string" },
15677
+ warning_code: {
15678
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
15679
+ enum: ["third_party_integration_detected"],
15680
+ type: "string"
15681
+ }
15682
+ },
15683
+ required: ["message", "warning_code"],
15684
+ type: "object"
15685
+ },
15686
+ {
15687
+ description: "Access code has not yet been fully moved to the device.",
15688
+ properties: {
15689
+ message: { type: "string" },
15690
+ warning_code: {
15691
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
15692
+ enum: ["august_device_programming_delay"],
15693
+ type: "string"
15694
+ }
15695
+ },
15696
+ required: ["message", "warning_code"],
15697
+ type: "object"
15698
+ },
15699
+ {
15700
+ description: "Algopins must be used within 24 hours.",
15701
+ properties: {
15702
+ message: { type: "string" },
15703
+ warning_code: {
15704
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
15705
+ enum: ["igloo_algopin_must_be_used_within_24_hours"],
15706
+ type: "string"
15707
+ }
15708
+ },
15709
+ required: ["message", "warning_code"],
15710
+ type: "object"
15711
+ },
15712
+ {
15713
+ description: "Management was transferred to another workspace.",
15714
+ properties: {
15715
+ message: { type: "string" },
15716
+ warning_code: {
15717
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
15718
+ enum: ["management_transferred"],
15719
+ type: "string"
15720
+ }
15721
+ },
15722
+ required: ["message", "warning_code"],
15723
+ type: "object"
15724
+ }
15725
+ ]
14500
15726
  },
14501
15727
  type: "array"
14502
15728
  }
@@ -14802,20 +16028,50 @@ var openapi_default = {
14802
16028
  ]
14803
16029
  },
14804
16030
  {
14805
- properties: {
14806
- error_code: { type: "string" },
14807
- is_connected_account_error: {
14808
- enum: [true],
14809
- type: "boolean"
16031
+ oneOf: [
16032
+ {
16033
+ description: "Account is disconnected.",
16034
+ properties: {
16035
+ error_code: {
16036
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
16037
+ enum: ["account_disconnected"],
16038
+ type: "string"
16039
+ },
16040
+ is_connected_account_error: {
16041
+ enum: [true],
16042
+ type: "boolean"
16043
+ },
16044
+ message: { type: "string" }
16045
+ },
16046
+ required: [
16047
+ "message",
16048
+ "is_connected_account_error",
16049
+ "error_code"
16050
+ ],
16051
+ type: "object"
14810
16052
  },
14811
- message: { type: "string" }
14812
- },
14813
- required: [
14814
- "message",
14815
- "is_connected_account_error",
14816
- "error_code"
14817
- ],
14818
- type: "object"
16053
+ {
16054
+ description: "Credentials provided were invalid.",
16055
+ properties: {
16056
+ error_code: {
16057
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
16058
+ enum: ["invalid_credentials"],
16059
+ type: "string"
16060
+ },
16061
+ is_connected_account_error: {
16062
+ enum: [true],
16063
+ type: "boolean"
16064
+ },
16065
+ message: { type: "string" }
16066
+ },
16067
+ required: [
16068
+ "message",
16069
+ "is_connected_account_error",
16070
+ "error_code"
16071
+ ],
16072
+ type: "object"
16073
+ }
16074
+ ]
14819
16075
  }
14820
16076
  ]
14821
16077
  },