@seamapi/types 1.918.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 (29) hide show
  1. package/dist/connect.cjs +450 -184
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/index.cjs +450 -184
  4. package/dist/index.cjs.map +1 -1
  5. package/lib/seam/connect/models/access-codes/managed-access-code.js +78 -44
  6. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  7. package/lib/seam/connect/models/acs/acs-access-group.js +7 -4
  8. package/lib/seam/connect/models/acs/acs-access-group.js.map +1 -1
  9. package/lib/seam/connect/models/acs/acs-encoder.js +7 -3
  10. package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
  11. package/lib/seam/connect/models/acs/acs-system.js +58 -31
  12. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  13. package/lib/seam/connect/models/acs/acs-users/acs-user.js +42 -24
  14. package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
  15. package/lib/seam/connect/models/connected-accounts/connected-account.js +29 -19
  16. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  17. package/lib/seam/connect/models/devices/device.js +51 -27
  18. package/lib/seam/connect/models/devices/device.js.map +1 -1
  19. package/lib/seam/connect/openapi.js +118 -3
  20. package/lib/seam/connect/openapi.js.map +1 -1
  21. package/package.json +1 -1
  22. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +136 -114
  23. package/src/lib/seam/connect/models/acs/acs-access-group.ts +10 -9
  24. package/src/lib/seam/connect/models/acs/acs-encoder.ts +7 -5
  25. package/src/lib/seam/connect/models/acs/acs-system.ts +73 -56
  26. package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +48 -40
  27. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +78 -73
  28. package/src/lib/seam/connect/models/devices/device.ts +70 -46
  29. package/src/lib/seam/connect/openapi.ts +118 -3
package/dist/connect.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,
@@ -7383,7 +7534,8 @@ var openapi = {
7383
7534
  }
7384
7535
  },
7385
7536
  required: ["message", "is_access_code_error", "error_code"],
7386
- type: "object"
7537
+ type: "object",
7538
+ "x-resource-type": "access_code"
7387
7539
  },
7388
7540
  {
7389
7541
  description: "Failed to set code on device.",
@@ -7409,7 +7561,8 @@ var openapi = {
7409
7561
  }
7410
7562
  },
7411
7563
  required: ["message", "is_access_code_error", "error_code"],
7412
- type: "object"
7564
+ type: "object",
7565
+ "x-resource-type": "access_code"
7413
7566
  },
7414
7567
  {
7415
7568
  description: "Failed to remove code from device.",
@@ -7435,7 +7588,8 @@ var openapi = {
7435
7588
  }
7436
7589
  },
7437
7590
  required: ["message", "is_access_code_error", "error_code"],
7438
- type: "object"
7591
+ type: "object",
7592
+ "x-resource-type": "access_code"
7439
7593
  },
7440
7594
  {
7441
7595
  description: "Duplicate access code detected on device.",
@@ -7471,7 +7625,8 @@ var openapi = {
7471
7625
  }
7472
7626
  },
7473
7627
  required: ["message", "is_access_code_error", "error_code"],
7474
- type: "object"
7628
+ type: "object",
7629
+ "x-resource-type": "access_code"
7475
7630
  },
7476
7631
  {
7477
7632
  description: "An attempt to modify this access code was prevented.",
@@ -7497,7 +7652,8 @@ var openapi = {
7497
7652
  }
7498
7653
  },
7499
7654
  required: ["message", "is_access_code_error", "error_code"],
7500
- type: "object"
7655
+ type: "object",
7656
+ "x-resource-type": "access_code"
7501
7657
  },
7502
7658
  {
7503
7659
  description: "No space for access code on device.",
@@ -7523,7 +7679,8 @@ var openapi = {
7523
7679
  }
7524
7680
  },
7525
7681
  required: ["message", "is_access_code_error", "error_code"],
7526
- type: "object"
7682
+ type: "object",
7683
+ "x-resource-type": "access_code"
7527
7684
  },
7528
7685
  {
7529
7686
  description: "Indicates that the provider cannot confirm whether the access code was set or removed on the device.",
@@ -7549,7 +7706,8 @@ var openapi = {
7549
7706
  }
7550
7707
  },
7551
7708
  required: ["message", "is_access_code_error", "error_code"],
7552
- type: "object"
7709
+ type: "object",
7710
+ "x-resource-type": "access_code"
7553
7711
  },
7554
7712
  {
7555
7713
  description: "Code was modified or removed externally after Seam successfully set it on the device.",
@@ -7604,7 +7762,8 @@ var openapi = {
7604
7762
  }
7605
7763
  },
7606
7764
  required: ["message", "is_access_code_error", "error_code"],
7607
- type: "object"
7765
+ type: "object",
7766
+ "x-resource-type": "access_code"
7608
7767
  },
7609
7768
  {
7610
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.",
@@ -7630,7 +7789,8 @@ var openapi = {
7630
7789
  }
7631
7790
  },
7632
7791
  required: ["message", "is_access_code_error", "error_code"],
7633
- type: "object"
7792
+ type: "object",
7793
+ "x-resource-type": "access_code"
7634
7794
  },
7635
7795
  {
7636
7796
  deprecated: true,
@@ -7658,7 +7818,8 @@ var openapi = {
7658
7818
  },
7659
7819
  required: ["message", "is_access_code_error", "error_code"],
7660
7820
  type: "object",
7661
- "x-deprecated": "Use `access_code_inactive` instead."
7821
+ "x-deprecated": "Use `access_code_inactive` instead.",
7822
+ "x-resource-type": "access_code"
7662
7823
  },
7663
7824
  {
7664
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.",
@@ -7684,7 +7845,8 @@ var openapi = {
7684
7845
  }
7685
7846
  },
7686
7847
  required: ["message", "is_access_code_error", "error_code"],
7687
- type: "object"
7848
+ type: "object",
7849
+ "x-resource-type": "access_code"
7688
7850
  },
7689
7851
  {
7690
7852
  description: "This access code was overridden on the device by a newer access code programmed to the same slot.",
@@ -7710,7 +7872,8 @@ var openapi = {
7710
7872
  }
7711
7873
  },
7712
7874
  required: ["message", "is_access_code_error", "error_code"],
7713
- type: "object"
7875
+ type: "object",
7876
+ "x-resource-type": "access_code"
7714
7877
  },
7715
7878
  {
7716
7879
  description: "Indicates that the account is disconnected.",
@@ -7747,7 +7910,8 @@ var openapi = {
7747
7910
  "error_code",
7748
7911
  "is_connected_account_error"
7749
7912
  ],
7750
- type: "object"
7913
+ type: "object",
7914
+ "x-resource-type": "connected_account"
7751
7915
  },
7752
7916
  {
7753
7917
  description: "Indicates that the Salto site user limit has been reached.",
@@ -7785,6 +7949,7 @@ var openapi = {
7785
7949
  "is_connected_account_error"
7786
7950
  ],
7787
7951
  type: "object",
7952
+ "x-resource-type": "connected_account",
7788
7953
  "x-variant-group-key": "locks"
7789
7954
  },
7790
7955
  {
@@ -7818,7 +7983,8 @@ var openapi = {
7818
7983
  "error_code"
7819
7984
  ],
7820
7985
  type: "object",
7821
- "x-deprecated": "Use `device_disconnected` instead."
7986
+ "x-deprecated": "Use `device_disconnected` instead.",
7987
+ "x-resource-type": "device"
7822
7988
  },
7823
7989
  {
7824
7990
  description: "Indicates that the device has been removed.",
@@ -7849,7 +8015,8 @@ var openapi = {
7849
8015
  "created_at",
7850
8016
  "error_code"
7851
8017
  ],
7852
- type: "object"
8018
+ type: "object",
8019
+ "x-resource-type": "device"
7853
8020
  },
7854
8021
  {
7855
8022
  description: "Indicates that the hub is disconnected.",
@@ -7880,7 +8047,8 @@ var openapi = {
7880
8047
  "created_at",
7881
8048
  "error_code"
7882
8049
  ],
7883
- type: "object"
8050
+ type: "object",
8051
+ "x-resource-type": "device"
7884
8052
  },
7885
8053
  {
7886
8054
  description: "Indicates that the device is disconnected.",
@@ -7911,7 +8079,8 @@ var openapi = {
7911
8079
  "created_at",
7912
8080
  "error_code"
7913
8081
  ],
7914
- type: "object"
8082
+ type: "object",
8083
+ "x-resource-type": "device"
7915
8084
  },
7916
8085
  {
7917
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.",
@@ -7943,6 +8112,7 @@ var openapi = {
7943
8112
  "error_code"
7944
8113
  ],
7945
8114
  type: "object",
8115
+ "x-resource-type": "device",
7946
8116
  "x-variant-group-key": "access_codes"
7947
8117
  },
7948
8118
  {
@@ -7975,6 +8145,7 @@ var openapi = {
7975
8145
  "error_code"
7976
8146
  ],
7977
8147
  type: "object",
8148
+ "x-resource-type": "device",
7978
8149
  "x-variant-group-key": "locks"
7979
8150
  },
7980
8151
  {
@@ -8009,6 +8180,7 @@ var openapi = {
8009
8180
  ],
8010
8181
  type: "object",
8011
8182
  "x-deprecated": "Use `hub_disconnected` instead.",
8183
+ "x-resource-type": "device",
8012
8184
  "x-variant-group-key": "locks"
8013
8185
  },
8014
8186
  {
@@ -8042,7 +8214,8 @@ var openapi = {
8042
8214
  "error_code"
8043
8215
  ],
8044
8216
  type: "object",
8045
- "x-deprecated": "Use `hub_disconnected` instead."
8217
+ "x-deprecated": "Use `hub_disconnected` instead.",
8218
+ "x-resource-type": "device"
8046
8219
  },
8047
8220
  {
8048
8221
  description: "Indicates that device credentials are missing.",
@@ -8073,7 +8246,8 @@ var openapi = {
8073
8246
  "created_at",
8074
8247
  "error_code"
8075
8248
  ],
8076
- type: "object"
8249
+ type: "object",
8250
+ "x-resource-type": "device"
8077
8251
  },
8078
8252
  {
8079
8253
  description: "Indicates that the auxiliary heat is running.",
@@ -8105,6 +8279,7 @@ var openapi = {
8105
8279
  "error_code"
8106
8280
  ],
8107
8281
  type: "object",
8282
+ "x-resource-type": "device",
8108
8283
  "x-variant-group-key": "thermostats"
8109
8284
  },
8110
8285
  {
@@ -8136,7 +8311,8 @@ var openapi = {
8136
8311
  "created_at",
8137
8312
  "error_code"
8138
8313
  ],
8139
- type: "object"
8314
+ type: "object",
8315
+ "x-resource-type": "device"
8140
8316
  },
