scraper-api-datachaser
Version:
The scraping SaaS platform provides a RESTful API for developers to perform web scraping tasks. Users can submit scraping tasks, monitor task status, retrieve scraped data, and manage their account through the API.
803 lines (802 loc) • 16.1 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
* Scraper API
* The scraping SaaS platform provides a RESTful API for developers to perform web scraping tasks. Users can submit scraping tasks, monitor task status, retrieve scraped data, and manage their account through the API.
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*
*/
/**
* Enum class ProxyRegions.
* @enum {}
* @readonly
*/
var ProxyRegions = exports["default"] = /*#__PURE__*/function () {
function ProxyRegions() {
_classCallCheck(this, ProxyRegions);
/**
* value: "mx"
* @const
*/
_defineProperty(this, "mx", "mx");
/**
* value: "af"
* @const
*/
_defineProperty(this, "af", "af");
/**
* value: "al"
* @const
*/
_defineProperty(this, "al", "al");
/**
* value: "dz"
* @const
*/
_defineProperty(this, "dz", "dz");
/**
* value: "ad"
* @const
*/
_defineProperty(this, "ad", "ad");
/**
* value: "ao"
* @const
*/
_defineProperty(this, "ao", "ao");
/**
* value: "ar"
* @const
*/
_defineProperty(this, "ar", "ar");
/**
* value: "am"
* @const
*/
_defineProperty(this, "am", "am");
/**
* value: "aw"
* @const
*/
_defineProperty(this, "aw", "aw");
/**
* value: "au"
* @const
*/
_defineProperty(this, "au", "au");
/**
* value: "at"
* @const
*/
_defineProperty(this, "at", "at");
/**
* value: "az"
* @const
*/
_defineProperty(this, "az", "az");
/**
* value: "bs"
* @const
*/
_defineProperty(this, "bs", "bs");
/**
* value: "bh"
* @const
*/
_defineProperty(this, "bh", "bh");
/**
* value: "bd"
* @const
*/
_defineProperty(this, "bd", "bd");
/**
* value: "by"
* @const
*/
_defineProperty(this, "by", "by");
/**
* value: "be"
* @const
*/
_defineProperty(this, "be", "be");
/**
* value: "bz"
* @const
*/
_defineProperty(this, "bz", "bz");
/**
* value: "bj"
* @const
*/
_defineProperty(this, "bj", "bj");
/**
* value: "bt"
* @const
*/
_defineProperty(this, "bt", "bt");
/**
* value: "bo"
* @const
*/
_defineProperty(this, "bo", "bo");
/**
* value: "ba"
* @const
*/
_defineProperty(this, "ba", "ba");
/**
* value: "br"
* @const
*/
_defineProperty(this, "br", "br");
/**
* value: "bn"
* @const
*/
_defineProperty(this, "bn", "bn");
/**
* value: "bg"
* @const
*/
_defineProperty(this, "bg", "bg");
/**
* value: "kh"
* @const
*/
_defineProperty(this, "kh", "kh");
/**
* value: "cm"
* @const
*/
_defineProperty(this, "cm", "cm");
/**
* value: "ca"
* @const
*/
_defineProperty(this, "ca", "ca");
/**
* value: "cf"
* @const
*/
_defineProperty(this, "cf", "cf");
/**
* value: "td"
* @const
*/
_defineProperty(this, "td", "td");
/**
* value: "cl"
* @const
*/
_defineProperty(this, "cl", "cl");
/**
* value: "co"
* @const
*/
_defineProperty(this, "co", "co");
/**
* value: "cr"
* @const
*/
_defineProperty(this, "cr", "cr");
/**
* value: "ci"
* @const
*/
_defineProperty(this, "ci", "ci");
/**
* value: "hr"
* @const
*/
_defineProperty(this, "hr", "hr");
/**
* value: "cu"
* @const
*/
_defineProperty(this, "cu", "cu");
/**
* value: "cy"
* @const
*/
_defineProperty(this, "cy", "cy");
/**
* value: "cz"
* @const
*/
_defineProperty(this, "cz", "cz");
/**
* value: "dk"
* @const
*/
_defineProperty(this, "dk", "dk");
/**
* value: "dj"
* @const
*/
_defineProperty(this, "dj", "dj");
/**
* value: "dm"
* @const
*/
_defineProperty(this, "dm", "dm");
/**
* value: "do"
* @const
*/
_defineProperty(this, "do", "do");
/**
* value: "eu"
* @const
*/
_defineProperty(this, "eu", "eu");
/**
* value: "ec"
* @const
*/
_defineProperty(this, "ec", "ec");
/**
* value: "eg"
* @const
*/
_defineProperty(this, "eg", "eg");
/**
* value: "ee"
* @const
*/
_defineProperty(this, "ee", "ee");
/**
* value: "et"
* @const
*/
_defineProperty(this, "et", "et");
/**
* value: "fj"
* @const
*/
_defineProperty(this, "fj", "fj");
/**
* value: "fi"
* @const
*/
_defineProperty(this, "fi", "fi");
/**
* value: "fr"
* @const
*/
_defineProperty(this, "fr", "fr");
/**
* value: "ge"
* @const
*/
_defineProperty(this, "ge", "ge");
/**
* value: "de"
* @const
*/
_defineProperty(this, "de", "de");
/**
* value: "gh"
* @const
*/
_defineProperty(this, "gh", "gh");
/**
* value: "gr"
* @const
*/
_defineProperty(this, "gr", "gr");
/**
* value: "gt"
* @const
*/
_defineProperty(this, "gt", "gt");
/**
* value: "ht"
* @const
*/
_defineProperty(this, "ht", "ht");
/**
* value: "hn"
* @const
*/
_defineProperty(this, "hn", "hn");
/**
* value: "hk"
* @const
*/
_defineProperty(this, "hk", "hk");
/**
* value: "hu"
* @const
*/
_defineProperty(this, "hu", "hu");
/**
* value: "is"
* @const
*/
_defineProperty(this, "is", "is");
/**
* value: "in"
* @const
*/
_defineProperty(this, "in", "in");
/**
* value: "id"
* @const
*/
_defineProperty(this, "id", "id");
/**
* value: "iq"
* @const
*/
_defineProperty(this, "iq", "iq");
/**
* value: "ie"
* @const
*/
_defineProperty(this, "ie", "ie");
/**
* value: "ir"
* @const
*/
_defineProperty(this, "ir", "ir");
/**
* value: "il"
* @const
*/
_defineProperty(this, "il", "il");
/**
* value: "it"
* @const
*/
_defineProperty(this, "it", "it");
/**
* value: "jm"
* @const
*/
_defineProperty(this, "jm", "jm");
/**
* value: "jp"
* @const
*/
_defineProperty(this, "jp", "jp");
/**
* value: "jo"
* @const
*/
_defineProperty(this, "jo", "jo");
/**
* value: "kz"
* @const
*/
_defineProperty(this, "kz", "kz");
/**
* value: "ke"
* @const
*/
_defineProperty(this, "ke", "ke");
/**
* value: "kw"
* @const
*/
_defineProperty(this, "kw", "kw");
/**
* value: "la"
* @const
*/
_defineProperty(this, "la", "la");
/**
* value: "lv"
* @const
*/
_defineProperty(this, "lv", "lv");
/**
* value: "lb"
* @const
*/
_defineProperty(this, "lb", "lb");
/**
* value: "lr"
* @const
*/
_defineProperty(this, "lr", "lr");
/**
* value: "li"
* @const
*/
_defineProperty(this, "li", "li");
/**
* value: "lt"
* @const
*/
_defineProperty(this, "lt", "lt");
/**
* value: "lu"
* @const
*/
_defineProperty(this, "lu", "lu");
/**
* value: "mg"
* @const
*/
_defineProperty(this, "mg", "mg");
/**
* value: "my"
* @const
*/
_defineProperty(this, "my", "my");
/**
* value: "mv"
* @const
*/
_defineProperty(this, "mv", "mv");
/**
* value: "ml"
* @const
*/
_defineProperty(this, "ml", "ml");
/**
* value: "mt"
* @const
*/
_defineProperty(this, "mt", "mt");
/**
* value: "mr"
* @const
*/
_defineProperty(this, "mr", "mr");
/**
* value: "mu"
* @const
*/
_defineProperty(this, "mu", "mu");
/**
* value: "md"
* @const
*/
_defineProperty(this, "md", "md");
/**
* value: "mc"
* @const
*/
_defineProperty(this, "mc", "mc");
/**
* value: "mn"
* @const
*/
_defineProperty(this, "mn", "mn");
/**
* value: "me"
* @const
*/
_defineProperty(this, "me", "me");
/**
* value: "ma"
* @const
*/
_defineProperty(this, "ma", "ma");
/**
* value: "mz"
* @const
*/
_defineProperty(this, "mz", "mz");
/**
* value: "mm"
* @const
*/
_defineProperty(this, "mm", "mm");
/**
* value: "na"
* @const
*/
_defineProperty(this, "na", "na");
/**
* value: "np"
* @const
*/
_defineProperty(this, "np", "np");
/**
* value: "nl"
* @const
*/
_defineProperty(this, "nl", "nl");
/**
* value: "nz"
* @const
*/
_defineProperty(this, "nz", "nz");
/**
* value: "ng"
* @const
*/
_defineProperty(this, "ng", "ng");
/**
* value: "false"
* @const
*/
_defineProperty(this, "false", "false");
/**
* value: "om"
* @const
*/
_defineProperty(this, "om", "om");
/**
* value: "pk"
* @const
*/
_defineProperty(this, "pk", "pk");
/**
* value: "pa"
* @const
*/
_defineProperty(this, "pa", "pa");
/**
* value: "py"
* @const
*/
_defineProperty(this, "py", "py");
/**
* value: "cn"
* @const
*/
_defineProperty(this, "cn", "cn");
/**
* value: "pe"
* @const
*/
_defineProperty(this, "pe", "pe");
/**
* value: "ph"
* @const
*/
_defineProperty(this, "ph", "ph");
/**
* value: "pl"
* @const
*/
_defineProperty(this, "pl", "pl");
/**
* value: "pt"
* @const
*/
_defineProperty(this, "pt", "pt");
/**
* value: "pr"
* @const
*/
_defineProperty(this, "pr", "pr");
/**
* value: "qa"
* @const
*/
_defineProperty(this, "qa", "qa");
/**
* value: "gm"
* @const
*/
_defineProperty(this, "gm", "gm");
/**
* value: "ro"
* @const
*/
_defineProperty(this, "ro", "ro");
/**
* value: "ru"
* @const
*/
_defineProperty(this, "ru", "ru");
/**
* value: "sa"
* @const
*/
_defineProperty(this, "sa", "sa");
/**
* value: "sn"
* @const
*/
_defineProperty(this, "sn", "sn");
/**
* value: "rs"
* @const
*/
_defineProperty(this, "rs", "rs");
/**
* value: "sc"
* @const
*/
_defineProperty(this, "sc", "sc");
/**
* value: "sg"
* @const
*/
_defineProperty(this, "sg", "sg");
/**
* value: "sk"
* @const
*/
_defineProperty(this, "sk", "sk");
/**
* value: "si"
* @const
*/
_defineProperty(this, "si", "si");
/**
* value: "za"
* @const
*/
_defineProperty(this, "za", "za");
/**
* value: "kr"
* @const
*/
_defineProperty(this, "kr", "kr");
/**
* value: "ss"
* @const
*/
_defineProperty(this, "ss", "ss");
/**
* value: "es"
* @const
*/
_defineProperty(this, "es", "es");
/**
* value: "lk"
* @const
*/
_defineProperty(this, "lk", "lk");
/**
* value: "sd"
* @const
*/
_defineProperty(this, "sd", "sd");
/**
* value: "se"
* @const
*/
_defineProperty(this, "se", "se");
/**
* value: "ch"
* @const
*/
_defineProperty(this, "ch", "ch");
/**
* value: "tw"
* @const
*/
_defineProperty(this, "tw", "tw");
/**
* value: "th"
* @const
*/
_defineProperty(this, "th", "th");
/**
* value: "mk"
* @const
*/
_defineProperty(this, "mk", "mk");
/**
* value: "tg"
* @const
*/
_defineProperty(this, "tg", "tg");
/**
* value: "tt"
* @const
*/
_defineProperty(this, "tt", "tt");
/**
* value: "tn"
* @const
*/
_defineProperty(this, "tn", "tn");
/**
* value: "tm"
* @const
*/
_defineProperty(this, "tm", "tm");
/**
* value: "tr"
* @const
*/
_defineProperty(this, "tr", "tr");
/**
* value: "ug"
* @const
*/
_defineProperty(this, "ug", "ug");
/**
* value: "ua"
* @const
*/
_defineProperty(this, "ua", "ua");
/**
* value: "ae"
* @const
*/
_defineProperty(this, "ae", "ae");
/**
* value: "gb"
* @const
*/
_defineProperty(this, "gb", "gb");
/**
* value: "tz"
* @const
*/
_defineProperty(this, "tz", "tz");
/**
* value: "us"
* @const
*/
_defineProperty(this, "us", "us");
/**
* value: "uy"
* @const
*/
_defineProperty(this, "uy", "uy");
/**
* value: "uz"
* @const
*/
_defineProperty(this, "uz", "uz");
/**
* value: "ve"
* @const
*/
_defineProperty(this, "ve", "ve");
/**
* value: "vn"
* @const
*/
_defineProperty(this, "vn", "vn");
/**
* value: "vg"
* @const
*/
_defineProperty(this, "vg", "vg");
/**
* value: "ye"
* @const
*/
_defineProperty(this, "ye", "ye");
/**
* value: "zm"
* @const
*/
_defineProperty(this, "zm", "zm");
/**
* value: "zw"
* @const
*/
_defineProperty(this, "zw", "zw");
}
return _createClass(ProxyRegions, null, [{
key: "constructFromObject",
value:
/**
* Returns a <code>ProxyRegions</code> enum value from a Javascript object name.
* @param {Object} data The plain JavaScript object containing the name of the enum value.
* @return {module:model/ProxyRegions} The enum <code>ProxyRegions</code> value.
*/
function constructFromObject(object) {
return object;
}
}]);
}();