import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http'; import { Observable } from 'rxjs'; import { AuthorityApplicationDTO } from '../model/authorityApplicationDTO'; import { PageUserDto } from '../model/pageUserDto'; import { RolesDTO } from '../model/rolesDTO'; import { UserAccountDto } from '../model/userAccountDto'; import { UserDto } from '../model/userDto'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class UserService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); private addToHttpParams; private addToHttpParamsRecursive; /** * @param key * @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. */ activateAccount(key: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; context?: HttpContext; }): Observable; activateAccount(key: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; context?: HttpContext; }): Observable>; activateAccount(key: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; context?: HttpContext; }): Observable>; /** * @param authorityApplicationDTO * @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. */ changeApplicationAuthority(authorityApplicationDTO: AuthorityApplicationDTO, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; changeApplicationAuthority(authorityApplicationDTO: AuthorityApplicationDTO, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; changeApplicationAuthority(authorityApplicationDTO: AuthorityApplicationDTO, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; /** * @param rolesDTO * @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. */ changeRoles(rolesDTO: RolesDTO, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; changeRoles(rolesDTO: RolesDTO, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; changeRoles(rolesDTO: RolesDTO, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; /** * @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. */ currentUser(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable; currentUser(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; currentUser(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: '*/*'; context?: HttpContext; }): Observable>; /** * @param page Zero-based page index (0..N) * @param size The size of the page to be returned * @param sort Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. * @param firstName * @param lastName * @param password * @param langKey * @param usageApplications * @param id * @param login * @param activationKey * @param email * @param authorities * @param activated * @param 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. */ getAll(page?: number, size?: number, sort?: Array, firstName?: string, lastName?: string, password?: string, langKey?: string, usageApplications?: string, id?: number, login?: string, activationKey?: string, email?: string, authorities?: string, activated?: boolean, token?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; getAll(page?: number, size?: number, sort?: Array, firstName?: string, lastName?: string, password?: string, langKey?: string, usageApplications?: string, id?: number, login?: string, activationKey?: string, email?: string, authorities?: string, activated?: boolean, token?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; getAll(page?: number, size?: number, sort?: Array, firstName?: string, lastName?: string, password?: string, langKey?: string, usageApplications?: string, id?: number, login?: string, activationKey?: string, email?: string, authorities?: string, activated?: boolean, token?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; /** * @param login * @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. */ getUser(login: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; getUser(login: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; getUser(login: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; /** * @param login * @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. */ inactivateAccount(login: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; inactivateAccount(login: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; inactivateAccount(login: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; /** * @param userAccountDto * @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. */ saveUser(userAccountDto: UserAccountDto, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; saveUser(userAccountDto: UserAccountDto, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; saveUser(userAccountDto: UserAccountDto, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; /** * @param userDto * @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. */ updateUser(userDto: UserDto, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; updateUser(userDto: UserDto, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; updateUser(userDto: UserDto, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }