import * as fromRoot from '../+shared'; import { UserGroupDto, UserGroupsQueryParams } from './model'; import { Client } from '../Client'; import { UserGroupUsersApi } from './UserGroupUsersApi'; export declare class UserGroupsApi { private readonly client; private requestMappingUrl; readonly users: UserGroupUsersApi; constructor(client: Client); /** * Use to create new User Group * @requires USER_GROUP_MANAGEMENT access permision */ create(newUserGroup: UserGroupDto): Promise>; /** * Use to get paged list of User Groups * @requires ADMINISTRATION_USER_MANAGEMENT_USER_GROUPS_VIEW access permision */ page(params?: UserGroupsQueryParams): Promise>; /** * Use to get list of User Groups * @requires ADMINISTRATION_USER_MANAGEMENT_USER_GROUPS_VIEW access permision */ list(params?: UserGroupsQueryParams): Promise>; /** * Use to delete User Group(s) * @requires USER_GROUP_MANAGEMENT access permision */ deleteBulk(userGroupIds: number[]): Promise>; /** * Use to get User Group by ID * @requires USER_GROUP_MANAGEMENT access permision */ get(id: number): Promise>; /** * Use to get User Group by ID * @requires USER_GROUP_MANAGEMENT access permision */ delete(id: number): Promise>; /** * Use to get User Group by ID * @requires USER_GROUP_MANAGEMENT access permision */ update(id: number, updatedUserGroup: UserGroupDto): Promise>; /** * Use to add Users to Groups * @requires USER_GROUP_MANAGEMENT access permision */ addUsersToUserGroupsBulk(groupIds: number[], userIds: number[]): Promise>; /** * Use to remove Users from Groups * @requires USER_GROUP_MANAGEMENT access permision */ removeUsersFromUserGroupsBulk(groupIds: number[], userIds: number[]): Promise>; } //# sourceMappingURL=UserGroupsApi.d.ts.map