import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http'; import { Observable } from 'rxjs'; import { BatchDto } from '../model/batchDto'; import { FluxCurrentJobDto } from '../model/fluxCurrentJobDto'; import { JobDto } from '../model/jobDto'; import { PageBatchDto } from '../model/pageBatchDto'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class BatchService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); private addToHttpParams; private addToHttpParamsRecursive; /** * @param batchDto * @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. */ addBatch(batchDto: BatchDto, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; addBatch(batchDto: BatchDto, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; addBatch(batchDto: BatchDto, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; /** * @param id * @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. */ deleteBatch(id: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; context?: HttpContext; }): Observable; deleteBatch(id: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; context?: HttpContext; }): Observable>; deleteBatch(id: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; context?: HttpContext; }): Observable>; /** * @param page Zero-based page index (0..N) * @param size The size of the page to be returned * @param sort Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. * @param path * @param name * @param chaineAssociations * @param id * @param environnements * @param params * @param defaultParam * @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. */ getByPredicate(page?: number, size?: number, sort?: Array, path?: string, name?: string, chaineAssociations?: string, id?: number, environnements?: string, params?: string, defaultParam?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; getByPredicate(page?: number, size?: number, sort?: Array, path?: string, name?: string, chaineAssociations?: string, id?: number, environnements?: string, params?: string, defaultParam?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; getByPredicate(page?: number, size?: number, sort?: Array, path?: string, name?: string, chaineAssociations?: string, id?: number, environnements?: string, params?: string, defaultParam?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; /** * @param id * @param env * @param param * @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. */ runBatch(id: number, env: number, param?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; runBatch(id: number, env: number, param?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; runBatch(id: number, env: number, param?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; /** * @param id * @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. */ streamFlux(id: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/event-stream'; context?: HttpContext; }): Observable; streamFlux(id: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/event-stream'; context?: HttpContext; }): Observable>; streamFlux(id: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/event-stream'; context?: HttpContext; }): Observable>; /** * @param batchDto * @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. */ updateBatch(batchDto: BatchDto, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; updateBatch(batchDto: BatchDto, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; updateBatch(batchDto: BatchDto, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }