@seamapi/types 1.922.0 → 1.923.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(`
@@ -8002,6 +8037,45 @@ var openapi = {
8002
8037
  "x-resource-type": "connected_account",
8003
8038
  "x-variant-group-key": "locks"
8004
8039
  },
8040
+ {
8041
+ description: "Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.",
8042
+ properties: {
8043
+ created_at: {
8044
+ description: "Date and time at which Seam created the error.",
8045
+ format: "date-time",
8046
+ type: "string"
8047
+ },
8048
+ error_code: {
8049
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
8050
+ enum: ["dormakaba_sites_disconnected"],
8051
+ type: "string"
8052
+ },
8053
+ is_connected_account_error: {
8054
+ description: "Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.",
8055
+ enum: [true],
8056
+ type: "boolean"
8057
+ },
8058
+ is_device_error: {
8059
+ description: "Indicates that the error is not a device error.",
8060
+ enum: [false],
8061
+ type: "boolean"
8062
+ },
8063
+ message: {
8064
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
8065
+ type: "string"
8066
+ }
8067
+ },
8068
+ required: [
8069
+ "message",
8070
+ "is_device_error",
8071
+ "created_at",
8072
+ "error_code",
8073
+ "is_connected_account_error"
8074
+ ],
8075
+ type: "object",
8076
+ "x-resource-type": "connected_account",
8077
+ "x-variant-group-key": "locks"
8078
+ },
8005
8079
  {
8006
8080
  deprecated: true,
8007
8081
  description: "Indicates that the device is offline.",
@@ -8265,7 +8339,8 @@ var openapi = {
8265
8339
  ],
8266
8340
  type: "object",
8267
8341
  "x-deprecated": "Use `hub_disconnected` instead.",
8268
- "x-resource-type": "device"
8342
+ "x-resource-type": "device",
8343
+ "x-variant-group-key": "locks"
8269
8344
  },
8270
8345
  {
8271
8346
  description: "Indicates that device credentials are missing.",
@@ -8396,7 +8471,8 @@ var openapi = {
8396
8471
  ],
8397
8472
  type: "object",
8398
8473
  "x-deprecated": "Use `hub_disconnected` instead.",
8399
- "x-resource-type": "device"
8474
+ "x-resource-type": "device",
8475
+ "x-variant-group-key": "locks"
8400
8476
  },
8401
8477
  {
8402
8478
  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 +8503,6 @@ var openapi = {
8427
8503
  required: ["created_at", "message", "error_code"],
8428
8504
  type: "object",
8429
8505
  "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
8506
  }
8461
8507
  ]
8462
8508
  },
@@ -19180,6 +19226,45 @@ var openapi = {
19180
19226
  "x-resource-type": "connected_account",
19181
19227
  "x-variant-group-key": "locks"
19182
19228
  },
19229
+ {
19230
+ description: "Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.",
19231
+ properties: {
19232
+ created_at: {
19233
+ description: "Date and time at which Seam created the error.",
19234
+ format: "date-time",
19235
+ type: "string"
19236
+ },
19237
+ error_code: {
19238
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
19239
+ enum: ["dormakaba_sites_disconnected"],
19240
+ type: "string"
19241
+ },
19242
+ is_connected_account_error: {
19243
+ description: "Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.",
19244
+ enum: [true],
19245
+ type: "boolean"
19246
+ },
19247
+ is_device_error: {
19248
+ description: "Indicates that the error is not a device error.",
19249
+ enum: [false],
19250
+ type: "boolean"
19251
+ },
19252
+ message: {
19253
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
19254
+ type: "string"
19255
+ }
19256
+ },
19257
+ required: [
19258
+ "message",
19259
+ "is_device_error",
19260
+ "created_at",
19261
+ "error_code",
19262
+ "is_connected_account_error"
19263
+ ],
19264
+ type: "object",
19265
+ "x-resource-type": "connected_account",
19266
+ "x-variant-group-key": "locks"
19267
+ },
19183
19268
  {
19184
19269
  deprecated: true,
19185
19270
  description: "Indicates that the device is offline.",
@@ -19443,7 +19528,8 @@ var openapi = {
19443
19528
  ],
19444
19529
  type: "object",
19445
19530
  "x-deprecated": "Use `hub_disconnected` instead.",
19446
- "x-resource-type": "device"
19531
+ "x-resource-type": "device",
19532
+ "x-variant-group-key": "locks"
19447
19533
  },
19448
19534
  {
19449
19535
  description: "Indicates that device credentials are missing.",
@@ -19574,7 +19660,8 @@ var openapi = {
19574
19660
  ],
19575
19661
  type: "object",
19576
19662
  "x-deprecated": "Use `hub_disconnected` instead.",
19577
- "x-resource-type": "device"
19663
+ "x-resource-type": "device",
19664
+ "x-variant-group-key": "locks"
19578
19665
  },
19579
19666
  {
19580
19667
  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 +19692,6 @@ var openapi = {
19605
19692
  required: ["created_at", "message", "error_code"],
19606
19693
  type: "object",
19607
19694
  "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
19695
  }
19639
19696
  ]
19640
19697
  },
@@ -22170,7 +22227,8 @@ var openapi = {
22170
22227
  },
22171
22228
  required: ["message", "created_at", "warning_code"],
22172
22229
  type: "object",
22173
- "x-deprecated": "Use `hub_disconnected` device error instead."
22230
+ "x-deprecated": "Use `hub_disconnected` device error instead.",
22231
+ "x-variant-group-key": "locks"
22174
22232
  },
22175
22233
  {
22176
22234
  description: "Indicates that a third-party integration has been detected.",
@@ -22216,7 +22274,7 @@ var openapi = {
22216
22274
  "x-variant-group-key": "locks"
22217
22275
  },
22218
22276
  {
22219
- description: "\n Indicates that the gateway signal is weak.\n ",
22277
+ description: "Indicates that the gateway signal is weak.",
22220
22278
  properties: {
22221
22279
  created_at: {
22222
22280
  description: "Date and time at which Seam created the warning.",
@@ -22234,7 +22292,8 @@ var openapi = {
22234
22292
  }
22235
22293
  },
22236
22294
  required: ["message", "created_at", "warning_code"],
22237
- type: "object"
22295
+ type: "object",
22296
+ "x-variant-group-key": "locks"
22238
22297
  },
22239
22298
  {
22240
22299
  description: "Indicates that the device is in power saving mode and may have limited functionality.",
@@ -22406,7 +22465,8 @@ var openapi = {
22406
22465
  }
22407
22466
  },
22408
22467
  required: ["message", "created_at", "warning_code"],
22409
- type: "object"
22468
+ type: "object",
22469
+ "x-variant-group-key": "locks"
22410
22470
  },
22411
22471
  {
22412
22472
  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 +22531,8 @@ var openapi = {
22471
22531
  }
22472
22532
  },
22473
22533
  required: ["message", "created_at", "warning_code"],
22474
- type: "object"
22534
+ type: "object",
22535
+ "x-variant-group-key": "locks"
22475
22536
  },
22476
22537
  {
22477
22538
  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 +22553,8 @@ var openapi = {
22492
22553
  }
22493
22554
  },
22494
22555
  required: ["message", "created_at", "warning_code"],
22495
- type: "object"
22556
+ type: "object",
22557
+ "x-variant-group-key": "locks"
22496
22558
  },
22497
22559
  {
22498
22560
  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 +22575,8 @@ var openapi = {
22513
22575
  }
22514
22576
  },
22515
22577
  required: ["message", "created_at", "warning_code"],
22516
- type: "object"
22578
+ type: "object",
22579
+ "x-variant-group-key": "locks"
22517
22580
  },
22518
22581
  {
22519
22582
  description: "Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.",
@@ -33832,6 +33895,45 @@ var openapi = {
33832
33895
  "x-resource-type": "connected_account",
33833
33896
  "x-variant-group-key": "locks"
33834
33897
  },
33898
+ {
33899
+ description: "Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.",
33900
+ properties: {
33901
+ created_at: {
33902
+ description: "Date and time at which Seam created the error.",
33903
+ format: "date-time",
33904
+ type: "string"
33905
+ },
33906
+ error_code: {
33907
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
33908
+ enum: ["dormakaba_sites_disconnected"],
33909
+ type: "string"
33910
+ },
33911
+ is_connected_account_error: {
33912
+ description: "Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.",
33913
+ enum: [true],
33914
+ type: "boolean"
33915
+ },
33916
+ is_device_error: {
33917
+ description: "Indicates that the error is not a device error.",
33918
+ enum: [false],
33919
+ type: "boolean"
33920
+ },
33921
+ message: {
33922
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
33923
+ type: "string"
33924
+ }
33925
+ },
33926
+ required: [
33927
+ "message",
33928
+ "is_device_error",
33929
+ "created_at",
33930
+ "error_code",
33931
+ "is_connected_account_error"
33932
+ ],
33933
+ type: "object",
33934
+ "x-resource-type": "connected_account",
33935
+ "x-variant-group-key": "locks"
33936
+ },
33835
33937
  {
33836
33938
  deprecated: true,
33837
33939
  description: "Indicates that the device is offline.",
@@ -34095,7 +34197,8 @@ var openapi = {
34095
34197
  ],
34096
34198
  type: "object",
34097
34199
  "x-deprecated": "Use `hub_disconnected` instead.",
34098
- "x-resource-type": "device"
34200
+ "x-resource-type": "device",
34201
+ "x-variant-group-key": "locks"
34099
34202
  },
34100
34203
  {
34101
34204
  description: "Indicates that device credentials are missing.",
@@ -34226,7 +34329,8 @@ var openapi = {
34226
34329
  ],
34227
34330
  type: "object",
34228
34331
  "x-deprecated": "Use `hub_disconnected` instead.",
34229
- "x-resource-type": "device"
34332
+ "x-resource-type": "device",
34333
+ "x-variant-group-key": "locks"
34230
34334
  },
34231
34335
  {
34232
34336
  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 +34361,6 @@ var openapi = {
34257
34361
  required: ["created_at", "message", "error_code"],
34258
34362
  type: "object",
34259
34363
  "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
34364
  }
34291
34365
  ]
34292
34366
  },
@@ -36589,6 +36663,45 @@ var openapi = {
36589
36663
  "x-resource-type": "connected_account",
36590
36664
  "x-variant-group-key": "locks"
36591
36665
  },
36666
+ {
36667
+ description: "Indicates that one or more dormakaba sites associated with the connected account could not be connected. Contact dormakaba support.",
36668
+ properties: {
36669
+ created_at: {
36670
+ description: "Date and time at which Seam created the error.",
36671
+ format: "date-time",
36672
+ type: "string"
36673
+ },
36674
+ error_code: {
36675
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
36676
+ enum: ["dormakaba_sites_disconnected"],
36677
+ type: "string"
36678
+ },
36679
+ is_connected_account_error: {
36680
+ description: "Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.",
36681
+ enum: [true],
36682
+ type: "boolean"
36683
+ },
36684
+ is_device_error: {
36685
+ description: "Indicates that the error is not a device error.",
36686
+ enum: [false],
36687
+ type: "boolean"
36688
+ },
36689
+ message: {
36690
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
36691
+ type: "string"
36692
+ }
36693
+ },
36694
+ required: [
36695
+ "message",
36696
+ "is_device_error",
36697
+ "created_at",
36698
+ "error_code",
36699
+ "is_connected_account_error"
36700
+ ],
36701
+ type: "object",
36702
+ "x-resource-type": "connected_account",
36703
+ "x-variant-group-key": "locks"
36704
+ },
36592
36705
  {
36593
36706
  deprecated: true,
36594
36707
  description: "Indicates that the device is offline.",
@@ -36852,7 +36965,8 @@ var openapi = {
36852
36965
  ],
36853
36966
  type: "object",
36854
36967
  "x-deprecated": "Use `hub_disconnected` instead.",
36855
- "x-resource-type": "device"
36968
+ "x-resource-type": "device",
36969
+ "x-variant-group-key": "locks"
36856
36970
  },
36857
36971
  {
36858
36972
  description: "Indicates that device credentials are missing.",
@@ -36983,7 +37097,8 @@ var openapi = {
36983
37097
  ],
36984
37098
  type: "object",
36985
37099
  "x-deprecated": "Use `hub_disconnected` instead.",
36986
- "x-resource-type": "device"
37100
+ "x-resource-type": "device",
37101
+ "x-variant-group-key": "locks"
36987
37102
  },
36988
37103
  {
36989
37104
  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 +37129,6 @@ var openapi = {
37014
37129
  required: ["created_at", "message", "error_code"],
37015
37130
  type: "object",
37016
37131
  "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
37132
  }
37048
37133
  ]
37049
37134
  },
@@ -37301,7 +37386,8 @@ var openapi = {
37301
37386
  },
37302
37387
  required: ["message", "created_at", "warning_code"],
37303
37388
  type: "object",
37304
- "x-deprecated": "Use `hub_disconnected` device error instead."
37389
+ "x-deprecated": "Use `hub_disconnected` device error instead.",
37390
+ "x-variant-group-key": "locks"
37305
37391
  },
37306
37392
  {
37307
37393
  description: "Indicates that a third-party integration has been detected.",
@@ -37347,7 +37433,7 @@ var openapi = {
37347
37433
  "x-variant-group-key": "locks"
37348
37434
  },
37349
37435
  {
37350
- description: "\n Indicates that the gateway signal is weak.\n ",
37436
+ description: "Indicates that the gateway signal is weak.",
37351
37437
  properties: {
37352
37438
  created_at: {
37353
37439
  description: "Date and time at which Seam created the warning.",
@@ -37365,7 +37451,8 @@ var openapi = {
37365
37451
  }
37366
37452
  },
37367
37453
  required: ["message", "created_at", "warning_code"],
37368
- type: "object"
37454
+ type: "object",
37455
+ "x-variant-group-key": "locks"
37369
37456
  },
37370
37457
  {
37371
37458
  description: "Indicates that the device is in power saving mode and may have limited functionality.",
@@ -37537,7 +37624,8 @@ var openapi = {
37537
37624
  }
37538
37625
  },
37539
37626
  required: ["message", "created_at", "warning_code"],
37540
- type: "object"
37627
+ type: "object",
37628
+ "x-variant-group-key": "locks"
37541
37629
  },
37542
37630
  {
37543
37631
  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 +37690,8 @@ var openapi = {
37602
37690
  }
37603
37691
  },
37604
37692
  required: ["message", "created_at", "warning_code"],
37605
- type: "object"
37693
+ type: "object",
37694
+ "x-variant-group-key": "locks"
37606
37695
  },
37607
37696
  {
37608
37697
  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 +37712,8 @@ var openapi = {
37623
37712
  }
37624
37713
  },
37625
37714
  required: ["message", "created_at", "warning_code"],
37626
- type: "object"
37715
+ type: "object",
37716
+ "x-variant-group-key": "locks"
37627
37717
  },
37628
37718
  {
37629
37719
  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 +37734,8 @@ var openapi = {
37644
37734
  }
37645
37735
  },
37646
37736
  required: ["message", "created_at", "warning_code"],
37647
- type: "object"
37737
+ type: "object",
37738
+ "x-variant-group-key": "locks"
37648
37739
  },
37649
37740
  {
37650
37741
  description: "Indicates that a hub or relay must be connected to unlock additional capabilities such as remote unlock.",