@seamapi/types 1.917.0 → 1.919.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 (37) hide show
  1. package/dist/connect.cjs +492 -186
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +115 -8
  4. package/dist/index.cjs +492 -186
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/access-codes/managed-access-code.js +78 -44
  7. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  8. package/lib/seam/connect/models/acs/acs-access-group.js +7 -4
  9. package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
  10. package/lib/seam/connect/models/acs/acs-encoder.js +7 -3
  11. package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
  12. package/lib/seam/connect/models/acs/acs-system.js +58 -31
  13. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  14. package/lib/seam/connect/models/acs/acs-users/acs-user.js +42 -24
  15. package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
  16. package/lib/seam/connect/models/connected-accounts/connected-account.js +29 -19
  17. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  18. package/lib/seam/connect/models/devices/device.js +51 -27
  19. package/lib/seam/connect/models/devices/device.js.map +1 -1
  20. package/lib/seam/connect/models/events/devices.d.ts +30 -8
  21. package/lib/seam/connect/models/events/devices.js +25 -0
  22. package/lib/seam/connect/models/events/devices.js.map +1 -1
  23. package/lib/seam/connect/models/events/seam-event.d.ts +15 -4
  24. package/lib/seam/connect/openapi.js +138 -4
  25. package/lib/seam/connect/openapi.js.map +1 -1
  26. package/lib/seam/connect/route-types.d.ts +100 -4
  27. package/package.json +1 -1
  28. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +136 -114
  29. package/src/lib/seam/connect/models/acs/acs-access-group.ts +10 -9
  30. package/src/lib/seam/connect/models/acs/acs-encoder.ts +7 -5
  31. package/src/lib/seam/connect/models/acs/acs-system.ts +73 -56
  32. package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +48 -40
  33. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +78 -73
  34. package/src/lib/seam/connect/models/devices/device.ts +70 -46
  35. package/src/lib/seam/connect/models/events/devices.ts +25 -0
  36. package/src/lib/seam/connect/openapi.ts +142 -4
  37. package/src/lib/seam/connect/route-types.ts +100 -4
package/dist/index.cjs CHANGED
@@ -592,12 +592,20 @@ var common_connected_account_warning = zod.z.object({
592
592
  });
