/**
 * OpenAPI spec version: 1.0
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
import { Observable } from 'rxjs';
import { OcTokenService } from './token.service';
import { ListUserGroup } from '../model/listUserGroup';
import { ListUserGroupAssignment } from '../model/listUserGroupAssignment';
import { UserGroup } from '../model/userGroup';
import { UserGroupAssignment } from '../model/userGroupAssignment';
import { Configuration } from '../configuration';
export declare class OcAdminUserGroupService {
    protected httpClient: HttpClient;
    protected ocTokenService: OcTokenService;
    protected basePath: string;
    defaultHeaders: HttpHeaders;
    configuration: Configuration;
    private impersonating;
    constructor(httpClient: HttpClient, ocTokenService: OcTokenService, basePath: string, configuration: Configuration);
    /**
     * @description enable impersonation by calling this prior to any of the other methods in this service
     *
     */
    As(): this;
    /**
     *
     *
     * @param userGroupID ID of the user group.
     * @param options.observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param options.reportProgress flag to report request and response progress.
     */
    Delete(userGroupID: string, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<any>;
    Delete(userGroupID: string, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<any>>;
    Delete(userGroupID: string, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<any>>;
    /**
     *
     *
     * @param userGroup
     * @param options.observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param options.reportProgress flag to report request and response progress.
     */
    Create<UserGroupXp = any>(userGroup: UserGroup, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<UserGroup<UserGroupXp>>;
    Create<UserGroupXp = any>(userGroup: UserGroup, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<UserGroup>>;
    Create<UserGroupXp = any>(userGroup: UserGroup, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<UserGroup>>;
    /**
     *
     *
     * @param userGroupID ID of the user group.
     * @param userID ID of the user.
     * @param options.observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param options.reportProgress flag to report request and response progress.
     */
    DeleteUserAssignment(userGroupID: string, userID: string, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<any>;
    DeleteUserAssignment(userGroupID: string, userID: string, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<any>>;
    DeleteUserAssignment(userGroupID: string, userID: string, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<any>>;
    /**
     *
     *
     * @param userGroupID ID of the user group.
     * @param options.observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param options.reportProgress flag to report request and response progress.
     */
    Get<UserGroupXp = any>(userGroupID: string, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<UserGroup<UserGroupXp>>;
    Get<UserGroupXp = any>(userGroupID: string, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<UserGroup>>;
    Get<UserGroupXp = any>(userGroupID: string, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<UserGroup>>;
    /**
     *
     *
     * @param options.search Word or phrase to search for.
     * @param options.searchOn Comma-delimited list of fields to search on.
     * @param options.sortBy Comma-delimited list of fields to sort by.
     * @param options.page Page of results to return. Default: 1
     * @param options.pageSize Number of results to return per page. Default: 20, max: 100.
     * @param options.filters Any additional key/value pairs passed in the query string are interpretted as filters. Valid keys are top-level properties of the returned model or &#39;xp.???&#39;
     * @param options.observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param options.reportProgress flag to report request and response progress.
     */
    List<UserGroupXp = any>(options?: {
        search?: string;
        searchOn?: string;
        sortBy?: string;
        page?: number;
        pageSize?: number;
        filters?: {
            [key: string]: string | Array<string>;
        };
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<ListUserGroup<UserGroupXp>>;
    List<UserGroupXp = any>(options?: {
        search?: string;
        searchOn?: string;
        sortBy?: string;
        page?: number;
        pageSize?: number;
        filters?: {
            [key: string]: string | Array<string>;
        };
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<ListUserGroup>>;
    List<UserGroupXp = any>(options?: {
        search?: string;
        searchOn?: string;
        sortBy?: string;
        page?: number;
        pageSize?: number;
        filters?: {
            [key: string]: string | Array<string>;
        };
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<ListUserGroup>>;
    /**
     *
     *
     * @param options.userGroupID ID of the user group.
     * @param options.userID ID of the user.
     * @param options.page Page of results to return. Default: 1
     * @param options.pageSize Number of results to return per page. Default: 20, max: 100.
     * @param options.observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param options.reportProgress flag to report request and response progress.
     */
    ListUserAssignments(options?: {
        userGroupID?: string;
        userID?: string;
        page?: number;
        pageSize?: number;
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<ListUserGroupAssignment>;
    ListUserAssignments(options?: {
        userGroupID?: string;
        userID?: string;
        page?: number;
        pageSize?: number;
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<ListUserGroupAssignment>>;
    ListUserAssignments(options?: {
        userGroupID?: string;
        userID?: string;
        page?: number;
        pageSize?: number;
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<ListUserGroupAssignment>>;
    /**
     *
     *
     * @param userGroupID ID of the user group.
     * @param partialUserGroup
     * @param options.observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param options.reportProgress flag to report request and response progress.
     */
    Patch<UserGroupXp = any>(userGroupID: string, partialUserGroup: UserGroup, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<UserGroup<UserGroupXp>>;
    Patch<UserGroupXp = any>(userGroupID: string, partialUserGroup: UserGroup, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<UserGroup>>;
    Patch<UserGroupXp = any>(userGroupID: string, partialUserGroup: UserGroup, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<UserGroup>>;
    /**
     *
     *
     * @param userGroupID ID of the user group.
     * @param userGroup
     * @param options.observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param options.reportProgress flag to report request and response progress.
     */
    Save<UserGroupXp = any>(userGroupID: string, userGroup: UserGroup, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<UserGroup<UserGroupXp>>;
    Save<UserGroupXp = any>(userGroupID: string, userGroup: UserGroup, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<UserGroup>>;
    Save<UserGroupXp = any>(userGroupID: string, userGroup: UserGroup, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<UserGroup>>;
    /**
     *
     *
     * @param userGroupAssignment
     * @param options.observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param options.reportProgress flag to report request and response progress.
     */
    SaveUserAssignment(userGroupAssignment: UserGroupAssignment, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<any>;
    SaveUserAssignment(userGroupAssignment: UserGroupAssignment, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<any>>;
    SaveUserAssignment(userGroupAssignment: UserGroupAssignment, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<any>>;
}