8141
8317
  {
8142
8318
  deprecated: true,
@@ -8169,7 +8345,8 @@ var openapi = {
8169
8345
  "error_code"
8170
8346
  ],
8171
8347
  type: "object",
8172
- "x-deprecated": "Use `hub_disconnected` instead."
8348
+ "x-deprecated": "Use `hub_disconnected` instead.",
8349
+ "x-resource-type": "device"
8173
8350
  },
8174
8351
  {
8175
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).",
@@ -8198,7 +8375,8 @@ var openapi = {
8198
8375
  }
8199
8376
  },
8200
8377
  required: ["created_at", "message", "error_code"],
8201
- type: "object"
8378
+ type: "object",
8379
+ "x-resource-type": "connected_account"
8202
8380
  },
8203
8381
  {
8204
8382
  description: "Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.",
@@ -8227,7 +8405,8 @@ var openapi = {
8227
8405
  }
8228
8406
  },
8229
8407
  required: ["created_at", "message", "error_code"],
8230
- type: "object"
8408
+ type: "object",
8409
+ "x-resource-type": "connected_account"
8231
8410
  }
8232
8411
  ]
8233
8412
  },
@@ -9872,7 +10051,8 @@ var openapi = {
9872
10051
  }
9873
10052
  },
9874
10053
  required: ["created_at", "message", "error_code"],
9875
- type: "object"
10054
+ type: "object",
10055
+ "x-resource-type": "acs_access_group"
9876
10056
  }
9877
10057
  ]
9878
10058
  },
@@ -10776,7 +10956,8 @@ var openapi = {
10776
10956
  }
10777
10957
  },
10778
10958
  required: ["created_at", "message", "error_code"],
10779
- type: "object"
10959
+ type: "object",
10960
+ "x-resource-type": "acs_encoder"
10780
10961
  },
10781
10962
  type: "array"
10782
10963
  },
@@ -11309,7 +11490,7 @@ var openapi = {
11309
11490
  discriminator: { propertyName: "error_code" },
11310
11491
  oneOf: [
11311
11492
  {
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 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).",
11313
11494
  properties: {
11314
11495
  created_at: {
11315
11496
  description: "Date and time at which Seam created the error.",
@@ -11327,10 +11508,11 @@ var openapi = {
11327
11508
  }
11328
11509
  },
11329
11510
  required: ["created_at", "message", "error_code"],
11330
- type: "object"
11511
+ type: "object",
11512
+ "x-resource-type": "acs_system"
11331
11513
  },
11332
11514
  {
11333
- 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).",
11334
11516
  properties: {
11335
11517
  created_at: {
11336
11518
  description: "Date and time at which Seam created the error.",
@@ -11352,10 +11534,11 @@ var openapi = {
11352
11534
  }
11353
11535
  },
11354
11536
  required: ["created_at", "message", "error_code"],
11355
- type: "object"
11537
+ type: "object",
11538
+ "x-resource-type": "acs_system"
11356
11539
  },
11357
11540
  {
11358
- 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).",
11359
11542
  properties: {
11360
11543
  created_at: {
11361
11544
  description: "Date and time at which Seam created the error.",
@@ -11373,7 +11556,8 @@ var openapi = {
11373
11556
  }
11374
11557
  },
11375
11558
  required: ["created_at", "message", "error_code"],
11376
- type: "object"
11559
+ type: "object",
11560
+ "x-resource-type": "acs_system"
11377
11561
  },
11378
11562
  {
11379
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.",
@@ -11394,7 +11578,8 @@ var openapi = {
11394
11578
  }
11395
11579
  },
11396
11580
  required: ["created_at", "message", "error_code"],
11397
- type: "object"
11581
+ type: "object",
11582
+ "x-resource-type": "acs_system"
11398
11583
  },
11399
11584
  {
11400
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.",
@@ -11415,7 +11600,8 @@ var openapi = {
11415
11600
  }
11416
11601
  },
11417
11602
  required: ["created_at", "message", "error_code"],
11418
- type: "object"
11603
+ type: "object",
11604
+ "x-resource-type": "acs_system"
11419
11605
  },
11420
11606
  {
11421
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.",
@@ -11436,7 +11622,8 @@ var openapi = {
11436
11622
  }
11437
11623
  },
11438
11624
  required: ["created_at", "message", "error_code"],
11439
- type: "object"
11625
+ type: "object",
11626
+ "x-resource-type": "acs_system"
11440
11627
  },
11441
11628
  {
11442
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.",
@@ -11457,7 +11644,8 @@ var openapi = {
11457
11644
  }
11458
11645
  },
11459
11646
  required: ["created_at", "message", "error_code"],
11460
- type: "object"
11647
+ type: "object",
11648
+ "x-resource-type": "acs_system"
11461
11649
  },
11462
11650
  {
11463
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.",
@@ -11478,7 +11666,8 @@ var openapi = {
11478
11666
  }
11479
11667
  },
11480
11668
  required: ["created_at", "message", "error_code"],
11481
- type: "object"
11669
+ type: "object",
11670
+ "x-resource-type": "acs_system"
11482
11671
  }
11483
11672
  ]
11484
11673
  },
@@ -11765,7 +11954,8 @@ var openapi = {
11765
11954
  }
11766
11955
  },
11767
11956
  required: ["created_at", "message", "error_code"],
11768
- type: "object"
11957
+ type: "object",
11958
+ "x-resource-type": "acs_user"
11769
11959
  },