593
593
  var account_disconnected = common_connected_account_error.extend({
594
594
  error_code: zod.z.literal("account_disconnected").describe(error_code_description)
595
- }).describe("Indicates that the account is disconnected.");
595
+ }).describe(`
596
+ ---
597
+ resource_type: connected_account
598
+ ---
599
+ Indicates that the account is disconnected.
600
+ `);
596
601
  var bridge_disconnected = common_connected_account_error.extend({
597
602
  error_code: zod.z.literal("bridge_disconnected").describe(error_code_description)
598
- }).describe(
599
- "Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected)."
600
- );
603
+ }).describe(`
604
+ ---
605
+ resource_type: connected_account
606
+ ---
607
+ Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).
608
+ `);
601
609
  var salto_ks_subscription_limit_exceeded = common_connected_account_error.extend({
602
610
  error_code: zod.z.literal("salto_ks_subscription_limit_exceeded").describe(error_code_description),
603
611
  salto_ks_metadata: zod.z.object({
@@ -624,14 +632,20 @@ var salto_ks_subscription_limit_exceeded = common_connected_account_error.extend
624
632
  }).describe(
625
633
  "Salto KS metadata associated with the connected account that has an error."
626
634
  )
627
- }).describe(
628
- "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."
629
- );
635
+ }).describe(`
636
+ ---
637
+ resource_type: connected_account
638
+ ---
639
+ 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.
640
+ `);
630
641
  var dormakaba_sites_disconnected = common_connected_account_error.extend({
631
642
  error_code: zod.z.literal("dormakaba_sites_disconnected").describe(error_code_description)
632
- }).describe(
633
- "Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support."
634
- );
643
+ }).describe(`
644
+ ---
645
+ resource_type: connected_account
646
+ ---
647
+ Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.
648
+ `);
635
649
  var connected_account_error = zod.z.discriminatedUnion("error_code", [
636
650
  account_disconnected,
637
651
  bridge_disconnected,
@@ -1358,6 +1372,7 @@ var device_offline = common_device_error.extend({
1358
1372
  }).describe(
1359
1373
  `
1360
1374
  ---
1375
+ resource_type: device
1361
1376
  deprecated: Use \`device_disconnected\` instead.
1362
1377
  ---
1363
1378
  Indicates that the device is offline.
@@ -1365,24 +1380,45 @@ var device_offline = common_device_error.extend({
1365
1380
  );
1366
1381
  var device_removed = common_device_error.extend({
1367
1382
  error_code: zod.z.literal("device_removed").describe(error_code_description2)
1368
- }).describe("Indicates that the device has been removed.");
1383
+ }).describe(`
1384
+ ---
1385
+ resource_type: device
1386
+ ---
1387
+ Indicates that the device has been removed.
1388
+ `);
1369
1389
  var hub_disconnected = common_device_error.extend({
1370
1390
  error_code: zod.z.literal("hub_disconnected").describe(error_code_description2)
1371
- }).describe("Indicates that the hub is disconnected.");
1391
+ }).describe(`
1392
+ ---
1393
+ resource_type: device
1394
+ ---
1395
+ Indicates that the hub is disconnected.
1396
+ `);
1372
1397
  var device_disconnected = common_device_error.extend({
1373
1398
  error_code: zod.z.literal("device_disconnected").describe(error_code_description2)
1374
- }).describe("Indicates that the device is disconnected.");
1399
+ }).describe(`
1400
+ ---
1401
+ resource_type: device
1402
+ ---
1403
+ Indicates that the device is disconnected.
1404
+ `);
1375
1405
  var account_disconnected2 = common_device_error.extend({
1376
1406
  error_code: zod.z.literal("account_disconnected").describe(error_code_description2),
1377
1407
  is_connected_account_error: zod.z.literal(true).describe(
1378
1408
  "Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error."
1379
1409
  ),
1380
1410
  is_device_error: zod.z.literal(false).describe("Indicates that the error is not a device error.")
1381
- }).describe("Indicates that the account is disconnected.");
1411
+ }).describe(`
1412
+ ---
1413
+ resource_type: connected_account
1414
+ ---
1415
+ Indicates that the account is disconnected.
1416
+ `);
1382
1417
  var empty_backup_access_code_pool = common_device_error.extend({
1383
1418
  error_code: zod.z.literal("empty_backup_access_code_pool").describe(error_code_description2)
1384
1419
  }).describe(`
1385
1420
  ---
1421
+ resource_type: device
1386
1422
  variant_group_key: access_codes
1387
1423
  ---
1388
1424
  Indicates that the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is empty.
@@ -1391,6 +1427,7 @@ var august_lock_not_authorized = common_device_error.extend({
1391
1427
  error_code: zod.z.literal("august_lock_not_authorized").describe(error_code_description2)
1392
1428
  }).describe(`
1393
1429
  ---
1430
+ resource_type: device
1394
1431
  variant_group_key: locks
1395
1432
  ---
1396
1433
  Indicates that the user is not authorized to use the August lock.
@@ -1399,6 +1436,7 @@ var august_lock_missing_bridge = common_device_error.extend({
1399
1436
  error_code: zod.z.literal("august_lock_missing_bridge").describe(error_code_description2)
1400
1437
  }).describe(`
1401
1438
  ---
1439
+ resource_type: device
1402
1440
  deprecated: Use \`hub_disconnected\` instead.
1403
1441
  variant_group_key: locks
1404
1442
  ---
@@ -1412,6 +1450,7 @@ var salto_ks_subscription_limit_exceeded2 = common_device_error.extend({
1412
1450
  is_device_error: zod.z.literal(false).describe("Indicates that the error is not a device error.")
1413
1451
  }).describe(`
1414
1452
  ---
1453
+ resource_type: connected_account
1415
1454
  variant_group_key: locks
1416
1455
  ---
1417
1456
  Indicates that the Salto site user limit has been reached.
@@ -1420,28 +1459,41 @@ var ttlock_lock_not_paired_to_gateway = common_device_error.extend({
1420
1459
  error_code: zod.z.literal("ttlock_lock_not_paired_to_gateway").describe(error_code_description2)
1421
1460
  }).describe(`
1422
1461
  ---
1462
+ resource_type: device
1423
1463
  deprecated: Use \`hub_disconnected\` instead.
1424
1464
  ---
1425
1465
  Indicates that the lock is not paired with a gateway.
1426
1466
  `);
1427
1467
  var missing_device_credentials = common_device_error.extend({
1428
1468
  error_code: zod.z.literal("missing_device_credentials").describe(error_code_description2)
1429
- }).describe("Indicates that device credentials are missing.");
1469
+ }).describe(`
1470
+ ---
1471
+ resource_type: device
1472
+ ---
1473
+ Indicates that device credentials are missing.
1474
+ `);
1430
1475
  var auxiliary_heat_running = common_device_error.extend({
1431
1476
  error_code: zod.z.literal("auxiliary_heat_running").describe(error_code_description2)
1432
1477
  }).describe(`
1433
1478
  ---
1479
+ resource_type: device
1434
1480
  variant_group_key: thermostats
1435
1481
  ---
1436
1482
  Indicates that the auxiliary heat is running.
1437
1483
  `);
1438
1484
  var subscription_required = common_device_error.extend({
1439
1485
  error_code: zod.z.literal("subscription_required").describe(error_code_description2)
1440
- }).describe("Indicates that a subscription is required to connect.");
1486
+ }).describe(`
1487
+ ---
1488
+ resource_type: device
1489
+ ---
1490
+ Indicates that a subscription is required to connect.
1491
+ `);
1441
1492
  var lockly_missing_wifi_bridge = common_device_error.extend({
1442
1493
  error_code: zod.z.literal("lockly_missing_wifi_bridge").describe(error_code_description2)
1443
1494
  }).describe(`
1444
1495
  ---
1496
+ resource_type: device
1445
1497
  deprecated: Use \`hub_disconnected\` instead.
1446
1498
  ---
1447
1499
  Indicates that the Lockly lock is not connected to a Wi-Fi bridge.
@@ -2384,9 +2436,12 @@ var common_access_code_error = zod.z.object({
2384
2436
  var error_code_description3 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
2385
2437
  var provider_issue2 = common_access_code_error.extend({
2386
2438
  error_code: zod.z.literal("provider_issue").describe(error_code_description3)
2387
- }).describe(
2388
- "Indicates a provider-specific issue that prevents the access code from being set or managed. Check the error message for details."
2389
- );
2439
+ }).describe(`
2440
+ ---
2441
+ resource_type: access_code
2442
+ ---
2443
+ Indicates a provider-specific issue that prevents the access code from being set or managed. Check the error message for details.
2444
+ `);
2390
2445
  var modified_field = zod.z.object({
2391
2446
  field: zod.z.string().describe(
2392
2447
  "The name of the field that was changed (e.g. `code`, `starts_at`, `ends_at`)."
@@ -2402,15 +2457,28 @@ var code_modified_external_to_seam_error = common_access_code_error.extend({
2402
2457
  modified_fields: zod.z.array(modified_field).optional().describe(
2403
2458
  "List of fields that were changed externally, with their previous and new values."
2404
2459
  )
2405
- }).describe(
2406
- "Code was modified or removed externally after Seam successfully set it on the device."
2407
- );
2460
+ }).describe(`
2461
+ ---
2462
+ resource_type: access_code
2463
+ ---
2464
+ Code was modified or removed externally after Seam successfully set it on the device.
2465
+ `);
2408
2466
  var failed_to_set_on_device = common_access_code_error.extend({
2409
2467
  error_code: zod.z.literal("failed_to_set_on_device").describe(error_code_description3)
2410
- }).describe("Failed to set code on device.");
2468
+ }).describe(`
2469
+ ---
2470
+ resource_type: access_code
2471
+ ---
2472
+ Failed to set code on device.
2473
+ `);
2411
2474
  var failed_to_remove_from_device = common_access_code_error.extend({
2412
2475
  error_code: zod.z.literal("failed_to_remove_from_device").describe(error_code_description3)
2413
- }).describe("Failed to remove code from device.");
2476
+ }).describe(`
2477
+ ---
2478
+ resource_type: access_code
2479
+ ---
2480
+ Failed to remove code from device.
2481
+ `);
2414
2482
  var duplicate_code_on_device = common_access_code_error.extend({
2415
2483
  error_code: zod.z.literal("duplicate_code_on_device").describe(error_code_description3),
2416
2484
  unmanaged_access_code_id: zod.z.string().uuid().optional().describe(
@@ -2419,33 +2487,58 @@ var duplicate_code_on_device = common_access_code_error.extend({
2419
2487
  managed_access_code_id: zod.z.string().uuid().optional().describe(
2420
2488
  "ID of the managed access code that conflicts with this managed access code, when Seam can identify it."
2421
2489
  )
2422
- }).describe("Duplicate access code detected on device.");
2490
+ }).describe(`
2491
+ ---
2492
+ resource_type: access_code
2493
+ ---
2494
+ Duplicate access code detected on device.
2495
+ `);
2423
2496
  var duplicate_code_attempt_prevented = common_access_code_error.extend({
2424
2497
  error_code: zod.z.literal("duplicate_code_attempt_prevented").describe(error_code_description3)
2425
- }).describe("An attempt to modify this access code was prevented.");
2498
+ }).describe(`
2499
+ ---
2500
+ resource_type: access_code
2501
+ ---
2502
+ An attempt to modify this access code was prevented.
2503
+ `);
2426
2504
  var no_space_for_access_code_on_device = common_access_code_error.extend({
2427
2505
  error_code: zod.z.literal("no_space_for_access_code_on_device").describe(error_code_description3)
2428
- }).describe("No space for access code on device.");
2506
+ }).describe(`
2507
+ ---
2508
+ resource_type: access_code
2509
+ ---
2510
+ No space for access code on device.
2511
+ `);
2429
2512
  var access_code_state_unconfirmed = common_access_code_error.extend({
2430
2513
  error_code: zod.z.literal("access_code_state_unconfirmed").describe(error_code_description3)
2431
- }).describe(
2432
- "Indicates that the provider cannot confirm whether the access code was set or removed on the device."
2433
- );
2514
+ }).describe(`
2515
+ ---
2516
+ resource_type: access_code
2517
+ ---
2518
+ Indicates that the provider cannot confirm whether the access code was set or removed on the device.
2519
+ `);
2434
2520
  var insufficient_permissions2 = common_access_code_error.extend({
2435
2521
  error_code: zod.z.literal("insufficient_permissions").describe(error_code_description3)
2436
- }).describe(
2437
- "Admin role required\u2014insufficient permissions to manage PINs on this device. Please have an admin update your role, or ask them to set the PIN."
2438
- );
2522
+ }).describe(`
2523
+ ---
2524
+ resource_type: access_code
2525
+ ---
2526
+ Admin role required\u2014insufficient permissions to manage PINs on this device. Please have an admin update your role, or ask them to set the PIN.
2527
+ `);
2439
2528
  var access_code_inactive_error = common_access_code_error.extend({
2440
2529
  error_code: zod.z.literal("access_code_inactive").describe(error_code_description3)
2441
- }).describe(
2442
- "Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled."
2443
- );
2530
+ }).describe(`
2531
+ ---
2532
+ resource_type: access_code
2533
+ ---
2534
+ Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.
2535
+ `);
2444
2536
  var salto_ks_user_not_subscribed = common_access_code_error.extend({
2445
2537
  error_code: zod.z.literal("salto_ks_user_not_subscribed").describe(error_code_description3)
2446
2538
  }).describe(
2447
2539
  `
2448
2540
  ---
2541
+ resource_type: access_code
2449
2542
  deprecated: Use \`access_code_inactive\` instead.
2450
2543
  ---
2451
2544
  Salto site user is not subscribed.
@@ -2453,9 +2546,12 @@ var salto_ks_user_not_subscribed = common_access_code_error.extend({
2453
2546
  );
2454
2547
  var replaced_by_newer_access_code = common_access_code_error.extend({
2455
2548
  error_code: zod.z.literal("replaced_by_newer_access_code").describe(error_code_description3)
2456
- }).describe(
2457
- "This access code was overridden on the device by a newer access code programmed to the same slot."
2458
- );
2549
+ }).describe(`
2550
+ ---
2551
+ resource_type: access_code
2552
+ ---
2553
+ This access code was overridden on the device by a newer access code programmed to the same slot.
2554
+ `);
2459
2555
  var access_code_error = zod.z.discriminatedUnion("error_code", [
2460
2556
  provider_issue2,
2461
2557
  failed_to_set_on_device,
@@ -3297,9 +3393,12 @@ var common_acs_access_group_error = zod.z.object({
3297
3393
  var error_code_description5 = "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.";
3298
3394
  var acs_access_groups_failed_to_create_on_acs_system = common_acs_access_group_error.extend({
3299
3395
  error_code: zod.z.literal("failed_to_create_on_acs_system").describe(error_code_description5)
3300
- }).describe(
3301
- `Indicates that the [access group](https://docs.seam.co/low-level-apis/access-systems/user-management/assigning-users-to-access-groups) was not created on the [access system](https://docs.seam.co/low-level-apis/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).`
3302
- );
3396
+ }).describe(`
3397
+ ---
3398
+ resource_type: acs_access_group
3399
+ ---
3400
+ Indicates that the [access group](https://docs.seam.co/low-level-apis/access-systems/user-management/assigning-users-to-access-groups) was not created on the [access system](https://docs.seam.co/low-level-apis/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).
3401
+ `);
3303
3402
  var acs_access_group_errors = zod.z.discriminatedUnion("error_code", [
3304
3403
  acs_access_groups_failed_to_create_on_acs_system
3305
3404
  ]).describe("Error associated with the `acs_access_group`.");
@@ -3749,9 +3848,13 @@ var acs_encoder_removed = common_acs_encoder_error.extend({
3749
3848
  });
3750
3849
  var acs_encoder_error = (
3751
3850
  // z.union([
3752
- acs_encoder_removed.describe(
3753
- "Error associated with the [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners)."
3754
- )
3851
+ // ])
3852
+ acs_encoder_removed.describe(`
3853
+ ---
3854
+ resource_type: acs_encoder
3855
+ ---
3856
+ Error associated with the [encoder](https://docs.seam.co/low-level-apis/access-systems/working-with-card-encoders-and-scanners).
3857
+ `)
3755
3858
  );
