/**
 * 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 { ListSecurityProfile } from '../model/listSecurityProfile';
import { ListSecurityProfileAssignment } from '../model/listSecurityProfileAssignment';
import { SecurityProfile } from '../model/securityProfile';
import { SecurityProfileAssignment } from '../model/securityProfileAssignment';
import { Configuration } from '../configuration';
export declare class OcSecurityProfileService {
    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 securityProfileID ID of the security profile.
     * @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(securityProfileID: string, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<any>;
    Delete(securityProfileID: string, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<any>>;
    Delete(securityProfileID: string, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<any>>;
    /**
     *
     *
     * @param securityProfile
     * @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(securityProfile: SecurityProfile, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<SecurityProfile>;
    Create(securityProfile: SecurityProfile, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<SecurityProfile>>;
    Create(securityProfile: SecurityProfile, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<SecurityProfile>>;
    /**
     *
     *
     * @param securityProfileID ID of the security profile.
     * @param options.buyerID ID of the buyer.
     * @param options.userID ID of the user.
     * @param options.userGroupID ID of the user group.
     * @param options.supplierID ID of the supplier.
     * @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.
     */
    DeleteAssignment(securityProfileID: string, options?: {
        buyerID?: string;
        userID?: string;
        userGroupID?: string;
        supplierID?: string;
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<any>;
    DeleteAssignment(securityProfileID: string, options?: {
        buyerID?: string;
        userID?: string;
        userGroupID?: string;
        supplierID?: string;
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<any>>;
    DeleteAssignment(securityProfileID: string, options?: {
        buyerID?: string;
        userID?: string;
        userGroupID?: string;
        supplierID?: string;
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<any>>;
    /**
     *
     *
     * @param securityProfileID ID of the security profile.
     * @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(securityProfileID: string, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<SecurityProfile>;
    Get(securityProfileID: string, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<SecurityProfile>>;
    Get(securityProfileID: string, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<SecurityProfile>>;
    /**
     *
     *
     * @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(options?: {
        search?: string;
        searchOn?: string;
        sortBy?: string;
        page?: number;
        pageSize?: number;
        filters?: {
            [key: string]: string | Array<string>;
        };
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<ListSecurityProfile>;
    List(options?: {
        search?: string;
        searchOn?: string;
        sortBy?: string;
        page?: number;
        pageSize?: number;
        filters?: {
            [key: string]: string | Array<string>;
        };
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<ListSecurityProfile>>;
    List(options?: {
        search?: string;
        searchOn?: string;
        sortBy?: string;
        page?: number;
        pageSize?: number;
        filters?: {
            [key: string]: string | Array<string>;
        };
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<ListSecurityProfile>>;
    /**
     *
     *
     * @param options.buyerID ID of the buyer.
     * @param options.supplierID ID of the supplier.
     * @param options.securityProfileID ID of the security profile.
     * @param options.userID ID of the user.
     * @param options.userGroupID ID of the user group.
     * @param options.commerceRole Commerce role of the security profile assignment. Possible values: Buyer, Seller, Supplier.
     * @param options.level Level of the security profile assignment. Possible values: User, Group, Company.
     * @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.
     */
    ListAssignments(options?: {
        buyerID?: string;
        supplierID?: string;
        securityProfileID?: string;
        userID?: string;
        userGroupID?: string;
        commerceRole?: string;
        level?: string;
        page?: number;
        pageSize?: number;
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<ListSecurityProfileAssignment>;
    ListAssignments(options?: {
        buyerID?: string;
        supplierID?: string;
        securityProfileID?: string;
        userID?: string;
        userGroupID?: string;
        commerceRole?: string;
        level?: string;
        page?: number;
        pageSize?: number;
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<ListSecurityProfileAssignment>>;
    ListAssignments(options?: {
        buyerID?: string;
        supplierID?: string;
        securityProfileID?: string;
        userID?: string;
        userGroupID?: string;
        commerceRole?: string;
        level?: string;
        page?: number;
        pageSize?: number;
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<ListSecurityProfileAssignment>>;
    /**
     *
     *
     * @param securityProfileID ID of the security profile.
     * @param partialSecurityProfile
     * @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(securityProfileID: string, partialSecurityProfile: SecurityProfile, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<SecurityProfile>;
    Patch(securityProfileID: string, partialSecurityProfile: SecurityProfile, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<SecurityProfile>>;
    Patch(securityProfileID: string, partialSecurityProfile: SecurityProfile, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<SecurityProfile>>;
    /**
     *
     *
     * @param securityProfileID ID of the security profile.
     * @param securityProfile
     * @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(securityProfileID: string, securityProfile: SecurityProfile, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<SecurityProfile>;
    Save(securityProfileID: string, securityProfile: SecurityProfile, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<SecurityProfile>>;
    Save(securityProfileID: string, securityProfile: SecurityProfile, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<SecurityProfile>>;
    /**
     *
     *
     * @param securityProfileAssignment
     * @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.
     */
    SaveAssignment(securityProfileAssignment: SecurityProfileAssignment, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<any>;
    SaveAssignment(securityProfileAssignment: SecurityProfileAssignment, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<any>>;
    SaveAssignment(securityProfileAssignment: SecurityProfileAssignment, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<any>>;
}
