@seamapi/types 1.332.1 → 1.334.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 (33) hide show
  1. package/dist/connect.cjs +1541 -161
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +4917 -923
  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/acs/acs-credential.d.ts +66 -0
  9. package/lib/seam/connect/models/acs/acs-credential.js +4 -1
  10. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  11. package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.d.ts +20 -0
  12. package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.js +7 -0
  13. package/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.js.map +1 -1
  14. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +216 -0
  15. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +94 -0
  16. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +122 -0
  17. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +85 -23
  18. package/lib/seam/connect/models/connected-accounts/connected-account.js +27 -9
  19. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  20. package/lib/seam/connect/models/devices/device.d.ts +28 -7
  21. package/lib/seam/connect/models/devices/phone.d.ts +28 -7
  22. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +28 -7
  23. package/lib/seam/connect/openapi.d.ts +309 -164
  24. package/lib/seam/connect/openapi.js +1346 -104
  25. package/lib/seam/connect/openapi.js.map +1 -1
  26. package/lib/seam/connect/route-types.d.ts +2391 -310
  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/acs/acs-credential.ts +7 -1
  30. package/src/lib/seam/connect/models/acs/metadata/assa-abloy-vostio.ts +12 -0
  31. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +32 -9
  32. package/src/lib/seam/connect/openapi.ts +1518 -173
  33. package/src/lib/seam/connect/route-types.ts +3016 -297
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
  );
@@ -1374,6 +1504,13 @@ var acs_entrance_assa_abloy_vostio_metadata = zod.z.object({
1374
1504
  stand_open: zod.z.boolean().optional(),
1375
1505
  pms_id: zod.z.string().optional()
1376
1506
  });
1507
+ var acs_credential_vostio_metadata = zod.z.object({
1508
+ override_guest_acs_entrance_ids: zod.z.string().array().optional(),
1509
+ key_id: zod.z.string().optional(),
1510
+ key_issuing_request_id: zod.z.string().optional(),
1511
+ door_names: zod.z.string().array().optional(),
1512
+ endpoint_id: zod.z.string().optional()
1513
+ });
1377
1514
  var acs_entrance_dormakaba_community_metadata = zod.z.object({
1378
1515
  access_point_name: zod.z.string()
1379
1516
  });
@@ -1441,30 +1578,30 @@ var common_acs_credential_warning = zod.z.object({
1441
1578
  "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it."
1442
1579
  )
1443
1580
  });
1444
- var warning_code_description4 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
1581
+ var warning_code_description5 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
1445
1582
  var waiting_to_be_issued = common_acs_credential_warning.extend({
1446
- warning_code: zod.z.literal("waiting_to_be_issued").describe(warning_code_description4)
1583
+ warning_code: zod.z.literal("waiting_to_be_issued").describe(warning_code_description5)
1447
1584
  }).describe("Indicates that the credential is waiting to be issued.");
1448
1585
  var schedule_externally_modified = common_acs_credential_warning.extend({
1449
- warning_code: zod.z.literal("schedule_externally_modified").describe(warning_code_description4)
1586
+ warning_code: zod.z.literal("schedule_externally_modified").describe(warning_code_description5)
1450
1587
  }).describe(
1451
1588
  "Indicates that the schedule of one of the credential's children was modified externally."
1452
1589
  );
1453
1590
  var schedule_modified = common_acs_credential_warning.extend({
1454
- warning_code: zod.z.literal("schedule_modified").describe(warning_code_description4)
1591
+ warning_code: zod.z.literal("schedule_modified").describe(warning_code_description5)
1455
1592
  }).describe(
1456
1593
  "Indicates that the schedule of this credential was modified to avoid creating a credential with a start date in the past."
1457
1594
  );
1458
1595
  var being_deleted = common_acs_credential_warning.extend({
1459
- warning_code: zod.z.literal("being_deleted").describe(warning_code_description4)
1596
+ warning_code: zod.z.literal("being_deleted").describe(warning_code_description5)
1460
1597
  }).describe("Indicates that this credential is being deleted.");
1461
1598
  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)
1599
+ warning_code: zod.z.literal("unknown_issue_with_acs_credential").describe(warning_code_description5)
1463
1600
  }).describe(
1464
1601
  "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
1602
  );
1466
1603
  var needs_to_be_reissued = common_acs_credential_warning.extend({
1467
- warning_code: zod.z.literal("needs_to_be_reissued").describe(warning_code_description4)
1604
+ warning_code: zod.z.literal("needs_to_be_reissued").describe(warning_code_description5)
1468
1605
  }).describe(
1469
1606
  "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
1607
  );
@@ -1533,7 +1670,8 @@ var common_acs_credential = zod.z.object({
1533
1670
  latest_desired_state_synced_with_provider_at: zod.z.string().datetime().nullable().optional().describe(
1534
1671
  "Date and time at which the state of the credential was most recently synced from Seam to the provider."
1535
1672
  ),
1536
- visionline_metadata: acs_credential_visionline_metadata.optional().describe("Visionline-specific metadata for the credential.")
1673
+ visionline_metadata: acs_credential_visionline_metadata.optional().describe("Visionline-specific metadata for the credential."),
1674
+ assa_abloy_vostio_metadata: acs_credential_vostio_metadata.optional().describe("Vostio-specific metadata for the credential.")
1537
1675
  });
1538
1676
  var acs_credential = common_acs_credential.merge(
1539
1677
  zod.z.object({
@@ -1579,9 +1717,9 @@ var common_acs_encoder_error = zod.z.object({
1579
1717
  "Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
1580
1718
  )
1581
1719
  });
1582
- var error_code_description2 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
1720
+ var error_code_description4 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
1583
1721
  var acs_encoder_removed = common_acs_encoder_error.extend({
1584
- error_code: zod.z.literal("acs_encoder_removed").describe(error_code_description2)
1722
+ error_code: zod.z.literal("acs_encoder_removed").describe(error_code_description4)
1585
1723
  });
1586
1724
  var acs_encoder_error = (
1587
1725
  // z.union([
@@ -1670,29 +1808,29 @@ var common_acs_system_error = zod.z.object({
1670
1808
  "Detailed description of the error. Provides insights into the issue and potentially how to rectify it."
1671
1809
  )
1672
1810
  });
1673
- var error_code_description3 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
1811
+ var error_code_description5 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
1674
1812
  var seam_bridge_disconnected = common_acs_system_error.extend({
1675
- error_code: zod.z.literal("seam_bridge_disconnected").describe(error_code_description3)
1813
+ error_code: zod.z.literal("seam_bridge_disconnected").describe(error_code_description5)
1676
1814
  }).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
1815
  This error might also occur if the Seam Bridge is connected to the wrong [workspace](https://docs.seam.co/latest/core-concepts/workspaces).
1678
1816
  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
1817
  var visionline_instance_unreachable = common_acs_system_error.extend({
1680
- error_code: zod.z.literal("visionline_instance_unreachable").describe(error_code_description3)
1818
+ error_code: zod.z.literal("visionline_instance_unreachable").describe(error_code_description5)
1681
1819
  }).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
1820
  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
1821
  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
1822
  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)
1823
+ error_code: zod.z.literal("salto_ks_subscription_limit_exceeded").describe(error_code_description5)
1686
1824
  }).describe(
1687
1825
  "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
1826
  );
