UNPKG

@careevolution/orchestrate

Version:

A TypeScript client for the Orchestrate API

13 lines (12 loc) 507 B
import { ConvertApi } from "./convert.js"; import { createHttpHandler } from "./httpHandlerFactory.js"; import { InsightApi } from "./insight.js"; import { TerminologyApi } from "./terminology.js"; export class OrchestrateApi { constructor(configuration = {}) { const httpHandler = createHttpHandler(configuration.apiKey); this.terminology = new TerminologyApi(httpHandler); this.convert = new ConvertApi(httpHandler); this.insight = new InsightApi(httpHandler); } }