UNPKG

@careevolution/orchestrate

Version:

A TypeScript client for the Orchestrate API

22 lines (21 loc) 776 B
import { ConvertApi } from "./convert.js"; import { IHttpHandler } from "./httpHandler.js"; import { InsightApi } from "./insight.js"; import { TerminologyApi } from "./terminology.js"; export interface Configuration { apiKey?: string; timeoutMs?: number; } export declare class OrchestrateApi { readonly terminology: TerminologyApi; readonly convert: ConvertApi; readonly insight: InsightApi; /** * Exposes the underlying IHttpHandler instance for advanced usage. This is * made available to take advantage of features not yet wrapped in * OrchestrateApi. This may change without warning. * @deprecated Not a stable API. */ readonly httpHandler: IHttpHandler; constructor(configuration?: Configuration | undefined); }