@hawksightco/swagger-client
Version:
OpenAPI client for Hawksight v2 Public API
66 lines (65 loc) • 2.09 kB
TypeScript
/**
* Hawksight API
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 0.0.1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
import { AxiosResponse, AxiosInstance, AxiosRequestConfig } from 'axios';
import { Configuration } from '../configuration';
import { RequestArgs, BaseAPI } from '../base';
/**
* HealthCheckApi - axios parameter creator
* @export
*/
export declare const HealthCheckApiAxiosParamCreator: (configuration?: Configuration) => {
/**
* Health check endpoint
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
healthGet: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
};
/**
* HealthCheckApi - functional programming interface
* @export
*/
export declare const HealthCheckApiFp: (configuration?: Configuration) => {
/**
* Health check endpoint
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
healthGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<string>>>;
};
/**
* HealthCheckApi - factory interface
* @export
*/
export declare const HealthCheckApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
/**
* Health check endpoint
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
healthGet(options?: AxiosRequestConfig): Promise<AxiosResponse<string>>;
};
/**
* HealthCheckApi - object-oriented interface
* @export
* @class HealthCheckApi
* @extends {BaseAPI}
*/
export declare class HealthCheckApi extends BaseAPI {
/**
* Health check endpoint
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof HealthCheckApi
*/
healthGet(options?: AxiosRequestConfig): Promise<AxiosResponse<string>>;
}