@seamapi/types 1.588.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 +98 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +199 -1
- package/dist/index.cjs +98 -2
- 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 +102 -0
- package/lib/seam/connect/openapi.js +87 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +81 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/spaces/space.ts +10 -0
- package/src/lib/seam/connect/openapi.ts +92 -1
- package/src/lib/seam/connect/route-types.ts +81 -1
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",
|
|
@@ -42441,8 +42460,13 @@ var openapi_default = {
|
|
|
42441
42460
|
{ type: "boolean" }
|
|
42442
42461
|
]
|
|
42443
42462
|
},
|
|
42444
|
-
description: "Custom metadata that you want to associate with the connected account. Supports up to 50 JSON key:value pairs. [Adding custom metadata to a connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account) enables you to store custom information, like customer details or internal IDs from your application. Then, you can [filter connected accounts by the desired metadata](https://docs.seam.co/latest/core-concepts/connected-accounts/filtering-connected-accounts-by-custom-metadata).",
|
|
42463
|
+
description: "Custom metadata that you want to associate with the connected account. Entirely replaces the existing custom metadata object. If a new Connect Webview contains custom metadata and is used to reconnect a connected account, the custom metadata from the Connect Webview will entirely replace the entire custom metadata object on the connected account. Supports up to 50 JSON key:value pairs. [Adding custom metadata to a connected account](https://docs.seam.co/latest/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account) enables you to store custom information, like customer details or internal IDs from your application. Then, you can [filter connected accounts by the desired metadata](https://docs.seam.co/latest/core-concepts/connected-accounts/filtering-connected-accounts-by-custom-metadata).",
|
|
42445
42464
|
type: "object"
|
|
42465
|
+
},
|
|
42466
|
+
customer_key: {
|
|
42467
|
+
description: "The customer key to associate with this connected account. If provided, the connected account and all resources under the connected account will be moved to this customer. ",
|
|
42468
|
+
minLength: 1,
|
|
42469
|
+
type: "string"
|
|
42446
42470
|
}
|
|
42447
42471
|
},
|
|
42448
42472
|
required: ["connected_account_id"],
|
|
@@ -54288,6 +54312,78 @@ var openapi_default = {
|
|
|
54288
54312
|
"x-undocumented": "Internal endpoint for customer portals."
|
|
54289
54313
|
}
|
|
54290
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
|
+
},
|
|
54291
54387
|
"/seam/instant_key/v1/client_sessions/exchange_short_code": {
|
|
54292
54388
|
post: {
|
|
54293
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.",
|