import Healthchecks from './healthchecks'; import Optimizerequests from './optimizerequests'; const enums = { sheen: ['Matte', 'Gloss'], status: ['ok'], }; export default class PaintBatchOptimizerClient { constructor(opts) { let options = opts; if (typeof opts === 'string') { options = { host: opts }; // convert host string to options object } this.enums = enums; this.healthchecks = new Healthchecks(options); this.optimizeRequests = new Optimizerequests(options); } }