@seamapi/types 1.357.0 → 1.358.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
@@ -31,6 +31,7 @@ __export(schemas_exports, {
31
31
  device: () => device,
32
32
  device_provider: () => device_provider,
33
33
  noise_threshold: () => noise_threshold,
34
+ pagination: () => pagination,
34
35
  seam_event: () => seam_event,
35
36
  thermostat_schedule: () => thermostat_schedule,
36
37
  unmanaged_access_code: () => unmanaged_access_code,
@@ -3575,6 +3576,15 @@ var noise_threshold = zod.z.object({
3575
3576
  route_path: /noise_sensors/noise_thresholds
3576
3577
  ---
3577
3578
  `);
3579
+ var pagination = zod.z.object({
3580
+ next_page_cursor: zod.z.string().nullable().describe(
3581
+ "Opaque value that can be used to select the next page of results via the `page_cursor` parameter."
3582
+ ),
3583
+ has_next_page: zod.z.boolean().describe(
3584
+ "Indicates whether there is another page of results after this one."
3585
+ ),
3586
+ next_page_url: zod.z.string().url().nullable().describe("URL to get the next page of results.")
3587
+ }).describe("Information about the current page of results.");
3578
3588
  var user_identity = zod.z.object({
3579
3589
  user_identity_id: zod.z.string().uuid().describe("ID of the user identity."),
3580
3590
  user_identity_key: zod.z.string().min(1).nullable().describe("Unique key for the user identity."),
@@ -14598,6 +14608,28 @@ var openapi_default = {
14598
14608
  type: "object",
14599
14609
  "x-route-path": "/noise_sensors/noise_thresholds"
14600
14610
  },
14611
+ pagination: {
14612
+ description: "Information about the current page of results.",
14613
+ properties: {
14614
+ has_next_page: {
14615
+ description: "Indicates whether there is another page of results after this one.",
14616
+ type: "boolean"
14617
+ },
14618
+ next_page_cursor: {
14619
+ description: "Opaque value that can be used to select the next page of results via the `page_cursor` parameter.",
14620
+ nullable: true,
14621
+ type: "string"
14622
+ },
14623
+ next_page_url: {
14624
+ description: "URL to get the next page of results.",
14625
+ format: "uri",
14626
+ nullable: true,
14627
+ type: "string"
14628
+ }
14629
+ },
14630
+ required: ["next_page_cursor", "has_next_page", "next_page_url"],
14631
+ type: "object"
14632
+ },
14601
14633
  phone: {
14602
14634
  description: "Represents an app user's mobile phone.",
14603
14635
  properties: {
@@ -21209,7 +21241,7 @@ var openapi_default = {
21209
21241
  type: "string"
21210
21242
  },
21211
21243
  search: {
21212
- description: "String to partial match between full_name, phone_number and email_address.",
21244
+ description: "String for which to search. Filters returned `acs_user`s to include all records that satisfy a partial match using `full_name`, `phone_number`, or `email_address`.",
21213
21245
  minLength: 1,
21214
21246
  type: "string"
21215
21247
  },
@@ -21243,32 +21275,7 @@ var openapi_default = {
21243
21275
  type: "array"
21244
21276
  },
21245
21277
  ok: { type: "boolean" },
21246
- pagination: {
21247
- description: "Information about the current page of results.",
21248
- properties: {
21249
- has_next_page: {
21250
- description: "Indicates whether there is another page of results after this one.",
21251
- type: "boolean"
21252
- },
21253
- next_page_cursor: {
21254
- description: "Opaque value that can be used to select the next page of results via the `page_cursor` parameter.",
21255
- nullable: true,
21256
- type: "string"
21257
- },
21258
- next_page_url: {
21259
- description: "URL to get the next page of results.",
21260
- format: "uri",
21261
- nullable: true,
21262
- type: "string"
21263
- }
21264
- },
21265
- required: [
21266
- "next_page_cursor",
21267
- "has_next_page",
21268
- "next_page_url"
21269
- ],
21270
- type: "object"
21271
- }
21278
+ pagination: { $ref: "#/components/schemas/pagination" }
21272
21279
  },
21273
21280
  required: ["acs_users", "pagination", "ok"],
21274
21281
  type: "object"