Skip to main content
Module

x/windmill/mod.ts>WorkspaceApi

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 WorkspaceApi
import { WorkspaceApi } from "https://deno.land/x/windmill@v1.28.1/mod.ts";

Constructors

new
WorkspaceApi(
configuration: Configuration,
requestFactory?: WorkspaceApiRequestFactory,
responseProcessor?: WorkspaceApiResponseProcessor,
)

Properties

private
api: ObservableWorkspaceApi

Methods

createWorkspace(createWorkspace: CreateWorkspace, _options?: Configuration): Promise<string>

create workspace

deleteInvite(
workspace: string,
inlineObject8: InlineObject8,
_options?: Configuration,
): Promise<string>

delete user invite

deleteWorkspace(workspace: string, _options?: Configuration): Promise<string>

delete workspace

editSlackCommand(
workspace: string,
inlineObject9: InlineObject9,
_options?: Configuration,
): Promise<string>

edit slack command

existsUsername(inlineObject4: InlineObject4, _options?: Configuration): Promise<boolean>

exists username

existsWorkspace(inlineObject3: InlineObject3, _options?: Configuration): Promise<boolean>

exists workspace

getSettings(workspace: string, _options?: Configuration): Promise<InlineResponse200>

get settings

inviteUser(
workspace: string,
inlineObject7: InlineObject7,
_options?: Configuration,
): Promise<string>

invite user to workspace

listPendingInvites(workspace: string, _options?: Configuration): Promise<Array<WorkspaceInvite>>

list pending invites for a workspace

listUserWorkspaces(_options?: Configuration): Promise<UserWorkspaceList>

list all workspaces visible to me with user info

listWorkspaces(_options?: Configuration): Promise<Array<Workspace>>

list all workspaces visible to me

listWorkspacesAsSuperAdmin(
page?: number,
perPage?: number,
_options?: Configuration,
): Promise<Array<Workspace>>

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