@seamapi/types 1.417.0 → 1.418.1

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
@@ -1304,39 +1304,61 @@ var account_disconnected2 = common_device_error.extend({
1304
1304
  }).describe("Indicates that the account is disconnected.");
1305
1305
  var empty_backup_access_code_pool = common_device_error.extend({
1306
1306
  error_code: zod.z.literal("empty_backup_access_code_pool").describe(error_code_description2)
1307
- }).describe(
1308
- "Indicates that the [backup access code pool](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/backup-access-codes) is empty."
1309
- );
1307
+ }).describe(`
1308
+ ---
1309
+ variant_group_key: access_codes
1310
+ ---
1311
+ Indicates that the [backup access code pool](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes/backup-access-codes) is empty.
1312
+ `);
1310
1313
  var august_lock_not_authorized = common_device_error.extend({
1311
1314
  error_code: zod.z.literal("august_lock_not_authorized").describe(error_code_description2)
1312
- }).describe("Indicates that the user is not authorized to use the August lock.");
1315
+ }).describe(`
1316
+ ---
1317
+ variant_group_key: locks
1318
+ ---
1319
+ Indicates that the user is not authorized to use the August lock.
1320
+ `);
1313
1321
  var august_lock_missing_bridge = common_device_error.extend({
1314
1322
  error_code: zod.z.literal("august_lock_missing_bridge").describe(error_code_description2)
1315
- }).describe("Indicates that the lock is not connected to a bridge.");
1323
+ }).describe(`
1324
+ ---
1325
+ variant_group_key: locks
1326
+ ---
1327
+ Indicates that the lock is not connected to a bridge.
1328
+ `);
1316
1329
  var salto_ks_subscription_limit_exceeded2 = common_device_error.extend({
1317
1330
  error_code: zod.z.literal("salto_ks_subscription_limit_exceeded").describe(error_code_description2),
1318
1331
  is_connected_account_error: zod.z.literal(true).describe(
1319
1332
  "Indicates that the error is a [connected account](https://docs.seam.co/latest/api/connected_accounts) error."
1320
1333
  ),
1321
1334
  is_device_error: zod.z.literal(false).describe("Indicates that the error is not a device error.")
1322
- }).describe("Indicates that the Salto site user limit has been reached.");
1335
+ }).describe(`
1336
+ ---
1337
+ variant_group_key: locks
1338
+ ---
1339
+ Indicates that the Salto site user limit has been reached.
1340
+ `);
1323
1341
  var ttlock_lock_not_paired_to_gateway = common_device_error.extend({
1324
1342
  error_code: zod.z.literal("ttlock_lock_not_paired_to_gateway").describe(error_code_description2)
1325
- }).describe("Indicates that the lock is not paired with a gateway.");
1343
+ }).describe(`
1344
+ Indicates that the lock is not paired with a gateway.
1345
+ `);
1326
1346
  var missing_device_credentials = common_device_error.extend({
1327
1347
  error_code: zod.z.literal("missing_device_credentials").describe(error_code_description2)
1328
1348
  }).describe("Indicates that device credentials are missing.");
1329
1349
  var auxiliary_heat_running = common_device_error.extend({
1330
1350
  error_code: zod.z.literal("auxiliary_heat_running").describe(error_code_description2)
1331
- }).describe("Indicates that the auxiliary heat is running.");
1351
+ }).describe(`
1352
+ Indicates that the auxiliary heat is running.
1353
+ `);
1332
1354
  var subscription_required = common_device_error.extend({
1333
1355
  error_code: zod.z.literal("subscription_required").describe(error_code_description2)
1334
1356
  }).describe("Indicates that a subscription is required to connect.");
