"use strict"; function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } /** * Licensed Materials - Property of IBM * IBM Business Analytics (C) Copyright IBM Corp. 2019 * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. */ /** * @class DashboardTemplatesAPI * @hideconstructor * @classdesc Internal API class that is used to manage the dashboard templates. */ define([], function () { var DashboardTemplatesAPI = function () { function DashboardTemplatesAPI() { _classCallCheck(this, DashboardTemplatesAPI); } /** * @function DashboardTemplatesAPI#destroy * @description destroy this instance */ DashboardTemplatesAPI.prototype.destroy = function destroy() {}; /** * @function DashboardTemplatesAPI#listTemplates * @description Get a list of templates sorted by modificationDate * @returns {Promise} Resolves to the list of dashboard templates found */ DashboardTemplatesAPI.prototype.listTemplates = function listTemplates() {}; /** * @function DashboardTemplatesAPI#getTemplate * @description Get the content of a specific template * @param {string} id The id of the dashboard template who's content is to be returned * @param {boolean} includeSpec Whether or not the specficiation of the dashboard template should be included in the output * @returns {Promise} Resolves to the requested dashboard template content */ DashboardTemplatesAPI.prototype.getTemplate = function getTemplate() {}; /** * @function DashboardTemplatesAPI#getThumbnail * @description Get the thumbnail associated with a specific dashboard template * @param {string} id The id of the dashboard template who's thumbnail is to be returned * @returns {Promise} Resolves to the requested dashboard template thumbnail */ DashboardTemplatesAPI.prototype.getThumbnail = function getThumbnail() {}; return DashboardTemplatesAPI; }(); return DashboardTemplatesAPI; }); //# sourceMappingURL=DashboardTemplatesAPI.js.map