Skip to content

Commit 87bad83

Browse files
authored
feat: add /client_sessions/grant_access (#94)
1 parent d46f51f commit 87bad83

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -601,6 +601,31 @@ export interface Routes {
601601
}
602602
}
603603
}
604+
'/client_sessions/grant_access': {
605+
route: '/client_sessions/grant_access'
606+
method: 'POST' | 'PATCH'
607+
queryParams: {}
608+
jsonBody: {}
609+
commonParams: {
610+
client_session_id?: string | undefined
611+
user_identifier_key?: string | undefined
612+
connected_account_ids?: string[] | undefined
613+
connect_webview_ids?: string[] | undefined
614+
}
615+
formData: {}
616+
jsonResponse: {
617+
client_session: {
618+
client_session_id: string
619+
user_identifier_key: string | null
620+
created_at: string
621+
token: string
622+
device_count: number
623+
connected_account_ids: string[]
624+
connect_webview_ids: string[]
625+
workspace_id: string
626+
}
627+
}
628+
}
604629
'/client_sessions/list': {
605630
route: '/client_sessions/list'
606631
method: 'POST' | 'GET'

0 commit comments

Comments
 (0)