1335
1357
  var lockly_missing_wifi_bridge = common_device_error.extend({
1336
1358
  error_code: zod.z.literal("lockly_missing_wifi_bridge").describe(error_code_description2)
1337
- }).describe(
1338
- "Indicates that the Lockly lock is not connected to a Wi-Fi bridge."
1339
- );
1359
+ }).describe(`
1360
+ Indicates that the Lockly lock is not connected to a Wi-Fi bridge.
1361
+ `);
1340
1362
  var device_error = zod.z.discriminatedUnion("error_code", [
1341
1363
  account_disconnected2,
1342
1364
  salto_ks_subscription_limit_exceeded2,
@@ -1378,10 +1400,20 @@ var common_device_warning = zod.z.object({
1378
1400
  });
1379
1401
  var partial_backup_access_code_pool = common_device_warning.extend({
1380
1402
  warning_code: zod.z.literal("partial_backup_access_code_pool").describe(warning_code_description2)
1381
- }).describe("Indicates that the backup access code is unhealthy.");
1403
+ }).describe(`
1404
+ ---
1405
+ variant_group_key: access_codes
1406
+ ---
1407
+ Indicates that the backup access code is unhealthy.
1408
+ `);
1382
1409
  var many_active_backup_codes = common_device_warning.extend({
1383
1410
  warning_code: zod.z.literal("many_active_backup_codes").describe(warning_code_description2)
1384
- }).describe("Indicates that there are too many backup codes.");
1411
+ }).describe(`
1412
+ ---
1413
+ variant_group_key: access_codes
1414
+ ---
1415
+ Indicates that there are too many backup codes.
1416
+ `);
1385
1417
  var salto_ks_office_mode = common_device_warning.extend({
1386
1418
  warning_code: zod.z.literal("salto_ks_office_mode").describe(warning_code_description2)
1387
1419
  }).describe(
@@ -1399,7 +1431,9 @@ var salto_ks_subscription_limit_almost_reached2 = common_device_warning.extend({
1399
1431
  );
1400
1432
  var wyze_device_missing_gateway = common_device_warning.extend({
1401
1433
  warning_code: zod.z.literal("wyze_device_missing_gateway").describe(warning_code_description2)
1402
- }).describe("Indicates that the Wyze Lock is not connected to a gateway.");
1434
+ }).describe(`
1435
+ Indicates that the Wyze Lock is not connected to a gateway.
1436
+ `);
1403
1437
  var functional_offline_device = common_device_warning.extend({
1404
1438
  warning_code: zod.z.literal("functional_offline_device").describe(warning_code_description2)
1405
1439
  }).describe(
@@ -1410,18 +1444,33 @@ var third_party_integration_detected = common_device_warning.extend({
1410
1444
  }).describe("Indicates that a third-party integration has been detected.");
1411
1445
  var nest_thermostat_in_manual_eco_mode = common_device_warning.extend({
1412
1446
  warning_code: zod.z.literal("nest_thermostat_in_manual_eco_mode").describe(warning_code_description2)
1413
- }).describe("Indicates that the Nest thermostat is in manual eco mode.");
1447
+ }).describe(`
1448
+ ---
1449
+ variant_group_key: thermostats
1450
+ ---
1451
+ Indicates that the Nest thermostat is in manual eco mode.
1452
+ `);
1414
1453
  var ttlock_lock_gateway_unlocking_not_enabled = common_device_warning.extend({
1415
1454
  warning_code: zod.z.literal("ttlock_lock_gateway_unlocking_not_enabled").describe(warning_code_description2)
1416
- }).describe(
1417
- "Indicates that the Remote Unlock feature is not enabled in the settings."
1418
- );
1455
+ }).describe(`
1456
+ ---
1457
+ variant_group_key: locks
1458
+ ---
1459
+ Indicates that the Remote Unlock feature is not enabled in the settings."
1460
+ `);
1419
1461
  var ttlock_weak_gateway_signal = common_device_warning.extend({
1420
1462
  warning_code: zod.z.literal("ttlock_weak_gateway_signal").describe(warning_code_description2)
1421
- }).describe("Indicates that the gateway signal is weak.");
1463
+ }).describe(`
1464
+ Indicates that the gateway signal is weak.
1465
+ `);
1422
1466
  var temperature_threshold_exceeded = common_device_warning.extend({
1423
1467
  warning_code: zod.z.literal("temperature_threshold_exceeded").describe(warning_code_description2)
1424
- }).describe("Indicates that the temperature threshold has been exceeded.");
1468
+ }).describe(`
1469
+ ---
1470
+ variant_group_key: thermostats
1471
+ ---
1472
+ Indicates that the temperature threshold has been exceeded.
1473
+ `);
1425
1474
  var device_communication_degraded = common_device_warning.extend({
1426
1475
  warning_code: zod.z.literal("device_communication_degraded").describe(warning_code_description2)
1427
1476
  }).describe("Indicates that the device appears to be unresponsive.");
@@ -1438,9 +1487,12 @@ var lockly_time_zone_not_configured = common_device_warning.extend({
1438
1487
  );
1439
1488
  var unknown_issue_with_phone = common_device_warning.extend({
1440
1489
  warning_code: zod.z.literal("unknown_issue_with_phone").describe(warning_code_description2)
1441
- }).describe(
1442
- "Indicates that an unknown issue occurred while syncing the state of the phone with the provider. This issue may affect the proper functioning of the phone."
1443
- );
1490
+ }).describe(`
1491
+ ---
1492
+ variant_group_key: phones
1493
+ ---
1494
+ Indicates that an unknown issue occurred while syncing the state of the phone with the provider. This issue may affect the proper functioning of the phone.
1495
+ `);
1444
1496
  var device_warning = zod.z.discriminatedUnion("warning_code", [
1445
1497
  partial_backup_access_code_pool,
1446
1498
  many_active_backup_codes,
@@ -1705,12 +1757,46 @@ var device = zod.z.object({
1705
1757
  )
1706
1758
  )
1707
1759
  ])
1708
- ).describe(
1709
- "Array of errors associated with the device. Each error object within the array contains two fields: `error_code` and `message`. `error_code` is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. `message` provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it."
1710
- ),
1711
- warnings: zod.z.array(device_warning).describe(
1712
- "Array of warnings associated with the device. Each warning object within the array contains two fields: `warning_code` and `message`. `warning_code` is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. `message` provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it."
1713
- ),
1760
+ ).describe(`
1761
+ ---
1762
+ variant_groups:
1763
+ locks:
1764
+ name: Locks
1765
+ access_codes:
1766
+ name: Access Codes
1767
+ thermostats:
1768
+ name: Thermostats
1769
+ hardware:
1770
+ name: Hardware
1771
+ noise_sensors:
1772
+ name: Noise Sensors
1773
+ phones:
1774
+ name: Phones
1775
+ provider_metadata:
1776
+ name: Provider Metadata
1777
+ ---
1778
+ Array of errors associated with the device. Each error object within the array contains two fields: \`error_code\` and \`message\`. \`error_code\` is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. \`message\` provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.
1779
+ `),
1780
+ warnings: zod.z.array(device_warning).describe(`
1781
+ ---
1782
+ variant_groups:
1783
+ locks:
1784
+ name: Locks
1785
+ access_codes:
1786
+ name: Access Codes
1787
+ thermostats:
1788
+ name: Thermostats
1789
+ hardware:
1790
+ name: Hardware
1791
+ noise_sensors:
1792
+ name: Noise Sensors
1793
+ phones:
1794
+ name: Phones
1795
+ provider_metadata:
1796
+ name: Provider Metadata
1797
+ ---
1798
+ Array of warnings associated with the device. Each warning object within the array contains two fields: \`warning_code\` and \`message\`. \`warning_code\` is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. \`message\` provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.
1799
+ `),
1714
1800
  created_at: zod.z.string().datetime().describe("Date and time at which the device object was created."),
1715
1801
  is_managed: zod.z.literal(true).describe(
1716
1802
  "Indicates whether Seam manages the device. See also [Managed and Unmanaged Devices](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices)."
@@ -2174,12 +2260,46 @@ var access_code = zod.z.object({
2174
2260
  ...access_code_error.options,
2175
2261
  ...device_and_connected_account_error_options
2176
2262
  ])
2177
- ).describe(
2178
- "Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes)."
2179
- ),
2180
- warnings: zod.z.array(access_code_warning).describe(
2181
- "Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes)."
2182
- ),
2263
+ ).describe(`
2264
+ ---
2265
+ variant_groups:
2266
+ locks:
2267
+ name: Locks
2268
+ access_codes:
2269
+ name: Access Codes
2270
+ thermostats:
2271
+ name: Thermostats
2272
+ hardware:
2273
+ name: Hardware
2274
+ noise_sensors:
2275
+ name: Noise Sensors
2276
+ phones:
2277
+ name: Phones
2278
+ provider_metadata:
2279
+ name: Provider Metadata
2280
+ ---
2281
+ Errors associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).
2282
+ `),
2283
+ warnings: zod.z.array(access_code_warning).describe(`
2284
+ ---
2285
+ variant_groups:
2286
+ locks:
2287
+ name: Locks
2288
+ access_codes:
2289
+ name: Access Codes
2290
+ thermostats:
2291
+ name: Thermostats
2292
+ hardware:
2293
+ name: Hardware
2294
+ noise_sensors:
2295
+ name: Noise Sensors
2296
+ phones:
2297
+ name: Phones
2298
+ provider_metadata:
2299
+ name: Provider Metadata
2300
+ ---
2301
+ Warnings associated with the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).
2302
+ `),
2183
2303
  is_managed: zod.z.literal(true).describe("Indicates whether Seam manages the access code."),
