import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http'; import { Observable } from 'rxjs'; import { BulkDeleteLabelledObjectsResponse } from '../model/models'; import { Label } from '../model/models'; import { LabelAssociation } from '../model/models'; import { LabelledObject } from '../model/models'; import { ListLabelledObjectsResponse } from '../model/models'; import { ListLabelsResponse } from '../model/models'; import { Configuration } from '../configuration'; import { LabelsServiceInterface, BulkDeleteLabelledObjectsRequestParams, CreateLabelledObjectRequestParams, CreateLabelledObjectLabelRequestParams, CreateObjectLabelRequestParams, DeleteLabelledObjectRequestParams, DeleteLabelledObjectLabelRequestParams, DeleteObjectLabelRequestParams, GetLabelledObjectRequestParams, GetObjectLabelRequestParams, ListLabelledObjectsRequestParams, ListObjectLabelsRequestParams, ReplaceLabelledObjectRequestParams, ReplaceObjectLabelRequestParams } from './labels.serviceInterface'; import * as i0 from "@angular/core"; export declare class LabelsService implements LabelsServiceInterface { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); private getAuth; private addToHttpParams; private addToHttpParamsRecursive; /** * Delete many label associations * Deletes many label associations. Will also remove any labels if they are no longer referenced and they were automatically created. * @param requestParameters * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ bulkDeleteLabelledObjects(requestParameters: BulkDeleteLabelledObjectsRequestParams, observe?: 'body', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; bulkDeleteLabelledObjects(requestParameters: BulkDeleteLabelledObjectsRequestParams, observe?: 'response', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; bulkDeleteLabelledObjects(requestParameters: BulkDeleteLabelledObjectsRequestParams, observe?: 'events', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Add a labelled object * Adds a new labelled object. The association must have a unique object_id, object_type and label_name within an organsation. If it does not, then the create will return a 409 including the conflicting object. * @param requestParameters * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ createLabelledObject(requestParameters: CreateLabelledObjectRequestParams, observe?: 'body', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; createLabelledObject(requestParameters: CreateLabelledObjectRequestParams, observe?: 'response', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; createLabelledObject(requestParameters: CreateLabelledObjectRequestParams, observe?: 'events', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Add a label association * Associates a label with an object. If already associated, this will return a 409 including the conflicting object. Note that a new label will be created if one with the provided name does not yet exist. * @param requestParameters * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ createLabelledObjectLabel(requestParameters: CreateLabelledObjectLabelRequestParams, observe?: 'body', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; createLabelledObjectLabel(requestParameters: CreateLabelledObjectLabelRequestParams, observe?: 'response', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; createLabelledObjectLabel(requestParameters: CreateLabelledObjectLabelRequestParams, observe?: 'events', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Add a label * Adds a label. Labels must have unique names within an org. If the name is not unique, a 409 will be returned. * @param requestParameters * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ createObjectLabel(requestParameters: CreateObjectLabelRequestParams, observe?: 'body', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable