/**
 * 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 { Catalog } from '../model/catalog';
import { CatalogAssignment } from '../model/catalogAssignment';
import { ListCatalog } from '../model/listCatalog';
import { ListCatalogAssignment } from '../model/listCatalogAssignment';
import { ListProductCatalogAssignment } from '../model/listProductCatalogAssignment';
import { ProductCatalogAssignment } from '../model/productCatalogAssignment';
import { Configuration } from '../configuration';
export declare class OcCatalogService {
    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 catalogID ID of the catalog.
     * @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(catalogID: string, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<any>;
    Delete(catalogID: string, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<any>>;
    Delete(catalogID: string, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<any>>;
    /**
     *
     *
     * @param catalog
     * @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<CatalogXp = any>(catalog: Catalog, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<Catalog<CatalogXp>>;
    Create<CatalogXp = any>(catalog: Catalog, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<Catalog>>;
    Create<CatalogXp = any>(catalog: Catalog, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<Catalog>>;
    /**
     *
     *
     * @param catalogID ID of the catalog.
     * @param buyerID ID of the buyer.
     * @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(catalogID: string, buyerID: string, options?: {
        buyerID?: string;
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<any>;
    DeleteAssignment(catalogID: string, buyerID: string, options?: {
        buyerID?: string;
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<any>>;
    DeleteAssignment(catalogID: string, buyerID: string, options?: {
        buyerID?: string;
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<any>>;
    /**
     *
     *
     * @param catalogID ID of the catalog.
     * @param productID ID of the product.
     * @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.
     */
    DeleteProductAssignment(catalogID: string, productID: string, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<any>;
    DeleteProductAssignment(catalogID: string, productID: string, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<any>>;
    DeleteProductAssignment(catalogID: string, productID: string, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<any>>;
    /**
     *
     *
     * @param catalogID ID of the catalog.
     * @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<CatalogXp = any>(catalogID: string, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<Catalog<CatalogXp>>;
    Get<CatalogXp = any>(catalogID: string, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<Catalog>>;
    Get<CatalogXp = any>(catalogID: string, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<Catalog>>;
    /**
     *
     *
     * @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<CatalogXp = any>(options?: {
        search?: string;
        searchOn?: string;
        sortBy?: string;
        page?: number;
        pageSize?: number;
        filters?: {
            [key: string]: string | Array<string>;
        };
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<ListCatalog<CatalogXp>>;
    List<CatalogXp = any>(options?: {
        search?: string;
        searchOn?: string;
        sortBy?: string;
        page?: number;
        pageSize?: number;
        filters?: {
            [key: string]: string | Array<string>;
        };
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<ListCatalog>>;
    List<CatalogXp = any>(options?: {
        search?: string;
        searchOn?: string;
        sortBy?: string;
        page?: number;
        pageSize?: number;
        filters?: {
            [key: string]: string | Array<string>;
        };
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<ListCatalog>>;
    /**
     *
     *
     * @param options.catalogID ID of the catalog.
     * @param options.buyerID ID of the buyer.
     * @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?: {
        catalogID?: string;
        buyerID?: string;
        page?: number;
        pageSize?: number;
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<ListCatalogAssignment>;
    ListAssignments(options?: {
        catalogID?: string;
        buyerID?: string;
        page?: number;
        pageSize?: number;
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<ListCatalogAssignment>>;
    ListAssignments(options?: {
        catalogID?: string;
        buyerID?: string;
        page?: number;
        pageSize?: number;
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<ListCatalogAssignment>>;
    /**
     *
     *
     * @param options.catalogID ID of the catalog.
     * @param options.productID ID of the product.
     * @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.
     */
    ListProductAssignments(options?: {
        catalogID?: string;
        productID?: string;
        page?: number;
        pageSize?: number;
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<ListProductCatalogAssignment>;
    ListProductAssignments(options?: {
        catalogID?: string;
        productID?: string;
        page?: number;
        pageSize?: number;
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<ListProductCatalogAssignment>>;
    ListProductAssignments(options?: {
        catalogID?: string;
        productID?: string;
        page?: number;
        pageSize?: number;
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<ListProductCatalogAssignment>>;
    /**
     *
     *
     * @param catalogID ID of the catalog.
     * @param partialCatalog
     * @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<CatalogXp = any>(catalogID: string, partialCatalog: Catalog, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<Catalog<CatalogXp>>;
    Patch<CatalogXp = any>(catalogID: string, partialCatalog: Catalog, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<Catalog>>;
    Patch<CatalogXp = any>(catalogID: string, partialCatalog: Catalog, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<Catalog>>;
    /**
     *
     *
     * @param catalogID ID of the catalog.
     * @param catalog
     * @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<CatalogXp = any>(catalogID: string, catalog: Catalog, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<Catalog<CatalogXp>>;
    Save<CatalogXp = any>(catalogID: string, catalog: Catalog, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<Catalog>>;
    Save<CatalogXp = any>(catalogID: string, catalog: Catalog, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<Catalog>>;
    /**
     *
     *
     * @param catalogAssignment
     * @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(catalogAssignment: CatalogAssignment, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<any>;
    SaveAssignment(catalogAssignment: CatalogAssignment, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<any>>;
    SaveAssignment(catalogAssignment: CatalogAssignment, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<any>>;
    /**
     *
     *
     * @param productCatalogAssignment
     * @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.
     */
    SaveProductAssignment(productCatalogAssignment: ProductCatalogAssignment, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<any>;
    SaveProductAssignment(productCatalogAssignment: ProductCatalogAssignment, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<any>>;
    SaveProductAssignment(productCatalogAssignment: ProductCatalogAssignment, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<any>>;
}