3756
3859
  zod.z.object({
3757
3860
  acs_encoder_removed: acs_encoder_removed.optional().nullable()
@@ -3975,46 +4078,76 @@ var error_code_description7 = "Unique identifier of the type of error. Enables q
3975
4078
  var warning_code_description9 = "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.";
3976
4079
  var seam_bridge_disconnected = common_acs_system_error.extend({
3977
4080
  error_code: zod.z.literal("seam_bridge_disconnected").describe(error_code_description7)
3978
- }).describe(`Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge), for example, if Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.
3979
- This error might also occur if Seam Bridge is connected to the wrong [workspace](https://docs.seam.co/core-concepts/workspaces).
3980
- See also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).`);
4081
+ }).describe(`
4082
+ ---
4083
+ resource_type: acs_system
4084
+ ---
4085
+ Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge), for example, if Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.
4086
+ This error might also occur if Seam Bridge is connected to the wrong [workspace](https://docs.seam.co/core-concepts/workspaces).
4087
+ See also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).
4088
+ `);
3981
4089
  var bridge_disconnected2 = common_acs_system_error.extend({
3982
4090
  error_code: zod.z.literal("bridge_disconnected").describe(error_code_description7),
3983
4091
  is_bridge_error: zod.z.boolean().optional().describe(
3984
4092
  "Indicates whether the error is related to the [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge)."
3985
4093
  )
3986
- }).describe(`Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge), for example, if Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.
3987
- See also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).`);
4094
+ }).describe(`
4095
+ ---
4096
+ resource_type: acs_system
4097
+ ---
4098
+ Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge), for example, if Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.
4099
+ See also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).
4100
+ `);
3988
4101
  var visionline_instance_unreachable = common_acs_system_error.extend({
3989
4102
  error_code: zod.z.literal("visionline_instance_unreachable").describe(error_code_description7)
3990
- }).describe(`Indicates that [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge) is functioning correctly and the Seam API can communicate with Seam Bridge, but the Seam API cannot connect to the on-premises [Visionline access control system](https://docs.seam.co/device-and-system-integration-guides/assa-abloy-visionline-access-control-system).
3991
- For example, the IP address of the on-premises access control system may be set incorrectly within the Seam [workspace](https://docs.seam.co/core-concepts/workspaces).
3992
- See also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system.errors.visionline_instance_unreachable).`);
4103
+ }).describe(`
4104
+ ---
4105
+ resource_type: acs_system
4106
+ ---
4107
+ Indicates that [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge) is functioning correctly and the Seam API can communicate with Seam Bridge, but the Seam API cannot connect to the on-premises [Visionline access control system](https://docs.seam.co/device-and-system-integration-guides/assa-abloy-visionline-access-control-system).
4108
+ For example, the IP address of the on-premises access control system may be set incorrectly within the Seam [workspace](https://docs.seam.co/core-concepts/workspaces).
4109
+ See also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system.errors.visionline_instance_unreachable).
4110
+ `);
3993
4111
  var salto_ks_subscription_limit_exceeded3 = common_acs_system_error.extend({
3994
4112
  error_code: zod.z.literal("salto_ks_subscription_limit_exceeded").describe(error_code_description7)
3995
- }).describe(
3996
- "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."
3997
- );
4113
+ }).describe(`
4114
+ ---
4115
+ resource_type: acs_system
4116
+ ---
4117
+ 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.
4118
+ `);
3998
4119
  var acs_system_disconnected = common_acs_system_error.extend({
3999
4120
  error_code: zod.z.literal("acs_system_disconnected").describe(error_code_description7)
4000
- }).describe(
4001
- "Indicates that the [access control system](https://docs.seam.co/low-level-apis/access-systems) has been disconnected. See [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system) to resolve the issue."
4002
- );
4121
+ }).describe(`
4122
+ ---
4123
+ resource_type: acs_system
4124
+ ---
4125
+ Indicates that the [access control system](https://docs.seam.co/low-level-apis/access-systems) has been disconnected. See [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system) to resolve the issue.
4126
+ `);
4003
4127
  var account_disconnected3 = common_acs_system_error.extend({
4004
4128
  error_code: zod.z.literal("account_disconnected").describe(error_code_description7)
4005
- }).describe(
4006
- "Indicates that the login credentials are invalid. Reconnect the account using a [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews) to restore access."
4007
- );
4129
+ }).describe(`
4130
+ ---
4131
+ resource_type: acs_system
4132
+ ---
4133
+ Indicates that the login credentials are invalid. Reconnect the account using a [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews) to restore access.
4134
+ `);
4008
4135
  var salto_ks_certification_expired = common_acs_system_error.extend({
4009
4136
  error_code: zod.z.literal("salto_ks_certification_expired").describe(error_code_description7)
4010
- }).describe(
4011
- "Indicates that the [access control system](https://docs.seam.co/low-level-apis/access-systems) has lost its Salto KS certification. Contact [support](mailto:support@seam.co) to regain access."
4012
- );
4137
+ }).describe(`
4138
+ ---
4139
+ resource_type: acs_system
4140
+ ---
4141
+ Indicates that the [access control system](https://docs.seam.co/low-level-apis/access-systems) has lost its Salto KS certification. Contact [support](mailto:support@seam.co) to regain access.
4142
+ `);
4013
4143
  var provider_service_unavailable2 = common_acs_system_error.extend({
4014
4144
  error_code: zod.z.literal("provider_service_unavailable").describe(error_code_description7)
4015
- }).describe(
4016
- "Indicates that the access control system provider's service is temporarily unavailable. Seam will automatically retry and reconnect when the service becomes available again."
4017
- );
4145
+ }).describe(`
4146
+ ---
4147
+ resource_type: acs_system
4148
+ ---
4149
+ Indicates that the access control system provider's service is temporarily unavailable. Seam will automatically retry and reconnect when the service becomes available again.
4150
+ `);
4018
4151
  var acs_system_error = zod.z.discriminatedUnion("error_code", [
4019
4152
  seam_bridge_disconnected,
4020
4153
  bridge_disconnected2,
@@ -4342,34 +4475,52 @@ var common_acs_user_error = zod.z.object({
4342
4475
  });
4343
4476
  var acs_users_deleted_externally = common_acs_user_error.extend({
4344
4477
  error_code: zod.z.literal("deleted_externally")
4345
- }).describe(
4346
- `Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) was deleted from the [access system](https://docs.seam.co/low-level-apis/access-systems) outside of Seam.`
4347
- );
4478
+ }).describe(`
4479
+ ---
4480
+ resource_type: acs_user
4481
+ ---
4482
+ Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) was deleted from the [access system](https://docs.seam.co/low-level-apis/access-systems) outside of Seam.
4483
+ `);
4348
4484
  var acs_users_salto_ks_subscription_limit_exceeded = common_acs_user_error.extend({
4349
4485
  error_code: zod.z.literal("salto_ks_subscription_limit_exceeded")
4350
- }).describe(
4351
- `Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) could not be subscribed on Salto KS because the subscription limit has been exceeded.`
4352
- );
4486
+ }).describe(`
4487
+ ---
4488
+ resource_type: acs_user
4489
+ ---
4490
+ Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) could not be subscribed on Salto KS because the subscription limit has been exceeded.
4491
+ `);
4353
4492
  var acs_users_failed_to_create_on_acs_system = common_acs_user_error.extend({
4354
4493
  error_code: zod.z.literal("failed_to_create_on_acs_system")
4355
- }).describe(
4356
- `Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) was not created on the [access system](https://docs.seam.co/low-level-apis/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).`
4357
- );
4494
+ }).describe(`
4495
+ ---
4496
+ resource_type: acs_user
4497
+ ---
4498
+ Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) was not created on the [access system](https://docs.seam.co/low-level-apis/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).
4499
+ `);
4358
4500
  var acs_users_failed_to_update_on_acs_system = common_acs_user_error.extend({
4359
4501
  error_code: zod.z.literal("failed_to_update_on_acs_system")
4360
- }).describe(
4361
- `Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) was not updated on the [access system](https://docs.seam.co/low-level-apis/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).`
4362
- );
4502
+ }).describe(`
4503
+ ---
4504
+ resource_type: acs_user
4505
+ ---
4506
+ Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) was not updated on the [access system](https://docs.seam.co/low-level-apis/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).
4507
+ `);
4363
4508
  var acs_users_failed_to_delete_on_acs_system = common_acs_user_error.extend({
4364
4509
  error_code: zod.z.literal("failed_to_delete_on_acs_system")
4365
- }).describe(
4366
- `Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) was not deleted on the [access system](https://docs.seam.co/low-level-apis/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).`
4367
- );
4510
+ }).describe(`
4511
+ ---
4512
+ resource_type: acs_user
4513
+ ---
4514
+ Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) was not deleted on the [access system](https://docs.seam.co/low-level-apis/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).
4515
+ `);
4368
4516
  var acs_users_latch_conflict_with_resident_user = common_acs_user_error.extend({
4369
4517
  error_code: zod.z.literal("latch_conflict_with_resident_user")
4370
- }).describe(
4371
- `Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) was created from the Seam API but also exists on Mission Control. This is unsupported. Contact Seam [support](mailto:support@seam.co).`
4372
- );
4518
+ }).describe(`
4519
+ ---
4520
+ resource_type: acs_user
4521
+ ---
4522
+ Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) was created from the Seam API but also exists on Mission Control. This is unsupported. Contact Seam [support](mailto:support@seam.co).
4523
+ `);
4373
4524
  var acs_user_errors = zod.z.discriminatedUnion("error_code", [
4374
4525
  acs_users_deleted_externally,
4375
4526
  acs_users_salto_ks_subscription_limit_exceeded,
@@ -6484,7 +6635,28 @@ var lock_unlocked_event = device_event.extend({
6484
6635
  `);
6485
6636
  var lock_access_denied_event = device_event.extend({
6486
6637
  event_type: zod.z.literal("lock.access_denied"),
6487
- access_code_id: zod.z.string().uuid().optional().describe("ID of the access code that was used in the unlock attempts.")
6638
+ access_code_id: zod.z.string().uuid().optional().describe("ID of the access code that was used in the unlock attempts."),
6639
+ user_identity_id: zod.z.string().uuid().optional().describe(`
6640
+ undocumented: Unreleased.
6641
+ ---
6642
+ ID of the user identity associated with the access-denied event.
6643
+ `),
6644
+ acs_system_id: zod.z.string().uuid().optional().describe(`
6645
+ undocumented: Unreleased.
6646
+ ---
6647
+ ID of the ACS system associated with the access-denied event.
6648
+ `),
6649
+ acs_user_id: zod.z.string().uuid().optional().describe(`
6650
+ undocumented: Unreleased.
6651
+ ---
6652
+ ID of the ACS user associated with the access-denied event.
6653
+ `),
6654
+ acs_entrance_id: zod.z.string().uuid().optional().describe(`
6655
+ undocumented: Unreleased.
6656
+ ---
6657
+ ID of the ACS entrance associated with the access-denied event.
6658
+ `),
6659
+ device_id: zod.z.string().uuid().optional().describe("ID of the affected device.")
6488
6660
  }).describe(`
6489
6661
  ---
6490
6662
  route_path: /locks
@@ -7362,7 +7534,8 @@ var openapi = {
7362
7534
  }
7363
7535
  },
7364
7536
  required: ["message", "is_access_code_error", "error_code"],
7365
- type: "object"
7537
+ type: "object",
7538
+ "x-resource-type": "access_code"
7366
7539
  },
7367
7540
  {
7368
7541
  description: "Failed to set code on device.",
@@ -7388,7 +7561,8 @@ var openapi = {
7388
7561
  }
7389
7562
  },
7390
7563
  required: ["message", "is_access_code_error", "error_code"],
7391
- type: "object"
7564
+ type: "object",
7565
+ "x-resource-type": "access_code"
7392
7566
  },
7393
7567
  {
7394
7568
  description: "Failed to remove code from device.",
@@ -7414,7 +7588,8 @@ var openapi = {
7414
7588
  }
7415
7589
  },
7416
7590
  required: ["message", "is_access_code_error", "error_code"],
7417
- type: "object"
7591
+ type: "object",
7592
+ "x-resource-type": "access_code"
7418
7593
  },