2184
2304
  starts_at: zod.z.string().datetime().nullable().optional().describe(
2185
2305
  "Date and time at which the time-bound access code becomes active."
@@ -6072,7 +6192,8 @@ var openapi_default = {
6072
6192
  "error_code",
6073
6193
  "is_connected_account_error"
6074
6194
  ],
6075
- type: "object"
6195
+ type: "object",
6196
+ "x-variant-group-key": "locks"
6076
6197
  },
6077
6198
  {
6078
6199
  description: "Indicates that the device is offline.",
@@ -6227,7 +6348,8 @@ var openapi_default = {
6227
6348
  "created_at",
6228
6349
  "error_code"
6229
6350
  ],
6230
- type: "object"
6351
+ type: "object",
6352
+ "x-variant-group-key": "access_codes"
6231
6353
  },
6232
6354
  {
6233
6355
  description: "Indicates that the user is not authorized to use the August lock.",
@@ -6258,7 +6380,8 @@ var openapi_default = {
6258
6380
  "created_at",
6259
6381
  "error_code"
6260
6382
  ],
6261
- type: "object"
6383
+ type: "object",
6384
+ "x-variant-group-key": "locks"
6262
6385
  },
6263
6386
  {
6264
6387
  description: "Indicates that the lock is not connected to a bridge.",
@@ -6289,10 +6412,11 @@ var openapi_default = {
6289
6412
  "created_at",
6290
6413
  "error_code"
6291
6414
  ],
6292
- type: "object"
6415
+ type: "object",
6416
+ "x-variant-group-key": "locks"
6293
6417
  },
