@seamapi/types 1.332.0 → 1.333.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/connect.cjs +1578 -318
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +3297 -472
  4. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +902 -35
  5. package/lib/seam/connect/models/access-codes/managed-access-code.js +238 -6
  6. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  7. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +568 -25
  8. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +85 -23
  9. package/lib/seam/connect/models/connected-accounts/connected-account.js +27 -9
  10. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  11. package/lib/seam/connect/models/devices/device.d.ts +28 -7
  12. package/lib/seam/connect/models/devices/phone.d.ts +28 -7
  13. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +28 -7
  14. package/lib/seam/connect/models/events/acs/{access_groups.js → access-groups.js} +1 -1
  15. package/lib/seam/connect/models/events/acs/{access_groups.js.map → access-groups.js.map} +1 -1
  16. package/lib/seam/connect/models/events/acs/index.js +1 -1
  17. package/lib/seam/connect/models/events/index.d.ts +1 -0
  18. package/lib/seam/connect/models/events/index.js +1 -0
  19. package/lib/seam/connect/models/events/index.js.map +1 -1
  20. package/lib/seam/connect/models/events/seam-event.d.ts +1 -0
  21. package/lib/seam/connect/models/events/seam-event.js +2 -0
  22. package/lib/seam/connect/models/events/seam-event.js.map +1 -1
  23. package/lib/seam/connect/openapi.d.ts +174 -164
  24. package/lib/seam/connect/openapi.js +1331 -205
  25. package/lib/seam/connect/openapi.js.map +1 -1
  26. package/lib/seam/connect/route-types.d.ts +1539 -210
  27. package/package.json +1 -1
  28. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +282 -7
  29. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +32 -9
  30. package/src/lib/seam/connect/models/events/acs/index.ts +1 -1
  31. package/src/lib/seam/connect/models/events/index.ts +1 -0
  32. package/src/lib/seam/connect/models/events/seam-event.ts +10 -0
  33. package/src/lib/seam/connect/openapi.ts +1452 -229
  34. package/src/lib/seam/connect/route-types.ts +2349 -654
  35. /package/lib/seam/connect/models/events/acs/{access_groups.d.ts → access-groups.d.ts} +0 -0
  36. /package/src/lib/seam/connect/models/events/acs/{access_groups.ts → access-groups.ts} +0 -0
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({
@@ -2390,8 +2520,6 @@ var common_event = zod.z.object({
2390
2520
  created_at: zod.z.string().datetime().describe("Date and time at which the event was created."),
2391
2521
  occurred_at: zod.z.string().datetime().describe("Date and time at which the event occurred.")
2392
2522
  });
2393
-
2394
- // src/lib/seam/connect/models/events/access-codes.ts
2395
2523
  var access_code_event = common_event.extend({
2396
2524
  access_code_id: zod.z.string().uuid().describe(
2397
2525
  "ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes)."
@@ -2574,7 +2702,7 @@ var common_acs_event = common_event.extend({
2574
2702
  )
2575
2703
  });
2576
2704
 
2577
- // src/lib/seam/connect/models/events/acs/access_groups.ts
2705
+ // src/lib/seam/connect/models/events/acs/access-groups.ts
2578
2706
  var acs_access_group_event = common_acs_event.extend({
2579
2707
  acs_access_group_id: zod.z.string().uuid()
2580
2708
  });
@@ -3318,6 +3446,12 @@ var seam_event = zod.z.discriminatedUnion("event_type", [
3318
3446
  route_path: /events
3319
3447
  ---
3320
3448
  `);
3449
+ var event_types = seam_event.options.map(
3450
+ (schema) => schema.shape.event_type.value
3451
+ );
3452
+ zod.z.enum(
3453
+ event_types
3454
+ );
3321
3455
  var noise_threshold = zod.z.object({
3322
3456
  noise_threshold_id: zod.z.string().uuid(),
3323
3457
  device_id: zod.z.string().uuid(),
@@ -3422,135 +3556,364 @@ var openapi_default = {
3422
3556
  items: {
3423
3557
  oneOf: [
3424
3558
  {
3425
- properties: {
3426
- error_code: { type: "string" },
3427
- is_access_code_error: { enum: [true], type: "boolean" },
3428
- message: { type: "string" }
3429
- },
3430
- required: ["message", "is_access_code_error", "error_code"],
3431
- type: "object"
3432
- },
3433
- {
3434
- description: "Error associated with the `device`.",
3435
3559
  oneOf: [
3436
3560
  {
3437
- description: "Device is offline",
3561
+ description: "Failed to set code on Smart Things device.",
3438
3562
  properties: {
3439
3563
  error_code: {
3440
3564
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3441
- enum: ["device_offline"],
3565
+ enum: ["smartthings_failed_to_set_access_code"],
3442
3566
  type: "string"
3443
3567
  },
3444
- is_device_error: { enum: [true], type: "boolean" },
3568
+ is_access_code_error: { enum: [true], type: "boolean" },
3445
3569
  message: { type: "string" }
3446
3570
  },
3447
- required: ["message", "is_device_error", "error_code"],
3571
+ required: [
3572
+ "message",
3573
+ "is_access_code_error",
3574
+ "error_code"
3575
+ ],
3448
3576
  type: "object"
3449
3577
  },
3450
3578
  {
3451
- description: "Device has been removed",
3579
+ description: "Failed to set code after multiple retries.",
3452
3580
  properties: {
3453
3581
  error_code: {
3454
3582
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3455
- enum: ["device_removed"],
3583
+ enum: [
3584
+ "smartthings_failed_to_set_after_multiple_retries"
3585
+ ],
3456
3586
  type: "string"
3457
3587
  },
3458
- is_device_error: { enum: [true], type: "boolean" },
3588
+ is_access_code_error: { enum: [true], type: "boolean" },
3459
3589
  message: { type: "string" }
3460
3590
  },
3461
- required: ["message", "is_device_error", "error_code"],
3591
+ required: [
3592
+ "message",
3593
+ "is_access_code_error",
3594
+ "error_code"
3595
+ ],
3462
3596
  type: "object"
3463
3597
  },
3464
3598
  {
3465
- description: "Account is disconnected",
3599
+ description: "Failed to set code on device.",
3466
3600
  properties: {
3467
3601
  error_code: {
3468
3602
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3469
- enum: ["account_disconnected"],
3603
+ enum: ["failed_to_set_on_device"],
3470
3604
  type: "string"
3471
3605
  },
3472
- is_device_error: { enum: [true], type: "boolean" },
3606
+ is_access_code_error: { enum: [true], type: "boolean" },
3473
3607
  message: { type: "string" }
3474
3608
  },
3475
- required: ["message", "is_device_error", "error_code"],
3609
+ required: [
3610
+ "message",
3611
+ "is_access_code_error",
3612
+ "error_code"
3613
+ ],
3476
3614
  type: "object"
3477
3615
  },
3478
3616
  {
3479
- description: "Hub is disconnected",
3617
+ description: "Failed to remove code from device.",
3480
3618
  properties: {
3481
3619
  error_code: {
3482
3620
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3483
- enum: ["hub_disconnected"],
3621
+ enum: ["failed_to_remove_from_device"],
3484
3622
  type: "string"
3485
3623
  },
3486
- is_device_error: { enum: [true], type: "boolean" },
3624
+ is_access_code_error: { enum: [true], type: "boolean" },
3487
3625
  message: { type: "string" }
3488
3626
  },
3489
- required: ["message", "is_device_error", "error_code"],
3627
+ required: [
3628
+ "message",
3629
+ "is_access_code_error",
3630
+ "error_code"
3631
+ ],
3490
3632
  type: "object"
3491
3633
  },
3492
3634
  {
3493
- description: "Device is disconnected",
3635
+ description: "Duplicate access code detected on device.",
3494
3636
  properties: {
3495
3637
  error_code: {
3496
3638
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3497
- enum: ["device_disconnected"],
3639
+ enum: ["duplicate_code_on_device"],
3498
3640
  type: "string"
3499
3641
  },
3500
- is_device_error: { enum: [true], type: "boolean" },
3642
+ is_access_code_error: { enum: [true], type: "boolean" },
3501
3643
  message: { type: "string" }
3502
3644
  },
3503
- required: ["message", "is_device_error", "error_code"],
3645
+ required: [
3646
+ "message",
3647
+ "is_access_code_error",
3648
+ "error_code"
3649
+ ],
3504
3650
  type: "object"
3505
3651
  },
3506
3652
  {
3507
- description: "The backup access code pool is empty.",
3653
+ description: "An attempt to modify this access code was prevented.",
3508
3654
  properties: {
3509
3655
  error_code: {
3510
3656
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3511
- enum: ["empty_backup_access_code_pool"],
3657
+ enum: ["duplicate_code_attempt_prevented"],
3512
3658
  type: "string"
3513
3659
  },
3514
- is_device_error: { enum: [true], type: "boolean" },
3660
+ is_access_code_error: { enum: [true], type: "boolean" },
3515
3661
  message: { type: "string" }
3516
3662
  },
3517
- required: ["message", "is_device_error", "error_code"],
3663
+ required: [
3664
+ "message",
3665
+ "is_access_code_error",
3666
+ "error_code"
3667
+ ],
3518
3668
  type: "object"
3519
3669
  },
3520
3670
  {
3521
- description: "User is not authorized to use the August Lock.",
3671
+ description: "Igloohome bridge has too many pending jobs in the queue.",
3522
3672
  properties: {
3523
3673
  error_code: {
3524
3674
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3525
- enum: ["august_lock_not_authorized"],
3675
+ enum: ["igloohome_bridge_too_many_pending_jobs"],
3526
3676
  type: "string"
3527
3677
  },
3528
- is_device_error: { enum: [true], type: "boolean" },
3678
+ is_access_code_error: { enum: [true], type: "boolean" },
3529
3679
  message: { type: "string" }
3530
3680
  },
3531
- required: ["message", "is_device_error", "error_code"],
3681
+ required: [
3682
+ "message",
3683
+ "is_access_code_error",
3684
+ "error_code"
3685
+ ],
3532
3686
  type: "object"
3533
3687
  },
3534
3688
  {
3535
- description: "Lock is not connected to the Seam Bridge.",
3689
+ description: "Igloohome bridge is offline.",
3536
3690
  properties: {
3537
3691
  error_code: {
3538
3692
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3539
- enum: ["august_lock_missing_bridge"],
3693
+ enum: ["igloohome_bridge_offline"],
3540
3694
  type: "string"
3541
3695
  },
3542
- is_device_error: { enum: [true], type: "boolean" },
3696
+ is_access_code_error: { enum: [true], type: "boolean" },
3543
3697
  message: { type: "string" }
3544
3698
  },
3545
- required: ["message", "is_device_error", "error_code"],
3699
+ required: [
3700
+ "message",
3701
+ "is_access_code_error",
3702
+ "error_code"
3703
+ ],
3546
3704
  type: "object"
3547
3705
  },
3548
3706
  {
3549
- description: "Salto site user limit reached.",
3707
+ description: "Lock as reached max amount of codes.",
3550
3708
  properties: {
3551
3709
  error_code: {
3552
3710
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3553
- enum: ["salto_site_user_limit_reached"],
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"],
3554
3917
  type: "string"
3555
3918
  },
3556
3919
  is_device_error: { enum: [true], type: "boolean" },
@@ -3560,11 +3923,11 @@ var openapi_default = {
3560
3923
  type: "object"
3561
3924
  },
3562
3925
  {
3563
- description: "Lock is not paired with a Gateway.",
3926
+ description: "Device has been removed",
3564
3927
  properties: {
3565
3928
  error_code: {
3566
3929
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3567
- enum: ["ttlock_lock_not_paired_to_gateway"],
3930
+ enum: ["device_removed"],
3568
3931
  type: "string"
3569
3932
  },
3570
3933
  is_device_error: { enum: [true], type: "boolean" },
@@ -3574,11 +3937,11 @@ var openapi_default = {
3574
3937
  type: "object"
3575
3938
  },
3576
3939
  {
3577
- description: "Missing device credentials.",
3940
+ description: "Account is disconnected",
3578
3941
  properties: {
3579
3942
  error_code: {
3580
3943
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3581
- enum: ["missing_device_credentials"],
3944
+ enum: ["account_disconnected"],
3582
3945
  type: "string"
3583
3946
  },
3584
3947
  is_device_error: { enum: [true], type: "boolean" },
@@ -3588,11 +3951,11 @@ var openapi_default = {
3588
3951
  type: "object"
3589
3952
  },
3590
3953
  {
3591
- description: "The auxiliary heat is running.",
3954
+ description: "Hub is disconnected",
3592
3955
  properties: {
3593
3956
  error_code: {
3594
3957
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3595
- enum: ["auxiliary_heat_running"],
3958
+ enum: ["hub_disconnected"],
3596
3959
  type: "string"
3597
3960
  },
3598
3961
  is_device_error: { enum: [true], type: "boolean" },
@@ -3602,11 +3965,11 @@ var openapi_default = {
3602
3965
  type: "object"
3603
3966
  },
3604
3967
  {
3605
- description: "Subscription required to connect.",
3968
+ description: "Device is disconnected",
3606
3969
  properties: {
3607
3970
  error_code: {
3608
3971
  description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3609
- enum: ["subscription_required"],
3972
+ enum: ["device_disconnected"],
3610
3973
  type: "string"
3611
3974
  },
3612
3975
  is_device_error: { enum: [true], type: "boolean" },
@@ -3614,24 +3977,166 @@ var openapi_default = {
3614
3977
  },
3615
3978
  required: ["message", "is_device_error", "error_code"],
3616
3979
  type: "object"
3617
- }
3618
- ]
3619
- },
3620
- {
3621
- properties: {
3622
- error_code: { type: "string" },
3623
- is_connected_account_error: {
3624
- enum: [true],
3625
- type: "boolean"
3626
3980
  },
3627
- message: { type: "string" }
3628
- },
3629
- required: [
3630
- "message",
3631
- "is_connected_account_error",
3632
- "error_code"
3633
- ],
3634
- type: "object"
3981
+ {
3982
+ description: "The backup access code pool is empty.",
3983
+ properties: {
3984
+ error_code: {
3985
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3986
+ enum: ["empty_backup_access_code_pool"],
3987
+ type: "string"
3988
+ },
3989
+ is_device_error: { enum: [true], type: "boolean" },
3990
+ message: { type: "string" }
3991
+ },
3992
+ required: ["message", "is_device_error", "error_code"],
3993
+ type: "object"
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
+ }
4093
+ ]
4094
+ },
4095
+ {
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"
4117
+ },
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
+ ]
3635
4140
  }
3636
4141
  ]
3637
4142
  },
@@ -3700,12 +4205,138 @@ var openapi_default = {
3700
4205
  warnings: {
3701
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.',
3702
4207
  items: {
3703
- properties: {
3704
- message: { type: "string" },
3705
- warning_code: { type: "string" }
3706
- },
3707
- required: ["message", "warning_code"],
3708
- 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
+ ]
3709
4340
  },
3710
4341
  type: "array"
3711
4342
  }
@@ -7648,13 +8279,50 @@ var openapi_default = {
7648
8279
  },
7649
8280
  errors: {
7650
8281
  items: {
7651
- properties: {
7652
- error_code: { type: "string" },
7653
- is_connected_account_error: { enum: [true], type: "boolean" },
7654
- message: { type: "string" }
7655
- },
7656
- required: ["message", "is_connected_account_error", "error_code"],
7657
- 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
+ ]
7658
8326
  },
7659
8327
  type: "array"
7660
8328
  },
@@ -7673,9 +8341,14 @@ var openapi_default = {
7673
8341
  description: "Warning associated with the `connected_account`.",
7674
8342
  oneOf: [
7675
8343
  {
8344
+ description: "Scheduled downtime for account planned.",
7676
8345
  properties: {
7677
8346
  message: { type: "string" },
7678
- 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
+ }
7679
8352
  },
7680
8353
  required: ["message", "warning_code"],
7681
8354
  type: "object"
@@ -8004,20 +8677,50 @@ var openapi_default = {
8004
8677
  ]
8005
8678
  },
8006
8679
  {
8007
- properties: {
8008
- error_code: { type: "string" },
8009
- is_connected_account_error: {
8010
- enum: [true],
8011
- 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"
8012
8701
  },
8013
- message: { type: "string" }
8014
- },
8015
- required: [
8016
- "message",
8017
- "is_connected_account_error",
8018
- "error_code"
8019
- ],
8020
- 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
+ ]
8021
8724
  }
8022
8725
  ]
8023
8726
  },
@@ -13844,20 +14547,50 @@ var openapi_default = {
13844
14547
  ]
13845
14548
  },
13846
14549
  {
13847
- properties: {
13848
- error_code: { type: "string" },
13849
- is_connected_account_error: {
13850
- enum: [true],
13851
- 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"
13852
14571
  },
13853
- message: { type: "string" }
13854
- },
13855
- required: [
13856
- "message",
13857
- "is_connected_account_error",
13858
- "error_code"
13859
- ],
13860
- 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
+ ]
13861
14594
  }
13862
14595
  ]
13863
14596
  },
@@ -14251,13 +14984,354 @@ var openapi_default = {
14251
14984
  items: {
14252
14985
  oneOf: [
14253
14986
  {
14254
- properties: {
14255
- error_code: { type: "string" },
14256
- is_access_code_error: { enum: [true], type: "boolean" },
14257
- message: { type: "string" }
14258
- },
14259
- required: ["message", "is_access_code_error", "error_code"],
14260
- type: "object"
14987
+ oneOf: [
14988
+ {
14989
+ description: "Failed to set code on Smart Things device.",
14990
+ properties: {
14991
+ error_code: {
14992
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
14993
+ enum: ["smartthings_failed_to_set_access_code"],
14994
+ type: "string"
14995
+ },
14996
+ is_access_code_error: { enum: [true], type: "boolean" },
14997
+ message: { type: "string" }
14998
+ },
14999
+ required: [
15000
+ "message",
15001
+ "is_access_code_error",
15002
+ "error_code"
15003
+ ],
15004
+ type: "object"
15005
+ },
15006
+ {
15007
+ description: "Failed to set code after multiple retries.",
15008
+ properties: {
15009
+ error_code: {
15010
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15011
+ enum: [
15012
+ "smartthings_failed_to_set_after_multiple_retries"
15013
+ ],
15014
+ type: "string"
15015
+ },
15016
+ is_access_code_error: { enum: [true], type: "boolean" },
15017
+ message: { type: "string" }
15018
+ },
15019
+ required: [
15020
+ "message",
15021
+ "is_access_code_error",
15022
+ "error_code"
15023
+ ],
15024
+ type: "object"
15025
+ },
15026
+ {
15027
+ description: "Failed to set code on device.",
15028
+ properties: {
15029
+ error_code: {
15030
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15031
+ enum: ["failed_to_set_on_device"],
15032
+ type: "string"
15033
+ },
15034
+ is_access_code_error: { enum: [true], type: "boolean" },
15035
+ message: { type: "string" }
15036
+ },
15037
+ required: [
15038
+ "message",
15039
+ "is_access_code_error",
15040
+ "error_code"
15041
+ ],
15042
+ type: "object"
15043
+ },
15044
+ {
15045
+ description: "Failed to remove code from device.",
15046
+ properties: {
15047
+ error_code: {
15048
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15049
+ enum: ["failed_to_remove_from_device"],
15050
+ type: "string"
15051
+ },
15052
+ is_access_code_error: { enum: [true], type: "boolean" },
15053
+ message: { type: "string" }
15054
+ },
15055
+ required: [
15056
+ "message",
15057
+ "is_access_code_error",
15058
+ "error_code"
15059
+ ],
15060
+ type: "object"
15061
+ },
15062
+ {
15063
+ description: "Duplicate access code detected on device.",
15064
+ properties: {
15065
+ error_code: {
15066
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15067
+ enum: ["duplicate_code_on_device"],
15068
+ type: "string"
15069
+ },
15070
+ is_access_code_error: { enum: [true], type: "boolean" },
15071
+ message: { type: "string" }
15072
+ },
15073
+ required: [
15074
+ "message",
15075
+ "is_access_code_error",
15076
+ "error_code"
15077
+ ],
15078
+ type: "object"
15079
+ },
15080
+ {
15081
+ description: "An attempt to modify this access code was prevented.",
15082
+ properties: {
15083
+ error_code: {
15084
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15085
+ enum: ["duplicate_code_attempt_prevented"],
15086
+ type: "string"
15087
+ },
15088
+ is_access_code_error: { enum: [true], type: "boolean" },
15089
+ message: { type: "string" }
15090
+ },
15091
+ required: [
15092
+ "message",
15093
+ "is_access_code_error",
15094
+ "error_code"
15095
+ ],
15096
+ type: "object"
15097
+ },
15098
+ {
15099
+ description: "Igloohome bridge has too many pending jobs in the queue.",
15100
+ properties: {
15101
+ error_code: {
15102
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15103
+ enum: ["igloohome_bridge_too_many_pending_jobs"],
15104
+ type: "string"
15105
+ },
15106
+ is_access_code_error: { enum: [true], type: "boolean" },
15107
+ message: { type: "string" }
15108
+ },
15109
+ required: [
15110
+ "message",
15111
+ "is_access_code_error",
15112
+ "error_code"
15113
+ ],
15114
+ type: "object"
15115
+ },
15116
+ {
15117
+ description: "Igloohome bridge is offline.",
15118
+ properties: {
15119
+ error_code: {
15120
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15121
+ enum: ["igloohome_bridge_offline"],
15122
+ type: "string"
15123
+ },
15124
+ is_access_code_error: { enum: [true], type: "boolean" },
15125
+ message: { type: "string" }
15126
+ },
15127
+ required: [
15128
+ "message",
15129
+ "is_access_code_error",
15130
+ "error_code"
15131
+ ],
15132
+ type: "object"
15133
+ },
15134
+ {
15135
+ description: "Lock as reached max amount of codes.",
15136
+ properties: {
15137
+ error_code: {
15138
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15139
+ enum: [
15140
+ "igloohome_offline_access_code_no_variance_available"
15141
+ ],
15142
+ type: "string"
15143
+ },
15144
+ is_access_code_error: { enum: [true], type: "boolean" },
15145
+ message: { type: "string" }
15146
+ },
15147
+ required: [
15148
+ "message",
15149
+ "is_access_code_error",
15150
+ "error_code"
15151
+ ],
15152
+ type: "object"
15153
+ },
15154
+ {
15155
+ description: "Unable to confirm the access code is set on Kwikset device.",
15156
+ properties: {
15157
+ error_code: {
15158
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15159
+ enum: ["kwikset_unable_to_confirm_code"],
15160
+ type: "string"
15161
+ },
15162
+ is_access_code_error: { enum: [true], type: "boolean" },
15163
+ message: { type: "string" }
15164
+ },
15165
+ required: [
15166
+ "message",
15167
+ "is_access_code_error",
15168
+ "error_code"
15169
+ ],
15170
+ type: "object"
15171
+ },
15172
+ {
15173
+ description: "Unable to confirm the deletion of the access code on Kwikset device.",
15174
+ properties: {
15175
+ error_code: {
15176
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15177
+ enum: ["kwikset_unable_to_confirm_deletion"],
15178
+ type: "string"
15179
+ },
15180
+ is_access_code_error: { enum: [true], type: "boolean" },
15181
+ message: { type: "string" }
15182
+ },
15183
+ required: [
15184
+ "message",
15185
+ "is_access_code_error",
15186
+ "error_code"
15187
+ ],
15188
+ type: "object"
15189
+ },
15190
+ {
15191
+ description: "Code was modified or removed externally after Seam successfully set it on the device.",
15192
+ properties: {
15193
+ error_code: {
15194
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15195
+ enum: ["code_modified_external_to_seam"],
15196
+ type: "string"
15197
+ },
15198
+ is_access_code_error: { enum: [true], type: "boolean" },
15199
+ message: { type: "string" }
15200
+ },
15201
+ required: [
15202
+ "message",
15203
+ "is_access_code_error",
15204
+ "error_code"
15205
+ ],
15206
+ type: "object"
15207
+ },
15208
+ {
15209
+ description: "Invalid code length for August lock.",
15210
+ properties: {
15211
+ error_code: {
15212
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15213
+ enum: ["august_lock_invalid_code_length"],
15214
+ type: "string"
15215
+ },
15216
+ is_access_code_error: { enum: [true], type: "boolean" },
15217
+ message: { type: "string" }
15218
+ },
15219
+ required: [
15220
+ "message",
15221
+ "is_access_code_error",
15222
+ "error_code"
15223
+ ],
15224
+ type: "object"
15225
+ },
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
+ ]
14261
15335
  },
14262
15336
  {
14263
15337
  description: "Error associated with the `device`.",
@@ -14447,54 +15521,210 @@ var openapi_default = {
14447
15521
  ]
14448
15522
  },
14449
15523
  {
14450
- properties: {
14451
- error_code: { type: "string" },
14452
- is_connected_account_error: {
14453
- enum: [true],
14454
- type: "boolean"
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"
14455
15545
  },
14456
- message: { type: "string" }
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"],
15589
+ type: "string"
15590
+ },
15591
+ warnings: {
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.',
15593
+ items: {
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
+ }
14457
15721
  },
14458
- required: [
14459
- "message",
14460
- "is_connected_account_error",
14461
- "error_code"
14462
- ],
15722
+ required: ["message", "warning_code"],
14463
15723
  type: "object"
14464
15724
  }
14465
15725
  ]
14466
15726
  },
14467
15727
  type: "array"
14468
- },
14469
- is_managed: { enum: [false], type: "boolean" },
14470
- name: {
14471
- description: "Name of the access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes.",
14472
- nullable: true,
14473
- type: "string"
14474
- },
14475
- starts_at: {
14476
- description: "Date and time at which the time-bound access code becomes active.",
14477
- format: "date-time",
14478
- nullable: true,
14479
- type: "string"
14480
- },
14481
- status: { enum: ["set"], type: "string" },
14482
- type: {
14483
- 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.',
14484
- enum: ["time_bound", "ongoing"],
14485
- type: "string"
14486
- },
14487
- warnings: {
14488
- 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.',
14489
- items: {
14490
- properties: {
14491
- message: { type: "string" },
14492
- warning_code: { type: "string" }
14493
- },
14494
- required: ["message", "warning_code"],
14495
- type: "object"
14496
- },
14497
- type: "array"
14498
15728
  }
14499
15729
  },
14500
15730
  required: [
@@ -14798,20 +16028,50 @@ var openapi_default = {
14798
16028
  ]
14799
16029
  },
14800
16030
  {
14801
- properties: {
14802
- error_code: { type: "string" },
14803
- is_connected_account_error: {
14804
- enum: [true],
14805
- 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"
14806
16052
  },
14807
- message: { type: "string" }
14808
- },
14809
- required: [
14810
- "message",
14811
- "is_connected_account_error",
14812
- "error_code"
14813
- ],
14814
- 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
+ ]
14815
16075
  }
14816
16076
  ]
14817
16077
  },
@@ -23898,160 +25158,160 @@ var openapi_default = {
23898
25158
  },
23899
25159
  event_type: {
23900
25160
  enum: [
23901
- "device.accessory_keypad_connected",
23902
- "device.accessory_keypad_disconnected",
23903
- "device.added",
23904
- "device.connected",
23905
- "device.unmanaged.connected",
23906
- "device.disconnected",
23907
- "device.unmanaged.disconnected",
23908
- "device.converted_to_unmanaged",
23909
- "device.unmanaged.converted_to_managed",
23910
- "device.removed",
23911
- "device.deleted",
23912
- "device.tampered",
23913
- "device.low_battery",
23914
- "device.battery_status_changed",
23915
- "device.third_party_integration_detected",
23916
- "device.third_party_integration_no_longer_detected",
23917
- "device.salto.privacy_mode_activated",
23918
- "device.salto.privacy_mode_deactivated",
23919
- "device.connection_became_flaky",
23920
- "device.connection_stabilized",
23921
- "device.error.subscription_required",
23922
- "device.error.subscription_required.resolved",
23923
25161
  "access_code.created",
23924
25162
  "access_code.changed",
23925
25163
  "access_code.scheduled_on_device",
23926
25164
  "access_code.set_on_device",
23927
- "access_code.deleted",
23928
25165
  "access_code.removed_from_device",
23929
- "access_code.failed_to_set_on_device",
23930
25166
  "access_code.delay_in_setting_on_device",
23931
- "access_code.failed_to_remove_from_device",
25167
+ "access_code.failed_to_set_on_device",
25168
+ "access_code.deleted",
23932
25169
  "access_code.delay_in_removing_from_device",
23933
- "access_code.deleted_external_to_seam",
25170
+ "access_code.failed_to_remove_from_device",
23934
25171
  "access_code.modified_external_to_seam",
25172
+ "access_code.deleted_external_to_seam",
25173
+ "access_code.backup_access_code_pulled",
23935
25174
  "access_code.unmanaged.converted_to_managed",
23936
25175
  "access_code.unmanaged.failed_to_convert_to_managed",
23937
25176
  "access_code.unmanaged.created",
23938
25177
  "access_code.unmanaged.removed",
23939
- "lock.locked",
23940
- "lock.unlocked",
23941
- "lock.access_denied",
23942
- "phone.deactivated",
23943
- "connected_account.connected",
23944
- "connected_account.successful_login",
23945
- "connected_account.created",
23946
- "connected_account.deleted",
23947
- "connected_account.disconnected",
23948
- "connected_account.completed_first_sync",
23949
- "connected_account.completed_first_sync_after_reconnection",
23950
- "connect_webview.login_succeeded",
23951
- "connect_webview.login_failed",
23952
- "noise_sensor.noise_threshold_triggered",
23953
- "access_code.backup_access_code_pulled",
23954
- "acs_system.added",
23955
25178
  "acs_system.connected",
25179
+ "acs_system.added",
23956
25180
  "acs_system.disconnected",
23957
- "acs_access_group.deleted",
23958
- "acs_user.deleted",
23959
25181
  "acs_credential.deleted",
23960
25182
  "acs_credential.issued",
23961
25183
  "acs_credential.reissued",
25184
+ "acs_user.deleted",
23962
25185
  "acs_encoder.added",
23963
25186
  "acs_encoder.removed",
23964
- "enrollment_automation.deleted",
25187
+ "acs_access_group.deleted",
23965
25188
  "client_session.deleted",
25189
+ "connected_account.connected",
25190
+ "connected_account.created",
25191
+ "connected_account.successful_login",
25192
+ "connected_account.disconnected",
25193
+ "connected_account.completed_first_sync",
25194
+ "connected_account.deleted",
25195
+ "connected_account.completed_first_sync_after_reconnection",
23966
25196
  "action_attempt.lock_door.succeeded",
23967
25197
  "action_attempt.lock_door.failed",
23968
25198
  "action_attempt.unlock_door.succeeded",
23969
25199
  "action_attempt.unlock_door.failed",
25200
+ "connect_webview.login_succeeded",
25201
+ "connect_webview.login_failed",
25202
+ "device.connected",
25203
+ "device.added",
25204
+ "device.converted_to_unmanaged",
25205
+ "device.unmanaged.converted_to_managed",
25206
+ "device.unmanaged.connected",
25207
+ "device.disconnected",
25208
+ "device.unmanaged.disconnected",
25209
+ "device.tampered",
25210
+ "device.low_battery",
25211
+ "device.battery_status_changed",
25212
+ "device.removed",
25213
+ "device.deleted",
25214
+ "device.third_party_integration_detected",
25215
+ "device.third_party_integration_no_longer_detected",
25216
+ "device.salto.privacy_mode_activated",
25217
+ "device.salto.privacy_mode_deactivated",
25218
+ "device.connection_became_flaky",
25219
+ "device.connection_stabilized",
25220
+ "device.error.subscription_required",
25221
+ "device.error.subscription_required.resolved",
25222
+ "device.accessory_keypad_connected",
25223
+ "device.accessory_keypad_disconnected",
25224
+ "noise_sensor.noise_threshold_triggered",
25225
+ "lock.locked",
25226
+ "lock.unlocked",
25227
+ "lock.access_denied",
23970
25228
  "thermostat.climate_preset_activated",
23971
25229
  "thermostat.manually_adjusted",
23972
25230
  "thermostat.temperature_threshold_exceeded",
23973
25231
  "thermostat.temperature_threshold_no_longer_exceeded",
23974
- "thermostat.temperature_reached_set_point"
25232
+ "thermostat.temperature_reached_set_point",
25233
+ "enrollment_automation.deleted",
25234
+ "phone.deactivated"
23975
25235
  ],
23976
25236
  type: "string"
23977
25237
  },
23978
25238
  event_types: {
23979
25239
  items: {
23980
25240
  enum: [
23981
- "device.accessory_keypad_connected",
23982
- "device.accessory_keypad_disconnected",
23983
- "device.added",
23984
- "device.connected",
23985
- "device.unmanaged.connected",
23986
- "device.disconnected",
23987
- "device.unmanaged.disconnected",
23988
- "device.converted_to_unmanaged",
23989
- "device.unmanaged.converted_to_managed",
23990
- "device.removed",
23991
- "device.deleted",
23992
- "device.tampered",
23993
- "device.low_battery",
23994
- "device.battery_status_changed",
23995
- "device.third_party_integration_detected",
23996
- "device.third_party_integration_no_longer_detected",
23997
- "device.salto.privacy_mode_activated",
23998
- "device.salto.privacy_mode_deactivated",
23999
- "device.connection_became_flaky",
24000
- "device.connection_stabilized",
24001
- "device.error.subscription_required",
24002
- "device.error.subscription_required.resolved",
24003
25241
  "access_code.created",
24004
25242
  "access_code.changed",
24005
25243
  "access_code.scheduled_on_device",
24006
25244
  "access_code.set_on_device",
24007
- "access_code.deleted",
24008
25245
  "access_code.removed_from_device",
24009
- "access_code.failed_to_set_on_device",
24010
25246
  "access_code.delay_in_setting_on_device",
24011
- "access_code.failed_to_remove_from_device",
25247
+ "access_code.failed_to_set_on_device",
25248
+ "access_code.deleted",
24012
25249
  "access_code.delay_in_removing_from_device",
24013
- "access_code.deleted_external_to_seam",
25250
+ "access_code.failed_to_remove_from_device",
24014
25251
  "access_code.modified_external_to_seam",
25252
+ "access_code.deleted_external_to_seam",
25253
+ "access_code.backup_access_code_pulled",
24015
25254
  "access_code.unmanaged.converted_to_managed",
24016
25255
  "access_code.unmanaged.failed_to_convert_to_managed",
24017
25256
  "access_code.unmanaged.created",
24018
25257
  "access_code.unmanaged.removed",
24019
- "lock.locked",
24020
- "lock.unlocked",
24021
- "lock.access_denied",
24022
- "phone.deactivated",
24023
- "connected_account.connected",
24024
- "connected_account.successful_login",
24025
- "connected_account.created",
24026
- "connected_account.deleted",
24027
- "connected_account.disconnected",
24028
- "connected_account.completed_first_sync",
24029
- "connected_account.completed_first_sync_after_reconnection",
24030
- "connect_webview.login_succeeded",
24031
- "connect_webview.login_failed",
24032
- "noise_sensor.noise_threshold_triggered",
24033
- "access_code.backup_access_code_pulled",
24034
- "acs_system.added",
24035
25258
  "acs_system.connected",
25259
+ "acs_system.added",
24036
25260
  "acs_system.disconnected",
24037
- "acs_access_group.deleted",
24038
- "acs_user.deleted",
24039
25261
  "acs_credential.deleted",
24040
25262
  "acs_credential.issued",
24041
25263
  "acs_credential.reissued",
25264
+ "acs_user.deleted",
24042
25265
  "acs_encoder.added",
24043
25266
  "acs_encoder.removed",
24044
- "enrollment_automation.deleted",
25267
+ "acs_access_group.deleted",
24045
25268
  "client_session.deleted",
25269
+ "connected_account.connected",
25270
+ "connected_account.created",
25271
+ "connected_account.successful_login",
25272
+ "connected_account.disconnected",
25273
+ "connected_account.completed_first_sync",
25274
+ "connected_account.deleted",
25275
+ "connected_account.completed_first_sync_after_reconnection",
24046
25276
  "action_attempt.lock_door.succeeded",
24047
25277
  "action_attempt.lock_door.failed",
24048
25278
  "action_attempt.unlock_door.succeeded",
24049
25279
  "action_attempt.unlock_door.failed",
25280
+ "connect_webview.login_succeeded",
25281
+ "connect_webview.login_failed",
25282
+ "device.connected",
25283
+ "device.added",
25284
+ "device.converted_to_unmanaged",
25285
+ "device.unmanaged.converted_to_managed",
25286
+ "device.unmanaged.connected",
25287
+ "device.disconnected",
25288
+ "device.unmanaged.disconnected",
25289
+ "device.tampered",
25290
+ "device.low_battery",
25291
+ "device.battery_status_changed",
25292
+ "device.removed",
25293
+ "device.deleted",
25294
+ "device.third_party_integration_detected",
25295
+ "device.third_party_integration_no_longer_detected",
25296
+ "device.salto.privacy_mode_activated",
25297
+ "device.salto.privacy_mode_deactivated",
25298
+ "device.connection_became_flaky",
25299
+ "device.connection_stabilized",
25300
+ "device.error.subscription_required",
25301
+ "device.error.subscription_required.resolved",
25302
+ "device.accessory_keypad_connected",
25303
+ "device.accessory_keypad_disconnected",
25304
+ "noise_sensor.noise_threshold_triggered",
25305
+ "lock.locked",
25306
+ "lock.unlocked",
25307
+ "lock.access_denied",
24050
25308
  "thermostat.climate_preset_activated",
24051
25309
  "thermostat.manually_adjusted",
24052
25310
  "thermostat.temperature_threshold_exceeded",
24053
25311
  "thermostat.temperature_threshold_no_longer_exceeded",
24054
- "thermostat.temperature_reached_set_point"
25312
+ "thermostat.temperature_reached_set_point",
25313
+ "enrollment_automation.deleted",
25314
+ "phone.deactivated"
24055
25315
  ],
24056
25316
  type: "string"
24057
25317
  },