@seamapi/types 1.922.0 → 1.924.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/connect.cjs CHANGED
@@ -1455,12 +1455,26 @@ var salto_ks_subscription_limit_exceeded2 = common_device_error.extend({
1455
1455
  ---
1456
1456
  Indicates that the Salto site user limit has been reached.
1457
1457
  `);
1458
+ var dormakaba_sites_disconnected2 = common_device_error.extend({
1459
+ error_code: zod.z.literal("dormakaba_sites_disconnected").describe(error_code_description2),
1460
+ is_connected_account_error: zod.z.literal(true).describe(
1461
+ "Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error."
1462
+ ),
1463
+ is_device_error: zod.z.literal(false).describe("Indicates that the error is not a device error.")
1464
+ }).describe(`
1465
+ ---
1466
+ resource_type: connected_account
1467
+ variant_group_key: locks
1468
+ ---
1469
+ Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.
1470
+ `);
1458
1471
  var ttlock_lock_not_paired_to_gateway = common_device_error.extend({
1459
1472
  error_code: zod.z.literal("ttlock_lock_not_paired_to_gateway").describe(error_code_description2)
1460
1473
  }).describe(`
1461
1474
  ---
1462
1475
  resource_type: device
1463
1476
  deprecated: Use \`hub_disconnected\` instead.
1477
+ variant_group_key: locks
1464
1478
  ---
1465
1479
  Indicates that the lock is not paired with a gateway.
1466
1480
  `);
@@ -1495,12 +1509,14 @@ var lockly_missing_wifi_bridge = common_device_error.extend({
1495
1509
  ---
1496
1510
  resource_type: device
1497
1511
  deprecated: Use \`hub_disconnected\` instead.
1512
+ variant_group_key: locks
1498
1513
  ---
1499
1514
  Indicates that the Lockly lock is not connected to a Wi-Fi bridge.
1500
1515
  `);
1501
1516
  var device_error = zod.z.discriminatedUnion("error_code", [
1502
1517
  account_disconnected2,
1503
1518
  salto_ks_subscription_limit_exceeded2,
1519
+ dormakaba_sites_disconnected2,
1504
1520
  device_offline,
1505
1521
  device_removed,
1506
1522
  hub_disconnected,
@@ -1524,6 +1540,7 @@ zod.z.object({
1524
1540
  august_lock_not_authorized: august_lock_not_authorized.optional().nullable(),
1525
1541
  august_lock_missing_bridge: august_lock_missing_bridge.optional().nullable(),
1526
1542
  salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded2.optional().nullable(),
1543
+ dormakaba_sites_disconnected: dormakaba_sites_disconnected2.optional().nullable(),
1527
1544
  ttlock_lock_not_paired_to_gateway: ttlock_lock_not_paired_to_gateway.optional().nullable(),
1528
1545
  missing_device_credentials: missing_device_credentials.optional().nullable(),
1529
1546
  auxiliary_heat_running: auxiliary_heat_running.optional().nullable(),
@@ -1569,11 +1586,16 @@ var salto_ks_privacy_mode = common_device_warning.extend({
1569
1586
  ---
1570
1587
  Indicates that the Salto KS lock is in Privacy Mode. Access Codes will not unlock doors.
1571
1588
  `);
1572
- var salto_ks_subscription_limit_almost_reached2 = common_device_warning.extend({
1573
- warning_code: zod.z.literal("salto_ks_subscription_limit_almost_reached").describe(warning_code_description2)
1574
- }).describe(
1575
- "Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Increase your subscription limit or delete some users from your site."
1576
- );
1589
+ var salto_ks_subscription_limit_almost_reached2 = common_device_warning.extend(
1590
+ {
1591
+ warning_code: zod.z.literal("salto_ks_subscription_limit_almost_reached").describe(warning_code_description2)
1592
+ }
1593
+ ).describe(`
1594
+ ---
1595
+ variant_group_key: locks
1596
+ ---
1597
+ Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Increase your subscription limit or delete some users from your site.
1598
+ `);
1577
1599
  var salto_ks_lock_access_code_support_removed = common_device_warning.extend({
1578
1600
  warning_code: zod.z.literal("salto_ks_lock_access_code_support_removed").describe(warning_code_description2)
1579
1601
  }).describe(`
@@ -1587,6 +1609,7 @@ var wyze_device_missing_gateway = common_device_warning.extend({
1587
1609
  }).describe(`
1588
1610
  ---
1589
1611
  deprecated: Use \`hub_disconnected\` device error instead.
1612
+ variant_group_key: locks
1590
1613
  ---
1591
1614
  Indicates that the Wyze Lock is not connected to a gateway.
1592
1615
  `);
@@ -1604,6 +1627,9 @@ var ttlock_lock_gateway_unlocking_not_enabled = common_device_warning.extend({
1604
1627
  var ttlock_weak_gateway_signal = common_device_warning.extend({
1605
1628
  warning_code: zod.z.literal("ttlock_weak_gateway_signal").describe(warning_code_description2)
1606
1629
  }).describe(`
1630
+ ---
1631
+ variant_group_key: locks
1632
+ ---
1607
1633
  Indicates that the gateway signal is weak.
1608
1634
  `);
1609
1635
  var power_saving_mode = common_device_warning.extend({
@@ -1633,19 +1659,28 @@ var device_has_flaky_connection = common_device_warning.extend({
1633
1659
  }).describe("Indicates that the device has a flaky connection.");
1634
1660
  var lockly_time_zone_not_configured = common_device_warning.extend({
1635
1661
  warning_code: zod.z.literal("lockly_time_zone_not_configured").describe(warning_code_description2)
1636
- }).describe(
1637
- "Indicates that Seam detected that the Lockly device does not have a time zone configured. Time-bound codes may not work as expected."
1638
- );
1662
+ }).describe(`
1663
+ ---
1664
+ variant_group_key: locks
1665
+ ---
1666
+ Indicates that Seam detected that the Lockly device does not have a time zone configured. Time-bound codes may not work as expected.
1667
+ `);
1639
1668
  var ultraloq_time_zone_unknown = common_device_warning.extend({
1640
1669
  warning_code: zod.z.literal("ultraloq_time_zone_unknown").describe(warning_code_description2)
1641
- }).describe(
1642
- "Indicates that Seam does not know the time zone of the Ultraloq device. Set a time zone to enable time-bound access codes."
1643
- );
1670
+ }).describe(`
1671
+ ---
1672
+ variant_group_key: locks
1673
+ ---
1674
+ Indicates that Seam does not know the time zone of the Ultraloq device. Set a time zone to enable time-bound access codes.
1675
+ `);
1644
1676
  var two_n_device_missing_timezone = common_device_warning.extend({
1645
1677
  warning_code: zod.z.literal("two_n_device_missing_timezone").describe(warning_code_description2)
1646
- }).describe(
1647
- "Indicates that the 2N device does not have a time zone configured. Configure a time zone on the device to enable access codes."
1648
- );
1678
+ }).describe(`
1679
+ ---
1680
+ variant_group_key: locks
1681
+ ---
1682
+ Indicates that the 2N device does not have a time zone configured. Configure a time zone on the device to enable access codes.
1683
+ `);
1649
1684
  var unknown_issue_with_phone = common_device_warning.extend({
1650
1685
  warning_code: zod.z.literal("unknown_issue_with_phone").describe(warning_code_description2)
1651
1686
  }).describe(`
@@ -2600,16 +2635,6 @@ var code_modified_external_to_seam_warning = common_access_code_warning.extend({
2600
2635
  }).describe(
2601
2636
  "Code was modified or removed externally after Seam successfully set it on the device."
2602
2637
  );
2603
- var schlage_detected_duplicate = common_access_code_warning.extend({
2604
- warning_code: zod.z.literal("schlage_detected_duplicate").describe(warning_code_description3)
2605
- }).describe(
2606
- `
2607
- ---
2608
- deprecated: Use \`duplicate_code_on_device\` error instead.
2609
- ---
2610
- Duplicate access code detected.
2611
- `
2612
- );
2613
2638
  var provider_issue_warning = common_access_code_warning.extend({
2614
2639
  warning_code: zod.z.literal("provider_issue").describe(warning_code_description3)
2615
2640
  }).describe(
@@ -2652,7 +2677,6 @@ var being_deleted2 = common_access_code_warning.extend({
2652
2677
  }).describe("Access code is being deleted.");
2653
2678
  var access_code_warning = zod.z.discriminatedUnion("warning_code", [
2654
2679
  provider_issue_warning,
2655
- schlage_detected_duplicate,
2656
2680
  schlage_access_code_ambiguous_timezone_dst_risk,
2657
2681
  code_modified_external_to_seam_warning,
2658
2682
  delay_in_setting_on_device,
@@ -2668,7 +2692,6 @@ var access_code_warning = zod.z.discriminatedUnion("warning_code", [
2668
2692
  );
2669
2693
  zod.z.object({
2670
2694
  provider_issue: provider_issue_warning.optional().nullable(),
2671
- schlage_detected_duplicate: schlage_detected_duplicate.optional().nullable(),
2672
2695
  schlage_access_code_ambiguous_timezone_dst_risk: schlage_access_code_ambiguous_timezone_dst_risk.optional().nullable(),
2673
2696
  code_modified_external_to_seam_warning: code_modified_external_to_seam_warning.optional().nullable(),
2674
2697
  delay_in_setting_on_device: delay_in_setting_on_device.optional().nullable(),
@@ -8002,6 +8025,45 @@ var openapi = {
8002
8025
  "x-resource-type": "connected_account",
8003
8026
  "x-variant-group-key": "locks"
8004
8027
  },
8028
+ {
8029
+ description: "Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.",
8030
+ properties: {
8031
+ created_at: {
8032
+ description: "Date and time at which Seam created the error.",
8033
+ format: "date-time",
8034
+ type: "string"
8035
+ },
8036
+ error_code: {
8037
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
8038
+ enum: ["dormakaba_sites_disconnected"],
8039
+ type: "string"
8040
+ },
8041
+ is_connected_account_error: {
8042
+ description: "Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.",
8043
+ enum: [true],
8044
+ type: "boolean"
8045
+ },
8046
+ is_device_error: {
8047
+ description: "Indicates that the error is not a device error.",
8048
+ enum: [false],
8049
+ type: "boolean"
8050
+ },
8051
+ message: {
8052
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
8053
+ type: "string"
8054
+ }
8055
+ },
8056
+ required: [
8057
+ "message",
8058
+ "is_device_error",
8059
+ "created_at",
8060
+ "error_code",
8061
+ "is_connected_account_error"
8062
+ ],
8063
+ type: "object",
8064
+ "x-resource-type": "connected_account",
8065
+ "x-variant-group-key": "locks"
8066
+ },
8005
8067
  {
8006
8068
  deprecated: true,
8007
8069
  description: "Indicates that the device is offline.",
@@ -8265,7 +8327,8 @@ var openapi = {
8265
8327
  ],
8266
8328
  type: "object",
8267
8329
  "x-deprecated": "Use `hub_disconnected` instead.",
8268
- "x-resource-type": "device"
8330
+ "x-resource-type": "device",
8331
+ "x-variant-group-key": "locks"
8269
8332
  },
8270
8333
  {
8271
8334
  description: "Indicates that device credentials are missing.",
@@ -8396,7 +8459,8 @@ var openapi = {
8396
8459
  ],
8397
8460
  type: "object",
8398
8461
  "x-deprecated": "Use `hub_disconnected` instead.",
8399
- "x-resource-type": "device"
8462
+ "x-resource-type": "device",
8463
+ "x-variant-group-key": "locks"
8400
8464
  },
8401
8465
  {
8402
8466
  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).",
@@ -8427,36 +8491,6 @@ var openapi = {
8427
8491
  required: ["created_at", "message", "error_code"],
8428
8492
  type: "object",
8429
8493
  "x-resource-type": "connected_account"
8430
- },
8431
- {
8432
- description: "Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.",
8433
- properties: {
8434
- created_at: {
8435
- description: "Date and time at which Seam created the error.",
8436
- format: "date-time",
8437
- type: "string"
8438
- },
8439
- error_code: {
8440
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
8441
- enum: ["dormakaba_sites_disconnected"],
8442
- type: "string"
8443
- },
8444
- is_bridge_error: {
8445
- description: "Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge).",
8446
- type: "boolean"
8447
- },
8448
- is_connected_account_error: {
8449
- description: "Indicates whether the error is related specifically to the connected account.",
8450
- type: "boolean"
8451
- },
8452
- message: {
8453
- description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
8454
- type: "string"
8455
- }
8456
- },
8457
- required: ["created_at", "message", "error_code"],
8458
- type: "object",
8459
- "x-resource-type": "connected_account"
8460
8494
  }
8461
8495
  ]
8462
8496
  },
@@ -8807,29 +8841,6 @@ var openapi = {
8807
8841
  required: ["message", "warning_code"],
8808
8842
  type: "object"
8809
8843
  },
8810
- {
8811
- deprecated: true,
8812
- description: "Duplicate access code detected.",
8813
- properties: {
8814
- created_at: {
8815
- description: "Date and time at which Seam created the warning.",
8816
- format: "date-time",
8817
- type: "string"
8818
- },
8819
- message: {
8820
- description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
8821
- type: "string"
8822
- },
8823
- warning_code: {
8824
- description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
8825
- enum: ["schlage_detected_duplicate"],
8826
- type: "string"
8827
- }
8828
- },
8829
- required: ["message", "warning_code"],
8830
- type: "object",
8831
- "x-deprecated": "Use `duplicate_code_on_device` error instead."
8832
- },
8833
8844
  {
8834
8845
  description: "The Schlage device's timezone is ambiguous and this code's schedule crosses a daylight-saving transition in at least one plausible timezone. A 1-hour safety buffer has been applied to the side of the schedule affected by the transition (`ends_at` for spring-forward, `starts_at` for fall-back) so the code stays active through the shift \u2014 the code may be usable up to 1 hour beyond your requested window. Set the device's timezone via `/devices/report_provider_metadata` to clear the buffer and guarantee exact DST handling.",
8835
8846
  properties: {
@@ -19180,6 +19191,45 @@ var openapi = {
19180
19191
  "x-resource-type": "connected_account",
19181
19192
  "x-variant-group-key": "locks"
19182
19193
  },
19194
+ {
19195
+ description: "Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.",
19196
+ properties: {
19197
+ created_at: {
19198
+ description: "Date and time at which Seam created the error.",
19199
+ format: "date-time",
19200
+ type: "string"
19201
+ },
19202
+ error_code: {
19203
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
19204
+ enum: ["dormakaba_sites_disconnected"],
19205
+ type: "string"
19206
+ },
19207
+ is_connected_account_error: {
19208
+ description: "Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.",
19209
+ enum: [true],
19210
+ type: "boolean"
19211
+ },
19212
+ is_device_error: {
19213
+ description: "Indicates that the error is not a device error.",
19214
+ enum: [false],
19215
+ type: "boolean"
19216
+ },
19217
+ message: {
19218
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
19219
+ type: "string"
19220
+ }
19221
+ },
19222
+ required: [
19223
+ "message",
19224
+ "is_device_error",
19225
+ "created_at",
19226
+ "error_code",
19227
+ "is_connected_account_error"
19228
+ ],
19229
+ type: "object",
19230
+ "x-resource-type": "connected_account",
19231
+ "x-variant-group-key": "locks"
19232
+ },
19183
19233
  {
19184
19234
  deprecated: true,
19185
19235
  description: "Indicates that the device is offline.",
@@ -19443,7 +19493,8 @@ var openapi = {
19443
19493
  ],
19444
19494
  type: "object",
19445
19495
  "x-deprecated": "Use `hub_disconnected` instead.",
19446
- "x-resource-type": "device"
19496
+ "x-resource-type": "device",
19497
+ "x-variant-group-key": "locks"
19447
19498
  },
19448
19499
  {
19449
19500
  description: "Indicates that device credentials are missing.",
@@ -19574,7 +19625,8 @@ var openapi = {
19574
19625
  ],
19575
19626
  type: "object",
19576
19627
  "x-deprecated": "Use `hub_disconnected` instead.",
19577
- "x-resource-type": "device"
19628
+ "x-resource-type": "device",
19629
+ "x-variant-group-key": "locks"
19578
19630
  },
19579
19631
  {
19580
19632
  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).",
@@ -19605,36 +19657,6 @@ var openapi = {
19605
19657
  required: ["created_at", "message", "error_code"],
19606
19658
  type: "object",
19607
19659
  "x-resource-type": "connected_account"
19608
- },
19609
- {
19610
- description: "Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.",
19611
- properties: {
19612
- created_at: {
19613
- description: "Date and time at which Seam created the error.",
19614
- format: "date-time",
19615
- type: "string"
19616
- },
19617
- error_code: {
19618
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
19619
- enum: ["dormakaba_sites_disconnected"],
19620
- type: "string"
19621
- },
19622
- is_bridge_error: {
19623
- description: "Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge).",
19624
- type: "boolean"
19625
- },
19626
- is_connected_account_error: {
19627
- description: "Indicates whether the error is related specifically to the connected account.",
19628
- type: "boolean"
19629
- },
19630
- message: {
19631
- description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
19632
- type: "string"
19633
- }
19634
- },
19635
- required: ["created_at", "message", "error_code"],
19636
- type: "object",
19637
- "x-resource-type": "connected_account"
19638
19660
  }
19639
19661
  ]
19640
19662
  },
@@ -22170,7 +22192,8 @@ var openapi = {
22170
22192
  },
22171
22193
  required: ["message", "created_at", "warning_code"],
22172
22194
  type: "object",
22173
- "x-deprecated": "Use `hub_disconnected` device error instead."
22195
+ "x-deprecated": "Use `hub_disconnected` device error instead.",
22196
+ "x-variant-group-key": "locks"
22174
22197
  },
22175
22198
  {
22176
22199
  description: "Indicates that a third-party integration has been detected.",
@@ -22216,7 +22239,7 @@ var openapi = {
22216
22239
  "x-variant-group-key": "locks"
22217
22240
  },
22218
22241
  {
22219
- description: "\n Indicates that the gateway signal is weak.\n ",
22242
+ description: "Indicates that the gateway signal is weak.",
22220
22243
  properties: {
22221
22244
  created_at: {
22222
22245
  description: "Date and time at which Seam created the warning.",
@@ -22234,7 +22257,8 @@ var openapi = {
22234
22257
  }
22235
22258
  },
22236
22259
  required: ["message", "created_at", "warning_code"],
22237
- type: "object"
22260
+ type: "object",
22261
+ "x-variant-group-key": "locks"
22238
22262
  },
22239
22263
  {
22240
22264
  description: "Indicates that the device is in power saving mode and may have limited functionality.",
@@ -22406,7 +22430,8 @@ var openapi = {
22406
22430
  }
22407
22431
  },
22408
22432
  required: ["message", "created_at", "warning_code"],
22409
- type: "object"
22433
+ type: "object",
22434
+ "x-variant-group-key": "locks"
22410
22435
  },
22411
22436
  {
22412
22437
  description: "Indicates that a change in the reported device model has been detected for this Salto KS lock, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps.",
@@ -22471,7 +22496,8 @@ var openapi = {
22471
22496
  }
22472
22497
  },
22473
22498
  required: ["message", "created_at", "warning_code"],
22474
- type: "object"
22499
+ type: "object",
22500
+ "x-variant-group-key": "locks"
22475
22501
  },
22476
22502
  {
22477
22503
  description: "Indicates that Seam does not know the time zone of the Ultraloq device. Set a time zone to enable time-bound access codes.",
@@ -22492,7 +22518,8 @@ var openapi = {
22492
22518
  }
22493
22519
  },
22494
22520
  required: ["message", "created_at", "warning_code"],
22495
- type: "object"
22521
+ type: "object",
22522
+ "x-variant-group-key": "locks"
22496
22523
  },
22497
22524
  {
22498
22525
  description: "Indicates that the 2N device does not have a time zone configured. Configure a time zone on the device to enable access codes.",
@@ -22513,7 +22540,8 @@ var openapi = {
22513
22540
  }
22514
22541
  },
22515
22542
  required: ["message", "created_at", "warning_code"],
22516
- type: "object"
22543
+ type: "object",
22544
+ "x-variant-group-key": "locks"
22517
22545
  },
22518
22546
  {
22519
22547
  description: "Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.",
@@ -33832,6 +33860,45 @@ var openapi = {
33832
33860
  "x-resource-type": "connected_account",
33833
33861
  "x-variant-group-key": "locks"
33834
33862
  },
33863
+ {
33864
+ description: "Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.",
33865
+ properties: {
33866
+ created_at: {
33867
+ description: "Date and time at which Seam created the error.",
33868
+ format: "date-time",
33869
+ type: "string"
33870
+ },
33871
+ error_code: {
33872
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
33873
+ enum: ["dormakaba_sites_disconnected"],
33874
+ type: "string"
33875
+ },
33876
+ is_connected_account_error: {
33877
+ description: "Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.",
33878
+ enum: [true],
33879
+ type: "boolean"
33880
+ },
33881
+ is_device_error: {
33882
+ description: "Indicates that the error is not a device error.",
33883
+ enum: [false],
33884
+ type: "boolean"
33885
+ },
33886
+ message: {
33887
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
33888
+ type: "string"
33889
+ }
33890
+ },
33891
+ required: [
33892
+ "message",
33893
+ "is_device_error",
33894
+ "created_at",
33895
+ "error_code",
33896
+ "is_connected_account_error"
33897
+ ],
33898
+ type: "object",
33899
+ "x-resource-type": "connected_account",
33900
+ "x-variant-group-key": "locks"
33901
+ },
33835
33902
  {
33836
33903
  deprecated: true,
33837
33904
  description: "Indicates that the device is offline.",
@@ -34095,7 +34162,8 @@ var openapi = {
34095
34162
  ],
34096
34163
  type: "object",
34097
34164
  "x-deprecated": "Use `hub_disconnected` instead.",
34098
- "x-resource-type": "device"
34165
+ "x-resource-type": "device",
34166
+ "x-variant-group-key": "locks"
34099
34167
  },
34100
34168
  {
34101
34169
  description: "Indicates that device credentials are missing.",
@@ -34226,7 +34294,8 @@ var openapi = {
34226
34294
  ],
34227
34295
  type: "object",
34228
34296
  "x-deprecated": "Use `hub_disconnected` instead.",
34229
- "x-resource-type": "device"
34297
+ "x-resource-type": "device",
34298
+ "x-variant-group-key": "locks"
34230
34299
  },
34231
34300
  {
34232
34301
  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).",
@@ -34257,36 +34326,6 @@ var openapi = {
34257
34326
  required: ["created_at", "message", "error_code"],
34258
34327
  type: "object",
34259
34328
  "x-resource-type": "connected_account"
34260
- },
34261
- {
34262
- description: "Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.",
34263
- properties: {
34264
- created_at: {
34265
- description: "Date and time at which Seam created the error.",
34266
- format: "date-time",
34267
- type: "string"
34268
- },
34269
- error_code: {
34270
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
34271
- enum: ["dormakaba_sites_disconnected"],
34272
- type: "string"
34273
- },
34274
- is_bridge_error: {
34275
- description: "Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge).",
34276
- type: "boolean"
34277
- },
34278
- is_connected_account_error: {
34279
- description: "Indicates whether the error is related specifically to the connected account.",
34280
- type: "boolean"
34281
- },
34282
- message: {
34283
- description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
34284
- type: "string"
34285
- }
34286
- },
34287
- required: ["created_at", "message", "error_code"],
34288
- type: "object",
34289
- "x-resource-type": "connected_account"
34290
34329
  }
34291
34330
  ]
34292
34331
  },
@@ -34354,29 +34393,6 @@ var openapi = {
34354
34393
  required: ["message", "warning_code"],
34355
34394
  type: "object"
34356
34395
  },
34357
- {
34358
- deprecated: true,
34359
- description: "Duplicate access code detected.",
34360
- properties: {
34361
- created_at: {
34362
- description: "Date and time at which Seam created the warning.",
34363
- format: "date-time",
34364
- type: "string"
34365
- },
34366
- message: {
34367
- description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
34368
- type: "string"
34369
- },
34370
- warning_code: {
34371
- description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
34372
- enum: ["schlage_detected_duplicate"],
34373
- type: "string"
34374
- }
34375
- },
34376
- required: ["message", "warning_code"],
34377
- type: "object",
34378
- "x-deprecated": "Use `duplicate_code_on_device` error instead."
34379
- },
34380
34396
  {
34381
34397
  description: "The Schlage device's timezone is ambiguous and this code's schedule crosses a daylight-saving transition in at least one plausible timezone. A 1-hour safety buffer has been applied to the side of the schedule affected by the transition (`ends_at` for spring-forward, `starts_at` for fall-back) so the code stays active through the shift \u2014 the code may be usable up to 1 hour beyond your requested window. Set the device's timezone via `/devices/report_provider_metadata` to clear the buffer and guarantee exact DST handling.",
34382
34398
  properties: {
@@ -36589,6 +36605,45 @@ var openapi = {
36589
36605
  "x-resource-type": "connected_account",
36590
36606
  "x-variant-group-key": "locks"
36591
36607
  },
36608
+ {
36609
+ description: "Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.",
36610
+ properties: {
36611
+ created_at: {
36612
+ description: "Date and time at which Seam created the error.",
36613
+ format: "date-time",
36614
+ type: "string"
36615
+ },
36616
+ error_code: {
36617
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
36618
+ enum: ["dormakaba_sites_disconnected"],
36619
+ type: "string"
36620
+ },
36621
+ is_connected_account_error: {
36622
+ description: "Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.",
36623
+ enum: [true],
36624
+ type: "boolean"
36625
+ },
36626
+ is_device_error: {
36627
+ description: "Indicates that the error is not a device error.",
36628
+ enum: [false],
36629
+ type: "boolean"
36630
+ },
36631
+ message: {
36632
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
36633
+ type: "string"
36634
+ }
36635
+ },
36636
+ required: [
36637
+ "message",
36638
+ "is_device_error",
36639
+ "created_at",
36640
+ "error_code",
36641
+ "is_connected_account_error"
36642
+ ],
36643
+ type: "object",
36644
+ "x-resource-type": "connected_account",
36645
+ "x-variant-group-key": "locks"
36646
+ },
36592
36647
  {
36593
36648
  deprecated: true,
36594
36649
  description: "Indicates that the device is offline.",
@@ -36852,7 +36907,8 @@ var openapi = {
36852
36907
  ],
36853
36908
  type: "object",
36854
36909
  "x-deprecated": "Use `hub_disconnected` instead.",
36855
- "x-resource-type": "device"
36910
+ "x-resource-type": "device",
36911
+ "x-variant-group-key": "locks"
36856
36912
  },
36857
36913
  {
36858
36914
  description: "Indicates that device credentials are missing.",
@@ -36983,7 +37039,8 @@ var openapi = {
36983
37039
  ],
36984
37040
  type: "object",
36985
37041
  "x-deprecated": "Use `hub_disconnected` instead.",
36986
- "x-resource-type": "device"
37042
+ "x-resource-type": "device",
37043
+ "x-variant-group-key": "locks"
36987
37044
  },
36988
37045
  {
36989
37046
  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).",
@@ -37014,36 +37071,6 @@ var openapi = {
37014
37071
  required: ["created_at", "message", "error_code"],
37015
37072
  type: "object",
37016
37073
  "x-resource-type": "connected_account"
37017
- },
37018
- {
37019
- description: "Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.",
37020
- properties: {
37021
- created_at: {
37022
- description: "Date and time at which Seam created the error.",
37023
- format: "date-time",
37024
- type: "string"
37025
- },
37026
- error_code: {
37027
- description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
37028
- enum: ["dormakaba_sites_disconnected"],
37029
- type: "string"
37030
- },
37031
- is_bridge_error: {
37032
- description: "Indicates whether the error is related to [Seam Bridge](https://docs.seam.co/capability-guides/seam-bridge).",
37033
- type: "boolean"
37034
- },
37035
- is_connected_account_error: {
37036
- description: "Indicates whether the error is related specifically to the connected account.",
37037
- type: "boolean"
37038
- },
37039
- message: {
37040
- description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
37041
- type: "string"
37042
- }
37043
- },
37044
- required: ["created_at", "message", "error_code"],
37045
- type: "object",
37046
- "x-resource-type": "connected_account"
37047
37074
  }
37048
37075
  ]
37049
37076
  },
@@ -37301,7 +37328,8 @@ var openapi = {
37301
37328
  },
37302
37329
  required: ["message", "created_at", "warning_code"],
37303
37330
  type: "object",
37304
- "x-deprecated": "Use `hub_disconnected` device error instead."
37331
+ "x-deprecated": "Use `hub_disconnected` device error instead.",
37332
+ "x-variant-group-key": "locks"
37305
37333
  },
37306
37334
  {
37307
37335
  description: "Indicates that a third-party integration has been detected.",
@@ -37347,7 +37375,7 @@ var openapi = {
37347
37375
  "x-variant-group-key": "locks"
37348
37376
  },
37349
37377
  {
37350
- description: "\n Indicates that the gateway signal is weak.\n ",
37378
+ description: "Indicates that the gateway signal is weak.",
37351
37379
  properties: {
37352
37380
  created_at: {
37353
37381
  description: "Date and time at which Seam created the warning.",
@@ -37365,7 +37393,8 @@ var openapi = {
37365
37393
  }
37366
37394
  },
37367
37395
  required: ["message", "created_at", "warning_code"],
37368
- type: "object"
37396
+ type: "object",
37397
+ "x-variant-group-key": "locks"
37369
37398
  },
37370
37399
  {
37371
37400
  description: "Indicates that the device is in power saving mode and may have limited functionality.",
@@ -37537,7 +37566,8 @@ var openapi = {
37537
37566
  }
37538
37567
  },
37539
37568
  required: ["message", "created_at", "warning_code"],
37540
- type: "object"
37569
+ type: "object",
37570
+ "x-variant-group-key": "locks"
37541
37571
  },
37542
37572
  {
37543
37573
  description: "Indicates that a change in the reported device model has been detected for this Salto KS lock, which may occur after an IQ hub reset. Access code support may be affected. See https://help.getseam.com/articles/5098842588-salto-ks-lock-loses-access-code-support for troubleshooting steps.",
@@ -37602,7 +37632,8 @@ var openapi = {
37602
37632
  }
37603
37633
  },
37604
37634
  required: ["message", "created_at", "warning_code"],
37605
- type: "object"
37635
+ type: "object",
37636
+ "x-variant-group-key": "locks"
37606
37637
  },
37607
37638
  {
37608
37639
  description: "Indicates that Seam does not know the time zone of the Ultraloq device. Set a time zone to enable time-bound access codes.",
@@ -37623,7 +37654,8 @@ var openapi = {
37623
37654
  }
37624
37655
  },
37625
37656
  required: ["message", "created_at", "warning_code"],
37626
- type: "object"
37657
+ type: "object",
37658
+ "x-variant-group-key": "locks"
37627
37659
  },
37628
37660
  {
37629
37661
  description: "Indicates that the 2N device does not have a time zone configured. Configure a time zone on the device to enable access codes.",
@@ -37644,7 +37676,8 @@ var openapi = {
37644
37676
  }
37645
37677
  },
37646
37678
  required: ["message", "created_at", "warning_code"],
37647
- type: "object"
37679
+ type: "object",
37680
+ "x-variant-group-key": "locks"
37648
37681
  },
37649
37682
  {
37650
37683
  description: "Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.",