feat(core): allow passing workspaceID into session create endpoint (#16798)

This commit is contained in:
James Long 2026-03-10 11:12:51 -04:00 committed by GitHub
commit a4330a225d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 18 additions and 3 deletions

View file

@ -1295,6 +1295,7 @@ export class Session2 extends HeyApiClient {
parentID?: string
title?: string
permission?: PermissionRuleset
workspaceID?: string
},
options?: Options<never, ThrowOnError>,
) {
@ -1308,6 +1309,7 @@ export class Session2 extends HeyApiClient {
{ in: "body", key: "parentID" },
{ in: "body", key: "title" },
{ in: "body", key: "permission" },
{ in: "body", key: "workspaceID" },
],
},
],

View file

@ -2764,6 +2764,7 @@ export type SessionCreateData = {
parentID?: string
title?: string
permission?: PermissionRuleset
workspaceID?: string
}
path?: never
query?: {