/**
 * 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 { ApiClient } from '../model/apiClient';
import { ApiClientAssignment } from '../model/apiClientAssignment';
import { ListApiClient } from '../model/listApiClient';
import { ListApiClientAssignment } from '../model/listApiClientAssignment';
import { Configuration } from '../configuration';
export declare class OcApiClientService {
    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 apiClientID ID of the api client.
     * @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(apiClientID: string, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<any>;
    Delete(apiClientID: string, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<any>>;
    Delete(apiClientID: string, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<any>>;
    /**
     *
     *
     * @param apiClient
     * @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<ApiClientXp = any>(apiClient: ApiClient, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<ApiClient<ApiClientXp>>;
    Create<ApiClientXp = any>(apiClient: ApiClient, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<ApiClient>>;
    Create<ApiClientXp = any>(apiClient: ApiClient, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<ApiClient>>;
    /**
     *
     *
     * @param apiClientID ID of the api client.
     * @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.
     */
    DeleteBuyerAssignment(apiClientID: string, buyerID: string, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<any>;
    DeleteBuyerAssignment(apiClientID: string, buyerID: string, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<any>>;
    DeleteBuyerAssignment(apiClientID: string, buyerID: string, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<any>>;
    /**
     *
     *
     * @param apiClientID ID of the api client.
     * @param 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.
     */
    DeleteSupplierAssignment(apiClientID: string, supplierID: string, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<any>;
    DeleteSupplierAssignment(apiClientID: string, supplierID: string, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<any>>;
    DeleteSupplierAssignment(apiClientID: string, supplierID: string, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<any>>;
    /**
     *
     *
     * @param apiClientID ID of the api client.
     * @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<ApiClientXp = any>(apiClientID: string, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<ApiClient<ApiClientXp>>;
    Get<ApiClientXp = any>(apiClientID: string, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<ApiClient>>;
    Get<ApiClientXp = any>(apiClientID: string, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<ApiClient>>;
    /**
     *
     *
     * @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<ApiClientXp = any>(options?: {
        search?: string;
        searchOn?: string;
        sortBy?: string;
        page?: number;
        pageSize?: number;
        filters?: {
            [key: string]: string | Array<string>;
        };
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<ListApiClient<ApiClientXp>>;
    List<ApiClientXp = any>(options?: {
        search?: string;
        searchOn?: string;
        sortBy?: string;
        page?: number;
        pageSize?: number;
        filters?: {
            [key: string]: string | Array<string>;
        };
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<ListApiClient>>;
    List<ApiClientXp = any>(options?: {
        search?: string;
        searchOn?: string;
        sortBy?: string;
        page?: number;
        pageSize?: number;
        filters?: {
            [key: string]: string | Array<string>;
        };
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<ListApiClient>>;
    /**
     *
     *
     * @param options.apiClientID ID of the api client.
     * @param options.buyerID ID of the buyer.
     * @param options.supplierID ID of the supplier.
     * @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?: {
        apiClientID?: string;
        buyerID?: string;
        supplierID?: string;
        page?: number;
        pageSize?: number;
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<ListApiClientAssignment>;
    ListAssignments(options?: {
        apiClientID?: string;
        buyerID?: string;
        supplierID?: string;
        page?: number;
        pageSize?: number;
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<ListApiClientAssignment>>;
    ListAssignments(options?: {
        apiClientID?: string;
        buyerID?: string;
        supplierID?: string;
        page?: number;
        pageSize?: number;
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<ListApiClientAssignment>>;
    /**
     *
     *
     * @param apiClientID ID of the api client.
     * @param partialApiClient
     * @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<ApiClientXp = any>(apiClientID: string, partialApiClient: ApiClient, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<ApiClient<ApiClientXp>>;
    Patch<ApiClientXp = any>(apiClientID: string, partialApiClient: ApiClient, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<ApiClient>>;
    Patch<ApiClientXp = any>(apiClientID: string, partialApiClient: ApiClient, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<ApiClient>>;
    /**
     *
     *
     * @param apiClientID ID of the api client.
     * @param apiClient
     * @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<ApiClientXp = any>(apiClientID: string, apiClient: ApiClient, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<ApiClient<ApiClientXp>>;
    Save<ApiClientXp = any>(apiClientID: string, apiClient: ApiClient, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<ApiClient>>;
    Save<ApiClientXp = any>(apiClientID: string, apiClient: ApiClient, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<ApiClient>>;
    /**
     *
     *
     * @param apiClientAssignment
     * @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(apiClientAssignment: ApiClientAssignment, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<any>;
    SaveAssignment(apiClientAssignment: ApiClientAssignment, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<any>>;
    SaveAssignment(apiClientAssignment: ApiClientAssignment, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<any>>;
}