1689
1827
  var acs_system_disconnected = common_acs_system_error.extend({
1690
- error_code: zod.z.literal("acs_system_disconnected").describe(error_code_description3)
1828
+ error_code: zod.z.literal("acs_system_disconnected").describe(error_code_description5)
1691
1829
  }).describe(
1692
1830
  "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
1831
  );
1694
- var account_disconnected2 = common_acs_system_error.extend({
1695
- error_code: zod.z.literal("account_disconnected").describe(error_code_description3)
1832
+ var account_disconnected3 = common_acs_system_error.extend({
1833
+ error_code: zod.z.literal("account_disconnected").describe(error_code_description5)
1696
1834
  }).describe(
1697
1835
  "Indicates that the login credentials are invalid. Reconnect the account using the Connect Webview to restore access."
1698
1836
  );
@@ -1706,7 +1844,7 @@ var acs_system_error = zod.z.union([
1706
1844
  visionline_instance_unreachable,
1707
1845
  salto_ks_subscription_limit_exceeded,
1708
1846
  acs_system_disconnected,
1709
- account_disconnected2,
1847
+ account_disconnected3,
1710
1848
  salto_ks_certification_expired
1711
1849
  ]).describe("Error associated with the `acs_system`.");
1712
1850
  zod.z.object({
@@ -1714,7 +1852,7 @@ zod.z.object({
1714
1852
  visionline_instance_unreachable: visionline_instance_unreachable.optional().nullable(),
1715
1853
  salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded.optional().nullable(),
1716
1854
  acs_system_disconnected: acs_system_disconnected.optional().nullable(),
1717
- account_disconnected: account_disconnected2.optional().nullable(),
1855
+ account_disconnected: account_disconnected3.optional().nullable(),
1718
1856
  salto_ks_certification_expired: salto_ks_certification_expired.optional().nullable()
1719
1857
  });
1720
1858
  var common_acs_system_warning = zod.z.object({
@@ -3426,13 +3564,354 @@ var openapi_default = {
3426
3564
  items: {
3427
3565
  oneOf: [
3428
3566
  {
3429
- properties: {
3430
- error_code: { type: "string" },
3431
- is_access_code_error: { enum: [true], type: "boolean" },
3432
- message: { type: "string" }
3433
- },
3434
- required: ["message", "is_access_code_error", "error_code"],
3435
- type: "object"
3567
+ oneOf: [
3568
+ {
3569
+ description: "Failed to set code on Smart Things device.",
3570
+ properties: {
3571
+ error_code: {
3572
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3573
+ enum: ["smartthings_failed_to_set_access_code"],
3574
+ type: "string"
3575
+ },
3576
+ is_access_code_error: { enum: [true], type: "boolean" },
3577
+ message: { type: "string" }
3578
+ },
3579
+ required: [
3580
+ "message",
3581
+ "is_access_code_error",
3582
+ "error_code"
3583
+ ],
3584
+ type: "object"
3585
+ },
3586
+ {
3587
+ description: "Failed to set code after multiple retries.",
3588
+ properties: {
3589
+ error_code: {
3590
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3591
+ enum: [
3592
+ "smartthings_failed_to_set_after_multiple_retries"
3593
+ ],
3594
+ type: "string"
3595
+ },
3596
+ is_access_code_error: { enum: [true], type: "boolean" },
3597
+ message: { type: "string" }
3598
+ },
3599
+ required: [
3600
+ "message",
3601
+ "is_access_code_error",
3602
+ "error_code"
3603
+ ],
3604
+ type: "object"
3605
+ },
3606
+ {
3607
+ description: "Failed to set code on device.",
3608
+ properties: {
3609
+ error_code: {
3610
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3611
+ enum: ["failed_to_set_on_device"],
3612
+ type: "string"
3613
+ },
3614
+ is_access_code_error: { enum: [true], type: "boolean" },
3615
+ message: { type: "string" }
3616
+ },
3617
+ required: [
3618
+ "message",
3619
+ "is_access_code_error",
3620
+ "error_code"
3621
+ ],
3622
+ type: "object"
3623
+ },
3624
+ {
3625
+ description: "Failed to remove code from device.",
3626
+ properties: {
3627
+ error_code: {
3628
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3629
+ enum: ["failed_to_remove_from_device"],
3630
+ type: "string"
3631
+ },
3632
+ is_access_code_error: { enum: [true], type: "boolean" },
3633
+ message: { type: "string" }
3634
+ },
3635
+ required: [
3636
+ "message",
3637
+ "is_access_code_error",
3638
+ "error_code"
3639
+ ],
3640
+ type: "object"
3641
+ },
3642
+ {
3643
+ description: "Duplicate access code detected on device.",
3644
+ properties: {
3645
+ error_code: {
3646
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3647
+ enum: ["duplicate_code_on_device"],
3648
+ type: "string"
3649
+ },
3650
+ is_access_code_error: { enum: [true], type: "boolean" },
3651
+ message: { type: "string" }
3652
+ },
3653
+ required: [
3654
+ "message",
3655
+ "is_access_code_error",
3656
+ "error_code"
3657
+ ],
3658
+ type: "object"
3659
+ },
3660
+ {
3661
+ description: "An attempt to modify this access code was prevented.",
3662
+ properties: {
3663
+ error_code: {
3664
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3665
+ enum: ["duplicate_code_attempt_prevented"],
3666
+ type: "string"
3667
+ },
3668
+ is_access_code_error: { enum: [true], type: "boolean" },
3669
+ message: { type: "string" }
3670
+ },
3671
+ required: [
3672
+ "message",
3673
+ "is_access_code_error",
3674
+ "error_code"
3675
+ ],
3676
+ type: "object"
3677
+ },
3678
+ {
3679
+ description: "Igloohome bridge has too many pending jobs in the queue.",
3680
+ properties: {
3681
+ error_code: {
3682
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3683
+ enum: ["igloohome_bridge_too_many_pending_jobs"],
3684
+ type: "string"
3685
+ },
3686
+ is_access_code_error: { enum: [true], type: "boolean" },
3687
+ message: { type: "string" }
3688
+ },
3689
+ required: [
3690
+ "message",
3691
+ "is_access_code_error",
3692
+ "error_code"
3693
+ ],
3694
+ type: "object"
3695
+ },
3696
+ {
3697
+ description: "Igloohome bridge is offline.",
3698
+ properties: {
3699
+ error_code: {
3700
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3701
+ enum: ["igloohome_bridge_offline"],
3702
+ type: "string"
3703
+ },
3704
+ is_access_code_error: { enum: [true], type: "boolean" },
3705
+ message: { type: "string" }
3706
+ },
3707
+ required: [
3708
+ "message",
3709
+ "is_access_code_error",
3710
+ "error_code"
3711
+ ],
3712
+ type: "object"
3713
+ },
3714
+ {
3715
+ description: "Lock as reached max amount of codes.",
3716
+ properties: {
3717
+ error_code: {
3718
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3719
+ enum: [
3720
+ "igloohome_offline_access_code_no_variance_available"
3721
+ ],
3722
+ type: "string"
3723
+ },
3724
+ is_access_code_error: { enum: [true], type: "boolean" },
3725
+ message: { type: "string" }
3726
+ },
3727
+ required: [
3728
+ "message",
3729
+ "is_access_code_error",
3730
+ "error_code"
3731
+ ],
3732
+ type: "object"
3733
+ },
3734
+ {
3735
+ description: "Unable to confirm the access code is set on Kwikset device.",
3736
+ properties: {
3737
+ error_code: {
3738
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3739
+ enum: ["kwikset_unable_to_confirm_code"],
3740
+ type: "string"
3741
+ },
3742
+ is_access_code_error: { enum: [true], type: "boolean" },
3743
+ message: { type: "string" }
3744
+ },
3745
+ required: [
3746
+ "message",
3747
+ "is_access_code_error",
3748
+ "error_code"
3749
+ ],
3750
+ type: "object"
3751
+ },
3752
+ {
3753
+ description: "Unable to confirm the deletion of the access code on Kwikset device.",
3754
+ properties: {
3755
+ error_code: {
3756
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3757
+ enum: ["kwikset_unable_to_confirm_deletion"],
3758
+ type: "string"
3759
+ },
3760
+ is_access_code_error: { enum: [true], type: "boolean" },
3761
+ message: { type: "string" }
3762
+ },
3763
+ required: [
3764
+ "message",
3765
+ "is_access_code_error",
3766
+ "error_code"
3767
+ ],
3768
+ type: "object"
3769
+ },
3770
+ {
3771
+ description: "Code was modified or removed externally after Seam successfully set it on the device.",
3772
+ properties: {
3773
+ error_code: {
3774
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3775
+ enum: ["code_modified_external_to_seam"],
3776
+ type: "string"
3777
+ },
3778
+ is_access_code_error: { enum: [true], type: "boolean" },
3779
+ message: { type: "string" }
3780
+ },
3781
+ required: [
3782
+ "message",
3783
+ "is_access_code_error",
3784
+ "error_code"
3785
+ ],
3786
+ type: "object"
3787
+ },
3788
+ {
3789
+ description: "Invalid code length for August lock.",
3790
+ properties: {
3791
+ error_code: {
3792
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3793
+ enum: ["august_lock_invalid_code_length"],
3794
+ type: "string"
3795
+ },
3796
+ is_access_code_error: { enum: [true], type: "boolean" },
3797
+ message: { type: "string" }
3798
+ },
3799
+ required: [
3800
+ "message",
3801
+ "is_access_code_error",
3802
+ "error_code"
3803
+ ],
3804
+ type: "object"
3805
+ },
3806
+ {
3807
+ description: "Access code has not yet been fully moved to the device.",
3808
+ properties: {
3809
+ error_code: {
3810
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3811
+ enum: ["august_device_programming_delay"],
3812
+ type: "string"
3813
+ },
3814
+ is_access_code_error: { enum: [true], type: "boolean" },
3815
+ message: { type: "string" }
3816
+ },
3817
+ required: [
3818
+ "message",
3819
+ "is_access_code_error",
3820
+ "error_code"
3821
+ ],
3822
+ type: "object"
3823
+ },
3824
+ {
3825
+ description: "All access code slots on the device are full.",
3826
+ properties: {
3827
+ error_code: {
3828
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3829
+ enum: ["august_device_slots_full"],
3830
+ type: "string"
3831
+ },
3832
+ is_access_code_error: { enum: [true], type: "boolean" },
3833
+ message: { type: "string" }
3834
+ },
3835
+ required: [
3836
+ "message",
3837
+ "is_access_code_error",
3838
+ "error_code"
3839
+ ],
3840
+ type: "object"
3841
+ },
3842
+ {
3843
+ description: "August lock is missing a keypad.",
3844
+ properties: {
3845
+ error_code: {
3846
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3847
+ enum: ["august_lock_missing_keypad"],
3848
+ type: "string"
3849
+ },
3850
+ is_access_code_error: { enum: [true], type: "boolean" },
3851
+ message: { type: "string" }
3852
+ },
3853
+ required: [
3854
+ "message",
3855
+ "is_access_code_error",
3856
+ "error_code"
3857
+ ],
3858
+ type: "object"
3859
+ },
3860
+ {
3861
+ description: "Salto site user is not subscribed.",
3862
+ properties: {
3863
+ error_code: {
3864
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3865
+ enum: ["salto_site_user_not_subscribed"],
3866
+ type: "string"
3867
+ },
3868
+ is_access_code_error: { enum: [true], type: "boolean" },
3869
+ message: { type: "string" }
3870
+ },
3871
+ required: [
3872
+ "message",
3873
+ "is_access_code_error",
3874
+ "error_code"
3875
+ ],
3876
+ type: "object"
3877
+ },
3878
+ {
3879
+ description: "Access code has not yet been fully moved to the device.",
3880
+ properties: {
3881
+ error_code: {
3882
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3883
+ enum: ["hubitat_device_programming_delay"],
3884
+ type: "string"
3885
+ },
3886
+ is_access_code_error: { enum: [true], type: "boolean" },
3887
+ message: { type: "string" }
3888
+ },
3889
+ required: [
3890
+ "message",
3891
+ "is_access_code_error",
3892
+ "error_code"
3893
+ ],
3894
+ type: "object"
3895
+ },
3896
+ {
3897
+ description: "No free positions available on the device.",
3898
+ properties: {
3899
+ error_code: {
3900
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
3901
+ enum: ["hubitat_no_free_positions_available"],
3902
+ type: "string"
3903
+ },
3904
+ is_access_code_error: { enum: [true], type: "boolean" },
3905
+ message: { type: "string" }
3906
+ },
3907
+ required: [
3908
+ "message",
3909
+ "is_access_code_error",
3910
+ "error_code"
3911
+ ],
3912
+ type: "object"
3913
+ }
3914
+ ]
3436
3915
  },
3437
3916
  {
3438
3917
  description: "Error associated with the `device`.",
@@ -3620,22 +4099,52 @@ var openapi_default = {
3620
4099
  type: "object"
3621
4100
  }
3622
4101
  ]
3623
- },
3624
- {
3625
- properties: {
3626
- error_code: { type: "string" },
3627
- is_connected_account_error: {
3628
- enum: [true],
3629
- type: "boolean"
3630
- },
3631
- message: { type: "string" }
3632
- },
3633
- required: [
3634
- "message",
3635
- "is_connected_account_error",
3636
- "error_code"
3637
- ],
3638
- type: "object"
4102
+ },
4103
+ {
4104
+ oneOf: [
4105
+ {
4106
+ description: "Account is disconnected.",
4107
+ properties: {
4108
+ error_code: {
4109
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4110
+ enum: ["account_disconnected"],
4111
+ type: "string"
4112
+ },
4113
+ is_connected_account_error: {
4114
+ enum: [true],
4115
+ type: "boolean"
4116
+ },
4117
+ message: { type: "string" }
4118
+ },
4119
+ required: [
4120
+ "message",
4121
+ "is_connected_account_error",
4122
+ "error_code"
4123
+ ],
4124
+ type: "object"
4125
+ },
4126
+ {
4127
+ description: "Credentials provided were invalid.",
4128
+ properties: {
4129
+ error_code: {
4130
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4131
+ enum: ["invalid_credentials"],
4132
+ type: "string"
4133
+ },
4134
+ is_connected_account_error: {
4135
+ enum: [true],
4136
+ type: "boolean"
4137
+ },
4138
+ message: { type: "string" }
4139
+ },
4140
+ required: [
4141
+ "message",
4142
+ "is_connected_account_error",
4143
+ "error_code"
4144
+ ],
4145
+ type: "object"
4146
+ }
4147
+ ]
3639
4148
  }
3640
4149
  ]
3641
4150
  },
@@ -3704,12 +4213,138 @@ var openapi_default = {
3704
4213
  warnings: {
3705
4214
  description: 'Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention.',
3706
4215
  items: {
3707
- properties: {
3708
- message: { type: "string" },
3709
- warning_code: { type: "string" }
3710
- },
3711
- required: ["message", "warning_code"],
3712
- type: "object"
4216
+ oneOf: [
4217
+ {
4218
+ description: "Failed to set code on Smart Things device.",
4219
+ properties: {
4220
+ message: { type: "string" },
4221
+ warning_code: {
4222
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4223
+ enum: ["smartthings_failed_to_set_access_code"],
4224
+ type: "string"
4225
+ }
4226
+ },
4227
+ required: ["message", "warning_code"],
4228
+ type: "object"
4229
+ },
4230
+ {
4231
+ description: "Duplicate access code detected.",
4232
+ properties: {
4233
+ message: { type: "string" },
4234
+ warning_code: {
4235
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4236
+ enum: ["schlage_detected_duplicate"],
4237
+ type: "string"
4238
+ }
4239
+ },
4240
+ required: ["message", "warning_code"],
4241
+ type: "object"
4242
+ },
4243
+ {
4244
+ description: "Received an error when attempting to create this code.",
4245
+ properties: {
4246
+ message: { type: "string" },
4247
+ warning_code: {
4248
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4249
+ enum: ["schlage_creation_outage"],
4250
+ type: "string"
4251
+ }
4252
+ },
4253
+ required: ["message", "warning_code"],
4254
+ type: "object"
4255
+ },
4256
+ {
4257
+ description: "Code was modified or removed externally after Seam successfully set it on the device.",
4258
+ properties: {
4259
+ message: { type: "string" },
4260
+ warning_code: {
4261
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4262
+ enum: ["code_modified_external_to_seam"],
4263
+ type: "string"
4264
+ }
4265
+ },
4266
+ required: ["message", "warning_code"],
4267
+ type: "object"
4268
+ },
4269
+ {
4270
+ description: "Delay in setting code on device.",
4271
+ properties: {
4272
+ message: { type: "string" },
4273
+ warning_code: {
4274
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4275
+ enum: ["delay_in_setting_on_device"],
4276
+ type: "string"
4277
+ }
4278
+ },
4279
+ required: ["message", "warning_code"],
4280
+ type: "object"
4281
+ },
4282
+ {
4283
+ description: "Delay in removing code from device.",
4284
+ properties: {
4285
+ message: { type: "string" },
4286
+ warning_code: {
4287
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4288
+ enum: ["delay_in_removing_from_device"],
4289
+ type: "string"
4290
+ }
4291
+ },
4292
+ required: ["message", "warning_code"],
4293
+ type: "object"
4294
+ },
4295
+ {
4296
+ description: "Third party integration detected that may cause access codes to fail.",
4297
+ properties: {
4298
+ message: { type: "string" },
4299
+ warning_code: {
4300
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4301
+ enum: ["third_party_integration_detected"],
4302
+ type: "string"
4303
+ }
4304
+ },
4305
+ required: ["message", "warning_code"],
4306
+ type: "object"
4307
+ },
4308
+ {
4309
+ description: "Access code has not yet been fully moved to the device.",
4310
+ properties: {
4311
+ message: { type: "string" },
4312
+ warning_code: {
4313
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4314
+ enum: ["august_device_programming_delay"],
4315
+ type: "string"
4316
+ }
4317
+ },
4318
+ required: ["message", "warning_code"],
4319
+ type: "object"
4320
+ },
4321
+ {
4322
+ description: "Algopins must be used within 24 hours.",
4323
+ properties: {
4324
+ message: { type: "string" },
4325
+ warning_code: {
4326
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4327
+ enum: ["igloo_algopin_must_be_used_within_24_hours"],
4328
+ type: "string"
4329
+ }
4330
+ },
4331
+ required: ["message", "warning_code"],
4332
+ type: "object"
4333
+ },
4334
+ {
4335
+ description: "Management was transferred to another workspace.",
4336
+ properties: {
4337
+ message: { type: "string" },
4338
+ warning_code: {
4339
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
4340
+ enum: ["management_transferred"],
4341
+ type: "string"
4342
+ }
4343
+ },
4344
+ required: ["message", "warning_code"],
4345
+ type: "object"
4346
+ }
4347
+ ]
3713
4348
  },
3714
4349
  type: "array"
3715
4350
  }
@@ -3861,6 +4496,20 @@ var openapi_default = {
3861
4496
  format: "uuid",
3862
4497
  type: "string"
3863
4498
  },
4499
+ assa_abloy_vostio_metadata: {
4500
+ description: "Vostio-specific metadata for the credential.",
4501
+ properties: {
4502
+ door_names: { items: { type: "string" }, type: "array" },
4503
+ endpoint_id: { type: "string" },
4504
+ key_id: { type: "string" },
4505
+ key_issuing_request_id: { type: "string" },
4506
+ override_guest_acs_entrance_ids: {
4507
+ items: { type: "string" },
4508
+ type: "array"
4509
+ }
4510
+ },
4511
+ type: "object"
4512
+ },
3864
4513
  card_number: { nullable: true, type: "string" },
3865
4514
  code: {
3866
4515
  description: "Access (PIN) code for the credential.",
@@ -5233,6 +5882,23 @@ var openapi_default = {
5233
5882
  format: "uuid",
5234
5883
  type: "string"
5235
5884
  },
5885
+ assa_abloy_vostio_metadata: {
5886
+ description: "Vostio-specific metadata for the credential.",
5887
+ properties: {
5888
+ door_names: {
5889
+ items: { type: "string" },
5890
+ type: "array"
5891
+ },
5892
+ endpoint_id: { type: "string" },
5893
+ key_id: { type: "string" },
5894
+ key_issuing_request_id: { type: "string" },
5895
+ override_guest_acs_entrance_ids: {
5896
+ items: { type: "string" },
5897
+ type: "array"
5898
+ }
5899
+ },
5900
+ type: "object"
5901
+ },
5236
5902
  card_number: { nullable: true, type: "string" },
5237
5903
  code: {
5238
5904
  description: "Access (PIN) code for the credential.",
@@ -5551,6 +6217,23 @@ var openapi_default = {
5551
6217
  format: "uuid",
5552
6218
  type: "string"
5553
6219
  },
6220
+ assa_abloy_vostio_metadata: {
6221
+ description: "Vostio-specific metadata for the credential.",
6222
+ properties: {
6223
+ door_names: {
6224
+ items: { type: "string" },
6225
+ type: "array"
6226
+ },
6227
+ endpoint_id: { type: "string" },
6228
+ key_id: { type: "string" },
6229
+ key_issuing_request_id: { type: "string" },
6230
+ override_guest_acs_entrance_ids: {
6231
+ items: { type: "string" },
6232
+ type: "array"
6233
+ }
6234
+ },
6235
+ type: "object"
6236
+ },
5554
6237
  card_number: { nullable: true, type: "string" },
5555
6238
  code: {
5556
6239
  description: "Access (PIN) code for the credential.",
@@ -6000,6 +6683,23 @@ var openapi_default = {
6000
6683
  format: "uuid",
6001
6684
  type: "string"
6002
6685
  },
6686
+ assa_abloy_vostio_metadata: {
6687
+ description: "Vostio-specific metadata for the credential.",
6688
+ properties: {
6689
+ door_names: {
6690
+ items: { type: "string" },
6691
+ type: "array"
6692
+ },
6693
+ endpoint_id: { type: "string" },
6694
+ key_id: { type: "string" },
6695
+ key_issuing_request_id: { type: "string" },
6696
+ override_guest_acs_entrance_ids: {
6697
+ items: { type: "string" },
6698
+ type: "array"
6699
+ }
6700
+ },
6701
+ type: "object"
6702
+ },
6003
6703
  card_number: { nullable: true, type: "string" },
6004
6704
  code: {
6005
6705
  description: "Access (PIN) code for the credential.",
@@ -6316,6 +7016,23 @@ var openapi_default = {
6316
7016
  format: "uuid",
6317
7017
  type: "string"
6318
7018
  },
7019
+ assa_abloy_vostio_metadata: {
7020
+ description: "Vostio-specific metadata for the credential.",
7021
+ properties: {
7022
+ door_names: {
7023
+ items: { type: "string" },
7024
+ type: "array"
7025
+ },
7026
+ endpoint_id: { type: "string" },
7027
+ key_id: { type: "string" },
7028
+ key_issuing_request_id: { type: "string" },
7029
+ override_guest_acs_entrance_ids: {
7030
+ items: { type: "string" },
7031
+ type: "array"
7032
+ }
7033
+ },
7034
+ type: "object"
7035
+ },
6319
7036
  card_number: { nullable: true, type: "string" },
6320
7037
  code: {
6321
7038
  description: "Access (PIN) code for the credential.",
@@ -7652,13 +8369,50 @@ var openapi_default = {
7652
8369
  },
7653
8370
  errors: {
7654
8371
  items: {
7655
- properties: {
7656
- error_code: { type: "string" },
7657
- is_connected_account_error: { enum: [true], type: "boolean" },
7658
- message: { type: "string" }
7659
- },
7660
- required: ["message", "is_connected_account_error", "error_code"],
7661
- type: "object"
8372
+ oneOf: [
8373
+ {
8374
+ description: "Account is disconnected.",
8375
+ properties: {
8376
+ error_code: {
8377
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
8378
+ enum: ["account_disconnected"],
8379
+ type: "string"
8380
+ },
8381
+ is_connected_account_error: {
8382
+ enum: [true],
8383
+ type: "boolean"
8384
+ },
8385
+ message: { type: "string" }
8386
+ },
8387
+ required: [
8388
+ "message",
8389
+ "is_connected_account_error",
8390
+ "error_code"
8391
+ ],
8392
+ type: "object"
8393
+ },
8394
+ {
8395
+ description: "Credentials provided were invalid.",
8396
+ properties: {
8397
+ error_code: {
8398
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
8399
+ enum: ["invalid_credentials"],
8400
+ type: "string"
8401
+ },
8402
+ is_connected_account_error: {
8403
+ enum: [true],
8404
+ type: "boolean"
8405
+ },
8406
+ message: { type: "string" }
8407
+ },
8408
+ required: [
8409
+ "message",
8410
+ "is_connected_account_error",
8411
+ "error_code"
8412
+ ],
8413
+ type: "object"
8414
+ }
8415
+ ]
7662
8416
  },
7663
8417
  type: "array"
7664
8418
  },
@@ -7677,9 +8431,14 @@ var openapi_default = {
7677
8431
  description: "Warning associated with the `connected_account`.",
7678
8432
  oneOf: [
7679
8433
  {
8434
+ description: "Scheduled downtime for account planned.",
7680
8435
  properties: {
7681
8436
  message: { type: "string" },
7682
- warning_code: { type: "string" }
8437
+ warning_code: {
8438
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
8439
+ enum: ["scheduled_maintenance_window"],
8440
+ type: "string"
8441
+ }
7683
8442
  },
7684
8443
  required: ["message", "warning_code"],
7685
8444
  type: "object"
@@ -7999,29 +8758,59 @@ var openapi_default = {
7999
8758
  enum: ["subscription_required"],
8000
8759
  type: "string"
8001
8760
  },
8002
- is_device_error: { enum: [true], type: "boolean" },
8761
+ is_device_error: { enum: [true], type: "boolean" },
8762
+ message: { type: "string" }
8763
+ },
8764
+ required: ["message", "is_device_error", "error_code"],
8765
+ type: "object"
8766
+ }
8767
+ ]
8768
+ },
8769
+ {
8770
+ oneOf: [
8771
+ {
8772
+ description: "Account is disconnected.",
8773
+ properties: {
8774
+ error_code: {
8775
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
8776
+ enum: ["account_disconnected"],
8777
+ type: "string"
8778
+ },
8779
+ is_connected_account_error: {
8780
+ enum: [true],
8781
+ type: "boolean"
8782
+ },
8783
+ message: { type: "string" }
8784
+ },
8785
+ required: [
8786
+ "message",
8787
+ "is_connected_account_error",
8788
+ "error_code"
8789
+ ],
8790
+ type: "object"
8791
+ },
8792
+ {
8793
+ description: "Credentials provided were invalid.",
8794
+ properties: {
8795
+ error_code: {
8796
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
8797
+ enum: ["invalid_credentials"],
8798
+ type: "string"
8799
+ },
8800
+ is_connected_account_error: {
8801
+ enum: [true],
8802
+ type: "boolean"
8803
+ },
8003
8804
  message: { type: "string" }
8004
8805
  },
8005
- required: ["message", "is_device_error", "error_code"],
8806
+ required: [
8807
+ "message",
8808
+ "is_connected_account_error",
8809
+ "error_code"
8810
+ ],
8006
8811
  type: "object"
8007
8812
  }
8008
8813
  ]
8009
- },
8010
- {
8011
- properties: {
8012
- error_code: { type: "string" },
8013
- is_connected_account_error: {
8014
- enum: [true],
8015
- type: "boolean"
8016
- },
8017
- message: { type: "string" }
8018
- },
8019
- required: [
8020
- "message",
8021
- "is_connected_account_error",
8022
- "error_code"
8023
- ],
8024
- type: "object"
8025
8814
  }
8026
8815
  ]
8027
8816
  },
@@ -13848,20 +14637,50 @@ var openapi_default = {
13848
14637
  ]
13849
14638
  },
13850
14639
  {
13851
- properties: {
13852
- error_code: { type: "string" },
13853
- is_connected_account_error: {
13854
- enum: [true],
13855
- type: "boolean"
14640
+ oneOf: [
14641
+ {
14642
+ description: "Account is disconnected.",
14643
+ properties: {
14644
+ error_code: {
14645
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
14646
+ enum: ["account_disconnected"],
14647
+ type: "string"
14648
+ },
14649
+ is_connected_account_error: {
14650
+ enum: [true],
14651
+ type: "boolean"
14652
+ },
14653
+ message: { type: "string" }
14654
+ },
14655
+ required: [
14656
+ "message",
14657
+ "is_connected_account_error",
14658
+ "error_code"
14659
+ ],
14660
+ type: "object"
13856
14661
  },
13857
- message: { type: "string" }
13858
- },
13859
- required: [
13860
- "message",
13861
- "is_connected_account_error",
13862
- "error_code"
13863
- ],
13864
- type: "object"
14662
+ {
14663
+ description: "Credentials provided were invalid.",
14664
+ properties: {
14665
+ error_code: {
14666
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
14667
+ enum: ["invalid_credentials"],
14668
+ type: "string"
14669
+ },
14670
+ is_connected_account_error: {
14671
+ enum: [true],
14672
+ type: "boolean"
14673
+ },
14674
+ message: { type: "string" }
14675
+ },
14676
+ required: [
14677
+ "message",
14678
+ "is_connected_account_error",
14679
+ "error_code"
14680
+ ],
14681
+ type: "object"
14682
+ }
14683
+ ]
13865
14684
  }
13866
14685
  ]
13867
14686
  },
@@ -14255,13 +15074,354 @@ var openapi_default = {
14255
15074
  items: {
14256
15075
  oneOf: [
14257
15076
  {
14258
- properties: {
14259
- error_code: { type: "string" },
14260
- is_access_code_error: { enum: [true], type: "boolean" },
14261
- message: { type: "string" }
14262
- },
14263
- required: ["message", "is_access_code_error", "error_code"],
14264
- type: "object"
15077
+ oneOf: [
15078
+ {
15079
+ description: "Failed to set code on Smart Things device.",
15080
+ properties: {
15081
+ error_code: {
15082
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15083
+ enum: ["smartthings_failed_to_set_access_code"],
15084
+ type: "string"
15085
+ },
15086
+ is_access_code_error: { enum: [true], type: "boolean" },
15087
+ message: { type: "string" }
15088
+ },
15089
+ required: [
15090
+ "message",
15091
+ "is_access_code_error",
15092
+ "error_code"
15093
+ ],
15094
+ type: "object"
15095
+ },
15096
+ {
15097
+ description: "Failed to set code after multiple retries.",
15098
+ properties: {
15099
+ error_code: {
15100
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15101
+ enum: [
15102
+ "smartthings_failed_to_set_after_multiple_retries"
15103
+ ],
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: "Failed to set code on device.",
15118
+ properties: {
15119
+ error_code: {
15120
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15121
+ enum: ["failed_to_set_on_device"],
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: "Failed to remove code from device.",
15136
+ properties: {
15137
+ error_code: {
15138
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15139
+ enum: ["failed_to_remove_from_device"],
15140
+ type: "string"
15141
+ },
15142
+ is_access_code_error: { enum: [true], type: "boolean" },
15143
+ message: { type: "string" }
15144
+ },
15145
+ required: [
15146
+ "message",
15147
+ "is_access_code_error",
15148
+ "error_code"
15149
+ ],
15150
+ type: "object"
15151
+ },
15152
+ {
15153
+ description: "Duplicate access code detected on device.",
15154
+ properties: {
15155
+ error_code: {
15156
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15157
+ enum: ["duplicate_code_on_device"],
15158
+ type: "string"
15159
+ },
15160
+ is_access_code_error: { enum: [true], type: "boolean" },
15161
+ message: { type: "string" }
15162
+ },
15163
+ required: [
15164
+ "message",
15165
+ "is_access_code_error",
15166
+ "error_code"
15167
+ ],
15168
+ type: "object"
15169
+ },
15170
+ {
15171
+ description: "An attempt to modify this access code was prevented.",
15172
+ properties: {
15173
+ error_code: {
15174
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15175
+ enum: ["duplicate_code_attempt_prevented"],
15176
+ type: "string"
15177
+ },
15178
+ is_access_code_error: { enum: [true], type: "boolean" },
15179
+ message: { type: "string" }
15180
+ },
15181
+ required: [
15182
+ "message",
15183
+ "is_access_code_error",
15184
+ "error_code"
15185
+ ],
15186
+ type: "object"
15187
+ },
15188
+ {
15189
+ description: "Igloohome bridge has too many pending jobs in the queue.",
15190
+ properties: {
15191
+ error_code: {
15192
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15193
+ enum: ["igloohome_bridge_too_many_pending_jobs"],
15194
+ type: "string"
15195
+ },
15196
+ is_access_code_error: { enum: [true], type: "boolean" },
15197
+ message: { type: "string" }
15198
+ },
15199
+ required: [
15200
+ "message",
15201
+ "is_access_code_error",
15202
+ "error_code"
15203
+ ],
15204
+ type: "object"
15205
+ },
15206
+ {
15207
+ description: "Igloohome bridge is offline.",
15208
+ properties: {
15209
+ error_code: {
15210
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15211
+ enum: ["igloohome_bridge_offline"],
15212
+ type: "string"
15213
+ },
15214
+ is_access_code_error: { enum: [true], type: "boolean" },
15215
+ message: { type: "string" }
15216
+ },
15217
+ required: [
15218
+ "message",
15219
+ "is_access_code_error",
15220
+ "error_code"
15221
+ ],
15222
+ type: "object"
15223
+ },
15224
+ {
15225
+ description: "Lock as reached max amount of codes.",
15226
+ properties: {
15227
+ error_code: {
15228
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15229
+ enum: [
15230
+ "igloohome_offline_access_code_no_variance_available"
15231
+ ],
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: "Unable to confirm the access code is set on Kwikset device.",
15246
+ properties: {
15247
+ error_code: {
15248
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15249
+ enum: ["kwikset_unable_to_confirm_code"],
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: "Unable to confirm the deletion of the access code on Kwikset device.",
15264
+ properties: {
15265
+ error_code: {
15266
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15267
+ enum: ["kwikset_unable_to_confirm_deletion"],
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: "Code was modified or removed externally after Seam successfully set it on the device.",
15282
+ properties: {
15283
+ error_code: {
15284
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15285
+ enum: ["code_modified_external_to_seam"],
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: "Invalid code length for August lock.",
15300
+ properties: {
15301
+ error_code: {
15302
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15303
+ enum: ["august_lock_invalid_code_length"],
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: "Access code has not yet been fully moved to 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: ["august_device_programming_delay"],
15322
+ type: "string"
15323
+ },
15324
+ is_access_code_error: { enum: [true], type: "boolean" },
15325
+ message: { type: "string" }
15326
+ },
15327
+ required: [
15328
+ "message",
15329
+ "is_access_code_error",
15330
+ "error_code"
15331
+ ],
15332
+ type: "object"
15333
+ },
15334
+ {
15335
+ description: "All access code slots on the device are full.",
15336
+ properties: {
15337
+ error_code: {
15338
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15339
+ enum: ["august_device_slots_full"],
15340
+ type: "string"
15341
+ },
15342
+ is_access_code_error: { enum: [true], type: "boolean" },
15343
+ message: { type: "string" }
15344
+ },
15345
+ required: [
15346
+ "message",
15347
+ "is_access_code_error",
15348
+ "error_code"
15349
+ ],
15350
+ type: "object"
15351
+ },
15352
+ {
15353
+ description: "August lock is missing a keypad.",
15354
+ properties: {
15355
+ error_code: {
15356
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15357
+ enum: ["august_lock_missing_keypad"],
15358
+ type: "string"
15359
+ },
15360
+ is_access_code_error: { enum: [true], type: "boolean" },
15361
+ message: { type: "string" }
15362
+ },
15363
+ required: [
15364
+ "message",
15365
+ "is_access_code_error",
15366
+ "error_code"
15367
+ ],
15368
+ type: "object"
15369
+ },
15370
+ {
15371
+ description: "Salto site user is not subscribed.",
15372
+ properties: {
15373
+ error_code: {
15374
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15375
+ enum: ["salto_site_user_not_subscribed"],
15376
+ type: "string"
15377
+ },
15378
+ is_access_code_error: { enum: [true], type: "boolean" },
15379
+ message: { type: "string" }
15380
+ },
15381
+ required: [
15382
+ "message",
15383
+ "is_access_code_error",
15384
+ "error_code"
15385
+ ],
15386
+ type: "object"
15387
+ },
15388
+ {
15389
+ description: "Access code has not yet been fully moved to the device.",
15390
+ properties: {
15391
+ error_code: {
15392
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15393
+ enum: ["hubitat_device_programming_delay"],
15394
+ type: "string"
15395
+ },
15396
+ is_access_code_error: { enum: [true], type: "boolean" },
15397
+ message: { type: "string" }
15398
+ },
15399
+ required: [
15400
+ "message",
15401
+ "is_access_code_error",
15402
+ "error_code"
15403
+ ],
15404
+ type: "object"
15405
+ },
15406
+ {
15407
+ description: "No free positions available on the device.",
15408
+ properties: {
15409
+ error_code: {
15410
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
15411
+ enum: ["hubitat_no_free_positions_available"],
15412
+ type: "string"
15413
+ },
15414
+ is_access_code_error: { enum: [true], type: "boolean" },
15415
+ message: { type: "string" }
15416
+ },
15417
+ required: [
15418
+ "message",
15419
+ "is_access_code_error",
15420
+ "error_code"
15421
+ ],
15422
+ type: "object"
15423
+ }
15424
+ ]
14265
15425
  },
14266
15426
  {
14267
15427
  description: "Error associated with the `device`.",
@@ -14451,20 +15611,50 @@ var openapi_default = {
14451
15611
  ]
14452
15612
  },
14453
15613
  {
14454
- properties: {
14455
- error_code: { type: "string" },
14456
- is_connected_account_error: {
14457
- enum: [true],
14458
- type: "boolean"
15614
+ oneOf: [
15615
+ {
15616
+ description: "Account is disconnected.",
15617
+ properties: {
15618
+ error_code: {
15619
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
15620
+ enum: ["account_disconnected"],
15621
+ type: "string"
15622
+ },
15623
+ is_connected_account_error: {
15624
+ enum: [true],
15625
+ type: "boolean"
15626
+ },
15627
+ message: { type: "string" }
15628
+ },
15629
+ required: [
15630
+ "message",
15631
+ "is_connected_account_error",
15632
+ "error_code"
15633
+ ],
15634
+ type: "object"
14459
15635
  },
14460
- message: { type: "string" }
14461
- },
14462
- required: [
14463
- "message",
14464
- "is_connected_account_error",
14465
- "error_code"
14466
- ],
14467
- type: "object"
15636
+ {
15637
+ description: "Credentials provided were invalid.",
15638
+ properties: {
15639
+ error_code: {
15640
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
15641
+ enum: ["invalid_credentials"],
15642
+ type: "string"
15643
+ },
15644
+ is_connected_account_error: {
15645
+ enum: [true],
15646
+ type: "boolean"
15647
+ },
15648
+ message: { type: "string" }
15649
+ },
15650
+ required: [
15651
+ "message",
15652
+ "is_connected_account_error",
15653
+ "error_code"
15654
+ ],
15655
+ type: "object"
15656
+ }
15657
+ ]
14468
15658
  }
14469
15659
  ]
14470
15660
  },
@@ -14491,12 +15681,138 @@ var openapi_default = {
14491
15681
  warnings: {
14492
15682
  description: 'Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention.',
14493
15683
  items: {
14494
- properties: {
14495
- message: { type: "string" },
14496
- warning_code: { type: "string" }
14497
- },
14498
- required: ["message", "warning_code"],
14499
- type: "object"
15684
+ oneOf: [
15685
+ {
15686
+ description: "Failed to set code on Smart Things device.",
15687
+ properties: {
15688
+ message: { type: "string" },
15689
+ warning_code: {
15690
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
15691
+ enum: ["smartthings_failed_to_set_access_code"],
15692
+ type: "string"
15693
+ }
15694
+ },
15695
+ required: ["message", "warning_code"],
15696
+ type: "object"
15697
+ },
15698
+ {
15699
+ description: "Duplicate access code detected.",
15700
+ properties: {
15701
+ message: { type: "string" },
15702
+ warning_code: {
15703
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
15704
+ enum: ["schlage_detected_duplicate"],
15705
+ type: "string"
15706
+ }
15707
+ },
15708
+ required: ["message", "warning_code"],
15709
+ type: "object"
15710
+ },
15711
+ {
15712
+ description: "Received an error when attempting to create this code.",
15713
+ properties: {
15714
+ message: { type: "string" },
15715
+ warning_code: {
15716
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
15717
+ enum: ["schlage_creation_outage"],
15718
+ type: "string"
15719
+ }
15720
+ },
15721
+ required: ["message", "warning_code"],
15722
+ type: "object"
15723
+ },
15724
+ {
15725
+ description: "Code was modified or removed externally after Seam successfully set it on the device.",
15726
+ properties: {
15727
+ message: { type: "string" },
15728
+ warning_code: {
15729
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
15730
+ enum: ["code_modified_external_to_seam"],
15731
+ type: "string"
15732
+ }
15733
+ },
15734
+ required: ["message", "warning_code"],
15735
+ type: "object"
15736
+ },
15737
+ {
15738
+ description: "Delay in setting code on device.",
15739
+ properties: {
15740
+ message: { type: "string" },
15741
+ warning_code: {
15742
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
15743
+ enum: ["delay_in_setting_on_device"],
15744
+ type: "string"
15745
+ }
15746
+ },
15747
+ required: ["message", "warning_code"],
15748
+ type: "object"
15749
+ },
15750
+ {
15751
+ description: "Delay in removing code from device.",
15752
+ properties: {
15753
+ message: { type: "string" },
15754
+ warning_code: {
15755
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
15756
+ enum: ["delay_in_removing_from_device"],
15757
+ type: "string"
15758
+ }
15759
+ },
15760
+ required: ["message", "warning_code"],
15761
+ type: "object"
15762
+ },
15763
+ {
15764
+ description: "Third party integration detected that may cause access codes to fail.",
15765
+ properties: {
15766
+ message: { type: "string" },
15767
+ warning_code: {
15768
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
15769
+ enum: ["third_party_integration_detected"],
15770
+ type: "string"
15771
+ }
15772
+ },
15773
+ required: ["message", "warning_code"],
15774
+ type: "object"
15775
+ },
15776
+ {
15777
+ description: "Access code has not yet been fully moved to the device.",
15778
+ properties: {
15779
+ message: { type: "string" },
15780
+ warning_code: {
15781
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
15782
+ enum: ["august_device_programming_delay"],
15783
+ type: "string"
15784
+ }
15785
+ },
15786
+ required: ["message", "warning_code"],
15787
+ type: "object"
15788
+ },
15789
+ {
15790
+ description: "Algopins must be used within 24 hours.",
15791
+ properties: {
15792
+ message: { type: "string" },
15793
+ warning_code: {
15794
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
15795
+ enum: ["igloo_algopin_must_be_used_within_24_hours"],
15796
+ type: "string"
15797
+ }
15798
+ },
15799
+ required: ["message", "warning_code"],
15800
+ type: "object"
15801
+ },
15802
+ {
15803
+ description: "Management was transferred to another workspace.",
15804
+ properties: {
15805
+ message: { type: "string" },
15806
+ warning_code: {
15807
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
15808
+ enum: ["management_transferred"],
15809
+ type: "string"
15810
+ }
15811
+ },
15812
+ required: ["message", "warning_code"],
15813
+ type: "object"
15814
+ }
15815
+ ]
14500
15816
  },
14501
15817
  type: "array"
14502
15818
  }
@@ -14802,20 +16118,50 @@ var openapi_default = {
14802
16118
  ]
14803
16119
  },
14804
16120
  {
14805
- properties: {
14806
- error_code: { type: "string" },
14807
- is_connected_account_error: {
14808
- enum: [true],
14809
- type: "boolean"
16121
+ oneOf: [
16122
+ {
16123
+ description: "Account is disconnected.",
16124
+ properties: {
16125
+ error_code: {
16126
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
16127
+ enum: ["account_disconnected"],
16128
+ type: "string"
16129
+ },
16130
+ is_connected_account_error: {
16131
+ enum: [true],
16132
+ type: "boolean"
16133
+ },
16134
+ message: { type: "string" }
16135
+ },
16136
+ required: [
16137
+ "message",
16138
+ "is_connected_account_error",
16139
+ "error_code"
16140
+ ],
16141
+ type: "object"
14810
16142
  },
14811
- message: { type: "string" }
14812
- },
14813
- required: [
14814
- "message",
14815
- "is_connected_account_error",
14816
- "error_code"
14817
- ],
14818
- type: "object"
16143
+ {
16144
+ description: "Credentials provided were invalid.",
16145
+ properties: {
16146
+ error_code: {
16147
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
16148
+ enum: ["invalid_credentials"],
16149
+ type: "string"
16150
+ },
16151
+ is_connected_account_error: {
16152
+ enum: [true],
16153
+ type: "boolean"
16154
+ },
16155
+ message: { type: "string" }
16156
+ },
16157
+ required: [
16158
+ "message",
16159
+ "is_connected_account_error",
16160
+ "error_code"
16161
+ ],
16162
+ type: "object"
16163
+ }
16164
+ ]
14819
16165
  }
14820
16166
  ]
14821
16167
  },
@@ -18198,6 +19544,23 @@ var openapi_default = {
18198
19544
  format: "uuid",
18199
19545
  type: "string"
18200
19546
  },
19547
+ assa_abloy_vostio_metadata: {
19548
+ description: "Vostio-specific metadata for the credential.",
19549
+ properties: {
19550
+ door_names: {
19551
+ items: { type: "string" },
19552
+ type: "array"
19553
+ },
19554
+ endpoint_id: { type: "string" },
19555
+ key_id: { type: "string" },
19556
+ key_issuing_request_id: { type: "string" },
19557
+ override_guest_acs_entrance_ids: {
19558
+ items: { type: "string" },
19559
+ type: "array"
19560
+ }
19561
+ },
19562
+ type: "object"
19563
+ },
18201
19564
  card_number: { nullable: true, type: "string" },
18202
19565
  code: {
18203
19566
  description: "Access (PIN) code for the credential.",
@@ -18611,6 +19974,23 @@ var openapi_default = {
18611
19974
  format: "uuid",
18612
19975
  type: "string"
18613
19976
  },
19977
+ assa_abloy_vostio_metadata: {
19978
+ description: "Vostio-specific metadata for the credential.",
19979
+ properties: {
19980
+ door_names: {
19981
+ items: { type: "string" },
19982
+ type: "array"
19983
+ },
19984
+ endpoint_id: { type: "string" },
19985
+ key_id: { type: "string" },
19986
+ key_issuing_request_id: { type: "string" },
19987
+ override_guest_acs_entrance_ids: {
19988
+ items: { type: "string" },
19989
+ type: "array"
19990
+ }
19991
+ },
19992
+ type: "object"
19993
+ },
18614
19994
  card_number: { nullable: true, type: "string" },
18615
19995
  code: {
18616
19996
  description: "Access (PIN) code for the credential.",