🚀New lib version v0.13.1 [CI SKIP]
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
14
dist/services/UserGroupService.js
vendored
14
dist/services/UserGroupService.js
vendored
@@ -6,7 +6,7 @@ class UserGroupService {
|
||||
/**
|
||||
* Get all
|
||||
* Lists all groups. <br> The information provided might change while the project continues to evolve.
|
||||
* @returns ResponseUserGroup
|
||||
* @result ResponseUserGroup
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async userGroupControllerGetAll() {
|
||||
@@ -20,7 +20,7 @@ class UserGroupService {
|
||||
* Post
|
||||
* 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
|
||||
* @result any
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async userGroupControllerPost(requestBody) {
|
||||
@@ -35,7 +35,7 @@ class UserGroupService {
|
||||
* Get one
|
||||
* 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 ResponseUserGroup
|
||||
* @result ResponseUserGroup
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async userGroupControllerGetOne(id) {
|
||||
@@ -50,7 +50,7 @@ class UserGroupService {
|
||||
* 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 UpdateUserGroup
|
||||
* @returns UserGroup
|
||||
* @result UserGroup
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async userGroupControllerPut(id, requestBody) {
|
||||
@@ -66,8 +66,8 @@ class UserGroupService {
|
||||
* 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
|
||||
* @returns ResponseEmpty
|
||||
* @result ResponseUserGroup
|
||||
* @result ResponseEmpty
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async userGroupControllerRemove(id, force) {
|
||||
@@ -84,7 +84,7 @@ class UserGroupService {
|
||||
* Get permissions
|
||||
* Lists all permissions granted to the group as permission response objects.
|
||||
* @param id
|
||||
* @returns ResponseUserGroupPermissions
|
||||
* @result ResponseUserGroupPermissions
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async userGroupControllerGetPermissions(id) {
|
||||
|
||||
Reference in New Issue
Block a user