/** * DuckyAPI * A customer facing api for WildDuck * * The version of the OpenAPI document: 1.0 * * * 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, HttpParameterCodec } from '@angular/common/http'; import { Observable } from 'rxjs'; import { UpdateUserDto } from '../model/models'; import { User } from '../model/models'; import { Configuration } from '../configuration'; export declare class ProfileService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); private addToHttpParams; private addToHttpParamsRecursive; /** * Get account info for current access token * @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. */ getMe(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; getMe(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; getMe(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Update username/password * @param updateUserDto * @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. */ updateMe(updateUserDto: UpdateUserDto, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; }): Observable; updateMe(updateUserDto: UpdateUserDto, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; }): Observable>; updateMe(updateUserDto: UpdateUserDto, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; }): Observable>; }