@veeroute/lss-routing-angular
Version:
OpenAPI client for @veeroute/lss-routing-angular
84 lines (83 loc) • 4.21 kB
TypeScript
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
import { Observable } from 'rxjs';
import { CheckResultRouting } from '../model/checkResult';
import { VersionResultRouting } from '../model/versionResult';
import { Configuration } from '../configuration';
import { SystemServiceInterface, FileRequestParams } from './systemServiceInterface';
import * as i0 from "@angular/core";
export declare class SystemService implements SystemServiceInterface {
protected httpClient: HttpClient;
protected basePath: string;
defaultHeaders: HttpHeaders;
configuration: Configuration;
encoder: HttpParameterCodec;
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
private addToHttpParams;
private addToHttpParamsRecursive;
/**
* Checking the availability
* Checking the service availability.
* @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.
*/
check(observe?: 'body', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<CheckResultRouting>;
check(observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<CheckResultRouting>>;
check(observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpEvent<CheckResultRouting>>;
/**
* Getting the documentation
* Getting the file with this service documentation.
* @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.
*/
file(requestParameters: FileRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/html' | 'text/plain' | 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<string>;
file(requestParameters: FileRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/html' | 'text/plain' | 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<string>>;
file(requestParameters: FileRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'text/html' | 'text/plain' | 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpEvent<string>>;
/**
* Getting the service version
* Getting the service version.
* @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.
*/
version(observe?: 'body', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<VersionResultRouting>;
version(observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<VersionResultRouting>>;
version(observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpEvent<VersionResultRouting>>;
static ɵfac: i0.ɵɵFactoryDeclaration<SystemService, [null, { optional: true; }, { optional: true; }]>;
static ɵprov: i0.ɵɵInjectableDeclaration<SystemService>;
}