From d5647a99ea1bef8027f4b3a949b0c2269266cde2 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Tue, 28 Apr 2026 16:35:31 +0000 Subject: [PATCH] feat: Sync with Seam API via ce280930ff98dd87f97261283dcd89e2b169f81b --- src/lib/seam/connect/openapi.ts | 232 ++++++++++++++++++++++++++++ src/lib/seam/connect/route-types.ts | 30 ++++ 2 files changed, 262 insertions(+) diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index 8d83b147..0ad0d629 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -73771,6 +73771,122 @@ export default { 'x-title': 'Add Entrances to a Space', }, }, + '/spaces/add_connected_account': { + post: { + description: + 'Adds a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) to a specific space.', + operationId: 'spacesAddConnectedAccountPost', + requestBody: { + content: { + 'application/json': { + schema: { + properties: { + connected_account_id: { + description: + 'ID of the connected account that you want to add to the space.', + format: 'uuid', + type: 'string', + }, + space_id: { + description: + 'ID of the space to which you want to add the connected account.', + format: 'uuid', + type: 'string', + }, + }, + required: ['space_id', 'connected_account_id'], + type: 'object', + }, + }, + }, + }, + responses: { + 200: { + content: { + 'application/json': { + schema: { + properties: { ok: { type: 'boolean' } }, + required: ['ok'], + type: 'object', + }, + }, + }, + description: 'OK', + }, + 400: { description: 'Bad Request' }, + 401: { description: 'Unauthorized' }, + }, + security: [ + { pat_with_workspace: [] }, + { console_session_with_workspace: [] }, + { api_key: [] }, + { client_session_with_customer: [] }, + ], + summary: '/spaces/add_connected_account', + tags: [], + 'x-fern-sdk-group-name': ['spaces'], + 'x-fern-sdk-method-name': 'add_connected_account', + 'x-response-key': null, + 'x-title': 'Add a Connected Account to a Space', + }, + put: { + description: + 'Adds a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) to a specific space.', + operationId: 'spacesAddConnectedAccountPut', + requestBody: { + content: { + 'application/json': { + schema: { + properties: { + connected_account_id: { + description: + 'ID of the connected account that you want to add to the space.', + format: 'uuid', + type: 'string', + }, + space_id: { + description: + 'ID of the space to which you want to add the connected account.', + format: 'uuid', + type: 'string', + }, + }, + required: ['space_id', 'connected_account_id'], + type: 'object', + }, + }, + }, + }, + responses: { + 200: { + content: { + 'application/json': { + schema: { + properties: { ok: { type: 'boolean' } }, + required: ['ok'], + type: 'object', + }, + }, + }, + description: 'OK', + }, + 400: { description: 'Bad Request' }, + 401: { description: 'Unauthorized' }, + }, + security: [ + { pat_with_workspace: [] }, + { console_session_with_workspace: [] }, + { api_key: [] }, + { client_session_with_customer: [] }, + ], + summary: '/spaces/add_connected_account', + tags: [], + 'x-fern-sdk-group-name': ['spaces'], + 'x-fern-sdk-method-name': 'add_connected_account', + 'x-response-key': null, + 'x-title': 'Add a Connected Account to a Space', + }, + }, '/spaces/add_devices': { post: { description: 'Adds devices to a specific space.', @@ -74765,6 +74881,122 @@ export default { 'x-title': 'Remove Entrances from a Space', }, }, + '/spaces/remove_connected_account': { + delete: { + description: + 'Removes a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) from a specific space.', + operationId: 'spacesRemoveConnectedAccountDelete', + parameters: [ + { + in: 'query', + name: 'space_id', + required: true, + schema: { + description: + 'ID of the space from which you want to remove the connected account.', + format: 'uuid', + type: 'string', + }, + }, + { + in: 'query', + name: 'connected_account_id', + required: true, + schema: { + description: + 'ID of the connected account that you want to remove from the space.', + format: 'uuid', + type: 'string', + }, + }, + ], + responses: { + 200: { + content: { + 'application/json': { + schema: { + properties: { ok: { type: 'boolean' } }, + required: ['ok'], + type: 'object', + }, + }, + }, + description: 'OK', + }, + 400: { description: 'Bad Request' }, + 401: { description: 'Unauthorized' }, + }, + security: [ + { pat_with_workspace: [] }, + { console_session_with_workspace: [] }, + { api_key: [] }, + { client_session_with_customer: [] }, + ], + summary: '/spaces/remove_connected_account', + tags: [], + 'x-fern-sdk-group-name': ['spaces'], + 'x-fern-sdk-method-name': 'remove_connected_account', + 'x-response-key': null, + 'x-title': 'Remove a Connected Account from a Space', + }, + post: { + description: + 'Removes a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) from a specific space.', + operationId: 'spacesRemoveConnectedAccountPost', + requestBody: { + content: { + 'application/json': { + schema: { + properties: { + connected_account_id: { + description: + 'ID of the connected account that you want to remove from the space.', + format: 'uuid', + type: 'string', + }, + space_id: { + description: + 'ID of the space from which you want to remove the connected account.', + format: 'uuid', + type: 'string', + }, + }, + required: ['space_id', 'connected_account_id'], + type: 'object', + }, + }, + }, + }, + responses: { + 200: { + content: { + 'application/json': { + schema: { + properties: { ok: { type: 'boolean' } }, + required: ['ok'], + type: 'object', + }, + }, + }, + description: 'OK', + }, + 400: { description: 'Bad Request' }, + 401: { description: 'Unauthorized' }, + }, + security: [ + { pat_with_workspace: [] }, + { console_session_with_workspace: [] }, + { api_key: [] }, + { client_session_with_customer: [] }, + ], + summary: '/spaces/remove_connected_account', + tags: [], + 'x-fern-sdk-group-name': ['spaces'], + 'x-fern-sdk-method-name': 'remove_connected_account', + 'x-response-key': null, + 'x-title': 'Remove a Connected Account from a Space', + }, + }, '/spaces/remove_devices': { delete: { description: 'Removes devices from a specific space.', diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index 412c03eb..cae300bd 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -81995,6 +81995,21 @@ export type Routes = { jsonResponse: {} maxDuration: undefined } + '/spaces/add_connected_account': { + route: '/spaces/add_connected_account' + method: 'POST' | 'PUT' + queryParams: {} + jsonBody: { + /** ID of the space to which you want to add the connected account. */ + space_id: string + /** ID of the connected account that you want to add to the space. */ + connected_account_id: string + } + commonParams: {} + formData: {} + jsonResponse: {} + maxDuration: undefined + } '/spaces/add_devices': { route: '/spaces/add_devices' method: 'POST' | 'PUT' @@ -84597,6 +84612,21 @@ export type Routes = { jsonResponse: {} maxDuration: undefined } + '/spaces/remove_connected_account': { + route: '/spaces/remove_connected_account' + method: 'POST' | 'DELETE' + queryParams: {} + jsonBody: {} + commonParams: { + /** ID of the space from which you want to remove the connected account. */ + space_id: string + /** ID of the connected account that you want to remove from the space. */ + connected_account_id: string + } + formData: {} + jsonResponse: {} + maxDuration: undefined + } '/spaces/remove_devices': { route: '/spaces/remove_devices' method: 'POST' | 'DELETE'