Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
131 changes: 131 additions & 0 deletions src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
18 changes: 18 additions & 0 deletions src/lib/seam/connect/route-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Loading