7419
7594
  {
7420
7595
  description: "Duplicate access code detected on device.",
@@ -7450,7 +7625,8 @@ var openapi = {
7450
7625
  }
7451
7626
  },
7452
7627
  required: ["message", "is_access_code_error", "error_code"],
7453
- type: "object"
7628
+ type: "object",
7629
+ "x-resource-type": "access_code"
7454
7630
  },
7455
7631
  {
7456
7632
  description: "An attempt to modify this access code was prevented.",
@@ -7476,7 +7652,8 @@ var openapi = {
7476
7652
  }
7477
7653
  },
7478
7654
  required: ["message", "is_access_code_error", "error_code"],
7479
- type: "object"
7655
+ type: "object",
7656
+ "x-resource-type": "access_code"
7480
7657
  },
7481
7658
  {
7482
7659
  description: "No space for access code on device.",
@@ -7502,7 +7679,8 @@ var openapi = {
7502
7679
  }
7503
7680
  },
7504
7681
  required: ["message", "is_access_code_error", "error_code"],
7505
- type: "object"
7682
+ type: "object",
7683
+ "x-resource-type": "access_code"
7506
7684
  },
7507
7685
  {
7508
7686
  description: "Indicates that the provider cannot confirm whether the access code was set or removed on the device.",
@@ -7528,7 +7706,8 @@ var openapi = {
7528
7706
  }
7529
7707
  },
7530
7708
  required: ["message", "is_access_code_error", "error_code"],
7531
- type: "object"
7709
+ type: "object",
7710
+ "x-resource-type": "access_code"
7532
7711
  },
7533
7712
  {
7534
7713
  description: "Code was modified or removed externally after Seam successfully set it on the device.",
@@ -7583,7 +7762,8 @@ var openapi = {
7583
7762
  }
7584
7763
  },
7585
7764
  required: ["message", "is_access_code_error", "error_code"],
7586
- type: "object"
7765
+ type: "object",
7766
+ "x-resource-type": "access_code"
7587
7767
  },
7588
7768
  {
7589
7769
  description: "Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.",
@@ -7609,7 +7789,8 @@ var openapi = {
7609
7789
  }
7610
7790
  },
7611
7791
  required: ["message", "is_access_code_error", "error_code"],
7612
- type: "object"
7792
+ type: "object",
7793
+ "x-resource-type": "access_code"
7613
7794
  },
7614
7795
  {
7615
7796
  deprecated: true,
@@ -7637,7 +7818,8 @@ var openapi = {
7637
7818
  },
7638
7819
  required: ["message", "is_access_code_error", "error_code"],
7639
7820
  type: "object",
7640
- "x-deprecated": "Use `access_code_inactive` instead."
7821
+ "x-deprecated": "Use `access_code_inactive` instead.",
7822
+ "x-resource-type": "access_code"
7641
7823
  },
7642
7824
  {
7643
7825
  description: "Admin role required\u2014insufficient permissions to manage PINs on this device. Please have an admin update your role, or ask them to set the PIN.",
@@ -7663,7 +7845,8 @@ var openapi = {
7663
7845
  }
7664
7846
  },
7665
7847
  required: ["message", "is_access_code_error", "error_code"],
7666
- type: "object"
7848
+ type: "object",
7849
+ "x-resource-type": "access_code"
7667
7850
  },
7668
7851
  {
7669
7852
  description: "This access code was overridden on the device by a newer access code programmed to the same slot.",
@@ -7689,7 +7872,8 @@ var openapi = {
7689
7872
  }
7690
7873
  },
7691
7874
  required: ["message", "is_access_code_error", "error_code"],
7692
- type: "object"
7875
+ type: "object",
7876
+ "x-resource-type": "access_code"
7693
7877
  },
7694
7878
  {
7695
7879
  description: "Indicates that the account is disconnected.",
@@ -7726,7 +7910,8 @@ var openapi = {
7726
7910
  "error_code",
7727
7911
  "is_connected_account_error"
7728
7912
  ],
7729
- type: "object"
7913
+ type: "object",
7914
+ "x-resource-type": "connected_account"
7730
7915
  },
7731
7916
  {
7732
7917
  description: "Indicates that the Salto site user limit has been reached.",
@@ -7764,6 +7949,7 @@ var openapi = {
7764
7949
  "is_connected_account_error"
7765
7950
  ],
7766
7951
  type: "object",
7952
+ "x-resource-type": "connected_account",
7767
7953
  "x-variant-group-key": "locks"
7768
7954
  },
7769
7955
  {
@@ -7797,7 +7983,8 @@ var openapi = {
7797
7983
  "error_code"
7798
7984
  ],
7799
7985
  type: "object",
7800
- "x-deprecated": "Use `device_disconnected` instead."
7986
+ "x-deprecated": "Use `device_disconnected` instead.",
7987
+ "x-resource-type": "device"
7801
7988
  },
7802
7989
  {
7803
7990
  description: "Indicates that the device has been removed.",
@@ -7828,7 +8015,8 @@ var openapi = {
7828
8015
  "created_at",
7829
8016
  "error_code"
7830
8017
  ],
7831
- type: "object"
8018
+ type: "object",
8019
+ "x-resource-type": "device"
7832
8020
  },
7833
8021
  {
7834
8022
  description: "Indicates that the hub is disconnected.",
@@ -7859,7 +8047,8 @@ var openapi = {
7859
8047
  "created_at",
7860
8048
  "error_code"
7861
8049
  ],
7862
- type: "object"
8050
+ type: "object",
8051
+ "x-resource-type": "device"
7863
8052
  },
7864
8053
  {
7865
8054
  description: "Indicates that the device is disconnected.",
@@ -7890,7 +8079,8 @@ var openapi = {
7890
8079
  "created_at",
7891
8080
  "error_code"
7892
8081
  ],
7893
- type: "object"
8082
+ type: "object",
8083
+ "x-resource-type": "device"
7894
8084
  },
7895
8085
  {
7896
8086
  description: "Indicates that the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is empty.",
@@ -7922,6 +8112,7 @@ var openapi = {
7922
8112
  "error_code"
7923
8113
  ],
7924
8114
  type: "object",
8115
+ "x-resource-type": "device",
7925
8116
  "x-variant-group-key": "access_codes"
7926
8117
  },
7927
8118
  {
@@ -7954,6 +8145,7 @@ var openapi = {
7954
8145
  "error_code"
7955
8146
  ],
7956
8147
  type: "object",
8148
+ "x-resource-type": "device",
7957
8149
  "x-variant-group-key": "locks"
7958
8150
  },
7959
8151
  {
@@ -7988,6 +8180,7 @@ var openapi = {
7988
8180
  ],
7989
8181
  type: "object",
7990
8182
  "x-deprecated": "Use `hub_disconnected` instead.",
8183
+ "x-resource-type": "device",
7991
8184
  "x-variant-group-key": "locks"
7992
8185
  },
7993
8186
  {
@@ -8021,7 +8214,8 @@ var openapi = {
8021
8214
  "error_code"
8022
8215
  ],
8023
8216
  type: "object",
8024
- "x-deprecated": "Use `hub_disconnected` instead."
8217
+ "x-deprecated": "Use `hub_disconnected` instead.",
8218
+ "x-resource-type": "device"
8025
8219
  },
8026
8220
  {
8027
8221
  description: "Indicates that device credentials are missing.",
@@ -8052,7 +8246,8 @@ var openapi = {
8052
8246
  "created_at",
8053
8247
  "error_code"
8054
8248
  ],
8055
- type: "object"
8249
+ type: "object",
8250
+ "x-resource-type": "device"
8056
8251
  },
