/**
 * 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 { Category } from '../model/category';
import { CategoryAssignment } from '../model/categoryAssignment';
import { CategoryProductAssignment } from '../model/categoryProductAssignment';
import { ListCategory } from '../model/listCategory';
import { ListCategoryAssignment } from '../model/listCategoryAssignment';
import { ListCategoryProductAssignment } from '../model/listCategoryProductAssignment';
import { Configuration } from '../configuration';
export declare class OcCategoryService {
    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 categoryID ID of the category.
     * @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, categoryID: string, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<any>;
    Delete(catalogID: string, categoryID: string, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<any>>;
    Delete(catalogID: string, categoryID: string, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<any>>;
    /**
     *
     *
     * @param catalogID ID of the catalog.
     * @param category
     * @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<CategoryXp = any>(catalogID: string, category: Category, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<Category<CategoryXp>>;
    Create<CategoryXp = any>(catalogID: string, category: Category, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<Category>>;
    Create<CategoryXp = any>(catalogID: string, category: Category, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<Category>>;
    /**
     *
     *
     * @param catalogID ID of the catalog.
     * @param categoryID ID of the category.
     * @param buyerID ID of the buyer.
     * @param options.userID ID of the user.
     * @param options.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.
     */
    DeleteAssignment(catalogID: string, categoryID: string, buyerID: string, options?: {
        buyerID?: string;
        userID?: string;
        userGroupID?: string;
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<any>;
    DeleteAssignment(catalogID: string, categoryID: string, buyerID: string, options?: {
        buyerID?: string;
        userID?: string;
        userGroupID?: string;
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<any>>;
    DeleteAssignment(catalogID: string, categoryID: string, buyerID: string, options?: {
        buyerID?: string;
        userID?: string;
        userGroupID?: string;
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<any>>;
    /**
     *
     *
     * @param catalogID ID of the catalog.
     * @param categoryID ID of the category.
     * @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, categoryID: string, productID: string, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<any>;
    DeleteProductAssignment(catalogID: string, categoryID: string, productID: string, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<any>>;
    DeleteProductAssignment(catalogID: string, categoryID: string, productID: string, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<any>>;
    /**
     *
     *
     * @param catalogID ID of the catalog.
     * @param categoryID ID of the category.
     * @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<CategoryXp = any>(catalogID: string, categoryID: string, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<Category<CategoryXp>>;
    Get<CategoryXp = any>(catalogID: string, categoryID: string, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<Category>>;
    Get<CategoryXp = any>(catalogID: string, categoryID: string, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<Category>>;
    /**
     *
     *
     * @param catalogID ID of the catalog.
     * @param options.depth Depth of the category.
     * @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<CategoryXp = any>(catalogID: string, options?: {
        depth?: string;
        search?: string;
        searchOn?: string;
        sortBy?: string;
        page?: number;
        pageSize?: number;
        filters?: {
            [key: string]: string | Array<string>;
        };
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<ListCategory<CategoryXp>>;
    List<CategoryXp = any>(catalogID: string, options?: {
        depth?: string;
        search?: string;
        searchOn?: string;
        sortBy?: string;
        page?: number;
        pageSize?: number;
        filters?: {
            [key: string]: string | Array<string>;
        };
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<ListCategory>>;
    List<CategoryXp = any>(catalogID: string, options?: {
        depth?: string;
        search?: string;
        searchOn?: string;
        sortBy?: string;
        page?: number;
        pageSize?: number;
        filters?: {
            [key: string]: string | Array<string>;
        };
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<ListCategory>>;
    /**
     *
     *
     * @param catalogID ID of the catalog.
     * @param options.categoryID ID of the category.
     * @param options.buyerID ID of the buyer.
     * @param options.userID ID of the user.
     * @param options.userGroupID ID of the user group.
     * @param options.level Level of the category 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(catalogID: string, options?: {
        categoryID?: string;
        buyerID?: string;
        userID?: string;
        userGroupID?: string;
        level?: string;
        page?: number;
        pageSize?: number;
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<ListCategoryAssignment>;
    ListAssignments(catalogID: string, options?: {
        categoryID?: string;
        buyerID?: string;
        userID?: string;
        userGroupID?: string;
        level?: string;
        page?: number;
        pageSize?: number;
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<ListCategoryAssignment>>;
    ListAssignments(catalogID: string, options?: {
        categoryID?: string;
        buyerID?: string;
        userID?: string;
        userGroupID?: string;
        level?: string;
        page?: number;
        pageSize?: number;
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<ListCategoryAssignment>>;
    /**
     *
     *
     * @param catalogID ID of the catalog.
     * @param options.categoryID ID of the category.
     * @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(catalogID: string, options?: {
        categoryID?: string;
        productID?: string;
        page?: number;
        pageSize?: number;
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<ListCategoryProductAssignment>;
    ListProductAssignments(catalogID: string, options?: {
        categoryID?: string;
        productID?: string;
        page?: number;
        pageSize?: number;
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<ListCategoryProductAssignment>>;
    ListProductAssignments(catalogID: string, options?: {
        categoryID?: string;
        productID?: string;
        page?: number;
        pageSize?: number;
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<ListCategoryProductAssignment>>;
    /**
     *
     *
     * @param catalogID ID of the catalog.
     * @param categoryID ID of the category.
     * @param partialCategory
     * @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<CategoryXp = any>(catalogID: string, categoryID: string, partialCategory: Category, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<Category<CategoryXp>>;
    Patch<CategoryXp = any>(catalogID: string, categoryID: string, partialCategory: Category, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<Category>>;
    Patch<CategoryXp = any>(catalogID: string, categoryID: string, partialCategory: Category, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<Category>>;
    /**
     *
     *
     * @param catalogID ID of the catalog.
     * @param categoryID ID of the category.
     * @param category
     * @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<CategoryXp = any>(catalogID: string, categoryID: string, category: Category, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<Category<CategoryXp>>;
    Save<CategoryXp = any>(catalogID: string, categoryID: string, category: Category, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<Category>>;
    Save<CategoryXp = any>(catalogID: string, categoryID: string, category: Category, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<Category>>;
    /**
     *
     *
     * @param catalogID ID of the catalog.
     * @param categoryAssignment
     * @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(catalogID: string, categoryAssignment: CategoryAssignment, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<any>;
    SaveAssignment(catalogID: string, categoryAssignment: CategoryAssignment, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<any>>;
    SaveAssignment(catalogID: string, categoryAssignment: CategoryAssignment, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<any>>;
    /**
     *
     *
     * @param catalogID ID of the catalog.
     * @param categoryProductAssignment
     * @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(catalogID: string, categoryProductAssignment: CategoryProductAssignment, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<any>;
    SaveProductAssignment(catalogID: string, categoryProductAssignment: CategoryProductAssignment, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<any>>;
    SaveProductAssignment(catalogID: string, categoryProductAssignment: CategoryProductAssignment, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<any>>;
}
