Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: bridge_client_session properties #1517

Merged
merged 1 commit into from
Feb 11, 2025
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
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ export const bridge_client_session = z.object({
created_at: z.string().datetime(),
bridge_client_session_id: z.string().uuid(),
bridge_client_session_token: z.string(),
bridge_client_name: z.string(),
bridge_client_time_zone: z.string(),
bridge_client_machine_identifier_key: z.string(),
bridge_client_tailscale_hostname: z.string(),
pairing_code: z.string().length(6),
pairing_code_expires_at: z.string().datetime(),
tailscale_hostname: z.string(),
tailscale_auth_key: z.string().nullable(),
bridge_client_name: z.string(),
bridge_client_time_zone: z.string(),
bridge_client_machine_identifier_key: z.string(),
}).describe(`
---
route_path: /seam/bridge/v1/bridge_client_sessions
Expand Down
42 changes: 23 additions & 19 deletions src/lib/seam/connect/openapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23439,11 +23439,15 @@ export default {
'application/json': {
schema: {
properties: {
machine_identifier_key: { type: 'string' },
name: { type: 'string' },
time_zone: { type: 'string' },
bridge_client_machine_identifier_key: { type: 'string' },
bridge_client_name: { type: 'string' },
bridge_client_time_zone: { type: 'string' },
},
required: ['name', 'time_zone', 'machine_identifier_key'],
required: [
'bridge_client_name',
'bridge_client_time_zone',
'bridge_client_machine_identifier_key',
],
type: 'object',
},
},
Expand All @@ -23466,7 +23470,6 @@ export default {
type: 'string',
},
bridge_client_session_token: { type: 'string' },
bridge_client_tailscale_hostname: { type: 'string' },
bridge_client_time_zone: { type: 'string' },
created_at: { format: 'date-time', type: 'string' },
pairing_code: {
Expand All @@ -23479,18 +23482,19 @@ export default {
type: 'string',
},
tailscale_auth_key: { nullable: true, type: 'string' },
tailscale_hostname: { type: 'string' },
},
required: [
'created_at',
'bridge_client_session_id',
'bridge_client_session_token',
'bridge_client_name',
'bridge_client_time_zone',
'bridge_client_machine_identifier_key',
'bridge_client_tailscale_hostname',
'pairing_code',
'pairing_code_expires_at',
'tailscale_hostname',
'tailscale_auth_key',
'bridge_client_name',
'bridge_client_time_zone',
'bridge_client_machine_identifier_key',
],
type: 'object',
'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
Expand Down Expand Up @@ -23544,7 +23548,6 @@ export default {
type: 'string',
},
bridge_client_session_token: { type: 'string' },
bridge_client_tailscale_hostname: { type: 'string' },
bridge_client_time_zone: { type: 'string' },
created_at: { format: 'date-time', type: 'string' },
pairing_code: {
Expand All @@ -23557,18 +23560,19 @@ export default {
type: 'string',
},
tailscale_auth_key: { nullable: true, type: 'string' },
tailscale_hostname: { type: 'string' },
},
required: [
'created_at',
'bridge_client_session_id',
'bridge_client_session_token',
'bridge_client_name',
'bridge_client_time_zone',
'bridge_client_machine_identifier_key',
'bridge_client_tailscale_hostname',
'pairing_code',
'pairing_code_expires_at',
'tailscale_hostname',
'tailscale_auth_key',
'bridge_client_name',
'bridge_client_time_zone',
'bridge_client_machine_identifier_key',
],
type: 'object',
'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
Expand Down Expand Up @@ -23613,7 +23617,6 @@ export default {
type: 'string',
},
bridge_client_session_token: { type: 'string' },
bridge_client_tailscale_hostname: { type: 'string' },
bridge_client_time_zone: { type: 'string' },
created_at: { format: 'date-time', type: 'string' },
pairing_code: {
Expand All @@ -23626,18 +23629,19 @@ export default {
type: 'string',
},
tailscale_auth_key: { nullable: true, type: 'string' },
tailscale_hostname: { type: 'string' },
},
required: [
'created_at',
'bridge_client_session_id',
'bridge_client_session_token',
'bridge_client_name',
'bridge_client_time_zone',
'bridge_client_machine_identifier_key',
'bridge_client_tailscale_hostname',
'pairing_code',
'pairing_code_expires_at',
'tailscale_hostname',
'tailscale_auth_key',
'bridge_client_name',
'bridge_client_time_zone',
'bridge_client_machine_identifier_key',
],
type: 'object',
'x-route-path': '/seam/bridge/v1/bridge_client_sessions',
Expand Down
22 changes: 11 additions & 11 deletions src/lib/seam/connect/route-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32388,9 +32388,9 @@ export interface Routes {
method: 'POST'
queryParams: {}
jsonBody: {
name: string
time_zone: string
machine_identifier_key: string
bridge_client_name: string
bridge_client_time_zone: string
bridge_client_machine_identifier_key: string
}
commonParams: {}
formData: {}
Expand All @@ -32400,13 +32400,13 @@ export interface Routes {
created_at: string
bridge_client_session_id: string
bridge_client_session_token: string
bridge_client_name: string
bridge_client_time_zone: string
bridge_client_machine_identifier_key: string
bridge_client_tailscale_hostname: string
pairing_code: string
pairing_code_expires_at: string
tailscale_hostname: string
tailscale_auth_key: string | null
bridge_client_name: string
bridge_client_time_zone: string
bridge_client_machine_identifier_key: string
}
}
}
Expand All @@ -32423,13 +32423,13 @@ export interface Routes {
created_at: string
bridge_client_session_id: string
bridge_client_session_token: string
bridge_client_name: string
bridge_client_time_zone: string
bridge_client_machine_identifier_key: string
bridge_client_tailscale_hostname: string
pairing_code: string
pairing_code_expires_at: string
tailscale_hostname: string
tailscale_auth_key: string | null
bridge_client_name: string
bridge_client_time_zone: string
bridge_client_machine_identifier_key: string
}
}
}
Expand Down