From a9f5ec03f14d68bc58f05eefd2c2505cfe09c340 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Tue, 19 May 2026 16:04:10 +0000 Subject: [PATCH] feat: Sync with Seam API via 0a13bf8474b8970b5f1411bde34120a184f7f0c8 --- src/lib/seam/connect/openapi.ts | 131 ++++++++++++++++++++++++++++ src/lib/seam/connect/route-types.ts | 18 ++++ 2 files changed, 149 insertions(+) diff --git a/src/lib/seam/connect/openapi.ts b/src/lib/seam/connect/openapi.ts index 59dcd060..7a9f3713 100644 --- a/src/lib/seam/connect/openapi.ts +++ b/src/lib/seam/connect/openapi.ts @@ -65779,6 +65779,137 @@ const openapi: OpenAPISpec = { 'x-undocumented': 'Internal endpoint for Console.', }, }, + '/seam/customer/v1/connectors/external_sites/list': { + get: { + description: + "Lists sites/properties available from the external system for a given connected account by calling the connector's live API.", + operationId: 'seamCustomerV1ConnectorsExternalSitesListGet', + parameters: [ + { + in: 'query', + name: 'connected_account_id', + required: true, + schema: { + description: + 'ID of the connected account to list external sites for', + format: 'uuid', + type: 'string', + }, + }, + ], + responses: { + 200: { + content: { + 'application/json': { + schema: { + properties: { + external_sites: { + items: { + properties: { + key: { type: 'string' }, + name: { type: 'string' }, + }, + required: ['key', 'name'], + type: 'object', + }, + type: 'array', + }, + ok: { type: 'boolean' }, + }, + required: ['external_sites', 'ok'], + type: 'object', + }, + }, + }, + description: 'OK', + }, + 400: { description: 'Bad Request' }, + 401: { description: 'Unauthorized' }, + }, + security: [{ api_key: [] }, { console_session_with_workspace: [] }], + summary: '/seam/customer/v1/connectors/external_sites/list', + tags: [], + 'x-fern-sdk-group-name': [ + 'seam', + 'customer', + 'v1', + 'connectors', + 'external_sites', + ], + 'x-fern-sdk-method-name': 'list', + 'x-fern-sdk-return-value': 'external_sites', + 'x-response-key': 'external_sites', + 'x-title': 'List External Sites for a Connected Account', + 'x-undocumented': 'Internal endpoint for Console.', + }, + post: { + description: + "Lists sites/properties available from the external system for a given connected account by calling the connector's live API.", + operationId: 'seamCustomerV1ConnectorsExternalSitesListPost', + requestBody: { + content: { + 'application/json': { + schema: { + properties: { + connected_account_id: { + description: + 'ID of the connected account to list external sites for', + format: 'uuid', + type: 'string', + }, + }, + required: ['connected_account_id'], + type: 'object', + }, + }, + }, + }, + responses: { + 200: { + content: { + 'application/json': { + schema: { + properties: { + external_sites: { + items: { + properties: { + key: { type: 'string' }, + name: { type: 'string' }, + }, + required: ['key', 'name'], + type: 'object', + }, + type: 'array', + }, + ok: { type: 'boolean' }, + }, + required: ['external_sites', 'ok'], + type: 'object', + }, + }, + }, + description: 'OK', + }, + 400: { description: 'Bad Request' }, + 401: { description: 'Unauthorized' }, + }, + security: [{ api_key: [] }, { console_session_with_workspace: [] }], + summary: '/seam/customer/v1/connectors/external_sites/list', + tags: [], + 'x-fern-sdk-group-name': [ + 'seam', + 'customer', + 'v1', + 'connectors', + 'external_sites', + ], + 'x-fern-sdk-method-name': 'list', + 'x-fern-sdk-return-value': 'external_sites', + 'x-response-key': 'external_sites', + 'x-title': 'List External Sites for a Connected Account', + 'x-undocumented': 'Internal endpoint for Console.', + }, + }, '/seam/customer/v1/connectors/ical/validate-config': { post: { description: diff --git a/src/lib/seam/connect/route-types.ts b/src/lib/seam/connect/route-types.ts index 562f0e2a..9b2983df 100644 --- a/src/lib/seam/connect/route-types.ts +++ b/src/lib/seam/connect/route-types.ts @@ -76588,6 +76588,24 @@ export type Routes = { } maxDuration: undefined } + '/seam/customer/v1/connectors/external_sites/list': { + route: '/seam/customer/v1/connectors/external_sites/list' + method: 'GET' | 'POST' + queryParams: {} + jsonBody: {} + commonParams: { + /** ID of the connected account to list external sites for */ + connected_account_id: string + } + formData: {} + jsonResponse: { + external_sites: { + key: string + name: string + }[] + } + maxDuration: undefined + } '/seam/customer/v1/connectors/ical/validate-config': { route: '/seam/customer/v1/connectors/ical/validate-config' method: 'POST'