11770
11960
  {
11771
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.",
@@ -11785,7 +11975,8 @@ var openapi = {
11785
11975
  }
11786
11976
  },
11787
11977
  required: ["created_at", "message", "error_code"],
11788
- type: "object"
11978
+ type: "object",
11979
+ "x-resource-type": "acs_user"
11789
11980
  },
11790
11981
  {
11791
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).",
@@ -11805,7 +11996,8 @@ var openapi = {
11805
11996
  }
11806
11997
  },
11807
11998
  required: ["created_at", "message", "error_code"],
11808
- type: "object"
11999
+ type: "object",
12000
+ "x-resource-type": "acs_user"
11809
12001
  },
11810
12002
  {
11811
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).",
@@ -11825,7 +12017,8 @@ var openapi = {
11825
12017
  }
11826
12018
  },
11827
12019
  required: ["created_at", "message", "error_code"],
11828
- type: "object"
12020
+ type: "object",
12021
+ "x-resource-type": "acs_user"
11829
12022
  },
11830
12023
  {
11831
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).",
@@ -11845,7 +12038,8 @@ var openapi = {
11845
12038
  }
11846
12039
  },
11847
12040
  required: ["created_at", "message", "error_code"],
11848
- type: "object"
12041
+ type: "object",
12042
+ "x-resource-type": "acs_user"
11849
12043
  },
11850
12044
  {
11851
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).",
@@ -11865,7 +12059,8 @@ var openapi = {
11865
12059
  }
11866
12060
  },
11867
12061
  required: ["created_at", "message", "error_code"],
11868
- type: "object"
12062
+ type: "object",
12063
+ "x-resource-type": "acs_user"
11869
12064
  }
11870
12065
  ]
11871
12066
  },
@@ -18076,7 +18271,8 @@ var openapi = {
18076
18271
  }
18077
18272
  },
18078
18273
  required: ["created_at", "message", "error_code"],
18079
- type: "object"
18274
+ type: "object",
18275
+ "x-resource-type": "connected_account"
18080
18276
  },
18081
18277
  {
18082
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).",
@@ -18105,7 +18301,8 @@ var openapi = {
18105
18301
  }
18106
18302
  },
18107
18303
  required: ["created_at", "message", "error_code"],
18108
- type: "object"
18304
+ type: "object",
18305
+ "x-resource-type": "connected_account"
18109
18306
  },
18110
18307
  {
18111
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.",
@@ -18180,7 +18377,8 @@ var openapi = {
18180
18377
  "error_code",
18181
18378
  "salto_ks_metadata"
18182
18379
  ],
18183
- type: "object"
18380
+ type: "object",
18381
+ "x-resource-type": "connected_account"
18184
18382
  },
18185
18383
  {
18186
18384
  description: "Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.",
@@ -18209,7 +18407,8 @@ var openapi = {
18209
18407
  }
18210
18408
  },
18211
18409
  required: ["created_at", "message", "error_code"],
18212
- type: "object"
18410
+ type: "object",
18411
+ "x-resource-type": "connected_account"
18213
18412
  }
18214
18413
  ]
18215
18414
  },
@@ -18885,7 +19084,8 @@ var openapi = {
18885
19084
  "error_code",
18886
19085
  "is_connected_account_error"
18887
19086
  ],
18888
- type: "object"
19087
+ type: "object",
19088
+ "x-resource-type": "connected_account"
18889
19089
  },
18890
19090
  {
18891
19091
  description: "Indicates that the Salto site user limit has been reached.",
@@ -18923,6 +19123,7 @@ var openapi = {
18923
19123
  "is_connected_account_error"
18924
19124
  ],
18925
19125
  type: "object",
19126
+ "x-resource-type": "connected_account",
18926
19127
  "x-variant-group-key": "locks"
18927
19128
  },
18928
19129
  {
@@ -18956,7 +19157,8 @@ var openapi = {
18956
19157
  "error_code"
18957
19158
  ],
18958
19159
  type: "object",
18959
- "x-deprecated": "Use `device_disconnected` instead."
19160
+ "x-deprecated": "Use `device_disconnected` instead.",
19161
+ "x-resource-type": "device"
18960
19162
  },
18961
19163
  {
18962
19164
  description: "Indicates that the device has been removed.",
@@ -18987,7 +19189,8 @@ var openapi = {
18987
19189
  "created_at",
18988
19190
  "error_code"
18989
19191
  ],
18990
- type: "object"
19192
+ type: "object",
19193
+ "x-resource-type": "device"
18991
19194
  },
18992
19195
  {
18993
19196
  description: "Indicates that the hub is disconnected.",
@@ -19018,7 +19221,8 @@ var openapi = {
19018
19221
  "created_at",
19019
19222
  "error_code"
19020
19223
  ],
19021
- type: "object"
19224
+ type: "object",
19225
+ "x-resource-type": "device"
19022
19226
  },
19023
19227
  {
19024
19228
  description: "Indicates that the device is disconnected.",
@@ -19049,7 +19253,8 @@ var openapi = {
19049
19253
  "created_at",
19050
19254
  "error_code"
19051
19255
  ],
19052
- type: "object"
19256
+ type: "object",
19257
+ "x-resource-type": "device"
19053
19258
  },
19054
19259
  {
19055
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.",
@@ -19081,6 +19286,7 @@ var openapi = {
19081
19286
  "error_code"
19082
19287
  ],
19083
19288
  type: "object",
19289
+ "x-resource-type": "device",
19084
19290
  "x-variant-group-key": "access_codes"
19085
19291
  },
