Skip to content

Commit d7a682a

Browse files
authored
Merge pull request #33 from seamapi/mutli-workspace-limit
Fix types for allowed workspace methods
2 parents 159eadb + cef3bbf commit d7a682a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lib/seam/connect/seam-http-multi-workspace.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export class SeamHttpMultiWorkspace {
7474
return new SeamHttpMultiWorkspace(constructorOptions)
7575
}
7676

77-
get workspaces(): SeamHttpWorkspaces {
77+
get workspaces(): Pick<SeamHttpWorkspaces, 'create' | 'list'> {
7878
return SeamHttpWorkspaces.fromClient(this.client, this.defaults)
7979
}
8080
}

src/lib/seam/connect/seam-http.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ export class SeamHttp {
186186
return SeamHttpWebhooks.fromClient(this.client, this.defaults)
187187
}
188188

189-
get workspaces(): SeamHttpWorkspaces {
189+
get workspaces(): Omit<SeamHttpWorkspaces, 'create'> {
190190
return SeamHttpWorkspaces.fromClient(this.client, this.defaults)
191191
}
192192
}

0 commit comments

Comments
 (0)