Skip to main content
Module

x/windmill/mod.ts>WorkspaceService

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
class WorkspaceService
import { WorkspaceService } from "https://deno.land/x/windmill@v1.46.0/mod.ts";

Static Methods

createWorkspace(unnamed 0: { requestBody: CreateWorkspace; }): CancelablePromise<string>

create workspace

deleteInvite(unnamed 0: { workspace: string; requestBody: { email: string; is_admin: boolean; }; }): CancelablePromise<string>

delete user invite

deleteWorkspace(unnamed 0: { workspace: string; }): CancelablePromise<string>

delete workspace

editSlackCommand(unnamed 0: { workspace: string; requestBody: { slack_command_script?: string; }; }): CancelablePromise<string>

edit slack command

existsUsername(unnamed 0: { requestBody: { id: string; username: string; }; }): CancelablePromise<boolean>

exists username

existsWorkspace(unnamed 0: { requestBody: { id: string; }; }): CancelablePromise<boolean>

exists workspace

getSettings(unnamed 0: { workspace: string; }): CancelablePromise<{ workspace_id?: string; slack_name?: string; slack_team_id?: string; slack_command_script?: string; }>

get settings

inviteUser(unnamed 0: { workspace: string; requestBody: { email: string; is_admin: boolean; }; }): CancelablePromise<string>

invite user to workspace

listPendingInvites(unnamed 0: { workspace: string; }): CancelablePromise<Array<WorkspaceInvite>>

list pending invites for a workspace

listUserWorkspaces(): CancelablePromise<UserWorkspaceList>

list all workspaces visible to me with user info

listWorkspaces(): CancelablePromise<Array<Workspace>>

list all workspaces visible to me

listWorkspacesAsSuperAdmin(unnamed 0: { page?: number; perPage?: number; }): CancelablePromise<Array<Workspace>>

list all workspaces as super admin (require to be super admin)