import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http'; import { Observable } from 'rxjs'; import { CompleteIdentityDto } from '../model/completeIdentityDto'; import { PagePublicIdentityDto } from '../model/pagePublicIdentityDto'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class IdentityService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); private addToHttpParams; private addToHttpParamsRecursive; /** * @param completeIdentityDto * @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. */ addIdentity(completeIdentityDto: CompleteIdentityDto, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; addIdentity(completeIdentityDto: CompleteIdentityDto, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; addIdentity(completeIdentityDto: CompleteIdentityDto, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; /** * @param identityId * @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. */ deleteIdentity(identityId: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; context?: HttpContext; }): Observable; deleteIdentity(identityId: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; context?: HttpContext; }): Observable>; deleteIdentity(identityId: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: undefined; context?: HttpContext; }): Observable>; /** * @param applicationId * @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 privatekey * @param password * @param name * @param privatekeyPath * @param passphrase * @param id * @param availableApplication * @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. */ getAllIdentities(applicationId: number, page?: number, size?: number, sort?: Array, privatekey?: string, password?: string, name?: string, privatekeyPath?: string, passphrase?: string, id?: number, availableApplication?: string, login?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; getAllIdentities(applicationId: number, page?: number, size?: number, sort?: Array, privatekey?: string, password?: string, name?: string, privatekeyPath?: string, passphrase?: string, id?: number, availableApplication?: string, login?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; getAllIdentities(applicationId: number, page?: number, size?: number, sort?: Array, privatekey?: string, password?: string, name?: string, privatekeyPath?: string, passphrase?: string, id?: number, availableApplication?: string, login?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; /** * @param id * @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. */ getOneIdentity(id: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; getOneIdentity(id: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; getOneIdentity(id: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; /** * @param completeIdentityDto * @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. */ updateIdentity(completeIdentityDto: CompleteIdentityDto, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable; updateIdentity(completeIdentityDto: CompleteIdentityDto, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; updateIdentity(completeIdentityDto: CompleteIdentityDto, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; }): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }