@seamapi/types 1.758.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: {
@@ -39044,6 +39098,25 @@ var openapi_default = {
39044
39098
  description: "Filter unmanaged Access Grants by reservation_key.",
39045
39099
  type: "string"
39046
39100
  }
39101
+ },
39102
+ {
39103
+ in: "query",
39104
+ name: "limit",
39105
+ schema: {
39106
+ default: 500,
39107
+ description: "Numerical limit on the number of unmanaged access grants to return.",
39108
+ format: "float",
39109
+ type: "number"
39110
+ }
39111
+ },
39112
+ {
39113
+ in: "query",
39114
+ name: "page_cursor",
39115
+ schema: {
39116
+ description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
39117
+ nullable: true,
39118
+ type: "string"
39119
+ }
39047
39120
  }
39048
39121
  ],
39049
39122
  responses: {
@@ -39552,9 +39625,10 @@ var openapi_default = {
39552
39625
  },
39553
39626
  type: "array"
39554
39627
  },
39555
- ok: { type: "boolean" }
39628
+ ok: { type: "boolean" },
39629
+ pagination: { $ref: "#/components/schemas/pagination" }
39556
39630
  },
39557
- required: ["access_grants", "ok"],
39631
+ required: ["access_grants", "pagination", "ok"],
39558
39632
  type: "object"
39559
39633
  }
39560
39634
  }
@@ -39597,6 +39671,17 @@ var openapi_default = {
39597
39671
  format: "uuid",
39598
39672
  type: "string"
39599
39673
  },
39674
+ limit: {
39675
+ default: 500,
39676
+ description: "Numerical limit on the number of unmanaged access grants to return.",
39677
+ format: "float",
39678
+ type: "number"
39679
+ },
39680
+ page_cursor: {
39681
+ description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
39682
+ nullable: true,
39683
+ type: "string"
39684
+ },
39600
39685
  reservation_key: {
39601
39686
  description: "Filter unmanaged Access Grants by reservation_key.",
39602
39687
  type: "string"
@@ -40118,9 +40203,10 @@ var openapi_default = {
40118
40203
  },
40119
40204
  type: "array"
40120
40205
  },
40121
- ok: { type: "boolean" }
40206
+ ok: { type: "boolean" },
40207
+ pagination: { $ref: "#/components/schemas/pagination" }
40122
40208
  },
40123
- required: ["access_grants", "ok"],
40209
+ required: ["access_grants", "pagination", "ok"],
40124
40210
  type: "object"
40125
40211
  }
40126
40212
  }