import Generators from './generators'; import Healthchecks from './healthchecks'; import Invocations from './invocations'; const enums = { fileFlag: ['scaffolding'], }; export default class TermsteelversionapiClient { constructor(opts) { let options = opts; if (typeof opts === 'string') { options = { host: opts }; // convert host string to options object } this.enums = enums; this.generators = new Generators(options); this.healthchecks = new Healthchecks(options); this.invocations = new Invocations(options); } }