Skip to content

Commit b3f4992

Browse files
committed
feat: Sync with Seam API via 285c7506ed590f4350f783bea0168a52850fef0c
1 parent 9d99056 commit b3f4992

File tree

2 files changed

+114
-0
lines changed

2 files changed

+114
-0
lines changed

src/lib/seam/connect/openapi.ts

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57550,6 +57550,51 @@ export default {
5755057550
'x-undocumented': 'Seam Bridge Client only.',
5755157551
},
5755257552
},
57553+
'/seam/bridge/v1/bridge_client_sessions/refresh_tailscale_auth_key': {
57554+
post: {
57555+
description:
57556+
'Refreshes the Tailscale auth key for the [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge) client session associated with the client session token used for authentication.',
57557+
operationId:
57558+
'seamBridgeV1BridgeClientSessionsRefreshTailscaleAuthKeyPost',
57559+
responses: {
57560+
200: {
57561+
content: {
57562+
'application/json': {
57563+
schema: {
57564+
properties: {
57565+
bridge_client_session: {
57566+
$ref: '#/components/schemas/bridge_client_session',
57567+
},
57568+
ok: { type: 'boolean' },
57569+
},
57570+
required: ['bridge_client_session', 'ok'],
57571+
type: 'object',
57572+
},
57573+
},
57574+
},
57575+
description: 'OK',
57576+
},
57577+
400: { description: 'Bad Request' },
57578+
401: { description: 'Unauthorized' },
57579+
},
57580+
security: [{ bridge_client_session: [] }],
57581+
summary:
57582+
'/seam/bridge/v1/bridge_client_sessions/refresh_tailscale_auth_key',
57583+
tags: [],
57584+
'x-fern-sdk-group-name': [
57585+
'seam',
57586+
'bridge',
57587+
'v1',
57588+
'bridge_client_sessions',
57589+
],
57590+
'x-fern-sdk-method-name': 'refresh_tailscale_auth_key',
57591+
'x-fern-sdk-return-value': 'bridge_client_session',
57592+
'x-response-key': 'bridge_client_session',
57593+
'x-title':
57594+
'Refresh the Tailscale Auth Key for a Seam Bridge Client Session',
57595+
'x-undocumented': 'Seam Bridge Client only.',
57596+
},
57597+
},
5755357598
'/seam/bridge/v1/bridge_client_sessions/refresh_telemetry_token': {
5755457599
post: {
5755557600
description:

src/lib/seam/connect/route-types.ts

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65414,6 +65414,75 @@ export type Routes = {
6541465414
}
6541565415
maxDuration: undefined
6541665416
}
65417+
'/seam/bridge/v1/bridge_client_sessions/refresh_tailscale_auth_key': {
65418+
route: '/seam/bridge/v1/bridge_client_sessions/refresh_tailscale_auth_key'
65419+
method: 'POST'
65420+
queryParams: {}
65421+
jsonBody: {}
65422+
commonParams: {}
65423+
formData: {}
65424+
jsonResponse: {
65425+
/** Represents a [Seam Bridge](https://docs.seam.co/latest/capability-guides/seam-bridge) client session. */
65426+
bridge_client_session: {
65427+
/** Date and time at which the Seam Bridge client session was created. */
65428+
created_at: string
65429+
/** ID of the Seam Bridge client session. */
65430+
bridge_client_session_id: string
65431+
/** Client session token associated with the Seam Bridge client session. */
65432+
bridge_client_session_token: string
65433+
/** Pairing code for Seam Bridge. Use this code to pair Seam Bridge with your workspace. */
65434+
pairing_code: string
65435+
/** Date and time at which the pairing code expires. */
65436+
pairing_code_expires_at: string
65437+
/** Tailscale hostname for Seam Bridge. */
65438+
tailscale_hostname: string
65439+
/** Tailscale authorization key for Seam Bridge. */
65440+
tailscale_auth_key: string | null
65441+
/** Name of the Seam Bridge client. */
65442+
bridge_client_name: string
65443+
/** Time zone for the Seam Bridge client. */
65444+
bridge_client_time_zone: string
65445+
/** Identifier key of the client machine for the Seam Bridge client. */
65446+
bridge_client_machine_identifier_key: string
65447+
/** Errors associated with the Seam Bridge client session. */
65448+
errors: (
65449+
| {
65450+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
65451+
message: string
65452+
/** Date and time at which Seam created the error. */
65453+
created_at: string
65454+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65455+
error_code: 'bridge_lan_unreachable'
65456+
/** Indicates whether Seam can reach the Tailscale proxy. */
65457+
is_tailscale_proxy_reachable: boolean | null
65458+
/** Indicates whether the Tailscale proxy's SOCKS server is healthy. */
65459+
is_tailscale_proxy_socks_server_healthy: boolean | null
65460+
/** Indicates whether the Tailscale proxy can reach the Tailscale network. */
65461+
can_tailscale_proxy_reach_tailscale_network: boolean | null
65462+
/** Indicates whether the Tailscale proxy can reach Seam Bridge. */
65463+
can_tailscale_proxy_reach_bridge: boolean | null
65464+
/** Indicates whether Seam Bridge's SOCKS server is healthy. */
65465+
is_bridge_socks_server_healthy: boolean | null
65466+
}
65467+
| {
65468+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
65469+
message: string
65470+
/** Date and time at which Seam created the error. */
65471+
created_at: string
65472+
/** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
65473+
error_code: 'no_communication_from_bridge'
65474+
}
65475+
)[]
65476+
/** Telemetry token for the Seam Bridge client session. */
65477+
telemetry_token: string | null
65478+
/** Date and time at which the telemetry token for the Seam Bridge client session expires. */
65479+
telemetry_token_expires_at: string | null
65480+
/** Telemetry URL for the Seam Bridge client session. */
65481+
telemetry_url: string | null
65482+
}
65483+
}
65484+
maxDuration: undefined
65485+
}
6541765486
'/seam/bridge/v1/bridge_client_sessions/refresh_telemetry_token': {
6541865487
route: '/seam/bridge/v1/bridge_client_sessions/refresh_telemetry_token'
6541965488
method: 'POST'

0 commit comments

Comments
 (0)