Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/windmill/windmill-api/types/PromiseAPI.ts>PromiseWorkspaceApi

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 PromiseWorkspaceApi
import { PromiseWorkspaceApi } from "https://deno.land/x/windmill@v1.38.3/windmill-api/types/PromiseAPI.ts";

Constructors

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

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

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)