@planet-a/affinity-node
Version:
API wrapper for the affinity.co API
25 lines (24 loc) • 1.12 kB
TypeScript
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 information about the authenticated user, their current organization, and API key permissions. Use this endpoint to verify your authentication and understand your available API access levels.
* Get current user
*/
v2AuthWhoamiGET(_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 v2AuthWhoamiGET
* @throws ApiException if the response code was not in [200, 299]
*/
v2AuthWhoamiGETWithHttpInfo(response: ResponseContext): Promise<HttpInfo<WhoAmI>>;
}