import { ObjectWorkspaceApi } from "https://deno.land/x/windmill@v1.38.3/windmill-api/types/ObjectParamAPI.ts";
Constructors
new
ObjectWorkspaceApi(configuration: Configuration,
requestFactory?: WorkspaceApiRequestFactory,
responseProcessor?: WorkspaceApiResponseProcessor,
Properties
private
api: ObservableWorkspaceApiMethods
createWorkspace(param: WorkspaceApiCreateWorkspaceRequest, options?: Configuration): Promise<string>
create workspace
deleteInvite(param: WorkspaceApiDeleteInviteRequest, options?: Configuration): Promise<string>
delete user invite
deleteWorkspace(param: WorkspaceApiDeleteWorkspaceRequest, options?: Configuration): Promise<string>
delete workspace
editSlackCommand(param: WorkspaceApiEditSlackCommandRequest, options?: Configuration): Promise<string>
edit slack command
existsUsername(param: WorkspaceApiExistsUsernameRequest, options?: Configuration): Promise<boolean>
exists username
existsWorkspace(param: WorkspaceApiExistsWorkspaceRequest, options?: Configuration): Promise<boolean>
exists workspace
getSettings(param: WorkspaceApiGetSettingsRequest, options?: Configuration): Promise<InlineResponse200>
get settings
inviteUser(param: WorkspaceApiInviteUserRequest, options?: Configuration): Promise<string>
invite user to workspace
listPendingInvites(param: WorkspaceApiListPendingInvitesRequest, options?: Configuration): Promise<Array<WorkspaceInvite>>
list pending invites for a workspace
listUserWorkspaces(param?: WorkspaceApiListUserWorkspacesRequest, options?: Configuration): Promise<UserWorkspaceList>
list all workspaces visible to me with user info
listWorkspaces(param?: WorkspaceApiListWorkspacesRequest, options?: Configuration): Promise<Array<Workspace>>
list all workspaces visible to me
listWorkspacesAsSuperAdmin(param?: WorkspaceApiListWorkspacesAsSuperAdminRequest, options?: Configuration): Promise<Array<Workspace>>
list all workspaces as super admin (require to be super admin)