19086
19292
  {
@@ -19113,6 +19319,7 @@ var openapi = {
19113
19319
  "error_code"
19114
19320
  ],
19115
19321
  type: "object",
19322
+ "x-resource-type": "device",
19116
19323
  "x-variant-group-key": "locks"
19117
19324
  },
19118
19325
  {
@@ -19147,6 +19354,7 @@ var openapi = {
19147
19354
  ],
19148
19355
  type: "object",
19149
19356
  "x-deprecated": "Use `hub_disconnected` instead.",
19357
+ "x-resource-type": "device",
19150
19358
  "x-variant-group-key": "locks"
19151
19359
  },
19152
19360
  {
@@ -19180,7 +19388,8 @@ var openapi = {
19180
19388
  "error_code"
19181
19389
  ],
19182
19390
  type: "object",
19183
- "x-deprecated": "Use `hub_disconnected` instead."
19391
+ "x-deprecated": "Use `hub_disconnected` instead.",
19392
+ "x-resource-type": "device"
19184
19393
  },
19185
19394
  {
19186
19395
  description: "Indicates that device credentials are missing.",
@@ -19211,7 +19420,8 @@ var openapi = {
19211
19420
  "created_at",
19212
19421
  "error_code"
19213
19422
  ],
19214
- type: "object"
19423
+ type: "object",
19424
+ "x-resource-type": "device"
19215
19425
  },
19216
19426
  {
19217
19427
  description: "Indicates that the auxiliary heat is running.",
@@ -19243,6 +19453,7 @@ var openapi = {
19243
19453
  "error_code"
19244
19454
  ],
19245
19455
  type: "object",
19456
+ "x-resource-type": "device",
19246
19457
  "x-variant-group-key": "thermostats"
19247
19458
  },
19248
19459
  {
@@ -19274,7 +19485,8 @@ var openapi = {
19274
19485
  "created_at",
19275
19486
  "error_code"
19276
19487
  ],
19277
- type: "object"
19488
+ type: "object",
19489
+ "x-resource-type": "device"
19278
19490
  },
19279
19491
  {
19280
19492
  deprecated: true,
@@ -19307,7 +19519,8 @@ var openapi = {
19307
19519
  "error_code"
19308
19520
  ],
19309
19521
  type: "object",
19310
- "x-deprecated": "Use `hub_disconnected` instead."
19522
+ "x-deprecated": "Use `hub_disconnected` instead.",
19523
+ "x-resource-type": "device"
19311
19524
  },
19312
19525
  {
19313
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).",
@@ -19336,7 +19549,8 @@ var openapi = {
19336
19549
  }
19337
19550
  },
19338
19551
  required: ["created_at", "message", "error_code"],
19339
- type: "object"
19552
+ type: "object",
19553
+ "x-resource-type": "connected_account"
19340
19554
  },
19341
19555
  {
19342
19556
  description: "Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.",
@@ -19365,7 +19579,8 @@ var openapi = {
19365
19579
  }
19366
19580
  },
19367
19581
  required: ["created_at", "message", "error_code"],
19368
- type: "object"
19582
+ type: "object",
19583
+ "x-resource-type": "connected_account"
19369
19584
  }
19370
19585
  ]
19371
19586
  },
@@ -33040,7 +33255,8 @@ var openapi = {
33040
33255
  }
33041
33256
  },
33042
33257
  required: ["message", "is_access_code_error", "error_code"],
33043
- type: "object"
33258
+ type: "object",
33259
+ "x-resource-type": "access_code"
33044
33260
  },
33045
33261
  {
33046
33262
  description: "Failed to set code on device.",
@@ -33066,7 +33282,8 @@ var openapi = {
33066
33282
  }
33067
33283
  },
33068
33284
  required: ["message", "is_access_code_error", "error_code"],
33069
- type: "object"
33285
+ type: "object",
33286
+ "x-resource-type": "access_code"
33070
33287
  },
33071
33288
  {
33072
33289
  description: "Failed to remove code from device.",
@@ -33092,7 +33309,8 @@ var openapi = {
33092
33309
  }
33093
33310
  },
33094
33311
  required: ["message", "is_access_code_error", "error_code"],
33095
- type: "object"
33312
+ type: "object",
33313
+ "x-resource-type": "access_code"
33096
33314
  },
33097
33315
  {
33098
33316
  description: "Duplicate access code detected on device.",
@@ -33128,7 +33346,8 @@ var openapi = {
33128
33346
  }
33129
33347
  },
33130
33348
  required: ["message", "is_access_code_error", "error_code"],
33131
- type: "object"
33349
+ type: "object",
33350
+ "x-resource-type": "access_code"
33132
33351
  },
33133
33352
  {
33134
33353
  description: "An attempt to modify this access code was prevented.",
@@ -33154,7 +33373,8 @@ var openapi = {
33154
33373
  }
33155
33374
  },
33156
33375
  required: ["message", "is_access_code_error", "error_code"],
33157
- type: "object"
33376
+ type: "object",
33377
+ "x-resource-type": "access_code"
33158
33378
  },
33159
33379
  {
33160
33380
  description: "No space for access code on device.",
@@ -33180,7 +33400,8 @@ var openapi = {
33180
33400
  }
33181
33401
  },
33182
33402
  required: ["message", "is_access_code_error", "error_code"],