8057
8252
  {
8058
8253
  description: "Indicates that the auxiliary heat is running.",
@@ -8084,6 +8279,7 @@ var openapi = {
8084
8279
  "error_code"
8085
8280
  ],
8086
8281
  type: "object",
8282
+ "x-resource-type": "device",
8087
8283
  "x-variant-group-key": "thermostats"
8088
8284
  },
8089
8285
  {
@@ -8115,7 +8311,8 @@ var openapi = {
8115
8311
  "created_at",
8116
8312
  "error_code"
8117
8313
  ],
8118
- type: "object"
8314
+ type: "object",
8315
+ "x-resource-type": "device"
8119
8316
  },
8120
8317
  {
8121
8318
  deprecated: true,
@@ -8148,7 +8345,8 @@ var openapi = {
8148
8345
  "error_code"
8149
8346
  ],
8150
8347
  type: "object",
8151
- "x-deprecated": "Use `hub_disconnected` instead."
8348
+ "x-deprecated": "Use `hub_disconnected` instead.",
8349
+ "x-resource-type": "device"
8152
8350
  },
8153
8351
  {
8154
8352
  description: "Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).",
@@ -8177,7 +8375,8 @@ var openapi = {
8177
8375
  }
8178
8376
  },
8179
8377
  required: ["created_at", "message", "error_code"],
8180
- type: "object"
8378
+ type: "object",
8379
+ "x-resource-type": "connected_account"
8181
8380
  },
8182
8381
  {
8183
8382
  description: "Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.",
@@ -8206,7 +8405,8 @@ var openapi = {
8206
8405
  }
8207
8406
  },
8208
8407
  required: ["created_at", "message", "error_code"],
8209
- type: "object"
8408
+ type: "object",
8409
+ "x-resource-type": "connected_account"
8210
8410
  }
8211
8411
  ]
8212
8412
  },
@@ -9851,7 +10051,8 @@ var openapi = {
9851
10051
  }
9852
10052
  },
9853
10053
  required: ["created_at", "message", "error_code"],
9854
- type: "object"
10054
+ type: "object",
10055
+ "x-resource-type": "acs_access_group"
9855
10056
  }
9856
10057
  ]
9857
10058
  },
@@ -10755,7 +10956,8 @@ var openapi = {
10755
10956
  }
10756
10957
  },
10757
10958
  required: ["created_at", "message", "error_code"],
10758
- type: "object"
10959
+ type: "object",
10960
+ "x-resource-type": "acs_encoder"
10759
10961
  },
10760
10962
  type: "array"
10761
10963
  },
@@ -11288,7 +11490,7 @@ var openapi = {
11288
11490
  discriminator: { propertyName: "error_code" },
11289
11491
  oneOf: [
11290
11492
  {
11291
- description: "Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge), for example, if Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.\n This error might also occur if Seam Bridge is connected to the wrong [workspace](https://docs.seam.co/core-concepts/workspaces).\n See also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).",
11493
+ description: "Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge), for example, if Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.\nThis error might also occur if Seam Bridge is connected to the wrong [workspace](https://docs.seam.co/core-concepts/workspaces).\nSee also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).",
11292
11494
  properties: {
11293
11495
  created_at: {
11294
11496
  description: "Date and time at which Seam created the error.",
@@ -11306,10 +11508,11 @@ var openapi = {
11306
11508
  }
11307
11509
  },
11308
11510
  required: ["created_at", "message", "error_code"],
11309
- type: "object"
11511
+ type: "object",
11512
+ "x-resource-type": "acs_system"
11310
11513
  },
11311
11514
  {
11312
- description: "Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge), for example, if Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.\n See also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).",
11515
+ description: "Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge), for example, if Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline.\nSee also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).",
11313
11516
  properties: {
11314
11517
  created_at: {
11315
11518
  description: "Date and time at which Seam created the error.",
@@ -11331,10 +11534,11 @@ var openapi = {
11331
11534
  }
11332
11535
  },
11333
11536
  required: ["created_at", "message", "error_code"],
11334
- type: "object"
11537
+ type: "object",
11538
+ "x-resource-type": "acs_system"
11335
11539
  },
11336
11540
  {
11337
- description: "Indicates that [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge) is functioning correctly and the Seam API can communicate with Seam Bridge, but the Seam API cannot connect to the on-premises [Visionline access control system](https://docs.seam.co/device-and-system-integration-guides/assa-abloy-visionline-access-control-system).\n For example, the IP address of the on-premises access control system may be set incorrectly within the Seam [workspace](https://docs.seam.co/core-concepts/workspaces).\n See also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system.errors.visionline_instance_unreachable).",
11541
+ description: "Indicates that [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge) is functioning correctly and the Seam API can communicate with Seam Bridge, but the Seam API cannot connect to the on-premises [Visionline access control system](https://docs.seam.co/device-and-system-integration-guides/assa-abloy-visionline-access-control-system).\nFor example, the IP address of the on-premises access control system may be set incorrectly within the Seam [workspace](https://docs.seam.co/core-concepts/workspaces).\nSee also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system.errors.visionline_instance_unreachable).",
11338
11542
  properties: {
11339
11543
  created_at: {
11340
11544
  description: "Date and time at which Seam created the error.",
@@ -11352,7 +11556,8 @@ var openapi = {
11352
11556
  }
11353
11557
  },
11354
11558
  required: ["created_at", "message", "error_code"],
11355
- type: "object"
11559
+ type: "object",
11560
+ "x-resource-type": "acs_system"
11356
11561
  },
11357
11562
  {
11358
11563
  description: "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.",
@@ -11373,7 +11578,8 @@ var openapi = {
11373
11578
  }
11374
11579
  },
11375
11580
  required: ["created_at", "message", "error_code"],
11376
- type: "object"
11581
+ type: "object",
11582
+ "x-resource-type": "acs_system"
11377
11583
  },
11378
11584
  {
11379
11585
  description: "Indicates that the [access control system](https://docs.seam.co/low-level-apis/access-systems) has been disconnected. See [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system) to resolve the issue.",
@@ -11394,7 +11600,8 @@ var openapi = {
11394
11600
  }
11395
11601
  },
11396
11602
  required: ["created_at", "message", "error_code"],
11397
- type: "object"
11603
+ type: "object",
11604
+ "x-resource-type": "acs_system"
11398
11605
  },
11399
11606
  {
11400
11607
  description: "Indicates that the login credentials are invalid. Reconnect the account using a [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews) to restore access.",
@@ -11415,7 +11622,8 @@ var openapi = {
11415
11622
  }
11416
11623
  },
11417
11624
  required: ["created_at", "message", "error_code"],
11418
- type: "object"
11625
+ type: "object",
11626
+ "x-resource-type": "acs_system"
11419
11627
  },
11420
11628
  {
11421
11629
  description: "Indicates that the [access control system](https://docs.seam.co/low-level-apis/access-systems) has lost its Salto KS certification. Contact [support](mailto:support@seam.co) to regain access.",
@@ -11436,7 +11644,8 @@ var openapi = {
11436
11644
  }
11437
11645
  },
11438
11646
  required: ["created_at", "message", "error_code"],
11439
- type: "object"
11647
+ type: "object",
11648
+ "x-resource-type": "acs_system"
11440
11649
  },
11441
11650
  {
11442
11651
  description: "Indicates that the access control system provider's service is temporarily unavailable. Seam will automatically retry and reconnect when the service becomes available again.",
@@ -11457,7 +11666,8 @@ var openapi = {
11457
11666
  }
11458
11667
  },
11459
11668
  required: ["created_at", "message", "error_code"],
11460
- type: "object"
11669
+ type: "object",
11670
+ "x-resource-type": "acs_system"
11461
11671
  }
11462
11672
  ]
11463
11673
  },
@@ -11744,7 +11954,8 @@ var openapi = {
11744
11954
  }
11745
11955
  },
11746
11956
  required: ["created_at", "message", "error_code"],
11747
- type: "object"
11957
+ type: "object",
11958
+ "x-resource-type": "acs_user"
11748
11959
  },
11749
11960
  {
11750
11961
  description: "Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) could not be subscribed on Salto KS because the subscription limit has been exceeded.",
@@ -11764,7 +11975,8 @@ var openapi = {
11764
11975
  }
11765
11976
  },
11766
11977
  required: ["created_at", "message", "error_code"],
11767
- type: "object"
11978
+ type: "object",
11979
+ "x-resource-type": "acs_user"
11768
11980
  },
11769
11981
  {
11770
11982
  description: "Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) was not created on the [access system](https://docs.seam.co/low-level-apis/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).",
@@ -11784,7 +11996,8 @@ var openapi = {
11784
11996
  }
11785
11997
  },
11786
11998
  required: ["created_at", "message", "error_code"],
11787
- type: "object"
11999
+ type: "object",
12000
+ "x-resource-type": "acs_user"
11788
12001
  },
11789
12002
  {
11790
12003
  description: "Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) was not updated on the [access system](https://docs.seam.co/low-level-apis/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).",
@@ -11804,7 +12017,8 @@ var openapi = {
11804
12017
  }
11805
12018
  },
11806
12019
  required: ["created_at", "message", "error_code"],
11807
- type: "object"
12020
+ type: "object",
12021
+ "x-resource-type": "acs_user"
11808
12022
  },
11809
12023
  {
11810
12024
  description: "Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) was not deleted on the [access system](https://docs.seam.co/low-level-apis/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).",
@@ -11824,7 +12038,8 @@ var openapi = {
11824
12038
  }
11825
12039
  },
11826
12040
  required: ["created_at", "message", "error_code"],
11827
- type: "object"
12041
+ type: "object",
12042
+ "x-resource-type": "acs_user"
11828
12043
  },
