@seamapi/types 1.759.0 → 1.760.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
@@ -1502,6 +1502,14 @@ var accessory_keypad_setup_required = common_device_warning.extend({
1502
1502
  ---
1503
1503
  Indicates that the accessory keypad exists, but is not linked to the Igloohome Bridge. Online access code programming will fail until the keypad is linked to the Igloohome Bridge in the Igloohome app.
1504
1504
  `);
1505
+ var unreliable_online_status = common_device_warning.extend({
1506
+ warning_code: zod.z.literal("unreliable_online_status").describe(warning_code_description2)
1507
+ }).describe(`
1508
+ ---
1509
+ variant_group_key: locks
1510
+ ---
1511
+ Indicates that the device may optimistically be reported as online because the provider does not reliably report its online status.
1512
+ `);
1505
1513
  var max_access_codes_reached = common_device_warning.extend({
1506
1514
  warning_code: zod.z.literal("max_access_codes_reached").describe(warning_code_description2),
1507
1515
  active_access_code_count: zod.z.number().int().describe(
@@ -1536,6 +1544,7 @@ var device_warning = zod.z.discriminatedUnion("warning_code", [
1536
1544
  hub_required_for_additional_capabilities,
1537
1545
  keynest_unsupported_locker,
1538
1546
  accessory_keypad_setup_required,
1547
+ unreliable_online_status,
1539
1548
  max_access_codes_reached
1540
1549
  ]);
1541
1550
  zod.z.object({
@@ -1563,6 +1572,7 @@ zod.z.object({
1563
1572
  hub_required_for_additional_capabilities: hub_required_for_additional_capabilities.optional().nullable(),
1564
1573
  keynest_unsupported_locker: keynest_unsupported_locker.optional().nullable(),
1565
1574
  accessory_keypad_setup_required: accessory_keypad_setup_required.optional().nullable(),
1575
+ unreliable_online_status: unreliable_online_status.optional().nullable(),
1566
1576
  max_access_codes_reached: max_access_codes_reached.optional().nullable()
1567
1577
  });
1568
1578
  var device_provider_info = zod.z.object({
@@ -19594,6 +19604,28 @@ var openapi_default = {
19594
19604
  type: "object",
19595
19605
  "x-variant-group-key": "locks"
19596
19606
  },
19607
+ {
19608
+ description: "Indicates that the device may optimistically be reported as online because the provider does not reliably report its online status.",
19609
+ properties: {
19610
+ created_at: {
19611
+ description: "Date and time at which Seam created the warning.",
19612
+ format: "date-time",
19613
+ type: "string"
19614
+ },
19615
+ message: {
19616
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
19617
+ type: "string"
19618
+ },
19619
+ warning_code: {
19620
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
19621
+ enum: ["unreliable_online_status"],
19622
+ type: "string"
19623
+ }
19624
+ },
19625
+ required: ["message", "created_at", "warning_code"],
19626
+ type: "object",
19627
+ "x-variant-group-key": "locks"
19628
+ },
19597
19629
  {
19598
19630
  description: "Indicates that the device has reached its maximum number of active access codes. Delete existing codes before creating new ones.",
19599
19631
  properties: {
@@ -33679,6 +33711,28 @@ var openapi_default = {
33679
33711
  type: "object",
33680
33712
  "x-variant-group-key": "locks"
33681
33713
  },
33714
+ {
33715
+ description: "Indicates that the device may optimistically be reported as online because the provider does not reliably report its online status.",
33716
+ properties: {
33717
+ created_at: {
33718
+ description: "Date and time at which Seam created the warning.",
33719
+ format: "date-time",
33720
+ type: "string"
33721
+ },
33722
+ message: {
33723
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
33724
+ type: "string"
33725
+ },
33726
+ warning_code: {
33727
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
33728
+ enum: ["unreliable_online_status"],
33729
+ type: "string"
33730
+ }
33731
+ },
33732
+ required: ["message", "created_at", "warning_code"],
33733
+ type: "object",
33734
+ "x-variant-group-key": "locks"
33735
+ },
33682
33736
  {
33683
33737
  description: "Indicates that the device has reached its maximum number of active access codes. Delete existing codes before creating new ones.",
33684
33738
  properties: {