Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
},{"./Input":25,"./constants":29,"./helpers":31,"./utils":32,"axios":1}],27:[function(require,module,exports){
'use strict';
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var axios = require('axios');
var Concepts = require('./Concepts');
var _require = require('./helpers');
var isSuccess = _require.isSuccess;
var checkType = _require.checkType;
var _require2 = require('./constants');
var API = _require2.API;
var replaceVars = _require2.replaceVars;
var _require3 = require('./utils');
var wrapToken = _require3.wrapToken;
var formatImagePredict = _require3.formatImagePredict;
var MODEL_VERSIONS_PATH = API.MODEL_VERSIONS_PATH;
var MODEL_VERSION_PATH = API.MODEL_VERSION_PATH;
var MODEL_PATCH_PATH = API.MODEL_PATCH_PATH;
var PREDICT_PATH = API.PREDICT_PATH;
var VERSION_PREDICT_PATH = API.VERSION_PREDICT_PATH;
var MODEL_INPUTS_PATH = API.MODEL_INPUTS_PATH;