SmartAnnotationsAPI.js 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. "use strict";
  2. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  3. /**
  4. * Licensed Materials - Property of IBM
  5. * IBM Business Analytics (C) Copyright IBM Corp. 2019
  6. * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. */
  8. /**
  9. * @class SmartAnnotationsAPI
  10. * @hideconstructor
  11. * @classdesc
  12. */
  13. define([], function () {
  14. var SmartAnnotationsAPI = function () {
  15. function SmartAnnotationsAPI() {
  16. _classCallCheck(this, SmartAnnotationsAPI);
  17. }
  18. /**
  19. * @function SmartAnnotationsAPI#getEnabledAnnotations
  20. * @description Execute and wait for the SA execution response to be ready
  21. * @returns {Promise} resolves when the annotation execution results are ready
  22. */
  23. SmartAnnotationsAPI.prototype.getEnabledAnnotations = function getEnabledAnnotations() {};
  24. /**
  25. * @function SmartAnnotationsAPI#getAllSuggestedAnnotations
  26. * @description Execute and wait for the SA execution response to be ready
  27. * @returns {Promise} resolves when the annotation execution results are ready
  28. */
  29. SmartAnnotationsAPI.prototype.getAllSuggestedAnnotations = function getAllSuggestedAnnotations() {};
  30. return SmartAnnotationsAPI;
  31. }();
  32. return SmartAnnotationsAPI;
  33. });
  34. //# sourceMappingURL=SmartAnnotationsAPI.js.map