11829
12044
  {
11830
12045
  description: "Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) was created from the Seam API but also exists on Mission Control. This is unsupported. Contact Seam [support](mailto:support@seam.co).",
@@ -11844,7 +12059,8 @@ var openapi = {
11844
12059
  }
11845
12060
  },
11846
12061
  required: ["created_at", "message", "error_code"],
11847
- type: "object"
12062
+ type: "object",
12063
+ "x-resource-type": "acs_user"
11848
12064
  }
11849
12065
  ]
11850
12066
  },
@@ -18055,7 +18271,8 @@ var openapi = {
18055
18271
  }
18056
18272
  },
18057
18273
  required: ["created_at", "message", "error_code"],
18058
- type: "object"
18274
+ type: "object",
18275
+ "x-resource-type": "connected_account"
18059
18276
  },
18060
18277
  {
18061
18278
  description: "Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).",
@@ -18084,7 +18301,8 @@ var openapi = {
18084
18301
  }
18085
18302
  },
18086
18303
  required: ["created_at", "message", "error_code"],
18087
- type: "object"
18304
+ type: "object",
18305
+ "x-resource-type": "connected_account"
18088
18306
  },
18089
18307
  {
18090
18308
  description: "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.",
@@ -18159,7 +18377,8 @@ var openapi = {
18159
18377
  "error_code",
18160
18378
  "salto_ks_metadata"
18161
18379
  ],
18162
- type: "object"
18380
+ type: "object",
18381
+ "x-resource-type": "connected_account"
18163
18382
  },
18164
18383
  {
18165
18384
  description: "Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.",
@@ -18188,7 +18407,8 @@ var openapi = {
18188
18407
  }
18189
18408
  },
18190
18409
  required: ["created_at", "message", "error_code"],
18191
- type: "object"
18410
+ type: "object",
18411
+ "x-resource-type": "connected_account"
18192
18412
  }
18193
18413
  ]
18194
18414
  },
@@ -18864,7 +19084,8 @@ var openapi = {
18864
19084
  "error_code",
18865
19085
  "is_connected_account_error"
18866
19086
  ],
18867
- type: "object"
19087
+ type: "object",
19088
+ "x-resource-type": "connected_account"
18868
19089
  },
18869
19090
  {
18870
19091
  description: "Indicates that the Salto site user limit has been reached.",
@@ -18902,6 +19123,7 @@ var openapi = {
18902
19123
  "is_connected_account_error"
18903
19124
  ],
18904
19125
  type: "object",
19126
+ "x-resource-type": "connected_account",
18905
19127
  "x-variant-group-key": "locks"
18906
19128
  },
18907
19129
  {
@@ -18935,7 +19157,8 @@ var openapi = {
18935
19157
  "error_code"
18936
19158
  ],
18937
19159
  type: "object",
18938
- "x-deprecated": "Use `device_disconnected` instead."
19160
+ "x-deprecated": "Use `device_disconnected` instead.",
19161
+ "x-resource-type": "device"
18939
19162
  },
18940
19163
  {
18941
19164
  description: "Indicates that the device has been removed.",
@@ -18966,7 +19189,8 @@ var openapi = {
18966
19189
  "created_at",
18967
19190
  "error_code"
18968
19191
  ],
18969
- type: "object"
19192
+ type: "object",
19193
+ "x-resource-type": "device"
18970
19194
  },
18971
19195
  {
18972
19196
  description: "Indicates that the hub is disconnected.",
@@ -18997,7 +19221,8 @@ var openapi = {
18997
19221
  "created_at",
18998
19222
  "error_code"
18999
19223
  ],
19000
- type: "object"
19224
+ type: "object",
19225
+ "x-resource-type": "device"
19001
19226
  },
19002
19227
  {
19003
19228
  description: "Indicates that the device is disconnected.",
@@ -19028,7 +19253,8 @@ var openapi = {
19028
19253
  "created_at",
19029
19254
  "error_code"
19030
19255
  ],
19031
- type: "object"
19256
+ type: "object",
19257
+ "x-resource-type": "device"
19032
19258
  },
19033
19259
  {
19034
19260
  description: "Indicates that the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is empty.",
@@ -19060,6 +19286,7 @@ var openapi = {
19060
19286
  "error_code"
19061
19287
  ],
19062
19288
  type: "object",
19289
+ "x-resource-type": "device",
19063
19290
  "x-variant-group-key": "access_codes"
19064
19291
  },
19065
19292
  {
@@ -19092,6 +19319,7 @@ var openapi = {
19092
19319
  "error_code"
19093
19320
  ],
19094
19321
  type: "object",
19322
+ "x-resource-type": "device",
19095
19323
  "x-variant-group-key": "locks"
19096
19324
  },
19097
19325
  {
@@ -19126,6 +19354,7 @@ var openapi = {
19126
19354
  ],
19127
19355
  type: "object",
19128
19356
  "x-deprecated": "Use `hub_disconnected` instead.",
19357
+ "x-resource-type": "device",
19129
19358
  "x-variant-group-key": "locks"
19130
19359
  },
19131
19360
  {
@@ -19159,7 +19388,8 @@ var openapi = {
19159
19388
  "error_code"
19160
19389
  ],
19161
19390
  type: "object",
19162
- "x-deprecated": "Use `hub_disconnected` instead."
19391
+ "x-deprecated": "Use `hub_disconnected` instead.",
19392
+ "x-resource-type": "device"
19163
19393
  },
19164
19394
  {
19165
19395
  description: "Indicates that device credentials are missing.",
@@ -19190,7 +19420,8 @@ var openapi = {
19190
19420
  "created_at",
19191
19421
  "error_code"
19192
19422
  ],
19193
- type: "object"
19423
+ type: "object",
19424
+ "x-resource-type": "device"
19194
19425
  },
19195
19426
  {
19196
19427
  description: "Indicates that the auxiliary heat is running.",
@@ -19222,6 +19453,7 @@ var openapi = {
19222
19453
  "error_code"
19223
19454
  ],
19224
19455
  type: "object",
19456
+ "x-resource-type": "device",
19225
19457
  "x-variant-group-key": "thermostats"
19226
19458
  },
19227
19459
  {
@@ -19253,7 +19485,8 @@ var openapi = {
19253
19485
  "created_at",
19254
19486
  "error_code"
19255
19487
  ],
19256
- type: "object"
19488
+ type: "object",
19489
+ "x-resource-type": "device"
19257
19490
  },
19258
19491
  {
19259
19492
  deprecated: true,
@@ -19286,7 +19519,8 @@ var openapi = {
19286
19519
  "error_code"
19287
19520
  ],
19288
19521
  type: "object",
19289
- "x-deprecated": "Use `hub_disconnected` instead."
19522
+ "x-deprecated": "Use `hub_disconnected` instead.",
19523
+ "x-resource-type": "device"
19290
19524
  },
19291
19525
  {
19292
19526
  description: "Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).",
@@ -19315,7 +19549,8 @@ var openapi = {
19315
19549
  }
19316
19550
  },
19317
19551
  required: ["created_at", "message", "error_code"],
19318
- type: "object"
19552
+ type: "object",
19553
+ "x-resource-type": "connected_account"
19319
19554
  },
19320
19555
  {
19321
19556
  description: "Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.",
@@ -19344,7 +19579,8 @@ var openapi = {
19344
19579
  }
19345
19580
  },
19346
19581
  required: ["created_at", "message", "error_code"],
19347
- type: "object"
19582
+ type: "object",
19583
+ "x-resource-type": "connected_account"
19348
19584
  }
19349
19585
  ]
19350
19586
  },
@@ -29954,6 +30190,21 @@ var openapi = {
29954
30190
  format: "uuid",
29955
30191
  type: "string"
29956
30192
  },
30193
+ acs_entrance_id: {
30194
+ description: "\n undocumented: Unreleased.\n ---\n ID of the ACS entrance associated with the access-denied event.\n ",
30195
+ format: "uuid",
30196
+ type: "string"
30197
+ },
30198
+ acs_system_id: {
30199
+ description: "\n undocumented: Unreleased.\n ---\n ID of the ACS system associated with the access-denied event.\n ",
30200
+ format: "uuid",
30201
+ type: "string"
30202
+ },
30203
+ acs_user_id: {
30204
+ description: "\n undocumented: Unreleased.\n ---\n ID of the ACS user associated with the access-denied event.\n ",
30205
+ format: "uuid",
30206
+ type: "string"
30207
+ },
29957
30208
  connected_account_custom_metadata: {
29958
30209
  additionalProperties: {
29959
30210
  oneOf: [{ type: "string" }, { type: "boolean" }]
@@ -29998,6 +30249,11 @@ var openapi = {
29998
30249
  format: "date-time",
29999
30250
  type: "string"
30000
30251
  },
30252
+ user_identity_id: {
30253
+ description: "\n undocumented: Unreleased.\n ---\n ID of the user identity associated with the access-denied event.\n ",
30254
+ format: "uuid",
30255
+ type: "string"
30256
+ },
30001
30257
  workspace_id: {
30002
30258
  description: "ID of the workspace associated with the event.",
30003
30259
  format: "uuid",
@@ -30009,7 +30265,6 @@ var openapi = {
30009
30265
  "workspace_id",
30010
30266
  "created_at",
30011
30267
  "occurred_at",
30012
- "device_id",
30013
30268
  "connected_account_id",
30014
30269
  "event_type"
30015
30270
  ],
@@ -33000,7 +33255,8 @@ var openapi = {
33000
33255
  }
33001
33256
  },
33002
33257
  required: ["message", "is_access_code_error", "error_code"],
33003
- type: "object"
33258
+ type: "object",
33259
+ "x-resource-type": "access_code"
33004
33260
  },
33005
33261
  {
33006
33262
  description: "Failed to set code on device.",
@@ -33026,7 +33282,8 @@ var openapi = {
33026
33282
  }
33027
33283
  },
33028
33284
  required: ["message", "is_access_code_error", "error_code"],
33029
- type: "object"
33285
+ type: "object",
33286
+ "x-resource-type": "access_code"
33030
33287
  },
33031
33288
  {
33032
33289
  description: "Failed to remove code from device.",
@@ -33052,7 +33309,8 @@ var openapi = {
33052
33309
  }
33053
33310
  },
33054
33311
  required: ["message", "is_access_code_error", "error_code"],
33055
- type: "object"
33312
+ type: "object",
33313
+ "x-resource-type": "access_code"
33056
33314
  },
33057
33315
  {
33058
33316
  description: "Duplicate access code detected on device.",
@@ -33088,7 +33346,8 @@ var openapi = {
33088
33346
  }
33089
33347
  },
33090
33348
  required: ["message", "is_access_code_error", "error_code"],
33091
- type: "object"
33349
+ type: "object",
33350
+ "x-resource-type": "access_code"
33092
33351
  },
33093
33352
  {
33094
33353
  description: "An attempt to modify this access code was prevented.",
@@ -33114,7 +33373,8 @@ var openapi = {
33114
33373
  }
33115
33374
  },
33116
33375
  required: ["message", "is_access_code_error", "error_code"],
33117
- type: "object"
33376
+ type: "object",
33377
+ "x-resource-type": "access_code"
33118
33378
  },
33119
33379
  {
33120
33380
  description: "No space for access code on device.",
@@ -33140,7 +33400,8 @@ var openapi = {
33140
33400
  }
33141
33401
  },
33142
33402
  required: ["message", "is_access_code_error", "error_code"],
33143
- type: "object"
33403
+ type: "object",
33404
+ "x-resource-type": "access_code"
33144
33405
  },
33145
33406
  {
33146
33407
  description: "Indicates that the provider cannot confirm whether the access code was set or removed on the device.",
@@ -33166,7 +33427,8 @@ var openapi = {
33166
33427
  }
33167
33428
  },
33168
33429
  required: ["message", "is_access_code_error", "error_code"],
33169
- type: "object"
33430
+ type: "object",
33431
+ "x-resource-type": "access_code"
33170
33432
  },
33171
33433
  {
33172
33434
  description: "Code was modified or removed externally after Seam successfully set it on the device.",
@@ -33221,7 +33483,8 @@ var openapi = {
33221
33483
  }
33222
33484
  },
33223
33485
  required: ["message", "is_access_code_error", "error_code"],
33224
- type: "object"
33486
+ type: "object",
33487
+ "x-resource-type": "access_code"
33225
33488
  },
33226
33489
  {
33227
33490
  description: "Indicates that the access code is disabled or inactive on the device. The code exists but will not grant access until re-enabled.",
@@ -33247,7 +33510,8 @@ var openapi = {
33247
33510
  }
33248
33511
  },
33249
33512
  required: ["message", "is_access_code_error", "error_code"],
33250
- type: "object"
33513
+ type: "object",
33514
+ "x-resource-type": "access_code"
33251
33515
  },
33252
33516
  {
33253
33517
  deprecated: true,
@@ -33275,7 +33539,8 @@ var openapi = {
33275
33539
  },
33276
33540
  required: ["message", "is_access_code_error", "error_code"],
33277
33541
  type: "object",
33278
- "x-deprecated": "Use `access_code_inactive` instead."
33542
+ "x-deprecated": "Use `access_code_inactive` instead.",
33543
+ "x-resource-type": "access_code"
33279
33544
  },
33280
33545
  {
33281
33546
  description: "Admin role required\u2014insufficient permissions to manage PINs on this device. Please have an admin update your role, or ask them to set the PIN.",
@@ -33301,7 +33566,8 @@ var openapi = {
33301
33566
  }
33302
33567
  },
33303
33568
  required: ["message", "is_access_code_error", "error_code"],
33304
- type: "object"
33569
+ type: "object",
33570
+ "x-resource-type": "access_code"
33305
33571
  },
33306
33572
  {
33307
33573
  description: "This access code was overridden on the device by a newer access code programmed to the same slot.",
@@ -33327,7 +33593,8 @@ var openapi = {
33327
33593
  }
33328
33594
  },
33329
33595
  required: ["message", "is_access_code_error", "error_code"],
33330
- type: "object"
33596
+ type: "object",
33597
+ "x-resource-type": "access_code"
33331
33598
  },
33332
33599
  {
33333
33600
  description: "Indicates that the account is disconnected.",
@@ -33364,7 +33631,8 @@ var openapi = {
33364
33631
  "error_code",
33365
33632
  "is_connected_account_error"
33366
33633
  ],
33367
- type: "object"
33634
+ type: "object",
33635
+ "x-resource-type": "connected_account"
33368
33636
  },
33369
33637
  {
33370
33638
  description: "Indicates that the Salto site user limit has been reached.",
@@ -33402,6 +33670,7 @@ var openapi = {
33402
33670
  "is_connected_account_error"
33403
33671
  ],
33404
33672
  type: "object",
33673
+ "x-resource-type": "connected_account",
33405
33674
  "x-variant-group-key": "locks"
33406
33675
  },
33407
33676
  {
@@ -33435,7 +33704,8 @@ var openapi = {
33435
33704
  "error_code"
33436
33705
  ],
33437
33706
  type: "object",
33438
- "x-deprecated": "Use `device_disconnected` instead."
33707
+ "x-deprecated": "Use `device_disconnected` instead.",
33708
+ "x-resource-type": "device"
33439
33709
  },
33440
33710
  {
33441
33711
  description: "Indicates that the device has been removed.",
@@ -33466,7 +33736,8 @@ var openapi = {
33466
33736
  "created_at",
33467
33737
  "error_code"
33468
33738
  ],
33469
- type: "object"
33739
+ type: "object",
33740
+ "x-resource-type": "device"
33470
33741
  },
33471
33742
  {
33472
33743
  description: "Indicates that the hub is disconnected.",
@@ -33497,7 +33768,8 @@ var openapi = {
33497
33768
  "created_at",
33498
33769
  "error_code"
33499
33770
  ],
33500
- type: "object"
33771
+ type: "object",
33772
+ "x-resource-type": "device"
33501
33773
  },
33502
33774
  {
33503
33775
  description: "Indicates that the device is disconnected.",
@@ -33528,7 +33800,8 @@ var openapi = {
33528
33800
  "created_at",
33529
33801
  "error_code"
33530
33802
  ],
33531
- type: "object"
33803
+ type: "object",
33804
+ "x-resource-type": "device"
33532
33805
  },
33533
33806
  {
33534
33807
  description: "Indicates that the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is empty.",
@@ -33560,6 +33833,7 @@ var openapi = {
33560
33833
  "error_code"
33561
33834
  ],
33562
33835
  type: "object",
33836
+ "x-resource-type": "device",
33563
33837
  "x-variant-group-key": "access_codes"
33564
33838
  },
33565
33839
  {
@@ -33592,6 +33866,7 @@ var openapi = {
33592
33866
  "error_code"
33593
33867
  ],
33594
33868
  type: "object",
33869
+ "x-resource-type": "device",
33595
33870
  "x-variant-group-key": "locks"
33596
33871
  },
33597
33872
  {
@@ -33626,6 +33901,7 @@ var openapi = {
33626
33901
  ],
33627
33902
  type: "object",
33628
33903
  "x-deprecated": "Use `hub_disconnected` instead.",
33904
+ "x-resource-type": "device",
33629
33905
  "x-variant-group-key": "locks"
33630
33906
  },
33631
33907
  {
@@ -33659,7 +33935,8 @@ var openapi = {
33659
33935
  "error_code"
33660
33936
  ],
33661
33937
  type: "object",
33662
- "x-deprecated": "Use `hub_disconnected` instead."
33938
+ "x-deprecated": "Use `hub_disconnected` instead.",
33939
+ "x-resource-type": "device"
33663
33940
  },
33664
33941
  {
33665
33942
  description: "Indicates that device credentials are missing.",
@@ -33690,7 +33967,8 @@ var openapi = {
33690
33967
  "created_at",
33691
33968
  "error_code"
33692
33969
  ],
33693
- type: "object"
33970
+ type: "object",
33971
+ "x-resource-type": "device"
33694
33972
  },
33695
33973
  {
33696
33974
  description: "Indicates that the auxiliary heat is running.",
@@ -33722,6 +34000,7 @@ var openapi = {
33722
34000
  "error_code"
33723
34001
  ],
33724
34002
  type: "object",
34003
+ "x-resource-type": "device",
33725
34004
  "x-variant-group-key": "thermostats"
33726
34005
  },
33727
34006
  {
@@ -33753,7 +34032,8 @@ var openapi = {
33753
34032
  "created_at",
33754
34033
  "error_code"
33755
34034
  ],
33756
- type: "object"
34035
+ type: "object",
34036
+ "x-resource-type": "device"
33757
34037
  },
33758
34038
  {
33759
34039
  deprecated: true,
@@ -33786,7 +34066,8 @@ var openapi = {
33786
34066
  "error_code"
33787
34067
  ],
33788
34068
  type: "object",
33789
- "x-deprecated": "Use `hub_disconnected` instead."
34069
+ "x-deprecated": "Use `hub_disconnected` instead.",
34070
+ "x-resource-type": "device"
33790
34071
  },
