@careevolution/orchestrate
Version:
A TypeScript client for the Orchestrate API
18 lines (17 loc) • 815 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.OrchestrateApi = void 0;
const convert_js_1 = require("./convert.js");
const httpHandlerFactory_js_1 = require("./httpHandlerFactory.js");
const insight_js_1 = require("./insight.js");
const terminology_js_1 = require("./terminology.js");
class OrchestrateApi {
constructor(configuration = {}) {
const httpHandler = (0, httpHandlerFactory_js_1.createHttpHandler)(configuration.apiKey, undefined, configuration.timeoutMs);
this.terminology = new terminology_js_1.TerminologyApi(httpHandler);
this.convert = new convert_js_1.ConvertApi(httpHandler);
this.insight = new insight_js_1.InsightApi(httpHandler);
this.httpHandler = httpHandler;
}
}
exports.OrchestrateApi = OrchestrateApi;