@veeroute/lss-account-angular
Version:
OpenAPI client for @veeroute/lss-account-angular
57 lines (56 loc) • 2.88 kB
TypeScript
import { HttpClient, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
import { Observable } from 'rxjs';
import { UserAccount } from '../model/user';
import { Configuration } from '../configuration';
import { BaseService } from '../api.base.service';
import { InfoServiceInterface, UpdateInfoRequestParams } from './infoServiceInterface';
import * as i0 from "@angular/core";
export declare class InfoService extends BaseService implements InfoServiceInterface {
protected httpClient: HttpClient;
constructor(httpClient: HttpClient, basePath: string | string[], configuration?: Configuration);
/**
* Account information
* Getting a account information.
* @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.
*/
readInfo(observe?: 'body', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<UserAccount>;
readInfo(observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<UserAccount>>;
readInfo(observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpEvent<UserAccount>>;
/**
* Account update
* Updating the account 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.
*/
updateInfo(requestParameters: UpdateInfoRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<UserAccount>;
updateInfo(requestParameters: UpdateInfoRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpResponse<UserAccount>>;
updateInfo(requestParameters: UpdateInfoRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
httpHeaderAccept?: 'application/json';
context?: HttpContext;
transferCache?: boolean;
}): Observable<HttpEvent<UserAccount>>;
static ɵfac: i0.ɵɵFactoryDeclaration<InfoService, [null, { optional: true; }, { optional: true; }]>;
static ɵprov: i0.ɵɵInjectableDeclaration<InfoService>;
}