diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index 1e92521..0000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: "units-test" -on: - pull_request: - push: - branches: - - main - - 'releases/*' - -jobs: - # unit tests - units: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - run: npm ci - - run: npm test - - # test action works running from the graph - test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: ./ - with: - milliseconds: 1000 diff --git a/.gitignore b/.gitignore index 7e874de..b7b678b 100644 --- a/.gitignore +++ b/.gitignore @@ -65,3 +65,4 @@ typings/ # next.js build output .next +/.github/workflows/test.yml diff --git a/CODEOWNERS b/CODEOWNERS index 992d27f..f7d84cd 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -1 +1 @@ -* @actions/actions-runtime +* @pvcy/gh-action-team diff --git a/README.md b/README.md index 7f0f2f3..06bf598 100644 --- a/README.md +++ b/README.md @@ -1,116 +1,62 @@ -# Create a JavaScript Action +# Anonymize Data with Privacy Dynamics -
+This GitHub Action allows you to anonymize sensitive data using Privacy Dynamics, an online service that uses state-of-the-art +algorithms to ensure privacy and anonymity of production data. This action will help you protect sensitive production data +in dev, test, and preview environments without disclosing customer data. -Use this template to bootstrap the creation of a JavaScript action.:rocket: +# Prerequisites -This template includes tests, linting, a validation workflow, publishing, and versioning guidance. +This action requires the following: -If you are new, there's also a simpler introduction. See the [Hello World JavaScript Action](https://github.com/actions/hello-world-javascript-action) +* An active Privacy Dynamics account. Don't have one? You can get one [here](https://signup.privacydynamics.io/). +* Source data stored in a Postgresql, accessible to the Privacy Dynamics service. +* A configured Project within your Privacy Dynamics account using your Postgresql data source as a Origin Connection. +* Machine-to-machine credentials for your account. [Contact us](mailto:support@privacydynamics.io) so we can generate those for you. -## Create an action from this template +# Usage -Click the `Use this Template` and provide the new repo details for your action - -## Code in Main - -Install the dependencies - -```bash -npm install -``` - -Run the tests :heavy_check_mark: - -```bash -$ npm test - - PASS ./index.test.js - ✓ throws invalid number (3ms) - ✓ wait 500 ms (504ms) - ✓ test runs (95ms) -... -``` - -## Change action.yml - -The action.yml defines the inputs and output for your action. - -Update the action.yml with your name, description, inputs and outputs for your action. - -See the [documentation](https://help.github.com/en/articles/metadata-syntax-for-github-actions) - -## Change the Code - -Most toolkit and CI/CD operations involve async operations so the action is run in an async function. - -```javascript -const core = require('@actions/core'); -... - -async function run() { - try { - ... - } - catch (error) { - core.setFailed(error.message); - } -} - -run() -``` - -See the [toolkit documentation](https://github.com/actions/toolkit/blob/master/README.md#packages) for the various packages. - -## Package for distribution - -GitHub Actions will run the entry point from the action.yml. Packaging assembles the code into one file that can be checked in to Git, enabling fast and reliable execution and preventing the need to check in node_modules. - -Actions are run from GitHub repos. Packaging the action will create a packaged action in the dist folder. - -Run prepare - -```bash -npm run prepare -``` - -Since the packaged index.js is run from the dist folder. - -```bash -git add dist -``` - -## Create a release branch - -Users shouldn't consume the action from master since that would be latest code and actions can break compatibility between major versions. - -Checkin to the v1 release branch - -```bash -git checkout -b v1 -git commit -a -m "v1 release" -``` - -```bash -git push origin v1 -``` - -Note: We recommend using the `--license` option for ncc, which will create a license file for all of the production node modules used in your project. - -Your action is now published! :rocket: - -See the [versioning documentation](https://github.com/actions/toolkit/blob/master/docs/action-versioning.md) - -## Usage - -You can now consume the action by referencing the v1 branch +To use this action in your GitHub repository, you need to create a workflow file (e.g. `.github/workflows/anonymize.yml`) with the +following contents: ```yaml -uses: actions/javascript-action@v1 -with: - milliseconds: 1000 -``` - -See the [actions tab](https://github.com/actions/javascript-action/actions) for runs of this action! :rocket: +name: Anonymize Data +on: + pull_request: + branches: [ main ] + +jobs: + anonymize: + runs-on: ubuntu-latest + steps: + - name: Anonymize Data + uses: pvcy/anonymize-project@v1 + with: + project-id: 4e1213f4-my-project-uuid-0242ac120002 + db-host: my_postgres_host.host.com + db-port: 5432 + db-username: postgres_username + db-password: postgres_password + client-id: ClientIDFromYourPDAccount + client-secret: ClientSecretFromYourPDAccount +``` + +# Configuration Parameters +The following configuration parameters can be used to customize the behavior of the action: + +* `project-id` (required): The ID of Privacy Dynamics Project configured to anonymize data for this instance of the GitHub Action. +* `db-host` (required, default: `localhost`): Hostname of Postgresql engine to send anonymized data to. Must be made accessible to GitHub Actions runner. +* `db-port` (required, default: `5432`): Port of Postgresql engine to send anonymized data to. +* `db-username` (required): Username of Postgresql engine to send anonymized data to. +* `db-password` (required): Password of Postgresql engine to send anonymized data to. +* `client-id` (required): M2M Client ID provided from your Privacy Dynamics account. +* `client-secret` (required): Client secret provided from your Privacy Dynamics account. +* `api-url` (optional): API Url for Privacy Dynamics. Defaults to SaaS instance. This is only required if you are running the On-Prem version of Privacy Dynamics. + + +# Contributing + +If you want to contribute to this project, feel free to submit pull requests or open issues on GitHub. + +# License + +This project is licensed under the MIT License. See the LICENSE file for details. diff --git a/action.yml b/action.yml index 60ff07b..c0a91fd 100644 --- a/action.yml +++ b/action.yml @@ -1,13 +1,38 @@ -name: 'Wait' -description: 'Wait a designated number of milliseconds' +name: 'Privacy Dynamics Github Action' +description: 'Trigger a Job Run in a pre-configured Project in your Privacy Dynamics account' inputs: - milliseconds: # id of input - description: 'number of milliseconds to wait' + project-id: + description: 'ID of PD Project configured to anonymize data for this instance of the Github Action' required: true - default: '1000' -outputs: - time: # output will be available to future steps - description: 'The current time after waiting' + db-host: + description: 'Hostname of Postgresql engine to send anonymized data to. Must be made accessible to GH Actions runner.' + required: false + default: 'localhost' + db-port: + description: 'Port of Postgresql engine to send anonymized data to.' + required: false + default: '5432' + db-username: + description: 'Username of Postgresql engine to send anonymized data to.' + required: true + db-password: + description: 'Password of Postgresql engine to send anonymized data to.' + required: true + client-id: + description: 'M2M Client ID provided from your Privacy Dynamics account' + required: true + client-secret: + description: 'Client secret provided from your Privacy Dynamics account' + required: true + api-url: + description: 'API Url for Privacy Dynamics. Defaults to SaaS instance.' + required: false + oauth-domain: + description: 'Domain in which to retrieve an access token. For testing purposes only' + required: false runs: using: 'node16' main: 'dist/index.js' +branding: + color: 'black' + icon: 'shield' diff --git a/dist/index.js b/dist/index.js index 7164b2b..904ed49 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,7 +1,7 @@ -require('./sourcemap-register.js');/******/ (() => { // webpackBootstrap +/******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ -/***/ 351: +/***/ 7351: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -27,8 +27,8 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.issue = exports.issueCommand = void 0; -const os = __importStar(__nccwpck_require__(87)); -const utils_1 = __nccwpck_require__(278); +const os = __importStar(__nccwpck_require__(2087)); +const utils_1 = __nccwpck_require__(5278); /** * Commands * @@ -100,7 +100,7 @@ function escapeProperty(s) { /***/ }), -/***/ 186: +/***/ 2186: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -135,12 +135,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getIDToken = exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.notice = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0; -const command_1 = __nccwpck_require__(351); +const command_1 = __nccwpck_require__(7351); const file_command_1 = __nccwpck_require__(717); -const utils_1 = __nccwpck_require__(278); -const os = __importStar(__nccwpck_require__(87)); -const path = __importStar(__nccwpck_require__(622)); -const oidc_utils_1 = __nccwpck_require__(41); +const utils_1 = __nccwpck_require__(5278); +const os = __importStar(__nccwpck_require__(2087)); +const path = __importStar(__nccwpck_require__(5622)); +const oidc_utils_1 = __nccwpck_require__(8041); /** * The code to exit an action */ @@ -425,17 +425,17 @@ exports.getIDToken = getIDToken; /** * Summary exports */ -var summary_1 = __nccwpck_require__(327); +var summary_1 = __nccwpck_require__(1327); Object.defineProperty(exports, "summary", ({ enumerable: true, get: function () { return summary_1.summary; } })); /** * @deprecated use core.summary */ -var summary_2 = __nccwpck_require__(327); +var summary_2 = __nccwpck_require__(1327); Object.defineProperty(exports, "markdownSummary", ({ enumerable: true, get: function () { return summary_2.markdownSummary; } })); /** * Path exports */ -var path_utils_1 = __nccwpck_require__(981); +var path_utils_1 = __nccwpck_require__(2981); Object.defineProperty(exports, "toPosixPath", ({ enumerable: true, get: function () { return path_utils_1.toPosixPath; } })); Object.defineProperty(exports, "toWin32Path", ({ enumerable: true, get: function () { return path_utils_1.toWin32Path; } })); Object.defineProperty(exports, "toPlatformPath", ({ enumerable: true, get: function () { return path_utils_1.toPlatformPath; } })); @@ -472,10 +472,10 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.prepareKeyValueMessage = exports.issueFileCommand = void 0; // We use any as a valid input type /* eslint-disable @typescript-eslint/no-explicit-any */ -const fs = __importStar(__nccwpck_require__(747)); -const os = __importStar(__nccwpck_require__(87)); -const uuid_1 = __nccwpck_require__(840); -const utils_1 = __nccwpck_require__(278); +const fs = __importStar(__nccwpck_require__(5747)); +const os = __importStar(__nccwpck_require__(2087)); +const uuid_1 = __nccwpck_require__(5840); +const utils_1 = __nccwpck_require__(5278); function issueFileCommand(command, message) { const filePath = process.env[`GITHUB_${command}`]; if (!filePath) { @@ -508,7 +508,7 @@ exports.prepareKeyValueMessage = prepareKeyValueMessage; /***/ }), -/***/ 41: +/***/ 8041: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -524,9 +524,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.OidcClient = void 0; -const http_client_1 = __nccwpck_require__(255); -const auth_1 = __nccwpck_require__(526); -const core_1 = __nccwpck_require__(186); +const http_client_1 = __nccwpck_require__(6255); +const auth_1 = __nccwpck_require__(5526); +const core_1 = __nccwpck_require__(2186); class OidcClient { static createHttpClient(allowRetry = true, maxRetry = 10) { const requestOptions = { @@ -592,7 +592,7 @@ exports.OidcClient = OidcClient; /***/ }), -/***/ 981: +/***/ 2981: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -618,7 +618,7 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = void 0; -const path = __importStar(__nccwpck_require__(622)); +const path = __importStar(__nccwpck_require__(5622)); /** * toPosixPath converts the given path to the posix form. On Windows, \\ will be * replaced with /. @@ -657,7 +657,7 @@ exports.toPlatformPath = toPlatformPath; /***/ }), -/***/ 327: +/***/ 1327: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -673,8 +673,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.summary = exports.markdownSummary = exports.SUMMARY_DOCS_URL = exports.SUMMARY_ENV_VAR = void 0; -const os_1 = __nccwpck_require__(87); -const fs_1 = __nccwpck_require__(747); +const os_1 = __nccwpck_require__(2087); +const fs_1 = __nccwpck_require__(5747); const { access, appendFile, writeFile } = fs_1.promises; exports.SUMMARY_ENV_VAR = 'GITHUB_STEP_SUMMARY'; exports.SUMMARY_DOCS_URL = 'https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary'; @@ -947,7 +947,7 @@ exports.summary = _summary; /***/ }), -/***/ 278: +/***/ 5278: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -994,7 +994,7 @@ exports.toCommandProperties = toCommandProperties; /***/ }), -/***/ 526: +/***/ 5526: /***/ (function(__unused_webpack_module, exports) { "use strict"; @@ -1082,7 +1082,7 @@ exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHand /***/ }), -/***/ 255: +/***/ 6255: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -1118,10 +1118,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.HttpClient = exports.isHttps = exports.HttpClientResponse = exports.HttpClientError = exports.getProxyUrl = exports.MediaTypes = exports.Headers = exports.HttpCodes = void 0; -const http = __importStar(__nccwpck_require__(605)); -const https = __importStar(__nccwpck_require__(211)); -const pm = __importStar(__nccwpck_require__(835)); -const tunnel = __importStar(__nccwpck_require__(294)); +const http = __importStar(__nccwpck_require__(8605)); +const https = __importStar(__nccwpck_require__(7211)); +const pm = __importStar(__nccwpck_require__(9835)); +const tunnel = __importStar(__nccwpck_require__(4294)); var HttpCodes; (function (HttpCodes) { HttpCodes[HttpCodes["OK"] = 200] = "OK"; @@ -1688,101 +1688,28941 @@ class HttpClient { }); } } -exports.HttpClient = HttpClient; -const lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {}); -//# sourceMappingURL=index.js.map +exports.HttpClient = HttpClient; +const lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {}); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 9835: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.checkBypass = exports.getProxyUrl = void 0; +function getProxyUrl(reqUrl) { + const usingSsl = reqUrl.protocol === 'https:'; + if (checkBypass(reqUrl)) { + return undefined; + } + const proxyVar = (() => { + if (usingSsl) { + return process.env['https_proxy'] || process.env['HTTPS_PROXY']; + } + else { + return process.env['http_proxy'] || process.env['HTTP_PROXY']; + } + })(); + if (proxyVar) { + return new URL(proxyVar); + } + else { + return undefined; + } +} +exports.getProxyUrl = getProxyUrl; +function checkBypass(reqUrl) { + if (!reqUrl.hostname) { + return false; + } + const noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || ''; + if (!noProxy) { + return false; + } + // Determine the request port + let reqPort; + if (reqUrl.port) { + reqPort = Number(reqUrl.port); + } + else if (reqUrl.protocol === 'http:') { + reqPort = 80; + } + else if (reqUrl.protocol === 'https:') { + reqPort = 443; + } + // Format the request hostname and hostname with port + const upperReqHosts = [reqUrl.hostname.toUpperCase()]; + if (typeof reqPort === 'number') { + upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`); + } + // Compare request host against noproxy + for (const upperNoProxyItem of noProxy + .split(',') + .map(x => x.trim().toUpperCase()) + .filter(x => x)) { + if (upperReqHosts.some(x => x === upperNoProxyItem)) { + return true; + } + } + return false; +} +exports.checkBypass = checkBypass; +//# sourceMappingURL=proxy.js.map + +/***/ }), + +/***/ 4812: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +module.exports = +{ + parallel : __nccwpck_require__(8210), + serial : __nccwpck_require__(445), + serialOrdered : __nccwpck_require__(3578) +}; + + +/***/ }), + +/***/ 1700: +/***/ ((module) => { + +// API +module.exports = abort; + +/** + * Aborts leftover active jobs + * + * @param {object} state - current state object + */ +function abort(state) +{ + Object.keys(state.jobs).forEach(clean.bind(state)); + + // reset leftover jobs + state.jobs = {}; +} + +/** + * Cleans up leftover job by invoking abort function for the provided job id + * + * @this state + * @param {string|number} key - job id to abort + */ +function clean(key) +{ + if (typeof this.jobs[key] == 'function') + { + this.jobs[key](); + } +} + + +/***/ }), + +/***/ 2794: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var defer = __nccwpck_require__(5295); + +// API +module.exports = async; + +/** + * Runs provided callback asynchronously + * even if callback itself is not + * + * @param {function} callback - callback to invoke + * @returns {function} - augmented callback + */ +function async(callback) +{ + var isAsync = false; + + // check if async happened + defer(function() { isAsync = true; }); + + return function async_callback(err, result) + { + if (isAsync) + { + callback(err, result); + } + else + { + defer(function nextTick_callback() + { + callback(err, result); + }); + } + }; +} + + +/***/ }), + +/***/ 5295: +/***/ ((module) => { + +module.exports = defer; + +/** + * Runs provided function on next iteration of the event loop + * + * @param {function} fn - function to run + */ +function defer(fn) +{ + var nextTick = typeof setImmediate == 'function' + ? setImmediate + : ( + typeof process == 'object' && typeof process.nextTick == 'function' + ? process.nextTick + : null + ); + + if (nextTick) + { + nextTick(fn); + } + else + { + setTimeout(fn, 0); + } +} + + +/***/ }), + +/***/ 9023: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var async = __nccwpck_require__(2794) + , abort = __nccwpck_require__(1700) + ; + +// API +module.exports = iterate; + +/** + * Iterates over each job object + * + * @param {array|object} list - array or object (named list) to iterate over + * @param {function} iterator - iterator to run + * @param {object} state - current job status + * @param {function} callback - invoked when all elements processed + */ +function iterate(list, iterator, state, callback) +{ + // store current index + var key = state['keyedList'] ? state['keyedList'][state.index] : state.index; + + state.jobs[key] = runJob(iterator, key, list[key], function(error, output) + { + // don't repeat yourself + // skip secondary callbacks + if (!(key in state.jobs)) + { + return; + } + + // clean up jobs + delete state.jobs[key]; + + if (error) + { + // don't process rest of the results + // stop still active jobs + // and reset the list + abort(state); + } + else + { + state.results[key] = output; + } + + // return salvaged results + callback(error, state.results); + }); +} + +/** + * Runs iterator over provided job element + * + * @param {function} iterator - iterator to invoke + * @param {string|number} key - key/index of the element in the list of jobs + * @param {mixed} item - job description + * @param {function} callback - invoked after iterator is done with the job + * @returns {function|mixed} - job abort function or something else + */ +function runJob(iterator, key, item, callback) +{ + var aborter; + + // allow shortcut if iterator expects only two arguments + if (iterator.length == 2) + { + aborter = iterator(item, async(callback)); + } + // otherwise go with full three arguments + else + { + aborter = iterator(item, key, async(callback)); + } + + return aborter; +} + + +/***/ }), + +/***/ 2474: +/***/ ((module) => { + +// API +module.exports = state; + +/** + * Creates initial state object + * for iteration over list + * + * @param {array|object} list - list to iterate over + * @param {function|null} sortMethod - function to use for keys sort, + * or `null` to keep them as is + * @returns {object} - initial state object + */ +function state(list, sortMethod) +{ + var isNamedList = !Array.isArray(list) + , initState = + { + index : 0, + keyedList: isNamedList || sortMethod ? Object.keys(list) : null, + jobs : {}, + results : isNamedList ? {} : [], + size : isNamedList ? Object.keys(list).length : list.length + } + ; + + if (sortMethod) + { + // sort array keys based on it's values + // sort object's keys just on own merit + initState.keyedList.sort(isNamedList ? sortMethod : function(a, b) + { + return sortMethod(list[a], list[b]); + }); + } + + return initState; +} + + +/***/ }), + +/***/ 7942: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var abort = __nccwpck_require__(1700) + , async = __nccwpck_require__(2794) + ; + +// API +module.exports = terminator; + +/** + * Terminates jobs in the attached state context + * + * @this AsyncKitState# + * @param {function} callback - final callback to invoke after termination + */ +function terminator(callback) +{ + if (!Object.keys(this.jobs).length) + { + return; + } + + // fast forward iteration index + this.index = this.size; + + // abort jobs + abort(this); + + // send back results we have so far + async(callback)(null, this.results); +} + + +/***/ }), + +/***/ 8210: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var iterate = __nccwpck_require__(9023) + , initState = __nccwpck_require__(2474) + , terminator = __nccwpck_require__(7942) + ; + +// Public API +module.exports = parallel; + +/** + * Runs iterator over provided array elements in parallel + * + * @param {array|object} list - array or object (named list) to iterate over + * @param {function} iterator - iterator to run + * @param {function} callback - invoked when all elements processed + * @returns {function} - jobs terminator + */ +function parallel(list, iterator, callback) +{ + var state = initState(list); + + while (state.index < (state['keyedList'] || list).length) + { + iterate(list, iterator, state, function(error, result) + { + if (error) + { + callback(error, result); + return; + } + + // looks like it's the last one + if (Object.keys(state.jobs).length === 0) + { + callback(null, state.results); + return; + } + }); + + state.index++; + } + + return terminator.bind(state, callback); +} + + +/***/ }), + +/***/ 445: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var serialOrdered = __nccwpck_require__(3578); + +// Public API +module.exports = serial; + +/** + * Runs iterator over provided array elements in series + * + * @param {array|object} list - array or object (named list) to iterate over + * @param {function} iterator - iterator to run + * @param {function} callback - invoked when all elements processed + * @returns {function} - jobs terminator + */ +function serial(list, iterator, callback) +{ + return serialOrdered(list, iterator, null, callback); +} + + +/***/ }), + +/***/ 3578: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var iterate = __nccwpck_require__(9023) + , initState = __nccwpck_require__(2474) + , terminator = __nccwpck_require__(7942) + ; + +// Public API +module.exports = serialOrdered; +// sorting helpers +module.exports.ascending = ascending; +module.exports.descending = descending; + +/** + * Runs iterator over provided sorted array elements in series + * + * @param {array|object} list - array or object (named list) to iterate over + * @param {function} iterator - iterator to run + * @param {function} sortMethod - custom sort function + * @param {function} callback - invoked when all elements processed + * @returns {function} - jobs terminator + */ +function serialOrdered(list, iterator, sortMethod, callback) +{ + var state = initState(list, sortMethod); + + iterate(list, iterator, state, function iteratorHandler(error, result) + { + if (error) + { + callback(error, result); + return; + } + + state.index++; + + // are we there yet? + if (state.index < (state['keyedList'] || list).length) + { + iterate(list, iterator, state, iteratorHandler); + return; + } + + // done here + callback(null, state.results); + }); + + return terminator.bind(state, callback); +} + +/* + * -- Sort methods + */ + +/** + * sort helper to sort array elements in ascending order + * + * @param {mixed} a - an item to compare + * @param {mixed} b - an item to compare + * @returns {number} - comparison result + */ +function ascending(a, b) +{ + return a < b ? -1 : a > b ? 1 : 0; +} + +/** + * sort helper to sort array elements in descending order + * + * @param {mixed} a - an item to compare + * @param {mixed} b - an item to compare + * @returns {number} - comparison result + */ +function descending(a, b) +{ + return -1 * ascending(a, b); +} + + +/***/ }), + +/***/ 8803: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var GetIntrinsic = __nccwpck_require__(4538); + +var callBind = __nccwpck_require__(2977); + +var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf')); + +module.exports = function callBoundIntrinsic(name, allowMissing) { + var intrinsic = GetIntrinsic(name, !!allowMissing); + if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) { + return callBind(intrinsic); + } + return intrinsic; +}; + + +/***/ }), + +/***/ 2977: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var bind = __nccwpck_require__(8334); +var GetIntrinsic = __nccwpck_require__(4538); + +var $apply = GetIntrinsic('%Function.prototype.apply%'); +var $call = GetIntrinsic('%Function.prototype.call%'); +var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply); + +var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true); +var $defineProperty = GetIntrinsic('%Object.defineProperty%', true); +var $max = GetIntrinsic('%Math.max%'); + +if ($defineProperty) { + try { + $defineProperty({}, 'a', { value: 1 }); + } catch (e) { + // IE 8 has a broken defineProperty + $defineProperty = null; + } +} + +module.exports = function callBind(originalFunction) { + var func = $reflectApply(bind, $call, arguments); + if ($gOPD && $defineProperty) { + var desc = $gOPD(func, 'length'); + if (desc.configurable) { + // original length, plus the receiver, minus any additional arguments (after the receiver) + $defineProperty( + func, + 'length', + { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) } + ); + } + } + return func; +}; + +var applyBind = function applyBind() { + return $reflectApply(bind, $apply, arguments); +}; + +if ($defineProperty) { + $defineProperty(module.exports, 'apply', { value: applyBind }); +} else { + module.exports.apply = applyBind; +} + + +/***/ }), + +/***/ 5443: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var util = __nccwpck_require__(1669); +var Stream = __nccwpck_require__(2413).Stream; +var DelayedStream = __nccwpck_require__(8611); + +module.exports = CombinedStream; +function CombinedStream() { + this.writable = false; + this.readable = true; + this.dataSize = 0; + this.maxDataSize = 2 * 1024 * 1024; + this.pauseStreams = true; + + this._released = false; + this._streams = []; + this._currentStream = null; + this._insideLoop = false; + this._pendingNext = false; +} +util.inherits(CombinedStream, Stream); + +CombinedStream.create = function(options) { + var combinedStream = new this(); + + options = options || {}; + for (var option in options) { + combinedStream[option] = options[option]; + } + + return combinedStream; +}; + +CombinedStream.isStreamLike = function(stream) { + return (typeof stream !== 'function') + && (typeof stream !== 'string') + && (typeof stream !== 'boolean') + && (typeof stream !== 'number') + && (!Buffer.isBuffer(stream)); +}; + +CombinedStream.prototype.append = function(stream) { + var isStreamLike = CombinedStream.isStreamLike(stream); + + if (isStreamLike) { + if (!(stream instanceof DelayedStream)) { + var newStream = DelayedStream.create(stream, { + maxDataSize: Infinity, + pauseStream: this.pauseStreams, + }); + stream.on('data', this._checkDataSize.bind(this)); + stream = newStream; + } + + this._handleErrors(stream); + + if (this.pauseStreams) { + stream.pause(); + } + } + + this._streams.push(stream); + return this; +}; + +CombinedStream.prototype.pipe = function(dest, options) { + Stream.prototype.pipe.call(this, dest, options); + this.resume(); + return dest; +}; + +CombinedStream.prototype._getNext = function() { + this._currentStream = null; + + if (this._insideLoop) { + this._pendingNext = true; + return; // defer call + } + + this._insideLoop = true; + try { + do { + this._pendingNext = false; + this._realGetNext(); + } while (this._pendingNext); + } finally { + this._insideLoop = false; + } +}; + +CombinedStream.prototype._realGetNext = function() { + var stream = this._streams.shift(); + + + if (typeof stream == 'undefined') { + this.end(); + return; + } + + if (typeof stream !== 'function') { + this._pipeNext(stream); + return; + } + + var getStream = stream; + getStream(function(stream) { + var isStreamLike = CombinedStream.isStreamLike(stream); + if (isStreamLike) { + stream.on('data', this._checkDataSize.bind(this)); + this._handleErrors(stream); + } + + this._pipeNext(stream); + }.bind(this)); +}; + +CombinedStream.prototype._pipeNext = function(stream) { + this._currentStream = stream; + + var isStreamLike = CombinedStream.isStreamLike(stream); + if (isStreamLike) { + stream.on('end', this._getNext.bind(this)); + stream.pipe(this, {end: false}); + return; + } + + var value = stream; + this.write(value); + this._getNext(); +}; + +CombinedStream.prototype._handleErrors = function(stream) { + var self = this; + stream.on('error', function(err) { + self._emitError(err); + }); +}; + +CombinedStream.prototype.write = function(data) { + this.emit('data', data); +}; + +CombinedStream.prototype.pause = function() { + if (!this.pauseStreams) { + return; + } + + if(this.pauseStreams && this._currentStream && typeof(this._currentStream.pause) == 'function') this._currentStream.pause(); + this.emit('pause'); +}; + +CombinedStream.prototype.resume = function() { + if (!this._released) { + this._released = true; + this.writable = true; + this._getNext(); + } + + if(this.pauseStreams && this._currentStream && typeof(this._currentStream.resume) == 'function') this._currentStream.resume(); + this.emit('resume'); +}; + +CombinedStream.prototype.end = function() { + this._reset(); + this.emit('end'); +}; + +CombinedStream.prototype.destroy = function() { + this._reset(); + this.emit('close'); +}; + +CombinedStream.prototype._reset = function() { + this.writable = false; + this._streams = []; + this._currentStream = null; +}; + +CombinedStream.prototype._checkDataSize = function() { + this._updateDataSize(); + if (this.dataSize <= this.maxDataSize) { + return; + } + + var message = + 'DelayedStream#maxDataSize of ' + this.maxDataSize + ' bytes exceeded.'; + this._emitError(new Error(message)); +}; + +CombinedStream.prototype._updateDataSize = function() { + this.dataSize = 0; + + var self = this; + this._streams.forEach(function(stream) { + if (!stream.dataSize) { + return; + } + + self.dataSize += stream.dataSize; + }); + + if (this._currentStream && this._currentStream.dataSize) { + this.dataSize += this._currentStream.dataSize; + } +}; + +CombinedStream.prototype._emitError = function(err) { + this._reset(); + this.emit('error', err); +}; + + +/***/ }), + +/***/ 5507: +/***/ ((__unused_webpack_module, exports) => { + +/* jshint node: true */ +(function () { + "use strict"; + + function CookieAccessInfo(domain, path, secure, script) { + if (this instanceof CookieAccessInfo) { + this.domain = domain || undefined; + this.path = path || "/"; + this.secure = !!secure; + this.script = !!script; + return this; + } + return new CookieAccessInfo(domain, path, secure, script); + } + CookieAccessInfo.All = Object.freeze(Object.create(null)); + exports.CookieAccessInfo = CookieAccessInfo; + + function Cookie(cookiestr, request_domain, request_path) { + if (cookiestr instanceof Cookie) { + return cookiestr; + } + if (this instanceof Cookie) { + this.name = null; + this.value = null; + this.expiration_date = Infinity; + this.path = String(request_path || "/"); + this.explicit_path = false; + this.domain = request_domain || null; + this.explicit_domain = false; + this.secure = false; //how to define default? + this.noscript = false; //httponly + if (cookiestr) { + this.parse(cookiestr, request_domain, request_path); + } + return this; + } + return new Cookie(cookiestr, request_domain, request_path); + } + exports.Cookie = Cookie; + + Cookie.prototype.toString = function toString() { + var str = [this.name + "=" + this.value]; + if (this.expiration_date !== Infinity) { + str.push("expires=" + (new Date(this.expiration_date)).toGMTString()); + } + if (this.domain) { + str.push("domain=" + this.domain); + } + if (this.path) { + str.push("path=" + this.path); + } + if (this.secure) { + str.push("secure"); + } + if (this.noscript) { + str.push("httponly"); + } + return str.join("; "); + }; + + Cookie.prototype.toValueString = function toValueString() { + return this.name + "=" + this.value; + }; + + var cookie_str_splitter = /[:](?=\s*[a-zA-Z0-9_\-]+\s*[=])/g; + Cookie.prototype.parse = function parse(str, request_domain, request_path) { + if (this instanceof Cookie) { + if ( str.length > 32768 ) { + console.warn("Cookie too long for parsing (>32768 characters)"); + return; + } + + var parts = str.split(";").filter(function (value) { + return !!value; + }); + var i; + + var pair = parts[0].match(/([^=]+)=([\s\S]*)/); + if (!pair) { + console.warn("Invalid cookie header encountered. Header: '"+str+"'"); + return; + } + + var key = pair[1]; + var value = pair[2]; + if ( typeof key !== 'string' || key.length === 0 || typeof value !== 'string' ) { + console.warn("Unable to extract values from cookie header. Cookie: '"+str+"'"); + return; + } + + this.name = key; + this.value = value; + + for (i = 1; i < parts.length; i += 1) { + pair = parts[i].match(/([^=]+)(?:=([\s\S]*))?/); + key = pair[1].trim().toLowerCase(); + value = pair[2]; + switch (key) { + case "httponly": + this.noscript = true; + break; + case "expires": + this.expiration_date = value ? + Number(Date.parse(value)) : + Infinity; + break; + case "path": + this.path = value ? + value.trim() : + ""; + this.explicit_path = true; + break; + case "domain": + this.domain = value ? + value.trim() : + ""; + this.explicit_domain = !!this.domain; + break; + case "secure": + this.secure = true; + break; + } + } + + if (!this.explicit_path) { + this.path = request_path || "/"; + } + if (!this.explicit_domain) { + this.domain = request_domain; + } + + return this; + } + return new Cookie().parse(str, request_domain, request_path); + }; + + Cookie.prototype.matches = function matches(access_info) { + if (access_info === CookieAccessInfo.All) { + return true; + } + if (this.noscript && access_info.script || + this.secure && !access_info.secure || + !this.collidesWith(access_info)) { + return false; + } + return true; + }; + + Cookie.prototype.collidesWith = function collidesWith(access_info) { + if ((this.path && !access_info.path) || (this.domain && !access_info.domain)) { + return false; + } + if (this.path && access_info.path.indexOf(this.path) !== 0) { + return false; + } + if (this.explicit_path && access_info.path.indexOf( this.path ) !== 0) { + return false; + } + var access_domain = access_info.domain && access_info.domain.replace(/^[\.]/,''); + var cookie_domain = this.domain && this.domain.replace(/^[\.]/,''); + if (cookie_domain === access_domain) { + return true; + } + if (cookie_domain) { + if (!this.explicit_domain) { + return false; // we already checked if the domains were exactly the same + } + var wildcard = access_domain.indexOf(cookie_domain); + if (wildcard === -1 || wildcard !== access_domain.length - cookie_domain.length) { + return false; + } + return true; + } + return true; + }; + + function CookieJar() { + var cookies, cookies_list, collidable_cookie; + if (this instanceof CookieJar) { + cookies = Object.create(null); //name: [Cookie] + + this.setCookie = function setCookie(cookie, request_domain, request_path) { + var remove, i; + cookie = new Cookie(cookie, request_domain, request_path); + //Delete the cookie if the set is past the current time + remove = cookie.expiration_date <= Date.now(); + if (cookies[cookie.name] !== undefined) { + cookies_list = cookies[cookie.name]; + for (i = 0; i < cookies_list.length; i += 1) { + collidable_cookie = cookies_list[i]; + if (collidable_cookie.collidesWith(cookie)) { + if (remove) { + cookies_list.splice(i, 1); + if (cookies_list.length === 0) { + delete cookies[cookie.name]; + } + return false; + } + cookies_list[i] = cookie; + return cookie; + } + } + if (remove) { + return false; + } + cookies_list.push(cookie); + return cookie; + } + if (remove) { + return false; + } + cookies[cookie.name] = [cookie]; + return cookies[cookie.name]; + }; + //returns a cookie + this.getCookie = function getCookie(cookie_name, access_info) { + var cookie, i; + cookies_list = cookies[cookie_name]; + if (!cookies_list) { + return; + } + for (i = 0; i < cookies_list.length; i += 1) { + cookie = cookies_list[i]; + if (cookie.expiration_date <= Date.now()) { + if (cookies_list.length === 0) { + delete cookies[cookie.name]; + } + continue; + } + + if (cookie.matches(access_info)) { + return cookie; + } + } + }; + //returns a list of cookies + this.getCookies = function getCookies(access_info) { + var matches = [], cookie_name, cookie; + for (cookie_name in cookies) { + cookie = this.getCookie(cookie_name, access_info); + if (cookie) { + matches.push(cookie); + } + } + matches.toString = function toString() { + return matches.join(":"); + }; + matches.toValueString = function toValueString() { + return matches.map(function (c) { + return c.toValueString(); + }).join('; '); + }; + return matches; + }; + + return this; + } + return new CookieJar(); + } + exports.CookieJar = CookieJar; + + //returns list of cookies that were set correctly. Cookies that are expired and removed are not returned. + CookieJar.prototype.setCookies = function setCookies(cookies, request_domain, request_path) { + cookies = Array.isArray(cookies) ? + cookies : + cookies.split(cookie_str_splitter); + var successful = [], + i, + cookie; + cookies = cookies.map(function(item){ + return new Cookie(item, request_domain, request_path); + }); + for (i = 0; i < cookies.length; i += 1) { + cookie = cookies[i]; + if (this.setCookie(cookie, request_domain, request_path)) { + successful.push(cookie); + } + } + return successful; + }; +}()); + + +/***/ }), + +/***/ 8222: +/***/ ((module, exports, __nccwpck_require__) => { + +/* eslint-env browser */ + +/** + * This is the web browser implementation of `debug()`. + */ + +exports.formatArgs = formatArgs; +exports.save = save; +exports.load = load; +exports.useColors = useColors; +exports.storage = localstorage(); +exports.destroy = (() => { + let warned = false; + + return () => { + if (!warned) { + warned = true; + console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'); + } + }; +})(); + +/** + * Colors. + */ + +exports.colors = [ + '#0000CC', + '#0000FF', + '#0033CC', + '#0033FF', + '#0066CC', + '#0066FF', + '#0099CC', + '#0099FF', + '#00CC00', + '#00CC33', + '#00CC66', + '#00CC99', + '#00CCCC', + '#00CCFF', + '#3300CC', + '#3300FF', + '#3333CC', + '#3333FF', + '#3366CC', + '#3366FF', + '#3399CC', + '#3399FF', + '#33CC00', + '#33CC33', + '#33CC66', + '#33CC99', + '#33CCCC', + '#33CCFF', + '#6600CC', + '#6600FF', + '#6633CC', + '#6633FF', + '#66CC00', + '#66CC33', + '#9900CC', + '#9900FF', + '#9933CC', + '#9933FF', + '#99CC00', + '#99CC33', + '#CC0000', + '#CC0033', + '#CC0066', + '#CC0099', + '#CC00CC', + '#CC00FF', + '#CC3300', + '#CC3333', + '#CC3366', + '#CC3399', + '#CC33CC', + '#CC33FF', + '#CC6600', + '#CC6633', + '#CC9900', + '#CC9933', + '#CCCC00', + '#CCCC33', + '#FF0000', + '#FF0033', + '#FF0066', + '#FF0099', + '#FF00CC', + '#FF00FF', + '#FF3300', + '#FF3333', + '#FF3366', + '#FF3399', + '#FF33CC', + '#FF33FF', + '#FF6600', + '#FF6633', + '#FF9900', + '#FF9933', + '#FFCC00', + '#FFCC33' +]; + +/** + * Currently only WebKit-based Web Inspectors, Firefox >= v31, + * and the Firebug extension (any Firefox version) are known + * to support "%c" CSS customizations. + * + * TODO: add a `localStorage` variable to explicitly enable/disable colors + */ + +// eslint-disable-next-line complexity +function useColors() { + // NB: In an Electron preload script, document will be defined but not fully + // initialized. Since we know we're in Chrome, we'll just detect this case + // explicitly + if (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) { + return true; + } + + // Internet Explorer and Edge do not support colors. + if (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)) { + return false; + } + + // Is webkit? http://stackoverflow.com/a/16459606/376773 + // document is undefined in react-native: https://github.com/facebook/react-native/pull/1632 + return (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) || + // Is firebug? http://stackoverflow.com/a/398120/376773 + (typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) || + // Is firefox >= v31? + // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages + (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1, 10) >= 31) || + // Double check webkit in userAgent just in case we are in a worker + (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)); +} + +/** + * Colorize log arguments if enabled. + * + * @api public + */ + +function formatArgs(args) { + args[0] = (this.useColors ? '%c' : '') + + this.namespace + + (this.useColors ? ' %c' : ' ') + + args[0] + + (this.useColors ? '%c ' : ' ') + + '+' + module.exports.humanize(this.diff); + + if (!this.useColors) { + return; + } + + const c = 'color: ' + this.color; + args.splice(1, 0, c, 'color: inherit'); + + // The final "%c" is somewhat tricky, because there could be other + // arguments passed either before or after the %c, so we need to + // figure out the correct index to insert the CSS into + let index = 0; + let lastC = 0; + args[0].replace(/%[a-zA-Z%]/g, match => { + if (match === '%%') { + return; + } + index++; + if (match === '%c') { + // We only are interested in the *last* %c + // (the user may have provided their own) + lastC = index; + } + }); + + args.splice(lastC, 0, c); +} + +/** + * Invokes `console.debug()` when available. + * No-op when `console.debug` is not a "function". + * If `console.debug` is not available, falls back + * to `console.log`. + * + * @api public + */ +exports.log = console.debug || console.log || (() => {}); + +/** + * Save `namespaces`. + * + * @param {String} namespaces + * @api private + */ +function save(namespaces) { + try { + if (namespaces) { + exports.storage.setItem('debug', namespaces); + } else { + exports.storage.removeItem('debug'); + } + } catch (error) { + // Swallow + // XXX (@Qix-) should we be logging these? + } +} + +/** + * Load `namespaces`. + * + * @return {String} returns the previously persisted debug modes + * @api private + */ +function load() { + let r; + try { + r = exports.storage.getItem('debug'); + } catch (error) { + // Swallow + // XXX (@Qix-) should we be logging these? + } + + // If debug isn't set in LS, and we're in Electron, try to load $DEBUG + if (!r && typeof process !== 'undefined' && 'env' in process) { + r = process.env.DEBUG; + } + + return r; +} + +/** + * Localstorage attempts to return the localstorage. + * + * This is necessary because safari throws + * when a user disables cookies/localstorage + * and you attempt to access it. + * + * @return {LocalStorage} + * @api private + */ + +function localstorage() { + try { + // TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context + // The Browser also has localStorage in the global context. + return localStorage; + } catch (error) { + // Swallow + // XXX (@Qix-) should we be logging these? + } +} + +module.exports = __nccwpck_require__(6243)(exports); + +const {formatters} = module.exports; + +/** + * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default. + */ + +formatters.j = function (v) { + try { + return JSON.stringify(v); + } catch (error) { + return '[UnexpectedJSONParseError]: ' + error.message; + } +}; + + +/***/ }), + +/***/ 6243: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + + +/** + * This is the common logic for both the Node.js and web browser + * implementations of `debug()`. + */ + +function setup(env) { + createDebug.debug = createDebug; + createDebug.default = createDebug; + createDebug.coerce = coerce; + createDebug.disable = disable; + createDebug.enable = enable; + createDebug.enabled = enabled; + createDebug.humanize = __nccwpck_require__(900); + createDebug.destroy = destroy; + + Object.keys(env).forEach(key => { + createDebug[key] = env[key]; + }); + + /** + * The currently active debug mode names, and names to skip. + */ + + createDebug.names = []; + createDebug.skips = []; + + /** + * Map of special "%n" handling functions, for the debug "format" argument. + * + * Valid key names are a single, lower or upper-case letter, i.e. "n" and "N". + */ + createDebug.formatters = {}; + + /** + * Selects a color for a debug namespace + * @param {String} namespace The namespace string for the debug instance to be colored + * @return {Number|String} An ANSI color code for the given namespace + * @api private + */ + function selectColor(namespace) { + let hash = 0; + + for (let i = 0; i < namespace.length; i++) { + hash = ((hash << 5) - hash) + namespace.charCodeAt(i); + hash |= 0; // Convert to 32bit integer + } + + return createDebug.colors[Math.abs(hash) % createDebug.colors.length]; + } + createDebug.selectColor = selectColor; + + /** + * Create a debugger with the given `namespace`. + * + * @param {String} namespace + * @return {Function} + * @api public + */ + function createDebug(namespace) { + let prevTime; + let enableOverride = null; + let namespacesCache; + let enabledCache; + + function debug(...args) { + // Disabled? + if (!debug.enabled) { + return; + } + + const self = debug; + + // Set `diff` timestamp + const curr = Number(new Date()); + const ms = curr - (prevTime || curr); + self.diff = ms; + self.prev = prevTime; + self.curr = curr; + prevTime = curr; + + args[0] = createDebug.coerce(args[0]); + + if (typeof args[0] !== 'string') { + // Anything else let's inspect with %O + args.unshift('%O'); + } + + // Apply any `formatters` transformations + let index = 0; + args[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => { + // If we encounter an escaped % then don't increase the array index + if (match === '%%') { + return '%'; + } + index++; + const formatter = createDebug.formatters[format]; + if (typeof formatter === 'function') { + const val = args[index]; + match = formatter.call(self, val); + + // Now we need to remove `args[index]` since it's inlined in the `format` + args.splice(index, 1); + index--; + } + return match; + }); + + // Apply env-specific formatting (colors, etc.) + createDebug.formatArgs.call(self, args); + + const logFn = self.log || createDebug.log; + logFn.apply(self, args); + } + + debug.namespace = namespace; + debug.useColors = createDebug.useColors(); + debug.color = createDebug.selectColor(namespace); + debug.extend = extend; + debug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release. + + Object.defineProperty(debug, 'enabled', { + enumerable: true, + configurable: false, + get: () => { + if (enableOverride !== null) { + return enableOverride; + } + if (namespacesCache !== createDebug.namespaces) { + namespacesCache = createDebug.namespaces; + enabledCache = createDebug.enabled(namespace); + } + + return enabledCache; + }, + set: v => { + enableOverride = v; + } + }); + + // Env-specific initialization logic for debug instances + if (typeof createDebug.init === 'function') { + createDebug.init(debug); + } + + return debug; + } + + function extend(namespace, delimiter) { + const newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace); + newDebug.log = this.log; + return newDebug; + } + + /** + * Enables a debug mode by namespaces. This can include modes + * separated by a colon and wildcards. + * + * @param {String} namespaces + * @api public + */ + function enable(namespaces) { + createDebug.save(namespaces); + createDebug.namespaces = namespaces; + + createDebug.names = []; + createDebug.skips = []; + + let i; + const split = (typeof namespaces === 'string' ? namespaces : '').split(/[\s,]+/); + const len = split.length; + + for (i = 0; i < len; i++) { + if (!split[i]) { + // ignore empty strings + continue; + } + + namespaces = split[i].replace(/\*/g, '.*?'); + + if (namespaces[0] === '-') { + createDebug.skips.push(new RegExp('^' + namespaces.slice(1) + '$')); + } else { + createDebug.names.push(new RegExp('^' + namespaces + '$')); + } + } + } + + /** + * Disable debug output. + * + * @return {String} namespaces + * @api public + */ + function disable() { + const namespaces = [ + ...createDebug.names.map(toNamespace), + ...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace) + ].join(','); + createDebug.enable(''); + return namespaces; + } + + /** + * Returns true if the given mode name is enabled, false otherwise. + * + * @param {String} name + * @return {Boolean} + * @api public + */ + function enabled(name) { + if (name[name.length - 1] === '*') { + return true; + } + + let i; + let len; + + for (i = 0, len = createDebug.skips.length; i < len; i++) { + if (createDebug.skips[i].test(name)) { + return false; + } + } + + for (i = 0, len = createDebug.names.length; i < len; i++) { + if (createDebug.names[i].test(name)) { + return true; + } + } + + return false; + } + + /** + * Convert regexp to namespace + * + * @param {RegExp} regxep + * @return {String} namespace + * @api private + */ + function toNamespace(regexp) { + return regexp.toString() + .substring(2, regexp.toString().length - 2) + .replace(/\.\*\?$/, '*'); + } + + /** + * Coerce `val`. + * + * @param {Mixed} val + * @return {Mixed} + * @api private + */ + function coerce(val) { + if (val instanceof Error) { + return val.stack || val.message; + } + return val; + } + + /** + * XXX DO NOT USE. This is a temporary stub function. + * XXX It WILL be removed in the next major release. + */ + function destroy() { + console.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.'); + } + + createDebug.enable(createDebug.load()); + + return createDebug; +} + +module.exports = setup; + + +/***/ }), + +/***/ 8237: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/** + * Detect Electron renderer / nwjs process, which is node, but we should + * treat as a browser. + */ + +if (typeof process === 'undefined' || process.type === 'renderer' || process.browser === true || process.__nwjs) { + module.exports = __nccwpck_require__(8222); +} else { + module.exports = __nccwpck_require__(4874); +} + + +/***/ }), + +/***/ 4874: +/***/ ((module, exports, __nccwpck_require__) => { + +/** + * Module dependencies. + */ + +const tty = __nccwpck_require__(3867); +const util = __nccwpck_require__(1669); + +/** + * This is the Node.js implementation of `debug()`. + */ + +exports.init = init; +exports.log = log; +exports.formatArgs = formatArgs; +exports.save = save; +exports.load = load; +exports.useColors = useColors; +exports.destroy = util.deprecate( + () => {}, + 'Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.' +); + +/** + * Colors. + */ + +exports.colors = [6, 2, 3, 4, 5, 1]; + +try { + // Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json) + // eslint-disable-next-line import/no-extraneous-dependencies + const supportsColor = __nccwpck_require__(9318); + + if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) { + exports.colors = [ + 20, + 21, + 26, + 27, + 32, + 33, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 56, + 57, + 62, + 63, + 68, + 69, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 92, + 93, + 98, + 99, + 112, + 113, + 128, + 129, + 134, + 135, + 148, + 149, + 160, + 161, + 162, + 163, + 164, + 165, + 166, + 167, + 168, + 169, + 170, + 171, + 172, + 173, + 178, + 179, + 184, + 185, + 196, + 197, + 198, + 199, + 200, + 201, + 202, + 203, + 204, + 205, + 206, + 207, + 208, + 209, + 214, + 215, + 220, + 221 + ]; + } +} catch (error) { + // Swallow - we only care if `supports-color` is available; it doesn't have to be. +} + +/** + * Build up the default `inspectOpts` object from the environment variables. + * + * $ DEBUG_COLORS=no DEBUG_DEPTH=10 DEBUG_SHOW_HIDDEN=enabled node script.js + */ + +exports.inspectOpts = Object.keys(process.env).filter(key => { + return /^debug_/i.test(key); +}).reduce((obj, key) => { + // Camel-case + const prop = key + .substring(6) + .toLowerCase() + .replace(/_([a-z])/g, (_, k) => { + return k.toUpperCase(); + }); + + // Coerce string value into JS value + let val = process.env[key]; + if (/^(yes|on|true|enabled)$/i.test(val)) { + val = true; + } else if (/^(no|off|false|disabled)$/i.test(val)) { + val = false; + } else if (val === 'null') { + val = null; + } else { + val = Number(val); + } + + obj[prop] = val; + return obj; +}, {}); + +/** + * Is stdout a TTY? Colored output is enabled when `true`. + */ + +function useColors() { + return 'colors' in exports.inspectOpts ? + Boolean(exports.inspectOpts.colors) : + tty.isatty(process.stderr.fd); +} + +/** + * Adds ANSI color escape codes if enabled. + * + * @api public + */ + +function formatArgs(args) { + const {namespace: name, useColors} = this; + + if (useColors) { + const c = this.color; + const colorCode = '\u001B[3' + (c < 8 ? c : '8;5;' + c); + const prefix = ` ${colorCode};1m${name} \u001B[0m`; + + args[0] = prefix + args[0].split('\n').join('\n' + prefix); + args.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\u001B[0m'); + } else { + args[0] = getDate() + name + ' ' + args[0]; + } +} + +function getDate() { + if (exports.inspectOpts.hideDate) { + return ''; + } + return new Date().toISOString() + ' '; +} + +/** + * Invokes `util.format()` with the specified arguments and writes to stderr. + */ + +function log(...args) { + return process.stderr.write(util.format(...args) + '\n'); +} + +/** + * Save `namespaces`. + * + * @param {String} namespaces + * @api private + */ +function save(namespaces) { + if (namespaces) { + process.env.DEBUG = namespaces; + } else { + // If you set a process.env field to null or undefined, it gets cast to the + // string 'null' or 'undefined'. Just delete instead. + delete process.env.DEBUG; + } +} + +/** + * Load `namespaces`. + * + * @return {String} returns the previously persisted debug modes + * @api private + */ + +function load() { + return process.env.DEBUG; +} + +/** + * Init logic for `debug` instances. + * + * Create a new `inspectOpts` object in case `useColors` is set + * differently for a particular `debug` instance. + */ + +function init(debug) { + debug.inspectOpts = {}; + + const keys = Object.keys(exports.inspectOpts); + for (let i = 0; i < keys.length; i++) { + debug.inspectOpts[keys[i]] = exports.inspectOpts[keys[i]]; + } +} + +module.exports = __nccwpck_require__(6243)(exports); + +const {formatters} = module.exports; + +/** + * Map %o to `util.inspect()`, all on a single line. + */ + +formatters.o = function (v) { + this.inspectOpts.colors = this.useColors; + return util.inspect(v, this.inspectOpts) + .split('\n') + .map(str => str.trim()) + .join(' '); +}; + +/** + * Map %O to `util.inspect()`, allowing multiple lines if needed. + */ + +formatters.O = function (v) { + this.inspectOpts.colors = this.useColors; + return util.inspect(v, this.inspectOpts); +}; + + +/***/ }), + +/***/ 8611: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var Stream = __nccwpck_require__(2413).Stream; +var util = __nccwpck_require__(1669); + +module.exports = DelayedStream; +function DelayedStream() { + this.source = null; + this.dataSize = 0; + this.maxDataSize = 1024 * 1024; + this.pauseStream = true; + + this._maxDataSizeExceeded = false; + this._released = false; + this._bufferedEvents = []; +} +util.inherits(DelayedStream, Stream); + +DelayedStream.create = function(source, options) { + var delayedStream = new this(); + + options = options || {}; + for (var option in options) { + delayedStream[option] = options[option]; + } + + delayedStream.source = source; + + var realEmit = source.emit; + source.emit = function() { + delayedStream._handleEmit(arguments); + return realEmit.apply(source, arguments); + }; + + source.on('error', function() {}); + if (delayedStream.pauseStream) { + source.pause(); + } + + return delayedStream; +}; + +Object.defineProperty(DelayedStream.prototype, 'readable', { + configurable: true, + enumerable: true, + get: function() { + return this.source.readable; + } +}); + +DelayedStream.prototype.setEncoding = function() { + return this.source.setEncoding.apply(this.source, arguments); +}; + +DelayedStream.prototype.resume = function() { + if (!this._released) { + this.release(); + } + + this.source.resume(); +}; + +DelayedStream.prototype.pause = function() { + this.source.pause(); +}; + +DelayedStream.prototype.release = function() { + this._released = true; + + this._bufferedEvents.forEach(function(args) { + this.emit.apply(this, args); + }.bind(this)); + this._bufferedEvents = []; +}; + +DelayedStream.prototype.pipe = function() { + var r = Stream.prototype.pipe.apply(this, arguments); + this.resume(); + return r; +}; + +DelayedStream.prototype._handleEmit = function(args) { + if (this._released) { + this.emit.apply(this, args); + return; + } + + if (args[0] === 'data') { + this.dataSize += args[1].length; + this._checkIfMaxDataSizeExceeded(); + } + + this._bufferedEvents.push(args); +}; + +DelayedStream.prototype._checkIfMaxDataSizeExceeded = function() { + if (this._maxDataSizeExceeded) { + return; + } + + if (this.dataSize <= this.maxDataSize) { + return; + } + + this._maxDataSizeExceeded = true; + var message = + 'DelayedStream#maxDataSize of ' + this.maxDataSize + ' bytes exceeded.' + this.emit('error', new Error(message)); +}; + + +/***/ }), + +/***/ 7676: +/***/ ((module) => { + +module.exports = stringify +stringify.default = stringify +stringify.stable = deterministicStringify +stringify.stableStringify = deterministicStringify + +var LIMIT_REPLACE_NODE = '[...]' +var CIRCULAR_REPLACE_NODE = '[Circular]' + +var arr = [] +var replacerStack = [] + +function defaultOptions () { + return { + depthLimit: Number.MAX_SAFE_INTEGER, + edgesLimit: Number.MAX_SAFE_INTEGER + } +} + +// Regular stringify +function stringify (obj, replacer, spacer, options) { + if (typeof options === 'undefined') { + options = defaultOptions() + } + + decirc(obj, '', 0, [], undefined, 0, options) + var res + try { + if (replacerStack.length === 0) { + res = JSON.stringify(obj, replacer, spacer) + } else { + res = JSON.stringify(obj, replaceGetterValues(replacer), spacer) + } + } catch (_) { + return JSON.stringify('[unable to serialize, circular reference is too complex to analyze]') + } finally { + while (arr.length !== 0) { + var part = arr.pop() + if (part.length === 4) { + Object.defineProperty(part[0], part[1], part[3]) + } else { + part[0][part[1]] = part[2] + } + } + } + return res +} + +function setReplace (replace, val, k, parent) { + var propertyDescriptor = Object.getOwnPropertyDescriptor(parent, k) + if (propertyDescriptor.get !== undefined) { + if (propertyDescriptor.configurable) { + Object.defineProperty(parent, k, { value: replace }) + arr.push([parent, k, val, propertyDescriptor]) + } else { + replacerStack.push([val, k, replace]) + } + } else { + parent[k] = replace + arr.push([parent, k, val]) + } +} + +function decirc (val, k, edgeIndex, stack, parent, depth, options) { + depth += 1 + var i + if (typeof val === 'object' && val !== null) { + for (i = 0; i < stack.length; i++) { + if (stack[i] === val) { + setReplace(CIRCULAR_REPLACE_NODE, val, k, parent) + return + } + } + + if ( + typeof options.depthLimit !== 'undefined' && + depth > options.depthLimit + ) { + setReplace(LIMIT_REPLACE_NODE, val, k, parent) + return + } + + if ( + typeof options.edgesLimit !== 'undefined' && + edgeIndex + 1 > options.edgesLimit + ) { + setReplace(LIMIT_REPLACE_NODE, val, k, parent) + return + } + + stack.push(val) + // Optimize for Arrays. Big arrays could kill the performance otherwise! + if (Array.isArray(val)) { + for (i = 0; i < val.length; i++) { + decirc(val[i], i, i, stack, val, depth, options) + } + } else { + var keys = Object.keys(val) + for (i = 0; i < keys.length; i++) { + var key = keys[i] + decirc(val[key], key, i, stack, val, depth, options) + } + } + stack.pop() + } +} + +// Stable-stringify +function compareFunction (a, b) { + if (a < b) { + return -1 + } + if (a > b) { + return 1 + } + return 0 +} + +function deterministicStringify (obj, replacer, spacer, options) { + if (typeof options === 'undefined') { + options = defaultOptions() + } + + var tmp = deterministicDecirc(obj, '', 0, [], undefined, 0, options) || obj + var res + try { + if (replacerStack.length === 0) { + res = JSON.stringify(tmp, replacer, spacer) + } else { + res = JSON.stringify(tmp, replaceGetterValues(replacer), spacer) + } + } catch (_) { + return JSON.stringify('[unable to serialize, circular reference is too complex to analyze]') + } finally { + // Ensure that we restore the object as it was. + while (arr.length !== 0) { + var part = arr.pop() + if (part.length === 4) { + Object.defineProperty(part[0], part[1], part[3]) + } else { + part[0][part[1]] = part[2] + } + } + } + return res +} + +function deterministicDecirc (val, k, edgeIndex, stack, parent, depth, options) { + depth += 1 + var i + if (typeof val === 'object' && val !== null) { + for (i = 0; i < stack.length; i++) { + if (stack[i] === val) { + setReplace(CIRCULAR_REPLACE_NODE, val, k, parent) + return + } + } + try { + if (typeof val.toJSON === 'function') { + return + } + } catch (_) { + return + } + + if ( + typeof options.depthLimit !== 'undefined' && + depth > options.depthLimit + ) { + setReplace(LIMIT_REPLACE_NODE, val, k, parent) + return + } + + if ( + typeof options.edgesLimit !== 'undefined' && + edgeIndex + 1 > options.edgesLimit + ) { + setReplace(LIMIT_REPLACE_NODE, val, k, parent) + return + } + + stack.push(val) + // Optimize for Arrays. Big arrays could kill the performance otherwise! + if (Array.isArray(val)) { + for (i = 0; i < val.length; i++) { + deterministicDecirc(val[i], i, i, stack, val, depth, options) + } + } else { + // Create a temporary object in the required way + var tmp = {} + var keys = Object.keys(val).sort(compareFunction) + for (i = 0; i < keys.length; i++) { + var key = keys[i] + deterministicDecirc(val[key], key, i, stack, val, depth, options) + tmp[key] = val[key] + } + if (typeof parent !== 'undefined') { + arr.push([parent, k, val]) + parent[k] = tmp + } else { + return tmp + } + } + stack.pop() + } +} + +// wraps replacer function to handle values we couldn't replace +// and mark them as replaced value +function replaceGetterValues (replacer) { + replacer = + typeof replacer !== 'undefined' + ? replacer + : function (k, v) { + return v + } + return function (key, val) { + if (replacerStack.length > 0) { + for (var i = 0; i < replacerStack.length; i++) { + var part = replacerStack[i] + if (part[1] === key && part[0] === val) { + val = part[2] + replacerStack.splice(i, 1) + break + } + } + } + return replacer.call(this, key, val) + } +} + + +/***/ }), + +/***/ 1826: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var CombinedStream = __nccwpck_require__(5443); +var util = __nccwpck_require__(1669); +var path = __nccwpck_require__(5622); +var http = __nccwpck_require__(8605); +var https = __nccwpck_require__(7211); +var parseUrl = __nccwpck_require__(8835).parse; +var fs = __nccwpck_require__(5747); +var mime = __nccwpck_require__(3583); +var asynckit = __nccwpck_require__(4812); +var populate = __nccwpck_require__(7142); + +// Public API +module.exports = FormData; + +// make it a Stream +util.inherits(FormData, CombinedStream); + +/** + * Create readable "multipart/form-data" streams. + * Can be used to submit forms + * and file uploads to other web applications. + * + * @constructor + * @param {Object} options - Properties to be added/overriden for FormData and CombinedStream + */ +function FormData(options) { + if (!(this instanceof FormData)) { + return new FormData(options); + } + + this._overheadLength = 0; + this._valueLength = 0; + this._valuesToMeasure = []; + + CombinedStream.call(this); + + options = options || {}; + for (var option in options) { + this[option] = options[option]; + } +} + +FormData.LINE_BREAK = '\r\n'; +FormData.DEFAULT_CONTENT_TYPE = 'application/octet-stream'; + +FormData.prototype.append = function(field, value, options) { + + options = options || {}; + + // allow filename as single option + if (typeof options == 'string') { + options = {filename: options}; + } + + var append = CombinedStream.prototype.append.bind(this); + + // all that streamy business can't handle numbers + if (typeof value == 'number') { + value = '' + value; + } + + // https://github.com/felixge/node-form-data/issues/38 + if (util.isArray(value)) { + // Please convert your array into string + // the way web server expects it + this._error(new Error('Arrays are not supported.')); + return; + } + + var header = this._multiPartHeader(field, value, options); + var footer = this._multiPartFooter(); + + append(header); + append(value); + append(footer); + + // pass along options.knownLength + this._trackLength(header, value, options); +}; + +FormData.prototype._trackLength = function(header, value, options) { + var valueLength = 0; + + // used w/ getLengthSync(), when length is known. + // e.g. for streaming directly from a remote server, + // w/ a known file a size, and not wanting to wait for + // incoming file to finish to get its size. + if (options.knownLength != null) { + valueLength += +options.knownLength; + } else if (Buffer.isBuffer(value)) { + valueLength = value.length; + } else if (typeof value === 'string') { + valueLength = Buffer.byteLength(value); + } + + this._valueLength += valueLength; + + // @check why add CRLF? does this account for custom/multiple CRLFs? + this._overheadLength += + Buffer.byteLength(header) + + FormData.LINE_BREAK.length; + + // empty or either doesn't have path or not an http response + if (!value || ( !value.path && !(value.readable && value.hasOwnProperty('httpVersion')) )) { + return; + } + + // no need to bother with the length + if (!options.knownLength) { + this._valuesToMeasure.push(value); + } +}; + +FormData.prototype._lengthRetriever = function(value, callback) { + + if (value.hasOwnProperty('fd')) { + + // take read range into a account + // `end` = Infinity –> read file till the end + // + // TODO: Looks like there is bug in Node fs.createReadStream + // it doesn't respect `end` options without `start` options + // Fix it when node fixes it. + // https://github.com/joyent/node/issues/7819 + if (value.end != undefined && value.end != Infinity && value.start != undefined) { + + // when end specified + // no need to calculate range + // inclusive, starts with 0 + callback(null, value.end + 1 - (value.start ? value.start : 0)); + + // not that fast snoopy + } else { + // still need to fetch file size from fs + fs.stat(value.path, function(err, stat) { + + var fileSize; + + if (err) { + callback(err); + return; + } + + // update final size based on the range options + fileSize = stat.size - (value.start ? value.start : 0); + callback(null, fileSize); + }); + } + + // or http response + } else if (value.hasOwnProperty('httpVersion')) { + callback(null, +value.headers['content-length']); + + // or request stream http://github.com/mikeal/request + } else if (value.hasOwnProperty('httpModule')) { + // wait till response come back + value.on('response', function(response) { + value.pause(); + callback(null, +response.headers['content-length']); + }); + value.resume(); + + // something else + } else { + callback('Unknown stream'); + } +}; + +FormData.prototype._multiPartHeader = function(field, value, options) { + // custom header specified (as string)? + // it becomes responsible for boundary + // (e.g. to handle extra CRLFs on .NET servers) + if (typeof options.header == 'string') { + return options.header; + } + + var contentDisposition = this._getContentDisposition(value, options); + var contentType = this._getContentType(value, options); + + var contents = ''; + var headers = { + // add custom disposition as third element or keep it two elements if not + 'Content-Disposition': ['form-data', 'name="' + field + '"'].concat(contentDisposition || []), + // if no content type. allow it to be empty array + 'Content-Type': [].concat(contentType || []) + }; + + // allow custom headers. + if (typeof options.header == 'object') { + populate(headers, options.header); + } + + var header; + for (var prop in headers) { + if (!headers.hasOwnProperty(prop)) continue; + header = headers[prop]; + + // skip nullish headers. + if (header == null) { + continue; + } + + // convert all headers to arrays. + if (!Array.isArray(header)) { + header = [header]; + } + + // add non-empty headers. + if (header.length) { + contents += prop + ': ' + header.join('; ') + FormData.LINE_BREAK; + } + } + + return '--' + this.getBoundary() + FormData.LINE_BREAK + contents + FormData.LINE_BREAK; +}; + +FormData.prototype._getContentDisposition = function(value, options) { + + var filename + , contentDisposition + ; + + if (typeof options.filepath === 'string') { + // custom filepath for relative paths + filename = path.normalize(options.filepath).replace(/\\/g, '/'); + } else if (options.filename || value.name || value.path) { + // custom filename take precedence + // formidable and the browser add a name property + // fs- and request- streams have path property + filename = path.basename(options.filename || value.name || value.path); + } else if (value.readable && value.hasOwnProperty('httpVersion')) { + // or try http response + filename = path.basename(value.client._httpMessage.path || ''); + } + + if (filename) { + contentDisposition = 'filename="' + filename + '"'; + } + + return contentDisposition; +}; + +FormData.prototype._getContentType = function(value, options) { + + // use custom content-type above all + var contentType = options.contentType; + + // or try `name` from formidable, browser + if (!contentType && value.name) { + contentType = mime.lookup(value.name); + } + + // or try `path` from fs-, request- streams + if (!contentType && value.path) { + contentType = mime.lookup(value.path); + } + + // or if it's http-reponse + if (!contentType && value.readable && value.hasOwnProperty('httpVersion')) { + contentType = value.headers['content-type']; + } + + // or guess it from the filepath or filename + if (!contentType && (options.filepath || options.filename)) { + contentType = mime.lookup(options.filepath || options.filename); + } + + // fallback to the default content type if `value` is not simple value + if (!contentType && typeof value == 'object') { + contentType = FormData.DEFAULT_CONTENT_TYPE; + } + + return contentType; +}; + +FormData.prototype._multiPartFooter = function() { + return function(next) { + var footer = FormData.LINE_BREAK; + + var lastPart = (this._streams.length === 0); + if (lastPart) { + footer += this._lastBoundary(); + } + + next(footer); + }.bind(this); +}; + +FormData.prototype._lastBoundary = function() { + return '--' + this.getBoundary() + '--' + FormData.LINE_BREAK; +}; + +FormData.prototype.getHeaders = function(userHeaders) { + var header; + var formHeaders = { + 'content-type': 'multipart/form-data; boundary=' + this.getBoundary() + }; + + for (header in userHeaders) { + if (userHeaders.hasOwnProperty(header)) { + formHeaders[header.toLowerCase()] = userHeaders[header]; + } + } + + return formHeaders; +}; + +FormData.prototype.setBoundary = function(boundary) { + this._boundary = boundary; +}; + +FormData.prototype.getBoundary = function() { + if (!this._boundary) { + this._generateBoundary(); + } + + return this._boundary; +}; + +FormData.prototype.getBuffer = function() { + var dataBuffer = new Buffer.alloc( 0 ); + var boundary = this.getBoundary(); + + // Create the form content. Add Line breaks to the end of data. + for (var i = 0, len = this._streams.length; i < len; i++) { + if (typeof this._streams[i] !== 'function') { + + // Add content to the buffer. + if(Buffer.isBuffer(this._streams[i])) { + dataBuffer = Buffer.concat( [dataBuffer, this._streams[i]]); + }else { + dataBuffer = Buffer.concat( [dataBuffer, Buffer.from(this._streams[i])]); + } + + // Add break after content. + if (typeof this._streams[i] !== 'string' || this._streams[i].substring( 2, boundary.length + 2 ) !== boundary) { + dataBuffer = Buffer.concat( [dataBuffer, Buffer.from(FormData.LINE_BREAK)] ); + } + } + } + + // Add the footer and return the Buffer object. + return Buffer.concat( [dataBuffer, Buffer.from(this._lastBoundary())] ); +}; + +FormData.prototype._generateBoundary = function() { + // This generates a 50 character boundary similar to those used by Firefox. + // They are optimized for boyer-moore parsing. + var boundary = '--------------------------'; + for (var i = 0; i < 24; i++) { + boundary += Math.floor(Math.random() * 10).toString(16); + } + + this._boundary = boundary; +}; + +// Note: getLengthSync DOESN'T calculate streams length +// As workaround one can calculate file size manually +// and add it as knownLength option +FormData.prototype.getLengthSync = function() { + var knownLength = this._overheadLength + this._valueLength; + + // Don't get confused, there are 3 "internal" streams for each keyval pair + // so it basically checks if there is any value added to the form + if (this._streams.length) { + knownLength += this._lastBoundary().length; + } + + // https://github.com/form-data/form-data/issues/40 + if (!this.hasKnownLength()) { + // Some async length retrievers are present + // therefore synchronous length calculation is false. + // Please use getLength(callback) to get proper length + this._error(new Error('Cannot calculate proper length in synchronous way.')); + } + + return knownLength; +}; + +// Public API to check if length of added values is known +// https://github.com/form-data/form-data/issues/196 +// https://github.com/form-data/form-data/issues/262 +FormData.prototype.hasKnownLength = function() { + var hasKnownLength = true; + + if (this._valuesToMeasure.length) { + hasKnownLength = false; + } + + return hasKnownLength; +}; + +FormData.prototype.getLength = function(cb) { + var knownLength = this._overheadLength + this._valueLength; + + if (this._streams.length) { + knownLength += this._lastBoundary().length; + } + + if (!this._valuesToMeasure.length) { + process.nextTick(cb.bind(this, null, knownLength)); + return; + } + + asynckit.parallel(this._valuesToMeasure, this._lengthRetriever, function(err, values) { + if (err) { + cb(err); + return; + } + + values.forEach(function(length) { + knownLength += length; + }); + + cb(null, knownLength); + }); +}; + +FormData.prototype.submit = function(params, cb) { + var request + , options + , defaults = {method: 'post'} + ; + + // parse provided url if it's string + // or treat it as options object + if (typeof params == 'string') { + + params = parseUrl(params); + options = populate({ + port: params.port, + path: params.pathname, + host: params.hostname, + protocol: params.protocol + }, defaults); + + // use custom params + } else { + + options = populate(params, defaults); + // if no port provided use default one + if (!options.port) { + options.port = options.protocol == 'https:' ? 443 : 80; + } + } + + // put that good code in getHeaders to some use + options.headers = this.getHeaders(params.headers); + + // https if specified, fallback to http in any other case + if (options.protocol == 'https:') { + request = https.request(options); + } else { + request = http.request(options); + } + + // get content length and fire away + this.getLength(function(err, length) { + if (err) { + this._error(err); + return; + } + + // add content length + request.setHeader('Content-Length', length); + + this.pipe(request); + if (cb) { + var onResponse; + + var callback = function (error, responce) { + request.removeListener('error', callback); + request.removeListener('response', onResponse); + + return cb.call(this, error, responce); + }; + + onResponse = callback.bind(this, null); + + request.on('error', callback); + request.on('response', onResponse); + } + }.bind(this)); + + return request; +}; + +FormData.prototype._error = function(err) { + if (!this.error) { + this.error = err; + this.pause(); + this.emit('error', err); + } +}; + +FormData.prototype.toString = function () { + return '[object FormData]'; +}; + + +/***/ }), + +/***/ 7142: +/***/ ((module) => { + +// populates missing values +module.exports = function(dst, src) { + + Object.keys(src).forEach(function(prop) + { + dst[prop] = dst[prop] || src[prop]; + }); + + return dst; +}; + + +/***/ }), + +/***/ 8329: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +if (global.GENTLY) __nccwpck_require__(4120) = GENTLY.hijack(require); + +var util = __nccwpck_require__(1669), + fs = __nccwpck_require__(5747), + EventEmitter = __nccwpck_require__(8614).EventEmitter, + crypto = __nccwpck_require__(6417); + +function File(properties) { + EventEmitter.call(this); + + this.size = 0; + this.path = null; + this.name = null; + this.type = null; + this.hash = null; + this.lastModifiedDate = null; + + this._writeStream = null; + + for (var key in properties) { + this[key] = properties[key]; + } + + if(typeof this.hash === 'string') { + this.hash = crypto.createHash(properties.hash); + } else { + this.hash = null; + } +} +module.exports = File; +util.inherits(File, EventEmitter); + +File.prototype.open = function() { + this._writeStream = new fs.WriteStream(this.path); +}; + +File.prototype.toJSON = function() { + var json = { + size: this.size, + path: this.path, + name: this.name, + type: this.type, + mtime: this.lastModifiedDate, + length: this.length, + filename: this.filename, + mime: this.mime + }; + if (this.hash && this.hash != "") { + json.hash = this.hash; + } + return json; +}; + +File.prototype.write = function(buffer, cb) { + var self = this; + if (self.hash) { + self.hash.update(buffer); + } + + if (this._writeStream.closed) { + return cb(); + } + + this._writeStream.write(buffer, function() { + self.lastModifiedDate = new Date(); + self.size += buffer.length; + self.emit('progress', self.size); + cb(); + }); +}; + +File.prototype.end = function(cb) { + var self = this; + if (self.hash) { + self.hash = self.hash.digest('hex'); + } + this._writeStream.end(function() { + self.emit('end'); + cb(); + }); +}; + + +/***/ }), + +/***/ 7973: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +if (global.GENTLY) __nccwpck_require__(4120) = GENTLY.hijack(require); + +var crypto = __nccwpck_require__(6417); +var fs = __nccwpck_require__(5747); +var util = __nccwpck_require__(1669), + path = __nccwpck_require__(5622), + File = __nccwpck_require__(8329), + MultipartParser = __nccwpck_require__(1323).MultipartParser, + QuerystringParser = __nccwpck_require__(825)/* .QuerystringParser */ .l, + OctetParser = __nccwpck_require__(8680)/* .OctetParser */ .h, + JSONParser = __nccwpck_require__(715)/* .JSONParser */ .c, + StringDecoder = __nccwpck_require__(4304).StringDecoder, + EventEmitter = __nccwpck_require__(8614).EventEmitter, + Stream = __nccwpck_require__(2413).Stream, + os = __nccwpck_require__(2087); + +function IncomingForm(opts) { + if (!(this instanceof IncomingForm)) return new IncomingForm(opts); + EventEmitter.call(this); + + opts=opts||{}; + + this.error = null; + this.ended = false; + + this.maxFields = opts.maxFields || 1000; + this.maxFieldsSize = opts.maxFieldsSize || 20 * 1024 * 1024; + this.maxFileSize = opts.maxFileSize || 200 * 1024 * 1024; + this.keepExtensions = opts.keepExtensions || false; + this.uploadDir = opts.uploadDir || (os.tmpdir && os.tmpdir()) || os.tmpDir(); + this.encoding = opts.encoding || 'utf-8'; + this.headers = null; + this.type = null; + this.hash = opts.hash || false; + this.multiples = opts.multiples || false; + + this.bytesReceived = null; + this.bytesExpected = null; + + this._parser = null; + this._flushing = 0; + this._fieldsSize = 0; + this._fileSize = 0; + this.openedFiles = []; + + return this; +} +util.inherits(IncomingForm, EventEmitter); +exports.c = IncomingForm; + +IncomingForm.prototype.parse = function(req, cb) { + this.pause = function() { + try { + req.pause(); + } catch (err) { + // the stream was destroyed + if (!this.ended) { + // before it was completed, crash & burn + this._error(err); + } + return false; + } + return true; + }; + + this.resume = function() { + try { + req.resume(); + } catch (err) { + // the stream was destroyed + if (!this.ended) { + // before it was completed, crash & burn + this._error(err); + } + return false; + } + + return true; + }; + + // Setup callback first, so we don't miss anything from data events emitted + // immediately. + if (cb) { + var fields = {}, files = {}; + this + .on('field', function(name, value) { + fields[name] = value; + }) + .on('file', function(name, file) { + if (this.multiples) { + if (files[name]) { + if (!Array.isArray(files[name])) { + files[name] = [files[name]]; + } + files[name].push(file); + } else { + files[name] = file; + } + } else { + files[name] = file; + } + }) + .on('error', function(err) { + cb(err, fields, files); + }) + .on('end', function() { + cb(null, fields, files); + }); + } + + // Parse headers and setup the parser, ready to start listening for data. + this.writeHeaders(req.headers); + + // Start listening for data. + var self = this; + req + .on('error', function(err) { + self._error(err); + }) + .on('aborted', function() { + self.emit('aborted'); + self._error(new Error('Request aborted')); + }) + .on('data', function(buffer) { + self.write(buffer); + }) + .on('end', function() { + if (self.error) { + return; + } + + var err = self._parser.end(); + if (err) { + self._error(err); + } + }); + + return this; +}; + +IncomingForm.prototype.writeHeaders = function(headers) { + this.headers = headers; + this._parseContentLength(); + this._parseContentType(); +}; + +IncomingForm.prototype.write = function(buffer) { + if (this.error) { + return; + } + if (!this._parser) { + this._error(new Error('uninitialized parser')); + return; + } + if (typeof this._parser.write !== 'function') { + this._error(new Error('did not expect data')); + return; + } + + this.bytesReceived += buffer.length; + this.emit('progress', this.bytesReceived, this.bytesExpected); + + var bytesParsed = this._parser.write(buffer); + if (bytesParsed !== buffer.length) { + this._error(new Error('parser error, '+bytesParsed+' of '+buffer.length+' bytes parsed')); + } + + return bytesParsed; +}; + +IncomingForm.prototype.pause = function() { + // this does nothing, unless overwritten in IncomingForm.parse + return false; +}; + +IncomingForm.prototype.resume = function() { + // this does nothing, unless overwritten in IncomingForm.parse + return false; +}; + +IncomingForm.prototype.onPart = function(part) { + // this method can be overwritten by the user + this.handlePart(part); +}; + +IncomingForm.prototype.handlePart = function(part) { + var self = this; + + // This MUST check exactly for undefined. You can not change it to !part.filename. + if (part.filename === undefined) { + var value = '' + , decoder = new StringDecoder(this.encoding); + + part.on('data', function(buffer) { + self._fieldsSize += buffer.length; + if (self._fieldsSize > self.maxFieldsSize) { + self._error(new Error('maxFieldsSize exceeded, received '+self._fieldsSize+' bytes of field data')); + return; + } + value += decoder.write(buffer); + }); + + part.on('end', function() { + self.emit('field', part.name, value); + }); + return; + } + + this._flushing++; + + var file = new File({ + path: this._uploadPath(part.filename), + name: part.filename, + type: part.mime, + hash: self.hash + }); + + this.emit('fileBegin', part.name, file); + + file.open(); + this.openedFiles.push(file); + + part.on('data', function(buffer) { + self._fileSize += buffer.length; + if (self._fileSize > self.maxFileSize) { + self._error(new Error('maxFileSize exceeded, received '+self._fileSize+' bytes of file data')); + return; + } + if (buffer.length == 0) { + return; + } + self.pause(); + file.write(buffer, function() { + self.resume(); + }); + }); + + part.on('end', function() { + file.end(function() { + self._flushing--; + self.emit('file', part.name, file); + self._maybeEnd(); + }); + }); +}; + +function dummyParser(self) { + return { + end: function () { + self.ended = true; + self._maybeEnd(); + return null; + } + }; +} + +IncomingForm.prototype._parseContentType = function() { + if (this.bytesExpected === 0) { + this._parser = dummyParser(this); + return; + } + + if (!this.headers['content-type']) { + this._error(new Error('bad content-type header, no content-type')); + return; + } + + if (this.headers['content-type'].match(/octet-stream/i)) { + this._initOctetStream(); + return; + } + + if (this.headers['content-type'].match(/urlencoded/i)) { + this._initUrlencoded(); + return; + } + + if (this.headers['content-type'].match(/multipart/i)) { + var m = this.headers['content-type'].match(/boundary=(?:"([^"]+)"|([^;]+))/i); + if (m) { + this._initMultipart(m[1] || m[2]); + } else { + this._error(new Error('bad content-type header, no multipart boundary')); + } + return; + } + + if (this.headers['content-type'].match(/json/i)) { + this._initJSONencoded(); + return; + } + + this._error(new Error('bad content-type header, unknown content-type: '+this.headers['content-type'])); +}; + +IncomingForm.prototype._error = function(err) { + if (this.error || this.ended) { + return; + } + + this.error = err; + this.emit('error', err); + + if (Array.isArray(this.openedFiles)) { + this.openedFiles.forEach(function(file) { + file._writeStream + .on('error', function() {}) + .destroy(); + setTimeout(fs.unlink, 0, file.path, function(error) { }); + }); + } +}; + +IncomingForm.prototype._parseContentLength = function() { + this.bytesReceived = 0; + if (this.headers['content-length']) { + this.bytesExpected = parseInt(this.headers['content-length'], 10); + } else if (this.headers['transfer-encoding'] === undefined) { + this.bytesExpected = 0; + } + + if (this.bytesExpected !== null) { + this.emit('progress', this.bytesReceived, this.bytesExpected); + } +}; + +IncomingForm.prototype._newParser = function() { + return new MultipartParser(); +}; + +IncomingForm.prototype._initMultipart = function(boundary) { + this.type = 'multipart'; + + var parser = new MultipartParser(), + self = this, + headerField, + headerValue, + part; + + parser.initWithBoundary(boundary); + + parser.onPartBegin = function() { + part = new Stream(); + part.readable = true; + part.headers = {}; + part.name = null; + part.filename = null; + part.mime = null; + + part.transferEncoding = 'binary'; + part.transferBuffer = ''; + + headerField = ''; + headerValue = ''; + }; + + parser.onHeaderField = function(b, start, end) { + headerField += b.toString(self.encoding, start, end); + }; + + parser.onHeaderValue = function(b, start, end) { + headerValue += b.toString(self.encoding, start, end); + }; + + parser.onHeaderEnd = function() { + headerField = headerField.toLowerCase(); + part.headers[headerField] = headerValue; + + // matches either a quoted-string or a token (RFC 2616 section 19.5.1) + var m = headerValue.match(/\bname=("([^"]*)"|([^\(\)<>@,;:\\"\/\[\]\?=\{\}\s\t/]+))/i); + if (headerField == 'content-disposition') { + if (m) { + part.name = m[2] || m[3] || ''; + } + + part.filename = self._fileName(headerValue); + } else if (headerField == 'content-type') { + part.mime = headerValue; + } else if (headerField == 'content-transfer-encoding') { + part.transferEncoding = headerValue.toLowerCase(); + } + + headerField = ''; + headerValue = ''; + }; + + parser.onHeadersEnd = function() { + switch(part.transferEncoding){ + case 'binary': + case '7bit': + case '8bit': + parser.onPartData = function(b, start, end) { + part.emit('data', b.slice(start, end)); + }; + + parser.onPartEnd = function() { + part.emit('end'); + }; + break; + + case 'base64': + parser.onPartData = function(b, start, end) { + part.transferBuffer += b.slice(start, end).toString('ascii'); + + /* + four bytes (chars) in base64 converts to three bytes in binary + encoding. So we should always work with a number of bytes that + can be divided by 4, it will result in a number of buytes that + can be divided vy 3. + */ + var offset = parseInt(part.transferBuffer.length / 4, 10) * 4; + part.emit('data', new Buffer(part.transferBuffer.substring(0, offset), 'base64')); + part.transferBuffer = part.transferBuffer.substring(offset); + }; + + parser.onPartEnd = function() { + part.emit('data', new Buffer(part.transferBuffer, 'base64')); + part.emit('end'); + }; + break; + + default: + return self._error(new Error('unknown transfer-encoding')); + } + + self.onPart(part); + }; + + + parser.onEnd = function() { + self.ended = true; + self._maybeEnd(); + }; + + this._parser = parser; +}; + +IncomingForm.prototype._fileName = function(headerValue) { + // matches either a quoted-string or a token (RFC 2616 section 19.5.1) + var m = headerValue.match(/\bfilename=("(.*?)"|([^\(\)<>@,;:\\"\/\[\]\?=\{\}\s\t/]+))($|;\s)/i); + if (!m) return; + + var match = m[2] || m[3] || ''; + var filename = match.substr(match.lastIndexOf('\\') + 1); + filename = filename.replace(/%22/g, '"'); + filename = filename.replace(/([\d]{4});/g, function(m, code) { + return String.fromCharCode(code); + }); + return filename; +}; + +IncomingForm.prototype._initUrlencoded = function() { + this.type = 'urlencoded'; + + var parser = new QuerystringParser(this.maxFields) + , self = this; + + parser.onField = function(key, val) { + self.emit('field', key, val); + }; + + parser.onEnd = function() { + self.ended = true; + self._maybeEnd(); + }; + + this._parser = parser; +}; + +IncomingForm.prototype._initOctetStream = function() { + this.type = 'octet-stream'; + var filename = this.headers['x-file-name']; + var mime = this.headers['content-type']; + + var file = new File({ + path: this._uploadPath(filename), + name: filename, + type: mime + }); + + this.emit('fileBegin', filename, file); + file.open(); + this.openedFiles.push(file); + this._flushing++; + + var self = this; + + self._parser = new OctetParser(); + + //Keep track of writes that haven't finished so we don't emit the file before it's done being written + var outstandingWrites = 0; + + self._parser.on('data', function(buffer){ + self.pause(); + outstandingWrites++; + + file.write(buffer, function() { + outstandingWrites--; + self.resume(); + + if(self.ended){ + self._parser.emit('doneWritingFile'); + } + }); + }); + + self._parser.on('end', function(){ + self._flushing--; + self.ended = true; + + var done = function(){ + file.end(function() { + self.emit('file', 'file', file); + self._maybeEnd(); + }); + }; + + if(outstandingWrites === 0){ + done(); + } else { + self._parser.once('doneWritingFile', done); + } + }); +}; + +IncomingForm.prototype._initJSONencoded = function() { + this.type = 'json'; + + var parser = new JSONParser(this) + , self = this; + + parser.onField = function(key, val) { + self.emit('field', key, val); + }; + + parser.onEnd = function() { + self.ended = true; + self._maybeEnd(); + }; + + this._parser = parser; +}; + +IncomingForm.prototype._uploadPath = function(filename) { + var buf = crypto.randomBytes(16); + var name = 'upload_' + buf.toString('hex'); + + if (this.keepExtensions) { + var ext = path.extname(filename); + ext = ext.replace(/(\.[a-z0-9]+).*/i, '$1'); + + name += ext; + } + + return path.join(this.uploadDir, name); +}; + +IncomingForm.prototype._maybeEnd = function() { + if (!this.ended || this._flushing || this.error) { + return; + } + + this.emit('end'); +}; + + +/***/ }), + +/***/ 5265: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var IncomingForm = __nccwpck_require__(7973)/* .IncomingForm */ .c; +IncomingForm.IncomingForm = IncomingForm; +module.exports = IncomingForm; + + +/***/ }), + +/***/ 715: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +if (global.GENTLY) __nccwpck_require__(4120) = GENTLY.hijack(require); + +var Buffer = __nccwpck_require__(4293).Buffer; + +function JSONParser(parent) { + this.parent = parent; + this.chunks = []; + this.bytesWritten = 0; +} +exports.c = JSONParser; + +JSONParser.prototype.write = function(buffer) { + this.bytesWritten += buffer.length; + this.chunks.push(buffer); + return buffer.length; +}; + +JSONParser.prototype.end = function() { + try { + var fields = JSON.parse(Buffer.concat(this.chunks)); + for (var field in fields) { + this.onField(field, fields[field]); + } + } catch (e) { + this.parent.emit('error', e); + } + this.data = null; + + this.onEnd(); +}; + + +/***/ }), + +/***/ 1323: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +var Buffer = __nccwpck_require__(4293).Buffer, + s = 0, + S = + { PARSER_UNINITIALIZED: s++, + START: s++, + START_BOUNDARY: s++, + HEADER_FIELD_START: s++, + HEADER_FIELD: s++, + HEADER_VALUE_START: s++, + HEADER_VALUE: s++, + HEADER_VALUE_ALMOST_DONE: s++, + HEADERS_ALMOST_DONE: s++, + PART_DATA_START: s++, + PART_DATA: s++, + PART_END: s++, + END: s++ + }, + + f = 1, + F = + { PART_BOUNDARY: f, + LAST_BOUNDARY: f *= 2 + }, + + LF = 10, + CR = 13, + SPACE = 32, + HYPHEN = 45, + COLON = 58, + A = 97, + Z = 122, + + lower = function(c) { + return c | 0x20; + }; + +for (s in S) { + exports[s] = S[s]; +} + +function MultipartParser() { + this.boundary = null; + this.boundaryChars = null; + this.lookbehind = null; + this.state = S.PARSER_UNINITIALIZED; + + this.index = null; + this.flags = 0; +} +exports.MultipartParser = MultipartParser; + +MultipartParser.stateToString = function(stateNumber) { + for (var state in S) { + var number = S[state]; + if (number === stateNumber) return state; + } +}; + +MultipartParser.prototype.initWithBoundary = function(str) { + this.boundary = new Buffer(str.length+4); + this.boundary.write('\r\n--', 0); + this.boundary.write(str, 4); + this.lookbehind = new Buffer(this.boundary.length+8); + this.state = S.START; + + this.boundaryChars = {}; + for (var i = 0; i < this.boundary.length; i++) { + this.boundaryChars[this.boundary[i]] = true; + } +}; + +MultipartParser.prototype.write = function(buffer) { + var self = this, + i = 0, + len = buffer.length, + prevIndex = this.index, + index = this.index, + state = this.state, + flags = this.flags, + lookbehind = this.lookbehind, + boundary = this.boundary, + boundaryChars = this.boundaryChars, + boundaryLength = this.boundary.length, + boundaryEnd = boundaryLength - 1, + bufferLength = buffer.length, + c, + cl, + + mark = function(name) { + self[name+'Mark'] = i; + }, + clear = function(name) { + delete self[name+'Mark']; + }, + callback = function(name, buffer, start, end) { + if (start !== undefined && start === end) { + return; + } + + var callbackSymbol = 'on'+name.substr(0, 1).toUpperCase()+name.substr(1); + if (callbackSymbol in self) { + self[callbackSymbol](buffer, start, end); + } + }, + dataCallback = function(name, clear) { + var markSymbol = name+'Mark'; + if (!(markSymbol in self)) { + return; + } + + if (!clear) { + callback(name, buffer, self[markSymbol], buffer.length); + self[markSymbol] = 0; + } else { + callback(name, buffer, self[markSymbol], i); + delete self[markSymbol]; + } + }; + + for (i = 0; i < len; i++) { + c = buffer[i]; + switch (state) { + case S.PARSER_UNINITIALIZED: + return i; + case S.START: + index = 0; + state = S.START_BOUNDARY; + case S.START_BOUNDARY: + if (index == boundary.length - 2) { + if (c == HYPHEN) { + flags |= F.LAST_BOUNDARY; + } else if (c != CR) { + return i; + } + index++; + break; + } else if (index - 1 == boundary.length - 2) { + if (flags & F.LAST_BOUNDARY && c == HYPHEN){ + callback('end'); + state = S.END; + flags = 0; + } else if (!(flags & F.LAST_BOUNDARY) && c == LF) { + index = 0; + callback('partBegin'); + state = S.HEADER_FIELD_START; + } else { + return i; + } + break; + } + + if (c != boundary[index+2]) { + index = -2; + } + if (c == boundary[index+2]) { + index++; + } + break; + case S.HEADER_FIELD_START: + state = S.HEADER_FIELD; + mark('headerField'); + index = 0; + case S.HEADER_FIELD: + if (c == CR) { + clear('headerField'); + state = S.HEADERS_ALMOST_DONE; + break; + } + + index++; + if (c == HYPHEN) { + break; + } + + if (c == COLON) { + if (index == 1) { + // empty header field + return i; + } + dataCallback('headerField', true); + state = S.HEADER_VALUE_START; + break; + } + + cl = lower(c); + if (cl < A || cl > Z) { + return i; + } + break; + case S.HEADER_VALUE_START: + if (c == SPACE) { + break; + } + + mark('headerValue'); + state = S.HEADER_VALUE; + case S.HEADER_VALUE: + if (c == CR) { + dataCallback('headerValue', true); + callback('headerEnd'); + state = S.HEADER_VALUE_ALMOST_DONE; + } + break; + case S.HEADER_VALUE_ALMOST_DONE: + if (c != LF) { + return i; + } + state = S.HEADER_FIELD_START; + break; + case S.HEADERS_ALMOST_DONE: + if (c != LF) { + return i; + } + + callback('headersEnd'); + state = S.PART_DATA_START; + break; + case S.PART_DATA_START: + state = S.PART_DATA; + mark('partData'); + case S.PART_DATA: + prevIndex = index; + + if (index === 0) { + // boyer-moore derrived algorithm to safely skip non-boundary data + i += boundaryEnd; + while (i < bufferLength && !(buffer[i] in boundaryChars)) { + i += boundaryLength; + } + i -= boundaryEnd; + c = buffer[i]; + } + + if (index < boundary.length) { + if (boundary[index] == c) { + if (index === 0) { + dataCallback('partData', true); + } + index++; + } else { + index = 0; + } + } else if (index == boundary.length) { + index++; + if (c == CR) { + // CR = part boundary + flags |= F.PART_BOUNDARY; + } else if (c == HYPHEN) { + // HYPHEN = end boundary + flags |= F.LAST_BOUNDARY; + } else { + index = 0; + } + } else if (index - 1 == boundary.length) { + if (flags & F.PART_BOUNDARY) { + index = 0; + if (c == LF) { + // unset the PART_BOUNDARY flag + flags &= ~F.PART_BOUNDARY; + callback('partEnd'); + callback('partBegin'); + state = S.HEADER_FIELD_START; + break; + } + } else if (flags & F.LAST_BOUNDARY) { + if (c == HYPHEN) { + callback('partEnd'); + callback('end'); + state = S.END; + flags = 0; + } else { + index = 0; + } + } else { + index = 0; + } + } + + if (index > 0) { + // when matching a possible boundary, keep a lookbehind reference + // in case it turns out to be a false lead + lookbehind[index-1] = c; + } else if (prevIndex > 0) { + // if our boundary turned out to be rubbish, the captured lookbehind + // belongs to partData + callback('partData', lookbehind, 0, prevIndex); + prevIndex = 0; + mark('partData'); + + // reconsider the current character even so it interrupted the sequence + // it could be the beginning of a new sequence + i--; + } + + break; + case S.END: + break; + default: + return i; + } + } + + dataCallback('headerField'); + dataCallback('headerValue'); + dataCallback('partData'); + + this.index = index; + this.state = state; + this.flags = flags; + + return len; +}; + +MultipartParser.prototype.end = function() { + var callback = function(self, name) { + var callbackSymbol = 'on'+name.substr(0, 1).toUpperCase()+name.substr(1); + if (callbackSymbol in self) { + self[callbackSymbol](); + } + }; + if ((this.state == S.HEADER_FIELD_START && this.index === 0) || + (this.state == S.PART_DATA && this.index == this.boundary.length)) { + callback(this, 'partEnd'); + callback(this, 'end'); + } else if (this.state != S.END) { + return new Error('MultipartParser.end(): stream ended unexpectedly: ' + this.explain()); + } +}; + +MultipartParser.prototype.explain = function() { + return 'state = ' + MultipartParser.stateToString(this.state); +}; + + +/***/ }), + +/***/ 8680: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +var EventEmitter = __nccwpck_require__(8614).EventEmitter + , util = __nccwpck_require__(1669); + +function OctetParser(options){ + if(!(this instanceof OctetParser)) return new OctetParser(options); + EventEmitter.call(this); +} + +util.inherits(OctetParser, EventEmitter); + +exports.h = OctetParser; + +OctetParser.prototype.write = function(buffer) { + this.emit('data', buffer); + return buffer.length; +}; + +OctetParser.prototype.end = function() { + this.emit('end'); +}; + + +/***/ }), + +/***/ 825: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +if (global.GENTLY) __nccwpck_require__(4120) = GENTLY.hijack(require); + +// This is a buffering parser, not quite as nice as the multipart one. +// If I find time I'll rewrite this to be fully streaming as well +var querystring = __nccwpck_require__(1191); + +function QuerystringParser(maxKeys) { + this.maxKeys = maxKeys; + this.buffer = ''; +} +exports.l = QuerystringParser; + +QuerystringParser.prototype.write = function(buffer) { + this.buffer += buffer.toString('ascii'); + return buffer.length; +}; + +QuerystringParser.prototype.end = function() { + var fields = querystring.parse(this.buffer, '&', '=', { maxKeys: this.maxKeys }); + for (var field in fields) { + this.onField(field, fields[field]); + } + this.buffer = ''; + + this.onEnd(); +}; + + + +/***/ }), + +/***/ 9320: +/***/ ((module) => { + +"use strict"; + + +/* eslint no-invalid-this: 1 */ + +var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible '; +var slice = Array.prototype.slice; +var toStr = Object.prototype.toString; +var funcType = '[object Function]'; + +module.exports = function bind(that) { + var target = this; + if (typeof target !== 'function' || toStr.call(target) !== funcType) { + throw new TypeError(ERROR_MESSAGE + target); + } + var args = slice.call(arguments, 1); + + var bound; + var binder = function () { + if (this instanceof bound) { + var result = target.apply( + this, + args.concat(slice.call(arguments)) + ); + if (Object(result) === result) { + return result; + } + return this; + } else { + return target.apply( + that, + args.concat(slice.call(arguments)) + ); + } + }; + + var boundLength = Math.max(0, target.length - args.length); + var boundArgs = []; + for (var i = 0; i < boundLength; i++) { + boundArgs.push('$' + i); + } + + bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder); + + if (target.prototype) { + var Empty = function Empty() {}; + Empty.prototype = target.prototype; + bound.prototype = new Empty(); + Empty.prototype = null; + } + + return bound; +}; + + +/***/ }), + +/***/ 8334: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var implementation = __nccwpck_require__(9320); + +module.exports = Function.prototype.bind || implementation; + + +/***/ }), + +/***/ 4538: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var undefined; + +var $SyntaxError = SyntaxError; +var $Function = Function; +var $TypeError = TypeError; + +// eslint-disable-next-line consistent-return +var getEvalledConstructor = function (expressionSyntax) { + try { + return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')(); + } catch (e) {} +}; + +var $gOPD = Object.getOwnPropertyDescriptor; +if ($gOPD) { + try { + $gOPD({}, ''); + } catch (e) { + $gOPD = null; // this is IE 8, which has a broken gOPD + } +} + +var throwTypeError = function () { + throw new $TypeError(); +}; +var ThrowTypeError = $gOPD + ? (function () { + try { + // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties + arguments.callee; // IE 8 does not throw here + return throwTypeError; + } catch (calleeThrows) { + try { + // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '') + return $gOPD(arguments, 'callee').get; + } catch (gOPDthrows) { + return throwTypeError; + } + } + }()) + : throwTypeError; + +var hasSymbols = __nccwpck_require__(587)(); + +var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto + +var needsEval = {}; + +var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array); + +var INTRINSICS = { + '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError, + '%Array%': Array, + '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer, + '%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined, + '%AsyncFromSyncIteratorPrototype%': undefined, + '%AsyncFunction%': needsEval, + '%AsyncGenerator%': needsEval, + '%AsyncGeneratorFunction%': needsEval, + '%AsyncIteratorPrototype%': needsEval, + '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics, + '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt, + '%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array, + '%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array, + '%Boolean%': Boolean, + '%DataView%': typeof DataView === 'undefined' ? undefined : DataView, + '%Date%': Date, + '%decodeURI%': decodeURI, + '%decodeURIComponent%': decodeURIComponent, + '%encodeURI%': encodeURI, + '%encodeURIComponent%': encodeURIComponent, + '%Error%': Error, + '%eval%': eval, // eslint-disable-line no-eval + '%EvalError%': EvalError, + '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array, + '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array, + '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry, + '%Function%': $Function, + '%GeneratorFunction%': needsEval, + '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array, + '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array, + '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array, + '%isFinite%': isFinite, + '%isNaN%': isNaN, + '%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined, + '%JSON%': typeof JSON === 'object' ? JSON : undefined, + '%Map%': typeof Map === 'undefined' ? undefined : Map, + '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()), + '%Math%': Math, + '%Number%': Number, + '%Object%': Object, + '%parseFloat%': parseFloat, + '%parseInt%': parseInt, + '%Promise%': typeof Promise === 'undefined' ? undefined : Promise, + '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy, + '%RangeError%': RangeError, + '%ReferenceError%': ReferenceError, + '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect, + '%RegExp%': RegExp, + '%Set%': typeof Set === 'undefined' ? undefined : Set, + '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()), + '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer, + '%String%': String, + '%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined, + '%Symbol%': hasSymbols ? Symbol : undefined, + '%SyntaxError%': $SyntaxError, + '%ThrowTypeError%': ThrowTypeError, + '%TypedArray%': TypedArray, + '%TypeError%': $TypeError, + '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array, + '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray, + '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array, + '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array, + '%URIError%': URIError, + '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap, + '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef, + '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet +}; + +try { + null.error; // eslint-disable-line no-unused-expressions +} catch (e) { + // https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229 + var errorProto = getProto(getProto(e)); + INTRINSICS['%Error.prototype%'] = errorProto; +} + +var doEval = function doEval(name) { + var value; + if (name === '%AsyncFunction%') { + value = getEvalledConstructor('async function () {}'); + } else if (name === '%GeneratorFunction%') { + value = getEvalledConstructor('function* () {}'); + } else if (name === '%AsyncGeneratorFunction%') { + value = getEvalledConstructor('async function* () {}'); + } else if (name === '%AsyncGenerator%') { + var fn = doEval('%AsyncGeneratorFunction%'); + if (fn) { + value = fn.prototype; + } + } else if (name === '%AsyncIteratorPrototype%') { + var gen = doEval('%AsyncGenerator%'); + if (gen) { + value = getProto(gen.prototype); + } + } + + INTRINSICS[name] = value; + + return value; +}; + +var LEGACY_ALIASES = { + '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'], + '%ArrayPrototype%': ['Array', 'prototype'], + '%ArrayProto_entries%': ['Array', 'prototype', 'entries'], + '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'], + '%ArrayProto_keys%': ['Array', 'prototype', 'keys'], + '%ArrayProto_values%': ['Array', 'prototype', 'values'], + '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'], + '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'], + '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'], + '%BooleanPrototype%': ['Boolean', 'prototype'], + '%DataViewPrototype%': ['DataView', 'prototype'], + '%DatePrototype%': ['Date', 'prototype'], + '%ErrorPrototype%': ['Error', 'prototype'], + '%EvalErrorPrototype%': ['EvalError', 'prototype'], + '%Float32ArrayPrototype%': ['Float32Array', 'prototype'], + '%Float64ArrayPrototype%': ['Float64Array', 'prototype'], + '%FunctionPrototype%': ['Function', 'prototype'], + '%Generator%': ['GeneratorFunction', 'prototype'], + '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'], + '%Int8ArrayPrototype%': ['Int8Array', 'prototype'], + '%Int16ArrayPrototype%': ['Int16Array', 'prototype'], + '%Int32ArrayPrototype%': ['Int32Array', 'prototype'], + '%JSONParse%': ['JSON', 'parse'], + '%JSONStringify%': ['JSON', 'stringify'], + '%MapPrototype%': ['Map', 'prototype'], + '%NumberPrototype%': ['Number', 'prototype'], + '%ObjectPrototype%': ['Object', 'prototype'], + '%ObjProto_toString%': ['Object', 'prototype', 'toString'], + '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'], + '%PromisePrototype%': ['Promise', 'prototype'], + '%PromiseProto_then%': ['Promise', 'prototype', 'then'], + '%Promise_all%': ['Promise', 'all'], + '%Promise_reject%': ['Promise', 'reject'], + '%Promise_resolve%': ['Promise', 'resolve'], + '%RangeErrorPrototype%': ['RangeError', 'prototype'], + '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'], + '%RegExpPrototype%': ['RegExp', 'prototype'], + '%SetPrototype%': ['Set', 'prototype'], + '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'], + '%StringPrototype%': ['String', 'prototype'], + '%SymbolPrototype%': ['Symbol', 'prototype'], + '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'], + '%TypedArrayPrototype%': ['TypedArray', 'prototype'], + '%TypeErrorPrototype%': ['TypeError', 'prototype'], + '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'], + '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'], + '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'], + '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'], + '%URIErrorPrototype%': ['URIError', 'prototype'], + '%WeakMapPrototype%': ['WeakMap', 'prototype'], + '%WeakSetPrototype%': ['WeakSet', 'prototype'] +}; + +var bind = __nccwpck_require__(8334); +var hasOwn = __nccwpck_require__(6339); +var $concat = bind.call(Function.call, Array.prototype.concat); +var $spliceApply = bind.call(Function.apply, Array.prototype.splice); +var $replace = bind.call(Function.call, String.prototype.replace); +var $strSlice = bind.call(Function.call, String.prototype.slice); +var $exec = bind.call(Function.call, RegExp.prototype.exec); + +/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */ +var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g; +var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */ +var stringToPath = function stringToPath(string) { + var first = $strSlice(string, 0, 1); + var last = $strSlice(string, -1); + if (first === '%' && last !== '%') { + throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`'); + } else if (last === '%' && first !== '%') { + throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`'); + } + var result = []; + $replace(string, rePropName, function (match, number, quote, subString) { + result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match; + }); + return result; +}; +/* end adaptation */ + +var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) { + var intrinsicName = name; + var alias; + if (hasOwn(LEGACY_ALIASES, intrinsicName)) { + alias = LEGACY_ALIASES[intrinsicName]; + intrinsicName = '%' + alias[0] + '%'; + } + + if (hasOwn(INTRINSICS, intrinsicName)) { + var value = INTRINSICS[intrinsicName]; + if (value === needsEval) { + value = doEval(intrinsicName); + } + if (typeof value === 'undefined' && !allowMissing) { + throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!'); + } + + return { + alias: alias, + name: intrinsicName, + value: value + }; + } + + throw new $SyntaxError('intrinsic ' + name + ' does not exist!'); +}; + +module.exports = function GetIntrinsic(name, allowMissing) { + if (typeof name !== 'string' || name.length === 0) { + throw new $TypeError('intrinsic name must be a non-empty string'); + } + if (arguments.length > 1 && typeof allowMissing !== 'boolean') { + throw new $TypeError('"allowMissing" argument must be a boolean'); + } + + if ($exec(/^%?[^%]*%?$/, name) === null) { + throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name'); + } + var parts = stringToPath(name); + var intrinsicBaseName = parts.length > 0 ? parts[0] : ''; + + var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing); + var intrinsicRealName = intrinsic.name; + var value = intrinsic.value; + var skipFurtherCaching = false; + + var alias = intrinsic.alias; + if (alias) { + intrinsicBaseName = alias[0]; + $spliceApply(parts, $concat([0, 1], alias)); + } + + for (var i = 1, isOwn = true; i < parts.length; i += 1) { + var part = parts[i]; + var first = $strSlice(part, 0, 1); + var last = $strSlice(part, -1); + if ( + ( + (first === '"' || first === "'" || first === '`') + || (last === '"' || last === "'" || last === '`') + ) + && first !== last + ) { + throw new $SyntaxError('property names with quotes must have matching quotes'); + } + if (part === 'constructor' || !isOwn) { + skipFurtherCaching = true; + } + + intrinsicBaseName += '.' + part; + intrinsicRealName = '%' + intrinsicBaseName + '%'; + + if (hasOwn(INTRINSICS, intrinsicRealName)) { + value = INTRINSICS[intrinsicRealName]; + } else if (value != null) { + if (!(part in value)) { + if (!allowMissing) { + throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.'); + } + return void undefined; + } + if ($gOPD && (i + 1) >= parts.length) { + var desc = $gOPD(value, part); + isOwn = !!desc; + + // By convention, when a data property is converted to an accessor + // property to emulate a data property that does not suffer from + // the override mistake, that accessor's getter is marked with + // an `originalValue` property. Here, when we detect this, we + // uphold the illusion by pretending to see that original data + // property, i.e., returning the value rather than the getter + // itself. + if (isOwn && 'get' in desc && !('originalValue' in desc.get)) { + value = desc.get; + } else { + value = value[part]; + } + } else { + isOwn = hasOwn(value, part); + value = value[part]; + } + + if (isOwn && !skipFurtherCaching) { + INTRINSICS[intrinsicRealName] = value; + } + } + } + return value; +}; + + +/***/ }), + +/***/ 1621: +/***/ ((module) => { + +"use strict"; + +module.exports = (flag, argv) => { + argv = argv || process.argv; + const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--'); + const pos = argv.indexOf(prefix + flag); + const terminatorPos = argv.indexOf('--'); + return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos); +}; + + +/***/ }), + +/***/ 587: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var origSymbol = typeof Symbol !== 'undefined' && Symbol; +var hasSymbolSham = __nccwpck_require__(7747); + +module.exports = function hasNativeSymbols() { + if (typeof origSymbol !== 'function') { return false; } + if (typeof Symbol !== 'function') { return false; } + if (typeof origSymbol('foo') !== 'symbol') { return false; } + if (typeof Symbol('bar') !== 'symbol') { return false; } + + return hasSymbolSham(); +}; + + +/***/ }), + +/***/ 7747: +/***/ ((module) => { + +"use strict"; + + +/* eslint complexity: [2, 18], max-statements: [2, 33] */ +module.exports = function hasSymbols() { + if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; } + if (typeof Symbol.iterator === 'symbol') { return true; } + + var obj = {}; + var sym = Symbol('test'); + var symObj = Object(sym); + if (typeof sym === 'string') { return false; } + + if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; } + if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; } + + // temp disabled per https://github.com/ljharb/object.assign/issues/17 + // if (sym instanceof Symbol) { return false; } + // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4 + // if (!(symObj instanceof Symbol)) { return false; } + + // if (typeof Symbol.prototype.toString !== 'function') { return false; } + // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; } + + var symVal = 42; + obj[sym] = symVal; + for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop + if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; } + + if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; } + + var syms = Object.getOwnPropertySymbols(obj); + if (syms.length !== 1 || syms[0] !== sym) { return false; } + + if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; } + + if (typeof Object.getOwnPropertyDescriptor === 'function') { + var descriptor = Object.getOwnPropertyDescriptor(obj, sym); + if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; } + } + + return true; +}; + + +/***/ }), + +/***/ 6339: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +var bind = __nccwpck_require__(8334); + +module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty); + + +/***/ }), + +/***/ 8752: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; +/*! + * methods + * Copyright(c) 2013-2014 TJ Holowaychuk + * Copyright(c) 2015-2016 Douglas Christopher Wilson + * MIT Licensed + */ + + + +/** + * Module dependencies. + * @private + */ + +var http = __nccwpck_require__(8605); + +/** + * Module exports. + * @public + */ + +module.exports = getCurrentNodeMethods() || getBasicNodeMethods(); + +/** + * Get the current Node.js methods. + * @private + */ + +function getCurrentNodeMethods() { + return http.METHODS && http.METHODS.map(function lowerCaseMethod(method) { + return method.toLowerCase(); + }); +} + +/** + * Get the "basic" Node.js methods, a snapshot from Node.js 0.10. + * @private + */ + +function getBasicNodeMethods() { + return [ + 'get', + 'post', + 'put', + 'head', + 'delete', + 'options', + 'trace', + 'copy', + 'lock', + 'mkcol', + 'move', + 'purge', + 'propfind', + 'proppatch', + 'unlock', + 'report', + 'mkactivity', + 'checkout', + 'merge', + 'm-search', + 'notify', + 'subscribe', + 'unsubscribe', + 'patch', + 'search', + 'connect' + ]; +} + + +/***/ }), + +/***/ 7426: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +/*! + * mime-db + * Copyright(c) 2014 Jonathan Ong + * MIT Licensed + */ + +/** + * Module exports. + */ + +module.exports = __nccwpck_require__(3313) + + +/***/ }), + +/***/ 3583: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; +/*! + * mime-types + * Copyright(c) 2014 Jonathan Ong + * Copyright(c) 2015 Douglas Christopher Wilson + * MIT Licensed + */ + + + +/** + * Module dependencies. + * @private + */ + +var db = __nccwpck_require__(7426) +var extname = __nccwpck_require__(5622).extname + +/** + * Module variables. + * @private + */ + +var EXTRACT_TYPE_REGEXP = /^\s*([^;\s]*)(?:;|\s|$)/ +var TEXT_TYPE_REGEXP = /^text\//i + +/** + * Module exports. + * @public + */ + +exports.charset = charset +exports.charsets = { lookup: charset } +exports.contentType = contentType +exports.extension = extension +exports.extensions = Object.create(null) +exports.lookup = lookup +exports.types = Object.create(null) + +// Populate the extensions/types maps +populateMaps(exports.extensions, exports.types) + +/** + * Get the default charset for a MIME type. + * + * @param {string} type + * @return {boolean|string} + */ + +function charset (type) { + if (!type || typeof type !== 'string') { + return false + } + + // TODO: use media-typer + var match = EXTRACT_TYPE_REGEXP.exec(type) + var mime = match && db[match[1].toLowerCase()] + + if (mime && mime.charset) { + return mime.charset + } + + // default text/* to utf-8 + if (match && TEXT_TYPE_REGEXP.test(match[1])) { + return 'UTF-8' + } + + return false +} + +/** + * Create a full Content-Type header given a MIME type or extension. + * + * @param {string} str + * @return {boolean|string} + */ + +function contentType (str) { + // TODO: should this even be in this module? + if (!str || typeof str !== 'string') { + return false + } + + var mime = str.indexOf('/') === -1 + ? exports.lookup(str) + : str + + if (!mime) { + return false + } + + // TODO: use content-type or other module + if (mime.indexOf('charset') === -1) { + var charset = exports.charset(mime) + if (charset) mime += '; charset=' + charset.toLowerCase() + } + + return mime +} + +/** + * Get the default extension for a MIME type. + * + * @param {string} type + * @return {boolean|string} + */ + +function extension (type) { + if (!type || typeof type !== 'string') { + return false + } + + // TODO: use media-typer + var match = EXTRACT_TYPE_REGEXP.exec(type) + + // get extensions + var exts = match && exports.extensions[match[1].toLowerCase()] + + if (!exts || !exts.length) { + return false + } + + return exts[0] +} + +/** + * Lookup the MIME type for a file path/extension. + * + * @param {string} path + * @return {boolean|string} + */ + +function lookup (path) { + if (!path || typeof path !== 'string') { + return false + } + + // get the extension ("ext" or ".ext" or full path) + var extension = extname('x.' + path) + .toLowerCase() + .substr(1) + + if (!extension) { + return false + } + + return exports.types[extension] || false +} + +/** + * Populate the extensions and types maps. + * @private + */ + +function populateMaps (extensions, types) { + // source preference (least -> most) + var preference = ['nginx', 'apache', undefined, 'iana'] + + Object.keys(db).forEach(function forEachMimeType (type) { + var mime = db[type] + var exts = mime.extensions + + if (!exts || !exts.length) { + return + } + + // mime -> extensions + extensions[type] = exts + + // extension -> mime + for (var i = 0; i < exts.length; i++) { + var extension = exts[i] + + if (types[extension]) { + var from = preference.indexOf(db[types[extension]].source) + var to = preference.indexOf(mime.source) + + if (types[extension] !== 'application/octet-stream' && + (from > to || (from === to && types[extension].substr(0, 12) === 'application/'))) { + // skip the remapping + continue + } + } + + // set the extension -> mime + types[extension] = type + } + }) +} + + +/***/ }), + +/***/ 6038: +/***/ ((module) => { + +"use strict"; + + +/** + * @param typeMap [Object] Map of MIME type -> Array[extensions] + * @param ... + */ +function Mime() { + this._types = Object.create(null); + this._extensions = Object.create(null); + + for (let i = 0; i < arguments.length; i++) { + this.define(arguments[i]); + } + + this.define = this.define.bind(this); + this.getType = this.getType.bind(this); + this.getExtension = this.getExtension.bind(this); +} + +/** + * Define mimetype -> extension mappings. Each key is a mime-type that maps + * to an array of extensions associated with the type. The first extension is + * used as the default extension for the type. + * + * e.g. mime.define({'audio/ogg', ['oga', 'ogg', 'spx']}); + * + * If a type declares an extension that has already been defined, an error will + * be thrown. To suppress this error and force the extension to be associated + * with the new type, pass `force`=true. Alternatively, you may prefix the + * extension with "*" to map the type to extension, without mapping the + * extension to the type. + * + * e.g. mime.define({'audio/wav', ['wav']}, {'audio/x-wav', ['*wav']}); + * + * + * @param map (Object) type definitions + * @param force (Boolean) if true, force overriding of existing definitions + */ +Mime.prototype.define = function(typeMap, force) { + for (let type in typeMap) { + let extensions = typeMap[type].map(function(t) { + return t.toLowerCase(); + }); + type = type.toLowerCase(); + + for (let i = 0; i < extensions.length; i++) { + const ext = extensions[i]; + + // '*' prefix = not the preferred type for this extension. So fixup the + // extension, and skip it. + if (ext[0] === '*') { + continue; + } + + if (!force && (ext in this._types)) { + throw new Error( + 'Attempt to change mapping for "' + ext + + '" extension from "' + this._types[ext] + '" to "' + type + + '". Pass `force=true` to allow this, otherwise remove "' + ext + + '" from the list of extensions for "' + type + '".' + ); + } + + this._types[ext] = type; + } + + // Use first extension as default + if (force || !this._extensions[type]) { + const ext = extensions[0]; + this._extensions[type] = (ext[0] !== '*') ? ext : ext.substr(1); + } + } +}; + +/** + * Lookup a mime type based on extension + */ +Mime.prototype.getType = function(path) { + path = String(path); + let last = path.replace(/^.*[/\\]/, '').toLowerCase(); + let ext = last.replace(/^.*\./, '').toLowerCase(); + + let hasPath = last.length < path.length; + let hasDot = ext.length < last.length - 1; + + return (hasDot || !hasPath) && this._types[ext] || null; +}; + +/** + * Return file extension associated with a mime type + */ +Mime.prototype.getExtension = function(type) { + type = /^\s*([^;\s]*)/.test(type) && RegExp.$1; + return type && this._extensions[type.toLowerCase()] || null; +}; + +module.exports = Mime; + + +/***/ }), + +/***/ 9994: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +let Mime = __nccwpck_require__(6038); +module.exports = new Mime(__nccwpck_require__(3114), __nccwpck_require__(8809)); + + +/***/ }), + +/***/ 8809: +/***/ ((module) => { + +module.exports = {"application/prs.cww":["cww"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["xfdf"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["mpp","mpt"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.sap.vds":["vds"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]}; + +/***/ }), + +/***/ 3114: +/***/ ((module) => { + +module.exports = {"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["es","ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["mp4s","m4p"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-signature":["asc","sig"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avif":["avif"],"image/bmp":["bmp"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["markdown","md"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]}; + +/***/ }), + +/***/ 900: +/***/ ((module) => { + +/** + * Helpers. + */ + +var s = 1000; +var m = s * 60; +var h = m * 60; +var d = h * 24; +var w = d * 7; +var y = d * 365.25; + +/** + * Parse or format the given `val`. + * + * Options: + * + * - `long` verbose formatting [false] + * + * @param {String|Number} val + * @param {Object} [options] + * @throws {Error} throw an error if val is not a non-empty string or a number + * @return {String|Number} + * @api public + */ + +module.exports = function(val, options) { + options = options || {}; + var type = typeof val; + if (type === 'string' && val.length > 0) { + return parse(val); + } else if (type === 'number' && isFinite(val)) { + return options.long ? fmtLong(val) : fmtShort(val); + } + throw new Error( + 'val is not a non-empty string or a valid number. val=' + + JSON.stringify(val) + ); +}; + +/** + * Parse the given `str` and return milliseconds. + * + * @param {String} str + * @return {Number} + * @api private + */ + +function parse(str) { + str = String(str); + if (str.length > 100) { + return; + } + var match = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec( + str + ); + if (!match) { + return; + } + var n = parseFloat(match[1]); + var type = (match[2] || 'ms').toLowerCase(); + switch (type) { + case 'years': + case 'year': + case 'yrs': + case 'yr': + case 'y': + return n * y; + case 'weeks': + case 'week': + case 'w': + return n * w; + case 'days': + case 'day': + case 'd': + return n * d; + case 'hours': + case 'hour': + case 'hrs': + case 'hr': + case 'h': + return n * h; + case 'minutes': + case 'minute': + case 'mins': + case 'min': + case 'm': + return n * m; + case 'seconds': + case 'second': + case 'secs': + case 'sec': + case 's': + return n * s; + case 'milliseconds': + case 'millisecond': + case 'msecs': + case 'msec': + case 'ms': + return n; + default: + return undefined; + } +} + +/** + * Short format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + +function fmtShort(ms) { + var msAbs = Math.abs(ms); + if (msAbs >= d) { + return Math.round(ms / d) + 'd'; + } + if (msAbs >= h) { + return Math.round(ms / h) + 'h'; + } + if (msAbs >= m) { + return Math.round(ms / m) + 'm'; + } + if (msAbs >= s) { + return Math.round(ms / s) + 's'; + } + return ms + 'ms'; +} + +/** + * Long format for `ms`. + * + * @param {Number} ms + * @return {String} + * @api private + */ + +function fmtLong(ms) { + var msAbs = Math.abs(ms); + if (msAbs >= d) { + return plural(ms, msAbs, d, 'day'); + } + if (msAbs >= h) { + return plural(ms, msAbs, h, 'hour'); + } + if (msAbs >= m) { + return plural(ms, msAbs, m, 'minute'); + } + if (msAbs >= s) { + return plural(ms, msAbs, s, 'second'); + } + return ms + ' ms'; +} + +/** + * Pluralization helper. + */ + +function plural(ms, msAbs, n, name) { + var isPlural = msAbs >= n * 1.5; + return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : ''); +} + + +/***/ }), + +/***/ 504: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var hasMap = typeof Map === 'function' && Map.prototype; +var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null; +var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null; +var mapForEach = hasMap && Map.prototype.forEach; +var hasSet = typeof Set === 'function' && Set.prototype; +var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null; +var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null; +var setForEach = hasSet && Set.prototype.forEach; +var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype; +var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null; +var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype; +var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null; +var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype; +var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null; +var booleanValueOf = Boolean.prototype.valueOf; +var objectToString = Object.prototype.toString; +var functionToString = Function.prototype.toString; +var $match = String.prototype.match; +var $slice = String.prototype.slice; +var $replace = String.prototype.replace; +var $toUpperCase = String.prototype.toUpperCase; +var $toLowerCase = String.prototype.toLowerCase; +var $test = RegExp.prototype.test; +var $concat = Array.prototype.concat; +var $join = Array.prototype.join; +var $arrSlice = Array.prototype.slice; +var $floor = Math.floor; +var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null; +var gOPS = Object.getOwnPropertySymbols; +var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null; +var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object'; +// ie, `has-tostringtag/shams +var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol') + ? Symbol.toStringTag + : null; +var isEnumerable = Object.prototype.propertyIsEnumerable; + +var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ( + [].__proto__ === Array.prototype // eslint-disable-line no-proto + ? function (O) { + return O.__proto__; // eslint-disable-line no-proto + } + : null +); + +function addNumericSeparator(num, str) { + if ( + num === Infinity + || num === -Infinity + || num !== num + || (num && num > -1000 && num < 1000) + || $test.call(/e/, str) + ) { + return str; + } + var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g; + if (typeof num === 'number') { + var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num) + if (int !== num) { + var intStr = String(int); + var dec = $slice.call(str, intStr.length + 1); + return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, ''); + } + } + return $replace.call(str, sepRegex, '$&_'); +} + +var utilInspect = __nccwpck_require__(7265); +var inspectCustom = utilInspect.custom; +var inspectSymbol = isSymbol(inspectCustom) ? inspectCustom : null; + +module.exports = function inspect_(obj, options, depth, seen) { + var opts = options || {}; + + if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) { + throw new TypeError('option "quoteStyle" must be "single" or "double"'); + } + if ( + has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number' + ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity + : opts.maxStringLength !== null + ) + ) { + throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`'); + } + var customInspect = has(opts, 'customInspect') ? opts.customInspect : true; + if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') { + throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`'); + } + + if ( + has(opts, 'indent') + && opts.indent !== null + && opts.indent !== '\t' + && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0) + ) { + throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`'); + } + if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') { + throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`'); + } + var numericSeparator = opts.numericSeparator; + + if (typeof obj === 'undefined') { + return 'undefined'; + } + if (obj === null) { + return 'null'; + } + if (typeof obj === 'boolean') { + return obj ? 'true' : 'false'; + } + + if (typeof obj === 'string') { + return inspectString(obj, opts); + } + if (typeof obj === 'number') { + if (obj === 0) { + return Infinity / obj > 0 ? '0' : '-0'; + } + var str = String(obj); + return numericSeparator ? addNumericSeparator(obj, str) : str; + } + if (typeof obj === 'bigint') { + var bigIntStr = String(obj) + 'n'; + return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr; + } + + var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth; + if (typeof depth === 'undefined') { depth = 0; } + if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') { + return isArray(obj) ? '[Array]' : '[Object]'; + } + + var indent = getIndent(opts, depth); + + if (typeof seen === 'undefined') { + seen = []; + } else if (indexOf(seen, obj) >= 0) { + return '[Circular]'; + } + + function inspect(value, from, noIndent) { + if (from) { + seen = $arrSlice.call(seen); + seen.push(from); + } + if (noIndent) { + var newOpts = { + depth: opts.depth + }; + if (has(opts, 'quoteStyle')) { + newOpts.quoteStyle = opts.quoteStyle; + } + return inspect_(value, newOpts, depth + 1, seen); + } + return inspect_(value, opts, depth + 1, seen); + } + + if (typeof obj === 'function' && !isRegExp(obj)) { // in older engines, regexes are callable + var name = nameOf(obj); + var keys = arrObjKeys(obj, inspect); + return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : ''); + } + if (isSymbol(obj)) { + var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj); + return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString; + } + if (isElement(obj)) { + var s = '<' + $toLowerCase.call(String(obj.nodeName)); + var attrs = obj.attributes || []; + for (var i = 0; i < attrs.length; i++) { + s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts); + } + s += '>'; + if (obj.childNodes && obj.childNodes.length) { s += '...'; } + s += '' + $toLowerCase.call(String(obj.nodeName)) + '>'; + return s; + } + if (isArray(obj)) { + if (obj.length === 0) { return '[]'; } + var xs = arrObjKeys(obj, inspect); + if (indent && !singleLineValues(xs)) { + return '[' + indentedJoin(xs, indent) + ']'; + } + return '[ ' + $join.call(xs, ', ') + ' ]'; + } + if (isError(obj)) { + var parts = arrObjKeys(obj, inspect); + if (!('cause' in Error.prototype) && 'cause' in obj && !isEnumerable.call(obj, 'cause')) { + return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }'; + } + if (parts.length === 0) { return '[' + String(obj) + ']'; } + return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }'; + } + if (typeof obj === 'object' && customInspect) { + if (inspectSymbol && typeof obj[inspectSymbol] === 'function' && utilInspect) { + return utilInspect(obj, { depth: maxDepth - depth }); + } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') { + return obj.inspect(); + } + } + if (isMap(obj)) { + var mapParts = []; + if (mapForEach) { + mapForEach.call(obj, function (value, key) { + mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj)); + }); + } + return collectionOf('Map', mapSize.call(obj), mapParts, indent); + } + if (isSet(obj)) { + var setParts = []; + if (setForEach) { + setForEach.call(obj, function (value) { + setParts.push(inspect(value, obj)); + }); + } + return collectionOf('Set', setSize.call(obj), setParts, indent); + } + if (isWeakMap(obj)) { + return weakCollectionOf('WeakMap'); + } + if (isWeakSet(obj)) { + return weakCollectionOf('WeakSet'); + } + if (isWeakRef(obj)) { + return weakCollectionOf('WeakRef'); + } + if (isNumber(obj)) { + return markBoxed(inspect(Number(obj))); + } + if (isBigInt(obj)) { + return markBoxed(inspect(bigIntValueOf.call(obj))); + } + if (isBoolean(obj)) { + return markBoxed(booleanValueOf.call(obj)); + } + if (isString(obj)) { + return markBoxed(inspect(String(obj))); + } + if (!isDate(obj) && !isRegExp(obj)) { + var ys = arrObjKeys(obj, inspect); + var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object; + var protoTag = obj instanceof Object ? '' : 'null prototype'; + var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : ''; + var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : ''; + var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : ''); + if (ys.length === 0) { return tag + '{}'; } + if (indent) { + return tag + '{' + indentedJoin(ys, indent) + '}'; + } + return tag + '{ ' + $join.call(ys, ', ') + ' }'; + } + return String(obj); +}; + +function wrapQuotes(s, defaultStyle, opts) { + var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '"' : "'"; + return quoteChar + s + quoteChar; +} + +function quote(s) { + return $replace.call(String(s), /"/g, '"'); +} + +function isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } +function isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); } + +// Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives +function isSymbol(obj) { + if (hasShammedSymbols) { + return obj && typeof obj === 'object' && obj instanceof Symbol; + } + if (typeof obj === 'symbol') { + return true; + } + if (!obj || typeof obj !== 'object' || !symToString) { + return false; + } + try { + symToString.call(obj); + return true; + } catch (e) {} + return false; +} + +function isBigInt(obj) { + if (!obj || typeof obj !== 'object' || !bigIntValueOf) { + return false; + } + try { + bigIntValueOf.call(obj); + return true; + } catch (e) {} + return false; +} + +var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; }; +function has(obj, key) { + return hasOwn.call(obj, key); +} + +function toStr(obj) { + return objectToString.call(obj); +} + +function nameOf(f) { + if (f.name) { return f.name; } + var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/); + if (m) { return m[1]; } + return null; +} + +function indexOf(xs, x) { + if (xs.indexOf) { return xs.indexOf(x); } + for (var i = 0, l = xs.length; i < l; i++) { + if (xs[i] === x) { return i; } + } + return -1; +} + +function isMap(x) { + if (!mapSize || !x || typeof x !== 'object') { + return false; + } + try { + mapSize.call(x); + try { + setSize.call(x); + } catch (s) { + return true; + } + return x instanceof Map; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isWeakMap(x) { + if (!weakMapHas || !x || typeof x !== 'object') { + return false; + } + try { + weakMapHas.call(x, weakMapHas); + try { + weakSetHas.call(x, weakSetHas); + } catch (s) { + return true; + } + return x instanceof WeakMap; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isWeakRef(x) { + if (!weakRefDeref || !x || typeof x !== 'object') { + return false; + } + try { + weakRefDeref.call(x); + return true; + } catch (e) {} + return false; +} + +function isSet(x) { + if (!setSize || !x || typeof x !== 'object') { + return false; + } + try { + setSize.call(x); + try { + mapSize.call(x); + } catch (m) { + return true; + } + return x instanceof Set; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isWeakSet(x) { + if (!weakSetHas || !x || typeof x !== 'object') { + return false; + } + try { + weakSetHas.call(x, weakSetHas); + try { + weakMapHas.call(x, weakMapHas); + } catch (s) { + return true; + } + return x instanceof WeakSet; // core-js workaround, pre-v2.5.0 + } catch (e) {} + return false; +} + +function isElement(x) { + if (!x || typeof x !== 'object') { return false; } + if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) { + return true; + } + return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function'; +} + +function inspectString(str, opts) { + if (str.length > opts.maxStringLength) { + var remaining = str.length - opts.maxStringLength; + var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : ''); + return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer; + } + // eslint-disable-next-line no-control-regex + var s = $replace.call($replace.call(str, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, lowbyte); + return wrapQuotes(s, 'single', opts); +} + +function lowbyte(c) { + var n = c.charCodeAt(0); + var x = { + 8: 'b', + 9: 't', + 10: 'n', + 12: 'f', + 13: 'r' + }[n]; + if (x) { return '\\' + x; } + return '\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16)); +} + +function markBoxed(str) { + return 'Object(' + str + ')'; +} + +function weakCollectionOf(type) { + return type + ' { ? }'; +} + +function collectionOf(type, size, entries, indent) { + var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', '); + return type + ' (' + size + ') {' + joinedEntries + '}'; +} + +function singleLineValues(xs) { + for (var i = 0; i < xs.length; i++) { + if (indexOf(xs[i], '\n') >= 0) { + return false; + } + } + return true; +} + +function getIndent(opts, depth) { + var baseIndent; + if (opts.indent === '\t') { + baseIndent = '\t'; + } else if (typeof opts.indent === 'number' && opts.indent > 0) { + baseIndent = $join.call(Array(opts.indent + 1), ' '); + } else { + return null; + } + return { + base: baseIndent, + prev: $join.call(Array(depth + 1), baseIndent) + }; +} + +function indentedJoin(xs, indent) { + if (xs.length === 0) { return ''; } + var lineJoiner = '\n' + indent.prev + indent.base; + return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\n' + indent.prev; +} + +function arrObjKeys(obj, inspect) { + var isArr = isArray(obj); + var xs = []; + if (isArr) { + xs.length = obj.length; + for (var i = 0; i < obj.length; i++) { + xs[i] = has(obj, i) ? inspect(obj[i], obj) : ''; + } + } + var syms = typeof gOPS === 'function' ? gOPS(obj) : []; + var symMap; + if (hasShammedSymbols) { + symMap = {}; + for (var k = 0; k < syms.length; k++) { + symMap['$' + syms[k]] = syms[k]; + } + } + + for (var key in obj) { // eslint-disable-line no-restricted-syntax + if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue + if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue + if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) { + // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section + continue; // eslint-disable-line no-restricted-syntax, no-continue + } else if ($test.call(/[^\w$]/, key)) { + xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj)); + } else { + xs.push(key + ': ' + inspect(obj[key], obj)); + } + } + if (typeof gOPS === 'function') { + for (var j = 0; j < syms.length; j++) { + if (isEnumerable.call(obj, syms[j])) { + xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj)); + } + } + } + return xs; +} + + +/***/ }), + +/***/ 7265: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +module.exports = __nccwpck_require__(1669).inspect; + + +/***/ }), + +/***/ 4369: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.default = void 0; +var _superagent = _interopRequireDefault(__nccwpck_require__(1524)); +var _querystring = _interopRequireDefault(__nccwpck_require__(1191)); +function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { + "default": obj + }; +} +function _typeof(obj) { + "@babel/helpers - typeof"; + + return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { + return typeof obj; + } : function (obj) { + return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; + }, _typeof(obj); +} +function _classCallCheck(instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a 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); + } +} +function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + Object.defineProperty(Constructor, "prototype", { + writable: false + }); + return Constructor; +} +/** + * @module ApiClient + * @version latest + */ +/** + * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an + * application to use this class directly - the *Api and model classes provide the public API for the service. The + * contents of this file should be regarded as internal but are documented for completeness. + * @alias module:ApiClient + * @class + */ +var ApiClient = /*#__PURE__*/function () { + /** + * The base URL against which to resolve every API call's (relative) path. + * Overrides the default value set in spec file if present + * @param {String} basePath + */ + function ApiClient() { + var basePath = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'http://localhost'; + _classCallCheck(this, ApiClient); + /** + * The base URL against which to resolve every API call's (relative) path. + * @type {String} + * @default http://localhost + */ + this.basePath = basePath.replace(/\/+$/, ''); + + /** + * The authentication methods to be included for all API calls. + * @type {Array.param
.
+ */
+ _createClass(ApiClient, [{
+ key: "paramToString",
+ value: function paramToString(param) {
+ if (param == undefined || param == null) {
+ return '';
+ }
+ if (param instanceof Date) {
+ return param.toJSON();
+ }
+ if (ApiClient.canBeJsonified(param)) {
+ return JSON.stringify(param);
+ }
+ return param.toString();
+ }
+
+ /**
+ * Returns a boolean indicating if the parameter could be JSON.stringified
+ * @param param The actual parameter
+ * @returns {Boolean} Flag indicating if param
can be JSON.stringified
+ */
+ }, {
+ key: "buildUrl",
+ value:
+ /**
+ * Builds full URL by appending the given path to the base URL and replacing path parameter place-holders with parameter values.
+ * NOTE: query parameters are not handled here.
+ * @param {String} path The path to append to the base URL.
+ * @param {Object} pathParams The parameter values to append.
+ * @param {String} apiBasePath Base path defined in the path, operation level to override the default one
+ * @returns {String} The encoded path with parameter values substituted.
+ */
+ function buildUrl(path, pathParams, apiBasePath) {
+ var _this = this;
+ if (!path.match(/^\//)) {
+ path = '/' + path;
+ }
+ var url = this.basePath + path;
+
+ // use API (operation, path) base path if defined
+ if (apiBasePath !== null && apiBasePath !== undefined) {
+ url = apiBasePath + path;
+ }
+ url = url.replace(/\{([\w-\.]+)\}/g, function (fullMatch, key) {
+ var value;
+ if (pathParams.hasOwnProperty(key)) {
+ value = _this.paramToString(pathParams[key]);
+ } else {
+ value = fullMatch;
+ }
+ return encodeURIComponent(value);
+ });
+ return url;
+ }
+
+ /**
+ * Checks whether the given content type represents JSON.true
if contentType
represents JSON, otherwise false
.
+ */
+ }, {
+ key: "isJsonMime",
+ value: function isJsonMime(contentType) {
+ return Boolean(contentType != null && contentType.match(/^application\/json(;.*)?$/i));
+ }
+
+ /**
+ * Chooses a content type from the given array, with JSON preferred; i.e. return JSON if included, otherwise return the first.
+ * @param {Array.true
if param
represents a file.
+ */
+ }, {
+ key: "isFileParam",
+ value: function isFileParam(param) {
+ // fs.ReadStream in Node.js and Electron (but not in runtime like browserify)
+ if (true) {
+ var fs;
+ try {
+ fs = __nccwpck_require__(5747);
+ } catch (err) {}
+ if (fs && fs.ReadStream && param instanceof fs.ReadStream) {
+ return true;
+ }
+ }
+
+ // Buffer in Node.js
+ if (typeof Buffer === 'function' && param instanceof Buffer) {
+ return true;
+ }
+
+ // Blob in browser
+ if (typeof Blob === 'function' && param instanceof Blob) {
+ return true;
+ }
+
+ // File in browser (it seems File object is also instance of Blob, but keep this for safe)
+ if (typeof File === 'function' && param instanceof File) {
+ return true;
+ }
+ return false;
+ }
+
+ /**
+ * Normalizes parameter values:
+ * param
as is if collectionFormat
is multi
.
+ */
+ }, {
+ key: "buildCollectionParam",
+ value: function buildCollectionParam(param, collectionFormat) {
+ if (param == null) {
+ return null;
+ }
+ switch (collectionFormat) {
+ case 'csv':
+ return param.map(this.paramToString, this).join(',');
+ case 'ssv':
+ return param.map(this.paramToString, this).join(' ');
+ case 'tsv':
+ return param.map(this.paramToString, this).join('\t');
+ case 'pipes':
+ return param.map(this.paramToString, this).join('|');
+ case 'multi':
+ //return the array directly as SuperAgent will handle it as expected
+ return param.map(this.paramToString, this);
+ case 'passthrough':
+ return param;
+ default:
+ throw new Error('Unknown collection format: ' + collectionFormat);
+ }
+ }
+
+ /**
+ * Applies authentication headers to the request.
+ * @param {Object} request The request object created by a superagent()
call.
+ * @param {Array.data will be converted to this type.
+ * @returns A value of the specified type.
+ */
+ }, {
+ key: "deserialize",
+ value: function deserialize(response, returnType) {
+ if (response == null || returnType == null || response.status == 204) {
+ return null;
+ }
+
+ // Rely on SuperAgent for parsing response body.
+ // See http://visionmedia.github.io/superagent/#parsing-response-bodies
+ var data = response.body;
+ if (data == null || _typeof(data) === 'object' && typeof data.length === 'undefined' && !Object.keys(data).length) {
+ // SuperAgent does not always produce a body; use the unparsed response as a fallback
+ data = response.text;
+ }
+ return ApiClient.convertToType(data, returnType);
+ }
+
+ /**
+ * Callback function to receive the result of the operation.
+ * @callback module:ApiClient~callApiCallback
+ * @param {String} error Error message, if any.
+ * @param data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Invokes the REST service using the supplied settings and parameters.
+ * @param {String} path The base URL to invoke.
+ * @param {String} httpMethod The HTTP method to use.
+ * @param {Object.} pathParams A map of path parameters and their values.
+ * @param {Object.} queryParams A map of query parameters and their values.
+ * @param {Object.} headerParams A map of header parameters and their values.
+ * @param {Object.} formParams A map of form parameters and their values.
+ * @param {Object} bodyParam The value to pass as the request body.
+ * @param {Array.} authNames An array of authentication type names.
+ * @param {Array.} contentTypes An array of request MIME types.
+ * @param {Array.} accepts An array of acceptable response MIME types.
+ * @param {(String|Array|ObjectFunction)} returnType The required type to return; can be a string for simple types or the
+ * constructor for a complex type.
+ * @param {String} apiBasePath base path defined in the operation/path level to override the default one
+ * @param {module:ApiClient~callApiCallback} callback The callback function.
+ * @returns {Object} The SuperAgent request object.
+ */
+ }, {
+ key: "callApi",
+ value: function callApi(path, httpMethod, pathParams, queryParams, headerParams, formParams, bodyParam, authNames, contentTypes, accepts, returnType, apiBasePath, callback) {
+ var _this3 = this;
+ var url = this.buildUrl(path, pathParams, apiBasePath);
+ var request = (0, _superagent["default"])(httpMethod, url);
+ if (this.plugins !== null) {
+ for (var index in this.plugins) {
+ if (this.plugins.hasOwnProperty(index)) {
+ request.use(this.plugins[index]);
+ }
+ }
+ }
+
+ // apply authentications
+ this.applyAuthToRequest(request, authNames);
+
+ // set query parameters
+ if (httpMethod.toUpperCase() === 'GET' && this.cache === false) {
+ queryParams['_'] = new Date().getTime();
+ }
+ request.query(this.normalizeParams(queryParams));
+
+ // set header parameters
+ request.set(this.defaultHeaders).set(this.normalizeParams(headerParams));
+
+ // set requestAgent if it is set by user
+ if (this.requestAgent) {
+ request.agent(this.requestAgent);
+ }
+
+ // set request timeout
+ request.timeout(this.timeout);
+ var contentType = this.jsonPreferredMime(contentTypes);
+ if (contentType) {
+ // Issue with superagent and multipart/form-data (https://github.com/visionmedia/superagent/issues/746)
+ if (contentType != 'multipart/form-data') {
+ request.type(contentType);
+ }
+ }
+ if (contentType === 'application/x-www-form-urlencoded') {
+ request.send(_querystring["default"].stringify(this.normalizeParams(formParams)));
+ } else if (contentType == 'multipart/form-data') {
+ var _formParams = this.normalizeParams(formParams);
+ for (var key in _formParams) {
+ if (_formParams.hasOwnProperty(key)) {
+ var _formParamsValue = _formParams[key];
+ if (this.isFileParam(_formParamsValue)) {
+ // file field
+ request.attach(key, _formParamsValue);
+ } else if (Array.isArray(_formParamsValue) && _formParamsValue.length && this.isFileParam(_formParamsValue[0])) {
+ // multiple files
+ _formParamsValue.forEach(function (file) {
+ return request.attach(key, file);
+ });
+ } else {
+ request.field(key, _formParamsValue);
+ }
+ }
+ }
+ } else if (bodyParam !== null && bodyParam !== undefined) {
+ if (!request.header['Content-Type']) {
+ request.type('application/json');
+ }
+ console.debug("Sending the following body: ".concat(JSON.stringify(bodyParam)));
+ request.send(JSON.stringify(bodyParam));
+ }
+ var accept = this.jsonPreferredMime(accepts);
+ if (accept) {
+ request.accept(accept);
+ }
+ if (returnType === 'Blob') {
+ request.responseType('blob');
+ } else if (returnType === 'String') {
+ request.responseType('text');
+ }
+
+ // Attach previously saved cookies, if enabled
+ if (this.enableCookies) {
+ if (typeof window === 'undefined') {
+ this.agent._attachCookies(request);
+ } else {
+ request.withCredentials();
+ }
+ }
+ request.end(function (error, response) {
+ if (callback) {
+ var data = null;
+ if (!error) {
+ try {
+ data = _this3.deserialize(response, returnType);
+ console.info(response.text);
+ if (_this3.enableCookies && typeof window === 'undefined') {
+ _this3.agent._saveCookies(response);
+ }
+ } catch (err) {
+ error = err;
+ }
+ }
+ callback(error, data, response);
+ }
+ });
+ return request;
+ }
+
+ /**
+ * Parses an ISO-8601 string representation or epoch representation of a date value.
+ * @param {String} str The date value as a string.
+ * @returns {Date} The parsed date object.
+ */
+ }, {
+ key: "hostSettings",
+ value:
+ /**
+ * Gets an array of host settings
+ * @returns An array of host settings
+ */
+ function hostSettings() {
+ return [{
+ 'url': "",
+ 'description': "No description provided"
+ }];
+ }
+ }, {
+ key: "getBasePathFromSettings",
+ value: function getBasePathFromSettings(index) {
+ var variables = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
+ var servers = this.hostSettings();
+
+ // check array index out of bound
+ if (index < 0 || index >= servers.length) {
+ throw new Error("Invalid index " + index + " when selecting the host settings. Must be less than " + servers.length);
+ }
+ var server = servers[index];
+ var url = server['url'];
+
+ // go through variable and assign a value
+ for (var variable_name in server['variables']) {
+ if (variable_name in variables) {
+ var variable = server['variables'][variable_name];
+ if (!('enum_values' in variable) || variable['enum_values'].includes(variables[variable_name])) {
+ url = url.replace("{" + variable_name + "}", variables[variable_name]);
+ } else {
+ throw new Error("The variable `" + variable_name + "` in the host URL has invalid value " + variables[variable_name] + ". Must be " + server['variables'][variable_name]['enum_values'] + ".");
+ }
+ } else {
+ // use default value
+ url = url.replace("{" + variable_name + "}", server['variables'][variable_name]['default_value']);
+ }
+ }
+ return url;
+ }
+
+ /**
+ * Constructs a new map or array model from REST data.
+ * @param data {Object|Array} The REST data.
+ * @param obj {Object|Array} The target object or array.
+ */
+ }], [{
+ key: "canBeJsonified",
+ value: function canBeJsonified(str) {
+ if (typeof str !== 'string' && _typeof(str) !== 'object') return false;
+ try {
+ var type = str.toString();
+ return type === '[object Object]' || type === '[object Array]';
+ } catch (err) {
+ return false;
+ }
+ }
+ }, {
+ key: "parseDate",
+ value: function parseDate(str) {
+ if (isNaN(str)) {
+ return new Date(str.replace(/(\d)(T)(\d)/i, '$1 $3'));
+ }
+ return new Date(+str);
+ }
+
+ /**
+ * Converts a value to the specified type.
+ * @param {(String|Object)} data The data to convert, as a string or object.
+ * @param {(String|Array.|Object.|Function)} type The type to return. Pass a string for simple types
+ * or the constructor function for a complex type. Pass an array containing the type name to return an array of that type. To
+ * return an object, pass an object with one property whose name is the key type and whose value is the corresponding value type:
+ * all properties on data will be converted to this type.
+ * @returns An instance of the specified type or null or undefined if data is null or undefined.
+ */
+ }, {
+ key: "convertToType",
+ value: function convertToType(data, type) {
+ if (data === null || data === undefined) return data;
+ switch (type) {
+ case 'Boolean':
+ return Boolean(data);
+ case 'Integer':
+ return parseInt(data, 10);
+ case 'Number':
+ return parseFloat(data);
+ case 'String':
+ return String(data);
+ case 'Date':
+ return ApiClient.parseDate(String(data));
+ case 'Blob':
+ return data;
+ default:
+ if (type === Object) {
+ // generic object, return directly
+ return data;
+ } else if (typeof type.constructFromObject === 'function') {
+ // for model type like User and enum class
+ return type.constructFromObject(data);
+ } else if (Array.isArray(type)) {
+ // for array type like: ['String']
+ var itemType = type[0];
+ return data.map(function (item) {
+ return ApiClient.convertToType(item, itemType);
+ });
+ } else if (_typeof(type) === 'object') {
+ // for plain object type like: {'String': 'Integer'}
+ var keyType, valueType;
+ for (var k in type) {
+ if (type.hasOwnProperty(k)) {
+ keyType = k;
+ valueType = type[k];
+ break;
+ }
+ }
+ var result = {};
+ for (var k in data) {
+ if (data.hasOwnProperty(k)) {
+ var key = ApiClient.convertToType(k, keyType);
+ var value = ApiClient.convertToType(data[k], valueType);
+ result[key] = value;
+ }
+ }
+ return result;
+ } else {
+ // for unknown type, return the data directly
+ return data;
+ }
+ }
+ }
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj, itemType) {
+ if (Array.isArray(data)) {
+ for (var i = 0; i < data.length; i++) {
+ if (data.hasOwnProperty(i)) obj[i] = ApiClient.convertToType(data[i], itemType);
+ }
+ } else {
+ for (var k in data) {
+ if (data.hasOwnProperty(k)) obj[k] = ApiClient.convertToType(data[k], itemType);
+ }
+ }
+ }
+ }]);
+ return ApiClient;
+}();
+/**
+ * Enumeration of collection format separator strategies.
+ * @enum {String}
+ * @readonly
+ */
+ApiClient.CollectionFormatEnum = {
+ /**
+ * Comma-separated values. Value: csv
+ * @const
+ */
+ CSV: ',',
+ /**
+ * Space-separated values. Value: ssv
+ * @const
+ */
+ SSV: ' ',
+ /**
+ * Tab-separated values. Value: tsv
+ * @const
+ */
+ TSV: '\t',
+ /**
+ * Pipe(|)-separated values. Value: pipes
+ * @const
+ */
+ PIPES: '|',
+ /**
+ * Native array. Value: multi
+ * @const
+ */
+ MULTI: 'multi'
+};
+
+/**
+ * The default API client implementation.
+ * @type {module:ApiClient}
+ */
+ApiClient.instance = new ApiClient();
+var _default = ApiClient;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 8085:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _AbbreviatedAssessmentListResponse = _interopRequireDefault(__nccwpck_require__(6566));
+var _StatsAggregatedResponse = _interopRequireDefault(__nccwpck_require__(9577));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+* Assessments service.
+* @module api/AssessmentsApi
+* @version latest
+*/
+var AssessmentsApi = /*#__PURE__*/function () {
+ /**
+ * Constructs a new AssessmentsApi.
+ * @alias module:api/AssessmentsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ function AssessmentsApi(apiClient) {
+ _classCallCheck(this, AssessmentsApi);
+ this.apiClient = apiClient || _ApiClient["default"].instance;
+ }
+
+ /**
+ * Callback function to receive the result of the v1AssessmentsGet operation.
+ * @callback module:api/AssessmentsApi~v1AssessmentsGetCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/AbbreviatedAssessmentListResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * List assessments
+ * Lists assessments for given job definition
+ * @param {module:api/AssessmentsApi~v1AssessmentsGetCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/AbbreviatedAssessmentListResponse}
+ */
+ _createClass(AssessmentsApi, [{
+ key: "v1AssessmentsGet",
+ value: function v1AssessmentsGet(callback) {
+ var postBody = null;
+ var pathParams = {};
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _AbbreviatedAssessmentListResponse["default"];
+ return this.apiClient.callApi('/v1/assessments', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1ProjectsStatsAggregatedGet operation.
+ * @callback module:api/AssessmentsApi~v1ProjectsStatsAggregatedGetCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/StatsAggregatedResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * List aggregated projects stats
+ * Lists aggregated statistics for an org's projects
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.projectIds
+ * @param {module:api/AssessmentsApi~v1ProjectsStatsAggregatedGetCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/StatsAggregatedResponse}
+ */
+ }, {
+ key: "v1ProjectsStatsAggregatedGet",
+ value: function v1ProjectsStatsAggregatedGet(opts, callback) {
+ opts = opts || {};
+ var postBody = null;
+ var pathParams = {};
+ var queryParams = {
+ 'project_ids': opts['projectIds']
+ };
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _StatsAggregatedResponse["default"];
+ return this.apiClient.callApi('/v1/projects/stats_aggregated', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+ }]);
+ return AssessmentsApi;
+}();
+exports.default = AssessmentsApi;
+
+/***/ }),
+
+/***/ 6146:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _Connection = _interopRequireDefault(__nccwpck_require__(4797));
+var _ConnectionList = _interopRequireDefault(__nccwpck_require__(1120));
+var _ConnectionResponse = _interopRequireDefault(__nccwpck_require__(802));
+var _NamespaceListResponse = _interopRequireDefault(__nccwpck_require__(670));
+var _TablesListResponse = _interopRequireDefault(__nccwpck_require__(3690));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+* Connections service.
+* @module api/ConnectionsApi
+* @version latest
+*/
+var ConnectionsApi = /*#__PURE__*/function () {
+ /**
+ * Constructs a new ConnectionsApi.
+ * @alias module:api/ConnectionsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ function ConnectionsApi(apiClient) {
+ _classCallCheck(this, ConnectionsApi);
+ this.apiClient = apiClient || _ApiClient["default"].instance;
+ }
+
+ /**
+ * Callback function to receive the result of the v1ConnectionsConnectionIdDelete operation.
+ * @callback module:api/ConnectionsApi~v1ConnectionsConnectionIdDeleteCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Delete connection
+ * Delete connection
+ * @param {String} connectionId
+ * @param {module:api/ConnectionsApi~v1ConnectionsConnectionIdDeleteCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ _createClass(ConnectionsApi, [{
+ key: "v1ConnectionsConnectionIdDelete",
+ value: function v1ConnectionsConnectionIdDelete(connectionId, callback) {
+ var postBody = null;
+ // verify the required parameter 'connectionId' is set
+ if (connectionId === undefined || connectionId === null) {
+ throw new Error("Missing the required parameter 'connectionId' when calling v1ConnectionsConnectionIdDelete");
+ }
+ var pathParams = {
+ 'connection_id': connectionId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = [];
+ var returnType = null;
+ return this.apiClient.callApi('/v1/connections/{connection_id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1ConnectionsConnectionIdNamespacesGet operation.
+ * @callback module:api/ConnectionsApi~v1ConnectionsConnectionIdNamespacesGetCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/NamespaceListResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get namespaces for a given connection_id
+ * @param {String} connectionId
+ * @param {module:api/ConnectionsApi~v1ConnectionsConnectionIdNamespacesGetCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/NamespaceListResponse}
+ */
+ }, {
+ key: "v1ConnectionsConnectionIdNamespacesGet",
+ value: function v1ConnectionsConnectionIdNamespacesGet(connectionId, callback) {
+ var postBody = null;
+ // verify the required parameter 'connectionId' is set
+ if (connectionId === undefined || connectionId === null) {
+ throw new Error("Missing the required parameter 'connectionId' when calling v1ConnectionsConnectionIdNamespacesGet");
+ }
+ var pathParams = {
+ 'connection_id': connectionId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _NamespaceListResponse["default"];
+ return this.apiClient.callApi('/v1/connections/{connection_id}/namespaces', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1ConnectionsConnectionIdPut operation.
+ * @callback module:api/ConnectionsApi~v1ConnectionsConnectionIdPutCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/ConnectionResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Update connection
+ * Update connection
+ * @param {String} connectionId
+ * @param {Object} opts Optional parameters
+ * @param {module:model/Connection} opts.connection
+ * @param {module:api/ConnectionsApi~v1ConnectionsConnectionIdPutCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/ConnectionResponse}
+ */
+ }, {
+ key: "v1ConnectionsConnectionIdPut",
+ value: function v1ConnectionsConnectionIdPut(connectionId, opts, callback) {
+ opts = opts || {};
+ var postBody = opts['connection'];
+ // verify the required parameter 'connectionId' is set
+ if (connectionId === undefined || connectionId === null) {
+ throw new Error("Missing the required parameter 'connectionId' when calling v1ConnectionsConnectionIdPut");
+ }
+ var pathParams = {
+ 'connection_id': connectionId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = ['application/json'];
+ var accepts = ['application/json'];
+ var returnType = _ConnectionResponse["default"];
+ return this.apiClient.callApi('/v1/connections/{connection_id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1ConnectionsConnectionIdTablesGet operation.
+ * @callback module:api/ConnectionsApi~v1ConnectionsConnectionIdTablesGetCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/TablesListResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * List of tables with name, table type, and a list of columns for the table with column data type and (optionally) detected PII types for each column
+ * Get tables and related data for a given connection_id/namespace
+ * @param {String} connectionId
+ * @param {String} namespaceJson
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.tableName
+ * @param {Boolean} opts.excludeColumns
+ * @param {Boolean} opts.includePiiInfo
+ * @param {Number} opts.fetchRows
+ * @param {module:api/ConnectionsApi~v1ConnectionsConnectionIdTablesGetCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/TablesListResponse}
+ */
+ }, {
+ key: "v1ConnectionsConnectionIdTablesGet",
+ value: function v1ConnectionsConnectionIdTablesGet(connectionId, namespaceJson, opts, callback) {
+ opts = opts || {};
+ var postBody = null;
+ // verify the required parameter 'connectionId' is set
+ if (connectionId === undefined || connectionId === null) {
+ throw new Error("Missing the required parameter 'connectionId' when calling v1ConnectionsConnectionIdTablesGet");
+ }
+ // verify the required parameter 'namespaceJson' is set
+ if (namespaceJson === undefined || namespaceJson === null) {
+ throw new Error("Missing the required parameter 'namespaceJson' when calling v1ConnectionsConnectionIdTablesGet");
+ }
+ var pathParams = {
+ 'connection_id': connectionId
+ };
+ var queryParams = {
+ 'namespace_json': namespaceJson,
+ 'table_name': opts['tableName'],
+ 'exclude_columns': opts['excludeColumns'],
+ 'include_pii_info': opts['includePiiInfo'],
+ 'fetch_rows': opts['fetchRows']
+ };
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _TablesListResponse["default"];
+ return this.apiClient.callApi('/v1/connections/{connection_id}/tables', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1ConnectionsGet operation.
+ * @callback module:api/ConnectionsApi~v1ConnectionsGetCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/ConnectionList} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * List data connections
+ * List connection metadata
+ * @param {Object} opts Optional parameters
+ * @param {Boolean} opts.deleted
+ * @param {module:api/ConnectionsApi~v1ConnectionsGetCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/ConnectionList}
+ */
+ }, {
+ key: "v1ConnectionsGet",
+ value: function v1ConnectionsGet(opts, callback) {
+ opts = opts || {};
+ var postBody = null;
+ var pathParams = {};
+ var queryParams = {
+ 'deleted': opts['deleted']
+ };
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _ConnectionList["default"];
+ return this.apiClient.callApi('/v1/connections', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1ConnectionsPost operation.
+ * @callback module:api/ConnectionsApi~v1ConnectionsPostCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/ConnectionResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Create connection
+ * Create connection
+ * @param {Object} opts Optional parameters
+ * @param {module:model/Connection} opts.connection
+ * @param {module:api/ConnectionsApi~v1ConnectionsPostCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/ConnectionResponse}
+ */
+ }, {
+ key: "v1ConnectionsPost",
+ value: function v1ConnectionsPost(opts, callback) {
+ opts = opts || {};
+ var postBody = opts['connection'];
+ var pathParams = {};
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = ['application/json'];
+ var accepts = ['application/json'];
+ var returnType = _ConnectionResponse["default"];
+ return this.apiClient.callApi('/v1/connections', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+ }]);
+ return ConnectionsApi;
+}();
+exports.default = ConnectionsApi;
+
+/***/ }),
+
+/***/ 263:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _AbbreviatedAssessmentListResponse = _interopRequireDefault(__nccwpck_require__(6566));
+var _DatasetList = _interopRequireDefault(__nccwpck_require__(836));
+var _JobRunResponse = _interopRequireDefault(__nccwpck_require__(6539));
+var _StatsAggregatedResponse = _interopRequireDefault(__nccwpck_require__(9577));
+var _V1JobRunsGet200Response = _interopRequireDefault(__nccwpck_require__(3984));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+* Datasets service.
+* @module api/DatasetsApi
+* @version latest
+*/
+var DatasetsApi = /*#__PURE__*/function () {
+ /**
+ * Constructs a new DatasetsApi.
+ * @alias module:api/DatasetsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ function DatasetsApi(apiClient) {
+ _classCallCheck(this, DatasetsApi);
+ this.apiClient = apiClient || _ApiClient["default"].instance;
+ }
+
+ /**
+ * Callback function to receive the result of the v1AssessmentsGet operation.
+ * @callback module:api/DatasetsApi~v1AssessmentsGetCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/AbbreviatedAssessmentListResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * List assessments
+ * Lists assessments for given job definition
+ * @param {module:api/DatasetsApi~v1AssessmentsGetCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/AbbreviatedAssessmentListResponse}
+ */
+ _createClass(DatasetsApi, [{
+ key: "v1AssessmentsGet",
+ value: function v1AssessmentsGet(callback) {
+ var postBody = null;
+ var pathParams = {};
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _AbbreviatedAssessmentListResponse["default"];
+ return this.apiClient.callApi('/v1/assessments', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1DatasetsGet operation.
+ * @callback module:api/DatasetsApi~v1DatasetsGetCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/DatasetList} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * List job definitions with their latest assessment
+ * Returns a summary for each job definition containing data about the job definition, its project, its connections, and its latest assessment
+ * @param {module:api/DatasetsApi~v1DatasetsGetCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/DatasetList}
+ */
+ }, {
+ key: "v1DatasetsGet",
+ value: function v1DatasetsGet(callback) {
+ var postBody = null;
+ var pathParams = {};
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _DatasetList["default"];
+ return this.apiClient.callApi('/v1/datasets', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1JobRunsGet operation.
+ * @callback module:api/DatasetsApi~v1JobRunsGetCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/V1JobRunsGet200Response} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Job Runs
+ * Returns data for job runs
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.projectId Accepts zero or more singletons (param=x¶m=y&...).
+ * @param {String} opts.jobDefinitionId Accepts zero or more singletons (param=x¶m=y&...).
+ * @param {Boolean} opts.latest
+ * @param {String} opts.status
+ * @param {Boolean} opts.condensed
+ * @param {String} opts.expand Accepts zero or more singletons (param=x¶m=y&...).
+ * @param {Number} opts.limit
+ * @param {module:api/DatasetsApi~v1JobRunsGetCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/V1JobRunsGet200Response}
+ */
+ }, {
+ key: "v1JobRunsGet",
+ value: function v1JobRunsGet(opts, callback) {
+ opts = opts || {};
+ var postBody = null;
+ var pathParams = {};
+ var queryParams = {
+ 'project_id': opts['projectId'],
+ 'job_definition_id': opts['jobDefinitionId'],
+ 'latest': opts['latest'],
+ 'status': opts['status'],
+ 'condensed': opts['condensed'],
+ 'expand': opts['expand'],
+ 'limit': opts['limit']
+ };
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _V1JobRunsGet200Response["default"];
+ return this.apiClient.callApi('/v1/job_runs', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1JobRunsJobRunIdGet operation.
+ * @callback module:api/DatasetsApi~v1JobRunsJobRunIdGetCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/JobRunResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Job Run
+ * Returns detailed data for individual job run
+ * @param {String} jobRunId
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.expand Accepts zero or more singletons (param=x¶m=y&...).
+ * @param {module:api/DatasetsApi~v1JobRunsJobRunIdGetCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/JobRunResponse}
+ */
+ }, {
+ key: "v1JobRunsJobRunIdGet",
+ value: function v1JobRunsJobRunIdGet(jobRunId, opts, callback) {
+ opts = opts || {};
+ var postBody = null;
+ // verify the required parameter 'jobRunId' is set
+ if (jobRunId === undefined || jobRunId === null) {
+ throw new Error("Missing the required parameter 'jobRunId' when calling v1JobRunsJobRunIdGet");
+ }
+ var pathParams = {
+ 'job_run_id': jobRunId
+ };
+ var queryParams = {
+ 'expand': opts['expand']
+ };
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _JobRunResponse["default"];
+ return this.apiClient.callApi('/v1/job_runs/{job_run_id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1ProjectsProjectIdTreatmentsTreatmentIdDatasetsDatasetIdGet operation.
+ * @callback module:api/DatasetsApi~v1ProjectsProjectIdTreatmentsTreatmentIdDatasetsDatasetIdGetCallback
+ * @param {String} error Error message, if any.
+ * @param {String} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Download treated dataset
+ * Get the treated dataset as a CSV file
+ * @param {String} projectId
+ * @param {String} treatmentId
+ * @param {String} datasetId
+ * @param {module:api/DatasetsApi~v1ProjectsProjectIdTreatmentsTreatmentIdDatasetsDatasetIdGetCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link String}
+ */
+ }, {
+ key: "v1ProjectsProjectIdTreatmentsTreatmentIdDatasetsDatasetIdGet",
+ value: function v1ProjectsProjectIdTreatmentsTreatmentIdDatasetsDatasetIdGet(projectId, treatmentId, datasetId, callback) {
+ var postBody = null;
+ // verify the required parameter 'projectId' is set
+ if (projectId === undefined || projectId === null) {
+ throw new Error("Missing the required parameter 'projectId' when calling v1ProjectsProjectIdTreatmentsTreatmentIdDatasetsDatasetIdGet");
+ }
+ // verify the required parameter 'treatmentId' is set
+ if (treatmentId === undefined || treatmentId === null) {
+ throw new Error("Missing the required parameter 'treatmentId' when calling v1ProjectsProjectIdTreatmentsTreatmentIdDatasetsDatasetIdGet");
+ }
+ // verify the required parameter 'datasetId' is set
+ if (datasetId === undefined || datasetId === null) {
+ throw new Error("Missing the required parameter 'datasetId' when calling v1ProjectsProjectIdTreatmentsTreatmentIdDatasetsDatasetIdGet");
+ }
+ var pathParams = {
+ 'project_id': projectId,
+ 'treatment_id': treatmentId,
+ 'dataset_id': datasetId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = ['text/csv'];
+ var returnType = 'String';
+ return this.apiClient.callApi('/v1/projects/{project_id}/treatments/{treatment_id}/datasets/{dataset_id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1ProjectsStatsAggregatedGet operation.
+ * @callback module:api/DatasetsApi~v1ProjectsStatsAggregatedGetCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/StatsAggregatedResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * List aggregated projects stats
+ * Lists aggregated statistics for an org's projects
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.projectIds
+ * @param {module:api/DatasetsApi~v1ProjectsStatsAggregatedGetCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/StatsAggregatedResponse}
+ */
+ }, {
+ key: "v1ProjectsStatsAggregatedGet",
+ value: function v1ProjectsStatsAggregatedGet(opts, callback) {
+ opts = opts || {};
+ var postBody = null;
+ var pathParams = {};
+ var queryParams = {
+ 'project_ids': opts['projectIds']
+ };
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _StatsAggregatedResponse["default"];
+ return this.apiClient.callApi('/v1/projects/stats_aggregated', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+ }]);
+ return DatasetsApi;
+}();
+exports.default = DatasetsApi;
+
+/***/ }),
+
+/***/ 2494:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _DbtResponse = _interopRequireDefault(__nccwpck_require__(1617));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+* Dbt service.
+* @module api/DbtApi
+* @version latest
+*/
+var DbtApi = /*#__PURE__*/function () {
+ /**
+ * Constructs a new DbtApi.
+ * @alias module:api/DbtApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ function DbtApi(apiClient) {
+ _classCallCheck(this, DbtApi);
+ this.apiClient = apiClient || _ApiClient["default"].instance;
+ }
+
+ /**
+ * Callback function to receive the result of the v1DbtTargetsGet operation.
+ * @callback module:api/DbtApi~v1DbtTargetsGetCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/DbtResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get dbt targets from repo
+ * Get dbt targets from repo
+ * @param {String} schema
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.owner
+ * @param {String} opts.repo
+ * @param {module:api/DbtApi~v1DbtTargetsGetCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/DbtResponse}
+ */
+ _createClass(DbtApi, [{
+ key: "v1DbtTargetsGet",
+ value: function v1DbtTargetsGet(schema, opts, callback) {
+ opts = opts || {};
+ var postBody = null;
+ // verify the required parameter 'schema' is set
+ if (schema === undefined || schema === null) {
+ throw new Error("Missing the required parameter 'schema' when calling v1DbtTargetsGet");
+ }
+ var pathParams = {};
+ var queryParams = {
+ 'schema': schema,
+ 'owner': opts['owner'],
+ 'repo': opts['repo']
+ };
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _DbtResponse["default"];
+ return this.apiClient.callApi('/v1/dbt_targets', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1DbtTargetsPost operation.
+ * @callback module:api/DbtApi~v1DbtTargetsPostCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/DbtResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Create dbt targets from archive
+ * Create dbt targets from archive
+ * @param {String} schema
+ * @param {Object} opts Optional parameters
+ * @param {Object.} opts.file
+ * @param {module:api/DbtApi~v1DbtTargetsPostCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/DbtResponse}
+ */
+ }, {
+ key: "v1DbtTargetsPost",
+ value: function v1DbtTargetsPost(schema, opts, callback) {
+ opts = opts || {};
+ var postBody = null;
+ // verify the required parameter 'schema' is set
+ if (schema === undefined || schema === null) {
+ throw new Error("Missing the required parameter 'schema' when calling v1DbtTargetsPost");
+ }
+ var pathParams = {};
+ var queryParams = {
+ 'schema': schema
+ };
+ var headerParams = {};
+ var formParams = {
+ 'file': opts['file']
+ };
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = ['multipart/form-data'];
+ var accepts = ['application/json'];
+ var returnType = _DbtResponse["default"];
+ return this.apiClient.callApi('/v1/dbt_targets', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+ }]);
+ return DbtApi;
+}();
+exports.default = DbtApi;
+
+/***/ }),
+
+/***/ 18:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _FavoritesListResponse = _interopRequireDefault(__nccwpck_require__(1547));
+var _FavoritesResponse = _interopRequireDefault(__nccwpck_require__(6725));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+* Favorites service.
+* @module api/FavoritesApi
+* @version latest
+*/
+var FavoritesApi = /*#__PURE__*/function () {
+ /**
+ * Constructs a new FavoritesApi.
+ * @alias module:api/FavoritesApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ function FavoritesApi(apiClient) {
+ _classCallCheck(this, FavoritesApi);
+ this.apiClient = apiClient || _ApiClient["default"].instance;
+ }
+
+ /**
+ * Callback function to receive the result of the v1FavoritesGet operation.
+ * @callback module:api/FavoritesApi~v1FavoritesGetCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/FavoritesListResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * List user favorites
+ * Get the list of user favorites
+ * @param {module:api/FavoritesApi~v1FavoritesGetCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/FavoritesListResponse}
+ */
+ _createClass(FavoritesApi, [{
+ key: "v1FavoritesGet",
+ value: function v1FavoritesGet(callback) {
+ var postBody = null;
+ var pathParams = {};
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _FavoritesListResponse["default"];
+ return this.apiClient.callApi('/v1/favorites', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1FavoritesProjectIdDelete operation.
+ * @callback module:api/FavoritesApi~v1FavoritesProjectIdDeleteCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Delete a favorite
+ * Deletes the user favorite of (if it exists)
+ * @param {String} projectId
+ * @param {module:api/FavoritesApi~v1FavoritesProjectIdDeleteCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ }, {
+ key: "v1FavoritesProjectIdDelete",
+ value: function v1FavoritesProjectIdDelete(projectId, callback) {
+ var postBody = null;
+ // verify the required parameter 'projectId' is set
+ if (projectId === undefined || projectId === null) {
+ throw new Error("Missing the required parameter 'projectId' when calling v1FavoritesProjectIdDelete");
+ }
+ var pathParams = {
+ 'project_id': projectId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = [];
+ var returnType = null;
+ return this.apiClient.callApi('/v1/favorites/{project_id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1FavoritesProjectIdPut operation.
+ * @callback module:api/FavoritesApi~v1FavoritesProjectIdPutCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/FavoritesResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Create a favorite
+ * Create a user favorite of
+ * @param {String} projectId
+ * @param {module:api/FavoritesApi~v1FavoritesProjectIdPutCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/FavoritesResponse}
+ */
+ }, {
+ key: "v1FavoritesProjectIdPut",
+ value: function v1FavoritesProjectIdPut(projectId, callback) {
+ var postBody = null;
+ // verify the required parameter 'projectId' is set
+ if (projectId === undefined || projectId === null) {
+ throw new Error("Missing the required parameter 'projectId' when calling v1FavoritesProjectIdPut");
+ }
+ var pathParams = {
+ 'project_id': projectId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _FavoritesResponse["default"];
+ return this.apiClient.callApi('/v1/favorites/{project_id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+ }]);
+ return FavoritesApi;
+}();
+exports.default = FavoritesApi;
+
+/***/ }),
+
+/***/ 243:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+* Github service.
+* @module api/GithubApi
+* @version latest
+*/
+var GithubApi = /*#__PURE__*/function () {
+ /**
+ * Constructs a new GithubApi.
+ * @alias module:api/GithubApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ function GithubApi(apiClient) {
+ _classCallCheck(this, GithubApi);
+ this.apiClient = apiClient || _ApiClient["default"].instance;
+ }
+
+ /**
+ * Callback function to receive the result of the v1GithubStatusGet operation.
+ * @callback module:api/GithubApi~v1GithubStatusGetCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get github status
+ * Get status info on a Github App installation
+ * @param {module:api/GithubApi~v1GithubStatusGetCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ _createClass(GithubApi, [{
+ key: "v1GithubStatusGet",
+ value: function v1GithubStatusGet(callback) {
+ var postBody = null;
+ var pathParams = {};
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = [];
+ var returnType = null;
+ return this.apiClient.callApi('/v1/github-status', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+ }]);
+ return GithubApi;
+}();
+exports.default = GithubApi;
+
+/***/ }),
+
+/***/ 2879:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _BatchJobDefinitions = _interopRequireDefault(__nccwpck_require__(738));
+var _BatchJobDefinitionsResponse = _interopRequireDefault(__nccwpck_require__(8497));
+var _JobDefinition = _interopRequireDefault(__nccwpck_require__(4821));
+var _JobDefinitionResponse = _interopRequireDefault(__nccwpck_require__(2269));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+* JobDefinitions service.
+* @module api/JobDefinitionsApi
+* @version latest
+*/
+var JobDefinitionsApi = /*#__PURE__*/function () {
+ /**
+ * Constructs a new JobDefinitionsApi.
+ * @alias module:api/JobDefinitionsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ function JobDefinitionsApi(apiClient) {
+ _classCallCheck(this, JobDefinitionsApi);
+ this.apiClient = apiClient || _ApiClient["default"].instance;
+ }
+
+ /**
+ * Callback function to receive the result of the v1ProjectsProjectIdJobDefinitionsJobDefinitionIdDelete operation.
+ * @callback module:api/JobDefinitionsApi~v1ProjectsProjectIdJobDefinitionsJobDefinitionIdDeleteCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Deletes a job definition
+ * @param {String} projectId
+ * @param {String} jobDefinitionId
+ * @param {module:api/JobDefinitionsApi~v1ProjectsProjectIdJobDefinitionsJobDefinitionIdDeleteCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ _createClass(JobDefinitionsApi, [{
+ key: "v1ProjectsProjectIdJobDefinitionsJobDefinitionIdDelete",
+ value: function v1ProjectsProjectIdJobDefinitionsJobDefinitionIdDelete(projectId, jobDefinitionId, callback) {
+ var postBody = null;
+ // verify the required parameter 'projectId' is set
+ if (projectId === undefined || projectId === null) {
+ throw new Error("Missing the required parameter 'projectId' when calling v1ProjectsProjectIdJobDefinitionsJobDefinitionIdDelete");
+ }
+ // verify the required parameter 'jobDefinitionId' is set
+ if (jobDefinitionId === undefined || jobDefinitionId === null) {
+ throw new Error("Missing the required parameter 'jobDefinitionId' when calling v1ProjectsProjectIdJobDefinitionsJobDefinitionIdDelete");
+ }
+ var pathParams = {
+ 'project_id': projectId,
+ 'job_definition_id': jobDefinitionId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = [];
+ var returnType = null;
+ return this.apiClient.callApi('/v1/projects/{project_id}/job_definitions/{job_definition_id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1ProjectsProjectIdJobDefinitionsJobDefinitionIdPut operation.
+ * @callback module:api/JobDefinitionsApi~v1ProjectsProjectIdJobDefinitionsJobDefinitionIdPutCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/JobDefinitionResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Updates a job definition
+ * @param {String} projectId
+ * @param {String} jobDefinitionId
+ * @param {Object} opts Optional parameters
+ * @param {module:model/JobDefinition} opts.jobDefinition
+ * @param {module:api/JobDefinitionsApi~v1ProjectsProjectIdJobDefinitionsJobDefinitionIdPutCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/JobDefinitionResponse}
+ */
+ }, {
+ key: "v1ProjectsProjectIdJobDefinitionsJobDefinitionIdPut",
+ value: function v1ProjectsProjectIdJobDefinitionsJobDefinitionIdPut(projectId, jobDefinitionId, opts, callback) {
+ opts = opts || {};
+ var postBody = opts['jobDefinition'];
+ // verify the required parameter 'projectId' is set
+ if (projectId === undefined || projectId === null) {
+ throw new Error("Missing the required parameter 'projectId' when calling v1ProjectsProjectIdJobDefinitionsJobDefinitionIdPut");
+ }
+ // verify the required parameter 'jobDefinitionId' is set
+ if (jobDefinitionId === undefined || jobDefinitionId === null) {
+ throw new Error("Missing the required parameter 'jobDefinitionId' when calling v1ProjectsProjectIdJobDefinitionsJobDefinitionIdPut");
+ }
+ var pathParams = {
+ 'project_id': projectId,
+ 'job_definition_id': jobDefinitionId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = ['application/json'];
+ var accepts = ['application/json'];
+ var returnType = _JobDefinitionResponse["default"];
+ return this.apiClient.callApi('/v1/projects/{project_id}/job_definitions/{job_definition_id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1ProjectsProjectIdJobDefinitionsPost operation.
+ * @callback module:api/JobDefinitionsApi~v1ProjectsProjectIdJobDefinitionsPostCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/JobDefinitionResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Creates a new job definition
+ * @param {String} projectId
+ * @param {Object} opts Optional parameters
+ * @param {module:model/JobDefinition} opts.jobDefinition
+ * @param {module:api/JobDefinitionsApi~v1ProjectsProjectIdJobDefinitionsPostCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/JobDefinitionResponse}
+ */
+ }, {
+ key: "v1ProjectsProjectIdJobDefinitionsPost",
+ value: function v1ProjectsProjectIdJobDefinitionsPost(projectId, opts, callback) {
+ opts = opts || {};
+ var postBody = opts['jobDefinition'];
+ // verify the required parameter 'projectId' is set
+ if (projectId === undefined || projectId === null) {
+ throw new Error("Missing the required parameter 'projectId' when calling v1ProjectsProjectIdJobDefinitionsPost");
+ }
+ var pathParams = {
+ 'project_id': projectId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = ['application/json'];
+ var accepts = ['application/json'];
+ var returnType = _JobDefinitionResponse["default"];
+ return this.apiClient.callApi('/v1/projects/{project_id}/job_definitions', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1ProjectsProjectIdJobDefinitionsbatchCreatePost operation.
+ * @callback module:api/JobDefinitionsApi~v1ProjectsProjectIdJobDefinitionsbatchCreatePostCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/BatchJobDefinitionsResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Creates a batch of new job definitions on the parent project
+ * @param {String} projectId
+ * @param {Object} opts Optional parameters
+ * @param {module:model/BatchJobDefinitions} opts.batchJobDefinitions
+ * @param {module:api/JobDefinitionsApi~v1ProjectsProjectIdJobDefinitionsbatchCreatePostCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/BatchJobDefinitionsResponse}
+ */
+ }, {
+ key: "v1ProjectsProjectIdJobDefinitionsbatchCreatePost",
+ value: function v1ProjectsProjectIdJobDefinitionsbatchCreatePost(projectId, opts, callback) {
+ opts = opts || {};
+ var postBody = opts['batchJobDefinitions'];
+ // verify the required parameter 'projectId' is set
+ if (projectId === undefined || projectId === null) {
+ throw new Error("Missing the required parameter 'projectId' when calling v1ProjectsProjectIdJobDefinitionsbatchCreatePost");
+ }
+ var pathParams = {
+ 'project_id': projectId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = ['application/json'];
+ var accepts = ['application/json'];
+ var returnType = _BatchJobDefinitionsResponse["default"];
+ return this.apiClient.callApi('/v1/projects/{project_id}/job_definitions:batch_create', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+ }]);
+ return JobDefinitionsApi;
+}();
+exports.default = JobDefinitionsApi;
+
+/***/ }),
+
+/***/ 7169:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _Job = _interopRequireDefault(__nccwpck_require__(6579));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+* Jobs service.
+* @module api/JobsApi
+* @version latest
+*/
+var JobsApi = /*#__PURE__*/function () {
+ /**
+ * Constructs a new JobsApi.
+ * @alias module:api/JobsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ function JobsApi(apiClient) {
+ _classCallCheck(this, JobsApi);
+ this.apiClient = apiClient || _ApiClient["default"].instance;
+ }
+
+ /**
+ * Callback function to receive the result of the v1JobsQueuePost operation.
+ * @callback module:api/JobsApi~v1JobsQueuePostCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Queue a job
+ * Queue a job
+ * @param {Object} opts Optional parameters
+ * @param {module:model/Job} opts.job
+ * @param {module:api/JobsApi~v1JobsQueuePostCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ _createClass(JobsApi, [{
+ key: "v1JobsQueuePost",
+ value: function v1JobsQueuePost(opts, callback) {
+ opts = opts || {};
+ var postBody = opts['job'];
+ var pathParams = {};
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = ['application/json'];
+ var accepts = [];
+ var returnType = null;
+ return this.apiClient.callApi('/v1/jobs/queue', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+ }]);
+ return JobsApi;
+}();
+exports.default = JobsApi;
+
+/***/ }),
+
+/***/ 9542:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _RiskThresholds = _interopRequireDefault(__nccwpck_require__(7026));
+var _RiskThresholdsResponse = _interopRequireDefault(__nccwpck_require__(5081));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+* Orgs service.
+* @module api/OrgsApi
+* @version latest
+*/
+var OrgsApi = /*#__PURE__*/function () {
+ /**
+ * Constructs a new OrgsApi.
+ * @alias module:api/OrgsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ function OrgsApi(apiClient) {
+ _classCallCheck(this, OrgsApi);
+ this.apiClient = apiClient || _ApiClient["default"].instance;
+ }
+
+ /**
+ * Callback function to receive the result of the v1OrganizationRiskThresholdsGet operation.
+ * @callback module:api/OrgsApi~v1OrganizationRiskThresholdsGetCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RiskThresholdsResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get risk thresholds
+ * Get org's risk thresholds
+ * @param {module:api/OrgsApi~v1OrganizationRiskThresholdsGetCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RiskThresholdsResponse}
+ */
+ _createClass(OrgsApi, [{
+ key: "v1OrganizationRiskThresholdsGet",
+ value: function v1OrganizationRiskThresholdsGet(callback) {
+ var postBody = null;
+ var pathParams = {};
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _RiskThresholdsResponse["default"];
+ return this.apiClient.callApi('/v1/organization/risk_thresholds', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1OrganizationRiskThresholdsPut operation.
+ * @callback module:api/OrgsApi~v1OrganizationRiskThresholdsPutCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/RiskThresholdsResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Update risk thresholds
+ * Update risk thresholds
+ * @param {Object} opts Optional parameters
+ * @param {module:model/RiskThresholds} opts.riskThresholds
+ * @param {module:api/OrgsApi~v1OrganizationRiskThresholdsPutCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/RiskThresholdsResponse}
+ */
+ }, {
+ key: "v1OrganizationRiskThresholdsPut",
+ value: function v1OrganizationRiskThresholdsPut(opts, callback) {
+ opts = opts || {};
+ var postBody = opts['riskThresholds'];
+ var pathParams = {};
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = ['application/json'];
+ var accepts = ['application/json'];
+ var returnType = _RiskThresholdsResponse["default"];
+ return this.apiClient.callApi('/v1/organization/risk_thresholds', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+ }]);
+ return OrgsApi;
+}();
+exports.default = OrgsApi;
+
+/***/ }),
+
+/***/ 7343:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _JSONTable = _interopRequireDefault(__nccwpck_require__(733));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+* Preview service.
+* @module api/PreviewApi
+* @version latest
+*/
+var PreviewApi = /*#__PURE__*/function () {
+ /**
+ * Constructs a new PreviewApi.
+ * @alias module:api/PreviewApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ function PreviewApi(apiClient) {
+ _classCallCheck(this, PreviewApi);
+ this.apiClient = apiClient || _ApiClient["default"].instance;
+ }
+
+ /**
+ * Callback function to receive the result of the previewTablePseudonymizerPost operation.
+ * @callback module:api/PreviewApi~previewTablePseudonymizerPostCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/JSONTable} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Suppress detected DIDs
+ * @param {String} didSuppressionMethod
+ * @param {String} excludeUntreated
+ * @param {Object} opts Optional parameters
+ * @param {module:model/JSONTable} opts.jSONTable
+ * @param {module:api/PreviewApi~previewTablePseudonymizerPostCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/JSONTable}
+ */
+ _createClass(PreviewApi, [{
+ key: "previewTablePseudonymizerPost",
+ value: function previewTablePseudonymizerPost(didSuppressionMethod, excludeUntreated, opts, callback) {
+ opts = opts || {};
+ var postBody = opts['jSONTable'];
+ // verify the required parameter 'didSuppressionMethod' is set
+ if (didSuppressionMethod === undefined || didSuppressionMethod === null) {
+ throw new Error("Missing the required parameter 'didSuppressionMethod' when calling previewTablePseudonymizerPost");
+ }
+ // verify the required parameter 'excludeUntreated' is set
+ if (excludeUntreated === undefined || excludeUntreated === null) {
+ throw new Error("Missing the required parameter 'excludeUntreated' when calling previewTablePseudonymizerPost");
+ }
+ var pathParams = {
+ 'did_suppression_method': didSuppressionMethod,
+ 'exclude_untreated': excludeUntreated
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = ['application/json'];
+ var accepts = ['application/json'];
+ var returnType = _JSONTable["default"];
+ return this.apiClient.callApi('/preview/table_pseudonymizer', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+ }]);
+ return PreviewApi;
+}();
+exports.default = PreviewApi;
+
+/***/ }),
+
+/***/ 7501:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _BatchJobDefinitions = _interopRequireDefault(__nccwpck_require__(738));
+var _BatchJobDefinitionsResponse = _interopRequireDefault(__nccwpck_require__(8497));
+var _JobDefinition = _interopRequireDefault(__nccwpck_require__(4821));
+var _JobDefinitionDetailsResponse = _interopRequireDefault(__nccwpck_require__(8991));
+var _JobDefinitionResponse = _interopRequireDefault(__nccwpck_require__(2269));
+var _JobDefinitionRunStatusList = _interopRequireDefault(__nccwpck_require__(580));
+var _JobDefinitionsDetailsResponse = _interopRequireDefault(__nccwpck_require__(9134));
+var _ProjectCreate = _interopRequireDefault(__nccwpck_require__(6950));
+var _ProjectCreateResponse = _interopRequireDefault(__nccwpck_require__(1154));
+var _ProjectListResponse = _interopRequireDefault(__nccwpck_require__(2176));
+var _ProjectResponse = _interopRequireDefault(__nccwpck_require__(4067));
+var _ProjectUpdate = _interopRequireDefault(__nccwpck_require__(1928));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+* Projects service.
+* @module api/ProjectsApi
+* @version latest
+*/
+var ProjectsApi = /*#__PURE__*/function () {
+ /**
+ * Constructs a new ProjectsApi.
+ * @alias module:api/ProjectsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ function ProjectsApi(apiClient) {
+ _classCallCheck(this, ProjectsApi);
+ this.apiClient = apiClient || _ApiClient["default"].instance;
+ }
+
+ /**
+ * Callback function to receive the result of the v1ProjectsGet operation.
+ * @callback module:api/ProjectsApi~v1ProjectsGetCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/ProjectListResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * List projects
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.expand
+ * @param {module:api/ProjectsApi~v1ProjectsGetCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/ProjectListResponse}
+ */
+ _createClass(ProjectsApi, [{
+ key: "v1ProjectsGet",
+ value: function v1ProjectsGet(opts, callback) {
+ opts = opts || {};
+ var postBody = null;
+ var pathParams = {};
+ var queryParams = {
+ 'expand': opts['expand']
+ };
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _ProjectListResponse["default"];
+ return this.apiClient.callApi('/v1/projects', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1ProjectsPost operation.
+ * @callback module:api/ProjectsApi~v1ProjectsPostCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/ProjectCreateResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Creates a new project
+ * @param {Object} opts Optional parameters
+ * @param {module:model/ProjectCreate} opts.projectCreate
+ * @param {module:api/ProjectsApi~v1ProjectsPostCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/ProjectCreateResponse}
+ */
+ }, {
+ key: "v1ProjectsPost",
+ value: function v1ProjectsPost(opts, callback) {
+ opts = opts || {};
+ var postBody = opts['projectCreate'];
+ var pathParams = {};
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = ['application/json'];
+ var accepts = ['application/json'];
+ var returnType = _ProjectCreateResponse["default"];
+ return this.apiClient.callApi('/v1/projects', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1ProjectsProjectIdDelete operation.
+ * @callback module:api/ProjectsApi~v1ProjectsProjectIdDeleteCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Deletes an existing project
+ * @param {String} projectId
+ * @param {module:api/ProjectsApi~v1ProjectsProjectIdDeleteCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ }, {
+ key: "v1ProjectsProjectIdDelete",
+ value: function v1ProjectsProjectIdDelete(projectId, callback) {
+ var postBody = null;
+ // verify the required parameter 'projectId' is set
+ if (projectId === undefined || projectId === null) {
+ throw new Error("Missing the required parameter 'projectId' when calling v1ProjectsProjectIdDelete");
+ }
+ var pathParams = {
+ 'project_id': projectId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = [];
+ var returnType = null;
+ return this.apiClient.callApi('/v1/projects/{project_id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1ProjectsProjectIdGet operation.
+ * @callback module:api/ProjectsApi~v1ProjectsProjectIdGetCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/ProjectResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get project
+ * @param {String} projectId
+ * @param {Object} opts Optional parameters
+ * @param {String} opts.expand
+ * @param {module:api/ProjectsApi~v1ProjectsProjectIdGetCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/ProjectResponse}
+ */
+ }, {
+ key: "v1ProjectsProjectIdGet",
+ value: function v1ProjectsProjectIdGet(projectId, opts, callback) {
+ opts = opts || {};
+ var postBody = null;
+ // verify the required parameter 'projectId' is set
+ if (projectId === undefined || projectId === null) {
+ throw new Error("Missing the required parameter 'projectId' when calling v1ProjectsProjectIdGet");
+ }
+ var pathParams = {
+ 'project_id': projectId
+ };
+ var queryParams = {
+ 'expand': opts['expand']
+ };
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _ProjectResponse["default"];
+ return this.apiClient.callApi('/v1/projects/{project_id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1ProjectsProjectIdJobDefinitionsGet operation.
+ * @callback module:api/ProjectsApi~v1ProjectsProjectIdJobDefinitionsGetCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/JobDefinitionsDetailsResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get job definition data for the given project_id
+ * @param {String} projectId
+ * @param {module:api/ProjectsApi~v1ProjectsProjectIdJobDefinitionsGetCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/JobDefinitionsDetailsResponse}
+ */
+ }, {
+ key: "v1ProjectsProjectIdJobDefinitionsGet",
+ value: function v1ProjectsProjectIdJobDefinitionsGet(projectId, callback) {
+ var postBody = null;
+ // verify the required parameter 'projectId' is set
+ if (projectId === undefined || projectId === null) {
+ throw new Error("Missing the required parameter 'projectId' when calling v1ProjectsProjectIdJobDefinitionsGet");
+ }
+ var pathParams = {
+ 'project_id': projectId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _JobDefinitionsDetailsResponse["default"];
+ return this.apiClient.callApi('/v1/projects/{project_id}/job_definitions', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1ProjectsProjectIdJobDefinitionsJobDefinitionIdDelete operation.
+ * @callback module:api/ProjectsApi~v1ProjectsProjectIdJobDefinitionsJobDefinitionIdDeleteCallback
+ * @param {String} error Error message, if any.
+ * @param data This operation does not return a value.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Deletes a job definition
+ * @param {String} projectId
+ * @param {String} jobDefinitionId
+ * @param {module:api/ProjectsApi~v1ProjectsProjectIdJobDefinitionsJobDefinitionIdDeleteCallback} callback The callback function, accepting three arguments: error, data, response
+ */
+ }, {
+ key: "v1ProjectsProjectIdJobDefinitionsJobDefinitionIdDelete",
+ value: function v1ProjectsProjectIdJobDefinitionsJobDefinitionIdDelete(projectId, jobDefinitionId, callback) {
+ var postBody = null;
+ // verify the required parameter 'projectId' is set
+ if (projectId === undefined || projectId === null) {
+ throw new Error("Missing the required parameter 'projectId' when calling v1ProjectsProjectIdJobDefinitionsJobDefinitionIdDelete");
+ }
+ // verify the required parameter 'jobDefinitionId' is set
+ if (jobDefinitionId === undefined || jobDefinitionId === null) {
+ throw new Error("Missing the required parameter 'jobDefinitionId' when calling v1ProjectsProjectIdJobDefinitionsJobDefinitionIdDelete");
+ }
+ var pathParams = {
+ 'project_id': projectId,
+ 'job_definition_id': jobDefinitionId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = [];
+ var returnType = null;
+ return this.apiClient.callApi('/v1/projects/{project_id}/job_definitions/{job_definition_id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1ProjectsProjectIdJobDefinitionsJobDefinitionIdGet operation.
+ * @callback module:api/ProjectsApi~v1ProjectsProjectIdJobDefinitionsJobDefinitionIdGetCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/JobDefinitionDetailsResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get job definition data for the given job_definition_id
+ * @param {String} projectId
+ * @param {String} jobDefinitionId
+ * @param {module:api/ProjectsApi~v1ProjectsProjectIdJobDefinitionsJobDefinitionIdGetCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/JobDefinitionDetailsResponse}
+ */
+ }, {
+ key: "v1ProjectsProjectIdJobDefinitionsJobDefinitionIdGet",
+ value: function v1ProjectsProjectIdJobDefinitionsJobDefinitionIdGet(projectId, jobDefinitionId, callback) {
+ var postBody = null;
+ // verify the required parameter 'projectId' is set
+ if (projectId === undefined || projectId === null) {
+ throw new Error("Missing the required parameter 'projectId' when calling v1ProjectsProjectIdJobDefinitionsJobDefinitionIdGet");
+ }
+ // verify the required parameter 'jobDefinitionId' is set
+ if (jobDefinitionId === undefined || jobDefinitionId === null) {
+ throw new Error("Missing the required parameter 'jobDefinitionId' when calling v1ProjectsProjectIdJobDefinitionsJobDefinitionIdGet");
+ }
+ var pathParams = {
+ 'project_id': projectId,
+ 'job_definition_id': jobDefinitionId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _JobDefinitionDetailsResponse["default"];
+ return this.apiClient.callApi('/v1/projects/{project_id}/job_definitions/{job_definition_id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1ProjectsProjectIdJobDefinitionsJobDefinitionIdPut operation.
+ * @callback module:api/ProjectsApi~v1ProjectsProjectIdJobDefinitionsJobDefinitionIdPutCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/JobDefinitionResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Updates a job definition
+ * @param {String} projectId
+ * @param {String} jobDefinitionId
+ * @param {Object} opts Optional parameters
+ * @param {module:model/JobDefinition} opts.jobDefinition
+ * @param {module:api/ProjectsApi~v1ProjectsProjectIdJobDefinitionsJobDefinitionIdPutCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/JobDefinitionResponse}
+ */
+ }, {
+ key: "v1ProjectsProjectIdJobDefinitionsJobDefinitionIdPut",
+ value: function v1ProjectsProjectIdJobDefinitionsJobDefinitionIdPut(projectId, jobDefinitionId, opts, callback) {
+ opts = opts || {};
+ var postBody = opts['jobDefinition'];
+ // verify the required parameter 'projectId' is set
+ if (projectId === undefined || projectId === null) {
+ throw new Error("Missing the required parameter 'projectId' when calling v1ProjectsProjectIdJobDefinitionsJobDefinitionIdPut");
+ }
+ // verify the required parameter 'jobDefinitionId' is set
+ if (jobDefinitionId === undefined || jobDefinitionId === null) {
+ throw new Error("Missing the required parameter 'jobDefinitionId' when calling v1ProjectsProjectIdJobDefinitionsJobDefinitionIdPut");
+ }
+ var pathParams = {
+ 'project_id': projectId,
+ 'job_definition_id': jobDefinitionId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = ['application/json'];
+ var accepts = ['application/json'];
+ var returnType = _JobDefinitionResponse["default"];
+ return this.apiClient.callApi('/v1/projects/{project_id}/job_definitions/{job_definition_id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1ProjectsProjectIdJobDefinitionsPost operation.
+ * @callback module:api/ProjectsApi~v1ProjectsProjectIdJobDefinitionsPostCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/JobDefinitionResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Creates a new job definition
+ * @param {String} projectId
+ * @param {Object} opts Optional parameters
+ * @param {module:model/JobDefinition} opts.jobDefinition
+ * @param {module:api/ProjectsApi~v1ProjectsProjectIdJobDefinitionsPostCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/JobDefinitionResponse}
+ */
+ }, {
+ key: "v1ProjectsProjectIdJobDefinitionsPost",
+ value: function v1ProjectsProjectIdJobDefinitionsPost(projectId, opts, callback) {
+ opts = opts || {};
+ var postBody = opts['jobDefinition'];
+ // verify the required parameter 'projectId' is set
+ if (projectId === undefined || projectId === null) {
+ throw new Error("Missing the required parameter 'projectId' when calling v1ProjectsProjectIdJobDefinitionsPost");
+ }
+ var pathParams = {
+ 'project_id': projectId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = ['application/json'];
+ var accepts = ['application/json'];
+ var returnType = _JobDefinitionResponse["default"];
+ return this.apiClient.callApi('/v1/projects/{project_id}/job_definitions', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1ProjectsProjectIdJobDefinitionsbatchCreatePost operation.
+ * @callback module:api/ProjectsApi~v1ProjectsProjectIdJobDefinitionsbatchCreatePostCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/BatchJobDefinitionsResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Creates a batch of new job definitions on the parent project
+ * @param {String} projectId
+ * @param {Object} opts Optional parameters
+ * @param {module:model/BatchJobDefinitions} opts.batchJobDefinitions
+ * @param {module:api/ProjectsApi~v1ProjectsProjectIdJobDefinitionsbatchCreatePostCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/BatchJobDefinitionsResponse}
+ */
+ }, {
+ key: "v1ProjectsProjectIdJobDefinitionsbatchCreatePost",
+ value: function v1ProjectsProjectIdJobDefinitionsbatchCreatePost(projectId, opts, callback) {
+ opts = opts || {};
+ var postBody = opts['batchJobDefinitions'];
+ // verify the required parameter 'projectId' is set
+ if (projectId === undefined || projectId === null) {
+ throw new Error("Missing the required parameter 'projectId' when calling v1ProjectsProjectIdJobDefinitionsbatchCreatePost");
+ }
+ var pathParams = {
+ 'project_id': projectId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = ['application/json'];
+ var accepts = ['application/json'];
+ var returnType = _BatchJobDefinitionsResponse["default"];
+ return this.apiClient.callApi('/v1/projects/{project_id}/job_definitions:batch_create', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1ProjectsProjectIdPut operation.
+ * @callback module:api/ProjectsApi~v1ProjectsProjectIdPutCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/ProjectCreateResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Updates an existing project, except for its connections (currently).
+ * @param {String} projectId
+ * @param {Object} opts Optional parameters
+ * @param {module:model/ProjectUpdate} opts.projectUpdate
+ * @param {module:api/ProjectsApi~v1ProjectsProjectIdPutCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/ProjectCreateResponse}
+ */
+ }, {
+ key: "v1ProjectsProjectIdPut",
+ value: function v1ProjectsProjectIdPut(projectId, opts, callback) {
+ opts = opts || {};
+ var postBody = opts['projectUpdate'];
+ // verify the required parameter 'projectId' is set
+ if (projectId === undefined || projectId === null) {
+ throw new Error("Missing the required parameter 'projectId' when calling v1ProjectsProjectIdPut");
+ }
+ var pathParams = {
+ 'project_id': projectId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = ['application/json'];
+ var accepts = ['application/json'];
+ var returnType = _ProjectCreateResponse["default"];
+ return this.apiClient.callApi('/v1/projects/{project_id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1ProjectsProjectIdStatusGet operation.
+ * @callback module:api/ProjectsApi~v1ProjectsProjectIdStatusGetCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/JobDefinitionRunStatusList} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get job run status for each job in a project sorted by table name
+ * @param {String} projectId
+ * @param {module:api/ProjectsApi~v1ProjectsProjectIdStatusGetCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/JobDefinitionRunStatusList}
+ */
+ }, {
+ key: "v1ProjectsProjectIdStatusGet",
+ value: function v1ProjectsProjectIdStatusGet(projectId, callback) {
+ var postBody = null;
+ // verify the required parameter 'projectId' is set
+ if (projectId === undefined || projectId === null) {
+ throw new Error("Missing the required parameter 'projectId' when calling v1ProjectsProjectIdStatusGet");
+ }
+ var pathParams = {
+ 'project_id': projectId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _JobDefinitionRunStatusList["default"];
+ return this.apiClient.callApi('/v1/projects/{project_id}/status', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1ProjectsProjectIdStatusJobDefinitionIdGet operation.
+ * @callback module:api/ProjectsApi~v1ProjectsProjectIdStatusJobDefinitionIdGetCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/JobDefinitionRunStatusList} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get job run status for a job definition in a project
+ * @param {String} projectId
+ * @param {String} jobDefinitionId
+ * @param {module:api/ProjectsApi~v1ProjectsProjectIdStatusJobDefinitionIdGetCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/JobDefinitionRunStatusList}
+ */
+ }, {
+ key: "v1ProjectsProjectIdStatusJobDefinitionIdGet",
+ value: function v1ProjectsProjectIdStatusJobDefinitionIdGet(projectId, jobDefinitionId, callback) {
+ var postBody = null;
+ // verify the required parameter 'projectId' is set
+ if (projectId === undefined || projectId === null) {
+ throw new Error("Missing the required parameter 'projectId' when calling v1ProjectsProjectIdStatusJobDefinitionIdGet");
+ }
+ // verify the required parameter 'jobDefinitionId' is set
+ if (jobDefinitionId === undefined || jobDefinitionId === null) {
+ throw new Error("Missing the required parameter 'jobDefinitionId' when calling v1ProjectsProjectIdStatusJobDefinitionIdGet");
+ }
+ var pathParams = {
+ 'project_id': projectId,
+ 'job_definition_id': jobDefinitionId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _JobDefinitionRunStatusList["default"];
+ return this.apiClient.callApi('/v1/projects/{project_id}/status/{job_definition_id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+ }]);
+ return ProjectsApi;
+}();
+exports.default = ProjectsApi;
+
+/***/ }),
+
+/***/ 7290:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _CustomerPortalRequest = _interopRequireDefault(__nccwpck_require__(1334));
+var _CustomerPortalResponse = _interopRequireDefault(__nccwpck_require__(1712));
+var _ProductList = _interopRequireDefault(__nccwpck_require__(7418));
+var _Subscription = _interopRequireDefault(__nccwpck_require__(7296));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+* Stripe service.
+* @module api/StripeApi
+* @version latest
+*/
+var StripeApi = /*#__PURE__*/function () {
+ /**
+ * Constructs a new StripeApi.
+ * @alias module:api/StripeApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ function StripeApi(apiClient) {
+ _classCallCheck(this, StripeApi);
+ this.apiClient = apiClient || _ApiClient["default"].instance;
+ }
+
+ /**
+ * Callback function to receive the result of the v1StripeCustomerPortalPost operation.
+ * @callback module:api/StripeApi~v1StripeCustomerPortalPostCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/CustomerPortalResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get Stripe customer portal URL
+ * The Stripe customer portal allows the user to manage their payment options
+ * @param {Object} opts Optional parameters
+ * @param {module:model/CustomerPortalRequest} opts.customerPortalRequest
+ * @param {module:api/StripeApi~v1StripeCustomerPortalPostCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/CustomerPortalResponse}
+ */
+ _createClass(StripeApi, [{
+ key: "v1StripeCustomerPortalPost",
+ value: function v1StripeCustomerPortalPost(opts, callback) {
+ opts = opts || {};
+ var postBody = opts['customerPortalRequest'];
+ var pathParams = {};
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = ['application/json'];
+ var accepts = ['application/json'];
+ var returnType = _CustomerPortalResponse["default"];
+ return this.apiClient.callApi('/v1/stripe/customer-portal', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1StripeProductsGet operation.
+ * @callback module:api/StripeApi~v1StripeProductsGetCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/ProductList} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get a list of products that a user can subscribe to
+ * @param {module:api/StripeApi~v1StripeProductsGetCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/ProductList}
+ */
+ }, {
+ key: "v1StripeProductsGet",
+ value: function v1StripeProductsGet(callback) {
+ var postBody = null;
+ var pathParams = {};
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _ProductList["default"];
+ return this.apiClient.callApi('/v1/stripe/products', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1StripeSubscriptionGet operation.
+ * @callback module:api/StripeApi~v1StripeSubscriptionGetCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/Subscription} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get details for the Stripe subscription associated with a user's organization
+ * @param {module:api/StripeApi~v1StripeSubscriptionGetCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/Subscription}
+ */
+ }, {
+ key: "v1StripeSubscriptionGet",
+ value: function v1StripeSubscriptionGet(callback) {
+ var postBody = null;
+ var pathParams = {};
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _Subscription["default"];
+ return this.apiClient.callApi('/v1/stripe/subscription', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+ }]);
+ return StripeApi;
+}();
+exports.default = StripeApi;
+
+/***/ }),
+
+/***/ 3729:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _Connection = _interopRequireDefault(__nccwpck_require__(4797));
+var _TestConnectionResponse = _interopRequireDefault(__nccwpck_require__(2296));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+* TestConnections service.
+* @module api/TestConnectionsApi
+* @version latest
+*/
+var TestConnectionsApi = /*#__PURE__*/function () {
+ /**
+ * Constructs a new TestConnectionsApi.
+ * @alias module:api/TestConnectionsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ function TestConnectionsApi(apiClient) {
+ _classCallCheck(this, TestConnectionsApi);
+ this.apiClient = apiClient || _ApiClient["default"].instance;
+ }
+
+ /**
+ * Callback function to receive the result of the v1ConnectionsTestConnectionIdPost operation.
+ * @callback module:api/TestConnectionsApi~v1ConnectionsTestConnectionIdPostCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/TestConnectionResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Test connection
+ * Tests that the connection can connect to source
+ * @param {String} connectionId
+ * @param {module:api/TestConnectionsApi~v1ConnectionsTestConnectionIdPostCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/TestConnectionResponse}
+ */
+ _createClass(TestConnectionsApi, [{
+ key: "v1ConnectionsTestConnectionIdPost",
+ value: function v1ConnectionsTestConnectionIdPost(connectionId, callback) {
+ var postBody = null;
+ // verify the required parameter 'connectionId' is set
+ if (connectionId === undefined || connectionId === null) {
+ throw new Error("Missing the required parameter 'connectionId' when calling v1ConnectionsTestConnectionIdPost");
+ }
+ var pathParams = {
+ 'connection_id': connectionId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _TestConnectionResponse["default"];
+ return this.apiClient.callApi('/v1/connections/test/{connection_id}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1ConnectionsTestPost operation.
+ * @callback module:api/TestConnectionsApi~v1ConnectionsTestPostCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/TestConnectionResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Test connection credentials
+ * Tests connection credentials can connect to source
+ * @param {Object} opts Optional parameters
+ * @param {module:model/Connection} opts.connection
+ * @param {module:api/TestConnectionsApi~v1ConnectionsTestPostCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/TestConnectionResponse}
+ */
+ }, {
+ key: "v1ConnectionsTestPost",
+ value: function v1ConnectionsTestPost(opts, callback) {
+ opts = opts || {};
+ var postBody = opts['connection'];
+ var pathParams = {};
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = ['application/json'];
+ var accepts = ['application/json'];
+ var returnType = _TestConnectionResponse["default"];
+ return this.apiClient.callApi('/v1/connections/test', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+ }]);
+ return TestConnectionsApi;
+}();
+exports.default = TestConnectionsApi;
+
+/***/ }),
+
+/***/ 2774:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _AssessmentResponse = _interopRequireDefault(__nccwpck_require__(592));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+* Treatments service.
+* @module api/TreatmentsApi
+* @version latest
+*/
+var TreatmentsApi = /*#__PURE__*/function () {
+ /**
+ * Constructs a new TreatmentsApi.
+ * @alias module:api/TreatmentsApi
+ * @class
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
+ * default to {@link module:ApiClient#instance} if unspecified.
+ */
+ function TreatmentsApi(apiClient) {
+ _classCallCheck(this, TreatmentsApi);
+ this.apiClient = apiClient || _ApiClient["default"].instance;
+ }
+
+ /**
+ * Callback function to receive the result of the v1JobsJobDefinitionIdAssessmentsAssessmentIdGet operation.
+ * @callback module:api/TreatmentsApi~v1JobsJobDefinitionIdAssessmentsAssessmentIdGetCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/AssessmentResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get treatment report
+ * Get treatment report and risk assessment for a given assessment_id
+ * @param {String} jobDefinitionId
+ * @param {String} assessmentId
+ * @param {module:api/TreatmentsApi~v1JobsJobDefinitionIdAssessmentsAssessmentIdGetCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/AssessmentResponse}
+ */
+ _createClass(TreatmentsApi, [{
+ key: "v1JobsJobDefinitionIdAssessmentsAssessmentIdGet",
+ value: function v1JobsJobDefinitionIdAssessmentsAssessmentIdGet(jobDefinitionId, assessmentId, callback) {
+ var postBody = null;
+ // verify the required parameter 'jobDefinitionId' is set
+ if (jobDefinitionId === undefined || jobDefinitionId === null) {
+ throw new Error("Missing the required parameter 'jobDefinitionId' when calling v1JobsJobDefinitionIdAssessmentsAssessmentIdGet");
+ }
+ // verify the required parameter 'assessmentId' is set
+ if (assessmentId === undefined || assessmentId === null) {
+ throw new Error("Missing the required parameter 'assessmentId' when calling v1JobsJobDefinitionIdAssessmentsAssessmentIdGet");
+ }
+ var pathParams = {
+ 'job_definition_id': jobDefinitionId,
+ 'assessment_id': assessmentId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _AssessmentResponse["default"];
+ return this.apiClient.callApi('/v1/jobs/{job_definition_id}/assessments/{assessment_id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1JobsJobDefinitionIdAssessmentsGet operation.
+ * @callback module:api/TreatmentsApi~v1JobsJobDefinitionIdAssessmentsGetCallback
+ * @param {String} error Error message, if any.
+ * @param {module:model/AssessmentResponse} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Get treatment report
+ * Get treatment report and risk assessment
+ * @param {String} jobDefinitionId
+ * @param {module:api/TreatmentsApi~v1JobsJobDefinitionIdAssessmentsGetCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link module:model/AssessmentResponse}
+ */
+ }, {
+ key: "v1JobsJobDefinitionIdAssessmentsGet",
+ value: function v1JobsJobDefinitionIdAssessmentsGet(jobDefinitionId, callback) {
+ var postBody = null;
+ // verify the required parameter 'jobDefinitionId' is set
+ if (jobDefinitionId === undefined || jobDefinitionId === null) {
+ throw new Error("Missing the required parameter 'jobDefinitionId' when calling v1JobsJobDefinitionIdAssessmentsGet");
+ }
+ var pathParams = {
+ 'job_definition_id': jobDefinitionId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = ['application/json'];
+ var returnType = _AssessmentResponse["default"];
+ return this.apiClient.callApi('/v1/jobs/{job_definition_id}/assessments', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+
+ /**
+ * Callback function to receive the result of the v1ProjectsProjectIdTreatmentsTreatmentIdDatasetsDatasetIdGet operation.
+ * @callback module:api/TreatmentsApi~v1ProjectsProjectIdTreatmentsTreatmentIdDatasetsDatasetIdGetCallback
+ * @param {String} error Error message, if any.
+ * @param {String} data The data returned by the service call.
+ * @param {String} response The complete HTTP response.
+ */
+
+ /**
+ * Download treated dataset
+ * Get the treated dataset as a CSV file
+ * @param {String} projectId
+ * @param {String} treatmentId
+ * @param {String} datasetId
+ * @param {module:api/TreatmentsApi~v1ProjectsProjectIdTreatmentsTreatmentIdDatasetsDatasetIdGetCallback} callback The callback function, accepting three arguments: error, data, response
+ * data is of type: {@link String}
+ */
+ }, {
+ key: "v1ProjectsProjectIdTreatmentsTreatmentIdDatasetsDatasetIdGet",
+ value: function v1ProjectsProjectIdTreatmentsTreatmentIdDatasetsDatasetIdGet(projectId, treatmentId, datasetId, callback) {
+ var postBody = null;
+ // verify the required parameter 'projectId' is set
+ if (projectId === undefined || projectId === null) {
+ throw new Error("Missing the required parameter 'projectId' when calling v1ProjectsProjectIdTreatmentsTreatmentIdDatasetsDatasetIdGet");
+ }
+ // verify the required parameter 'treatmentId' is set
+ if (treatmentId === undefined || treatmentId === null) {
+ throw new Error("Missing the required parameter 'treatmentId' when calling v1ProjectsProjectIdTreatmentsTreatmentIdDatasetsDatasetIdGet");
+ }
+ // verify the required parameter 'datasetId' is set
+ if (datasetId === undefined || datasetId === null) {
+ throw new Error("Missing the required parameter 'datasetId' when calling v1ProjectsProjectIdTreatmentsTreatmentIdDatasetsDatasetIdGet");
+ }
+ var pathParams = {
+ 'project_id': projectId,
+ 'treatment_id': treatmentId,
+ 'dataset_id': datasetId
+ };
+ var queryParams = {};
+ var headerParams = {};
+ var formParams = {};
+ var authNames = ['oAuth2ClientCredentials'];
+ var contentTypes = [];
+ var accepts = ['text/csv'];
+ var returnType = 'String';
+ return this.apiClient.callApi('/v1/projects/{project_id}/treatments/{treatment_id}/datasets/{dataset_id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
+ }
+ }]);
+ return TreatmentsApi;
+}();
+exports.default = TreatmentsApi;
+
+/***/ }),
+
+/***/ 5333:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+Object.defineProperty(exports, "AbbreviatedAssessment", ({
+ enumerable: true,
+ get: function get() {
+ return _AbbreviatedAssessment["default"];
+ }
+}));
+Object.defineProperty(exports, "AbbreviatedAssessmentListResponse", ({
+ enumerable: true,
+ get: function get() {
+ return _AbbreviatedAssessmentListResponse["default"];
+ }
+}));
+Object.defineProperty(exports, "ApiClient", ({
+ enumerable: true,
+ get: function get() {
+ return _ApiClient["default"];
+ }
+}));
+Object.defineProperty(exports, "Assessment", ({
+ enumerable: true,
+ get: function get() {
+ return _Assessment["default"];
+ }
+}));
+Object.defineProperty(exports, "AssessmentHistoryMeta", ({
+ enumerable: true,
+ get: function get() {
+ return _AssessmentHistoryMeta["default"];
+ }
+}));
+Object.defineProperty(exports, "AssessmentResponse", ({
+ enumerable: true,
+ get: function get() {
+ return _AssessmentResponse["default"];
+ }
+}));
+Object.defineProperty(exports, "AssessmentResult", ({
+ enumerable: true,
+ get: function get() {
+ return _AssessmentResult["default"];
+ }
+}));
+Object.defineProperty(exports, "AssessmentResultAggregateRisk", ({
+ enumerable: true,
+ get: function get() {
+ return _AssessmentResultAggregateRisk["default"];
+ }
+}));
+Object.defineProperty(exports, "AssessmentResultPiiReportColumn", ({
+ enumerable: true,
+ get: function get() {
+ return _AssessmentResultPiiReportColumn["default"];
+ }
+}));
+Object.defineProperty(exports, "AssessmentResultRiskScore", ({
+ enumerable: true,
+ get: function get() {
+ return _AssessmentResultRiskScore["default"];
+ }
+}));
+Object.defineProperty(exports, "AssessmentsApi", ({
+ enumerable: true,
+ get: function get() {
+ return _AssessmentsApi["default"];
+ }
+}));
+Object.defineProperty(exports, "BatchJobDefinitions", ({
+ enumerable: true,
+ get: function get() {
+ return _BatchJobDefinitions["default"];
+ }
+}));
+Object.defineProperty(exports, "BatchJobDefinitionsResponse", ({
+ enumerable: true,
+ get: function get() {
+ return _BatchJobDefinitionsResponse["default"];
+ }
+}));
+Object.defineProperty(exports, "BigQueryConnection", ({
+ enumerable: true,
+ get: function get() {
+ return _BigQueryConnection["default"];
+ }
+}));
+Object.defineProperty(exports, "BucketNamespace", ({
+ enumerable: true,
+ get: function get() {
+ return _BucketNamespace["default"];
+ }
+}));
+Object.defineProperty(exports, "ColumnConfig", ({
+ enumerable: true,
+ get: function get() {
+ return _ColumnConfig["default"];
+ }
+}));
+Object.defineProperty(exports, "ColumnDefinition", ({
+ enumerable: true,
+ get: function get() {
+ return _ColumnDefinition["default"];
+ }
+}));
+Object.defineProperty(exports, "Connection", ({
+ enumerable: true,
+ get: function get() {
+ return _Connection["default"];
+ }
+}));
+Object.defineProperty(exports, "ConnectionList", ({
+ enumerable: true,
+ get: function get() {
+ return _ConnectionList["default"];
+ }
+}));
+Object.defineProperty(exports, "ConnectionMeta", ({
+ enumerable: true,
+ get: function get() {
+ return _ConnectionMeta["default"];
+ }
+}));
+Object.defineProperty(exports, "ConnectionResponse", ({
+ enumerable: true,
+ get: function get() {
+ return _ConnectionResponse["default"];
+ }
+}));
+Object.defineProperty(exports, "ConnectionsApi", ({
+ enumerable: true,
+ get: function get() {
+ return _ConnectionsApi["default"];
+ }
+}));
+Object.defineProperty(exports, "CustomerPortalRequest", ({
+ enumerable: true,
+ get: function get() {
+ return _CustomerPortalRequest["default"];
+ }
+}));
+Object.defineProperty(exports, "CustomerPortalResponse", ({
+ enumerable: true,
+ get: function get() {
+ return _CustomerPortalResponse["default"];
+ }
+}));
+Object.defineProperty(exports, "DatasetList", ({
+ enumerable: true,
+ get: function get() {
+ return _DatasetList["default"];
+ }
+}));
+Object.defineProperty(exports, "DatasetMeta", ({
+ enumerable: true,
+ get: function get() {
+ return _DatasetMeta["default"];
+ }
+}));
+Object.defineProperty(exports, "DatasetNamespace", ({
+ enumerable: true,
+ get: function get() {
+ return _DatasetNamespace["default"];
+ }
+}));
+Object.defineProperty(exports, "DatasetsApi", ({
+ enumerable: true,
+ get: function get() {
+ return _DatasetsApi["default"];
+ }
+}));
+Object.defineProperty(exports, "DbtApi", ({
+ enumerable: true,
+ get: function get() {
+ return _DbtApi["default"];
+ }
+}));
+Object.defineProperty(exports, "DbtColumn", ({
+ enumerable: true,
+ get: function get() {
+ return _DbtColumn["default"];
+ }
+}));
+Object.defineProperty(exports, "DbtResponse", ({
+ enumerable: true,
+ get: function get() {
+ return _DbtResponse["default"];
+ }
+}));
+Object.defineProperty(exports, "DbtTarget", ({
+ enumerable: true,
+ get: function get() {
+ return _DbtTarget["default"];
+ }
+}));
+Object.defineProperty(exports, "DirectoryNamespace", ({
+ enumerable: true,
+ get: function get() {
+ return _DirectoryNamespace["default"];
+ }
+}));
+Object.defineProperty(exports, "Favorites", ({
+ enumerable: true,
+ get: function get() {
+ return _Favorites["default"];
+ }
+}));
+Object.defineProperty(exports, "FavoritesApi", ({
+ enumerable: true,
+ get: function get() {
+ return _FavoritesApi["default"];
+ }
+}));
+Object.defineProperty(exports, "FavoritesListResponse", ({
+ enumerable: true,
+ get: function get() {
+ return _FavoritesListResponse["default"];
+ }
+}));
+Object.defineProperty(exports, "FavoritesResponse", ({
+ enumerable: true,
+ get: function get() {
+ return _FavoritesResponse["default"];
+ }
+}));
+Object.defineProperty(exports, "GithubApi", ({
+ enumerable: true,
+ get: function get() {
+ return _GithubApi["default"];
+ }
+}));
+Object.defineProperty(exports, "JSONTable", ({
+ enumerable: true,
+ get: function get() {
+ return _JSONTable["default"];
+ }
+}));
+Object.defineProperty(exports, "Job", ({
+ enumerable: true,
+ get: function get() {
+ return _Job["default"];
+ }
+}));
+Object.defineProperty(exports, "JobAssessment", ({
+ enumerable: true,
+ get: function get() {
+ return _JobAssessment["default"];
+ }
+}));
+Object.defineProperty(exports, "JobDefinition", ({
+ enumerable: true,
+ get: function get() {
+ return _JobDefinition["default"];
+ }
+}));
+Object.defineProperty(exports, "JobDefinitionDetails", ({
+ enumerable: true,
+ get: function get() {
+ return _JobDefinitionDetails["default"];
+ }
+}));
+Object.defineProperty(exports, "JobDefinitionDetailsResponse", ({
+ enumerable: true,
+ get: function get() {
+ return _JobDefinitionDetailsResponse["default"];
+ }
+}));
+Object.defineProperty(exports, "JobDefinitionResponse", ({
+ enumerable: true,
+ get: function get() {
+ return _JobDefinitionResponse["default"];
+ }
+}));
+Object.defineProperty(exports, "JobDefinitionRunStatus", ({
+ enumerable: true,
+ get: function get() {
+ return _JobDefinitionRunStatus["default"];
+ }
+}));
+Object.defineProperty(exports, "JobDefinitionRunStatusList", ({
+ enumerable: true,
+ get: function get() {
+ return _JobDefinitionRunStatusList["default"];
+ }
+}));
+Object.defineProperty(exports, "JobDefinitionsApi", ({
+ enumerable: true,
+ get: function get() {
+ return _JobDefinitionsApi["default"];
+ }
+}));
+Object.defineProperty(exports, "JobDefinitionsDetailsResponse", ({
+ enumerable: true,
+ get: function get() {
+ return _JobDefinitionsDetailsResponse["default"];
+ }
+}));
+Object.defineProperty(exports, "JobEvent", ({
+ enumerable: true,
+ get: function get() {
+ return _JobEvent["default"];
+ }
+}));
+Object.defineProperty(exports, "JobRun", ({
+ enumerable: true,
+ get: function get() {
+ return _JobRun["default"];
+ }
+}));
+Object.defineProperty(exports, "JobRunCondensed", ({
+ enumerable: true,
+ get: function get() {
+ return _JobRunCondensed["default"];
+ }
+}));
+Object.defineProperty(exports, "JobRunCondensedListResponse", ({
+ enumerable: true,
+ get: function get() {
+ return _JobRunCondensedListResponse["default"];
+ }
+}));
+Object.defineProperty(exports, "JobRunConnection", ({
+ enumerable: true,
+ get: function get() {
+ return _JobRunConnection["default"];
+ }
+}));
+Object.defineProperty(exports, "JobRunListResponse", ({
+ enumerable: true,
+ get: function get() {
+ return _JobRunListResponse["default"];
+ }
+}));
+Object.defineProperty(exports, "JobRunResponse", ({
+ enumerable: true,
+ get: function get() {
+ return _JobRunResponse["default"];
+ }
+}));
+Object.defineProperty(exports, "JobRunResult", ({
+ enumerable: true,
+ get: function get() {
+ return _JobRunResult["default"];
+ }
+}));
+Object.defineProperty(exports, "JobsApi", ({
+ enumerable: true,
+ get: function get() {
+ return _JobsApi["default"];
+ }
+}));
+Object.defineProperty(exports, "MySQLConnection", ({
+ enumerable: true,
+ get: function get() {
+ return _MySQLConnection["default"];
+ }
+}));
+Object.defineProperty(exports, "Namespace", ({
+ enumerable: true,
+ get: function get() {
+ return _Namespace["default"];
+ }
+}));
+Object.defineProperty(exports, "NamespaceListResponse", ({
+ enumerable: true,
+ get: function get() {
+ return _NamespaceListResponse["default"];
+ }
+}));
+Object.defineProperty(exports, "OrgsApi", ({
+ enumerable: true,
+ get: function get() {
+ return _OrgsApi["default"];
+ }
+}));
+Object.defineProperty(exports, "PostgresConnection", ({
+ enumerable: true,
+ get: function get() {
+ return _PostgresConnection["default"];
+ }
+}));
+Object.defineProperty(exports, "PreviewApi", ({
+ enumerable: true,
+ get: function get() {
+ return _PreviewApi["default"];
+ }
+}));
+Object.defineProperty(exports, "ProductList", ({
+ enumerable: true,
+ get: function get() {
+ return _ProductList["default"];
+ }
+}));
+Object.defineProperty(exports, "Project", ({
+ enumerable: true,
+ get: function get() {
+ return _Project["default"];
+ }
+}));
+Object.defineProperty(exports, "ProjectConnection", ({
+ enumerable: true,
+ get: function get() {
+ return _ProjectConnection["default"];
+ }
+}));
+Object.defineProperty(exports, "ProjectCreate", ({
+ enumerable: true,
+ get: function get() {
+ return _ProjectCreate["default"];
+ }
+}));
+Object.defineProperty(exports, "ProjectCreateResponse", ({
+ enumerable: true,
+ get: function get() {
+ return _ProjectCreateResponse["default"];
+ }
+}));
+Object.defineProperty(exports, "ProjectListResponse", ({
+ enumerable: true,
+ get: function get() {
+ return _ProjectListResponse["default"];
+ }
+}));
+Object.defineProperty(exports, "ProjectResponse", ({
+ enumerable: true,
+ get: function get() {
+ return _ProjectResponse["default"];
+ }
+}));
+Object.defineProperty(exports, "ProjectUpdate", ({
+ enumerable: true,
+ get: function get() {
+ return _ProjectUpdate["default"];
+ }
+}));
+Object.defineProperty(exports, "ProjectsApi", ({
+ enumerable: true,
+ get: function get() {
+ return _ProjectsApi["default"];
+ }
+}));
+Object.defineProperty(exports, "QueueJobDefinition", ({
+ enumerable: true,
+ get: function get() {
+ return _QueueJobDefinition["default"];
+ }
+}));
+Object.defineProperty(exports, "QueueProject", ({
+ enumerable: true,
+ get: function get() {
+ return _QueueProject["default"];
+ }
+}));
+Object.defineProperty(exports, "RedshiftConnection", ({
+ enumerable: true,
+ get: function get() {
+ return _RedshiftConnection["default"];
+ }
+}));
+Object.defineProperty(exports, "RiskLevel", ({
+ enumerable: true,
+ get: function get() {
+ return _RiskLevel["default"];
+ }
+}));
+Object.defineProperty(exports, "RiskThresholds", ({
+ enumerable: true,
+ get: function get() {
+ return _RiskThresholds["default"];
+ }
+}));
+Object.defineProperty(exports, "RiskThresholdsResponse", ({
+ enumerable: true,
+ get: function get() {
+ return _RiskThresholdsResponse["default"];
+ }
+}));
+Object.defineProperty(exports, "S3Connection", ({
+ enumerable: true,
+ get: function get() {
+ return _S3Connection["default"];
+ }
+}));
+Object.defineProperty(exports, "S3SampleConnectionSchemaBase", ({
+ enumerable: true,
+ get: function get() {
+ return _S3SampleConnectionSchemaBase["default"];
+ }
+}));
+Object.defineProperty(exports, "SFTPConnection", ({
+ enumerable: true,
+ get: function get() {
+ return _SFTPConnection["default"];
+ }
+}));
+Object.defineProperty(exports, "SchemaNamespace", ({
+ enumerable: true,
+ get: function get() {
+ return _SchemaNamespace["default"];
+ }
+}));
+Object.defineProperty(exports, "SnowflakeConnection", ({
+ enumerable: true,
+ get: function get() {
+ return _SnowflakeConnection["default"];
+ }
+}));
+Object.defineProperty(exports, "StatsAggregated", ({
+ enumerable: true,
+ get: function get() {
+ return _StatsAggregated["default"];
+ }
+}));
+Object.defineProperty(exports, "StatsAggregatedResponse", ({
+ enumerable: true,
+ get: function get() {
+ return _StatsAggregatedResponse["default"];
+ }
+}));
+Object.defineProperty(exports, "StripeApi", ({
+ enumerable: true,
+ get: function get() {
+ return _StripeApi["default"];
+ }
+}));
+Object.defineProperty(exports, "Subscription", ({
+ enumerable: true,
+ get: function get() {
+ return _Subscription["default"];
+ }
+}));
+Object.defineProperty(exports, "Table", ({
+ enumerable: true,
+ get: function get() {
+ return _Table["default"];
+ }
+}));
+Object.defineProperty(exports, "TablesListResponse", ({
+ enumerable: true,
+ get: function get() {
+ return _TablesListResponse["default"];
+ }
+}));
+Object.defineProperty(exports, "TestConnectionResponse", ({
+ enumerable: true,
+ get: function get() {
+ return _TestConnectionResponse["default"];
+ }
+}));
+Object.defineProperty(exports, "TestConnectionsApi", ({
+ enumerable: true,
+ get: function get() {
+ return _TestConnectionsApi["default"];
+ }
+}));
+Object.defineProperty(exports, "Treatment", ({
+ enumerable: true,
+ get: function get() {
+ return _Treatment["default"];
+ }
+}));
+Object.defineProperty(exports, "TreatmentsApi", ({
+ enumerable: true,
+ get: function get() {
+ return _TreatmentsApi["default"];
+ }
+}));
+Object.defineProperty(exports, "V1JobRunsGet200Response", ({
+ enumerable: true,
+ get: function get() {
+ return _V1JobRunsGet200Response["default"];
+ }
+}));
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _AbbreviatedAssessment = _interopRequireDefault(__nccwpck_require__(7293));
+var _AbbreviatedAssessmentListResponse = _interopRequireDefault(__nccwpck_require__(6566));
+var _Assessment = _interopRequireDefault(__nccwpck_require__(6165));
+var _AssessmentHistoryMeta = _interopRequireDefault(__nccwpck_require__(6941));
+var _AssessmentResponse = _interopRequireDefault(__nccwpck_require__(592));
+var _AssessmentResult = _interopRequireDefault(__nccwpck_require__(7519));
+var _AssessmentResultAggregateRisk = _interopRequireDefault(__nccwpck_require__(4178));
+var _AssessmentResultPiiReportColumn = _interopRequireDefault(__nccwpck_require__(1804));
+var _AssessmentResultRiskScore = _interopRequireDefault(__nccwpck_require__(5853));
+var _BatchJobDefinitions = _interopRequireDefault(__nccwpck_require__(738));
+var _BatchJobDefinitionsResponse = _interopRequireDefault(__nccwpck_require__(8497));
+var _BigQueryConnection = _interopRequireDefault(__nccwpck_require__(6225));
+var _BucketNamespace = _interopRequireDefault(__nccwpck_require__(2252));
+var _ColumnConfig = _interopRequireDefault(__nccwpck_require__(9974));
+var _ColumnDefinition = _interopRequireDefault(__nccwpck_require__(2578));
+var _Connection = _interopRequireDefault(__nccwpck_require__(4797));
+var _ConnectionList = _interopRequireDefault(__nccwpck_require__(1120));
+var _ConnectionMeta = _interopRequireDefault(__nccwpck_require__(9781));
+var _ConnectionResponse = _interopRequireDefault(__nccwpck_require__(802));
+var _CustomerPortalRequest = _interopRequireDefault(__nccwpck_require__(1334));
+var _CustomerPortalResponse = _interopRequireDefault(__nccwpck_require__(1712));
+var _DatasetList = _interopRequireDefault(__nccwpck_require__(836));
+var _DatasetMeta = _interopRequireDefault(__nccwpck_require__(9055));
+var _DatasetNamespace = _interopRequireDefault(__nccwpck_require__(2567));
+var _DbtColumn = _interopRequireDefault(__nccwpck_require__(20));
+var _DbtResponse = _interopRequireDefault(__nccwpck_require__(1617));
+var _DbtTarget = _interopRequireDefault(__nccwpck_require__(2174));
+var _DirectoryNamespace = _interopRequireDefault(__nccwpck_require__(1094));
+var _Favorites = _interopRequireDefault(__nccwpck_require__(6679));
+var _FavoritesListResponse = _interopRequireDefault(__nccwpck_require__(1547));
+var _FavoritesResponse = _interopRequireDefault(__nccwpck_require__(6725));
+var _JSONTable = _interopRequireDefault(__nccwpck_require__(733));
+var _Job = _interopRequireDefault(__nccwpck_require__(6579));
+var _JobAssessment = _interopRequireDefault(__nccwpck_require__(4257));
+var _JobDefinition = _interopRequireDefault(__nccwpck_require__(4821));
+var _JobDefinitionDetails = _interopRequireDefault(__nccwpck_require__(2620));
+var _JobDefinitionDetailsResponse = _interopRequireDefault(__nccwpck_require__(8991));
+var _JobDefinitionResponse = _interopRequireDefault(__nccwpck_require__(2269));
+var _JobDefinitionRunStatus = _interopRequireDefault(__nccwpck_require__(9390));
+var _JobDefinitionRunStatusList = _interopRequireDefault(__nccwpck_require__(580));
+var _JobDefinitionsDetailsResponse = _interopRequireDefault(__nccwpck_require__(9134));
+var _JobEvent = _interopRequireDefault(__nccwpck_require__(1555));
+var _JobRun = _interopRequireDefault(__nccwpck_require__(5712));
+var _JobRunCondensed = _interopRequireDefault(__nccwpck_require__(1410));
+var _JobRunCondensedListResponse = _interopRequireDefault(__nccwpck_require__(7175));
+var _JobRunConnection = _interopRequireDefault(__nccwpck_require__(8855));
+var _JobRunListResponse = _interopRequireDefault(__nccwpck_require__(1398));
+var _JobRunResponse = _interopRequireDefault(__nccwpck_require__(6539));
+var _JobRunResult = _interopRequireDefault(__nccwpck_require__(9063));
+var _MySQLConnection = _interopRequireDefault(__nccwpck_require__(5792));
+var _Namespace = _interopRequireDefault(__nccwpck_require__(5001));
+var _NamespaceListResponse = _interopRequireDefault(__nccwpck_require__(670));
+var _PostgresConnection = _interopRequireDefault(__nccwpck_require__(9586));
+var _ProductList = _interopRequireDefault(__nccwpck_require__(7418));
+var _Project = _interopRequireDefault(__nccwpck_require__(9368));
+var _ProjectConnection = _interopRequireDefault(__nccwpck_require__(1717));
+var _ProjectCreate = _interopRequireDefault(__nccwpck_require__(6950));
+var _ProjectCreateResponse = _interopRequireDefault(__nccwpck_require__(1154));
+var _ProjectListResponse = _interopRequireDefault(__nccwpck_require__(2176));
+var _ProjectResponse = _interopRequireDefault(__nccwpck_require__(4067));
+var _ProjectUpdate = _interopRequireDefault(__nccwpck_require__(1928));
+var _QueueJobDefinition = _interopRequireDefault(__nccwpck_require__(7899));
+var _QueueProject = _interopRequireDefault(__nccwpck_require__(386));
+var _RedshiftConnection = _interopRequireDefault(__nccwpck_require__(2032));
+var _RiskLevel = _interopRequireDefault(__nccwpck_require__(278));
+var _RiskThresholds = _interopRequireDefault(__nccwpck_require__(7026));
+var _RiskThresholdsResponse = _interopRequireDefault(__nccwpck_require__(5081));
+var _S3Connection = _interopRequireDefault(__nccwpck_require__(9475));
+var _S3SampleConnectionSchemaBase = _interopRequireDefault(__nccwpck_require__(5617));
+var _SFTPConnection = _interopRequireDefault(__nccwpck_require__(2039));
+var _SchemaNamespace = _interopRequireDefault(__nccwpck_require__(940));
+var _SnowflakeConnection = _interopRequireDefault(__nccwpck_require__(6470));
+var _StatsAggregated = _interopRequireDefault(__nccwpck_require__(163));
+var _StatsAggregatedResponse = _interopRequireDefault(__nccwpck_require__(9577));
+var _Subscription = _interopRequireDefault(__nccwpck_require__(7296));
+var _Table = _interopRequireDefault(__nccwpck_require__(7139));
+var _TablesListResponse = _interopRequireDefault(__nccwpck_require__(3690));
+var _TestConnectionResponse = _interopRequireDefault(__nccwpck_require__(2296));
+var _Treatment = _interopRequireDefault(__nccwpck_require__(5398));
+var _V1JobRunsGet200Response = _interopRequireDefault(__nccwpck_require__(3984));
+var _AssessmentsApi = _interopRequireDefault(__nccwpck_require__(8085));
+var _ConnectionsApi = _interopRequireDefault(__nccwpck_require__(6146));
+var _DatasetsApi = _interopRequireDefault(__nccwpck_require__(263));
+var _DbtApi = _interopRequireDefault(__nccwpck_require__(2494));
+var _FavoritesApi = _interopRequireDefault(__nccwpck_require__(18));
+var _GithubApi = _interopRequireDefault(__nccwpck_require__(243));
+var _JobDefinitionsApi = _interopRequireDefault(__nccwpck_require__(2879));
+var _JobsApi = _interopRequireDefault(__nccwpck_require__(7169));
+var _OrgsApi = _interopRequireDefault(__nccwpck_require__(9542));
+var _PreviewApi = _interopRequireDefault(__nccwpck_require__(7343));
+var _ProjectsApi = _interopRequireDefault(__nccwpck_require__(7501));
+var _StripeApi = _interopRequireDefault(__nccwpck_require__(7290));
+var _TestConnectionsApi = _interopRequireDefault(__nccwpck_require__(3729));
+var _TreatmentsApi = _interopRequireDefault(__nccwpck_require__(2774));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+
+/***/ }),
+
+/***/ 7293:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The AbbreviatedAssessment model module.
+ * @module model/AbbreviatedAssessment
+ * @version latest
+ */
+var AbbreviatedAssessment = /*#__PURE__*/function () {
+ /**
+ * Constructs a new AbbreviatedAssessment
.
+ * @alias module:model/AbbreviatedAssessment
+ */
+ function AbbreviatedAssessment() {
+ _classCallCheck(this, AbbreviatedAssessment);
+ AbbreviatedAssessment.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(AbbreviatedAssessment, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a AbbreviatedAssessment
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AbbreviatedAssessment} obj Optional instance to populate.
+ * @return {module:model/AbbreviatedAssessment} The populated AbbreviatedAssessment
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AbbreviatedAssessment();
+ if (data.hasOwnProperty('assessment_id')) {
+ obj['assessment_id'] = _ApiClient["default"].convertToType(data['assessment_id'], 'String');
+ }
+ if (data.hasOwnProperty('created')) {
+ obj['created'] = _ApiClient["default"].convertToType(data['created'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to AbbreviatedAssessment
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to AbbreviatedAssessment
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['assessment_id'] && !(typeof data['assessment_id'] === 'string' || data['assessment_id'] instanceof String)) {
+ throw new Error("Expected the field `assessment_id` to be a primitive type in the JSON string but got " + data['assessment_id']);
+ }
+ return true;
+ }
+ }]);
+ return AbbreviatedAssessment;
+}();
+/**
+ * @member {String} assessment_id
+ */
+AbbreviatedAssessment.prototype['assessment_id'] = undefined;
+
+/**
+ * @member {Number} created
+ */
+AbbreviatedAssessment.prototype['created'] = undefined;
+var _default = AbbreviatedAssessment;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 6566:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _AbbreviatedAssessment = _interopRequireDefault(__nccwpck_require__(7293));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The AbbreviatedAssessmentListResponse model module.
+ * @module model/AbbreviatedAssessmentListResponse
+ * @version latest
+ */
+var AbbreviatedAssessmentListResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new AbbreviatedAssessmentListResponse
.
+ * @alias module:model/AbbreviatedAssessmentListResponse
+ */
+ function AbbreviatedAssessmentListResponse() {
+ _classCallCheck(this, AbbreviatedAssessmentListResponse);
+ AbbreviatedAssessmentListResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(AbbreviatedAssessmentListResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a AbbreviatedAssessmentListResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AbbreviatedAssessmentListResponse} obj Optional instance to populate.
+ * @return {module:model/AbbreviatedAssessmentListResponse} The populated AbbreviatedAssessmentListResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AbbreviatedAssessmentListResponse();
+ if (data.hasOwnProperty('request_id')) {
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
+ }
+ if (data.hasOwnProperty('processing_time')) {
+ obj['processing_time'] = _ApiClient["default"].convertToType(data['processing_time'], 'String');
+ }
+ if (data.hasOwnProperty('request_timestamp')) {
+ obj['request_timestamp'] = _ApiClient["default"].convertToType(data['request_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('requested_by')) {
+ obj['requested_by'] = _ApiClient["default"].convertToType(data['requested_by'], 'String');
+ }
+ if (data.hasOwnProperty('org_id')) {
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'String');
+ }
+ if (data.hasOwnProperty('assessments')) {
+ obj['assessments'] = _ApiClient["default"].convertToType(data['assessments'], [_AbbreviatedAssessment["default"]]);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to AbbreviatedAssessmentListResponse
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to AbbreviatedAssessmentListResponse
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
+ }
+ // ensure the json data is a string
+ if (data['processing_time'] && !(typeof data['processing_time'] === 'string' || data['processing_time'] instanceof String)) {
+ throw new Error("Expected the field `processing_time` to be a primitive type in the JSON string but got " + data['processing_time']);
+ }
+ // ensure the json data is a string
+ if (data['requested_by'] && !(typeof data['requested_by'] === 'string' || data['requested_by'] instanceof String)) {
+ throw new Error("Expected the field `requested_by` to be a primitive type in the JSON string but got " + data['requested_by']);
+ }
+ // ensure the json data is a string
+ if (data['org_id'] && !(typeof data['org_id'] === 'string' || data['org_id'] instanceof String)) {
+ throw new Error("Expected the field `org_id` to be a primitive type in the JSON string but got " + data['org_id']);
+ }
+ if (data['assessments']) {
+ // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['assessments'])) {
+ throw new Error("Expected the field `assessments` to be an array in the JSON data but got " + data['assessments']);
+ }
+ // validate the optional field `assessments` (array)
+ var _iterator = _createForOfIteratorHelper(data['assessments']),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var item = _step.value;
+ _AbbreviatedAssessment["default"].validateJsonObject(item);
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ ;
+ }
+ return true;
+ }
+ }]);
+ return AbbreviatedAssessmentListResponse;
+}();
+/**
+ * @member {String} request_id
+ */
+AbbreviatedAssessmentListResponse.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+AbbreviatedAssessmentListResponse.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+AbbreviatedAssessmentListResponse.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+AbbreviatedAssessmentListResponse.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+AbbreviatedAssessmentListResponse.prototype['org_id'] = undefined;
+
+/**
+ * @member {Array.} assessments
+ */
+AbbreviatedAssessmentListResponse.prototype['assessments'] = undefined;
+var _default = AbbreviatedAssessmentListResponse;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 6165:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _AssessmentHistoryMeta = _interopRequireDefault(__nccwpck_require__(6941));
+var _AssessmentResult = _interopRequireDefault(__nccwpck_require__(7519));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The Assessment model module.
+ * @module model/Assessment
+ * @version latest
+ */
+var Assessment = /*#__PURE__*/function () {
+ /**
+ * Constructs a new Assessment
.
+ * @alias module:model/Assessment
+ */
+ function Assessment() {
+ _classCallCheck(this, Assessment);
+ Assessment.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(Assessment, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a Assessment
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Assessment} obj Optional instance to populate.
+ * @return {module:model/Assessment} The populated Assessment
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Assessment();
+ if (data.hasOwnProperty('assessment_id')) {
+ obj['assessment_id'] = _ApiClient["default"].convertToType(data['assessment_id'], 'String');
+ }
+ if (data.hasOwnProperty('created')) {
+ obj['created'] = _ApiClient["default"].convertToType(data['created'], 'Number');
+ }
+ if (data.hasOwnProperty('rows_processed')) {
+ obj['rows_processed'] = _ApiClient["default"].convertToType(data['rows_processed'], 'Number');
+ }
+ if (data.hasOwnProperty('columns_processed')) {
+ obj['columns_processed'] = _ApiClient["default"].convertToType(data['columns_processed'], 'Number');
+ }
+ if (data.hasOwnProperty('phisher_average_type_a')) {
+ obj['phisher_average_type_a'] = _ApiClient["default"].convertToType(data['phisher_average_type_a'], 'Number');
+ }
+ if (data.hasOwnProperty('rows_treated')) {
+ obj['rows_treated'] = _ApiClient["default"].convertToType(data['rows_treated'], 'Number');
+ }
+ if (data.hasOwnProperty('cells_processed')) {
+ obj['cells_processed'] = _ApiClient["default"].convertToType(data['cells_processed'], 'Number');
+ }
+ if (data.hasOwnProperty('cells_treated')) {
+ obj['cells_treated'] = _ApiClient["default"].convertToType(data['cells_treated'], 'Number');
+ }
+ if (data.hasOwnProperty('phisher_average_type_a_initial')) {
+ obj['phisher_average_type_a_initial'] = _ApiClient["default"].convertToType(data['phisher_average_type_a_initial'], 'Number');
+ }
+ if (data.hasOwnProperty('k_target')) {
+ obj['k_target'] = _ApiClient["default"].convertToType(data['k_target'], 'Number');
+ }
+ if (data.hasOwnProperty('assessment_history')) {
+ obj['assessment_history'] = _ApiClient["default"].convertToType(data['assessment_history'], [_AssessmentHistoryMeta["default"]]);
+ }
+ if (data.hasOwnProperty('assessment_result')) {
+ obj['assessment_result'] = _AssessmentResult["default"].constructFromObject(data['assessment_result']);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to Assessment
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to Assessment
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['assessment_id'] && !(typeof data['assessment_id'] === 'string' || data['assessment_id'] instanceof String)) {
+ throw new Error("Expected the field `assessment_id` to be a primitive type in the JSON string but got " + data['assessment_id']);
+ }
+ if (data['assessment_history']) {
+ // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['assessment_history'])) {
+ throw new Error("Expected the field `assessment_history` to be an array in the JSON data but got " + data['assessment_history']);
+ }
+ // validate the optional field `assessment_history` (array)
+ var _iterator = _createForOfIteratorHelper(data['assessment_history']),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var item = _step.value;
+ _AssessmentHistoryMeta["default"].validateJsonObject(item);
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ ;
+ }
+ // validate the optional field `assessment_result`
+ if (data['assessment_result']) {
+ // data not null
+ _AssessmentResult["default"].validateJSON(data['assessment_result']);
+ }
+ return true;
+ }
+ }]);
+ return Assessment;
+}();
+/**
+ * @member {String} assessment_id
+ */
+Assessment.prototype['assessment_id'] = undefined;
+
+/**
+ * @member {Number} created
+ */
+Assessment.prototype['created'] = undefined;
+
+/**
+ * @member {Number} rows_processed
+ */
+Assessment.prototype['rows_processed'] = undefined;
+
+/**
+ * @member {Number} columns_processed
+ */
+Assessment.prototype['columns_processed'] = undefined;
+
+/**
+ * @member {Number} phisher_average_type_a
+ */
+Assessment.prototype['phisher_average_type_a'] = undefined;
+
+/**
+ * @member {Number} rows_treated
+ */
+Assessment.prototype['rows_treated'] = undefined;
+
+/**
+ * @member {Number} cells_processed
+ */
+Assessment.prototype['cells_processed'] = undefined;
+
+/**
+ * @member {Number} cells_treated
+ */
+Assessment.prototype['cells_treated'] = undefined;
+
+/**
+ * @member {Number} phisher_average_type_a_initial
+ */
+Assessment.prototype['phisher_average_type_a_initial'] = undefined;
+
+/**
+ * @member {Number} k_target
+ */
+Assessment.prototype['k_target'] = undefined;
+
+/**
+ * @member {Array.} assessment_history
+ */
+Assessment.prototype['assessment_history'] = undefined;
+
+/**
+ * @member {module:model/AssessmentResult} assessment_result
+ */
+Assessment.prototype['assessment_result'] = undefined;
+var _default = Assessment;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 6941:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The AssessmentHistoryMeta model module.
+ * @module model/AssessmentHistoryMeta
+ * @version latest
+ */
+var AssessmentHistoryMeta = /*#__PURE__*/function () {
+ /**
+ * Constructs a new AssessmentHistoryMeta
.
+ * @alias module:model/AssessmentHistoryMeta
+ */
+ function AssessmentHistoryMeta() {
+ _classCallCheck(this, AssessmentHistoryMeta);
+ AssessmentHistoryMeta.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(AssessmentHistoryMeta, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a AssessmentHistoryMeta
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AssessmentHistoryMeta} obj Optional instance to populate.
+ * @return {module:model/AssessmentHistoryMeta} The populated AssessmentHistoryMeta
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AssessmentHistoryMeta();
+ if (data.hasOwnProperty('Phisher Average Type A')) {
+ obj['Phisher Average Type A'] = _ApiClient["default"].convertToType(data['Phisher Average Type A'], 'Number');
+ }
+ if (data.hasOwnProperty('Phisher K Threshold')) {
+ obj['Phisher K Threshold'] = _ApiClient["default"].convertToType(data['Phisher K Threshold'], 'Number');
+ }
+ if (data.hasOwnProperty('assessment_id')) {
+ obj['assessment_id'] = _ApiClient["default"].convertToType(data['assessment_id'], 'String');
+ }
+ if (data.hasOwnProperty('created')) {
+ obj['created'] = _ApiClient["default"].convertToType(data['created'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to AssessmentHistoryMeta
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to AssessmentHistoryMeta
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['assessment_id'] && !(typeof data['assessment_id'] === 'string' || data['assessment_id'] instanceof String)) {
+ throw new Error("Expected the field `assessment_id` to be a primitive type in the JSON string but got " + data['assessment_id']);
+ }
+ return true;
+ }
+ }]);
+ return AssessmentHistoryMeta;
+}();
+/**
+ * @member {Number} Phisher Average Type A
+ */
+AssessmentHistoryMeta.prototype['Phisher Average Type A'] = undefined;
+
+/**
+ * @member {Number} Phisher K Threshold
+ */
+AssessmentHistoryMeta.prototype['Phisher K Threshold'] = undefined;
+
+/**
+ * @member {String} assessment_id
+ */
+AssessmentHistoryMeta.prototype['assessment_id'] = undefined;
+
+/**
+ * @member {Number} created
+ */
+AssessmentHistoryMeta.prototype['created'] = undefined;
+var _default = AssessmentHistoryMeta;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 592:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _Assessment = _interopRequireDefault(__nccwpck_require__(6165));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The AssessmentResponse model module.
+ * @module model/AssessmentResponse
+ * @version latest
+ */
+var AssessmentResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new AssessmentResponse
.
+ * @alias module:model/AssessmentResponse
+ */
+ function AssessmentResponse() {
+ _classCallCheck(this, AssessmentResponse);
+ AssessmentResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(AssessmentResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a AssessmentResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AssessmentResponse} obj Optional instance to populate.
+ * @return {module:model/AssessmentResponse} The populated AssessmentResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AssessmentResponse();
+ if (data.hasOwnProperty('request_id')) {
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
+ }
+ if (data.hasOwnProperty('processing_time')) {
+ obj['processing_time'] = _ApiClient["default"].convertToType(data['processing_time'], 'String');
+ }
+ if (data.hasOwnProperty('request_timestamp')) {
+ obj['request_timestamp'] = _ApiClient["default"].convertToType(data['request_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('requested_by')) {
+ obj['requested_by'] = _ApiClient["default"].convertToType(data['requested_by'], 'String');
+ }
+ if (data.hasOwnProperty('org_id')) {
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'String');
+ }
+ if (data.hasOwnProperty('assessment')) {
+ obj['assessment'] = _Assessment["default"].constructFromObject(data['assessment']);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to AssessmentResponse
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to AssessmentResponse
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
+ }
+ // ensure the json data is a string
+ if (data['processing_time'] && !(typeof data['processing_time'] === 'string' || data['processing_time'] instanceof String)) {
+ throw new Error("Expected the field `processing_time` to be a primitive type in the JSON string but got " + data['processing_time']);
+ }
+ // ensure the json data is a string
+ if (data['requested_by'] && !(typeof data['requested_by'] === 'string' || data['requested_by'] instanceof String)) {
+ throw new Error("Expected the field `requested_by` to be a primitive type in the JSON string but got " + data['requested_by']);
+ }
+ // ensure the json data is a string
+ if (data['org_id'] && !(typeof data['org_id'] === 'string' || data['org_id'] instanceof String)) {
+ throw new Error("Expected the field `org_id` to be a primitive type in the JSON string but got " + data['org_id']);
+ }
+ // validate the optional field `assessment`
+ if (data['assessment']) {
+ // data not null
+ _Assessment["default"].validateJSON(data['assessment']);
+ }
+ return true;
+ }
+ }]);
+ return AssessmentResponse;
+}();
+/**
+ * @member {String} request_id
+ */
+AssessmentResponse.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+AssessmentResponse.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+AssessmentResponse.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+AssessmentResponse.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+AssessmentResponse.prototype['org_id'] = undefined;
+
+/**
+ * @member {module:model/Assessment} assessment
+ */
+AssessmentResponse.prototype['assessment'] = undefined;
+var _default = AssessmentResponse;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 7519:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _AssessmentResultAggregateRisk = _interopRequireDefault(__nccwpck_require__(4178));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The AssessmentResult model module.
+ * @module model/AssessmentResult
+ * @version latest
+ */
+var AssessmentResult = /*#__PURE__*/function () {
+ /**
+ * Constructs a new AssessmentResult
.
+ * @alias module:model/AssessmentResult
+ */
+ function AssessmentResult() {
+ _classCallCheck(this, AssessmentResult);
+ AssessmentResult.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(AssessmentResult, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a AssessmentResult
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AssessmentResult} obj Optional instance to populate.
+ * @return {module:model/AssessmentResult} The populated AssessmentResult
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AssessmentResult();
+ if (data.hasOwnProperty('aggregate_risks')) {
+ obj['aggregate_risks'] = _AssessmentResultAggregateRisk["default"].constructFromObject(data['aggregate_risks']);
+ }
+ if (data.hasOwnProperty('date')) {
+ obj['date'] = _ApiClient["default"].convertToType(data['date'], 'String');
+ }
+ if (data.hasOwnProperty('k_target')) {
+ obj['k_target'] = _ApiClient["default"].convertToType(data['k_target'], 'Number');
+ }
+ if (data.hasOwnProperty('record_count')) {
+ obj['record_count'] = _ApiClient["default"].convertToType(data['record_count'], 'Number');
+ }
+ if (data.hasOwnProperty('rows_treated')) {
+ obj['rows_treated'] = _ApiClient["default"].convertToType(data['rows_treated'], 'Number');
+ }
+ if (data.hasOwnProperty('cells_treated')) {
+ obj['cells_treated'] = _ApiClient["default"].convertToType(data['cells_treated'], 'Number');
+ }
+ if (data.hasOwnProperty('cells_count')) {
+ obj['cells_count'] = _ApiClient["default"].convertToType(data['cells_count'], 'Number');
+ }
+ if (data.hasOwnProperty('did_default_treatment_method')) {
+ obj['did_default_treatment_method'] = _ApiClient["default"].convertToType(data['did_default_treatment_method'], 'String');
+ }
+ if (data.hasOwnProperty('qid_default_treatment_method')) {
+ obj['qid_default_treatment_method'] = _ApiClient["default"].convertToType(data['qid_default_treatment_method'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to AssessmentResult
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to AssessmentResult
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // validate the optional field `aggregate_risks`
+ if (data['aggregate_risks']) {
+ // data not null
+ _AssessmentResultAggregateRisk["default"].validateJSON(data['aggregate_risks']);
+ }
+ // ensure the json data is a string
+ if (data['date'] && !(typeof data['date'] === 'string' || data['date'] instanceof String)) {
+ throw new Error("Expected the field `date` to be a primitive type in the JSON string but got " + data['date']);
+ }
+ // ensure the json data is a string
+ if (data['did_default_treatment_method'] && !(typeof data['did_default_treatment_method'] === 'string' || data['did_default_treatment_method'] instanceof String)) {
+ throw new Error("Expected the field `did_default_treatment_method` to be a primitive type in the JSON string but got " + data['did_default_treatment_method']);
+ }
+ // ensure the json data is a string
+ if (data['qid_default_treatment_method'] && !(typeof data['qid_default_treatment_method'] === 'string' || data['qid_default_treatment_method'] instanceof String)) {
+ throw new Error("Expected the field `qid_default_treatment_method` to be a primitive type in the JSON string but got " + data['qid_default_treatment_method']);
+ }
+ return true;
+ }
+ }]);
+ return AssessmentResult;
+}();
+/**
+ * @member {module:model/AssessmentResultAggregateRisk} aggregate_risks
+ */
+AssessmentResult.prototype['aggregate_risks'] = undefined;
+
+/**
+ * @member {String} date
+ */
+AssessmentResult.prototype['date'] = undefined;
+
+/**
+ * @member {Number} k_target
+ */
+AssessmentResult.prototype['k_target'] = undefined;
+
+/**
+ * @member {Number} record_count
+ */
+AssessmentResult.prototype['record_count'] = undefined;
+
+/**
+ * @member {Number} rows_treated
+ */
+AssessmentResult.prototype['rows_treated'] = undefined;
+
+/**
+ * @member {Number} cells_treated
+ */
+AssessmentResult.prototype['cells_treated'] = undefined;
+
+/**
+ * @member {Number} cells_count
+ */
+AssessmentResult.prototype['cells_count'] = undefined;
+
+/**
+ * @member {String} did_default_treatment_method
+ */
+AssessmentResult.prototype['did_default_treatment_method'] = undefined;
+
+/**
+ * @member {String} qid_default_treatment_method
+ */
+AssessmentResult.prototype['qid_default_treatment_method'] = undefined;
+var _default = AssessmentResult;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 4178:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _AssessmentResultPiiReportColumn = _interopRequireDefault(__nccwpck_require__(1804));
+var _AssessmentResultRiskScore = _interopRequireDefault(__nccwpck_require__(5853));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The AssessmentResultAggregateRisk model module.
+ * @module model/AssessmentResultAggregateRisk
+ * @version latest
+ */
+var AssessmentResultAggregateRisk = /*#__PURE__*/function () {
+ /**
+ * Constructs a new AssessmentResultAggregateRisk
.
+ * @alias module:model/AssessmentResultAggregateRisk
+ */
+ function AssessmentResultAggregateRisk() {
+ _classCallCheck(this, AssessmentResultAggregateRisk);
+ AssessmentResultAggregateRisk.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(AssessmentResultAggregateRisk, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a AssessmentResultAggregateRisk
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AssessmentResultAggregateRisk} obj Optional instance to populate.
+ * @return {module:model/AssessmentResultAggregateRisk} The populated AssessmentResultAggregateRisk
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AssessmentResultAggregateRisk();
+ if (data.hasOwnProperty('aggregate_initial_risk_score')) {
+ obj['aggregate_initial_risk_score'] = _ApiClient["default"].convertToType(data['aggregate_initial_risk_score'], [_AssessmentResultRiskScore["default"]]);
+ }
+ if (data.hasOwnProperty('aggregate_risk_score')) {
+ obj['aggregate_risk_score'] = _ApiClient["default"].convertToType(data['aggregate_risk_score'], [_AssessmentResultRiskScore["default"]]);
+ }
+ if (data.hasOwnProperty('columns')) {
+ obj['columns'] = _AssessmentResultPiiReportColumn["default"].constructFromObject(data['columns']);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to AssessmentResultAggregateRisk
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to AssessmentResultAggregateRisk
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ if (data['aggregate_initial_risk_score']) {
+ // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['aggregate_initial_risk_score'])) {
+ throw new Error("Expected the field `aggregate_initial_risk_score` to be an array in the JSON data but got " + data['aggregate_initial_risk_score']);
+ }
+ // validate the optional field `aggregate_initial_risk_score` (array)
+ var _iterator = _createForOfIteratorHelper(data['aggregate_initial_risk_score']),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var item = _step.value;
+ _AssessmentResultRiskScore["default"].validateJsonObject(item);
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ ;
+ }
+ if (data['aggregate_risk_score']) {
+ // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['aggregate_risk_score'])) {
+ throw new Error("Expected the field `aggregate_risk_score` to be an array in the JSON data but got " + data['aggregate_risk_score']);
+ }
+ // validate the optional field `aggregate_risk_score` (array)
+ var _iterator2 = _createForOfIteratorHelper(data['aggregate_risk_score']),
+ _step2;
+ try {
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
+ var _item = _step2.value;
+ _AssessmentResultRiskScore["default"].validateJsonObject(_item);
+ }
+ } catch (err) {
+ _iterator2.e(err);
+ } finally {
+ _iterator2.f();
+ }
+ ;
+ }
+ // validate the optional field `columns`
+ if (data['columns']) {
+ // data not null
+ _AssessmentResultPiiReportColumn["default"].validateJSON(data['columns']);
+ }
+ return true;
+ }
+ }]);
+ return AssessmentResultAggregateRisk;
+}();
+/**
+ * @member {Array.} aggregate_initial_risk_score
+ */
+AssessmentResultAggregateRisk.prototype['aggregate_initial_risk_score'] = undefined;
+
+/**
+ * @member {Array.} aggregate_risk_score
+ */
+AssessmentResultAggregateRisk.prototype['aggregate_risk_score'] = undefined;
+
+/**
+ * @member {module:model/AssessmentResultPiiReportColumn} columns
+ */
+AssessmentResultAggregateRisk.prototype['columns'] = undefined;
+var _default = AssessmentResultAggregateRisk;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 1804:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The AssessmentResultPiiReportColumn model module.
+ * @module model/AssessmentResultPiiReportColumn
+ * @version latest
+ */
+var AssessmentResultPiiReportColumn = /*#__PURE__*/function () {
+ /**
+ * Constructs a new AssessmentResultPiiReportColumn
.
+ * @alias module:model/AssessmentResultPiiReportColumn
+ */
+ function AssessmentResultPiiReportColumn() {
+ _classCallCheck(this, AssessmentResultPiiReportColumn);
+ AssessmentResultPiiReportColumn.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(AssessmentResultPiiReportColumn, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a AssessmentResultPiiReportColumn
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AssessmentResultPiiReportColumn} obj Optional instance to populate.
+ * @return {module:model/AssessmentResultPiiReportColumn} The populated AssessmentResultPiiReportColumn
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AssessmentResultPiiReportColumn();
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
+ }
+ if (data.hasOwnProperty('data_type')) {
+ obj['data_type'] = _ApiClient["default"].convertToType(data['data_type'], 'String');
+ }
+ if (data.hasOwnProperty('treatment_method')) {
+ obj['treatment_method'] = _ApiClient["default"].convertToType(data['treatment_method'], 'String');
+ }
+ if (data.hasOwnProperty('ordered')) {
+ obj['ordered'] = _ApiClient["default"].convertToType(data['ordered'], 'Boolean');
+ }
+ if (data.hasOwnProperty('risk_category')) {
+ obj['risk_category'] = _ApiClient["default"].convertToType(data['risk_category'], 'String');
+ }
+ if (data.hasOwnProperty('pii_types')) {
+ obj['pii_types'] = _ApiClient["default"].convertToType(data['pii_types'], ['String']);
+ }
+ if (data.hasOwnProperty('method')) {
+ obj['method'] = _ApiClient["default"].convertToType(data['method'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to AssessmentResultPiiReportColumn
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to AssessmentResultPiiReportColumn
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
+ throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
+ }
+ // ensure the json data is a string
+ if (data['data_type'] && !(typeof data['data_type'] === 'string' || data['data_type'] instanceof String)) {
+ throw new Error("Expected the field `data_type` to be a primitive type in the JSON string but got " + data['data_type']);
+ }
+ // ensure the json data is a string
+ if (data['treatment_method'] && !(typeof data['treatment_method'] === 'string' || data['treatment_method'] instanceof String)) {
+ throw new Error("Expected the field `treatment_method` to be a primitive type in the JSON string but got " + data['treatment_method']);
+ }
+ // ensure the json data is a string
+ if (data['risk_category'] && !(typeof data['risk_category'] === 'string' || data['risk_category'] instanceof String)) {
+ throw new Error("Expected the field `risk_category` to be a primitive type in the JSON string but got " + data['risk_category']);
+ }
+ // ensure the json data is an array
+ if (!Array.isArray(data['pii_types'])) {
+ throw new Error("Expected the field `pii_types` to be an array in the JSON data but got " + data['pii_types']);
+ }
+ // ensure the json data is a string
+ if (data['method'] && !(typeof data['method'] === 'string' || data['method'] instanceof String)) {
+ throw new Error("Expected the field `method` to be a primitive type in the JSON string but got " + data['method']);
+ }
+ return true;
+ }
+ }]);
+ return AssessmentResultPiiReportColumn;
+}();
+/**
+ * @member {String} name
+ */
+AssessmentResultPiiReportColumn.prototype['name'] = undefined;
+
+/**
+ * @member {String} data_type
+ */
+AssessmentResultPiiReportColumn.prototype['data_type'] = undefined;
+
+/**
+ * @member {String} treatment_method
+ */
+AssessmentResultPiiReportColumn.prototype['treatment_method'] = undefined;
+
+/**
+ * @member {Boolean} ordered
+ */
+AssessmentResultPiiReportColumn.prototype['ordered'] = undefined;
+
+/**
+ * @member {String} risk_category
+ */
+AssessmentResultPiiReportColumn.prototype['risk_category'] = undefined;
+
+/**
+ * @member {Array.} pii_types
+ */
+AssessmentResultPiiReportColumn.prototype['pii_types'] = undefined;
+
+/**
+ * @member {String} method
+ */
+AssessmentResultPiiReportColumn.prototype['method'] = undefined;
+var _default = AssessmentResultPiiReportColumn;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 5853:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The AssessmentResultRiskScore model module.
+ * @module model/AssessmentResultRiskScore
+ * @version latest
+ */
+var AssessmentResultRiskScore = /*#__PURE__*/function () {
+ /**
+ * Constructs a new AssessmentResultRiskScore
.
+ * @alias module:model/AssessmentResultRiskScore
+ */
+ function AssessmentResultRiskScore() {
+ _classCallCheck(this, AssessmentResultRiskScore);
+ AssessmentResultRiskScore.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(AssessmentResultRiskScore, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a AssessmentResultRiskScore
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/AssessmentResultRiskScore} obj Optional instance to populate.
+ * @return {module:model/AssessmentResultRiskScore} The populated AssessmentResultRiskScore
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new AssessmentResultRiskScore();
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
+ }
+ if (data.hasOwnProperty('score')) {
+ obj['score'] = _ApiClient["default"].convertToType(data['score'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to AssessmentResultRiskScore
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to AssessmentResultRiskScore
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
+ throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
+ }
+ return true;
+ }
+ }]);
+ return AssessmentResultRiskScore;
+}();
+/**
+ * @member {String} name
+ */
+AssessmentResultRiskScore.prototype['name'] = undefined;
+
+/**
+ * @member {Number} score
+ */
+AssessmentResultRiskScore.prototype['score'] = undefined;
+var _default = AssessmentResultRiskScore;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 738:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _JobDefinition = _interopRequireDefault(__nccwpck_require__(4821));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The BatchJobDefinitions model module.
+ * @module model/BatchJobDefinitions
+ * @version latest
+ */
+var BatchJobDefinitions = /*#__PURE__*/function () {
+ /**
+ * Constructs a new BatchJobDefinitions
.
+ * @alias module:model/BatchJobDefinitions
+ */
+ function BatchJobDefinitions() {
+ _classCallCheck(this, BatchJobDefinitions);
+ BatchJobDefinitions.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(BatchJobDefinitions, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a BatchJobDefinitions
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/BatchJobDefinitions} obj Optional instance to populate.
+ * @return {module:model/BatchJobDefinitions} The populated BatchJobDefinitions
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new BatchJobDefinitions();
+ if (data.hasOwnProperty('job_definitions')) {
+ obj['job_definitions'] = _ApiClient["default"].convertToType(data['job_definitions'], [_JobDefinition["default"]]);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to BatchJobDefinitions
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to BatchJobDefinitions
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ if (data['job_definitions']) {
+ // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['job_definitions'])) {
+ throw new Error("Expected the field `job_definitions` to be an array in the JSON data but got " + data['job_definitions']);
+ }
+ // validate the optional field `job_definitions` (array)
+ var _iterator = _createForOfIteratorHelper(data['job_definitions']),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var item = _step.value;
+ _JobDefinition["default"].validateJsonObject(item);
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ ;
+ }
+ return true;
+ }
+ }]);
+ return BatchJobDefinitions;
+}();
+/**
+ * @member {Array.} job_definitions
+ */
+BatchJobDefinitions.prototype['job_definitions'] = undefined;
+var _default = BatchJobDefinitions;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 8497:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _BatchJobDefinitions = _interopRequireDefault(__nccwpck_require__(738));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The BatchJobDefinitionsResponse model module.
+ * @module model/BatchJobDefinitionsResponse
+ * @version latest
+ */
+var BatchJobDefinitionsResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new BatchJobDefinitionsResponse
.
+ * @alias module:model/BatchJobDefinitionsResponse
+ */
+ function BatchJobDefinitionsResponse() {
+ _classCallCheck(this, BatchJobDefinitionsResponse);
+ BatchJobDefinitionsResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(BatchJobDefinitionsResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a BatchJobDefinitionsResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/BatchJobDefinitionsResponse} obj Optional instance to populate.
+ * @return {module:model/BatchJobDefinitionsResponse} The populated BatchJobDefinitionsResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new BatchJobDefinitionsResponse();
+ if (data.hasOwnProperty('request_id')) {
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
+ }
+ if (data.hasOwnProperty('processing_time')) {
+ obj['processing_time'] = _ApiClient["default"].convertToType(data['processing_time'], 'String');
+ }
+ if (data.hasOwnProperty('request_timestamp')) {
+ obj['request_timestamp'] = _ApiClient["default"].convertToType(data['request_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('requested_by')) {
+ obj['requested_by'] = _ApiClient["default"].convertToType(data['requested_by'], 'String');
+ }
+ if (data.hasOwnProperty('org_id')) {
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'String');
+ }
+ if (data.hasOwnProperty('jobs')) {
+ obj['jobs'] = _BatchJobDefinitions["default"].constructFromObject(data['jobs']);
+ }
+ if (data.hasOwnProperty('jobs_failed_to_schedule')) {
+ obj['jobs_failed_to_schedule'] = _ApiClient["default"].convertToType(data['jobs_failed_to_schedule'], ['String']);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to BatchJobDefinitionsResponse
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to BatchJobDefinitionsResponse
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
+ }
+ // ensure the json data is a string
+ if (data['processing_time'] && !(typeof data['processing_time'] === 'string' || data['processing_time'] instanceof String)) {
+ throw new Error("Expected the field `processing_time` to be a primitive type in the JSON string but got " + data['processing_time']);
+ }
+ // ensure the json data is a string
+ if (data['requested_by'] && !(typeof data['requested_by'] === 'string' || data['requested_by'] instanceof String)) {
+ throw new Error("Expected the field `requested_by` to be a primitive type in the JSON string but got " + data['requested_by']);
+ }
+ // ensure the json data is a string
+ if (data['org_id'] && !(typeof data['org_id'] === 'string' || data['org_id'] instanceof String)) {
+ throw new Error("Expected the field `org_id` to be a primitive type in the JSON string but got " + data['org_id']);
+ }
+ // validate the optional field `jobs`
+ if (data['jobs']) {
+ // data not null
+ _BatchJobDefinitions["default"].validateJSON(data['jobs']);
+ }
+ // ensure the json data is an array
+ if (!Array.isArray(data['jobs_failed_to_schedule'])) {
+ throw new Error("Expected the field `jobs_failed_to_schedule` to be an array in the JSON data but got " + data['jobs_failed_to_schedule']);
+ }
+ return true;
+ }
+ }]);
+ return BatchJobDefinitionsResponse;
+}();
+/**
+ * @member {String} request_id
+ */
+BatchJobDefinitionsResponse.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+BatchJobDefinitionsResponse.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+BatchJobDefinitionsResponse.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+BatchJobDefinitionsResponse.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+BatchJobDefinitionsResponse.prototype['org_id'] = undefined;
+
+/**
+ * @member {module:model/BatchJobDefinitions} jobs
+ */
+BatchJobDefinitionsResponse.prototype['jobs'] = undefined;
+
+/**
+ * @member {Array.} jobs_failed_to_schedule
+ */
+BatchJobDefinitionsResponse.prototype['jobs_failed_to_schedule'] = undefined;
+var _default = BatchJobDefinitionsResponse;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 6225:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The BigQueryConnection model module.
+ * @module model/BigQueryConnection
+ * @version latest
+ */
+var BigQueryConnection = /*#__PURE__*/function () {
+ /**
+ * Constructs a new BigQueryConnection
.
+ * @alias module:model/BigQueryConnection
+ * @param connectionName {String}
+ * @param bigqueryProjectId {String}
+ * @param keyfileJson {String}
+ */
+ function BigQueryConnection(connectionName, bigqueryProjectId, keyfileJson) {
+ _classCallCheck(this, BigQueryConnection);
+ BigQueryConnection.initialize(this, connectionName, bigqueryProjectId, keyfileJson);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(BigQueryConnection, null, [{
+ key: "initialize",
+ value: function initialize(obj, connectionName, bigqueryProjectId, keyfileJson) {
+ obj['connection_name'] = connectionName;
+ obj['bigquery_project_id'] = bigqueryProjectId;
+ obj['keyfile_json'] = keyfileJson;
+ }
+
+ /**
+ * Constructs a BigQueryConnection
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/BigQueryConnection} obj Optional instance to populate.
+ * @return {module:model/BigQueryConnection} The populated BigQueryConnection
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new BigQueryConnection();
+ if (data.hasOwnProperty('connection_name')) {
+ obj['connection_name'] = _ApiClient["default"].convertToType(data['connection_name'], 'String');
+ }
+ if (data.hasOwnProperty('input_type')) {
+ obj['input_type'] = _ApiClient["default"].convertToType(data['input_type'], 'String');
+ }
+ if (data.hasOwnProperty('bigquery_project_id')) {
+ obj['bigquery_project_id'] = _ApiClient["default"].convertToType(data['bigquery_project_id'], 'String');
+ }
+ if (data.hasOwnProperty('keyfile_json')) {
+ obj['keyfile_json'] = _ApiClient["default"].convertToType(data['keyfile_json'], 'String');
+ }
+ if (data.hasOwnProperty('dataset')) {
+ obj['dataset'] = _ApiClient["default"].convertToType(data['dataset'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to BigQueryConnection
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to BigQueryConnection
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ var _iterator = _createForOfIteratorHelper(BigQueryConnection.RequiredProperties),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var property = _step.value;
+ if (!data[property]) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ if (data['connection_name'] && !(typeof data['connection_name'] === 'string' || data['connection_name'] instanceof String)) {
+ throw new Error("Expected the field `connection_name` to be a primitive type in the JSON string but got " + data['connection_name']);
+ }
+ // ensure the json data is a string
+ if (data['input_type'] && !(typeof data['input_type'] === 'string' || data['input_type'] instanceof String)) {
+ throw new Error("Expected the field `input_type` to be a primitive type in the JSON string but got " + data['input_type']);
+ }
+ // ensure the json data is a string
+ if (data['bigquery_project_id'] && !(typeof data['bigquery_project_id'] === 'string' || data['bigquery_project_id'] instanceof String)) {
+ throw new Error("Expected the field `bigquery_project_id` to be a primitive type in the JSON string but got " + data['bigquery_project_id']);
+ }
+ // ensure the json data is a string
+ if (data['keyfile_json'] && !(typeof data['keyfile_json'] === 'string' || data['keyfile_json'] instanceof String)) {
+ throw new Error("Expected the field `keyfile_json` to be a primitive type in the JSON string but got " + data['keyfile_json']);
+ }
+ // ensure the json data is a string
+ if (data['dataset'] && !(typeof data['dataset'] === 'string' || data['dataset'] instanceof String)) {
+ throw new Error("Expected the field `dataset` to be a primitive type in the JSON string but got " + data['dataset']);
+ }
+ return true;
+ }
+ }]);
+ return BigQueryConnection;
+}();
+BigQueryConnection.RequiredProperties = ["connection_name", "bigquery_project_id", "keyfile_json"];
+
+/**
+ * @member {String} connection_name
+ */
+BigQueryConnection.prototype['connection_name'] = undefined;
+
+/**
+ * @member {module:model/BigQueryConnection.InputTypeEnum} input_type
+ */
+BigQueryConnection.prototype['input_type'] = undefined;
+
+/**
+ * @member {String} bigquery_project_id
+ */
+BigQueryConnection.prototype['bigquery_project_id'] = undefined;
+
+/**
+ * @member {String} keyfile_json
+ */
+BigQueryConnection.prototype['keyfile_json'] = undefined;
+
+/**
+ * @member {String} dataset
+ */
+BigQueryConnection.prototype['dataset'] = undefined;
+
+/**
+ * Allowed values for the input_type
property.
+ * @enum {String}
+ * @readonly
+ */
+BigQueryConnection['InputTypeEnum'] = {
+ /**
+ * value: "bigquery"
+ * @const
+ */
+ "bigquery": "bigquery"
+};
+var _default = BigQueryConnection;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 2252:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The BucketNamespace model module.
+ * @module model/BucketNamespace
+ * @version latest
+ */
+var BucketNamespace = /*#__PURE__*/function () {
+ /**
+ * Constructs a new BucketNamespace
.
+ * @alias module:model/BucketNamespace
+ * @param bucket {String}
+ */
+ function BucketNamespace(bucket) {
+ _classCallCheck(this, BucketNamespace);
+ BucketNamespace.initialize(this, bucket);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(BucketNamespace, null, [{
+ key: "initialize",
+ value: function initialize(obj, bucket) {
+ obj['bucket'] = bucket;
+ }
+
+ /**
+ * Constructs a BucketNamespace
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/BucketNamespace} obj Optional instance to populate.
+ * @return {module:model/BucketNamespace} The populated BucketNamespace
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new BucketNamespace();
+ if (data.hasOwnProperty('bucket')) {
+ obj['bucket'] = _ApiClient["default"].convertToType(data['bucket'], 'String');
+ }
+ if (data.hasOwnProperty('prefix')) {
+ obj['prefix'] = _ApiClient["default"].convertToType(data['prefix'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to BucketNamespace
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to BucketNamespace
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ var _iterator = _createForOfIteratorHelper(BucketNamespace.RequiredProperties),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var property = _step.value;
+ if (!data[property]) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ if (data['bucket'] && !(typeof data['bucket'] === 'string' || data['bucket'] instanceof String)) {
+ throw new Error("Expected the field `bucket` to be a primitive type in the JSON string but got " + data['bucket']);
+ }
+ // ensure the json data is a string
+ if (data['prefix'] && !(typeof data['prefix'] === 'string' || data['prefix'] instanceof String)) {
+ throw new Error("Expected the field `prefix` to be a primitive type in the JSON string but got " + data['prefix']);
+ }
+ return true;
+ }
+ }]);
+ return BucketNamespace;
+}();
+BucketNamespace.RequiredProperties = ["bucket"];
+
+/**
+ * @member {String} bucket
+ */
+BucketNamespace.prototype['bucket'] = undefined;
+
+/**
+ * @member {String} prefix
+ */
+BucketNamespace.prototype['prefix'] = undefined;
+var _default = BucketNamespace;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 9974:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The ColumnConfig model module.
+ * @module model/ColumnConfig
+ * @version latest
+ */
+var ColumnConfig = /*#__PURE__*/function () {
+ /**
+ * Constructs a new ColumnConfig
.
+ * @alias module:model/ColumnConfig
+ */
+ function ColumnConfig() {
+ _classCallCheck(this, ColumnConfig);
+ ColumnConfig.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(ColumnConfig, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a ColumnConfig
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ColumnConfig} obj Optional instance to populate.
+ * @return {module:model/ColumnConfig} The populated ColumnConfig
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ColumnConfig();
+ if (data.hasOwnProperty('treatment_method')) {
+ obj['treatment_method'] = _ApiClient["default"].convertToType(data['treatment_method'], 'String');
+ }
+ if (data.hasOwnProperty('pii_class')) {
+ obj['pii_class'] = _ApiClient["default"].convertToType(data['pii_class'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to ColumnConfig
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to ColumnConfig
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['treatment_method'] && !(typeof data['treatment_method'] === 'string' || data['treatment_method'] instanceof String)) {
+ throw new Error("Expected the field `treatment_method` to be a primitive type in the JSON string but got " + data['treatment_method']);
+ }
+ // ensure the json data is a string
+ if (data['pii_class'] && !(typeof data['pii_class'] === 'string' || data['pii_class'] instanceof String)) {
+ throw new Error("Expected the field `pii_class` to be a primitive type in the JSON string but got " + data['pii_class']);
+ }
+ return true;
+ }
+ }]);
+ return ColumnConfig;
+}();
+/**
+ * @member {module:model/ColumnConfig.TreatmentMethodEnum} treatment_method
+ */
+ColumnConfig.prototype['treatment_method'] = undefined;
+
+/**
+ * @member {module:model/ColumnConfig.PiiClassEnum} pii_class
+ */
+ColumnConfig.prototype['pii_class'] = undefined;
+
+/**
+ * Allowed values for the treatment_method
property.
+ * @enum {String}
+ * @readonly
+ */
+ColumnConfig['TreatmentMethodEnum'] = {
+ /**
+ * value: "hide"
+ * @const
+ */
+ "hide": "hide",
+ /**
+ * value: "lock"
+ * @const
+ */
+ "lock": "lock",
+ /**
+ * value: "hash"
+ * @const
+ */
+ "hash": "hash",
+ /**
+ * value: "mask"
+ * @const
+ */
+ "mask": "mask",
+ /**
+ * value: "fake"
+ * @const
+ */
+ "fake": "fake",
+ /**
+ * value: "anonymize"
+ * @const
+ */
+ "anonymize": "anonymize"
+};
+
+/**
+ * Allowed values for the pii_class
property.
+ * @enum {String}
+ * @readonly
+ */
+ColumnConfig['PiiClassEnum'] = {
+ /**
+ * value: "aba_routing_number"
+ * @const
+ */
+ "aba_routing_number": "aba_routing_number",
+ /**
+ * value: "credit_card"
+ * @const
+ */
+ "credit_card": "credit_card",
+ /**
+ * value: "crypto"
+ * @const
+ */
+ "crypto": "crypto",
+ /**
+ * value: "email_address"
+ * @const
+ */
+ "email_address": "email_address",
+ /**
+ * value: "ip_address"
+ * @const
+ */
+ "ip_address": "ip_address",
+ /**
+ * value: "sg_nric_fin"
+ * @const
+ */
+ "sg_nric_fin": "sg_nric_fin",
+ /**
+ * value: "us_bank_number"
+ * @const
+ */
+ "us_bank_number": "us_bank_number",
+ /**
+ * value: "us_driver_license"
+ * @const
+ */
+ "us_driver_license": "us_driver_license",
+ /**
+ * value: "us_itin"
+ * @const
+ */
+ "us_itin": "us_itin",
+ /**
+ * value: "us_tax_id"
+ * @const
+ */
+ "us_tax_id": "us_tax_id",
+ /**
+ * value: "us_passport"
+ * @const
+ */
+ "us_passport": "us_passport",
+ /**
+ * value: "phone_number"
+ * @const
+ */
+ "phone_number": "phone_number",
+ /**
+ * value: "us_ssn"
+ * @const
+ */
+ "us_ssn": "us_ssn",
+ /**
+ * value: "advertising_id"
+ * @const
+ */
+ "advertising_id": "advertising_id",
+ /**
+ * value: "esndec_id"
+ * @const
+ */
+ "esndec_id": "esndec_id",
+ /**
+ * value: "esnhex_id"
+ * @const
+ */
+ "esnhex_id": "esnhex_id",
+ /**
+ * value: "imei"
+ * @const
+ */
+ "imei": "imei",
+ /**
+ * value: "mac_address"
+ * @const
+ */
+ "mac_address": "mac_address",
+ /**
+ * value: "meid"
+ * @const
+ */
+ "meid": "meid",
+ /**
+ * value: "password"
+ * @const
+ */
+ "password": "password",
+ /**
+ * value: "person_name"
+ * @const
+ */
+ "person_name": "person_name",
+ /**
+ * value: "first_name"
+ * @const
+ */
+ "first_name": "first_name",
+ /**
+ * value: "middle_name"
+ * @const
+ */
+ "middle_name": "middle_name",
+ /**
+ * value: "last_name"
+ * @const
+ */
+ "last_name": "last_name",
+ /**
+ * value: "full_name"
+ * @const
+ */
+ "full_name": "full_name",
+ /**
+ * value: "us_address"
+ * @const
+ */
+ "us_address": "us_address",
+ /**
+ * value: "us_address_full"
+ * @const
+ */
+ "us_address_full": "us_address_full",
+ /**
+ * value: "age"
+ * @const
+ */
+ "age": "age",
+ /**
+ * value: "gender"
+ * @const
+ */
+ "gender": "gender",
+ /**
+ * value: "city"
+ * @const
+ */
+ "city": "city",
+ /**
+ * value: "coordinate"
+ * @const
+ */
+ "coordinate": "coordinate",
+ /**
+ * value: "nationality"
+ * @const
+ */
+ "nationality": "nationality",
+ /**
+ * value: "partial_coordinate"
+ * @const
+ */
+ "partial_coordinate": "partial_coordinate",
+ /**
+ * value: "date"
+ * @const
+ */
+ "date": "date",
+ /**
+ * value: "birth_date"
+ * @const
+ */
+ "birth_date": "birth_date",
+ /**
+ * value: "death_date"
+ * @const
+ */
+ "death_date": "death_date",
+ /**
+ * value: "time"
+ * @const
+ */
+ "time": "time",
+ /**
+ * value: "us_state"
+ * @const
+ */
+ "us_state": "us_state",
+ /**
+ * value: "us_zipcode"
+ * @const
+ */
+ "us_zipcode": "us_zipcode",
+ /**
+ * value: "domain_name"
+ * @const
+ */
+ "domain_name": "domain_name",
+ /**
+ * value: "generic_did"
+ * @const
+ */
+ "generic_did": "generic_did",
+ /**
+ * value: "generic_continuous"
+ * @const
+ */
+ "generic_continuous": "generic_continuous",
+ /**
+ * value: "generic_category"
+ * @const
+ */
+ "generic_category": "generic_category"
+};
+var _default = ColumnConfig;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 2578:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The ColumnDefinition model module.
+ * @module model/ColumnDefinition
+ * @version latest
+ */
+var ColumnDefinition = /*#__PURE__*/function () {
+ /**
+ * Constructs a new ColumnDefinition
.
+ * @alias module:model/ColumnDefinition
+ * @param name {String}
+ * @param dataType {String}
+ * @param nativeDataType {String}
+ */
+ function ColumnDefinition(name, dataType, nativeDataType) {
+ _classCallCheck(this, ColumnDefinition);
+ ColumnDefinition.initialize(this, name, dataType, nativeDataType);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(ColumnDefinition, null, [{
+ key: "initialize",
+ value: function initialize(obj, name, dataType, nativeDataType) {
+ obj['name'] = name;
+ obj['data_type'] = dataType;
+ obj['native_data_type'] = nativeDataType;
+ }
+
+ /**
+ * Constructs a ColumnDefinition
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ColumnDefinition} obj Optional instance to populate.
+ * @return {module:model/ColumnDefinition} The populated ColumnDefinition
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ColumnDefinition();
+ if (data.hasOwnProperty('request_id')) {
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
+ }
+ if (data.hasOwnProperty('processing_time')) {
+ obj['processing_time'] = _ApiClient["default"].convertToType(data['processing_time'], 'String');
+ }
+ if (data.hasOwnProperty('request_timestamp')) {
+ obj['request_timestamp'] = _ApiClient["default"].convertToType(data['request_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('requested_by')) {
+ obj['requested_by'] = _ApiClient["default"].convertToType(data['requested_by'], 'String');
+ }
+ if (data.hasOwnProperty('org_id')) {
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'String');
+ }
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
+ }
+ if (data.hasOwnProperty('data_type')) {
+ obj['data_type'] = _ApiClient["default"].convertToType(data['data_type'], 'String');
+ }
+ if (data.hasOwnProperty('native_data_type')) {
+ obj['native_data_type'] = _ApiClient["default"].convertToType(data['native_data_type'], 'String');
+ }
+ if (data.hasOwnProperty('pii_types')) {
+ obj['pii_types'] = _ApiClient["default"].convertToType(data['pii_types'], ['String']);
+ }
+ if (data.hasOwnProperty('risk_category')) {
+ obj['risk_category'] = _ApiClient["default"].convertToType(data['risk_category'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to ColumnDefinition
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to ColumnDefinition
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ var _iterator = _createForOfIteratorHelper(ColumnDefinition.RequiredProperties),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var property = _step.value;
+ if (!data[property]) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
+ }
+ // ensure the json data is a string
+ if (data['processing_time'] && !(typeof data['processing_time'] === 'string' || data['processing_time'] instanceof String)) {
+ throw new Error("Expected the field `processing_time` to be a primitive type in the JSON string but got " + data['processing_time']);
+ }
+ // ensure the json data is a string
+ if (data['requested_by'] && !(typeof data['requested_by'] === 'string' || data['requested_by'] instanceof String)) {
+ throw new Error("Expected the field `requested_by` to be a primitive type in the JSON string but got " + data['requested_by']);
+ }
+ // ensure the json data is a string
+ if (data['org_id'] && !(typeof data['org_id'] === 'string' || data['org_id'] instanceof String)) {
+ throw new Error("Expected the field `org_id` to be a primitive type in the JSON string but got " + data['org_id']);
+ }
+ // ensure the json data is a string
+ if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
+ throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
+ }
+ // ensure the json data is a string
+ if (data['data_type'] && !(typeof data['data_type'] === 'string' || data['data_type'] instanceof String)) {
+ throw new Error("Expected the field `data_type` to be a primitive type in the JSON string but got " + data['data_type']);
+ }
+ // ensure the json data is a string
+ if (data['native_data_type'] && !(typeof data['native_data_type'] === 'string' || data['native_data_type'] instanceof String)) {
+ throw new Error("Expected the field `native_data_type` to be a primitive type in the JSON string but got " + data['native_data_type']);
+ }
+ // ensure the json data is an array
+ if (!Array.isArray(data['pii_types'])) {
+ throw new Error("Expected the field `pii_types` to be an array in the JSON data but got " + data['pii_types']);
+ }
+ // ensure the json data is a string
+ if (data['risk_category'] && !(typeof data['risk_category'] === 'string' || data['risk_category'] instanceof String)) {
+ throw new Error("Expected the field `risk_category` to be a primitive type in the JSON string but got " + data['risk_category']);
+ }
+ return true;
+ }
+ }]);
+ return ColumnDefinition;
+}();
+ColumnDefinition.RequiredProperties = ["name", "data_type", "native_data_type"];
+
+/**
+ * @member {String} request_id
+ */
+ColumnDefinition.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+ColumnDefinition.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+ColumnDefinition.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+ColumnDefinition.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+ColumnDefinition.prototype['org_id'] = undefined;
+
+/**
+ * @member {String} name
+ */
+ColumnDefinition.prototype['name'] = undefined;
+
+/**
+ * @member {String} data_type
+ */
+ColumnDefinition.prototype['data_type'] = undefined;
+
+/**
+ * @member {String} native_data_type
+ */
+ColumnDefinition.prototype['native_data_type'] = undefined;
+
+/**
+ * @member {Array.} pii_types
+ */
+ColumnDefinition.prototype['pii_types'] = undefined;
+
+/**
+ * @member {String} risk_category
+ */
+ColumnDefinition.prototype['risk_category'] = undefined;
+var _default = ColumnDefinition;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 4797:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _BigQueryConnection = _interopRequireDefault(__nccwpck_require__(6225));
+var _MySQLConnection = _interopRequireDefault(__nccwpck_require__(5792));
+var _PostgresConnection = _interopRequireDefault(__nccwpck_require__(9586));
+var _RedshiftConnection = _interopRequireDefault(__nccwpck_require__(2032));
+var _S3Connection = _interopRequireDefault(__nccwpck_require__(9475));
+var _S3SampleConnectionSchemaBase = _interopRequireDefault(__nccwpck_require__(5617));
+var _SFTPConnection = _interopRequireDefault(__nccwpck_require__(2039));
+var _SnowflakeConnection = _interopRequireDefault(__nccwpck_require__(6470));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The Connection model module.
+ * @module model/Connection
+ * @version latest
+ */
+var Connection = /*#__PURE__*/function () {
+ /**
+ * Constructs a new Connection
.
+ * @alias module:model/Connection
+ * @param {(module:model/BigQueryConnection|module:model/MySQLConnection|module:model/PostgresConnection|module:model/RedshiftConnection|module:model/S3Connection|module:model/S3SampleConnectionSchemaBase|module:model/SFTPConnection|module:model/SnowflakeConnection)} instance The actual instance to initialize Connection.
+ */
+ function Connection() {
+ var instance = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
+ _classCallCheck(this, Connection);
+ _defineProperty(this, "toJSON", function () {
+ return this.getActualInstance();
+ });
+ if (instance === null) {
+ this.actualInstance = null;
+ return;
+ }
+ var match = 0;
+ var errorMessages = [];
+ try {
+ if (instance.constructor.name === "SnowflakeConnection") {
+ this.actualInstance = instance;
+ match++;
+ }
+ } catch (err) {
+ // json data failed to deserialize into SnowflakeConnection
+ errorMessages.push("Failed to construct SnowflakeConnection: " + err);
+ }
+ try {
+ if (instance.constructor.name === "BigQueryConnection") {
+ this.actualInstance = instance;
+ match++;
+ }
+ } catch (err) {
+ // json data failed to deserialize into BigQueryConnection
+ errorMessages.push("Failed to construct BigQueryConnection: " + err);
+ }
+ try {
+ if (instance.constructor.name === "RedshiftConnection") {
+ this.actualInstance = instance;
+ match++;
+ }
+ } catch (err) {
+ // json data failed to deserialize into RedshiftConnection
+ errorMessages.push("Failed to construct RedshiftConnection: " + err);
+ }
+ try {
+ if (instance.constructor.name === "PostgresConnection") {
+ this.actualInstance = instance;
+ match++;
+ }
+ } catch (err) {
+ // json data failed to deserialize into PostgresConnection
+ errorMessages.push("Failed to construct PostgresConnection: " + err);
+ }
+ try {
+ if (instance.constructor.name === "MySQLConnection") {
+ this.actualInstance = instance;
+ match++;
+ }
+ } catch (err) {
+ // json data failed to deserialize into MySQLConnection
+ errorMessages.push("Failed to construct MySQLConnection: " + err);
+ }
+ try {
+ if (instance.constructor.name === "S3Connection") {
+ this.actualInstance = instance;
+ match++;
+ }
+ } catch (err) {
+ // json data failed to deserialize into S3Connection
+ errorMessages.push("Failed to construct S3Connection: " + err);
+ }
+ try {
+ if (instance.constructor.name === "S3SampleConnectionSchemaBase") {
+ this.actualInstance = instance;
+ match++;
+ }
+ } catch (err) {
+ // json data failed to deserialize into S3SampleConnectionSchemaBase
+ errorMessages.push("Failed to construct S3SampleConnectionSchemaBase: " + err);
+ }
+ try {
+ if (instance.constructor.name === "SFTPConnection") {
+ this.actualInstance = instance;
+ match++;
+ }
+ } catch (err) {
+ // json data failed to deserialize into SFTPConnection
+ errorMessages.push("Failed to construct SFTPConnection: " + err);
+ }
+ if (match > 1) {
+ throw new Error("Multiple matches found constructing `Connection` with oneOf schemas BigQueryConnection, MySQLConnection, PostgresConnection, RedshiftConnection, S3Connection, S3SampleConnectionSchemaBase, SFTPConnection, SnowflakeConnection. Input: " + JSON.stringify(instance));
+ } else if (match === 0) {
+ this.actualInstance = null; // clear the actual instance in case there are multiple matches
+ throw new Error("No match found constructing `Connection` with oneOf schemas BigQueryConnection, MySQLConnection, PostgresConnection, RedshiftConnection, S3Connection, S3SampleConnectionSchemaBase, SFTPConnection, SnowflakeConnection. Details: " + errorMessages.join(", "));
+ } else {// only 1 match
+ // the input is valid
+ }
+ }
+
+ /**
+ * Constructs a Connection
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Connection} obj Optional instance to populate.
+ * @return {module:model/Connection} The populated Connection
instance.
+ */
+ _createClass(Connection, [{
+ key: "getActualInstance",
+ value:
+ /**
+ * Gets the actaul instance, which can be BigQueryConnection
, MySQLConnection
, PostgresConnection
, RedshiftConnection
, S3Connection
, S3SampleConnectionSchemaBase
, SFTPConnection
, SnowflakeConnection
.
+ * @return {(module:model/BigQueryConnection|module:model/MySQLConnection|module:model/PostgresConnection|module:model/RedshiftConnection|module:model/S3Connection|module:model/S3SampleConnectionSchemaBase|module:model/SFTPConnection|module:model/SnowflakeConnection)} The actual instance.
+ */
+ function getActualInstance() {
+ return this.actualInstance;
+ }
+
+ /**
+ * Sets the actaul instance, which can be BigQueryConnection
, MySQLConnection
, PostgresConnection
, RedshiftConnection
, S3Connection
, S3SampleConnectionSchemaBase
, SFTPConnection
, SnowflakeConnection
.
+ * @param {(module:model/BigQueryConnection|module:model/MySQLConnection|module:model/PostgresConnection|module:model/RedshiftConnection|module:model/S3Connection|module:model/S3SampleConnectionSchemaBase|module:model/SFTPConnection|module:model/SnowflakeConnection)} obj The actual instance.
+ */
+ }, {
+ key: "setActualInstance",
+ value: function setActualInstance(obj) {
+ this.actualInstance = Connection.constructFromObject(obj).getActualInstance();
+ }
+
+ /**
+ * Returns the JSON representation of the actual intance.
+ * @return {string}
+ */
+ }], [{
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ return new Connection(data);
+ }
+ }]);
+ return Connection;
+}();
+/**
+ * @member {String} connection_name
+ */
+_defineProperty(Connection, "fromJSON", function (json_string) {
+ return Connection.constructFromObject(JSON.parse(json_string));
+});
+Connection.prototype['connection_name'] = undefined;
+
+/**
+ * @member {String} database
+ */
+Connection.prototype['database'] = undefined;
+
+/**
+ * @member {String} schema
+ */
+Connection.prototype['schema'] = undefined;
+
+/**
+ * @member {module:model/Connection.InputTypeEnum} input_type
+ */
+Connection.prototype['input_type'] = undefined;
+
+/**
+ * @member {String} account
+ */
+Connection.prototype['account'] = undefined;
+
+/**
+ * @member {String} user
+ */
+Connection.prototype['user'] = undefined;
+
+/**
+ * @member {String} password
+ */
+Connection.prototype['password'] = undefined;
+
+/**
+ * @member {String} warehouse
+ */
+Connection.prototype['warehouse'] = undefined;
+
+/**
+ * @member {String} role
+ */
+Connection.prototype['role'] = undefined;
+
+/**
+ * @member {String} bigquery_project_id
+ */
+Connection.prototype['bigquery_project_id'] = undefined;
+
+/**
+ * @member {String} keyfile_json
+ */
+Connection.prototype['keyfile_json'] = undefined;
+
+/**
+ * @member {String} dataset
+ */
+Connection.prototype['dataset'] = undefined;
+
+/**
+ * @member {String} host
+ */
+Connection.prototype['host'] = undefined;
+
+/**
+ * @member {Number} port
+ */
+Connection.prototype['port'] = undefined;
+
+/**
+ * @member {String} username
+ */
+Connection.prototype['username'] = undefined;
+
+/**
+ * @member {String} region_name
+ */
+Connection.prototype['region_name'] = undefined;
+
+/**
+ * @member {String} aws_access_key_id
+ */
+Connection.prototype['aws_access_key_id'] = undefined;
+
+/**
+ * @member {String} aws_secret_access_key
+ */
+Connection.prototype['aws_secret_access_key'] = undefined;
+
+/**
+ * @member {String} private_key
+ */
+Connection.prototype['private_key'] = undefined;
+Connection.OneOf = ["BigQueryConnection", "MySQLConnection", "PostgresConnection", "RedshiftConnection", "S3Connection", "S3SampleConnectionSchemaBase", "SFTPConnection", "SnowflakeConnection"];
+var _default = Connection;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 1120:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _ConnectionMeta = _interopRequireDefault(__nccwpck_require__(9781));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The ConnectionList model module.
+ * @module model/ConnectionList
+ * @version latest
+ */
+var ConnectionList = /*#__PURE__*/function () {
+ /**
+ * Constructs a new ConnectionList
.
+ * @alias module:model/ConnectionList
+ */
+ function ConnectionList() {
+ _classCallCheck(this, ConnectionList);
+ ConnectionList.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(ConnectionList, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a ConnectionList
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ConnectionList} obj Optional instance to populate.
+ * @return {module:model/ConnectionList} The populated ConnectionList
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ConnectionList();
+ if (data.hasOwnProperty('request_id')) {
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
+ }
+ if (data.hasOwnProperty('processing_time')) {
+ obj['processing_time'] = _ApiClient["default"].convertToType(data['processing_time'], 'String');
+ }
+ if (data.hasOwnProperty('request_timestamp')) {
+ obj['request_timestamp'] = _ApiClient["default"].convertToType(data['request_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('requested_by')) {
+ obj['requested_by'] = _ApiClient["default"].convertToType(data['requested_by'], 'String');
+ }
+ if (data.hasOwnProperty('org_id')) {
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'String');
+ }
+ if (data.hasOwnProperty('connections')) {
+ obj['connections'] = _ApiClient["default"].convertToType(data['connections'], [_ConnectionMeta["default"]]);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to ConnectionList
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to ConnectionList
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
+ }
+ // ensure the json data is a string
+ if (data['processing_time'] && !(typeof data['processing_time'] === 'string' || data['processing_time'] instanceof String)) {
+ throw new Error("Expected the field `processing_time` to be a primitive type in the JSON string but got " + data['processing_time']);
+ }
+ // ensure the json data is a string
+ if (data['requested_by'] && !(typeof data['requested_by'] === 'string' || data['requested_by'] instanceof String)) {
+ throw new Error("Expected the field `requested_by` to be a primitive type in the JSON string but got " + data['requested_by']);
+ }
+ // ensure the json data is a string
+ if (data['org_id'] && !(typeof data['org_id'] === 'string' || data['org_id'] instanceof String)) {
+ throw new Error("Expected the field `org_id` to be a primitive type in the JSON string but got " + data['org_id']);
+ }
+ if (data['connections']) {
+ // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['connections'])) {
+ throw new Error("Expected the field `connections` to be an array in the JSON data but got " + data['connections']);
+ }
+ // validate the optional field `connections` (array)
+ var _iterator = _createForOfIteratorHelper(data['connections']),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var item = _step.value;
+ _ConnectionMeta["default"].validateJsonObject(item);
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ ;
+ }
+ return true;
+ }
+ }]);
+ return ConnectionList;
+}();
+/**
+ * @member {String} request_id
+ */
+ConnectionList.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+ConnectionList.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+ConnectionList.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+ConnectionList.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+ConnectionList.prototype['org_id'] = undefined;
+
+/**
+ * @member {Array.} connections
+ */
+ConnectionList.prototype['connections'] = undefined;
+var _default = ConnectionList;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 9781:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The ConnectionMeta model module.
+ * @module model/ConnectionMeta
+ * @version latest
+ */
+var ConnectionMeta = /*#__PURE__*/function () {
+ /**
+ * Constructs a new ConnectionMeta
.
+ * @alias module:model/ConnectionMeta
+ * @param connectionName {String}
+ * @param type {String}
+ */
+ function ConnectionMeta(connectionName, type) {
+ _classCallCheck(this, ConnectionMeta);
+ ConnectionMeta.initialize(this, connectionName, type);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(ConnectionMeta, null, [{
+ key: "initialize",
+ value: function initialize(obj, connectionName, type) {
+ obj['connection_name'] = connectionName;
+ obj['type'] = type;
+ }
+
+ /**
+ * Constructs a ConnectionMeta
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ConnectionMeta} obj Optional instance to populate.
+ * @return {module:model/ConnectionMeta} The populated ConnectionMeta
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ConnectionMeta();
+ if (data.hasOwnProperty('connection_name')) {
+ obj['connection_name'] = _ApiClient["default"].convertToType(data['connection_name'], 'String');
+ }
+ if (data.hasOwnProperty('type')) {
+ obj['type'] = _ApiClient["default"].convertToType(data['type'], 'String');
+ }
+ if (data.hasOwnProperty('database')) {
+ obj['database'] = _ApiClient["default"].convertToType(data['database'], 'String');
+ }
+ if (data.hasOwnProperty('default_schema')) {
+ obj['default_schema'] = _ApiClient["default"].convertToType(data['default_schema'], 'String');
+ }
+ if (data.hasOwnProperty('created')) {
+ obj['created'] = _ApiClient["default"].convertToType(data['created'], 'Number');
+ }
+ if (data.hasOwnProperty('updated')) {
+ obj['updated'] = _ApiClient["default"].convertToType(data['updated'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to ConnectionMeta
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to ConnectionMeta
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ var _iterator = _createForOfIteratorHelper(ConnectionMeta.RequiredProperties),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var property = _step.value;
+ if (!data[property]) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ if (data['connection_name'] && !(typeof data['connection_name'] === 'string' || data['connection_name'] instanceof String)) {
+ throw new Error("Expected the field `connection_name` to be a primitive type in the JSON string but got " + data['connection_name']);
+ }
+ // ensure the json data is a string
+ if (data['type'] && !(typeof data['type'] === 'string' || data['type'] instanceof String)) {
+ throw new Error("Expected the field `type` to be a primitive type in the JSON string but got " + data['type']);
+ }
+ // ensure the json data is a string
+ if (data['database'] && !(typeof data['database'] === 'string' || data['database'] instanceof String)) {
+ throw new Error("Expected the field `database` to be a primitive type in the JSON string but got " + data['database']);
+ }
+ // ensure the json data is a string
+ if (data['default_schema'] && !(typeof data['default_schema'] === 'string' || data['default_schema'] instanceof String)) {
+ throw new Error("Expected the field `default_schema` to be a primitive type in the JSON string but got " + data['default_schema']);
+ }
+ return true;
+ }
+ }]);
+ return ConnectionMeta;
+}();
+ConnectionMeta.RequiredProperties = ["connection_name", "type"];
+
+/**
+ * @member {String} connection_name
+ */
+ConnectionMeta.prototype['connection_name'] = undefined;
+
+/**
+ * @member {String} type
+ */
+ConnectionMeta.prototype['type'] = undefined;
+
+/**
+ * @member {String} database
+ */
+ConnectionMeta.prototype['database'] = undefined;
+
+/**
+ * @member {String} default_schema
+ */
+ConnectionMeta.prototype['default_schema'] = undefined;
+
+/**
+ * @member {Number} created
+ */
+ConnectionMeta.prototype['created'] = undefined;
+
+/**
+ * @member {Number} updated
+ */
+ConnectionMeta.prototype['updated'] = undefined;
+var _default = ConnectionMeta;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 802:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _ConnectionMeta = _interopRequireDefault(__nccwpck_require__(9781));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The ConnectionResponse model module.
+ * @module model/ConnectionResponse
+ * @version latest
+ */
+var ConnectionResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new ConnectionResponse
.
+ * @alias module:model/ConnectionResponse
+ */
+ function ConnectionResponse() {
+ _classCallCheck(this, ConnectionResponse);
+ ConnectionResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(ConnectionResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a ConnectionResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ConnectionResponse} obj Optional instance to populate.
+ * @return {module:model/ConnectionResponse} The populated ConnectionResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ConnectionResponse();
+ if (data.hasOwnProperty('request_id')) {
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
+ }
+ if (data.hasOwnProperty('processing_time')) {
+ obj['processing_time'] = _ApiClient["default"].convertToType(data['processing_time'], 'String');
+ }
+ if (data.hasOwnProperty('request_timestamp')) {
+ obj['request_timestamp'] = _ApiClient["default"].convertToType(data['request_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('requested_by')) {
+ obj['requested_by'] = _ApiClient["default"].convertToType(data['requested_by'], 'String');
+ }
+ if (data.hasOwnProperty('org_id')) {
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'String');
+ }
+ if (data.hasOwnProperty('connection')) {
+ obj['connection'] = _ConnectionMeta["default"].constructFromObject(data['connection']);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to ConnectionResponse
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to ConnectionResponse
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
+ }
+ // ensure the json data is a string
+ if (data['processing_time'] && !(typeof data['processing_time'] === 'string' || data['processing_time'] instanceof String)) {
+ throw new Error("Expected the field `processing_time` to be a primitive type in the JSON string but got " + data['processing_time']);
+ }
+ // ensure the json data is a string
+ if (data['requested_by'] && !(typeof data['requested_by'] === 'string' || data['requested_by'] instanceof String)) {
+ throw new Error("Expected the field `requested_by` to be a primitive type in the JSON string but got " + data['requested_by']);
+ }
+ // ensure the json data is a string
+ if (data['org_id'] && !(typeof data['org_id'] === 'string' || data['org_id'] instanceof String)) {
+ throw new Error("Expected the field `org_id` to be a primitive type in the JSON string but got " + data['org_id']);
+ }
+ // validate the optional field `connection`
+ if (data['connection']) {
+ // data not null
+ _ConnectionMeta["default"].validateJSON(data['connection']);
+ }
+ return true;
+ }
+ }]);
+ return ConnectionResponse;
+}();
+/**
+ * @member {String} request_id
+ */
+ConnectionResponse.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+ConnectionResponse.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+ConnectionResponse.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+ConnectionResponse.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+ConnectionResponse.prototype['org_id'] = undefined;
+
+/**
+ * @member {module:model/ConnectionMeta} connection
+ */
+ConnectionResponse.prototype['connection'] = undefined;
+var _default = ConnectionResponse;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 1334:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The CustomerPortalRequest model module.
+ * @module model/CustomerPortalRequest
+ * @version latest
+ */
+var CustomerPortalRequest = /*#__PURE__*/function () {
+ /**
+ * Constructs a new CustomerPortalRequest
.
+ * @alias module:model/CustomerPortalRequest
+ * @param returnUrl {String}
+ */
+ function CustomerPortalRequest(returnUrl) {
+ _classCallCheck(this, CustomerPortalRequest);
+ CustomerPortalRequest.initialize(this, returnUrl);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(CustomerPortalRequest, null, [{
+ key: "initialize",
+ value: function initialize(obj, returnUrl) {
+ obj['return_url'] = returnUrl;
+ }
+
+ /**
+ * Constructs a CustomerPortalRequest
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CustomerPortalRequest} obj Optional instance to populate.
+ * @return {module:model/CustomerPortalRequest} The populated CustomerPortalRequest
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CustomerPortalRequest();
+ if (data.hasOwnProperty('return_url')) {
+ obj['return_url'] = _ApiClient["default"].convertToType(data['return_url'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to CustomerPortalRequest
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to CustomerPortalRequest
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ var _iterator = _createForOfIteratorHelper(CustomerPortalRequest.RequiredProperties),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var property = _step.value;
+ if (!data[property]) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ if (data['return_url'] && !(typeof data['return_url'] === 'string' || data['return_url'] instanceof String)) {
+ throw new Error("Expected the field `return_url` to be a primitive type in the JSON string but got " + data['return_url']);
+ }
+ return true;
+ }
+ }]);
+ return CustomerPortalRequest;
+}();
+CustomerPortalRequest.RequiredProperties = ["return_url"];
+
+/**
+ * @member {String} return_url
+ */
+CustomerPortalRequest.prototype['return_url'] = undefined;
+var _default = CustomerPortalRequest;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 1712:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The CustomerPortalResponse model module.
+ * @module model/CustomerPortalResponse
+ * @version latest
+ */
+var CustomerPortalResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new CustomerPortalResponse
.
+ * @alias module:model/CustomerPortalResponse
+ * @param url {String}
+ */
+ function CustomerPortalResponse(url) {
+ _classCallCheck(this, CustomerPortalResponse);
+ CustomerPortalResponse.initialize(this, url);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(CustomerPortalResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj, url) {
+ obj['url'] = url;
+ }
+
+ /**
+ * Constructs a CustomerPortalResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/CustomerPortalResponse} obj Optional instance to populate.
+ * @return {module:model/CustomerPortalResponse} The populated CustomerPortalResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new CustomerPortalResponse();
+ if (data.hasOwnProperty('url')) {
+ obj['url'] = _ApiClient["default"].convertToType(data['url'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to CustomerPortalResponse
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to CustomerPortalResponse
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ var _iterator = _createForOfIteratorHelper(CustomerPortalResponse.RequiredProperties),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var property = _step.value;
+ if (!data[property]) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ if (data['url'] && !(typeof data['url'] === 'string' || data['url'] instanceof String)) {
+ throw new Error("Expected the field `url` to be a primitive type in the JSON string but got " + data['url']);
+ }
+ return true;
+ }
+ }]);
+ return CustomerPortalResponse;
+}();
+CustomerPortalResponse.RequiredProperties = ["url"];
+
+/**
+ * @member {String} url
+ */
+CustomerPortalResponse.prototype['url'] = undefined;
+var _default = CustomerPortalResponse;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 836:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _DatasetMeta = _interopRequireDefault(__nccwpck_require__(9055));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The DatasetList model module.
+ * @module model/DatasetList
+ * @version latest
+ */
+var DatasetList = /*#__PURE__*/function () {
+ /**
+ * Constructs a new DatasetList
.
+ * @alias module:model/DatasetList
+ */
+ function DatasetList() {
+ _classCallCheck(this, DatasetList);
+ DatasetList.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(DatasetList, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a DatasetList
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DatasetList} obj Optional instance to populate.
+ * @return {module:model/DatasetList} The populated DatasetList
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DatasetList();
+ if (data.hasOwnProperty('request_id')) {
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
+ }
+ if (data.hasOwnProperty('processing_time')) {
+ obj['processing_time'] = _ApiClient["default"].convertToType(data['processing_time'], 'String');
+ }
+ if (data.hasOwnProperty('request_timestamp')) {
+ obj['request_timestamp'] = _ApiClient["default"].convertToType(data['request_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('requested_by')) {
+ obj['requested_by'] = _ApiClient["default"].convertToType(data['requested_by'], 'String');
+ }
+ if (data.hasOwnProperty('org_id')) {
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'String');
+ }
+ if (data.hasOwnProperty('datasets')) {
+ obj['datasets'] = _ApiClient["default"].convertToType(data['datasets'], [_DatasetMeta["default"]]);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to DatasetList
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to DatasetList
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
+ }
+ // ensure the json data is a string
+ if (data['processing_time'] && !(typeof data['processing_time'] === 'string' || data['processing_time'] instanceof String)) {
+ throw new Error("Expected the field `processing_time` to be a primitive type in the JSON string but got " + data['processing_time']);
+ }
+ // ensure the json data is a string
+ if (data['requested_by'] && !(typeof data['requested_by'] === 'string' || data['requested_by'] instanceof String)) {
+ throw new Error("Expected the field `requested_by` to be a primitive type in the JSON string but got " + data['requested_by']);
+ }
+ // ensure the json data is a string
+ if (data['org_id'] && !(typeof data['org_id'] === 'string' || data['org_id'] instanceof String)) {
+ throw new Error("Expected the field `org_id` to be a primitive type in the JSON string but got " + data['org_id']);
+ }
+ if (data['datasets']) {
+ // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['datasets'])) {
+ throw new Error("Expected the field `datasets` to be an array in the JSON data but got " + data['datasets']);
+ }
+ // validate the optional field `datasets` (array)
+ var _iterator = _createForOfIteratorHelper(data['datasets']),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var item = _step.value;
+ _DatasetMeta["default"].validateJsonObject(item);
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ ;
+ }
+ return true;
+ }
+ }]);
+ return DatasetList;
+}();
+/**
+ * @member {String} request_id
+ */
+DatasetList.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+DatasetList.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+DatasetList.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+DatasetList.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+DatasetList.prototype['org_id'] = undefined;
+
+/**
+ * @member {Array.} datasets
+ */
+DatasetList.prototype['datasets'] = undefined;
+var _default = DatasetList;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 9055:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The DatasetMeta model module.
+ * @module model/DatasetMeta
+ * @version latest
+ */
+var DatasetMeta = /*#__PURE__*/function () {
+ /**
+ * Constructs a new DatasetMeta
.
+ * @alias module:model/DatasetMeta
+ */
+ function DatasetMeta() {
+ _classCallCheck(this, DatasetMeta);
+ DatasetMeta.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(DatasetMeta, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a DatasetMeta
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DatasetMeta} obj Optional instance to populate.
+ * @return {module:model/DatasetMeta} The populated DatasetMeta
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DatasetMeta();
+ if (data.hasOwnProperty('created')) {
+ obj['created'] = _ApiClient["default"].convertToType(data['created'], 'Number');
+ }
+ if (data.hasOwnProperty('expires')) {
+ obj['expires'] = _ApiClient["default"].convertToType(data['expires'], 'Number');
+ }
+ if (data.hasOwnProperty('project_id')) {
+ obj['project_id'] = _ApiClient["default"].convertToType(data['project_id'], 'String');
+ }
+ if (data.hasOwnProperty('project_title')) {
+ obj['project_title'] = _ApiClient["default"].convertToType(data['project_title'], 'String');
+ }
+ if (data.hasOwnProperty('project_owner')) {
+ obj['project_owner'] = _ApiClient["default"].convertToType(data['project_owner'], 'String');
+ }
+ if (data.hasOwnProperty('job_definition_id')) {
+ obj['job_definition_id'] = _ApiClient["default"].convertToType(data['job_definition_id'], 'String');
+ }
+ if (data.hasOwnProperty('origin_connection_id')) {
+ obj['origin_connection_id'] = _ApiClient["default"].convertToType(data['origin_connection_id'], 'String');
+ }
+ if (data.hasOwnProperty('origin_connection_deleted')) {
+ obj['origin_connection_deleted'] = _ApiClient["default"].convertToType(data['origin_connection_deleted'], 'Boolean');
+ }
+ if (data.hasOwnProperty('origin_connection_name')) {
+ obj['origin_connection_name'] = _ApiClient["default"].convertToType(data['origin_connection_name'], 'String');
+ }
+ if (data.hasOwnProperty('origin_connection_input_type')) {
+ obj['origin_connection_input_type'] = _ApiClient["default"].convertToType(data['origin_connection_input_type'], 'String');
+ }
+ if (data.hasOwnProperty('origin_database')) {
+ obj['origin_database'] = _ApiClient["default"].convertToType(data['origin_database'], 'String');
+ }
+ if (data.hasOwnProperty('origin_namespace')) {
+ obj['origin_namespace'] = _ApiClient["default"].convertToType(data['origin_namespace'], Object);
+ }
+ if (data.hasOwnProperty('origin_table')) {
+ obj['origin_table'] = _ApiClient["default"].convertToType(data['origin_table'], 'String');
+ }
+ if (data.hasOwnProperty('destination_connection_id')) {
+ obj['destination_connection_id'] = _ApiClient["default"].convertToType(data['destination_connection_id'], 'String');
+ }
+ if (data.hasOwnProperty('destination_connection_deleted')) {
+ obj['destination_connection_deleted'] = _ApiClient["default"].convertToType(data['destination_connection_deleted'], 'Boolean');
+ }
+ if (data.hasOwnProperty('destination_connection_name')) {
+ obj['destination_connection_name'] = _ApiClient["default"].convertToType(data['destination_connection_name'], 'String');
+ }
+ if (data.hasOwnProperty('destination_connection_input_type')) {
+ obj['destination_connection_input_type'] = _ApiClient["default"].convertToType(data['destination_connection_input_type'], 'String');
+ }
+ if (data.hasOwnProperty('destination_database')) {
+ obj['destination_database'] = _ApiClient["default"].convertToType(data['destination_database'], 'String');
+ }
+ if (data.hasOwnProperty('destination_namespace')) {
+ obj['destination_namespace'] = _ApiClient["default"].convertToType(data['destination_namespace'], Object);
+ }
+ if (data.hasOwnProperty('destination_table')) {
+ obj['destination_table'] = _ApiClient["default"].convertToType(data['destination_table'], 'String');
+ }
+ if (data.hasOwnProperty('target_field_count')) {
+ obj['target_field_count'] = _ApiClient["default"].convertToType(data['target_field_count'], 'Number');
+ }
+ if (data.hasOwnProperty('k_target')) {
+ obj['k_target'] = _ApiClient["default"].convertToType(data['k_target'], 'String');
+ }
+ if (data.hasOwnProperty('phisher_average_type_a')) {
+ obj['phisher_average_type_a'] = _ApiClient["default"].convertToType(data['phisher_average_type_a'], 'String');
+ }
+ if (data.hasOwnProperty('phisher_average_type_a_initial')) {
+ obj['phisher_average_type_a_initial'] = _ApiClient["default"].convertToType(data['phisher_average_type_a_initial'], 'String');
+ }
+ if (data.hasOwnProperty('schedule')) {
+ obj['schedule'] = _ApiClient["default"].convertToType(data['schedule'], 'String');
+ }
+ if (data.hasOwnProperty('connection_name')) {
+ obj['connection_name'] = _ApiClient["default"].convertToType(data['connection_name'], 'String');
+ }
+ if (data.hasOwnProperty('connection_input_type')) {
+ obj['connection_input_type'] = _ApiClient["default"].convertToType(data['connection_input_type'], 'String');
+ }
+ if (data.hasOwnProperty('database')) {
+ obj['database'] = _ApiClient["default"].convertToType(data['database'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to DatasetMeta
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to DatasetMeta
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['project_id'] && !(typeof data['project_id'] === 'string' || data['project_id'] instanceof String)) {
+ throw new Error("Expected the field `project_id` to be a primitive type in the JSON string but got " + data['project_id']);
+ }
+ // ensure the json data is a string
+ if (data['project_title'] && !(typeof data['project_title'] === 'string' || data['project_title'] instanceof String)) {
+ throw new Error("Expected the field `project_title` to be a primitive type in the JSON string but got " + data['project_title']);
+ }
+ // ensure the json data is a string
+ if (data['project_owner'] && !(typeof data['project_owner'] === 'string' || data['project_owner'] instanceof String)) {
+ throw new Error("Expected the field `project_owner` to be a primitive type in the JSON string but got " + data['project_owner']);
+ }
+ // ensure the json data is a string
+ if (data['job_definition_id'] && !(typeof data['job_definition_id'] === 'string' || data['job_definition_id'] instanceof String)) {
+ throw new Error("Expected the field `job_definition_id` to be a primitive type in the JSON string but got " + data['job_definition_id']);
+ }
+ // ensure the json data is a string
+ if (data['origin_connection_id'] && !(typeof data['origin_connection_id'] === 'string' || data['origin_connection_id'] instanceof String)) {
+ throw new Error("Expected the field `origin_connection_id` to be a primitive type in the JSON string but got " + data['origin_connection_id']);
+ }
+ // ensure the json data is a string
+ if (data['origin_connection_name'] && !(typeof data['origin_connection_name'] === 'string' || data['origin_connection_name'] instanceof String)) {
+ throw new Error("Expected the field `origin_connection_name` to be a primitive type in the JSON string but got " + data['origin_connection_name']);
+ }
+ // ensure the json data is a string
+ if (data['origin_connection_input_type'] && !(typeof data['origin_connection_input_type'] === 'string' || data['origin_connection_input_type'] instanceof String)) {
+ throw new Error("Expected the field `origin_connection_input_type` to be a primitive type in the JSON string but got " + data['origin_connection_input_type']);
+ }
+ // ensure the json data is a string
+ if (data['origin_database'] && !(typeof data['origin_database'] === 'string' || data['origin_database'] instanceof String)) {
+ throw new Error("Expected the field `origin_database` to be a primitive type in the JSON string but got " + data['origin_database']);
+ }
+ // ensure the json data is a string
+ if (data['origin_table'] && !(typeof data['origin_table'] === 'string' || data['origin_table'] instanceof String)) {
+ throw new Error("Expected the field `origin_table` to be a primitive type in the JSON string but got " + data['origin_table']);
+ }
+ // ensure the json data is a string
+ if (data['destination_connection_id'] && !(typeof data['destination_connection_id'] === 'string' || data['destination_connection_id'] instanceof String)) {
+ throw new Error("Expected the field `destination_connection_id` to be a primitive type in the JSON string but got " + data['destination_connection_id']);
+ }
+ // ensure the json data is a string
+ if (data['destination_connection_name'] && !(typeof data['destination_connection_name'] === 'string' || data['destination_connection_name'] instanceof String)) {
+ throw new Error("Expected the field `destination_connection_name` to be a primitive type in the JSON string but got " + data['destination_connection_name']);
+ }
+ // ensure the json data is a string
+ if (data['destination_connection_input_type'] && !(typeof data['destination_connection_input_type'] === 'string' || data['destination_connection_input_type'] instanceof String)) {
+ throw new Error("Expected the field `destination_connection_input_type` to be a primitive type in the JSON string but got " + data['destination_connection_input_type']);
+ }
+ // ensure the json data is a string
+ if (data['destination_database'] && !(typeof data['destination_database'] === 'string' || data['destination_database'] instanceof String)) {
+ throw new Error("Expected the field `destination_database` to be a primitive type in the JSON string but got " + data['destination_database']);
+ }
+ // ensure the json data is a string
+ if (data['destination_table'] && !(typeof data['destination_table'] === 'string' || data['destination_table'] instanceof String)) {
+ throw new Error("Expected the field `destination_table` to be a primitive type in the JSON string but got " + data['destination_table']);
+ }
+ // ensure the json data is a string
+ if (data['k_target'] && !(typeof data['k_target'] === 'string' || data['k_target'] instanceof String)) {
+ throw new Error("Expected the field `k_target` to be a primitive type in the JSON string but got " + data['k_target']);
+ }
+ // ensure the json data is a string
+ if (data['phisher_average_type_a'] && !(typeof data['phisher_average_type_a'] === 'string' || data['phisher_average_type_a'] instanceof String)) {
+ throw new Error("Expected the field `phisher_average_type_a` to be a primitive type in the JSON string but got " + data['phisher_average_type_a']);
+ }
+ // ensure the json data is a string
+ if (data['phisher_average_type_a_initial'] && !(typeof data['phisher_average_type_a_initial'] === 'string' || data['phisher_average_type_a_initial'] instanceof String)) {
+ throw new Error("Expected the field `phisher_average_type_a_initial` to be a primitive type in the JSON string but got " + data['phisher_average_type_a_initial']);
+ }
+ // ensure the json data is a string
+ if (data['schedule'] && !(typeof data['schedule'] === 'string' || data['schedule'] instanceof String)) {
+ throw new Error("Expected the field `schedule` to be a primitive type in the JSON string but got " + data['schedule']);
+ }
+ // ensure the json data is a string
+ if (data['connection_name'] && !(typeof data['connection_name'] === 'string' || data['connection_name'] instanceof String)) {
+ throw new Error("Expected the field `connection_name` to be a primitive type in the JSON string but got " + data['connection_name']);
+ }
+ // ensure the json data is a string
+ if (data['connection_input_type'] && !(typeof data['connection_input_type'] === 'string' || data['connection_input_type'] instanceof String)) {
+ throw new Error("Expected the field `connection_input_type` to be a primitive type in the JSON string but got " + data['connection_input_type']);
+ }
+ // ensure the json data is a string
+ if (data['database'] && !(typeof data['database'] === 'string' || data['database'] instanceof String)) {
+ throw new Error("Expected the field `database` to be a primitive type in the JSON string but got " + data['database']);
+ }
+ return true;
+ }
+ }]);
+ return DatasetMeta;
+}();
+/**
+ * @member {Number} created
+ */
+DatasetMeta.prototype['created'] = undefined;
+
+/**
+ * @member {Number} expires
+ */
+DatasetMeta.prototype['expires'] = undefined;
+
+/**
+ * @member {String} project_id
+ */
+DatasetMeta.prototype['project_id'] = undefined;
+
+/**
+ * @member {String} project_title
+ */
+DatasetMeta.prototype['project_title'] = undefined;
+
+/**
+ * @member {String} project_owner
+ */
+DatasetMeta.prototype['project_owner'] = undefined;
+
+/**
+ * @member {String} job_definition_id
+ */
+DatasetMeta.prototype['job_definition_id'] = undefined;
+
+/**
+ * @member {String} origin_connection_id
+ */
+DatasetMeta.prototype['origin_connection_id'] = undefined;
+
+/**
+ * @member {Boolean} origin_connection_deleted
+ */
+DatasetMeta.prototype['origin_connection_deleted'] = undefined;
+
+/**
+ * @member {String} origin_connection_name
+ */
+DatasetMeta.prototype['origin_connection_name'] = undefined;
+
+/**
+ * @member {String} origin_connection_input_type
+ */
+DatasetMeta.prototype['origin_connection_input_type'] = undefined;
+
+/**
+ * @member {String} origin_database
+ */
+DatasetMeta.prototype['origin_database'] = undefined;
+
+/**
+ * @member {Object} origin_namespace
+ */
+DatasetMeta.prototype['origin_namespace'] = undefined;
+
+/**
+ * @member {String} origin_table
+ */
+DatasetMeta.prototype['origin_table'] = undefined;
+
+/**
+ * @member {String} destination_connection_id
+ */
+DatasetMeta.prototype['destination_connection_id'] = undefined;
+
+/**
+ * @member {Boolean} destination_connection_deleted
+ */
+DatasetMeta.prototype['destination_connection_deleted'] = undefined;
+
+/**
+ * @member {String} destination_connection_name
+ */
+DatasetMeta.prototype['destination_connection_name'] = undefined;
+
+/**
+ * @member {String} destination_connection_input_type
+ */
+DatasetMeta.prototype['destination_connection_input_type'] = undefined;
+
+/**
+ * @member {String} destination_database
+ */
+DatasetMeta.prototype['destination_database'] = undefined;
+
+/**
+ * @member {Object} destination_namespace
+ */
+DatasetMeta.prototype['destination_namespace'] = undefined;
+
+/**
+ * @member {String} destination_table
+ */
+DatasetMeta.prototype['destination_table'] = undefined;
+
+/**
+ * @member {Number} target_field_count
+ */
+DatasetMeta.prototype['target_field_count'] = undefined;
+
+/**
+ * @member {String} k_target
+ */
+DatasetMeta.prototype['k_target'] = undefined;
+
+/**
+ * @member {String} phisher_average_type_a
+ */
+DatasetMeta.prototype['phisher_average_type_a'] = undefined;
+
+/**
+ * @member {String} phisher_average_type_a_initial
+ */
+DatasetMeta.prototype['phisher_average_type_a_initial'] = undefined;
+
+/**
+ * @member {String} schedule
+ */
+DatasetMeta.prototype['schedule'] = undefined;
+
+/**
+ * @member {String} connection_name
+ */
+DatasetMeta.prototype['connection_name'] = undefined;
+
+/**
+ * @member {String} connection_input_type
+ */
+DatasetMeta.prototype['connection_input_type'] = undefined;
+
+/**
+ * @member {String} database
+ */
+DatasetMeta.prototype['database'] = undefined;
+var _default = DatasetMeta;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 2567:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The DatasetNamespace model module.
+ * @module model/DatasetNamespace
+ * @version latest
+ */
+var DatasetNamespace = /*#__PURE__*/function () {
+ /**
+ * Constructs a new DatasetNamespace
.
+ * @alias module:model/DatasetNamespace
+ * @param dataset {String}
+ */
+ function DatasetNamespace(dataset) {
+ _classCallCheck(this, DatasetNamespace);
+ DatasetNamespace.initialize(this, dataset);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(DatasetNamespace, null, [{
+ key: "initialize",
+ value: function initialize(obj, dataset) {
+ obj['dataset'] = dataset;
+ }
+
+ /**
+ * Constructs a DatasetNamespace
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DatasetNamespace} obj Optional instance to populate.
+ * @return {module:model/DatasetNamespace} The populated DatasetNamespace
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DatasetNamespace();
+ if (data.hasOwnProperty('dataset')) {
+ obj['dataset'] = _ApiClient["default"].convertToType(data['dataset'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to DatasetNamespace
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to DatasetNamespace
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ var _iterator = _createForOfIteratorHelper(DatasetNamespace.RequiredProperties),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var property = _step.value;
+ if (!data[property]) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ if (data['dataset'] && !(typeof data['dataset'] === 'string' || data['dataset'] instanceof String)) {
+ throw new Error("Expected the field `dataset` to be a primitive type in the JSON string but got " + data['dataset']);
+ }
+ return true;
+ }
+ }]);
+ return DatasetNamespace;
+}();
+DatasetNamespace.RequiredProperties = ["dataset"];
+
+/**
+ * @member {String} dataset
+ */
+DatasetNamespace.prototype['dataset'] = undefined;
+var _default = DatasetNamespace;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 20:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The DbtColumn model module.
+ * @module model/DbtColumn
+ * @version latest
+ */
+var DbtColumn = /*#__PURE__*/function () {
+ /**
+ * Constructs a new DbtColumn
.
+ * @alias module:model/DbtColumn
+ */
+ function DbtColumn() {
+ _classCallCheck(this, DbtColumn);
+ DbtColumn.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(DbtColumn, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a DbtColumn
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DbtColumn} obj Optional instance to populate.
+ * @return {module:model/DbtColumn} The populated DbtColumn
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DbtColumn();
+ if (data.hasOwnProperty('data_type')) {
+ obj['data_type'] = _ApiClient["default"].convertToType(data['data_type'], 'String');
+ }
+ if (data.hasOwnProperty('description')) {
+ obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
+ }
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to DbtColumn
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to DbtColumn
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['data_type'] && !(typeof data['data_type'] === 'string' || data['data_type'] instanceof String)) {
+ throw new Error("Expected the field `data_type` to be a primitive type in the JSON string but got " + data['data_type']);
+ }
+ // ensure the json data is a string
+ if (data['description'] && !(typeof data['description'] === 'string' || data['description'] instanceof String)) {
+ throw new Error("Expected the field `description` to be a primitive type in the JSON string but got " + data['description']);
+ }
+ // ensure the json data is a string
+ if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
+ throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
+ }
+ return true;
+ }
+ }]);
+ return DbtColumn;
+}();
+/**
+ * @member {String} data_type
+ */
+DbtColumn.prototype['data_type'] = undefined;
+
+/**
+ * @member {String} description
+ */
+DbtColumn.prototype['description'] = undefined;
+
+/**
+ * @member {String} name
+ */
+DbtColumn.prototype['name'] = undefined;
+var _default = DbtColumn;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 1617:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _DbtTarget = _interopRequireDefault(__nccwpck_require__(2174));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The DbtResponse model module.
+ * @module model/DbtResponse
+ * @version latest
+ */
+var DbtResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new DbtResponse
.
+ * @alias module:model/DbtResponse
+ */
+ function DbtResponse() {
+ _classCallCheck(this, DbtResponse);
+ DbtResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(DbtResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a DbtResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DbtResponse} obj Optional instance to populate.
+ * @return {module:model/DbtResponse} The populated DbtResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DbtResponse();
+ if (data.hasOwnProperty('request_id')) {
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
+ }
+ if (data.hasOwnProperty('processing_time')) {
+ obj['processing_time'] = _ApiClient["default"].convertToType(data['processing_time'], 'String');
+ }
+ if (data.hasOwnProperty('request_timestamp')) {
+ obj['request_timestamp'] = _ApiClient["default"].convertToType(data['request_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('requested_by')) {
+ obj['requested_by'] = _ApiClient["default"].convertToType(data['requested_by'], 'String');
+ }
+ if (data.hasOwnProperty('org_id')) {
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'String');
+ }
+ if (data.hasOwnProperty('targets')) {
+ obj['targets'] = _ApiClient["default"].convertToType(data['targets'], [_DbtTarget["default"]]);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to DbtResponse
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to DbtResponse
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
+ }
+ // ensure the json data is a string
+ if (data['processing_time'] && !(typeof data['processing_time'] === 'string' || data['processing_time'] instanceof String)) {
+ throw new Error("Expected the field `processing_time` to be a primitive type in the JSON string but got " + data['processing_time']);
+ }
+ // ensure the json data is a string
+ if (data['requested_by'] && !(typeof data['requested_by'] === 'string' || data['requested_by'] instanceof String)) {
+ throw new Error("Expected the field `requested_by` to be a primitive type in the JSON string but got " + data['requested_by']);
+ }
+ // ensure the json data is a string
+ if (data['org_id'] && !(typeof data['org_id'] === 'string' || data['org_id'] instanceof String)) {
+ throw new Error("Expected the field `org_id` to be a primitive type in the JSON string but got " + data['org_id']);
+ }
+ if (data['targets']) {
+ // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['targets'])) {
+ throw new Error("Expected the field `targets` to be an array in the JSON data but got " + data['targets']);
+ }
+ // validate the optional field `targets` (array)
+ var _iterator = _createForOfIteratorHelper(data['targets']),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var item = _step.value;
+ _DbtTarget["default"].validateJsonObject(item);
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ ;
+ }
+ return true;
+ }
+ }]);
+ return DbtResponse;
+}();
+/**
+ * @member {String} request_id
+ */
+DbtResponse.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+DbtResponse.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+DbtResponse.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+DbtResponse.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+DbtResponse.prototype['org_id'] = undefined;
+
+/**
+ * @member {Array.} targets
+ */
+DbtResponse.prototype['targets'] = undefined;
+var _default = DbtResponse;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 2174:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _DbtColumn = _interopRequireDefault(__nccwpck_require__(20));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The DbtTarget model module.
+ * @module model/DbtTarget
+ * @version latest
+ */
+var DbtTarget = /*#__PURE__*/function () {
+ /**
+ * Constructs a new DbtTarget
.
+ * @alias module:model/DbtTarget
+ */
+ function DbtTarget() {
+ _classCallCheck(this, DbtTarget);
+ DbtTarget.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(DbtTarget, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a DbtTarget
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DbtTarget} obj Optional instance to populate.
+ * @return {module:model/DbtTarget} The populated DbtTarget
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DbtTarget();
+ if (data.hasOwnProperty('columns')) {
+ obj['columns'] = _ApiClient["default"].convertToType(data['columns'], [_DbtColumn["default"]]);
+ }
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
+ }
+ if (data.hasOwnProperty('type')) {
+ obj['type'] = _ApiClient["default"].convertToType(data['type'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to DbtTarget
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to DbtTarget
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ if (data['columns']) {
+ // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['columns'])) {
+ throw new Error("Expected the field `columns` to be an array in the JSON data but got " + data['columns']);
+ }
+ // validate the optional field `columns` (array)
+ var _iterator = _createForOfIteratorHelper(data['columns']),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var item = _step.value;
+ _DbtColumn["default"].validateJsonObject(item);
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ ;
+ }
+ // ensure the json data is a string
+ if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
+ throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
+ }
+ // ensure the json data is a string
+ if (data['type'] && !(typeof data['type'] === 'string' || data['type'] instanceof String)) {
+ throw new Error("Expected the field `type` to be a primitive type in the JSON string but got " + data['type']);
+ }
+ return true;
+ }
+ }]);
+ return DbtTarget;
+}();
+/**
+ * @member {Array.} columns
+ */
+DbtTarget.prototype['columns'] = undefined;
+
+/**
+ * @member {String} name
+ */
+DbtTarget.prototype['name'] = undefined;
+
+/**
+ * @member {String} type
+ */
+DbtTarget.prototype['type'] = undefined;
+var _default = DbtTarget;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 1094:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The DirectoryNamespace model module.
+ * @module model/DirectoryNamespace
+ * @version latest
+ */
+var DirectoryNamespace = /*#__PURE__*/function () {
+ /**
+ * Constructs a new DirectoryNamespace
.
+ * @alias module:model/DirectoryNamespace
+ * @param directory {String}
+ */
+ function DirectoryNamespace(directory) {
+ _classCallCheck(this, DirectoryNamespace);
+ DirectoryNamespace.initialize(this, directory);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(DirectoryNamespace, null, [{
+ key: "initialize",
+ value: function initialize(obj, directory) {
+ obj['directory'] = directory;
+ }
+
+ /**
+ * Constructs a DirectoryNamespace
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/DirectoryNamespace} obj Optional instance to populate.
+ * @return {module:model/DirectoryNamespace} The populated DirectoryNamespace
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new DirectoryNamespace();
+ if (data.hasOwnProperty('directory')) {
+ obj['directory'] = _ApiClient["default"].convertToType(data['directory'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to DirectoryNamespace
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to DirectoryNamespace
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ var _iterator = _createForOfIteratorHelper(DirectoryNamespace.RequiredProperties),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var property = _step.value;
+ if (!data[property]) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ if (data['directory'] && !(typeof data['directory'] === 'string' || data['directory'] instanceof String)) {
+ throw new Error("Expected the field `directory` to be a primitive type in the JSON string but got " + data['directory']);
+ }
+ return true;
+ }
+ }]);
+ return DirectoryNamespace;
+}();
+DirectoryNamespace.RequiredProperties = ["directory"];
+
+/**
+ * @member {String} directory
+ */
+DirectoryNamespace.prototype['directory'] = undefined;
+var _default = DirectoryNamespace;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 6679:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The Favorites model module.
+ * @module model/Favorites
+ * @version latest
+ */
+var Favorites = /*#__PURE__*/function () {
+ /**
+ * Constructs a new Favorites
.
+ * @alias module:model/Favorites
+ */
+ function Favorites() {
+ _classCallCheck(this, Favorites);
+ Favorites.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(Favorites, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a Favorites
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Favorites} obj Optional instance to populate.
+ * @return {module:model/Favorites} The populated Favorites
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Favorites();
+ if (data.hasOwnProperty('favorite_id')) {
+ obj['favorite_id'] = _ApiClient["default"].convertToType(data['favorite_id'], 'String');
+ }
+ if (data.hasOwnProperty('project_id')) {
+ obj['project_id'] = _ApiClient["default"].convertToType(data['project_id'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to Favorites
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to Favorites
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['favorite_id'] && !(typeof data['favorite_id'] === 'string' || data['favorite_id'] instanceof String)) {
+ throw new Error("Expected the field `favorite_id` to be a primitive type in the JSON string but got " + data['favorite_id']);
+ }
+ // ensure the json data is a string
+ if (data['project_id'] && !(typeof data['project_id'] === 'string' || data['project_id'] instanceof String)) {
+ throw new Error("Expected the field `project_id` to be a primitive type in the JSON string but got " + data['project_id']);
+ }
+ return true;
+ }
+ }]);
+ return Favorites;
+}();
+/**
+ * @member {String} favorite_id
+ */
+Favorites.prototype['favorite_id'] = undefined;
+
+/**
+ * @member {String} project_id
+ */
+Favorites.prototype['project_id'] = undefined;
+var _default = Favorites;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 1547:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _Favorites = _interopRequireDefault(__nccwpck_require__(6679));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The FavoritesListResponse model module.
+ * @module model/FavoritesListResponse
+ * @version latest
+ */
+var FavoritesListResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new FavoritesListResponse
.
+ * @alias module:model/FavoritesListResponse
+ */
+ function FavoritesListResponse() {
+ _classCallCheck(this, FavoritesListResponse);
+ FavoritesListResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(FavoritesListResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a FavoritesListResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/FavoritesListResponse} obj Optional instance to populate.
+ * @return {module:model/FavoritesListResponse} The populated FavoritesListResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new FavoritesListResponse();
+ if (data.hasOwnProperty('request_id')) {
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
+ }
+ if (data.hasOwnProperty('processing_time')) {
+ obj['processing_time'] = _ApiClient["default"].convertToType(data['processing_time'], 'String');
+ }
+ if (data.hasOwnProperty('request_timestamp')) {
+ obj['request_timestamp'] = _ApiClient["default"].convertToType(data['request_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('requested_by')) {
+ obj['requested_by'] = _ApiClient["default"].convertToType(data['requested_by'], 'String');
+ }
+ if (data.hasOwnProperty('org_id')) {
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'String');
+ }
+ if (data.hasOwnProperty('favorites')) {
+ obj['favorites'] = _ApiClient["default"].convertToType(data['favorites'], [_Favorites["default"]]);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to FavoritesListResponse
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to FavoritesListResponse
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
+ }
+ // ensure the json data is a string
+ if (data['processing_time'] && !(typeof data['processing_time'] === 'string' || data['processing_time'] instanceof String)) {
+ throw new Error("Expected the field `processing_time` to be a primitive type in the JSON string but got " + data['processing_time']);
+ }
+ // ensure the json data is a string
+ if (data['requested_by'] && !(typeof data['requested_by'] === 'string' || data['requested_by'] instanceof String)) {
+ throw new Error("Expected the field `requested_by` to be a primitive type in the JSON string but got " + data['requested_by']);
+ }
+ // ensure the json data is a string
+ if (data['org_id'] && !(typeof data['org_id'] === 'string' || data['org_id'] instanceof String)) {
+ throw new Error("Expected the field `org_id` to be a primitive type in the JSON string but got " + data['org_id']);
+ }
+ if (data['favorites']) {
+ // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['favorites'])) {
+ throw new Error("Expected the field `favorites` to be an array in the JSON data but got " + data['favorites']);
+ }
+ // validate the optional field `favorites` (array)
+ var _iterator = _createForOfIteratorHelper(data['favorites']),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var item = _step.value;
+ _Favorites["default"].validateJsonObject(item);
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ ;
+ }
+ return true;
+ }
+ }]);
+ return FavoritesListResponse;
+}();
+/**
+ * @member {String} request_id
+ */
+FavoritesListResponse.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+FavoritesListResponse.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+FavoritesListResponse.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+FavoritesListResponse.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+FavoritesListResponse.prototype['org_id'] = undefined;
+
+/**
+ * @member {Array.} favorites
+ */
+FavoritesListResponse.prototype['favorites'] = undefined;
+var _default = FavoritesListResponse;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 6725:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _Favorites = _interopRequireDefault(__nccwpck_require__(6679));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The FavoritesResponse model module.
+ * @module model/FavoritesResponse
+ * @version latest
+ */
+var FavoritesResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new FavoritesResponse
.
+ * @alias module:model/FavoritesResponse
+ */
+ function FavoritesResponse() {
+ _classCallCheck(this, FavoritesResponse);
+ FavoritesResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(FavoritesResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a FavoritesResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/FavoritesResponse} obj Optional instance to populate.
+ * @return {module:model/FavoritesResponse} The populated FavoritesResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new FavoritesResponse();
+ if (data.hasOwnProperty('request_id')) {
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
+ }
+ if (data.hasOwnProperty('processing_time')) {
+ obj['processing_time'] = _ApiClient["default"].convertToType(data['processing_time'], 'String');
+ }
+ if (data.hasOwnProperty('request_timestamp')) {
+ obj['request_timestamp'] = _ApiClient["default"].convertToType(data['request_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('requested_by')) {
+ obj['requested_by'] = _ApiClient["default"].convertToType(data['requested_by'], 'String');
+ }
+ if (data.hasOwnProperty('org_id')) {
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'String');
+ }
+ if (data.hasOwnProperty('favorite')) {
+ obj['favorite'] = _Favorites["default"].constructFromObject(data['favorite']);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to FavoritesResponse
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to FavoritesResponse
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
+ }
+ // ensure the json data is a string
+ if (data['processing_time'] && !(typeof data['processing_time'] === 'string' || data['processing_time'] instanceof String)) {
+ throw new Error("Expected the field `processing_time` to be a primitive type in the JSON string but got " + data['processing_time']);
+ }
+ // ensure the json data is a string
+ if (data['requested_by'] && !(typeof data['requested_by'] === 'string' || data['requested_by'] instanceof String)) {
+ throw new Error("Expected the field `requested_by` to be a primitive type in the JSON string but got " + data['requested_by']);
+ }
+ // ensure the json data is a string
+ if (data['org_id'] && !(typeof data['org_id'] === 'string' || data['org_id'] instanceof String)) {
+ throw new Error("Expected the field `org_id` to be a primitive type in the JSON string but got " + data['org_id']);
+ }
+ // validate the optional field `favorite`
+ if (data['favorite']) {
+ // data not null
+ _Favorites["default"].validateJSON(data['favorite']);
+ }
+ return true;
+ }
+ }]);
+ return FavoritesResponse;
+}();
+/**
+ * @member {String} request_id
+ */
+FavoritesResponse.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+FavoritesResponse.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+FavoritesResponse.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+FavoritesResponse.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+FavoritesResponse.prototype['org_id'] = undefined;
+
+/**
+ * @member {module:model/Favorites} favorite
+ */
+FavoritesResponse.prototype['favorite'] = undefined;
+var _default = FavoritesResponse;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 733:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The JSONTable model module.
+ * @module model/JSONTable
+ * @version latest
+ */
+var JSONTable = /*#__PURE__*/function () {
+ /**
+ * Constructs a new JSONTable
.
+ * @alias module:model/JSONTable
+ */
+ function JSONTable() {
+ _classCallCheck(this, JSONTable);
+ JSONTable.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(JSONTable, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a JSONTable
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/JSONTable} obj Optional instance to populate.
+ * @return {module:model/JSONTable} The populated JSONTable
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new JSONTable();
+ if (data.hasOwnProperty('request_id')) {
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
+ }
+ if (data.hasOwnProperty('processing_time')) {
+ obj['processing_time'] = _ApiClient["default"].convertToType(data['processing_time'], 'String');
+ }
+ if (data.hasOwnProperty('request_timestamp')) {
+ obj['request_timestamp'] = _ApiClient["default"].convertToType(data['request_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('requested_by')) {
+ obj['requested_by'] = _ApiClient["default"].convertToType(data['requested_by'], 'String');
+ }
+ if (data.hasOwnProperty('org_id')) {
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'String');
+ }
+ if (data.hasOwnProperty('table_records')) {
+ obj['table_records'] = _ApiClient["default"].convertToType(data['table_records'], [{
+ 'String': Object
+ }]);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to JSONTable
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to JSONTable
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
+ }
+ // ensure the json data is a string
+ if (data['processing_time'] && !(typeof data['processing_time'] === 'string' || data['processing_time'] instanceof String)) {
+ throw new Error("Expected the field `processing_time` to be a primitive type in the JSON string but got " + data['processing_time']);
+ }
+ // ensure the json data is a string
+ if (data['requested_by'] && !(typeof data['requested_by'] === 'string' || data['requested_by'] instanceof String)) {
+ throw new Error("Expected the field `requested_by` to be a primitive type in the JSON string but got " + data['requested_by']);
+ }
+ // ensure the json data is a string
+ if (data['org_id'] && !(typeof data['org_id'] === 'string' || data['org_id'] instanceof String)) {
+ throw new Error("Expected the field `org_id` to be a primitive type in the JSON string but got " + data['org_id']);
+ }
+ // ensure the json data is an array
+ if (!Array.isArray(data['table_records'])) {
+ throw new Error("Expected the field `table_records` to be an array in the JSON data but got " + data['table_records']);
+ }
+ return true;
+ }
+ }]);
+ return JSONTable;
+}();
+/**
+ * @member {String} request_id
+ */
+JSONTable.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+JSONTable.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+JSONTable.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+JSONTable.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+JSONTable.prototype['org_id'] = undefined;
+
+/**
+ * @member {Array.>} table_records
+ */
+JSONTable.prototype['table_records'] = undefined;
+var _default = JSONTable;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 6579:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _QueueJobDefinition = _interopRequireDefault(__nccwpck_require__(7899));
+var _QueueProject = _interopRequireDefault(__nccwpck_require__(386));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The Job model module.
+ * @module model/Job
+ * @version latest
+ */
+var Job = /*#__PURE__*/function () {
+ /**
+ * Constructs a new Job
.
+ * @alias module:model/Job
+ * @param {(module:model/QueueJobDefinition|module:model/QueueProject)} instance The actual instance to initialize Job.
+ */
+ function Job() {
+ var instance = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
+ _classCallCheck(this, Job);
+ _defineProperty(this, "toJSON", function () {
+ return this.getActualInstance();
+ });
+ if (instance === null) {
+ this.actualInstance = null;
+ return;
+ }
+ var match = 0;
+ var errorMessages = [];
+ try {
+ if (typeof instance === "QueueJobDefinition") {
+ this.actualInstance = instance;
+ } else {
+ // plain JS object
+ // validate the object
+ _QueueJobDefinition["default"].validateJSON(instance); // throw an exception if no match
+ // create QueueJobDefinition from JS object
+ this.actualInstance = _QueueJobDefinition["default"].constructFromObject(instance);
+ }
+ match++;
+ } catch (err) {
+ // json data failed to deserialize into QueueJobDefinition
+ errorMessages.push("Failed to construct QueueJobDefinition: " + err);
+ }
+ try {
+ if (typeof instance === "QueueProject") {
+ this.actualInstance = instance;
+ } else {
+ // plain JS object
+ // validate the object
+ _QueueProject["default"].validateJSON(instance); // throw an exception if no match
+ // create QueueProject from JS object
+ this.actualInstance = _QueueProject["default"].constructFromObject(instance);
+ }
+ match++;
+ } catch (err) {
+ // json data failed to deserialize into QueueProject
+ errorMessages.push("Failed to construct QueueProject: " + err);
+ }
+ if (match > 1) {
+ throw new Error("Multiple matches found constructing `Job` with oneOf schemas QueueJobDefinition, QueueProject. Input: " + JSON.stringify(instance));
+ } else if (match === 0) {
+ this.actualInstance = null; // clear the actual instance in case there are multiple matches
+ throw new Error("No match found constructing `Job` with oneOf schemas QueueJobDefinition, QueueProject. Details: " + errorMessages.join(", "));
+ } else {// only 1 match
+ // the input is valid
+ }
+ }
+
+ /**
+ * Constructs a Job
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Job} obj Optional instance to populate.
+ * @return {module:model/Job} The populated Job
instance.
+ */
+ _createClass(Job, [{
+ key: "getActualInstance",
+ value:
+ /**
+ * Gets the actaul instance, which can be QueueJobDefinition
, QueueProject
.
+ * @return {(module:model/QueueJobDefinition|module:model/QueueProject)} The actual instance.
+ */
+ function getActualInstance() {
+ return this.actualInstance;
+ }
+
+ /**
+ * Sets the actaul instance, which can be QueueJobDefinition
, QueueProject
.
+ * @param {(module:model/QueueJobDefinition|module:model/QueueProject)} obj The actual instance.
+ */
+ }, {
+ key: "setActualInstance",
+ value: function setActualInstance(obj) {
+ this.actualInstance = Job.constructFromObject(obj).getActualInstance();
+ }
+
+ /**
+ * Returns the JSON representation of the actual intance.
+ * @return {string}
+ */
+ }], [{
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ return new Job(data);
+ }
+ }]);
+ return Job;
+}();
+/**
+ * @member {module:model/Job.JobTypeEnum} job_type
+ */
+_defineProperty(Job, "fromJSON", function (json_string) {
+ return Job.constructFromObject(JSON.parse(json_string));
+});
+Job.prototype['job_type'] = undefined;
+
+/**
+ * @member {String} job_definition_id
+ */
+Job.prototype['job_definition_id'] = undefined;
+
+/**
+ * @member {String} project_id
+ */
+Job.prototype['project_id'] = undefined;
+Job.OneOf = ["QueueJobDefinition", "QueueProject"];
+var _default = Job;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 4257:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The JobAssessment model module.
+ * @module model/JobAssessment
+ * @version latest
+ */
+var JobAssessment = /*#__PURE__*/function () {
+ /**
+ * Constructs a new JobAssessment
.
+ * @alias module:model/JobAssessment
+ * @param kTarget {Number}
+ */
+ function JobAssessment(kTarget) {
+ _classCallCheck(this, JobAssessment);
+ JobAssessment.initialize(this, kTarget);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(JobAssessment, null, [{
+ key: "initialize",
+ value: function initialize(obj, kTarget) {
+ obj['k_target'] = kTarget;
+ }
+
+ /**
+ * Constructs a JobAssessment
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/JobAssessment} obj Optional instance to populate.
+ * @return {module:model/JobAssessment} The populated JobAssessment
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new JobAssessment();
+ if (data.hasOwnProperty('assessment_id')) {
+ obj['assessment_id'] = _ApiClient["default"].convertToType(data['assessment_id'], 'String');
+ }
+ if (data.hasOwnProperty('created')) {
+ obj['created'] = _ApiClient["default"].convertToType(data['created'], 'Number');
+ }
+ if (data.hasOwnProperty('job_definition_id')) {
+ obj['job_definition_id'] = _ApiClient["default"].convertToType(data['job_definition_id'], 'String');
+ }
+ if (data.hasOwnProperty('columns_processed')) {
+ obj['columns_processed'] = _ApiClient["default"].convertToType(data['columns_processed'], 'Number');
+ }
+ if (data.hasOwnProperty('rows_processed')) {
+ obj['rows_processed'] = _ApiClient["default"].convertToType(data['rows_processed'], 'Number');
+ }
+ if (data.hasOwnProperty('rows_treated')) {
+ obj['rows_treated'] = _ApiClient["default"].convertToType(data['rows_treated'], 'Number');
+ }
+ if (data.hasOwnProperty('cells_treated')) {
+ obj['cells_treated'] = _ApiClient["default"].convertToType(data['cells_treated'], 'Number');
+ }
+ if (data.hasOwnProperty('cells_processed')) {
+ obj['cells_processed'] = _ApiClient["default"].convertToType(data['cells_processed'], 'Number');
+ }
+ if (data.hasOwnProperty('k_strategy')) {
+ obj['k_strategy'] = _ApiClient["default"].convertToType(data['k_strategy'], 'String');
+ }
+ if (data.hasOwnProperty('k_target')) {
+ obj['k_target'] = _ApiClient["default"].convertToType(data['k_target'], 'Number');
+ }
+ if (data.hasOwnProperty('phisher_average_type_a')) {
+ obj['phisher_average_type_a'] = _ApiClient["default"].convertToType(data['phisher_average_type_a'], 'String');
+ }
+ if (data.hasOwnProperty('phisher_average_type_a_initial')) {
+ obj['phisher_average_type_a_initial'] = _ApiClient["default"].convertToType(data['phisher_average_type_a_initial'], 'String');
+ }
+ if (data.hasOwnProperty('schedule')) {
+ obj['schedule'] = _ApiClient["default"].convertToType(data['schedule'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to JobAssessment
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to JobAssessment
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ var _iterator = _createForOfIteratorHelper(JobAssessment.RequiredProperties),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var property = _step.value;
+ if (!data[property]) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ if (data['assessment_id'] && !(typeof data['assessment_id'] === 'string' || data['assessment_id'] instanceof String)) {
+ throw new Error("Expected the field `assessment_id` to be a primitive type in the JSON string but got " + data['assessment_id']);
+ }
+ // ensure the json data is a string
+ if (data['job_definition_id'] && !(typeof data['job_definition_id'] === 'string' || data['job_definition_id'] instanceof String)) {
+ throw new Error("Expected the field `job_definition_id` to be a primitive type in the JSON string but got " + data['job_definition_id']);
+ }
+ // ensure the json data is a string
+ if (data['k_strategy'] && !(typeof data['k_strategy'] === 'string' || data['k_strategy'] instanceof String)) {
+ throw new Error("Expected the field `k_strategy` to be a primitive type in the JSON string but got " + data['k_strategy']);
+ }
+ // ensure the json data is a string
+ if (data['phisher_average_type_a'] && !(typeof data['phisher_average_type_a'] === 'string' || data['phisher_average_type_a'] instanceof String)) {
+ throw new Error("Expected the field `phisher_average_type_a` to be a primitive type in the JSON string but got " + data['phisher_average_type_a']);
+ }
+ // ensure the json data is a string
+ if (data['phisher_average_type_a_initial'] && !(typeof data['phisher_average_type_a_initial'] === 'string' || data['phisher_average_type_a_initial'] instanceof String)) {
+ throw new Error("Expected the field `phisher_average_type_a_initial` to be a primitive type in the JSON string but got " + data['phisher_average_type_a_initial']);
+ }
+ // ensure the json data is a string
+ if (data['schedule'] && !(typeof data['schedule'] === 'string' || data['schedule'] instanceof String)) {
+ throw new Error("Expected the field `schedule` to be a primitive type in the JSON string but got " + data['schedule']);
+ }
+ return true;
+ }
+ }]);
+ return JobAssessment;
+}();
+JobAssessment.RequiredProperties = ["k_target"];
+
+/**
+ * @member {String} assessment_id
+ */
+JobAssessment.prototype['assessment_id'] = undefined;
+
+/**
+ * @member {Number} created
+ */
+JobAssessment.prototype['created'] = undefined;
+
+/**
+ * @member {String} job_definition_id
+ */
+JobAssessment.prototype['job_definition_id'] = undefined;
+
+/**
+ * @member {Number} columns_processed
+ */
+JobAssessment.prototype['columns_processed'] = undefined;
+
+/**
+ * @member {Number} rows_processed
+ */
+JobAssessment.prototype['rows_processed'] = undefined;
+
+/**
+ * @member {Number} rows_treated
+ */
+JobAssessment.prototype['rows_treated'] = undefined;
+
+/**
+ * @member {Number} cells_treated
+ */
+JobAssessment.prototype['cells_treated'] = undefined;
+
+/**
+ * @member {Number} cells_processed
+ */
+JobAssessment.prototype['cells_processed'] = undefined;
+
+/**
+ * @member {module:model/JobAssessment.KStrategyEnum} k_strategy
+ * @default 'anonymize'
+ */
+JobAssessment.prototype['k_strategy'] = 'anonymize';
+
+/**
+ * @member {Number} k_target
+ */
+JobAssessment.prototype['k_target'] = undefined;
+
+/**
+ * @member {String} phisher_average_type_a
+ */
+JobAssessment.prototype['phisher_average_type_a'] = undefined;
+
+/**
+ * @member {String} phisher_average_type_a_initial
+ */
+JobAssessment.prototype['phisher_average_type_a_initial'] = undefined;
+
+/**
+ * @member {String} schedule
+ */
+JobAssessment.prototype['schedule'] = undefined;
+
+/**
+ * Allowed values for the k_strategy
property.
+ * @enum {String}
+ * @readonly
+ */
+JobAssessment['KStrategyEnum'] = {
+ /**
+ * value: "anonymize"
+ * @const
+ */
+ "anonymize": "anonymize",
+ /**
+ * value: "suppress"
+ * @const
+ */
+ "suppress": "suppress"
+};
+var _default = JobAssessment;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 4821:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _ColumnConfig = _interopRequireDefault(__nccwpck_require__(9974));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The JobDefinition model module.
+ * @module model/JobDefinition
+ * @version latest
+ */
+var JobDefinition = /*#__PURE__*/function () {
+ /**
+ * Constructs a new JobDefinition
.
+ * @alias module:model/JobDefinition
+ * @param tableName {String}
+ */
+ function JobDefinition(tableName) {
+ _classCallCheck(this, JobDefinition);
+ JobDefinition.initialize(this, tableName);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(JobDefinition, null, [{
+ key: "initialize",
+ value: function initialize(obj, tableName) {
+ obj['table_name'] = tableName;
+ }
+
+ /**
+ * Constructs a JobDefinition
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/JobDefinition} obj Optional instance to populate.
+ * @return {module:model/JobDefinition} The populated JobDefinition
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new JobDefinition();
+ if (data.hasOwnProperty('job_definition_id')) {
+ obj['job_definition_id'] = _ApiClient["default"].convertToType(data['job_definition_id'], 'String');
+ }
+ if (data.hasOwnProperty('table_name')) {
+ obj['table_name'] = _ApiClient["default"].convertToType(data['table_name'], 'String');
+ }
+ if (data.hasOwnProperty('enabled')) {
+ obj['enabled'] = _ApiClient["default"].convertToType(data['enabled'], 'Boolean');
+ }
+ if (data.hasOwnProperty('treat')) {
+ obj['treat'] = _ApiClient["default"].convertToType(data['treat'], 'Boolean');
+ }
+ if (data.hasOwnProperty('k_strategy')) {
+ obj['k_strategy'] = _ApiClient["default"].convertToType(data['k_strategy'], 'String');
+ }
+ if (data.hasOwnProperty('k_target')) {
+ obj['k_target'] = _ApiClient["default"].convertToType(data['k_target'], 'Number');
+ }
+ if (data.hasOwnProperty('schedule')) {
+ obj['schedule'] = _ApiClient["default"].convertToType(data['schedule'], 'String');
+ }
+ if (data.hasOwnProperty('column_config')) {
+ obj['column_config'] = _ApiClient["default"].convertToType(data['column_config'], {
+ 'String': _ColumnConfig["default"]
+ });
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to JobDefinition
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to JobDefinition
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ var _iterator = _createForOfIteratorHelper(JobDefinition.RequiredProperties),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var property = _step.value;
+ if (!data[property]) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ if (data['job_definition_id'] && !(typeof data['job_definition_id'] === 'string' || data['job_definition_id'] instanceof String)) {
+ throw new Error("Expected the field `job_definition_id` to be a primitive type in the JSON string but got " + data['job_definition_id']);
+ }
+ // ensure the json data is a string
+ if (data['table_name'] && !(typeof data['table_name'] === 'string' || data['table_name'] instanceof String)) {
+ throw new Error("Expected the field `table_name` to be a primitive type in the JSON string but got " + data['table_name']);
+ }
+ // ensure the json data is a string
+ if (data['k_strategy'] && !(typeof data['k_strategy'] === 'string' || data['k_strategy'] instanceof String)) {
+ throw new Error("Expected the field `k_strategy` to be a primitive type in the JSON string but got " + data['k_strategy']);
+ }
+ // ensure the json data is a string
+ if (data['schedule'] && !(typeof data['schedule'] === 'string' || data['schedule'] instanceof String)) {
+ throw new Error("Expected the field `schedule` to be a primitive type in the JSON string but got " + data['schedule']);
+ }
+ return true;
+ }
+ }]);
+ return JobDefinition;
+}();
+JobDefinition.RequiredProperties = ["table_name"];
+
+/**
+ * @member {String} job_definition_id
+ */
+JobDefinition.prototype['job_definition_id'] = undefined;
+
+/**
+ * @member {String} table_name
+ */
+JobDefinition.prototype['table_name'] = undefined;
+
+/**
+ * @member {Boolean} enabled
+ * @default true
+ */
+JobDefinition.prototype['enabled'] = true;
+
+/**
+ * @member {Boolean} treat
+ * @default true
+ */
+JobDefinition.prototype['treat'] = true;
+
+/**
+ * @member {module:model/JobDefinition.KStrategyEnum} k_strategy
+ */
+JobDefinition.prototype['k_strategy'] = undefined;
+
+/**
+ * @member {Number} k_target
+ */
+JobDefinition.prototype['k_target'] = undefined;
+
+/**
+ * @member {String} schedule
+ */
+JobDefinition.prototype['schedule'] = undefined;
+
+/**
+ * @member {Object.} column_config
+ */
+JobDefinition.prototype['column_config'] = undefined;
+
+/**
+ * Allowed values for the k_strategy
property.
+ * @enum {String}
+ * @readonly
+ */
+JobDefinition['KStrategyEnum'] = {
+ /**
+ * value: "anonymize"
+ * @const
+ */
+ "anonymize": "anonymize",
+ /**
+ * value: "suppress"
+ * @const
+ */
+ "suppress": "suppress"
+};
+var _default = JobDefinition;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 2620:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _ColumnConfig = _interopRequireDefault(__nccwpck_require__(9974));
+var _JobAssessment = _interopRequireDefault(__nccwpck_require__(4257));
+var _JobRunResult = _interopRequireDefault(__nccwpck_require__(9063));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The JobDefinitionDetails model module.
+ * @module model/JobDefinitionDetails
+ * @version latest
+ */
+var JobDefinitionDetails = /*#__PURE__*/function () {
+ /**
+ * Constructs a new JobDefinitionDetails
.
+ * @alias module:model/JobDefinitionDetails
+ */
+ function JobDefinitionDetails() {
+ _classCallCheck(this, JobDefinitionDetails);
+ JobDefinitionDetails.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(JobDefinitionDetails, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a JobDefinitionDetails
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/JobDefinitionDetails} obj Optional instance to populate.
+ * @return {module:model/JobDefinitionDetails} The populated JobDefinitionDetails
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new JobDefinitionDetails();
+ if (data.hasOwnProperty('job_definition_id')) {
+ obj['job_definition_id'] = _ApiClient["default"].convertToType(data['job_definition_id'], 'String');
+ }
+ if (data.hasOwnProperty('origin_namespace')) {
+ obj['origin_namespace'] = _ApiClient["default"].convertToType(data['origin_namespace'], Object);
+ }
+ if (data.hasOwnProperty('origin_table')) {
+ obj['origin_table'] = _ApiClient["default"].convertToType(data['origin_table'], 'String');
+ }
+ if (data.hasOwnProperty('destination_namespace')) {
+ obj['destination_namespace'] = _ApiClient["default"].convertToType(data['destination_namespace'], Object);
+ }
+ if (data.hasOwnProperty('destination_table')) {
+ obj['destination_table'] = _ApiClient["default"].convertToType(data['destination_table'], 'String');
+ }
+ if (data.hasOwnProperty('k_strategy')) {
+ obj['k_strategy'] = _ApiClient["default"].convertToType(data['k_strategy'], 'String');
+ }
+ if (data.hasOwnProperty('k_target')) {
+ obj['k_target'] = _ApiClient["default"].convertToType(data['k_target'], 'Number');
+ }
+ if (data.hasOwnProperty('enabled')) {
+ obj['enabled'] = _ApiClient["default"].convertToType(data['enabled'], 'Boolean');
+ }
+ if (data.hasOwnProperty('treat')) {
+ obj['treat'] = _ApiClient["default"].convertToType(data['treat'], 'Boolean');
+ }
+ if (data.hasOwnProperty('created')) {
+ obj['created'] = _ApiClient["default"].convertToType(data['created'], 'Number');
+ }
+ if (data.hasOwnProperty('updated')) {
+ obj['updated'] = _ApiClient["default"].convertToType(data['updated'], 'Number');
+ }
+ if (data.hasOwnProperty('assessment')) {
+ obj['assessment'] = _JobAssessment["default"].constructFromObject(data['assessment']);
+ }
+ if (data.hasOwnProperty('last_job_run')) {
+ obj['last_job_run'] = _JobRunResult["default"].constructFromObject(data['last_job_run']);
+ }
+ if (data.hasOwnProperty('column_config')) {
+ obj['column_config'] = _ApiClient["default"].convertToType(data['column_config'], {
+ 'String': _ColumnConfig["default"]
+ });
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to JobDefinitionDetails
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to JobDefinitionDetails
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['job_definition_id'] && !(typeof data['job_definition_id'] === 'string' || data['job_definition_id'] instanceof String)) {
+ throw new Error("Expected the field `job_definition_id` to be a primitive type in the JSON string but got " + data['job_definition_id']);
+ }
+ // ensure the json data is a string
+ if (data['origin_table'] && !(typeof data['origin_table'] === 'string' || data['origin_table'] instanceof String)) {
+ throw new Error("Expected the field `origin_table` to be a primitive type in the JSON string but got " + data['origin_table']);
+ }
+ // ensure the json data is a string
+ if (data['destination_table'] && !(typeof data['destination_table'] === 'string' || data['destination_table'] instanceof String)) {
+ throw new Error("Expected the field `destination_table` to be a primitive type in the JSON string but got " + data['destination_table']);
+ }
+ // ensure the json data is a string
+ if (data['k_strategy'] && !(typeof data['k_strategy'] === 'string' || data['k_strategy'] instanceof String)) {
+ throw new Error("Expected the field `k_strategy` to be a primitive type in the JSON string but got " + data['k_strategy']);
+ }
+ // validate the optional field `assessment`
+ if (data['assessment']) {
+ // data not null
+ _JobAssessment["default"].validateJSON(data['assessment']);
+ }
+ // validate the optional field `last_job_run`
+ if (data['last_job_run']) {
+ // data not null
+ _JobRunResult["default"].validateJSON(data['last_job_run']);
+ }
+ return true;
+ }
+ }]);
+ return JobDefinitionDetails;
+}();
+/**
+ * @member {String} job_definition_id
+ */
+JobDefinitionDetails.prototype['job_definition_id'] = undefined;
+
+/**
+ * @member {Object} origin_namespace
+ */
+JobDefinitionDetails.prototype['origin_namespace'] = undefined;
+
+/**
+ * @member {String} origin_table
+ */
+JobDefinitionDetails.prototype['origin_table'] = undefined;
+
+/**
+ * @member {Object} destination_namespace
+ */
+JobDefinitionDetails.prototype['destination_namespace'] = undefined;
+
+/**
+ * @member {String} destination_table
+ */
+JobDefinitionDetails.prototype['destination_table'] = undefined;
+
+/**
+ * @member {String} k_strategy
+ */
+JobDefinitionDetails.prototype['k_strategy'] = undefined;
+
+/**
+ * @member {Number} k_target
+ */
+JobDefinitionDetails.prototype['k_target'] = undefined;
+
+/**
+ * @member {Boolean} enabled
+ */
+JobDefinitionDetails.prototype['enabled'] = undefined;
+
+/**
+ * @member {Boolean} treat
+ */
+JobDefinitionDetails.prototype['treat'] = undefined;
+
+/**
+ * @member {Number} created
+ */
+JobDefinitionDetails.prototype['created'] = undefined;
+
+/**
+ * @member {Number} updated
+ */
+JobDefinitionDetails.prototype['updated'] = undefined;
+
+/**
+ * @member {module:model/JobAssessment} assessment
+ */
+JobDefinitionDetails.prototype['assessment'] = undefined;
+
+/**
+ * @member {module:model/JobRunResult} last_job_run
+ */
+JobDefinitionDetails.prototype['last_job_run'] = undefined;
+
+/**
+ * @member {Object.} column_config
+ */
+JobDefinitionDetails.prototype['column_config'] = undefined;
+var _default = JobDefinitionDetails;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 8991:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _JobDefinitionDetails = _interopRequireDefault(__nccwpck_require__(2620));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The JobDefinitionDetailsResponse model module.
+ * @module model/JobDefinitionDetailsResponse
+ * @version latest
+ */
+var JobDefinitionDetailsResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new JobDefinitionDetailsResponse
.
+ * @alias module:model/JobDefinitionDetailsResponse
+ */
+ function JobDefinitionDetailsResponse() {
+ _classCallCheck(this, JobDefinitionDetailsResponse);
+ JobDefinitionDetailsResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(JobDefinitionDetailsResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a JobDefinitionDetailsResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/JobDefinitionDetailsResponse} obj Optional instance to populate.
+ * @return {module:model/JobDefinitionDetailsResponse} The populated JobDefinitionDetailsResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new JobDefinitionDetailsResponse();
+ if (data.hasOwnProperty('request_id')) {
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
+ }
+ if (data.hasOwnProperty('processing_time')) {
+ obj['processing_time'] = _ApiClient["default"].convertToType(data['processing_time'], 'String');
+ }
+ if (data.hasOwnProperty('request_timestamp')) {
+ obj['request_timestamp'] = _ApiClient["default"].convertToType(data['request_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('requested_by')) {
+ obj['requested_by'] = _ApiClient["default"].convertToType(data['requested_by'], 'String');
+ }
+ if (data.hasOwnProperty('org_id')) {
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'String');
+ }
+ if (data.hasOwnProperty('job_definition')) {
+ obj['job_definition'] = _JobDefinitionDetails["default"].constructFromObject(data['job_definition']);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to JobDefinitionDetailsResponse
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to JobDefinitionDetailsResponse
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
+ }
+ // ensure the json data is a string
+ if (data['processing_time'] && !(typeof data['processing_time'] === 'string' || data['processing_time'] instanceof String)) {
+ throw new Error("Expected the field `processing_time` to be a primitive type in the JSON string but got " + data['processing_time']);
+ }
+ // ensure the json data is a string
+ if (data['requested_by'] && !(typeof data['requested_by'] === 'string' || data['requested_by'] instanceof String)) {
+ throw new Error("Expected the field `requested_by` to be a primitive type in the JSON string but got " + data['requested_by']);
+ }
+ // ensure the json data is a string
+ if (data['org_id'] && !(typeof data['org_id'] === 'string' || data['org_id'] instanceof String)) {
+ throw new Error("Expected the field `org_id` to be a primitive type in the JSON string but got " + data['org_id']);
+ }
+ // validate the optional field `job_definition`
+ if (data['job_definition']) {
+ // data not null
+ _JobDefinitionDetails["default"].validateJSON(data['job_definition']);
+ }
+ return true;
+ }
+ }]);
+ return JobDefinitionDetailsResponse;
+}();
+/**
+ * @member {String} request_id
+ */
+JobDefinitionDetailsResponse.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+JobDefinitionDetailsResponse.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+JobDefinitionDetailsResponse.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+JobDefinitionDetailsResponse.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+JobDefinitionDetailsResponse.prototype['org_id'] = undefined;
+
+/**
+ * @member {module:model/JobDefinitionDetails} job_definition
+ */
+JobDefinitionDetailsResponse.prototype['job_definition'] = undefined;
+var _default = JobDefinitionDetailsResponse;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 2269:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _JobDefinition = _interopRequireDefault(__nccwpck_require__(4821));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The JobDefinitionResponse model module.
+ * @module model/JobDefinitionResponse
+ * @version latest
+ */
+var JobDefinitionResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new JobDefinitionResponse
.
+ * @alias module:model/JobDefinitionResponse
+ */
+ function JobDefinitionResponse() {
+ _classCallCheck(this, JobDefinitionResponse);
+ JobDefinitionResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(JobDefinitionResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a JobDefinitionResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/JobDefinitionResponse} obj Optional instance to populate.
+ * @return {module:model/JobDefinitionResponse} The populated JobDefinitionResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new JobDefinitionResponse();
+ if (data.hasOwnProperty('request_id')) {
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
+ }
+ if (data.hasOwnProperty('processing_time')) {
+ obj['processing_time'] = _ApiClient["default"].convertToType(data['processing_time'], 'String');
+ }
+ if (data.hasOwnProperty('request_timestamp')) {
+ obj['request_timestamp'] = _ApiClient["default"].convertToType(data['request_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('requested_by')) {
+ obj['requested_by'] = _ApiClient["default"].convertToType(data['requested_by'], 'String');
+ }
+ if (data.hasOwnProperty('org_id')) {
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'String');
+ }
+ if (data.hasOwnProperty('job_definition')) {
+ obj['job_definition'] = _JobDefinition["default"].constructFromObject(data['job_definition']);
+ }
+ if (data.hasOwnProperty('job_failed_to_schedule')) {
+ obj['job_failed_to_schedule'] = _ApiClient["default"].convertToType(data['job_failed_to_schedule'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to JobDefinitionResponse
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to JobDefinitionResponse
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
+ }
+ // ensure the json data is a string
+ if (data['processing_time'] && !(typeof data['processing_time'] === 'string' || data['processing_time'] instanceof String)) {
+ throw new Error("Expected the field `processing_time` to be a primitive type in the JSON string but got " + data['processing_time']);
+ }
+ // ensure the json data is a string
+ if (data['requested_by'] && !(typeof data['requested_by'] === 'string' || data['requested_by'] instanceof String)) {
+ throw new Error("Expected the field `requested_by` to be a primitive type in the JSON string but got " + data['requested_by']);
+ }
+ // ensure the json data is a string
+ if (data['org_id'] && !(typeof data['org_id'] === 'string' || data['org_id'] instanceof String)) {
+ throw new Error("Expected the field `org_id` to be a primitive type in the JSON string but got " + data['org_id']);
+ }
+ // validate the optional field `job_definition`
+ if (data['job_definition']) {
+ // data not null
+ _JobDefinition["default"].validateJSON(data['job_definition']);
+ }
+ return true;
+ }
+ }]);
+ return JobDefinitionResponse;
+}();
+/**
+ * @member {String} request_id
+ */
+JobDefinitionResponse.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+JobDefinitionResponse.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+JobDefinitionResponse.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+JobDefinitionResponse.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+JobDefinitionResponse.prototype['org_id'] = undefined;
+
+/**
+ * @member {module:model/JobDefinition} job_definition
+ */
+JobDefinitionResponse.prototype['job_definition'] = undefined;
+
+/**
+ * @member {Boolean} job_failed_to_schedule
+ */
+JobDefinitionResponse.prototype['job_failed_to_schedule'] = undefined;
+var _default = JobDefinitionResponse;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 9390:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The JobDefinitionRunStatus model module.
+ * @module model/JobDefinitionRunStatus
+ * @version latest
+ */
+var JobDefinitionRunStatus = /*#__PURE__*/function () {
+ /**
+ * Constructs a new JobDefinitionRunStatus
.
+ * @alias module:model/JobDefinitionRunStatus
+ */
+ function JobDefinitionRunStatus() {
+ _classCallCheck(this, JobDefinitionRunStatus);
+ JobDefinitionRunStatus.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(JobDefinitionRunStatus, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a JobDefinitionRunStatus
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/JobDefinitionRunStatus} obj Optional instance to populate.
+ * @return {module:model/JobDefinitionRunStatus} The populated JobDefinitionRunStatus
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new JobDefinitionRunStatus();
+ if (data.hasOwnProperty('job_definition_id')) {
+ obj['job_definition_id'] = _ApiClient["default"].convertToType(data['job_definition_id'], 'String');
+ }
+ if (data.hasOwnProperty('job_run_id')) {
+ obj['job_run_id'] = _ApiClient["default"].convertToType(data['job_run_id'], 'Number');
+ }
+ if (data.hasOwnProperty('job_event_type')) {
+ obj['job_event_type'] = _ApiClient["default"].convertToType(data['job_event_type'], 'String');
+ }
+ if (data.hasOwnProperty('job_result')) {
+ obj['job_result'] = _ApiClient["default"].convertToType(data['job_result'], 'String');
+ }
+ if (data.hasOwnProperty('job_message')) {
+ obj['job_message'] = _ApiClient["default"].convertToType(data['job_message'], 'String');
+ }
+ if (data.hasOwnProperty('enabled')) {
+ obj['enabled'] = _ApiClient["default"].convertToType(data['enabled'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to JobDefinitionRunStatus
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to JobDefinitionRunStatus
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['job_definition_id'] && !(typeof data['job_definition_id'] === 'string' || data['job_definition_id'] instanceof String)) {
+ throw new Error("Expected the field `job_definition_id` to be a primitive type in the JSON string but got " + data['job_definition_id']);
+ }
+ // ensure the json data is a string
+ if (data['job_event_type'] && !(typeof data['job_event_type'] === 'string' || data['job_event_type'] instanceof String)) {
+ throw new Error("Expected the field `job_event_type` to be a primitive type in the JSON string but got " + data['job_event_type']);
+ }
+ // ensure the json data is a string
+ if (data['job_result'] && !(typeof data['job_result'] === 'string' || data['job_result'] instanceof String)) {
+ throw new Error("Expected the field `job_result` to be a primitive type in the JSON string but got " + data['job_result']);
+ }
+ // ensure the json data is a string
+ if (data['job_message'] && !(typeof data['job_message'] === 'string' || data['job_message'] instanceof String)) {
+ throw new Error("Expected the field `job_message` to be a primitive type in the JSON string but got " + data['job_message']);
+ }
+ return true;
+ }
+ }]);
+ return JobDefinitionRunStatus;
+}();
+/**
+ * @member {String} job_definition_id
+ */
+JobDefinitionRunStatus.prototype['job_definition_id'] = undefined;
+
+/**
+ * @member {Number} job_run_id
+ */
+JobDefinitionRunStatus.prototype['job_run_id'] = undefined;
+
+/**
+ * @member {String} job_event_type
+ */
+JobDefinitionRunStatus.prototype['job_event_type'] = undefined;
+
+/**
+ * @member {String} job_result
+ */
+JobDefinitionRunStatus.prototype['job_result'] = undefined;
+
+/**
+ * @member {String} job_message
+ */
+JobDefinitionRunStatus.prototype['job_message'] = undefined;
+
+/**
+ * @member {Boolean} enabled
+ */
+JobDefinitionRunStatus.prototype['enabled'] = undefined;
+var _default = JobDefinitionRunStatus;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 580:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _JobDefinitionRunStatus = _interopRequireDefault(__nccwpck_require__(9390));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The JobDefinitionRunStatusList model module.
+ * @module model/JobDefinitionRunStatusList
+ * @version latest
+ */
+var JobDefinitionRunStatusList = /*#__PURE__*/function () {
+ /**
+ * Constructs a new JobDefinitionRunStatusList
.
+ * @alias module:model/JobDefinitionRunStatusList
+ */
+ function JobDefinitionRunStatusList() {
+ _classCallCheck(this, JobDefinitionRunStatusList);
+ JobDefinitionRunStatusList.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(JobDefinitionRunStatusList, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a JobDefinitionRunStatusList
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/JobDefinitionRunStatusList} obj Optional instance to populate.
+ * @return {module:model/JobDefinitionRunStatusList} The populated JobDefinitionRunStatusList
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new JobDefinitionRunStatusList();
+ if (data.hasOwnProperty('request_id')) {
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
+ }
+ if (data.hasOwnProperty('processing_time')) {
+ obj['processing_time'] = _ApiClient["default"].convertToType(data['processing_time'], 'String');
+ }
+ if (data.hasOwnProperty('request_timestamp')) {
+ obj['request_timestamp'] = _ApiClient["default"].convertToType(data['request_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('requested_by')) {
+ obj['requested_by'] = _ApiClient["default"].convertToType(data['requested_by'], 'String');
+ }
+ if (data.hasOwnProperty('org_id')) {
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'String');
+ }
+ if (data.hasOwnProperty('project_status')) {
+ obj['project_status'] = _ApiClient["default"].convertToType(data['project_status'], [_JobDefinitionRunStatus["default"]]);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to JobDefinitionRunStatusList
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to JobDefinitionRunStatusList
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
+ }
+ // ensure the json data is a string
+ if (data['processing_time'] && !(typeof data['processing_time'] === 'string' || data['processing_time'] instanceof String)) {
+ throw new Error("Expected the field `processing_time` to be a primitive type in the JSON string but got " + data['processing_time']);
+ }
+ // ensure the json data is a string
+ if (data['requested_by'] && !(typeof data['requested_by'] === 'string' || data['requested_by'] instanceof String)) {
+ throw new Error("Expected the field `requested_by` to be a primitive type in the JSON string but got " + data['requested_by']);
+ }
+ // ensure the json data is a string
+ if (data['org_id'] && !(typeof data['org_id'] === 'string' || data['org_id'] instanceof String)) {
+ throw new Error("Expected the field `org_id` to be a primitive type in the JSON string but got " + data['org_id']);
+ }
+ if (data['project_status']) {
+ // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['project_status'])) {
+ throw new Error("Expected the field `project_status` to be an array in the JSON data but got " + data['project_status']);
+ }
+ // validate the optional field `project_status` (array)
+ var _iterator = _createForOfIteratorHelper(data['project_status']),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var item = _step.value;
+ _JobDefinitionRunStatus["default"].validateJsonObject(item);
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ ;
+ }
+ return true;
+ }
+ }]);
+ return JobDefinitionRunStatusList;
+}();
+/**
+ * @member {String} request_id
+ */
+JobDefinitionRunStatusList.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+JobDefinitionRunStatusList.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+JobDefinitionRunStatusList.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+JobDefinitionRunStatusList.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+JobDefinitionRunStatusList.prototype['org_id'] = undefined;
+
+/**
+ * @member {Array.} project_status
+ */
+JobDefinitionRunStatusList.prototype['project_status'] = undefined;
+var _default = JobDefinitionRunStatusList;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 9134:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _JobDefinitionDetails = _interopRequireDefault(__nccwpck_require__(2620));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The JobDefinitionsDetailsResponse model module.
+ * @module model/JobDefinitionsDetailsResponse
+ * @version latest
+ */
+var JobDefinitionsDetailsResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new JobDefinitionsDetailsResponse
.
+ * @alias module:model/JobDefinitionsDetailsResponse
+ */
+ function JobDefinitionsDetailsResponse() {
+ _classCallCheck(this, JobDefinitionsDetailsResponse);
+ JobDefinitionsDetailsResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(JobDefinitionsDetailsResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a JobDefinitionsDetailsResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/JobDefinitionsDetailsResponse} obj Optional instance to populate.
+ * @return {module:model/JobDefinitionsDetailsResponse} The populated JobDefinitionsDetailsResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new JobDefinitionsDetailsResponse();
+ if (data.hasOwnProperty('request_id')) {
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
+ }
+ if (data.hasOwnProperty('processing_time')) {
+ obj['processing_time'] = _ApiClient["default"].convertToType(data['processing_time'], 'String');
+ }
+ if (data.hasOwnProperty('request_timestamp')) {
+ obj['request_timestamp'] = _ApiClient["default"].convertToType(data['request_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('requested_by')) {
+ obj['requested_by'] = _ApiClient["default"].convertToType(data['requested_by'], 'String');
+ }
+ if (data.hasOwnProperty('org_id')) {
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'String');
+ }
+ if (data.hasOwnProperty('job_definitions')) {
+ obj['job_definitions'] = _ApiClient["default"].convertToType(data['job_definitions'], [_JobDefinitionDetails["default"]]);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to JobDefinitionsDetailsResponse
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to JobDefinitionsDetailsResponse
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
+ }
+ // ensure the json data is a string
+ if (data['processing_time'] && !(typeof data['processing_time'] === 'string' || data['processing_time'] instanceof String)) {
+ throw new Error("Expected the field `processing_time` to be a primitive type in the JSON string but got " + data['processing_time']);
+ }
+ // ensure the json data is a string
+ if (data['requested_by'] && !(typeof data['requested_by'] === 'string' || data['requested_by'] instanceof String)) {
+ throw new Error("Expected the field `requested_by` to be a primitive type in the JSON string but got " + data['requested_by']);
+ }
+ // ensure the json data is a string
+ if (data['org_id'] && !(typeof data['org_id'] === 'string' || data['org_id'] instanceof String)) {
+ throw new Error("Expected the field `org_id` to be a primitive type in the JSON string but got " + data['org_id']);
+ }
+ if (data['job_definitions']) {
+ // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['job_definitions'])) {
+ throw new Error("Expected the field `job_definitions` to be an array in the JSON data but got " + data['job_definitions']);
+ }
+ // validate the optional field `job_definitions` (array)
+ var _iterator = _createForOfIteratorHelper(data['job_definitions']),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var item = _step.value;
+ _JobDefinitionDetails["default"].validateJsonObject(item);
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ ;
+ }
+ return true;
+ }
+ }]);
+ return JobDefinitionsDetailsResponse;
+}();
+/**
+ * @member {String} request_id
+ */
+JobDefinitionsDetailsResponse.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+JobDefinitionsDetailsResponse.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+JobDefinitionsDetailsResponse.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+JobDefinitionsDetailsResponse.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+JobDefinitionsDetailsResponse.prototype['org_id'] = undefined;
+
+/**
+ * @member {Array.} job_definitions
+ */
+JobDefinitionsDetailsResponse.prototype['job_definitions'] = undefined;
+var _default = JobDefinitionsDetailsResponse;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 1555:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The JobEvent model module.
+ * @module model/JobEvent
+ * @version latest
+ */
+var JobEvent = /*#__PURE__*/function () {
+ /**
+ * Constructs a new JobEvent
.
+ * @alias module:model/JobEvent
+ */
+ function JobEvent() {
+ _classCallCheck(this, JobEvent);
+ JobEvent.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(JobEvent, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a JobEvent
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/JobEvent} obj Optional instance to populate.
+ * @return {module:model/JobEvent} The populated JobEvent
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new JobEvent();
+ if (data.hasOwnProperty('job_event_id')) {
+ obj['job_event_id'] = _ApiClient["default"].convertToType(data['job_event_id'], 'Number');
+ }
+ if (data.hasOwnProperty('job_run_id')) {
+ obj['job_run_id'] = _ApiClient["default"].convertToType(data['job_run_id'], 'Number');
+ }
+ if (data.hasOwnProperty('event_type')) {
+ obj['event_type'] = _ApiClient["default"].convertToType(data['event_type'], 'String');
+ }
+ if (data.hasOwnProperty('start_timestamp')) {
+ obj['start_timestamp'] = _ApiClient["default"].convertToType(data['start_timestamp'], 'Date');
+ }
+ if (data.hasOwnProperty('end_timestamp')) {
+ obj['end_timestamp'] = _ApiClient["default"].convertToType(data['end_timestamp'], 'Date');
+ }
+ if (data.hasOwnProperty('duration')) {
+ obj['duration'] = _ApiClient["default"].convertToType(data['duration'], 'String');
+ }
+ if (data.hasOwnProperty('status')) {
+ obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
+ }
+ if (data.hasOwnProperty('failure_message')) {
+ obj['failure_message'] = _ApiClient["default"].convertToType(data['failure_message'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to JobEvent
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to JobEvent
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['event_type'] && !(typeof data['event_type'] === 'string' || data['event_type'] instanceof String)) {
+ throw new Error("Expected the field `event_type` to be a primitive type in the JSON string but got " + data['event_type']);
+ }
+ // ensure the json data is a string
+ if (data['duration'] && !(typeof data['duration'] === 'string' || data['duration'] instanceof String)) {
+ throw new Error("Expected the field `duration` to be a primitive type in the JSON string but got " + data['duration']);
+ }
+ // ensure the json data is a string
+ if (data['status'] && !(typeof data['status'] === 'string' || data['status'] instanceof String)) {
+ throw new Error("Expected the field `status` to be a primitive type in the JSON string but got " + data['status']);
+ }
+ // ensure the json data is a string
+ if (data['failure_message'] && !(typeof data['failure_message'] === 'string' || data['failure_message'] instanceof String)) {
+ throw new Error("Expected the field `failure_message` to be a primitive type in the JSON string but got " + data['failure_message']);
+ }
+ return true;
+ }
+ }]);
+ return JobEvent;
+}();
+/**
+ * @member {Number} job_event_id
+ */
+JobEvent.prototype['job_event_id'] = undefined;
+
+/**
+ * @member {Number} job_run_id
+ */
+JobEvent.prototype['job_run_id'] = undefined;
+
+/**
+ * @member {String} event_type
+ */
+JobEvent.prototype['event_type'] = undefined;
+
+/**
+ * @member {Date} start_timestamp
+ */
+JobEvent.prototype['start_timestamp'] = undefined;
+
+/**
+ * @member {Date} end_timestamp
+ */
+JobEvent.prototype['end_timestamp'] = undefined;
+
+/**
+ * @member {String} duration
+ */
+JobEvent.prototype['duration'] = undefined;
+
+/**
+ * @member {String} status
+ */
+JobEvent.prototype['status'] = undefined;
+
+/**
+ * @member {String} failure_message
+ */
+JobEvent.prototype['failure_message'] = undefined;
+var _default = JobEvent;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 5712:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _Assessment = _interopRequireDefault(__nccwpck_require__(6165));
+var _JobEvent = _interopRequireDefault(__nccwpck_require__(1555));
+var _JobRunConnection = _interopRequireDefault(__nccwpck_require__(8855));
+var _Treatment = _interopRequireDefault(__nccwpck_require__(5398));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The JobRun model module.
+ * @module model/JobRun
+ * @version latest
+ */
+var JobRun = /*#__PURE__*/function () {
+ /**
+ * Constructs a new JobRun
.
+ * @alias module:model/JobRun
+ */
+ function JobRun() {
+ _classCallCheck(this, JobRun);
+ JobRun.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(JobRun, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a JobRun
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/JobRun} obj Optional instance to populate.
+ * @return {module:model/JobRun} The populated JobRun
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new JobRun();
+ if (data.hasOwnProperty('project_id')) {
+ obj['project_id'] = _ApiClient["default"].convertToType(data['project_id'], 'String');
+ }
+ if (data.hasOwnProperty('project_title')) {
+ obj['project_title'] = _ApiClient["default"].convertToType(data['project_title'], 'String');
+ }
+ if (data.hasOwnProperty('job_definition_id')) {
+ obj['job_definition_id'] = _ApiClient["default"].convertToType(data['job_definition_id'], 'String');
+ }
+ if (data.hasOwnProperty('job_run_id')) {
+ obj['job_run_id'] = _ApiClient["default"].convertToType(data['job_run_id'], 'Number');
+ }
+ if (data.hasOwnProperty('start_timestamp')) {
+ obj['start_timestamp'] = _ApiClient["default"].convertToType(data['start_timestamp'], 'Date');
+ }
+ if (data.hasOwnProperty('end_timestamp')) {
+ obj['end_timestamp'] = _ApiClient["default"].convertToType(data['end_timestamp'], 'Date');
+ }
+ if (data.hasOwnProperty('duration')) {
+ obj['duration'] = _ApiClient["default"].convertToType(data['duration'], 'Number');
+ }
+ if (data.hasOwnProperty('status')) {
+ obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
+ }
+ if (data.hasOwnProperty('failure_message')) {
+ obj['failure_message'] = _ApiClient["default"].convertToType(data['failure_message'], 'String');
+ }
+ if (data.hasOwnProperty('origin_connection')) {
+ obj['origin_connection'] = _JobRunConnection["default"].constructFromObject(data['origin_connection']);
+ }
+ if (data.hasOwnProperty('destination_connection')) {
+ obj['destination_connection'] = _JobRunConnection["default"].constructFromObject(data['destination_connection']);
+ }
+ if (data.hasOwnProperty('treatment')) {
+ obj['treatment'] = _Treatment["default"].constructFromObject(data['treatment']);
+ }
+ if (data.hasOwnProperty('assessment')) {
+ obj['assessment'] = _Assessment["default"].constructFromObject(data['assessment']);
+ }
+ if (data.hasOwnProperty('job_events')) {
+ obj['job_events'] = _ApiClient["default"].convertToType(data['job_events'], [_JobEvent["default"]]);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to JobRun
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to JobRun
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['project_id'] && !(typeof data['project_id'] === 'string' || data['project_id'] instanceof String)) {
+ throw new Error("Expected the field `project_id` to be a primitive type in the JSON string but got " + data['project_id']);
+ }
+ // ensure the json data is a string
+ if (data['project_title'] && !(typeof data['project_title'] === 'string' || data['project_title'] instanceof String)) {
+ throw new Error("Expected the field `project_title` to be a primitive type in the JSON string but got " + data['project_title']);
+ }
+ // ensure the json data is a string
+ if (data['job_definition_id'] && !(typeof data['job_definition_id'] === 'string' || data['job_definition_id'] instanceof String)) {
+ throw new Error("Expected the field `job_definition_id` to be a primitive type in the JSON string but got " + data['job_definition_id']);
+ }
+ // ensure the json data is a string
+ if (data['status'] && !(typeof data['status'] === 'string' || data['status'] instanceof String)) {
+ throw new Error("Expected the field `status` to be a primitive type in the JSON string but got " + data['status']);
+ }
+ // ensure the json data is a string
+ if (data['failure_message'] && !(typeof data['failure_message'] === 'string' || data['failure_message'] instanceof String)) {
+ throw new Error("Expected the field `failure_message` to be a primitive type in the JSON string but got " + data['failure_message']);
+ }
+ // validate the optional field `origin_connection`
+ if (data['origin_connection']) {
+ // data not null
+ _JobRunConnection["default"].validateJSON(data['origin_connection']);
+ }
+ // validate the optional field `destination_connection`
+ if (data['destination_connection']) {
+ // data not null
+ _JobRunConnection["default"].validateJSON(data['destination_connection']);
+ }
+ // validate the optional field `treatment`
+ if (data['treatment']) {
+ // data not null
+ _Treatment["default"].validateJSON(data['treatment']);
+ }
+ // validate the optional field `assessment`
+ if (data['assessment']) {
+ // data not null
+ _Assessment["default"].validateJSON(data['assessment']);
+ }
+ if (data['job_events']) {
+ // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['job_events'])) {
+ throw new Error("Expected the field `job_events` to be an array in the JSON data but got " + data['job_events']);
+ }
+ // validate the optional field `job_events` (array)
+ var _iterator = _createForOfIteratorHelper(data['job_events']),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var item = _step.value;
+ _JobEvent["default"].validateJsonObject(item);
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ ;
+ }
+ return true;
+ }
+ }]);
+ return JobRun;
+}();
+/**
+ * @member {String} project_id
+ */
+JobRun.prototype['project_id'] = undefined;
+
+/**
+ * @member {String} project_title
+ */
+JobRun.prototype['project_title'] = undefined;
+
+/**
+ * @member {String} job_definition_id
+ */
+JobRun.prototype['job_definition_id'] = undefined;
+
+/**
+ * @member {Number} job_run_id
+ */
+JobRun.prototype['job_run_id'] = undefined;
+
+/**
+ * @member {Date} start_timestamp
+ */
+JobRun.prototype['start_timestamp'] = undefined;
+
+/**
+ * @member {Date} end_timestamp
+ */
+JobRun.prototype['end_timestamp'] = undefined;
+
+/**
+ * @member {Number} duration
+ */
+JobRun.prototype['duration'] = undefined;
+
+/**
+ * @member {String} status
+ */
+JobRun.prototype['status'] = undefined;
+
+/**
+ * @member {String} failure_message
+ */
+JobRun.prototype['failure_message'] = undefined;
+
+/**
+ * @member {module:model/JobRunConnection} origin_connection
+ */
+JobRun.prototype['origin_connection'] = undefined;
+
+/**
+ * @member {module:model/JobRunConnection} destination_connection
+ */
+JobRun.prototype['destination_connection'] = undefined;
+
+/**
+ * @member {module:model/Treatment} treatment
+ */
+JobRun.prototype['treatment'] = undefined;
+
+/**
+ * @member {module:model/Assessment} assessment
+ */
+JobRun.prototype['assessment'] = undefined;
+
+/**
+ * @member {Array.} job_events
+ */
+JobRun.prototype['job_events'] = undefined;
+var _default = JobRun;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 1410:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The JobRunCondensed model module.
+ * @module model/JobRunCondensed
+ * @version latest
+ */
+var JobRunCondensed = /*#__PURE__*/function () {
+ /**
+ * Constructs a new JobRunCondensed
.
+ * @alias module:model/JobRunCondensed
+ */
+ function JobRunCondensed() {
+ _classCallCheck(this, JobRunCondensed);
+ JobRunCondensed.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(JobRunCondensed, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a JobRunCondensed
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/JobRunCondensed} obj Optional instance to populate.
+ * @return {module:model/JobRunCondensed} The populated JobRunCondensed
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new JobRunCondensed();
+ if (data.hasOwnProperty('job_run_id')) {
+ obj['job_run_id'] = _ApiClient["default"].convertToType(data['job_run_id'], 'Number');
+ }
+ if (data.hasOwnProperty('start_timestamp')) {
+ obj['start_timestamp'] = _ApiClient["default"].convertToType(data['start_timestamp'], 'Date');
+ }
+ if (data.hasOwnProperty('status')) {
+ obj['status'] = _ApiClient["default"].convertToType(data['status'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to JobRunCondensed
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to JobRunCondensed
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['status'] && !(typeof data['status'] === 'string' || data['status'] instanceof String)) {
+ throw new Error("Expected the field `status` to be a primitive type in the JSON string but got " + data['status']);
+ }
+ return true;
+ }
+ }]);
+ return JobRunCondensed;
+}();
+/**
+ * @member {Number} job_run_id
+ */
+JobRunCondensed.prototype['job_run_id'] = undefined;
+
+/**
+ * @member {Date} start_timestamp
+ */
+JobRunCondensed.prototype['start_timestamp'] = undefined;
+
+/**
+ * @member {String} status
+ */
+JobRunCondensed.prototype['status'] = undefined;
+var _default = JobRunCondensed;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 7175:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _JobRunCondensed = _interopRequireDefault(__nccwpck_require__(1410));
+function _interopRequireDefault(obj) {
+ return obj && obj.__esModule ? obj : {
+ "default": obj
+ };
+}
+function _createForOfIteratorHelper(o, allowArrayLike) {
+ var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
+ if (!it) {
+ if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
+ if (it) o = it;
+ var i = 0;
+ var F = function F() {};
+ return {
+ s: F,
+ n: function n() {
+ if (i >= o.length) return {
+ done: true
+ };
+ return {
+ done: false,
+ value: o[i++]
+ };
+ },
+ e: function e(_e) {
+ throw _e;
+ },
+ f: F
+ };
+ }
+ throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
+ }
+ var normalCompletion = true,
+ didErr = false,
+ err;
+ return {
+ s: function s() {
+ it = it.call(o);
+ },
+ n: function n() {
+ var step = it.next();
+ normalCompletion = step.done;
+ return step;
+ },
+ e: function e(_e2) {
+ didErr = true;
+ err = _e2;
+ },
+ f: function f() {
+ try {
+ if (!normalCompletion && it["return"] != null) it["return"]();
+ } finally {
+ if (didErr) throw err;
+ }
+ }
+ };
+}
+function _unsupportedIterableToArray(o, minLen) {
+ if (!o) return;
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
+ var n = Object.prototype.toString.call(o).slice(8, -1);
+ if (n === "Object" && o.constructor) n = o.constructor.name;
+ if (n === "Map" || n === "Set") return Array.from(o);
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
+}
+function _arrayLikeToArray(arr, len) {
+ if (len == null || len > arr.length) len = arr.length;
+ for (var i = 0, arr2 = new Array(len); i < len; i++) {
+ arr2[i] = arr[i];
+ }
+ return arr2;
+}
+function _classCallCheck(instance, Constructor) {
+ if (!(instance instanceof Constructor)) {
+ throw new TypeError("Cannot call a class as a 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);
+ }
+}
+function _createClass(Constructor, protoProps, staticProps) {
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
+ if (staticProps) _defineProperties(Constructor, staticProps);
+ Object.defineProperty(Constructor, "prototype", {
+ writable: false
+ });
+ return Constructor;
+}
+/**
+ * The JobRunCondensedListResponse model module.
+ * @module model/JobRunCondensedListResponse
+ * @version latest
+ */
+var JobRunCondensedListResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new JobRunCondensedListResponse
.
+ * @alias module:model/JobRunCondensedListResponse
+ */
+ function JobRunCondensedListResponse() {
+ _classCallCheck(this, JobRunCondensedListResponse);
+ JobRunCondensedListResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(JobRunCondensedListResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a JobRunCondensedListResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/JobRunCondensedListResponse} obj Optional instance to populate.
+ * @return {module:model/JobRunCondensedListResponse} The populated JobRunCondensedListResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new JobRunCondensedListResponse();
+ if (data.hasOwnProperty('request_id')) {
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
+ }
+ if (data.hasOwnProperty('processing_time')) {
+ obj['processing_time'] = _ApiClient["default"].convertToType(data['processing_time'], 'String');
+ }
+ if (data.hasOwnProperty('request_timestamp')) {
+ obj['request_timestamp'] = _ApiClient["default"].convertToType(data['request_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('requested_by')) {
+ obj['requested_by'] = _ApiClient["default"].convertToType(data['requested_by'], 'String');
+ }
+ if (data.hasOwnProperty('org_id')) {
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'String');
+ }
+ if (data.hasOwnProperty('job_runs')) {
+ obj['job_runs'] = _ApiClient["default"].convertToType(data['job_runs'], [_JobRunCondensed["default"]]);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to JobRunCondensedListResponse
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to JobRunCondensedListResponse
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
+ }
+ // ensure the json data is a string
+ if (data['processing_time'] && !(typeof data['processing_time'] === 'string' || data['processing_time'] instanceof String)) {
+ throw new Error("Expected the field `processing_time` to be a primitive type in the JSON string but got " + data['processing_time']);
+ }
+ // ensure the json data is a string
+ if (data['requested_by'] && !(typeof data['requested_by'] === 'string' || data['requested_by'] instanceof String)) {
+ throw new Error("Expected the field `requested_by` to be a primitive type in the JSON string but got " + data['requested_by']);
+ }
+ // ensure the json data is a string
+ if (data['org_id'] && !(typeof data['org_id'] === 'string' || data['org_id'] instanceof String)) {
+ throw new Error("Expected the field `org_id` to be a primitive type in the JSON string but got " + data['org_id']);
+ }
+ if (data['job_runs']) {
+ // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['job_runs'])) {
+ throw new Error("Expected the field `job_runs` to be an array in the JSON data but got " + data['job_runs']);
+ }
+ // validate the optional field `job_runs` (array)
+ var _iterator = _createForOfIteratorHelper(data['job_runs']),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var item = _step.value;
+ _JobRunCondensed["default"].validateJSON(item);
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ ;
+ }
+ return true;
+ }
+ }]);
+ return JobRunCondensedListResponse;
+}();
+/**
+ * @member {String} request_id
+ */
+JobRunCondensedListResponse.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+JobRunCondensedListResponse.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+JobRunCondensedListResponse.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+JobRunCondensedListResponse.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+JobRunCondensedListResponse.prototype['org_id'] = undefined;
+
+/**
+ * @member {Array.} job_runs
+ */
+JobRunCondensedListResponse.prototype['job_runs'] = undefined;
+var _default = JobRunCondensedListResponse;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 8855:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The JobRunConnection model module.
+ * @module model/JobRunConnection
+ * @version latest
+ */
+var JobRunConnection = /*#__PURE__*/function () {
+ /**
+ * Constructs a new JobRunConnection
.
+ * @alias module:model/JobRunConnection
+ */
+ function JobRunConnection() {
+ _classCallCheck(this, JobRunConnection);
+ JobRunConnection.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(JobRunConnection, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a JobRunConnection
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/JobRunConnection} obj Optional instance to populate.
+ * @return {module:model/JobRunConnection} The populated JobRunConnection
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new JobRunConnection();
+ if (data.hasOwnProperty('connection_input_type')) {
+ obj['connection_input_type'] = _ApiClient["default"].convertToType(data['connection_input_type'], 'String');
+ }
+ if (data.hasOwnProperty('connection_id')) {
+ obj['connection_id'] = _ApiClient["default"].convertToType(data['connection_id'], 'Number');
+ }
+ if (data.hasOwnProperty('database')) {
+ obj['database'] = _ApiClient["default"].convertToType(data['database'], 'String');
+ }
+ if (data.hasOwnProperty('namespace')) {
+ obj['namespace'] = _ApiClient["default"].convertToType(data['namespace'], Object);
+ }
+ if (data.hasOwnProperty('table_name')) {
+ obj['table_name'] = _ApiClient["default"].convertToType(data['table_name'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to JobRunConnection
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to JobRunConnection
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['connection_input_type'] && !(typeof data['connection_input_type'] === 'string' || data['connection_input_type'] instanceof String)) {
+ throw new Error("Expected the field `connection_input_type` to be a primitive type in the JSON string but got " + data['connection_input_type']);
+ }
+ // ensure the json data is a string
+ if (data['database'] && !(typeof data['database'] === 'string' || data['database'] instanceof String)) {
+ throw new Error("Expected the field `database` to be a primitive type in the JSON string but got " + data['database']);
+ }
+ // ensure the json data is a string
+ if (data['table_name'] && !(typeof data['table_name'] === 'string' || data['table_name'] instanceof String)) {
+ throw new Error("Expected the field `table_name` to be a primitive type in the JSON string but got " + data['table_name']);
+ }
+ return true;
+ }
+ }]);
+ return JobRunConnection;
+}();
+/**
+ * @member {String} connection_input_type
+ */
+JobRunConnection.prototype['connection_input_type'] = undefined;
+
+/**
+ * @member {Number} connection_id
+ */
+JobRunConnection.prototype['connection_id'] = undefined;
+
+/**
+ * @member {String} database
+ */
+JobRunConnection.prototype['database'] = undefined;
+
+/**
+ * @member {Object} namespace
+ */
+JobRunConnection.prototype['namespace'] = undefined;
+
+/**
+ * @member {String} table_name
+ */
+JobRunConnection.prototype['table_name'] = undefined;
+var _default = JobRunConnection;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 1398:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _JobRun = _interopRequireDefault(__nccwpck_require__(5712));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The JobRunListResponse model module.
+ * @module model/JobRunListResponse
+ * @version latest
+ */
+var JobRunListResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new JobRunListResponse
.
+ * @alias module:model/JobRunListResponse
+ */
+ function JobRunListResponse() {
+ _classCallCheck(this, JobRunListResponse);
+ JobRunListResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(JobRunListResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a JobRunListResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/JobRunListResponse} obj Optional instance to populate.
+ * @return {module:model/JobRunListResponse} The populated JobRunListResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new JobRunListResponse();
+ if (data.hasOwnProperty('request_id')) {
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
+ }
+ if (data.hasOwnProperty('processing_time')) {
+ obj['processing_time'] = _ApiClient["default"].convertToType(data['processing_time'], 'String');
+ }
+ if (data.hasOwnProperty('request_timestamp')) {
+ obj['request_timestamp'] = _ApiClient["default"].convertToType(data['request_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('requested_by')) {
+ obj['requested_by'] = _ApiClient["default"].convertToType(data['requested_by'], 'String');
+ }
+ if (data.hasOwnProperty('org_id')) {
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'String');
+ }
+ if (data.hasOwnProperty('job_runs')) {
+ obj['job_runs'] = _ApiClient["default"].convertToType(data['job_runs'], [_JobRun["default"]]);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to JobRunListResponse
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to JobRunListResponse
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
+ }
+ // ensure the json data is a string
+ if (data['processing_time'] && !(typeof data['processing_time'] === 'string' || data['processing_time'] instanceof String)) {
+ throw new Error("Expected the field `processing_time` to be a primitive type in the JSON string but got " + data['processing_time']);
+ }
+ // ensure the json data is a string
+ if (data['requested_by'] && !(typeof data['requested_by'] === 'string' || data['requested_by'] instanceof String)) {
+ throw new Error("Expected the field `requested_by` to be a primitive type in the JSON string but got " + data['requested_by']);
+ }
+ // ensure the json data is a string
+ if (data['org_id'] && !(typeof data['org_id'] === 'string' || data['org_id'] instanceof String)) {
+ throw new Error("Expected the field `org_id` to be a primitive type in the JSON string but got " + data['org_id']);
+ }
+ if (data['job_runs']) {
+ // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['job_runs'])) {
+ throw new Error("Expected the field `job_runs` to be an array in the JSON data but got " + data['job_runs']);
+ }
+ // validate the optional field `job_runs` (array)
+ var _iterator = _createForOfIteratorHelper(data['job_runs']),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var item = _step.value;
+ _JobRun["default"].validateJsonObject(item);
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ ;
+ }
+ return true;
+ }
+ }]);
+ return JobRunListResponse;
+}();
+/**
+ * @member {String} request_id
+ */
+JobRunListResponse.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+JobRunListResponse.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+JobRunListResponse.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+JobRunListResponse.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+JobRunListResponse.prototype['org_id'] = undefined;
+
+/**
+ * @member {Array.} job_runs
+ */
+JobRunListResponse.prototype['job_runs'] = undefined;
+var _default = JobRunListResponse;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 6539:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _JobRun = _interopRequireDefault(__nccwpck_require__(5712));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The JobRunResponse model module.
+ * @module model/JobRunResponse
+ * @version latest
+ */
+var JobRunResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new JobRunResponse
.
+ * @alias module:model/JobRunResponse
+ */
+ function JobRunResponse() {
+ _classCallCheck(this, JobRunResponse);
+ JobRunResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(JobRunResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a JobRunResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/JobRunResponse} obj Optional instance to populate.
+ * @return {module:model/JobRunResponse} The populated JobRunResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new JobRunResponse();
+ if (data.hasOwnProperty('request_id')) {
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
+ }
+ if (data.hasOwnProperty('processing_time')) {
+ obj['processing_time'] = _ApiClient["default"].convertToType(data['processing_time'], 'String');
+ }
+ if (data.hasOwnProperty('request_timestamp')) {
+ obj['request_timestamp'] = _ApiClient["default"].convertToType(data['request_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('requested_by')) {
+ obj['requested_by'] = _ApiClient["default"].convertToType(data['requested_by'], 'String');
+ }
+ if (data.hasOwnProperty('org_id')) {
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'String');
+ }
+ if (data.hasOwnProperty('job_run')) {
+ obj['job_run'] = _JobRun["default"].constructFromObject(data['job_run']);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to JobRunResponse
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to JobRunResponse
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
+ }
+ // ensure the json data is a string
+ if (data['processing_time'] && !(typeof data['processing_time'] === 'string' || data['processing_time'] instanceof String)) {
+ throw new Error("Expected the field `processing_time` to be a primitive type in the JSON string but got " + data['processing_time']);
+ }
+ // ensure the json data is a string
+ if (data['requested_by'] && !(typeof data['requested_by'] === 'string' || data['requested_by'] instanceof String)) {
+ throw new Error("Expected the field `requested_by` to be a primitive type in the JSON string but got " + data['requested_by']);
+ }
+ // ensure the json data is a string
+ if (data['org_id'] && !(typeof data['org_id'] === 'string' || data['org_id'] instanceof String)) {
+ throw new Error("Expected the field `org_id` to be a primitive type in the JSON string but got " + data['org_id']);
+ }
+ // validate the optional field `job_run`
+ if (data['job_run']) {
+ // data not null
+ _JobRun["default"].validateJSON(data['job_run']);
+ }
+ return true;
+ }
+ }]);
+ return JobRunResponse;
+}();
+/**
+ * @member {String} request_id
+ */
+JobRunResponse.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+JobRunResponse.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+JobRunResponse.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+JobRunResponse.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+JobRunResponse.prototype['org_id'] = undefined;
+
+/**
+ * @member {module:model/JobRun} job_run
+ */
+JobRunResponse.prototype['job_run'] = undefined;
+var _default = JobRunResponse;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 9063:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The JobRunResult model module.
+ * @module model/JobRunResult
+ * @version latest
+ */
+var JobRunResult = /*#__PURE__*/function () {
+ /**
+ * Constructs a new JobRunResult
.
+ * @alias module:model/JobRunResult
+ */
+ function JobRunResult() {
+ _classCallCheck(this, JobRunResult);
+ JobRunResult.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(JobRunResult, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a JobRunResult
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/JobRunResult} obj Optional instance to populate.
+ * @return {module:model/JobRunResult} The populated JobRunResult
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new JobRunResult();
+ if (data.hasOwnProperty('job_run_id')) {
+ obj['job_run_id'] = _ApiClient["default"].convertToType(data['job_run_id'], 'Number');
+ }
+ if (data.hasOwnProperty('start_timestamp')) {
+ obj['start_timestamp'] = _ApiClient["default"].convertToType(data['start_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('end_timestamp')) {
+ obj['end_timestamp'] = _ApiClient["default"].convertToType(data['end_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('duration')) {
+ obj['duration'] = _ApiClient["default"].convertToType(data['duration'], 'Number');
+ }
+ if (data.hasOwnProperty('last_event_type')) {
+ obj['last_event_type'] = _ApiClient["default"].convertToType(data['last_event_type'], 'String');
+ }
+ if (data.hasOwnProperty('last_event_result')) {
+ obj['last_event_result'] = _ApiClient["default"].convertToType(data['last_event_result'], 'String');
+ }
+ if (data.hasOwnProperty('last_event_message')) {
+ obj['last_event_message'] = _ApiClient["default"].convertToType(data['last_event_message'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to JobRunResult
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to JobRunResult
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['last_event_type'] && !(typeof data['last_event_type'] === 'string' || data['last_event_type'] instanceof String)) {
+ throw new Error("Expected the field `last_event_type` to be a primitive type in the JSON string but got " + data['last_event_type']);
+ }
+ // ensure the json data is a string
+ if (data['last_event_result'] && !(typeof data['last_event_result'] === 'string' || data['last_event_result'] instanceof String)) {
+ throw new Error("Expected the field `last_event_result` to be a primitive type in the JSON string but got " + data['last_event_result']);
+ }
+ // ensure the json data is a string
+ if (data['last_event_message'] && !(typeof data['last_event_message'] === 'string' || data['last_event_message'] instanceof String)) {
+ throw new Error("Expected the field `last_event_message` to be a primitive type in the JSON string but got " + data['last_event_message']);
+ }
+ return true;
+ }
+ }]);
+ return JobRunResult;
+}();
+/**
+ * @member {Number} job_run_id
+ */
+JobRunResult.prototype['job_run_id'] = undefined;
+
+/**
+ * @member {Number} start_timestamp
+ */
+JobRunResult.prototype['start_timestamp'] = undefined;
+
+/**
+ * @member {Number} end_timestamp
+ */
+JobRunResult.prototype['end_timestamp'] = undefined;
+
+/**
+ * @member {Number} duration
+ */
+JobRunResult.prototype['duration'] = undefined;
+
+/**
+ * @member {String} last_event_type
+ */
+JobRunResult.prototype['last_event_type'] = undefined;
+
+/**
+ * @member {String} last_event_result
+ */
+JobRunResult.prototype['last_event_result'] = undefined;
+
+/**
+ * @member {String} last_event_message
+ */
+JobRunResult.prototype['last_event_message'] = undefined;
+var _default = JobRunResult;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 5792:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The MySQLConnection model module.
+ * @module model/MySQLConnection
+ * @version latest
+ */
+var MySQLConnection = /*#__PURE__*/function () {
+ /**
+ * Constructs a new MySQLConnection
.
+ * @alias module:model/MySQLConnection
+ * @param connectionName {String}
+ * @param host {String}
+ * @param port {String}
+ * @param username {String}
+ * @param password {String}
+ */
+ function MySQLConnection(connectionName, host, port, username, password) {
+ _classCallCheck(this, MySQLConnection);
+ MySQLConnection.initialize(this, connectionName, host, port, username, password);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(MySQLConnection, null, [{
+ key: "initialize",
+ value: function initialize(obj, connectionName, host, port, username, password) {
+ obj['connection_name'] = connectionName;
+ obj['host'] = host;
+ obj['port'] = port;
+ obj['username'] = username;
+ obj['password'] = password;
+ }
+
+ /**
+ * Constructs a MySQLConnection
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/MySQLConnection} obj Optional instance to populate.
+ * @return {module:model/MySQLConnection} The populated MySQLConnection
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new MySQLConnection();
+ if (data.hasOwnProperty('connection_name')) {
+ obj['connection_name'] = _ApiClient["default"].convertToType(data['connection_name'], 'String');
+ }
+ if (data.hasOwnProperty('input_type')) {
+ obj['input_type'] = _ApiClient["default"].convertToType(data['input_type'], 'String');
+ }
+ if (data.hasOwnProperty('host')) {
+ obj['host'] = _ApiClient["default"].convertToType(data['host'], 'String');
+ }
+ if (data.hasOwnProperty('port')) {
+ obj['port'] = _ApiClient["default"].convertToType(data['port'], 'String');
+ }
+ if (data.hasOwnProperty('username')) {
+ obj['username'] = _ApiClient["default"].convertToType(data['username'], 'String');
+ }
+ if (data.hasOwnProperty('password')) {
+ obj['password'] = _ApiClient["default"].convertToType(data['password'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to MySQLConnection
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to MySQLConnection
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ var _iterator = _createForOfIteratorHelper(MySQLConnection.RequiredProperties),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var property = _step.value;
+ if (!data[property]) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ if (data['connection_name'] && !(typeof data['connection_name'] === 'string' || data['connection_name'] instanceof String)) {
+ throw new Error("Expected the field `connection_name` to be a primitive type in the JSON string but got " + data['connection_name']);
+ }
+ // ensure the json data is a string
+ if (data['input_type'] && !(typeof data['input_type'] === 'string' || data['input_type'] instanceof String)) {
+ throw new Error("Expected the field `input_type` to be a primitive type in the JSON string but got " + data['input_type']);
+ }
+ // ensure the json data is a string
+ if (data['host'] && !(typeof data['host'] === 'string' || data['host'] instanceof String)) {
+ throw new Error("Expected the field `host` to be a primitive type in the JSON string but got " + data['host']);
+ }
+ // ensure the json data is a string
+ if (data['port'] && !(typeof data['port'] === 'string' || data['port'] instanceof String)) {
+ throw new Error("Expected the field `port` to be a primitive type in the JSON string but got " + data['port']);
+ }
+ // ensure the json data is a string
+ if (data['username'] && !(typeof data['username'] === 'string' || data['username'] instanceof String)) {
+ throw new Error("Expected the field `username` to be a primitive type in the JSON string but got " + data['username']);
+ }
+ // ensure the json data is a string
+ if (data['password'] && !(typeof data['password'] === 'string' || data['password'] instanceof String)) {
+ throw new Error("Expected the field `password` to be a primitive type in the JSON string but got " + data['password']);
+ }
+ return true;
+ }
+ }]);
+ return MySQLConnection;
+}();
+MySQLConnection.RequiredProperties = ["connection_name", "host", "port", "username", "password"];
+
+/**
+ * @member {String} connection_name
+ */
+MySQLConnection.prototype['connection_name'] = undefined;
+
+/**
+ * @member {module:model/MySQLConnection.InputTypeEnum} input_type
+ */
+MySQLConnection.prototype['input_type'] = undefined;
+
+/**
+ * @member {String} host
+ */
+MySQLConnection.prototype['host'] = undefined;
+
+/**
+ * @member {String} port
+ */
+MySQLConnection.prototype['port'] = undefined;
+
+/**
+ * @member {String} username
+ */
+MySQLConnection.prototype['username'] = undefined;
+
+/**
+ * @member {String} password
+ */
+MySQLConnection.prototype['password'] = undefined;
+
+/**
+ * Allowed values for the input_type
property.
+ * @enum {String}
+ * @readonly
+ */
+MySQLConnection['InputTypeEnum'] = {
+ /**
+ * value: "mysql"
+ * @const
+ */
+ "mysql": "mysql"
+};
+var _default = MySQLConnection;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 5001:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _BucketNamespace = _interopRequireDefault(__nccwpck_require__(2252));
+var _DatasetNamespace = _interopRequireDefault(__nccwpck_require__(2567));
+var _DirectoryNamespace = _interopRequireDefault(__nccwpck_require__(1094));
+var _SchemaNamespace = _interopRequireDefault(__nccwpck_require__(940));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The Namespace model module.
+ * @module model/Namespace
+ * @version latest
+ */
+var Namespace = /*#__PURE__*/function () {
+ /**
+ * Constructs a new Namespace
.
+ * @alias module:model/Namespace
+ * @param {(module:model/BucketNamespace|module:model/DatasetNamespace|module:model/DirectoryNamespace|module:model/SchemaNamespace)} instance The actual instance to initialize Namespace.
+ */
+ function Namespace() {
+ var instance = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
+ _classCallCheck(this, Namespace);
+ _defineProperty(this, "toJSON", function () {
+ return this.getActualInstance();
+ });
+ if (instance === null) {
+ this.actualInstance = null;
+ return;
+ }
+ var match = 0;
+ var errorMessages = [];
+ try {
+ if (typeof instance === "SchemaNamespace") {
+ this.actualInstance = instance;
+ } else {
+ // plain JS object
+ // validate the object
+ _SchemaNamespace["default"].validateJSON(instance); // throw an exception if no match
+ // create SchemaNamespace from JS object
+ this.actualInstance = _SchemaNamespace["default"].constructFromObject(instance);
+ }
+ match++;
+ } catch (err) {
+ // json data failed to deserialize into SchemaNamespace
+ errorMessages.push("Failed to construct SchemaNamespace: " + err);
+ }
+ try {
+ if (typeof instance === "DatasetNamespace") {
+ this.actualInstance = instance;
+ } else {
+ // plain JS object
+ // validate the object
+ _DatasetNamespace["default"].validateJSON(instance); // throw an exception if no match
+ // create DatasetNamespace from JS object
+ this.actualInstance = _DatasetNamespace["default"].constructFromObject(instance);
+ }
+ match++;
+ } catch (err) {
+ // json data failed to deserialize into DatasetNamespace
+ errorMessages.push("Failed to construct DatasetNamespace: " + err);
+ }
+ try {
+ if (typeof instance === "BucketNamespace") {
+ this.actualInstance = instance;
+ } else {
+ // plain JS object
+ // validate the object
+ _BucketNamespace["default"].validateJSON(instance); // throw an exception if no match
+ // create BucketNamespace from JS object
+ this.actualInstance = _BucketNamespace["default"].constructFromObject(instance);
+ }
+ match++;
+ } catch (err) {
+ // json data failed to deserialize into BucketNamespace
+ errorMessages.push("Failed to construct BucketNamespace: " + err);
+ }
+ try {
+ if (typeof instance === "DirectoryNamespace") {
+ this.actualInstance = instance;
+ } else {
+ // plain JS object
+ // validate the object
+ _DirectoryNamespace["default"].validateJSON(instance); // throw an exception if no match
+ // create DirectoryNamespace from JS object
+ this.actualInstance = _DirectoryNamespace["default"].constructFromObject(instance);
+ }
+ match++;
+ } catch (err) {
+ // json data failed to deserialize into DirectoryNamespace
+ errorMessages.push("Failed to construct DirectoryNamespace: " + err);
+ }
+ if (match > 1) {
+ throw new Error("Multiple matches found constructing `Namespace` with oneOf schemas BucketNamespace, DatasetNamespace, DirectoryNamespace, SchemaNamespace. Input: " + JSON.stringify(instance));
+ } else if (match === 0) {
+ this.actualInstance = null; // clear the actual instance in case there are multiple matches
+ throw new Error("No match found constructing `Namespace` with oneOf schemas BucketNamespace, DatasetNamespace, DirectoryNamespace, SchemaNamespace. Details: " + errorMessages.join(", "));
+ } else {// only 1 match
+ // the input is valid
+ }
+ }
+
+ /**
+ * Constructs a Namespace
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Namespace} obj Optional instance to populate.
+ * @return {module:model/Namespace} The populated Namespace
instance.
+ */
+ _createClass(Namespace, [{
+ key: "getActualInstance",
+ value:
+ /**
+ * Gets the actaul instance, which can be BucketNamespace
, DatasetNamespace
, DirectoryNamespace
, SchemaNamespace
.
+ * @return {(module:model/BucketNamespace|module:model/DatasetNamespace|module:model/DirectoryNamespace|module:model/SchemaNamespace)} The actual instance.
+ */
+ function getActualInstance() {
+ return this.actualInstance;
+ }
+
+ /**
+ * Sets the actaul instance, which can be BucketNamespace
, DatasetNamespace
, DirectoryNamespace
, SchemaNamespace
.
+ * @param {(module:model/BucketNamespace|module:model/DatasetNamespace|module:model/DirectoryNamespace|module:model/SchemaNamespace)} obj The actual instance.
+ */
+ }, {
+ key: "setActualInstance",
+ value: function setActualInstance(obj) {
+ this.actualInstance = Namespace.constructFromObject(obj).getActualInstance();
+ }
+
+ /**
+ * Returns the JSON representation of the actual intance.
+ * @return {string}
+ */
+ }], [{
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ return new Namespace(data);
+ }
+ }]);
+ return Namespace;
+}();
+/**
+ * @member {String} schema
+ */
+_defineProperty(Namespace, "fromJSON", function (json_string) {
+ return Namespace.constructFromObject(JSON.parse(json_string));
+});
+Namespace.prototype['schema'] = undefined;
+
+/**
+ * @member {String} dataset
+ */
+Namespace.prototype['dataset'] = undefined;
+
+/**
+ * @member {String} bucket
+ */
+Namespace.prototype['bucket'] = undefined;
+
+/**
+ * @member {String} prefix
+ */
+Namespace.prototype['prefix'] = undefined;
+
+/**
+ * @member {String} directory
+ */
+Namespace.prototype['directory'] = undefined;
+Namespace.OneOf = ["BucketNamespace", "DatasetNamespace", "DirectoryNamespace", "SchemaNamespace"];
+var _default = Namespace;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 670:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The NamespaceListResponse model module.
+ * @module model/NamespaceListResponse
+ * @version latest
+ */
+var NamespaceListResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new NamespaceListResponse
.
+ * @alias module:model/NamespaceListResponse
+ */
+ function NamespaceListResponse() {
+ _classCallCheck(this, NamespaceListResponse);
+ NamespaceListResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(NamespaceListResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a NamespaceListResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/NamespaceListResponse} obj Optional instance to populate.
+ * @return {module:model/NamespaceListResponse} The populated NamespaceListResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new NamespaceListResponse();
+ if (data.hasOwnProperty('request_id')) {
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
+ }
+ if (data.hasOwnProperty('processing_time')) {
+ obj['processing_time'] = _ApiClient["default"].convertToType(data['processing_time'], 'String');
+ }
+ if (data.hasOwnProperty('request_timestamp')) {
+ obj['request_timestamp'] = _ApiClient["default"].convertToType(data['request_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('requested_by')) {
+ obj['requested_by'] = _ApiClient["default"].convertToType(data['requested_by'], 'String');
+ }
+ if (data.hasOwnProperty('org_id')) {
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'String');
+ }
+ if (data.hasOwnProperty('namespace_type')) {
+ obj['namespace_type'] = _ApiClient["default"].convertToType(data['namespace_type'], 'String');
+ }
+ if (data.hasOwnProperty('namespaces')) {
+ obj['namespaces'] = _ApiClient["default"].convertToType(data['namespaces'], ['String']);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to NamespaceListResponse
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to NamespaceListResponse
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
+ }
+ // ensure the json data is a string
+ if (data['processing_time'] && !(typeof data['processing_time'] === 'string' || data['processing_time'] instanceof String)) {
+ throw new Error("Expected the field `processing_time` to be a primitive type in the JSON string but got " + data['processing_time']);
+ }
+ // ensure the json data is a string
+ if (data['requested_by'] && !(typeof data['requested_by'] === 'string' || data['requested_by'] instanceof String)) {
+ throw new Error("Expected the field `requested_by` to be a primitive type in the JSON string but got " + data['requested_by']);
+ }
+ // ensure the json data is a string
+ if (data['org_id'] && !(typeof data['org_id'] === 'string' || data['org_id'] instanceof String)) {
+ throw new Error("Expected the field `org_id` to be a primitive type in the JSON string but got " + data['org_id']);
+ }
+ // ensure the json data is a string
+ if (data['namespace_type'] && !(typeof data['namespace_type'] === 'string' || data['namespace_type'] instanceof String)) {
+ throw new Error("Expected the field `namespace_type` to be a primitive type in the JSON string but got " + data['namespace_type']);
+ }
+ // ensure the json data is an array
+ if (!Array.isArray(data['namespaces'])) {
+ throw new Error("Expected the field `namespaces` to be an array in the JSON data but got " + data['namespaces']);
+ }
+ return true;
+ }
+ }]);
+ return NamespaceListResponse;
+}();
+/**
+ * @member {String} request_id
+ */
+NamespaceListResponse.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+NamespaceListResponse.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+NamespaceListResponse.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+NamespaceListResponse.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+NamespaceListResponse.prototype['org_id'] = undefined;
+
+/**
+ * @member {module:model/NamespaceListResponse.NamespaceTypeEnum} namespace_type
+ */
+NamespaceListResponse.prototype['namespace_type'] = undefined;
+
+/**
+ * @member {Array.} namespaces
+ */
+NamespaceListResponse.prototype['namespaces'] = undefined;
+
+/**
+ * Allowed values for the namespace_type
property.
+ * @enum {String}
+ * @readonly
+ */
+NamespaceListResponse['NamespaceTypeEnum'] = {
+ /**
+ * value: "schema"
+ * @const
+ */
+ "schema": "schema",
+ /**
+ * value: "dataset"
+ * @const
+ */
+ "dataset": "dataset",
+ /**
+ * value: "bucket"
+ * @const
+ */
+ "bucket": "bucket"
+};
+var _default = NamespaceListResponse;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 9586:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The PostgresConnection model module.
+ * @module model/PostgresConnection
+ * @version latest
+ */
+var PostgresConnection = /*#__PURE__*/function () {
+ /**
+ * Constructs a new PostgresConnection
.
+ * @alias module:model/PostgresConnection
+ * @param connectionName {String}
+ * @param database {String}
+ * @param host {String}
+ * @param port {String}
+ * @param username {String}
+ * @param password {String}
+ */
+ function PostgresConnection(connectionName, database, host, port, username, password) {
+ _classCallCheck(this, PostgresConnection);
+ PostgresConnection.initialize(this, connectionName, database, host, port, username, password);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(PostgresConnection, null, [{
+ key: "initialize",
+ value: function initialize(obj, connectionName, database, host, port, username, password) {
+ obj['connection_name'] = connectionName;
+ obj['database'] = database;
+ obj['host'] = host;
+ obj['port'] = port;
+ obj['username'] = username;
+ obj['password'] = password;
+ }
+
+ /**
+ * Constructs a PostgresConnection
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/PostgresConnection} obj Optional instance to populate.
+ * @return {module:model/PostgresConnection} The populated PostgresConnection
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new PostgresConnection();
+ if (data.hasOwnProperty('connection_name')) {
+ obj['connection_name'] = _ApiClient["default"].convertToType(data['connection_name'], 'String');
+ }
+ if (data.hasOwnProperty('database')) {
+ obj['database'] = _ApiClient["default"].convertToType(data['database'], 'String');
+ }
+ if (data.hasOwnProperty('schema')) {
+ obj['schema'] = _ApiClient["default"].convertToType(data['schema'], 'String');
+ }
+ if (data.hasOwnProperty('host')) {
+ obj['host'] = _ApiClient["default"].convertToType(data['host'], 'String');
+ }
+ if (data.hasOwnProperty('port')) {
+ obj['port'] = _ApiClient["default"].convertToType(data['port'], 'String');
+ }
+ if (data.hasOwnProperty('username')) {
+ obj['username'] = _ApiClient["default"].convertToType(data['username'], 'String');
+ }
+ if (data.hasOwnProperty('password')) {
+ obj['password'] = _ApiClient["default"].convertToType(data['password'], 'String');
+ }
+ if (data.hasOwnProperty('input_type')) {
+ obj['input_type'] = _ApiClient["default"].convertToType(data['input_type'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to PostgresConnection
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to PostgresConnection
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ var _iterator = _createForOfIteratorHelper(PostgresConnection.RequiredProperties),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var property = _step.value;
+ if (!data[property]) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ if (data['connection_name'] && !(typeof data['connection_name'] === 'string' || data['connection_name'] instanceof String)) {
+ throw new Error("Expected the field `connection_name` to be a primitive type in the JSON string but got " + data['connection_name']);
+ }
+ // ensure the json data is a string
+ if (data['database'] && !(typeof data['database'] === 'string' || data['database'] instanceof String)) {
+ throw new Error("Expected the field `database` to be a primitive type in the JSON string but got " + data['database']);
+ }
+ // ensure the json data is a string
+ if (data['schema'] && !(typeof data['schema'] === 'string' || data['schema'] instanceof String)) {
+ throw new Error("Expected the field `schema` to be a primitive type in the JSON string but got " + data['schema']);
+ }
+ // ensure the json data is a string
+ if (data['host'] && !(typeof data['host'] === 'string' || data['host'] instanceof String)) {
+ throw new Error("Expected the field `host` to be a primitive type in the JSON string but got " + data['host']);
+ }
+ // ensure the json data is a string
+ if (data['port'] && !(typeof data['port'] === 'string' || data['port'] instanceof String)) {
+ throw new Error("Expected the field `port` to be a primitive type in the JSON string but got " + data['port']);
+ }
+ // ensure the json data is a string
+ if (data['username'] && !(typeof data['username'] === 'string' || data['username'] instanceof String)) {
+ throw new Error("Expected the field `username` to be a primitive type in the JSON string but got " + data['username']);
+ }
+ // ensure the json data is a string
+ if (data['password'] && !(typeof data['password'] === 'string' || data['password'] instanceof String)) {
+ throw new Error("Expected the field `password` to be a primitive type in the JSON string but got " + data['password']);
+ }
+ // ensure the json data is a string
+ if (data['input_type'] && !(typeof data['input_type'] === 'string' || data['input_type'] instanceof String)) {
+ throw new Error("Expected the field `input_type` to be a primitive type in the JSON string but got " + data['input_type']);
+ }
+ return true;
+ }
+ }]);
+ return PostgresConnection;
+}();
+PostgresConnection.RequiredProperties = ["connection_name", "database", "host", "port", "username", "password"];
+
+/**
+ * @member {String} connection_name
+ */
+PostgresConnection.prototype['connection_name'] = undefined;
+
+/**
+ * @member {String} database
+ */
+PostgresConnection.prototype['database'] = undefined;
+
+/**
+ * @member {String} schema
+ */
+PostgresConnection.prototype['schema'] = undefined;
+
+/**
+ * @member {String} host
+ */
+PostgresConnection.prototype['host'] = undefined;
+
+/**
+ * @member {String} port
+ */
+PostgresConnection.prototype['port'] = undefined;
+
+/**
+ * @member {String} username
+ */
+PostgresConnection.prototype['username'] = undefined;
+
+/**
+ * @member {String} password
+ */
+PostgresConnection.prototype['password'] = undefined;
+
+/**
+ * @member {module:model/PostgresConnection.InputTypeEnum} input_type
+ */
+PostgresConnection.prototype['input_type'] = undefined;
+
+/**
+ * Allowed values for the input_type
property.
+ * @enum {String}
+ * @readonly
+ */
+PostgresConnection['InputTypeEnum'] = {
+ /**
+ * value: "postgres"
+ * @const
+ */
+ "postgres": "postgres"
+};
+var _default = PostgresConnection;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 7418:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The ProductList model module.
+ * @module model/ProductList
+ * @version latest
+ */
+var ProductList = /*#__PURE__*/function () {
+ /**
+ * Constructs a new ProductList
.
+ * @alias module:model/ProductList
+ */
+ function ProductList() {
+ _classCallCheck(this, ProductList);
+ ProductList.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(ProductList, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a ProductList
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ProductList} obj Optional instance to populate.
+ * @return {module:model/ProductList} The populated ProductList
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ProductList();
+ if (data.hasOwnProperty('request_id')) {
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
+ }
+ if (data.hasOwnProperty('processing_time')) {
+ obj['processing_time'] = _ApiClient["default"].convertToType(data['processing_time'], 'String');
+ }
+ if (data.hasOwnProperty('request_timestamp')) {
+ obj['request_timestamp'] = _ApiClient["default"].convertToType(data['request_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('requested_by')) {
+ obj['requested_by'] = _ApiClient["default"].convertToType(data['requested_by'], 'String');
+ }
+ if (data.hasOwnProperty('org_id')) {
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to ProductList
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to ProductList
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
+ }
+ // ensure the json data is a string
+ if (data['processing_time'] && !(typeof data['processing_time'] === 'string' || data['processing_time'] instanceof String)) {
+ throw new Error("Expected the field `processing_time` to be a primitive type in the JSON string but got " + data['processing_time']);
+ }
+ // ensure the json data is a string
+ if (data['requested_by'] && !(typeof data['requested_by'] === 'string' || data['requested_by'] instanceof String)) {
+ throw new Error("Expected the field `requested_by` to be a primitive type in the JSON string but got " + data['requested_by']);
+ }
+ // ensure the json data is a string
+ if (data['org_id'] && !(typeof data['org_id'] === 'string' || data['org_id'] instanceof String)) {
+ throw new Error("Expected the field `org_id` to be a primitive type in the JSON string but got " + data['org_id']);
+ }
+ return true;
+ }
+ }]);
+ return ProductList;
+}();
+/**
+ * @member {String} request_id
+ */
+ProductList.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+ProductList.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+ProductList.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+ProductList.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+ProductList.prototype['org_id'] = undefined;
+var _default = ProductList;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 9368:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _JobDefinitionDetails = _interopRequireDefault(__nccwpck_require__(2620));
+var _Namespace = _interopRequireDefault(__nccwpck_require__(5001));
+var _ProjectConnection = _interopRequireDefault(__nccwpck_require__(1717));
+var _RiskLevel = _interopRequireDefault(__nccwpck_require__(278));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The Project model module.
+ * @module model/Project
+ * @version latest
+ */
+var Project = /*#__PURE__*/function () {
+ /**
+ * Constructs a new Project
.
+ * @alias module:model/Project
+ */
+ function Project() {
+ _classCallCheck(this, Project);
+ Project.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(Project, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a Project
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Project} obj Optional instance to populate.
+ * @return {module:model/Project} The populated Project
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Project();
+ if (data.hasOwnProperty('project_id')) {
+ obj['project_id'] = _ApiClient["default"].convertToType(data['project_id'], 'String');
+ }
+ if (data.hasOwnProperty('project_title')) {
+ obj['project_title'] = _ApiClient["default"].convertToType(data['project_title'], 'String');
+ }
+ if (data.hasOwnProperty('project_owner')) {
+ obj['project_owner'] = _ApiClient["default"].convertToType(data['project_owner'], 'String');
+ }
+ if (data.hasOwnProperty('created')) {
+ obj['created'] = _ApiClient["default"].convertToType(data['created'], 'Number');
+ }
+ if (data.hasOwnProperty('updated')) {
+ obj['updated'] = _ApiClient["default"].convertToType(data['updated'], 'Number');
+ }
+ if (data.hasOwnProperty('origin_connection')) {
+ obj['origin_connection'] = _ProjectConnection["default"].constructFromObject(data['origin_connection']);
+ }
+ if (data.hasOwnProperty('origin_namespace')) {
+ obj['origin_namespace'] = _Namespace["default"].constructFromObject(data['origin_namespace']);
+ }
+ if (data.hasOwnProperty('destination_connection')) {
+ obj['destination_connection'] = _ProjectConnection["default"].constructFromObject(data['destination_connection']);
+ }
+ if (data.hasOwnProperty('destination_namespace')) {
+ obj['destination_namespace'] = _Namespace["default"].constructFromObject(data['destination_namespace']);
+ }
+ if (data.hasOwnProperty('days_expire')) {
+ obj['days_expire'] = _ApiClient["default"].convertToType(data['days_expire'], 'Number');
+ }
+ if (data.hasOwnProperty('auto_create_job_definitions')) {
+ obj['auto_create_job_definitions'] = _ApiClient["default"].convertToType(data['auto_create_job_definitions'], 'Boolean');
+ }
+ if (data.hasOwnProperty('schedule')) {
+ obj['schedule'] = _ApiClient["default"].convertToType(data['schedule'], 'String');
+ }
+ if (data.hasOwnProperty('job_definitions')) {
+ obj['job_definitions'] = _ApiClient["default"].convertToType(data['job_definitions'], [_JobDefinitionDetails["default"]]);
+ }
+ if (data.hasOwnProperty('did_default_treatment_method')) {
+ obj['did_default_treatment_method'] = _ApiClient["default"].convertToType(data['did_default_treatment_method'], 'String');
+ }
+ if (data.hasOwnProperty('risk_levels')) {
+ obj['risk_levels'] = _RiskLevel["default"].constructFromObject(data['risk_levels']);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to Project
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to Project
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['project_id'] && !(typeof data['project_id'] === 'string' || data['project_id'] instanceof String)) {
+ throw new Error("Expected the field `project_id` to be a primitive type in the JSON string but got " + data['project_id']);
+ }
+ // ensure the json data is a string
+ if (data['project_title'] && !(typeof data['project_title'] === 'string' || data['project_title'] instanceof String)) {
+ throw new Error("Expected the field `project_title` to be a primitive type in the JSON string but got " + data['project_title']);
+ }
+ // ensure the json data is a string
+ if (data['project_owner'] && !(typeof data['project_owner'] === 'string' || data['project_owner'] instanceof String)) {
+ throw new Error("Expected the field `project_owner` to be a primitive type in the JSON string but got " + data['project_owner']);
+ }
+ // validate the optional field `origin_connection`
+ if (data['origin_connection']) {
+ // data not null
+ _ProjectConnection["default"].validateJSON(data['origin_connection']);
+ }
+ // validate the optional field `origin_namespace`
+ if (data['origin_namespace']) {
+ // data not null
+ _Namespace["default"].validateJSON(data['origin_namespace']);
+ }
+ // validate the optional field `destination_connection`
+ if (data['destination_connection']) {
+ // data not null
+ _ProjectConnection["default"].validateJSON(data['destination_connection']);
+ }
+ // validate the optional field `destination_namespace`
+ if (data['destination_namespace']) {
+ // data not null
+ _Namespace["default"].validateJSON(data['destination_namespace']);
+ }
+ // ensure the json data is a string
+ if (data['schedule'] && !(typeof data['schedule'] === 'string' || data['schedule'] instanceof String)) {
+ throw new Error("Expected the field `schedule` to be a primitive type in the JSON string but got " + data['schedule']);
+ }
+ if (data['job_definitions']) {
+ // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['job_definitions'])) {
+ throw new Error("Expected the field `job_definitions` to be an array in the JSON data but got " + data['job_definitions']);
+ }
+ // validate the optional field `job_definitions` (array)
+ var _iterator = _createForOfIteratorHelper(data['job_definitions']),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var item = _step.value;
+ _JobDefinitionDetails["default"].validateJsonObject(item);
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ ;
+ }
+ // ensure the json data is a string
+ if (data['did_default_treatment_method'] && !(typeof data['did_default_treatment_method'] === 'string' || data['did_default_treatment_method'] instanceof String)) {
+ throw new Error("Expected the field `did_default_treatment_method` to be a primitive type in the JSON string but got " + data['did_default_treatment_method']);
+ }
+ // validate the optional field `risk_levels`
+ if (data['risk_levels']) {
+ // data not null
+ _RiskLevel["default"].validateJSON(data['risk_levels']);
+ }
+ return true;
+ }
+ }]);
+ return Project;
+}();
+/**
+ * @member {String} project_id
+ */
+Project.prototype['project_id'] = undefined;
+
+/**
+ * @member {String} project_title
+ */
+Project.prototype['project_title'] = undefined;
+
+/**
+ * @member {String} project_owner
+ */
+Project.prototype['project_owner'] = undefined;
+
+/**
+ * @member {Number} created
+ */
+Project.prototype['created'] = undefined;
+
+/**
+ * @member {Number} updated
+ */
+Project.prototype['updated'] = undefined;
+
+/**
+ * @member {module:model/ProjectConnection} origin_connection
+ */
+Project.prototype['origin_connection'] = undefined;
+
+/**
+ * @member {module:model/Namespace} origin_namespace
+ */
+Project.prototype['origin_namespace'] = undefined;
+
+/**
+ * @member {module:model/ProjectConnection} destination_connection
+ */
+Project.prototype['destination_connection'] = undefined;
+
+/**
+ * @member {module:model/Namespace} destination_namespace
+ */
+Project.prototype['destination_namespace'] = undefined;
+
+/**
+ * @member {Number} days_expire
+ */
+Project.prototype['days_expire'] = undefined;
+
+/**
+ * @member {Boolean} auto_create_job_definitions
+ */
+Project.prototype['auto_create_job_definitions'] = undefined;
+
+/**
+ * @member {String} schedule
+ */
+Project.prototype['schedule'] = undefined;
+
+/**
+ * @member {Array.} job_definitions
+ */
+Project.prototype['job_definitions'] = undefined;
+
+/**
+ * @member {String} did_default_treatment_method
+ */
+Project.prototype['did_default_treatment_method'] = undefined;
+
+/**
+ * @member {module:model/RiskLevel} risk_levels
+ */
+Project.prototype['risk_levels'] = undefined;
+var _default = Project;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 1717:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The ProjectConnection model module.
+ * @module model/ProjectConnection
+ * @version latest
+ */
+var ProjectConnection = /*#__PURE__*/function () {
+ /**
+ * Constructs a new ProjectConnection
.
+ * @alias module:model/ProjectConnection
+ */
+ function ProjectConnection() {
+ _classCallCheck(this, ProjectConnection);
+ ProjectConnection.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(ProjectConnection, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a ProjectConnection
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ProjectConnection} obj Optional instance to populate.
+ * @return {module:model/ProjectConnection} The populated ProjectConnection
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ProjectConnection();
+ if (data.hasOwnProperty('connection_id')) {
+ obj['connection_id'] = _ApiClient["default"].convertToType(data['connection_id'], 'String');
+ }
+ if (data.hasOwnProperty('connection_name')) {
+ obj['connection_name'] = _ApiClient["default"].convertToType(data['connection_name'], 'String');
+ }
+ if (data.hasOwnProperty('connection_input_type')) {
+ obj['connection_input_type'] = _ApiClient["default"].convertToType(data['connection_input_type'], 'String');
+ }
+ if (data.hasOwnProperty('database')) {
+ obj['database'] = _ApiClient["default"].convertToType(data['database'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to ProjectConnection
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to ProjectConnection
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['connection_id'] && !(typeof data['connection_id'] === 'string' || data['connection_id'] instanceof String)) {
+ throw new Error("Expected the field `connection_id` to be a primitive type in the JSON string but got " + data['connection_id']);
+ }
+ // ensure the json data is a string
+ if (data['connection_name'] && !(typeof data['connection_name'] === 'string' || data['connection_name'] instanceof String)) {
+ throw new Error("Expected the field `connection_name` to be a primitive type in the JSON string but got " + data['connection_name']);
+ }
+ // ensure the json data is a string
+ if (data['connection_input_type'] && !(typeof data['connection_input_type'] === 'string' || data['connection_input_type'] instanceof String)) {
+ throw new Error("Expected the field `connection_input_type` to be a primitive type in the JSON string but got " + data['connection_input_type']);
+ }
+ // ensure the json data is a string
+ if (data['database'] && !(typeof data['database'] === 'string' || data['database'] instanceof String)) {
+ throw new Error("Expected the field `database` to be a primitive type in the JSON string but got " + data['database']);
+ }
+ return true;
+ }
+ }]);
+ return ProjectConnection;
+}();
+/**
+ * @member {String} connection_id
+ */
+ProjectConnection.prototype['connection_id'] = undefined;
+
+/**
+ * @member {String} connection_name
+ */
+ProjectConnection.prototype['connection_name'] = undefined;
+
+/**
+ * @member {String} connection_input_type
+ */
+ProjectConnection.prototype['connection_input_type'] = undefined;
+
+/**
+ * @member {String} database
+ */
+ProjectConnection.prototype['database'] = undefined;
+var _default = ProjectConnection;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 6950:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _Namespace = _interopRequireDefault(__nccwpck_require__(5001));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The ProjectCreate model module.
+ * @module model/ProjectCreate
+ * @version latest
+ */
+var ProjectCreate = /*#__PURE__*/function () {
+ /**
+ * Constructs a new ProjectCreate
.
+ * @alias module:model/ProjectCreate
+ * @param title {String}
+ * @param originConnectionId {String}
+ * @param destinationConnectionId {String}
+ * @param originConnectionNamespace {module:model/Namespace}
+ * @param destinationConnectionNamespace {module:model/Namespace}
+ * @param autoCreateJobDefinitions {Boolean}
+ * @param didDefaultTreatmentMethod {module:model/ProjectCreate.DidDefaultTreatmentMethodEnum}
+ * @param qidAnonymize {Boolean}
+ */
+ function ProjectCreate(title, originConnectionId, destinationConnectionId, originConnectionNamespace, destinationConnectionNamespace, autoCreateJobDefinitions, didDefaultTreatmentMethod, qidAnonymize) {
+ _classCallCheck(this, ProjectCreate);
+ ProjectCreate.initialize(this, title, originConnectionId, destinationConnectionId, originConnectionNamespace, destinationConnectionNamespace, autoCreateJobDefinitions, didDefaultTreatmentMethod, qidAnonymize);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(ProjectCreate, null, [{
+ key: "initialize",
+ value: function initialize(obj, title, originConnectionId, destinationConnectionId, originConnectionNamespace, destinationConnectionNamespace, autoCreateJobDefinitions, didDefaultTreatmentMethod, qidAnonymize) {
+ obj['title'] = title;
+ obj['origin_connection_id'] = originConnectionId;
+ obj['destination_connection_id'] = destinationConnectionId;
+ obj['origin_connection_namespace'] = originConnectionNamespace;
+ obj['destination_connection_namespace'] = destinationConnectionNamespace;
+ obj['auto_create_job_definitions'] = autoCreateJobDefinitions;
+ obj['did_default_treatment_method'] = didDefaultTreatmentMethod;
+ obj['qid_anonymize'] = qidAnonymize;
+ }
+
+ /**
+ * Constructs a ProjectCreate
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ProjectCreate} obj Optional instance to populate.
+ * @return {module:model/ProjectCreate} The populated ProjectCreate
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ProjectCreate();
+ if (data.hasOwnProperty('project_id')) {
+ obj['project_id'] = _ApiClient["default"].convertToType(data['project_id'], 'String');
+ }
+ if (data.hasOwnProperty('title')) {
+ obj['title'] = _ApiClient["default"].convertToType(data['title'], 'String');
+ }
+ if (data.hasOwnProperty('origin_connection_id')) {
+ obj['origin_connection_id'] = _ApiClient["default"].convertToType(data['origin_connection_id'], 'String');
+ }
+ if (data.hasOwnProperty('destination_connection_id')) {
+ obj['destination_connection_id'] = _ApiClient["default"].convertToType(data['destination_connection_id'], 'String');
+ }
+ if (data.hasOwnProperty('origin_connection_namespace')) {
+ obj['origin_connection_namespace'] = _Namespace["default"].constructFromObject(data['origin_connection_namespace']);
+ }
+ if (data.hasOwnProperty('destination_connection_namespace')) {
+ obj['destination_connection_namespace'] = _Namespace["default"].constructFromObject(data['destination_connection_namespace']);
+ }
+ if (data.hasOwnProperty('days_expire')) {
+ obj['days_expire'] = _ApiClient["default"].convertToType(data['days_expire'], 'Number');
+ }
+ if (data.hasOwnProperty('created')) {
+ obj['created'] = _ApiClient["default"].convertToType(data['created'], 'Number');
+ }
+ if (data.hasOwnProperty('updated')) {
+ obj['updated'] = _ApiClient["default"].convertToType(data['updated'], 'Number');
+ }
+ if (data.hasOwnProperty('auto_create_job_definitions')) {
+ obj['auto_create_job_definitions'] = _ApiClient["default"].convertToType(data['auto_create_job_definitions'], 'Boolean');
+ }
+ if (data.hasOwnProperty('did_default_treatment_method')) {
+ obj['did_default_treatment_method'] = _ApiClient["default"].convertToType(data['did_default_treatment_method'], 'String');
+ }
+ if (data.hasOwnProperty('qid_anonymize')) {
+ obj['qid_anonymize'] = _ApiClient["default"].convertToType(data['qid_anonymize'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to ProjectCreate
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to ProjectCreate
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ var _iterator = _createForOfIteratorHelper(ProjectCreate.RequiredProperties),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var property = _step.value;
+ if (!data[property]) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ if (data['project_id'] && !(typeof data['project_id'] === 'string' || data['project_id'] instanceof String)) {
+ throw new Error("Expected the field `project_id` to be a primitive type in the JSON string but got " + data['project_id']);
+ }
+ // ensure the json data is a string
+ if (data['title'] && !(typeof data['title'] === 'string' || data['title'] instanceof String)) {
+ throw new Error("Expected the field `title` to be a primitive type in the JSON string but got " + data['title']);
+ }
+ // ensure the json data is a string
+ if (data['origin_connection_id'] && !(typeof data['origin_connection_id'] === 'string' || data['origin_connection_id'] instanceof String)) {
+ throw new Error("Expected the field `origin_connection_id` to be a primitive type in the JSON string but got " + data['origin_connection_id']);
+ }
+ // ensure the json data is a string
+ if (data['destination_connection_id'] && !(typeof data['destination_connection_id'] === 'string' || data['destination_connection_id'] instanceof String)) {
+ throw new Error("Expected the field `destination_connection_id` to be a primitive type in the JSON string but got " + data['destination_connection_id']);
+ }
+ // validate the optional field `origin_connection_namespace`
+ if (data['origin_connection_namespace']) {
+ // data not null
+ _Namespace["default"].validateJSON(data['origin_connection_namespace']);
+ }
+ // validate the optional field `destination_connection_namespace`
+ if (data['destination_connection_namespace']) {
+ // data not null
+ _Namespace["default"].validateJSON(data['destination_connection_namespace']);
+ }
+ // ensure the json data is a string
+ if (data['did_default_treatment_method'] && !(typeof data['did_default_treatment_method'] === 'string' || data['did_default_treatment_method'] instanceof String)) {
+ throw new Error("Expected the field `did_default_treatment_method` to be a primitive type in the JSON string but got " + data['did_default_treatment_method']);
+ }
+ return true;
+ }
+ }]);
+ return ProjectCreate;
+}();
+ProjectCreate.RequiredProperties = ["title", "origin_connection_id", "destination_connection_id", "origin_connection_namespace", "destination_connection_namespace", "auto_create_job_definitions", "did_default_treatment_method", "qid_anonymize"];
+
+/**
+ * @member {String} project_id
+ */
+ProjectCreate.prototype['project_id'] = undefined;
+
+/**
+ * @member {String} title
+ */
+ProjectCreate.prototype['title'] = undefined;
+
+/**
+ * @member {String} origin_connection_id
+ */
+ProjectCreate.prototype['origin_connection_id'] = undefined;
+
+/**
+ * @member {String} destination_connection_id
+ */
+ProjectCreate.prototype['destination_connection_id'] = undefined;
+
+/**
+ * @member {module:model/Namespace} origin_connection_namespace
+ */
+ProjectCreate.prototype['origin_connection_namespace'] = undefined;
+
+/**
+ * @member {module:model/Namespace} destination_connection_namespace
+ */
+ProjectCreate.prototype['destination_connection_namespace'] = undefined;
+
+/**
+ * @member {Number} days_expire
+ */
+ProjectCreate.prototype['days_expire'] = undefined;
+
+/**
+ * @member {Number} created
+ */
+ProjectCreate.prototype['created'] = undefined;
+
+/**
+ * @member {Number} updated
+ */
+ProjectCreate.prototype['updated'] = undefined;
+
+/**
+ * @member {Boolean} auto_create_job_definitions
+ */
+ProjectCreate.prototype['auto_create_job_definitions'] = undefined;
+
+/**
+ * @member {module:model/ProjectCreate.DidDefaultTreatmentMethodEnum} did_default_treatment_method
+ */
+ProjectCreate.prototype['did_default_treatment_method'] = undefined;
+
+/**
+ * @member {Boolean} qid_anonymize
+ */
+ProjectCreate.prototype['qid_anonymize'] = undefined;
+
+/**
+ * Allowed values for the did_default_treatment_method
property.
+ * @enum {String}
+ * @readonly
+ */
+ProjectCreate['DidDefaultTreatmentMethodEnum'] = {
+ /**
+ * value: "hide"
+ * @const
+ */
+ "hide": "hide",
+ /**
+ * value: "mask"
+ * @const
+ */
+ "mask": "mask",
+ /**
+ * value: "fake"
+ * @const
+ */
+ "fake": "fake"
+};
+var _default = ProjectCreate;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 1154:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _ProjectCreate = _interopRequireDefault(__nccwpck_require__(6950));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The ProjectCreateResponse model module.
+ * @module model/ProjectCreateResponse
+ * @version latest
+ */
+var ProjectCreateResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new ProjectCreateResponse
.
+ * @alias module:model/ProjectCreateResponse
+ */
+ function ProjectCreateResponse() {
+ _classCallCheck(this, ProjectCreateResponse);
+ ProjectCreateResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(ProjectCreateResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a ProjectCreateResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ProjectCreateResponse} obj Optional instance to populate.
+ * @return {module:model/ProjectCreateResponse} The populated ProjectCreateResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ProjectCreateResponse();
+ if (data.hasOwnProperty('request_id')) {
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
+ }
+ if (data.hasOwnProperty('processing_time')) {
+ obj['processing_time'] = _ApiClient["default"].convertToType(data['processing_time'], 'String');
+ }
+ if (data.hasOwnProperty('request_timestamp')) {
+ obj['request_timestamp'] = _ApiClient["default"].convertToType(data['request_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('requested_by')) {
+ obj['requested_by'] = _ApiClient["default"].convertToType(data['requested_by'], 'String');
+ }
+ if (data.hasOwnProperty('org_id')) {
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'String');
+ }
+ if (data.hasOwnProperty('project')) {
+ obj['project'] = _ProjectCreate["default"].constructFromObject(data['project']);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to ProjectCreateResponse
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to ProjectCreateResponse
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
+ }
+ // ensure the json data is a string
+ if (data['processing_time'] && !(typeof data['processing_time'] === 'string' || data['processing_time'] instanceof String)) {
+ throw new Error("Expected the field `processing_time` to be a primitive type in the JSON string but got " + data['processing_time']);
+ }
+ // ensure the json data is a string
+ if (data['requested_by'] && !(typeof data['requested_by'] === 'string' || data['requested_by'] instanceof String)) {
+ throw new Error("Expected the field `requested_by` to be a primitive type in the JSON string but got " + data['requested_by']);
+ }
+ // ensure the json data is a string
+ if (data['org_id'] && !(typeof data['org_id'] === 'string' || data['org_id'] instanceof String)) {
+ throw new Error("Expected the field `org_id` to be a primitive type in the JSON string but got " + data['org_id']);
+ }
+ // validate the optional field `project`
+ if (data['project']) {
+ // data not null
+ _ProjectCreate["default"].validateJSON(data['project']);
+ }
+ return true;
+ }
+ }]);
+ return ProjectCreateResponse;
+}();
+/**
+ * @member {String} request_id
+ */
+ProjectCreateResponse.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+ProjectCreateResponse.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+ProjectCreateResponse.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+ProjectCreateResponse.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+ProjectCreateResponse.prototype['org_id'] = undefined;
+
+/**
+ * @member {module:model/ProjectCreate} project
+ */
+ProjectCreateResponse.prototype['project'] = undefined;
+var _default = ProjectCreateResponse;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 2176:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _Project = _interopRequireDefault(__nccwpck_require__(9368));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The ProjectListResponse model module.
+ * @module model/ProjectListResponse
+ * @version latest
+ */
+var ProjectListResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new ProjectListResponse
.
+ * @alias module:model/ProjectListResponse
+ */
+ function ProjectListResponse() {
+ _classCallCheck(this, ProjectListResponse);
+ ProjectListResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(ProjectListResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a ProjectListResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ProjectListResponse} obj Optional instance to populate.
+ * @return {module:model/ProjectListResponse} The populated ProjectListResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ProjectListResponse();
+ if (data.hasOwnProperty('request_id')) {
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
+ }
+ if (data.hasOwnProperty('processing_time')) {
+ obj['processing_time'] = _ApiClient["default"].convertToType(data['processing_time'], 'String');
+ }
+ if (data.hasOwnProperty('request_timestamp')) {
+ obj['request_timestamp'] = _ApiClient["default"].convertToType(data['request_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('requested_by')) {
+ obj['requested_by'] = _ApiClient["default"].convertToType(data['requested_by'], 'String');
+ }
+ if (data.hasOwnProperty('org_id')) {
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'String');
+ }
+ if (data.hasOwnProperty('projects')) {
+ obj['projects'] = _ApiClient["default"].convertToType(data['projects'], [_Project["default"]]);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to ProjectListResponse
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to ProjectListResponse
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
+ }
+ // ensure the json data is a string
+ if (data['processing_time'] && !(typeof data['processing_time'] === 'string' || data['processing_time'] instanceof String)) {
+ throw new Error("Expected the field `processing_time` to be a primitive type in the JSON string but got " + data['processing_time']);
+ }
+ // ensure the json data is a string
+ if (data['requested_by'] && !(typeof data['requested_by'] === 'string' || data['requested_by'] instanceof String)) {
+ throw new Error("Expected the field `requested_by` to be a primitive type in the JSON string but got " + data['requested_by']);
+ }
+ // ensure the json data is a string
+ if (data['org_id'] && !(typeof data['org_id'] === 'string' || data['org_id'] instanceof String)) {
+ throw new Error("Expected the field `org_id` to be a primitive type in the JSON string but got " + data['org_id']);
+ }
+ if (data['projects']) {
+ // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['projects'])) {
+ throw new Error("Expected the field `projects` to be an array in the JSON data but got " + data['projects']);
+ }
+ // validate the optional field `projects` (array)
+ var _iterator = _createForOfIteratorHelper(data['projects']),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var item = _step.value;
+ _Project["default"].validateJsonObject(item);
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ ;
+ }
+ return true;
+ }
+ }]);
+ return ProjectListResponse;
+}();
+/**
+ * @member {String} request_id
+ */
+ProjectListResponse.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+ProjectListResponse.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+ProjectListResponse.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+ProjectListResponse.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+ProjectListResponse.prototype['org_id'] = undefined;
+
+/**
+ * @member {Array.} projects
+ */
+ProjectListResponse.prototype['projects'] = undefined;
+var _default = ProjectListResponse;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 4067:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _Project = _interopRequireDefault(__nccwpck_require__(9368));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The ProjectResponse model module.
+ * @module model/ProjectResponse
+ * @version latest
+ */
+var ProjectResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new ProjectResponse
.
+ * @alias module:model/ProjectResponse
+ */
+ function ProjectResponse() {
+ _classCallCheck(this, ProjectResponse);
+ ProjectResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(ProjectResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a ProjectResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ProjectResponse} obj Optional instance to populate.
+ * @return {module:model/ProjectResponse} The populated ProjectResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ProjectResponse();
+ if (data.hasOwnProperty('request_id')) {
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
+ }
+ if (data.hasOwnProperty('processing_time')) {
+ obj['processing_time'] = _ApiClient["default"].convertToType(data['processing_time'], 'String');
+ }
+ if (data.hasOwnProperty('request_timestamp')) {
+ obj['request_timestamp'] = _ApiClient["default"].convertToType(data['request_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('requested_by')) {
+ obj['requested_by'] = _ApiClient["default"].convertToType(data['requested_by'], 'String');
+ }
+ if (data.hasOwnProperty('org_id')) {
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'String');
+ }
+ if (data.hasOwnProperty('project')) {
+ obj['project'] = _Project["default"].constructFromObject(data['project']);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to ProjectResponse
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to ProjectResponse
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
+ }
+ // ensure the json data is a string
+ if (data['processing_time'] && !(typeof data['processing_time'] === 'string' || data['processing_time'] instanceof String)) {
+ throw new Error("Expected the field `processing_time` to be a primitive type in the JSON string but got " + data['processing_time']);
+ }
+ // ensure the json data is a string
+ if (data['requested_by'] && !(typeof data['requested_by'] === 'string' || data['requested_by'] instanceof String)) {
+ throw new Error("Expected the field `requested_by` to be a primitive type in the JSON string but got " + data['requested_by']);
+ }
+ // ensure the json data is a string
+ if (data['org_id'] && !(typeof data['org_id'] === 'string' || data['org_id'] instanceof String)) {
+ throw new Error("Expected the field `org_id` to be a primitive type in the JSON string but got " + data['org_id']);
+ }
+ // validate the optional field `project`
+ if (data['project']) {
+ // data not null
+ _Project["default"].validateJSON(data['project']);
+ }
+ return true;
+ }
+ }]);
+ return ProjectResponse;
+}();
+/**
+ * @member {String} request_id
+ */
+ProjectResponse.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+ProjectResponse.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+ProjectResponse.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+ProjectResponse.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+ProjectResponse.prototype['org_id'] = undefined;
+
+/**
+ * @member {module:model/Project} project
+ */
+ProjectResponse.prototype['project'] = undefined;
+var _default = ProjectResponse;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 1928:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The ProjectUpdate model module.
+ * @module model/ProjectUpdate
+ * @version latest
+ */
+var ProjectUpdate = /*#__PURE__*/function () {
+ /**
+ * Constructs a new ProjectUpdate
.
+ * @alias module:model/ProjectUpdate
+ * @param title {String}
+ * @param autoCreateJobDefinitions {Boolean}
+ * @param schedule {String}
+ * @param didDefaultTreatmentMethod {module:model/ProjectUpdate.DidDefaultTreatmentMethodEnum}
+ * @param qidAnonymize {Boolean}
+ */
+ function ProjectUpdate(title, autoCreateJobDefinitions, schedule, didDefaultTreatmentMethod, qidAnonymize) {
+ _classCallCheck(this, ProjectUpdate);
+ ProjectUpdate.initialize(this, title, autoCreateJobDefinitions, schedule, didDefaultTreatmentMethod, qidAnonymize);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(ProjectUpdate, null, [{
+ key: "initialize",
+ value: function initialize(obj, title, autoCreateJobDefinitions, schedule, didDefaultTreatmentMethod, qidAnonymize) {
+ obj['title'] = title;
+ obj['auto_create_job_definitions'] = autoCreateJobDefinitions;
+ obj['schedule'] = schedule;
+ obj['did_default_treatment_method'] = didDefaultTreatmentMethod;
+ obj['qid_anonymize'] = qidAnonymize;
+ }
+
+ /**
+ * Constructs a ProjectUpdate
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/ProjectUpdate} obj Optional instance to populate.
+ * @return {module:model/ProjectUpdate} The populated ProjectUpdate
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new ProjectUpdate();
+ if (data.hasOwnProperty('title')) {
+ obj['title'] = _ApiClient["default"].convertToType(data['title'], 'String');
+ }
+ if (data.hasOwnProperty('days_expire')) {
+ obj['days_expire'] = _ApiClient["default"].convertToType(data['days_expire'], 'Number');
+ }
+ if (data.hasOwnProperty('auto_create_job_definitions')) {
+ obj['auto_create_job_definitions'] = _ApiClient["default"].convertToType(data['auto_create_job_definitions'], 'Boolean');
+ }
+ if (data.hasOwnProperty('schedule')) {
+ obj['schedule'] = _ApiClient["default"].convertToType(data['schedule'], 'String');
+ }
+ if (data.hasOwnProperty('did_default_treatment_method')) {
+ obj['did_default_treatment_method'] = _ApiClient["default"].convertToType(data['did_default_treatment_method'], 'String');
+ }
+ if (data.hasOwnProperty('qid_anonymize')) {
+ obj['qid_anonymize'] = _ApiClient["default"].convertToType(data['qid_anonymize'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to ProjectUpdate
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to ProjectUpdate
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ var _iterator = _createForOfIteratorHelper(ProjectUpdate.RequiredProperties),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var property = _step.value;
+ if (!data[property]) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ if (data['title'] && !(typeof data['title'] === 'string' || data['title'] instanceof String)) {
+ throw new Error("Expected the field `title` to be a primitive type in the JSON string but got " + data['title']);
+ }
+ // ensure the json data is a string
+ if (data['schedule'] && !(typeof data['schedule'] === 'string' || data['schedule'] instanceof String)) {
+ throw new Error("Expected the field `schedule` to be a primitive type in the JSON string but got " + data['schedule']);
+ }
+ // ensure the json data is a string
+ if (data['did_default_treatment_method'] && !(typeof data['did_default_treatment_method'] === 'string' || data['did_default_treatment_method'] instanceof String)) {
+ throw new Error("Expected the field `did_default_treatment_method` to be a primitive type in the JSON string but got " + data['did_default_treatment_method']);
+ }
+ return true;
+ }
+ }]);
+ return ProjectUpdate;
+}();
+ProjectUpdate.RequiredProperties = ["title", "auto_create_job_definitions", "schedule", "did_default_treatment_method", "qid_anonymize"];
+
+/**
+ * @member {String} title
+ */
+ProjectUpdate.prototype['title'] = undefined;
+
+/**
+ * @member {Number} days_expire
+ */
+ProjectUpdate.prototype['days_expire'] = undefined;
+
+/**
+ * @member {Boolean} auto_create_job_definitions
+ */
+ProjectUpdate.prototype['auto_create_job_definitions'] = undefined;
+
+/**
+ * @member {String} schedule
+ */
+ProjectUpdate.prototype['schedule'] = undefined;
+
+/**
+ * @member {module:model/ProjectUpdate.DidDefaultTreatmentMethodEnum} did_default_treatment_method
+ */
+ProjectUpdate.prototype['did_default_treatment_method'] = undefined;
+
+/**
+ * @member {Boolean} qid_anonymize
+ */
+ProjectUpdate.prototype['qid_anonymize'] = undefined;
+
+/**
+ * Allowed values for the did_default_treatment_method
property.
+ * @enum {String}
+ * @readonly
+ */
+ProjectUpdate['DidDefaultTreatmentMethodEnum'] = {
+ /**
+ * value: "hide"
+ * @const
+ */
+ "hide": "hide",
+ /**
+ * value: "mask"
+ * @const
+ */
+ "mask": "mask",
+ /**
+ * value: "fake"
+ * @const
+ */
+ "fake": "fake"
+};
+var _default = ProjectUpdate;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 7899:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The QueueJobDefinition model module.
+ * @module model/QueueJobDefinition
+ * @version latest
+ */
+var QueueJobDefinition = /*#__PURE__*/function () {
+ /**
+ * Constructs a new QueueJobDefinition
.
+ * @alias module:model/QueueJobDefinition
+ * @param jobType {module:model/QueueJobDefinition.JobTypeEnum}
+ * @param jobDefinitionId {String}
+ */
+ function QueueJobDefinition(jobType, jobDefinitionId) {
+ _classCallCheck(this, QueueJobDefinition);
+ QueueJobDefinition.initialize(this, jobType, jobDefinitionId);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(QueueJobDefinition, null, [{
+ key: "initialize",
+ value: function initialize(obj, jobType, jobDefinitionId) {
+ obj['job_type'] = jobType;
+ obj['job_definition_id'] = jobDefinitionId;
+ }
+
+ /**
+ * Constructs a QueueJobDefinition
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/QueueJobDefinition} obj Optional instance to populate.
+ * @return {module:model/QueueJobDefinition} The populated QueueJobDefinition
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new QueueJobDefinition();
+ if (data.hasOwnProperty('job_type')) {
+ obj['job_type'] = _ApiClient["default"].convertToType(data['job_type'], 'String');
+ }
+ if (data.hasOwnProperty('job_definition_id')) {
+ obj['job_definition_id'] = _ApiClient["default"].convertToType(data['job_definition_id'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to QueueJobDefinition
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to QueueJobDefinition
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ var _iterator = _createForOfIteratorHelper(QueueJobDefinition.RequiredProperties),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var property = _step.value;
+ if (!data[property]) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ if (data['job_type'] && !(typeof data['job_type'] === 'string' || data['job_type'] instanceof String)) {
+ throw new Error("Expected the field `job_type` to be a primitive type in the JSON string but got " + data['job_type']);
+ }
+ // ensure the json data is a string
+ if (data['job_definition_id'] && !(typeof data['job_definition_id'] === 'string' || data['job_definition_id'] instanceof String)) {
+ throw new Error("Expected the field `job_definition_id` to be a primitive type in the JSON string but got " + data['job_definition_id']);
+ }
+ return true;
+ }
+ }]);
+ return QueueJobDefinition;
+}();
+QueueJobDefinition.RequiredProperties = ["job_type", "job_definition_id"];
+
+/**
+ * @member {module:model/QueueJobDefinition.JobTypeEnum} job_type
+ */
+QueueJobDefinition.prototype['job_type'] = undefined;
+
+/**
+ * @member {String} job_definition_id
+ */
+QueueJobDefinition.prototype['job_definition_id'] = undefined;
+
+/**
+ * Allowed values for the job_type
property.
+ * @enum {String}
+ * @readonly
+ */
+QueueJobDefinition['JobTypeEnum'] = {
+ /**
+ * value: "queue_job_definition"
+ * @const
+ */
+ "queue_job_definition": "queue_job_definition"
+};
+var _default = QueueJobDefinition;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 386:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The QueueProject model module.
+ * @module model/QueueProject
+ * @version latest
+ */
+var QueueProject = /*#__PURE__*/function () {
+ /**
+ * Constructs a new QueueProject
.
+ * @alias module:model/QueueProject
+ * @param jobType {module:model/QueueProject.JobTypeEnum}
+ * @param projectId {String}
+ */
+ function QueueProject(jobType, projectId) {
+ _classCallCheck(this, QueueProject);
+ QueueProject.initialize(this, jobType, projectId);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(QueueProject, null, [{
+ key: "initialize",
+ value: function initialize(obj, jobType, projectId) {
+ obj['job_type'] = jobType;
+ obj['project_id'] = projectId;
+ }
+
+ /**
+ * Constructs a QueueProject
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/QueueProject} obj Optional instance to populate.
+ * @return {module:model/QueueProject} The populated QueueProject
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new QueueProject();
+ if (data.hasOwnProperty('job_type')) {
+ obj['job_type'] = _ApiClient["default"].convertToType(data['job_type'], 'String');
+ }
+ if (data.hasOwnProperty('project_id')) {
+ obj['project_id'] = _ApiClient["default"].convertToType(data['project_id'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to QueueProject
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to QueueProject
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ var _iterator = _createForOfIteratorHelper(QueueProject.RequiredProperties),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var property = _step.value;
+ if (!data[property]) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ if (data['job_type'] && !(typeof data['job_type'] === 'string' || data['job_type'] instanceof String)) {
+ throw new Error("Expected the field `job_type` to be a primitive type in the JSON string but got " + data['job_type']);
+ }
+ // ensure the json data is a string
+ if (data['project_id'] && !(typeof data['project_id'] === 'string' || data['project_id'] instanceof String)) {
+ throw new Error("Expected the field `project_id` to be a primitive type in the JSON string but got " + data['project_id']);
+ }
+ return true;
+ }
+ }]);
+ return QueueProject;
+}();
+QueueProject.RequiredProperties = ["job_type", "project_id"];
+
+/**
+ * @member {module:model/QueueProject.JobTypeEnum} job_type
+ */
+QueueProject.prototype['job_type'] = undefined;
+
+/**
+ * @member {String} project_id
+ */
+QueueProject.prototype['project_id'] = undefined;
+
+/**
+ * Allowed values for the job_type
property.
+ * @enum {String}
+ * @readonly
+ */
+QueueProject['JobTypeEnum'] = {
+ /**
+ * value: "queue_project"
+ * @const
+ */
+ "queue_project": "queue_project"
+};
+var _default = QueueProject;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 2032:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The RedshiftConnection model module.
+ * @module model/RedshiftConnection
+ * @version latest
+ */
+var RedshiftConnection = /*#__PURE__*/function () {
+ /**
+ * Constructs a new RedshiftConnection
.
+ * @alias module:model/RedshiftConnection
+ * @param connectionName {String}
+ * @param database {String}
+ * @param host {String}
+ * @param port {String}
+ * @param username {String}
+ * @param password {String}
+ */
+ function RedshiftConnection(connectionName, database, host, port, username, password) {
+ _classCallCheck(this, RedshiftConnection);
+ RedshiftConnection.initialize(this, connectionName, database, host, port, username, password);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(RedshiftConnection, null, [{
+ key: "initialize",
+ value: function initialize(obj, connectionName, database, host, port, username, password) {
+ obj['connection_name'] = connectionName;
+ obj['database'] = database;
+ obj['host'] = host;
+ obj['port'] = port;
+ obj['username'] = username;
+ obj['password'] = password;
+ }
+
+ /**
+ * Constructs a RedshiftConnection
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/RedshiftConnection} obj Optional instance to populate.
+ * @return {module:model/RedshiftConnection} The populated RedshiftConnection
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new RedshiftConnection();
+ if (data.hasOwnProperty('connection_name')) {
+ obj['connection_name'] = _ApiClient["default"].convertToType(data['connection_name'], 'String');
+ }
+ if (data.hasOwnProperty('database')) {
+ obj['database'] = _ApiClient["default"].convertToType(data['database'], 'String');
+ }
+ if (data.hasOwnProperty('schema')) {
+ obj['schema'] = _ApiClient["default"].convertToType(data['schema'], 'String');
+ }
+ if (data.hasOwnProperty('host')) {
+ obj['host'] = _ApiClient["default"].convertToType(data['host'], 'String');
+ }
+ if (data.hasOwnProperty('port')) {
+ obj['port'] = _ApiClient["default"].convertToType(data['port'], 'String');
+ }
+ if (data.hasOwnProperty('username')) {
+ obj['username'] = _ApiClient["default"].convertToType(data['username'], 'String');
+ }
+ if (data.hasOwnProperty('password')) {
+ obj['password'] = _ApiClient["default"].convertToType(data['password'], 'String');
+ }
+ if (data.hasOwnProperty('input_type')) {
+ obj['input_type'] = _ApiClient["default"].convertToType(data['input_type'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to RedshiftConnection
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to RedshiftConnection
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ var _iterator = _createForOfIteratorHelper(RedshiftConnection.RequiredProperties),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var property = _step.value;
+ if (!data[property]) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ if (data['connection_name'] && !(typeof data['connection_name'] === 'string' || data['connection_name'] instanceof String)) {
+ throw new Error("Expected the field `connection_name` to be a primitive type in the JSON string but got " + data['connection_name']);
+ }
+ // ensure the json data is a string
+ if (data['database'] && !(typeof data['database'] === 'string' || data['database'] instanceof String)) {
+ throw new Error("Expected the field `database` to be a primitive type in the JSON string but got " + data['database']);
+ }
+ // ensure the json data is a string
+ if (data['schema'] && !(typeof data['schema'] === 'string' || data['schema'] instanceof String)) {
+ throw new Error("Expected the field `schema` to be a primitive type in the JSON string but got " + data['schema']);
+ }
+ // ensure the json data is a string
+ if (data['host'] && !(typeof data['host'] === 'string' || data['host'] instanceof String)) {
+ throw new Error("Expected the field `host` to be a primitive type in the JSON string but got " + data['host']);
+ }
+ // ensure the json data is a string
+ if (data['port'] && !(typeof data['port'] === 'string' || data['port'] instanceof String)) {
+ throw new Error("Expected the field `port` to be a primitive type in the JSON string but got " + data['port']);
+ }
+ // ensure the json data is a string
+ if (data['username'] && !(typeof data['username'] === 'string' || data['username'] instanceof String)) {
+ throw new Error("Expected the field `username` to be a primitive type in the JSON string but got " + data['username']);
+ }
+ // ensure the json data is a string
+ if (data['password'] && !(typeof data['password'] === 'string' || data['password'] instanceof String)) {
+ throw new Error("Expected the field `password` to be a primitive type in the JSON string but got " + data['password']);
+ }
+ // ensure the json data is a string
+ if (data['input_type'] && !(typeof data['input_type'] === 'string' || data['input_type'] instanceof String)) {
+ throw new Error("Expected the field `input_type` to be a primitive type in the JSON string but got " + data['input_type']);
+ }
+ return true;
+ }
+ }]);
+ return RedshiftConnection;
+}();
+RedshiftConnection.RequiredProperties = ["connection_name", "database", "host", "port", "username", "password"];
+
+/**
+ * @member {String} connection_name
+ */
+RedshiftConnection.prototype['connection_name'] = undefined;
+
+/**
+ * @member {String} database
+ */
+RedshiftConnection.prototype['database'] = undefined;
+
+/**
+ * @member {String} schema
+ */
+RedshiftConnection.prototype['schema'] = undefined;
+
+/**
+ * @member {String} host
+ */
+RedshiftConnection.prototype['host'] = undefined;
+
+/**
+ * @member {String} port
+ */
+RedshiftConnection.prototype['port'] = undefined;
+
+/**
+ * @member {String} username
+ */
+RedshiftConnection.prototype['username'] = undefined;
+
+/**
+ * @member {String} password
+ */
+RedshiftConnection.prototype['password'] = undefined;
+
+/**
+ * @member {module:model/RedshiftConnection.InputTypeEnum} input_type
+ */
+RedshiftConnection.prototype['input_type'] = undefined;
+
+/**
+ * Allowed values for the input_type
property.
+ * @enum {String}
+ * @readonly
+ */
+RedshiftConnection['InputTypeEnum'] = {
+ /**
+ * value: "redshift"
+ * @const
+ */
+ "redshift": "redshift"
+};
+var _default = RedshiftConnection;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 278:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The RiskLevel model module.
+ * @module model/RiskLevel
+ * @version latest
+ */
+var RiskLevel = /*#__PURE__*/function () {
+ /**
+ * Constructs a new RiskLevel
.
+ * @alias module:model/RiskLevel
+ */
+ function RiskLevel() {
+ _classCallCheck(this, RiskLevel);
+ RiskLevel.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(RiskLevel, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a RiskLevel
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/RiskLevel} obj Optional instance to populate.
+ * @return {module:model/RiskLevel} The populated RiskLevel
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new RiskLevel();
+ if (data.hasOwnProperty('high_risk')) {
+ obj['high_risk'] = _ApiClient["default"].convertToType(data['high_risk'], 'Number');
+ }
+ if (data.hasOwnProperty('moderate_risk')) {
+ obj['moderate_risk'] = _ApiClient["default"].convertToType(data['moderate_risk'], 'Number');
+ }
+ if (data.hasOwnProperty('low_risk')) {
+ obj['low_risk'] = _ApiClient["default"].convertToType(data['low_risk'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to RiskLevel
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to RiskLevel
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ return true;
+ }
+ }]);
+ return RiskLevel;
+}();
+/**
+ * @member {Number} high_risk
+ */
+RiskLevel.prototype['high_risk'] = undefined;
+
+/**
+ * @member {Number} moderate_risk
+ */
+RiskLevel.prototype['moderate_risk'] = undefined;
+
+/**
+ * @member {Number} low_risk
+ */
+RiskLevel.prototype['low_risk'] = undefined;
+var _default = RiskLevel;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 7026:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The RiskThresholds model module.
+ * @module model/RiskThresholds
+ * @version latest
+ */
+var RiskThresholds = /*#__PURE__*/function () {
+ /**
+ * Constructs a new RiskThresholds
.
+ * @alias module:model/RiskThresholds
+ * @param thresholdMed {Number}
+ * @param thresholdHigh {Number}
+ */
+ function RiskThresholds(thresholdMed, thresholdHigh) {
+ _classCallCheck(this, RiskThresholds);
+ RiskThresholds.initialize(this, thresholdMed, thresholdHigh);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(RiskThresholds, null, [{
+ key: "initialize",
+ value: function initialize(obj, thresholdMed, thresholdHigh) {
+ obj['threshold_med'] = thresholdMed;
+ obj['threshold_high'] = thresholdHigh;
+ }
+
+ /**
+ * Constructs a RiskThresholds
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/RiskThresholds} obj Optional instance to populate.
+ * @return {module:model/RiskThresholds} The populated RiskThresholds
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new RiskThresholds();
+ if (data.hasOwnProperty('threshold_med')) {
+ obj['threshold_med'] = _ApiClient["default"].convertToType(data['threshold_med'], 'Number');
+ }
+ if (data.hasOwnProperty('threshold_high')) {
+ obj['threshold_high'] = _ApiClient["default"].convertToType(data['threshold_high'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to RiskThresholds
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to RiskThresholds
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ var _iterator = _createForOfIteratorHelper(RiskThresholds.RequiredProperties),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var property = _step.value;
+ if (!data[property]) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ return true;
+ }
+ }]);
+ return RiskThresholds;
+}();
+RiskThresholds.RequiredProperties = ["threshold_med", "threshold_high"];
+
+/**
+ * @member {Number} threshold_med
+ */
+RiskThresholds.prototype['threshold_med'] = undefined;
+
+/**
+ * @member {Number} threshold_high
+ */
+RiskThresholds.prototype['threshold_high'] = undefined;
+var _default = RiskThresholds;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 5081:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _RiskThresholds = _interopRequireDefault(__nccwpck_require__(7026));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The RiskThresholdsResponse model module.
+ * @module model/RiskThresholdsResponse
+ * @version latest
+ */
+var RiskThresholdsResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new RiskThresholdsResponse
.
+ * @alias module:model/RiskThresholdsResponse
+ */
+ function RiskThresholdsResponse() {
+ _classCallCheck(this, RiskThresholdsResponse);
+ RiskThresholdsResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(RiskThresholdsResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a RiskThresholdsResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/RiskThresholdsResponse} obj Optional instance to populate.
+ * @return {module:model/RiskThresholdsResponse} The populated RiskThresholdsResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new RiskThresholdsResponse();
+ if (data.hasOwnProperty('request_id')) {
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
+ }
+ if (data.hasOwnProperty('processing_time')) {
+ obj['processing_time'] = _ApiClient["default"].convertToType(data['processing_time'], 'String');
+ }
+ if (data.hasOwnProperty('request_timestamp')) {
+ obj['request_timestamp'] = _ApiClient["default"].convertToType(data['request_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('requested_by')) {
+ obj['requested_by'] = _ApiClient["default"].convertToType(data['requested_by'], 'String');
+ }
+ if (data.hasOwnProperty('org_id')) {
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'String');
+ }
+ if (data.hasOwnProperty('risk_thresholds')) {
+ obj['risk_thresholds'] = _RiskThresholds["default"].constructFromObject(data['risk_thresholds']);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to RiskThresholdsResponse
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to RiskThresholdsResponse
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
+ }
+ // ensure the json data is a string
+ if (data['processing_time'] && !(typeof data['processing_time'] === 'string' || data['processing_time'] instanceof String)) {
+ throw new Error("Expected the field `processing_time` to be a primitive type in the JSON string but got " + data['processing_time']);
+ }
+ // ensure the json data is a string
+ if (data['requested_by'] && !(typeof data['requested_by'] === 'string' || data['requested_by'] instanceof String)) {
+ throw new Error("Expected the field `requested_by` to be a primitive type in the JSON string but got " + data['requested_by']);
+ }
+ // ensure the json data is a string
+ if (data['org_id'] && !(typeof data['org_id'] === 'string' || data['org_id'] instanceof String)) {
+ throw new Error("Expected the field `org_id` to be a primitive type in the JSON string but got " + data['org_id']);
+ }
+ // validate the optional field `risk_thresholds`
+ if (data['risk_thresholds']) {
+ // data not null
+ _RiskThresholds["default"].validateJSON(data['risk_thresholds']);
+ }
+ return true;
+ }
+ }]);
+ return RiskThresholdsResponse;
+}();
+/**
+ * @member {String} request_id
+ */
+RiskThresholdsResponse.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+RiskThresholdsResponse.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+RiskThresholdsResponse.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+RiskThresholdsResponse.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+RiskThresholdsResponse.prototype['org_id'] = undefined;
+
+/**
+ * @member {module:model/RiskThresholds} risk_thresholds
+ */
+RiskThresholdsResponse.prototype['risk_thresholds'] = undefined;
+var _default = RiskThresholdsResponse;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 9475:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The S3Connection model module.
+ * @module model/S3Connection
+ * @version latest
+ */
+var S3Connection = /*#__PURE__*/function () {
+ /**
+ * Constructs a new S3Connection
.
+ * @alias module:model/S3Connection
+ * @param connectionName {String}
+ * @param regionName {String}
+ * @param awsAccessKeyId {String}
+ * @param awsSecretAccessKey {String}
+ */
+ function S3Connection(connectionName, regionName, awsAccessKeyId, awsSecretAccessKey) {
+ _classCallCheck(this, S3Connection);
+ S3Connection.initialize(this, connectionName, regionName, awsAccessKeyId, awsSecretAccessKey);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(S3Connection, null, [{
+ key: "initialize",
+ value: function initialize(obj, connectionName, regionName, awsAccessKeyId, awsSecretAccessKey) {
+ obj['connection_name'] = connectionName;
+ obj['region_name'] = regionName;
+ obj['aws_access_key_id'] = awsAccessKeyId;
+ obj['aws_secret_access_key'] = awsSecretAccessKey;
+ }
+
+ /**
+ * Constructs a S3Connection
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/S3Connection} obj Optional instance to populate.
+ * @return {module:model/S3Connection} The populated S3Connection
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new S3Connection();
+ if (data.hasOwnProperty('connection_name')) {
+ obj['connection_name'] = _ApiClient["default"].convertToType(data['connection_name'], 'String');
+ }
+ if (data.hasOwnProperty('input_type')) {
+ obj['input_type'] = _ApiClient["default"].convertToType(data['input_type'], 'String');
+ }
+ if (data.hasOwnProperty('region_name')) {
+ obj['region_name'] = _ApiClient["default"].convertToType(data['region_name'], 'String');
+ }
+ if (data.hasOwnProperty('aws_access_key_id')) {
+ obj['aws_access_key_id'] = _ApiClient["default"].convertToType(data['aws_access_key_id'], 'String');
+ }
+ if (data.hasOwnProperty('aws_secret_access_key')) {
+ obj['aws_secret_access_key'] = _ApiClient["default"].convertToType(data['aws_secret_access_key'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to S3Connection
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to S3Connection
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ var _iterator = _createForOfIteratorHelper(S3Connection.RequiredProperties),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var property = _step.value;
+ if (!data[property]) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ if (data['connection_name'] && !(typeof data['connection_name'] === 'string' || data['connection_name'] instanceof String)) {
+ throw new Error("Expected the field `connection_name` to be a primitive type in the JSON string but got " + data['connection_name']);
+ }
+ // ensure the json data is a string
+ if (data['input_type'] && !(typeof data['input_type'] === 'string' || data['input_type'] instanceof String)) {
+ throw new Error("Expected the field `input_type` to be a primitive type in the JSON string but got " + data['input_type']);
+ }
+ // ensure the json data is a string
+ if (data['region_name'] && !(typeof data['region_name'] === 'string' || data['region_name'] instanceof String)) {
+ throw new Error("Expected the field `region_name` to be a primitive type in the JSON string but got " + data['region_name']);
+ }
+ // ensure the json data is a string
+ if (data['aws_access_key_id'] && !(typeof data['aws_access_key_id'] === 'string' || data['aws_access_key_id'] instanceof String)) {
+ throw new Error("Expected the field `aws_access_key_id` to be a primitive type in the JSON string but got " + data['aws_access_key_id']);
+ }
+ // ensure the json data is a string
+ if (data['aws_secret_access_key'] && !(typeof data['aws_secret_access_key'] === 'string' || data['aws_secret_access_key'] instanceof String)) {
+ throw new Error("Expected the field `aws_secret_access_key` to be a primitive type in the JSON string but got " + data['aws_secret_access_key']);
+ }
+ return true;
+ }
+ }]);
+ return S3Connection;
+}();
+S3Connection.RequiredProperties = ["connection_name", "region_name", "aws_access_key_id", "aws_secret_access_key"];
+
+/**
+ * @member {String} connection_name
+ */
+S3Connection.prototype['connection_name'] = undefined;
+
+/**
+ * @member {module:model/S3Connection.InputTypeEnum} input_type
+ */
+S3Connection.prototype['input_type'] = undefined;
+
+/**
+ * @member {String} region_name
+ */
+S3Connection.prototype['region_name'] = undefined;
+
+/**
+ * @member {String} aws_access_key_id
+ */
+S3Connection.prototype['aws_access_key_id'] = undefined;
+
+/**
+ * @member {String} aws_secret_access_key
+ */
+S3Connection.prototype['aws_secret_access_key'] = undefined;
+
+/**
+ * Allowed values for the input_type
property.
+ * @enum {String}
+ * @readonly
+ */
+S3Connection['InputTypeEnum'] = {
+ /**
+ * value: "s3"
+ * @const
+ */
+ "s3": "s3"
+};
+var _default = S3Connection;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 5617:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The S3SampleConnectionSchemaBase model module.
+ * @module model/S3SampleConnectionSchemaBase
+ * @version latest
+ */
+var S3SampleConnectionSchemaBase = /*#__PURE__*/function () {
+ /**
+ * Constructs a new S3SampleConnectionSchemaBase
.
+ * @alias module:model/S3SampleConnectionSchemaBase
+ * @param connectionName {String}
+ */
+ function S3SampleConnectionSchemaBase(connectionName) {
+ _classCallCheck(this, S3SampleConnectionSchemaBase);
+ S3SampleConnectionSchemaBase.initialize(this, connectionName);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(S3SampleConnectionSchemaBase, null, [{
+ key: "initialize",
+ value: function initialize(obj, connectionName) {
+ obj['connection_name'] = connectionName;
+ }
+
+ /**
+ * Constructs a S3SampleConnectionSchemaBase
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/S3SampleConnectionSchemaBase} obj Optional instance to populate.
+ * @return {module:model/S3SampleConnectionSchemaBase} The populated S3SampleConnectionSchemaBase
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new S3SampleConnectionSchemaBase();
+ if (data.hasOwnProperty('connection_name')) {
+ obj['connection_name'] = _ApiClient["default"].convertToType(data['connection_name'], 'String');
+ }
+ if (data.hasOwnProperty('input_type')) {
+ obj['input_type'] = _ApiClient["default"].convertToType(data['input_type'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to S3SampleConnectionSchemaBase
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to S3SampleConnectionSchemaBase
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ var _iterator = _createForOfIteratorHelper(S3SampleConnectionSchemaBase.RequiredProperties),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var property = _step.value;
+ if (!data[property]) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ if (data['connection_name'] && !(typeof data['connection_name'] === 'string' || data['connection_name'] instanceof String)) {
+ throw new Error("Expected the field `connection_name` to be a primitive type in the JSON string but got " + data['connection_name']);
+ }
+ // ensure the json data is a string
+ if (data['input_type'] && !(typeof data['input_type'] === 'string' || data['input_type'] instanceof String)) {
+ throw new Error("Expected the field `input_type` to be a primitive type in the JSON string but got " + data['input_type']);
+ }
+ return true;
+ }
+ }]);
+ return S3SampleConnectionSchemaBase;
+}();
+S3SampleConnectionSchemaBase.RequiredProperties = ["connection_name"];
+
+/**
+ * @member {String} connection_name
+ */
+S3SampleConnectionSchemaBase.prototype['connection_name'] = undefined;
+
+/**
+ * @member {module:model/S3SampleConnectionSchemaBase.InputTypeEnum} input_type
+ */
+S3SampleConnectionSchemaBase.prototype['input_type'] = undefined;
+
+/**
+ * Allowed values for the input_type
property.
+ * @enum {String}
+ * @readonly
+ */
+S3SampleConnectionSchemaBase['InputTypeEnum'] = {
+ /**
+ * value: "s3_sample"
+ * @const
+ */
+ "s3_sample": "s3_sample"
+};
+var _default = S3SampleConnectionSchemaBase;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 2039:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The SFTPConnection model module.
+ * @module model/SFTPConnection
+ * @version latest
+ */
+var SFTPConnection = /*#__PURE__*/function () {
+ /**
+ * Constructs a new SFTPConnection
.
+ * @alias module:model/SFTPConnection
+ * @param connectionName {String}
+ * @param host {String}
+ * @param port {Number}
+ * @param username {String}
+ */
+ function SFTPConnection(connectionName, host, port, username) {
+ _classCallCheck(this, SFTPConnection);
+ SFTPConnection.initialize(this, connectionName, host, port, username);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(SFTPConnection, null, [{
+ key: "initialize",
+ value: function initialize(obj, connectionName, host, port, username) {
+ obj['connection_name'] = connectionName;
+ obj['host'] = host;
+ obj['port'] = port;
+ obj['username'] = username;
+ }
+
+ /**
+ * Constructs a SFTPConnection
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/SFTPConnection} obj Optional instance to populate.
+ * @return {module:model/SFTPConnection} The populated SFTPConnection
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new SFTPConnection();
+ if (data.hasOwnProperty('connection_name')) {
+ obj['connection_name'] = _ApiClient["default"].convertToType(data['connection_name'], 'String');
+ }
+ if (data.hasOwnProperty('input_type')) {
+ obj['input_type'] = _ApiClient["default"].convertToType(data['input_type'], 'String');
+ }
+ if (data.hasOwnProperty('host')) {
+ obj['host'] = _ApiClient["default"].convertToType(data['host'], 'String');
+ }
+ if (data.hasOwnProperty('port')) {
+ obj['port'] = _ApiClient["default"].convertToType(data['port'], 'Number');
+ }
+ if (data.hasOwnProperty('username')) {
+ obj['username'] = _ApiClient["default"].convertToType(data['username'], 'String');
+ }
+ if (data.hasOwnProperty('password')) {
+ obj['password'] = _ApiClient["default"].convertToType(data['password'], 'String');
+ }
+ if (data.hasOwnProperty('private_key')) {
+ obj['private_key'] = _ApiClient["default"].convertToType(data['private_key'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to SFTPConnection
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to SFTPConnection
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ var _iterator = _createForOfIteratorHelper(SFTPConnection.RequiredProperties),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var property = _step.value;
+ if (!data[property]) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ if (data['connection_name'] && !(typeof data['connection_name'] === 'string' || data['connection_name'] instanceof String)) {
+ throw new Error("Expected the field `connection_name` to be a primitive type in the JSON string but got " + data['connection_name']);
+ }
+ // ensure the json data is a string
+ if (data['input_type'] && !(typeof data['input_type'] === 'string' || data['input_type'] instanceof String)) {
+ throw new Error("Expected the field `input_type` to be a primitive type in the JSON string but got " + data['input_type']);
+ }
+ // ensure the json data is a string
+ if (data['host'] && !(typeof data['host'] === 'string' || data['host'] instanceof String)) {
+ throw new Error("Expected the field `host` to be a primitive type in the JSON string but got " + data['host']);
+ }
+ // ensure the json data is a string
+ if (data['username'] && !(typeof data['username'] === 'string' || data['username'] instanceof String)) {
+ throw new Error("Expected the field `username` to be a primitive type in the JSON string but got " + data['username']);
+ }
+ // ensure the json data is a string
+ if (data['password'] && !(typeof data['password'] === 'string' || data['password'] instanceof String)) {
+ throw new Error("Expected the field `password` to be a primitive type in the JSON string but got " + data['password']);
+ }
+ // ensure the json data is a string
+ if (data['private_key'] && !(typeof data['private_key'] === 'string' || data['private_key'] instanceof String)) {
+ throw new Error("Expected the field `private_key` to be a primitive type in the JSON string but got " + data['private_key']);
+ }
+ return true;
+ }
+ }]);
+ return SFTPConnection;
+}();
+SFTPConnection.RequiredProperties = ["connection_name", "host", "port", "username"];
+
+/**
+ * @member {String} connection_name
+ */
+SFTPConnection.prototype['connection_name'] = undefined;
+
+/**
+ * @member {module:model/SFTPConnection.InputTypeEnum} input_type
+ */
+SFTPConnection.prototype['input_type'] = undefined;
+
+/**
+ * @member {String} host
+ */
+SFTPConnection.prototype['host'] = undefined;
+
+/**
+ * @member {Number} port
+ */
+SFTPConnection.prototype['port'] = undefined;
+
+/**
+ * @member {String} username
+ */
+SFTPConnection.prototype['username'] = undefined;
+
+/**
+ * @member {String} password
+ */
+SFTPConnection.prototype['password'] = undefined;
+
+/**
+ * @member {String} private_key
+ */
+SFTPConnection.prototype['private_key'] = undefined;
+
+/**
+ * Allowed values for the input_type
property.
+ * @enum {String}
+ * @readonly
+ */
+SFTPConnection['InputTypeEnum'] = {
+ /**
+ * value: "sftp"
+ * @const
+ */
+ "sftp": "sftp"
+};
+var _default = SFTPConnection;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 940:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The SchemaNamespace model module.
+ * @module model/SchemaNamespace
+ * @version latest
+ */
+var SchemaNamespace = /*#__PURE__*/function () {
+ /**
+ * Constructs a new SchemaNamespace
.
+ * @alias module:model/SchemaNamespace
+ * @param schema {String}
+ */
+ function SchemaNamespace(schema) {
+ _classCallCheck(this, SchemaNamespace);
+ SchemaNamespace.initialize(this, schema);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(SchemaNamespace, null, [{
+ key: "initialize",
+ value: function initialize(obj, schema) {
+ obj['schema'] = schema;
+ }
+
+ /**
+ * Constructs a SchemaNamespace
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/SchemaNamespace} obj Optional instance to populate.
+ * @return {module:model/SchemaNamespace} The populated SchemaNamespace
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new SchemaNamespace();
+ if (data.hasOwnProperty('schema')) {
+ obj['schema'] = _ApiClient["default"].convertToType(data['schema'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to SchemaNamespace
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to SchemaNamespace
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ var _iterator = _createForOfIteratorHelper(SchemaNamespace.RequiredProperties),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var property = _step.value;
+ if (!data[property]) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ if (data['schema'] && !(typeof data['schema'] === 'string' || data['schema'] instanceof String)) {
+ throw new Error("Expected the field `schema` to be a primitive type in the JSON string but got " + data['schema']);
+ }
+ return true;
+ }
+ }]);
+ return SchemaNamespace;
+}();
+SchemaNamespace.RequiredProperties = ["schema"];
+
+/**
+ * @member {String} schema
+ */
+SchemaNamespace.prototype['schema'] = undefined;
+var _default = SchemaNamespace;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 6470:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The SnowflakeConnection model module.
+ * @module model/SnowflakeConnection
+ * @version latest
+ */
+var SnowflakeConnection = /*#__PURE__*/function () {
+ /**
+ * Constructs a new SnowflakeConnection
.
+ * @alias module:model/SnowflakeConnection
+ * @param connectionName {String}
+ * @param database {String}
+ * @param account {String}
+ * @param user {String}
+ * @param password {String}
+ */
+ function SnowflakeConnection(connectionName, database, account, user, password) {
+ _classCallCheck(this, SnowflakeConnection);
+ SnowflakeConnection.initialize(this, connectionName, database, account, user, password);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(SnowflakeConnection, null, [{
+ key: "initialize",
+ value: function initialize(obj, connectionName, database, account, user, password) {
+ obj['connection_name'] = connectionName;
+ obj['database'] = database;
+ obj['account'] = account;
+ obj['user'] = user;
+ obj['password'] = password;
+ }
+
+ /**
+ * Constructs a SnowflakeConnection
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/SnowflakeConnection} obj Optional instance to populate.
+ * @return {module:model/SnowflakeConnection} The populated SnowflakeConnection
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new SnowflakeConnection();
+ if (data.hasOwnProperty('connection_name')) {
+ obj['connection_name'] = _ApiClient["default"].convertToType(data['connection_name'], 'String');
+ }
+ if (data.hasOwnProperty('database')) {
+ obj['database'] = _ApiClient["default"].convertToType(data['database'], 'String');
+ }
+ if (data.hasOwnProperty('schema')) {
+ obj['schema'] = _ApiClient["default"].convertToType(data['schema'], 'String');
+ }
+ if (data.hasOwnProperty('input_type')) {
+ obj['input_type'] = _ApiClient["default"].convertToType(data['input_type'], 'String');
+ }
+ if (data.hasOwnProperty('account')) {
+ obj['account'] = _ApiClient["default"].convertToType(data['account'], 'String');
+ }
+ if (data.hasOwnProperty('user')) {
+ obj['user'] = _ApiClient["default"].convertToType(data['user'], 'String');
+ }
+ if (data.hasOwnProperty('password')) {
+ obj['password'] = _ApiClient["default"].convertToType(data['password'], 'String');
+ }
+ if (data.hasOwnProperty('warehouse')) {
+ obj['warehouse'] = _ApiClient["default"].convertToType(data['warehouse'], 'String');
+ }
+ if (data.hasOwnProperty('role')) {
+ obj['role'] = _ApiClient["default"].convertToType(data['role'], 'String');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to SnowflakeConnection
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to SnowflakeConnection
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ var _iterator = _createForOfIteratorHelper(SnowflakeConnection.RequiredProperties),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var property = _step.value;
+ if (!data[property]) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ if (data['connection_name'] && !(typeof data['connection_name'] === 'string' || data['connection_name'] instanceof String)) {
+ throw new Error("Expected the field `connection_name` to be a primitive type in the JSON string but got " + data['connection_name']);
+ }
+ // ensure the json data is a string
+ if (data['database'] && !(typeof data['database'] === 'string' || data['database'] instanceof String)) {
+ throw new Error("Expected the field `database` to be a primitive type in the JSON string but got " + data['database']);
+ }
+ // ensure the json data is a string
+ if (data['schema'] && !(typeof data['schema'] === 'string' || data['schema'] instanceof String)) {
+ throw new Error("Expected the field `schema` to be a primitive type in the JSON string but got " + data['schema']);
+ }
+ // ensure the json data is a string
+ if (data['input_type'] && !(typeof data['input_type'] === 'string' || data['input_type'] instanceof String)) {
+ throw new Error("Expected the field `input_type` to be a primitive type in the JSON string but got " + data['input_type']);
+ }
+ // ensure the json data is a string
+ if (data['account'] && !(typeof data['account'] === 'string' || data['account'] instanceof String)) {
+ throw new Error("Expected the field `account` to be a primitive type in the JSON string but got " + data['account']);
+ }
+ // ensure the json data is a string
+ if (data['user'] && !(typeof data['user'] === 'string' || data['user'] instanceof String)) {
+ throw new Error("Expected the field `user` to be a primitive type in the JSON string but got " + data['user']);
+ }
+ // ensure the json data is a string
+ if (data['password'] && !(typeof data['password'] === 'string' || data['password'] instanceof String)) {
+ throw new Error("Expected the field `password` to be a primitive type in the JSON string but got " + data['password']);
+ }
+ // ensure the json data is a string
+ if (data['warehouse'] && !(typeof data['warehouse'] === 'string' || data['warehouse'] instanceof String)) {
+ throw new Error("Expected the field `warehouse` to be a primitive type in the JSON string but got " + data['warehouse']);
+ }
+ // ensure the json data is a string
+ if (data['role'] && !(typeof data['role'] === 'string' || data['role'] instanceof String)) {
+ throw new Error("Expected the field `role` to be a primitive type in the JSON string but got " + data['role']);
+ }
+ return true;
+ }
+ }]);
+ return SnowflakeConnection;
+}();
+SnowflakeConnection.RequiredProperties = ["connection_name", "database", "account", "user", "password"];
+
+/**
+ * @member {String} connection_name
+ */
+SnowflakeConnection.prototype['connection_name'] = undefined;
+
+/**
+ * @member {String} database
+ */
+SnowflakeConnection.prototype['database'] = undefined;
+
+/**
+ * @member {String} schema
+ */
+SnowflakeConnection.prototype['schema'] = undefined;
+
+/**
+ * @member {module:model/SnowflakeConnection.InputTypeEnum} input_type
+ */
+SnowflakeConnection.prototype['input_type'] = undefined;
+
+/**
+ * @member {String} account
+ */
+SnowflakeConnection.prototype['account'] = undefined;
+
+/**
+ * @member {String} user
+ */
+SnowflakeConnection.prototype['user'] = undefined;
+
+/**
+ * @member {String} password
+ */
+SnowflakeConnection.prototype['password'] = undefined;
+
+/**
+ * @member {String} warehouse
+ */
+SnowflakeConnection.prototype['warehouse'] = undefined;
+
+/**
+ * @member {String} role
+ */
+SnowflakeConnection.prototype['role'] = undefined;
+
+/**
+ * Allowed values for the input_type
property.
+ * @enum {String}
+ * @readonly
+ */
+SnowflakeConnection['InputTypeEnum'] = {
+ /**
+ * value: "snowflake"
+ * @const
+ */
+ "snowflake": "snowflake"
+};
+var _default = SnowflakeConnection;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 163:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _RiskLevel = _interopRequireDefault(__nccwpck_require__(278));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The StatsAggregated model module.
+ * @module model/StatsAggregated
+ * @version latest
+ */
+var StatsAggregated = /*#__PURE__*/function () {
+ /**
+ * Constructs a new StatsAggregated
.
+ * @alias module:model/StatsAggregated
+ */
+ function StatsAggregated() {
+ _classCallCheck(this, StatsAggregated);
+ StatsAggregated.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(StatsAggregated, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a StatsAggregated
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/StatsAggregated} obj Optional instance to populate.
+ * @return {module:model/StatsAggregated} The populated StatsAggregated
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new StatsAggregated();
+ if (data.hasOwnProperty('rows_processed')) {
+ obj['rows_processed'] = _ApiClient["default"].convertToType(data['rows_processed'], 'Number');
+ }
+ if (data.hasOwnProperty('risk_levels')) {
+ obj['risk_levels'] = _RiskLevel["default"].constructFromObject(data['risk_levels']);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to StatsAggregated
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to StatsAggregated
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // validate the optional field `risk_levels`
+ if (data['risk_levels']) {
+ // data not null
+ _RiskLevel["default"].validateJSON(data['risk_levels']);
+ }
+ return true;
+ }
+ }]);
+ return StatsAggregated;
+}();
+/**
+ * @member {Number} rows_processed
+ */
+StatsAggregated.prototype['rows_processed'] = undefined;
+
+/**
+ * @member {module:model/RiskLevel} risk_levels
+ */
+StatsAggregated.prototype['risk_levels'] = undefined;
+var _default = StatsAggregated;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 9577:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _StatsAggregated = _interopRequireDefault(__nccwpck_require__(163));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The StatsAggregatedResponse model module.
+ * @module model/StatsAggregatedResponse
+ * @version latest
+ */
+var StatsAggregatedResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new StatsAggregatedResponse
.
+ * @alias module:model/StatsAggregatedResponse
+ */
+ function StatsAggregatedResponse() {
+ _classCallCheck(this, StatsAggregatedResponse);
+ StatsAggregatedResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(StatsAggregatedResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a StatsAggregatedResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/StatsAggregatedResponse} obj Optional instance to populate.
+ * @return {module:model/StatsAggregatedResponse} The populated StatsAggregatedResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new StatsAggregatedResponse();
+ if (data.hasOwnProperty('request_id')) {
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
+ }
+ if (data.hasOwnProperty('processing_time')) {
+ obj['processing_time'] = _ApiClient["default"].convertToType(data['processing_time'], 'String');
+ }
+ if (data.hasOwnProperty('request_timestamp')) {
+ obj['request_timestamp'] = _ApiClient["default"].convertToType(data['request_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('requested_by')) {
+ obj['requested_by'] = _ApiClient["default"].convertToType(data['requested_by'], 'String');
+ }
+ if (data.hasOwnProperty('org_id')) {
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'String');
+ }
+ if (data.hasOwnProperty('stats_aggregated')) {
+ obj['stats_aggregated'] = _ApiClient["default"].convertToType(data['stats_aggregated'], [_StatsAggregated["default"]]);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to StatsAggregatedResponse
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to StatsAggregatedResponse
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
+ }
+ // ensure the json data is a string
+ if (data['processing_time'] && !(typeof data['processing_time'] === 'string' || data['processing_time'] instanceof String)) {
+ throw new Error("Expected the field `processing_time` to be a primitive type in the JSON string but got " + data['processing_time']);
+ }
+ // ensure the json data is a string
+ if (data['requested_by'] && !(typeof data['requested_by'] === 'string' || data['requested_by'] instanceof String)) {
+ throw new Error("Expected the field `requested_by` to be a primitive type in the JSON string but got " + data['requested_by']);
+ }
+ // ensure the json data is a string
+ if (data['org_id'] && !(typeof data['org_id'] === 'string' || data['org_id'] instanceof String)) {
+ throw new Error("Expected the field `org_id` to be a primitive type in the JSON string but got " + data['org_id']);
+ }
+ if (data['stats_aggregated']) {
+ // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['stats_aggregated'])) {
+ throw new Error("Expected the field `stats_aggregated` to be an array in the JSON data but got " + data['stats_aggregated']);
+ }
+ // validate the optional field `stats_aggregated` (array)
+ var _iterator = _createForOfIteratorHelper(data['stats_aggregated']),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var item = _step.value;
+ _StatsAggregated["default"].validateJsonObject(item);
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ ;
+ }
+ return true;
+ }
+ }]);
+ return StatsAggregatedResponse;
+}();
+/**
+ * @member {String} request_id
+ */
+StatsAggregatedResponse.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+StatsAggregatedResponse.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+StatsAggregatedResponse.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+StatsAggregatedResponse.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+StatsAggregatedResponse.prototype['org_id'] = undefined;
+
+/**
+ * @member {Array.} stats_aggregated
+ */
+StatsAggregatedResponse.prototype['stats_aggregated'] = undefined;
+var _default = StatsAggregatedResponse;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 7296:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The Subscription model module.
+ * @module model/Subscription
+ * @version latest
+ */
+var Subscription = /*#__PURE__*/function () {
+ /**
+ * Constructs a new Subscription
.
+ * @alias module:model/Subscription
+ */
+ function Subscription() {
+ _classCallCheck(this, Subscription);
+ Subscription.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(Subscription, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a Subscription
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Subscription} obj Optional instance to populate.
+ * @return {module:model/Subscription} The populated Subscription
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Subscription();
+ if (data.hasOwnProperty('request_id')) {
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
+ }
+ if (data.hasOwnProperty('processing_time')) {
+ obj['processing_time'] = _ApiClient["default"].convertToType(data['processing_time'], 'String');
+ }
+ if (data.hasOwnProperty('request_timestamp')) {
+ obj['request_timestamp'] = _ApiClient["default"].convertToType(data['request_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('requested_by')) {
+ obj['requested_by'] = _ApiClient["default"].convertToType(data['requested_by'], 'String');
+ }
+ if (data.hasOwnProperty('org_id')) {
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'String');
+ }
+ if (data.hasOwnProperty('trial_days_remaining')) {
+ obj['trial_days_remaining'] = _ApiClient["default"].convertToType(data['trial_days_remaining'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to Subscription
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to Subscription
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
+ }
+ // ensure the json data is a string
+ if (data['processing_time'] && !(typeof data['processing_time'] === 'string' || data['processing_time'] instanceof String)) {
+ throw new Error("Expected the field `processing_time` to be a primitive type in the JSON string but got " + data['processing_time']);
+ }
+ // ensure the json data is a string
+ if (data['requested_by'] && !(typeof data['requested_by'] === 'string' || data['requested_by'] instanceof String)) {
+ throw new Error("Expected the field `requested_by` to be a primitive type in the JSON string but got " + data['requested_by']);
+ }
+ // ensure the json data is a string
+ if (data['org_id'] && !(typeof data['org_id'] === 'string' || data['org_id'] instanceof String)) {
+ throw new Error("Expected the field `org_id` to be a primitive type in the JSON string but got " + data['org_id']);
+ }
+ return true;
+ }
+ }]);
+ return Subscription;
+}();
+/**
+ * @member {String} request_id
+ */
+Subscription.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+Subscription.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+Subscription.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+Subscription.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+Subscription.prototype['org_id'] = undefined;
+
+/**
+ * @member {Number} trial_days_remaining
+ */
+Subscription.prototype['trial_days_remaining'] = undefined;
+var _default = Subscription;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 7139:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _ColumnDefinition = _interopRequireDefault(__nccwpck_require__(2578));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The Table model module.
+ * @module model/Table
+ * @version latest
+ */
+var Table = /*#__PURE__*/function () {
+ /**
+ * Constructs a new Table
.
+ * @alias module:model/Table
+ * @param name {String}
+ * @param type {String}
+ * @param columns {Array.}
+ */
+ function Table(name, type, columns) {
+ _classCallCheck(this, Table);
+ Table.initialize(this, name, type, columns);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(Table, null, [{
+ key: "initialize",
+ value: function initialize(obj, name, type, columns) {
+ obj['name'] = name;
+ obj['type'] = type;
+ obj['columns'] = columns;
+ }
+
+ /**
+ * Constructs a Table
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Table} obj Optional instance to populate.
+ * @return {module:model/Table} The populated Table
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Table();
+ if (data.hasOwnProperty('name')) {
+ obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
+ }
+ if (data.hasOwnProperty('type')) {
+ obj['type'] = _ApiClient["default"].convertToType(data['type'], 'String');
+ }
+ if (data.hasOwnProperty('columns')) {
+ obj['columns'] = _ApiClient["default"].convertToType(data['columns'], [_ColumnDefinition["default"]]);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to Table
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to Table
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ var _iterator = _createForOfIteratorHelper(Table.RequiredProperties),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var property = _step.value;
+ if (!data[property]) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ if (data['name'] && !(typeof data['name'] === 'string' || data['name'] instanceof String)) {
+ throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data['name']);
+ }
+ // ensure the json data is a string
+ if (data['type'] && !(typeof data['type'] === 'string' || data['type'] instanceof String)) {
+ throw new Error("Expected the field `type` to be a primitive type in the JSON string but got " + data['type']);
+ }
+ if (data['columns']) {
+ // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['columns'])) {
+ throw new Error("Expected the field `columns` to be an array in the JSON data but got " + data['columns']);
+ }
+ // validate the optional field `columns` (array)
+ var _iterator2 = _createForOfIteratorHelper(data['columns']),
+ _step2;
+ try {
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
+ var item = _step2.value;
+ _ColumnDefinition["default"].validateJsonObject(item);
+ }
+ } catch (err) {
+ _iterator2.e(err);
+ } finally {
+ _iterator2.f();
+ }
+ ;
+ }
+ return true;
+ }
+ }]);
+ return Table;
+}();
+Table.RequiredProperties = ["name", "type", "columns"];
+
+/**
+ * @member {String} name
+ */
+Table.prototype['name'] = undefined;
+
+/**
+ * @member {String} type
+ */
+Table.prototype['type'] = undefined;
+
+/**
+ * @member {Array.} columns
+ */
+Table.prototype['columns'] = undefined;
+var _default = Table;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 3690:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _Table = _interopRequireDefault(__nccwpck_require__(7139));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The TablesListResponse model module.
+ * @module model/TablesListResponse
+ * @version latest
+ */
+var TablesListResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new TablesListResponse
.
+ * @alias module:model/TablesListResponse
+ */
+ function TablesListResponse() {
+ _classCallCheck(this, TablesListResponse);
+ TablesListResponse.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(TablesListResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a TablesListResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/TablesListResponse} obj Optional instance to populate.
+ * @return {module:model/TablesListResponse} The populated TablesListResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new TablesListResponse();
+ if (data.hasOwnProperty('request_id')) {
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
+ }
+ if (data.hasOwnProperty('processing_time')) {
+ obj['processing_time'] = _ApiClient["default"].convertToType(data['processing_time'], 'String');
+ }
+ if (data.hasOwnProperty('request_timestamp')) {
+ obj['request_timestamp'] = _ApiClient["default"].convertToType(data['request_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('requested_by')) {
+ obj['requested_by'] = _ApiClient["default"].convertToType(data['requested_by'], 'String');
+ }
+ if (data.hasOwnProperty('org_id')) {
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'String');
+ }
+ if (data.hasOwnProperty('tables')) {
+ obj['tables'] = _ApiClient["default"].convertToType(data['tables'], [_Table["default"]]);
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to TablesListResponse
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to TablesListResponse
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
+ }
+ // ensure the json data is a string
+ if (data['processing_time'] && !(typeof data['processing_time'] === 'string' || data['processing_time'] instanceof String)) {
+ throw new Error("Expected the field `processing_time` to be a primitive type in the JSON string but got " + data['processing_time']);
+ }
+ // ensure the json data is a string
+ if (data['requested_by'] && !(typeof data['requested_by'] === 'string' || data['requested_by'] instanceof String)) {
+ throw new Error("Expected the field `requested_by` to be a primitive type in the JSON string but got " + data['requested_by']);
+ }
+ // ensure the json data is a string
+ if (data['org_id'] && !(typeof data['org_id'] === 'string' || data['org_id'] instanceof String)) {
+ throw new Error("Expected the field `org_id` to be a primitive type in the JSON string but got " + data['org_id']);
+ }
+ if (data['tables']) {
+ // data not null
+ // ensure the json data is an array
+ if (!Array.isArray(data['tables'])) {
+ throw new Error("Expected the field `tables` to be an array in the JSON data but got " + data['tables']);
+ }
+ // validate the optional field `tables` (array)
+ var _iterator = _createForOfIteratorHelper(data['tables']),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var item = _step.value;
+ _Table["default"].validateJsonObject(item);
+ }
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ ;
+ }
+ return true;
+ }
+ }]);
+ return TablesListResponse;
+}();
+/**
+ * @member {String} request_id
+ */
+TablesListResponse.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+TablesListResponse.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+TablesListResponse.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+TablesListResponse.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+TablesListResponse.prototype['org_id'] = undefined;
+
+/**
+ * @member {Array.} tables
+ */
+TablesListResponse.prototype['tables'] = undefined;
+var _default = TablesListResponse;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 2296:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The TestConnectionResponse model module.
+ * @module model/TestConnectionResponse
+ * @version latest
+ */
+var TestConnectionResponse = /*#__PURE__*/function () {
+ /**
+ * Constructs a new TestConnectionResponse
.
+ * @alias module:model/TestConnectionResponse
+ * @param canConnect {Boolean}
+ */
+ function TestConnectionResponse(canConnect) {
+ _classCallCheck(this, TestConnectionResponse);
+ TestConnectionResponse.initialize(this, canConnect);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(TestConnectionResponse, null, [{
+ key: "initialize",
+ value: function initialize(obj, canConnect) {
+ obj['can_connect'] = canConnect;
+ }
+
+ /**
+ * Constructs a TestConnectionResponse
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/TestConnectionResponse} obj Optional instance to populate.
+ * @return {module:model/TestConnectionResponse} The populated TestConnectionResponse
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new TestConnectionResponse();
+ if (data.hasOwnProperty('request_id')) {
+ obj['request_id'] = _ApiClient["default"].convertToType(data['request_id'], 'String');
+ }
+ if (data.hasOwnProperty('processing_time')) {
+ obj['processing_time'] = _ApiClient["default"].convertToType(data['processing_time'], 'String');
+ }
+ if (data.hasOwnProperty('request_timestamp')) {
+ obj['request_timestamp'] = _ApiClient["default"].convertToType(data['request_timestamp'], 'Number');
+ }
+ if (data.hasOwnProperty('requested_by')) {
+ obj['requested_by'] = _ApiClient["default"].convertToType(data['requested_by'], 'String');
+ }
+ if (data.hasOwnProperty('org_id')) {
+ obj['org_id'] = _ApiClient["default"].convertToType(data['org_id'], 'String');
+ }
+ if (data.hasOwnProperty('can_connect')) {
+ obj['can_connect'] = _ApiClient["default"].convertToType(data['can_connect'], 'Boolean');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to TestConnectionResponse
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to TestConnectionResponse
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // check to make sure all required properties are present in the JSON string
+ var _iterator = _createForOfIteratorHelper(TestConnectionResponse.RequiredProperties),
+ _step;
+ try {
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
+ var property = _step.value;
+ if (!data[property]) {
+ throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
+ }
+ }
+ // ensure the json data is a string
+ } catch (err) {
+ _iterator.e(err);
+ } finally {
+ _iterator.f();
+ }
+ if (data['request_id'] && !(typeof data['request_id'] === 'string' || data['request_id'] instanceof String)) {
+ throw new Error("Expected the field `request_id` to be a primitive type in the JSON string but got " + data['request_id']);
+ }
+ // ensure the json data is a string
+ if (data['processing_time'] && !(typeof data['processing_time'] === 'string' || data['processing_time'] instanceof String)) {
+ throw new Error("Expected the field `processing_time` to be a primitive type in the JSON string but got " + data['processing_time']);
+ }
+ // ensure the json data is a string
+ if (data['requested_by'] && !(typeof data['requested_by'] === 'string' || data['requested_by'] instanceof String)) {
+ throw new Error("Expected the field `requested_by` to be a primitive type in the JSON string but got " + data['requested_by']);
+ }
+ // ensure the json data is a string
+ if (data['org_id'] && !(typeof data['org_id'] === 'string' || data['org_id'] instanceof String)) {
+ throw new Error("Expected the field `org_id` to be a primitive type in the JSON string but got " + data['org_id']);
+ }
+ return true;
+ }
+ }]);
+ return TestConnectionResponse;
+}();
+TestConnectionResponse.RequiredProperties = ["can_connect"];
+
+/**
+ * @member {String} request_id
+ */
+TestConnectionResponse.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+TestConnectionResponse.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+TestConnectionResponse.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+TestConnectionResponse.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+TestConnectionResponse.prototype['org_id'] = undefined;
+
+/**
+ * @member {Boolean} can_connect
+ */
+TestConnectionResponse.prototype['can_connect'] = undefined;
+var _default = TestConnectionResponse;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 5398:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The Treatment model module.
+ * @module model/Treatment
+ * @version latest
+ */
+var Treatment = /*#__PURE__*/function () {
+ /**
+ * Constructs a new Treatment
.
+ * @alias module:model/Treatment
+ */
+ function Treatment() {
+ _classCallCheck(this, Treatment);
+ Treatment.initialize(this);
+ }
+
+ /**
+ * Initializes the fields of this object.
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
+ * Only for internal use.
+ */
+ _createClass(Treatment, null, [{
+ key: "initialize",
+ value: function initialize(obj) {}
+
+ /**
+ * Constructs a Treatment
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/Treatment} obj Optional instance to populate.
+ * @return {module:model/Treatment} The populated Treatment
instance.
+ */
+ }, {
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ if (data) {
+ obj = obj || new Treatment();
+ if (data.hasOwnProperty('k_strategy')) {
+ obj['k_strategy'] = _ApiClient["default"].convertToType(data['k_strategy'], 'String');
+ }
+ if (data.hasOwnProperty('k_target')) {
+ obj['k_target'] = _ApiClient["default"].convertToType(data['k_target'], 'Number');
+ }
+ }
+ return obj;
+ }
+
+ /**
+ * Validates the JSON data with respect to Treatment
.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @return {boolean} to indicate whether the JSON data is valid with respect to Treatment
.
+ */
+ }, {
+ key: "validateJSON",
+ value: function validateJSON(data) {
+ // ensure the json data is a string
+ if (data['k_strategy'] && !(typeof data['k_strategy'] === 'string' || data['k_strategy'] instanceof String)) {
+ throw new Error("Expected the field `k_strategy` to be a primitive type in the JSON string but got " + data['k_strategy']);
+ }
+ return true;
+ }
+ }]);
+ return Treatment;
+}();
+/**
+ * @member {String} k_strategy
+ */
+Treatment.prototype['k_strategy'] = undefined;
+
+/**
+ * @member {Number} k_target
+ */
+Treatment.prototype['k_target'] = undefined;
+var _default = Treatment;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 3984:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+Object.defineProperty(exports, "__esModule", ({
+ value: true
+}));
+exports.default = void 0;
+var _ApiClient = _interopRequireDefault(__nccwpck_require__(4369));
+var _JobRunCondensed = _interopRequireDefault(__nccwpck_require__(1410));
+var _JobRunCondensedListResponse = _interopRequireDefault(__nccwpck_require__(7175));
+var _JobRunListResponse = _interopRequireDefault(__nccwpck_require__(1398));
+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
+function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
+function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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, _toPropertyKey(descriptor.key), descriptor); } }
+function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
+function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
+function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
+/**
+ * The V1JobRunsGet200Response model module.
+ * @module model/V1JobRunsGet200Response
+ * @version latest
+ */
+var V1JobRunsGet200Response = /*#__PURE__*/function () {
+ /**
+ * Constructs a new V1JobRunsGet200Response
.
+ * @alias module:model/V1JobRunsGet200Response
+ * @param {(module:model/JobRunCondensedListResponse|module:model/JobRunListResponse)} instance The actual instance to initialize V1JobRunsGet200Response.
+ */
+ function V1JobRunsGet200Response() {
+ var instance = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
+ _classCallCheck(this, V1JobRunsGet200Response);
+ _defineProperty(this, "toJSON", function () {
+ return this.getActualInstance();
+ });
+ if (instance === null) {
+ this.actualInstance = null;
+ return;
+ }
+ var match = 0;
+ var errorMessages = [];
+ try {
+ if (typeof instance === "JobRunListResponse") {
+ this.actualInstance = instance;
+ } else {
+ // plain JS object
+ // validate the object
+ _JobRunListResponse["default"].validateJSON(instance); // throw an exception if no match
+ // create JobRunListResponse from JS object
+ this.actualInstance = _JobRunListResponse["default"].constructFromObject(instance);
+ }
+ match++;
+ } catch (err) {
+ // json data failed to deserialize into JobRunListResponse
+ errorMessages.push("Failed to construct JobRunListResponse: " + err);
+ }
+ try {
+ if (typeof instance === "JobRunCondensedListResponse") {
+ this.actualInstance = instance;
+ } else {
+ // plain JS object
+ // validate the object
+ _JobRunCondensedListResponse["default"].validateJSON(instance); // throw an exception if no match
+ // create JobRunCondensedListResponse from JS object
+ this.actualInstance = _JobRunCondensedListResponse["default"].constructFromObject(instance);
+ }
+ match++;
+ } catch (err) {
+ // json data failed to deserialize into JobRunCondensedListResponse
+ errorMessages.push("Failed to construct JobRunCondensedListResponse: " + err);
+ }
+ if (match > 1) {
+ throw new Error("Multiple matches found constructing `V1JobRunsGet200Response` with oneOf schemas JobRunCondensedListResponse, JobRunListResponse. Input: " + JSON.stringify(instance));
+ } else if (match === 0) {
+ this.actualInstance = null; // clear the actual instance in case there are multiple matches
+ throw new Error("No match found constructing `V1JobRunsGet200Response` with oneOf schemas JobRunCondensedListResponse, JobRunListResponse. Details: " + errorMessages.join(", "));
+ } else {// only 1 match
+ // the input is valid
+ }
+ }
+
+ /**
+ * Constructs a V1JobRunsGet200Response
from a plain JavaScript object, optionally creating a new instance.
+ * Copies all relevant properties from data
to obj
if supplied or a new instance if not.
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
+ * @param {module:model/V1JobRunsGet200Response} obj Optional instance to populate.
+ * @return {module:model/V1JobRunsGet200Response} The populated V1JobRunsGet200Response
instance.
+ */
+ _createClass(V1JobRunsGet200Response, [{
+ key: "getActualInstance",
+ value:
+ /**
+ * Gets the actaul instance, which can be JobRunCondensedListResponse
, JobRunListResponse
.
+ * @return {(module:model/JobRunCondensedListResponse|module:model/JobRunListResponse)} The actual instance.
+ */
+ function getActualInstance() {
+ return this.actualInstance;
+ }
+
+ /**
+ * Sets the actaul instance, which can be JobRunCondensedListResponse
, JobRunListResponse
.
+ * @param {(module:model/JobRunCondensedListResponse|module:model/JobRunListResponse)} obj The actual instance.
+ */
+ }, {
+ key: "setActualInstance",
+ value: function setActualInstance(obj) {
+ this.actualInstance = V1JobRunsGet200Response.constructFromObject(obj).getActualInstance();
+ }
+
+ /**
+ * Returns the JSON representation of the actual intance.
+ * @return {string}
+ */
+ }], [{
+ key: "constructFromObject",
+ value: function constructFromObject(data, obj) {
+ return new V1JobRunsGet200Response(data);
+ }
+ }]);
+ return V1JobRunsGet200Response;
+}();
+/**
+ * @member {String} request_id
+ */
+_defineProperty(V1JobRunsGet200Response, "fromJSON", function (json_string) {
+ return V1JobRunsGet200Response.constructFromObject(JSON.parse(json_string));
+});
+V1JobRunsGet200Response.prototype['request_id'] = undefined;
+
+/**
+ * @member {String} processing_time
+ */
+V1JobRunsGet200Response.prototype['processing_time'] = undefined;
+
+/**
+ * @member {Number} request_timestamp
+ */
+V1JobRunsGet200Response.prototype['request_timestamp'] = undefined;
+
+/**
+ * @member {String} requested_by
+ */
+V1JobRunsGet200Response.prototype['requested_by'] = undefined;
+
+/**
+ * @member {String} org_id
+ */
+V1JobRunsGet200Response.prototype['org_id'] = undefined;
+
+/**
+ * @member {Array.} job_runs
+ */
+V1JobRunsGet200Response.prototype['job_runs'] = undefined;
+V1JobRunsGet200Response.OneOf = ["JobRunCondensedListResponse", "JobRunListResponse"];
+var _default = V1JobRunsGet200Response;
+exports.default = _default;
+
+/***/ }),
+
+/***/ 4907:
+/***/ ((module) => {
+
+"use strict";
+
+
+var replace = String.prototype.replace;
+var percentTwenties = /%20/g;
+
+var Format = {
+ RFC1738: 'RFC1738',
+ RFC3986: 'RFC3986'
+};
+
+module.exports = {
+ 'default': Format.RFC3986,
+ formatters: {
+ RFC1738: function (value) {
+ return replace.call(value, percentTwenties, '+');
+ },
+ RFC3986: function (value) {
+ return String(value);
+ }
+ },
+ RFC1738: Format.RFC1738,
+ RFC3986: Format.RFC3986
+};
+
+
+/***/ }),
+
+/***/ 2760:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+var stringify = __nccwpck_require__(9954);
+var parse = __nccwpck_require__(3912);
+var formats = __nccwpck_require__(4907);
+
+module.exports = {
+ formats: formats,
+ parse: parse,
+ stringify: stringify
+};
+
+
+/***/ }),
+
+/***/ 3912:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+var utils = __nccwpck_require__(2360);
+
+var has = Object.prototype.hasOwnProperty;
+var isArray = Array.isArray;
+
+var defaults = {
+ allowDots: false,
+ allowPrototypes: false,
+ allowSparse: false,
+ arrayLimit: 20,
+ charset: 'utf-8',
+ charsetSentinel: false,
+ comma: false,
+ decoder: utils.decode,
+ delimiter: '&',
+ depth: 5,
+ ignoreQueryPrefix: false,
+ interpretNumericEntities: false,
+ parameterLimit: 1000,
+ parseArrays: true,
+ plainObjects: false,
+ strictNullHandling: false
+};
+
+var interpretNumericEntities = function (str) {
+ return str.replace(/(\d+);/g, function ($0, numberStr) {
+ return String.fromCharCode(parseInt(numberStr, 10));
+ });
+};
+
+var parseArrayValue = function (val, options) {
+ if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {
+ return val.split(',');
+ }
+
+ return val;
+};
+
+// This is what browsers will submit when the ✓ character occurs in an
+// application/x-www-form-urlencoded body and the encoding of the page containing
+// the form is iso-8859-1, or when the submitted form has an accept-charset
+// attribute of iso-8859-1. Presumably also with other charsets that do not contain
+// the ✓ character, such as us-ascii.
+var isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('✓')
+
+// These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded.
+var charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')
+
+var parseValues = function parseQueryStringValues(str, options) {
+ var obj = {};
+ var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str;
+ var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;
+ var parts = cleanStr.split(options.delimiter, limit);
+ var skipIndex = -1; // Keep track of where the utf8 sentinel was found
+ var i;
+
+ var charset = options.charset;
+ if (options.charsetSentinel) {
+ for (i = 0; i < parts.length; ++i) {
+ if (parts[i].indexOf('utf8=') === 0) {
+ if (parts[i] === charsetSentinel) {
+ charset = 'utf-8';
+ } else if (parts[i] === isoSentinel) {
+ charset = 'iso-8859-1';
+ }
+ skipIndex = i;
+ i = parts.length; // The eslint settings do not allow break;
+ }
+ }
+ }
+
+ for (i = 0; i < parts.length; ++i) {
+ if (i === skipIndex) {
+ continue;
+ }
+ var part = parts[i];
+
+ var bracketEqualsPos = part.indexOf(']=');
+ var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;
+
+ var key, val;
+ if (pos === -1) {
+ key = options.decoder(part, defaults.decoder, charset, 'key');
+ val = options.strictNullHandling ? null : '';
+ } else {
+ key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key');
+ val = utils.maybeMap(
+ parseArrayValue(part.slice(pos + 1), options),
+ function (encodedVal) {
+ return options.decoder(encodedVal, defaults.decoder, charset, 'value');
+ }
+ );
+ }
+
+ if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {
+ val = interpretNumericEntities(val);
+ }
+
+ if (part.indexOf('[]=') > -1) {
+ val = isArray(val) ? [val] : val;
+ }
+
+ if (has.call(obj, key)) {
+ obj[key] = utils.combine(obj[key], val);
+ } else {
+ obj[key] = val;
+ }
+ }
+
+ return obj;
+};
+
+var parseObject = function (chain, val, options, valuesParsed) {
+ var leaf = valuesParsed ? val : parseArrayValue(val, options);
+
+ for (var i = chain.length - 1; i >= 0; --i) {
+ var obj;
+ var root = chain[i];
+
+ if (root === '[]' && options.parseArrays) {
+ obj = [].concat(leaf);
+ } else {
+ obj = options.plainObjects ? Object.create(null) : {};
+ var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;
+ var index = parseInt(cleanRoot, 10);
+ if (!options.parseArrays && cleanRoot === '') {
+ obj = { 0: leaf };
+ } else if (
+ !isNaN(index)
+ && root !== cleanRoot
+ && String(index) === cleanRoot
+ && index >= 0
+ && (options.parseArrays && index <= options.arrayLimit)
+ ) {
+ obj = [];
+ obj[index] = leaf;
+ } else if (cleanRoot !== '__proto__') {
+ obj[cleanRoot] = leaf;
+ }
+ }
+
+ leaf = obj;
+ }
+
+ return leaf;
+};
+
+var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {
+ if (!givenKey) {
+ return;
+ }
+
+ // Transform dot notation to bracket notation
+ var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey;
+
+ // The regex chunks
+
+ var brackets = /(\[[^[\]]*])/;
+ var child = /(\[[^[\]]*])/g;
+
+ // Get the parent
+
+ var segment = options.depth > 0 && brackets.exec(key);
+ var parent = segment ? key.slice(0, segment.index) : key;
+
+ // Stash the parent if it exists
+
+ var keys = [];
+ if (parent) {
+ // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties
+ if (!options.plainObjects && has.call(Object.prototype, parent)) {
+ if (!options.allowPrototypes) {
+ return;
+ }
+ }
+
+ keys.push(parent);
+ }
+
+ // Loop through children appending to the array until we hit depth
+
+ var i = 0;
+ while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) {
+ i += 1;
+ if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {
+ if (!options.allowPrototypes) {
+ return;
+ }
+ }
+ keys.push(segment[1]);
+ }
+
+ // If there's a remainder, just add whatever is left
+
+ if (segment) {
+ keys.push('[' + key.slice(segment.index) + ']');
+ }
+
+ return parseObject(keys, val, options, valuesParsed);
+};
+
+var normalizeParseOptions = function normalizeParseOptions(opts) {
+ if (!opts) {
+ return defaults;
+ }
+
+ if (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') {
+ throw new TypeError('Decoder has to be a function.');
+ }
+
+ if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {
+ throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');
+ }
+ var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;
+
+ return {
+ allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,
+ allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,
+ allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse,
+ arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,
+ charset: charset,
+ charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
+ comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma,
+ decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder,
+ delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,
+ // eslint-disable-next-line no-implicit-coercion, no-extra-parens
+ depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth,
+ ignoreQueryPrefix: opts.ignoreQueryPrefix === true,
+ interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities,
+ parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit,
+ parseArrays: opts.parseArrays !== false,
+ plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,
+ strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling
+ };
+};
+
+module.exports = function (str, opts) {
+ var options = normalizeParseOptions(opts);
+
+ if (str === '' || str === null || typeof str === 'undefined') {
+ return options.plainObjects ? Object.create(null) : {};
+ }
+
+ var tempObj = typeof str === 'string' ? parseValues(str, options) : str;
+ var obj = options.plainObjects ? Object.create(null) : {};
+
+ // Iterate over the keys and setup the new object
+
+ var keys = Object.keys(tempObj);
+ for (var i = 0; i < keys.length; ++i) {
+ var key = keys[i];
+ var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string');
+ obj = utils.merge(obj, newObj, options);
+ }
+
+ if (options.allowSparse === true) {
+ return obj;
+ }
+
+ return utils.compact(obj);
+};
+
+
+/***/ }),
+
+/***/ 9954:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+var getSideChannel = __nccwpck_require__(4334);
+var utils = __nccwpck_require__(2360);
+var formats = __nccwpck_require__(4907);
+var has = Object.prototype.hasOwnProperty;
+
+var arrayPrefixGenerators = {
+ brackets: function brackets(prefix) {
+ return prefix + '[]';
+ },
+ comma: 'comma',
+ indices: function indices(prefix, key) {
+ return prefix + '[' + key + ']';
+ },
+ repeat: function repeat(prefix) {
+ return prefix;
+ }
+};
+
+var isArray = Array.isArray;
+var split = String.prototype.split;
+var push = Array.prototype.push;
+var pushToArray = function (arr, valueOrArray) {
+ push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);
+};
+
+var toISO = Date.prototype.toISOString;
+
+var defaultFormat = formats['default'];
+var defaults = {
+ addQueryPrefix: false,
+ allowDots: false,
+ charset: 'utf-8',
+ charsetSentinel: false,
+ delimiter: '&',
+ encode: true,
+ encoder: utils.encode,
+ encodeValuesOnly: false,
+ format: defaultFormat,
+ formatter: formats.formatters[defaultFormat],
+ // deprecated
+ indices: false,
+ serializeDate: function serializeDate(date) {
+ return toISO.call(date);
+ },
+ skipNulls: false,
+ strictNullHandling: false
+};
+
+var isNonNullishPrimitive = function isNonNullishPrimitive(v) {
+ return typeof v === 'string'
+ || typeof v === 'number'
+ || typeof v === 'boolean'
+ || typeof v === 'symbol'
+ || typeof v === 'bigint';
+};
+
+var sentinel = {};
+
+var stringify = function stringify(
+ object,
+ prefix,
+ generateArrayPrefix,
+ commaRoundTrip,
+ strictNullHandling,
+ skipNulls,
+ encoder,
+ filter,
+ sort,
+ allowDots,
+ serializeDate,
+ format,
+ formatter,
+ encodeValuesOnly,
+ charset,
+ sideChannel
+) {
+ var obj = object;
+
+ var tmpSc = sideChannel;
+ var step = 0;
+ var findFlag = false;
+ while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) {
+ // Where object last appeared in the ref tree
+ var pos = tmpSc.get(object);
+ step += 1;
+ if (typeof pos !== 'undefined') {
+ if (pos === step) {
+ throw new RangeError('Cyclic object value');
+ } else {
+ findFlag = true; // Break while
+ }
+ }
+ if (typeof tmpSc.get(sentinel) === 'undefined') {
+ step = 0;
+ }
+ }
+
+ if (typeof filter === 'function') {
+ obj = filter(prefix, obj);
+ } else if (obj instanceof Date) {
+ obj = serializeDate(obj);
+ } else if (generateArrayPrefix === 'comma' && isArray(obj)) {
+ obj = utils.maybeMap(obj, function (value) {
+ if (value instanceof Date) {
+ return serializeDate(value);
+ }
+ return value;
+ });
+ }
+
+ if (obj === null) {
+ if (strictNullHandling) {
+ return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix;
+ }
+
+ obj = '';
+ }
+
+ if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {
+ if (encoder) {
+ var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format);
+ if (generateArrayPrefix === 'comma' && encodeValuesOnly) {
+ var valuesArray = split.call(String(obj), ',');
+ var valuesJoined = '';
+ for (var i = 0; i < valuesArray.length; ++i) {
+ valuesJoined += (i === 0 ? '' : ',') + formatter(encoder(valuesArray[i], defaults.encoder, charset, 'value', format));
+ }
+ return [formatter(keyValue) + (commaRoundTrip && isArray(obj) && valuesArray.length === 1 ? '[]' : '') + '=' + valuesJoined];
+ }
+ return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];
+ }
+ return [formatter(prefix) + '=' + formatter(String(obj))];
+ }
+
+ var values = [];
+
+ if (typeof obj === 'undefined') {
+ return values;
+ }
+
+ var objKeys;
+ if (generateArrayPrefix === 'comma' && isArray(obj)) {
+ // we need to join elements in
+ objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];
+ } else if (isArray(filter)) {
+ objKeys = filter;
+ } else {
+ var keys = Object.keys(obj);
+ objKeys = sort ? keys.sort(sort) : keys;
+ }
+
+ var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? prefix + '[]' : prefix;
+
+ for (var j = 0; j < objKeys.length; ++j) {
+ var key = objKeys[j];
+ var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key];
+
+ if (skipNulls && value === null) {
+ continue;
+ }
+
+ var keyPrefix = isArray(obj)
+ ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(adjustedPrefix, key) : adjustedPrefix
+ : adjustedPrefix + (allowDots ? '.' + key : '[' + key + ']');
+
+ sideChannel.set(object, step);
+ var valueSideChannel = getSideChannel();
+ valueSideChannel.set(sentinel, sideChannel);
+ pushToArray(values, stringify(
+ value,
+ keyPrefix,
+ generateArrayPrefix,
+ commaRoundTrip,
+ strictNullHandling,
+ skipNulls,
+ encoder,
+ filter,
+ sort,
+ allowDots,
+ serializeDate,
+ format,
+ formatter,
+ encodeValuesOnly,
+ charset,
+ valueSideChannel
+ ));
+ }
+
+ return values;
+};
+
+var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
+ if (!opts) {
+ return defaults;
+ }
+
+ if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {
+ throw new TypeError('Encoder has to be a function.');
+ }
+
+ var charset = opts.charset || defaults.charset;
+ if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {
+ throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');
+ }
+
+ var format = formats['default'];
+ if (typeof opts.format !== 'undefined') {
+ if (!has.call(formats.formatters, opts.format)) {
+ throw new TypeError('Unknown format option provided.');
+ }
+ format = opts.format;
+ }
+ var formatter = formats.formatters[format];
+
+ var filter = defaults.filter;
+ if (typeof opts.filter === 'function' || isArray(opts.filter)) {
+ filter = opts.filter;
+ }
+
+ return {
+ addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix,
+ allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,
+ charset: charset,
+ charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
+ delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,
+ encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,
+ encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,
+ encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,
+ filter: filter,
+ format: format,
+ formatter: formatter,
+ serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate,
+ skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls,
+ sort: typeof opts.sort === 'function' ? opts.sort : null,
+ strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling
+ };
+};
+
+module.exports = function (object, opts) {
+ var obj = object;
+ var options = normalizeStringifyOptions(opts);
+
+ var objKeys;
+ var filter;
+
+ if (typeof options.filter === 'function') {
+ filter = options.filter;
+ obj = filter('', obj);
+ } else if (isArray(options.filter)) {
+ filter = options.filter;
+ objKeys = filter;
+ }
+
+ var keys = [];
+
+ if (typeof obj !== 'object' || obj === null) {
+ return '';
+ }
+
+ var arrayFormat;
+ if (opts && opts.arrayFormat in arrayPrefixGenerators) {
+ arrayFormat = opts.arrayFormat;
+ } else if (opts && 'indices' in opts) {
+ arrayFormat = opts.indices ? 'indices' : 'repeat';
+ } else {
+ arrayFormat = 'indices';
+ }
+
+ var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];
+ if (opts && 'commaRoundTrip' in opts && typeof opts.commaRoundTrip !== 'boolean') {
+ throw new TypeError('`commaRoundTrip` must be a boolean, or absent');
+ }
+ var commaRoundTrip = generateArrayPrefix === 'comma' && opts && opts.commaRoundTrip;
+
+ if (!objKeys) {
+ objKeys = Object.keys(obj);
+ }
+
+ if (options.sort) {
+ objKeys.sort(options.sort);
+ }
+
+ var sideChannel = getSideChannel();
+ for (var i = 0; i < objKeys.length; ++i) {
+ var key = objKeys[i];
+
+ if (options.skipNulls && obj[key] === null) {
+ continue;
+ }
+ pushToArray(keys, stringify(
+ obj[key],
+ key,
+ generateArrayPrefix,
+ commaRoundTrip,
+ options.strictNullHandling,
+ options.skipNulls,
+ options.encode ? options.encoder : null,
+ options.filter,
+ options.sort,
+ options.allowDots,
+ options.serializeDate,
+ options.format,
+ options.formatter,
+ options.encodeValuesOnly,
+ options.charset,
+ sideChannel
+ ));
+ }
+
+ var joined = keys.join(options.delimiter);
+ var prefix = options.addQueryPrefix === true ? '?' : '';
+
+ if (options.charsetSentinel) {
+ if (options.charset === 'iso-8859-1') {
+ // encodeURIComponent('✓'), the "numeric entity" representation of a checkmark
+ prefix += 'utf8=%26%2310003%3B&';
+ } else {
+ // encodeURIComponent('✓')
+ prefix += 'utf8=%E2%9C%93&';
+ }
+ }
+
+ return joined.length > 0 ? prefix + joined : '';
+};
+
+
+/***/ }),
+
+/***/ 2360:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+var formats = __nccwpck_require__(4907);
+
+var has = Object.prototype.hasOwnProperty;
+var isArray = Array.isArray;
+
+var hexTable = (function () {
+ var array = [];
+ for (var i = 0; i < 256; ++i) {
+ array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());
+ }
+
+ return array;
+}());
+
+var compactQueue = function compactQueue(queue) {
+ while (queue.length > 1) {
+ var item = queue.pop();
+ var obj = item.obj[item.prop];
+
+ if (isArray(obj)) {
+ var compacted = [];
+
+ for (var j = 0; j < obj.length; ++j) {
+ if (typeof obj[j] !== 'undefined') {
+ compacted.push(obj[j]);
+ }
+ }
+
+ item.obj[item.prop] = compacted;
+ }
+ }
+};
+
+var arrayToObject = function arrayToObject(source, options) {
+ var obj = options && options.plainObjects ? Object.create(null) : {};
+ for (var i = 0; i < source.length; ++i) {
+ if (typeof source[i] !== 'undefined') {
+ obj[i] = source[i];
+ }
+ }
+
+ return obj;
+};
+
+var merge = function merge(target, source, options) {
+ /* eslint no-param-reassign: 0 */
+ if (!source) {
+ return target;
+ }
+
+ if (typeof source !== 'object') {
+ if (isArray(target)) {
+ target.push(source);
+ } else if (target && typeof target === 'object') {
+ if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) {
+ target[source] = true;
+ }
+ } else {
+ return [target, source];
+ }
+
+ return target;
+ }
+
+ if (!target || typeof target !== 'object') {
+ return [target].concat(source);
+ }
+
+ var mergeTarget = target;
+ if (isArray(target) && !isArray(source)) {
+ mergeTarget = arrayToObject(target, options);
+ }
+
+ if (isArray(target) && isArray(source)) {
+ source.forEach(function (item, i) {
+ if (has.call(target, i)) {
+ var targetItem = target[i];
+ if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {
+ target[i] = merge(targetItem, item, options);
+ } else {
+ target.push(item);
+ }
+ } else {
+ target[i] = item;
+ }
+ });
+ return target;
+ }
+
+ return Object.keys(source).reduce(function (acc, key) {
+ var value = source[key];
+
+ if (has.call(acc, key)) {
+ acc[key] = merge(acc[key], value, options);
+ } else {
+ acc[key] = value;
+ }
+ return acc;
+ }, mergeTarget);
+};
+
+var assign = function assignSingleSource(target, source) {
+ return Object.keys(source).reduce(function (acc, key) {
+ acc[key] = source[key];
+ return acc;
+ }, target);
+};
+
+var decode = function (str, decoder, charset) {
+ var strWithoutPlus = str.replace(/\+/g, ' ');
+ if (charset === 'iso-8859-1') {
+ // unescape never throws, no try...catch needed:
+ return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);
+ }
+ // utf-8
+ try {
+ return decodeURIComponent(strWithoutPlus);
+ } catch (e) {
+ return strWithoutPlus;
+ }
+};
+
+var encode = function encode(str, defaultEncoder, charset, kind, format) {
+ // This code was originally written by Brian White (mscdex) for the io.js core querystring library.
+ // It has been adapted here for stricter adherence to RFC 3986
+ if (str.length === 0) {
+ return str;
+ }
+
+ var string = str;
+ if (typeof str === 'symbol') {
+ string = Symbol.prototype.toString.call(str);
+ } else if (typeof str !== 'string') {
+ string = String(str);
+ }
+
+ if (charset === 'iso-8859-1') {
+ return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) {
+ return '%26%23' + parseInt($0.slice(2), 16) + '%3B';
+ });
+ }
+
+ var out = '';
+ for (var i = 0; i < string.length; ++i) {
+ var c = string.charCodeAt(i);
+
+ if (
+ c === 0x2D // -
+ || c === 0x2E // .
+ || c === 0x5F // _
+ || c === 0x7E // ~
+ || (c >= 0x30 && c <= 0x39) // 0-9
+ || (c >= 0x41 && c <= 0x5A) // a-z
+ || (c >= 0x61 && c <= 0x7A) // A-Z
+ || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( )
+ ) {
+ out += string.charAt(i);
+ continue;
+ }
+
+ if (c < 0x80) {
+ out = out + hexTable[c];
+ continue;
+ }
+
+ if (c < 0x800) {
+ out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);
+ continue;
+ }
+
+ if (c < 0xD800 || c >= 0xE000) {
+ out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);
+ continue;
+ }
+
+ i += 1;
+ c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));
+ /* eslint operator-linebreak: [2, "before"] */
+ out += hexTable[0xF0 | (c >> 18)]
+ + hexTable[0x80 | ((c >> 12) & 0x3F)]
+ + hexTable[0x80 | ((c >> 6) & 0x3F)]
+ + hexTable[0x80 | (c & 0x3F)];
+ }
+
+ return out;
+};
+
+var compact = function compact(value) {
+ var queue = [{ obj: { o: value }, prop: 'o' }];
+ var refs = [];
+
+ for (var i = 0; i < queue.length; ++i) {
+ var item = queue[i];
+ var obj = item.obj[item.prop];
+
+ var keys = Object.keys(obj);
+ for (var j = 0; j < keys.length; ++j) {
+ var key = keys[j];
+ var val = obj[key];
+ if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {
+ queue.push({ obj: obj, prop: key });
+ refs.push(val);
+ }
+ }
+ }
+
+ compactQueue(queue);
+
+ return value;
+};
+
+var isRegExp = function isRegExp(obj) {
+ return Object.prototype.toString.call(obj) === '[object RegExp]';
+};
+
+var isBuffer = function isBuffer(obj) {
+ if (!obj || typeof obj !== 'object') {
+ return false;
+ }
+
+ return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
+};
+
+var combine = function combine(a, b) {
+ return [].concat(a, b);
+};
+
+var maybeMap = function maybeMap(val, fn) {
+ if (isArray(val)) {
+ var mapped = [];
+ for (var i = 0; i < val.length; i += 1) {
+ mapped.push(fn(val[i]));
+ }
+ return mapped;
+ }
+ return fn(val);
+};
+
+module.exports = {
+ arrayToObject: arrayToObject,
+ assign: assign,
+ combine: combine,
+ compact: compact,
+ decode: decode,
+ encode: encode,
+ isBuffer: isBuffer,
+ isRegExp: isRegExp,
+ maybeMap: maybeMap,
+ merge: merge
+};
+
+
+/***/ }),
+
+/***/ 1532:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const ANY = Symbol('SemVer ANY')
+// hoisted class for cyclic dependency
+class Comparator {
+ static get ANY () {
+ return ANY
+ }
+ constructor (comp, options) {
+ if (!options || typeof options !== 'object') {
+ options = {
+ loose: !!options,
+ includePrerelease: false
+ }
+ }
+
+ if (comp instanceof Comparator) {
+ if (comp.loose === !!options.loose) {
+ return comp
+ } else {
+ comp = comp.value
+ }
+ }
+
+ debug('comparator', comp, options)
+ this.options = options
+ this.loose = !!options.loose
+ this.parse(comp)
+
+ if (this.semver === ANY) {
+ this.value = ''
+ } else {
+ this.value = this.operator + this.semver.version
+ }
+
+ debug('comp', this)
+ }
+
+ parse (comp) {
+ const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]
+ const m = comp.match(r)
+
+ if (!m) {
+ throw new TypeError(`Invalid comparator: ${comp}`)
+ }
+
+ this.operator = m[1] !== undefined ? m[1] : ''
+ if (this.operator === '=') {
+ this.operator = ''
+ }
+
+ // if it literally is just '>' or '' then allow anything.
+ if (!m[2]) {
+ this.semver = ANY
+ } else {
+ this.semver = new SemVer(m[2], this.options.loose)
+ }
+ }
+
+ toString () {
+ return this.value
+ }
+
+ test (version) {
+ debug('Comparator.test', version, this.options.loose)
+
+ if (this.semver === ANY || version === ANY) {
+ return true
+ }
+
+ if (typeof version === 'string') {
+ try {
+ version = new SemVer(version, this.options)
+ } catch (er) {
+ return false
+ }
+ }
+
+ return cmp(version, this.operator, this.semver, this.options)
+ }
+
+ intersects (comp, options) {
+ if (!(comp instanceof Comparator)) {
+ throw new TypeError('a Comparator is required')
+ }
+
+ if (!options || typeof options !== 'object') {
+ options = {
+ loose: !!options,
+ includePrerelease: false
+ }
+ }
+
+ if (this.operator === '') {
+ if (this.value === '') {
+ return true
+ }
+ return new Range(comp.value, options).test(this.value)
+ } else if (comp.operator === '') {
+ if (comp.value === '') {
+ return true
+ }
+ return new Range(this.value, options).test(comp.semver)
+ }
+
+ const sameDirectionIncreasing =
+ (this.operator === '>=' || this.operator === '>') &&
+ (comp.operator === '>=' || comp.operator === '>')
+ const sameDirectionDecreasing =
+ (this.operator === '<=' || this.operator === '<') &&
+ (comp.operator === '<=' || comp.operator === '<')
+ const sameSemVer = this.semver.version === comp.semver.version
+ const differentDirectionsInclusive =
+ (this.operator === '>=' || this.operator === '<=') &&
+ (comp.operator === '>=' || comp.operator === '<=')
+ const oppositeDirectionsLessThan =
+ cmp(this.semver, '<', comp.semver, options) &&
+ (this.operator === '>=' || this.operator === '>') &&
+ (comp.operator === '<=' || comp.operator === '<')
+ const oppositeDirectionsGreaterThan =
+ cmp(this.semver, '>', comp.semver, options) &&
+ (this.operator === '<=' || this.operator === '<') &&
+ (comp.operator === '>=' || comp.operator === '>')
+
+ return (
+ sameDirectionIncreasing ||
+ sameDirectionDecreasing ||
+ (sameSemVer && differentDirectionsInclusive) ||
+ oppositeDirectionsLessThan ||
+ oppositeDirectionsGreaterThan
+ )
+ }
+}
+
+module.exports = Comparator
+
+const {re, t} = __nccwpck_require__(9523)
+const cmp = __nccwpck_require__(5098)
+const debug = __nccwpck_require__(427)
+const SemVer = __nccwpck_require__(8088)
+const Range = __nccwpck_require__(9828)
+
+
+/***/ }),
+
+/***/ 9828:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+// hoisted class for cyclic dependency
+class Range {
+ constructor (range, options) {
+ if (!options || typeof options !== 'object') {
+ options = {
+ loose: !!options,
+ includePrerelease: false
+ }
+ }
+
+ if (range instanceof Range) {
+ if (
+ range.loose === !!options.loose &&
+ range.includePrerelease === !!options.includePrerelease
+ ) {
+ return range
+ } else {
+ return new Range(range.raw, options)
+ }
+ }
+
+ if (range instanceof Comparator) {
+ // just put it in the set and return
+ this.raw = range.value
+ this.set = [[range]]
+ this.format()
+ return this
+ }
+
+ this.options = options
+ this.loose = !!options.loose
+ this.includePrerelease = !!options.includePrerelease
+
+ // First, split based on boolean or ||
+ this.raw = range
+ this.set = range
+ .split(/\s*\|\|\s*/)
+ // map the range to a 2d array of comparators
+ .map(range => this.parseRange(range.trim()))
+ // throw out any comparator lists that are empty
+ // this generally means that it was not a valid range, which is allowed
+ // in loose mode, but will still throw if the WHOLE range is invalid.
+ .filter(c => c.length)
+
+ if (!this.set.length) {
+ throw new TypeError(`Invalid SemVer Range: ${range}`)
+ }
+
+ this.format()
+ }
+
+ format () {
+ this.range = this.set
+ .map((comps) => {
+ return comps.join(' ').trim()
+ })
+ .join('||')
+ .trim()
+ return this.range
+ }
+
+ toString () {
+ return this.range
+ }
+
+ parseRange (range) {
+ const loose = this.options.loose
+ range = range.trim()
+ // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`
+ const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE]
+ range = range.replace(hr, hyphenReplace(this.options.includePrerelease))
+ debug('hyphen replace', range)
+ // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`
+ range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace)
+ debug('comparator trim', range, re[t.COMPARATORTRIM])
+
+ // `~ 1.2.3` => `~1.2.3`
+ range = range.replace(re[t.TILDETRIM], tildeTrimReplace)
+
+ // `^ 1.2.3` => `^1.2.3`
+ range = range.replace(re[t.CARETTRIM], caretTrimReplace)
+
+ // normalize spaces
+ range = range.split(/\s+/).join(' ')
+
+ // At this point, the range is completely trimmed and
+ // ready to be split into comparators.
+
+ const compRe = loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]
+ return range
+ .split(' ')
+ .map(comp => parseComparator(comp, this.options))
+ .join(' ')
+ .split(/\s+/)
+ .map(comp => replaceGTE0(comp, this.options))
+ // in loose mode, throw out any that are not valid comparators
+ .filter(this.options.loose ? comp => !!comp.match(compRe) : () => true)
+ .map(comp => new Comparator(comp, this.options))
+ }
+
+ intersects (range, options) {
+ if (!(range instanceof Range)) {
+ throw new TypeError('a Range is required')
+ }
+
+ return this.set.some((thisComparators) => {
+ return (
+ isSatisfiable(thisComparators, options) &&
+ range.set.some((rangeComparators) => {
+ return (
+ isSatisfiable(rangeComparators, options) &&
+ thisComparators.every((thisComparator) => {
+ return rangeComparators.every((rangeComparator) => {
+ return thisComparator.intersects(rangeComparator, options)
+ })
+ })
+ )
+ })
+ )
+ })
+ }
+
+ // if ANY of the sets match ALL of its comparators, then pass
+ test (version) {
+ if (!version) {
+ return false
+ }
+
+ if (typeof version === 'string') {
+ try {
+ version = new SemVer(version, this.options)
+ } catch (er) {
+ return false
+ }
+ }
+
+ for (let i = 0; i < this.set.length; i++) {
+ if (testSet(this.set[i], version, this.options)) {
+ return true
+ }
+ }
+ return false
+ }
+}
+module.exports = Range
+
+const Comparator = __nccwpck_require__(1532)
+const debug = __nccwpck_require__(427)
+const SemVer = __nccwpck_require__(8088)
+const {
+ re,
+ t,
+ comparatorTrimReplace,
+ tildeTrimReplace,
+ caretTrimReplace
+} = __nccwpck_require__(9523)
+
+// take a set of comparators and determine whether there
+// exists a version which can satisfy it
+const isSatisfiable = (comparators, options) => {
+ let result = true
+ const remainingComparators = comparators.slice()
+ let testComparator = remainingComparators.pop()
+
+ while (result && remainingComparators.length) {
+ result = remainingComparators.every((otherComparator) => {
+ return testComparator.intersects(otherComparator, options)
+ })
+
+ testComparator = remainingComparators.pop()
+ }
+
+ return result
+}
+
+// comprised of xranges, tildes, stars, and gtlt's at this point.
+// already replaced the hyphen ranges
+// turn into a set of JUST comparators.
+const parseComparator = (comp, options) => {
+ debug('comp', comp, options)
+ comp = replaceCarets(comp, options)
+ debug('caret', comp)
+ comp = replaceTildes(comp, options)
+ debug('tildes', comp)
+ comp = replaceXRanges(comp, options)
+ debug('xrange', comp)
+ comp = replaceStars(comp, options)
+ debug('stars', comp)
+ return comp
+}
+
+const isX = id => !id || id.toLowerCase() === 'x' || id === '*'
+
+// ~, ~> --> * (any, kinda silly)
+// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0-0
+// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0-0
+// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0
+// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0
+// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0
+const replaceTildes = (comp, options) =>
+ comp.trim().split(/\s+/).map((comp) => {
+ return replaceTilde(comp, options)
+ }).join(' ')
+
+const replaceTilde = (comp, options) => {
+ const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE]
+ return comp.replace(r, (_, M, m, p, pr) => {
+ debug('tilde', comp, _, M, m, p, pr)
+ let ret
+
+ if (isX(M)) {
+ ret = ''
+ } else if (isX(m)) {
+ ret = `>=${M}.0.0 <${+M + 1}.0.0-0`
+ } else if (isX(p)) {
+ // ~1.2 == >=1.2.0 <1.3.0-0
+ ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`
+ } else if (pr) {
+ debug('replaceTilde pr', pr)
+ ret = `>=${M}.${m}.${p}-${pr
+ } <${M}.${+m + 1}.0-0`
+ } else {
+ // ~1.2.3 == >=1.2.3 <1.3.0-0
+ ret = `>=${M}.${m}.${p
+ } <${M}.${+m + 1}.0-0`
+ }
+
+ debug('tilde return', ret)
+ return ret
+ })
+}
+
+// ^ --> * (any, kinda silly)
+// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0-0
+// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0-0
+// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0
+// ^1.2.3 --> >=1.2.3 <2.0.0-0
+// ^1.2.0 --> >=1.2.0 <2.0.0-0
+const replaceCarets = (comp, options) =>
+ comp.trim().split(/\s+/).map((comp) => {
+ return replaceCaret(comp, options)
+ }).join(' ')
+
+const replaceCaret = (comp, options) => {
+ debug('caret', comp, options)
+ const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET]
+ const z = options.includePrerelease ? '-0' : ''
+ return comp.replace(r, (_, M, m, p, pr) => {
+ debug('caret', comp, _, M, m, p, pr)
+ let ret
+
+ if (isX(M)) {
+ ret = ''
+ } else if (isX(m)) {
+ ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`
+ } else if (isX(p)) {
+ if (M === '0') {
+ ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`
+ } else {
+ ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`
+ }
+ } else if (pr) {
+ debug('replaceCaret pr', pr)
+ if (M === '0') {
+ if (m === '0') {
+ ret = `>=${M}.${m}.${p}-${pr
+ } <${M}.${m}.${+p + 1}-0`
+ } else {
+ ret = `>=${M}.${m}.${p}-${pr
+ } <${M}.${+m + 1}.0-0`
+ }
+ } else {
+ ret = `>=${M}.${m}.${p}-${pr
+ } <${+M + 1}.0.0-0`
+ }
+ } else {
+ debug('no pr')
+ if (M === '0') {
+ if (m === '0') {
+ ret = `>=${M}.${m}.${p
+ }${z} <${M}.${m}.${+p + 1}-0`
+ } else {
+ ret = `>=${M}.${m}.${p
+ }${z} <${M}.${+m + 1}.0-0`
+ }
+ } else {
+ ret = `>=${M}.${m}.${p
+ } <${+M + 1}.0.0-0`
+ }
+ }
+
+ debug('caret return', ret)
+ return ret
+ })
+}
+
+const replaceXRanges = (comp, options) => {
+ debug('replaceXRanges', comp, options)
+ return comp.split(/\s+/).map((comp) => {
+ return replaceXRange(comp, options)
+ }).join(' ')
+}
+
+const replaceXRange = (comp, options) => {
+ comp = comp.trim()
+ const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE]
+ return comp.replace(r, (ret, gtlt, M, m, p, pr) => {
+ debug('xRange', comp, ret, gtlt, M, m, p, pr)
+ const xM = isX(M)
+ const xm = xM || isX(m)
+ const xp = xm || isX(p)
+ const anyX = xp
+
+ if (gtlt === '=' && anyX) {
+ gtlt = ''
+ }
+
+ // if we're including prereleases in the match, then we need
+ // to fix this to -0, the lowest possible prerelease value
+ pr = options.includePrerelease ? '-0' : ''
+
+ if (xM) {
+ if (gtlt === '>' || gtlt === '<') {
+ // nothing is allowed
+ ret = '<0.0.0-0'
+ } else {
+ // nothing is forbidden
+ ret = '*'
+ }
+ } else if (gtlt && anyX) {
+ // we know patch is an x, because we have any x at all.
+ // replace X with 0
+ if (xm) {
+ m = 0
+ }
+ p = 0
+
+ if (gtlt === '>') {
+ // >1 => >=2.0.0
+ // >1.2 => >=1.3.0
+ gtlt = '>='
+ if (xm) {
+ M = +M + 1
+ m = 0
+ p = 0
+ } else {
+ m = +m + 1
+ p = 0
+ }
+ } else if (gtlt === '<=') {
+ // <=0.7.x is actually <0.8.0, since any 0.7.x should
+ // pass. Similarly, <=7.x is actually <8.0.0, etc.
+ gtlt = '<'
+ if (xm) {
+ M = +M + 1
+ } else {
+ m = +m + 1
+ }
+ }
+
+ if (gtlt === '<')
+ pr = '-0'
+
+ ret = `${gtlt + M}.${m}.${p}${pr}`
+ } else if (xm) {
+ ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`
+ } else if (xp) {
+ ret = `>=${M}.${m}.0${pr
+ } <${M}.${+m + 1}.0-0`
+ }
+
+ debug('xRange return', ret)
+
+ return ret
+ })
+}
+
+// Because * is AND-ed with everything else in the comparator,
+// and '' means "any version", just remove the *s entirely.
+const replaceStars = (comp, options) => {
+ debug('replaceStars', comp, options)
+ // Looseness is ignored here. star is always as loose as it gets!
+ return comp.trim().replace(re[t.STAR], '')
+}
+
+const replaceGTE0 = (comp, options) => {
+ debug('replaceGTE0', comp, options)
+ return comp.trim()
+ .replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], '')
+}
+
+// This function is passed to string.replace(re[t.HYPHENRANGE])
+// M, m, patch, prerelease, build
+// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5
+// 1.2.3 - 3.4 => >=1.2.0 <3.5.0-0 Any 3.4.x will do
+// 1.2 - 3.4 => >=1.2.0 <3.5.0-0
+const hyphenReplace = incPr => ($0,
+ from, fM, fm, fp, fpr, fb,
+ to, tM, tm, tp, tpr, tb) => {
+ if (isX(fM)) {
+ from = ''
+ } else if (isX(fm)) {
+ from = `>=${fM}.0.0${incPr ? '-0' : ''}`
+ } else if (isX(fp)) {
+ from = `>=${fM}.${fm}.0${incPr ? '-0' : ''}`
+ } else if (fpr) {
+ from = `>=${from}`
+ } else {
+ from = `>=${from}${incPr ? '-0' : ''}`
+ }
+
+ if (isX(tM)) {
+ to = ''
+ } else if (isX(tm)) {
+ to = `<${+tM + 1}.0.0-0`
+ } else if (isX(tp)) {
+ to = `<${tM}.${+tm + 1}.0-0`
+ } else if (tpr) {
+ to = `<=${tM}.${tm}.${tp}-${tpr}`
+ } else if (incPr) {
+ to = `<${tM}.${tm}.${+tp + 1}-0`
+ } else {
+ to = `<=${to}`
+ }
+
+ return (`${from} ${to}`).trim()
+}
+
+const testSet = (set, version, options) => {
+ for (let i = 0; i < set.length; i++) {
+ if (!set[i].test(version)) {
+ return false
+ }
+ }
+
+ if (version.prerelease.length && !options.includePrerelease) {
+ // Find the set of versions that are allowed to have prereleases
+ // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0
+ // That should allow `1.2.3-pr.2` to pass.
+ // However, `1.2.4-alpha.notready` should NOT be allowed,
+ // even though it's within the range set by the comparators.
+ for (let i = 0; i < set.length; i++) {
+ debug(set[i].semver)
+ if (set[i].semver === Comparator.ANY) {
+ continue
+ }
+
+ if (set[i].semver.prerelease.length > 0) {
+ const allowed = set[i].semver
+ if (allowed.major === version.major &&
+ allowed.minor === version.minor &&
+ allowed.patch === version.patch) {
+ return true
+ }
+ }
+ }
+
+ // Version has a -pre, but it's not one of the ones we like.
+ return false
+ }
+
+ return true
+}
+
+
+/***/ }),
+
+/***/ 8088:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const debug = __nccwpck_require__(427)
+const { MAX_LENGTH, MAX_SAFE_INTEGER } = __nccwpck_require__(2293)
+const { re, t } = __nccwpck_require__(9523)
+
+const { compareIdentifiers } = __nccwpck_require__(2463)
+class SemVer {
+ constructor (version, options) {
+ if (!options || typeof options !== 'object') {
+ options = {
+ loose: !!options,
+ includePrerelease: false
+ }
+ }
+ if (version instanceof SemVer) {
+ if (version.loose === !!options.loose &&
+ version.includePrerelease === !!options.includePrerelease) {
+ return version
+ } else {
+ version = version.version
+ }
+ } else if (typeof version !== 'string') {
+ throw new TypeError(`Invalid Version: ${version}`)
+ }
+
+ if (version.length > MAX_LENGTH) {
+ throw new TypeError(
+ `version is longer than ${MAX_LENGTH} characters`
+ )
+ }
+
+ debug('SemVer', version, options)
+ this.options = options
+ this.loose = !!options.loose
+ // this isn't actually relevant for versions, but keep it so that we
+ // don't run into trouble passing this.options around.
+ this.includePrerelease = !!options.includePrerelease
+
+ const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL])
+
+ if (!m) {
+ throw new TypeError(`Invalid Version: ${version}`)
+ }
+
+ this.raw = version
+
+ // these are actually numbers
+ this.major = +m[1]
+ this.minor = +m[2]
+ this.patch = +m[3]
+
+ if (this.major > MAX_SAFE_INTEGER || this.major < 0) {
+ throw new TypeError('Invalid major version')
+ }
+
+ if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {
+ throw new TypeError('Invalid minor version')
+ }
+
+ if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {
+ throw new TypeError('Invalid patch version')
+ }
+
+ // numberify any prerelease numeric ids
+ if (!m[4]) {
+ this.prerelease = []
+ } else {
+ this.prerelease = m[4].split('.').map((id) => {
+ if (/^[0-9]+$/.test(id)) {
+ const num = +id
+ if (num >= 0 && num < MAX_SAFE_INTEGER) {
+ return num
+ }
+ }
+ return id
+ })
+ }
+
+ this.build = m[5] ? m[5].split('.') : []
+ this.format()
+ }
+
+ format () {
+ this.version = `${this.major}.${this.minor}.${this.patch}`
+ if (this.prerelease.length) {
+ this.version += `-${this.prerelease.join('.')}`
+ }
+ return this.version
+ }
+
+ toString () {
+ return this.version
+ }
+
+ compare (other) {
+ debug('SemVer.compare', this.version, this.options, other)
+ if (!(other instanceof SemVer)) {
+ if (typeof other === 'string' && other === this.version) {
+ return 0
+ }
+ other = new SemVer(other, this.options)
+ }
+
+ if (other.version === this.version) {
+ return 0
+ }
+
+ return this.compareMain(other) || this.comparePre(other)
+ }
+
+ compareMain (other) {
+ if (!(other instanceof SemVer)) {
+ other = new SemVer(other, this.options)
+ }
+
+ return (
+ compareIdentifiers(this.major, other.major) ||
+ compareIdentifiers(this.minor, other.minor) ||
+ compareIdentifiers(this.patch, other.patch)
+ )
+ }
+
+ comparePre (other) {
+ if (!(other instanceof SemVer)) {
+ other = new SemVer(other, this.options)
+ }
+
+ // NOT having a prerelease is > having one
+ if (this.prerelease.length && !other.prerelease.length) {
+ return -1
+ } else if (!this.prerelease.length && other.prerelease.length) {
+ return 1
+ } else if (!this.prerelease.length && !other.prerelease.length) {
+ return 0
+ }
+
+ let i = 0
+ do {
+ const a = this.prerelease[i]
+ const b = other.prerelease[i]
+ debug('prerelease compare', i, a, b)
+ if (a === undefined && b === undefined) {
+ return 0
+ } else if (b === undefined) {
+ return 1
+ } else if (a === undefined) {
+ return -1
+ } else if (a === b) {
+ continue
+ } else {
+ return compareIdentifiers(a, b)
+ }
+ } while (++i)
+ }
+
+ compareBuild (other) {
+ if (!(other instanceof SemVer)) {
+ other = new SemVer(other, this.options)
+ }
+
+ let i = 0
+ do {
+ const a = this.build[i]
+ const b = other.build[i]
+ debug('prerelease compare', i, a, b)
+ if (a === undefined && b === undefined) {
+ return 0
+ } else if (b === undefined) {
+ return 1
+ } else if (a === undefined) {
+ return -1
+ } else if (a === b) {
+ continue
+ } else {
+ return compareIdentifiers(a, b)
+ }
+ } while (++i)
+ }
+
+ // preminor will bump the version up to the next minor release, and immediately
+ // down to pre-release. premajor and prepatch work the same way.
+ inc (release, identifier) {
+ switch (release) {
+ case 'premajor':
+ this.prerelease.length = 0
+ this.patch = 0
+ this.minor = 0
+ this.major++
+ this.inc('pre', identifier)
+ break
+ case 'preminor':
+ this.prerelease.length = 0
+ this.patch = 0
+ this.minor++
+ this.inc('pre', identifier)
+ break
+ case 'prepatch':
+ // If this is already a prerelease, it will bump to the next version
+ // drop any prereleases that might already exist, since they are not
+ // relevant at this point.
+ this.prerelease.length = 0
+ this.inc('patch', identifier)
+ this.inc('pre', identifier)
+ break
+ // If the input is a non-prerelease version, this acts the same as
+ // prepatch.
+ case 'prerelease':
+ if (this.prerelease.length === 0) {
+ this.inc('patch', identifier)
+ }
+ this.inc('pre', identifier)
+ break
+
+ case 'major':
+ // If this is a pre-major version, bump up to the same major version.
+ // Otherwise increment major.
+ // 1.0.0-5 bumps to 1.0.0
+ // 1.1.0 bumps to 2.0.0
+ if (
+ this.minor !== 0 ||
+ this.patch !== 0 ||
+ this.prerelease.length === 0
+ ) {
+ this.major++
+ }
+ this.minor = 0
+ this.patch = 0
+ this.prerelease = []
+ break
+ case 'minor':
+ // If this is a pre-minor version, bump up to the same minor version.
+ // Otherwise increment minor.
+ // 1.2.0-5 bumps to 1.2.0
+ // 1.2.1 bumps to 1.3.0
+ if (this.patch !== 0 || this.prerelease.length === 0) {
+ this.minor++
+ }
+ this.patch = 0
+ this.prerelease = []
+ break
+ case 'patch':
+ // If this is not a pre-release version, it will increment the patch.
+ // If it is a pre-release it will bump up to the same patch version.
+ // 1.2.0-5 patches to 1.2.0
+ // 1.2.0 patches to 1.2.1
+ if (this.prerelease.length === 0) {
+ this.patch++
+ }
+ this.prerelease = []
+ break
+ // This probably shouldn't be used publicly.
+ // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.
+ case 'pre':
+ if (this.prerelease.length === 0) {
+ this.prerelease = [0]
+ } else {
+ let i = this.prerelease.length
+ while (--i >= 0) {
+ if (typeof this.prerelease[i] === 'number') {
+ this.prerelease[i]++
+ i = -2
+ }
+ }
+ if (i === -1) {
+ // didn't increment anything
+ this.prerelease.push(0)
+ }
+ }
+ if (identifier) {
+ // 1.2.0-beta.1 bumps to 1.2.0-beta.2,
+ // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0
+ if (this.prerelease[0] === identifier) {
+ if (isNaN(this.prerelease[1])) {
+ this.prerelease = [identifier, 0]
+ }
+ } else {
+ this.prerelease = [identifier, 0]
+ }
+ }
+ break
+
+ default:
+ throw new Error(`invalid increment argument: ${release}`)
+ }
+ this.format()
+ this.raw = this.version
+ return this
+ }
+}
+
+module.exports = SemVer
+
+
+/***/ }),
+
+/***/ 8848:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const parse = __nccwpck_require__(5925)
+const clean = (version, options) => {
+ const s = parse(version.trim().replace(/^[=v]+/, ''), options)
+ return s ? s.version : null
+}
+module.exports = clean
+
+
+/***/ }),
+
+/***/ 5098:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const eq = __nccwpck_require__(1898)
+const neq = __nccwpck_require__(6017)
+const gt = __nccwpck_require__(4123)
+const gte = __nccwpck_require__(5522)
+const lt = __nccwpck_require__(194)
+const lte = __nccwpck_require__(7520)
+
+const cmp = (a, op, b, loose) => {
+ switch (op) {
+ case '===':
+ if (typeof a === 'object')
+ a = a.version
+ if (typeof b === 'object')
+ b = b.version
+ return a === b
+
+ case '!==':
+ if (typeof a === 'object')
+ a = a.version
+ if (typeof b === 'object')
+ b = b.version
+ return a !== b
+
+ case '':
+ case '=':
+ case '==':
+ return eq(a, b, loose)
+
+ case '!=':
+ return neq(a, b, loose)
+
+ case '>':
+ return gt(a, b, loose)
+
+ case '>=':
+ return gte(a, b, loose)
+
+ case '<':
+ return lt(a, b, loose)
+
+ case '<=':
+ return lte(a, b, loose)
+
+ default:
+ throw new TypeError(`Invalid operator: ${op}`)
+ }
+}
+module.exports = cmp
+
+
+/***/ }),
+
+/***/ 3466:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const SemVer = __nccwpck_require__(8088)
+const parse = __nccwpck_require__(5925)
+const {re, t} = __nccwpck_require__(9523)
+
+const coerce = (version, options) => {
+ if (version instanceof SemVer) {
+ return version
+ }
+
+ if (typeof version === 'number') {
+ version = String(version)
+ }
+
+ if (typeof version !== 'string') {
+ return null
+ }
+
+ options = options || {}
+
+ let match = null
+ if (!options.rtl) {
+ match = version.match(re[t.COERCE])
+ } else {
+ // Find the right-most coercible string that does not share
+ // a terminus with a more left-ward coercible string.
+ // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4'
+ //
+ // Walk through the string checking with a /g regexp
+ // Manually set the index so as to pick up overlapping matches.
+ // Stop when we get a match that ends at the string end, since no
+ // coercible string can be more right-ward without the same terminus.
+ let next
+ while ((next = re[t.COERCERTL].exec(version)) &&
+ (!match || match.index + match[0].length !== version.length)
+ ) {
+ if (!match ||
+ next.index + next[0].length !== match.index + match[0].length) {
+ match = next
+ }
+ re[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length
+ }
+ // leave it in a clean state
+ re[t.COERCERTL].lastIndex = -1
+ }
+
+ if (match === null)
+ return null
+
+ return parse(`${match[2]}.${match[3] || '0'}.${match[4] || '0'}`, options)
+}
+module.exports = coerce
+
+
+/***/ }),
+
+/***/ 2156:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const SemVer = __nccwpck_require__(8088)
+const compareBuild = (a, b, loose) => {
+ const versionA = new SemVer(a, loose)
+ const versionB = new SemVer(b, loose)
+ return versionA.compare(versionB) || versionA.compareBuild(versionB)
+}
+module.exports = compareBuild
+
+
+/***/ }),
+
+/***/ 2804:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const compare = __nccwpck_require__(4309)
+const compareLoose = (a, b) => compare(a, b, true)
+module.exports = compareLoose
+
+
+/***/ }),
+
+/***/ 4309:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const SemVer = __nccwpck_require__(8088)
+const compare = (a, b, loose) =>
+ new SemVer(a, loose).compare(new SemVer(b, loose))
+
+module.exports = compare
+
+
+/***/ }),
+
+/***/ 4297:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const parse = __nccwpck_require__(5925)
+const eq = __nccwpck_require__(1898)
+
+const diff = (version1, version2) => {
+ if (eq(version1, version2)) {
+ return null
+ } else {
+ const v1 = parse(version1)
+ const v2 = parse(version2)
+ const hasPre = v1.prerelease.length || v2.prerelease.length
+ const prefix = hasPre ? 'pre' : ''
+ const defaultResult = hasPre ? 'prerelease' : ''
+ for (const key in v1) {
+ if (key === 'major' || key === 'minor' || key === 'patch') {
+ if (v1[key] !== v2[key]) {
+ return prefix + key
+ }
+ }
+ }
+ return defaultResult // may be undefined
+ }
+}
+module.exports = diff
+
+
+/***/ }),
+
+/***/ 1898:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const compare = __nccwpck_require__(4309)
+const eq = (a, b, loose) => compare(a, b, loose) === 0
+module.exports = eq
+
+
+/***/ }),
+
+/***/ 4123:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const compare = __nccwpck_require__(4309)
+const gt = (a, b, loose) => compare(a, b, loose) > 0
+module.exports = gt
+
+
+/***/ }),
+
+/***/ 5522:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const compare = __nccwpck_require__(4309)
+const gte = (a, b, loose) => compare(a, b, loose) >= 0
+module.exports = gte
+
+
+/***/ }),
+
+/***/ 929:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const SemVer = __nccwpck_require__(8088)
+
+const inc = (version, release, options, identifier) => {
+ if (typeof (options) === 'string') {
+ identifier = options
+ options = undefined
+ }
+
+ try {
+ return new SemVer(version, options).inc(release, identifier).version
+ } catch (er) {
+ return null
+ }
+}
+module.exports = inc
+
+
+/***/ }),
+
+/***/ 194:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const compare = __nccwpck_require__(4309)
+const lt = (a, b, loose) => compare(a, b, loose) < 0
+module.exports = lt
+
+
+/***/ }),
+
+/***/ 7520:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const compare = __nccwpck_require__(4309)
+const lte = (a, b, loose) => compare(a, b, loose) <= 0
+module.exports = lte
+
+
+/***/ }),
+
+/***/ 6688:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const SemVer = __nccwpck_require__(8088)
+const major = (a, loose) => new SemVer(a, loose).major
+module.exports = major
+
+
+/***/ }),
+
+/***/ 8447:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const SemVer = __nccwpck_require__(8088)
+const minor = (a, loose) => new SemVer(a, loose).minor
+module.exports = minor
+
+
+/***/ }),
+
+/***/ 6017:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const compare = __nccwpck_require__(4309)
+const neq = (a, b, loose) => compare(a, b, loose) !== 0
+module.exports = neq
+
+
+/***/ }),
+
+/***/ 5925:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const {MAX_LENGTH} = __nccwpck_require__(2293)
+const { re, t } = __nccwpck_require__(9523)
+const SemVer = __nccwpck_require__(8088)
+
+const parse = (version, options) => {
+ if (!options || typeof options !== 'object') {
+ options = {
+ loose: !!options,
+ includePrerelease: false
+ }
+ }
+
+ if (version instanceof SemVer) {
+ return version
+ }
+
+ if (typeof version !== 'string') {
+ return null
+ }
+
+ if (version.length > MAX_LENGTH) {
+ return null
+ }
+
+ const r = options.loose ? re[t.LOOSE] : re[t.FULL]
+ if (!r.test(version)) {
+ return null
+ }
+
+ try {
+ return new SemVer(version, options)
+ } catch (er) {
+ return null
+ }
+}
+
+module.exports = parse
+
+
+/***/ }),
+
+/***/ 2866:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const SemVer = __nccwpck_require__(8088)
+const patch = (a, loose) => new SemVer(a, loose).patch
+module.exports = patch
+
+
+/***/ }),
+
+/***/ 6014:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const parse = __nccwpck_require__(5925)
+const prerelease = (version, options) => {
+ const parsed = parse(version, options)
+ return (parsed && parsed.prerelease.length) ? parsed.prerelease : null
+}
+module.exports = prerelease
+
+
+/***/ }),
+
+/***/ 7499:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const compare = __nccwpck_require__(4309)
+const rcompare = (a, b, loose) => compare(b, a, loose)
+module.exports = rcompare
+
+
+/***/ }),
+
+/***/ 8701:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const compareBuild = __nccwpck_require__(2156)
+const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose))
+module.exports = rsort
+
+
+/***/ }),
+
+/***/ 6055:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const Range = __nccwpck_require__(9828)
+const satisfies = (version, range, options) => {
+ try {
+ range = new Range(range, options)
+ } catch (er) {
+ return false
+ }
+ return range.test(version)
+}
+module.exports = satisfies
+
+
+/***/ }),
+
+/***/ 1426:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const compareBuild = __nccwpck_require__(2156)
+const sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose))
+module.exports = sort
+
+
+/***/ }),
+
+/***/ 9601:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const parse = __nccwpck_require__(5925)
+const valid = (version, options) => {
+ const v = parse(version, options)
+ return v ? v.version : null
+}
+module.exports = valid
+
+
+/***/ }),
+
+/***/ 1383:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+// just pre-load all the stuff that index.js lazily exports
+const internalRe = __nccwpck_require__(9523)
+module.exports = {
+ re: internalRe.re,
+ src: internalRe.src,
+ tokens: internalRe.t,
+ SEMVER_SPEC_VERSION: __nccwpck_require__(2293).SEMVER_SPEC_VERSION,
+ SemVer: __nccwpck_require__(8088),
+ compareIdentifiers: __nccwpck_require__(2463).compareIdentifiers,
+ rcompareIdentifiers: __nccwpck_require__(2463).rcompareIdentifiers,
+ parse: __nccwpck_require__(5925),
+ valid: __nccwpck_require__(9601),
+ clean: __nccwpck_require__(8848),
+ inc: __nccwpck_require__(929),
+ diff: __nccwpck_require__(4297),
+ major: __nccwpck_require__(6688),
+ minor: __nccwpck_require__(8447),
+ patch: __nccwpck_require__(2866),
+ prerelease: __nccwpck_require__(6014),
+ compare: __nccwpck_require__(4309),
+ rcompare: __nccwpck_require__(7499),
+ compareLoose: __nccwpck_require__(2804),
+ compareBuild: __nccwpck_require__(2156),
+ sort: __nccwpck_require__(1426),
+ rsort: __nccwpck_require__(8701),
+ gt: __nccwpck_require__(4123),
+ lt: __nccwpck_require__(194),
+ eq: __nccwpck_require__(1898),
+ neq: __nccwpck_require__(6017),
+ gte: __nccwpck_require__(5522),
+ lte: __nccwpck_require__(7520),
+ cmp: __nccwpck_require__(5098),
+ coerce: __nccwpck_require__(3466),
+ Comparator: __nccwpck_require__(1532),
+ Range: __nccwpck_require__(9828),
+ satisfies: __nccwpck_require__(6055),
+ toComparators: __nccwpck_require__(2706),
+ maxSatisfying: __nccwpck_require__(579),
+ minSatisfying: __nccwpck_require__(832),
+ minVersion: __nccwpck_require__(4179),
+ validRange: __nccwpck_require__(2098),
+ outside: __nccwpck_require__(420),
+ gtr: __nccwpck_require__(9380),
+ ltr: __nccwpck_require__(3323),
+ intersects: __nccwpck_require__(7008),
+ simplifyRange: __nccwpck_require__(5297),
+ subset: __nccwpck_require__(7863),
+}
+
+
+/***/ }),
+
+/***/ 2293:
+/***/ ((module) => {
+
+// Note: this is the semver.org version of the spec that it implements
+// Not necessarily the package version of this code.
+const SEMVER_SPEC_VERSION = '2.0.0'
+
+const MAX_LENGTH = 256
+const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||
+ /* istanbul ignore next */ 9007199254740991
+
+// Max safe segment length for coercion.
+const MAX_SAFE_COMPONENT_LENGTH = 16
+
+module.exports = {
+ SEMVER_SPEC_VERSION,
+ MAX_LENGTH,
+ MAX_SAFE_INTEGER,
+ MAX_SAFE_COMPONENT_LENGTH
+}
+
+
+/***/ }),
+
+/***/ 427:
+/***/ ((module) => {
+
+const debug = (
+ typeof process === 'object' &&
+ process.env &&
+ process.env.NODE_DEBUG &&
+ /\bsemver\b/i.test(process.env.NODE_DEBUG)
+) ? (...args) => console.error('SEMVER', ...args)
+ : () => {}
+
+module.exports = debug
+
+
+/***/ }),
+
+/***/ 2463:
+/***/ ((module) => {
+
+const numeric = /^[0-9]+$/
+const compareIdentifiers = (a, b) => {
+ const anum = numeric.test(a)
+ const bnum = numeric.test(b)
+
+ if (anum && bnum) {
+ a = +a
+ b = +b
+ }
+
+ return a === b ? 0
+ : (anum && !bnum) ? -1
+ : (bnum && !anum) ? 1
+ : a < b ? -1
+ : 1
+}
+
+const rcompareIdentifiers = (a, b) => compareIdentifiers(b, a)
+
+module.exports = {
+ compareIdentifiers,
+ rcompareIdentifiers
+}
+
+
+/***/ }),
+
+/***/ 9523:
+/***/ ((module, exports, __nccwpck_require__) => {
+
+const { MAX_SAFE_COMPONENT_LENGTH } = __nccwpck_require__(2293)
+const debug = __nccwpck_require__(427)
+exports = module.exports = {}
+
+// The actual regexps go on exports.re
+const re = exports.re = []
+const src = exports.src = []
+const t = exports.t = {}
+let R = 0
+
+const createToken = (name, value, isGlobal) => {
+ const index = R++
+ debug(index, value)
+ t[name] = index
+ src[index] = value
+ re[index] = new RegExp(value, isGlobal ? 'g' : undefined)
+}
+
+// The following Regular Expressions can be used for tokenizing,
+// validating, and parsing SemVer version strings.
+
+// ## Numeric Identifier
+// A single `0`, or a non-zero digit followed by zero or more digits.
+
+createToken('NUMERICIDENTIFIER', '0|[1-9]\\d*')
+createToken('NUMERICIDENTIFIERLOOSE', '[0-9]+')
+
+// ## Non-numeric Identifier
+// Zero or more digits, followed by a letter or hyphen, and then zero or
+// more letters, digits, or hyphens.
+
+createToken('NONNUMERICIDENTIFIER', '\\d*[a-zA-Z-][a-zA-Z0-9-]*')
+
+// ## Main Version
+// Three dot-separated numeric identifiers.
+
+createToken('MAINVERSION', `(${src[t.NUMERICIDENTIFIER]})\\.` +
+ `(${src[t.NUMERICIDENTIFIER]})\\.` +
+ `(${src[t.NUMERICIDENTIFIER]})`)
+
+createToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.` +
+ `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.` +
+ `(${src[t.NUMERICIDENTIFIERLOOSE]})`)
+
+// ## Pre-release Version Identifier
+// A numeric identifier, or a non-numeric identifier.
+
+createToken('PRERELEASEIDENTIFIER', `(?:${src[t.NUMERICIDENTIFIER]
+}|${src[t.NONNUMERICIDENTIFIER]})`)
+
+createToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NUMERICIDENTIFIERLOOSE]
+}|${src[t.NONNUMERICIDENTIFIER]})`)
+
+// ## Pre-release Version
+// Hyphen, followed by one or more dot-separated pre-release version
+// identifiers.
+
+createToken('PRERELEASE', `(?:-(${src[t.PRERELEASEIDENTIFIER]
+}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`)
+
+createToken('PRERELEASELOOSE', `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]
+}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`)
+
+// ## Build Metadata Identifier
+// Any combination of digits, letters, or hyphens.
+
+createToken('BUILDIDENTIFIER', '[0-9A-Za-z-]+')
+
+// ## Build Metadata
+// Plus sign, followed by one or more period-separated build metadata
+// identifiers.
+
+createToken('BUILD', `(?:\\+(${src[t.BUILDIDENTIFIER]
+}(?:\\.${src[t.BUILDIDENTIFIER]})*))`)
+
+// ## Full Version String
+// A main version, followed optionally by a pre-release version and
+// build metadata.
+
+// Note that the only major, minor, patch, and pre-release sections of
+// the version string are capturing groups. The build metadata is not a
+// capturing group, because it should not ever be used in version
+// comparison.
+
+createToken('FULLPLAIN', `v?${src[t.MAINVERSION]
+}${src[t.PRERELEASE]}?${
+ src[t.BUILD]}?`)
+
+createToken('FULL', `^${src[t.FULLPLAIN]}$`)
+
+// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.
+// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty
+// common in the npm registry.
+createToken('LOOSEPLAIN', `[v=\\s]*${src[t.MAINVERSIONLOOSE]
+}${src[t.PRERELEASELOOSE]}?${
+ src[t.BUILD]}?`)
+
+createToken('LOOSE', `^${src[t.LOOSEPLAIN]}$`)
+
+createToken('GTLT', '((?:<|>)?=?)')
+
+// Something like "2.*" or "1.2.x".
+// Note that "x.x" is a valid xRange identifer, meaning "any version"
+// Only the first item is strictly required.
+createToken('XRANGEIDENTIFIERLOOSE', `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`)
+createToken('XRANGEIDENTIFIER', `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`)
+
+createToken('XRANGEPLAIN', `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})` +
+ `(?:\\.(${src[t.XRANGEIDENTIFIER]})` +
+ `(?:\\.(${src[t.XRANGEIDENTIFIER]})` +
+ `(?:${src[t.PRERELEASE]})?${
+ src[t.BUILD]}?` +
+ `)?)?`)
+
+createToken('XRANGEPLAINLOOSE', `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` +
+ `(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +
+ `(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +
+ `(?:${src[t.PRERELEASELOOSE]})?${
+ src[t.BUILD]}?` +
+ `)?)?`)
+
+createToken('XRANGE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`)
+createToken('XRANGELOOSE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`)
+
+// Coercion.
+// Extract anything that could conceivably be a part of a valid semver
+createToken('COERCE', `${'(^|[^\\d])' +
+ '(\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +
+ `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +
+ `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +
+ `(?:$|[^\\d])`)
+createToken('COERCERTL', src[t.COERCE], true)
+
+// Tilde ranges.
+// Meaning is "reasonably at or greater than"
+createToken('LONETILDE', '(?:~>?)')
+
+createToken('TILDETRIM', `(\\s*)${src[t.LONETILDE]}\\s+`, true)
+exports.tildeTrimReplace = '$1~'
+
+createToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`)
+createToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`)
+
+// Caret ranges.
+// Meaning is "at least and backwards compatible with"
+createToken('LONECARET', '(?:\\^)')
+
+createToken('CARETTRIM', `(\\s*)${src[t.LONECARET]}\\s+`, true)
+exports.caretTrimReplace = '$1^'
+
+createToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`)
+createToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`)
+
+// A simple gt/lt/eq thing, or just "" to indicate "any version"
+createToken('COMPARATORLOOSE', `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`)
+createToken('COMPARATOR', `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`)
+
+// An expression to strip any whitespace between the gtlt and the thing
+// it modifies, so that `> 1.2.3` ==> `>1.2.3`
+createToken('COMPARATORTRIM', `(\\s*)${src[t.GTLT]
+}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true)
+exports.comparatorTrimReplace = '$1$2$3'
+
+// Something like `1.2.3 - 1.2.4`
+// Note that these all use the loose form, because they'll be
+// checked against either the strict or loose comparator form
+// later.
+createToken('HYPHENRANGE', `^\\s*(${src[t.XRANGEPLAIN]})` +
+ `\\s+-\\s+` +
+ `(${src[t.XRANGEPLAIN]})` +
+ `\\s*$`)
+
+createToken('HYPHENRANGELOOSE', `^\\s*(${src[t.XRANGEPLAINLOOSE]})` +
+ `\\s+-\\s+` +
+ `(${src[t.XRANGEPLAINLOOSE]})` +
+ `\\s*$`)
+
+// Star ranges basically just allow anything at all.
+createToken('STAR', '(<|>)?=?\\s*\\*')
+// >=0.0.0 is like a star
+createToken('GTE0', '^\\s*>=\\s*0\.0\.0\\s*$')
+createToken('GTE0PRE', '^\\s*>=\\s*0\.0\.0-0\\s*$')
+
+
+/***/ }),
+
+/***/ 9380:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+// Determine if version is greater than all the versions possible in the range.
+const outside = __nccwpck_require__(420)
+const gtr = (version, range, options) => outside(version, range, '>', options)
+module.exports = gtr
+
+
+/***/ }),
+
+/***/ 7008:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const Range = __nccwpck_require__(9828)
+const intersects = (r1, r2, options) => {
+ r1 = new Range(r1, options)
+ r2 = new Range(r2, options)
+ return r1.intersects(r2)
+}
+module.exports = intersects
+
+
+/***/ }),
+
+/***/ 3323:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const outside = __nccwpck_require__(420)
+// Determine if version is less than all the versions possible in the range
+const ltr = (version, range, options) => outside(version, range, '<', options)
+module.exports = ltr
+
+
+/***/ }),
+
+/***/ 579:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const SemVer = __nccwpck_require__(8088)
+const Range = __nccwpck_require__(9828)
+
+const maxSatisfying = (versions, range, options) => {
+ let max = null
+ let maxSV = null
+ let rangeObj = null
+ try {
+ rangeObj = new Range(range, options)
+ } catch (er) {
+ return null
+ }
+ versions.forEach((v) => {
+ if (rangeObj.test(v)) {
+ // satisfies(v, range, options)
+ if (!max || maxSV.compare(v) === -1) {
+ // compare(max, v, true)
+ max = v
+ maxSV = new SemVer(max, options)
+ }
+ }
+ })
+ return max
+}
+module.exports = maxSatisfying
+
+
+/***/ }),
+
+/***/ 832:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const SemVer = __nccwpck_require__(8088)
+const Range = __nccwpck_require__(9828)
+const minSatisfying = (versions, range, options) => {
+ let min = null
+ let minSV = null
+ let rangeObj = null
+ try {
+ rangeObj = new Range(range, options)
+ } catch (er) {
+ return null
+ }
+ versions.forEach((v) => {
+ if (rangeObj.test(v)) {
+ // satisfies(v, range, options)
+ if (!min || minSV.compare(v) === 1) {
+ // compare(min, v, true)
+ min = v
+ minSV = new SemVer(min, options)
+ }
+ }
+ })
+ return min
+}
+module.exports = minSatisfying
+
+
+/***/ }),
+
+/***/ 4179:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const SemVer = __nccwpck_require__(8088)
+const Range = __nccwpck_require__(9828)
+const gt = __nccwpck_require__(4123)
+
+const minVersion = (range, loose) => {
+ range = new Range(range, loose)
+
+ let minver = new SemVer('0.0.0')
+ if (range.test(minver)) {
+ return minver
+ }
+
+ minver = new SemVer('0.0.0-0')
+ if (range.test(minver)) {
+ return minver
+ }
+
+ minver = null
+ for (let i = 0; i < range.set.length; ++i) {
+ const comparators = range.set[i]
+
+ comparators.forEach((comparator) => {
+ // Clone to avoid manipulating the comparator's semver object.
+ const compver = new SemVer(comparator.semver.version)
+ switch (comparator.operator) {
+ case '>':
+ if (compver.prerelease.length === 0) {
+ compver.patch++
+ } else {
+ compver.prerelease.push(0)
+ }
+ compver.raw = compver.format()
+ /* fallthrough */
+ case '':
+ case '>=':
+ if (!minver || gt(minver, compver)) {
+ minver = compver
+ }
+ break
+ case '<':
+ case '<=':
+ /* Ignore maximum versions */
+ break
+ /* istanbul ignore next */
+ default:
+ throw new Error(`Unexpected operation: ${comparator.operator}`)
+ }
+ })
+ }
+
+ if (minver && range.test(minver)) {
+ return minver
+ }
+
+ return null
+}
+module.exports = minVersion
+
+
+/***/ }),
+
+/***/ 420:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const SemVer = __nccwpck_require__(8088)
+const Comparator = __nccwpck_require__(1532)
+const {ANY} = Comparator
+const Range = __nccwpck_require__(9828)
+const satisfies = __nccwpck_require__(6055)
+const gt = __nccwpck_require__(4123)
+const lt = __nccwpck_require__(194)
+const lte = __nccwpck_require__(7520)
+const gte = __nccwpck_require__(5522)
+
+const outside = (version, range, hilo, options) => {
+ version = new SemVer(version, options)
+ range = new Range(range, options)
+
+ let gtfn, ltefn, ltfn, comp, ecomp
+ switch (hilo) {
+ case '>':
+ gtfn = gt
+ ltefn = lte
+ ltfn = lt
+ comp = '>'
+ ecomp = '>='
+ break
+ case '<':
+ gtfn = lt
+ ltefn = gte
+ ltfn = gt
+ comp = '<'
+ ecomp = '<='
+ break
+ default:
+ throw new TypeError('Must provide a hilo val of "<" or ">"')
+ }
+
+ // If it satisifes the range it is not outside
+ if (satisfies(version, range, options)) {
+ return false
+ }
+
+ // From now on, variable terms are as if we're in "gtr" mode.
+ // but note that everything is flipped for the "ltr" function.
+
+ for (let i = 0; i < range.set.length; ++i) {
+ const comparators = range.set[i]
+
+ let high = null
+ let low = null
+
+ comparators.forEach((comparator) => {
+ if (comparator.semver === ANY) {
+ comparator = new Comparator('>=0.0.0')
+ }
+ high = high || comparator
+ low = low || comparator
+ if (gtfn(comparator.semver, high.semver, options)) {
+ high = comparator
+ } else if (ltfn(comparator.semver, low.semver, options)) {
+ low = comparator
+ }
+ })
+
+ // If the edge version comparator has a operator then our version
+ // isn't outside it
+ if (high.operator === comp || high.operator === ecomp) {
+ return false
+ }
+
+ // If the lowest version comparator has an operator and our version
+ // is less than it then it isn't higher than the range
+ if ((!low.operator || low.operator === comp) &&
+ ltefn(version, low.semver)) {
+ return false
+ } else if (low.operator === ecomp && ltfn(version, low.semver)) {
+ return false
+ }
+ }
+ return true
+}
+
+module.exports = outside
+
+
+/***/ }),
+
+/***/ 5297:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+// given a set of versions and a range, create a "simplified" range
+// that includes the same versions that the original range does
+// If the original range is shorter than the simplified one, return that.
+const satisfies = __nccwpck_require__(6055)
+const compare = __nccwpck_require__(4309)
+module.exports = (versions, range, options) => {
+ const set = []
+ let min = null
+ let prev = null
+ const v = versions.sort((a, b) => compare(a, b, options))
+ for (const version of v) {
+ const included = satisfies(version, range, options)
+ if (included) {
+ prev = version
+ if (!min)
+ min = version
+ } else {
+ if (prev) {
+ set.push([min, prev])
+ }
+ prev = null
+ min = null
+ }
+ }
+ if (min)
+ set.push([min, null])
+
+ const ranges = []
+ for (const [min, max] of set) {
+ if (min === max)
+ ranges.push(min)
+ else if (!max && min === v[0])
+ ranges.push('*')
+ else if (!max)
+ ranges.push(`>=${min}`)
+ else if (min === v[0])
+ ranges.push(`<=${max}`)
+ else
+ ranges.push(`${min} - ${max}`)
+ }
+ const simplified = ranges.join(' || ')
+ const original = typeof range.raw === 'string' ? range.raw : String(range)
+ return simplified.length < original.length ? simplified : range
+}
+
+
+/***/ }),
+
+/***/ 7863:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const Range = __nccwpck_require__(9828)
+const { ANY } = __nccwpck_require__(1532)
+const satisfies = __nccwpck_require__(6055)
+const compare = __nccwpck_require__(4309)
+
+// Complex range `r1 || r2 || ...` is a subset of `R1 || R2 || ...` iff:
+// - Every simple range `r1, r2, ...` is a subset of some `R1, R2, ...`
+//
+// Simple range `c1 c2 ...` is a subset of simple range `C1 C2 ...` iff:
+// - If c is only the ANY comparator
+// - If C is only the ANY comparator, return true
+// - Else return false
+// - Let EQ be the set of = comparators in c
+// - If EQ is more than one, return true (null set)
+// - Let GT be the highest > or >= comparator in c
+// - Let LT be the lowest < or <= comparator in c
+// - If GT and LT, and GT.semver > LT.semver, return true (null set)
+// - If EQ
+// - If GT, and EQ does not satisfy GT, return true (null set)
+// - If LT, and EQ does not satisfy LT, return true (null set)
+// - If EQ satisfies every C, return true
+// - Else return false
+// - If GT
+// - If GT is lower than any > or >= comp in C, return false
+// - If GT is >=, and GT.semver does not satisfy every C, return false
+// - If LT
+// - If LT.semver is greater than that of any > comp in C, return false
+// - If LT is <=, and LT.semver does not satisfy every C, return false
+// - If any C is a = range, and GT or LT are set, return false
+// - Else return true
+
+const subset = (sub, dom, options) => {
+ sub = new Range(sub, options)
+ dom = new Range(dom, options)
+ let sawNonNull = false
+
+ OUTER: for (const simpleSub of sub.set) {
+ for (const simpleDom of dom.set) {
+ const isSub = simpleSubset(simpleSub, simpleDom, options)
+ sawNonNull = sawNonNull || isSub !== null
+ if (isSub)
+ continue OUTER
+ }
+ // the null set is a subset of everything, but null simple ranges in
+ // a complex range should be ignored. so if we saw a non-null range,
+ // then we know this isn't a subset, but if EVERY simple range was null,
+ // then it is a subset.
+ if (sawNonNull)
+ return false
+ }
+ return true
+}
+
+const simpleSubset = (sub, dom, options) => {
+ if (sub.length === 1 && sub[0].semver === ANY)
+ return dom.length === 1 && dom[0].semver === ANY
+
+ const eqSet = new Set()
+ let gt, lt
+ for (const c of sub) {
+ if (c.operator === '>' || c.operator === '>=')
+ gt = higherGT(gt, c, options)
+ else if (c.operator === '<' || c.operator === '<=')
+ lt = lowerLT(lt, c, options)
+ else
+ eqSet.add(c.semver)
+ }
+
+ if (eqSet.size > 1)
+ return null
+
+ let gtltComp
+ if (gt && lt) {
+ gtltComp = compare(gt.semver, lt.semver, options)
+ if (gtltComp > 0)
+ return null
+ else if (gtltComp === 0 && (gt.operator !== '>=' || lt.operator !== '<='))
+ return null
+ }
+
+ // will iterate one or zero times
+ for (const eq of eqSet) {
+ if (gt && !satisfies(eq, String(gt), options))
+ return null
+
+ if (lt && !satisfies(eq, String(lt), options))
+ return null
+
+ for (const c of dom) {
+ if (!satisfies(eq, String(c), options))
+ return false
+ }
+ return true
+ }
+
+ let higher, lower
+ let hasDomLT, hasDomGT
+ for (const c of dom) {
+ hasDomGT = hasDomGT || c.operator === '>' || c.operator === '>='
+ hasDomLT = hasDomLT || c.operator === '<' || c.operator === '<='
+ if (gt) {
+ if (c.operator === '>' || c.operator === '>=') {
+ higher = higherGT(gt, c, options)
+ if (higher === c)
+ return false
+ } else if (gt.operator === '>=' && !satisfies(gt.semver, String(c), options))
+ return false
+ }
+ if (lt) {
+ if (c.operator === '<' || c.operator === '<=') {
+ lower = lowerLT(lt, c, options)
+ if (lower === c)
+ return false
+ } else if (lt.operator === '<=' && !satisfies(lt.semver, String(c), options))
+ return false
+ }
+ if (!c.operator && (lt || gt) && gtltComp !== 0)
+ return false
+ }
+
+ // if there was a < or >, and nothing in the dom, then must be false
+ // UNLESS it was limited by another range in the other direction.
+ // Eg, >1.0.0 <1.0.1 is still a subset of <2.0.0
+ if (gt && hasDomLT && !lt && gtltComp !== 0)
+ return false
+
+ if (lt && hasDomGT && !gt && gtltComp !== 0)
+ return false
+
+ return true
+}
+
+// >=1.2.3 is lower than >1.2.3
+const higherGT = (a, b, options) => {
+ if (!a)
+ return b
+ const comp = compare(a.semver, b.semver, options)
+ return comp > 0 ? a
+ : comp < 0 ? b
+ : b.operator === '>' && a.operator === '>=' ? b
+ : a
+}
+
+// <=1.2.3 is higher than <1.2.3
+const lowerLT = (a, b, options) => {
+ if (!a)
+ return b
+ const comp = compare(a.semver, b.semver, options)
+ return comp < 0 ? a
+ : comp > 0 ? b
+ : b.operator === '<' && a.operator === '<=' ? b
+ : a
+}
+
+module.exports = subset
+
+
+/***/ }),
+
+/***/ 2706:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const Range = __nccwpck_require__(9828)
+
+// Mostly just for testing and legacy API reasons
+const toComparators = (range, options) =>
+ new Range(range, options).set
+ .map(comp => comp.map(c => c.value).join(' ').trim().split(' '))
+
+module.exports = toComparators
+
+
+/***/ }),
+
+/***/ 2098:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+const Range = __nccwpck_require__(9828)
+const validRange = (range, options) => {
+ try {
+ // Return '*' instead of '' so that truthiness works.
+ // This will throw if it's invalid anyway
+ return new Range(range, options).range || '*'
+ } catch (er) {
+ return null
+ }
+}
+module.exports = validRange
+
+
+/***/ }),
+
+/***/ 4334:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+var GetIntrinsic = __nccwpck_require__(4538);
+var callBound = __nccwpck_require__(8803);
+var inspect = __nccwpck_require__(504);
+
+var $TypeError = GetIntrinsic('%TypeError%');
+var $WeakMap = GetIntrinsic('%WeakMap%', true);
+var $Map = GetIntrinsic('%Map%', true);
+
+var $weakMapGet = callBound('WeakMap.prototype.get', true);
+var $weakMapSet = callBound('WeakMap.prototype.set', true);
+var $weakMapHas = callBound('WeakMap.prototype.has', true);
+var $mapGet = callBound('Map.prototype.get', true);
+var $mapSet = callBound('Map.prototype.set', true);
+var $mapHas = callBound('Map.prototype.has', true);
+
+/*
+ * This function traverses the list returning the node corresponding to the
+ * given key.
+ *
+ * That node is also moved to the head of the list, so that if it's accessed
+ * again we don't need to traverse the whole list. By doing so, all the recently
+ * used nodes can be accessed relatively quickly.
+ */
+var listGetNode = function (list, key) { // eslint-disable-line consistent-return
+ for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {
+ if (curr.key === key) {
+ prev.next = curr.next;
+ curr.next = list.next;
+ list.next = curr; // eslint-disable-line no-param-reassign
+ return curr;
+ }
+ }
+};
+
+var listGet = function (objects, key) {
+ var node = listGetNode(objects, key);
+ return node && node.value;
+};
+var listSet = function (objects, key, value) {
+ var node = listGetNode(objects, key);
+ if (node) {
+ node.value = value;
+ } else {
+ // Prepend the new node to the beginning of the list
+ objects.next = { // eslint-disable-line no-param-reassign
+ key: key,
+ next: objects.next,
+ value: value
+ };
+ }
+};
+var listHas = function (objects, key) {
+ return !!listGetNode(objects, key);
+};
+
+module.exports = function getSideChannel() {
+ var $wm;
+ var $m;
+ var $o;
+ var channel = {
+ assert: function (key) {
+ if (!channel.has(key)) {
+ throw new $TypeError('Side channel does not contain ' + inspect(key));
+ }
+ },
+ get: function (key) { // eslint-disable-line consistent-return
+ if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
+ if ($wm) {
+ return $weakMapGet($wm, key);
+ }
+ } else if ($Map) {
+ if ($m) {
+ return $mapGet($m, key);
+ }
+ } else {
+ if ($o) { // eslint-disable-line no-lonely-if
+ return listGet($o, key);
+ }
+ }
+ },
+ has: function (key) {
+ if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
+ if ($wm) {
+ return $weakMapHas($wm, key);
+ }
+ } else if ($Map) {
+ if ($m) {
+ return $mapHas($m, key);
+ }
+ } else {
+ if ($o) { // eslint-disable-line no-lonely-if
+ return listHas($o, key);
+ }
+ }
+ return false;
+ },
+ set: function (key, value) {
+ if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
+ if (!$wm) {
+ $wm = new $WeakMap();
+ }
+ $weakMapSet($wm, key, value);
+ } else if ($Map) {
+ if (!$m) {
+ $m = new $Map();
+ }
+ $mapSet($m, key, value);
+ } else {
+ if (!$o) {
+ /*
+ * Initialize the linked list as an empty node, so that we don't have
+ * to special-case handling of the first node: we can always refer to
+ * it as (previous node).next, instead of something like (list).head
+ */
+ $o = { key: {}, next: null };
+ }
+ listSet($o, key, value);
+ }
+ }
+ };
+ return channel;
+};
+
+
+/***/ }),
+
+/***/ 1744:
+/***/ ((module) => {
+
+"use strict";
+
+
+function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
+
+function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
+
+function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
+
+function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); }
+
+function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
+
+function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
+
+function Agent() {
+ this._defaults = [];
+}
+
+['use', 'on', 'once', 'set', 'query', 'type', 'accept', 'auth', 'withCredentials', 'sortQuery', 'retry', 'ok', 'redirects', 'timeout', 'buffer', 'serialize', 'parse', 'ca', 'key', 'pfx', 'cert', 'disableTLSCerts'].forEach(function (fn) {
+ // Default setting for all requests from this agent
+ Agent.prototype[fn] = function () {
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
+ args[_key] = arguments[_key];
+ }
+
+ this._defaults.push({
+ fn: fn,
+ args: args
+ });
+
+ return this;
+ };
+});
+
+Agent.prototype._setDefaults = function (req) {
+ this._defaults.forEach(function (def) {
+ req[def.fn].apply(req, _toConsumableArray(def.args));
+ });
+};
+
+module.exports = Agent;
+//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9hZ2VudC1iYXNlLmpzIl0sIm5hbWVzIjpbIkFnZW50IiwiX2RlZmF1bHRzIiwiZm9yRWFjaCIsImZuIiwicHJvdG90eXBlIiwiYXJncyIsInB1c2giLCJfc2V0RGVmYXVsdHMiLCJyZXEiLCJkZWYiLCJtb2R1bGUiLCJleHBvcnRzIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7OztBQUFBLFNBQVNBLEtBQVQsR0FBaUI7QUFDZixPQUFLQyxTQUFMLEdBQWlCLEVBQWpCO0FBQ0Q7O0FBRUQsQ0FDRSxLQURGLEVBRUUsSUFGRixFQUdFLE1BSEYsRUFJRSxLQUpGLEVBS0UsT0FMRixFQU1FLE1BTkYsRUFPRSxRQVBGLEVBUUUsTUFSRixFQVNFLGlCQVRGLEVBVUUsV0FWRixFQVdFLE9BWEYsRUFZRSxJQVpGLEVBYUUsV0FiRixFQWNFLFNBZEYsRUFlRSxRQWZGLEVBZ0JFLFdBaEJGLEVBaUJFLE9BakJGLEVBa0JFLElBbEJGLEVBbUJFLEtBbkJ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JyxcbiAgJ2J1ZmZlcicsXG4gICdzZXJpYWxpemUnLFxuICAncGFyc2UnLFxuICAnY2EnLFxuICAna2V5JyxcbiAgJ3BmeCcsXG4gICdjZXJ0JyxcbiAgJ2Rpc2FibGVUTFNDZXJ0cydcbl0uZm9yRWFjaChmbiA9PiB7XG4gIC8vIERlZmF1bHQgc2V0dGluZyBmb3IgYWxsIHJlcXVlc3RzIGZyb20gdGhpcyBhZ2VudFxuICBBZ2VudC5wcm90b3R5cGVbZm5dID0gZnVuY3Rpb24oLi4uYXJncykge1xuICAgIHRoaXMuX2RlZmF1bHRzLnB1c2goeyBmbiwgYXJncyB9KTtcbiAgICByZXR1cm4gdGhpcztcbiAgfTtcbn0pO1xuXG5BZ2VudC5wcm90b3R5cGUuX3NldERlZmF1bHRzID0gZnVuY3Rpb24ocmVxKSB7XG4gIHRoaXMuX2RlZmF1bHRzLmZvckVhY2goZGVmID0+IHtcbiAgICByZXFbZGVmLmZuXSguLi5kZWYuYXJncyk7XG4gIH0pO1xufTtcblxubW9kdWxlLmV4cG9ydHMgPSBBZ2VudDtcbiJdfQ==
+
+/***/ }),
+
+/***/ 5960:
+/***/ ((module) => {
+
+"use strict";
+
+
+function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
+
+/**
+ * Check if `obj` is an object.
+ *
+ * @param {Object} obj
+ * @return {Boolean}
+ * @api private
+ */
+function isObject(obj) {
+ return obj !== null && _typeof(obj) === 'object';
+}
+
+module.exports = isObject;
+//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pcy1vYmplY3QuanMiXSwibmFtZXMiOlsiaXNPYmplY3QiLCJvYmoiLCJtb2R1bGUiLCJleHBvcnRzIl0sIm1hcHBpbmdzIjoiOzs7O0FBQUE7Ozs7Ozs7QUFRQSxTQUFTQSxRQUFULENBQWtCQyxHQUFsQixFQUF1QjtBQUNyQixTQUFPQSxHQUFHLEtBQUssSUFBUixJQUFnQixRQUFPQSxHQUFQLE1BQWUsUUFBdEM7QUFDRDs7QUFFREMsTUFBTSxDQUFDQyxPQUFQLEdBQWlCSCxRQUFqQiIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQ2hlY2sgaWYgYG9iamAgaXMgYW4gb2JqZWN0LlxuICpcbiAqIEBwYXJhbSB7T2JqZWN0fSBvYmpcbiAqIEByZXR1cm4ge0Jvb2xlYW59XG4gKiBAYXBpIHByaXZhdGVcbiAqL1xuXG5mdW5jdGlvbiBpc09iamVjdChvYmopIHtcbiAgcmV0dXJuIG9iaiAhPT0gbnVsbCAmJiB0eXBlb2Ygb2JqID09PSAnb2JqZWN0Jztcbn1cblxubW9kdWxlLmV4cG9ydHMgPSBpc09iamVjdDtcbiJdfQ==
+
+/***/ }),
+
+/***/ 4816:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+/**
+ * Module dependencies.
+ */
+// eslint-disable-next-line node/no-deprecated-api
+var _require = __nccwpck_require__(8835),
+ parse = _require.parse;
+
+var _require2 = __nccwpck_require__(5507),
+ CookieJar = _require2.CookieJar;
+
+var _require3 = __nccwpck_require__(5507),
+ CookieAccessInfo = _require3.CookieAccessInfo;
+
+var methods = __nccwpck_require__(8752);
+
+var request = __nccwpck_require__(1524);
+
+var AgentBase = __nccwpck_require__(1744);
+/**
+ * Expose `Agent`.
+ */
+
+
+module.exports = Agent;
+/**
+ * Initialize a new `Agent`.
+ *
+ * @api public
+ */
+
+function Agent(options) {
+ if (!(this instanceof Agent)) {
+ return new Agent(options);
+ }
+
+ AgentBase.call(this);
+ this.jar = new CookieJar();
+
+ if (options) {
+ if (options.ca) {
+ this.ca(options.ca);
+ }
+
+ if (options.key) {
+ this.key(options.key);
+ }
+
+ if (options.pfx) {
+ this.pfx(options.pfx);
+ }
+
+ if (options.cert) {
+ this.cert(options.cert);
+ }
+
+ if (options.rejectUnauthorized === false) {
+ this.disableTLSCerts();
+ }
+ }
+}
+
+Agent.prototype = Object.create(AgentBase.prototype);
+/**
+ * Save the cookies in the given `res` to
+ * the agent's cookie jar for persistence.
+ *
+ * @param {Response} res
+ * @api private
+ */
+
+Agent.prototype._saveCookies = function (res) {
+ var cookies = res.headers['set-cookie'];
+ if (cookies) this.jar.setCookies(cookies);
+};
+/**
+ * Attach cookies when available to the given `req`.
+ *
+ * @param {Request} req
+ * @api private
+ */
+
+
+Agent.prototype._attachCookies = function (req) {
+ var url = parse(req.url);
+ var access = new CookieAccessInfo(url.hostname, url.pathname, url.protocol === 'https:');
+ var cookies = this.jar.getCookies(access).toValueString();
+ req.cookies = cookies;
+};
+
+methods.forEach(function (name) {
+ var method = name.toUpperCase();
+
+ Agent.prototype[name] = function (url, fn) {
+ var req = new request.Request(method, url);
+ req.on('response', this._saveCookies.bind(this));
+ req.on('redirect', this._saveCookies.bind(this));
+ req.on('redirect', this._attachCookies.bind(this, req));
+
+ this._setDefaults(req);
+
+ this._attachCookies(req);
+
+ if (fn) {
+ req.end(fn);
+ }
+
+ return req;
+ };
+});
+Agent.prototype.del = Agent.prototype.delete;
+//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ub2RlL2FnZW50LmpzIl0sIm5hbWVzIjpbInJlcXVpcmUiLCJwYXJzZSIsIkNvb2tpZUphciIsIkNvb2tpZUFjY2Vzc0luZm8iLCJtZXRob2RzIiwicmVxdWVzdCIsIkFnZW50QmFzZSIsIm1vZHVsZSIsImV4cG9ydHMiLCJBZ2VudCIsIm9wdGlvbnMiLCJjYWxsIiwiamFyIiwiY2EiLCJrZXkiLCJwZngiLCJjZXJ0IiwicmVqZWN0VW5hdXRob3J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MocmVxKTtcblxuICAgIGlmIChmbikge1xuICAgICAgcmVxLmVuZChmbik7XG4gICAgfVxuXG4gICAgcmV0dXJuIHJlcTtcbiAgfTtcbn0pO1xuXG5BZ2VudC5wcm90b3R5cGUuZGVsID0gQWdlbnQucHJvdG90eXBlLmRlbGV0ZTtcbiJdfQ==
+
+/***/ }),
+
+/***/ 3554:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
+
+function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
+
+function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
+
+var Stream = __nccwpck_require__(2413);
+
+var util = __nccwpck_require__(1669);
+
+var net = __nccwpck_require__(1631);
+
+var tls = __nccwpck_require__(4016); // eslint-disable-next-line node/no-deprecated-api
+
+
+var _require = __nccwpck_require__(8835),
+ parse = _require.parse;
+
+var semver = __nccwpck_require__(1383);
+
+var http2;
+if (semver.gte(process.version, 'v10.10.0')) http2 = __nccwpck_require__(7565);else throw new Error('superagent: this version of Node.js does not support http2');
+var _http2$constants = http2.constants,
+ HTTP2_HEADER_PATH = _http2$constants.HTTP2_HEADER_PATH,
+ HTTP2_HEADER_STATUS = _http2$constants.HTTP2_HEADER_STATUS,
+ HTTP2_HEADER_METHOD = _http2$constants.HTTP2_HEADER_METHOD,
+ HTTP2_HEADER_AUTHORITY = _http2$constants.HTTP2_HEADER_AUTHORITY,
+ HTTP2_HEADER_HOST = _http2$constants.HTTP2_HEADER_HOST,
+ HTTP2_HEADER_SET_COOKIE = _http2$constants.HTTP2_HEADER_SET_COOKIE,
+ NGHTTP2_CANCEL = _http2$constants.NGHTTP2_CANCEL;
+
+function setProtocol(protocol) {
+ return {
+ request: function request(options) {
+ return new Request(protocol, options);
+ }
+ };
+}
+
+function Request(protocol, options) {
+ var _this = this;
+
+ Stream.call(this);
+ var defaultPort = protocol === 'https:' ? 443 : 80;
+ var defaultHost = 'localhost';
+ var port = options.port || defaultPort;
+ var host = options.host || defaultHost;
+ delete options.port;
+ delete options.host;
+ this.method = options.method;
+ this.path = options.path;
+ this.protocol = protocol;
+ this.host = host;
+ delete options.method;
+ delete options.path;
+
+ var sessionOptions = _objectSpread({}, options);
+
+ if (options.socketPath) {
+ sessionOptions.socketPath = options.socketPath;
+ sessionOptions.createConnection = this.createUnixConnection.bind(this);
+ }
+
+ this._headers = {};
+ var session = http2.connect("".concat(protocol, "//").concat(host, ":").concat(port), sessionOptions);
+ this.setHeader('host', "".concat(host, ":").concat(port));
+ session.on('error', function (err) {
+ return _this.emit('error', err);
+ });
+ this.session = session;
+}
+/**
+ * Inherit from `Stream` (which inherits from `EventEmitter`).
+ */
+
+
+util.inherits(Request, Stream);
+
+Request.prototype.createUnixConnection = function (authority, options) {
+ switch (this.protocol) {
+ case 'http:':
+ return net.connect(options.socketPath);
+
+ case 'https:':
+ options.ALPNProtocols = ['h2'];
+ options.servername = this.host;
+ options.allowHalfOpen = true;
+ return tls.connect(options.socketPath, options);
+
+ default:
+ throw new Error('Unsupported protocol', this.protocol);
+ }
+}; // eslint-disable-next-line no-unused-vars
+
+
+Request.prototype.setNoDelay = function (bool) {// We can not use setNoDelay with HTTP/2.
+ // Node 10 limits http2session.socket methods to ones safe to use with HTTP/2.
+ // See also https://nodejs.org/api/http2.html#http2_http2session_socket
+};
+
+Request.prototype.getFrame = function () {
+ var _method,
+ _this2 = this;
+
+ if (this.frame) {
+ return this.frame;
+ }
+
+ var method = (_method = {}, _defineProperty(_method, HTTP2_HEADER_PATH, this.path), _defineProperty(_method, HTTP2_HEADER_METHOD, this.method), _method);
+ var headers = this.mapToHttp2Header(this._headers);
+ headers = Object.assign(headers, method);
+ var frame = this.session.request(headers); // eslint-disable-next-line no-unused-vars
+
+ frame.once('response', function (headers, flags) {
+ headers = _this2.mapToHttpHeader(headers);
+ frame.headers = headers;
+ frame.statusCode = headers[HTTP2_HEADER_STATUS];
+ frame.status = frame.statusCode;
+
+ _this2.emit('response', frame);
+ });
+ this._headerSent = true;
+ frame.once('drain', function () {
+ return _this2.emit('drain');
+ });
+ frame.on('error', function (err) {
+ return _this2.emit('error', err);
+ });
+ frame.on('close', function () {
+ return _this2.session.close();
+ });
+ this.frame = frame;
+ return frame;
+};
+
+Request.prototype.mapToHttpHeader = function (headers) {
+ var keys = Object.keys(headers);
+ var http2Headers = {};
+
+ for (var _i = 0, _keys = keys; _i < _keys.length; _i++) {
+ var key = _keys[_i];
+ var value = headers[key];
+ key = key.toLowerCase();
+
+ switch (key) {
+ case HTTP2_HEADER_SET_COOKIE:
+ value = Array.isArray(value) ? value : [value];
+ break;
+
+ default:
+ break;
+ }
+
+ http2Headers[key] = value;
+ }
+
+ return http2Headers;
+};
+
+Request.prototype.mapToHttp2Header = function (headers) {
+ var keys = Object.keys(headers);
+ var http2Headers = {};
+
+ for (var _i2 = 0, _keys2 = keys; _i2 < _keys2.length; _i2++) {
+ var key = _keys2[_i2];
+ var value = headers[key];
+ key = key.toLowerCase();
+
+ switch (key) {
+ case HTTP2_HEADER_HOST:
+ key = HTTP2_HEADER_AUTHORITY;
+ value = /^http:\/\/|^https:\/\//.test(value) ? parse(value).host : value;
+ break;
+
+ default:
+ break;
+ }
+
+ http2Headers[key] = value;
+ }
+
+ return http2Headers;
+};
+
+Request.prototype.setHeader = function (name, value) {
+ this._headers[name.toLowerCase()] = value;
+};
+
+Request.prototype.getHeader = function (name) {
+ return this._headers[name.toLowerCase()];
+};
+
+Request.prototype.write = function (data, encoding) {
+ var frame = this.getFrame();
+ return frame.write(data, encoding);
+};
+
+Request.prototype.pipe = function (stream, options) {
+ var frame = this.getFrame();
+ return frame.pipe(stream, options);
+};
+
+Request.prototype.end = function (data) {
+ var frame = this.getFrame();
+ frame.end(data);
+}; // eslint-disable-next-line no-unused-vars
+
+
+Request.prototype.abort = function (data) {
+ var frame = this.getFrame();
+ frame.close(NGHTTP2_CANCEL);
+ this.session.destroy();
+};
+
+exports.setProtocol = setProtocol;
+//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ub2RlL2h0dHAyd3JhcHBlci5qcyJdLCJuYW1lcyI6WyJTdHJlYW0iLCJyZXF1aXJlIiwidXRpbCIsIm5ldCIsInRscyIsInBhcnNlIiwic2VtdmVyIiwiaHR0cDIiLCJndGUiLCJwcm9jZXNzIiwidmVyc2lvbiIsIkVycm9yIiwiY29uc3RhbnRzIiwiSFRUUDJfSEVBREVSX1BBVEgiLCJIVFRQMl9IRUFERVJfU1RBVFVTIiwiSFRUUDJfSEVBREVSX01FVEhPRCIsIkhUVFAyX0hFQURFUl9BVVRIT1JJVFkiLCJIVFRQMl9IRUFERVJfSE9TVCIsIkhUVFAyX0hFQURFUl9TRVRfQ09PS0lFIiwiTkdIVFRQMl9DQU5DRUwiLCJzZXRQcm90b2NvbCIsInByb3RvY29sIiwicmVxdWVzdCIsIm9wdGlvbnMiLCJSZXF1ZXN0IiwiY2FsbCIsImRlZmF1bHRQb3J0IiwiZGVmYXVsdEhvc3QiLCJwb3J0IiwiaG9zdCIsIm1ldGhvZCIsInBhdGgiLCJzZXNzaW9uT3B0aW9ucyIsInNvY2tldFBhdGgiLCJjcmVhdGVDb25uZWN0aW9uIiwi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uXG4vLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgbm8tdW51c2VkLXZhcnNcblJlcXVlc3QucHJvdG90eXBlLmFib3J0ID0gZnVuY3Rpb24oZGF0YSkge1xuICBjb25zdCBmcmFtZSA9IHRoaXMuZ2V0RnJhbWUoKTtcbiAgZnJhbWUuY2xvc2UoTkdIVFRQMl9DQU5DRUwpO1xuICB0aGlzLnNlc3Npb24uZGVzdHJveSgpO1xufTtcblxuZXhwb3J0cy5zZXRQcm90b2NvbCA9IHNldFByb3RvY29sO1xuIl19
+
+/***/ }),
+
+/***/ 1524:
+/***/ ((module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
+
+/**
+ * Module dependencies.
+ */
+// eslint-disable-next-line node/no-deprecated-api
+var _require = __nccwpck_require__(8835),
+ parse = _require.parse,
+ format = _require.format,
+ resolve = _require.resolve;
+
+var Stream = __nccwpck_require__(2413);
+
+var https = __nccwpck_require__(7211);
+
+var http = __nccwpck_require__(8605);
+
+var fs = __nccwpck_require__(5747);
+
+var zlib = __nccwpck_require__(8761);
+
+var util = __nccwpck_require__(1669);
+
+var qs = __nccwpck_require__(2760);
+
+var mime = __nccwpck_require__(9994);
+
+var methods = __nccwpck_require__(8752);
+
+var FormData = __nccwpck_require__(1826);
+
+var formidable = __nccwpck_require__(5265);
+
+var debug = __nccwpck_require__(8237)('superagent');
+
+var CookieJar = __nccwpck_require__(5507);
+
+var semver = __nccwpck_require__(1383);
+
+var safeStringify = __nccwpck_require__(7676);
+
+var utils = __nccwpck_require__(5523);
+
+var RequestBase = __nccwpck_require__(9723);
+
+var _require2 = __nccwpck_require__(7060),
+ unzip = _require2.unzip;
+
+var Response = __nccwpck_require__(9660);
+
+var http2;
+if (semver.gte(process.version, 'v10.10.0')) http2 = __nccwpck_require__(3554);
+
+function request(method, url) {
+ // callback
+ if (typeof url === 'function') {
+ return new exports.Request('GET', method).end(url);
+ } // url first
+
+
+ if (arguments.length === 1) {
+ return new exports.Request('GET', method);
+ }
+
+ return new exports.Request(method, url);
+}
+
+module.exports = request;
+exports = module.exports;
+/**
+ * Expose `Request`.
+ */
+
+exports.Request = Request;
+/**
+ * Expose the agent function
+ */
+
+exports.agent = __nccwpck_require__(4816);
+/**
+ * Noop.
+ */
+
+function noop() {}
+/**
+ * Expose `Response`.
+ */
+
+
+exports.Response = Response;
+/**
+ * Define "form" mime type.
+ */
+
+mime.define({
+ 'application/x-www-form-urlencoded': ['form', 'urlencoded', 'form-data']
+}, true);
+/**
+ * Protocol map.
+ */
+
+exports.protocols = {
+ 'http:': http,
+ 'https:': https,
+ 'http2:': http2
+};
+/**
+ * Default serialization map.
+ *
+ * superagent.serialize['application/xml'] = function(obj){
+ * return 'generated xml here';
+ * };
+ *
+ */
+
+exports.serialize = {
+ 'application/x-www-form-urlencoded': qs.stringify,
+ 'application/json': safeStringify
+};
+/**
+ * Default parsers.
+ *
+ * superagent.parse['application/xml'] = function(res, fn){
+ * fn(null, res);
+ * };
+ *
+ */
+
+exports.parse = __nccwpck_require__(913);
+/**
+ * Default buffering map. Can be used to set certain
+ * response types to buffer/not buffer.
+ *
+ * superagent.buffer['application/xml'] = true;
+ */
+
+exports.buffer = {};
+/**
+ * Initialize internal header tracking properties on a request instance.
+ *
+ * @param {Object} req the instance
+ * @api private
+ */
+
+function _initHeaders(req) {
+ req._header = {// coerces header names to lowercase
+ };
+ req.header = {// preserves header name case
+ };
+}
+/**
+ * Initialize a new `Request` with the given `method` and `url`.
+ *
+ * @param {String} method
+ * @param {String|Object} url
+ * @api public
+ */
+
+
+function Request(method, url) {
+ Stream.call(this);
+ if (typeof url !== 'string') url = format(url);
+ this._enableHttp2 = Boolean(process.env.HTTP2_TEST); // internal only
+
+ this._agent = false;
+ this._formData = null;
+ this.method = method;
+ this.url = url;
+
+ _initHeaders(this);
+
+ this.writable = true;
+ this._redirects = 0;
+ this.redirects(method === 'HEAD' ? 0 : 5);
+ this.cookies = '';
+ this.qs = {};
+ this._query = [];
+ this.qsRaw = this._query; // Unused, for backwards compatibility only
+
+ this._redirectList = [];
+ this._streamRequest = false;
+ this.once('end', this.clearTimeout.bind(this));
+}
+/**
+ * Inherit from `Stream` (which inherits from `EventEmitter`).
+ * Mixin `RequestBase`.
+ */
+
+
+util.inherits(Request, Stream); // eslint-disable-next-line new-cap
+
+RequestBase(Request.prototype);
+/**
+ * Enable or Disable http2.
+ *
+ * Enable http2.
+ *
+ * ``` js
+ * request.get('http://localhost/')
+ * .http2()
+ * .end(callback);
+ *
+ * request.get('http://localhost/')
+ * .http2(true)
+ * .end(callback);
+ * ```
+ *
+ * Disable http2.
+ *
+ * ``` js
+ * request = request.http2();
+ * request.get('http://localhost/')
+ * .http2(false)
+ * .end(callback);
+ * ```
+ *
+ * @param {Boolean} enable
+ * @return {Request} for chaining
+ * @api public
+ */
+
+Request.prototype.http2 = function (bool) {
+ if (exports.protocols['http2:'] === undefined) {
+ throw new Error('superagent: this version of Node.js does not support http2');
+ }
+
+ this._enableHttp2 = bool === undefined ? true : bool;
+ return this;
+};
+/**
+ * Queue the given `file` as an attachment to the specified `field`,
+ * with optional `options` (or filename).
+ *
+ * ``` js
+ * request.post('http://localhost/upload')
+ * .attach('field', Buffer.from('Hello world'), 'hello.html')
+ * .end(callback);
+ * ```
+ *
+ * A filename may also be used:
+ *
+ * ``` js
+ * request.post('http://localhost/upload')
+ * .attach('files', 'image.jpg')
+ * .end(callback);
+ * ```
+ *
+ * @param {String} field
+ * @param {String|fs.ReadStream|Buffer} file
+ * @param {String|Object} options
+ * @return {Request} for chaining
+ * @api public
+ */
+
+
+Request.prototype.attach = function (field, file, options) {
+ if (file) {
+ if (this._data) {
+ throw new Error("superagent can't mix .send() and .attach()");
+ }
+
+ var o = options || {};
+
+ if (typeof options === 'string') {
+ o = {
+ filename: options
+ };
+ }
+
+ if (typeof file === 'string') {
+ if (!o.filename) o.filename = file;
+ debug('creating `fs.ReadStream` instance for file: %s', file);
+ file = fs.createReadStream(file);
+ } else if (!o.filename && file.path) {
+ o.filename = file.path;
+ }
+
+ this._getFormData().append(field, file, o);
+ }
+
+ return this;
+};
+
+Request.prototype._getFormData = function () {
+ var _this = this;
+
+ if (!this._formData) {
+ this._formData = new FormData();
+
+ this._formData.on('error', function (err) {
+ debug('FormData error', err);
+
+ if (_this.called) {
+ // The request has already finished and the callback was called.
+ // Silently ignore the error.
+ return;
+ }
+
+ _this.callback(err);
+
+ _this.abort();
+ });
+ }
+
+ return this._formData;
+};
+/**
+ * Gets/sets the `Agent` to use for this HTTP request. The default (if this
+ * function is not called) is to opt out of connection pooling (`agent: false`).
+ *
+ * @param {http.Agent} agent
+ * @return {http.Agent}
+ * @api public
+ */
+
+
+Request.prototype.agent = function (agent) {
+ if (arguments.length === 0) return this._agent;
+ this._agent = agent;
+ return this;
+};
+/**
+ * Set _Content-Type_ response header passed through `mime.getType()`.
+ *
+ * Examples:
+ *
+ * request.post('/')
+ * .type('xml')
+ * .send(xmlstring)
+ * .end(callback);
+ *
+ * request.post('/')
+ * .type('json')
+ * .send(jsonstring)
+ * .end(callback);
+ *
+ * request.post('/')
+ * .type('application/json')
+ * .send(jsonstring)
+ * .end(callback);
+ *
+ * @param {String} type
+ * @return {Request} for chaining
+ * @api public
+ */
+
+
+Request.prototype.type = function (type) {
+ return this.set('Content-Type', type.includes('/') ? type : mime.getType(type));
+};
+/**
+ * Set _Accept_ response header passed through `mime.getType()`.
+ *
+ * Examples:
+ *
+ * superagent.types.json = 'application/json';
+ *
+ * request.get('/agent')
+ * .accept('json')
+ * .end(callback);
+ *
+ * request.get('/agent')
+ * .accept('application/json')
+ * .end(callback);
+ *
+ * @param {String} accept
+ * @return {Request} for chaining
+ * @api public
+ */
+
+
+Request.prototype.accept = function (type) {
+ return this.set('Accept', type.includes('/') ? type : mime.getType(type));
+};
+/**
+ * Add query-string `val`.
+ *
+ * Examples:
+ *
+ * request.get('/shoes')
+ * .query('size=10')
+ * .query({ color: 'blue' })
+ *
+ * @param {Object|String} val
+ * @return {Request} for chaining
+ * @api public
+ */
+
+
+Request.prototype.query = function (val) {
+ if (typeof val === 'string') {
+ this._query.push(val);
+ } else {
+ Object.assign(this.qs, val);
+ }
+
+ return this;
+};
+/**
+ * Write raw `data` / `encoding` to the socket.
+ *
+ * @param {Buffer|String} data
+ * @param {String} encoding
+ * @return {Boolean}
+ * @api public
+ */
+
+
+Request.prototype.write = function (data, encoding) {
+ var req = this.request();
+
+ if (!this._streamRequest) {
+ this._streamRequest = true;
+ }
+
+ return req.write(data, encoding);
+};
+/**
+ * Pipe the request body to `stream`.
+ *
+ * @param {Stream} stream
+ * @param {Object} options
+ * @return {Stream}
+ * @api public
+ */
+
+
+Request.prototype.pipe = function (stream, options) {
+ this.piped = true; // HACK...
+
+ this.buffer(false);
+ this.end();
+ return this._pipeContinue(stream, options);
+};
+
+Request.prototype._pipeContinue = function (stream, options) {
+ var _this2 = this;
+
+ this.req.once('response', function (res) {
+ // redirect
+ if (isRedirect(res.statusCode) && _this2._redirects++ !== _this2._maxRedirects) {
+ return _this2._redirect(res) === _this2 ? _this2._pipeContinue(stream, options) : undefined;
+ }
+
+ _this2.res = res;
+
+ _this2._emitResponse();
+
+ if (_this2._aborted) return;
+
+ if (_this2._shouldUnzip(res)) {
+ var unzipObj = zlib.createUnzip();
+ unzipObj.on('error', function (err) {
+ if (err && err.code === 'Z_BUF_ERROR') {
+ // unexpected end of file is ignored by browsers and curl
+ stream.emit('end');
+ return;
+ }
+
+ stream.emit('error', err);
+ });
+ res.pipe(unzipObj).pipe(stream, options);
+ } else {
+ res.pipe(stream, options);
+ }
+
+ res.once('end', function () {
+ _this2.emit('end');
+ });
+ });
+ return stream;
+};
+/**
+ * Enable / disable buffering.
+ *
+ * @return {Boolean} [val]
+ * @return {Request} for chaining
+ * @api public
+ */
+
+
+Request.prototype.buffer = function (val) {
+ this._buffer = val !== false;
+ return this;
+};
+/**
+ * Redirect to `url
+ *
+ * @param {IncomingMessage} res
+ * @return {Request} for chaining
+ * @api private
+ */
+
+
+Request.prototype._redirect = function (res) {
+ var url = res.headers.location;
+
+ if (!url) {
+ return this.callback(new Error('No location header for redirect'), res);
+ }
+
+ debug('redirect %s -> %s', this.url, url); // location
+
+ url = resolve(this.url, url); // ensure the response is being consumed
+ // this is required for Node v0.10+
+
+ res.resume();
+ var headers = this.req.getHeaders ? this.req.getHeaders() : this.req._headers;
+ var changesOrigin = parse(url).host !== parse(this.url).host; // implementation of 302 following defacto standard
+
+ if (res.statusCode === 301 || res.statusCode === 302) {
+ // strip Content-* related fields
+ // in case of POST etc
+ headers = utils.cleanHeader(headers, changesOrigin); // force GET
+
+ this.method = this.method === 'HEAD' ? 'HEAD' : 'GET'; // clear data
+
+ this._data = null;
+ } // 303 is always GET
+
+
+ if (res.statusCode === 303) {
+ // strip Content-* related fields
+ // in case of POST etc
+ headers = utils.cleanHeader(headers, changesOrigin); // force method
+
+ this.method = 'GET'; // clear data
+
+ this._data = null;
+ } // 307 preserves method
+ // 308 preserves method
+
+
+ delete headers.host;
+ delete this.req;
+ delete this._formData; // remove all add header except User-Agent
+
+ _initHeaders(this); // redirect
+
+
+ this._endCalled = false;
+ this.url = url;
+ this.qs = {};
+ this._query.length = 0;
+ this.set(headers);
+ this.emit('redirect', res);
+
+ this._redirectList.push(this.url);
+
+ this.end(this._callback);
+ return this;
+};
+/**
+ * Set Authorization field value with `user` and `pass`.
+ *
+ * Examples:
+ *
+ * .auth('tobi', 'learnboost')
+ * .auth('tobi:learnboost')
+ * .auth('tobi')
+ * .auth(accessToken, { type: 'bearer' })
+ *
+ * @param {String} user
+ * @param {String} [pass]
+ * @param {Object} [options] options with authorization type 'basic' or 'bearer' ('basic' is default)
+ * @return {Request} for chaining
+ * @api public
+ */
+
+
+Request.prototype.auth = function (user, pass, options) {
+ if (arguments.length === 1) pass = '';
+
+ if (_typeof(pass) === 'object' && pass !== null) {
+ // pass is optional and can be replaced with options
+ options = pass;
+ pass = '';
+ }
+
+ if (!options) {
+ options = {
+ type: 'basic'
+ };
+ }
+
+ var encoder = function encoder(string) {
+ return Buffer.from(string).toString('base64');
+ };
+
+ return this._auth(user, pass, options, encoder);
+};
+/**
+ * Set the certificate authority option for https request.
+ *
+ * @param {Buffer | Array} cert
+ * @return {Request} for chaining
+ * @api public
+ */
+
+
+Request.prototype.ca = function (cert) {
+ this._ca = cert;
+ return this;
+};
+/**
+ * Set the client certificate key option for https request.
+ *
+ * @param {Buffer | String} cert
+ * @return {Request} for chaining
+ * @api public
+ */
+
+
+Request.prototype.key = function (cert) {
+ this._key = cert;
+ return this;
+};
+/**
+ * Set the key, certificate, and CA certs of the client in PFX or PKCS12 format.
+ *
+ * @param {Buffer | String} cert
+ * @return {Request} for chaining
+ * @api public
+ */
+
+
+Request.prototype.pfx = function (cert) {
+ if (_typeof(cert) === 'object' && !Buffer.isBuffer(cert)) {
+ this._pfx = cert.pfx;
+ this._passphrase = cert.passphrase;
+ } else {
+ this._pfx = cert;
+ }
+
+ return this;
+};
+/**
+ * Set the client certificate option for https request.
+ *
+ * @param {Buffer | String} cert
+ * @return {Request} for chaining
+ * @api public
+ */
+
+
+Request.prototype.cert = function (cert) {
+ this._cert = cert;
+ return this;
+};
+/**
+ * Do not reject expired or invalid TLS certs.
+ * sets `rejectUnauthorized=true`. Be warned that this allows MITM attacks.
+ *
+ * @return {Request} for chaining
+ * @api public
+ */
+
+
+Request.prototype.disableTLSCerts = function () {
+ this._disableTLSCerts = true;
+ return this;
+};
+/**
+ * Return an http[s] request.
+ *
+ * @return {OutgoingMessage}
+ * @api private
+ */
+// eslint-disable-next-line complexity
+
+
+Request.prototype.request = function () {
+ var _this3 = this;
+
+ if (this.req) return this.req;
+ var options = {};
+
+ try {
+ var query = qs.stringify(this.qs, {
+ indices: false,
+ strictNullHandling: true
+ });
+
+ if (query) {
+ this.qs = {};
+
+ this._query.push(query);
+ }
+
+ this._finalizeQueryString();
+ } catch (err) {
+ return this.emit('error', err);
+ }
+
+ var url = this.url;
+ var retries = this._retries; // Capture backticks as-is from the final query string built above.
+ // Note: this'll only find backticks entered in req.query(String)
+ // calls, because qs.stringify unconditionally encodes backticks.
+
+ var queryStringBackticks;
+
+ if (url.includes('`')) {
+ var queryStartIndex = url.indexOf('?');
+
+ if (queryStartIndex !== -1) {
+ var queryString = url.slice(queryStartIndex + 1);
+ queryStringBackticks = queryString.match(/`|%60/g);
+ }
+ } // default to http://
+
+
+ if (url.indexOf('http') !== 0) url = "http://".concat(url);
+ url = parse(url); // See https://github.com/visionmedia/superagent/issues/1367
+
+ if (queryStringBackticks) {
+ var i = 0;
+ url.query = url.query.replace(/%60/g, function () {
+ return queryStringBackticks[i++];
+ });
+ url.search = "?".concat(url.query);
+ url.path = url.pathname + url.search;
+ } // support unix sockets
+
+
+ if (/^https?\+unix:/.test(url.protocol) === true) {
+ // get the protocol
+ url.protocol = "".concat(url.protocol.split('+')[0], ":"); // get the socket, path
+
+ var unixParts = url.path.match(/^([^/]+)(.+)$/);
+ options.socketPath = unixParts[1].replace(/%2F/g, '/');
+ url.path = unixParts[2];
+ } // Override IP address of a hostname
+
+
+ if (this._connectOverride) {
+ var _url = url,
+ hostname = _url.hostname;
+ var match = hostname in this._connectOverride ? this._connectOverride[hostname] : this._connectOverride['*'];
+
+ if (match) {
+ // backup the real host
+ if (!this._header.host) {
+ this.set('host', url.host);
+ }
+
+ var newHost;
+ var newPort;
+
+ if (_typeof(match) === 'object') {
+ newHost = match.host;
+ newPort = match.port;
+ } else {
+ newHost = match;
+ newPort = url.port;
+ } // wrap [ipv6]
+
+
+ url.host = /:/.test(newHost) ? "[".concat(newHost, "]") : newHost;
+
+ if (newPort) {
+ url.host += ":".concat(newPort);
+ url.port = newPort;
+ }
+
+ url.hostname = newHost;
+ }
+ } // options
+
+
+ options.method = this.method;
+ options.port = url.port;
+ options.path = url.path;
+ options.host = url.hostname;
+ options.ca = this._ca;
+ options.key = this._key;
+ options.pfx = this._pfx;
+ options.cert = this._cert;
+ options.passphrase = this._passphrase;
+ options.agent = this._agent;
+ options.rejectUnauthorized = typeof this._disableTLSCerts === 'boolean' ? !this._disableTLSCerts : process.env.NODE_TLS_REJECT_UNAUTHORIZED !== '0'; // Allows request.get('https://1.2.3.4/').set('Host', 'example.com')
+
+ if (this._header.host) {
+ options.servername = this._header.host.replace(/:\d+$/, '');
+ }
+
+ if (this._trustLocalhost && /^(?:localhost|127\.0\.0\.\d+|(0*:)+:0*1)$/.test(url.hostname)) {
+ options.rejectUnauthorized = false;
+ } // initiate request
+
+
+ var mod = this._enableHttp2 ? exports.protocols['http2:'].setProtocol(url.protocol) : exports.protocols[url.protocol]; // request
+
+ this.req = mod.request(options);
+ var req = this.req; // set tcp no delay
+
+ req.setNoDelay(true);
+
+ if (options.method !== 'HEAD') {
+ req.setHeader('Accept-Encoding', 'gzip, deflate');
+ }
+
+ this.protocol = url.protocol;
+ this.host = url.host; // expose events
+
+ req.once('drain', function () {
+ _this3.emit('drain');
+ });
+ req.on('error', function (err) {
+ // flag abortion here for out timeouts
+ // because node will emit a faux-error "socket hang up"
+ // when request is aborted before a connection is made
+ if (_this3._aborted) return; // if not the same, we are in the **old** (cancelled) request,
+ // so need to continue (same as for above)
+
+ if (_this3._retries !== retries) return; // if we've received a response then we don't want to let
+ // an error in the request blow up the response
+
+ if (_this3.response) return;
+
+ _this3.callback(err);
+ }); // auth
+
+ if (url.auth) {
+ var auth = url.auth.split(':');
+ this.auth(auth[0], auth[1]);
+ }
+
+ if (this.username && this.password) {
+ this.auth(this.username, this.password);
+ }
+
+ for (var key in this.header) {
+ if (Object.prototype.hasOwnProperty.call(this.header, key)) req.setHeader(key, this.header[key]);
+ } // add cookies
+
+
+ if (this.cookies) {
+ if (Object.prototype.hasOwnProperty.call(this._header, 'cookie')) {
+ // merge
+ var tmpJar = new CookieJar.CookieJar();
+ tmpJar.setCookies(this._header.cookie.split(';'));
+ tmpJar.setCookies(this.cookies.split(';'));
+ req.setHeader('Cookie', tmpJar.getCookies(CookieJar.CookieAccessInfo.All).toValueString());
+ } else {
+ req.setHeader('Cookie', this.cookies);
+ }
+ }
+
+ return req;
+};
+/**
+ * Invoke the callback with `err` and `res`
+ * and handle arity check.
+ *
+ * @param {Error} err
+ * @param {Response} res
+ * @api private
+ */
+
+
+Request.prototype.callback = function (err, res) {
+ if (this._shouldRetry(err, res)) {
+ return this._retry();
+ } // Avoid the error which is emitted from 'socket hang up' to cause the fn undefined error on JS runtime.
+
+
+ var fn = this._callback || noop;
+ this.clearTimeout();
+ if (this.called) return console.warn('superagent: double callback bug');
+ this.called = true;
+
+ if (!err) {
+ try {
+ if (!this._isResponseOK(res)) {
+ var msg = 'Unsuccessful HTTP response';
+
+ if (res) {
+ msg = http.STATUS_CODES[res.status] || msg;
+ }
+
+ err = new Error(msg);
+ err.status = res ? res.status : undefined;
+ }
+ } catch (err_) {
+ err = err_;
+ }
+ } // It's important that the callback is called outside try/catch
+ // to avoid double callback
+
+
+ if (!err) {
+ return fn(null, res);
+ }
+
+ err.response = res;
+ if (this._maxRetries) err.retries = this._retries - 1; // only emit error event if there is a listener
+ // otherwise we assume the callback to `.end()` will get the error
+
+ if (err && this.listeners('error').length > 0) {
+ this.emit('error', err);
+ }
+
+ fn(err, res);
+};
+/**
+ * Check if `obj` is a host object,
+ *
+ * @param {Object} obj host object
+ * @return {Boolean} is a host object
+ * @api private
+ */
+
+
+Request.prototype._isHost = function (obj) {
+ return Buffer.isBuffer(obj) || obj instanceof Stream || obj instanceof FormData;
+};
+/**
+ * Initiate request, invoking callback `fn(err, res)`
+ * with an instanceof `Response`.
+ *
+ * @param {Function} fn
+ * @return {Request} for chaining
+ * @api public
+ */
+
+
+Request.prototype._emitResponse = function (body, files) {
+ var response = new Response(this);
+ this.response = response;
+ response.redirects = this._redirectList;
+
+ if (undefined !== body) {
+ response.body = body;
+ }
+
+ response.files = files;
+
+ if (this._endCalled) {
+ response.pipe = function () {
+ throw new Error("end() has already been called, so it's too late to start piping");
+ };
+ }
+
+ this.emit('response', response);
+ return response;
+};
+
+Request.prototype.end = function (fn) {
+ this.request();
+ debug('%s %s', this.method, this.url);
+
+ if (this._endCalled) {
+ throw new Error('.end() was called twice. This is not supported in superagent');
+ }
+
+ this._endCalled = true; // store callback
+
+ this._callback = fn || noop;
+
+ this._end();
+};
+
+Request.prototype._end = function () {
+ var _this4 = this;
+
+ if (this._aborted) return this.callback(new Error('The request has been aborted even before .end() was called'));
+ var data = this._data;
+ var req = this.req;
+ var method = this.method;
+
+ this._setTimeouts(); // body
+
+
+ if (method !== 'HEAD' && !req._headerSent) {
+ // serialize stuff
+ if (typeof data !== 'string') {
+ var contentType = req.getHeader('Content-Type'); // Parse out just the content type from the header (ignore the charset)
+
+ if (contentType) contentType = contentType.split(';')[0];
+ var serialize = this._serializer || exports.serialize[contentType];
+
+ if (!serialize && isJSON(contentType)) {
+ serialize = exports.serialize['application/json'];
+ }
+
+ if (serialize) data = serialize(data);
+ } // content-length
+
+
+ if (data && !req.getHeader('Content-Length')) {
+ req.setHeader('Content-Length', Buffer.isBuffer(data) ? data.length : Buffer.byteLength(data));
+ }
+ } // response
+ // eslint-disable-next-line complexity
+
+
+ req.once('response', function (res) {
+ debug('%s %s -> %s', _this4.method, _this4.url, res.statusCode);
+
+ if (_this4._responseTimeoutTimer) {
+ clearTimeout(_this4._responseTimeoutTimer);
+ }
+
+ if (_this4.piped) {
+ return;
+ }
+
+ var max = _this4._maxRedirects;
+ var mime = utils.type(res.headers['content-type'] || '') || 'text/plain';
+ var type = mime.split('/')[0];
+ var multipart = type === 'multipart';
+ var redirect = isRedirect(res.statusCode);
+ var responseType = _this4._responseType;
+ _this4.res = res; // redirect
+
+ if (redirect && _this4._redirects++ !== max) {
+ return _this4._redirect(res);
+ }
+
+ if (_this4.method === 'HEAD') {
+ _this4.emit('end');
+
+ _this4.callback(null, _this4._emitResponse());
+
+ return;
+ } // zlib support
+
+
+ if (_this4._shouldUnzip(res)) {
+ unzip(req, res);
+ }
+
+ var buffer = _this4._buffer;
+
+ if (buffer === undefined && mime in exports.buffer) {
+ buffer = Boolean(exports.buffer[mime]);
+ }
+
+ var parser = _this4._parser;
+
+ if (undefined === buffer) {
+ if (parser) {
+ console.warn("A custom superagent parser has been set, but buffering strategy for the parser hasn't been configured. Call `req.buffer(true or false)` or set `superagent.buffer[mime] = true or false`");
+ buffer = true;
+ }
+ }
+
+ if (!parser) {
+ if (responseType) {
+ parser = exports.parse.image; // It's actually a generic Buffer
+
+ buffer = true;
+ } else if (multipart) {
+ var form = new formidable.IncomingForm();
+ parser = form.parse.bind(form);
+ buffer = true;
+ } else if (isImageOrVideo(mime)) {
+ parser = exports.parse.image;
+ buffer = true; // For backwards-compatibility buffering default is ad-hoc MIME-dependent
+ } else if (exports.parse[mime]) {
+ parser = exports.parse[mime];
+ } else if (type === 'text') {
+ parser = exports.parse.text;
+ buffer = buffer !== false; // everyone wants their own white-labeled json
+ } else if (isJSON(mime)) {
+ parser = exports.parse['application/json'];
+ buffer = buffer !== false;
+ } else if (buffer) {
+ parser = exports.parse.text;
+ } else if (undefined === buffer) {
+ parser = exports.parse.image; // It's actually a generic Buffer
+
+ buffer = true;
+ }
+ } // by default only buffer text/*, json and messed up thing from hell
+
+
+ if (undefined === buffer && isText(mime) || isJSON(mime)) {
+ buffer = true;
+ }
+
+ _this4._resBuffered = buffer;
+ var parserHandlesEnd = false;
+
+ if (buffer) {
+ // Protectiona against zip bombs and other nuisance
+ var responseBytesLeft = _this4._maxResponseSize || 200000000;
+ res.on('data', function (buf) {
+ responseBytesLeft -= buf.byteLength || buf.length;
+
+ if (responseBytesLeft < 0) {
+ // This will propagate through error event
+ var err = new Error('Maximum response size reached');
+ err.code = 'ETOOLARGE'; // Parsers aren't required to observe error event,
+ // so would incorrectly report success
+
+ parserHandlesEnd = false; // Will emit error event
+
+ res.destroy(err);
+ }
+ });
+ }
+
+ if (parser) {
+ try {
+ // Unbuffered parsers are supposed to emit response early,
+ // which is weird BTW, because response.body won't be there.
+ parserHandlesEnd = buffer;
+ parser(res, function (err, obj, files) {
+ if (_this4.timedout) {
+ // Timeout has already handled all callbacks
+ return;
+ } // Intentional (non-timeout) abort is supposed to preserve partial response,
+ // even if it doesn't parse.
+
+
+ if (err && !_this4._aborted) {
+ return _this4.callback(err);
+ }
+
+ if (parserHandlesEnd) {
+ _this4.emit('end');
+
+ _this4.callback(null, _this4._emitResponse(obj, files));
+ }
+ });
+ } catch (err) {
+ _this4.callback(err);
+
+ return;
+ }
+ }
+
+ _this4.res = res; // unbuffered
+
+ if (!buffer) {
+ debug('unbuffered %s %s', _this4.method, _this4.url);
+
+ _this4.callback(null, _this4._emitResponse());
+
+ if (multipart) return; // allow multipart to handle end event
+
+ res.once('end', function () {
+ debug('end %s %s', _this4.method, _this4.url);
+
+ _this4.emit('end');
+ });
+ return;
+ } // terminating events
+
+
+ res.once('error', function (err) {
+ parserHandlesEnd = false;
+
+ _this4.callback(err, null);
+ });
+ if (!parserHandlesEnd) res.once('end', function () {
+ debug('end %s %s', _this4.method, _this4.url); // TODO: unless buffering emit earlier to stream
+
+ _this4.emit('end');
+
+ _this4.callback(null, _this4._emitResponse());
+ });
+ });
+ this.emit('request', this);
+
+ var getProgressMonitor = function getProgressMonitor() {
+ var lengthComputable = true;
+ var total = req.getHeader('Content-Length');
+ var loaded = 0;
+ var progress = new Stream.Transform();
+
+ progress._transform = function (chunk, encoding, cb) {
+ loaded += chunk.length;
+
+ _this4.emit('progress', {
+ direction: 'upload',
+ lengthComputable: lengthComputable,
+ loaded: loaded,
+ total: total
+ });
+
+ cb(null, chunk);
+ };
+
+ return progress;
+ };
+
+ var bufferToChunks = function bufferToChunks(buffer) {
+ var chunkSize = 16 * 1024; // default highWaterMark value
+
+ var chunking = new Stream.Readable();
+ var totalLength = buffer.length;
+ var remainder = totalLength % chunkSize;
+ var cutoff = totalLength - remainder;
+
+ for (var i = 0; i < cutoff; i += chunkSize) {
+ var chunk = buffer.slice(i, i + chunkSize);
+ chunking.push(chunk);
+ }
+
+ if (remainder > 0) {
+ var remainderBuffer = buffer.slice(-remainder);
+ chunking.push(remainderBuffer);
+ }
+
+ chunking.push(null); // no more data
+
+ return chunking;
+ }; // if a FormData instance got created, then we send that as the request body
+
+
+ var formData = this._formData;
+
+ if (formData) {
+ // set headers
+ var headers = formData.getHeaders();
+
+ for (var i in headers) {
+ if (Object.prototype.hasOwnProperty.call(headers, i)) {
+ debug('setting FormData header: "%s: %s"', i, headers[i]);
+ req.setHeader(i, headers[i]);
+ }
+ } // attempt to get "Content-Length" header
+ // eslint-disable-next-line handle-callback-err
+
+
+ formData.getLength(function (err, length) {
+ // TODO: Add chunked encoding when no length (if err)
+ debug('got FormData Content-Length: %s', length);
+
+ if (typeof length === 'number') {
+ req.setHeader('Content-Length', length);
+ }
+
+ formData.pipe(getProgressMonitor()).pipe(req);
+ });
+ } else if (Buffer.isBuffer(data)) {
+ bufferToChunks(data).pipe(getProgressMonitor()).pipe(req);
+ } else {
+ req.end(data);
+ }
+}; // Check whether response has a non-0-sized gzip-encoded body
+
+
+Request.prototype._shouldUnzip = function (res) {
+ if (res.statusCode === 204 || res.statusCode === 304) {
+ // These aren't supposed to have any body
+ return false;
+ } // header content is a string, and distinction between 0 and no information is crucial
+
+
+ if (res.headers['content-length'] === '0') {
+ // We know that the body is empty (unfortunately, this check does not cover chunked encoding)
+ return false;
+ } // console.log(res);
+
+
+ return /^\s*(?:deflate|gzip)\s*$/.test(res.headers['content-encoding']);
+};
+/**
+ * Overrides DNS for selected hostnames. Takes object mapping hostnames to IP addresses.
+ *
+ * When making a request to a URL with a hostname exactly matching a key in the object,
+ * use the given IP address to connect, instead of using DNS to resolve the hostname.
+ *
+ * A special host `*` matches every hostname (keep redirects in mind!)
+ *
+ * request.connect({
+ * 'test.example.com': '127.0.0.1',
+ * 'ipv6.example.com': '::1',
+ * })
+ */
+
+
+Request.prototype.connect = function (connectOverride) {
+ if (typeof connectOverride === 'string') {
+ this._connectOverride = {
+ '*': connectOverride
+ };
+ } else if (_typeof(connectOverride) === 'object') {
+ this._connectOverride = connectOverride;
+ } else {
+ this._connectOverride = undefined;
+ }
+
+ return this;
+};
+
+Request.prototype.trustLocalhost = function (toggle) {
+ this._trustLocalhost = toggle === undefined ? true : toggle;
+ return this;
+}; // generate HTTP verb methods
+
+
+if (!methods.includes('del')) {
+ // create a copy so we don't cause conflicts with
+ // other packages using the methods package and
+ // npm 3.x
+ methods = methods.slice(0);
+ methods.push('del');
+}
+
+methods.forEach(function (method) {
+ var name = method;
+ method = method === 'del' ? 'delete' : method;
+ method = method.toUpperCase();
+
+ request[name] = function (url, data, fn) {
+ var req = request(method, url);
+
+ if (typeof data === 'function') {
+ fn = data;
+ data = null;
+ }
+
+ if (data) {
+ if (method === 'GET' || method === 'HEAD') {
+ req.query(data);
+ } else {
+ req.send(data);
+ }
+ }
+
+ if (fn) req.end(fn);
+ return req;
+ };
+});
+/**
+ * Check if `mime` is text and should be buffered.
+ *
+ * @param {String} mime
+ * @return {Boolean}
+ * @api public
+ */
+
+function isText(mime) {
+ var parts = mime.split('/');
+ var type = parts[0];
+ var subtype = parts[1];
+ return type === 'text' || subtype === 'x-www-form-urlencoded';
+}
+
+function isImageOrVideo(mime) {
+ var type = mime.split('/')[0];
+ return type === 'image' || type === 'video';
+}
+/**
+ * Check if `mime` is json or has +json structured syntax suffix.
+ *
+ * @param {String} mime
+ * @return {Boolean}
+ * @api private
+ */
+
+
+function isJSON(mime) {
+ // should match /json or +json
+ // but not /json-seq
+ return /[/+]json($|[^-\w])/.test(mime);
+}
+/**
+ * Check if we should follow the redirect `code`.
+ *
+ * @param {Number} code
+ * @return {Boolean}
+ * @api private
+ */
+
+
+function isRedirect(code) {
+ return [301, 302, 303, 305, 307, 308].includes(code);
+}
+//# sourceMappingURL=data:application/json;charset=utf-8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wZSgneG1sJylcbiAqICAgICAgICAuc2VuZCh4bWxzdHJpbmcpXG4gKiAgICAgICAgLmVuZChjYWxsYmFjayk7XG4gKlxuICogICAgICByZXF1ZXN0LnBvc3QoJy8nKVxuICogICAgICAgIC50eXBlKCdqc29uJylcbiAqICAgICAgICAuc2VuZChqc29uc3RyaW5nKVxuICogICAgICAgIC5lbmQoY2FsbGJhY2spO1xuICpcbiAqICAgICAgcmVxdWVzdC5wb3N0KCcvJylcbiAqICAgICAgICAudHlwZSgnYXBwbGljYXRpb24vanNvbicpXG4gKiAgICAgICAgLnNlbmQoanNvbnN0cmluZylcbiAqICAgICAgICAuZW5kKGNhbGxiYWNrKTtcbiAqXG4gKiBAcGFyYW0ge1N0cmluZ30gdHlwZVxuICogQHJldHVybiB7UmVxdWVzdH0gZm9yIGNoYWluaW5nXG4gKiBAYXBpIHB1YmxpY1xuICovXG5cblJlcXVlc3QucHJvdG90eXBlLnR5cGUgPSBmdW5jdGlvbih0eXBlKSB7XG4gIHJldHVybiB0aGlzLnNldChcbiAgICAnQ29udGVudC1UeXBlJyxcbiAgICB0eXBlLmluY2x1ZGVzKCcvJykgPyB0eXBlIDogbWltZS5nZXRUeXBlKHR5cGUpXG4gICk7XG59O1xuXG4vKipcbiAqIFNldCBfQWNjZXB0XyByZXNwb25zZSBoZWFkZXIgcGFzc2VkIHRocm91Z2ggYG1pbWUuZ2V0VHlwZSgpYC5cbiAqXG4gKiBFeGFtcGxlczpcbiAqXG4gKiAgICAgIHN1cGVyYWdlbnQudHlwZXMuanNvbiA9ICdhcHBsaWNhdGlvbi9qc29uJztcbiAqXG4gKiAgICAgIHJlcXVlc3QuZ2V0KCcvYWdlbnQnKVxuICogICAgICAgIC5hY2NlcHQoJ2pzb24nKVxuICogICAgICAgIC5lbmQoY2FsbGJhY2spO1xuICpcbiAqICAgICAgcmVxdWVzdC5nZXQoJy9hZ2VudCcpXG4gKiAgICAgICAgLmFjY2VwdCgnYXBwbGljYXRpb24vanNvbicpXG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N0KG1pbWUpO1xufVxuXG4vKipcbiAqIENoZWNrIGlmIHdlIHNob3VsZCBmb2xsb3cgdGhlIHJlZGlyZWN0IGBjb2RlYC5cbiAqXG4gKiBAcGFyYW0ge051bWJlcn0gY29kZVxuICogQHJldHVybiB7Qm9vbGVhbn1cbiAqIEBhcGkgcHJpdmF0ZVxuICovXG5cbmZ1bmN0aW9uIGlzUmVkaXJlY3QoY29kZSkge1xuICByZXR1cm4gWzMwMSwgMzAyLCAzMDMsIDMwNSwgMzA3LCAzMDhdLmluY2x1ZGVzKGNvZGUpO1xufVxuIl19
+
+/***/ }),
+
+/***/ 4433:
+/***/ ((module) => {
+
+"use strict";
+
+
+module.exports = function (res, fn) {
+ var data = []; // Binary data needs binary storage
+
+ res.on('data', function (chunk) {
+ data.push(chunk);
+ });
+ res.on('end', function () {
+ fn(null, Buffer.concat(data));
+ });
+};
+//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9ub2RlL3BhcnNlcnMvaW1hZ2UuanMiXSwibmFtZXMiOlsibW9kdWxlIiwiZXhwb3J0cyIsInJlcyIsImZuIiwiZGF0YSIsIm9uIiwiY2h1bmsiLCJwdXNoIiwiQnVmZmVyIiwiY29uY2F0Il0sIm1hcHBpbmdzIjoiOztBQUFBQSxNQUFNLENBQUNDLE9BQVAsR0FBaUIsVUFBQ0MsR0FBRCxFQUFNQyxFQUFOLEVBQWE7QUFDNUIsTUFBTUMsSUFBSSxHQUFHLEVBQWIsQ0FENEIsQ0FDWDs7QUFFakJGLEVBQUFBLEdBQUcsQ0FBQ0csRUFBSixDQUFPLE1BQVAsRUFBZSxVQUFBQyxLQUFLLEVBQUk7QUFDdEJGLElBQUFBLElBQUksQ0FBQ0csSUFBTCxDQUFVRCxLQUFWO0FBQ0QsR0FGRDtBQUdBSixFQUFBQSxHQUFHLENBQUNHLEVBQUosQ0FBTyxLQUFQLEVBQWMsWUFBTTtBQUNsQkYsSUFBQUEsRUFBRSxDQUFDLElBQUQsRUFBT0ssTUFBTSxDQUFDQyxNQUFQLENBQWNMLElBQWQsQ0FBUCxDQUFGO0FBQ0QsR0FGRDtBQUdELENBVEQiLCJzb3VyY2VzQ29udGVudCI6WyJtb2R1bGUuZXhwb3J0cyA9IChyZXMsIGZuKSA9PiB7XG4gIGNvbnN0IGRhdGEgPSBbXTsgLy8gQmluYXJ5IGRhdGEgbmVlZHMgYmluYXJ5IHN0b3JhZ2VcblxuICByZXMub24oJ2RhdGEnLCBjaHVuayA9PiB7XG4gICAgZGF0YS5wdXNoKGNodW5rKTtcbiAgfSk7XG4gIHJlcy5vbignZW5kJywgKCkgPT4ge1xuICAgIGZuKG51bGwsIEJ1ZmZlci5jb25jYXQoZGF0YSkpO1xuICB9KTtcbn07XG4iXX0=
+
+/***/ }),
+
+/***/ 913:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+exports["application/x-www-form-urlencoded"] = __nccwpck_require__(9073);
+exports["application/json"] = __nccwpck_require__(2075);
+exports.text = __nccwpck_require__(1715);
+
+var binary = __nccwpck_require__(4433);
+
+exports["application/octet-stream"] = binary;
+exports["application/pdf"] = binary;
+exports.image = binary;
+//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9ub2RlL3BhcnNlcnMvaW5kZXguanMiXSwibmFtZXMiOlsiZXhwb3J0cyIsInJlcXVpcmUiLCJ0ZXh0IiwiYmluYXJ5IiwiaW1hZ2UiXSwibWFwcGluZ3MiOiI7O0FBQUFBLE9BQU8sQ0FBQyxtQ0FBRCxDQUFQLEdBQStDQyxPQUFPLENBQUMsY0FBRCxDQUF0RDtBQUNBRCxPQUFPLENBQUMsa0JBQUQsQ0FBUCxHQUE4QkMsT0FBTyxDQUFDLFFBQUQsQ0FBckM7QUFDQUQsT0FBTyxDQUFDRSxJQUFSLEdBQWVELE9BQU8sQ0FBQyxRQUFELENBQXRCOztBQUVBLElBQU1FLE1BQU0sR0FBR0YsT0FBTyxDQUFDLFNBQUQsQ0FBdEI7O0FBRUFELE9BQU8sQ0FBQywwQkFBRCxDQUFQLEdBQXNDRyxNQUF0QztBQUNBSCxPQUFPLENBQUMsaUJBQUQsQ0FBUCxHQUE2QkcsTUFBN0I7QUFDQUgsT0FBTyxDQUFDSSxLQUFSLEdBQWdCRCxNQUFoQiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydHNbJ2FwcGxpY2F0aW9uL3gtd3d3LWZvcm0tdXJsZW5jb2RlZCddID0gcmVxdWlyZSgnLi91cmxlbmNvZGVkJyk7XG5leHBvcnRzWydhcHBsaWNhdGlvbi9qc29uJ10gPSByZXF1aXJlKCcuL2pzb24nKTtcbmV4cG9ydHMudGV4dCA9IHJlcXVpcmUoJy4vdGV4dCcpO1xuXG5jb25zdCBiaW5hcnkgPSByZXF1aXJlKCcuL2ltYWdlJyk7XG5cbmV4cG9ydHNbJ2FwcGxpY2F0aW9uL29jdGV0LXN0cmVhbSddID0gYmluYXJ5O1xuZXhwb3J0c1snYXBwbGljYXRpb24vcGRmJ10gPSBiaW5hcnk7XG5leHBvcnRzLmltYWdlID0gYmluYXJ5O1xuIl19
+
+/***/ }),
+
+/***/ 2075:
+/***/ ((module) => {
+
+"use strict";
+
+
+module.exports = function (res, fn) {
+ res.text = '';
+ res.setEncoding('utf8');
+ res.on('data', function (chunk) {
+ res.text += chunk;
+ });
+ res.on('end', function () {
+ var body;
+ var err;
+
+ try {
+ body = res.text && JSON.parse(res.text);
+ } catch (err_) {
+ err = err_; // issue #675: return the raw response if the response parsing fails
+
+ err.rawResponse = res.text || null; // issue #876: return the http status code if the response parsing fails
+
+ err.statusCode = res.statusCode;
+ } finally {
+ fn(err, body);
+ }
+ });
+};
+//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL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0FBQ1ksVUFBckI7QUFDRCxLQVJELFNBUVU7QUFDUlgsTUFBQUEsRUFBRSxDQUFDTSxHQUFELEVBQU1ELElBQU4sQ0FBRjtBQUNEO0FBQ0YsR0FkRDtBQWVELENBckJEIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSBmdW5jdGlvbihyZXMsIGZuKSB7XG4gIHJlcy50ZXh0ID0gJyc7XG4gIHJlcy5zZXRFbmNvZGluZygndXRmOCcpO1xuICByZXMub24oJ2RhdGEnLCBjaHVuayA9PiB7XG4gICAgcmVzLnRleHQgKz0gY2h1bms7XG4gIH0pO1xuICByZXMub24oJ2VuZCcsICgpID0+IHtcbiAgICBsZXQgYm9keTtcbiAgICBsZXQgZXJyO1xuICAgIHRyeSB7XG4gICAgICBib2R5ID0gcmVzLnRleHQgJiYgSlNPTi5wYXJzZShyZXMudGV4dCk7XG4gICAgfSBjYXRjaCAoZXJyXykge1xuICAgICAgZXJyID0gZXJyXztcbiAgICAgIC8vIGlzc3VlICM2NzU6IHJldHVybiB0aGUgcmF3IHJlc3BvbnNlIGlmIHRoZSByZXNwb25zZSBwYXJzaW5nIGZhaWxzXG4gICAgICBlcnIucmF3UmVzcG9uc2UgPSByZXMudGV4dCB8fCBudWxsO1xuICAgICAgLy8gaXNzdWUgIzg3NjogcmV0dXJuIHRoZSBodHRwIHN0YXR1cyBjb2RlIGlmIHRoZSByZXNwb25zZSBwYXJzaW5nIGZhaWxzXG4gICAgICBlcnIuc3RhdHVzQ29kZSA9IHJlcy5zdGF0dXNDb2RlO1xuICAgIH0gZmluYWxseSB7XG4gICAgICBmbihlcnIsIGJvZHkpO1xuICAgIH1cbiAgfSk7XG59O1xuIl19
+
+/***/ }),
+
+/***/ 1715:
+/***/ ((module) => {
+
+"use strict";
+
+
+module.exports = function (res, fn) {
+ res.text = '';
+ res.setEncoding('utf8');
+ res.on('data', function (chunk) {
+ res.text += chunk;
+ });
+ res.on('end', fn);
+};
+//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9ub2RlL3BhcnNlcnMvdGV4dC5qcyJdLCJuYW1lcyI6WyJtb2R1bGUiLCJleHBvcnRzIiwicmVzIiwiZm4iLCJ0ZXh0Iiwic2V0RW5jb2RpbmciLCJvbiIsImNodW5rIl0sIm1hcHBpbmdzIjoiOztBQUFBQSxNQUFNLENBQUNDLE9BQVAsR0FBaUIsVUFBQ0MsR0FBRCxFQUFNQyxFQUFOLEVBQWE7QUFDNUJELEVBQUFBLEdBQUcsQ0FBQ0UsSUFBSixHQUFXLEVBQVg7QUFDQUYsRUFBQUEsR0FBRyxDQUFDRyxXQUFKLENBQWdCLE1BQWhCO0FBQ0FILEVBQUFBLEdBQUcsQ0FBQ0ksRUFBSixDQUFPLE1BQVAsRUFBZSxVQUFBQyxLQUFLLEVBQUk7QUFDdEJMLElBQUFBLEdBQUcsQ0FBQ0UsSUFBSixJQUFZRyxLQUFaO0FBQ0QsR0FGRDtBQUdBTCxFQUFBQSxHQUFHLENBQUNJLEVBQUosQ0FBTyxLQUFQLEVBQWNILEVBQWQ7QUFDRCxDQVBEIiwic291cmNlc0NvbnRlbnQiOlsibW9kdWxlLmV4cG9ydHMgPSAocmVzLCBmbikgPT4ge1xuICByZXMudGV4dCA9ICcnO1xuICByZXMuc2V0RW5jb2RpbmcoJ3V0ZjgnKTtcbiAgcmVzLm9uKCdkYXRhJywgY2h1bmsgPT4ge1xuICAgIHJlcy50ZXh0ICs9IGNodW5rO1xuICB9KTtcbiAgcmVzLm9uKCdlbmQnLCBmbik7XG59O1xuIl19
+
+/***/ }),
+
+/***/ 9073:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+/**
+ * Module dependencies.
+ */
+var qs = __nccwpck_require__(2760);
+
+module.exports = function (res, fn) {
+ res.text = '';
+ res.setEncoding('ascii');
+ res.on('data', function (chunk) {
+ res.text += ch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QsQ0FiRCIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogTW9kdWxlIGRlcGVuZGVuY2llcy5cbiAqL1xuXG5jb25zdCBxcyA9IHJlcXVpcmUoJ3FzJyk7XG5cbm1vZHVsZS5leHBvcnRzID0gKHJlcywgZm4pID0+IHtcbiAgcmVzLnRleHQgPSAnJztcbiAgcmVzLnNldEVuY29kaW5nKCdhc2NpaScpO1xuICByZXMub24oJ2RhdGEnLCBjaHVuayA9PiB7XG4gICAgcmVzLnRleHQgKz0gY2h1bms7XG4gIH0pO1xuICByZXMub24oJ2VuZCcsICgpID0+IHtcbiAgICB0cnkge1xuICAgICAgZm4obnVsbCwgcXMucGFyc2UocmVzLnRleHQpKTtcbiAgICB9IGNhdGNoIChlcnIpIHtcbiAgICAgIGZuKGVycik7XG4gICAgfVxuICB9KTtcbn07XG4iXX0=
+
+/***/ }),
+
+/***/ 9660:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+/**
+ * Module dependencies.
+ */
+var util = __nccwpck_require__(1669);
+
+var Stream = __nccwpck_require__(2413);
+
+var ResponseBase = __nccwpck_require__(8637);
+/**
+ * Expose `Response`.
+ */
+
+
+module.exports = Response;
+/**
+ * Initialize a new `Response` with the given `xhr`.
+ *
+ * - set flags (.ok, .error, etc)
+ * - parse header
+ *
+ * @param {Request} req
+ * @param {Object} options
+ * @constructor
+ * @extends {Stream}
+ * @implements {ReadableStream}
+ * @api private
+ */
+
+function Response(req) {
+ Stream.call(this);
+ this.res = req.res;
+ var res = this.res;
+ this.request = req;
+ this.req = req.req;
+ this.text = res.text;
+ this.body = res.body === undefined ? {} : res.body;
+ this.files = res.files || {};
+ this.buffered = req._resBuffered;
+ this.headers = res.headers;
+ this.header = this.headers;
+
+ this._setStatusProperties(res.statusCode);
+
+ this._setHeaderProperties(this.header);
+
+ this.setEncoding = res.setEncoding.bind(res);
+ res.on('data', this.emit.bind(this, 'data'));
+ res.on('end', this.emit.bind(this, 'end'));
+ res.on('close', this.emit.bind(this, 'close'));
+ res.on('error', this.emit.bind(this, 'error'));
+}
+/**
+ * Inherit from `Stream`.
+ */
+
+
+util.inherits(Response, Stream); // eslint-disable-next-line new-cap
+
+ResponseBase(Response.prototype);
+/**
+ * Implements methods of a `ReadableStream`
+ */
+
+Response.prototype.destroy = function (err) {
+ this.res.destroy(err);
+};
+/**
+ * Pause.
+ */
+
+
+Response.prototype.pause = function () {
+ this.res.pause();
+};
+/**
+ * Resume.
+ */
+
+
+Response.prototype.resume = function () {
+ this.res.resume();
+};
+/**
+ * Return an `Error` representative of this response.
+ *
+ * @return {Error}
+ * @api public
+ */
+
+
+Response.prototype.toError = function () {
+ var req = this.req;
+ var method = req.method;
+ var path = req.path;
+ var msg = "cannot ".concat(method, " ").concat(path, " (").concat(this.status, ")");
+ var err = new Error(msg);
+ err.status = this.status;
+ err.text = this.text;
+ err.method = method;
+ err.path = path;
+ return err;
+};
+
+Response.prototype.setStatusProperties = function (status) {
+ console.warn('In superagent 2.x setStatusProperties is a private method');
+ return this._setStatusProperties(status);
+};
+/**
+ * To json.
+ *
+ * @return {Object}
+ * @api public
+ */
+
+
+Response.prototype.toJSON = function () {
+ return {
+ req: this.request.toJSON(),
+ header: this.header,
+ status: this.status,
+ text: this.text
+ };
+};
+//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ub2RlL3Jlc3BvbnNlLmpzIl0sIm5hbWVzIjpbInV0aWwiLCJyZXF1aXJlIiwiU3RyZWFtIiwiUmVzcG9uc2VCYXNlIiwibW9kdWxlIiwiZXhwb3J0cyIsIlJlc3BvbnNlIiwicmVxIiwiY2FsbCIsInJlcyIsInJlcXVlc3QiLCJ0ZXh0IiwiYm9keSIsInVuZGVmaW5lZCIsImZpbGVzIiwiYnVmZmVyZWQiLCJfcmVzQnVmZmVyZWQiLCJoZWFkZXJzIiwiaGVhZGVyIiwiX3NldFN0Y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BlcnIgPSBuZXcgRXJyb3IobXNnKTtcbiAgZXJyLnN0YXR1cyA9IHRoaXMuc3RhdHVzO1xuICBlcnIudGV4dCA9IHRoaXMudGV4dDtcbiAgZXJyLm1ldGhvZCA9IG1ldGhvZDtcbiAgZXJyLnBhdGggPSBwYXRoO1xuXG4gIHJldHVybiBlcnI7XG59O1xuXG5SZXNwb25zZS5wcm90b3R5cGUuc2V0U3RhdHVzUHJvcGVydGllcyA9IGZ1bmN0aW9uKHN0YXR1cykge1xuICBjb25zb2xlLndhcm4oJ0luIHN1cGVyYWdlbnQgMi54IHNldFN0YXR1c1Byb3BlcnRpZXMgaXMgYSBwcml2YXRlIG1ldGhvZCcpO1xuICByZXR1cm4gdGhpcy5fc2V0U3RhdHVzUHJvcGVydGllcyhzdGF0dXMpO1xufTtcblxuLyoqXG4gKiBUbyBqc29uLlxuICpcbiAqIEByZXR1cm4ge09iamVjdH1cbiAqIEBhcGkgcHVibGljXG4gKi9cblxuUmVzcG9uc2UucHJvdG90eXBlLnRvSlNPTiA9IGZ1bmN0aW9uKCkge1xuICByZXR1cm4ge1xuICAgIHJlcTogdGhpcy5yZXF1ZXN0LnRvSlNPTigpLFxuICAgIGhlYWRlcjogdGhpcy5oZWFkZXIsXG4gICAgc3RhdHVzOiB0aGlzLnN0YXR1cyxcbiAgICB0ZXh0OiB0aGlzLnRleHRcbiAgfTtcbn07XG4iXX0=
+
+/***/ }),
+
+/***/ 7060:
+/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+/**
+ * Module dependencies.
+ */
+var _require = __nccwpck_require__(4304),
+ StringDecoder = _require.StringDecoder;
+
+var Stream = __nccwpck_require__(2413);
+
+var zlib = __nccwpck_require__(8761);
+/**
+ * Buffers response data events and re-emits when they're unzipped.
+ *
+ * @param {Request} req
+ * @param {Response} res
+ * @api private
+ */
+
+
+exports.unzip = function (req, res) {
+ var unzip = zlib.createUnzip();
+ var stream = new Stream();
+ var decoder; // make node responseOnEnd() happy
+
+ stream.req = req;
+ unzip.on('error', function (err) {
+ if (err && err.code === 'Z_BUF_ERROR') {
+ // unexpected end of file is ignored by browsers and curl
+ stream.emit('end');
+ return;
+ }
+
+ stream.emit('error', err);
+ }); // pipe to unzip
+
+ res.pipe(unzip); // override `setEncoding` to capture encoding
+
+ res.setEncoding = function (type) {
+ decoder = new StringDecoder(type);
+ }; // decode upon decompressing with captured encoding
+
+
+ unzip.on('data', function (buf) {
+ if (decoder) {
+ var str = decoder.write(buf);
+ if (str.length > 0) stream.emit('data', str);
+ } else {
+ stream.emit('data', buf);
+ }
+ });
+ unzip.on('end', function () {
+ stream.emit('end');
+ }); // override `on` to capture data listeners
+
+ var _on = res.on;
+
+ res.on = function (type, fn) {
+ if (type === 'data' || type === 'end') {
+ stream.on(type, fn.bind(res));
+ } else if (type === 'error') {
+ stream.on(type, fn.bind(res));
+
+ _on.call(res, type, fn);
+ } else {
+ _on.call(res, type, fn);
+ }
+
+ return this;
+ };
+};
+//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9ub2RlL3VuemlwLmpzIl0sIm5hbWVzIjpbInJlcXVpcmUiLCJTdHJpbmdEZWNvZGVyIiwiU3RyZWFtIiwiemxpYiIsImV4cG9ydHMiLCJ1bnppcCIsInJlcSIsInJlcyIsImNyZWF0ZVVuemlwIiwic3RyZWFtIiwiZGVjb2RlciIsIm9uIiwiZXJyIiwiY29kZSIsImVtaXQiLCJwaXBlIiwic2V0RW5jb2RpbmciLCJ0eXBlIiwiYnVmIiwic3RyIiwid3JpdGUiLCJsZW5ndGgiLCJfb24iLCJmbiIsImJpbmQiLCJjYWxsIl0sIm1hcHBpbmdzIjoiOztBQUFBOzs7ZUFJMEJBLE9BQU8sQ0FBQyxnQkFBRCxDO0lBQXpCQyxhLFlBQUFBLGE7O0FBQ1IsSUFBTUMsTUFBTSxHQUFHRixPQUFPLENBQUMsUUFBRCxDQU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ICAgIF9vbi5jYWxsKHJlcywgdHlwZSwgZm4pO1xuICAgIH1cblxuICAgIHJldHVybiB0aGlzO1xuICB9O1xufTtcbiJdfQ==
+
+/***/ }),
+
+/***/ 9723:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
+
+/**
+ * Module of mixed-in functions shared between node and client code
+ */
+var isObject = __nccwpck_require__(5960);
+/**
+ * Expose `RequestBase`.
+ */
+
+
+module.exports = RequestBase;
+/**
+ * Initialize a new `RequestBase`.
+ *
+ * @api public
+ */
+
+function RequestBase(obj) {
+ if (obj) return mixin(obj);
+}
+/**
+ * Mixin the prototype properties.
+ *
+ * @param {Object} obj
+ * @return {Object}
+ * @api private
+ */
+
+
+function mixin(obj) {
+ for (var key in RequestBase.prototype) {
+ if (Object.prototype.hasOwnProperty.call(RequestBase.prototype, key)) obj[key] = RequestBase.prototype[key];
+ }
+
+ return obj;
+}
+/**
+ * Clear previous timeout.
+ *
+ * @return {Request} for chaining
+ * @api public
+ */
+
+
+RequestBase.prototype.clearTimeout = function () {
+ clearTimeout(this._timer);
+ clearTimeout(this._responseTimeoutTimer);
+ clearTimeout(this._uploadTimeoutTimer);
+ delete this._timer;
+ delete this._responseTimeoutTimer;
+ delete this._uploadTimeoutTimer;
+ return this;
+};
+/**
+ * Override default response body parser
+ *
+ * This function will be called to convert incoming data into request.body
+ *
+ * @param {Function}
+ * @api public
+ */
+
+
+RequestBase.prototype.parse = function (fn) {
+ this._parser = fn;
+ return this;
+};
+/**
+ * Set format of binary response body.
+ * In browser valid formats are 'blob' and 'arraybuffer',
+ * which return Blob and ArrayBuffer, respectively.
+ *
+ * In Node all values result in Buffer.
+ *
+ * Examples:
+ *
+ * req.get('/')
+ * .responseType('blob')
+ * .end(callback);
+ *
+ * @param {String} val
+ * @return {Request} for chaining
+ * @api public
+ */
+
+
+RequestBase.prototype.responseType = function (val) {
+ this._responseType = val;
+ return this;
+};
+/**
+ * Override default request body serializer
+ *
+ * This function will be called to convert data set via .send or .attach into payload to send
+ *
+ * @param {Function}
+ * @api public
+ */
+
+
+RequestBase.prototype.serialize = function (fn) {
+ this._serializer = fn;
+ return this;
+};
+/**
+ * Set timeouts.
+ *
+ * - response timeout is time between sending request and receiving the first byte of the response. Includes DNS and connection time.
+ * - deadline is the time from start of the request to receiving response body in full. If the deadline is too short large files may not load at all on slow connections.
+ * - upload is the time since last bit of data was sent or received. This timeout works only if deadline timeout is off
+ *
+ * Value of 0 or false means no timeout.
+ *
+ * @param {Number|Object} ms or {response, deadline}
+ * @return {Request} for chaining
+ * @api public
+ */
+
+
+RequestBase.prototype.timeout = function (options) {
+ if (!options || _typeof(options) !== 'object') {
+ this._timeout = options;
+ this._responseTimeout = 0;
+ this._uploadTimeout = 0;
+ return this;
+ }
+
+ for (var option in options) {
+ if (Object.prototype.hasOwnProperty.call(options, option)) {
+ switch (option) {
+ case 'deadline':
+ this._timeout = options.deadline;
+ break;
+
+ case 'response':
+ this._responseTimeout = options.response;
+ break;
+
+ case 'upload':
+ this._uploadTimeout = options.upload;
+ break;
+
+ default:
+ console.warn('Unknown timeout option', option);
+ }
+ }
+ }
+
+ return this;
+};
+/**
+ * Set number of retry attempts on error.
+ *
+ * Failed requests will be retried 'count' times if timeout or err.code >= 500.
+ *
+ * @param {Number} count
+ * @param {Function} [fn]
+ * @return {Request} for chaining
+ * @api public
+ */
+
+
+RequestBase.prototype.retry = function (count, fn) {
+ // Default to 1 if no count passed or true
+ if (arguments.length === 0 || count === true) count = 1;
+ if (count <= 0) count = 0;
+ this._maxRetries = count;
+ this._retries = 0;
+ this._retryCallback = fn;
+ return this;
+};
+
+var ERROR_CODES = ['ECONNRESET', 'ETIMEDOUT', 'EADDRINFO', 'ESOCKETTIMEDOUT'];
+/**
+ * Determine if a request should be retried.
+ * (Borrowed from segmentio/superagent-retry)
+ *
+ * @param {Error} err an error
+ * @param {Response} [res] response
+ * @returns {Boolean} if segment should be retried
+ */
+
+RequestBase.prototype._shouldRetry = function (err, res) {
+ if (!this._maxRetries || this._retries++ >= this._maxRetries) {
+ return false;
+ }
+
+ if (this._retryCallback) {
+ try {
+ var override = this._retryCallback(err, res);
+
+ if (override === true) return true;
+ if (override === false) return false; // undefined falls back to defaults
+ } catch (err_) {
+ console.error(err_);
+ }
+ }
+
+ if (res && res.status && res.status >= 500 && res.status !== 501) return true;
+
+ if (err) {
+ if (err.code && ERROR_CODES.includes(err.code)) return true; // Superagent timeout
+
+ if (err.timeout && err.code === 'ECONNABORTED') return true;
+ if (err.crossDomain) return true;
+ }
+
+ return false;
+};
+/**
+ * Retry request
+ *
+ * @return {Request} for chaining
+ * @api private
+ */
+
+
+RequestBase.prototype._retry = function () {
+ this.clearTimeout(); // node
+
+ if (this.req) {
+ this.req = null;
+ this.req = this.request();
+ }
+
+ this._aborted = false;
+ this.timedout = false;
+ this.timedoutError = null;
+ return this._end();
+};
+/**
+ * Promise support
+ *
+ * @param {Function} resolve
+ * @param {Function} [reject]
+ * @return {Request}
+ */
+
+
+RequestBase.prototype.then = function (resolve, reject) {
+ var _this = this;
+
+ if (!this._fullfilledPromise) {
+ var self = this;
+
+ if (this._endCalled) {
+ console.warn('Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises');
+ }
+
+ this._fullfilledPromise = new Promise(function (resolve, reject) {
+ self.on('abort', function () {
+ if (_this._maxRetries && _this._maxRetries > _this._retries) {
+ return;
+ }
+
+ if (_this.timedout && _this.timedoutError) {
+ reject(_this.timedoutError);
+ return;
+ }
+
+ var err = new Error('Aborted');
+ err.code = 'ABORTED';
+ err.status = _this.status;
+ err.method = _this.method;
+ err.url = _this.url;
+ reject(err);
+ });
+ self.end(function (err, res) {
+ if (err) reject(err);else resolve(res);
+ });
+ });
+ }
+
+ return this._fullfilledPromise.then(resolve, reject);
+};
+
+RequestBase.prototype.catch = function (cb) {
+ return this.then(undefined, cb);
+};
+/**
+ * Allow for extension
+ */
+
+
+RequestBase.prototype.use = function (fn) {
+ fn(this);
+ return this;
+};
+
+RequestBase.prototype.ok = function (cb) {
+ if (typeof cb !== 'function') throw new Error('Callback required');
+ this._okCallback = cb;
+ return this;
+};
+
+RequestBase.prototype._isResponseOK = function (res) {
+ if (!res) {
+ return false;
+ }
+
+ if (this._okCallback) {
+ return this._okCallback(res);
+ }
+
+ return res.status >= 200 && res.status < 300;
+};
+/**
+ * Get request header `field`.
+ * Case-insensitive.
+ *
+ * @param {String} field
+ * @return {String}
+ * @api public
+ */
+
+
+RequestBase.prototype.get = function (field) {
+ return this._header[field.toLowerCase()];
+};
+/**
+ * Get case-insensitive header `field` value.
+ * This is a deprecated internal API. Use `.get(field)` instead.
+ *
+ * (getHeader is no longer used internally by the superagent code base)
+ *
+ * @param {String} field
+ * @return {String}
+ * @api private
+ * @deprecated
+ */
+
+
+RequestBase.prototype.getHeader = RequestBase.prototype.get;
+/**
+ * Set header `field` to `val`, or multiple fields with one object.
+ * Case-insensitive.
+ *
+ * Examples:
+ *
+ * req.get('/')
+ * .set('Accept', 'application/json')
+ * .set('X-API-Key', 'foobar')
+ * .end(callback);
+ *
+ * req.get('/')
+ * .set({ Accept: 'application/json', 'X-API-Key': 'foobar' })
+ * .end(callback);
+ *
+ * @param {String|Object} field
+ * @param {String} val
+ * @return {Request} for chaining
+ * @api public
+ */
+
+RequestBase.prototype.set = function (field, val) {
+ if (isObject(field)) {
+ for (var key in field) {
+ if (Object.prototype.hasOwnProperty.call(field, key)) this.set(key, field[key]);
+ }
+
+ return this;
+ }
+
+ this._header[field.toLowerCase()] = val;
+ this.header[field] = val;
+ return this;
+};
+/**
+ * Remove header `field`.
+ * Case-insensitive.
+ *
+ * Example:
+ *
+ * req.get('/')
+ * .unset('User-Agent')
+ * .end(callback);
+ *
+ * @param {String} field field name
+ */
+
+
+RequestBase.prototype.unset = function (field) {
+ delete this._header[field.toLowerCase()];
+ delete this.header[field];
+ return this;
+};
+/**
+ * Write the field `name` and `val`, or multiple fields with one object
+ * for "multipart/form-data" request bodies.
+ *
+ * ``` js
+ * request.post('/upload')
+ * .field('foo', 'bar')
+ * .end(callback);
+ *
+ * request.post('/upload')
+ * .field({ foo: 'bar', baz: 'qux' })
+ * .end(callback);
+ * ```
+ *
+ * @param {String|Object} name name of field
+ * @param {String|Blob|File|Buffer|fs.ReadStream} val value of field
+ * @return {Request} for chaining
+ * @api public
+ */
+
+
+RequestBase.prototype.field = function (name, val) {
+ // name should be either a string or an object.
+ if (name === null || undefined === name) {
+ throw new Error('.field(name, val) name can not be empty');
+ }
+
+ if (this._data) {
+ throw new Error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()");
+ }
+
+ if (isObject(name)) {
+ for (var key in name) {
+ if (Object.prototype.hasOwnProperty.call(name, key)) this.field(key, name[key]);
+ }
+
+ return this;
+ }
+
+ if (Array.isArray(val)) {
+ for (var i in val) {
+ if (Object.prototype.hasOwnProperty.call(val, i)) this.field(name, val[i]);
+ }
+
+ return this;
+ } // val should be defined now
+
+
+ if (val === null || undefined === val) {
+ throw new Error('.field(name, val) val can not be empty');
+ }
+
+ if (typeof val === 'boolean') {
+ val = String(val);
+ }
+
+ this._getFormData().append(name, val);
+
+ return this;
+};
+/**
+ * Abort the request, and clear potential timeout.
+ *
+ * @return {Request} request
+ * @api public
+ */
+
+
+RequestBase.prototype.abort = function () {
+ if (this._aborted) {
+ return this;
+ }
+
+ this._aborted = true;
+ if (this.xhr) this.xhr.abort(); // browser
+
+ if (this.req) this.req.abort(); // node
+
+ this.clearTimeout();
+ this.emit('abort');
+ return this;
+};
+
+RequestBase.prototype._auth = function (user, pass, options, base64Encoder) {
+ switch (options.type) {
+ case 'basic':
+ this.set('Authorization', "Basic ".concat(base64Encoder("".concat(user, ":").concat(pass))));
+ break;
+
+ case 'auto':
+ this.username = user;
+ this.password = pass;
+ break;
+
+ case 'bearer':
+ // usage would be .auth(accessToken, { type: 'bearer' })
+ this.set('Authorization', "Bearer ".concat(user));
+ break;
+
+ default:
+ break;
+ }
+
+ return this;
+};
+/**
+ * Enable transmission of cookies with x-domain requests.
+ *
+ * Note that for this to work the origin must not be
+ * using "Access-Control-Allow-Origin" with a wildcard,
+ * and also must set "Access-Control-Allow-Credentials"
+ * to "true".
+ *
+ * @api public
+ */
+
+
+RequestBase.prototype.withCredentials = function (on) {
+ // This is browser-only functionality. Node side is no-op.
+ if (on === undefined) on = true;
+ this._withCredentials = on;
+ return this;
+};
+/**
+ * Set the max redirects to `n`. Does nothing in browser XHR implementation.
+ *
+ * @param {Number} n
+ * @return {Request} for chaining
+ * @api public
+ */
+
+
+RequestBase.prototype.redirects = function (n) {
+ this._maxRedirects = n;
+ return this;
+};
+/**
+ * Maximum size of buffered response body, in bytes. Counts uncompressed size.
+ * Default 200MB.
+ *
+ * @param {Number} n number of bytes
+ * @return {Request} for chaining
+ */
+
+
+RequestBase.prototype.maxResponseSize = function (n) {
+ if (typeof n !== 'number') {
+ throw new TypeError('Invalid argument');
+ }
+
+ this._maxResponseSize = n;
+ return this;
+};
+/**
+ * Convert to a plain javascript object (not JSON string) of scalar properties.
+ * Note as this method is designed to return a useful non-this value,
+ * it cannot be chained.
+ *
+ * @return {Object} describing method, url, and data of this request
+ * @api public
+ */
+
+
+RequestBase.prototype.toJSON = function () {
+ return {
+ method: this.method,
+ url: this.url,
+ data: this._data,
+ headers: this._header
+ };
+};
+/**
+ * Send `data` as the request body, defaulting the `.type()` to "json" when
+ * an object is given.
+ *
+ * Examples:
+ *
+ * // manual json
+ * request.post('/user')
+ * .type('json')
+ * .send('{"name":"tj"}')
+ * .end(callback)
+ *
+ * // auto json
+ * request.post('/user')
+ * .send({ name: 'tj' })
+ * .end(callback)
+ *
+ * // manual x-www-form-urlencoded
+ * request.post('/user')
+ * .type('form')
+ * .send('name=tj')
+ * .end(callback)
+ *
+ * // auto x-www-form-urlencoded
+ * request.post('/user')
+ * .type('form')
+ * .send({ name: 'tj' })
+ * .end(callback)
+ *
+ * // defaults to x-www-form-urlencoded
+ * request.post('/user')
+ * .send('name=tobi')
+ * .send('species=ferret')
+ * .end(callback)
+ *
+ * @param {String|Object} data
+ * @return {Request} for chaining
+ * @api public
+ */
+// eslint-disable-next-line complexity
+
+
+RequestBase.prototype.send = function (data) {
+ var isObj = isObject(data);
+ var type = this._header['content-type'];
+
+ if (this._formData) {
+ throw new Error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()");
+ }
+
+ if (isObj && !this._data) {
+ if (Array.isArray(data)) {
+ this._data = [];
+ } else if (!this._isHost(data)) {
+ this._data = {};
+ }
+ } else if (data && this._data && this._isHost(this._data)) {
+ throw new Error("Can't merge these send calls");
+ } // merge
+
+
+ if (isObj && isObject(this._data)) {
+ for (var key in data) {
+ if (Object.prototype.hasOwnProperty.call(data, key)) this._data[key] = data[key];
+ }
+ } else if (typeof data === 'string') {
+ // default to x-www-form-urlencoded
+ if (!type) this.type('form');
+ type = this._header['content-type'];
+
+ if (type === 'application/x-www-form-urlencoded') {
+ this._data = this._data ? "".concat(this._data, "&").concat(data) : data;
+ } else {
+ this._data = (this._data || '') + data;
+ }
+ } else {
+ this._data = data;
+ }
+
+ if (!isObj || this._isHost(data)) {
+ return this;
+ } // default to json
+
+
+ if (!type) this.type('json');
+ return this;
+};
+/**
+ * Sort `querystring` by the sort function
+ *
+ *
+ * Examples:
+ *
+ * // default order
+ * request.get('/user')
+ * .query('name=Nick')
+ * .query('search=Manny')
+ * .sortQuery()
+ * .end(callback)
+ *
+ * // customized sort function
+ * request.get('/user')
+ * .query('name=Nick')
+ * .query('search=Manny')
+ * .sortQuery(function(a, b){
+ * return a.length - b.length;
+ * })
+ * .end(callback)
+ *
+ *
+ * @param {Function} sort
+ * @return {Request} for chaining
+ * @api public
+ */
+
+
+RequestBase.prototype.sortQuery = function (sort) {
+ // _sort default to true but otherwise can be a function or boolean
+ this._sort = typeof sort === 'undefined' ? true : sort;
+ return this;
+};
+/**
+ * Compose querystring to append to req.url
+ *
+ * @api private
+ */
+
+
+RequestBase.prototype._finalizeQueryString = function () {
+ var query = this._query.join('&');
+
+ if (query) {
+ this.url += (this.url.includes('?') ? '&' : '?') + query;
+ }
+
+ this._query.length = 0; // Makes the call idempotent
+
+ if (this._sort) {
+ var index = this.url.indexOf('?');
+
+ if (index >= 0) {
+ var queryArr = this.url.slice(index + 1).split('&');
+
+ if (typeof this._sort === 'function') {
+ queryArr.sort(this._sort);
+ } else {
+ queryArr.sort();
+ }
+
+ this.url = this.url.slice(0, index) + '?' + queryArr.join('&');
+ }
+ }
+}; // For backwards compat only
+
+
+RequestBase.prototype._appendQueryString = function () {
+ console.warn('Unsupported');
+};
+/**
+ * Invoke callback with timeout error.
+ *
+ * @api private
+ */
+
+
+RequestBase.prototype._timeoutError = function (reason, timeout, errno) {
+ if (this._aborted) {
+ return;
+ }
+
+ var err = new Error("".concat(reason + timeout, "ms exceeded"));
+ err.timeout = timeout;
+ err.code = 'ECONNABORTED';
+ err.errno = errno;
+ this.timedout = true;
+ this.timedoutError = err;
+ this.abort();
+ this.callback(err);
+};
+
+RequestBase.prototype._setTimeouts = function () {
+ var self = this; // deadline
+
+ if (this._timeout && !this._timer) {
+ this._timer = setTimeout(function () {
+ self._timeoutError('Timeout of ', self._timeout, 'ETIME');
+ }, this._timeout);
+ } // response timeout
+
+
+ if (this._responseTimeout && !this._responseTimeoutTimer) {
+ this._responseTimeoutTimer = setTimeout(function () {
+ self._timeoutError('Response timeout of ', self._responseTimeout, 'ETIMEDOUT');
+ }, this._responseTimeout);
+ }
+};
+//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9yZXF1ZXN0LWJhc2UuanMiXSwibmFtZXMiOlsiaXNPYmplY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xuICAgIH0sIHRoaXMuX3RpbWVvdXQpO1xuICB9XG5cbiAgLy8gcmVzcG9uc2UgdGltZW91dFxuICBpZiAodGhpcy5fcmVzcG9uc2VUaW1lb3V0ICYmICF0aGlzLl9yZXNwb25zZVRpbWVvdXRUaW1lcikge1xuICAgIHRoaXMuX3Jlc3BvbnNlVGltZW91dFRpbWVyID0gc2V0VGltZW91dCgoKSA9PiB7XG4gICAgICBzZWxmLl90aW1lb3V0RXJyb3IoXG4gICAgICAgICdSZXNwb25zZSB0aW1lb3V0IG9mICcsXG4gICAgICAgIHNlbGYuX3Jlc3BvbnNlVGltZW91dCxcbiAgICAgICAgJ0VUSU1FRE9VVCdcbiAgICAgICk7XG4gICAgfSwgdGhpcy5fcmVzcG9uc2VUaW1lb3V0KTtcbiAgfVxufTtcbiJdfQ==
+
+/***/ }),
+
+/***/ 8637:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+
+/**
+ * Module dependencies.
+ */
+var utils = __nccwpck_require__(5523);
+/**
+ * Expose `ResponseBase`.
+ */
+
+
+module.exports = ResponseBase;
+/**
+ * Initialize a new `ResponseBase`.
+ *
+ * @api public
+ */
+
+function ResponseBase(obj) {
+ if (obj) return mixin(obj);
+}
+/**
+ * Mixin the prototype properties.
+ *
+ * @param {Object} obj
+ * @return {Object}
+ * @api private
+ */
+
+
+function mixin(obj) {
+ for (var key in ResponseBase.prototype) {
+ if (Object.prototype.hasOwnProperty.call(ResponseBase.prototype, key)) obj[key] = ResponseBase.prototype[key];
+ }
+
+ return obj;
+}
+/**
+ * Get case-insensitive `field` value.
+ *
+ * @param {String} field
+ * @return {String}
+ * @api public
+ */
+
+
+ResponseBase.prototype.get = function (field) {
+ return this.header[field.toLowerCase()];
+};
+/**
+ * Set header related properties:
+ *
+ * - `.type` the content type without params
+ *
+ * A response of "Content-Type: text/plain; charset=utf-8"
+ * will provide you with a `.type` of "text/plain".
+ *
+ * @param {Object} header
+ * @api private
+ */
+
+
+ResponseBase.prototype._setHeaderProperties = function (header) {
+ // TODO: moar!
+ // TODO: make this a util
+ // content-type
+ var ct = header['content-type'] || '';
+ this.type = utils.type(ct); // params
+
+ var params = utils.params(ct);
+
+ for (var key in params) {
+ if (Object.prototype.hasOwnProperty.call(params, key)) this[key] = params[key];
+ }
+
+ this.links = {}; // links
+
+ try {
+ if (header.link) {
+ this.links = utils.parseLinks(header.link);
+ }
+ } catch (_unused) {// ignore
+ }
+};
+/**
+ * Set flags such as `.ok` based on `status`.
+ *
+ * For example a 2xx response will give you a `.ok` of __true__
+ * whereas 5xx will be __false__ and `.error` will be __true__. The
+ * `.clientError` and `.serverError` are also available to be more
+ * specific, and `.statusType` is the class of error ranging from 1..5
+ * sometimes useful for mapping respond colors etc.
+ *
+ * "sugar" properties are also defined for common cases. Currently providing:
+ *
+ * - .noContent
+ * - .badRequest
+ * - .unauthorized
+ * - .notAcceptable
+ * - .notFound
+ *
+ * @param {Number} status
+ * @api private
+ */
+
+
+ResponseBase.prototype._setStatusProperties = function (status) {
+ var type = status / 100 | 0; // status / class
+
+ this.statusCode = status;
+ this.status = this.statusCode;
+ this.statusType = type; // basics
+
+ this.info = type === 1;
+ this.ok = type === 2;
+ this.redirect = type === 3;
+ this.clientError = type === 4;
+ this.serverError = type === 5;
+ this.error = type === 4 || type === 5 ? this.toError() : false; // sugar
+
+ this.created = status === 201;
+ this.accepted = status === 202;
+ this.noContent = status === 204;
+ this.badRequest = status === 400;
+ this.unauthorized = status === 401;
+ this.notAcceptable = status === 406;
+ this.forbidden = status === 403;
+ this.notFound = status === 404;
+ this.unprocessableEntity = status === 422;
+};
+//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9yZXNwb25zZS1iYXNlLmpzIl0sIm5hbWVzIjpbInV0aWxzIiwicmVxdWlyZSIsIm1vZHVsZSIsImV4cG9ydHMiLCJSZXNwb25zZUJhc2UiLCJvYmoiLCJtaXh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SA0MDY7XG4gIHRoaXMuZm9yYmlkZGVuID0gc3RhdHVzID09PSA0MDM7XG4gIHRoaXMubm90Rm91bmQgPSBzdGF0dXMgPT09IDQwNDtcbiAgdGhpcy51bnByb2Nlc3NhYmxlRW50aXR5ID0gc3RhdHVzID09PSA0MjI7XG59O1xuIl19
/***/ }),
-/***/ 835:
+/***/ 5523:
/***/ ((__unused_webpack_module, exports) => {
"use strict";
-Object.defineProperty(exports, "__esModule", ({ value: true }));
-exports.checkBypass = exports.getProxyUrl = void 0;
-function getProxyUrl(reqUrl) {
- const usingSsl = reqUrl.protocol === 'https:';
- if (checkBypass(reqUrl)) {
- return undefined;
- }
- const proxyVar = (() => {
- if (usingSsl) {
- return process.env['https_proxy'] || process.env['HTTPS_PROXY'];
- }
- else {
- return process.env['http_proxy'] || process.env['HTTP_PROXY'];
- }
- })();
- if (proxyVar) {
- return new URL(proxyVar);
- }
- else {
- return undefined;
- }
+
+/**
+ * Return the mime type for the given `str`.
+ *
+ * @param {String} str
+ * @return {String}
+ * @api private
+ */
+exports.type = function (str) {
+ return str.split(/ *; */).shift();
+};
+/**
+ * Return header field parameters.
+ *
+ * @param {String} str
+ * @return {Object}
+ * @api private
+ */
+
+
+exports.params = function (str) {
+ return str.split(/ *; */).reduce(function (obj, str) {
+ var parts = str.split(/ *= */);
+ var key = parts.shift();
+ var val = parts.shift();
+ if (key && val) obj[key] = val;
+ return obj;
+ }, {});
+};
+/**
+ * Parse Link header fields.
+ *
+ * @param {String} str
+ * @return {Object}
+ * @api private
+ */
+
+
+exports.parseLinks = function (str) {
+ return str.split(/ *, */).reduce(function (obj, str) {
+ var parts = str.split(/ *; */);
+ var url = parts[0].slice(1, -1);
+ var rel = parts[1].split(/ *= */)[1].slice(1, -1);
+ obj[rel] = url;
+ return obj;
+ }, {});
+};
+/**
+ * Strip content related fields from `header`.
+ *
+ * @param {Object} header
+ * @return {Object} header
+ * @api private
+ */
+
+
+exports.cleanHeader = function (header, changesOrigin) {
+ delete header['content-type'];
+ delete header['content-length'];
+ delete header['transfer-encoding'];
+ delete header.host; // secuirty
+
+ if (changesOrigin) {
+ delete header.authorization;
+ delete header.cookie;
+ }
+
+ return header;
+};
+//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy91dGlscy5qcyJdLCJuYW1lcyI6WyJleHBvcnRzIiwidHlwZSIsInN0ciIsInNwbGl0Iiwic2hpZnQiLCJwYXJhbXMiLCJyZWR1Y2UiLCJvYmoiLCJwYXJ0cyIsImtleSIsInZhbCIsInBhcnNlTGlua3MiLCJ1cmwiLCJzbGljZSIsInJlbCIsImNsZWFuSGVhZGVyIiwiaGVhZGVyIiwiY2hhbmdlc09yaWdpbiIsImhvc3QiLCJhdXRob3JpemF0aW9uIiwiY29va2llIl0sIm1hcHBpbmdzIjoiOztBQUFBOzs7Ozs7O0FBUUFBLE9BQU8sQ0FBQ0MsSUFBUixHQUFlLFVBQUFDLEdBQUc7QUFBQSxTQUFJQSxHQUFHLENBQUNDLEtBQUosQ0FBVSxPQUFWLEVBQW1CQyxLQUFuQixFQUFKO0FBQUEsQ0FBbEI7QUFFQTs7Ozs7Ozs7O0FBUUFKLE9BQU8sQ0FBQ0ssTUFBUixHQUFpQixVQUFBSCxHQUFHO0FBQUEsU0FDbEJBLEdBQUcsQ0FBQ0MsS0FBSixDQUFVLE9BQVYsRUFBbUJHLE1BQW5CLENBQTBCLFVBQUNDLEdBQUQsRUFBTUwsR0FBTixFQUFjO0FBQ3RDLFFBQU1NLEtBQUssR0FBR04sR0FBRyxDQUFDQyxLQUFKLENBQVUsT0FBVixDQUFkO0FBQ0EsUUFBTU0sR0FBRyxHQUFHRCxLQUFLLENBQUNKLEtBQU4sRUFBWjtBQUNBLFFBQU1NLEdBQUcsR0FBR0YsS0FBSyxDQUFDSixLQUFOLEVBQVo7QUFFQSxRQUFJSyxHQUFHLElBQUlDLEdBQVgsRUFBZ0JILEdBQUcsQ0F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zdHIgPT5cbiAgc3RyLnNwbGl0KC8gKiwgKi8pLnJlZHVjZSgob2JqLCBzdHIpID0+IHtcbiAgICBjb25zdCBwYXJ0cyA9IHN0ci5zcGxpdCgvICo7ICovKTtcbiAgICBjb25zdCB1cmwgPSBwYXJ0c1swXS5zbGljZSgxLCAtMSk7XG4gICAgY29uc3QgcmVsID0gcGFydHNbMV0uc3BsaXQoLyAqPSAqLylbMV0uc2xpY2UoMSwgLTEpO1xuICAgIG9ialtyZWxdID0gdXJsO1xuICAgIHJldHVybiBvYmo7XG4gIH0sIHt9KTtcblxuLyoqXG4gKiBTdHJpcCBjb250ZW50IHJlbGF0ZWQgZmllbGRzIGZyb20gYGhlYWRlcmAuXG4gKlxuICogQHBhcmFtIHtPYmplY3R9IGhlYWRlclxuICogQHJldHVybiB7T2JqZWN0fSBoZWFkZXJcbiAqIEBhcGkgcHJpdmF0ZVxuICovXG5cbmV4cG9ydHMuY2xlYW5IZWFkZXIgPSAoaGVhZGVyLCBjaGFuZ2VzT3JpZ2luKSA9PiB7XG4gIGRlbGV0ZSBoZWFkZXJbJ2NvbnRlbnQtdHlwZSddO1xuICBkZWxldGUgaGVhZGVyWydjb250ZW50LWxlbmd0aCddO1xuICBkZWxldGUgaGVhZGVyWyd0cmFuc2Zlci1lbmNvZGluZyddO1xuICBkZWxldGUgaGVhZGVyLmhvc3Q7XG4gIC8vIHNlY3VpcnR5XG4gIGlmIChjaGFuZ2VzT3JpZ2luKSB7XG4gICAgZGVsZXRlIGhlYWRlci5hdXRob3JpemF0aW9uO1xuICAgIGRlbGV0ZSBoZWFkZXIuY29va2llO1xuICB9XG5cbiAgcmV0dXJuIGhlYWRlcjtcbn07XG4iXX0=
+
+/***/ }),
+
+/***/ 9318:
+/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
+
+"use strict";
+
+const os = __nccwpck_require__(2087);
+const hasFlag = __nccwpck_require__(1621);
+
+const env = process.env;
+
+let forceColor;
+if (hasFlag('no-color') ||
+ hasFlag('no-colors') ||
+ hasFlag('color=false')) {
+ forceColor = false;
+} else if (hasFlag('color') ||
+ hasFlag('colors') ||
+ hasFlag('color=true') ||
+ hasFlag('color=always')) {
+ forceColor = true;
}
-exports.getProxyUrl = getProxyUrl;
-function checkBypass(reqUrl) {
- if (!reqUrl.hostname) {
- return false;
- }
- const noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || '';
- if (!noProxy) {
- return false;
- }
- // Determine the request port
- let reqPort;
- if (reqUrl.port) {
- reqPort = Number(reqUrl.port);
- }
- else if (reqUrl.protocol === 'http:') {
- reqPort = 80;
- }
- else if (reqUrl.protocol === 'https:') {
- reqPort = 443;
- }
- // Format the request hostname and hostname with port
- const upperReqHosts = [reqUrl.hostname.toUpperCase()];
- if (typeof reqPort === 'number') {
- upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);
- }
- // Compare request host against noproxy
- for (const upperNoProxyItem of noProxy
- .split(',')
- .map(x => x.trim().toUpperCase())
- .filter(x => x)) {
- if (upperReqHosts.some(x => x === upperNoProxyItem)) {
- return true;
- }
- }
- return false;
+if ('FORCE_COLOR' in env) {
+ forceColor = env.FORCE_COLOR.length === 0 || parseInt(env.FORCE_COLOR, 10) !== 0;
+}
+
+function translateLevel(level) {
+ if (level === 0) {
+ return false;
+ }
+
+ return {
+ level,
+ hasBasic: true,
+ has256: level >= 2,
+ has16m: level >= 3
+ };
}
-exports.checkBypass = checkBypass;
-//# sourceMappingURL=proxy.js.map
+
+function supportsColor(stream) {
+ if (forceColor === false) {
+ return 0;
+ }
+
+ if (hasFlag('color=16m') ||
+ hasFlag('color=full') ||
+ hasFlag('color=truecolor')) {
+ return 3;
+ }
+
+ if (hasFlag('color=256')) {
+ return 2;
+ }
+
+ if (stream && !stream.isTTY && forceColor !== true) {
+ return 0;
+ }
+
+ const min = forceColor ? 1 : 0;
+
+ if (process.platform === 'win32') {
+ // Node.js 7.5.0 is the first version of Node.js to include a patch to
+ // libuv that enables 256 color output on Windows. Anything earlier and it
+ // won't work. However, here we target Node.js 8 at minimum as it is an LTS
+ // release, and Node.js 7 is not. Windows 10 build 10586 is the first Windows
+ // release that supports 256 colors. Windows 10 build 14931 is the first release
+ // that supports 16m/TrueColor.
+ const osRelease = os.release().split('.');
+ if (
+ Number(process.versions.node.split('.')[0]) >= 8 &&
+ Number(osRelease[0]) >= 10 &&
+ Number(osRelease[2]) >= 10586
+ ) {
+ return Number(osRelease[2]) >= 14931 ? 3 : 2;
+ }
+
+ return 1;
+ }
+
+ if ('CI' in env) {
+ if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI'].some(sign => sign in env) || env.CI_NAME === 'codeship') {
+ return 1;
+ }
+
+ return min;
+ }
+
+ if ('TEAMCITY_VERSION' in env) {
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
+ }
+
+ if (env.COLORTERM === 'truecolor') {
+ return 3;
+ }
+
+ if ('TERM_PROGRAM' in env) {
+ const version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
+
+ switch (env.TERM_PROGRAM) {
+ case 'iTerm.app':
+ return version >= 3 ? 3 : 2;
+ case 'Apple_Terminal':
+ return 2;
+ // No default
+ }
+ }
+
+ if (/-256(color)?$/i.test(env.TERM)) {
+ return 2;
+ }
+
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
+ return 1;
+ }
+
+ if ('COLORTERM' in env) {
+ return 1;
+ }
+
+ if (env.TERM === 'dumb') {
+ return min;
+ }
+
+ return min;
+}
+
+function getSupportLevel(stream) {
+ const level = supportsColor(stream);
+ return translateLevel(level);
+}
+
+module.exports = {
+ supportsColor: getSupportLevel,
+ stdout: getSupportLevel(process.stdout),
+ stderr: getSupportLevel(process.stderr)
+};
+
/***/ }),
-/***/ 294:
+/***/ 4294:
/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => {
-module.exports = __nccwpck_require__(219);
+module.exports = __nccwpck_require__(4219);
/***/ }),
-/***/ 219:
+/***/ 4219:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
-var net = __nccwpck_require__(631);
-var tls = __nccwpck_require__(16);
-var http = __nccwpck_require__(605);
-var https = __nccwpck_require__(211);
-var events = __nccwpck_require__(614);
-var assert = __nccwpck_require__(357);
-var util = __nccwpck_require__(669);
+var net = __nccwpck_require__(1631);
+var tls = __nccwpck_require__(4016);
+var http = __nccwpck_require__(8605);
+var https = __nccwpck_require__(7211);
+var events = __nccwpck_require__(8614);
+var assert = __nccwpck_require__(2357);
+var util = __nccwpck_require__(1669);
exports.httpOverHttp = httpOverHttp;
@@ -2042,7 +30882,7 @@ exports.debug = debug; // for test
/***/ }),
-/***/ 840:
+/***/ 5840:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -2106,29 +30946,29 @@ Object.defineProperty(exports, "parse", ({
}
}));
-var _v = _interopRequireDefault(__nccwpck_require__(628));
+var _v = _interopRequireDefault(__nccwpck_require__(8628));
-var _v2 = _interopRequireDefault(__nccwpck_require__(409));
+var _v2 = _interopRequireDefault(__nccwpck_require__(6409));
-var _v3 = _interopRequireDefault(__nccwpck_require__(122));
+var _v3 = _interopRequireDefault(__nccwpck_require__(5122));
-var _v4 = _interopRequireDefault(__nccwpck_require__(120));
+var _v4 = _interopRequireDefault(__nccwpck_require__(9120));
-var _nil = _interopRequireDefault(__nccwpck_require__(332));
+var _nil = _interopRequireDefault(__nccwpck_require__(5332));
-var _version = _interopRequireDefault(__nccwpck_require__(595));
+var _version = _interopRequireDefault(__nccwpck_require__(1595));
-var _validate = _interopRequireDefault(__nccwpck_require__(900));
+var _validate = _interopRequireDefault(__nccwpck_require__(6900));
-var _stringify = _interopRequireDefault(__nccwpck_require__(950));
+var _stringify = _interopRequireDefault(__nccwpck_require__(8950));
-var _parse = _interopRequireDefault(__nccwpck_require__(746));
+var _parse = _interopRequireDefault(__nccwpck_require__(2746));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
/***/ }),
-/***/ 569:
+/***/ 4569:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -2139,7 +30979,7 @@ Object.defineProperty(exports, "__esModule", ({
}));
exports.default = void 0;
-var _crypto = _interopRequireDefault(__nccwpck_require__(417));
+var _crypto = _interopRequireDefault(__nccwpck_require__(6417));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -2158,7 +30998,7 @@ exports.default = _default;
/***/ }),
-/***/ 332:
+/***/ 5332:
/***/ ((__unused_webpack_module, exports) => {
"use strict";
@@ -2173,7 +31013,7 @@ exports.default = _default;
/***/ }),
-/***/ 746:
+/***/ 2746:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -2184,7 +31024,7 @@ Object.defineProperty(exports, "__esModule", ({
}));
exports.default = void 0;
-var _validate = _interopRequireDefault(__nccwpck_require__(900));
+var _validate = _interopRequireDefault(__nccwpck_require__(6900));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -2251,7 +31091,7 @@ Object.defineProperty(exports, "__esModule", ({
}));
exports.default = rng;
-var _crypto = _interopRequireDefault(__nccwpck_require__(417));
+var _crypto = _interopRequireDefault(__nccwpck_require__(6417));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -2271,7 +31111,7 @@ function rng() {
/***/ }),
-/***/ 274:
+/***/ 5274:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -2282,7 +31122,7 @@ Object.defineProperty(exports, "__esModule", ({
}));
exports.default = void 0;
-var _crypto = _interopRequireDefault(__nccwpck_require__(417));
+var _crypto = _interopRequireDefault(__nccwpck_require__(6417));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -2301,7 +31141,7 @@ exports.default = _default;
/***/ }),
-/***/ 950:
+/***/ 8950:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -2312,7 +31152,7 @@ Object.defineProperty(exports, "__esModule", ({
}));
exports.default = void 0;
-var _validate = _interopRequireDefault(__nccwpck_require__(900));
+var _validate = _interopRequireDefault(__nccwpck_require__(6900));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -2347,7 +31187,7 @@ exports.default = _default;
/***/ }),
-/***/ 628:
+/***/ 8628:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -2360,7 +31200,7 @@ exports.default = void 0;
var _rng = _interopRequireDefault(__nccwpck_require__(807));
-var _stringify = _interopRequireDefault(__nccwpck_require__(950));
+var _stringify = _interopRequireDefault(__nccwpck_require__(8950));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -2461,7 +31301,7 @@ exports.default = _default;
/***/ }),
-/***/ 409:
+/***/ 6409:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -2472,9 +31312,9 @@ Object.defineProperty(exports, "__esModule", ({
}));
exports.default = void 0;
-var _v = _interopRequireDefault(__nccwpck_require__(998));
+var _v = _interopRequireDefault(__nccwpck_require__(5998));
-var _md = _interopRequireDefault(__nccwpck_require__(569));
+var _md = _interopRequireDefault(__nccwpck_require__(4569));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -2484,7 +31324,7 @@ exports.default = _default;
/***/ }),
-/***/ 998:
+/***/ 5998:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -2496,9 +31336,9 @@ Object.defineProperty(exports, "__esModule", ({
exports.default = _default;
exports.URL = exports.DNS = void 0;
-var _stringify = _interopRequireDefault(__nccwpck_require__(950));
+var _stringify = _interopRequireDefault(__nccwpck_require__(8950));
-var _parse = _interopRequireDefault(__nccwpck_require__(746));
+var _parse = _interopRequireDefault(__nccwpck_require__(2746));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -2569,7 +31409,7 @@ function _default(name, version, hashfunc) {
/***/ }),
-/***/ 122:
+/***/ 5122:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -2582,7 +31422,7 @@ exports.default = void 0;
var _rng = _interopRequireDefault(__nccwpck_require__(807));
-var _stringify = _interopRequireDefault(__nccwpck_require__(950));
+var _stringify = _interopRequireDefault(__nccwpck_require__(8950));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -2613,7 +31453,7 @@ exports.default = _default;
/***/ }),
-/***/ 120:
+/***/ 9120:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -2624,9 +31464,9 @@ Object.defineProperty(exports, "__esModule", ({
}));
exports.default = void 0;
-var _v = _interopRequireDefault(__nccwpck_require__(998));
+var _v = _interopRequireDefault(__nccwpck_require__(5998));
-var _sha = _interopRequireDefault(__nccwpck_require__(274));
+var _sha = _interopRequireDefault(__nccwpck_require__(5274));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -2636,7 +31476,7 @@ exports.default = _default;
/***/ }),
-/***/ 900:
+/***/ 6900:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -2660,7 +31500,7 @@ exports.default = _default;
/***/ }),
-/***/ 595:
+/***/ 1595:
/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => {
"use strict";
@@ -2671,7 +31511,7 @@ Object.defineProperty(exports, "__esModule", ({
}));
exports.default = void 0;
-var _validate = _interopRequireDefault(__nccwpck_require__(900));
+var _validate = _interopRequireDefault(__nccwpck_require__(6900));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
@@ -2688,24 +31528,30 @@ exports.default = _default;
/***/ }),
-/***/ 258:
+/***/ 4120:
/***/ ((module) => {
-let wait = function (milliseconds) {
- return new Promise((resolve) => {
- if (typeof milliseconds !== 'number') {
- throw new Error('milliseconds not a number');
- }
- setTimeout(() => resolve("done!"), milliseconds)
- });
-};
+function webpackEmptyContext(req) {
+ var e = new Error("Cannot find module '" + req + "'");
+ e.code = 'MODULE_NOT_FOUND';
+ throw e;
+}
+webpackEmptyContext.keys = () => ([]);
+webpackEmptyContext.resolve = webpackEmptyContext;
+webpackEmptyContext.id = 4120;
+module.exports = webpackEmptyContext;
-module.exports = wait;
+/***/ }),
+
+/***/ 3313:
+/***/ ((module) => {
+"use strict";
+module.exports = JSON.parse('{"application/1d-interleaved-parityfec":{"source":"iana"},"application/3gpdash-qoe-report+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/3gpp-ims+xml":{"source":"iana","compressible":true},"application/3gpphal+json":{"source":"iana","compressible":true},"application/3gpphalforms+json":{"source":"iana","compressible":true},"application/a2l":{"source":"iana"},"application/ace+cbor":{"source":"iana"},"application/activemessage":{"source":"iana"},"application/activity+json":{"source":"iana","compressible":true},"application/alto-costmap+json":{"source":"iana","compressible":true},"application/alto-costmapfilter+json":{"source":"iana","compressible":true},"application/alto-directory+json":{"source":"iana","compressible":true},"application/alto-endpointcost+json":{"source":"iana","compressible":true},"application/alto-endpointcostparams+json":{"source":"iana","compressible":true},"application/alto-endpointprop+json":{"source":"iana","compressible":true},"application/alto-endpointpropparams+json":{"source":"iana","compressible":true},"application/alto-error+json":{"source":"iana","compressible":true},"application/alto-networkmap+json":{"source":"iana","compressible":true},"application/alto-networkmapfilter+json":{"source":"iana","compressible":true},"application/alto-updatestreamcontrol+json":{"source":"iana","compressible":true},"application/alto-updatestreamparams+json":{"source":"iana","compressible":true},"application/aml":{"source":"iana"},"application/andrew-inset":{"source":"iana","extensions":["ez"]},"application/applefile":{"source":"iana"},"application/applixware":{"source":"apache","extensions":["aw"]},"application/at+jwt":{"source":"iana"},"application/atf":{"source":"iana"},"application/atfx":{"source":"iana"},"application/atom+xml":{"source":"iana","compressible":true,"extensions":["atom"]},"application/atomcat+xml":{"source":"iana","compressible":true,"extensions":["atomcat"]},"application/atomdeleted+xml":{"source":"iana","compressible":true,"extensions":["atomdeleted"]},"application/atomicmail":{"source":"iana"},"application/atomsvc+xml":{"source":"iana","compressible":true,"extensions":["atomsvc"]},"application/atsc-dwd+xml":{"source":"iana","compressible":true,"extensions":["dwd"]},"application/atsc-dynamic-event-message":{"source":"iana"},"application/atsc-held+xml":{"source":"iana","compressible":true,"extensions":["held"]},"application/atsc-rdt+json":{"source":"iana","compressible":true},"application/atsc-rsat+xml":{"source":"iana","compressible":true,"extensions":["rsat"]},"application/atxml":{"source":"iana"},"application/auth-policy+xml":{"source":"iana","compressible":true},"application/bacnet-xdd+zip":{"source":"iana","compressible":false},"application/batch-smtp":{"source":"iana"},"application/bdoc":{"compressible":false,"extensions":["bdoc"]},"application/beep+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/calendar+json":{"source":"iana","compressible":true},"application/calendar+xml":{"source":"iana","compressible":true,"extensions":["xcs"]},"application/call-completion":{"source":"iana"},"application/cals-1840":{"source":"iana"},"application/captive+json":{"source":"iana","compressible":true},"application/cbor":{"source":"iana"},"application/cbor-seq":{"source":"iana"},"application/cccex":{"source":"iana"},"application/ccmp+xml":{"source":"iana","compressible":true},"application/ccxml+xml":{"source":"iana","compressible":true,"extensions":["ccxml"]},"application/cdfx+xml":{"source":"iana","compressible":true,"extensions":["cdfx"]},"application/cdmi-capability":{"source":"iana","extensions":["cdmia"]},"application/cdmi-container":{"source":"iana","extensions":["cdmic"]},"application/cdmi-domain":{"source":"iana","extensions":["cdmid"]},"application/cdmi-object":{"source":"iana","extensions":["cdmio"]},"application/cdmi-queue":{"source":"iana","extensions":["cdmiq"]},"application/cdni":{"source":"iana"},"application/cea":{"source":"iana"},"application/cea-2018+xml":{"source":"iana","compressible":true},"application/cellml+xml":{"source":"iana","compressible":true},"application/cfw":{"source":"iana"},"application/clr":{"source":"iana"},"application/clue+xml":{"source":"iana","compressible":true},"application/clue_info+xml":{"source":"iana","compressible":true},"application/cms":{"source":"iana"},"application/cnrp+xml":{"source":"iana","compressible":true},"application/coap-group+json":{"source":"iana","compressible":true},"application/coap-payload":{"source":"iana"},"application/commonground":{"source":"iana"},"application/conference-info+xml":{"source":"iana","compressible":true},"application/cose":{"source":"iana"},"application/cose-key":{"source":"iana"},"application/cose-key-set":{"source":"iana"},"application/cpl+xml":{"source":"iana","compressible":true},"application/csrattrs":{"source":"iana"},"application/csta+xml":{"source":"iana","compressible":true},"application/cstadata+xml":{"source":"iana","compressible":true},"application/csvm+json":{"source":"iana","compressible":true},"application/cu-seeme":{"source":"apache","extensions":["cu"]},"application/cwt":{"source":"iana"},"application/cybercash":{"source":"iana"},"application/dart":{"compressible":true},"application/dash+xml":{"source":"iana","compressible":true,"extensions":["mpd"]},"application/dashdelta":{"source":"iana"},"application/davmount+xml":{"source":"iana","compressible":true,"extensions":["davmount"]},"application/dca-rft":{"source":"iana"},"application/dcd":{"source":"iana"},"application/dec-dx":{"source":"iana"},"application/dialog-info+xml":{"source":"iana","compressible":true},"application/dicom":{"source":"iana"},"application/dicom+json":{"source":"iana","compressible":true},"application/dicom+xml":{"source":"iana","compressible":true},"application/dii":{"source":"iana"},"application/dit":{"source":"iana"},"application/dns":{"source":"iana"},"application/dns+json":{"source":"iana","compressible":true},"application/dns-message":{"source":"iana"},"application/docbook+xml":{"source":"apache","compressible":true,"extensions":["dbk"]},"application/dots+cbor":{"source":"iana"},"application/dskpp+xml":{"source":"iana","compressible":true},"application/dssc+der":{"source":"iana","extensions":["dssc"]},"application/dssc+xml":{"source":"iana","compressible":true,"extensions":["xdssc"]},"application/dvcs":{"source":"iana"},"application/ecmascript":{"source":"iana","compressible":true,"extensions":["es","ecma"]},"application/edi-consent":{"source":"iana"},"application/edi-x12":{"source":"iana","compressible":false},"application/edifact":{"source":"iana","compressible":false},"application/efi":{"source":"iana"},"application/elm+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/elm+xml":{"source":"iana","compressible":true},"application/emergencycalldata.cap+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/emergencycalldata.comment+xml":{"source":"iana","compressible":true},"application/emergencycalldata.control+xml":{"source":"iana","compressible":true},"application/emergencycalldata.deviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.ecall.msd":{"source":"iana"},"application/emergencycalldata.providerinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.serviceinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.subscriberinfo+xml":{"source":"iana","compressible":true},"application/emergencycalldata.veds+xml":{"source":"iana","compressible":true},"application/emma+xml":{"source":"iana","compressible":true,"extensions":["emma"]},"application/emotionml+xml":{"source":"iana","compressible":true,"extensions":["emotionml"]},"application/encaprtp":{"source":"iana"},"application/epp+xml":{"source":"iana","compressible":true},"application/epub+zip":{"source":"iana","compressible":false,"extensions":["epub"]},"application/eshop":{"source":"iana"},"application/exi":{"source":"iana","extensions":["exi"]},"application/expect-ct-report+json":{"source":"iana","compressible":true},"application/express":{"source":"iana","extensions":["exp"]},"application/fastinfoset":{"source":"iana"},"application/fastsoap":{"source":"iana"},"application/fdt+xml":{"source":"iana","compressible":true,"extensions":["fdt"]},"application/fhir+json":{"source":"iana","charset":"UTF-8","compressible":true},"application/fhir+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/fido.trusted-apps+json":{"compressible":true},"application/fits":{"source":"iana"},"application/flexfec":{"source":"iana"},"application/font-sfnt":{"source":"iana"},"application/font-tdpfr":{"source":"iana","extensions":["pfr"]},"application/font-woff":{"source":"iana","compressible":false},"application/framework-attributes+xml":{"source":"iana","compressible":true},"application/geo+json":{"source":"iana","compressible":true,"extensions":["geojson"]},"application/geo+json-seq":{"source":"iana"},"application/geopackage+sqlite3":{"source":"iana"},"application/geoxacml+xml":{"source":"iana","compressible":true},"application/gltf-buffer":{"source":"iana"},"application/gml+xml":{"source":"iana","compressible":true,"extensions":["gml"]},"application/gpx+xml":{"source":"apache","compressible":true,"extensions":["gpx"]},"application/gxf":{"source":"apache","extensions":["gxf"]},"application/gzip":{"source":"iana","compressible":false,"extensions":["gz"]},"application/h224":{"source":"iana"},"application/held+xml":{"source":"iana","compressible":true},"application/hjson":{"extensions":["hjson"]},"application/http":{"source":"iana"},"application/hyperstudio":{"source":"iana","extensions":["stk"]},"application/ibe-key-request+xml":{"source":"iana","compressible":true},"application/ibe-pkg-reply+xml":{"source":"iana","compressible":true},"application/ibe-pp-data":{"source":"iana"},"application/iges":{"source":"iana"},"application/im-iscomposing+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/index":{"source":"iana"},"application/index.cmd":{"source":"iana"},"application/index.obj":{"source":"iana"},"application/index.response":{"source":"iana"},"application/index.vnd":{"source":"iana"},"application/inkml+xml":{"source":"iana","compressible":true,"extensions":["ink","inkml"]},"application/iotp":{"source":"iana"},"application/ipfix":{"source":"iana","extensions":["ipfix"]},"application/ipp":{"source":"iana"},"application/isup":{"source":"iana"},"application/its+xml":{"source":"iana","compressible":true,"extensions":["its"]},"application/java-archive":{"source":"apache","compressible":false,"extensions":["jar","war","ear"]},"application/java-serialized-object":{"source":"apache","compressible":false,"extensions":["ser"]},"application/java-vm":{"source":"apache","compressible":false,"extensions":["class"]},"application/javascript":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["js","mjs"]},"application/jf2feed+json":{"source":"iana","compressible":true},"application/jose":{"source":"iana"},"application/jose+json":{"source":"iana","compressible":true},"application/jrd+json":{"source":"iana","compressible":true},"application/jscalendar+json":{"source":"iana","compressible":true},"application/json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["json","map"]},"application/json-patch+json":{"source":"iana","compressible":true},"application/json-seq":{"source":"iana"},"application/json5":{"extensions":["json5"]},"application/jsonml+json":{"source":"apache","compressible":true,"extensions":["jsonml"]},"application/jwk+json":{"source":"iana","compressible":true},"application/jwk-set+json":{"source":"iana","compressible":true},"application/jwt":{"source":"iana"},"application/kpml-request+xml":{"source":"iana","compressible":true},"application/kpml-response+xml":{"source":"iana","compressible":true},"application/ld+json":{"source":"iana","compressible":true,"extensions":["jsonld"]},"application/lgr+xml":{"source":"iana","compressible":true,"extensions":["lgr"]},"application/link-format":{"source":"iana"},"application/load-control+xml":{"source":"iana","compressible":true},"application/lost+xml":{"source":"iana","compressible":true,"extensions":["lostxml"]},"application/lostsync+xml":{"source":"iana","compressible":true},"application/lpf+zip":{"source":"iana","compressible":false},"application/lxf":{"source":"iana"},"application/mac-binhex40":{"source":"iana","extensions":["hqx"]},"application/mac-compactpro":{"source":"apache","extensions":["cpt"]},"application/macwriteii":{"source":"iana"},"application/mads+xml":{"source":"iana","compressible":true,"extensions":["mads"]},"application/manifest+json":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["webmanifest"]},"application/marc":{"source":"iana","extensions":["mrc"]},"application/marcxml+xml":{"source":"iana","compressible":true,"extensions":["mrcx"]},"application/mathematica":{"source":"iana","extensions":["ma","nb","mb"]},"application/mathml+xml":{"source":"iana","compressible":true,"extensions":["mathml"]},"application/mathml-content+xml":{"source":"iana","compressible":true},"application/mathml-presentation+xml":{"source":"iana","compressible":true},"application/mbms-associated-procedure-description+xml":{"source":"iana","compressible":true},"application/mbms-deregister+xml":{"source":"iana","compressible":true},"application/mbms-envelope+xml":{"source":"iana","compressible":true},"application/mbms-msk+xml":{"source":"iana","compressible":true},"application/mbms-msk-response+xml":{"source":"iana","compressible":true},"application/mbms-protection-description+xml":{"source":"iana","compressible":true},"application/mbms-reception-report+xml":{"source":"iana","compressible":true},"application/mbms-register+xml":{"source":"iana","compressible":true},"application/mbms-register-response+xml":{"source":"iana","compressible":true},"application/mbms-schedule+xml":{"source":"iana","compressible":true},"application/mbms-user-service-description+xml":{"source":"iana","compressible":true},"application/mbox":{"source":"iana","extensions":["mbox"]},"application/media-policy-dataset+xml":{"source":"iana","compressible":true},"application/media_control+xml":{"source":"iana","compressible":true},"application/mediaservercontrol+xml":{"source":"iana","compressible":true,"extensions":["mscml"]},"application/merge-patch+json":{"source":"iana","compressible":true},"application/metalink+xml":{"source":"apache","compressible":true,"extensions":["metalink"]},"application/metalink4+xml":{"source":"iana","compressible":true,"extensions":["meta4"]},"application/mets+xml":{"source":"iana","compressible":true,"extensions":["mets"]},"application/mf4":{"source":"iana"},"application/mikey":{"source":"iana"},"application/mipc":{"source":"iana"},"application/missing-blocks+cbor-seq":{"source":"iana"},"application/mmt-aei+xml":{"source":"iana","compressible":true,"extensions":["maei"]},"application/mmt-usd+xml":{"source":"iana","compressible":true,"extensions":["musd"]},"application/mods+xml":{"source":"iana","compressible":true,"extensions":["mods"]},"application/moss-keys":{"source":"iana"},"application/moss-signature":{"source":"iana"},"application/mosskey-data":{"source":"iana"},"application/mosskey-request":{"source":"iana"},"application/mp21":{"source":"iana","extensions":["m21","mp21"]},"application/mp4":{"source":"iana","extensions":["mp4s","m4p"]},"application/mpeg4-generic":{"source":"iana"},"application/mpeg4-iod":{"source":"iana"},"application/mpeg4-iod-xmt":{"source":"iana"},"application/mrb-consumer+xml":{"source":"iana","compressible":true},"application/mrb-publish+xml":{"source":"iana","compressible":true},"application/msc-ivr+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msc-mixer+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/msword":{"source":"iana","compressible":false,"extensions":["doc","dot"]},"application/mud+json":{"source":"iana","compressible":true},"application/multipart-core":{"source":"iana"},"application/mxf":{"source":"iana","extensions":["mxf"]},"application/n-quads":{"source":"iana","extensions":["nq"]},"application/n-triples":{"source":"iana","extensions":["nt"]},"application/nasdata":{"source":"iana"},"application/news-checkgroups":{"source":"iana","charset":"US-ASCII"},"application/news-groupinfo":{"source":"iana","charset":"US-ASCII"},"application/news-transmission":{"source":"iana"},"application/nlsml+xml":{"source":"iana","compressible":true},"application/node":{"source":"iana","extensions":["cjs"]},"application/nss":{"source":"iana"},"application/oauth-authz-req+jwt":{"source":"iana"},"application/ocsp-request":{"source":"iana"},"application/ocsp-response":{"source":"iana"},"application/octet-stream":{"source":"iana","compressible":false,"extensions":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{"source":"iana","extensions":["oda"]},"application/odm+xml":{"source":"iana","compressible":true},"application/odx":{"source":"iana"},"application/oebps-package+xml":{"source":"iana","compressible":true,"extensions":["opf"]},"application/ogg":{"source":"iana","compressible":false,"extensions":["ogx"]},"application/omdoc+xml":{"source":"apache","compressible":true,"extensions":["omdoc"]},"application/onenote":{"source":"apache","extensions":["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{"source":"iana","compressible":true},"application/oscore":{"source":"iana"},"application/oxps":{"source":"iana","extensions":["oxps"]},"application/p21":{"source":"iana"},"application/p21+zip":{"source":"iana","compressible":false},"application/p2p-overlay+xml":{"source":"iana","compressible":true,"extensions":["relo"]},"application/parityfec":{"source":"iana"},"application/passport":{"source":"iana"},"application/patch-ops-error+xml":{"source":"iana","compressible":true,"extensions":["xer"]},"application/pdf":{"source":"iana","compressible":false,"extensions":["pdf"]},"application/pdx":{"source":"iana"},"application/pem-certificate-chain":{"source":"iana"},"application/pgp-encrypted":{"source":"iana","compressible":false,"extensions":["pgp"]},"application/pgp-keys":{"source":"iana"},"application/pgp-signature":{"source":"iana","extensions":["asc","sig"]},"application/pics-rules":{"source":"apache","extensions":["prf"]},"application/pidf+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pidf-diff+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/pkcs10":{"source":"iana","extensions":["p10"]},"application/pkcs12":{"source":"iana"},"application/pkcs7-mime":{"source":"iana","extensions":["p7m","p7c"]},"application/pkcs7-signature":{"source":"iana","extensions":["p7s"]},"application/pkcs8":{"source":"iana","extensions":["p8"]},"application/pkcs8-encrypted":{"source":"iana"},"application/pkix-attr-cert":{"source":"iana","extensions":["ac"]},"application/pkix-cert":{"source":"iana","extensions":["cer"]},"application/pkix-crl":{"source":"iana","extensions":["crl"]},"application/pkix-pkipath":{"source":"iana","extensions":["pkipath"]},"application/pkixcmp":{"source":"iana","extensions":["pki"]},"application/pls+xml":{"source":"iana","compressible":true,"extensions":["pls"]},"application/poc-settings+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/postscript":{"source":"iana","compressible":true,"extensions":["ai","eps","ps"]},"application/ppsp-tracker+json":{"source":"iana","compressible":true},"application/problem+json":{"source":"iana","compressible":true},"application/problem+xml":{"source":"iana","compressible":true},"application/provenance+xml":{"source":"iana","compressible":true,"extensions":["provx"]},"application/prs.alvestrand.titrax-sheet":{"source":"iana"},"application/prs.cww":{"source":"iana","extensions":["cww"]},"application/prs.cyn":{"source":"iana","charset":"7-BIT"},"application/prs.hpub+zip":{"source":"iana","compressible":false},"application/prs.nprend":{"source":"iana"},"application/prs.plucker":{"source":"iana"},"application/prs.rdf-xml-crypt":{"source":"iana"},"application/prs.xsf+xml":{"source":"iana","compressible":true},"application/pskc+xml":{"source":"iana","compressible":true,"extensions":["pskcxml"]},"application/pvd+json":{"source":"iana","compressible":true},"application/qsig":{"source":"iana"},"application/raml+yaml":{"compressible":true,"extensions":["raml"]},"application/raptorfec":{"source":"iana"},"application/rdap+json":{"source":"iana","compressible":true},"application/rdf+xml":{"source":"iana","compressible":true,"extensions":["rdf","owl"]},"application/reginfo+xml":{"source":"iana","compressible":true,"extensions":["rif"]},"application/relax-ng-compact-syntax":{"source":"iana","extensions":["rnc"]},"application/remote-printing":{"source":"iana"},"application/reputon+json":{"source":"iana","compressible":true},"application/resource-lists+xml":{"source":"iana","compressible":true,"extensions":["rl"]},"application/resource-lists-diff+xml":{"source":"iana","compressible":true,"extensions":["rld"]},"application/rfc+xml":{"source":"iana","compressible":true},"application/riscos":{"source":"iana"},"application/rlmi+xml":{"source":"iana","compressible":true},"application/rls-services+xml":{"source":"iana","compressible":true,"extensions":["rs"]},"application/route-apd+xml":{"source":"iana","compressible":true,"extensions":["rapd"]},"application/route-s-tsid+xml":{"source":"iana","compressible":true,"extensions":["sls"]},"application/route-usd+xml":{"source":"iana","compressible":true,"extensions":["rusd"]},"application/rpki-ghostbusters":{"source":"iana","extensions":["gbr"]},"application/rpki-manifest":{"source":"iana","extensions":["mft"]},"application/rpki-publication":{"source":"iana"},"application/rpki-roa":{"source":"iana","extensions":["roa"]},"application/rpki-updown":{"source":"iana"},"application/rsd+xml":{"source":"apache","compressible":true,"extensions":["rsd"]},"application/rss+xml":{"source":"apache","compressible":true,"extensions":["rss"]},"application/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"application/rtploopback":{"source":"iana"},"application/rtx":{"source":"iana"},"application/samlassertion+xml":{"source":"iana","compressible":true},"application/samlmetadata+xml":{"source":"iana","compressible":true},"application/sarif+json":{"source":"iana","compressible":true},"application/sarif-external-properties+json":{"source":"iana","compressible":true},"application/sbe":{"source":"iana"},"application/sbml+xml":{"source":"iana","compressible":true,"extensions":["sbml"]},"application/scaip+xml":{"source":"iana","compressible":true},"application/scim+json":{"source":"iana","compressible":true},"application/scvp-cv-request":{"source":"iana","extensions":["scq"]},"application/scvp-cv-response":{"source":"iana","extensions":["scs"]},"application/scvp-vp-request":{"source":"iana","extensions":["spq"]},"application/scvp-vp-response":{"source":"iana","extensions":["spp"]},"application/sdp":{"source":"iana","extensions":["sdp"]},"application/secevent+jwt":{"source":"iana"},"application/senml+cbor":{"source":"iana"},"application/senml+json":{"source":"iana","compressible":true},"application/senml+xml":{"source":"iana","compressible":true,"extensions":["senmlx"]},"application/senml-etch+cbor":{"source":"iana"},"application/senml-etch+json":{"source":"iana","compressible":true},"application/senml-exi":{"source":"iana"},"application/sensml+cbor":{"source":"iana"},"application/sensml+json":{"source":"iana","compressible":true},"application/sensml+xml":{"source":"iana","compressible":true,"extensions":["sensmlx"]},"application/sensml-exi":{"source":"iana"},"application/sep+xml":{"source":"iana","compressible":true},"application/sep-exi":{"source":"iana"},"application/session-info":{"source":"iana"},"application/set-payment":{"source":"iana"},"application/set-payment-initiation":{"source":"iana","extensions":["setpay"]},"application/set-registration":{"source":"iana"},"application/set-registration-initiation":{"source":"iana","extensions":["setreg"]},"application/sgml":{"source":"iana"},"application/sgml-open-catalog":{"source":"iana"},"application/shf+xml":{"source":"iana","compressible":true,"extensions":["shf"]},"application/sieve":{"source":"iana","extensions":["siv","sieve"]},"application/simple-filter+xml":{"source":"iana","compressible":true},"application/simple-message-summary":{"source":"iana"},"application/simplesymbolcontainer":{"source":"iana"},"application/sipc":{"source":"iana"},"application/slate":{"source":"iana"},"application/smil":{"source":"iana"},"application/smil+xml":{"source":"iana","compressible":true,"extensions":["smi","smil"]},"application/smpte336m":{"source":"iana"},"application/soap+fastinfoset":{"source":"iana"},"application/soap+xml":{"source":"iana","compressible":true},"application/sparql-query":{"source":"iana","extensions":["rq"]},"application/sparql-results+xml":{"source":"iana","compressible":true,"extensions":["srx"]},"application/spdx+json":{"source":"iana","compressible":true},"application/spirits-event+xml":{"source":"iana","compressible":true},"application/sql":{"source":"iana"},"application/srgs":{"source":"iana","extensions":["gram"]},"application/srgs+xml":{"source":"iana","compressible":true,"extensions":["grxml"]},"application/sru+xml":{"source":"iana","compressible":true,"extensions":["sru"]},"application/ssdl+xml":{"source":"apache","compressible":true,"extensions":["ssdl"]},"application/ssml+xml":{"source":"iana","compressible":true,"extensions":["ssml"]},"application/stix+json":{"source":"iana","compressible":true},"application/swid+xml":{"source":"iana","compressible":true,"extensions":["swidtag"]},"application/tamp-apex-update":{"source":"iana"},"application/tamp-apex-update-confirm":{"source":"iana"},"application/tamp-community-update":{"source":"iana"},"application/tamp-community-update-confirm":{"source":"iana"},"application/tamp-error":{"source":"iana"},"application/tamp-sequence-adjust":{"source":"iana"},"application/tamp-sequence-adjust-confirm":{"source":"iana"},"application/tamp-status-query":{"source":"iana"},"application/tamp-status-response":{"source":"iana"},"application/tamp-update":{"source":"iana"},"application/tamp-update-confirm":{"source":"iana"},"application/tar":{"compressible":true},"application/taxii+json":{"source":"iana","compressible":true},"application/td+json":{"source":"iana","compressible":true},"application/tei+xml":{"source":"iana","compressible":true,"extensions":["tei","teicorpus"]},"application/tetra_isi":{"source":"iana"},"application/thraud+xml":{"source":"iana","compressible":true,"extensions":["tfi"]},"application/timestamp-query":{"source":"iana"},"application/timestamp-reply":{"source":"iana"},"application/timestamped-data":{"source":"iana","extensions":["tsd"]},"application/tlsrpt+gzip":{"source":"iana"},"application/tlsrpt+json":{"source":"iana","compressible":true},"application/tnauthlist":{"source":"iana"},"application/token-introspection+jwt":{"source":"iana"},"application/toml":{"compressible":true,"extensions":["toml"]},"application/trickle-ice-sdpfrag":{"source":"iana"},"application/trig":{"source":"iana","extensions":["trig"]},"application/ttml+xml":{"source":"iana","compressible":true,"extensions":["ttml"]},"application/tve-trigger":{"source":"iana"},"application/tzif":{"source":"iana"},"application/tzif-leap":{"source":"iana"},"application/ubjson":{"compressible":false,"extensions":["ubj"]},"application/ulpfec":{"source":"iana"},"application/urc-grpsheet+xml":{"source":"iana","compressible":true},"application/urc-ressheet+xml":{"source":"iana","compressible":true,"extensions":["rsheet"]},"application/urc-targetdesc+xml":{"source":"iana","compressible":true,"extensions":["td"]},"application/urc-uisocketdesc+xml":{"source":"iana","compressible":true},"application/vcard+json":{"source":"iana","compressible":true},"application/vcard+xml":{"source":"iana","compressible":true},"application/vemmi":{"source":"iana"},"application/vividence.scriptfile":{"source":"apache"},"application/vnd.1000minds.decision-model+xml":{"source":"iana","compressible":true,"extensions":["1km"]},"application/vnd.3gpp-prose+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-prose-pc3ch+xml":{"source":"iana","compressible":true},"application/vnd.3gpp-v2x-local-service-information":{"source":"iana"},"application/vnd.3gpp.5gnas":{"source":"iana"},"application/vnd.3gpp.access-transfer-events+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.bsf+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gmop+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.gtpc":{"source":"iana"},"application/vnd.3gpp.interworking-data":{"source":"iana"},"application/vnd.3gpp.lpp":{"source":"iana"},"application/vnd.3gpp.mc-signalling-ear":{"source":"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-payload":{"source":"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-signalling":{"source":"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcdata-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-floor-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-signed+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcptt-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-location-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-service-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-ue-config+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mcvideo-user-profile+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.mid-call+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ngap":{"source":"iana"},"application/vnd.3gpp.pfcp":{"source":"iana"},"application/vnd.3gpp.pic-bw-large":{"source":"iana","extensions":["plb"]},"application/vnd.3gpp.pic-bw-small":{"source":"iana","extensions":["psb"]},"application/vnd.3gpp.pic-bw-var":{"source":"iana","extensions":["pvb"]},"application/vnd.3gpp.s1ap":{"source":"iana"},"application/vnd.3gpp.sms":{"source":"iana"},"application/vnd.3gpp.sms+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-ext+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.srvcc-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.state-and-event-info+xml":{"source":"iana","compressible":true},"application/vnd.3gpp.ussd+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.bcmcsinfo+xml":{"source":"iana","compressible":true},"application/vnd.3gpp2.sms":{"source":"iana"},"application/vnd.3gpp2.tcap":{"source":"iana","extensions":["tcap"]},"application/vnd.3lightssoftware.imagescal":{"source":"iana"},"application/vnd.3m.post-it-notes":{"source":"iana","extensions":["pwn"]},"application/vnd.accpac.simply.aso":{"source":"iana","extensions":["aso"]},"application/vnd.accpac.simply.imp":{"source":"iana","extensions":["imp"]},"application/vnd.acucobol":{"source":"iana","extensions":["acu"]},"application/vnd.acucorp":{"source":"iana","extensions":["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{"source":"apache","compressible":false,"extensions":["air"]},"application/vnd.adobe.flash.movie":{"source":"iana"},"application/vnd.adobe.formscentral.fcdt":{"source":"iana","extensions":["fcdt"]},"application/vnd.adobe.fxp":{"source":"iana","extensions":["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{"source":"iana"},"application/vnd.adobe.xdp+xml":{"source":"iana","compressible":true,"extensions":["xdp"]},"application/vnd.adobe.xfdf":{"source":"iana","extensions":["xfdf"]},"application/vnd.aether.imp":{"source":"iana"},"application/vnd.afpc.afplinedata":{"source":"iana"},"application/vnd.afpc.afplinedata-pagedef":{"source":"iana"},"application/vnd.afpc.cmoca-cmresource":{"source":"iana"},"application/vnd.afpc.foca-charset":{"source":"iana"},"application/vnd.afpc.foca-codedfont":{"source":"iana"},"application/vnd.afpc.foca-codepage":{"source":"iana"},"application/vnd.afpc.modca":{"source":"iana"},"application/vnd.afpc.modca-cmtable":{"source":"iana"},"application/vnd.afpc.modca-formdef":{"source":"iana"},"application/vnd.afpc.modca-mediummap":{"source":"iana"},"application/vnd.afpc.modca-objectcontainer":{"source":"iana"},"application/vnd.afpc.modca-overlay":{"source":"iana"},"application/vnd.afpc.modca-pagesegment":{"source":"iana"},"application/vnd.age":{"source":"iana","extensions":["age"]},"application/vnd.ah-barcode":{"source":"iana"},"application/vnd.ahead.space":{"source":"iana","extensions":["ahead"]},"application/vnd.airzip.filesecure.azf":{"source":"iana","extensions":["azf"]},"application/vnd.airzip.filesecure.azs":{"source":"iana","extensions":["azs"]},"application/vnd.amadeus+json":{"source":"iana","compressible":true},"application/vnd.amazon.ebook":{"source":"apache","extensions":["azw"]},"application/vnd.amazon.mobi8-ebook":{"source":"iana"},"application/vnd.americandynamics.acc":{"source":"iana","extensions":["acc"]},"application/vnd.amiga.ami":{"source":"iana","extensions":["ami"]},"application/vnd.amundsen.maze+xml":{"source":"iana","compressible":true},"application/vnd.android.ota":{"source":"iana"},"application/vnd.android.package-archive":{"source":"apache","compressible":false,"extensions":["apk"]},"application/vnd.anki":{"source":"iana"},"application/vnd.anser-web-certificate-issue-initiation":{"source":"iana","extensions":["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{"source":"apache","extensions":["fti"]},"application/vnd.antix.game-component":{"source":"iana","extensions":["atx"]},"application/vnd.apache.arrow.file":{"source":"iana"},"application/vnd.apache.arrow.stream":{"source":"iana"},"application/vnd.apache.thrift.binary":{"source":"iana"},"application/vnd.apache.thrift.compact":{"source":"iana"},"application/vnd.apache.thrift.json":{"source":"iana"},"application/vnd.api+json":{"source":"iana","compressible":true},"application/vnd.aplextor.warrp+json":{"source":"iana","compressible":true},"application/vnd.apothekende.reservation+json":{"source":"iana","compressible":true},"application/vnd.apple.installer+xml":{"source":"iana","compressible":true,"extensions":["mpkg"]},"application/vnd.apple.keynote":{"source":"iana","extensions":["key"]},"application/vnd.apple.mpegurl":{"source":"iana","extensions":["m3u8"]},"application/vnd.apple.numbers":{"source":"iana","extensions":["numbers"]},"application/vnd.apple.pages":{"source":"iana","extensions":["pages"]},"application/vnd.apple.pkpass":{"compressible":false,"extensions":["pkpass"]},"application/vnd.arastra.swi":{"source":"iana"},"application/vnd.aristanetworks.swi":{"source":"iana","extensions":["swi"]},"application/vnd.artisan+json":{"source":"iana","compressible":true},"application/vnd.artsquare":{"source":"iana"},"application/vnd.astraea-software.iota":{"source":"iana","extensions":["iota"]},"application/vnd.audiograph":{"source":"iana","extensions":["aep"]},"application/vnd.autopackage":{"source":"iana"},"application/vnd.avalon+json":{"source":"iana","compressible":true},"application/vnd.avistar+xml":{"source":"iana","compressible":true},"application/vnd.balsamiq.bmml+xml":{"source":"iana","compressible":true,"extensions":["bmml"]},"application/vnd.balsamiq.bmpr":{"source":"iana"},"application/vnd.banana-accounting":{"source":"iana"},"application/vnd.bbf.usp.error":{"source":"iana"},"application/vnd.bbf.usp.msg":{"source":"iana"},"application/vnd.bbf.usp.msg+json":{"source":"iana","compressible":true},"application/vnd.bekitzur-stech+json":{"source":"iana","compressible":true},"application/vnd.bint.med-content":{"source":"iana"},"application/vnd.biopax.rdf+xml":{"source":"iana","compressible":true},"application/vnd.blink-idb-value-wrapper":{"source":"iana"},"application/vnd.blueice.multipass":{"source":"iana","extensions":["mpm"]},"application/vnd.bluetooth.ep.oob":{"source":"iana"},"application/vnd.bluetooth.le.oob":{"source":"iana"},"application/vnd.bmi":{"source":"iana","extensions":["bmi"]},"application/vnd.bpf":{"source":"iana"},"application/vnd.bpf3":{"source":"iana"},"application/vnd.businessobjects":{"source":"iana","extensions":["rep"]},"application/vnd.byu.uapi+json":{"source":"iana","compressible":true},"application/vnd.cab-jscript":{"source":"iana"},"application/vnd.canon-cpdl":{"source":"iana"},"application/vnd.canon-lips":{"source":"iana"},"application/vnd.capasystems-pg+json":{"source":"iana","compressible":true},"application/vnd.cendio.thinlinc.clientconf":{"source":"iana"},"application/vnd.century-systems.tcp_stream":{"source":"iana"},"application/vnd.chemdraw+xml":{"source":"iana","compressible":true,"extensions":["cdxml"]},"application/vnd.chess-pgn":{"source":"iana"},"application/vnd.chipnuts.karaoke-mmd":{"source":"iana","extensions":["mmd"]},"application/vnd.ciedi":{"source":"iana"},"application/vnd.cinderella":{"source":"iana","extensions":["cdy"]},"application/vnd.cirpack.isdn-ext":{"source":"iana"},"application/vnd.citationstyles.style+xml":{"source":"iana","compressible":true,"extensions":["csl"]},"application/vnd.claymore":{"source":"iana","extensions":["cla"]},"application/vnd.cloanto.rp9":{"source":"iana","extensions":["rp9"]},"application/vnd.clonk.c4group":{"source":"iana","extensions":["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{"source":"iana","extensions":["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{"source":"iana","extensions":["c11amz"]},"application/vnd.coffeescript":{"source":"iana"},"application/vnd.collabio.xodocuments.document":{"source":"iana"},"application/vnd.collabio.xodocuments.document-template":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation":{"source":"iana"},"application/vnd.collabio.xodocuments.presentation-template":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{"source":"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{"source":"iana"},"application/vnd.collection+json":{"source":"iana","compressible":true},"application/vnd.collection.doc+json":{"source":"iana","compressible":true},"application/vnd.collection.next+json":{"source":"iana","compressible":true},"application/vnd.comicbook+zip":{"source":"iana","compressible":false},"application/vnd.comicbook-rar":{"source":"iana"},"application/vnd.commerce-battelle":{"source":"iana"},"application/vnd.commonspace":{"source":"iana","extensions":["csp"]},"application/vnd.contact.cmsg":{"source":"iana","extensions":["cdbcmsg"]},"application/vnd.coreos.ignition+json":{"source":"iana","compressible":true},"application/vnd.cosmocaller":{"source":"iana","extensions":["cmc"]},"application/vnd.crick.clicker":{"source":"iana","extensions":["clkx"]},"application/vnd.crick.clicker.keyboard":{"source":"iana","extensions":["clkk"]},"application/vnd.crick.clicker.palette":{"source":"iana","extensions":["clkp"]},"application/vnd.crick.clicker.template":{"source":"iana","extensions":["clkt"]},"application/vnd.crick.clicker.wordbank":{"source":"iana","extensions":["clkw"]},"application/vnd.criticaltools.wbs+xml":{"source":"iana","compressible":true,"extensions":["wbs"]},"application/vnd.cryptii.pipe+json":{"source":"iana","compressible":true},"application/vnd.crypto-shade-file":{"source":"iana"},"application/vnd.cryptomator.encrypted":{"source":"iana"},"application/vnd.cryptomator.vault":{"source":"iana"},"application/vnd.ctc-posml":{"source":"iana","extensions":["pml"]},"application/vnd.ctct.ws+xml":{"source":"iana","compressible":true},"application/vnd.cups-pdf":{"source":"iana"},"application/vnd.cups-postscript":{"source":"iana"},"application/vnd.cups-ppd":{"source":"iana","extensions":["ppd"]},"application/vnd.cups-raster":{"source":"iana"},"application/vnd.cups-raw":{"source":"iana"},"application/vnd.curl":{"source":"iana"},"application/vnd.curl.car":{"source":"apache","extensions":["car"]},"application/vnd.curl.pcurl":{"source":"apache","extensions":["pcurl"]},"application/vnd.cyan.dean.root+xml":{"source":"iana","compressible":true},"application/vnd.cybank":{"source":"iana"},"application/vnd.cyclonedx+json":{"source":"iana","compressible":true},"application/vnd.cyclonedx+xml":{"source":"iana","compressible":true},"application/vnd.d2l.coursepackage1p0+zip":{"source":"iana","compressible":false},"application/vnd.d3m-dataset":{"source":"iana"},"application/vnd.d3m-problem":{"source":"iana"},"application/vnd.dart":{"source":"iana","compressible":true,"extensions":["dart"]},"application/vnd.data-vision.rdz":{"source":"iana","extensions":["rdz"]},"application/vnd.datapackage+json":{"source":"iana","compressible":true},"application/vnd.dataresource+json":{"source":"iana","compressible":true},"application/vnd.dbf":{"source":"iana","extensions":["dbf"]},"application/vnd.debian.binary-package":{"source":"iana"},"application/vnd.dece.data":{"source":"iana","extensions":["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{"source":"iana","compressible":true,"extensions":["uvt","uvvt"]},"application/vnd.dece.unspecified":{"source":"iana","extensions":["uvx","uvvx"]},"application/vnd.dece.zip":{"source":"iana","extensions":["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{"source":"iana","extensions":["fe_launch"]},"application/vnd.desmume.movie":{"source":"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{"source":"iana"},"application/vnd.dm.delegation+xml":{"source":"iana","compressible":true},"application/vnd.dna":{"source":"iana","extensions":["dna"]},"application/vnd.document+json":{"source":"iana","compressible":true},"application/vnd.dolby.mlp":{"source":"apache","extensions":["mlp"]},"application/vnd.dolby.mobile.1":{"source":"iana"},"application/vnd.dolby.mobile.2":{"source":"iana"},"application/vnd.doremir.scorecloud-binary-document":{"source":"iana"},"application/vnd.dpgraph":{"source":"iana","extensions":["dpg"]},"application/vnd.dreamfactory":{"source":"iana","extensions":["dfac"]},"application/vnd.drive+json":{"source":"iana","compressible":true},"application/vnd.ds-keypoint":{"source":"apache","extensions":["kpxx"]},"application/vnd.dtg.local":{"source":"iana"},"application/vnd.dtg.local.flash":{"source":"iana"},"application/vnd.dtg.local.html":{"source":"iana"},"application/vnd.dvb.ait":{"source":"iana","extensions":["ait"]},"application/vnd.dvb.dvbisl+xml":{"source":"iana","compressible":true},"application/vnd.dvb.dvbj":{"source":"iana"},"application/vnd.dvb.esgcontainer":{"source":"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess":{"source":"iana"},"application/vnd.dvb.ipdcesgaccess2":{"source":"iana"},"application/vnd.dvb.ipdcesgpdd":{"source":"iana"},"application/vnd.dvb.ipdcroaming":{"source":"iana"},"application/vnd.dvb.iptv.alfec-base":{"source":"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{"source":"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-container+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-generic+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-msglist+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-request+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-ia-registration-response+xml":{"source":"iana","compressible":true},"application/vnd.dvb.notif-init+xml":{"source":"iana","compressible":true},"application/vnd.dvb.pfr":{"source":"iana"},"application/vnd.dvb.service":{"source":"iana","extensions":["svc"]},"application/vnd.dxr":{"source":"iana"},"application/vnd.dynageo":{"source":"iana","extensions":["geo"]},"application/vnd.dzr":{"source":"iana"},"application/vnd.easykaraoke.cdgdownload":{"source":"iana"},"application/vnd.ecdis-update":{"source":"iana"},"application/vnd.ecip.rlp":{"source":"iana"},"application/vnd.ecowin.chart":{"source":"iana","extensions":["mag"]},"application/vnd.ecowin.filerequest":{"source":"iana"},"application/vnd.ecowin.fileupdate":{"source":"iana"},"application/vnd.ecowin.series":{"source":"iana"},"application/vnd.ecowin.seriesrequest":{"source":"iana"},"application/vnd.ecowin.seriesupdate":{"source":"iana"},"application/vnd.efi.img":{"source":"iana"},"application/vnd.efi.iso":{"source":"iana"},"application/vnd.emclient.accessrequest+xml":{"source":"iana","compressible":true},"application/vnd.enliven":{"source":"iana","extensions":["nml"]},"application/vnd.enphase.envoy":{"source":"iana"},"application/vnd.eprints.data+xml":{"source":"iana","compressible":true},"application/vnd.epson.esf":{"source":"iana","extensions":["esf"]},"application/vnd.epson.msf":{"source":"iana","extensions":["msf"]},"application/vnd.epson.quickanime":{"source":"iana","extensions":["qam"]},"application/vnd.epson.salt":{"source":"iana","extensions":["slt"]},"application/vnd.epson.ssf":{"source":"iana","extensions":["ssf"]},"application/vnd.ericsson.quickcall":{"source":"iana"},"application/vnd.espass-espass+zip":{"source":"iana","compressible":false},"application/vnd.eszigno3+xml":{"source":"iana","compressible":true,"extensions":["es3","et3"]},"application/vnd.etsi.aoc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.asic-e+zip":{"source":"iana","compressible":false},"application/vnd.etsi.asic-s+zip":{"source":"iana","compressible":false},"application/vnd.etsi.cug+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvcommand+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-bc+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-cod+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsad-npvr+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvservice+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvsync+xml":{"source":"iana","compressible":true},"application/vnd.etsi.iptvueprofile+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mcid+xml":{"source":"iana","compressible":true},"application/vnd.etsi.mheg5":{"source":"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{"source":"iana","compressible":true},"application/vnd.etsi.pstn+xml":{"source":"iana","compressible":true},"application/vnd.etsi.sci+xml":{"source":"iana","compressible":true},"application/vnd.etsi.simservs+xml":{"source":"iana","compressible":true},"application/vnd.etsi.timestamp-token":{"source":"iana"},"application/vnd.etsi.tsl+xml":{"source":"iana","compressible":true},"application/vnd.etsi.tsl.der":{"source":"iana"},"application/vnd.eudora.data":{"source":"iana"},"application/vnd.evolv.ecig.profile":{"source":"iana"},"application/vnd.evolv.ecig.settings":{"source":"iana"},"application/vnd.evolv.ecig.theme":{"source":"iana"},"application/vnd.exstream-empower+zip":{"source":"iana","compressible":false},"application/vnd.exstream-package":{"source":"iana"},"application/vnd.ezpix-album":{"source":"iana","extensions":["ez2"]},"application/vnd.ezpix-package":{"source":"iana","extensions":["ez3"]},"application/vnd.f-secure.mobile":{"source":"iana"},"application/vnd.fastcopy-disk-image":{"source":"iana"},"application/vnd.fdf":{"source":"iana","extensions":["fdf"]},"application/vnd.fdsn.mseed":{"source":"iana","extensions":["mseed"]},"application/vnd.fdsn.seed":{"source":"iana","extensions":["seed","dataless"]},"application/vnd.ffsns":{"source":"iana"},"application/vnd.ficlab.flb+zip":{"source":"iana","compressible":false},"application/vnd.filmit.zfc":{"source":"iana"},"application/vnd.fints":{"source":"iana"},"application/vnd.firemonkeys.cloudcell":{"source":"iana"},"application/vnd.flographit":{"source":"iana","extensions":["gph"]},"application/vnd.fluxtime.clip":{"source":"iana","extensions":["ftc"]},"application/vnd.font-fontforge-sfd":{"source":"iana"},"application/vnd.framemaker":{"source":"iana","extensions":["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{"source":"iana","extensions":["fnc"]},"application/vnd.frogans.ltf":{"source":"iana","extensions":["ltf"]},"application/vnd.fsc.weblaunch":{"source":"iana","extensions":["fsc"]},"application/vnd.fujifilm.fb.docuworks":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{"source":"iana"},"application/vnd.fujifilm.fb.docuworks.container":{"source":"iana"},"application/vnd.fujifilm.fb.jfi+xml":{"source":"iana","compressible":true},"application/vnd.fujitsu.oasys":{"source":"iana","extensions":["oas"]},"application/vnd.fujitsu.oasys2":{"source":"iana","extensions":["oa2"]},"application/vnd.fujitsu.oasys3":{"source":"iana","extensions":["oa3"]},"application/vnd.fujitsu.oasysgp":{"source":"iana","extensions":["fg5"]},"application/vnd.fujitsu.oasysprs":{"source":"iana","extensions":["bh2"]},"application/vnd.fujixerox.art-ex":{"source":"iana"},"application/vnd.fujixerox.art4":{"source":"iana"},"application/vnd.fujixerox.ddd":{"source":"iana","extensions":["ddd"]},"application/vnd.fujixerox.docuworks":{"source":"iana","extensions":["xdw"]},"application/vnd.fujixerox.docuworks.binder":{"source":"iana","extensions":["xbd"]},"application/vnd.fujixerox.docuworks.container":{"source":"iana"},"application/vnd.fujixerox.hbpl":{"source":"iana"},"application/vnd.fut-misnet":{"source":"iana"},"application/vnd.futoin+cbor":{"source":"iana"},"application/vnd.futoin+json":{"source":"iana","compressible":true},"application/vnd.fuzzysheet":{"source":"iana","extensions":["fzs"]},"application/vnd.genomatix.tuxedo":{"source":"iana","extensions":["txd"]},"application/vnd.gentics.grd+json":{"source":"iana","compressible":true},"application/vnd.geo+json":{"source":"iana","compressible":true},"application/vnd.geocube+xml":{"source":"iana","compressible":true},"application/vnd.geogebra.file":{"source":"iana","extensions":["ggb"]},"application/vnd.geogebra.slides":{"source":"iana"},"application/vnd.geogebra.tool":{"source":"iana","extensions":["ggt"]},"application/vnd.geometry-explorer":{"source":"iana","extensions":["gex","gre"]},"application/vnd.geonext":{"source":"iana","extensions":["gxt"]},"application/vnd.geoplan":{"source":"iana","extensions":["g2w"]},"application/vnd.geospace":{"source":"iana","extensions":["g3w"]},"application/vnd.gerber":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt":{"source":"iana"},"application/vnd.globalplatform.card-content-mgt-response":{"source":"iana"},"application/vnd.gmx":{"source":"iana","extensions":["gmx"]},"application/vnd.google-apps.document":{"compressible":false,"extensions":["gdoc"]},"application/vnd.google-apps.presentation":{"compressible":false,"extensions":["gslides"]},"application/vnd.google-apps.spreadsheet":{"compressible":false,"extensions":["gsheet"]},"application/vnd.google-earth.kml+xml":{"source":"iana","compressible":true,"extensions":["kml"]},"application/vnd.google-earth.kmz":{"source":"iana","compressible":false,"extensions":["kmz"]},"application/vnd.gov.sk.e-form+xml":{"source":"iana","compressible":true},"application/vnd.gov.sk.e-form+zip":{"source":"iana","compressible":false},"application/vnd.gov.sk.xmldatacontainer+xml":{"source":"iana","compressible":true},"application/vnd.grafeq":{"source":"iana","extensions":["gqf","gqs"]},"application/vnd.gridmp":{"source":"iana"},"application/vnd.groove-account":{"source":"iana","extensions":["gac"]},"application/vnd.groove-help":{"source":"iana","extensions":["ghf"]},"application/vnd.groove-identity-message":{"source":"iana","extensions":["gim"]},"application/vnd.groove-injector":{"source":"iana","extensions":["grv"]},"application/vnd.groove-tool-message":{"source":"iana","extensions":["gtm"]},"application/vnd.groove-tool-template":{"source":"iana","extensions":["tpl"]},"application/vnd.groove-vcard":{"source":"iana","extensions":["vcg"]},"application/vnd.hal+json":{"source":"iana","compressible":true},"application/vnd.hal+xml":{"source":"iana","compressible":true,"extensions":["hal"]},"application/vnd.handheld-entertainment+xml":{"source":"iana","compressible":true,"extensions":["zmm"]},"application/vnd.hbci":{"source":"iana","extensions":["hbci"]},"application/vnd.hc+json":{"source":"iana","compressible":true},"application/vnd.hcl-bireports":{"source":"iana"},"application/vnd.hdt":{"source":"iana"},"application/vnd.heroku+json":{"source":"iana","compressible":true},"application/vnd.hhe.lesson-player":{"source":"iana","extensions":["les"]},"application/vnd.hp-hpgl":{"source":"iana","extensions":["hpgl"]},"application/vnd.hp-hpid":{"source":"iana","extensions":["hpid"]},"application/vnd.hp-hps":{"source":"iana","extensions":["hps"]},"application/vnd.hp-jlyt":{"source":"iana","extensions":["jlt"]},"application/vnd.hp-pcl":{"source":"iana","extensions":["pcl"]},"application/vnd.hp-pclxl":{"source":"iana","extensions":["pclxl"]},"application/vnd.httphone":{"source":"iana"},"application/vnd.hydrostatix.sof-data":{"source":"iana","extensions":["sfd-hdstx"]},"application/vnd.hyper+json":{"source":"iana","compressible":true},"application/vnd.hyper-item+json":{"source":"iana","compressible":true},"application/vnd.hyperdrive+json":{"source":"iana","compressible":true},"application/vnd.hzn-3d-crossword":{"source":"iana"},"application/vnd.ibm.afplinedata":{"source":"iana"},"application/vnd.ibm.electronic-media":{"source":"iana"},"application/vnd.ibm.minipay":{"source":"iana","extensions":["mpy"]},"application/vnd.ibm.modcap":{"source":"iana","extensions":["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{"source":"iana","extensions":["irm"]},"application/vnd.ibm.secure-container":{"source":"iana","extensions":["sc"]},"application/vnd.iccprofile":{"source":"iana","extensions":["icc","icm"]},"application/vnd.ieee.1905":{"source":"iana"},"application/vnd.igloader":{"source":"iana","extensions":["igl"]},"application/vnd.imagemeter.folder+zip":{"source":"iana","compressible":false},"application/vnd.imagemeter.image+zip":{"source":"iana","compressible":false},"application/vnd.immervision-ivp":{"source":"iana","extensions":["ivp"]},"application/vnd.immervision-ivu":{"source":"iana","extensions":["ivu"]},"application/vnd.ims.imsccv1p1":{"source":"iana"},"application/vnd.ims.imsccv1p2":{"source":"iana"},"application/vnd.ims.imsccv1p3":{"source":"iana"},"application/vnd.ims.lis.v2.result+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolproxy.id+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings+json":{"source":"iana","compressible":true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{"source":"iana","compressible":true},"application/vnd.informedcontrol.rms+xml":{"source":"iana","compressible":true},"application/vnd.informix-visionary":{"source":"iana"},"application/vnd.infotech.project":{"source":"iana"},"application/vnd.infotech.project+xml":{"source":"iana","compressible":true},"application/vnd.innopath.wamp.notification":{"source":"iana"},"application/vnd.insors.igm":{"source":"iana","extensions":["igm"]},"application/vnd.intercon.formnet":{"source":"iana","extensions":["xpw","xpx"]},"application/vnd.intergeo":{"source":"iana","extensions":["i2g"]},"application/vnd.intertrust.digibox":{"source":"iana"},"application/vnd.intertrust.nncp":{"source":"iana"},"application/vnd.intu.qbo":{"source":"iana","extensions":["qbo"]},"application/vnd.intu.qfx":{"source":"iana","extensions":["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.conceptitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.knowledgeitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.newsmessage+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.packageitem+xml":{"source":"iana","compressible":true},"application/vnd.iptc.g2.planningitem+xml":{"source":"iana","compressible":true},"application/vnd.ipunplugged.rcprofile":{"source":"iana","extensions":["rcprofile"]},"application/vnd.irepository.package+xml":{"source":"iana","compressible":true,"extensions":["irp"]},"application/vnd.is-xpr":{"source":"iana","extensions":["xpr"]},"application/vnd.isac.fcs":{"source":"iana","extensions":["fcs"]},"application/vnd.iso11783-10+zip":{"source":"iana","compressible":false},"application/vnd.jam":{"source":"iana","extensions":["jam"]},"application/vnd.japannet-directory-service":{"source":"iana"},"application/vnd.japannet-jpnstore-wakeup":{"source":"iana"},"application/vnd.japannet-payment-wakeup":{"source":"iana"},"application/vnd.japannet-registration":{"source":"iana"},"application/vnd.japannet-registration-wakeup":{"source":"iana"},"application/vnd.japannet-setstore-wakeup":{"source":"iana"},"application/vnd.japannet-verification":{"source":"iana"},"application/vnd.japannet-verification-wakeup":{"source":"iana"},"application/vnd.jcp.javame.midlet-rms":{"source":"iana","extensions":["rms"]},"application/vnd.jisp":{"source":"iana","extensions":["jisp"]},"application/vnd.joost.joda-archive":{"source":"iana","extensions":["joda"]},"application/vnd.jsk.isdn-ngn":{"source":"iana"},"application/vnd.kahootz":{"source":"iana","extensions":["ktz","ktr"]},"application/vnd.kde.karbon":{"source":"iana","extensions":["karbon"]},"application/vnd.kde.kchart":{"source":"iana","extensions":["chrt"]},"application/vnd.kde.kformula":{"source":"iana","extensions":["kfo"]},"application/vnd.kde.kivio":{"source":"iana","extensions":["flw"]},"application/vnd.kde.kontour":{"source":"iana","extensions":["kon"]},"application/vnd.kde.kpresenter":{"source":"iana","extensions":["kpr","kpt"]},"application/vnd.kde.kspread":{"source":"iana","extensions":["ksp"]},"application/vnd.kde.kword":{"source":"iana","extensions":["kwd","kwt"]},"application/vnd.kenameaapp":{"source":"iana","extensions":["htke"]},"application/vnd.kidspiration":{"source":"iana","extensions":["kia"]},"application/vnd.kinar":{"source":"iana","extensions":["kne","knp"]},"application/vnd.koan":{"source":"iana","extensions":["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{"source":"iana","extensions":["sse"]},"application/vnd.las":{"source":"iana"},"application/vnd.las.las+json":{"source":"iana","compressible":true},"application/vnd.las.las+xml":{"source":"iana","compressible":true,"extensions":["lasxml"]},"application/vnd.laszip":{"source":"iana"},"application/vnd.leap+json":{"source":"iana","compressible":true},"application/vnd.liberty-request+xml":{"source":"iana","compressible":true},"application/vnd.llamagraphics.life-balance.desktop":{"source":"iana","extensions":["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{"source":"iana","compressible":true,"extensions":["lbe"]},"application/vnd.logipipe.circuit+zip":{"source":"iana","compressible":false},"application/vnd.loom":{"source":"iana"},"application/vnd.lotus-1-2-3":{"source":"iana","extensions":["123"]},"application/vnd.lotus-approach":{"source":"iana","extensions":["apr"]},"application/vnd.lotus-freelance":{"source":"iana","extensions":["pre"]},"application/vnd.lotus-notes":{"source":"iana","extensions":["nsf"]},"application/vnd.lotus-organizer":{"source":"iana","extensions":["org"]},"application/vnd.lotus-screencam":{"source":"iana","extensions":["scm"]},"application/vnd.lotus-wordpro":{"source":"iana","extensions":["lwp"]},"application/vnd.macports.portpkg":{"source":"iana","extensions":["portpkg"]},"application/vnd.mapbox-vector-tile":{"source":"iana","extensions":["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.conftoken+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.license+xml":{"source":"iana","compressible":true},"application/vnd.marlin.drm.mdcf":{"source":"iana"},"application/vnd.mason+json":{"source":"iana","compressible":true},"application/vnd.maxmind.maxmind-db":{"source":"iana"},"application/vnd.mcd":{"source":"iana","extensions":["mcd"]},"application/vnd.medcalcdata":{"source":"iana","extensions":["mc1"]},"application/vnd.mediastation.cdkey":{"source":"iana","extensions":["cdkey"]},"application/vnd.meridian-slingshot":{"source":"iana"},"application/vnd.mfer":{"source":"iana","extensions":["mwf"]},"application/vnd.mfmp":{"source":"iana","extensions":["mfm"]},"application/vnd.micro+json":{"source":"iana","compressible":true},"application/vnd.micrografx.flo":{"source":"iana","extensions":["flo"]},"application/vnd.micrografx.igx":{"source":"iana","extensions":["igx"]},"application/vnd.microsoft.portable-executable":{"source":"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{"source":"iana"},"application/vnd.miele+json":{"source":"iana","compressible":true},"application/vnd.mif":{"source":"iana","extensions":["mif"]},"application/vnd.minisoft-hp3000-save":{"source":"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{"source":"iana"},"application/vnd.mobius.daf":{"source":"iana","extensions":["daf"]},"application/vnd.mobius.dis":{"source":"iana","extensions":["dis"]},"application/vnd.mobius.mbk":{"source":"iana","extensions":["mbk"]},"application/vnd.mobius.mqy":{"source":"iana","extensions":["mqy"]},"application/vnd.mobius.msl":{"source":"iana","extensions":["msl"]},"application/vnd.mobius.plc":{"source":"iana","extensions":["plc"]},"application/vnd.mobius.txf":{"source":"iana","extensions":["txf"]},"application/vnd.mophun.application":{"source":"iana","extensions":["mpn"]},"application/vnd.mophun.certificate":{"source":"iana","extensions":["mpc"]},"application/vnd.motorola.flexsuite":{"source":"iana"},"application/vnd.motorola.flexsuite.adsi":{"source":"iana"},"application/vnd.motorola.flexsuite.fis":{"source":"iana"},"application/vnd.motorola.flexsuite.gotap":{"source":"iana"},"application/vnd.motorola.flexsuite.kmr":{"source":"iana"},"application/vnd.motorola.flexsuite.ttc":{"source":"iana"},"application/vnd.motorola.flexsuite.wem":{"source":"iana"},"application/vnd.motorola.iprm":{"source":"iana"},"application/vnd.mozilla.xul+xml":{"source":"iana","compressible":true,"extensions":["xul"]},"application/vnd.ms-3mfdocument":{"source":"iana"},"application/vnd.ms-artgalry":{"source":"iana","extensions":["cil"]},"application/vnd.ms-asf":{"source":"iana"},"application/vnd.ms-cab-compressed":{"source":"iana","extensions":["cab"]},"application/vnd.ms-color.iccprofile":{"source":"apache"},"application/vnd.ms-excel":{"source":"iana","compressible":false,"extensions":["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{"source":"iana","extensions":["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{"source":"iana","extensions":["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{"source":"iana","extensions":["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{"source":"iana","extensions":["xltm"]},"application/vnd.ms-fontobject":{"source":"iana","compressible":true,"extensions":["eot"]},"application/vnd.ms-htmlhelp":{"source":"iana","extensions":["chm"]},"application/vnd.ms-ims":{"source":"iana","extensions":["ims"]},"application/vnd.ms-lrm":{"source":"iana","extensions":["lrm"]},"application/vnd.ms-office.activex+xml":{"source":"iana","compressible":true},"application/vnd.ms-officetheme":{"source":"iana","extensions":["thmx"]},"application/vnd.ms-opentype":{"source":"apache","compressible":true},"application/vnd.ms-outlook":{"compressible":false,"extensions":["msg"]},"application/vnd.ms-package.obfuscated-opentype":{"source":"apache"},"application/vnd.ms-pki.seccat":{"source":"apache","extensions":["cat"]},"application/vnd.ms-pki.stl":{"source":"apache","extensions":["stl"]},"application/vnd.ms-playready.initiator+xml":{"source":"iana","compressible":true},"application/vnd.ms-powerpoint":{"source":"iana","compressible":false,"extensions":["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{"source":"iana","extensions":["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{"source":"iana","extensions":["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{"source":"iana","extensions":["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{"source":"iana","extensions":["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{"source":"iana","extensions":["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{"source":"iana","compressible":true},"application/vnd.ms-printing.printticket+xml":{"source":"apache","compressible":true},"application/vnd.ms-printschematicket+xml":{"source":"iana","compressible":true},"application/vnd.ms-project":{"source":"iana","extensions":["mpp","mpt"]},"application/vnd.ms-tnef":{"source":"iana"},"application/vnd.ms-windows.devicepairing":{"source":"iana"},"application/vnd.ms-windows.nwprinting.oob":{"source":"iana"},"application/vnd.ms-windows.printerpairing":{"source":"iana"},"application/vnd.ms-windows.wsd.oob":{"source":"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.lic-resp":{"source":"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{"source":"iana"},"application/vnd.ms-wmdrm.meter-resp":{"source":"iana"},"application/vnd.ms-word.document.macroenabled.12":{"source":"iana","extensions":["docm"]},"application/vnd.ms-word.template.macroenabled.12":{"source":"iana","extensions":["dotm"]},"application/vnd.ms-works":{"source":"iana","extensions":["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{"source":"iana","extensions":["wpl"]},"application/vnd.ms-xpsdocument":{"source":"iana","compressible":false,"extensions":["xps"]},"application/vnd.msa-disk-image":{"source":"iana"},"application/vnd.mseq":{"source":"iana","extensions":["mseq"]},"application/vnd.msign":{"source":"iana"},"application/vnd.multiad.creator":{"source":"iana"},"application/vnd.multiad.creator.cif":{"source":"iana"},"application/vnd.music-niff":{"source":"iana"},"application/vnd.musician":{"source":"iana","extensions":["mus"]},"application/vnd.muvee.style":{"source":"iana","extensions":["msty"]},"application/vnd.mynfc":{"source":"iana","extensions":["taglet"]},"application/vnd.nacamar.ybrid+json":{"source":"iana","compressible":true},"application/vnd.ncd.control":{"source":"iana"},"application/vnd.ncd.reference":{"source":"iana"},"application/vnd.nearst.inv+json":{"source":"iana","compressible":true},"application/vnd.nebumind.line":{"source":"iana"},"application/vnd.nervana":{"source":"iana"},"application/vnd.netfpx":{"source":"iana"},"application/vnd.neurolanguage.nlu":{"source":"iana","extensions":["nlu"]},"application/vnd.nimn":{"source":"iana"},"application/vnd.nintendo.nitro.rom":{"source":"iana"},"application/vnd.nintendo.snes.rom":{"source":"iana"},"application/vnd.nitf":{"source":"iana","extensions":["ntf","nitf"]},"application/vnd.noblenet-directory":{"source":"iana","extensions":["nnd"]},"application/vnd.noblenet-sealer":{"source":"iana","extensions":["nns"]},"application/vnd.noblenet-web":{"source":"iana","extensions":["nnw"]},"application/vnd.nokia.catalogs":{"source":"iana"},"application/vnd.nokia.conml+wbxml":{"source":"iana"},"application/vnd.nokia.conml+xml":{"source":"iana","compressible":true},"application/vnd.nokia.iptv.config+xml":{"source":"iana","compressible":true},"application/vnd.nokia.isds-radio-presets":{"source":"iana"},"application/vnd.nokia.landmark+wbxml":{"source":"iana"},"application/vnd.nokia.landmark+xml":{"source":"iana","compressible":true},"application/vnd.nokia.landmarkcollection+xml":{"source":"iana","compressible":true},"application/vnd.nokia.n-gage.ac+xml":{"source":"iana","compressible":true,"extensions":["ac"]},"application/vnd.nokia.n-gage.data":{"source":"iana","extensions":["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{"source":"iana","extensions":["n-gage"]},"application/vnd.nokia.ncd":{"source":"iana"},"application/vnd.nokia.pcd+wbxml":{"source":"iana"},"application/vnd.nokia.pcd+xml":{"source":"iana","compressible":true},"application/vnd.nokia.radio-preset":{"source":"iana","extensions":["rpst"]},"application/vnd.nokia.radio-presets":{"source":"iana","extensions":["rpss"]},"application/vnd.novadigm.edm":{"source":"iana","extensions":["edm"]},"application/vnd.novadigm.edx":{"source":"iana","extensions":["edx"]},"application/vnd.novadigm.ext":{"source":"iana","extensions":["ext"]},"application/vnd.ntt-local.content-share":{"source":"iana"},"application/vnd.ntt-local.file-transfer":{"source":"iana"},"application/vnd.ntt-local.ogw_remote-access":{"source":"iana"},"application/vnd.ntt-local.sip-ta_remote":{"source":"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{"source":"iana"},"application/vnd.oasis.opendocument.chart":{"source":"iana","extensions":["odc"]},"application/vnd.oasis.opendocument.chart-template":{"source":"iana","extensions":["otc"]},"application/vnd.oasis.opendocument.database":{"source":"iana","extensions":["odb"]},"application/vnd.oasis.opendocument.formula":{"source":"iana","extensions":["odf"]},"application/vnd.oasis.opendocument.formula-template":{"source":"iana","extensions":["odft"]},"application/vnd.oasis.opendocument.graphics":{"source":"iana","compressible":false,"extensions":["odg"]},"application/vnd.oasis.opendocument.graphics-template":{"source":"iana","extensions":["otg"]},"application/vnd.oasis.opendocument.image":{"source":"iana","extensions":["odi"]},"application/vnd.oasis.opendocument.image-template":{"source":"iana","extensions":["oti"]},"application/vnd.oasis.opendocument.presentation":{"source":"iana","compressible":false,"extensions":["odp"]},"application/vnd.oasis.opendocument.presentation-template":{"source":"iana","extensions":["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{"source":"iana","compressible":false,"extensions":["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{"source":"iana","extensions":["ots"]},"application/vnd.oasis.opendocument.text":{"source":"iana","compressible":false,"extensions":["odt"]},"application/vnd.oasis.opendocument.text-master":{"source":"iana","extensions":["odm"]},"application/vnd.oasis.opendocument.text-template":{"source":"iana","extensions":["ott"]},"application/vnd.oasis.opendocument.text-web":{"source":"iana","extensions":["oth"]},"application/vnd.obn":{"source":"iana"},"application/vnd.ocf+cbor":{"source":"iana"},"application/vnd.oci.image.manifest.v1+json":{"source":"iana","compressible":true},"application/vnd.oftn.l10n+json":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessdownload+xml":{"source":"iana","compressible":true},"application/vnd.oipf.contentaccessstreaming+xml":{"source":"iana","compressible":true},"application/vnd.oipf.cspg-hexbinary":{"source":"iana"},"application/vnd.oipf.dae.svg+xml":{"source":"iana","compressible":true},"application/vnd.oipf.dae.xhtml+xml":{"source":"iana","compressible":true},"application/vnd.oipf.mippvcontrolmessage+xml":{"source":"iana","compressible":true},"application/vnd.oipf.pae.gem":{"source":"iana"},"application/vnd.oipf.spdiscovery+xml":{"source":"iana","compressible":true},"application/vnd.oipf.spdlist+xml":{"source":"iana","compressible":true},"application/vnd.oipf.ueprofile+xml":{"source":"iana","compressible":true},"application/vnd.oipf.userprofile+xml":{"source":"iana","compressible":true},"application/vnd.olpc-sugar":{"source":"iana","extensions":["xo"]},"application/vnd.oma-scws-config":{"source":"iana"},"application/vnd.oma-scws-http-request":{"source":"iana"},"application/vnd.oma-scws-http-response":{"source":"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.drm-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.imd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.ltkm":{"source":"iana"},"application/vnd.oma.bcast.notification+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.provisioningtrigger":{"source":"iana"},"application/vnd.oma.bcast.sgboot":{"source":"iana"},"application/vnd.oma.bcast.sgdd+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sgdu":{"source":"iana"},"application/vnd.oma.bcast.simple-symbol-container":{"source":"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.sprov+xml":{"source":"iana","compressible":true},"application/vnd.oma.bcast.stkm":{"source":"iana"},"application/vnd.oma.cab-address-book+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-feature-handler+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-pcc+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-subs-invite+xml":{"source":"iana","compressible":true},"application/vnd.oma.cab-user-prefs+xml":{"source":"iana","compressible":true},"application/vnd.oma.dcd":{"source":"iana"},"application/vnd.oma.dcdc":{"source":"iana"},"application/vnd.oma.dd2+xml":{"source":"iana","compressible":true,"extensions":["dd2"]},"application/vnd.oma.drm.risd+xml":{"source":"iana","compressible":true},"application/vnd.oma.group-usage-list+xml":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+cbor":{"source":"iana"},"application/vnd.oma.lwm2m+json":{"source":"iana","compressible":true},"application/vnd.oma.lwm2m+tlv":{"source":"iana"},"application/vnd.oma.pal+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.detailed-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.final-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.groups+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.invocation-descriptor+xml":{"source":"iana","compressible":true},"application/vnd.oma.poc.optimized-progress-report+xml":{"source":"iana","compressible":true},"application/vnd.oma.push":{"source":"iana"},"application/vnd.oma.scidm.messages+xml":{"source":"iana","compressible":true},"application/vnd.oma.xcap-directory+xml":{"source":"iana","compressible":true},"application/vnd.omads-email+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-file+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omads-folder+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.omaloc-supl-init":{"source":"iana"},"application/vnd.onepager":{"source":"iana"},"application/vnd.onepagertamp":{"source":"iana"},"application/vnd.onepagertamx":{"source":"iana"},"application/vnd.onepagertat":{"source":"iana"},"application/vnd.onepagertatp":{"source":"iana"},"application/vnd.onepagertatx":{"source":"iana"},"application/vnd.openblox.game+xml":{"source":"iana","compressible":true,"extensions":["obgx"]},"application/vnd.openblox.game-binary":{"source":"iana"},"application/vnd.openeye.oeb":{"source":"iana"},"application/vnd.openofficeorg.extension":{"source":"apache","extensions":["oxt"]},"application/vnd.openstreetmap.data+xml":{"source":"iana","compressible":true,"extensions":["osm"]},"application/vnd.opentimestamps.ots":{"source":"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawing+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{"source":"iana","compressible":false,"extensions":["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{"source":"iana","extensions":["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{"source":"iana","extensions":["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.template":{"source":"iana","extensions":["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{"source":"iana","compressible":false,"extensions":["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{"source":"iana","extensions":["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.theme+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.vmldrawing":{"source":"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{"source":"iana","compressible":false,"extensions":["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{"source":"iana","extensions":["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.core-properties+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{"source":"iana","compressible":true},"application/vnd.openxmlformats-package.relationships+xml":{"source":"iana","compressible":true},"application/vnd.oracle.resource+json":{"source":"iana","compressible":true},"application/vnd.orange.indata":{"source":"iana"},"application/vnd.osa.netdeploy":{"source":"iana"},"application/vnd.osgeo.mapguide.package":{"source":"iana","extensions":["mgp"]},"application/vnd.osgi.bundle":{"source":"iana"},"application/vnd.osgi.dp":{"source":"iana","extensions":["dp"]},"application/vnd.osgi.subsystem":{"source":"iana","extensions":["esa"]},"application/vnd.otps.ct-kip+xml":{"source":"iana","compressible":true},"application/vnd.oxli.countgraph":{"source":"iana"},"application/vnd.pagerduty+json":{"source":"iana","compressible":true},"application/vnd.palm":{"source":"iana","extensions":["pdb","pqa","oprc"]},"application/vnd.panoply":{"source":"iana"},"application/vnd.paos.xml":{"source":"iana"},"application/vnd.patentdive":{"source":"iana"},"application/vnd.patientecommsdoc":{"source":"iana"},"application/vnd.pawaafile":{"source":"iana","extensions":["paw"]},"application/vnd.pcos":{"source":"iana"},"application/vnd.pg.format":{"source":"iana","extensions":["str"]},"application/vnd.pg.osasli":{"source":"iana","extensions":["ei6"]},"application/vnd.piaccess.application-licence":{"source":"iana"},"application/vnd.picsel":{"source":"iana","extensions":["efif"]},"application/vnd.pmi.widget":{"source":"iana","extensions":["wg"]},"application/vnd.poc.group-advertisement+xml":{"source":"iana","compressible":true},"application/vnd.pocketlearn":{"source":"iana","extensions":["plf"]},"application/vnd.powerbuilder6":{"source":"iana","extensions":["pbd"]},"application/vnd.powerbuilder6-s":{"source":"iana"},"application/vnd.powerbuilder7":{"source":"iana"},"application/vnd.powerbuilder7-s":{"source":"iana"},"application/vnd.powerbuilder75":{"source":"iana"},"application/vnd.powerbuilder75-s":{"source":"iana"},"application/vnd.preminet":{"source":"iana"},"application/vnd.previewsystems.box":{"source":"iana","extensions":["box"]},"application/vnd.proteus.magazine":{"source":"iana","extensions":["mgz"]},"application/vnd.psfs":{"source":"iana"},"application/vnd.publishare-delta-tree":{"source":"iana","extensions":["qps"]},"application/vnd.pvi.ptid1":{"source":"iana","extensions":["ptid"]},"application/vnd.pwg-multiplexed":{"source":"iana"},"application/vnd.pwg-xhtml-print+xml":{"source":"iana","compressible":true},"application/vnd.qualcomm.brew-app-res":{"source":"iana"},"application/vnd.quarantainenet":{"source":"iana"},"application/vnd.quark.quarkxpress":{"source":"iana","extensions":["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{"source":"iana"},"application/vnd.radisys.moml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-conn+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-audit-stream+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-conf+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-base+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-group+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-speech+xml":{"source":"iana","compressible":true},"application/vnd.radisys.msml-dialog-transform+xml":{"source":"iana","compressible":true},"application/vnd.rainstor.data":{"source":"iana"},"application/vnd.rapid":{"source":"iana"},"application/vnd.rar":{"source":"iana","extensions":["rar"]},"application/vnd.realvnc.bed":{"source":"iana","extensions":["bed"]},"application/vnd.recordare.musicxml":{"source":"iana","extensions":["mxl"]},"application/vnd.recordare.musicxml+xml":{"source":"iana","compressible":true,"extensions":["musicxml"]},"application/vnd.renlearn.rlprint":{"source":"iana"},"application/vnd.resilient.logic":{"source":"iana"},"application/vnd.restful+json":{"source":"iana","compressible":true},"application/vnd.rig.cryptonote":{"source":"iana","extensions":["cryptonote"]},"application/vnd.rim.cod":{"source":"apache","extensions":["cod"]},"application/vnd.rn-realmedia":{"source":"apache","extensions":["rm"]},"application/vnd.rn-realmedia-vbr":{"source":"apache","extensions":["rmvb"]},"application/vnd.route66.link66+xml":{"source":"iana","compressible":true,"extensions":["link66"]},"application/vnd.rs-274x":{"source":"iana"},"application/vnd.ruckus.download":{"source":"iana"},"application/vnd.s3sms":{"source":"iana"},"application/vnd.sailingtracker.track":{"source":"iana","extensions":["st"]},"application/vnd.sar":{"source":"iana"},"application/vnd.sbm.cid":{"source":"iana"},"application/vnd.sbm.mid2":{"source":"iana"},"application/vnd.scribus":{"source":"iana"},"application/vnd.sealed.3df":{"source":"iana"},"application/vnd.sealed.csf":{"source":"iana"},"application/vnd.sealed.doc":{"source":"iana"},"application/vnd.sealed.eml":{"source":"iana"},"application/vnd.sealed.mht":{"source":"iana"},"application/vnd.sealed.net":{"source":"iana"},"application/vnd.sealed.ppt":{"source":"iana"},"application/vnd.sealed.tiff":{"source":"iana"},"application/vnd.sealed.xls":{"source":"iana"},"application/vnd.sealedmedia.softseal.html":{"source":"iana"},"application/vnd.sealedmedia.softseal.pdf":{"source":"iana"},"application/vnd.seemail":{"source":"iana","extensions":["see"]},"application/vnd.seis+json":{"source":"iana","compressible":true},"application/vnd.sema":{"source":"iana","extensions":["sema"]},"application/vnd.semd":{"source":"iana","extensions":["semd"]},"application/vnd.semf":{"source":"iana","extensions":["semf"]},"application/vnd.shade-save-file":{"source":"iana"},"application/vnd.shana.informed.formdata":{"source":"iana","extensions":["ifm"]},"application/vnd.shana.informed.formtemplate":{"source":"iana","extensions":["itp"]},"application/vnd.shana.informed.interchange":{"source":"iana","extensions":["iif"]},"application/vnd.shana.informed.package":{"source":"iana","extensions":["ipk"]},"application/vnd.shootproof+json":{"source":"iana","compressible":true},"application/vnd.shopkick+json":{"source":"iana","compressible":true},"application/vnd.shp":{"source":"iana"},"application/vnd.shx":{"source":"iana"},"application/vnd.sigrok.session":{"source":"iana"},"application/vnd.simtech-mindmapper":{"source":"iana","extensions":["twd","twds"]},"application/vnd.siren+json":{"source":"iana","compressible":true},"application/vnd.smaf":{"source":"iana","extensions":["mmf"]},"application/vnd.smart.notebook":{"source":"iana"},"application/vnd.smart.teacher":{"source":"iana","extensions":["teacher"]},"application/vnd.snesdev-page-table":{"source":"iana"},"application/vnd.software602.filler.form+xml":{"source":"iana","compressible":true,"extensions":["fo"]},"application/vnd.software602.filler.form-xml-zip":{"source":"iana"},"application/vnd.solent.sdkm+xml":{"source":"iana","compressible":true,"extensions":["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{"source":"iana","extensions":["dxp"]},"application/vnd.spotfire.sfs":{"source":"iana","extensions":["sfs"]},"application/vnd.sqlite3":{"source":"iana"},"application/vnd.sss-cod":{"source":"iana"},"application/vnd.sss-dtf":{"source":"iana"},"application/vnd.sss-ntf":{"source":"iana"},"application/vnd.stardivision.calc":{"source":"apache","extensions":["sdc"]},"application/vnd.stardivision.draw":{"source":"apache","extensions":["sda"]},"application/vnd.stardivision.impress":{"source":"apache","extensions":["sdd"]},"application/vnd.stardivision.math":{"source":"apache","extensions":["smf"]},"application/vnd.stardivision.writer":{"source":"apache","extensions":["sdw","vor"]},"application/vnd.stardivision.writer-global":{"source":"apache","extensions":["sgl"]},"application/vnd.stepmania.package":{"source":"iana","extensions":["smzip"]},"application/vnd.stepmania.stepchart":{"source":"iana","extensions":["sm"]},"application/vnd.street-stream":{"source":"iana"},"application/vnd.sun.wadl+xml":{"source":"iana","compressible":true,"extensions":["wadl"]},"application/vnd.sun.xml.calc":{"source":"apache","extensions":["sxc"]},"application/vnd.sun.xml.calc.template":{"source":"apache","extensions":["stc"]},"application/vnd.sun.xml.draw":{"source":"apache","extensions":["sxd"]},"application/vnd.sun.xml.draw.template":{"source":"apache","extensions":["std"]},"application/vnd.sun.xml.impress":{"source":"apache","extensions":["sxi"]},"application/vnd.sun.xml.impress.template":{"source":"apache","extensions":["sti"]},"application/vnd.sun.xml.math":{"source":"apache","extensions":["sxm"]},"application/vnd.sun.xml.writer":{"source":"apache","extensions":["sxw"]},"application/vnd.sun.xml.writer.global":{"source":"apache","extensions":["sxg"]},"application/vnd.sun.xml.writer.template":{"source":"apache","extensions":["stw"]},"application/vnd.sus-calendar":{"source":"iana","extensions":["sus","susp"]},"application/vnd.svd":{"source":"iana","extensions":["svd"]},"application/vnd.swiftview-ics":{"source":"iana"},"application/vnd.sycle+xml":{"source":"iana","compressible":true},"application/vnd.symbian.install":{"source":"apache","extensions":["sis","sisx"]},"application/vnd.syncml+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xsm"]},"application/vnd.syncml.dm+wbxml":{"source":"iana","charset":"UTF-8","extensions":["bdm"]},"application/vnd.syncml.dm+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["xdm"]},"application/vnd.syncml.dm.notification":{"source":"iana"},"application/vnd.syncml.dmddf+wbxml":{"source":"iana"},"application/vnd.syncml.dmddf+xml":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{"source":"iana"},"application/vnd.syncml.dmtnds+xml":{"source":"iana","charset":"UTF-8","compressible":true},"application/vnd.syncml.ds.notification":{"source":"iana"},"application/vnd.tableschema+json":{"source":"iana","compressible":true},"application/vnd.tao.intent-module-archive":{"source":"iana","extensions":["tao"]},"application/vnd.tcpdump.pcap":{"source":"iana","extensions":["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{"source":"iana","compressible":true},"application/vnd.tmd.mediaflex.api+xml":{"source":"iana","compressible":true},"application/vnd.tml":{"source":"iana"},"application/vnd.tmobile-livetv":{"source":"iana","extensions":["tmo"]},"application/vnd.tri.onesource":{"source":"iana"},"application/vnd.trid.tpt":{"source":"iana","extensions":["tpt"]},"application/vnd.triscape.mxs":{"source":"iana","extensions":["mxs"]},"application/vnd.trueapp":{"source":"iana","extensions":["tra"]},"application/vnd.truedoc":{"source":"iana"},"application/vnd.ubisoft.webplayer":{"source":"iana"},"application/vnd.ufdl":{"source":"iana","extensions":["ufd","ufdl"]},"application/vnd.uiq.theme":{"source":"iana","extensions":["utz"]},"application/vnd.umajin":{"source":"iana","extensions":["umj"]},"application/vnd.unity":{"source":"iana","extensions":["unityweb"]},"application/vnd.uoml+xml":{"source":"iana","compressible":true,"extensions":["uoml"]},"application/vnd.uplanet.alert":{"source":"iana"},"application/vnd.uplanet.alert-wbxml":{"source":"iana"},"application/vnd.uplanet.bearer-choice":{"source":"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{"source":"iana"},"application/vnd.uplanet.cacheop":{"source":"iana"},"application/vnd.uplanet.cacheop-wbxml":{"source":"iana"},"application/vnd.uplanet.channel":{"source":"iana"},"application/vnd.uplanet.channel-wbxml":{"source":"iana"},"application/vnd.uplanet.list":{"source":"iana"},"application/vnd.uplanet.list-wbxml":{"source":"iana"},"application/vnd.uplanet.listcmd":{"source":"iana"},"application/vnd.uplanet.listcmd-wbxml":{"source":"iana"},"application/vnd.uplanet.signal":{"source":"iana"},"application/vnd.uri-map":{"source":"iana"},"application/vnd.valve.source.material":{"source":"iana"},"application/vnd.vcx":{"source":"iana","extensions":["vcx"]},"application/vnd.vd-study":{"source":"iana"},"application/vnd.vectorworks":{"source":"iana"},"application/vnd.vel+json":{"source":"iana","compressible":true},"application/vnd.verimatrix.vcas":{"source":"iana"},"application/vnd.veritone.aion+json":{"source":"iana","compressible":true},"application/vnd.veryant.thin":{"source":"iana"},"application/vnd.ves.encrypted":{"source":"iana"},"application/vnd.vidsoft.vidconference":{"source":"iana"},"application/vnd.visio":{"source":"iana","extensions":["vsd","vst","vss","vsw"]},"application/vnd.visionary":{"source":"iana","extensions":["vis"]},"application/vnd.vividence.scriptfile":{"source":"iana"},"application/vnd.vsf":{"source":"iana","extensions":["vsf"]},"application/vnd.wap.sic":{"source":"iana"},"application/vnd.wap.slc":{"source":"iana"},"application/vnd.wap.wbxml":{"source":"iana","charset":"UTF-8","extensions":["wbxml"]},"application/vnd.wap.wmlc":{"source":"iana","extensions":["wmlc"]},"application/vnd.wap.wmlscriptc":{"source":"iana","extensions":["wmlsc"]},"application/vnd.webturbo":{"source":"iana","extensions":["wtb"]},"application/vnd.wfa.dpp":{"source":"iana"},"application/vnd.wfa.p2p":{"source":"iana"},"application/vnd.wfa.wsc":{"source":"iana"},"application/vnd.windows.devicepairing":{"source":"iana"},"application/vnd.wmc":{"source":"iana"},"application/vnd.wmf.bootstrap":{"source":"iana"},"application/vnd.wolfram.mathematica":{"source":"iana"},"application/vnd.wolfram.mathematica.package":{"source":"iana"},"application/vnd.wolfram.player":{"source":"iana","extensions":["nbp"]},"application/vnd.wordperfect":{"source":"iana","extensions":["wpd"]},"application/vnd.wqd":{"source":"iana","extensions":["wqd"]},"application/vnd.wrq-hp3000-labelled":{"source":"iana"},"application/vnd.wt.stf":{"source":"iana","extensions":["stf"]},"application/vnd.wv.csp+wbxml":{"source":"iana"},"application/vnd.wv.csp+xml":{"source":"iana","compressible":true},"application/vnd.wv.ssp+xml":{"source":"iana","compressible":true},"application/vnd.xacml+json":{"source":"iana","compressible":true},"application/vnd.xara":{"source":"iana","extensions":["xar"]},"application/vnd.xfdl":{"source":"iana","extensions":["xfdl"]},"application/vnd.xfdl.webform":{"source":"iana"},"application/vnd.xmi+xml":{"source":"iana","compressible":true},"application/vnd.xmpie.cpkg":{"source":"iana"},"application/vnd.xmpie.dpkg":{"source":"iana"},"application/vnd.xmpie.plan":{"source":"iana"},"application/vnd.xmpie.ppkg":{"source":"iana"},"application/vnd.xmpie.xlim":{"source":"iana"},"application/vnd.yamaha.hv-dic":{"source":"iana","extensions":["hvd"]},"application/vnd.yamaha.hv-script":{"source":"iana","extensions":["hvs"]},"application/vnd.yamaha.hv-voice":{"source":"iana","extensions":["hvp"]},"application/vnd.yamaha.openscoreformat":{"source":"iana","extensions":["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{"source":"iana","compressible":true,"extensions":["osfpvg"]},"application/vnd.yamaha.remote-setup":{"source":"iana"},"application/vnd.yamaha.smaf-audio":{"source":"iana","extensions":["saf"]},"application/vnd.yamaha.smaf-phrase":{"source":"iana","extensions":["spf"]},"application/vnd.yamaha.through-ngn":{"source":"iana"},"application/vnd.yamaha.tunnel-udpencap":{"source":"iana"},"application/vnd.yaoweme":{"source":"iana"},"application/vnd.yellowriver-custom-menu":{"source":"iana","extensions":["cmp"]},"application/vnd.youtube.yt":{"source":"iana"},"application/vnd.zul":{"source":"iana","extensions":["zir","zirz"]},"application/vnd.zzazz.deck+xml":{"source":"iana","compressible":true,"extensions":["zaz"]},"application/voicexml+xml":{"source":"iana","compressible":true,"extensions":["vxml"]},"application/voucher-cms+json":{"source":"iana","compressible":true},"application/vq-rtcpxr":{"source":"iana"},"application/wasm":{"source":"iana","compressible":true,"extensions":["wasm"]},"application/watcherinfo+xml":{"source":"iana","compressible":true},"application/webpush-options+json":{"source":"iana","compressible":true},"application/whoispp-query":{"source":"iana"},"application/whoispp-response":{"source":"iana"},"application/widget":{"source":"iana","extensions":["wgt"]},"application/winhlp":{"source":"apache","extensions":["hlp"]},"application/wita":{"source":"iana"},"application/wordperfect5.1":{"source":"iana"},"application/wsdl+xml":{"source":"iana","compressible":true,"extensions":["wsdl"]},"application/wspolicy+xml":{"source":"iana","compressible":true,"extensions":["wspolicy"]},"application/x-7z-compressed":{"source":"apache","compressible":false,"extensions":["7z"]},"application/x-abiword":{"source":"apache","extensions":["abw"]},"application/x-ace-compressed":{"source":"apache","extensions":["ace"]},"application/x-amf":{"source":"apache"},"application/x-apple-diskimage":{"source":"apache","extensions":["dmg"]},"application/x-arj":{"compressible":false,"extensions":["arj"]},"application/x-authorware-bin":{"source":"apache","extensions":["aab","x32","u32","vox"]},"application/x-authorware-map":{"source":"apache","extensions":["aam"]},"application/x-authorware-seg":{"source":"apache","extensions":["aas"]},"application/x-bcpio":{"source":"apache","extensions":["bcpio"]},"application/x-bdoc":{"compressible":false,"extensions":["bdoc"]},"application/x-bittorrent":{"source":"apache","extensions":["torrent"]},"application/x-blorb":{"source":"apache","extensions":["blb","blorb"]},"application/x-bzip":{"source":"apache","compressible":false,"extensions":["bz"]},"application/x-bzip2":{"source":"apache","compressible":false,"extensions":["bz2","boz"]},"application/x-cbr":{"source":"apache","extensions":["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{"source":"apache","extensions":["vcd"]},"application/x-cfs-compressed":{"source":"apache","extensions":["cfs"]},"application/x-chat":{"source":"apache","extensions":["chat"]},"application/x-chess-pgn":{"source":"apache","extensions":["pgn"]},"application/x-chrome-extension":{"extensions":["crx"]},"application/x-cocoa":{"source":"nginx","extensions":["cco"]},"application/x-compress":{"source":"apache"},"application/x-conference":{"source":"apache","extensions":["nsc"]},"application/x-cpio":{"source":"apache","extensions":["cpio"]},"application/x-csh":{"source":"apache","extensions":["csh"]},"application/x-deb":{"compressible":false},"application/x-debian-package":{"source":"apache","extensions":["deb","udeb"]},"application/x-dgc-compressed":{"source":"apache","extensions":["dgc"]},"application/x-director":{"source":"apache","extensions":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{"source":"apache","extensions":["wad"]},"application/x-dtbncx+xml":{"source":"apache","compressible":true,"extensions":["ncx"]},"application/x-dtbook+xml":{"source":"apache","compressible":true,"extensions":["dtb"]},"application/x-dtbresource+xml":{"source":"apache","compressible":true,"extensions":["res"]},"application/x-dvi":{"source":"apache","compressible":false,"extensions":["dvi"]},"application/x-envoy":{"source":"apache","extensions":["evy"]},"application/x-eva":{"source":"apache","extensions":["eva"]},"application/x-font-bdf":{"source":"apache","extensions":["bdf"]},"application/x-font-dos":{"source":"apache"},"application/x-font-framemaker":{"source":"apache"},"application/x-font-ghostscript":{"source":"apache","extensions":["gsf"]},"application/x-font-libgrx":{"source":"apache"},"application/x-font-linux-psf":{"source":"apache","extensions":["psf"]},"application/x-font-pcf":{"source":"apache","extensions":["pcf"]},"application/x-font-snf":{"source":"apache","extensions":["snf"]},"application/x-font-speedo":{"source":"apache"},"application/x-font-sunos-news":{"source":"apache"},"application/x-font-type1":{"source":"apache","extensions":["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{"source":"apache"},"application/x-freearc":{"source":"apache","extensions":["arc"]},"application/x-futuresplash":{"source":"apache","extensions":["spl"]},"application/x-gca-compressed":{"source":"apache","extensions":["gca"]},"application/x-glulx":{"source":"apache","extensions":["ulx"]},"application/x-gnumeric":{"source":"apache","extensions":["gnumeric"]},"application/x-gramps-xml":{"source":"apache","extensions":["gramps"]},"application/x-gtar":{"source":"apache","extensions":["gtar"]},"application/x-gzip":{"source":"apache"},"application/x-hdf":{"source":"apache","extensions":["hdf"]},"application/x-httpd-php":{"compressible":true,"extensions":["php"]},"application/x-install-instructions":{"source":"apache","extensions":["install"]},"application/x-iso9660-image":{"source":"apache","extensions":["iso"]},"application/x-iwork-keynote-sffkey":{"extensions":["key"]},"application/x-iwork-numbers-sffnumbers":{"extensions":["numbers"]},"application/x-iwork-pages-sffpages":{"extensions":["pages"]},"application/x-java-archive-diff":{"source":"nginx","extensions":["jardiff"]},"application/x-java-jnlp-file":{"source":"apache","compressible":false,"extensions":["jnlp"]},"application/x-javascript":{"compressible":true},"application/x-keepass2":{"extensions":["kdbx"]},"application/x-latex":{"source":"apache","compressible":false,"extensions":["latex"]},"application/x-lua-bytecode":{"extensions":["luac"]},"application/x-lzh-compressed":{"source":"apache","extensions":["lzh","lha"]},"application/x-makeself":{"source":"nginx","extensions":["run"]},"application/x-mie":{"source":"apache","extensions":["mie"]},"application/x-mobipocket-ebook":{"source":"apache","extensions":["prc","mobi"]},"application/x-mpegurl":{"compressible":false},"application/x-ms-application":{"source":"apache","extensions":["application"]},"application/x-ms-shortcut":{"source":"apache","extensions":["lnk"]},"application/x-ms-wmd":{"source":"apache","extensions":["wmd"]},"application/x-ms-wmz":{"source":"apache","extensions":["wmz"]},"application/x-ms-xbap":{"source":"apache","extensions":["xbap"]},"application/x-msaccess":{"source":"apache","extensions":["mdb"]},"application/x-msbinder":{"source":"apache","extensions":["obd"]},"application/x-mscardfile":{"source":"apache","extensions":["crd"]},"application/x-msclip":{"source":"apache","extensions":["clp"]},"application/x-msdos-program":{"extensions":["exe"]},"application/x-msdownload":{"source":"apache","extensions":["exe","dll","com","bat","msi"]},"application/x-msmediaview":{"source":"apache","extensions":["mvb","m13","m14"]},"application/x-msmetafile":{"source":"apache","extensions":["wmf","wmz","emf","emz"]},"application/x-msmoney":{"source":"apache","extensions":["mny"]},"application/x-mspublisher":{"source":"apache","extensions":["pub"]},"application/x-msschedule":{"source":"apache","extensions":["scd"]},"application/x-msterminal":{"source":"apache","extensions":["trm"]},"application/x-mswrite":{"source":"apache","extensions":["wri"]},"application/x-netcdf":{"source":"apache","extensions":["nc","cdf"]},"application/x-ns-proxy-autoconfig":{"compressible":true,"extensions":["pac"]},"application/x-nzb":{"source":"apache","extensions":["nzb"]},"application/x-perl":{"source":"nginx","extensions":["pl","pm"]},"application/x-pilot":{"source":"nginx","extensions":["prc","pdb"]},"application/x-pkcs12":{"source":"apache","compressible":false,"extensions":["p12","pfx"]},"application/x-pkcs7-certificates":{"source":"apache","extensions":["p7b","spc"]},"application/x-pkcs7-certreqresp":{"source":"apache","extensions":["p7r"]},"application/x-pki-message":{"source":"iana"},"application/x-rar-compressed":{"source":"apache","compressible":false,"extensions":["rar"]},"application/x-redhat-package-manager":{"source":"nginx","extensions":["rpm"]},"application/x-research-info-systems":{"source":"apache","extensions":["ris"]},"application/x-sea":{"source":"nginx","extensions":["sea"]},"application/x-sh":{"source":"apache","compressible":true,"extensions":["sh"]},"application/x-shar":{"source":"apache","extensions":["shar"]},"application/x-shockwave-flash":{"source":"apache","compressible":false,"extensions":["swf"]},"application/x-silverlight-app":{"source":"apache","extensions":["xap"]},"application/x-sql":{"source":"apache","extensions":["sql"]},"application/x-stuffit":{"source":"apache","compressible":false,"extensions":["sit"]},"application/x-stuffitx":{"source":"apache","extensions":["sitx"]},"application/x-subrip":{"source":"apache","extensions":["srt"]},"application/x-sv4cpio":{"source":"apache","extensions":["sv4cpio"]},"application/x-sv4crc":{"source":"apache","extensions":["sv4crc"]},"application/x-t3vm-image":{"source":"apache","extensions":["t3"]},"application/x-tads":{"source":"apache","extensions":["gam"]},"application/x-tar":{"source":"apache","compressible":true,"extensions":["tar"]},"application/x-tcl":{"source":"apache","extensions":["tcl","tk"]},"application/x-tex":{"source":"apache","extensions":["tex"]},"application/x-tex-tfm":{"source":"apache","extensions":["tfm"]},"application/x-texinfo":{"source":"apache","extensions":["texinfo","texi"]},"application/x-tgif":{"source":"apache","extensions":["obj"]},"application/x-ustar":{"source":"apache","extensions":["ustar"]},"application/x-virtualbox-hdd":{"compressible":true,"extensions":["hdd"]},"application/x-virtualbox-ova":{"compressible":true,"extensions":["ova"]},"application/x-virtualbox-ovf":{"compressible":true,"extensions":["ovf"]},"application/x-virtualbox-vbox":{"compressible":true,"extensions":["vbox"]},"application/x-virtualbox-vbox-extpack":{"compressible":false,"extensions":["vbox-extpack"]},"application/x-virtualbox-vdi":{"compressible":true,"extensions":["vdi"]},"application/x-virtualbox-vhd":{"compressible":true,"extensions":["vhd"]},"application/x-virtualbox-vmdk":{"compressible":true,"extensions":["vmdk"]},"application/x-wais-source":{"source":"apache","extensions":["src"]},"application/x-web-app-manifest+json":{"compressible":true,"extensions":["webapp"]},"application/x-www-form-urlencoded":{"source":"iana","compressible":true},"application/x-x509-ca-cert":{"source":"iana","extensions":["der","crt","pem"]},"application/x-x509-ca-ra-cert":{"source":"iana"},"application/x-x509-next-ca-cert":{"source":"iana"},"application/x-xfig":{"source":"apache","extensions":["fig"]},"application/x-xliff+xml":{"source":"apache","compressible":true,"extensions":["xlf"]},"application/x-xpinstall":{"source":"apache","compressible":false,"extensions":["xpi"]},"application/x-xz":{"source":"apache","extensions":["xz"]},"application/x-zmachine":{"source":"apache","extensions":["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{"source":"iana"},"application/xacml+xml":{"source":"iana","compressible":true},"application/xaml+xml":{"source":"apache","compressible":true,"extensions":["xaml"]},"application/xcap-att+xml":{"source":"iana","compressible":true,"extensions":["xav"]},"application/xcap-caps+xml":{"source":"iana","compressible":true,"extensions":["xca"]},"application/xcap-diff+xml":{"source":"iana","compressible":true,"extensions":["xdf"]},"application/xcap-el+xml":{"source":"iana","compressible":true,"extensions":["xel"]},"application/xcap-error+xml":{"source":"iana","compressible":true},"application/xcap-ns+xml":{"source":"iana","compressible":true,"extensions":["xns"]},"application/xcon-conference-info+xml":{"source":"iana","compressible":true},"application/xcon-conference-info-diff+xml":{"source":"iana","compressible":true},"application/xenc+xml":{"source":"iana","compressible":true,"extensions":["xenc"]},"application/xhtml+xml":{"source":"iana","compressible":true,"extensions":["xhtml","xht"]},"application/xhtml-voice+xml":{"source":"apache","compressible":true},"application/xliff+xml":{"source":"iana","compressible":true,"extensions":["xlf"]},"application/xml":{"source":"iana","compressible":true,"extensions":["xml","xsl","xsd","rng"]},"application/xml-dtd":{"source":"iana","compressible":true,"extensions":["dtd"]},"application/xml-external-parsed-entity":{"source":"iana"},"application/xml-patch+xml":{"source":"iana","compressible":true},"application/xmpp+xml":{"source":"iana","compressible":true},"application/xop+xml":{"source":"iana","compressible":true,"extensions":["xop"]},"application/xproc+xml":{"source":"apache","compressible":true,"extensions":["xpl"]},"application/xslt+xml":{"source":"iana","compressible":true,"extensions":["xsl","xslt"]},"application/xspf+xml":{"source":"apache","compressible":true,"extensions":["xspf"]},"application/xv+xml":{"source":"iana","compressible":true,"extensions":["mxml","xhvml","xvml","xvm"]},"application/yang":{"source":"iana","extensions":["yang"]},"application/yang-data+json":{"source":"iana","compressible":true},"application/yang-data+xml":{"source":"iana","compressible":true},"application/yang-patch+json":{"source":"iana","compressible":true},"application/yang-patch+xml":{"source":"iana","compressible":true},"application/yin+xml":{"source":"iana","compressible":true,"extensions":["yin"]},"application/zip":{"source":"iana","compressible":false,"extensions":["zip"]},"application/zlib":{"source":"iana"},"application/zstd":{"source":"iana"},"audio/1d-interleaved-parityfec":{"source":"iana"},"audio/32kadpcm":{"source":"iana"},"audio/3gpp":{"source":"iana","compressible":false,"extensions":["3gpp"]},"audio/3gpp2":{"source":"iana"},"audio/aac":{"source":"iana"},"audio/ac3":{"source":"iana"},"audio/adpcm":{"source":"apache","extensions":["adp"]},"audio/amr":{"source":"iana","extensions":["amr"]},"audio/amr-wb":{"source":"iana"},"audio/amr-wb+":{"source":"iana"},"audio/aptx":{"source":"iana"},"audio/asc":{"source":"iana"},"audio/atrac-advanced-lossless":{"source":"iana"},"audio/atrac-x":{"source":"iana"},"audio/atrac3":{"source":"iana"},"audio/basic":{"source":"iana","compressible":false,"extensions":["au","snd"]},"audio/bv16":{"source":"iana"},"audio/bv32":{"source":"iana"},"audio/clearmode":{"source":"iana"},"audio/cn":{"source":"iana"},"audio/dat12":{"source":"iana"},"audio/dls":{"source":"iana"},"audio/dsr-es201108":{"source":"iana"},"audio/dsr-es202050":{"source":"iana"},"audio/dsr-es202211":{"source":"iana"},"audio/dsr-es202212":{"source":"iana"},"audio/dv":{"source":"iana"},"audio/dvi4":{"source":"iana"},"audio/eac3":{"source":"iana"},"audio/encaprtp":{"source":"iana"},"audio/evrc":{"source":"iana"},"audio/evrc-qcp":{"source":"iana"},"audio/evrc0":{"source":"iana"},"audio/evrc1":{"source":"iana"},"audio/evrcb":{"source":"iana"},"audio/evrcb0":{"source":"iana"},"audio/evrcb1":{"source":"iana"},"audio/evrcnw":{"source":"iana"},"audio/evrcnw0":{"source":"iana"},"audio/evrcnw1":{"source":"iana"},"audio/evrcwb":{"source":"iana"},"audio/evrcwb0":{"source":"iana"},"audio/evrcwb1":{"source":"iana"},"audio/evs":{"source":"iana"},"audio/flexfec":{"source":"iana"},"audio/fwdred":{"source":"iana"},"audio/g711-0":{"source":"iana"},"audio/g719":{"source":"iana"},"audio/g722":{"source":"iana"},"audio/g7221":{"source":"iana"},"audio/g723":{"source":"iana"},"audio/g726-16":{"source":"iana"},"audio/g726-24":{"source":"iana"},"audio/g726-32":{"source":"iana"},"audio/g726-40":{"source":"iana"},"audio/g728":{"source":"iana"},"audio/g729":{"source":"iana"},"audio/g7291":{"source":"iana"},"audio/g729d":{"source":"iana"},"audio/g729e":{"source":"iana"},"audio/gsm":{"source":"iana"},"audio/gsm-efr":{"source":"iana"},"audio/gsm-hr-08":{"source":"iana"},"audio/ilbc":{"source":"iana"},"audio/ip-mr_v2.5":{"source":"iana"},"audio/isac":{"source":"apache"},"audio/l16":{"source":"iana"},"audio/l20":{"source":"iana"},"audio/l24":{"source":"iana","compressible":false},"audio/l8":{"source":"iana"},"audio/lpc":{"source":"iana"},"audio/melp":{"source":"iana"},"audio/melp1200":{"source":"iana"},"audio/melp2400":{"source":"iana"},"audio/melp600":{"source":"iana"},"audio/mhas":{"source":"iana"},"audio/midi":{"source":"apache","extensions":["mid","midi","kar","rmi"]},"audio/mobile-xmf":{"source":"iana","extensions":["mxmf"]},"audio/mp3":{"compressible":false,"extensions":["mp3"]},"audio/mp4":{"source":"iana","compressible":false,"extensions":["m4a","mp4a"]},"audio/mp4a-latm":{"source":"iana"},"audio/mpa":{"source":"iana"},"audio/mpa-robust":{"source":"iana"},"audio/mpeg":{"source":"iana","compressible":false,"extensions":["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{"source":"iana"},"audio/musepack":{"source":"apache"},"audio/ogg":{"source":"iana","compressible":false,"extensions":["oga","ogg","spx","opus"]},"audio/opus":{"source":"iana"},"audio/parityfec":{"source":"iana"},"audio/pcma":{"source":"iana"},"audio/pcma-wb":{"source":"iana"},"audio/pcmu":{"source":"iana"},"audio/pcmu-wb":{"source":"iana"},"audio/prs.sid":{"source":"iana"},"audio/qcelp":{"source":"iana"},"audio/raptorfec":{"source":"iana"},"audio/red":{"source":"iana"},"audio/rtp-enc-aescm128":{"source":"iana"},"audio/rtp-midi":{"source":"iana"},"audio/rtploopback":{"source":"iana"},"audio/rtx":{"source":"iana"},"audio/s3m":{"source":"apache","extensions":["s3m"]},"audio/scip":{"source":"iana"},"audio/silk":{"source":"apache","extensions":["sil"]},"audio/smv":{"source":"iana"},"audio/smv-qcp":{"source":"iana"},"audio/smv0":{"source":"iana"},"audio/sofa":{"source":"iana"},"audio/sp-midi":{"source":"iana"},"audio/speex":{"source":"iana"},"audio/t140c":{"source":"iana"},"audio/t38":{"source":"iana"},"audio/telephone-event":{"source":"iana"},"audio/tetra_acelp":{"source":"iana"},"audio/tetra_acelp_bb":{"source":"iana"},"audio/tone":{"source":"iana"},"audio/tsvcis":{"source":"iana"},"audio/uemclip":{"source":"iana"},"audio/ulpfec":{"source":"iana"},"audio/usac":{"source":"iana"},"audio/vdvi":{"source":"iana"},"audio/vmr-wb":{"source":"iana"},"audio/vnd.3gpp.iufp":{"source":"iana"},"audio/vnd.4sb":{"source":"iana"},"audio/vnd.audiokoz":{"source":"iana"},"audio/vnd.celp":{"source":"iana"},"audio/vnd.cisco.nse":{"source":"iana"},"audio/vnd.cmles.radio-events":{"source":"iana"},"audio/vnd.cns.anp1":{"source":"iana"},"audio/vnd.cns.inf1":{"source":"iana"},"audio/vnd.dece.audio":{"source":"iana","extensions":["uva","uvva"]},"audio/vnd.digital-winds":{"source":"iana","extensions":["eol"]},"audio/vnd.dlna.adts":{"source":"iana"},"audio/vnd.dolby.heaac.1":{"source":"iana"},"audio/vnd.dolby.heaac.2":{"source":"iana"},"audio/vnd.dolby.mlp":{"source":"iana"},"audio/vnd.dolby.mps":{"source":"iana"},"audio/vnd.dolby.pl2":{"source":"iana"},"audio/vnd.dolby.pl2x":{"source":"iana"},"audio/vnd.dolby.pl2z":{"source":"iana"},"audio/vnd.dolby.pulse.1":{"source":"iana"},"audio/vnd.dra":{"source":"iana","extensions":["dra"]},"audio/vnd.dts":{"source":"iana","extensions":["dts"]},"audio/vnd.dts.hd":{"source":"iana","extensions":["dtshd"]},"audio/vnd.dts.uhd":{"source":"iana"},"audio/vnd.dvb.file":{"source":"iana"},"audio/vnd.everad.plj":{"source":"iana"},"audio/vnd.hns.audio":{"source":"iana"},"audio/vnd.lucent.voice":{"source":"iana","extensions":["lvp"]},"audio/vnd.ms-playready.media.pya":{"source":"iana","extensions":["pya"]},"audio/vnd.nokia.mobile-xmf":{"source":"iana"},"audio/vnd.nortel.vbk":{"source":"iana"},"audio/vnd.nuera.ecelp4800":{"source":"iana","extensions":["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{"source":"iana","extensions":["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{"source":"iana","extensions":["ecelp9600"]},"audio/vnd.octel.sbc":{"source":"iana"},"audio/vnd.presonus.multitrack":{"source":"iana"},"audio/vnd.qcelp":{"source":"iana"},"audio/vnd.rhetorex.32kadpcm":{"source":"iana"},"audio/vnd.rip":{"source":"iana","extensions":["rip"]},"audio/vnd.rn-realaudio":{"compressible":false},"audio/vnd.sealedmedia.softseal.mpeg":{"source":"iana"},"audio/vnd.vmx.cvsd":{"source":"iana"},"audio/vnd.wave":{"compressible":false},"audio/vorbis":{"source":"iana","compressible":false},"audio/vorbis-config":{"source":"iana"},"audio/wav":{"compressible":false,"extensions":["wav"]},"audio/wave":{"compressible":false,"extensions":["wav"]},"audio/webm":{"source":"apache","compressible":false,"extensions":["weba"]},"audio/x-aac":{"source":"apache","compressible":false,"extensions":["aac"]},"audio/x-aiff":{"source":"apache","extensions":["aif","aiff","aifc"]},"audio/x-caf":{"source":"apache","compressible":false,"extensions":["caf"]},"audio/x-flac":{"source":"apache","extensions":["flac"]},"audio/x-m4a":{"source":"nginx","extensions":["m4a"]},"audio/x-matroska":{"source":"apache","extensions":["mka"]},"audio/x-mpegurl":{"source":"apache","extensions":["m3u"]},"audio/x-ms-wax":{"source":"apache","extensions":["wax"]},"audio/x-ms-wma":{"source":"apache","extensions":["wma"]},"audio/x-pn-realaudio":{"source":"apache","extensions":["ram","ra"]},"audio/x-pn-realaudio-plugin":{"source":"apache","extensions":["rmp"]},"audio/x-realaudio":{"source":"nginx","extensions":["ra"]},"audio/x-tta":{"source":"apache"},"audio/x-wav":{"source":"apache","extensions":["wav"]},"audio/xm":{"source":"apache","extensions":["xm"]},"chemical/x-cdx":{"source":"apache","extensions":["cdx"]},"chemical/x-cif":{"source":"apache","extensions":["cif"]},"chemical/x-cmdf":{"source":"apache","extensions":["cmdf"]},"chemical/x-cml":{"source":"apache","extensions":["cml"]},"chemical/x-csml":{"source":"apache","extensions":["csml"]},"chemical/x-pdb":{"source":"apache"},"chemical/x-xyz":{"source":"apache","extensions":["xyz"]},"font/collection":{"source":"iana","extensions":["ttc"]},"font/otf":{"source":"iana","compressible":true,"extensions":["otf"]},"font/sfnt":{"source":"iana"},"font/ttf":{"source":"iana","compressible":true,"extensions":["ttf"]},"font/woff":{"source":"iana","extensions":["woff"]},"font/woff2":{"source":"iana","extensions":["woff2"]},"image/aces":{"source":"iana","extensions":["exr"]},"image/apng":{"compressible":false,"extensions":["apng"]},"image/avci":{"source":"iana"},"image/avcs":{"source":"iana"},"image/avif":{"source":"iana","compressible":false,"extensions":["avif"]},"image/bmp":{"source":"iana","compressible":true,"extensions":["bmp"]},"image/cgm":{"source":"iana","extensions":["cgm"]},"image/dicom-rle":{"source":"iana","extensions":["drle"]},"image/emf":{"source":"iana","extensions":["emf"]},"image/fits":{"source":"iana","extensions":["fits"]},"image/g3fax":{"source":"iana","extensions":["g3"]},"image/gif":{"source":"iana","compressible":false,"extensions":["gif"]},"image/heic":{"source":"iana","extensions":["heic"]},"image/heic-sequence":{"source":"iana","extensions":["heics"]},"image/heif":{"source":"iana","extensions":["heif"]},"image/heif-sequence":{"source":"iana","extensions":["heifs"]},"image/hej2k":{"source":"iana","extensions":["hej2"]},"image/hsj2":{"source":"iana","extensions":["hsj2"]},"image/ief":{"source":"iana","extensions":["ief"]},"image/jls":{"source":"iana","extensions":["jls"]},"image/jp2":{"source":"iana","compressible":false,"extensions":["jp2","jpg2"]},"image/jpeg":{"source":"iana","compressible":false,"extensions":["jpeg","jpg","jpe"]},"image/jph":{"source":"iana","extensions":["jph"]},"image/jphc":{"source":"iana","extensions":["jhc"]},"image/jpm":{"source":"iana","compressible":false,"extensions":["jpm"]},"image/jpx":{"source":"iana","compressible":false,"extensions":["jpx","jpf"]},"image/jxr":{"source":"iana","extensions":["jxr"]},"image/jxra":{"source":"iana","extensions":["jxra"]},"image/jxrs":{"source":"iana","extensions":["jxrs"]},"image/jxs":{"source":"iana","extensions":["jxs"]},"image/jxsc":{"source":"iana","extensions":["jxsc"]},"image/jxsi":{"source":"iana","extensions":["jxsi"]},"image/jxss":{"source":"iana","extensions":["jxss"]},"image/ktx":{"source":"iana","extensions":["ktx"]},"image/ktx2":{"source":"iana","extensions":["ktx2"]},"image/naplps":{"source":"iana"},"image/pjpeg":{"compressible":false},"image/png":{"source":"iana","compressible":false,"extensions":["png"]},"image/prs.btif":{"source":"iana","extensions":["btif"]},"image/prs.pti":{"source":"iana","extensions":["pti"]},"image/pwg-raster":{"source":"iana"},"image/sgi":{"source":"apache","extensions":["sgi"]},"image/svg+xml":{"source":"iana","compressible":true,"extensions":["svg","svgz"]},"image/t38":{"source":"iana","extensions":["t38"]},"image/tiff":{"source":"iana","compressible":false,"extensions":["tif","tiff"]},"image/tiff-fx":{"source":"iana","extensions":["tfx"]},"image/vnd.adobe.photoshop":{"source":"iana","compressible":true,"extensions":["psd"]},"image/vnd.airzip.accelerator.azv":{"source":"iana","extensions":["azv"]},"image/vnd.cns.inf2":{"source":"iana"},"image/vnd.dece.graphic":{"source":"iana","extensions":["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{"source":"iana","extensions":["djvu","djv"]},"image/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"image/vnd.dwg":{"source":"iana","extensions":["dwg"]},"image/vnd.dxf":{"source":"iana","extensions":["dxf"]},"image/vnd.fastbidsheet":{"source":"iana","extensions":["fbs"]},"image/vnd.fpx":{"source":"iana","extensions":["fpx"]},"image/vnd.fst":{"source":"iana","extensions":["fst"]},"image/vnd.fujixerox.edmics-mmr":{"source":"iana","extensions":["mmr"]},"image/vnd.fujixerox.edmics-rlc":{"source":"iana","extensions":["rlc"]},"image/vnd.globalgraphics.pgb":{"source":"iana"},"image/vnd.microsoft.icon":{"source":"iana","compressible":true,"extensions":["ico"]},"image/vnd.mix":{"source":"iana"},"image/vnd.mozilla.apng":{"source":"iana"},"image/vnd.ms-dds":{"compressible":true,"extensions":["dds"]},"image/vnd.ms-modi":{"source":"iana","extensions":["mdi"]},"image/vnd.ms-photo":{"source":"apache","extensions":["wdp"]},"image/vnd.net-fpx":{"source":"iana","extensions":["npx"]},"image/vnd.pco.b16":{"source":"iana","extensions":["b16"]},"image/vnd.radiance":{"source":"iana"},"image/vnd.sealed.png":{"source":"iana"},"image/vnd.sealedmedia.softseal.gif":{"source":"iana"},"image/vnd.sealedmedia.softseal.jpg":{"source":"iana"},"image/vnd.svf":{"source":"iana"},"image/vnd.tencent.tap":{"source":"iana","extensions":["tap"]},"image/vnd.valve.source.texture":{"source":"iana","extensions":["vtf"]},"image/vnd.wap.wbmp":{"source":"iana","extensions":["wbmp"]},"image/vnd.xiff":{"source":"iana","extensions":["xif"]},"image/vnd.zbrush.pcx":{"source":"iana","extensions":["pcx"]},"image/webp":{"source":"apache","extensions":["webp"]},"image/wmf":{"source":"iana","extensions":["wmf"]},"image/x-3ds":{"source":"apache","extensions":["3ds"]},"image/x-cmu-raster":{"source":"apache","extensions":["ras"]},"image/x-cmx":{"source":"apache","extensions":["cmx"]},"image/x-freehand":{"source":"apache","extensions":["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{"source":"apache","compressible":true,"extensions":["ico"]},"image/x-jng":{"source":"nginx","extensions":["jng"]},"image/x-mrsid-image":{"source":"apache","extensions":["sid"]},"image/x-ms-bmp":{"source":"nginx","compressible":true,"extensions":["bmp"]},"image/x-pcx":{"source":"apache","extensions":["pcx"]},"image/x-pict":{"source":"apache","extensions":["pic","pct"]},"image/x-portable-anymap":{"source":"apache","extensions":["pnm"]},"image/x-portable-bitmap":{"source":"apache","extensions":["pbm"]},"image/x-portable-graymap":{"source":"apache","extensions":["pgm"]},"image/x-portable-pixmap":{"source":"apache","extensions":["ppm"]},"image/x-rgb":{"source":"apache","extensions":["rgb"]},"image/x-tga":{"source":"apache","extensions":["tga"]},"image/x-xbitmap":{"source":"apache","extensions":["xbm"]},"image/x-xcf":{"compressible":false},"image/x-xpixmap":{"source":"apache","extensions":["xpm"]},"image/x-xwindowdump":{"source":"apache","extensions":["xwd"]},"message/cpim":{"source":"iana"},"message/delivery-status":{"source":"iana"},"message/disposition-notification":{"source":"iana","extensions":["disposition-notification"]},"message/external-body":{"source":"iana"},"message/feedback-report":{"source":"iana"},"message/global":{"source":"iana","extensions":["u8msg"]},"message/global-delivery-status":{"source":"iana","extensions":["u8dsn"]},"message/global-disposition-notification":{"source":"iana","extensions":["u8mdn"]},"message/global-headers":{"source":"iana","extensions":["u8hdr"]},"message/http":{"source":"iana","compressible":false},"message/imdn+xml":{"source":"iana","compressible":true},"message/news":{"source":"iana"},"message/partial":{"source":"iana","compressible":false},"message/rfc822":{"source":"iana","compressible":true,"extensions":["eml","mime"]},"message/s-http":{"source":"iana"},"message/sip":{"source":"iana"},"message/sipfrag":{"source":"iana"},"message/tracking-status":{"source":"iana"},"message/vnd.si.simp":{"source":"iana"},"message/vnd.wfa.wsc":{"source":"iana","extensions":["wsc"]},"model/3mf":{"source":"iana","extensions":["3mf"]},"model/e57":{"source":"iana"},"model/gltf+json":{"source":"iana","compressible":true,"extensions":["gltf"]},"model/gltf-binary":{"source":"iana","compressible":true,"extensions":["glb"]},"model/iges":{"source":"iana","compressible":false,"extensions":["igs","iges"]},"model/mesh":{"source":"iana","compressible":false,"extensions":["msh","mesh","silo"]},"model/mtl":{"source":"iana","extensions":["mtl"]},"model/obj":{"source":"iana","extensions":["obj"]},"model/step":{"source":"iana"},"model/step+xml":{"source":"iana","compressible":true,"extensions":["stpx"]},"model/step+zip":{"source":"iana","compressible":false,"extensions":["stpz"]},"model/step-xml+zip":{"source":"iana","compressible":false,"extensions":["stpxz"]},"model/stl":{"source":"iana","extensions":["stl"]},"model/vnd.collada+xml":{"source":"iana","compressible":true,"extensions":["dae"]},"model/vnd.dwf":{"source":"iana","extensions":["dwf"]},"model/vnd.flatland.3dml":{"source":"iana"},"model/vnd.gdl":{"source":"iana","extensions":["gdl"]},"model/vnd.gs-gdl":{"source":"apache"},"model/vnd.gs.gdl":{"source":"iana"},"model/vnd.gtw":{"source":"iana","extensions":["gtw"]},"model/vnd.moml+xml":{"source":"iana","compressible":true},"model/vnd.mts":{"source":"iana","extensions":["mts"]},"model/vnd.opengex":{"source":"iana","extensions":["ogex"]},"model/vnd.parasolid.transmit.binary":{"source":"iana","extensions":["x_b"]},"model/vnd.parasolid.transmit.text":{"source":"iana","extensions":["x_t"]},"model/vnd.pytha.pyox":{"source":"iana"},"model/vnd.rosette.annotated-data-model":{"source":"iana"},"model/vnd.sap.vds":{"source":"iana","extensions":["vds"]},"model/vnd.usdz+zip":{"source":"iana","compressible":false,"extensions":["usdz"]},"model/vnd.valve.source.compiled-map":{"source":"iana","extensions":["bsp"]},"model/vnd.vtu":{"source":"iana","extensions":["vtu"]},"model/vrml":{"source":"iana","compressible":false,"extensions":["wrl","vrml"]},"model/x3d+binary":{"source":"apache","compressible":false,"extensions":["x3db","x3dbz"]},"model/x3d+fastinfoset":{"source":"iana","extensions":["x3db"]},"model/x3d+vrml":{"source":"apache","compressible":false,"extensions":["x3dv","x3dvz"]},"model/x3d+xml":{"source":"iana","compressible":true,"extensions":["x3d","x3dz"]},"model/x3d-vrml":{"source":"iana","extensions":["x3dv"]},"multipart/alternative":{"source":"iana","compressible":false},"multipart/appledouble":{"source":"iana"},"multipart/byteranges":{"source":"iana"},"multipart/digest":{"source":"iana"},"multipart/encrypted":{"source":"iana","compressible":false},"multipart/form-data":{"source":"iana","compressible":false},"multipart/header-set":{"source":"iana"},"multipart/mixed":{"source":"iana"},"multipart/multilingual":{"source":"iana"},"multipart/parallel":{"source":"iana"},"multipart/related":{"source":"iana","compressible":false},"multipart/report":{"source":"iana"},"multipart/signed":{"source":"iana","compressible":false},"multipart/vnd.bint.med-plus":{"source":"iana"},"multipart/voice-message":{"source":"iana"},"multipart/x-mixed-replace":{"source":"iana"},"text/1d-interleaved-parityfec":{"source":"iana"},"text/cache-manifest":{"source":"iana","compressible":true,"extensions":["appcache","manifest"]},"text/calendar":{"source":"iana","extensions":["ics","ifb"]},"text/calender":{"compressible":true},"text/cmd":{"compressible":true},"text/coffeescript":{"extensions":["coffee","litcoffee"]},"text/cql":{"source":"iana"},"text/cql-expression":{"source":"iana"},"text/cql-identifier":{"source":"iana"},"text/css":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["css"]},"text/csv":{"source":"iana","compressible":true,"extensions":["csv"]},"text/csv-schema":{"source":"iana"},"text/directory":{"source":"iana"},"text/dns":{"source":"iana"},"text/ecmascript":{"source":"iana"},"text/encaprtp":{"source":"iana"},"text/enriched":{"source":"iana"},"text/fhirpath":{"source":"iana"},"text/flexfec":{"source":"iana"},"text/fwdred":{"source":"iana"},"text/gff3":{"source":"iana"},"text/grammar-ref-list":{"source":"iana"},"text/html":{"source":"iana","compressible":true,"extensions":["html","htm","shtml"]},"text/jade":{"extensions":["jade"]},"text/javascript":{"source":"iana","compressible":true},"text/jcr-cnd":{"source":"iana"},"text/jsx":{"compressible":true,"extensions":["jsx"]},"text/less":{"compressible":true,"extensions":["less"]},"text/markdown":{"source":"iana","compressible":true,"extensions":["markdown","md"]},"text/mathml":{"source":"nginx","extensions":["mml"]},"text/mdx":{"compressible":true,"extensions":["mdx"]},"text/mizar":{"source":"iana"},"text/n3":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["n3"]},"text/parameters":{"source":"iana","charset":"UTF-8"},"text/parityfec":{"source":"iana"},"text/plain":{"source":"iana","compressible":true,"extensions":["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{"source":"iana","charset":"UTF-8"},"text/prs.fallenstein.rst":{"source":"iana"},"text/prs.lines.tag":{"source":"iana","extensions":["dsc"]},"text/prs.prop.logic":{"source":"iana"},"text/raptorfec":{"source":"iana"},"text/red":{"source":"iana"},"text/rfc822-headers":{"source":"iana"},"text/richtext":{"source":"iana","compressible":true,"extensions":["rtx"]},"text/rtf":{"source":"iana","compressible":true,"extensions":["rtf"]},"text/rtp-enc-aescm128":{"source":"iana"},"text/rtploopback":{"source":"iana"},"text/rtx":{"source":"iana"},"text/sgml":{"source":"iana","extensions":["sgml","sgm"]},"text/shaclc":{"source":"iana"},"text/shex":{"source":"iana","extensions":["shex"]},"text/slim":{"extensions":["slim","slm"]},"text/spdx":{"source":"iana","extensions":["spdx"]},"text/strings":{"source":"iana"},"text/stylus":{"extensions":["stylus","styl"]},"text/t140":{"source":"iana"},"text/tab-separated-values":{"source":"iana","compressible":true,"extensions":["tsv"]},"text/troff":{"source":"iana","extensions":["t","tr","roff","man","me","ms"]},"text/turtle":{"source":"iana","charset":"UTF-8","extensions":["ttl"]},"text/ulpfec":{"source":"iana"},"text/uri-list":{"source":"iana","compressible":true,"extensions":["uri","uris","urls"]},"text/vcard":{"source":"iana","compressible":true,"extensions":["vcard"]},"text/vnd.a":{"source":"iana"},"text/vnd.abc":{"source":"iana"},"text/vnd.ascii-art":{"source":"iana"},"text/vnd.curl":{"source":"iana","extensions":["curl"]},"text/vnd.curl.dcurl":{"source":"apache","extensions":["dcurl"]},"text/vnd.curl.mcurl":{"source":"apache","extensions":["mcurl"]},"text/vnd.curl.scurl":{"source":"apache","extensions":["scurl"]},"text/vnd.debian.copyright":{"source":"iana","charset":"UTF-8"},"text/vnd.dmclientscript":{"source":"iana"},"text/vnd.dvb.subtitle":{"source":"iana","extensions":["sub"]},"text/vnd.esmertec.theme-descriptor":{"source":"iana","charset":"UTF-8"},"text/vnd.familysearch.gedcom":{"source":"iana","extensions":["ged"]},"text/vnd.ficlab.flt":{"source":"iana"},"text/vnd.fly":{"source":"iana","extensions":["fly"]},"text/vnd.fmi.flexstor":{"source":"iana","extensions":["flx"]},"text/vnd.gml":{"source":"iana"},"text/vnd.graphviz":{"source":"iana","extensions":["gv"]},"text/vnd.hans":{"source":"iana"},"text/vnd.hgl":{"source":"iana"},"text/vnd.in3d.3dml":{"source":"iana","extensions":["3dml"]},"text/vnd.in3d.spot":{"source":"iana","extensions":["spot"]},"text/vnd.iptc.newsml":{"source":"iana"},"text/vnd.iptc.nitf":{"source":"iana"},"text/vnd.latex-z":{"source":"iana"},"text/vnd.motorola.reflex":{"source":"iana"},"text/vnd.ms-mediapackage":{"source":"iana"},"text/vnd.net2phone.commcenter.command":{"source":"iana"},"text/vnd.radisys.msml-basic-layout":{"source":"iana"},"text/vnd.senx.warpscript":{"source":"iana"},"text/vnd.si.uricatalogue":{"source":"iana"},"text/vnd.sosi":{"source":"iana"},"text/vnd.sun.j2me.app-descriptor":{"source":"iana","charset":"UTF-8","extensions":["jad"]},"text/vnd.trolltech.linguist":{"source":"iana","charset":"UTF-8"},"text/vnd.wap.si":{"source":"iana"},"text/vnd.wap.sl":{"source":"iana"},"text/vnd.wap.wml":{"source":"iana","extensions":["wml"]},"text/vnd.wap.wmlscript":{"source":"iana","extensions":["wmls"]},"text/vtt":{"source":"iana","charset":"UTF-8","compressible":true,"extensions":["vtt"]},"text/x-asm":{"source":"apache","extensions":["s","asm"]},"text/x-c":{"source":"apache","extensions":["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{"source":"nginx","extensions":["htc"]},"text/x-fortran":{"source":"apache","extensions":["f","for","f77","f90"]},"text/x-gwt-rpc":{"compressible":true},"text/x-handlebars-template":{"extensions":["hbs"]},"text/x-java-source":{"source":"apache","extensions":["java"]},"text/x-jquery-tmpl":{"compressible":true},"text/x-lua":{"extensions":["lua"]},"text/x-markdown":{"compressible":true,"extensions":["mkd"]},"text/x-nfo":{"source":"apache","extensions":["nfo"]},"text/x-opml":{"source":"apache","extensions":["opml"]},"text/x-org":{"compressible":true,"extensions":["org"]},"text/x-pascal":{"source":"apache","extensions":["p","pas"]},"text/x-processing":{"compressible":true,"extensions":["pde"]},"text/x-sass":{"extensions":["sass"]},"text/x-scss":{"extensions":["scss"]},"text/x-setext":{"source":"apache","extensions":["etx"]},"text/x-sfv":{"source":"apache","extensions":["sfv"]},"text/x-suse-ymp":{"compressible":true,"extensions":["ymp"]},"text/x-uuencode":{"source":"apache","extensions":["uu"]},"text/x-vcalendar":{"source":"apache","extensions":["vcs"]},"text/x-vcard":{"source":"apache","extensions":["vcf"]},"text/xml":{"source":"iana","compressible":true,"extensions":["xml"]},"text/xml-external-parsed-entity":{"source":"iana"},"text/yaml":{"compressible":true,"extensions":["yaml","yml"]},"video/1d-interleaved-parityfec":{"source":"iana"},"video/3gpp":{"source":"iana","extensions":["3gp","3gpp"]},"video/3gpp-tt":{"source":"iana"},"video/3gpp2":{"source":"iana","extensions":["3g2"]},"video/av1":{"source":"iana"},"video/bmpeg":{"source":"iana"},"video/bt656":{"source":"iana"},"video/celb":{"source":"iana"},"video/dv":{"source":"iana"},"video/encaprtp":{"source":"iana"},"video/ffv1":{"source":"iana"},"video/flexfec":{"source":"iana"},"video/h261":{"source":"iana","extensions":["h261"]},"video/h263":{"source":"iana","extensions":["h263"]},"video/h263-1998":{"source":"iana"},"video/h263-2000":{"source":"iana"},"video/h264":{"source":"iana","extensions":["h264"]},"video/h264-rcdo":{"source":"iana"},"video/h264-svc":{"source":"iana"},"video/h265":{"source":"iana"},"video/iso.segment":{"source":"iana","extensions":["m4s"]},"video/jpeg":{"source":"iana","extensions":["jpgv"]},"video/jpeg2000":{"source":"iana"},"video/jpm":{"source":"apache","extensions":["jpm","jpgm"]},"video/jxsv":{"source":"iana"},"video/mj2":{"source":"iana","extensions":["mj2","mjp2"]},"video/mp1s":{"source":"iana"},"video/mp2p":{"source":"iana"},"video/mp2t":{"source":"iana","extensions":["ts"]},"video/mp4":{"source":"iana","compressible":false,"extensions":["mp4","mp4v","mpg4"]},"video/mp4v-es":{"source":"iana"},"video/mpeg":{"source":"iana","compressible":false,"extensions":["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{"source":"iana"},"video/mpv":{"source":"iana"},"video/nv":{"source":"iana"},"video/ogg":{"source":"iana","compressible":false,"extensions":["ogv"]},"video/parityfec":{"source":"iana"},"video/pointer":{"source":"iana"},"video/quicktime":{"source":"iana","compressible":false,"extensions":["qt","mov"]},"video/raptorfec":{"source":"iana"},"video/raw":{"source":"iana"},"video/rtp-enc-aescm128":{"source":"iana"},"video/rtploopback":{"source":"iana"},"video/rtx":{"source":"iana"},"video/scip":{"source":"iana"},"video/smpte291":{"source":"iana"},"video/smpte292m":{"source":"iana"},"video/ulpfec":{"source":"iana"},"video/vc1":{"source":"iana"},"video/vc2":{"source":"iana"},"video/vnd.cctv":{"source":"iana"},"video/vnd.dece.hd":{"source":"iana","extensions":["uvh","uvvh"]},"video/vnd.dece.mobile":{"source":"iana","extensions":["uvm","uvvm"]},"video/vnd.dece.mp4":{"source":"iana"},"video/vnd.dece.pd":{"source":"iana","extensions":["uvp","uvvp"]},"video/vnd.dece.sd":{"source":"iana","extensions":["uvs","uvvs"]},"video/vnd.dece.video":{"source":"iana","extensions":["uvv","uvvv"]},"video/vnd.directv.mpeg":{"source":"iana"},"video/vnd.directv.mpeg-tts":{"source":"iana"},"video/vnd.dlna.mpeg-tts":{"source":"iana"},"video/vnd.dvb.file":{"source":"iana","extensions":["dvb"]},"video/vnd.fvt":{"source":"iana","extensions":["fvt"]},"video/vnd.hns.video":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.1dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-1010":{"source":"iana"},"video/vnd.iptvforum.2dparityfec-2005":{"source":"iana"},"video/vnd.iptvforum.ttsavc":{"source":"iana"},"video/vnd.iptvforum.ttsmpeg2":{"source":"iana"},"video/vnd.motorola.video":{"source":"iana"},"video/vnd.motorola.videop":{"source":"iana"},"video/vnd.mpegurl":{"source":"iana","extensions":["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{"source":"iana","extensions":["pyv"]},"video/vnd.nokia.interleaved-multimedia":{"source":"iana"},"video/vnd.nokia.mp4vr":{"source":"iana"},"video/vnd.nokia.videovoip":{"source":"iana"},"video/vnd.objectvideo":{"source":"iana"},"video/vnd.radgamettools.bink":{"source":"iana"},"video/vnd.radgamettools.smacker":{"source":"iana"},"video/vnd.sealed.mpeg1":{"source":"iana"},"video/vnd.sealed.mpeg4":{"source":"iana"},"video/vnd.sealed.swf":{"source":"iana"},"video/vnd.sealedmedia.softseal.mov":{"source":"iana"},"video/vnd.uvvu.mp4":{"source":"iana","extensions":["uvu","uvvu"]},"video/vnd.vivo":{"source":"iana","extensions":["viv"]},"video/vnd.youtube.yt":{"source":"iana"},"video/vp8":{"source":"iana"},"video/vp9":{"source":"iana"},"video/webm":{"source":"apache","compressible":false,"extensions":["webm"]},"video/x-f4v":{"source":"apache","extensions":["f4v"]},"video/x-fli":{"source":"apache","extensions":["fli"]},"video/x-flv":{"source":"apache","compressible":false,"extensions":["flv"]},"video/x-m4v":{"source":"apache","extensions":["m4v"]},"video/x-matroska":{"source":"apache","compressible":false,"extensions":["mkv","mk3d","mks"]},"video/x-mng":{"source":"apache","extensions":["mng"]},"video/x-ms-asf":{"source":"apache","extensions":["asf","asx"]},"video/x-ms-vob":{"source":"apache","extensions":["vob"]},"video/x-ms-wm":{"source":"apache","extensions":["wm"]},"video/x-ms-wmv":{"source":"apache","compressible":false,"extensions":["wmv"]},"video/x-ms-wmx":{"source":"apache","extensions":["wmx"]},"video/x-ms-wvx":{"source":"apache","extensions":["wvx"]},"video/x-msvideo":{"source":"apache","extensions":["avi"]},"video/x-sgi-movie":{"source":"apache","extensions":["movie"]},"video/x-smv":{"source":"apache","extensions":["smv"]},"x-conference/x-cooltalk":{"source":"apache","extensions":["ice"]},"x-shader/x-fragment":{"compressible":true},"x-shader/x-vertex":{"compressible":true}}');
/***/ }),
-/***/ 357:
+/***/ 2357:
/***/ ((module) => {
"use strict";
@@ -2713,7 +31559,15 @@ module.exports = require("assert");
/***/ }),
-/***/ 417:
+/***/ 4293:
+/***/ ((module) => {
+
+"use strict";
+module.exports = require("buffer");
+
+/***/ }),
+
+/***/ 6417:
/***/ ((module) => {
"use strict";
@@ -2721,7 +31575,7 @@ module.exports = require("crypto");
/***/ }),
-/***/ 614:
+/***/ 8614:
/***/ ((module) => {
"use strict";
@@ -2729,7 +31583,7 @@ module.exports = require("events");
/***/ }),
-/***/ 747:
+/***/ 5747:
/***/ ((module) => {
"use strict";
@@ -2737,7 +31591,7 @@ module.exports = require("fs");
/***/ }),
-/***/ 605:
+/***/ 8605:
/***/ ((module) => {
"use strict";
@@ -2745,7 +31599,15 @@ module.exports = require("http");
/***/ }),
-/***/ 211:
+/***/ 7565:
+/***/ ((module) => {
+
+"use strict";
+module.exports = require("http2");
+
+/***/ }),
+
+/***/ 7211:
/***/ ((module) => {
"use strict";
@@ -2753,7 +31615,7 @@ module.exports = require("https");
/***/ }),
-/***/ 631:
+/***/ 1631:
/***/ ((module) => {
"use strict";
@@ -2761,7 +31623,7 @@ module.exports = require("net");
/***/ }),
-/***/ 87:
+/***/ 2087:
/***/ ((module) => {
"use strict";
@@ -2769,7 +31631,7 @@ module.exports = require("os");
/***/ }),
-/***/ 622:
+/***/ 5622:
/***/ ((module) => {
"use strict";
@@ -2777,7 +31639,31 @@ module.exports = require("path");
/***/ }),
-/***/ 16:
+/***/ 1191:
+/***/ ((module) => {
+
+"use strict";
+module.exports = require("querystring");
+
+/***/ }),
+
+/***/ 2413:
+/***/ ((module) => {
+
+"use strict";
+module.exports = require("stream");
+
+/***/ }),
+
+/***/ 4304:
+/***/ ((module) => {
+
+"use strict";
+module.exports = require("string_decoder");
+
+/***/ }),
+
+/***/ 4016:
/***/ ((module) => {
"use strict";
@@ -2785,12 +31671,36 @@ module.exports = require("tls");
/***/ }),
-/***/ 669:
+/***/ 3867:
+/***/ ((module) => {
+
+"use strict";
+module.exports = require("tty");
+
+/***/ }),
+
+/***/ 8835:
+/***/ ((module) => {
+
+"use strict";
+module.exports = require("url");
+
+/***/ }),
+
+/***/ 1669:
/***/ ((module) => {
"use strict";
module.exports = require("util");
+/***/ }),
+
+/***/ 8761:
+/***/ ((module) => {
+
+"use strict";
+module.exports = require("zlib");
+
/***/ })
/******/ });
@@ -2826,6 +31736,11 @@ module.exports = require("util");
/******/ }
/******/
/************************************************************************/
+/******/ /* webpack/runtime/hasOwnProperty shorthand */
+/******/ (() => {
+/******/ __nccwpck_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
+/******/ })();
+/******/
/******/ /* webpack/runtime/compat */
/******/
/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/";
@@ -2834,31 +31749,128 @@ module.exports = require("util");
var __webpack_exports__ = {};
// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk.
(() => {
-const core = __nccwpck_require__(186);
-const wait = __nccwpck_require__(258);
-
+const core = __nccwpck_require__(2186)
+const superagent = __nccwpck_require__(1524)
+const PrivacyApi = __nccwpck_require__(5333)
+const {Connection, PostgresConnection, Job, QueueProject} = __nccwpck_require__(5333)
+
+async function acquire_token(oauthDomain, client_id, client_secret) {
+ return superagent
+ .post(`https://${oauthDomain}/oauth/token`)
+ .send({
+ grant_type: "client_credentials",
+ client_id: client_id,
+ client_secret: client_secret,
+ audience: "https://api.privacydynamics.io"
+ })
+ .then()
+}
-// most @actions toolkit packages have async methods
async function run() {
- try {
- const ms = core.getInput('milliseconds');
- core.info(`Waiting ${ms} milliseconds ...`);
+ try {
+ const project_id = core.getInput('project-id')
+ const host = core.getInput('db-host')
+ const port = core.getInput('db-port')
+ const username = core.getInput('db-username')
+ const password = core.getInput('db-password')
+ const client_id = core.getInput('client-id')
+ const client_secret = core.getInput('client-secret')
- core.debug((new Date()).toTimeString()); // debug is only output if you set the secret `ACTIONS_RUNNER_DEBUG` to true
- await wait(parseInt(ms));
- core.info((new Date()).toTimeString());
- core.setOutput('time', new Date().toTimeString());
- } catch (error) {
- core.setFailed(error.message);
- }
+ const oauthDomain = (core.getInput('oauth-domain', {required: false}) || "auth.privacydynamics.io")
+ const apiUrl = (core.getInput('api-url', {required: false}) || "https://api.privacydynamics.io")
+
+ let defaultClient = PrivacyApi.ApiClient.instance
+ defaultClient.basePath = apiUrl
+ let oAuth2ClientCredentials = defaultClient.authentications['oAuth2ClientCredentials']
+
+ const token_response = await acquire_token(oauthDomain, client_id, client_secret)
+ oAuth2ClientCredentials.accessToken = token_response.body.access_token
+
+ core.info(`Fetching metadata about project ${project_id}`)
+ const projectsApi = new PrivacyApi.ProjectsApi()
+
+ const project_response = await new Promise((resolve, reject) => {
+ projectsApi.v1ProjectsProjectIdGet(project_id, null, (error, data, response) => {
+ if (error) {
+ core.error(error)
+ }
+ console.info(data)
+ resolve(data)
+ })
+ })
+ const dest_connection = project_response.project.destination_connection
+ const connnectionsApi = new PrivacyApi.ConnectionsApi()
+
+ core.info(`Update destination connection to: ${username}:${password}@${host}:${port}`)
+ const pg_connection = new PostgresConnection(dest_connection.connection_name, dest_connection.database, host, port, username, password)
+ pg_connection.input_type = 'postgres'
+ const new_connection = new Connection(pg_connection)
+
+ await new Promise((resolve, reject) => {
+ connnectionsApi.v1ConnectionsConnectionIdPut(dest_connection.connection_id, {connection: new_connection}, (error, data, response) => {
+ resolve(data)
+ })
+ })
+
+ core.info(`Start new job run on connection ${dest_connection.connection_id}`)
+ const jobsApi = new PrivacyApi.JobsApi()
+ const newJob = new Job(new QueueProject(QueueProject.JobTypeEnum.queue_project, project_id))
+ await new Promise((resolve, reject) => {
+ jobsApi.v1JobsQueuePost({job: newJob}, (error, data, response) => {
+ resolve(data)
+ })
+ })
+
+ const dataSetsApi = new PrivacyApi.DatasetsApi()
+ const jobRunResponse = await new Promise((resolve, reject) => {
+ dataSetsApi.v1JobRunsGet({
+ projectId: project_id,
+ latest: true,
+ limit: 1,
+ condensed: true
+ }, (error, data, response) => {
+ console.log(error)
+ console.log(data)
+ resolve(data.toJSON())
+ })
+ })
+
+ const jobRunId = jobRunResponse.job_runs[0].job_run_id
+
+ let in_progress = true
+
+ const unreadyStates = ['SENT', 'STARTED', 'IN PROGRESS', 'RETRY', 'PENDING']
+ while (in_progress) {
+
+ let status_response = await new Promise((resolve, reject) => {
+ dataSetsApi.v1JobRunsJobRunIdGet(jobRunId, null, (error, data, response) => {
+ resolve(data)
+ })
+ })
+ let status = status_response.job_run.status
+ if (unreadyStates.indexOf(status) > -1) {
+ core.info("Not done. Wait")
+ core.info("Waiting 5 seconds...")
+ await new Promise(resolve => setTimeout(resolve, 5000))
+ } else {
+ in_progress = false
+ if (status == "SUCCESS") {
+ core.info('Done')
+ } else {
+ throw `Unable to complete job ${jobRunId} with status ${status}`
+ }
+ }
+ }
+ } catch (e) {
+ core.setFailed(e)
+ }
}
-run();
+run()
})();
module.exports = __webpack_exports__;
/******/ })()
-;
-//# sourceMappingURL=index.js.map
\ No newline at end of file
+;
\ No newline at end of file
diff --git a/dist/index.js.map b/dist/index.js.map
deleted file mode 100644
index 4d6a60c..0000000
--- a/dist/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sources":["../webpack://javascript-action/./node_modules/@actions/core/lib/command.js","../webpack://javascript-action/./node_modules/@actions/core/lib/core.js","../webpack://javascript-action/./node_modules/@actions/core/lib/file-command.js","../webpack://javascript-action/./node_modules/@actions/core/lib/oidc-utils.js","../webpack://javascript-action/./node_modules/@actions/core/lib/path-utils.js","../webpack://javascript-action/./node_modules/@actions/core/lib/summary.js","../webpack://javascript-action/./node_modules/@actions/core/lib/utils.js","../webpack://javascript-action/./node_modules/@actions/http-client/lib/auth.js","../webpack://javascript-action/./node_modules/@actions/http-client/lib/index.js","../webpack://javascript-action/./node_modules/@actions/http-client/lib/proxy.js","../webpack://javascript-action/./node_modules/tunnel/index.js","../webpack://javascript-action/./node_modules/tunnel/lib/tunnel.js","../webpack://javascript-action/./node_modules/uuid/dist/index.js","../webpack://javascript-action/./node_modules/uuid/dist/md5.js","../webpack://javascript-action/./node_modules/uuid/dist/nil.js","../webpack://javascript-action/./node_modules/uuid/dist/parse.js","../webpack://javascript-action/./node_modules/uuid/dist/regex.js","../webpack://javascript-action/./node_modules/uuid/dist/rng.js","../webpack://javascript-action/./node_modules/uuid/dist/sha1.js","../webpack://javascript-action/./node_modules/uuid/dist/stringify.js","../webpack://javascript-action/./node_modules/uuid/dist/v1.js","../webpack://javascript-action/./node_modules/uuid/dist/v3.js","../webpack://javascript-action/./node_modules/uuid/dist/v35.js","../webpack://javascript-action/./node_modules/uuid/dist/v4.js","../webpack://javascript-action/./node_modules/uuid/dist/v5.js","../webpack://javascript-action/./node_modules/uuid/dist/validate.js","../webpack://javascript-action/./node_modules/uuid/dist/version.js","../webpack://javascript-action/./wait.js","../webpack://javascript-action/external \"assert\"","../webpack://javascript-action/external \"crypto\"","../webpack://javascript-action/external \"events\"","../webpack://javascript-action/external \"fs\"","../webpack://javascript-action/external \"http\"","../webpack://javascript-action/external \"https\"","../webpack://javascript-action/external \"net\"","../webpack://javascript-action/external \"os\"","../webpack://javascript-action/external \"path\"","../webpack://javascript-action/external \"tls\"","../webpack://javascript-action/external \"util\"","../webpack://javascript-action/webpack/bootstrap","../webpack://javascript-action/webpack/runtime/compat","../webpack://javascript-action/./index.js"],"sourcesContent":["\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.issue = exports.issueCommand = void 0;\nconst os = __importStar(require(\"os\"));\nconst utils_1 = require(\"./utils\");\n/**\n * Commands\n *\n * Command Format:\n * ::name key=value,key=value::message\n *\n * Examples:\n * ::warning::This is the message\n * ::set-env name=MY_VAR::some value\n */\nfunction issueCommand(command, properties, message) {\n const cmd = new Command(command, properties, message);\n process.stdout.write(cmd.toString() + os.EOL);\n}\nexports.issueCommand = issueCommand;\nfunction issue(name, message = '') {\n issueCommand(name, {}, message);\n}\nexports.issue = issue;\nconst CMD_STRING = '::';\nclass Command {\n constructor(command, properties, message) {\n if (!command) {\n command = 'missing.command';\n }\n this.command = command;\n this.properties = properties;\n this.message = message;\n }\n toString() {\n let cmdStr = CMD_STRING + this.command;\n if (this.properties && Object.keys(this.properties).length > 0) {\n cmdStr += ' ';\n let first = true;\n for (const key in this.properties) {\n if (this.properties.hasOwnProperty(key)) {\n const val = this.properties[key];\n if (val) {\n if (first) {\n first = false;\n }\n else {\n cmdStr += ',';\n }\n cmdStr += `${key}=${escapeProperty(val)}`;\n }\n }\n }\n }\n cmdStr += `${CMD_STRING}${escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction escapeData(s) {\n return utils_1.toCommandValue(s)\n .replace(/%/g, '%25')\n .replace(/\\r/g, '%0D')\n .replace(/\\n/g, '%0A');\n}\nfunction escapeProperty(s) {\n return utils_1.toCommandValue(s)\n .replace(/%/g, '%25')\n .replace(/\\r/g, '%0D')\n .replace(/\\n/g, '%0A')\n .replace(/:/g, '%3A')\n .replace(/,/g, '%2C');\n}\n//# sourceMappingURL=command.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getIDToken = exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.notice = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0;\nconst command_1 = require(\"./command\");\nconst file_command_1 = require(\"./file-command\");\nconst utils_1 = require(\"./utils\");\nconst os = __importStar(require(\"os\"));\nconst path = __importStar(require(\"path\"));\nconst oidc_utils_1 = require(\"./oidc-utils\");\n/**\n * The code to exit an action\n */\nvar ExitCode;\n(function (ExitCode) {\n /**\n * A code indicating that the action was successful\n */\n ExitCode[ExitCode[\"Success\"] = 0] = \"Success\";\n /**\n * A code indicating that the action was a failure\n */\n ExitCode[ExitCode[\"Failure\"] = 1] = \"Failure\";\n})(ExitCode = exports.ExitCode || (exports.ExitCode = {}));\n//-----------------------------------------------------------------------\n// Variables\n//-----------------------------------------------------------------------\n/**\n * Sets env variable for this action and future actions in the job\n * @param name the name of the variable to set\n * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction exportVariable(name, val) {\n const convertedVal = utils_1.toCommandValue(val);\n process.env[name] = convertedVal;\n const filePath = process.env['GITHUB_ENV'] || '';\n if (filePath) {\n return file_command_1.issueFileCommand('ENV', file_command_1.prepareKeyValueMessage(name, val));\n }\n command_1.issueCommand('set-env', { name }, convertedVal);\n}\nexports.exportVariable = exportVariable;\n/**\n * Registers a secret which will get masked from logs\n * @param secret value of the secret\n */\nfunction setSecret(secret) {\n command_1.issueCommand('add-mask', {}, secret);\n}\nexports.setSecret = setSecret;\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */\nfunction addPath(inputPath) {\n const filePath = process.env['GITHUB_PATH'] || '';\n if (filePath) {\n file_command_1.issueFileCommand('PATH', inputPath);\n }\n else {\n command_1.issueCommand('add-path', {}, inputPath);\n }\n process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;\n}\nexports.addPath = addPath;\n/**\n * Gets the value of an input.\n * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.\n * Returns an empty string if the value is not defined.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string\n */\nfunction getInput(name, options) {\n const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || '';\n if (options && options.required && !val) {\n throw new Error(`Input required and not supplied: ${name}`);\n }\n if (options && options.trimWhitespace === false) {\n return val;\n }\n return val.trim();\n}\nexports.getInput = getInput;\n/**\n * Gets the values of an multiline input. Each value is also trimmed.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string[]\n *\n */\nfunction getMultilineInput(name, options) {\n const inputs = getInput(name, options)\n .split('\\n')\n .filter(x => x !== '');\n if (options && options.trimWhitespace === false) {\n return inputs;\n }\n return inputs.map(input => input.trim());\n}\nexports.getMultilineInput = getMultilineInput;\n/**\n * Gets the input value of the boolean type in the YAML 1.2 \"core schema\" specification.\n * Support boolean input list: `true | True | TRUE | false | False | FALSE` .\n * The return value is also in boolean type.\n * ref: https://yaml.org/spec/1.2/spec.html#id2804923\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns boolean\n */\nfunction getBooleanInput(name, options) {\n const trueValue = ['true', 'True', 'TRUE'];\n const falseValue = ['false', 'False', 'FALSE'];\n const val = getInput(name, options);\n if (trueValue.includes(val))\n return true;\n if (falseValue.includes(val))\n return false;\n throw new TypeError(`Input does not meet YAML 1.2 \"Core Schema\" specification: ${name}\\n` +\n `Support boolean input list: \\`true | True | TRUE | false | False | FALSE\\``);\n}\nexports.getBooleanInput = getBooleanInput;\n/**\n * Sets the value of an output.\n *\n * @param name name of the output to set\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction setOutput(name, value) {\n const filePath = process.env['GITHUB_OUTPUT'] || '';\n if (filePath) {\n return file_command_1.issueFileCommand('OUTPUT', file_command_1.prepareKeyValueMessage(name, value));\n }\n process.stdout.write(os.EOL);\n command_1.issueCommand('set-output', { name }, utils_1.toCommandValue(value));\n}\nexports.setOutput = setOutput;\n/**\n * Enables or disables the echoing of commands into stdout for the rest of the step.\n * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.\n *\n */\nfunction setCommandEcho(enabled) {\n command_1.issue('echo', enabled ? 'on' : 'off');\n}\nexports.setCommandEcho = setCommandEcho;\n//-----------------------------------------------------------------------\n// Results\n//-----------------------------------------------------------------------\n/**\n * Sets the action status to failed.\n * When the action exits it will be with an exit code of 1\n * @param message add error issue message\n */\nfunction setFailed(message) {\n process.exitCode = ExitCode.Failure;\n error(message);\n}\nexports.setFailed = setFailed;\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */\nfunction isDebug() {\n return process.env['RUNNER_DEBUG'] === '1';\n}\nexports.isDebug = isDebug;\n/**\n * Writes debug message to user log\n * @param message debug message\n */\nfunction debug(message) {\n command_1.issueCommand('debug', {}, message);\n}\nexports.debug = debug;\n/**\n * Adds an error issue\n * @param message error issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction error(message, properties = {}) {\n command_1.issueCommand('error', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nexports.error = error;\n/**\n * Adds a warning issue\n * @param message warning issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction warning(message, properties = {}) {\n command_1.issueCommand('warning', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nexports.warning = warning;\n/**\n * Adds a notice issue\n * @param message notice issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction notice(message, properties = {}) {\n command_1.issueCommand('notice', utils_1.toCommandProperties(properties), message instanceof Error ? message.toString() : message);\n}\nexports.notice = notice;\n/**\n * Writes info to log with console.log.\n * @param message info message\n */\nfunction info(message) {\n process.stdout.write(message + os.EOL);\n}\nexports.info = info;\n/**\n * Begin an output group.\n *\n * Output until the next `groupEnd` will be foldable in this group\n *\n * @param name The name of the output group\n */\nfunction startGroup(name) {\n command_1.issue('group', name);\n}\nexports.startGroup = startGroup;\n/**\n * End an output group.\n */\nfunction endGroup() {\n command_1.issue('endgroup');\n}\nexports.endGroup = endGroup;\n/**\n * Wrap an asynchronous function call in a group.\n *\n * Returns the same type as the function itself.\n *\n * @param name The name of the group\n * @param fn The function to wrap in the group\n */\nfunction group(name, fn) {\n return __awaiter(this, void 0, void 0, function* () {\n startGroup(name);\n let result;\n try {\n result = yield fn();\n }\n finally {\n endGroup();\n }\n return result;\n });\n}\nexports.group = group;\n//-----------------------------------------------------------------------\n// Wrapper action state\n//-----------------------------------------------------------------------\n/**\n * Saves state for current action, the state can only be retrieved by this action's post job execution.\n *\n * @param name name of the state to store\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction saveState(name, value) {\n const filePath = process.env['GITHUB_STATE'] || '';\n if (filePath) {\n return file_command_1.issueFileCommand('STATE', file_command_1.prepareKeyValueMessage(name, value));\n }\n command_1.issueCommand('save-state', { name }, utils_1.toCommandValue(value));\n}\nexports.saveState = saveState;\n/**\n * Gets the value of an state set by this action's main execution.\n *\n * @param name name of the state to get\n * @returns string\n */\nfunction getState(name) {\n return process.env[`STATE_${name}`] || '';\n}\nexports.getState = getState;\nfunction getIDToken(aud) {\n return __awaiter(this, void 0, void 0, function* () {\n return yield oidc_utils_1.OidcClient.getIDToken(aud);\n });\n}\nexports.getIDToken = getIDToken;\n/**\n * Summary exports\n */\nvar summary_1 = require(\"./summary\");\nObject.defineProperty(exports, \"summary\", { enumerable: true, get: function () { return summary_1.summary; } });\n/**\n * @deprecated use core.summary\n */\nvar summary_2 = require(\"./summary\");\nObject.defineProperty(exports, \"markdownSummary\", { enumerable: true, get: function () { return summary_2.markdownSummary; } });\n/**\n * Path exports\n */\nvar path_utils_1 = require(\"./path-utils\");\nObject.defineProperty(exports, \"toPosixPath\", { enumerable: true, get: function () { return path_utils_1.toPosixPath; } });\nObject.defineProperty(exports, \"toWin32Path\", { enumerable: true, get: function () { return path_utils_1.toWin32Path; } });\nObject.defineProperty(exports, \"toPlatformPath\", { enumerable: true, get: function () { return path_utils_1.toPlatformPath; } });\n//# sourceMappingURL=core.js.map","\"use strict\";\n// For internal use, subject to change.\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.prepareKeyValueMessage = exports.issueFileCommand = void 0;\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */\nconst fs = __importStar(require(\"fs\"));\nconst os = __importStar(require(\"os\"));\nconst uuid_1 = require(\"uuid\");\nconst utils_1 = require(\"./utils\");\nfunction issueFileCommand(command, message) {\n const filePath = process.env[`GITHUB_${command}`];\n if (!filePath) {\n throw new Error(`Unable to find environment variable for file command ${command}`);\n }\n if (!fs.existsSync(filePath)) {\n throw new Error(`Missing file at path: ${filePath}`);\n }\n fs.appendFileSync(filePath, `${utils_1.toCommandValue(message)}${os.EOL}`, {\n encoding: 'utf8'\n });\n}\nexports.issueFileCommand = issueFileCommand;\nfunction prepareKeyValueMessage(key, value) {\n const delimiter = `ghadelimiter_${uuid_1.v4()}`;\n const convertedValue = utils_1.toCommandValue(value);\n // These should realistically never happen, but just in case someone finds a\n // way to exploit uuid generation let's not allow keys or values that contain\n // the delimiter.\n if (key.includes(delimiter)) {\n throw new Error(`Unexpected input: name should not contain the delimiter \"${delimiter}\"`);\n }\n if (convertedValue.includes(delimiter)) {\n throw new Error(`Unexpected input: value should not contain the delimiter \"${delimiter}\"`);\n }\n return `${key}<<${delimiter}${os.EOL}${convertedValue}${os.EOL}${delimiter}`;\n}\nexports.prepareKeyValueMessage = prepareKeyValueMessage;\n//# sourceMappingURL=file-command.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OidcClient = void 0;\nconst http_client_1 = require(\"@actions/http-client\");\nconst auth_1 = require(\"@actions/http-client/lib/auth\");\nconst core_1 = require(\"./core\");\nclass OidcClient {\n static createHttpClient(allowRetry = true, maxRetry = 10) {\n const requestOptions = {\n allowRetries: allowRetry,\n maxRetries: maxRetry\n };\n return new http_client_1.HttpClient('actions/oidc-client', [new auth_1.BearerCredentialHandler(OidcClient.getRequestToken())], requestOptions);\n }\n static getRequestToken() {\n const token = process.env['ACTIONS_ID_TOKEN_REQUEST_TOKEN'];\n if (!token) {\n throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable');\n }\n return token;\n }\n static getIDTokenUrl() {\n const runtimeUrl = process.env['ACTIONS_ID_TOKEN_REQUEST_URL'];\n if (!runtimeUrl) {\n throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable');\n }\n return runtimeUrl;\n }\n static getCall(id_token_url) {\n var _a;\n return __awaiter(this, void 0, void 0, function* () {\n const httpclient = OidcClient.createHttpClient();\n const res = yield httpclient\n .getJson(id_token_url)\n .catch(error => {\n throw new Error(`Failed to get ID Token. \\n \n Error Code : ${error.statusCode}\\n \n Error Message: ${error.result.message}`);\n });\n const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;\n if (!id_token) {\n throw new Error('Response json body do not have ID Token field');\n }\n return id_token;\n });\n }\n static getIDToken(audience) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n // New ID Token is requested from action service\n let id_token_url = OidcClient.getIDTokenUrl();\n if (audience) {\n const encodedAudience = encodeURIComponent(audience);\n id_token_url = `${id_token_url}&audience=${encodedAudience}`;\n }\n core_1.debug(`ID token url is ${id_token_url}`);\n const id_token = yield OidcClient.getCall(id_token_url);\n core_1.setSecret(id_token);\n return id_token;\n }\n catch (error) {\n throw new Error(`Error message: ${error.message}`);\n }\n });\n }\n}\nexports.OidcClient = OidcClient;\n//# sourceMappingURL=oidc-utils.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = void 0;\nconst path = __importStar(require(\"path\"));\n/**\n * toPosixPath converts the given path to the posix form. On Windows, \\\\ will be\n * replaced with /.\n *\n * @param pth. Path to transform.\n * @return string Posix path.\n */\nfunction toPosixPath(pth) {\n return pth.replace(/[\\\\]/g, '/');\n}\nexports.toPosixPath = toPosixPath;\n/**\n * toWin32Path converts the given path to the win32 form. On Linux, / will be\n * replaced with \\\\.\n *\n * @param pth. Path to transform.\n * @return string Win32 path.\n */\nfunction toWin32Path(pth) {\n return pth.replace(/[/]/g, '\\\\');\n}\nexports.toWin32Path = toWin32Path;\n/**\n * toPlatformPath converts the given path to a platform-specific path. It does\n * this by replacing instances of / and \\ with the platform-specific path\n * separator.\n *\n * @param pth The path to platformize.\n * @return string The platform-specific path.\n */\nfunction toPlatformPath(pth) {\n return pth.replace(/[/\\\\]/g, path.sep);\n}\nexports.toPlatformPath = toPlatformPath;\n//# sourceMappingURL=path-utils.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.summary = exports.markdownSummary = exports.SUMMARY_DOCS_URL = exports.SUMMARY_ENV_VAR = void 0;\nconst os_1 = require(\"os\");\nconst fs_1 = require(\"fs\");\nconst { access, appendFile, writeFile } = fs_1.promises;\nexports.SUMMARY_ENV_VAR = 'GITHUB_STEP_SUMMARY';\nexports.SUMMARY_DOCS_URL = 'https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary';\nclass Summary {\n constructor() {\n this._buffer = '';\n }\n /**\n * Finds the summary file path from the environment, rejects if env var is not found or file does not exist\n * Also checks r/w permissions.\n *\n * @returns step summary file path\n */\n filePath() {\n return __awaiter(this, void 0, void 0, function* () {\n if (this._filePath) {\n return this._filePath;\n }\n const pathFromEnv = process.env[exports.SUMMARY_ENV_VAR];\n if (!pathFromEnv) {\n throw new Error(`Unable to find environment variable for $${exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);\n }\n try {\n yield access(pathFromEnv, fs_1.constants.R_OK | fs_1.constants.W_OK);\n }\n catch (_a) {\n throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`);\n }\n this._filePath = pathFromEnv;\n return this._filePath;\n });\n }\n /**\n * Wraps content in an HTML tag, adding any HTML attributes\n *\n * @param {string} tag HTML tag to wrap\n * @param {string | null} content content within the tag\n * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add\n *\n * @returns {string} content wrapped in HTML element\n */\n wrap(tag, content, attrs = {}) {\n const htmlAttrs = Object.entries(attrs)\n .map(([key, value]) => ` ${key}=\"${value}\"`)\n .join('');\n if (!content) {\n return `<${tag}${htmlAttrs}>`;\n }\n return `<${tag}${htmlAttrs}>${content}${tag}>`;\n }\n /**\n * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default.\n *\n * @param {SummaryWriteOptions} [options] (optional) options for write operation\n *\n * @returns {Promise} summary instance\n */\n write(options) {\n return __awaiter(this, void 0, void 0, function* () {\n const overwrite = !!(options === null || options === void 0 ? void 0 : options.overwrite);\n const filePath = yield this.filePath();\n const writeFunc = overwrite ? writeFile : appendFile;\n yield writeFunc(filePath, this._buffer, { encoding: 'utf8' });\n return this.emptyBuffer();\n });\n }\n /**\n * Clears the summary buffer and wipes the summary file\n *\n * @returns {Summary} summary instance\n */\n clear() {\n return __awaiter(this, void 0, void 0, function* () {\n return this.emptyBuffer().write({ overwrite: true });\n });\n }\n /**\n * Returns the current summary buffer as a string\n *\n * @returns {string} string of summary buffer\n */\n stringify() {\n return this._buffer;\n }\n /**\n * If the summary buffer is empty\n *\n * @returns {boolen} true if the buffer is empty\n */\n isEmptyBuffer() {\n return this._buffer.length === 0;\n }\n /**\n * Resets the summary buffer without writing to summary file\n *\n * @returns {Summary} summary instance\n */\n emptyBuffer() {\n this._buffer = '';\n return this;\n }\n /**\n * Adds raw text to the summary buffer\n *\n * @param {string} text content to add\n * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false)\n *\n * @returns {Summary} summary instance\n */\n addRaw(text, addEOL = false) {\n this._buffer += text;\n return addEOL ? this.addEOL() : this;\n }\n /**\n * Adds the operating system-specific end-of-line marker to the buffer\n *\n * @returns {Summary} summary instance\n */\n addEOL() {\n return this.addRaw(os_1.EOL);\n }\n /**\n * Adds an HTML codeblock to the summary buffer\n *\n * @param {string} code content to render within fenced code block\n * @param {string} lang (optional) language to syntax highlight code\n *\n * @returns {Summary} summary instance\n */\n addCodeBlock(code, lang) {\n const attrs = Object.assign({}, (lang && { lang }));\n const element = this.wrap('pre', this.wrap('code', code), attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML list to the summary buffer\n *\n * @param {string[]} items list of items to render\n * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false)\n *\n * @returns {Summary} summary instance\n */\n addList(items, ordered = false) {\n const tag = ordered ? 'ol' : 'ul';\n const listItems = items.map(item => this.wrap('li', item)).join('');\n const element = this.wrap(tag, listItems);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML table to the summary buffer\n *\n * @param {SummaryTableCell[]} rows table rows\n *\n * @returns {Summary} summary instance\n */\n addTable(rows) {\n const tableBody = rows\n .map(row => {\n const cells = row\n .map(cell => {\n if (typeof cell === 'string') {\n return this.wrap('td', cell);\n }\n const { header, data, colspan, rowspan } = cell;\n const tag = header ? 'th' : 'td';\n const attrs = Object.assign(Object.assign({}, (colspan && { colspan })), (rowspan && { rowspan }));\n return this.wrap(tag, data, attrs);\n })\n .join('');\n return this.wrap('tr', cells);\n })\n .join('');\n const element = this.wrap('table', tableBody);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds a collapsable HTML details element to the summary buffer\n *\n * @param {string} label text for the closed state\n * @param {string} content collapsable content\n *\n * @returns {Summary} summary instance\n */\n addDetails(label, content) {\n const element = this.wrap('details', this.wrap('summary', label) + content);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML image tag to the summary buffer\n *\n * @param {string} src path to the image you to embed\n * @param {string} alt text description of the image\n * @param {SummaryImageOptions} options (optional) addition image attributes\n *\n * @returns {Summary} summary instance\n */\n addImage(src, alt, options) {\n const { width, height } = options || {};\n const attrs = Object.assign(Object.assign({}, (width && { width })), (height && { height }));\n const element = this.wrap('img', null, Object.assign({ src, alt }, attrs));\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML section heading element\n *\n * @param {string} text heading text\n * @param {number | string} [level=1] (optional) the heading level, default: 1\n *\n * @returns {Summary} summary instance\n */\n addHeading(text, level) {\n const tag = `h${level}`;\n const allowedTag = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'].includes(tag)\n ? tag\n : 'h1';\n const element = this.wrap(allowedTag, text);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML thematic break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */\n addSeparator() {\n const element = this.wrap('hr', null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML line break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */\n addBreak() {\n const element = this.wrap('br', null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML blockquote to the summary buffer\n *\n * @param {string} text quote text\n * @param {string} cite (optional) citation url\n *\n * @returns {Summary} summary instance\n */\n addQuote(text, cite) {\n const attrs = Object.assign({}, (cite && { cite }));\n const element = this.wrap('blockquote', text, attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML anchor tag to the summary buffer\n *\n * @param {string} text link text/content\n * @param {string} href hyperlink\n *\n * @returns {Summary} summary instance\n */\n addLink(text, href) {\n const element = this.wrap('a', text, { href });\n return this.addRaw(element).addEOL();\n }\n}\nconst _summary = new Summary();\n/**\n * @deprecated use `core.summary`\n */\nexports.markdownSummary = _summary;\nexports.summary = _summary;\n//# sourceMappingURL=summary.js.map","\"use strict\";\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toCommandProperties = exports.toCommandValue = void 0;\n/**\n * Sanitizes an input into a string so it can be passed into issueCommand safely\n * @param input input to sanitize into a string\n */\nfunction toCommandValue(input) {\n if (input === null || input === undefined) {\n return '';\n }\n else if (typeof input === 'string' || input instanceof String) {\n return input;\n }\n return JSON.stringify(input);\n}\nexports.toCommandValue = toCommandValue;\n/**\n *\n * @param annotationProperties\n * @returns The command properties to send with the actual annotation command\n * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646\n */\nfunction toCommandProperties(annotationProperties) {\n if (!Object.keys(annotationProperties).length) {\n return {};\n }\n return {\n title: annotationProperties.title,\n file: annotationProperties.file,\n line: annotationProperties.startLine,\n endLine: annotationProperties.endLine,\n col: annotationProperties.startColumn,\n endColumn: annotationProperties.endColumn\n };\n}\nexports.toCommandProperties = toCommandProperties;\n//# sourceMappingURL=utils.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PersonalAccessTokenCredentialHandler = exports.BearerCredentialHandler = exports.BasicCredentialHandler = void 0;\nclass BasicCredentialHandler {\n constructor(username, password) {\n this.username = username;\n this.password = password;\n }\n prepareRequest(options) {\n if (!options.headers) {\n throw Error('The request has no headers');\n }\n options.headers['Authorization'] = `Basic ${Buffer.from(`${this.username}:${this.password}`).toString('base64')}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return __awaiter(this, void 0, void 0, function* () {\n throw new Error('not implemented');\n });\n }\n}\nexports.BasicCredentialHandler = BasicCredentialHandler;\nclass BearerCredentialHandler {\n constructor(token) {\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) {\n throw Error('The request has no headers');\n }\n options.headers['Authorization'] = `Bearer ${this.token}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return __awaiter(this, void 0, void 0, function* () {\n throw new Error('not implemented');\n });\n }\n}\nexports.BearerCredentialHandler = BearerCredentialHandler;\nclass PersonalAccessTokenCredentialHandler {\n constructor(token) {\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) {\n throw Error('The request has no headers');\n }\n options.headers['Authorization'] = `Basic ${Buffer.from(`PAT:${this.token}`).toString('base64')}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return __awaiter(this, void 0, void 0, function* () {\n throw new Error('not implemented');\n });\n }\n}\nexports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHandler;\n//# sourceMappingURL=auth.js.map","\"use strict\";\n/* eslint-disable @typescript-eslint/no-explicit-any */\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HttpClient = exports.isHttps = exports.HttpClientResponse = exports.HttpClientError = exports.getProxyUrl = exports.MediaTypes = exports.Headers = exports.HttpCodes = void 0;\nconst http = __importStar(require(\"http\"));\nconst https = __importStar(require(\"https\"));\nconst pm = __importStar(require(\"./proxy\"));\nconst tunnel = __importStar(require(\"tunnel\"));\nvar HttpCodes;\n(function (HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {}));\nvar Headers;\n(function (Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})(Headers = exports.Headers || (exports.Headers = {}));\nvar MediaTypes;\n(function (MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})(MediaTypes = exports.MediaTypes || (exports.MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\nfunction getProxyUrl(serverUrl) {\n const proxyUrl = pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : '';\n}\nexports.getProxyUrl = getProxyUrl;\nconst HttpRedirectCodes = [\n HttpCodes.MovedPermanently,\n HttpCodes.ResourceMoved,\n HttpCodes.SeeOther,\n HttpCodes.TemporaryRedirect,\n HttpCodes.PermanentRedirect\n];\nconst HttpResponseRetryCodes = [\n HttpCodes.BadGateway,\n HttpCodes.ServiceUnavailable,\n HttpCodes.GatewayTimeout\n];\nconst RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD'];\nconst ExponentialBackoffCeiling = 10;\nconst ExponentialBackoffTimeSlice = 5;\nclass HttpClientError extends Error {\n constructor(message, statusCode) {\n super(message);\n this.name = 'HttpClientError';\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, HttpClientError.prototype);\n }\n}\nexports.HttpClientError = HttpClientError;\nclass HttpClientResponse {\n constructor(message) {\n this.message = message;\n }\n readBody() {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve) => __awaiter(this, void 0, void 0, function* () {\n let output = Buffer.alloc(0);\n this.message.on('data', (chunk) => {\n output = Buffer.concat([output, chunk]);\n });\n this.message.on('end', () => {\n resolve(output.toString());\n });\n }));\n });\n }\n}\nexports.HttpClientResponse = HttpClientResponse;\nfunction isHttps(requestUrl) {\n const parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === 'https:';\n}\nexports.isHttps = isHttps;\nclass HttpClient {\n constructor(userAgent, handlers, requestOptions) {\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) {\n this._ignoreSslError = requestOptions.ignoreSslError;\n }\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) {\n this._allowRedirects = requestOptions.allowRedirects;\n }\n if (requestOptions.allowRedirectDowngrade != null) {\n this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n }\n if (requestOptions.maxRedirects != null) {\n this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n }\n if (requestOptions.keepAlive != null) {\n this._keepAlive = requestOptions.keepAlive;\n }\n if (requestOptions.allowRetries != null) {\n this._allowRetries = requestOptions.allowRetries;\n }\n if (requestOptions.maxRetries != null) {\n this._maxRetries = requestOptions.maxRetries;\n }\n }\n }\n options(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('OPTIONS', requestUrl, null, additionalHeaders || {});\n });\n }\n get(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('GET', requestUrl, null, additionalHeaders || {});\n });\n }\n del(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('DELETE', requestUrl, null, additionalHeaders || {});\n });\n }\n post(requestUrl, data, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('POST', requestUrl, data, additionalHeaders || {});\n });\n }\n patch(requestUrl, data, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('PATCH', requestUrl, data, additionalHeaders || {});\n });\n }\n put(requestUrl, data, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('PUT', requestUrl, data, additionalHeaders || {});\n });\n }\n head(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('HEAD', requestUrl, null, additionalHeaders || {});\n });\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n });\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */\n getJson(requestUrl, additionalHeaders = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n const res = yield this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n postJson(requestUrl, obj, additionalHeaders = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n const res = yield this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n putJson(requestUrl, obj, additionalHeaders = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n const res = yield this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n patchJson(requestUrl, obj, additionalHeaders = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n const res = yield this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */\n request(verb, requestUrl, data, headers) {\n return __awaiter(this, void 0, void 0, function* () {\n if (this._disposed) {\n throw new Error('Client has already been disposed.');\n }\n const parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n const maxTries = this._allowRetries && RetryableHttpVerbs.includes(verb)\n ? this._maxRetries + 1\n : 1;\n let numTries = 0;\n let response;\n do {\n response = yield this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response &&\n response.message &&\n response.message.statusCode === HttpCodes.Unauthorized) {\n let authenticationHandler;\n for (const handler of this.handlers) {\n if (handler.canHandleAuthentication(response)) {\n authenticationHandler = handler;\n break;\n }\n }\n if (authenticationHandler) {\n return authenticationHandler.handleAuthentication(this, info, data);\n }\n else {\n // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n }\n let redirectsRemaining = this._maxRedirects;\n while (response.message.statusCode &&\n HttpRedirectCodes.includes(response.message.statusCode) &&\n this._allowRedirects &&\n redirectsRemaining > 0) {\n const redirectUrl = response.message.headers['location'];\n if (!redirectUrl) {\n // if there's no location to redirect to, we won't\n break;\n }\n const parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol === 'https:' &&\n parsedUrl.protocol !== parsedRedirectUrl.protocol &&\n !this._allowRedirectDowngrade) {\n throw new Error('Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.');\n }\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n yield response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for (const header in headers) {\n // header names are case insensitive\n if (header.toLowerCase() === 'authorization') {\n delete headers[header];\n }\n }\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = yield this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (!response.message.statusCode ||\n !HttpResponseRetryCodes.includes(response.message.statusCode)) {\n // If not a retry code, return immediately instead of retrying\n return response;\n }\n numTries += 1;\n if (numTries < maxTries) {\n yield response.readBody();\n yield this._performExponentialBackoff(numTries);\n }\n } while (numTries < maxTries);\n return response;\n });\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */\n dispose() {\n if (this._agent) {\n this._agent.destroy();\n }\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */\n requestRaw(info, data) {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve, reject) => {\n function callbackForResult(err, res) {\n if (err) {\n reject(err);\n }\n else if (!res) {\n // If `err` is not passed, then `res` must be passed.\n reject(new Error('Unknown error'));\n }\n else {\n resolve(res);\n }\n }\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */\n requestRawWithCallback(info, data, onResult) {\n if (typeof data === 'string') {\n if (!info.options.headers) {\n info.options.headers = {};\n }\n info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8');\n }\n let callbackCalled = false;\n function handleResult(err, res) {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n }\n const req = info.httpModule.request(info.options, (msg) => {\n const res = new HttpClientResponse(msg);\n handleResult(undefined, res);\n });\n let socket;\n req.on('socket', sock => {\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 3 * 60000, () => {\n if (socket) {\n socket.end();\n }\n handleResult(new Error(`Request timeout: ${info.options.path}`));\n });\n req.on('error', function (err) {\n // err has statusCode property\n // res should have headers\n handleResult(err);\n });\n if (data && typeof data === 'string') {\n req.write(data, 'utf8');\n }\n if (data && typeof data !== 'string') {\n data.on('close', function () {\n req.end();\n });\n data.pipe(req);\n }\n else {\n req.end();\n }\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\n getAgent(serverUrl) {\n const parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === 'https:';\n info.httpModule = usingSsl ? https : http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port\n ? parseInt(info.parsedUrl.port)\n : defaultPort;\n info.options.path =\n (info.parsedUrl.pathname || '') + (info.parsedUrl.search || '');\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) {\n info.options.headers['user-agent'] = this.userAgent;\n }\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) {\n for (const handler of this.handlers) {\n handler.prepareRequest(info.options);\n }\n }\n return info;\n }\n _mergeHeaders(headers) {\n if (this.requestOptions && this.requestOptions.headers) {\n return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers || {}));\n }\n return lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) {\n clientHeader = lowercaseKeys(this.requestOptions.headers)[header];\n }\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n const proxyUrl = pm.getProxyUrl(parsedUrl);\n const useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) {\n agent = this._proxyAgent;\n }\n if (this._keepAlive && !useProxy) {\n agent = this._agent;\n }\n // if agent is already assigned use that agent.\n if (agent) {\n return agent;\n }\n const usingSsl = parsedUrl.protocol === 'https:';\n let maxSockets = 100;\n if (this.requestOptions) {\n maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets;\n }\n // This is `useProxy` again, but we need to check `proxyURl` directly for TypeScripts's flow analysis.\n if (proxyUrl && proxyUrl.hostname) {\n const agentOptions = {\n maxSockets,\n keepAlive: this._keepAlive,\n proxy: Object.assign(Object.assign({}, ((proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n })), { host: proxyUrl.hostname, port: proxyUrl.port })\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === 'https:';\n if (usingSsl) {\n tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp;\n }\n else {\n tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp;\n }\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if reusing agent across request and tunneling agent isn't assigned create a new agent\n if (this._keepAlive && !agent) {\n const options = { keepAlive: this._keepAlive, maxSockets };\n agent = usingSsl ? new https.Agent(options) : new http.Agent(options);\n this._agent = agent;\n }\n // if not using private agent and tunnel agent isn't setup then use global agent\n if (!agent) {\n agent = usingSsl ? https.globalAgent : http.globalAgent;\n }\n if (usingSsl && this._ignoreSslError) {\n // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n }\n return agent;\n }\n _performExponentialBackoff(retryNumber) {\n return __awaiter(this, void 0, void 0, function* () {\n retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber);\n const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise(resolve => setTimeout(() => resolve(), ms));\n });\n }\n _processResponse(res, options) {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {\n const statusCode = res.message.statusCode || 0;\n const response = {\n statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode === HttpCodes.NotFound) {\n resolve(response);\n }\n // get the result from the body\n function dateTimeDeserializer(key, value) {\n if (typeof value === 'string') {\n const a = new Date(value);\n if (!isNaN(a.valueOf())) {\n return a;\n }\n }\n return value;\n }\n let obj;\n let contents;\n try {\n contents = yield res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) {\n obj = JSON.parse(contents, dateTimeDeserializer);\n }\n else {\n obj = JSON.parse(contents);\n }\n response.result = obj;\n }\n response.headers = res.message.headers;\n }\n catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) {\n msg = obj.message;\n }\n else if (contents && contents.length > 0) {\n // it may be the case that the exception is in the body message as string\n msg = contents;\n }\n else {\n msg = `Failed request: (${statusCode})`;\n }\n const err = new HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n }\n else {\n resolve(response);\n }\n }));\n });\n }\n}\nexports.HttpClient = HttpClient;\nconst lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.checkBypass = exports.getProxyUrl = void 0;\nfunction getProxyUrl(reqUrl) {\n const usingSsl = reqUrl.protocol === 'https:';\n if (checkBypass(reqUrl)) {\n return undefined;\n }\n const proxyVar = (() => {\n if (usingSsl) {\n return process.env['https_proxy'] || process.env['HTTPS_PROXY'];\n }\n else {\n return process.env['http_proxy'] || process.env['HTTP_PROXY'];\n }\n })();\n if (proxyVar) {\n return new URL(proxyVar);\n }\n else {\n return undefined;\n }\n}\nexports.getProxyUrl = getProxyUrl;\nfunction checkBypass(reqUrl) {\n if (!reqUrl.hostname) {\n return false;\n }\n const noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || '';\n if (!noProxy) {\n return false;\n }\n // Determine the request port\n let reqPort;\n if (reqUrl.port) {\n reqPort = Number(reqUrl.port);\n }\n else if (reqUrl.protocol === 'http:') {\n reqPort = 80;\n }\n else if (reqUrl.protocol === 'https:') {\n reqPort = 443;\n }\n // Format the request hostname and hostname with port\n const upperReqHosts = [reqUrl.hostname.toUpperCase()];\n if (typeof reqPort === 'number') {\n upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n }\n // Compare request host against noproxy\n for (const upperNoProxyItem of noProxy\n .split(',')\n .map(x => x.trim().toUpperCase())\n .filter(x => x)) {\n if (upperReqHosts.some(x => x === upperNoProxyItem)) {\n return true;\n }\n }\n return false;\n}\nexports.checkBypass = checkBypass;\n//# sourceMappingURL=proxy.js.map","module.exports = require('./lib/tunnel');\n","'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n debug('got illegal response body from proxy');\n socket.destroy();\n var error = new Error('got illegal response body from proxy');\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n debug('tunneling connection has established');\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n\n function onError(cause) {\n connectReq.removeAllListeners();\n\n debug('tunneling socket could not be established, cause=%s\\n',\n cause.message, cause.stack);\n var error = new Error('tunneling socket could not be established, ' +\n 'cause=' + cause.message);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n }\n};\n\nTunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket)\n if (pos === -1) {\n return;\n }\n this.sockets.splice(pos, 1);\n\n var pending = this.requests.shift();\n if (pending) {\n // If we have pending requests and a socket gets closed a new one\n // needs to be created to take over in the pool for the one that closed.\n this.createSocket(pending, function(socket) {\n pending.request.onSocket(socket);\n });\n }\n};\n\nfunction createSecureSocket(options, cb) {\n var self = this;\n TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader('host');\n var tlsOptions = mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host\n });\n\n // 0 is dummy port for v0.6\n var secureSocket = tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\n\n\nfunction toOptions(host, port, localAddress) {\n if (typeof host === 'string') { // since v0.10\n return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n }\n return host; // for v0.11 or later\n}\n\nfunction mergeOptions(target) {\n for (var i = 1, len = arguments.length; i < len; ++i) {\n var overrides = arguments[i];\n if (typeof overrides === 'object') {\n var keys = Object.keys(overrides);\n for (var j = 0, keyLen = keys.length; j < keyLen; ++j) {\n var k = keys[j];\n if (overrides[k] !== undefined) {\n target[k] = overrides[k];\n }\n }\n }\n }\n return target;\n}\n\n\nvar debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) {\n debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === 'string') {\n args[0] = 'TUNNEL: ' + args[0];\n } else {\n args.unshift('TUNNEL:');\n }\n console.error.apply(console, args);\n }\n} else {\n debug = function() {};\n}\nexports.debug = debug; // for test\n","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"v1\", {\n enumerable: true,\n get: function () {\n return _v.default;\n }\n});\nObject.defineProperty(exports, \"v3\", {\n enumerable: true,\n get: function () {\n return _v2.default;\n }\n});\nObject.defineProperty(exports, \"v4\", {\n enumerable: true,\n get: function () {\n return _v3.default;\n }\n});\nObject.defineProperty(exports, \"v5\", {\n enumerable: true,\n get: function () {\n return _v4.default;\n }\n});\nObject.defineProperty(exports, \"NIL\", {\n enumerable: true,\n get: function () {\n return _nil.default;\n }\n});\nObject.defineProperty(exports, \"version\", {\n enumerable: true,\n get: function () {\n return _version.default;\n }\n});\nObject.defineProperty(exports, \"validate\", {\n enumerable: true,\n get: function () {\n return _validate.default;\n }\n});\nObject.defineProperty(exports, \"stringify\", {\n enumerable: true,\n get: function () {\n return _stringify.default;\n }\n});\nObject.defineProperty(exports, \"parse\", {\n enumerable: true,\n get: function () {\n return _parse.default;\n }\n});\n\nvar _v = _interopRequireDefault(require(\"./v1.js\"));\n\nvar _v2 = _interopRequireDefault(require(\"./v3.js\"));\n\nvar _v3 = _interopRequireDefault(require(\"./v4.js\"));\n\nvar _v4 = _interopRequireDefault(require(\"./v5.js\"));\n\nvar _nil = _interopRequireDefault(require(\"./nil.js\"));\n\nvar _version = _interopRequireDefault(require(\"./version.js\"));\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nvar _stringify = _interopRequireDefault(require(\"./stringify.js\"));\n\nvar _parse = _interopRequireDefault(require(\"./parse.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction md5(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return _crypto.default.createHash('md5').update(bytes).digest();\n}\n\nvar _default = md5;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _default = '00000000-0000-0000-0000-000000000000';\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction parse(uuid) {\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n let v;\n const arr = new Uint8Array(16); // Parse ########-....-....-....-............\n\n arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24;\n arr[1] = v >>> 16 & 0xff;\n arr[2] = v >>> 8 & 0xff;\n arr[3] = v & 0xff; // Parse ........-####-....-....-............\n\n arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8;\n arr[5] = v & 0xff; // Parse ........-....-####-....-............\n\n arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8;\n arr[7] = v & 0xff; // Parse ........-....-....-####-............\n\n arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8;\n arr[9] = v & 0xff; // Parse ........-....-....-....-############\n // (Use \"/\" to avoid 32-bit truncation when bit-shifting high-order bytes)\n\n arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff;\n arr[11] = v / 0x100000000 & 0xff;\n arr[12] = v >>> 24 & 0xff;\n arr[13] = v >>> 16 & 0xff;\n arr[14] = v >>> 8 & 0xff;\n arr[15] = v & 0xff;\n return arr;\n}\n\nvar _default = parse;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = rng;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate\n\nlet poolPtr = rnds8Pool.length;\n\nfunction rng() {\n if (poolPtr > rnds8Pool.length - 16) {\n _crypto.default.randomFillSync(rnds8Pool);\n\n poolPtr = 0;\n }\n\n return rnds8Pool.slice(poolPtr, poolPtr += 16);\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _crypto = _interopRequireDefault(require(\"crypto\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction sha1(bytes) {\n if (Array.isArray(bytes)) {\n bytes = Buffer.from(bytes);\n } else if (typeof bytes === 'string') {\n bytes = Buffer.from(bytes, 'utf8');\n }\n\n return _crypto.default.createHash('sha1').update(bytes).digest();\n}\n\nvar _default = sha1;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nconst byteToHex = [];\n\nfor (let i = 0; i < 256; ++i) {\n byteToHex.push((i + 0x100).toString(16).substr(1));\n}\n\nfunction stringify(arr, offset = 0) {\n // Note: Be careful editing this code! It's been tuned for performance\n // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434\n const uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one\n // of the following:\n // - One or more input array values don't map to a hex octet (leading to\n // \"undefined\" in the uuid)\n // - Invalid input values for the RFC `version` or `variant` fields\n\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Stringified UUID is invalid');\n }\n\n return uuid;\n}\n\nvar _default = stringify;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _rng = _interopRequireDefault(require(\"./rng.js\"));\n\nvar _stringify = _interopRequireDefault(require(\"./stringify.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// **`v1()` - Generate time-based UUID**\n//\n// Inspired by https://github.com/LiosK/UUID.js\n// and http://docs.python.org/library/uuid.html\nlet _nodeId;\n\nlet _clockseq; // Previous uuid creation time\n\n\nlet _lastMSecs = 0;\nlet _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details\n\nfunction v1(options, buf, offset) {\n let i = buf && offset || 0;\n const b = buf || new Array(16);\n options = options || {};\n let node = options.node || _nodeId;\n let clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not\n // specified. We do this lazily to minimize issues related to insufficient\n // system entropy. See #189\n\n if (node == null || clockseq == null) {\n const seedBytes = options.random || (options.rng || _rng.default)();\n\n if (node == null) {\n // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1)\n node = _nodeId = [seedBytes[0] | 0x01, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]];\n }\n\n if (clockseq == null) {\n // Per 4.2.2, randomize (14 bit) clockseq\n clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff;\n }\n } // UUID timestamps are 100 nano-second units since the Gregorian epoch,\n // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so\n // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs'\n // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00.\n\n\n let msecs = options.msecs !== undefined ? options.msecs : Date.now(); // Per 4.2.1.2, use count of uuid's generated during the current clock\n // cycle to simulate higher resolution clock\n\n let nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs)\n\n const dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression\n\n if (dt < 0 && options.clockseq === undefined) {\n clockseq = clockseq + 1 & 0x3fff;\n } // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new\n // time interval\n\n\n if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) {\n nsecs = 0;\n } // Per 4.2.1.2 Throw error if too many uuids are requested\n\n\n if (nsecs >= 10000) {\n throw new Error(\"uuid.v1(): Can't create more than 10M uuids/sec\");\n }\n\n _lastMSecs = msecs;\n _lastNSecs = nsecs;\n _clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch\n\n msecs += 12219292800000; // `time_low`\n\n const tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000;\n b[i++] = tl >>> 24 & 0xff;\n b[i++] = tl >>> 16 & 0xff;\n b[i++] = tl >>> 8 & 0xff;\n b[i++] = tl & 0xff; // `time_mid`\n\n const tmh = msecs / 0x100000000 * 10000 & 0xfffffff;\n b[i++] = tmh >>> 8 & 0xff;\n b[i++] = tmh & 0xff; // `time_high_and_version`\n\n b[i++] = tmh >>> 24 & 0xf | 0x10; // include version\n\n b[i++] = tmh >>> 16 & 0xff; // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant)\n\n b[i++] = clockseq >>> 8 | 0x80; // `clock_seq_low`\n\n b[i++] = clockseq & 0xff; // `node`\n\n for (let n = 0; n < 6; ++n) {\n b[i + n] = node[n];\n }\n\n return buf || (0, _stringify.default)(b);\n}\n\nvar _default = v1;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _v = _interopRequireDefault(require(\"./v35.js\"));\n\nvar _md = _interopRequireDefault(require(\"./md5.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst v3 = (0, _v.default)('v3', 0x30, _md.default);\nvar _default = v3;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = _default;\nexports.URL = exports.DNS = void 0;\n\nvar _stringify = _interopRequireDefault(require(\"./stringify.js\"));\n\nvar _parse = _interopRequireDefault(require(\"./parse.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction stringToBytes(str) {\n str = unescape(encodeURIComponent(str)); // UTF8 escape\n\n const bytes = [];\n\n for (let i = 0; i < str.length; ++i) {\n bytes.push(str.charCodeAt(i));\n }\n\n return bytes;\n}\n\nconst DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';\nexports.DNS = DNS;\nconst URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';\nexports.URL = URL;\n\nfunction _default(name, version, hashfunc) {\n function generateUUID(value, namespace, buf, offset) {\n if (typeof value === 'string') {\n value = stringToBytes(value);\n }\n\n if (typeof namespace === 'string') {\n namespace = (0, _parse.default)(namespace);\n }\n\n if (namespace.length !== 16) {\n throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)');\n } // Compute hash of namespace and value, Per 4.3\n // Future: Use spread syntax when supported on all platforms, e.g. `bytes =\n // hashfunc([...namespace, ... value])`\n\n\n let bytes = new Uint8Array(16 + value.length);\n bytes.set(namespace);\n bytes.set(value, namespace.length);\n bytes = hashfunc(bytes);\n bytes[6] = bytes[6] & 0x0f | version;\n bytes[8] = bytes[8] & 0x3f | 0x80;\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = bytes[i];\n }\n\n return buf;\n }\n\n return (0, _stringify.default)(bytes);\n } // Function#name is not settable on some platforms (#270)\n\n\n try {\n generateUUID.name = name; // eslint-disable-next-line no-empty\n } catch (err) {} // For CommonJS default export support\n\n\n generateUUID.DNS = DNS;\n generateUUID.URL = URL;\n return generateUUID;\n}","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _rng = _interopRequireDefault(require(\"./rng.js\"));\n\nvar _stringify = _interopRequireDefault(require(\"./stringify.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction v4(options, buf, offset) {\n options = options || {};\n\n const rnds = options.random || (options.rng || _rng.default)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return (0, _stringify.default)(rnds);\n}\n\nvar _default = v4;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _v = _interopRequireDefault(require(\"./v35.js\"));\n\nvar _sha = _interopRequireDefault(require(\"./sha1.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nconst v5 = (0, _v.default)('v5', 0x50, _sha.default);\nvar _default = v5;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _regex = _interopRequireDefault(require(\"./regex.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction validate(uuid) {\n return typeof uuid === 'string' && _regex.default.test(uuid);\n}\n\nvar _default = validate;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _validate = _interopRequireDefault(require(\"./validate.js\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction version(uuid) {\n if (!(0, _validate.default)(uuid)) {\n throw TypeError('Invalid UUID');\n }\n\n return parseInt(uuid.substr(14, 1), 16);\n}\n\nvar _default = version;\nexports.default = _default;","let wait = function (milliseconds) {\n return new Promise((resolve) => {\n if (typeof milliseconds !== 'number') {\n throw new Error('milliseconds not a number');\n }\n setTimeout(() => resolve(\"done!\"), milliseconds)\n });\n};\n\nmodule.exports = wait;\n","module.exports = require(\"assert\");","module.exports = require(\"crypto\");","module.exports = require(\"events\");","module.exports = require(\"fs\");","module.exports = require(\"http\");","module.exports = require(\"https\");","module.exports = require(\"net\");","module.exports = require(\"os\");","module.exports = require(\"path\");","module.exports = require(\"tls\");","module.exports = require(\"util\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\tvar threw = true;\n\ttry {\n\t\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\t\tthrew = false;\n\t} finally {\n\t\tif(threw) delete __webpack_module_cache__[moduleId];\n\t}\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","\nif (typeof __webpack_require__ !== 'undefined') __webpack_require__.ab = __dirname + \"/\";","const core = require('@actions/core');\nconst wait = require('./wait');\n\n\n// most @actions toolkit packages have async methods\nasync function run() {\n try {\n const ms = core.getInput('milliseconds');\n core.info(`Waiting ${ms} milliseconds ...`);\n\n core.debug((new Date()).toTimeString()); // debug is only output if you set the secret `ACTIONS_RUNNER_DEBUG` to true\n await wait(parseInt(ms));\n core.info((new Date()).toTimeString());\n\n core.setOutput('time', new Date().toTimeString());\n } catch (error) {\n core.setFailed(error.message);\n }\n}\n\nrun();\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A;;;;;;AC3FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A;;;;;;AC/UA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A;;;;;;ACzDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A;;;;;;AC5EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A;;;;;;ACzDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A;;;;;;AC1RA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A;;;;;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A;;;;;;AChFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A;;;;;;AC5lBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A;;;;;AC5DA;;;A;;;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;A;;;;;;ACvQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A;;;;;;AC9EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A;;;;;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A;;;;;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A;;;;;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A;;;;;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A;;;;;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A;;;;;;AC1GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A;;;;;;AC7EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A;;;;;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A;;;;;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A;;;;;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;A;;;;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;A;;;;;;ACTA;;A;;;;;;ACAA;;A;;;;;;ACAA;;A;;;;;;ACAA;;A;;;;;;ACAA;;A;;;;;;ACAA;;A;;;;;;ACAA;;A;;;;;;ACAA;;A;;;;;;ACAA;;A;;;;;;ACAA;;A;;;;;;ACAA;;A;;;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AC7BA;AACA;;;;;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;A","sourceRoot":""}
\ No newline at end of file
diff --git a/dist/licenses.txt b/dist/licenses.txt
index e36f87a..4ef2b95 100644
--- a/dist/licenses.txt
+++ b/dist/licenses.txt
@@ -35,6 +35,588 @@ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+asynckit
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2016 Alex Indigo
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+call-bind
+MIT
+MIT License
+
+Copyright (c) 2020 Jordan Harband
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+combined-stream
+MIT
+Copyright (c) 2011 Debuggable Limited
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+
+cookiejar
+MIT
+The MIT License (MIT)
+Copyright (c) 2013 Bradley Meck
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+
+debug
+MIT
+(The MIT License)
+
+Copyright (c) 2014-2017 TJ Holowaychuk
+Copyright (c) 2018-2021 Josh Junon
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software
+and associated documentation files (the 'Software'), to deal in the Software without restriction,
+including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
+and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial
+portions of the Software.
+
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
+LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+
+delayed-stream
+MIT
+Copyright (c) 2011 Debuggable Limited
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+
+fast-safe-stringify
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2016 David Mark Clements
+Copyright (c) 2017 David Mark Clements & Matteo Collina
+Copyright (c) 2018 David Mark Clements, Matteo Collina & Ruben Bridgewater
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+form-data
+MIT
+Copyright (c) 2012 Felix Geisendörfer (felix@debuggable.com) and contributors
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ THE SOFTWARE.
+
+
+formidable
+MIT
+Copyright (C) 2011 Felix Geisendörfer
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+function-bind
+MIT
+Copyright (c) 2013 Raynos.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+
+
+get-intrinsic
+MIT
+MIT License
+
+Copyright (c) 2020 Jordan Harband
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+has
+MIT
+Copyright (c) 2013 Thiago de Arruda
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
+
+
+has-flag
+MIT
+MIT License
+
+Copyright (c) Sindre Sorhus (sindresorhus.com)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+has-symbols
+MIT
+MIT License
+
+Copyright (c) 2016 Jordan Harband
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+methods
+MIT
+(The MIT License)
+
+Copyright (c) 2013-2014 TJ Holowaychuk
+Copyright (c) 2015-2016 Douglas Christopher Wilson
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+'Software'), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+
+mime
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2010 Benjamin Thomas, Robert Kieffer
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+
+mime-db
+MIT
+
+The MIT License (MIT)
+
+Copyright (c) 2014 Jonathan Ong me@jongleberry.com
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+
+mime-types
+MIT
+(The MIT License)
+
+Copyright (c) 2014 Jonathan Ong
+Copyright (c) 2015 Douglas Christopher Wilson
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+'Software'), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+ms
+MIT
+The MIT License (MIT)
+
+Copyright (c) 2016 Zeit, Inc.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+object-inspect
+MIT
+MIT License
+
+Copyright (c) 2013 James Halliday
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+privacy_api
+Unlicense
+
+qs
+BSD-3-Clause
+BSD 3-Clause License
+
+Copyright (c) 2014, Nathan LaFreniere and other [contributors](https://github.com/ljharb/qs/graphs/contributors)
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+
+3. Neither the name of the copyright holder nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+semver
+ISC
+The ISC License
+
+Copyright (c) Isaac Z. Schlueter and Contributors
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+
+side-channel
+MIT
+MIT License
+
+Copyright (c) 2019 Jordan Harband
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+
+superagent
+MIT
+(The MIT License)
+
+Copyright (c) 2014-2016 TJ Holowaychuk
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+'Software'), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+supports-color
+MIT
+MIT License
+
+Copyright (c) Sindre Sorhus (sindresorhus.com)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
tunnel
MIT
The MIT License (MIT)
diff --git a/dist/sourcemap-register.js b/dist/sourcemap-register.js
deleted file mode 100644
index 56566f1..0000000
--- a/dist/sourcemap-register.js
+++ /dev/null
@@ -1 +0,0 @@
-(()=>{var e={650:e=>{var r=Object.prototype.toString;var n=typeof Buffer.alloc==="function"&&typeof Buffer.allocUnsafe==="function"&&typeof Buffer.from==="function";function isArrayBuffer(e){return r.call(e).slice(8,-1)==="ArrayBuffer"}function fromArrayBuffer(e,r,t){r>>>=0;var o=e.byteLength-r;if(o<0){throw new RangeError("'offset' is out of bounds")}if(t===undefined){t=o}else{t>>>=0;if(t>o){throw new RangeError("'length' is out of bounds")}}return n?Buffer.from(e.slice(r,r+t)):new Buffer(new Uint8Array(e.slice(r,r+t)))}function fromString(e,r){if(typeof r!=="string"||r===""){r="utf8"}if(!Buffer.isEncoding(r)){throw new TypeError('"encoding" must be a valid string encoding')}return n?Buffer.from(e,r):new Buffer(e,r)}function bufferFrom(e,r,t){if(typeof e==="number"){throw new TypeError('"value" argument must not be a number')}if(isArrayBuffer(e)){return fromArrayBuffer(e,r,t)}if(typeof e==="string"){return fromString(e,r)}return n?Buffer.from(e):new Buffer(e)}e.exports=bufferFrom},284:(e,r,n)=>{e=n.nmd(e);var t=n(596).SourceMapConsumer;var o=n(622);var i;try{i=n(747);if(!i.existsSync||!i.readFileSync){i=null}}catch(e){}var a=n(650);function dynamicRequire(e,r){return e.require(r)}var u=false;var s=false;var l=false;var c="auto";var p={};var f={};var g=/^data:application\/json[^,]+base64,/;var h=[];var d=[];function isInBrowser(){if(c==="browser")return true;if(c==="node")return false;return typeof window!=="undefined"&&typeof XMLHttpRequest==="function"&&!(window.require&&window.module&&window.process&&window.process.type==="renderer")}function hasGlobalProcessEventEmitter(){return typeof process==="object"&&process!==null&&typeof process.on==="function"}function handlerExec(e){return function(r){for(var n=0;n"}var n=this.getLineNumber();if(n!=null){r+=":"+n;var t=this.getColumnNumber();if(t){r+=":"+t}}}var o="";var i=this.getFunctionName();var a=true;var u=this.isConstructor();var s=!(this.isToplevel()||u);if(s){var l=this.getTypeName();if(l==="[object Object]"){l="null"}var c=this.getMethodName();if(i){if(l&&i.indexOf(l)!=0){o+=l+"."}o+=i;if(c&&i.indexOf("."+c)!=i.length-c.length-1){o+=" [as "+c+"]"}}else{o+=l+"."+(c||"")}}else if(u){o+="new "+(i||"")}else if(i){o+=i}else{o+=r;a=false}if(a){o+=" ("+r+")"}return o}function cloneCallSite(e){var r={};Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((function(n){r[n]=/^(?:is|get)/.test(n)?function(){return e[n].call(e)}:e[n]}));r.toString=CallSiteToString;return r}function wrapCallSite(e,r){if(r===undefined){r={nextPosition:null,curPosition:null}}if(e.isNative()){r.curPosition=null;return e}var n=e.getFileName()||e.getScriptNameOrSourceURL();if(n){var t=e.getLineNumber();var o=e.getColumnNumber()-1;var i=/^v(10\.1[6-9]|10\.[2-9][0-9]|10\.[0-9]{3,}|1[2-9]\d*|[2-9]\d|\d{3,}|11\.11)/;var a=i.test(process.version)?0:62;if(t===1&&o>a&&!isInBrowser()&&!e.isEval()){o-=a}var u=mapSourcePosition({source:n,line:t,column:o});r.curPosition=u;e=cloneCallSite(e);var s=e.getFunctionName;e.getFunctionName=function(){if(r.nextPosition==null){return s()}return r.nextPosition.name||s()};e.getFileName=function(){return u.source};e.getLineNumber=function(){return u.line};e.getColumnNumber=function(){return u.column+1};e.getScriptNameOrSourceURL=function(){return u.source};return e}var l=e.isEval()&&e.getEvalOrigin();if(l){l=mapEvalOrigin(l);e=cloneCallSite(e);e.getEvalOrigin=function(){return l};return e}return e}function prepareStackTrace(e,r){if(l){p={};f={}}var n=e.name||"Error";var t=e.message||"";var o=n+": "+t;var i={nextPosition:null,curPosition:null};var a=[];for(var u=r.length-1;u>=0;u--){a.push("\n at "+wrapCallSite(r[u],i));i.nextPosition=i.curPosition}i.curPosition=i.nextPosition=null;return o+a.reverse().join("")}function getErrorSource(e){var r=/\n at [^(]+ \((.*):(\d+):(\d+)\)/.exec(e.stack);if(r){var n=r[1];var t=+r[2];var o=+r[3];var a=p[n];if(!a&&i&&i.existsSync(n)){try{a=i.readFileSync(n,"utf8")}catch(e){a=""}}if(a){var u=a.split(/(?:\r\n|\r|\n)/)[t-1];if(u){return n+":"+t+"\n"+u+"\n"+new Array(o).join(" ")+"^"}}}return null}function printErrorAndExit(e){var r=getErrorSource(e);if(process.stderr._handle&&process.stderr._handle.setBlocking){process.stderr._handle.setBlocking(true)}if(r){console.error();console.error(r)}console.error(e.stack);process.exit(1)}function shimEmitUncaughtException(){var e=process.emit;process.emit=function(r){if(r==="uncaughtException"){var n=arguments[1]&&arguments[1].stack;var t=this.listeners(r).length>0;if(n&&!t){return printErrorAndExit(arguments[1])}}return e.apply(this,arguments)}}var S=h.slice(0);var _=d.slice(0);r.wrapCallSite=wrapCallSite;r.getErrorSource=getErrorSource;r.mapSourcePosition=mapSourcePosition;r.retrieveSourceMap=v;r.install=function(r){r=r||{};if(r.environment){c=r.environment;if(["node","browser","auto"].indexOf(c)===-1){throw new Error("environment "+c+" was unknown. Available options are {auto, browser, node}")}}if(r.retrieveFile){if(r.overrideRetrieveFile){h.length=0}h.unshift(r.retrieveFile)}if(r.retrieveSourceMap){if(r.overrideRetrieveSourceMap){d.length=0}d.unshift(r.retrieveSourceMap)}if(r.hookRequire&&!isInBrowser()){var n=dynamicRequire(e,"module");var t=n.prototype._compile;if(!t.__sourceMapSupport){n.prototype._compile=function(e,r){p[r]=e;f[r]=undefined;return t.call(this,e,r)};n.prototype._compile.__sourceMapSupport=true}}if(!l){l="emptyCacheBetweenOperations"in r?r.emptyCacheBetweenOperations:false}if(!u){u=true;Error.prepareStackTrace=prepareStackTrace}if(!s){var o="handleUncaughtExceptions"in r?r.handleUncaughtExceptions:true;try{var i=dynamicRequire(e,"worker_threads");if(i.isMainThread===false){o=false}}catch(e){}if(o&&hasGlobalProcessEventEmitter()){s=true;shimEmitUncaughtException()}}};r.resetRetrieveHandlers=function(){h.length=0;d.length=0;h=S.slice(0);d=_.slice(0);v=handlerExec(d);m=handlerExec(h)}},837:(e,r,n)=>{var t=n(983);var o=Object.prototype.hasOwnProperty;var i=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=i?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(e,r){var n=new ArraySet;for(var t=0,o=e.length;t=0){return r}}else{var n=t.toSetString(e);if(o.call(this._set,n)){return this._set[n]}}throw new Error('"'+e+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(e){if(e>=0&&e{var t=n(537);var o=5;var i=1<>1;return r?-n:n}r.encode=function base64VLQ_encode(e){var r="";var n;var i=toVLQSigned(e);do{n=i&a;i>>>=o;if(i>0){n|=u}r+=t.encode(n)}while(i>0);return r};r.decode=function base64VLQ_decode(e,r,n){var i=e.length;var s=0;var l=0;var c,p;do{if(r>=i){throw new Error("Expected more digits in base 64 VLQ value.")}p=t.decode(e.charCodeAt(r++));if(p===-1){throw new Error("Invalid base64 digit: "+e.charAt(r-1))}c=!!(p&u);p&=a;s=s+(p<{var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");r.encode=function(e){if(0<=e&&e{r.GREATEST_LOWER_BOUND=1;r.LEAST_UPPER_BOUND=2;function recursiveSearch(e,n,t,o,i,a){var u=Math.floor((n-e)/2)+e;var s=i(t,o[u],true);if(s===0){return u}else if(s>0){if(n-u>1){return recursiveSearch(u,n,t,o,i,a)}if(a==r.LEAST_UPPER_BOUND){return n1){return recursiveSearch(e,u,t,o,i,a)}if(a==r.LEAST_UPPER_BOUND){return u}else{return e<0?-1:e}}}r.search=function search(e,n,t,o){if(n.length===0){return-1}var i=recursiveSearch(-1,n.length,e,n,t,o||r.GREATEST_LOWER_BOUND);if(i<0){return-1}while(i-1>=0){if(t(n[i],n[i-1],true)!==0){break}--i}return i}},740:(e,r,n)=>{var t=n(983);function generatedPositionAfter(e,r){var n=e.generatedLine;var o=r.generatedLine;var i=e.generatedColumn;var a=r.generatedColumn;return o>n||o==n&&a>=i||t.compareByGeneratedPositionsInflated(e,r)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(e,r){this._array.forEach(e,r)};MappingList.prototype.add=function MappingList_add(e){if(generatedPositionAfter(this._last,e)){this._last=e;this._array.push(e)}else{this._sorted=false;this._array.push(e)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort(t.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};r.H=MappingList},226:(e,r)=>{function swap(e,r,n){var t=e[r];e[r]=e[n];e[n]=t}function randomIntInRange(e,r){return Math.round(e+Math.random()*(r-e))}function doQuickSort(e,r,n,t){if(n{var t;var o=n(983);var i=n(164);var a=n(837).I;var u=n(215);var s=n(226).U;function SourceMapConsumer(e,r){var n=e;if(typeof e==="string"){n=o.parseSourceMapInput(e)}return n.sections!=null?new IndexedSourceMapConsumer(n,r):new BasicSourceMapConsumer(n,r)}SourceMapConsumer.fromSourceMap=function(e,r){return BasicSourceMapConsumer.fromSourceMap(e,r)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(e,r){var n=e.charAt(r);return n===";"||n===","};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(e,r){throw new Error("Subclasses must implement _parseMappings")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(e,r,n){var t=r||null;var i=n||SourceMapConsumer.GENERATED_ORDER;var a;switch(i){case SourceMapConsumer.GENERATED_ORDER:a=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var u=this.sourceRoot;a.map((function(e){var r=e.source===null?null:this._sources.at(e.source);r=o.computeSourceURL(u,r,this._sourceMapURL);return{source:r,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:e.name===null?null:this._names.at(e.name)}}),this).forEach(e,t)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(e){var r=o.getArg(e,"line");var n={source:o.getArg(e,"source"),originalLine:r,originalColumn:o.getArg(e,"column",0)};n.source=this._findSourceIndex(n.source);if(n.source<0){return[]}var t=[];var a=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",o.compareByOriginalPositions,i.LEAST_UPPER_BOUND);if(a>=0){var u=this._originalMappings[a];if(e.column===undefined){var s=u.originalLine;while(u&&u.originalLine===s){t.push({line:o.getArg(u,"generatedLine",null),column:o.getArg(u,"generatedColumn",null),lastColumn:o.getArg(u,"lastGeneratedColumn",null)});u=this._originalMappings[++a]}}else{var l=u.originalColumn;while(u&&u.originalLine===r&&u.originalColumn==l){t.push({line:o.getArg(u,"generatedLine",null),column:o.getArg(u,"generatedColumn",null),lastColumn:o.getArg(u,"lastGeneratedColumn",null)});u=this._originalMappings[++a]}}}return t};r.SourceMapConsumer=SourceMapConsumer;function BasicSourceMapConsumer(e,r){var n=e;if(typeof e==="string"){n=o.parseSourceMapInput(e)}var t=o.getArg(n,"version");var i=o.getArg(n,"sources");var u=o.getArg(n,"names",[]);var s=o.getArg(n,"sourceRoot",null);var l=o.getArg(n,"sourcesContent",null);var c=o.getArg(n,"mappings");var p=o.getArg(n,"file",null);if(t!=this._version){throw new Error("Unsupported version: "+t)}if(s){s=o.normalize(s)}i=i.map(String).map(o.normalize).map((function(e){return s&&o.isAbsolute(s)&&o.isAbsolute(e)?o.relative(s,e):e}));this._names=a.fromArray(u.map(String),true);this._sources=a.fromArray(i,true);this._absoluteSources=this._sources.toArray().map((function(e){return o.computeSourceURL(s,e,r)}));this.sourceRoot=s;this.sourcesContent=l;this._mappings=c;this._sourceMapURL=r;this.file=p}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(e){var r=e;if(this.sourceRoot!=null){r=o.relative(this.sourceRoot,r)}if(this._sources.has(r)){return this._sources.indexOf(r)}var n;for(n=0;n1){v.source=l+_[1];l+=_[1];v.originalLine=i+_[2];i=v.originalLine;v.originalLine+=1;v.originalColumn=a+_[3];a=v.originalColumn;if(_.length>4){v.name=c+_[4];c+=_[4]}}m.push(v);if(typeof v.originalLine==="number"){d.push(v)}}}s(m,o.compareByGeneratedPositionsDeflated);this.__generatedMappings=m;s(d,o.compareByOriginalPositions);this.__originalMappings=d};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(e,r,n,t,o,a){if(e[n]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+e[n])}if(e[t]<0){throw new TypeError("Column must be greater than or equal to 0, got "+e[t])}return i.search(e,r,o,a)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var e=0;e=0){var t=this._generatedMappings[n];if(t.generatedLine===r.generatedLine){var i=o.getArg(t,"source",null);if(i!==null){i=this._sources.at(i);i=o.computeSourceURL(this.sourceRoot,i,this._sourceMapURL)}var a=o.getArg(t,"name",null);if(a!==null){a=this._names.at(a)}return{source:i,line:o.getArg(t,"originalLine",null),column:o.getArg(t,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return e==null}))};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(e,r){if(!this.sourcesContent){return null}var n=this._findSourceIndex(e);if(n>=0){return this.sourcesContent[n]}var t=e;if(this.sourceRoot!=null){t=o.relative(this.sourceRoot,t)}var i;if(this.sourceRoot!=null&&(i=o.urlParse(this.sourceRoot))){var a=t.replace(/^file:\/\//,"");if(i.scheme=="file"&&this._sources.has(a)){return this.sourcesContent[this._sources.indexOf(a)]}if((!i.path||i.path=="/")&&this._sources.has("/"+t)){return this.sourcesContent[this._sources.indexOf("/"+t)]}}if(r){return null}else{throw new Error('"'+t+'" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(e){var r=o.getArg(e,"source");r=this._findSourceIndex(r);if(r<0){return{line:null,column:null,lastColumn:null}}var n={source:r,originalLine:o.getArg(e,"line"),originalColumn:o.getArg(e,"column")};var t=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",o.compareByOriginalPositions,o.getArg(e,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(t>=0){var i=this._originalMappings[t];if(i.source===n.source){return{line:o.getArg(i,"generatedLine",null),column:o.getArg(i,"generatedColumn",null),lastColumn:o.getArg(i,"lastGeneratedColumn",null)}}}return{line:null,column:null,lastColumn:null}};t=BasicSourceMapConsumer;function IndexedSourceMapConsumer(e,r){var n=e;if(typeof e==="string"){n=o.parseSourceMapInput(e)}var t=o.getArg(n,"version");var i=o.getArg(n,"sections");if(t!=this._version){throw new Error("Unsupported version: "+t)}this._sources=new a;this._names=new a;var u={line:-1,column:0};this._sections=i.map((function(e){if(e.url){throw new Error("Support for url field in sections not implemented.")}var n=o.getArg(e,"offset");var t=o.getArg(n,"line");var i=o.getArg(n,"column");if(t{var t=n(215);var o=n(983);var i=n(837).I;var a=n(740).H;function SourceMapGenerator(e){if(!e){e={}}this._file=o.getArg(e,"file",null);this._sourceRoot=o.getArg(e,"sourceRoot",null);this._skipValidation=o.getArg(e,"skipValidation",false);this._sources=new i;this._names=new i;this._mappings=new a;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(e){var r=e.sourceRoot;var n=new SourceMapGenerator({file:e.file,sourceRoot:r});e.eachMapping((function(e){var t={generated:{line:e.generatedLine,column:e.generatedColumn}};if(e.source!=null){t.source=e.source;if(r!=null){t.source=o.relative(r,t.source)}t.original={line:e.originalLine,column:e.originalColumn};if(e.name!=null){t.name=e.name}}n.addMapping(t)}));e.sources.forEach((function(t){var i=t;if(r!==null){i=o.relative(r,t)}if(!n._sources.has(i)){n._sources.add(i)}var a=e.sourceContentFor(t);if(a!=null){n.setSourceContent(t,a)}}));return n};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(e){var r=o.getArg(e,"generated");var n=o.getArg(e,"original",null);var t=o.getArg(e,"source",null);var i=o.getArg(e,"name",null);if(!this._skipValidation){this._validateMapping(r,n,t,i)}if(t!=null){t=String(t);if(!this._sources.has(t)){this._sources.add(t)}}if(i!=null){i=String(i);if(!this._names.has(i)){this._names.add(i)}}this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:t,name:i})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(e,r){var n=e;if(this._sourceRoot!=null){n=o.relative(this._sourceRoot,n)}if(r!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[o.toSetString(n)]=r}else if(this._sourcesContents){delete this._sourcesContents[o.toSetString(n)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(e,r,n){var t=r;if(r==null){if(e.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}t=e.file}var a=this._sourceRoot;if(a!=null){t=o.relative(a,t)}var u=new i;var s=new i;this._mappings.unsortedForEach((function(r){if(r.source===t&&r.originalLine!=null){var i=e.originalPositionFor({line:r.originalLine,column:r.originalColumn});if(i.source!=null){r.source=i.source;if(n!=null){r.source=o.join(n,r.source)}if(a!=null){r.source=o.relative(a,r.source)}r.originalLine=i.line;r.originalColumn=i.column;if(i.name!=null){r.name=i.name}}}var l=r.source;if(l!=null&&!u.has(l)){u.add(l)}var c=r.name;if(c!=null&&!s.has(c)){s.add(c)}}),this);this._sources=u;this._names=s;e.sources.forEach((function(r){var t=e.sourceContentFor(r);if(t!=null){if(n!=null){r=o.join(n,r)}if(a!=null){r=o.relative(a,r)}this.setSourceContent(r,t)}}),this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(e,r,n,t){if(r&&typeof r.line!=="number"&&typeof r.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!r&&!n&&!t){return}else if(e&&"line"in e&&"column"in e&&r&&"line"in r&&"column"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&n){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:r,name:t}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var e=0;var r=1;var n=0;var i=0;var a=0;var u=0;var s="";var l;var c;var p;var f;var g=this._mappings.toArray();for(var h=0,d=g.length;h0){if(!o.compareByGeneratedPositionsInflated(c,g[h-1])){continue}l+=","}}l+=t.encode(c.generatedColumn-e);e=c.generatedColumn;if(c.source!=null){f=this._sources.indexOf(c.source);l+=t.encode(f-u);u=f;l+=t.encode(c.originalLine-1-i);i=c.originalLine-1;l+=t.encode(c.originalColumn-n);n=c.originalColumn;if(c.name!=null){p=this._names.indexOf(c.name);l+=t.encode(p-a);a=p}}s+=l}return s};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(e,r){return e.map((function(e){if(!this._sourcesContents){return null}if(r!=null){e=o.relative(r,e)}var n=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){e.file=this._file}if(this._sourceRoot!=null){e.sourceRoot=this._sourceRoot}if(this._sourcesContents){e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)}return e};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};r.h=SourceMapGenerator},990:(e,r,n)=>{var t;var o=n(341).h;var i=n(983);var a=/(\r?\n)/;var u=10;var s="$$$isSourceNode$$$";function SourceNode(e,r,n,t,o){this.children=[];this.sourceContents={};this.line=e==null?null:e;this.column=r==null?null:r;this.source=n==null?null:n;this.name=o==null?null:o;this[s]=true;if(t!=null)this.add(t)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(e,r,n){var t=new SourceNode;var o=e.split(a);var u=0;var shiftNextLine=function(){var e=getNextLine();var r=getNextLine()||"";return e+r;function getNextLine(){return u=0;r--){this.prepend(e[r])}}else if(e[s]||typeof e==="string"){this.children.unshift(e)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e)}return this};SourceNode.prototype.walk=function SourceNode_walk(e){var r;for(var n=0,t=this.children.length;n0){r=[];for(n=0;n{function getArg(e,r,n){if(r in e){return e[r]}else if(arguments.length===3){return n}else{throw new Error('"'+r+'" is a required argument.')}}r.getArg=getArg;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var t=/^data:.+\,.+$/;function urlParse(e){var r=e.match(n);if(!r){return null}return{scheme:r[1],auth:r[2],host:r[3],port:r[4],path:r[5]}}r.urlParse=urlParse;function urlGenerate(e){var r="";if(e.scheme){r+=e.scheme+":"}r+="//";if(e.auth){r+=e.auth+"@"}if(e.host){r+=e.host}if(e.port){r+=":"+e.port}if(e.path){r+=e.path}return r}r.urlGenerate=urlGenerate;function normalize(e){var n=e;var t=urlParse(e);if(t){if(!t.path){return e}n=t.path}var o=r.isAbsolute(n);var i=n.split(/\/+/);for(var a,u=0,s=i.length-1;s>=0;s--){a=i[s];if(a==="."){i.splice(s,1)}else if(a===".."){u++}else if(u>0){if(a===""){i.splice(s+1,u);u=0}else{i.splice(s,2);u--}}}n=i.join("/");if(n===""){n=o?"/":"."}if(t){t.path=n;return urlGenerate(t)}return n}r.normalize=normalize;function join(e,r){if(e===""){e="."}if(r===""){r="."}var n=urlParse(r);var o=urlParse(e);if(o){e=o.path||"/"}if(n&&!n.scheme){if(o){n.scheme=o.scheme}return urlGenerate(n)}if(n||r.match(t)){return r}if(o&&!o.host&&!o.path){o.host=r;return urlGenerate(o)}var i=r.charAt(0)==="/"?r:normalize(e.replace(/\/+$/,"")+"/"+r);if(o){o.path=i;return urlGenerate(o)}return i}r.join=join;r.isAbsolute=function(e){return e.charAt(0)==="/"||n.test(e)};function relative(e,r){if(e===""){e="."}e=e.replace(/\/$/,"");var n=0;while(r.indexOf(e+"/")!==0){var t=e.lastIndexOf("/");if(t<0){return r}e=e.slice(0,t);if(e.match(/^([^\/]+:\/)?\/*$/)){return r}++n}return Array(n+1).join("../")+r.substr(e.length+1)}r.relative=relative;var o=function(){var e=Object.create(null);return!("__proto__"in e)}();function identity(e){return e}function toSetString(e){if(isProtoString(e)){return"$"+e}return e}r.toSetString=o?identity:toSetString;function fromSetString(e){if(isProtoString(e)){return e.slice(1)}return e}r.fromSetString=o?identity:fromSetString;function isProtoString(e){if(!e){return false}var r=e.length;if(r<9){return false}if(e.charCodeAt(r-1)!==95||e.charCodeAt(r-2)!==95||e.charCodeAt(r-3)!==111||e.charCodeAt(r-4)!==116||e.charCodeAt(r-5)!==111||e.charCodeAt(r-6)!==114||e.charCodeAt(r-7)!==112||e.charCodeAt(r-8)!==95||e.charCodeAt(r-9)!==95){return false}for(var n=r-10;n>=0;n--){if(e.charCodeAt(n)!==36){return false}}return true}function compareByOriginalPositions(e,r,n){var t=strcmp(e.source,r.source);if(t!==0){return t}t=e.originalLine-r.originalLine;if(t!==0){return t}t=e.originalColumn-r.originalColumn;if(t!==0||n){return t}t=e.generatedColumn-r.generatedColumn;if(t!==0){return t}t=e.generatedLine-r.generatedLine;if(t!==0){return t}return strcmp(e.name,r.name)}r.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(e,r,n){var t=e.generatedLine-r.generatedLine;if(t!==0){return t}t=e.generatedColumn-r.generatedColumn;if(t!==0||n){return t}t=strcmp(e.source,r.source);if(t!==0){return t}t=e.originalLine-r.originalLine;if(t!==0){return t}t=e.originalColumn-r.originalColumn;if(t!==0){return t}return strcmp(e.name,r.name)}r.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(e,r){if(e===r){return 0}if(e===null){return 1}if(r===null){return-1}if(e>r){return 1}return-1}function compareByGeneratedPositionsInflated(e,r){var n=e.generatedLine-r.generatedLine;if(n!==0){return n}n=e.generatedColumn-r.generatedColumn;if(n!==0){return n}n=strcmp(e.source,r.source);if(n!==0){return n}n=e.originalLine-r.originalLine;if(n!==0){return n}n=e.originalColumn-r.originalColumn;if(n!==0){return n}return strcmp(e.name,r.name)}r.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}r.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(e,r,n){r=r||"";if(e){if(e[e.length-1]!=="/"&&r[0]!=="/"){e+="/"}r=e+r}if(n){var t=urlParse(n);if(!t){throw new Error("sourceMapURL could not be parsed")}if(t.path){var o=t.path.lastIndexOf("/");if(o>=0){t.path=t.path.substring(0,o+1)}}r=join(urlGenerate(t),r)}return normalize(r)}r.computeSourceURL=computeSourceURL},596:(e,r,n)=>{n(341).h;r.SourceMapConsumer=n(327).SourceMapConsumer;n(990)},747:e=>{"use strict";e.exports=require("fs")},622:e=>{"use strict";e.exports=require("path")}};var r={};function __webpack_require__(n){var t=r[n];if(t!==undefined){return t.exports}var o=r[n]={id:n,loaded:false,exports:{}};var i=true;try{e[n](o,o.exports,__webpack_require__);i=false}finally{if(i)delete r[n]}o.loaded=true;return o.exports}(()=>{__webpack_require__.nmd=e=>{e.paths=[];if(!e.children)e.children=[];return e}})();if(typeof __webpack_require__!=="undefined")__webpack_require__.ab=__dirname+"/";var n={};(()=>{__webpack_require__(284).install()})();module.exports=n})();
\ No newline at end of file
diff --git a/index.js b/index.js
index a0d0379..01f4302 100644
--- a/index.js
+++ b/index.js
@@ -1,21 +1,119 @@
-const core = require('@actions/core');
-const wait = require('./wait');
+const core = require('@actions/core')
+const superagent = require('superagent')
+const PrivacyApi = require("privacy_api")
+const {Connection, PostgresConnection, Job, QueueProject} = require("privacy_api")
+async function acquire_token(oauthDomain, client_id, client_secret) {
+ return superagent
+ .post(`https://${oauthDomain}/oauth/token`)
+ .send({
+ grant_type: "client_credentials",
+ client_id: client_id,
+ client_secret: client_secret,
+ audience: "https://api.privacydynamics.io"
+ })
+ .then()
+}
-// most @actions toolkit packages have async methods
async function run() {
- try {
- const ms = core.getInput('milliseconds');
- core.info(`Waiting ${ms} milliseconds ...`);
-
- core.debug((new Date()).toTimeString()); // debug is only output if you set the secret `ACTIONS_RUNNER_DEBUG` to true
- await wait(parseInt(ms));
- core.info((new Date()).toTimeString());
-
- core.setOutput('time', new Date().toTimeString());
- } catch (error) {
- core.setFailed(error.message);
- }
+ try {
+ const project_id = core.getInput('project-id')
+ const host = core.getInput('db-host')
+ const port = core.getInput('db-port')
+ const username = core.getInput('db-username')
+ const password = core.getInput('db-password')
+ const client_id = core.getInput('client-id')
+ const client_secret = core.getInput('client-secret')
+
+
+ const oauthDomain = (core.getInput('oauth-domain', {required: false}) || "auth.privacydynamics.io")
+ const apiUrl = (core.getInput('api-url', {required: false}) || "https://api.privacydynamics.io")
+
+ let defaultClient = PrivacyApi.ApiClient.instance
+ defaultClient.basePath = apiUrl
+ let oAuth2ClientCredentials = defaultClient.authentications['oAuth2ClientCredentials']
+
+ const token_response = await acquire_token(oauthDomain, client_id, client_secret)
+ oAuth2ClientCredentials.accessToken = token_response.body.access_token
+
+ core.info(`Fetching metadata about project ${project_id}`)
+ const projectsApi = new PrivacyApi.ProjectsApi()
+
+ const project_response = await new Promise((resolve, reject) => {
+ projectsApi.v1ProjectsProjectIdGet(project_id, null, (error, data, response) => {
+ if (error) {
+ core.error(error)
+ }
+ console.info(data)
+ resolve(data)
+ })
+ })
+ const dest_connection = project_response.project.destination_connection
+ const connnectionsApi = new PrivacyApi.ConnectionsApi()
+
+ core.info(`Update destination connection to: ${username}:${password}@${host}:${port}`)
+ const pg_connection = new PostgresConnection(dest_connection.connection_name, dest_connection.database, host, port, username, password)
+ pg_connection.input_type = 'postgres'
+ const new_connection = new Connection(pg_connection)
+
+ await new Promise((resolve, reject) => {
+ connnectionsApi.v1ConnectionsConnectionIdPut(dest_connection.connection_id, {connection: new_connection}, (error, data, response) => {
+ resolve(data)
+ })
+ })
+
+ core.info(`Start new job run on connection ${dest_connection.connection_id}`)
+ const jobsApi = new PrivacyApi.JobsApi()
+ const newJob = new Job(new QueueProject(QueueProject.JobTypeEnum.queue_project, project_id))
+ await new Promise((resolve, reject) => {
+ jobsApi.v1JobsQueuePost({job: newJob}, (error, data, response) => {
+ resolve(data)
+ })
+ })
+
+ const dataSetsApi = new PrivacyApi.DatasetsApi()
+ const jobRunResponse = await new Promise((resolve, reject) => {
+ dataSetsApi.v1JobRunsGet({
+ projectId: project_id,
+ latest: true,
+ limit: 1,
+ condensed: true
+ }, (error, data, response) => {
+ console.log(error)
+ console.log(data)
+ resolve(data.toJSON())
+ })
+ })
+
+ const jobRunId = jobRunResponse.job_runs[0].job_run_id
+
+ let in_progress = true
+
+ const unreadyStates = ['SENT', 'STARTED', 'IN PROGRESS', 'RETRY', 'PENDING']
+ while (in_progress) {
+
+ let status_response = await new Promise((resolve, reject) => {
+ dataSetsApi.v1JobRunsJobRunIdGet(jobRunId, null, (error, data, response) => {
+ resolve(data)
+ })
+ })
+ let status = status_response.job_run.status
+ if (unreadyStates.indexOf(status) > -1) {
+ core.info("Not done. Wait")
+ core.info("Waiting 5 seconds...")
+ await new Promise(resolve => setTimeout(resolve, 5000))
+ } else {
+ in_progress = false
+ if (status == "SUCCESS") {
+ core.info('Done')
+ } else {
+ throw `Unable to complete job ${jobRunId} with status ${status}`
+ }
+ }
+ }
+ } catch (e) {
+ core.setFailed(e)
+ }
}
-run();
+run()
diff --git a/index.test.js b/index.test.js
deleted file mode 100644
index 57f5080..0000000
--- a/index.test.js
+++ /dev/null
@@ -1,24 +0,0 @@
-const wait = require('./wait');
-const process = require('process');
-const cp = require('child_process');
-const path = require('path');
-
-test('throws invalid number', async () => {
- await expect(wait('foo')).rejects.toThrow('milliseconds not a number');
-});
-
-test('wait 500 ms', async () => {
- const start = new Date();
- await wait(500);
- const end = new Date();
- var delta = Math.abs(end - start);
- expect(delta).toBeGreaterThanOrEqual(500);
-});
-
-// shows how the runner will run a javascript action with env / stdout protocol
-test('test runs', () => {
- process.env['INPUT_MILLISECONDS'] = 100;
- const ip = path.join(__dirname, 'index.js');
- const result = cp.execSync(`node ${ip}`, {env: process.env}).toString();
- console.log(result);
-})
diff --git a/package-lock.json b/package-lock.json
index 041799e..56d3152 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -9,7 +9,8 @@
"version": "1.0.0",
"license": "MIT",
"dependencies": {
- "@actions/core": "^1.10.0"
+ "@actions/core": "^1.10.0",
+ "privacy_api": "file:vendor/privacy_api-1.0.0.tgz"
},
"devDependencies": {
"@vercel/ncc": "^0.31.1",
@@ -34,11 +35,66 @@
"tunnel": "^0.0.6"
}
},
+ "node_modules/@babel/cli": {
+ "version": "7.20.7",
+ "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.20.7.tgz",
+ "integrity": "sha512-WylgcELHB66WwQqItxNILsMlaTd8/SO6SgTTjMp4uCI7P4QyH1r3nqgFmO3BfM4AtfniHgFMH3EpYFj/zynBkQ==",
+ "dependencies": {
+ "@jridgewell/trace-mapping": "^0.3.8",
+ "commander": "^4.0.1",
+ "convert-source-map": "^1.1.0",
+ "fs-readdir-recursive": "^1.1.0",
+ "glob": "^7.2.0",
+ "make-dir": "^2.1.0",
+ "slash": "^2.0.0"
+ },
+ "bin": {
+ "babel": "bin/babel.js",
+ "babel-external-helpers": "bin/babel-external-helpers.js"
+ },
+ "engines": {
+ "node": ">=6.9.0"
+ },
+ "optionalDependencies": {
+ "@nicolo-ribaudo/chokidar-2": "2.1.8-no-fsevents.3",
+ "chokidar": "^3.4.0"
+ },
+ "peerDependencies": {
+ "@babel/core": "^7.0.0-0"
+ }
+ },
+ "node_modules/@babel/cli/node_modules/make-dir": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz",
+ "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==",
+ "dependencies": {
+ "pify": "^4.0.1",
+ "semver": "^5.6.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/@babel/cli/node_modules/semver": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
+ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
+ "bin": {
+ "semver": "bin/semver"
+ }
+ },
+ "node_modules/@babel/cli/node_modules/slash": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz",
+ "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/@babel/code-frame": {
"version": "7.16.0",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.0.tgz",
"integrity": "sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==",
- "dev": true,
"dependencies": {
"@babel/highlight": "^7.16.0"
},
@@ -50,7 +106,6 @@
"version": "7.16.4",
"resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.16.4.tgz",
"integrity": "sha512-1o/jo7D+kC9ZjHX5v+EHrdjl3PhxMrLSOTGsOdHJ+KL8HCaEK6ehrVL2RS6oHDZp+L7xLirLrPmQtEng769J/Q==",
- "dev": true,
"engines": {
"node": ">=6.9.0"
}
@@ -59,7 +114,6 @@
"version": "7.16.5",
"resolved": "https://registry.npmjs.org/@babel/core/-/core-7.16.5.tgz",
"integrity": "sha512-wUcenlLzuWMZ9Zt8S0KmFwGlH6QKRh3vsm/dhDA3CHkiTA45YuG1XkHRcNRl73EFPXDp/d5kVOU0/y7x2w6OaQ==",
- "dev": true,
"dependencies": {
"@babel/code-frame": "^7.16.0",
"@babel/generator": "^7.16.5",
@@ -89,7 +143,6 @@
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
- "dev": true,
"bin": {
"semver": "bin/semver.js"
}
@@ -98,7 +151,6 @@
"version": "0.5.7",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
"integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
- "dev": true,
"engines": {
"node": ">=0.10.0"
}
@@ -107,7 +159,6 @@
"version": "7.16.5",
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.16.5.tgz",
"integrity": "sha512-kIvCdjZqcdKqoDbVVdt5R99icaRtrtYhYK/xux5qiWCBmfdvEYMFZ68QCrpE5cbFM1JsuArUNs1ZkuKtTtUcZA==",
- "dev": true,
"dependencies": {
"@babel/types": "^7.16.0",
"jsesc": "^2.5.1",
@@ -121,7 +172,6 @@
"version": "0.5.7",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
"integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
- "dev": true,
"engines": {
"node": ">=0.10.0"
}
@@ -130,7 +180,6 @@
"version": "7.16.3",
"resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.3.tgz",
"integrity": "sha512-vKsoSQAyBmxS35JUOOt+07cLc6Nk/2ljLIHwmq2/NM6hdioUaqEXq/S+nXvbvXbZkNDlWOymPanJGOc4CBjSJA==",
- "dev": true,
"dependencies": {
"@babel/compat-data": "^7.16.0",
"@babel/helper-validator-option": "^7.14.5",
@@ -148,7 +197,6 @@
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
- "dev": true,
"bin": {
"semver": "bin/semver.js"
}
@@ -157,7 +205,6 @@
"version": "7.16.5",
"resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.5.tgz",
"integrity": "sha512-ODQyc5AnxmZWm/R2W7fzhamOk1ey8gSguo5SGvF0zcB3uUzRpTRmM/jmLSm9bDMyPlvbyJ+PwPEK0BWIoZ9wjg==",
- "dev": true,
"dependencies": {
"@babel/types": "^7.16.0"
},
@@ -169,7 +216,6 @@
"version": "7.16.0",
"resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.0.tgz",
"integrity": "sha512-BZh4mEk1xi2h4HFjWUXRQX5AEx4rvaZxHgax9gcjdLWdkjsY7MKt5p0otjsg5noXw+pB+clMCjw+aEVYADMjog==",
- "dev": true,
"dependencies": {
"@babel/helper-get-function-arity": "^7.16.0",
"@babel/template": "^7.16.0",
@@ -183,7 +229,6 @@
"version": "7.16.0",
"resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.0.tgz",
"integrity": "sha512-ASCquNcywC1NkYh/z7Cgp3w31YW8aojjYIlNg4VeJiHkqyP4AzIvr4qx7pYDb4/s8YcsZWqqOSxgkvjUz1kpDQ==",
- "dev": true,
"dependencies": {
"@babel/types": "^7.16.0"
},
@@ -195,7 +240,6 @@
"version": "7.16.0",
"resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.0.tgz",
"integrity": "sha512-1AZlpazjUR0EQZQv3sgRNfM9mEVWPK3M6vlalczA+EECcPz3XPh6VplbErL5UoMpChhSck5wAJHthlj1bYpcmg==",
- "dev": true,
"dependencies": {
"@babel/types": "^7.16.0"
},
@@ -207,7 +251,6 @@
"version": "7.16.0",
"resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.0.tgz",
"integrity": "sha512-kkH7sWzKPq0xt3H1n+ghb4xEMP8k0U7XV3kkB+ZGy69kDk2ySFW1qPi06sjKzFY3t1j6XbJSqr4mF9L7CYVyhg==",
- "dev": true,
"dependencies": {
"@babel/types": "^7.16.0"
},
@@ -219,7 +262,6 @@
"version": "7.16.5",
"resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.16.5.tgz",
"integrity": "sha512-CkvMxgV4ZyyioElFwcuWnDCcNIeyqTkCm9BxXZi73RR1ozqlpboqsbGUNvRTflgZtFbbJ1v5Emvm+lkjMYY/LQ==",
- "dev": true,
"dependencies": {
"@babel/helper-environment-visitor": "^7.16.5",
"@babel/helper-module-imports": "^7.16.0",
@@ -247,7 +289,6 @@
"version": "7.16.0",
"resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.16.0.tgz",
"integrity": "sha512-o1rjBT/gppAqKsYfUdfHq5Rk03lMQrkPHG1OWzHWpLgVXRH4HnMM9Et9CVdIqwkCQlobnGHEJMsgWP/jE1zUiw==",
- "dev": true,
"dependencies": {
"@babel/types": "^7.16.0"
},
@@ -259,7 +300,6 @@
"version": "7.16.0",
"resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.0.tgz",
"integrity": "sha512-0YMMRpuDFNGTHNRiiqJX19GjNXA4H0E8jZ2ibccfSxaCogbm3am5WN/2nQNj0YnQwGWM1J06GOcQ2qnh3+0paw==",
- "dev": true,
"dependencies": {
"@babel/types": "^7.16.0"
},
@@ -271,7 +311,6 @@
"version": "7.15.7",
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz",
"integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==",
- "dev": true,
"engines": {
"node": ">=6.9.0"
}
@@ -280,7 +319,6 @@
"version": "7.14.5",
"resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.14.5.tgz",
"integrity": "sha512-OX8D5eeX4XwcroVW45NMvoYaIuFI+GQpA2a8Gi+X/U/cDUIRsV37qQfF905F0htTRCREQIB4KqPeaveRJUl3Ow==",
- "dev": true,
"engines": {
"node": ">=6.9.0"
}
@@ -289,7 +327,6 @@
"version": "7.16.5",
"resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.16.5.tgz",
"integrity": "sha512-TLgi6Lh71vvMZGEkFuIxzaPsyeYCHQ5jJOOX1f0xXn0uciFuE8cEk0wyBquMcCxBXZ5BJhE2aUB7pnWTD150Tw==",
- "dev": true,
"dependencies": {
"@babel/template": "^7.16.0",
"@babel/traverse": "^7.16.5",
@@ -303,7 +340,6 @@
"version": "7.16.0",
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.0.tgz",
"integrity": "sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g==",
- "dev": true,
"dependencies": {
"@babel/helper-validator-identifier": "^7.15.7",
"chalk": "^2.0.0",
@@ -317,7 +353,6 @@
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
"integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
- "dev": true,
"dependencies": {
"ansi-styles": "^3.2.1",
"escape-string-regexp": "^1.0.5",
@@ -331,7 +366,6 @@
"version": "7.16.6",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.6.tgz",
"integrity": "sha512-Gr86ujcNuPDnNOY8mi383Hvi8IYrJVJYuf3XcuBM/Dgd+bINn/7tHqsj+tKkoreMbmGsFLsltI/JJd8fOFWGDQ==",
- "dev": true,
"bin": {
"parser": "bin/babel-parser.js"
},
@@ -505,7 +539,6 @@
"version": "7.16.0",
"resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.0.tgz",
"integrity": "sha512-MnZdpFD/ZdYhXwiunMqqgyZyucaYsbL0IrjoGjaVhGilz+x8YB++kRfygSOIj1yOtWKPlx7NBp+9I1RQSgsd5A==",
- "dev": true,
"dependencies": {
"@babel/code-frame": "^7.16.0",
"@babel/parser": "^7.16.0",
@@ -519,7 +552,6 @@
"version": "7.16.5",
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.16.5.tgz",
"integrity": "sha512-FOCODAzqUMROikDYLYxl4nmwiLlu85rNqBML/A5hKRVXG2LV8d0iMqgPzdYTcIpjZEBB7D6UDU9vxRZiriASdQ==",
- "dev": true,
"dependencies": {
"@babel/code-frame": "^7.16.0",
"@babel/generator": "^7.16.5",
@@ -540,7 +572,6 @@
"version": "11.12.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
"integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
- "dev": true,
"engines": {
"node": ">=4"
}
@@ -549,7 +580,6 @@
"version": "7.16.0",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.0.tgz",
"integrity": "sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==",
- "dev": true,
"dependencies": {
"@babel/helper-validator-identifier": "^7.15.7",
"to-fast-properties": "^2.0.0"
@@ -912,6 +942,34 @@
"node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
}
},
+ "node_modules/@jridgewell/resolve-uri": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz",
+ "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==",
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/@jridgewell/sourcemap-codec": {
+ "version": "1.4.14",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz",
+ "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw=="
+ },
+ "node_modules/@jridgewell/trace-mapping": {
+ "version": "0.3.17",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz",
+ "integrity": "sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g==",
+ "dependencies": {
+ "@jridgewell/resolve-uri": "3.1.0",
+ "@jridgewell/sourcemap-codec": "1.4.14"
+ }
+ },
+ "node_modules/@nicolo-ribaudo/chokidar-2": {
+ "version": "2.1.8-no-fsevents.3",
+ "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8-no-fsevents.3.tgz",
+ "integrity": "sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ==",
+ "optional": true
+ },
"node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
@@ -1210,7 +1268,6 @@
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
"integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "dev": true,
"dependencies": {
"color-convert": "^1.9.0"
},
@@ -1222,7 +1279,7 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz",
"integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==",
- "dev": true,
+ "devOptional": true,
"dependencies": {
"normalize-path": "^3.0.0",
"picomatch": "^2.0.4"
@@ -1252,8 +1309,7 @@
"node_modules/asynckit": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
- "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=",
- "dev": true
+ "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
},
"node_modules/babel-jest": {
"version": "27.4.5",
@@ -1375,14 +1431,21 @@
"node_modules/balanced-match": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
- "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=",
- "dev": true
+ "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c="
+ },
+ "node_modules/binary-extensions": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
+ "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",
+ "optional": true,
+ "engines": {
+ "node": ">=8"
+ }
},
"node_modules/brace-expansion": {
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "dev": true,
"dependencies": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
@@ -1392,7 +1455,7 @@
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
"integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
- "dev": true,
+ "devOptional": true,
"dependencies": {
"fill-range": "^7.0.1"
},
@@ -1410,7 +1473,6 @@
"version": "4.19.1",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.19.1.tgz",
"integrity": "sha512-u2tbbG5PdKRTUoctO3NBD8FQ5HdPh1ZXPHzp1rwaa5jTc+RV9/+RlWiAIKmjRPQF+xbGM9Kklj5bZQFa2s/38A==",
- "dev": true,
"dependencies": {
"caniuse-lite": "^1.0.30001286",
"electron-to-chromium": "^1.4.17",
@@ -1444,6 +1506,18 @@
"integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==",
"dev": true
},
+ "node_modules/call-bind": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz",
+ "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==",
+ "dependencies": {
+ "function-bind": "^1.1.1",
+ "get-intrinsic": "^1.0.2"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/callsites": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
@@ -1466,7 +1540,6 @@
"version": "1.0.30001294",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001294.tgz",
"integrity": "sha512-LiMlrs1nSKZ8qkNhpUf5KD0Al1KCBE3zaT7OLOwEkagXMEDij98SiOovn9wxVGQpklk9vVC/pUSqgYmkmKOS8g==",
- "dev": true,
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/browserslist"
@@ -1552,6 +1625,45 @@
"node": ">=10"
}
},
+ "node_modules/chokidar": {
+ "version": "3.5.3",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",
+ "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==",
+ "funding": [
+ {
+ "type": "individual",
+ "url": "https://paulmillr.com/funding/"
+ }
+ ],
+ "optional": true,
+ "dependencies": {
+ "anymatch": "~3.1.2",
+ "braces": "~3.0.2",
+ "glob-parent": "~5.1.2",
+ "is-binary-path": "~2.1.0",
+ "is-glob": "~4.0.1",
+ "normalize-path": "~3.0.0",
+ "readdirp": "~3.6.0"
+ },
+ "engines": {
+ "node": ">= 8.10.0"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/chokidar/node_modules/glob-parent": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
+ "optional": true,
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
"node_modules/ci-info": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.3.0.tgz",
@@ -1595,7 +1707,6 @@
"version": "1.9.3",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
"integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
- "dev": true,
"dependencies": {
"color-name": "1.1.3"
}
@@ -1603,14 +1714,12 @@
"node_modules/color-name": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
- "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
- "dev": true
+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="
},
"node_modules/combined-stream": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
"integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
- "dev": true,
"dependencies": {
"delayed-stream": "~1.0.0"
},
@@ -1618,21 +1727,37 @@
"node": ">= 0.8"
}
},
+ "node_modules/commander": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
+ "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==",
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/component-emitter": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz",
+ "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg=="
+ },
"node_modules/concat-map": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
- "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
- "dev": true
+ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
},
"node_modules/convert-source-map": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz",
"integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==",
- "dev": true,
"dependencies": {
"safe-buffer": "~5.1.1"
}
},
+ "node_modules/cookiejar": {
+ "version": "2.1.4",
+ "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.4.tgz",
+ "integrity": "sha512-LDx6oHrK+PhzLKJU9j5S7/Y3jM/mUHvD/DeI1WQmJn652iPC5Y4TBzC9l+5OMOXlyTTA+SmVUPm0HQUwpD5Jqw=="
+ },
"node_modules/cross-spawn": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
@@ -1689,7 +1814,6 @@
"version": "4.3.4",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
"integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
- "dev": true,
"dependencies": {
"ms": "2.1.2"
},
@@ -1733,7 +1857,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
"integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=",
- "dev": true,
"engines": {
"node": ">=0.4.0"
}
@@ -1804,8 +1927,7 @@
"node_modules/electron-to-chromium": {
"version": "1.4.29",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.29.tgz",
- "integrity": "sha512-N2Jbwxo5Rum8G2YXeUxycs1sv4Qme/ry71HG73bv8BvZl+I/4JtRgK/En+ST/Wh/yF1fqvVCY4jZBgMxnhjtBA==",
- "dev": true
+ "integrity": "sha512-N2Jbwxo5Rum8G2YXeUxycs1sv4Qme/ry71HG73bv8BvZl+I/4JtRgK/En+ST/Wh/yF1fqvVCY4jZBgMxnhjtBA=="
},
"node_modules/emittery": {
"version": "0.8.1",
@@ -1829,7 +1951,6 @@
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
"integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==",
- "dev": true,
"engines": {
"node": ">=6"
}
@@ -1838,7 +1959,6 @@
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
"integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
- "dev": true,
"engines": {
"node": ">=0.8.0"
}
@@ -2290,6 +2410,11 @@
"integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=",
"dev": true
},
+ "node_modules/fast-safe-stringify": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz",
+ "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA=="
+ },
"node_modules/fastq": {
"version": "1.13.0",
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz",
@@ -2324,7 +2449,7 @@
"version": "7.0.1",
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
"integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
- "dev": true,
+ "devOptional": true,
"dependencies": {
"to-regex-range": "^5.0.1"
},
@@ -2368,7 +2493,6 @@
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz",
"integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==",
- "dev": true,
"dependencies": {
"asynckit": "^0.4.0",
"combined-stream": "^1.0.8",
@@ -2378,17 +2502,29 @@
"node": ">= 6"
}
},
+ "node_modules/formidable": {
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/formidable/-/formidable-1.2.6.tgz",
+ "integrity": "sha512-KcpbcpuLNOwrEjnbpMC0gS+X8ciDoZE1kkqzat4a8vrprf+s9pKNQ/QIwWfbfs4ltgmFl3MD177SNTkve3BwGQ==",
+ "deprecated": "Please upgrade to latest, formidable@v2 or formidable@v3! Check these notes: https://bit.ly/2ZEqIau",
+ "funding": {
+ "url": "https://ko-fi.com/tunnckoCore/commissions"
+ }
+ },
+ "node_modules/fs-readdir-recursive": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz",
+ "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA=="
+ },
"node_modules/fs.realpath": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
- "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
- "dev": true
+ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="
},
"node_modules/fsevents": {
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
"integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
- "dev": true,
"hasInstallScript": true,
"optional": true,
"os": [
@@ -2401,14 +2537,12 @@
"node_modules/function-bind": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
- "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
- "dev": true
+ "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
},
"node_modules/gensync": {
"version": "1.0.0-beta.2",
"resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
"integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
- "dev": true,
"engines": {
"node": ">=6.9.0"
}
@@ -2422,6 +2556,19 @@
"node": "6.* || 8.* || >= 10.*"
}
},
+ "node_modules/get-intrinsic": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.0.tgz",
+ "integrity": "sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==",
+ "dependencies": {
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.3"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/get-package-type": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz",
@@ -2444,15 +2591,14 @@
}
},
"node_modules/glob": {
- "version": "7.1.6",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
- "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
- "dev": true,
+ "version": "7.2.3",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
"dependencies": {
"fs.realpath": "^1.0.0",
"inflight": "^1.0.4",
"inherits": "2",
- "minimatch": "^3.0.4",
+ "minimatch": "^3.1.1",
"once": "^1.3.0",
"path-is-absolute": "^1.0.0"
},
@@ -2538,7 +2684,6 @@
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
"integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
- "dev": true,
"dependencies": {
"function-bind": "^1.1.1"
},
@@ -2550,11 +2695,21 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
"integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
- "dev": true,
"engines": {
"node": ">=4"
}
},
+ "node_modules/has-symbols": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz",
+ "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==",
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/html-encoding-sniffer": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz",
@@ -2675,7 +2830,6 @@
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
"integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
- "dev": true,
"dependencies": {
"once": "^1.3.0",
"wrappy": "1"
@@ -2684,8 +2838,19 @@
"node_modules/inherits": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
- "dev": true
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
+ },
+ "node_modules/is-binary-path": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
+ "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
+ "optional": true,
+ "dependencies": {
+ "binary-extensions": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
},
"node_modules/is-core-module": {
"version": "2.8.0",
@@ -2703,7 +2868,7 @@
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
"integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=",
- "dev": true,
+ "devOptional": true,
"engines": {
"node": ">=0.10.0"
}
@@ -2730,7 +2895,7 @@
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
"integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
- "dev": true,
+ "devOptional": true,
"dependencies": {
"is-extglob": "^2.1.1"
},
@@ -2742,7 +2907,7 @@
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
"integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
- "dev": true,
+ "devOptional": true,
"engines": {
"node": ">=0.12.0"
}
@@ -3509,8 +3674,7 @@
"node_modules/js-tokens": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
- "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
- "dev": true
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
},
"node_modules/js-yaml": {
"version": "3.14.1",
@@ -3575,7 +3739,6 @@
"version": "2.5.2",
"resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
"integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
- "dev": true,
"bin": {
"jsesc": "bin/jsesc"
},
@@ -3599,7 +3762,6 @@
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz",
"integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==",
- "dev": true,
"dependencies": {
"minimist": "^1.2.5"
},
@@ -3713,6 +3875,14 @@
"node": ">= 8"
}
},
+ "node_modules/methods": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
+ "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w==",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/micromatch": {
"version": "4.0.4",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz",
@@ -3726,11 +3896,21 @@
"node": ">=8.6"
}
},
+ "node_modules/mime": {
+ "version": "2.6.0",
+ "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz",
+ "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==",
+ "bin": {
+ "mime": "cli.js"
+ },
+ "engines": {
+ "node": ">=4.0.0"
+ }
+ },
"node_modules/mime-db": {
"version": "1.51.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz",
"integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==",
- "dev": true,
"engines": {
"node": ">= 0.6"
}
@@ -3739,7 +3919,6 @@
"version": "2.1.34",
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz",
"integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==",
- "dev": true,
"dependencies": {
"mime-db": "1.51.0"
},
@@ -3760,7 +3939,6 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
"dependencies": {
"brace-expansion": "^1.1.7"
},
@@ -3771,14 +3949,12 @@
"node_modules/minimist": {
"version": "1.2.6",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz",
- "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==",
- "dev": true
+ "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q=="
},
"node_modules/ms": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
- "dev": true
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
},
"node_modules/natural-compare": {
"version": "1.4.0",
@@ -3795,14 +3971,13 @@
"node_modules/node-releases": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.1.tgz",
- "integrity": "sha512-CqyzN6z7Q6aMeF/ktcMVTzhAHCEpf8SOarwpzpf8pNBY2k5/oM34UHldUwp8VKI7uxct2HxSRdJjBaZeESzcxA==",
- "dev": true
+ "integrity": "sha512-CqyzN6z7Q6aMeF/ktcMVTzhAHCEpf8SOarwpzpf8pNBY2k5/oM34UHldUwp8VKI7uxct2HxSRdJjBaZeESzcxA=="
},
"node_modules/normalize-path": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
"integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
- "dev": true,
+ "devOptional": true,
"engines": {
"node": ">=0.10.0"
}
@@ -3825,11 +4000,18 @@
"integrity": "sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ==",
"dev": true
},
+ "node_modules/object-inspect": {
+ "version": "1.12.3",
+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz",
+ "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==",
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/once": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
- "dev": true,
"dependencies": {
"wrappy": "1"
}
@@ -3933,7 +4115,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
- "dev": true,
"engines": {
"node": ">=0.10.0"
}
@@ -3965,14 +4146,13 @@
"node_modules/picocolors": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
- "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==",
- "dev": true
+ "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ=="
},
"node_modules/picomatch": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz",
"integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==",
- "dev": true,
+ "devOptional": true,
"engines": {
"node": ">=8.6"
},
@@ -3980,6 +4160,14 @@
"url": "https://github.com/sponsors/jonschlinkert"
}
},
+ "node_modules/pify": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
+ "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/pirates": {
"version": "4.0.4",
"resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.4.tgz",
@@ -4037,6 +4225,16 @@
"url": "https://github.com/chalk/ansi-styles?sponsor=1"
}
},
+ "node_modules/privacy_api": {
+ "version": "1.0.0",
+ "resolved": "file:vendor/privacy_api-1.0.0.tgz",
+ "integrity": "sha512-hmwQ7ZrdDBdC2b13TsjAZb6t+LrRjzYh1/BFx2BIUi2h9cKbUkJP7seXJdPQGav3TnTg6btZH59KS/fFxEfWrg==",
+ "license": "Unlicense",
+ "dependencies": {
+ "@babel/cli": "^7.0.0",
+ "superagent": "^5.3.0"
+ }
+ },
"node_modules/prompts": {
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz",
@@ -4065,6 +4263,20 @@
"node": ">=6"
}
},
+ "node_modules/qs": {
+ "version": "6.11.0",
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz",
+ "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==",
+ "dependencies": {
+ "side-channel": "^1.0.4"
+ },
+ "engines": {
+ "node": ">=0.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/queue-microtask": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
@@ -4091,6 +4303,31 @@
"integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==",
"dev": true
},
+ "node_modules/readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "dependencies": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/readdirp": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
+ "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
+ "optional": true,
+ "dependencies": {
+ "picomatch": "^2.2.1"
+ },
+ "engines": {
+ "node": ">=8.10.0"
+ }
+ },
"node_modules/regexpp": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz",
@@ -4215,8 +4452,7 @@
"node_modules/safe-buffer": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
- "dev": true
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
},
"node_modules/safer-buffer": {
"version": "2.1.2",
@@ -4240,7 +4476,6 @@
"version": "7.3.2",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz",
"integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==",
- "dev": true,
"bin": {
"semver": "bin/semver.js"
},
@@ -4269,6 +4504,19 @@
"node": ">=8"
}
},
+ "node_modules/side-channel": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz",
+ "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==",
+ "dependencies": {
+ "call-bind": "^1.0.0",
+ "get-intrinsic": "^1.0.2",
+ "object-inspect": "^1.9.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
"node_modules/signal-exit": {
"version": "3.0.6",
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.6.tgz",
@@ -4336,6 +4584,33 @@
"node": ">=8"
}
},
+ "node_modules/string_decoder": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
+ "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
+ "dependencies": {
+ "safe-buffer": "~5.2.0"
+ }
+ },
+ "node_modules/string_decoder/node_modules/safe-buffer": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ]
+ },
"node_modules/string-length": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz",
@@ -4405,11 +4680,32 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
+ "node_modules/superagent": {
+ "version": "5.3.1",
+ "resolved": "https://registry.npmjs.org/superagent/-/superagent-5.3.1.tgz",
+ "integrity": "sha512-wjJ/MoTid2/RuGCOFtlacyGNxN9QLMgcpYLDQlWFIhhdJ93kNscFonGvrpAHSCVjRVj++DGCglocF7Aej1KHvQ==",
+ "deprecated": "Please upgrade to v7.0.2+ of superagent. We have fixed numerous issues with streams, form-data, attach(), filesystem errors not bubbling up (ENOENT on attach()), and all tests are now passing. See the releases tab for more information at .",
+ "dependencies": {
+ "component-emitter": "^1.3.0",
+ "cookiejar": "^2.1.2",
+ "debug": "^4.1.1",
+ "fast-safe-stringify": "^2.0.7",
+ "form-data": "^3.0.0",
+ "formidable": "^1.2.2",
+ "methods": "^1.1.2",
+ "mime": "^2.4.6",
+ "qs": "^6.9.4",
+ "readable-stream": "^3.6.0",
+ "semver": "^7.3.2"
+ },
+ "engines": {
+ "node": ">= 7.0.0"
+ }
+ },
"node_modules/supports-color": {
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
"integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
- "dev": true,
"dependencies": {
"has-flag": "^3.0.0"
},
@@ -4509,7 +4805,6 @@
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
"integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=",
- "dev": true,
"engines": {
"node": ">=4"
}
@@ -4518,7 +4813,7 @@
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
"integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
- "dev": true,
+ "devOptional": true,
"dependencies": {
"is-number": "^7.0.0"
},
@@ -4620,6 +4915,11 @@
"punycode": "^2.1.0"
}
},
+ "node_modules/util-deprecate": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
+ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="
+ },
"node_modules/uuid": {
"version": "8.3.2",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
@@ -4796,8 +5096,7 @@
"node_modules/wrappy": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
- "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
- "dev": true
+ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
},
"node_modules/write-file-atomic": {
"version": "3.0.3",
@@ -4911,11 +5210,47 @@
"tunnel": "^0.0.6"
}
},
+ "@babel/cli": {
+ "version": "7.20.7",
+ "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.20.7.tgz",
+ "integrity": "sha512-WylgcELHB66WwQqItxNILsMlaTd8/SO6SgTTjMp4uCI7P4QyH1r3nqgFmO3BfM4AtfniHgFMH3EpYFj/zynBkQ==",
+ "requires": {
+ "@jridgewell/trace-mapping": "^0.3.8",
+ "@nicolo-ribaudo/chokidar-2": "2.1.8-no-fsevents.3",
+ "chokidar": "^3.4.0",
+ "commander": "^4.0.1",
+ "convert-source-map": "^1.1.0",
+ "fs-readdir-recursive": "^1.1.0",
+ "glob": "^7.2.0",
+ "make-dir": "^2.1.0",
+ "slash": "^2.0.0"
+ },
+ "dependencies": {
+ "make-dir": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz",
+ "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==",
+ "requires": {
+ "pify": "^4.0.1",
+ "semver": "^5.6.0"
+ }
+ },
+ "semver": {
+ "version": "5.7.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
+ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ=="
+ },
+ "slash": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/slash/-/slash-2.0.0.tgz",
+ "integrity": "sha512-ZYKh3Wh2z1PpEXWr0MpSBZ0V6mZHAQfYevttO11c51CaWjGTaadiKZ+wVt1PbMlDV5qhMFslpZCemhwOK7C89A=="
+ }
+ }
+ },
"@babel/code-frame": {
"version": "7.16.0",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.0.tgz",
"integrity": "sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==",
- "dev": true,
"requires": {
"@babel/highlight": "^7.16.0"
}
@@ -4923,14 +5258,12 @@
"@babel/compat-data": {
"version": "7.16.4",
"resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.16.4.tgz",
- "integrity": "sha512-1o/jo7D+kC9ZjHX5v+EHrdjl3PhxMrLSOTGsOdHJ+KL8HCaEK6ehrVL2RS6oHDZp+L7xLirLrPmQtEng769J/Q==",
- "dev": true
+ "integrity": "sha512-1o/jo7D+kC9ZjHX5v+EHrdjl3PhxMrLSOTGsOdHJ+KL8HCaEK6ehrVL2RS6oHDZp+L7xLirLrPmQtEng769J/Q=="
},
"@babel/core": {
"version": "7.16.5",
"resolved": "https://registry.npmjs.org/@babel/core/-/core-7.16.5.tgz",
"integrity": "sha512-wUcenlLzuWMZ9Zt8S0KmFwGlH6QKRh3vsm/dhDA3CHkiTA45YuG1XkHRcNRl73EFPXDp/d5kVOU0/y7x2w6OaQ==",
- "dev": true,
"requires": {
"@babel/code-frame": "^7.16.0",
"@babel/generator": "^7.16.5",
@@ -4952,14 +5285,12 @@
"semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
- "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
- "dev": true
+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
},
"source-map": {
"version": "0.5.7",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
- "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
- "dev": true
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w="
}
}
},
@@ -4967,7 +5298,6 @@
"version": "7.16.5",
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.16.5.tgz",
"integrity": "sha512-kIvCdjZqcdKqoDbVVdt5R99icaRtrtYhYK/xux5qiWCBmfdvEYMFZ68QCrpE5cbFM1JsuArUNs1ZkuKtTtUcZA==",
- "dev": true,
"requires": {
"@babel/types": "^7.16.0",
"jsesc": "^2.5.1",
@@ -4977,8 +5307,7 @@
"source-map": {
"version": "0.5.7",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
- "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
- "dev": true
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w="
}
}
},
@@ -4986,7 +5315,6 @@
"version": "7.16.3",
"resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.3.tgz",
"integrity": "sha512-vKsoSQAyBmxS35JUOOt+07cLc6Nk/2ljLIHwmq2/NM6hdioUaqEXq/S+nXvbvXbZkNDlWOymPanJGOc4CBjSJA==",
- "dev": true,
"requires": {
"@babel/compat-data": "^7.16.0",
"@babel/helper-validator-option": "^7.14.5",
@@ -4997,8 +5325,7 @@
"semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
- "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
- "dev": true
+ "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
}
}
},
@@ -5006,7 +5333,6 @@
"version": "7.16.5",
"resolved": "https://registry.npmjs.org/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.5.tgz",
"integrity": "sha512-ODQyc5AnxmZWm/R2W7fzhamOk1ey8gSguo5SGvF0zcB3uUzRpTRmM/jmLSm9bDMyPlvbyJ+PwPEK0BWIoZ9wjg==",
- "dev": true,
"requires": {
"@babel/types": "^7.16.0"
}
@@ -5015,7 +5341,6 @@
"version": "7.16.0",
"resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.0.tgz",
"integrity": "sha512-BZh4mEk1xi2h4HFjWUXRQX5AEx4rvaZxHgax9gcjdLWdkjsY7MKt5p0otjsg5noXw+pB+clMCjw+aEVYADMjog==",
- "dev": true,
"requires": {
"@babel/helper-get-function-arity": "^7.16.0",
"@babel/template": "^7.16.0",
@@ -5026,7 +5351,6 @@
"version": "7.16.0",
"resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.0.tgz",
"integrity": "sha512-ASCquNcywC1NkYh/z7Cgp3w31YW8aojjYIlNg4VeJiHkqyP4AzIvr4qx7pYDb4/s8YcsZWqqOSxgkvjUz1kpDQ==",
- "dev": true,
"requires": {
"@babel/types": "^7.16.0"
}
@@ -5035,7 +5359,6 @@
"version": "7.16.0",
"resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.0.tgz",
"integrity": "sha512-1AZlpazjUR0EQZQv3sgRNfM9mEVWPK3M6vlalczA+EECcPz3XPh6VplbErL5UoMpChhSck5wAJHthlj1bYpcmg==",
- "dev": true,
"requires": {
"@babel/types": "^7.16.0"
}
@@ -5044,7 +5367,6 @@
"version": "7.16.0",
"resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.0.tgz",
"integrity": "sha512-kkH7sWzKPq0xt3H1n+ghb4xEMP8k0U7XV3kkB+ZGy69kDk2ySFW1qPi06sjKzFY3t1j6XbJSqr4mF9L7CYVyhg==",
- "dev": true,
"requires": {
"@babel/types": "^7.16.0"
}
@@ -5053,7 +5375,6 @@
"version": "7.16.5",
"resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.16.5.tgz",
"integrity": "sha512-CkvMxgV4ZyyioElFwcuWnDCcNIeyqTkCm9BxXZi73RR1ozqlpboqsbGUNvRTflgZtFbbJ1v5Emvm+lkjMYY/LQ==",
- "dev": true,
"requires": {
"@babel/helper-environment-visitor": "^7.16.5",
"@babel/helper-module-imports": "^7.16.0",
@@ -5075,7 +5396,6 @@
"version": "7.16.0",
"resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.16.0.tgz",
"integrity": "sha512-o1rjBT/gppAqKsYfUdfHq5Rk03lMQrkPHG1OWzHWpLgVXRH4HnMM9Et9CVdIqwkCQlobnGHEJMsgWP/jE1zUiw==",
- "dev": true,
"requires": {
"@babel/types": "^7.16.0"
}
@@ -5084,7 +5404,6 @@
"version": "7.16.0",
"resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.0.tgz",
"integrity": "sha512-0YMMRpuDFNGTHNRiiqJX19GjNXA4H0E8jZ2ibccfSxaCogbm3am5WN/2nQNj0YnQwGWM1J06GOcQ2qnh3+0paw==",
- "dev": true,
"requires": {
"@babel/types": "^7.16.0"
}
@@ -5092,20 +5411,17 @@
"@babel/helper-validator-identifier": {
"version": "7.15.7",
"resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz",
- "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==",
- "dev": true
+ "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w=="
},
"@babel/helper-validator-option": {
"version": "7.14.5",
"resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.14.5.tgz",
- "integrity": "sha512-OX8D5eeX4XwcroVW45NMvoYaIuFI+GQpA2a8Gi+X/U/cDUIRsV37qQfF905F0htTRCREQIB4KqPeaveRJUl3Ow==",
- "dev": true
+ "integrity": "sha512-OX8D5eeX4XwcroVW45NMvoYaIuFI+GQpA2a8Gi+X/U/cDUIRsV37qQfF905F0htTRCREQIB4KqPeaveRJUl3Ow=="
},
"@babel/helpers": {
"version": "7.16.5",
"resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.16.5.tgz",
"integrity": "sha512-TLgi6Lh71vvMZGEkFuIxzaPsyeYCHQ5jJOOX1f0xXn0uciFuE8cEk0wyBquMcCxBXZ5BJhE2aUB7pnWTD150Tw==",
- "dev": true,
"requires": {
"@babel/template": "^7.16.0",
"@babel/traverse": "^7.16.5",
@@ -5116,7 +5432,6 @@
"version": "7.16.0",
"resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.0.tgz",
"integrity": "sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g==",
- "dev": true,
"requires": {
"@babel/helper-validator-identifier": "^7.15.7",
"chalk": "^2.0.0",
@@ -5127,7 +5442,6 @@
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
"integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
- "dev": true,
"requires": {
"ansi-styles": "^3.2.1",
"escape-string-regexp": "^1.0.5",
@@ -5139,8 +5453,7 @@
"@babel/parser": {
"version": "7.16.6",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.6.tgz",
- "integrity": "sha512-Gr86ujcNuPDnNOY8mi383Hvi8IYrJVJYuf3XcuBM/Dgd+bINn/7tHqsj+tKkoreMbmGsFLsltI/JJd8fOFWGDQ==",
- "dev": true
+ "integrity": "sha512-Gr86ujcNuPDnNOY8mi383Hvi8IYrJVJYuf3XcuBM/Dgd+bINn/7tHqsj+tKkoreMbmGsFLsltI/JJd8fOFWGDQ=="
},
"@babel/plugin-syntax-async-generators": {
"version": "7.8.4",
@@ -5263,7 +5576,6 @@
"version": "7.16.0",
"resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.0.tgz",
"integrity": "sha512-MnZdpFD/ZdYhXwiunMqqgyZyucaYsbL0IrjoGjaVhGilz+x8YB++kRfygSOIj1yOtWKPlx7NBp+9I1RQSgsd5A==",
- "dev": true,
"requires": {
"@babel/code-frame": "^7.16.0",
"@babel/parser": "^7.16.0",
@@ -5274,7 +5586,6 @@
"version": "7.16.5",
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.16.5.tgz",
"integrity": "sha512-FOCODAzqUMROikDYLYxl4nmwiLlu85rNqBML/A5hKRVXG2LV8d0iMqgPzdYTcIpjZEBB7D6UDU9vxRZiriASdQ==",
- "dev": true,
"requires": {
"@babel/code-frame": "^7.16.0",
"@babel/generator": "^7.16.5",
@@ -5291,8 +5602,7 @@
"globals": {
"version": "11.12.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
- "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
- "dev": true
+ "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA=="
}
}
},
@@ -5300,7 +5610,6 @@
"version": "7.16.0",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.0.tgz",
"integrity": "sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==",
- "dev": true,
"requires": {
"@babel/helper-validator-identifier": "^7.15.7",
"to-fast-properties": "^2.0.0"
@@ -5587,6 +5896,31 @@
"chalk": "^4.0.0"
}
},
+ "@jridgewell/resolve-uri": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz",
+ "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w=="
+ },
+ "@jridgewell/sourcemap-codec": {
+ "version": "1.4.14",
+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz",
+ "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw=="
+ },
+ "@jridgewell/trace-mapping": {
+ "version": "0.3.17",
+ "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz",
+ "integrity": "sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g==",
+ "requires": {
+ "@jridgewell/resolve-uri": "3.1.0",
+ "@jridgewell/sourcemap-codec": "1.4.14"
+ }
+ },
+ "@nicolo-ribaudo/chokidar-2": {
+ "version": "2.1.8-no-fsevents.3",
+ "resolved": "https://registry.npmjs.org/@nicolo-ribaudo/chokidar-2/-/chokidar-2-2.1.8-no-fsevents.3.tgz",
+ "integrity": "sha512-s88O1aVtXftvp5bCPB7WnmXc5IwOZZ7YPuwNPt+GtOOXpPvad1LfbmjYv+qII7zP6RU2QGnqve27dnLycEnyEQ==",
+ "optional": true
+ },
"@nodelib/fs.scandir": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
@@ -5839,7 +6173,6 @@
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
"integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
- "dev": true,
"requires": {
"color-convert": "^1.9.0"
}
@@ -5848,7 +6181,7 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz",
"integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==",
- "dev": true,
+ "devOptional": true,
"requires": {
"normalize-path": "^3.0.0",
"picomatch": "^2.0.4"
@@ -5872,8 +6205,7 @@
"asynckit": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
- "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=",
- "dev": true
+ "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
},
"babel-jest": {
"version": "27.4.5",
@@ -5970,14 +6302,18 @@
"balanced-match": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
- "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=",
- "dev": true
+ "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c="
+ },
+ "binary-extensions": {
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
+ "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",
+ "optional": true
},
"brace-expansion": {
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "dev": true,
"requires": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
@@ -5987,7 +6323,7 @@
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
"integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
- "dev": true,
+ "devOptional": true,
"requires": {
"fill-range": "^7.0.1"
}
@@ -6002,7 +6338,6 @@
"version": "4.19.1",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.19.1.tgz",
"integrity": "sha512-u2tbbG5PdKRTUoctO3NBD8FQ5HdPh1ZXPHzp1rwaa5jTc+RV9/+RlWiAIKmjRPQF+xbGM9Kklj5bZQFa2s/38A==",
- "dev": true,
"requires": {
"caniuse-lite": "^1.0.30001286",
"electron-to-chromium": "^1.4.17",
@@ -6026,6 +6361,15 @@
"integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==",
"dev": true
},
+ "call-bind": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz",
+ "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==",
+ "requires": {
+ "function-bind": "^1.1.1",
+ "get-intrinsic": "^1.0.2"
+ }
+ },
"callsites": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
@@ -6041,8 +6385,7 @@
"caniuse-lite": {
"version": "1.0.30001294",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001294.tgz",
- "integrity": "sha512-LiMlrs1nSKZ8qkNhpUf5KD0Al1KCBE3zaT7OLOwEkagXMEDij98SiOovn9wxVGQpklk9vVC/pUSqgYmkmKOS8g==",
- "dev": true
+ "integrity": "sha512-LiMlrs1nSKZ8qkNhpUf5KD0Al1KCBE3zaT7OLOwEkagXMEDij98SiOovn9wxVGQpklk9vVC/pUSqgYmkmKOS8g=="
},
"chalk": {
"version": "4.1.0",
@@ -6102,6 +6445,33 @@
"integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==",
"dev": true
},
+ "chokidar": {
+ "version": "3.5.3",
+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz",
+ "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==",
+ "optional": true,
+ "requires": {
+ "anymatch": "~3.1.2",
+ "braces": "~3.0.2",
+ "fsevents": "~2.3.2",
+ "glob-parent": "~5.1.2",
+ "is-binary-path": "~2.1.0",
+ "is-glob": "~4.0.1",
+ "normalize-path": "~3.0.0",
+ "readdirp": "~3.6.0"
+ },
+ "dependencies": {
+ "glob-parent": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
+ "optional": true,
+ "requires": {
+ "is-glob": "^4.0.1"
+ }
+ }
+ }
+ },
"ci-info": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.3.0.tgz",
@@ -6141,7 +6511,6 @@
"version": "1.9.3",
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
"integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
- "dev": true,
"requires": {
"color-name": "1.1.3"
}
@@ -6149,33 +6518,44 @@
"color-name": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
- "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
- "dev": true
+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="
},
"combined-stream": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
"integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
- "dev": true,
"requires": {
"delayed-stream": "~1.0.0"
}
},
+ "commander": {
+ "version": "4.1.1",
+ "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz",
+ "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA=="
+ },
+ "component-emitter": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz",
+ "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg=="
+ },
"concat-map": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
- "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
- "dev": true
+ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
},
"convert-source-map": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz",
"integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==",
- "dev": true,
"requires": {
"safe-buffer": "~5.1.1"
}
},
+ "cookiejar": {
+ "version": "2.1.4",
+ "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.4.tgz",
+ "integrity": "sha512-LDx6oHrK+PhzLKJU9j5S7/Y3jM/mUHvD/DeI1WQmJn652iPC5Y4TBzC9l+5OMOXlyTTA+SmVUPm0HQUwpD5Jqw=="
+ },
"cross-spawn": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
@@ -6225,7 +6605,6 @@
"version": "4.3.4",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
"integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
- "dev": true,
"requires": {
"ms": "2.1.2"
}
@@ -6257,8 +6636,7 @@
"delayed-stream": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
- "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=",
- "dev": true
+ "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk="
},
"detect-newline": {
"version": "3.1.0",
@@ -6310,8 +6688,7 @@
"electron-to-chromium": {
"version": "1.4.29",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.29.tgz",
- "integrity": "sha512-N2Jbwxo5Rum8G2YXeUxycs1sv4Qme/ry71HG73bv8BvZl+I/4JtRgK/En+ST/Wh/yF1fqvVCY4jZBgMxnhjtBA==",
- "dev": true
+ "integrity": "sha512-N2Jbwxo5Rum8G2YXeUxycs1sv4Qme/ry71HG73bv8BvZl+I/4JtRgK/En+ST/Wh/yF1fqvVCY4jZBgMxnhjtBA=="
},
"emittery": {
"version": "0.8.1",
@@ -6328,14 +6705,12 @@
"escalade": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz",
- "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==",
- "dev": true
+ "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw=="
},
"escape-string-regexp": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
- "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
- "dev": true
+ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ="
},
"escodegen": {
"version": "2.0.0",
@@ -6664,6 +7039,11 @@
"integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=",
"dev": true
},
+ "fast-safe-stringify": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz",
+ "integrity": "sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA=="
+ },
"fastq": {
"version": "1.13.0",
"resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz",
@@ -6695,7 +7075,7 @@
"version": "7.0.1",
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
"integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
- "dev": true,
+ "devOptional": true,
"requires": {
"to-regex-range": "^5.0.1"
}
@@ -6730,37 +7110,42 @@
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz",
"integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==",
- "dev": true,
"requires": {
"asynckit": "^0.4.0",
"combined-stream": "^1.0.8",
"mime-types": "^2.1.12"
}
},
+ "formidable": {
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/formidable/-/formidable-1.2.6.tgz",
+ "integrity": "sha512-KcpbcpuLNOwrEjnbpMC0gS+X8ciDoZE1kkqzat4a8vrprf+s9pKNQ/QIwWfbfs4ltgmFl3MD177SNTkve3BwGQ=="
+ },
+ "fs-readdir-recursive": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/fs-readdir-recursive/-/fs-readdir-recursive-1.1.0.tgz",
+ "integrity": "sha512-GNanXlVr2pf02+sPN40XN8HG+ePaNcvM0q5mZBd668Obwb0yD5GiUbZOFgwn8kGMY6I3mdyDJzieUy3PTYyTRA=="
+ },
"fs.realpath": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
- "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
- "dev": true
+ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="
},
"fsevents": {
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz",
"integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==",
- "dev": true,
"optional": true
},
"function-bind": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz",
- "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
- "dev": true
+ "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A=="
},
"gensync": {
"version": "1.0.0-beta.2",
"resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz",
- "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==",
- "dev": true
+ "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg=="
},
"get-caller-file": {
"version": "2.0.5",
@@ -6768,6 +7153,16 @@
"integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
"dev": true
},
+ "get-intrinsic": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.0.tgz",
+ "integrity": "sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==",
+ "requires": {
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.3"
+ }
+ },
"get-package-type": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz",
@@ -6781,15 +7176,14 @@
"dev": true
},
"glob": {
- "version": "7.1.6",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz",
- "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
- "dev": true,
+ "version": "7.2.3",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
"requires": {
"fs.realpath": "^1.0.0",
"inflight": "^1.0.4",
"inherits": "2",
- "minimatch": "^3.0.4",
+ "minimatch": "^3.1.1",
"once": "^1.3.0",
"path-is-absolute": "^1.0.0"
}
@@ -6850,7 +7244,6 @@
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz",
"integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
- "dev": true,
"requires": {
"function-bind": "^1.1.1"
}
@@ -6858,8 +7251,12 @@
"has-flag": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
- "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
- "dev": true
+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0="
+ },
+ "has-symbols": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz",
+ "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A=="
},
"html-encoding-sniffer": {
"version": "2.0.1",
@@ -6948,7 +7345,6 @@
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
"integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
- "dev": true,
"requires": {
"once": "^1.3.0",
"wrappy": "1"
@@ -6957,8 +7353,16 @@
"inherits": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
- "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
- "dev": true
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
+ },
+ "is-binary-path": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz",
+ "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
+ "optional": true,
+ "requires": {
+ "binary-extensions": "^2.0.0"
+ }
},
"is-core-module": {
"version": "2.8.0",
@@ -6973,7 +7377,7 @@
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
"integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=",
- "dev": true
+ "devOptional": true
},
"is-fullwidth-code-point": {
"version": "3.0.0",
@@ -6991,7 +7395,7 @@
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
"integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
- "dev": true,
+ "devOptional": true,
"requires": {
"is-extglob": "^2.1.1"
}
@@ -7000,7 +7404,7 @@
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
"integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
- "dev": true
+ "devOptional": true
},
"is-potential-custom-element-name": {
"version": "1.0.1",
@@ -7603,8 +8007,7 @@
"js-tokens": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
- "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
- "dev": true
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
},
"js-yaml": {
"version": "3.14.1",
@@ -7654,8 +8057,7 @@
"jsesc": {
"version": "2.5.2",
"resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz",
- "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
- "dev": true
+ "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA=="
},
"json-schema-traverse": {
"version": "0.4.1",
@@ -7673,7 +8075,6 @@
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz",
"integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==",
- "dev": true,
"requires": {
"minimist": "^1.2.5"
}
@@ -7759,6 +8160,11 @@
"integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
"dev": true
},
+ "methods": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
+ "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w=="
+ },
"micromatch": {
"version": "4.0.4",
"resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz",
@@ -7769,17 +8175,20 @@
"picomatch": "^2.2.3"
}
},
+ "mime": {
+ "version": "2.6.0",
+ "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz",
+ "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg=="
+ },
"mime-db": {
"version": "1.51.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz",
- "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==",
- "dev": true
+ "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g=="
},
"mime-types": {
"version": "2.1.34",
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz",
"integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==",
- "dev": true,
"requires": {
"mime-db": "1.51.0"
}
@@ -7794,7 +8203,6 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
"requires": {
"brace-expansion": "^1.1.7"
}
@@ -7802,14 +8210,12 @@
"minimist": {
"version": "1.2.6",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.6.tgz",
- "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q==",
- "dev": true
+ "integrity": "sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q=="
},
"ms": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
- "dev": true
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
},
"natural-compare": {
"version": "1.4.0",
@@ -7826,14 +8232,13 @@
"node-releases": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.1.tgz",
- "integrity": "sha512-CqyzN6z7Q6aMeF/ktcMVTzhAHCEpf8SOarwpzpf8pNBY2k5/oM34UHldUwp8VKI7uxct2HxSRdJjBaZeESzcxA==",
- "dev": true
+ "integrity": "sha512-CqyzN6z7Q6aMeF/ktcMVTzhAHCEpf8SOarwpzpf8pNBY2k5/oM34UHldUwp8VKI7uxct2HxSRdJjBaZeESzcxA=="
},
"normalize-path": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
"integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
- "dev": true
+ "devOptional": true
},
"npm-run-path": {
"version": "4.0.1",
@@ -7850,11 +8255,15 @@
"integrity": "sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ==",
"dev": true
},
+ "object-inspect": {
+ "version": "1.12.3",
+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz",
+ "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g=="
+ },
"once": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
- "dev": true,
"requires": {
"wrappy": "1"
}
@@ -7930,8 +8339,7 @@
"path-is-absolute": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
- "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
- "dev": true
+ "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18="
},
"path-key": {
"version": "3.1.1",
@@ -7954,14 +8362,18 @@
"picocolors": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
- "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==",
- "dev": true
+ "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ=="
},
"picomatch": {
"version": "2.3.0",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz",
"integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==",
- "dev": true
+ "devOptional": true
+ },
+ "pify": {
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
+ "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g=="
},
"pirates": {
"version": "4.0.4",
@@ -8004,6 +8416,14 @@
}
}
},
+ "privacy_api": {
+ "version": "file:vendor/privacy_api-1.0.0.tgz",
+ "integrity": "sha512-hmwQ7ZrdDBdC2b13TsjAZb6t+LrRjzYh1/BFx2BIUi2h9cKbUkJP7seXJdPQGav3TnTg6btZH59KS/fFxEfWrg==",
+ "requires": {
+ "@babel/cli": "^7.0.0",
+ "superagent": "^5.3.0"
+ }
+ },
"prompts": {
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz",
@@ -8026,6 +8446,14 @@
"integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",
"dev": true
},
+ "qs": {
+ "version": "6.11.0",
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz",
+ "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==",
+ "requires": {
+ "side-channel": "^1.0.4"
+ }
+ },
"queue-microtask": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
@@ -8038,6 +8466,25 @@
"integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==",
"dev": true
},
+ "readable-stream": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",
+ "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==",
+ "requires": {
+ "inherits": "^2.0.3",
+ "string_decoder": "^1.1.1",
+ "util-deprecate": "^1.0.1"
+ }
+ },
+ "readdirp": {
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz",
+ "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
+ "optional": true,
+ "requires": {
+ "picomatch": "^2.2.1"
+ }
+ },
"regexpp": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz",
@@ -8116,8 +8563,7 @@
"safe-buffer": {
"version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
- "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==",
- "dev": true
+ "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
},
"safer-buffer": {
"version": "2.1.2",
@@ -8137,8 +8583,7 @@
"semver": {
"version": "7.3.2",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz",
- "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==",
- "dev": true
+ "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ=="
},
"shebang-command": {
"version": "2.0.0",
@@ -8155,6 +8600,16 @@
"integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
"dev": true
},
+ "side-channel": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz",
+ "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==",
+ "requires": {
+ "call-bind": "^1.0.0",
+ "get-intrinsic": "^1.0.2",
+ "object-inspect": "^1.9.0"
+ }
+ },
"signal-exit": {
"version": "3.0.6",
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.6.tgz",
@@ -8212,6 +8667,21 @@
}
}
},
+ "string_decoder": {
+ "version": "1.3.0",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz",
+ "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==",
+ "requires": {
+ "safe-buffer": "~5.2.0"
+ },
+ "dependencies": {
+ "safe-buffer": {
+ "version": "5.2.1",
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="
+ }
+ }
+ },
"string-length": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz",
@@ -8260,11 +8730,28 @@
"integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
"dev": true
},
+ "superagent": {
+ "version": "5.3.1",
+ "resolved": "https://registry.npmjs.org/superagent/-/superagent-5.3.1.tgz",
+ "integrity": "sha512-wjJ/MoTid2/RuGCOFtlacyGNxN9QLMgcpYLDQlWFIhhdJ93kNscFonGvrpAHSCVjRVj++DGCglocF7Aej1KHvQ==",
+ "requires": {
+ "component-emitter": "^1.3.0",
+ "cookiejar": "^2.1.2",
+ "debug": "^4.1.1",
+ "fast-safe-stringify": "^2.0.7",
+ "form-data": "^3.0.0",
+ "formidable": "^1.2.2",
+ "methods": "^1.1.2",
+ "mime": "^2.4.6",
+ "qs": "^6.9.4",
+ "readable-stream": "^3.6.0",
+ "semver": "^7.3.2"
+ }
+ },
"supports-color": {
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
"integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
- "dev": true,
"requires": {
"has-flag": "^3.0.0"
}
@@ -8344,14 +8831,13 @@
"to-fast-properties": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
- "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=",
- "dev": true
+ "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4="
},
"to-regex-range": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
"integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
- "dev": true,
+ "devOptional": true,
"requires": {
"is-number": "^7.0.0"
}
@@ -8426,6 +8912,11 @@
"punycode": "^2.1.0"
}
},
+ "util-deprecate": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
+ "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="
+ },
"uuid": {
"version": "8.3.2",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz",
@@ -8564,8 +9055,7 @@
"wrappy": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
- "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
- "dev": true
+ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
},
"write-file-atomic": {
"version": "3.0.3",
diff --git a/package.json b/package.json
index 488e587..236874a 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"lint": "eslint .",
- "prepare": "ncc build index.js -o dist --source-map --license licenses.txt",
+ "prepare": "ncc build index.js -o dist --license licenses.txt",
"test": "jest",
"all": "npm run lint && npm run prepare && npm run test"
},
@@ -25,7 +25,8 @@
},
"homepage": "https://github.com/actions/javascript-action#readme",
"dependencies": {
- "@actions/core": "^1.10.0"
+ "@actions/core": "^1.10.0",
+ "privacy_api": "file:vendor/privacy_api-1.0.0.tgz"
},
"devDependencies": {
"@vercel/ncc": "^0.31.1",
diff --git a/wait.js b/wait.js
deleted file mode 100644
index b504b8c..0000000
--- a/wait.js
+++ /dev/null
@@ -1,10 +0,0 @@
-let wait = function (milliseconds) {
- return new Promise((resolve) => {
- if (typeof milliseconds !== 'number') {
- throw new Error('milliseconds not a number');
- }
- setTimeout(() => resolve("done!"), milliseconds)
- });
-};
-
-module.exports = wait;