UNPKG

devopness-sdk-js

Version:

Devopness API JS/TS SDK - Painless essential DevOps to everyone

18 lines (17 loc) 743 B
import { ConfigurationOptions } from './services/ApiBaseService'; import { ProjectService } from './services/ProjectService'; import { UserService } from './services/UserService'; export declare class DevopnessApiClient { projects: ProjectService; users: UserService; /** * @todo provide a global onError event? How to make it easy to clients to interact with * this SDK without being dependant themselves on AxiosResponse types? * We should be the only ones concerned about axios and moving from * Axios to another HTTP library should not affect the consumers * of this SDK */ constructor(options: ConfigurationOptions); get accessToken(): string; set accessToken(accessToken: string); }