import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http'; import { Observable } from 'rxjs'; import { EnvironnementCreationDto } from '../model/environnementCreationDto'; import { EnvironnementDto } from '../model/environnementDto'; import { EnvironnementInfoDTO } from '../model/environnementInfoDTO'; import { PageEnvironnementDto } from '../model/pageEnvironnementDto'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class EnvironmentService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); private addToHttpParams; private addToHttpParamsRecursive; /** * @param environnementCreationDto * @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. */ addEnvironnement(environnementCreationDto: EnvironnementCreationDto, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; addEnvironnement(environnementCreationDto: EnvironnementCreationDto, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; addEnvironnement(environnementCreationDto: EnvironnementCreationDto, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; /** * @param env * @param dateTraitement * @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. */ changeDateTraitement(env: number, dateTraitement: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; changeDateTraitement(env: number, dateTraitement: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; changeDateTraitement(env: number, dateTraitement: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; /** * @param idEnv * @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. */ deleteEnvironnement(idEnv: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; context?: HttpContext; }): Observable; deleteEnvironnement(idEnv: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; context?: HttpContext; }): Observable>; deleteEnvironnement(idEnv: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; context?: HttpContext; }): Observable>; /** * @param env * @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. */ get1(env: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; get1(env: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; get1(env: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; /** * @param applicationId * @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 pluginId * @param prefix * @param homePath * @param externalId * @param dateTraitement * @param norme * @param logBatchs * @param batchs * @param application * @param identity * @param diskSpace * @param name * @param host * @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. */ getEnvironmentsFromApp(applicationId: number, page?: number, size?: number, sort?: Array, pluginId?: string, prefix?: string, homePath?: string, externalId?: string, dateTraitement?: string, norme?: string, logBatchs?: string, batchs?: string, application?: string, identity?: string, diskSpace?: number, name?: string, host?: string, id?: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; getEnvironmentsFromApp(applicationId: number, page?: number, size?: number, sort?: Array, pluginId?: string, prefix?: string, homePath?: string, externalId?: string, dateTraitement?: string, norme?: string, logBatchs?: string, batchs?: string, application?: string, identity?: string, diskSpace?: number, name?: string, host?: string, id?: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; getEnvironmentsFromApp(applicationId: number, page?: number, size?: number, sort?: Array, pluginId?: string, prefix?: string, homePath?: string, externalId?: string, dateTraitement?: string, norme?: string, logBatchs?: string, batchs?: string, application?: string, identity?: string, diskSpace?: number, name?: string, host?: string, id?: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; /** * @param env * @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. */ getInfo(env: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; getInfo(env: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; getInfo(env: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; /** * @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. */ importAll(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; importAll(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>>; importAll(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. */ importEnvApp(id: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; importEnvApp(id: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>>; importEnvApp(id: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>>; /** * @param environnementDto * @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. */ updateEnvironnement(environnementDto: EnvironnementDto, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; updateEnvironnement(environnementDto: EnvironnementDto, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; updateEnvironnement(environnementDto: EnvironnementDto, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }