@seamapi/types 1.589.0 → 1.590.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 +92 -1
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +191 -0
- package/dist/index.cjs +92 -1
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +50 -0
- package/lib/seam/connect/models/spaces/space.d.ts +6 -0
- package/lib/seam/connect/models/spaces/space.js +10 -0
- package/lib/seam/connect/models/spaces/space.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +97 -0
- package/lib/seam/connect/openapi.js +81 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +78 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/spaces/space.ts +10 -0
- package/src/lib/seam/connect/openapi.ts +85 -0
- package/src/lib/seam/connect/route-types.ts +78 -0
package/dist/connect.cjs
CHANGED
|
@@ -5347,7 +5347,17 @@ var space = zod.z.object({
|
|
|
5347
5347
|
display_name: zod.z.string().describe("Display name for the space."),
|
|
5348
5348
|
created_at: zod.z.string().datetime().describe("Date and time at which the space was created."),
|
|
5349
5349
|
device_count: zod.z.number().describe("Number of devices in the space."),
|
|
5350
|
-
acs_entrance_count: zod.z.number().describe("Number of entrances in the space.")
|
|
5350
|
+
acs_entrance_count: zod.z.number().describe("Number of entrances in the space."),
|
|
5351
|
+
parent_space_id: zod.z.string().uuid().optional().describe(`
|
|
5352
|
+
---
|
|
5353
|
+
undocumented: Only used internally.
|
|
5354
|
+
---
|
|
5355
|
+
`),
|
|
5356
|
+
parent_space_key: zod.z.string().optional().describe(`
|
|
5357
|
+
---
|
|
5358
|
+
undocumented: Only used internally.
|
|
5359
|
+
---
|
|
5360
|
+
`)
|
|
5351
5361
|
}).describe(`
|
|
5352
5362
|
---
|
|
5353
5363
|
draft: Early access.
|
|
@@ -24415,6 +24425,15 @@ var openapi_default = {
|
|
|
24415
24425
|
type: "string"
|
|
24416
24426
|
},
|
|
24417
24427
|
name: { description: "Name of the space.", type: "string" },
|
|
24428
|
+
parent_space_id: {
|
|
24429
|
+
format: "uuid",
|
|
24430
|
+
type: "string",
|
|
24431
|
+
"x-undocumented": "Only used internally."
|
|
24432
|
+
},
|
|
24433
|
+
parent_space_key: {
|
|
24434
|
+
type: "string",
|
|
24435
|
+
"x-undocumented": "Only used internally."
|
|
24436
|
+
},
|
|
24418
24437
|
space_id: {
|
|
24419
24438
|
description: "ID of the space.",
|
|
24420
24439
|
format: "uuid",
|
|
@@ -54293,6 +54312,78 @@ var openapi_default = {
|
|
|
54293
54312
|
"x-undocumented": "Internal endpoint for customer portals."
|
|
54294
54313
|
}
|
|
54295
54314
|
},
|
|
54315
|
+
"/seam/customer/v1/spaces/create": {
|
|
54316
|
+
post: {
|
|
54317
|
+
description: "Creates a new space with optional parent space support.",
|
|
54318
|
+
operationId: "seamCustomerV1SpacesCreatePost",
|
|
54319
|
+
requestBody: {
|
|
54320
|
+
content: {
|
|
54321
|
+
"application/json": {
|
|
54322
|
+
schema: {
|
|
54323
|
+
properties: {
|
|
54324
|
+
acs_entrance_ids: {
|
|
54325
|
+
description: "IDs of the entrances that you want to add to the new space.",
|
|
54326
|
+
items: { format: "uuid", type: "string" },
|
|
54327
|
+
type: "array"
|
|
54328
|
+
},
|
|
54329
|
+
device_ids: {
|
|
54330
|
+
description: "IDs of the devices that you want to add to the new space.",
|
|
54331
|
+
items: { format: "uuid", type: "string" },
|
|
54332
|
+
type: "array"
|
|
54333
|
+
},
|
|
54334
|
+
name: {
|
|
54335
|
+
description: "Name of the space that you want to create.",
|
|
54336
|
+
type: "string"
|
|
54337
|
+
},
|
|
54338
|
+
parent_space_key: {
|
|
54339
|
+
description: "Space key of the parent space for this space.",
|
|
54340
|
+
type: "string"
|
|
54341
|
+
},
|
|
54342
|
+
parent_space_name: {
|
|
54343
|
+
description: "Name of the parent space for this space.",
|
|
54344
|
+
type: "string"
|
|
54345
|
+
},
|
|
54346
|
+
space_key: {
|
|
54347
|
+
description: "Unique key for the space within the workspace.",
|
|
54348
|
+
type: "string"
|
|
54349
|
+
}
|
|
54350
|
+
},
|
|
54351
|
+
required: ["name"],
|
|
54352
|
+
type: "object"
|
|
54353
|
+
}
|
|
54354
|
+
}
|
|
54355
|
+
}
|
|
54356
|
+
},
|
|
54357
|
+
responses: {
|
|
54358
|
+
200: {
|
|
54359
|
+
content: {
|
|
54360
|
+
"application/json": {
|
|
54361
|
+
schema: {
|
|
54362
|
+
properties: {
|
|
54363
|
+
ok: { type: "boolean" },
|
|
54364
|
+
space: { $ref: "#/components/schemas/space" }
|
|
54365
|
+
},
|
|
54366
|
+
required: ["space", "ok"],
|
|
54367
|
+
type: "object"
|
|
54368
|
+
}
|
|
54369
|
+
}
|
|
54370
|
+
},
|
|
54371
|
+
description: "OK"
|
|
54372
|
+
},
|
|
54373
|
+
400: { description: "Bad Request" },
|
|
54374
|
+
401: { description: "Unauthorized" }
|
|
54375
|
+
},
|
|
54376
|
+
security: [{ client_session_with_customer: [] }],
|
|
54377
|
+
summary: "/seam/customer/v1/spaces/create",
|
|
54378
|
+
tags: [],
|
|
54379
|
+
"x-draft": "Early access.",
|
|
54380
|
+
"x-fern-sdk-group-name": ["seam", "customer", "v1", "spaces"],
|
|
54381
|
+
"x-fern-sdk-method-name": "create",
|
|
54382
|
+
"x-fern-sdk-return-value": "space",
|
|
54383
|
+
"x-response-key": "space",
|
|
54384
|
+
"x-title": "Create a Space"
|
|
54385
|
+
}
|
|
54386
|
+
},
|
|
54296
54387
|
"/seam/instant_key/v1/client_sessions/exchange_short_code": {
|
|
54297
54388
|
post: {
|
|
54298
54389
|
description: "Exchanges a short code for a client session token. Mobile apps use this endpoint to retrieve a client session token securely using a short code obtained from an Instant Key URL.",
|