@veeroute/lss-studio-angular
Version:
OpenAPI client for @veeroute/lss-studio-angular
107 lines (106 loc) • 5.96 kB
TypeScript
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
import { Observable } from 'rxjs';
import { RoutingTransportMatrixStudio } from '../model/routingTransportMatrix';
import { Configuration } from '../configuration';
import { ExternalRoutingServiceInterface, CreateExternalroutingRequestParams, DeleteExternalroutingRequestParams, ReadExternalroutingRequestParams, UpdateExternalroutingRequestParams } from './externalRoutingServiceInterface';
import * as i0 from "@angular/core";
export declare class ExternalRoutingService implements ExternalRoutingServiceInterface {
protected httpClient: HttpClient;
protected basePath: string;
defaultHeaders: HttpHeaders;
configuration: Configuration;
encoder: HttpParameterCodec;
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
private addToHttpParams;
private addToHttpParamsRecursive;
/**
* Create externalrouting
* Create new external routing.
* @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.
*/
createExternalrouting(requestParameters: CreateExternalroutingRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<any>;
createExternalrouting(requestParameters: CreateExternalroutingRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<any>>;
createExternalrouting(requestParameters: CreateExternalroutingRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpEvent<any>>;
/**
* Deleting externalrouting
* Removing externalrouting.
* @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.
*/
deleteExternalrouting(requestParameters: DeleteExternalroutingRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<any>;
deleteExternalrouting(requestParameters: DeleteExternalroutingRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<any>>;
deleteExternalrouting(requestParameters: DeleteExternalroutingRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpEvent<any>>;
/**
* Read externalrouting
* Getting externalrouting information.
* @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.
*/
readExternalrouting(requestParameters: ReadExternalroutingRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<Set<RoutingTransportMatrixStudio>>;
readExternalrouting(requestParameters: ReadExternalroutingRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<Set<RoutingTransportMatrixStudio>>>;
readExternalrouting(requestParameters: ReadExternalroutingRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpEvent<Set<RoutingTransportMatrixStudio>>>;
/**
* Update externalrouting
* Updating the externalrouting.
* @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.
*/
updateExternalrouting(requestParameters: UpdateExternalroutingRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<any>;
updateExternalrouting(requestParameters: UpdateExternalroutingRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<any>>;
updateExternalrouting(requestParameters: UpdateExternalroutingRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpEvent<any>>;
static ɵfac: i0.ɵɵFactoryDeclaration<ExternalRoutingService, [null, { optional: true; }, { optional: true; }]>;
static ɵprov: i0.ɵɵInjectableDeclaration<ExternalRoutingService>;
}