/**
 * 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 { ListPriceSchedule } from '../model/listPriceSchedule';
import { PriceBreak } from '../model/priceBreak';
import { PriceSchedule } from '../model/priceSchedule';
import { Configuration } from '../configuration';
export declare class OcPriceScheduleService {
    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 priceScheduleID ID of the price schedule.
     * @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(priceScheduleID: string, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<any>;
    Delete(priceScheduleID: string, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<any>>;
    Delete(priceScheduleID: string, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<any>>;
    /**
     *
     *
     * @param priceSchedule
     * @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<PriceScheduleXp = any>(priceSchedule: PriceSchedule, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<PriceSchedule<PriceScheduleXp>>;
    Create<PriceScheduleXp = any>(priceSchedule: PriceSchedule, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<PriceSchedule>>;
    Create<PriceScheduleXp = any>(priceSchedule: PriceSchedule, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<PriceSchedule>>;
    /**
     *
     *
     * @param priceScheduleID ID of the price schedule.
     * @param quantity Quantity of the price schedule.
     * @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.
     */
    DeletePriceBreak(priceScheduleID: string, quantity: number, options?: {
        quantity?: number;
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<any>;
    DeletePriceBreak(priceScheduleID: string, quantity: number, options?: {
        quantity?: number;
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<any>>;
    DeletePriceBreak(priceScheduleID: string, quantity: number, options?: {
        quantity?: number;
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<any>>;
    /**
     *
     *
     * @param priceScheduleID ID of the price schedule.
     * @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<PriceScheduleXp = any>(priceScheduleID: string, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<PriceSchedule<PriceScheduleXp>>;
    Get<PriceScheduleXp = any>(priceScheduleID: string, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<PriceSchedule>>;
    Get<PriceScheduleXp = any>(priceScheduleID: string, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<PriceSchedule>>;
    /**
     *
     *
     * @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<PriceScheduleXp = any>(options?: {
        search?: string;
        searchOn?: string;
        sortBy?: string;
        page?: number;
        pageSize?: number;
        filters?: {
            [key: string]: string | Array<string>;
        };
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<ListPriceSchedule<PriceScheduleXp>>;
    List<PriceScheduleXp = any>(options?: {
        search?: string;
        searchOn?: string;
        sortBy?: string;
        page?: number;
        pageSize?: number;
        filters?: {
            [key: string]: string | Array<string>;
        };
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<ListPriceSchedule>>;
    List<PriceScheduleXp = any>(options?: {
        search?: string;
        searchOn?: string;
        sortBy?: string;
        page?: number;
        pageSize?: number;
        filters?: {
            [key: string]: string | Array<string>;
        };
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<ListPriceSchedule>>;
    /**
     *
     *
     * @param priceScheduleID ID of the price schedule.
     * @param partialPriceSchedule
     * @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<PriceScheduleXp = any>(priceScheduleID: string, partialPriceSchedule: PriceSchedule, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<PriceSchedule<PriceScheduleXp>>;
    Patch<PriceScheduleXp = any>(priceScheduleID: string, partialPriceSchedule: PriceSchedule, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<PriceSchedule>>;
    Patch<PriceScheduleXp = any>(priceScheduleID: string, partialPriceSchedule: PriceSchedule, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<PriceSchedule>>;
    /**
     *
     *
     * @param priceScheduleID ID of the price schedule.
     * @param priceSchedule
     * @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<PriceScheduleXp = any>(priceScheduleID: string, priceSchedule: PriceSchedule, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<PriceSchedule<PriceScheduleXp>>;
    Save<PriceScheduleXp = any>(priceScheduleID: string, priceSchedule: PriceSchedule, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<PriceSchedule>>;
    Save<PriceScheduleXp = any>(priceScheduleID: string, priceSchedule: PriceSchedule, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<PriceSchedule>>;
    /**
     *
     *
     * @param priceScheduleID ID of the price schedule.
     * @param priceBreak
     * @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.
     */
    SavePriceBreak<PriceScheduleXp = any>(priceScheduleID: string, priceBreak: PriceBreak, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<PriceSchedule<PriceScheduleXp>>;
    SavePriceBreak<PriceScheduleXp = any>(priceScheduleID: string, priceBreak: PriceBreak, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<PriceSchedule>>;
    SavePriceBreak<PriceScheduleXp = any>(priceScheduleID: string, priceBreak: PriceBreak, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<PriceSchedule>>;
}