33183
- type: "object"
33403
+ type: "object",
33404
+ "x-resource-type": "access_code"
33184
33405
  },
33185
33406
  {
33186
33407
  description: "Indicates that the provider cannot confirm whether the access code was set or removed on the device.",
@@ -33206,7 +33427,8 @@ var openapi = {
33206
33427
  }
33207
33428
  },
33208
33429
  required: ["message", "is_access_code_error", "error_code"],
33209
- type: "object"
33430
+ type: "object",
33431
+ "x-resource-type": "access_code"
33210
33432
  },
33211
33433
  {
33212
33434
  description: "Code was modified or removed externally after Seam successfully set it on the device.",
@@ -33261,7 +33483,8 @@ var openapi = {
33261
33483
  }
33262
33484
  },
33263
33485
  required: ["message", "is_access_code_error", "error_code"],
33264
- type: "object"
33486
+ type: "object",
33487
+ "x-resource-type": "access_code"
33265
33488
  },
33266
33489
  {
33267
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.",
@@ -33287,7 +33510,8 @@ var openapi = {
33287
33510
  }
33288
33511
  },
33289
33512
  required: ["message", "is_access_code_error", "error_code"],
33290
- type: "object"
33513
+ type: "object",
33514
+ "x-resource-type": "access_code"
33291
33515
  },
33292
33516
  {
33293
33517
  deprecated: true,
@@ -33315,7 +33539,8 @@ var openapi = {
33315
33539
  },
33316
33540
  required: ["message", "is_access_code_error", "error_code"],
33317
33541
  type: "object",
33318
- "x-deprecated": "Use `access_code_inactive` instead."
33542
+ "x-deprecated": "Use `access_code_inactive` instead.",
33543
+ "x-resource-type": "access_code"
33319
33544
  },
33320
33545
  {
33321
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.",
@@ -33341,7 +33566,8 @@ var openapi = {
33341
33566
  }
33342
33567
  },
33343
33568
  required: ["message", "is_access_code_error", "error_code"],
33344
- type: "object"
33569
+ type: "object",
33570
+ "x-resource-type": "access_code"
33345
33571
  },
33346
33572
  {
33347
33573
  description: "This access code was overridden on the device by a newer access code programmed to the same slot.",
@@ -33367,7 +33593,8 @@ var openapi = {
33367
33593
  }
33368
33594
  },
33369
33595
  required: ["message", "is_access_code_error", "error_code"],
33370
- type: "object"
33596
+ type: "object",
33597
+ "x-resource-type": "access_code"
33371
33598
  },
33372
33599
  {
33373
33600
  description: "Indicates that the account is disconnected.",
@@ -33404,7 +33631,8 @@ var openapi = {
33404
33631
  "error_code",
33405
33632
  "is_connected_account_error"
33406
33633
  ],
33407
- type: "object"
33634
+ type: "object",
33635
+ "x-resource-type": "connected_account"
33408
33636
  },
33409
33637
  {
33410
33638
  description: "Indicates that the Salto site user limit has been reached.",
@@ -33442,6 +33670,7 @@ var openapi = {
33442
33670
  "is_connected_account_error"
33443
33671
  ],
33444
33672
  type: "object",
33673
+ "x-resource-type": "connected_account",
33445
33674
  "x-variant-group-key": "locks"
33446
33675
  },
33447
33676
  {
@@ -33475,7 +33704,8 @@ var openapi = {
33475
33704
  "error_code"
33476
33705
  ],
33477
33706
  type: "object",
33478
- "x-deprecated": "Use `device_disconnected` instead."
33707
+ "x-deprecated": "Use `device_disconnected` instead.",
33708
+ "x-resource-type": "device"
33479
33709
  },
33480
33710
  {
33481
33711
  description: "Indicates that the device has been removed.",
@@ -33506,7 +33736,8 @@ var openapi = {
33506
33736
  "created_at",
33507
33737
  "error_code"
33508
33738
  ],
33509
- type: "object"
33739
+ type: "object",
33740
+ "x-resource-type": "device"
33510
33741
  },
33511
33742
  {
33512
33743
  description: "Indicates that the hub is disconnected.",
@@ -33537,7 +33768,8 @@ var openapi = {
33537
33768
  "created_at",
33538
33769
  "error_code"
33539
33770
  ],
33540
- type: "object"
33771
+ type: "object",
33772
+ "x-resource-type": "device"
33541
33773
  },
33542
33774
  {
33543
33775
  description: "Indicates that the device is disconnected.",
@@ -33568,7 +33800,8 @@ var openapi = {
33568
33800
  "created_at",
33569
33801
  "error_code"
33570
33802
  ],
33571
- type: "object"
33803
+ type: "object",
33804
+ "x-resource-type": "device"
33572
33805
  },
33573
33806
  {
33574
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.",
@@ -33600,6 +33833,7 @@ var openapi = {
33600
33833
  "error_code"
33601
33834
  ],
33602
33835
  type: "object",
33836
+ "x-resource-type": "device",
33603
33837
  "x-variant-group-key": "access_codes"
33604
33838
  },
33605
33839
  {
@@ -33632,6 +33866,7 @@ var openapi = {
33632
33866
  "error_code"
33633
33867
  ],
33634
33868
  type: "object",
33869
+ "x-resource-type": "device",
33635
33870
  "x-variant-group-key": "locks"
33636
33871
  },
