🚀New lib version v0.0.12 [CI SKIP]
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2021-01-13 19:36:10 +00:00
parent 2f554700a7
commit f2b867cd04
55 changed files with 431 additions and 27 deletions

View File

@@ -2,11 +2,10 @@ import type { CreateUser } from '../models/CreateUser';
import type { ResponseEmpty } from '../models/ResponseEmpty';
import type { ResponseUser } from '../models/ResponseUser';
import type { UpdateUser } from '../models/UpdateUser';
import type { UserGroupNotFoundError } from '../models/UserGroupNotFoundError';
export declare class UserService {
/**
* Get all
* Lists all users. <br> This includes their groups and permissions directly granted to them (if existing/associated).
* Lists all users. <br> This includes their groups and permissions granted to them.
* @returns ResponseUser
* @throws ApiError
*/
@@ -15,13 +14,13 @@ export declare class UserService {
* Post
* 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
* @returns ResponseUser
* @throws ApiError
*/
static userControllerPost(requestBody?: CreateUser): Promise<(ResponseUser | UserGroupNotFoundError)>;
static userControllerPost(requestBody?: CreateUser): Promise<ResponseUser>;
/**
* Get one
* 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.
* Lists all information about the user whose id got provided. <br> Please remember that all permissions granted to the user will show up here.
* @param id
* @returns ResponseUser
* @throws ApiError
@@ -46,4 +45,12 @@ export declare class UserService {
* @throws ApiError
*/
static userControllerRemove(id: number, force?: boolean): Promise<ResponseUser | ResponseEmpty>;
/**
* Get permissions
* Lists all permissions granted to the user sorted into directly granted and inherited as permission response objects.
* @param id
* @returns ResponseUser
* @throws ApiError
*/
static userControllerGetPermissions(id: number): Promise<ResponseUser>;
}