import { WorkspaceService } from "https://deno.land/x/windmill@v1.179.1/mod.ts";
Static Methods
addUser(unnamed 0: { workspace: string; requestBody: { email: string; is_admin: boolean; username: string; operator: boolean; }; }): CancelablePromise<string>
add user to workspace
archiveWorkspace(unnamed 0: { workspace: string; }): CancelablePromise<string>
archive workspace
createWorkspace(unnamed 0: { requestBody: CreateWorkspace; }): CancelablePromise<string>
create workspace
deleteInvite(unnamed 0: { workspace: string; requestBody: { email: string; is_admin: boolean; operator: boolean; }; }): CancelablePromise<string>
delete user invite
deleteWorkspace(unnamed 0: { workspace: string; }): CancelablePromise<string>
delete workspace (require super admin)
editAutoInvite(unnamed 0: { workspace: string; requestBody: { operator?: boolean; }; }): CancelablePromise<string>
edit auto invite
editCopilotConfig(unnamed 0: { workspace: string; requestBody: { openai_resource_path?: string; code_completion_enabled: boolean; }; }): CancelablePromise<string>
edit copilot config
editDeployTo(unnamed 0: { workspace: string; requestBody: { deploy_to?: string; }; }): CancelablePromise<string>
edit deploy to
editErrorHandler(unnamed 0: { workspace: string; requestBody: { error_handler?: string; }; }): CancelablePromise<string>
edit error handler
editSlackCommand(unnamed 0: { workspace: string; requestBody: { slack_command_script?: string; }; }): CancelablePromise<string>
edit slack command
editWebhook(unnamed 0: { workspace: string; requestBody: { webhook?: string; }; }): CancelablePromise<string>
edit webhook
existsUsername(unnamed 0: { requestBody: { id: string; username: string; }; }): CancelablePromise<boolean>
exists username
existsWorkspace(unnamed 0: { requestBody: { id: string; }; }): CancelablePromise<boolean>
exists workspace
getCopilotInfo(unnamed 0: { workspace: string; }): CancelablePromise<{ exists_openai_resource_path: boolean; code_completion_enabled: boolean; }>
get copilot info
getDeployTo(unnamed 0: { workspace: string; }): CancelablePromise<{ deploy_to?: string; }>
get deploy to
getPremiumInfo(unnamed 0: { workspace: string; }): CancelablePromise<{ premium: boolean; usage?: number; }>
get premium info
getSettings(unnamed 0: { workspace: string; }): CancelablePromise<{ workspace_id?: string; slack_name?: string; slack_team_id?: string; slack_command_script?: string; auto_invite_domain?: string; auto_invite_operator?: boolean; plan?: string; customer_id?: string; webhook?: string; deploy_to?: string; openai_resource_path?: string; code_completion_enabled: boolean; error_handler?: string; }>
get settings
inviteUser(unnamed 0: { workspace: string; requestBody: { email: string; is_admin: boolean; operator: boolean; }; }): CancelablePromise<string>
invite user to workspace
isDomainAllowed(): CancelablePromise<boolean>
is domain allowed for auto invi
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)
unarchiveWorkspace(unnamed 0: { workspace: string; }): CancelablePromise<string>
unarchive workspace