UNPKG

@planet-a/affinity-node

Version:
25 lines (24 loc) 962 B
import { BaseAPIRequestFactory } from './baseapi.js'; import { Configuration } from '../configuration.js'; import { RequestContext, ResponseContext, HttpInfo } from '../http/http.js'; import { WhoAmI } from '../models/WhoAmI.js'; /** * no description */ export declare class AuthApiRequestFactory extends BaseAPIRequestFactory { /** * Returns metadata about the current user. * Get current user */ getV2AuthWhoami(_options?: Configuration): Promise<RequestContext>; } export declare class AuthApiResponseProcessor { /** * Unwraps the actual response sent by the server from the response context and deserializes the response content * to the expected objects * * @params response Response returned by the server for a request to getV2AuthWhoami * @throws ApiException if the response code was not in [200, 299] */ getV2AuthWhoamiWithHttpInfo(response: ResponseContext): Promise<HttpInfo<WhoAmI>>; }