33637
33872
  {
@@ -33666,6 +33901,7 @@ var openapi = {
33666
33901
  ],
33667
33902
  type: "object",
33668
33903
  "x-deprecated": "Use `hub_disconnected` instead.",
33904
+ "x-resource-type": "device",
33669
33905
  "x-variant-group-key": "locks"
33670
33906
  },
33671
33907
  {
@@ -33699,7 +33935,8 @@ var openapi = {
33699
33935
  "error_code"
33700
33936
  ],
33701
33937
  type: "object",
33702
- "x-deprecated": "Use `hub_disconnected` instead."
33938
+ "x-deprecated": "Use `hub_disconnected` instead.",
33939
+ "x-resource-type": "device"
33703
33940
  },
33704
33941
  {
33705
33942
  description: "Indicates that device credentials are missing.",
@@ -33730,7 +33967,8 @@ var openapi = {
33730
33967
  "created_at",
33731
33968
  "error_code"
33732
33969
  ],
33733
- type: "object"
33970
+ type: "object",
33971
+ "x-resource-type": "device"
33734
33972
  },
33735
33973
  {
33736
33974
  description: "Indicates that the auxiliary heat is running.",
@@ -33762,6 +34000,7 @@ var openapi = {
33762
34000
  "error_code"
33763
34001
  ],
33764
34002
  type: "object",
34003
+ "x-resource-type": "device",
33765
34004
  "x-variant-group-key": "thermostats"
33766
34005
  },
33767
34006
  {
@@ -33793,7 +34032,8 @@ var openapi = {
33793
34032
  "created_at",
33794
34033
  "error_code"
33795
34034
  ],
33796
- type: "object"
34035
+ type: "object",
34036
+ "x-resource-type": "device"
33797
34037
  },
33798
34038
  {
33799
34039
  deprecated: true,
@@ -33826,7 +34066,8 @@ var openapi = {
33826
34066
  "error_code"
33827
34067
  ],
33828
34068
  type: "object",
33829
- "x-deprecated": "Use `hub_disconnected` instead."
34069
+ "x-deprecated": "Use `hub_disconnected` instead.",
34070
+ "x-resource-type": "device"
33830
34071
  },
33831
34072
  {
33832
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).",
@@ -33855,7 +34096,8 @@ var openapi = {
33855
34096
  }
33856
34097
  },
33857
34098
  required: ["created_at", "message", "error_code"],
33858
- type: "object"
34099
+ type: "object",
34100
+ "x-resource-type": "connected_account"
33859
34101
  },
33860
34102
  {
33861
34103
  description: "Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.",
@@ -33884,7 +34126,8 @@ var openapi = {
33884
34126
  }
33885
34127
  },
33886
34128
  required: ["created_at", "message", "error_code"],
33887
- type: "object"
34129
+ type: "object",
34130
+ "x-resource-type": "connected_account"
33888
34131
  }
33889
34132
  ]
33890
34133
  },
@@ -34338,7 +34581,8 @@ var openapi = {
34338
34581
  }
34339
34582
  },
34340
34583
  required: ["created_at", "message", "error_code"],
34341
- type: "object"
34584
+ type: "object",
34585
+ "x-resource-type": "acs_access_group"
34342
34586
  }
34343
34587
  ]
34344
34588
  },
@@ -35219,7 +35463,8 @@ var openapi = {
35219
35463
  }
35220
35464
  },
35221
35465
  required: ["created_at", "message", "error_code"],
35222
- type: "object"
35466
+ type: "object",
35467
+ "x-resource-type": "acs_user"
35223
35468
  },
35224
35469
  {
35225
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.",
@@ -35239,7 +35484,8 @@ var openapi = {
35239
35484
  }
35240
35485
  },
35241
35486
  required: ["created_at", "message", "error_code"],
35242
- type: "object"
35487
+ type: "object",
35488
+ "x-resource-type": "acs_user"
35243
35489
  },
35244
35490
  {
35245
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).",
@@ -35259,7 +35505,8 @@ var openapi = {
35259
35505
  }
35260
35506
  },
35261
35507
  required: ["created_at", "message", "error_code"],
35262
- type: "object"
35508
+ type: "object",
35509
+ "x-resource-type": "acs_user"
35263
35510
  },
35264
35511
  {
35265
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).",
@@ -35279,7 +35526,8 @@ var openapi = {
35279
35526
  }
35280
35527
  },
35281
35528
  required: ["created_at", "message", "error_code"],
35282
- type: "object"
35529
+ type: "object",
35530
+ "x-resource-type": "acs_user"
35283
35531
  },
35284
35532
  {
35285
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).",
@@ -35299,7 +35547,8 @@ var openapi = {
35299
35547
  }
35300
35548
  },
35301
35549
  required: ["created_at", "message", "error_code"],
35302
- type: "object"
35550
+ type: "object",
35551
+ "x-resource-type": "acs_user"
35303
35552
  },
35304
35553
  {
35305
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).",
@@ -35319,7 +35568,8 @@ var openapi = {
35319
35568
  }
35320
35569
  },
35321
35570
  required: ["created_at", "message", "error_code"],
35322
- type: "object"
35571
+ type: "object",
35572
+ "x-resource-type": "acs_user"
35323
35573
  }
35324
35574
  ]
35325
35575
  },
@@ -36138,7 +36388,8 @@ var openapi = {
36138
36388
  "error_code",
36139
36389
  "is_connected_account_error"
36140
36390
  ],
