/**
 * 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 { ListMessageCCListenerAssignment } from '../model/listMessageCCListenerAssignment';
import { ListMessageSender } from '../model/listMessageSender';
import { ListMessageSenderAssignment } from '../model/listMessageSenderAssignment';
import { MessageCCListenerAssignment } from '../model/messageCCListenerAssignment';
import { MessageSender } from '../model/messageSender';
import { MessageSenderAssignment } from '../model/messageSenderAssignment';
import { Configuration } from '../configuration';
export declare class OcMessageSenderService {
    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 messageSenderID ID of the message sender.
     * @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(messageSenderID: string, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<any>;
    Delete(messageSenderID: string, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<any>>;
    Delete(messageSenderID: string, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<any>>;
    /**
     *
     *
     * @param messageSender
     * @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<MessageSenderXp = any>(messageSender: MessageSender, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<MessageSender<MessageSenderXp>>;
    Create<MessageSenderXp = any>(messageSender: MessageSender, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<MessageSender>>;
    Create<MessageSenderXp = any>(messageSender: MessageSender, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<MessageSender>>;
    /**
     *
     *
     * @param messageSenderID ID of the message sender.
     * @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(messageSenderID: string, options?: {
        buyerID?: string;
        userID?: string;
        userGroupID?: string;
        supplierID?: string;
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<any>;
    DeleteAssignment(messageSenderID: string, options?: {
        buyerID?: string;
        userID?: string;
        userGroupID?: string;
        supplierID?: string;
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<any>>;
    DeleteAssignment(messageSenderID: string, options?: {
        buyerID?: string;
        userID?: string;
        userGroupID?: string;
        supplierID?: string;
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<any>>;
    /**
     *
     *
     * @param messageSenderID ID of the message sender.
     * @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<MessageSenderXp = any>(messageSenderID: string, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<MessageSender<MessageSenderXp>>;
    Get<MessageSenderXp = any>(messageSenderID: string, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<MessageSender>>;
    Get<MessageSenderXp = any>(messageSenderID: string, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<MessageSender>>;
    /**
     *
     *
     * @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<MessageSenderXp = any>(options?: {
        search?: string;
        searchOn?: string;
        sortBy?: string;
        page?: number;
        pageSize?: number;
        filters?: {
            [key: string]: string | Array<string>;
        };
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<ListMessageSender<MessageSenderXp>>;
    List<MessageSenderXp = any>(options?: {
        search?: string;
        searchOn?: string;
        sortBy?: string;
        page?: number;
        pageSize?: number;
        filters?: {
            [key: string]: string | Array<string>;
        };
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<ListMessageSender>>;
    List<MessageSenderXp = any>(options?: {
        search?: string;
        searchOn?: string;
        sortBy?: string;
        page?: number;
        pageSize?: number;
        filters?: {
            [key: string]: string | Array<string>;
        };
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<ListMessageSender>>;
    /**
     *
     *
     * @param options.buyerID ID of the buyer.
     * @param options.messageSenderID ID of the message sender.
     * @param options.userID ID of the user.
     * @param options.userGroupID ID of the user group.
     * @param options.level Level of the message sender 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.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.
     */
    ListAssignments(options?: {
        buyerID?: string;
        messageSenderID?: string;
        userID?: string;
        userGroupID?: string;
        level?: string;
        page?: number;
        pageSize?: number;
        supplierID?: string;
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<ListMessageSenderAssignment>;
    ListAssignments(options?: {
        buyerID?: string;
        messageSenderID?: string;
        userID?: string;
        userGroupID?: string;
        level?: string;
        page?: number;
        pageSize?: number;
        supplierID?: string;
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<ListMessageSenderAssignment>>;
    ListAssignments(options?: {
        buyerID?: string;
        messageSenderID?: string;
        userID?: string;
        userGroupID?: string;
        level?: string;
        page?: number;
        pageSize?: number;
        supplierID?: string;
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<ListMessageSenderAssignment>>;
    /**
     *
     *
     * @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.
     */
    ListCCListenerAssignments(options?: {
        search?: string;
        searchOn?: string;
        sortBy?: string;
        page?: number;
        pageSize?: number;
        filters?: {
            [key: string]: string | Array<string>;
        };
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<ListMessageCCListenerAssignment>;
    ListCCListenerAssignments(options?: {
        search?: string;
        searchOn?: string;
        sortBy?: string;
        page?: number;
        pageSize?: number;
        filters?: {
            [key: string]: string | Array<string>;
        };
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<ListMessageCCListenerAssignment>>;
    ListCCListenerAssignments(options?: {
        search?: string;
        searchOn?: string;
        sortBy?: string;
        page?: number;
        pageSize?: number;
        filters?: {
            [key: string]: string | Array<string>;
        };
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<ListMessageCCListenerAssignment>>;
    /**
     *
     *
     * @param messageSenderID ID of the message sender.
     * @param partialMessageSender
     * @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<MessageSenderXp = any>(messageSenderID: string, partialMessageSender: MessageSender, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<MessageSender<MessageSenderXp>>;
    Patch<MessageSenderXp = any>(messageSenderID: string, partialMessageSender: MessageSender, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<MessageSender>>;
    Patch<MessageSenderXp = any>(messageSenderID: string, partialMessageSender: MessageSender, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<MessageSender>>;
    /**
     *
     *
     * @param messageSenderID ID of the message sender.
     * @param messageSender
     * @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<MessageSenderXp = any>(messageSenderID: string, messageSender: MessageSender, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<MessageSender<MessageSenderXp>>;
    Save<MessageSenderXp = any>(messageSenderID: string, messageSender: MessageSender, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<MessageSender>>;
    Save<MessageSenderXp = any>(messageSenderID: string, messageSender: MessageSender, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<MessageSender>>;
    /**
     *
     *
     * @param messageSenderAssignment
     * @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(messageSenderAssignment: MessageSenderAssignment, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<any>;
    SaveAssignment(messageSenderAssignment: MessageSenderAssignment, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<any>>;
    SaveAssignment(messageSenderAssignment: MessageSenderAssignment, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<any>>;
    /**
     *
     *
     * @param messageCCListenerAssignment
     * @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.
     */
    SaveCCListenerAssignment(messageCCListenerAssignment: MessageCCListenerAssignment, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<any>;
    SaveCCListenerAssignment(messageCCListenerAssignment: MessageCCListenerAssignment, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<any>>;
    SaveCCListenerAssignment(messageCCListenerAssignment: MessageCCListenerAssignment, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<any>>;
}
