import { ObjectUserApi } from "https://deno.land/x/windmill@v1.38.0/windmill-api/types/ObjectParamAPI.ts";
Constructors
new
ObjectUserApi(configuration: Configuration,
requestFactory?: UserApiRequestFactory,
responseProcessor?: UserApiResponseProcessor,
Properties
private
api: ObservableUserApiMethods
acceptInvite(param: UserApiAcceptInviteRequest, options?: Configuration): Promise<string>
accept invite to workspace
createToken(param: UserApiCreateTokenRequest, options?: Configuration): Promise<string>
create token
createUser(param: UserApiCreateUserRequest, options?: Configuration): Promise<string>
create user (require admin privilege)
createUserGlobally(param: UserApiCreateUserGloballyRequest, options?: Configuration): Promise<string>
create user
declineInvite(param: UserApiDeclineInviteRequest, options?: Configuration): Promise<string>
decline invite to workspace
deleteToken(param: UserApiDeleteTokenRequest, options?: Configuration): Promise<string>
delete token
deleteUser(param: UserApiDeleteUserRequest, options?: Configuration): Promise<string>
delete user (require admin privilege)
getCurrentEmail(param?: UserApiGetCurrentEmailRequest, options?: Configuration): Promise<string>
get current user email (if logged in)
globalUserUpdate(param: UserApiGlobalUserUpdateRequest, options?: Configuration): Promise<string>
global update user (require super admin)
globalWhoami(param?: UserApiGlobalWhoamiRequest, options?: Configuration): Promise<GlobalUserInfo>
get current global whoami (if logged in)
leaveWorkspace(param: UserApiLeaveWorkspaceRequest, options?: Configuration): Promise<string>
leave workspace
listTokens(param?: UserApiListTokensRequest, options?: Configuration): Promise<Array<TruncatedToken>>
list token
listUsernames(param: UserApiListUsernamesRequest, options?: Configuration): Promise<Array<string>>
list usernames
listUsers(param: UserApiListUsersRequest, options?: Configuration): Promise<Array<User>>
list users
listUsersAsSuperAdmin(param?: UserApiListUsersAsSuperAdminRequest, options?: Configuration): Promise<Array<GlobalUserInfo>>
list all users as super admin (require to be super amdin)
listWorkspaceInvites(param?: UserApiListWorkspaceInvitesRequest, options?: Configuration): Promise<Array<WorkspaceInvite>>
list all workspace invites
login(param: UserApiLoginRequest, options?: Configuration): Promise<string>
login with password
loginWithOauth(param: UserApiLoginWithOauthRequest, options?: Configuration): Promise<string>
login with oauth authorization flow
logout(param?: UserApiLogoutRequest, options?: Configuration): Promise<string>
logout
setPassword(param: UserApiSetPasswordRequest, options?: Configuration): Promise<string>
set password
updateUser(param: UserApiUpdateUserRequest, options?: Configuration): Promise<string>
update user (require admin privilege)
whoami(param: UserApiWhoamiRequest, options?: Configuration): Promise<User>
whoami
whois(param: UserApiWhoisRequest, options?: Configuration): Promise<User>
whois