36141
- type: "object"
36391
+ type: "object",
36392
+ "x-resource-type": "connected_account"
36142
36393
  },
36143
36394
  {
36144
36395
  description: "Indicates that the Salto site user limit has been reached.",
@@ -36176,6 +36427,7 @@ var openapi = {
36176
36427
  "is_connected_account_error"
36177
36428
  ],
36178
36429
  type: "object",
36430
+ "x-resource-type": "connected_account",
36179
36431
  "x-variant-group-key": "locks"
36180
36432
  },
36181
36433
  {
@@ -36209,7 +36461,8 @@ var openapi = {
36209
36461
  "error_code"
36210
36462
  ],
36211
36463
  type: "object",
36212
- "x-deprecated": "Use `device_disconnected` instead."
36464
+ "x-deprecated": "Use `device_disconnected` instead.",
36465
+ "x-resource-type": "device"
36213
36466
  },
36214
36467
  {
36215
36468
  description: "Indicates that the device has been removed.",
@@ -36240,7 +36493,8 @@ var openapi = {
36240
36493
  "created_at",
36241
36494
  "error_code"
36242
36495
  ],
36243
- type: "object"
36496
+ type: "object",
36497
+ "x-resource-type": "device"
36244
36498
  },
36245
36499
  {
36246
36500
  description: "Indicates that the hub is disconnected.",
@@ -36271,7 +36525,8 @@ var openapi = {
36271
36525
  "created_at",
36272
36526
  "error_code"
36273
36527
  ],
36274
- type: "object"
36528
+ type: "object",
36529
+ "x-resource-type": "device"
36275
36530
  },
36276
36531
  {
36277
36532
  description: "Indicates that the device is disconnected.",
@@ -36302,7 +36557,8 @@ var openapi = {
36302
36557
  "created_at",
36303
36558
  "error_code"
36304
36559
  ],
36305
- type: "object"
36560
+ type: "object",
36561
+ "x-resource-type": "device"
36306
36562
  },
36307
36563
  {
36308
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.",
@@ -36334,6 +36590,7 @@ var openapi = {
36334
36590
  "error_code"
36335
36591
  ],
36336
36592
  type: "object",
36593
+ "x-resource-type": "device",
36337
36594
  "x-variant-group-key": "access_codes"
36338
36595
  },
36339
36596
  {
@@ -36366,6 +36623,7 @@ var openapi = {
36366
36623
  "error_code"
36367
36624
  ],
36368
36625
  type: "object",
36626
+ "x-resource-type": "device",
36369
36627
  "x-variant-group-key": "locks"
36370
36628
  },
36371
36629
  {
@@ -36400,6 +36658,7 @@ var openapi = {
36400
36658
  ],
36401
36659
  type: "object",
36402
36660
  "x-deprecated": "Use `hub_disconnected` instead.",
36661
+ "x-resource-type": "device",
36403
36662
  "x-variant-group-key": "locks"
36404
36663
  },
36405
36664
  {
@@ -36433,7 +36692,8 @@ var openapi = {
36433
36692
  "error_code"
36434
36693
  ],
36435
36694
  type: "object",
36436
- "x-deprecated": "Use `hub_disconnected` instead."
36695
+ "x-deprecated": "Use `hub_disconnected` instead.",
36696
+ "x-resource-type": "device"
36437
36697
  },
36438
36698
  {
36439
36699
  description: "Indicates that device credentials are missing.",
@@ -36464,7 +36724,8 @@ var openapi = {
36464
36724
  "created_at",
36465
36725
  "error_code"
36466
36726
  ],
36467
- type: "object"
36727
+ type: "object",
36728
+ "x-resource-type": "device"
36468
36729
  },
36469
36730
  {
36470
36731
  description: "Indicates that the auxiliary heat is running.",
@@ -36496,6 +36757,7 @@ var openapi = {
36496
36757
  "error_code"
36497
36758
  ],
36498
36759
  type: "object",
36760
+ "x-resource-type": "device",
36499
36761
  "x-variant-group-key": "thermostats"
36500
36762
  },
36501
36763
  {
@@ -36527,7 +36789,8 @@ var openapi = {
36527
36789
  "created_at",
36528
36790
  "error_code"
36529
36791
  ],
36530
- type: "object"
36792
+ type: "object",
36793
+ "x-resource-type": "device"
36531
36794
  },
36532
36795
  {
36533
36796
  deprecated: true,
@@ -36560,7 +36823,8 @@ var openapi = {
36560
36823
  "error_code"
36561
36824
  ],
36562
36825
  type: "object",
36563
- "x-deprecated": "Use `hub_disconnected` instead."
36826
+ "x-deprecated": "Use `hub_disconnected` instead.",
36827
+ "x-resource-type": "device"
36564
36828
  },
36565
36829
  {
36566
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).",
@@ -36589,7 +36853,8 @@ var openapi = {
36589
36853
  }
36590
36854
  },
36591
36855
  required: ["created_at", "message", "error_code"],
36592
- type: "object"
36856
+ type: "object",
36857
+ "x-resource-type": "connected_account"
36593
36858
  },
36594
36859
  {
36595
36860
  description: "Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.",
@@ -36618,7 +36883,8 @@ var openapi = {
36618
36883
  }
36619
36884
  },
36620
36885
  required: ["created_at", "message", "error_code"],
36621
- type: "object"
36886
+ type: "object",
36887
+ "x-resource-type": "connected_account"
36622
36888
  }
36623
36889
  ]
36624
36890
  },