new lib version [CI SKIP]

This commit is contained in:
2020-12-22 14:30:44 +00:00
parent 284f3303c3
commit 52ac2efc67
66 changed files with 799 additions and 122 deletions

View File

@@ -6,7 +6,7 @@ class UserGroupService {
/**
* Get all
* Lists all usergroups.
* @result UserGroup
* @returns UserGroup
* @throws ApiError
*/
static async userGroupControllerGetAll() {
@@ -20,7 +20,7 @@ class UserGroupService {
* Post
* Create a new usergroup object (id will be generated automagicly).
* @param requestBody CreateUserGroup
* @result any
* @returns any
* @throws ApiError
*/
static async userGroupControllerPost(requestBody) {
@@ -35,7 +35,7 @@ class UserGroupService {
* Get one
* Returns a usergroup of a specified id (if it exists)
* @param id
* @result UserGroup
* @returns UserGroup
* @throws ApiError
*/
static async userGroupControllerGetOne(id) {
@@ -50,7 +50,7 @@ class UserGroupService {
* Update a usergroup object (id can't be changed).
* @param id
* @param requestBody UserGroup
* @result UserGroup
* @returns UserGroup
* @throws ApiError
*/
static async userGroupControllerPut(id, requestBody) {
@@ -65,14 +65,18 @@ class UserGroupService {
* Remove
* Delete a specified usergroup (if it exists).
* @param id
* @result UserGroup
* @result ResponseEmpty
* @param force
* @returns ResponseUserGroup
* @returns ResponseEmpty
* @throws ApiError
*/
static async userGroupControllerRemove(id) {
static async userGroupControllerRemove(id, force) {
const result = await request_1.request({
method: 'DELETE',
path: `/api/usergroups/${id}`,
query: {
'force': force,
},
});
return result.body;
}