6294
6418
  {
6295
- description: "Indicates that the lock is not paired with a gateway.",
6419
+ description: "\n Indicates that the lock is not paired with a gateway.\n ",
6296
6420
  properties: {
6297
6421
  created_at: {
6298
6422
  description: "Date and time at which Seam created the error.",
@@ -6354,7 +6478,7 @@ var openapi_default = {
6354
6478
  type: "object"
6355
6479
  },
6356
6480
  {
6357
- description: "Indicates that the auxiliary heat is running.",
6481
+ description: "\n Indicates that the auxiliary heat is running.\n ",
6358
6482
  properties: {
6359
6483
  created_at: {
6360
6484
  description: "Date and time at which Seam created the error.",
@@ -6416,7 +6540,7 @@ var openapi_default = {
6416
6540
  type: "object"
6417
6541
  },
6418
6542
  {
6419
- description: "Indicates that the Lockly lock is not connected to a Wi-Fi bridge.",
6543
+ description: "\n Indicates that the Lockly lock is not connected to a Wi-Fi bridge.\n ",
6420
6544
  properties: {
6421
6545
  created_at: {
6422
6546
  description: "Date and time at which Seam created the error.",
@@ -6506,7 +6630,16 @@ var openapi_default = {
6506
6630
  }
6507
6631
  ]
6508
6632
  },
6509
- type: "array"
6633
+ type: "array",
6634
+ "x-variant-groups": {
6635
+ access_codes: { name: "Access Codes" },
6636
+ hardware: { name: "Hardware" },
6637
+ locks: { name: "Locks" },
6638
+ noise_sensors: { name: "Noise Sensors" },
6639
+ phones: { name: "Phones" },
6640
+ provider_metadata: { name: "Provider Metadata" },
6641
+ thermostats: { name: "Thermostats" }
6642
+ }
6510
6643
  },
6511
6644
  is_backup: {
6512
6645
  description: "Indicates whether the access code is a backup code.",
@@ -6828,7 +6961,16 @@ var openapi_default = {
6828
6961
  }
6829
6962
  ]
6830
6963
  },
6831
- type: "array"
6964
+ type: "array",
6965
+ "x-variant-groups": {
6966
+ access_codes: { name: "Access Codes" },
6967
+ hardware: { name: "Hardware" },
6968
+ locks: { name: "Locks" },
6969
+ noise_sensors: { name: "Noise Sensors" },
6970
+ phones: { name: "Phones" },
6971
+ provider_metadata: { name: "Provider Metadata" },
6972
+ thermostats: { name: "Thermostats" }
6973
+ }
6832
6974
  }
6833
6975
  },
6834
6976
  required: [
@@ -13666,7 +13808,8 @@ var openapi_default = {
13666
13808
  "error_code",
13667
13809
  "is_connected_account_error"
13668
13810
  ],
13669
- type: "object"
13811
+ type: "object",
13812
+ "x-variant-group-key": "locks"
13670
13813
  },
13671
13814
  {
13672
13815
  description: "Indicates that the device is offline.",
@@ -13821,7 +13964,8 @@ var openapi_default = {
13821
13964
  "created_at",
13822
13965
  "error_code"
13823
13966
  ],
13824
- type: "object"
13967
+ type: "object",
13968
+ "x-variant-group-key": "access_codes"
13825
13969
  },
13826
13970
  {
13827
13971
  description: "Indicates that the user is not authorized to use the August lock.",
@@ -13852,7 +13996,8 @@ var openapi_default = {
13852
13996
  "created_at",
13853
13997
  "error_code"
13854
13998
  ],
13855
- type: "object"
13999
+ type: "object",
14000
+ "x-variant-group-key": "locks"
13856
14001
  },
13857
14002
  {
13858
14003
  description: "Indicates that the lock is not connected to a bridge.",
@@ -13883,10 +14028,11 @@ var openapi_default = {
13883
14028
  "created_at",
13884
14029
  "error_code"
13885
14030
  ],
13886
- type: "object"
14031
+ type: "object",
14032
+ "x-variant-group-key": "locks"
13887
14033
  },
13888
14034
  {
13889
- description: "Indicates that the lock is not paired with a gateway.",
14035
+ description: "\n Indicates that the lock is not paired with a gateway.\n ",
13890
14036
  properties: {
13891
14037
  created_at: {
13892
14038
  description: "Date and time at which Seam created the error.",
@@ -13948,7 +14094,7 @@ var openapi_default = {
13948
14094
  type: "object"
13949
14095
  },
13950
14096
  {
13951
- description: "Indicates that the auxiliary heat is running.",
14097
+ description: "\n Indicates that the auxiliary heat is running.\n ",
13952
14098
  properties: {
13953
14099
  created_at: {
13954
14100
  description: "Date and time at which Seam created the error.",
@@ -14010,7 +14156,7 @@ var openapi_default = {
14010
14156
  type: "object"
14011
14157
  },
14012
14158
  {
14013
- description: "Indicates that the Lockly lock is not connected to a Wi-Fi bridge.",
14159
+ description: "\n Indicates that the Lockly lock is not connected to a Wi-Fi bridge.\n ",
14014
14160
  properties: {
14015
14161
  created_at: {
14016
14162
  description: "Date and time at which Seam created the error.",
@@ -14100,7 +14246,16 @@ var openapi_default = {
14100
14246
  }
14101
14247
  ]
14102
14248
  },
14103
- type: "array"
14249
+ type: "array",
14250
+ "x-variant-groups": {
14251
+ access_codes: { name: "Access Codes" },
14252
+ hardware: { name: "Hardware" },
14253
+ locks: { name: "Locks" },
14254
+ noise_sensors: { name: "Noise Sensors" },
14255
+ phones: { name: "Phones" },
14256
+ provider_metadata: { name: "Provider Metadata" },
14257
+ thermostats: { name: "Thermostats" }
14258
+ }
14104
14259
  },
14105
14260
  is_managed: {
14106
14261
  description: "Indicates whether Seam manages the device. See also [Managed and Unmanaged Devices](https://docs.seam.co/latest/core-concepts/devices/managed-and-unmanaged-devices).",
@@ -16160,7 +16315,8 @@ var openapi_default = {
16160
16315
  }
16161
16316
  },
16162
16317
  required: ["message", "created_at", "warning_code"],
16163
- type: "object"
16318
+ type: "object",
16319
+ "x-variant-group-key": "access_codes"
16164
16320
  },
16165
16321
  {
16166
16322
  description: "Indicates that there are too many backup codes.",
@@ -16181,10 +16337,11 @@ var openapi_default = {
16181
16337
  }
16182
16338
  },
16183
16339
  required: ["message", "created_at", "warning_code"],
16184
- type: "object"
16340
+ type: "object",
16341
+ "x-variant-group-key": "access_codes"
16185
16342
  },
16186
16343
  {
16187
- description: "Indicates that the Wyze Lock is not connected to a gateway.",
16344
+ description: "\n Indicates that the Wyze Lock is not connected to a gateway.\n ",
16188
16345
  properties: {
16189
16346
  created_at: {
16190
16347
  description: "Date and time at which Seam created the warning.",
@@ -16265,10 +16422,11 @@ var openapi_default = {
16265
16422
  }
16266
16423
  },
16267
16424
  required: ["message", "created_at", "warning_code"],
16268
- type: "object"
16425
+ type: "object",
16426
+ "x-variant-group-key": "thermostats"
16269
16427
  },
16270
16428
  {
16271
- description: "Indicates that the Remote Unlock feature is not enabled in the settings.",
16429
+ description: 'Indicates that the Remote Unlock feature is not enabled in the settings."',
16272
16430
  properties: {
16273
16431
  created_at: {
16274
16432
  description: "Date and time at which Seam created the warning.",
@@ -16286,10 +16444,11 @@ var openapi_default = {
16286
16444
  }
16287
16445
  },
16288
16446
  required: ["message", "created_at", "warning_code"],
16289
- type: "object"
16447
+ type: "object",
16448
+ "x-variant-group-key": "locks"
16290
16449
  },
16291
16450
  {
16292
- description: "Indicates that the gateway signal is weak.",
16451
+ description: "\n Indicates that the gateway signal is weak.\n ",
16293
16452
  properties: {
16294
16453
  created_at: {
16295
16454
  description: "Date and time at which Seam created the warning.",
@@ -16328,7 +16487,8 @@ var openapi_default = {
16328
16487
  }
16329
16488
  },
16330
16489
  required: ["message", "created_at", "warning_code"],
16331
- type: "object"
16490
+ type: "object",
16491
+ "x-variant-group-key": "thermostats"
16332
16492
  },
16333
16493
  {
16334
16494
  description: "Indicates that the device appears to be unresponsive.",
@@ -16475,7 +16635,8 @@ var openapi_default = {
16475
16635
  }
16476
16636
  },
16477
16637
  required: ["message", "created_at", "warning_code"],
16478
- type: "object"
16638
+ type: "object",
16639
+ "x-variant-group-key": "phones"
16479
16640
  },
16480
16641
  {
16481
16642
  description: "Indicates that Seam detected that the Lockly device does not have a time zone configured. Time-bound codes may not work as expected.",
@@ -16500,7 +16661,16 @@ var openapi_default = {
16500
16661
  }
16501
16662
  ]
16502
16663
  },
16503
- type: "array"
16664
+ type: "array",
16665
+ "x-variant-groups": {
16666
+ access_codes: { name: "Access Codes" },
16667
+ hardware: { name: "Hardware" },
16668
+ locks: { name: "Locks" },
16669
+ noise_sensors: { name: "Noise Sensors" },
16670
+ phones: { name: "Phones" },
16671
+ provider_metadata: { name: "Provider Metadata" },
16672
+ thermostats: { name: "Thermostats" }
16673
+ }
16504
16674
  },
16505
16675
  workspace_id: {
16506
16676
  description: "Unique identifier for the Seam workspace associated with the device.",
@@ -23411,7 +23581,8 @@ var openapi_default = {
23411
23581
  "error_code",
23412
23582
  "is_connected_account_error"
23413
23583
  ],
23414
- type: "object"
23584
+ type: "object",
23585
+ "x-variant-group-key": "locks"
23415
23586
  },
23416
23587
  {
23417
23588
  description: "Indicates that the device is offline.",
@@ -23566,7 +23737,8 @@ var openapi_default = {
23566
23737
  "created_at",
23567
23738
  "error_code"
23568
23739
  ],
23569
- type: "object"
23740
+ type: "object",
23741
+ "x-variant-group-key": "access_codes"
23570
23742
  },
23571
23743
  {
23572
23744
  description: "Indicates that the user is not authorized to use the August lock.",
@@ -23597,7 +23769,8 @@ var openapi_default = {
23597
23769
  "created_at",
23598
23770
  "error_code"
23599
23771
  ],
23600
- type: "object"
23772
+ type: "object",
23773
+ "x-variant-group-key": "locks"
23601
23774
  },
23602
23775
  {
23603
23776
  description: "Indicates that the lock is not connected to a bridge.",
@@ -23628,10 +23801,11 @@ var openapi_default = {
23628
23801
  "created_at",
23629
23802
  "error_code"
23630
23803
  ],
23631
- type: "object"
23804
+ type: "object",
23805
+ "x-variant-group-key": "locks"
23632
23806
  },
23633
23807
  {
23634
- description: "Indicates that the lock is not paired with a gateway.",
23808
+ description: "\n Indicates that the lock is not paired with a gateway.\n ",
23635
23809
  properties: {
23636
23810
  created_at: {
23637
23811
  description: "Date and time at which Seam created the error.",
@@ -23693,7 +23867,7 @@ var openapi_default = {
23693
23867
  type: "object"
23694
23868
  },
23695
23869
  {
23696
- description: "Indicates that the auxiliary heat is running.",
23870
+ description: "\n Indicates that the auxiliary heat is running.\n ",
23697
23871
  properties: {
23698
23872
  created_at: {
23699
23873
  description: "Date and time at which Seam created the error.",
@@ -23755,7 +23929,7 @@ var openapi_default = {
23755
23929
  type: "object"
23756
23930
  },
23757
23931
  {
23758
- description: "Indicates that the Lockly lock is not connected to a Wi-Fi bridge.",
23932
+ description: "\n Indicates that the Lockly lock is not connected to a Wi-Fi bridge.\n ",
23759
23933
  properties: {
23760
23934
  created_at: {
23761
23935
  description: "Date and time at which Seam created the error.",
@@ -23845,7 +24019,16 @@ var openapi_default = {
23845
24019
  }
23846
24020
  ]
23847
24021
  },
23848
- type: "array"
24022
+ type: "array",
24023
+ "x-variant-groups": {
24024
+ access_codes: { name: "Access Codes" },
24025
+ hardware: { name: "Hardware" },
24026
+ locks: { name: "Locks" },
24027
+ noise_sensors: { name: "Noise Sensors" },
24028
+ phones: { name: "Phones" },
24029
+ provider_metadata: { name: "Provider Metadata" },
24030
+ thermostats: { name: "Thermostats" }
24031
+ }
23849
24032
  },
23850
24033
  is_managed: {
23851
24034
  description: "Indicates that Seam does not manage the access code.",
@@ -24133,7 +24316,16 @@ var openapi_default = {
24133
24316
  }
24134
24317
  ]
24135
24318
  },
24136
- type: "array"
24319
+ type: "array",
24320
+ "x-variant-groups": {
24321
+ access_codes: { name: "Access Codes" },
24322
+ hardware: { name: "Hardware" },
24323
+ locks: { name: "Locks" },
24324
+ noise_sensors: { name: "Noise Sensors" },
24325
+ phones: { name: "Phones" },
24326
+ provider_metadata: { name: "Provider Metadata" },
24327
+ thermostats: { name: "Thermostats" }
24328
+ }
24137
24329
  }
24138
24330
  },
24139
24331
  required: [
@@ -25422,7 +25614,8 @@ var openapi_default = {
25422
25614
  "error_code",
25423
25615
  "is_connected_account_error"
25424
25616
  ],
25425
- type: "object"
25617
+ type: "object",
25618
+ "x-variant-group-key": "locks"
25426
25619
  },
25427
25620
  {
25428
25621
  description: "Indicates that the device is offline.",
@@ -25577,7 +25770,8 @@ var openapi_default = {
25577
25770
  "created_at",
25578
25771
  "error_code"
25579
25772
  ],
25580
- type: "object"
25773
+ type: "object",
25774
+ "x-variant-group-key": "access_codes"
25581
25775
  },
25582
25776
  {
25583
25777
  description: "Indicates that the user is not authorized to use the August lock.",
@@ -25608,7 +25802,8 @@ var openapi_default = {
25608
25802
  "created_at",
25609
25803
  "error_code"
25610
25804
  ],
25611
- type: "object"
25805
+ type: "object",
25806
+ "x-variant-group-key": "locks"
25612
25807
  },
25613
25808
  {
25614
25809
  description: "Indicates that the lock is not connected to a bridge.",
@@ -25639,10 +25834,11 @@ var openapi_default = {
25639
25834
  "created_at",
25640
25835
  "error_code"
25641
25836
  ],
25642
- type: "object"
25837
+ type: "object",
25838
+ "x-variant-group-key": "locks"
25643
25839
  },
25644
25840
  {
25645
- description: "Indicates that the lock is not paired with a gateway.",
25841
+ description: "\n Indicates that the lock is not paired with a gateway.\n ",
25646
25842
  properties: {
25647
25843
  created_at: {
25648
25844
  description: "Date and time at which Seam created the error.",
@@ -25704,7 +25900,7 @@ var openapi_default = {
25704
25900
  type: "object"
25705
25901
  },
25706
25902
  {
25707
- description: "Indicates that the auxiliary heat is running.",
25903
+ description: "\n Indicates that the auxiliary heat is running.\n ",
25708
25904
  properties: {
25709
25905
  created_at: {
25710
25906
  description: "Date and time at which Seam created the error.",
@@ -25766,7 +25962,7 @@ var openapi_default = {
25766
25962
  type: "object"
25767
25963
  },
25768
25964
  {
25769
- description: "Indicates that the Lockly lock is not connected to a Wi-Fi bridge.",
25965
+ description: "\n Indicates that the Lockly lock is not connected to a Wi-Fi bridge.\n ",
25770
25966
  properties: {
25771
25967
  created_at: {
25772
25968
  description: "Date and time at which Seam created the error.",
@@ -25856,7 +26052,16 @@ var openapi_default = {
25856
26052
  }
25857
26053
  ]
25858
26054
  },
25859
- type: "array"
26055
+ type: "array",
26056
+ "x-variant-groups": {
26057
+ access_codes: { name: "Access Codes" },
26058
+ hardware: { name: "Hardware" },
26059
+ locks: { name: "Locks" },
26060
+ noise_sensors: { name: "Noise Sensors" },
26061
+ phones: { name: "Phones" },
26062
+ provider_metadata: { name: "Provider Metadata" },
26063
+ thermostats: { name: "Thermostats" }
26064
+ }
25860
26065
  },
25861
26066
  is_managed: { enum: [false], type: "boolean" },
25862
26067
  location: {
@@ -26042,7 +26247,8 @@ var openapi_default = {
26042
26247
  }
26043
26248
  },
26044
26249
  required: ["message", "created_at", "warning_code"],
26045
- type: "object"
26250
+ type: "object",
26251
+ "x-variant-group-key": "access_codes"
26046
26252
  },
26047
26253
  {
26048
26254
  description: "Indicates that there are too many backup codes.",
@@ -26063,10 +26269,11 @@ var openapi_default = {
26063
26269
  }
26064
26270
  },
26065
26271
  required: ["message", "created_at", "warning_code"],
26066
- type: "object"
26272
+ type: "object",
26273
+ "x-variant-group-key": "access_codes"
26067
26274
  },
26068
26275
  {
26069
- description: "Indicates that the Wyze Lock is not connected to a gateway.",
26276
+ description: "\n Indicates that the Wyze Lock is not connected to a gateway.\n ",
26070
26277
  properties: {
26071
26278
  created_at: {
26072
26279
  description: "Date and time at which Seam created the warning.",
@@ -26147,10 +26354,11 @@ var openapi_default = {
26147
26354
  }
26148
26355
  },
26149
26356
  required: ["message", "created_at", "warning_code"],
26150
- type: "object"
26357
+ type: "object",
26358
+ "x-variant-group-key": "thermostats"
26151
26359
  },
26152
26360
  {
26153
- description: "Indicates that the Remote Unlock feature is not enabled in the settings.",
26361
+ description: 'Indicates that the Remote Unlock feature is not enabled in the settings."',
26154
26362
  properties: {
26155
26363
  created_at: {
26156
26364
  description: "Date and time at which Seam created the warning.",
@@ -26168,10 +26376,11 @@ var openapi_default = {
26168
26376
  }
26169
26377
  },
26170
26378
  required: ["message", "created_at", "warning_code"],
26171
- type: "object"
26379
+ type: "object",
26380
+ "x-variant-group-key": "locks"
26172
26381
  },
26173
26382
  {
26174
- description: "Indicates that the gateway signal is weak.",
26383
+ description: "\n Indicates that the gateway signal is weak.\n ",
26175
26384
  properties: {
26176
26385
  created_at: {
26177
26386
  description: "Date and time at which Seam created the warning.",
@@ -26210,7 +26419,8 @@ var openapi_default = {
26210
26419
  }
26211
26420
  },
26212
26421
  required: ["message", "created_at", "warning_code"],
26213
- type: "object"
26422
+ type: "object",
26423
+ "x-variant-group-key": "thermostats"
26214
26424
  },
26215
26425
  {
26216
26426
  description: "Indicates that the device appears to be unresponsive.",
@@ -26357,7 +26567,8 @@ var openapi_default = {
26357
26567
  }
26358
26568
  },
26359
26569
  required: ["message", "created_at", "warning_code"],
26360
- type: "object"
26570
+ type: "object",
26571
+ "x-variant-group-key": "phones"
26361
26572
  },
26362
26573
  {
26363
26574
  description: "Indicates that Seam detected that the Lockly device does not have a time zone configured. Time-bound codes may not work as expected.",
@@ -26382,7 +26593,16 @@ var openapi_default = {
26382
26593
  }
26383
26594
  ]
26384
26595
  },
26385
- type: "array"
26596
+ type: "array",
26597
+ "x-variant-groups": {
26598
+ access_codes: { name: "Access Codes" },
26599
+ hardware: { name: "Hardware" },
26600
+ locks: { name: "Locks" },
26601
+ noise_sensors: { name: "Noise Sensors" },
26602
+ phones: { name: "Phones" },
26603
+ provider_metadata: { name: "Provider Metadata" },
26604
+ thermostats: { name: "Thermostats" }
26605
+ }
26386
26606
  },
26387
26607
  workspace_id: {
26388
26608
  description: "Unique identifier for the Seam workspace associated with the device.",