new lib version [CI SKIP]
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
2020-12-29 13:35:32 +00:00
parent b7a815076f
commit ec3df312be
33 changed files with 188 additions and 86 deletions

View File

@@ -6,14 +6,14 @@ import type { UserGroupNotFoundError } from '../models/UserGroupNotFoundError';
export declare class UserGroupService {
/**
* Get all
* Lists all usergroups.
* Lists all groups. <br> The information provided might change while the project continues to evolve.
* @returns UserGroup
* @throws ApiError
*/
static userGroupControllerGetAll(): Promise<Array<UserGroup>>;
/**
* Post
* Create a new usergroup object (id will be generated automagicly).
* Create a new group. <br> If you want to grant permissions to the group you have to create them seperately by posting to /api/permissions after creating the group.
* @param requestBody CreateUserGroup
* @returns any
* @throws ApiError
@@ -21,7 +21,7 @@ export declare class UserGroupService {
static userGroupControllerPost(requestBody?: CreateUserGroup): Promise<(UserGroup | UserGroupNotFoundError)>;
/**
* Get one
* Returns a usergroup of a specified id (if it exists)
* Lists all information about the group whose id got provided. <br> The information provided might change while the project continues to evolve.
* @param id
* @returns UserGroup
* @throws ApiError
@@ -29,7 +29,7 @@ export declare class UserGroupService {
static userGroupControllerGetOne(id: number): Promise<UserGroup>;
/**
* Put
* Update a usergroup object (id can't be changed).
* Update the group whose id you provided. <br> To change the permissions granted to the group please use /api/permissions instead. <br> Please remember that ids can't be changed.
* @param id
* @param requestBody UserGroup
* @returns UserGroup
@@ -38,7 +38,7 @@ export declare class UserGroupService {
static userGroupControllerPut(id: number, requestBody?: UserGroup): Promise<UserGroup>;
/**
* Remove
* Delete a specified usergroup (if it exists).
* Delete the group whose id you provided. <br> If there are any permissions directly granted to the group they will get deleted as well. <br> Users associated with this group won't get deleted - just deassociated. <br> If no group with this id exists it will just return 204(no content).
* @param id
* @param force
* @returns ResponseUserGroup