Skip to content

Commit

Permalink
feat: Add /client_sessions/get (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
seambot authored Jul 26, 2023
1 parent e4bf07b commit f9c59b3
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions src/lib/seam/connect/route-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -531,10 +531,11 @@ export interface Routes {
formData: {}
jsonResponse: {
client_session: {
token: string
client_session_id: string
user_identifier_key: string | null
created_at: string
token: string
workspace_id: string
}
}
}
Expand All @@ -549,6 +550,29 @@ export interface Routes {
formData: {}
jsonResponse: {}
}
'/client_sessions/get': {
route: '/client_sessions/get'
method: 'GET' | 'POST'
queryParams: {}
jsonBody: {}
commonParams: {
client_session_id?: string | undefined
user_identifier_key?: string | undefined
}
formData: {}
jsonResponse: {
client_session: {
client_session_id: string
user_identifier_key: string | null
created_at: string
token: string
device_count: number
connected_account_ids: string[]
connect_webview_ids: string[]
workspace_id: string
}
}
}
'/client_sessions/list': {
route: '/client_sessions/list'
method: 'POST' | 'GET'
Expand All @@ -562,11 +586,10 @@ export interface Routes {
formData: {}
jsonResponse: {
client_sessions: Array<{
user_identifier_key: string | null
client_session_id: string
user_identifier_key: string | null
created_at: string
device_count: number
token: string
workspace_id: string
}>
}
Expand Down

0 comments on commit f9c59b3

Please sign in to comment.