33791
34072
  {
33792
34073
  description: "Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).",
@@ -33815,7 +34096,8 @@ var openapi = {
33815
34096
  }
33816
34097
  },
33817
34098
  required: ["created_at", "message", "error_code"],
33818
- type: "object"
34099
+ type: "object",
34100
+ "x-resource-type": "connected_account"
33819
34101
  },
33820
34102
  {
33821
34103
  description: "Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.",
@@ -33844,7 +34126,8 @@ var openapi = {
33844
34126
  }
33845
34127
  },
33846
34128
  required: ["created_at", "message", "error_code"],
33847
- type: "object"
34129
+ type: "object",
34130
+ "x-resource-type": "connected_account"
33848
34131
  }
33849
34132
  ]
33850
34133
  },
@@ -34298,7 +34581,8 @@ var openapi = {
34298
34581
  }
34299
34582
  },
34300
34583
  required: ["created_at", "message", "error_code"],
34301
- type: "object"
34584
+ type: "object",
34585
+ "x-resource-type": "acs_access_group"
34302
34586
  }
34303
34587
  ]
34304
34588
  },
@@ -35179,7 +35463,8 @@ var openapi = {
35179
35463
  }
35180
35464
  },
35181
35465
  required: ["created_at", "message", "error_code"],
35182
- type: "object"
35466
+ type: "object",
35467
+ "x-resource-type": "acs_user"
35183
35468
  },
35184
35469
  {
35185
35470
  description: "Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) could not be subscribed on Salto KS because the subscription limit has been exceeded.",
@@ -35199,7 +35484,8 @@ var openapi = {
35199
35484
  }
35200
35485
  },
35201
35486
  required: ["created_at", "message", "error_code"],
35202
- type: "object"
35487
+ type: "object",
35488
+ "x-resource-type": "acs_user"
35203
35489
  },
35204
35490
  {
35205
35491
  description: "Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) was not created on the [access system](https://docs.seam.co/low-level-apis/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).",
@@ -35219,7 +35505,8 @@ var openapi = {
35219
35505
  }
35220
35506
  },
35221
35507
  required: ["created_at", "message", "error_code"],
35222
- type: "object"
35508
+ type: "object",
35509
+ "x-resource-type": "acs_user"
35223
35510
  },
35224
35511
  {
35225
35512
  description: "Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) was not updated on the [access system](https://docs.seam.co/low-level-apis/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).",
@@ -35239,7 +35526,8 @@ var openapi = {
35239
35526
  }
35240
35527
  },
35241
35528
  required: ["created_at", "message", "error_code"],
35242
- type: "object"
35529
+ type: "object",
35530
+ "x-resource-type": "acs_user"
35243
35531
  },
35244
35532
  {
35245
35533
  description: "Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) was not deleted on the [access system](https://docs.seam.co/low-level-apis/access-systems). This is likely due to an internal unexpected error. Contact Seam [support](mailto:support@seam.co).",
@@ -35259,7 +35547,8 @@ var openapi = {
35259
35547
  }
35260
35548
  },
35261
35549
  required: ["created_at", "message", "error_code"],
35262
- type: "object"
35550
+ type: "object",
35551
+ "x-resource-type": "acs_user"
35263
35552
  },
35264
35553
  {
35265
35554
  description: "Indicates that the [access system user](https://docs.seam.co/low-level-apis/access-systems/user-management) was created from the Seam API but also exists on Mission Control. This is unsupported. Contact Seam [support](mailto:support@seam.co).",
@@ -35279,7 +35568,8 @@ var openapi = {
35279
35568
  }
35280
35569
  },
35281
35570
  required: ["created_at", "message", "error_code"],
35282
- type: "object"
35571
+ type: "object",
35572
+ "x-resource-type": "acs_user"
35283
35573
  }
35284
35574
  ]
35285
35575
  },
@@ -36098,7 +36388,8 @@ var openapi = {
36098
36388
  "error_code",
36099
36389
  "is_connected_account_error"
36100
36390
  ],
36101
- type: "object"
36391
+ type: "object",
36392
+ "x-resource-type": "connected_account"
36102
36393
  },
36103
36394
  {
36104
36395
  description: "Indicates that the Salto site user limit has been reached.",
@@ -36136,6 +36427,7 @@ var openapi = {
36136
36427
  "is_connected_account_error"
36137
36428
  ],
36138
36429
  type: "object",
36430
+ "x-resource-type": "connected_account",
36139
36431
  "x-variant-group-key": "locks"
36140
36432
  },
36141
36433
  {
@@ -36169,7 +36461,8 @@ var openapi = {
36169
36461
  "error_code"
36170
36462
  ],
36171
36463
  type: "object",
36172
- "x-deprecated": "Use `device_disconnected` instead."
36464
+ "x-deprecated": "Use `device_disconnected` instead.",
36465
+ "x-resource-type": "device"
36173
36466
  },
36174
36467
  {
36175
36468
  description: "Indicates that the device has been removed.",
@@ -36200,7 +36493,8 @@ var openapi = {
36200
36493
  "created_at",
36201
36494
  "error_code"
36202
36495
  ],
36203
- type: "object"
36496
+ type: "object",
36497
+ "x-resource-type": "device"
36204
36498
  },
36205
36499
  {
36206
36500
  description: "Indicates that the hub is disconnected.",
@@ -36231,7 +36525,8 @@ var openapi = {
36231
36525
  "created_at",
36232
36526
  "error_code"
36233
36527
  ],
36234
- type: "object"
36528
+ type: "object",
36529
+ "x-resource-type": "device"
36235
36530
  },
36236
36531
  {
36237
36532
  description: "Indicates that the device is disconnected.",
@@ -36262,7 +36557,8 @@ var openapi = {
36262
36557
  "created_at",
36263
36558
  "error_code"
36264
36559
  ],
36265
- type: "object"
36560
+ type: "object",
36561
+ "x-resource-type": "device"
36266
36562
  },
36267
36563
  {
36268
36564
  description: "Indicates that the [backup access code pool](https://docs.seam.co/low-level-apis/smart-locks/access-codes/backup-access-codes) is empty.",
@@ -36294,6 +36590,7 @@ var openapi = {
36294
36590
  "error_code"
36295
36591
  ],
36296
36592
  type: "object",
36593
+ "x-resource-type": "device",
36297
36594
  "x-variant-group-key": "access_codes"
36298
36595
  },
36299
36596
  {
@@ -36326,6 +36623,7 @@ var openapi = {
36326
36623
  "error_code"
36327
36624
  ],
36328
36625
  type: "object",
36626
+ "x-resource-type": "device",
36329
36627
  "x-variant-group-key": "locks"
36330
36628
  },
36331
36629
  {
@@ -36360,6 +36658,7 @@ var openapi = {
36360
36658
  ],
36361
36659
  type: "object",
36362
36660
  "x-deprecated": "Use `hub_disconnected` instead.",
36661
+ "x-resource-type": "device",
36363
36662
  "x-variant-group-key": "locks"
36364
36663
  },
36365
36664
  {
@@ -36393,7 +36692,8 @@ var openapi = {
36393
36692
  "error_code"
36394
36693
  ],
36395
36694
  type: "object",
36396
- "x-deprecated": "Use `hub_disconnected` instead."
36695
+ "x-deprecated": "Use `hub_disconnected` instead.",
36696
+ "x-resource-type": "device"
36397
36697
  },
36398
36698
  {
36399
36699
  description: "Indicates that device credentials are missing.",
@@ -36424,7 +36724,8 @@ var openapi = {
36424
36724
  "created_at",
36425
36725
  "error_code"
36426
36726
  ],
36427
- type: "object"
36727
+ type: "object",
36728
+ "x-resource-type": "device"
36428
36729
  },
36429
36730
  {
36430
36731
  description: "Indicates that the auxiliary heat is running.",
@@ -36456,6 +36757,7 @@ var openapi = {
36456
36757
  "error_code"
36457
36758
  ],
36458
36759
  type: "object",
36760
+ "x-resource-type": "device",
36459
36761
  "x-variant-group-key": "thermostats"
36460
36762
  },
36461
36763
  {
@@ -36487,7 +36789,8 @@ var openapi = {
36487
36789
  "created_at",
36488
36790
  "error_code"
36489
36791
  ],
36490
- type: "object"
36792
+ type: "object",
36793
+ "x-resource-type": "device"
36491
36794
  },
36492
36795
  {
36493
36796
  deprecated: true,
@@ -36520,7 +36823,8 @@ var openapi = {
36520
36823
  "error_code"
36521
36824
  ],
36522
36825
  type: "object",
36523
- "x-deprecated": "Use `hub_disconnected` instead."
36826
+ "x-deprecated": "Use `hub_disconnected` instead.",
36827
+ "x-resource-type": "device"
36524
36828
  },
36525
36829
  {
36526
36830
  description: "Indicates that the Seam API cannot communicate with [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See also [Troubleshooting Your Access Control System](https://docs.seam.co/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system.errors.seam_bridge_disconnected).",
@@ -36549,7 +36853,8 @@ var openapi = {
36549
36853
  }
36550
36854
  },
36551
36855
  required: ["created_at", "message", "error_code"],
36552
- type: "object"
36856
+ type: "object",
36857
+ "x-resource-type": "connected_account"
36553
36858
  },
36554
36859
  {
36555
36860
  description: "Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.",
@@ -36578,7 +36883,8 @@ var openapi = {
36578
36883
  }
36579
36884
  },
36580
36885
  required: ["created_at", "message", "error_code"],
36581
- type: "object"
36886
+ type: "object",
36887
+ "x-resource-type": "connected_account"
36582
36888
  }
36583
36889
  ]
36584
36890
  },