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,
Properties
private
api: ObservableWorkspaceApiMethods
createWorkspace(createWorkspace: CreateWorkspace, _options?: Configuration): Promise<string>
create workspace
deleteInvite(): Promise<string>
delete user invite
deleteWorkspace(workspace: string, _options?: Configuration): Promise<string>
delete workspace
editSlackCommand(): 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(): 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(): Promise<Array<Workspace>>
list all workspaces as super admin (require to be super admin)