UNPKG

holly-sdk

Version:
26 lines (18 loc) 784 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.API = undefined; var _app_installations = require("./app_installations"); var _devices = require("./devices"); var _task_schedules = require("./task_schedules"); var _events = require("./events"); function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } var API = exports.API = function API(app) { _classCallCheck(this, API); this.url = process.argv[2]; this.appInstallations = new _app_installations.AppInstallationsAPI(app); this.devices = new _devices.DevicesAPI(app); this.taskSchedules = new _task_schedules.TaskSchedulesAPI(app); this.events = new _events.EventsAPI(app); };