@seamapi/types 1.781.0 → 1.783.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
@@ -6291,6 +6291,7 @@ var space = zod.z.object({
6291
6291
  created_at: zod.z.string().datetime().describe("Date and time at which the space was created."),
6292
6292
  device_count: zod.z.number().describe("Number of devices in the space."),
6293
6293
  acs_entrance_count: zod.z.number().describe("Number of entrances in the space."),
6294
+ customer_key: zod.z.string().optional().describe("Customer key associated with the space."),
6294
6295
  parent_space_id: zod.z.string().uuid().optional().describe(`
6295
6296
  ---
6296
6297
  undocumented: Only used internally.
@@ -29514,6 +29515,10 @@ var openapi_default = {
29514
29515
  format: "date-time",
29515
29516
  type: "string"
29516
29517
  },
29518
+ customer_key: {
29519
+ description: "Customer key associated with the space.",
29520
+ type: "string"
29521
+ },
29517
29522
  device_count: {
29518
29523
  description: "Number of devices in the space.",
29519
29524
  format: "float",
@@ -74043,7 +74048,7 @@ var openapi_default = {
74043
74048
  in: "query",
74044
74049
  name: "search",
74045
74050
  schema: {
74046
- description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.",
74051
+ description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`, `space_key`, or `customer_key`.",
74047
74052
  minLength: 1,
74048
74053
  type: "string"
74049
74054
  }
@@ -74066,6 +74071,25 @@ var openapi_default = {
74066
74071
  description: "Filter spaces by space_key.",
74067
74072
  type: "string"
74068
74073
  }
74074
+ },
74075
+ {
74076
+ in: "query",
74077
+ name: "limit",
74078
+ schema: {
74079
+ default: 500,
74080
+ description: "Maximum number of records to return per page.",
74081
+ format: "float",
74082
+ type: "number"
74083
+ }
74084
+ },
74085
+ {
74086
+ in: "query",
74087
+ name: "page_cursor",
74088
+ schema: {
74089
+ description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
74090
+ nullable: true,
74091
+ type: "string"
74092
+ }
74069
74093
  }
74070
74094
  ],
74071
74095
  responses: {
@@ -74075,12 +74099,13 @@ var openapi_default = {
74075
74099
  schema: {
74076
74100
  properties: {
74077
74101
  ok: { type: "boolean" },
74102
+ pagination: { $ref: "#/components/schemas/pagination" },
74078
74103
  spaces: {
74079
74104
  items: { $ref: "#/components/schemas/space" },
74080
74105
  type: "array"
74081
74106
  }
74082
74107
  },
74083
- required: ["spaces", "ok"],
74108
+ required: ["spaces", "pagination", "ok"],
74084
74109
  type: "object"
74085
74110
  }
74086
74111
  }
@@ -74124,8 +74149,19 @@ var openapi_default = {
74124
74149
  description: "Customer key for which you want to list spaces.",
74125
74150
  type: "string"
74126
74151
  },
74152
+ limit: {
74153
+ default: 500,
74154
+ description: "Maximum number of records to return per page.",
74155
+ format: "float",
74156
+ type: "number"
74157
+ },
74158
+ page_cursor: {
74159
+ description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
74160
+ nullable: true,
74161
+ type: "string"
74162
+ },
74127
74163
  search: {
74128
- description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.",
74164
+ description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`, `space_key`, or `customer_key`.",
74129
74165
  minLength: 1,
74130
74166
  type: "string"
74131
74167
  },
@@ -74146,12 +74182,13 @@ var openapi_default = {
74146
74182
  schema: {
74147
74183
  properties: {
74148
74184
  ok: { type: "boolean" },
74185
+ pagination: { $ref: "#/components/schemas/pagination" },
74149
74186
  spaces: {
74150
74187
  items: { $ref: "#/components/schemas/space" },
74151
74188
  type: "array"
74152
74189
  }
74153
74190
  },
74154
- required: ["spaces", "ok"],
74191
+ required: ["spaces", "pagination", "ok"],
74155
74192
  type: "object"
74156
74193
  }
74157
74194
  }