@seamapi/types 1.682.0 → 1.683.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
@@ -14361,6 +14361,29 @@ var openapi_default = {
14361
14361
  type: "object",
14362
14362
  "x-route-path": "/connected_accounts"
14363
14363
  },
14364
+ customer: {
14365
+ description: "Represents a customer within a workspace. Customers are used to organize resources and manage access for different clients, such as hotels, property managers, and more.",
14366
+ properties: {
14367
+ created_at: {
14368
+ description: "Date and time at which the customer was created.",
14369
+ format: "date-time",
14370
+ type: "string"
14371
+ },
14372
+ customer_key: {
14373
+ description: "Unique key for the customer within the workspace.",
14374
+ type: "string"
14375
+ },
14376
+ workspace_id: {
14377
+ description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) associated with the customer.",
14378
+ format: "uuid",
14379
+ type: "string"
14380
+ }
14381
+ },
14382
+ required: ["customer_key", "workspace_id", "created_at"],
14383
+ type: "object",
14384
+ "x-route-path": "/customers",
14385
+ "x-undocumented": "Internal resource."
14386
+ },
14364
14387
  customization_profile: {
14365
14388
  description: "A customization profile.",
14366
14389
  properties: {
@@ -56159,6 +56182,133 @@ var openapi_default = {
56159
56182
  "x-undocumented": "Internal endpoint for Console."
56160
56183
  }
56161
56184
  },
56185
+ "/seam/customer/v1/customers/list": {
56186
+ get: {
56187
+ description: "Returns a list of all customers within the workspace.",
56188
+ operationId: "seamCustomerV1CustomersListGet",
56189
+ parameters: [
56190
+ {
56191
+ in: "query",
56192
+ name: "limit",
56193
+ schema: {
56194
+ default: 500,
56195
+ description: "Maximum number of records to return per page.",
56196
+ exclusiveMinimum: true,
56197
+ minimum: 0,
56198
+ type: "integer"
56199
+ }
56200
+ },
56201
+ {
56202
+ in: "query",
56203
+ name: "page_cursor",
56204
+ schema: {
56205
+ description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
56206
+ nullable: true,
56207
+ type: "string"
56208
+ }
56209
+ }
56210
+ ],
56211
+ responses: {
56212
+ 200: {
56213
+ content: {
56214
+ "application/json": {
56215
+ schema: {
56216
+ properties: {
56217
+ customers: {
56218
+ items: { $ref: "#/components/schemas/customer" },
56219
+ type: "array"
56220
+ },
56221
+ ok: { type: "boolean" },
56222
+ pagination: { $ref: "#/components/schemas/pagination" }
56223
+ },
56224
+ required: ["customers", "pagination", "ok"],
56225
+ type: "object"
56226
+ }
56227
+ }
56228
+ },
56229
+ description: "OK"
56230
+ },
56231
+ 400: { description: "Bad Request" },
56232
+ 401: { description: "Unauthorized" }
56233
+ },
56234
+ security: [
56235
+ { api_key: [] },
56236
+ { pat_with_workspace: [] },
56237
+ { console_session_with_workspace: [] }
56238
+ ],
56239
+ summary: "/seam/customer/v1/customers/list",
56240
+ tags: [],
56241
+ "x-fern-sdk-group-name": ["seam", "customer", "v1", "customers"],
56242
+ "x-fern-sdk-method-name": "list",
56243
+ "x-fern-sdk-return-value": "customers",
56244
+ "x-response-key": "customers",
56245
+ "x-title": "List Customers",
56246
+ "x-undocumented": "Internal endpoint for Console."
56247
+ },
56248
+ post: {
56249
+ description: "Returns a list of all customers within the workspace.",
56250
+ operationId: "seamCustomerV1CustomersListPost",
56251
+ requestBody: {
56252
+ content: {
56253
+ "application/json": {
56254
+ schema: {
56255
+ properties: {
56256
+ limit: {
56257
+ default: 500,
56258
+ description: "Maximum number of records to return per page.",
56259
+ exclusiveMinimum: true,
56260
+ minimum: 0,
56261
+ type: "integer"
56262
+ },
56263
+ page_cursor: {
56264
+ description: "Identifies the specific page of results to return, obtained from the previous page's `next_page_cursor`.",
56265
+ nullable: true,
56266
+ type: "string"
56267
+ }
56268
+ },
56269
+ type: "object"
56270
+ }
56271
+ }
56272
+ }
56273
+ },
56274
+ responses: {
56275
+ 200: {
56276
+ content: {
56277
+ "application/json": {
56278
+ schema: {
56279
+ properties: {
56280
+ customers: {
56281
+ items: { $ref: "#/components/schemas/customer" },
56282
+ type: "array"
56283
+ },
56284
+ ok: { type: "boolean" },
56285
+ pagination: { $ref: "#/components/schemas/pagination" }
56286
+ },
56287
+ required: ["customers", "pagination", "ok"],
56288
+ type: "object"
56289
+ }
56290
+ }
56291
+ },
56292
+ description: "OK"
56293
+ },
56294
+ 400: { description: "Bad Request" },
56295
+ 401: { description: "Unauthorized" }
56296
+ },
56297
+ security: [
56298
+ { api_key: [] },
56299
+ { pat_with_workspace: [] },
56300
+ { console_session_with_workspace: [] }
56301
+ ],
56302
+ summary: "/seam/customer/v1/customers/list",
56303
+ tags: [],
56304
+ "x-fern-sdk-group-name": ["seam", "customer", "v1", "customers"],
56305
+ "x-fern-sdk-method-name": "list",
56306
+ "x-fern-sdk-return-value": "customers",
56307
+ "x-response-key": "customers",
56308
+ "x-title": "List Customers",
56309
+ "x-undocumented": "Internal endpoint for Console."
56310
+ }
56311
+ },
56162
56312
  "/seam/customer/v1/events/list": {
56163
56313
  get: {
56164
56314
  description: "Returns a list of events for devices in a specific space. This endpoint is designed for customer portals and only supports filtering by space_id.",