UNPKG

@herd/angular-client

Version:

Swagger generated client for @herd/angular-client

37 lines (36 loc) 1.67 kB
/** * herd * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * OpenAPI spec version: 0.219.0-SNAPSHOT * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { UserAuthorizations } from '../model/userAuthorizations'; import { Configuration } from '../configuration'; export declare class CurrentUserService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); /** * @param consumes string[] mime-types * @return true: consumes contains 'multipart/form-data', false: otherwise */ private canConsumeForm; /** * getCurrentUser * Gets all authorizations for the current user. * @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. */ currentUserGetCurrentUser(observe?: 'body', reportProgress?: boolean): Observable<UserAuthorizations>; currentUserGetCurrentUser(observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<UserAuthorizations>>; currentUserGetCurrentUser(observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<UserAuthorizations>>; }