This commit is contained in:
10
dist/services/UserService.d.ts
vendored
10
dist/services/UserService.d.ts
vendored
@@ -6,14 +6,14 @@ import type { UserGroupNotFoundError } from '../models/UserGroupNotFoundError';
|
||||
export declare class UserService {
|
||||
/**
|
||||
* Get all
|
||||
* Lists all users.
|
||||
* Lists all users. <br> This includes their groups and permissions directly granted to them (if existing/associated).
|
||||
* @returns User
|
||||
* @throws ApiError
|
||||
*/
|
||||
static userControllerGetAll(): Promise<Array<User>>;
|
||||
/**
|
||||
* Post
|
||||
* Create a new user object (id will be generated automagicly).
|
||||
* Create a new user. <br> If you want to grant permissions to the user you have to create them seperately by posting to /api/permissions after creating the user.
|
||||
* @param requestBody CreateUser
|
||||
* @returns any
|
||||
* @throws ApiError
|
||||
@@ -21,7 +21,7 @@ export declare class UserService {
|
||||
static userControllerPost(requestBody?: CreateUser): Promise<(User | UserGroupNotFoundError)>;
|
||||
/**
|
||||
* Get one
|
||||
* Returns a user of a specified id (if it exists)
|
||||
* Lists all information about the user whose id got provided. <br> Please remember that only permissions granted directly to the user will show up here, not permissions inherited from groups.
|
||||
* @param id
|
||||
* @returns User
|
||||
* @throws ApiError
|
||||
@@ -29,7 +29,7 @@ export declare class UserService {
|
||||
static userControllerGetOne(id: number): Promise<User>;
|
||||
/**
|
||||
* Put
|
||||
* Update a user object (id can't be changed).
|
||||
* Update the user whose id you provided. <br> To change the permissions directly granted to the user please use /api/permissions instead. <br> Please remember that ids can't be changed.
|
||||
* @param id
|
||||
* @param requestBody UpdateUser
|
||||
* @returns User
|
||||
@@ -38,7 +38,7 @@ export declare class UserService {
|
||||
static userControllerPut(id: number, requestBody?: UpdateUser): Promise<User>;
|
||||
/**
|
||||
* Remove
|
||||
* Delete a user runner (if it exists).
|
||||
* Delete the user whose id you provided. <br> If there are any permissions directly granted to the user they will get deleted as well. <br> If no user with this id exists it will just return 204(no content).
|
||||
* @param id
|
||||
* @param force
|
||||
* @returns User
|
||||
|
||||
Reference in New Issue
Block a user