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
parent 69ddc91c35
commit a4330a225d
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?: {