diff --git a/CHANGELOG.md b/CHANGELOG.md index dbe874be..5d3bd312 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) ## [Unreleased] +## [1.0.13] - 2020-05-09 +### Changed +* Update dependencies + +## Added +* Add "enable-pull-request-comment" input +* Add "enable-commit-comment" input + ## [1.0.12] - 2020-04-07 ### Changed * Update dependencies @@ -78,7 +86,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) * Deploy to Netlify * Comment on GitHub PR -[Unreleased]: https://github.com/nwtgck/actions-netlify/compare/v1.0.12...HEAD +[Unreleased]: https://github.com/nwtgck/actions-netlify/compare/v1.0.13...HEAD +[1.0.13]: https://github.com/nwtgck/actions-netlify/compare/v1.0.12...v1.0.13 [1.0.12]: https://github.com/nwtgck/actions-netlify/compare/v1.0.11...v1.0.12 [1.0.11]: https://github.com/nwtgck/actions-netlify/compare/v1.0.10...v1.0.11 [1.0.10]: https://github.com/nwtgck/actions-netlify/compare/v1.0.9...v1.0.10 diff --git a/README.md b/README.md index 65f0d3a0..665d791b 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,8 @@ jobs: - `production-branch` (e.g. "master") - `github-token: ${{ secrets.GITHUB_TOKEN }}` - `deploy-message` A custom deploy message to see on Netlify deployment (e.g. `${{ github.event.pull_request.title }}`) +- `enable-pull-request-comment: true` Comment on pull request (default: true) +- `enable-commit-comment: true` Comment on GitHub commit (default) ### Outputs - `deploy-url` A deployment URL generated by Netlify diff --git a/action.yml b/action.yml index 465e3749..6a7c42a5 100644 --- a/action.yml +++ b/action.yml @@ -14,6 +14,12 @@ inputs: production-branch: description: Production branch required: false + enable-pull-request-comment: + description: Enable pull request comment + required: false + enable-commit-comment: + description: Enable commit comment + required: false outputs: deploy-url: description: Deploy URL diff --git a/dist/index.js b/dist/index.js index 70d54832..1e5f876c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -4036,9 +4036,28 @@ module.exports = { /* 32 */, /* 33 */, /* 34 */ -/***/ (function(module) { +/***/ (function(module, exports, __webpack_require__) { + +var Stream = __webpack_require__(413); +if (process.env.READABLE_STREAM === 'disable' && Stream) { + module.exports = Stream; + exports = module.exports = Stream.Readable; + exports.Readable = Stream.Readable; + exports.Writable = Stream.Writable; + exports.Duplex = Stream.Duplex; + exports.Transform = Stream.Transform; + exports.PassThrough = Stream.PassThrough; + exports.Stream = Stream; +} else { + exports = module.exports = __webpack_require__(382); + exports.Stream = Stream || exports; + exports.Readable = exports; + exports.Writable = __webpack_require__(223); + exports.Duplex = __webpack_require__(442); + exports.Transform = __webpack_require__(874); + exports.PassThrough = __webpack_require__(743); +} -module.exports = require("https"); /***/ }), /* 35 */, @@ -7139,7 +7158,7 @@ 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 = __webpack_require__(106); + const supportsColor = __webpack_require__(247); if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) { exports.colors = [ @@ -10416,302 +10435,7 @@ exports.default = crc32; /***/ }), -/* 104 */ -/***/ (function(module, __unusedexports, __webpack_require__) { - -var fs = __webpack_require__(747); -var path = __webpack_require__(622); -var caller = __webpack_require__(465); -var nodeModulesPaths = __webpack_require__(425); -var normalizeOptions = __webpack_require__(645); -var isCore = __webpack_require__(153); - -var defaultIsFile = function isFile(file, cb) { - fs.stat(file, function (err, stat) { - if (!err) { - return cb(null, stat.isFile() || stat.isFIFO()); - } - if (err.code === 'ENOENT' || err.code === 'ENOTDIR') return cb(null, false); - return cb(err); - }); -}; - -var defaultIsDir = function isDirectory(dir, cb) { - fs.stat(dir, function (err, stat) { - if (!err) { - return cb(null, stat.isDirectory()); - } - if (err.code === 'ENOENT' || err.code === 'ENOTDIR') return cb(null, false); - return cb(err); - }); -}; - -var maybeUnwrapSymlink = function maybeUnwrapSymlink(x, opts, cb) { - if (opts && opts.preserveSymlinks === false) { - fs.realpath(x, function (realPathErr, realPath) { - if (realPathErr && realPathErr.code !== 'ENOENT') cb(realPathErr); - else cb(null, realPathErr ? x : realPath); - }); - } else { - cb(null, x); - } -}; - -var getPackageCandidates = function getPackageCandidates(x, start, opts) { - var dirs = nodeModulesPaths(start, opts, x); - for (var i = 0; i < dirs.length; i++) { - dirs[i] = path.join(dirs[i], x); - } - return dirs; -}; - -module.exports = function resolve(x, options, callback) { - var cb = callback; - var opts = options; - if (typeof options === 'function') { - cb = opts; - opts = {}; - } - if (typeof x !== 'string') { - var err = new TypeError('Path must be a string.'); - return process.nextTick(function () { - cb(err); - }); - } - - opts = normalizeOptions(x, opts); - - var isFile = opts.isFile || defaultIsFile; - var isDirectory = opts.isDirectory || defaultIsDir; - var readFile = opts.readFile || fs.readFile; - var packageIterator = opts.packageIterator; - - var extensions = opts.extensions || ['.js']; - var basedir = opts.basedir || path.dirname(caller()); - var parent = opts.filename || basedir; - - opts.paths = opts.paths || []; - - // ensure that `basedir` is an absolute path at this point, resolving against the process' current working directory - var absoluteStart = path.resolve(basedir); - - maybeUnwrapSymlink( - absoluteStart, - opts, - function (err, realStart) { - if (err) cb(err); - else init(realStart); - } - ); - - var res; - function init(basedir) { - if ((/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/).test(x)) { - res = path.resolve(basedir, x); - if (x === '.' || x === '..' || x.slice(-1) === '/') res += '/'; - if ((/\/$/).test(x) && res === basedir) { - loadAsDirectory(res, opts.package, onfile); - } else loadAsFile(res, opts.package, onfile); - } else if (isCore(x)) { - return cb(null, x); - } else loadNodeModules(x, basedir, function (err, n, pkg) { - if (err) cb(err); - else if (n) { - return maybeUnwrapSymlink(n, opts, function (err, realN) { - if (err) { - cb(err); - } else { - cb(null, realN, pkg); - } - }); - } else { - var moduleError = new Error("Cannot find module '" + x + "' from '" + parent + "'"); - moduleError.code = 'MODULE_NOT_FOUND'; - cb(moduleError); - } - }); - } - - function onfile(err, m, pkg) { - if (err) cb(err); - else if (m) cb(null, m, pkg); - else loadAsDirectory(res, function (err, d, pkg) { - if (err) cb(err); - else if (d) { - maybeUnwrapSymlink(d, opts, function (err, realD) { - if (err) { - cb(err); - } else { - cb(null, realD, pkg); - } - }); - } else { - var moduleError = new Error("Cannot find module '" + x + "' from '" + parent + "'"); - moduleError.code = 'MODULE_NOT_FOUND'; - cb(moduleError); - } - }); - } - - function loadAsFile(x, thePackage, callback) { - var loadAsFilePackage = thePackage; - var cb = callback; - if (typeof loadAsFilePackage === 'function') { - cb = loadAsFilePackage; - loadAsFilePackage = undefined; - } - - var exts = [''].concat(extensions); - load(exts, x, loadAsFilePackage); - - function load(exts, x, loadPackage) { - if (exts.length === 0) return cb(null, undefined, loadPackage); - var file = x + exts[0]; - - var pkg = loadPackage; - if (pkg) onpkg(null, pkg); - else loadpkg(path.dirname(file), onpkg); - - function onpkg(err, pkg_, dir) { - pkg = pkg_; - if (err) return cb(err); - if (dir && pkg && opts.pathFilter) { - var rfile = path.relative(dir, file); - var rel = rfile.slice(0, rfile.length - exts[0].length); - var r = opts.pathFilter(pkg, x, rel); - if (r) return load( - [''].concat(extensions.slice()), - path.resolve(dir, r), - pkg - ); - } - isFile(file, onex); - } - function onex(err, ex) { - if (err) return cb(err); - if (ex) return cb(null, file, pkg); - load(exts.slice(1), x, pkg); - } - } - } - - function loadpkg(dir, cb) { - if (dir === '' || dir === '/') return cb(null); - if (process.platform === 'win32' && (/^\w:[/\\]*$/).test(dir)) { - return cb(null); - } - if ((/[/\\]node_modules[/\\]*$/).test(dir)) return cb(null); - - maybeUnwrapSymlink(dir, opts, function (unwrapErr, pkgdir) { - if (unwrapErr) return loadpkg(path.dirname(dir), cb); - var pkgfile = path.join(pkgdir, 'package.json'); - isFile(pkgfile, function (err, ex) { - // on err, ex is false - if (!ex) return loadpkg(path.dirname(dir), cb); - - readFile(pkgfile, function (err, body) { - if (err) cb(err); - try { var pkg = JSON.parse(body); } catch (jsonErr) {} - - if (pkg && opts.packageFilter) { - pkg = opts.packageFilter(pkg, pkgfile); - } - cb(null, pkg, dir); - }); - }); - }); - } - - function loadAsDirectory(x, loadAsDirectoryPackage, callback) { - var cb = callback; - var fpkg = loadAsDirectoryPackage; - if (typeof fpkg === 'function') { - cb = fpkg; - fpkg = opts.package; - } - - maybeUnwrapSymlink(x, opts, function (unwrapErr, pkgdir) { - if (unwrapErr) return cb(unwrapErr); - var pkgfile = path.join(pkgdir, 'package.json'); - isFile(pkgfile, function (err, ex) { - if (err) return cb(err); - if (!ex) return loadAsFile(path.join(x, 'index'), fpkg, cb); - - readFile(pkgfile, function (err, body) { - if (err) return cb(err); - try { - var pkg = JSON.parse(body); - } catch (jsonErr) {} - - if (pkg && opts.packageFilter) { - pkg = opts.packageFilter(pkg, pkgfile); - } - - if (pkg && pkg.main) { - if (typeof pkg.main !== 'string') { - var mainError = new TypeError('package “' + pkg.name + '” `main` must be a string'); - mainError.code = 'INVALID_PACKAGE_MAIN'; - return cb(mainError); - } - if (pkg.main === '.' || pkg.main === './') { - pkg.main = 'index'; - } - loadAsFile(path.resolve(x, pkg.main), pkg, function (err, m, pkg) { - if (err) return cb(err); - if (m) return cb(null, m, pkg); - if (!pkg) return loadAsFile(path.join(x, 'index'), pkg, cb); - - var dir = path.resolve(x, pkg.main); - loadAsDirectory(dir, pkg, function (err, n, pkg) { - if (err) return cb(err); - if (n) return cb(null, n, pkg); - loadAsFile(path.join(x, 'index'), pkg, cb); - }); - }); - return; - } - - loadAsFile(path.join(x, '/index'), pkg, cb); - }); - }); - }); - } - - function processDirs(cb, dirs) { - if (dirs.length === 0) return cb(null, undefined); - var dir = dirs[0]; - - isDirectory(path.dirname(dir), isdir); - - function isdir(err, isdir) { - if (err) return cb(err); - if (!isdir) return processDirs(cb, dirs.slice(1)); - loadAsFile(dir, opts.package, onfile); - } - - function onfile(err, m, pkg) { - if (err) return cb(err); - if (m) return cb(null, m, pkg); - loadAsDirectory(dir, opts.package, ondir); - } - - function ondir(err, n, pkg) { - if (err) return cb(err); - if (n) return cb(null, n, pkg); - processDirs(cb, dirs.slice(1)); - } - } - function loadNodeModules(x, start, cb) { - var thunk = function () { return getPackageCandidates(x, start, opts); }; - processDirs( - cb, - packageIterator ? packageIterator(x, start, thunk, opts) : thunk() - ); - } -}; - - -/***/ }), +/* 104 */, /* 105 */ /***/ (function(module, __unusedexports, __webpack_require__) { @@ -10801,146 +10525,14 @@ module.exports = BackoffStrategy; /* 106 */ /***/ (function(module, __unusedexports, __webpack_require__) { -"use strict"; - -const os = __webpack_require__(87); -const tty = __webpack_require__(867); -const hasFlag = __webpack_require__(721); - -const {env} = process; - -let forceColor; -if (hasFlag('no-color') || - hasFlag('no-colors') || - hasFlag('color=false') || - hasFlag('color=never')) { - forceColor = 0; -} else if (hasFlag('color') || - hasFlag('colors') || - hasFlag('color=true') || - hasFlag('color=always')) { - forceColor = 1; -} - -if ('FORCE_COLOR' in env) { - if (env.FORCE_COLOR === 'true') { - forceColor = 1; - } else if (env.FORCE_COLOR === 'false') { - forceColor = 0; - } else { - forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3); - } -} - -function translateLevel(level) { - if (level === 0) { - return false; - } - - return { - level, - hasBasic: true, - has256: level >= 2, - has16m: level >= 3 - }; -} - -function supportsColor(haveStream, streamIsTTY) { - if (forceColor === 0) { - return 0; - } - - if (hasFlag('color=16m') || - hasFlag('color=full') || - hasFlag('color=truecolor')) { - return 3; - } - - if (hasFlag('color=256')) { - return 2; - } - - if (haveStream && !streamIsTTY && forceColor === undefined) { - return 0; - } - - const min = forceColor || 0; - - if (env.TERM === 'dumb') { - return min; - } - - if (process.platform === 'win32') { - // 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(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 ('GITHUB_ACTIONS' in env) { - return 1; - } - - 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; - } - - return min; -} +const filterObj = __webpack_require__(512) -function getSupportLevel(stream) { - const level = supportsColor(stream, stream && stream.isTTY); - return translateLevel(level); +// lodash.omit is 1400 lines of codes. filter-obj is much smaller and simpler. +const omit = function(obj, keys) { + return filterObj(obj, key => !keys.includes(key)) } -module.exports = { - supportsColor: getSupportLevel, - stdout: translateLevel(supportsColor(true, tty.isatty(1))), - stderr: translateLevel(supportsColor(true, tty.isatty(2))) -}; +module.exports = { omit } /***/ }), @@ -13541,7 +13133,12 @@ Glob.prototype._stat2 = function (f, abs, er, stat, cb) { /***/ }), -/* 121 */, +/* 121 */ +/***/ (function(module) { + +module.exports = {"assert":true,"async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"dns":true,"domain":true,"events":true,"freelist":"< 6","fs":true,"fs/promises":">= 10 && < 10.1","_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6.0 && < 12","os":true,"path":true,"perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"string_decoder":true,"sys":true,"timers":true,"_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8":">= 1","vm":true,"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","zlib":true}; + +/***/ }), /* 122 */ /***/ (function(module) { @@ -14668,7 +14265,17 @@ module.exports = uniq; /***/ }), -/* 127 */, +/* 127 */ +/***/ (function(module, __unusedexports, __webpack_require__) { + +var core = __webpack_require__(222); + +module.exports = function isCore(x) { + return Object.prototype.hasOwnProperty.call(core, x); +}; + + +/***/ }), /* 128 */ /***/ (function(module) { @@ -37440,7 +37047,7 @@ exports.convertComments = convertComments; var net = __webpack_require__(631); var tls = __webpack_require__(16); var http = __webpack_require__(605); -var https = __webpack_require__(34); +var https = __webpack_require__(211); var events = __webpack_require__(614); var assert = __webpack_require__(357); var util = __webpack_require__(669); @@ -38101,17 +37708,7 @@ module.exports = FunctionCall; /***/ }), -/* 153 */ -/***/ (function(module, __unusedexports, __webpack_require__) { - -var core = __webpack_require__(595); - -module.exports = function isCore(x) { - return Object.prototype.hasOwnProperty.call(core, x); -}; - - -/***/ }), +/* 153 */, /* 154 */ /***/ (function(__unusedmodule, exports) { @@ -42152,21 +41749,55 @@ module.exports = __webpack_require__(316).default; /***/ }), /* 192 */, -/* 193 */ +/* 193 */, +/* 194 */ /***/ (function(module, __unusedexports, __webpack_require__) { -const filterObj = __webpack_require__(512) +var path = __webpack_require__(622); +var parse = path.parse || __webpack_require__(905); -// lodash.omit is 1400 lines of codes. filter-obj is much smaller and simpler. -const omit = function(obj, keys) { - return filterObj(obj, key => !keys.includes(key)) -} +var getNodeModulesDirs = function getNodeModulesDirs(absoluteStart, modules) { + var prefix = '/'; + if ((/^([A-Za-z]:)/).test(absoluteStart)) { + prefix = ''; + } else if ((/^\\\\/).test(absoluteStart)) { + prefix = '\\\\'; + } -module.exports = { omit } + var paths = [absoluteStart]; + var parsed = parse(absoluteStart); + while (parsed.dir !== paths[paths.length - 1]) { + paths.push(parsed.dir); + parsed = parse(parsed.dir); + } + + return paths.reduce(function (dirs, aPath) { + return dirs.concat(modules.map(function (moduleDir) { + return path.resolve(prefix, aPath, moduleDir); + })); + }, []); +}; + +module.exports = function nodeModulesPaths(start, opts, request) { + var modules = opts && opts.moduleDirectory + ? [].concat(opts.moduleDirectory) + : ['node_modules']; + + if (opts && typeof opts.paths === 'function') { + return opts.paths( + request, + start, + function () { return getNodeModulesDirs(start, modules); }, + opts + ); + } + + var dirs = getNodeModulesDirs(start, modules); + return opts && opts.paths ? dirs.concat(opts.paths) : dirs; +}; /***/ }), -/* 194 */, /* 195 */, /* 196 */, /* 197 */ @@ -42258,6 +41889,10 @@ function run() { const dir = core.getInput('publish-dir', { required: true }); const deployMessage = core.getInput('deploy-message') || undefined; const productionBranch = core.getInput('production-branch'); + // Default: true + const enablePullRequestComment = (core.getInput('enable-pull-request-comment') || 'true') === 'true'; + // Default: true + const enableCommitComment = (core.getInput('enable-commit-comment') || 'true') === 'true'; // NOTE: if production-branch is not specified, it is "", so isDraft is always true const isDraft = github_1.context.ref !== `refs/heads/${productionBranch}`; // Create Netlify API client @@ -42282,25 +41917,27 @@ function run() { if (githubToken !== '') { // Create GitHub client const githubClient = new github_1.GitHub(githubToken); - const commitCommentParams = { - owner: github_1.context.repo.owner, - repo: github_1.context.repo.repo, - // eslint-disable-next-line @typescript-eslint/camelcase - commit_sha: github_1.context.sha, - body: message - }; - // TODO: Remove try - // NOTE: try-catch is experimentally used because commit message may not be done in some conditions. - try { - // Comment to the commit - yield githubClient.repos.createCommitComment(commitCommentParams); - } - catch (err) { - // eslint-disable-next-line no-console - console.error(err, JSON.stringify(commitCommentParams, null, 2)); + if (enableCommitComment) { + const commitCommentParams = { + owner: github_1.context.repo.owner, + repo: github_1.context.repo.repo, + // eslint-disable-next-line @typescript-eslint/camelcase + commit_sha: github_1.context.sha, + body: message + }; + // TODO: Remove try + // NOTE: try-catch is experimentally used because commit message may not be done in some conditions. + try { + // Comment to the commit + yield githubClient.repos.createCommitComment(commitCommentParams); + } + catch (err) { + // eslint-disable-next-line no-console + console.error(err, JSON.stringify(commitCommentParams, null, 2)); + } } - // If it is a pull request - if (github_1.context.issue.number !== undefined) { + // If it is a pull request and enable comment on pull request + if (github_1.context.issue.number !== undefined && enablePullRequestComment) { // Comment the deploy URL yield githubClient.issues.createComment({ // eslint-disable-next-line @typescript-eslint/camelcase @@ -42923,32 +42560,9 @@ function extractDependencies(importStatementNode) { /* 209 */, /* 210 */, /* 211 */ -/***/ (function(__unusedmodule, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, '__esModule', { value: true }); - -function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } - -var osName = _interopDefault(__webpack_require__(2)); - -function getUserAgent() { - try { - return `Node.js/${process.version.substr(1)} (${osName()}; ${process.arch})`; - } catch (error) { - if (/wmic os get Caption/.test(error.message)) { - return "Windows "; - } - - return ""; - } -} - -exports.getUserAgent = getUserAgent; -//# sourceMappingURL=index.js.map +/***/ (function(module) { +module.exports = require("https"); /***/ }), /* 212 */, @@ -43509,7 +43123,65 @@ module.exports = StringNode; /***/ }), /* 220 */, /* 221 */, -/* 222 */, +/* 222 */ +/***/ (function(module, __unusedexports, __webpack_require__) { + +var current = (process.versions && process.versions.node && process.versions.node.split('.')) || []; + +function specifierIncluded(specifier) { + var parts = specifier.split(' '); + var op = parts.length > 1 ? parts[0] : '='; + var versionParts = (parts.length > 1 ? parts[1] : parts[0]).split('.'); + + for (var i = 0; i < 3; ++i) { + var cur = Number(current[i] || 0); + var ver = Number(versionParts[i] || 0); + if (cur === ver) { + continue; // eslint-disable-line no-restricted-syntax, no-continue + } + if (op === '<') { + return cur < ver; + } else if (op === '>=') { + return cur >= ver; + } else { + return false; + } + } + return op === '>='; +} + +function matchesRange(range) { + var specifiers = range.split(/ ?&& ?/); + if (specifiers.length === 0) { return false; } + for (var i = 0; i < specifiers.length; ++i) { + if (!specifierIncluded(specifiers[i])) { return false; } + } + return true; +} + +function versionIncluded(specifierValue) { + if (typeof specifierValue === 'boolean') { return specifierValue; } + if (specifierValue && typeof specifierValue === 'object') { + for (var i = 0; i < specifierValue.length; ++i) { + if (matchesRange(specifierValue[i])) { return true; } + } + return false; + } + return matchesRange(specifierValue); +} + +var data = __webpack_require__(121); + +var core = {}; +for (var mod in data) { // eslint-disable-line no-restricted-syntax + if (Object.prototype.hasOwnProperty.call(data, mod)) { + core[mod] = versionIncluded(data[mod]); + } +} +module.exports = core; + + +/***/ }), /* 223 */ /***/ (function(module, __unusedexports, __webpack_require__) { @@ -50953,7 +50625,7 @@ function indexOf(xs, x) { /* 228 */ /***/ (function(module, __unusedexports, __webpack_require__) { -const { lstat } = __webpack_require__(747) +const { stat } = __webpack_require__(747) const { dirname, normalize, sep } = __webpack_require__(622) const commonPathPrefix = __webpack_require__(963) @@ -50966,7 +50638,7 @@ const { startZip, addZipFile, addZipContent, endZip } = __webpack_require__(71) const { getDependencies } = __webpack_require__(976) const pGlob = promisify(glob) -const pLstat = promisify(lstat) +const pStat = promisify(stat) // Zip a Node.js function file const zipNodeJs = async function(srcPath, srcDir, destPath, filename, handler, stat) { @@ -51018,7 +50690,7 @@ const addEntryFile = function(commonPrefix, archive, filename, handler) { const zipJsFile = async function(file, commonPrefix, archive) { const filename = normalizeFilePath(file, commonPrefix) - const stat = await pLstat(file) + const stat = await pStat(file) addZipFile(archive, file, filename, stat) } @@ -54098,28 +53770,149 @@ GlobSync.prototype._makeAbs = function (f) { /***/ }), /* 246 */, /* 247 */ -/***/ (function(module, exports, __webpack_require__) { +/***/ (function(module, __unusedexports, __webpack_require__) { -var Stream = __webpack_require__(413); -if (process.env.READABLE_STREAM === 'disable' && Stream) { - module.exports = Stream; - exports = module.exports = Stream.Readable; - exports.Readable = Stream.Readable; - exports.Writable = Stream.Writable; - exports.Duplex = Stream.Duplex; - exports.Transform = Stream.Transform; - exports.PassThrough = Stream.PassThrough; - exports.Stream = Stream; -} else { - exports = module.exports = __webpack_require__(382); - exports.Stream = Stream || exports; - exports.Readable = exports; - exports.Writable = __webpack_require__(223); - exports.Duplex = __webpack_require__(442); - exports.Transform = __webpack_require__(874); - exports.PassThrough = __webpack_require__(743); +"use strict"; + +const os = __webpack_require__(87); +const tty = __webpack_require__(867); +const hasFlag = __webpack_require__(313); + +const {env} = process; + +let forceColor; +if (hasFlag('no-color') || + hasFlag('no-colors') || + hasFlag('color=false') || + hasFlag('color=never')) { + forceColor = 0; +} else if (hasFlag('color') || + hasFlag('colors') || + hasFlag('color=true') || + hasFlag('color=always')) { + forceColor = 1; } +if ('FORCE_COLOR' in env) { + if (env.FORCE_COLOR === 'true') { + forceColor = 1; + } else if (env.FORCE_COLOR === 'false') { + forceColor = 0; + } else { + forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3); + } +} + +function translateLevel(level) { + if (level === 0) { + return false; + } + + return { + level, + hasBasic: true, + has256: level >= 2, + has16m: level >= 3 + }; +} + +function supportsColor(haveStream, streamIsTTY) { + if (forceColor === 0) { + return 0; + } + + if (hasFlag('color=16m') || + hasFlag('color=full') || + hasFlag('color=truecolor')) { + return 3; + } + + if (hasFlag('color=256')) { + return 2; + } + + if (haveStream && !streamIsTTY && forceColor === undefined) { + return 0; + } + + const min = forceColor || 0; + + if (env.TERM === 'dumb') { + return min; + } + + if (process.platform === 'win32') { + // 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(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 ('GITHUB_ACTIONS' in env) { + return 1; + } + + 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; + } + + return min; +} + +function getSupportLevel(stream) { + const level = supportsColor(stream, stream && stream.isTTY); + return translateLevel(level); +} + +module.exports = { + supportsColor: getSupportLevel, + stdout: translateLevel(supportsColor(true, tty.isatty(1))), + stderr: translateLevel(supportsColor(true, tty.isatty(2))) +}; + /***/ }), /* 248 */ @@ -54305,7 +54098,7 @@ module.exports = exports.default; /* 250 */ /***/ (function(module, __unusedexports, __webpack_require__) { -var constants = __webpack_require__(619) +var constants = __webpack_require__(721) var origCwd = process.cwd var cwd = null @@ -59364,7 +59157,7 @@ function authenticationRequestError(state, error, options) { module.exports = parseOptions; const { Deprecation } = __webpack_require__(692); -const { getUserAgent } = __webpack_require__(796); +const { getUserAgent } = __webpack_require__(619); const once = __webpack_require__(969); const pkg = __webpack_require__(215); @@ -61782,194 +61575,18 @@ module.exports = { /***/ }), /* 313 */ -/***/ (function(__unusedmodule, exports) { +/***/ (function(module) { "use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -var AST_NODE_TYPES; -(function (AST_NODE_TYPES) { - AST_NODE_TYPES["ArrayExpression"] = "ArrayExpression"; - AST_NODE_TYPES["ArrayPattern"] = "ArrayPattern"; - AST_NODE_TYPES["ArrowFunctionExpression"] = "ArrowFunctionExpression"; - AST_NODE_TYPES["AssignmentExpression"] = "AssignmentExpression"; - AST_NODE_TYPES["AssignmentPattern"] = "AssignmentPattern"; - AST_NODE_TYPES["AwaitExpression"] = "AwaitExpression"; - AST_NODE_TYPES["BigIntLiteral"] = "BigIntLiteral"; - AST_NODE_TYPES["BinaryExpression"] = "BinaryExpression"; - AST_NODE_TYPES["BlockStatement"] = "BlockStatement"; - AST_NODE_TYPES["BreakStatement"] = "BreakStatement"; - AST_NODE_TYPES["CallExpression"] = "CallExpression"; - AST_NODE_TYPES["CatchClause"] = "CatchClause"; - AST_NODE_TYPES["ClassBody"] = "ClassBody"; - AST_NODE_TYPES["ClassDeclaration"] = "ClassDeclaration"; - AST_NODE_TYPES["ClassExpression"] = "ClassExpression"; - AST_NODE_TYPES["ClassProperty"] = "ClassProperty"; - AST_NODE_TYPES["ConditionalExpression"] = "ConditionalExpression"; - AST_NODE_TYPES["ContinueStatement"] = "ContinueStatement"; - AST_NODE_TYPES["DebuggerStatement"] = "DebuggerStatement"; - AST_NODE_TYPES["Decorator"] = "Decorator"; - AST_NODE_TYPES["DoWhileStatement"] = "DoWhileStatement"; - AST_NODE_TYPES["EmptyStatement"] = "EmptyStatement"; - AST_NODE_TYPES["ExportAllDeclaration"] = "ExportAllDeclaration"; - AST_NODE_TYPES["ExportDefaultDeclaration"] = "ExportDefaultDeclaration"; - AST_NODE_TYPES["ExportNamedDeclaration"] = "ExportNamedDeclaration"; - AST_NODE_TYPES["ExportSpecifier"] = "ExportSpecifier"; - AST_NODE_TYPES["ExpressionStatement"] = "ExpressionStatement"; - AST_NODE_TYPES["ForInStatement"] = "ForInStatement"; - AST_NODE_TYPES["ForOfStatement"] = "ForOfStatement"; - AST_NODE_TYPES["ForStatement"] = "ForStatement"; - AST_NODE_TYPES["FunctionDeclaration"] = "FunctionDeclaration"; - AST_NODE_TYPES["FunctionExpression"] = "FunctionExpression"; - AST_NODE_TYPES["Identifier"] = "Identifier"; - AST_NODE_TYPES["IfStatement"] = "IfStatement"; - AST_NODE_TYPES["Import"] = "Import"; - AST_NODE_TYPES["ImportDeclaration"] = "ImportDeclaration"; - AST_NODE_TYPES["ImportDefaultSpecifier"] = "ImportDefaultSpecifier"; - AST_NODE_TYPES["ImportNamespaceSpecifier"] = "ImportNamespaceSpecifier"; - AST_NODE_TYPES["ImportSpecifier"] = "ImportSpecifier"; - AST_NODE_TYPES["JSXAttribute"] = "JSXAttribute"; - AST_NODE_TYPES["JSXClosingElement"] = "JSXClosingElement"; - AST_NODE_TYPES["JSXClosingFragment"] = "JSXClosingFragment"; - AST_NODE_TYPES["JSXElement"] = "JSXElement"; - AST_NODE_TYPES["JSXEmptyExpression"] = "JSXEmptyExpression"; - AST_NODE_TYPES["JSXExpressionContainer"] = "JSXExpressionContainer"; - AST_NODE_TYPES["JSXFragment"] = "JSXFragment"; - AST_NODE_TYPES["JSXIdentifier"] = "JSXIdentifier"; - AST_NODE_TYPES["JSXMemberExpression"] = "JSXMemberExpression"; - AST_NODE_TYPES["JSXOpeningElement"] = "JSXOpeningElement"; - AST_NODE_TYPES["JSXOpeningFragment"] = "JSXOpeningFragment"; - AST_NODE_TYPES["JSXSpreadAttribute"] = "JSXSpreadAttribute"; - AST_NODE_TYPES["JSXSpreadChild"] = "JSXSpreadChild"; - AST_NODE_TYPES["JSXText"] = "JSXText"; - AST_NODE_TYPES["LabeledStatement"] = "LabeledStatement"; - AST_NODE_TYPES["Literal"] = "Literal"; - AST_NODE_TYPES["LogicalExpression"] = "LogicalExpression"; - AST_NODE_TYPES["MemberExpression"] = "MemberExpression"; - AST_NODE_TYPES["MetaProperty"] = "MetaProperty"; - AST_NODE_TYPES["MethodDefinition"] = "MethodDefinition"; - AST_NODE_TYPES["NewExpression"] = "NewExpression"; - AST_NODE_TYPES["ObjectExpression"] = "ObjectExpression"; - AST_NODE_TYPES["ObjectPattern"] = "ObjectPattern"; - AST_NODE_TYPES["OptionalCallExpression"] = "OptionalCallExpression"; - AST_NODE_TYPES["OptionalMemberExpression"] = "OptionalMemberExpression"; - AST_NODE_TYPES["Program"] = "Program"; - AST_NODE_TYPES["Property"] = "Property"; - AST_NODE_TYPES["RestElement"] = "RestElement"; - AST_NODE_TYPES["ReturnStatement"] = "ReturnStatement"; - AST_NODE_TYPES["SequenceExpression"] = "SequenceExpression"; - AST_NODE_TYPES["SpreadElement"] = "SpreadElement"; - AST_NODE_TYPES["Super"] = "Super"; - AST_NODE_TYPES["SwitchCase"] = "SwitchCase"; - AST_NODE_TYPES["SwitchStatement"] = "SwitchStatement"; - AST_NODE_TYPES["TaggedTemplateExpression"] = "TaggedTemplateExpression"; - AST_NODE_TYPES["TemplateElement"] = "TemplateElement"; - AST_NODE_TYPES["TemplateLiteral"] = "TemplateLiteral"; - AST_NODE_TYPES["ThisExpression"] = "ThisExpression"; - AST_NODE_TYPES["ThrowStatement"] = "ThrowStatement"; - AST_NODE_TYPES["TryStatement"] = "TryStatement"; - AST_NODE_TYPES["UnaryExpression"] = "UnaryExpression"; - AST_NODE_TYPES["UpdateExpression"] = "UpdateExpression"; - AST_NODE_TYPES["VariableDeclaration"] = "VariableDeclaration"; - AST_NODE_TYPES["VariableDeclarator"] = "VariableDeclarator"; - AST_NODE_TYPES["WhileStatement"] = "WhileStatement"; - AST_NODE_TYPES["WithStatement"] = "WithStatement"; - AST_NODE_TYPES["YieldExpression"] = "YieldExpression"; - /** - * TS-prefixed nodes - */ - AST_NODE_TYPES["TSAbstractClassProperty"] = "TSAbstractClassProperty"; - AST_NODE_TYPES["TSAbstractKeyword"] = "TSAbstractKeyword"; - AST_NODE_TYPES["TSAbstractMethodDefinition"] = "TSAbstractMethodDefinition"; - AST_NODE_TYPES["TSAnyKeyword"] = "TSAnyKeyword"; - AST_NODE_TYPES["TSArrayType"] = "TSArrayType"; - AST_NODE_TYPES["TSAsExpression"] = "TSAsExpression"; - AST_NODE_TYPES["TSAsyncKeyword"] = "TSAsyncKeyword"; - AST_NODE_TYPES["TSBooleanKeyword"] = "TSBooleanKeyword"; - AST_NODE_TYPES["TSBigIntKeyword"] = "TSBigIntKeyword"; - AST_NODE_TYPES["TSConditionalType"] = "TSConditionalType"; - AST_NODE_TYPES["TSConstructorType"] = "TSConstructorType"; - AST_NODE_TYPES["TSCallSignatureDeclaration"] = "TSCallSignatureDeclaration"; - AST_NODE_TYPES["TSClassImplements"] = "TSClassImplements"; - AST_NODE_TYPES["TSConstructSignatureDeclaration"] = "TSConstructSignatureDeclaration"; - AST_NODE_TYPES["TSDeclareKeyword"] = "TSDeclareKeyword"; - AST_NODE_TYPES["TSDeclareFunction"] = "TSDeclareFunction"; - AST_NODE_TYPES["TSEmptyBodyFunctionExpression"] = "TSEmptyBodyFunctionExpression"; - AST_NODE_TYPES["TSEnumDeclaration"] = "TSEnumDeclaration"; - AST_NODE_TYPES["TSEnumMember"] = "TSEnumMember"; - AST_NODE_TYPES["TSExportAssignment"] = "TSExportAssignment"; - AST_NODE_TYPES["TSExportKeyword"] = "TSExportKeyword"; - AST_NODE_TYPES["TSExternalModuleReference"] = "TSExternalModuleReference"; - AST_NODE_TYPES["TSImportType"] = "TSImportType"; - AST_NODE_TYPES["TSInferType"] = "TSInferType"; - AST_NODE_TYPES["TSLiteralType"] = "TSLiteralType"; - AST_NODE_TYPES["TSIndexedAccessType"] = "TSIndexedAccessType"; - AST_NODE_TYPES["TSIndexSignature"] = "TSIndexSignature"; - AST_NODE_TYPES["TSInterfaceBody"] = "TSInterfaceBody"; - AST_NODE_TYPES["TSInterfaceDeclaration"] = "TSInterfaceDeclaration"; - AST_NODE_TYPES["TSInterfaceHeritage"] = "TSInterfaceHeritage"; - AST_NODE_TYPES["TSImportEqualsDeclaration"] = "TSImportEqualsDeclaration"; - AST_NODE_TYPES["TSFunctionType"] = "TSFunctionType"; - AST_NODE_TYPES["TSMethodSignature"] = "TSMethodSignature"; - AST_NODE_TYPES["TSModuleBlock"] = "TSModuleBlock"; - AST_NODE_TYPES["TSModuleDeclaration"] = "TSModuleDeclaration"; - AST_NODE_TYPES["TSNamespaceExportDeclaration"] = "TSNamespaceExportDeclaration"; - AST_NODE_TYPES["TSNonNullExpression"] = "TSNonNullExpression"; - AST_NODE_TYPES["TSNeverKeyword"] = "TSNeverKeyword"; - AST_NODE_TYPES["TSNullKeyword"] = "TSNullKeyword"; - AST_NODE_TYPES["TSNumberKeyword"] = "TSNumberKeyword"; - AST_NODE_TYPES["TSMappedType"] = "TSMappedType"; - AST_NODE_TYPES["TSObjectKeyword"] = "TSObjectKeyword"; - AST_NODE_TYPES["TSParameterProperty"] = "TSParameterProperty"; - AST_NODE_TYPES["TSPrivateKeyword"] = "TSPrivateKeyword"; - AST_NODE_TYPES["TSPropertySignature"] = "TSPropertySignature"; - AST_NODE_TYPES["TSProtectedKeyword"] = "TSProtectedKeyword"; - AST_NODE_TYPES["TSPublicKeyword"] = "TSPublicKeyword"; - AST_NODE_TYPES["TSQualifiedName"] = "TSQualifiedName"; - AST_NODE_TYPES["TSReadonlyKeyword"] = "TSReadonlyKeyword"; - AST_NODE_TYPES["TSRestType"] = "TSRestType"; - AST_NODE_TYPES["TSStaticKeyword"] = "TSStaticKeyword"; - AST_NODE_TYPES["TSStringKeyword"] = "TSStringKeyword"; - AST_NODE_TYPES["TSSymbolKeyword"] = "TSSymbolKeyword"; - AST_NODE_TYPES["TSThisType"] = "TSThisType"; - AST_NODE_TYPES["TSTypeAnnotation"] = "TSTypeAnnotation"; - AST_NODE_TYPES["TSTypeAliasDeclaration"] = "TSTypeAliasDeclaration"; - AST_NODE_TYPES["TSTypeAssertion"] = "TSTypeAssertion"; - AST_NODE_TYPES["TSTypeLiteral"] = "TSTypeLiteral"; - AST_NODE_TYPES["TSTypeOperator"] = "TSTypeOperator"; - AST_NODE_TYPES["TSTypeParameter"] = "TSTypeParameter"; - AST_NODE_TYPES["TSTypeParameterDeclaration"] = "TSTypeParameterDeclaration"; - AST_NODE_TYPES["TSTypeParameterInstantiation"] = "TSTypeParameterInstantiation"; - AST_NODE_TYPES["TSTypePredicate"] = "TSTypePredicate"; - AST_NODE_TYPES["TSTypeReference"] = "TSTypeReference"; - AST_NODE_TYPES["TSTypeQuery"] = "TSTypeQuery"; - AST_NODE_TYPES["TSIntersectionType"] = "TSIntersectionType"; - AST_NODE_TYPES["TSTupleType"] = "TSTupleType"; - AST_NODE_TYPES["TSOptionalType"] = "TSOptionalType"; - AST_NODE_TYPES["TSParenthesizedType"] = "TSParenthesizedType"; - AST_NODE_TYPES["TSUnionType"] = "TSUnionType"; - AST_NODE_TYPES["TSUndefinedKeyword"] = "TSUndefinedKeyword"; - AST_NODE_TYPES["TSUnknownKeyword"] = "TSUnknownKeyword"; - AST_NODE_TYPES["TSVoidKeyword"] = "TSVoidKeyword"; -})(AST_NODE_TYPES = exports.AST_NODE_TYPES || (exports.AST_NODE_TYPES = {})); -var AST_TOKEN_TYPES; -(function (AST_TOKEN_TYPES) { - AST_TOKEN_TYPES["Boolean"] = "Boolean"; - AST_TOKEN_TYPES["Identifier"] = "Identifier"; - AST_TOKEN_TYPES["JSXIdentifier"] = "JSXIdentifier"; - AST_TOKEN_TYPES["JSXText"] = "JSXText"; - AST_TOKEN_TYPES["Keyword"] = "Keyword"; - AST_TOKEN_TYPES["Null"] = "Null"; - AST_TOKEN_TYPES["Numeric"] = "Numeric"; - AST_TOKEN_TYPES["Punctuator"] = "Punctuator"; - AST_TOKEN_TYPES["RegularExpression"] = "RegularExpression"; - AST_TOKEN_TYPES["String"] = "String"; - AST_TOKEN_TYPES["Template"] = "Template"; - // comment types - AST_TOKEN_TYPES["Block"] = "Block"; - AST_TOKEN_TYPES["Line"] = "Line"; -})(AST_TOKEN_TYPES = exports.AST_TOKEN_TYPES || (exports.AST_TOKEN_TYPES = {})); -//# sourceMappingURL=ast-node-types.js.map + +module.exports = (flag, argv = process.argv) => { + const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--'); + const position = argv.indexOf(prefix + flag); + const terminatorPosition = argv.indexOf('--'); + return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition); +}; + /***/ }), /* 314 */ @@ -62755,6 +62372,7 @@ class NetlifyAPI { this.pathPrefix = opts.pathPrefix this.globalParams = opts.globalParams this.accessToken = opts.accessToken + this.agent = opts.agent } get accessToken() { @@ -65882,7 +65500,18 @@ function deprecate (message) { /***/ }), -/* 371 */, +/* 371 */ +/***/ (function(module, __unusedexports, __webpack_require__) { + +var async = __webpack_require__(949); +async.core = __webpack_require__(222); +async.isCore = __webpack_require__(127); +async.sync = __webpack_require__(987); + +module.exports = async; + + +/***/ }), /* 372 */ /***/ (function(__unusedmodule, exports, __webpack_require__) { @@ -65901,7 +65530,7 @@ var __importStar = (this && this.__importStar) || function (mod) { Object.defineProperty(exports, "__esModule", { value: true }); const TSESTree = __importStar(__webpack_require__(356)); exports.TSESTree = TSESTree; -__export(__webpack_require__(313)); +__export(__webpack_require__(660)); //# sourceMappingURL=index.js.map /***/ }), @@ -67460,7 +67089,7 @@ module.exports = Pack /* 384 */ /***/ (function(module) { -module.exports = {"swagger":"2.0","info":{"version":"0.13.2","title":"Netlify's API documentation","description":"Netlify is a hosting service for the programmable web. It understands your documents and provides an API to handle atomic deploys of websites, manage form submissions, inject JavaScript snippets, and much more. This is a REST-style API that uses JSON for serialization and OAuth 2 for authentication.\n\nThis document is an OpenAPI reference for the Netlify API that you can explore. For more detailed instructions for common uses, please visit the [online documentation](https://www.netlify.com/docs/api/). Visit our Community forum to join the conversation about [understanding and using Netlify’s API](https://community.netlify.com/t/common-issue-understanding-and-using-netlifys-api/160).\n\nAdditionally, we have two API clients for your convenience:\n- [Go Client](https://github.com/netlify/open-api#go-client)\n- [JS Client](https://github.com/netlify/js-client)","termsOfService":"https://www.netlify.com/legal/terms-of-use/","x-logo":{"url":"netlify-logo.png","href":"https://www.netlify.com/docs/","altText":"Netlify"}},"externalDocs":{"url":"https://www.netlify.com/docs/api/","description":"Online documentation"},"securityDefinitions":{"netlifyAuth":{"type":"oauth2","flow":"implicit","authorizationUrl":"https://app.netlify.com/authorize"}},"security":[{"netlifyAuth":[]}],"consumes":["application/json"],"produces":["application/json"],"schemes":["https"],"responses":{"error":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}},"host":"api.netlify.com","basePath":"/api/v1","paths":{"/sites":{"get":{"operationId":"listSites","tags":["site"],"parameters":[{"name":"name","in":"query","type":"string"},{"name":"filter","in":"query","type":"string","enum":["all","owner","guest"]}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createSite","tags":["site"],"consumes":["application/json"],"parameters":[{"name":"site","in":"body","schema":{"allOf":[{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}},{"properties":{"repo":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"}}}}}]},"required":true},{"name":"configure_dns","type":"boolean","in":"query"}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"get":{"operationId":"getSite","tags":["site"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"patch":{"operationId":"updateSite","tags":["site"],"consumes":["application/json"],"parameters":[{"name":"site","in":"body","schema":{"allOf":[{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}},{"properties":{"repo":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"}}}}}]},"required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"deleteSite","tags":["site"],"responses":{"204":{"description":"Deleted"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/ssl":{"post":{"operationId":"provisionSiteTLSCertificate","tags":["sniCertificate"],"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"certificate","type":"string","in":"query"},{"name":"key","type":"string","in":"query"},{"name":"ca_certificates","type":"string","in":"query"}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"state":{"type":"string"},"domains":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"expires_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"get":{"operationId":"showSiteTLSCertificate","tags":["sniCertificate"],"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"state":{"type":"string"},"domains":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"expires_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/forms":{"get":{"operationId":"listSiteForms","tags":["form"],"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}},"submission_count":{"type":"integer","format":"int32"},"fields":{"type":"array","items":{"type":"object"}},"created_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/submissions":{"get":{"operationId":"listSiteSubmissions","tags":["submission"],"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"number":{"type":"integer","format":"int32"},"email":{"type":"string"},"name":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"company":{"type":"string"},"summary":{"type":"string"},"body":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"site_url":{"type":"string"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/files":{"get":{"operationId":"listSiteFiles","tags":["file"],"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"path":{"type":"string"},"sha":{"type":"string"},"mime_type":{"type":"string"},"size":{"type":"integer","format":"int64"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/assets":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"get":{"operationId":"listSiteAssets","tags":["asset"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"creator_id":{"type":"string"},"name":{"type":"string"},"state":{"type":"string"},"content_type":{"type":"string"},"url":{"type":"string"},"key":{"type":"string"},"visibility":{"type":"string"},"size":{"type":"integer","format":"int64"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createSiteAsset","tags":["asset"],"parameters":[{"name":"name","type":"string","in":"query","required":true},{"name":"size","type":"integer","format":"int64","in":"query","required":true},{"name":"content_type","type":"string","in":"query","required":true},{"name":"visibility","type":"string","in":"query"}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"form":{"type":"object","properties":{"url":{"type":"string"},"fields":{"type":"object","additionalProperties":{"type":"string"}}}},"asset":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"creator_id":{"type":"string"},"name":{"type":"string"},"state":{"type":"string"},"content_type":{"type":"string"},"url":{"type":"string"},"key":{"type":"string"},"visibility":{"type":"string"},"size":{"type":"integer","format":"int64"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/assets/{asset_id}":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"asset_id","type":"string","in":"path","required":true}],"get":{"operationId":"getSiteAssetInfo","tags":["asset"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"creator_id":{"type":"string"},"name":{"type":"string"},"state":{"type":"string"},"content_type":{"type":"string"},"url":{"type":"string"},"key":{"type":"string"},"visibility":{"type":"string"},"size":{"type":"integer","format":"int64"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"put":{"operationId":"updateSiteAsset","tags":["asset"],"parameters":[{"name":"state","type":"string","in":"query","required":true}],"responses":{"200":{"description":"Updated","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"creator_id":{"type":"string"},"name":{"type":"string"},"state":{"type":"string"},"content_type":{"type":"string"},"url":{"type":"string"},"key":{"type":"string"},"visibility":{"type":"string"},"size":{"type":"integer","format":"int64"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"deleteSiteAsset","tags":["asset"],"responses":{"204":{"description":"Deleted"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/assets/{asset_id}/public_signature":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"asset_id","type":"string","in":"path","required":true}],"get":{"operationId":"getSiteAssetPublicSignature","tags":["assetPublicSignature"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"url":{"type":"string"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/files/{file_path}":{"get":{"operationId":"getSiteFileByPathName","tags":["file"],"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"file_path","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"path":{"type":"string"},"sha":{"type":"string"},"mime_type":{"type":"string"},"size":{"type":"integer","format":"int64"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/snippets":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"get":{"operationId":"listSiteSnippets","tags":["snippet"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"site_id":{"type":"string"},"title":{"type":"string"},"general":{"type":"string"},"general_position":{"type":"string"},"goal":{"type":"string"},"goal_position":{"type":"string"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createSiteSnippet","tags":["snippet"],"consumes":["application/json"],"parameters":[{"name":"snippet","in":"body","schema":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"site_id":{"type":"string"},"title":{"type":"string"},"general":{"type":"string"},"general_position":{"type":"string"},"goal":{"type":"string"},"goal_position":{"type":"string"}}},"required":true}],"responses":{"201":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"site_id":{"type":"string"},"title":{"type":"string"},"general":{"type":"string"},"general_position":{"type":"string"},"goal":{"type":"string"},"goal_position":{"type":"string"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/snippets/{snippet_id}":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"snippet_id","type":"string","in":"path","required":true}],"get":{"operationId":"getSiteSnippet","tags":["snippet"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"site_id":{"type":"string"},"title":{"type":"string"},"general":{"type":"string"},"general_position":{"type":"string"},"goal":{"type":"string"},"goal_position":{"type":"string"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"put":{"operationId":"updateSiteSnippet","tags":["snippet"],"consumes":["application/json"],"parameters":[{"name":"snippet","in":"body","schema":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"site_id":{"type":"string"},"title":{"type":"string"},"general":{"type":"string"},"general_position":{"type":"string"},"goal":{"type":"string"},"goal_position":{"type":"string"}}},"required":true}],"responses":{"204":{"description":"No content"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"deleteSiteSnippet","tags":["snippet"],"responses":{"204":{"description":"No content"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/metadata":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"get":{"operationId":"getSiteMetadata","tags":["metadata"],"responses":{"200":{"description":"OK","schema":{"type":"object"}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"put":{"operationId":"updateSiteMetadata","tags":["metadata"],"parameters":[{"name":"metadata","in":"body","schema":{"type":"object"},"required":true}],"responses":{"204":{"description":"No content"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/build_hooks":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"get":{"operationId":"listSiteBuildHooks","tags":["buildHook"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"branch":{"type":"string"},"url":{"type":"string"},"site_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createSiteBuildHook","tags":["buildHook"],"consumes":["application/json"],"parameters":[{"name":"buildHook","in":"body","schema":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"branch":{"type":"string"},"url":{"type":"string"},"site_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}},"required":true}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"branch":{"type":"string"},"url":{"type":"string"},"site_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/build_hooks/{id}":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"id","type":"string","in":"path","required":true}],"get":{"operationId":"getSiteBuildHook","tags":["buildHook"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"branch":{"type":"string"},"url":{"type":"string"},"site_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"put":{"operationId":"updateSiteBuildHook","tags":["buildHook"],"consumes":["application/json"],"parameters":[{"name":"buildHook","in":"body","schema":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"branch":{"type":"string"},"url":{"type":"string"},"site_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}},"required":true}],"responses":{"204":{"description":"No content"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"deleteSiteBuildHook","tags":["buildHook"],"responses":{"204":{"description":"No content"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/deploys":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"get":{"operationId":"listSiteDeploys","tags":["deploy"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createSiteDeploy","tags":["deploy"],"parameters":[{"name":"title","type":"string","in":"query"},{"name":"deploy","in":"body","schema":{"type":"object","properties":{"files":{"type":"object"},"draft":{"type":"boolean"},"async":{"type":"boolean"},"functions":{"type":"object"}}},"required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/deploys/{deploy_id}":{"get":{"operationId":"getSiteDeploy","tags":["deploy"],"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"deploy_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"put":{"operationId":"updateSiteDeploy","tags":["deploy"],"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"deploy_id","type":"string","in":"path","required":true},{"name":"deploy","in":"body","schema":{"type":"object","properties":{"files":{"type":"object"},"draft":{"type":"boolean"},"async":{"type":"boolean"},"functions":{"type":"object"}}},"required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/deploys/{deploy_id}/cancel":{"post":{"operationId":"cancelSiteDeploy","tags":["deploy"],"parameters":[{"name":"deploy_id","type":"string","in":"path","required":true}],"responses":{"201":{"description":"Cancelled","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/deploys/{deploy_id}/restore":{"post":{"operationId":"restoreSiteDeploy","tags":["deploy"],"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"deploy_id","type":"string","in":"path","required":true}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/builds":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"get":{"operationId":"listSiteBuilds","tags":["build"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"deploy_id":{"type":"string"},"sha":{"type":"string"},"done":{"type":"boolean"},"error":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createSiteBuild","tags":["build"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"deploy_id":{"type":"string"},"sha":{"type":"string"},"done":{"type":"boolean"},"error":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/deployed-branches":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"get":{"operationId":"listSiteDeployedBranches","tags":["deployedBranch"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"deploy_id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/builds/{build_id}":{"parameters":[{"name":"build_id","type":"string","in":"path","required":true}],"get":{"operationId":"getSiteBuild","tags":["build"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"deploy_id":{"type":"string"},"sha":{"type":"string"},"done":{"type":"boolean"},"error":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/builds/{build_id}/log":{"parameters":[{"name":"build_id","type":"string","in":"path","required":true},{"name":"msg","in":"body","schema":{"type":"object","properties":{"message":{"type":"string"},"error":{"type":"boolean"}}},"required":true}],"post":{"operationId":"updateSiteBuildLog","tags":["buildLogMsg"],"responses":{"204":{"description":"No content"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/builds/{build_id}/start":{"parameters":[{"name":"build_id","type":"string","in":"path","required":true}],"post":{"operationId":"notifyBuildStart","tags":["build"],"responses":{"204":{"description":"No content"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/dns":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"get":{"operationId":"getDNSForSite","tags":["dnsZone"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"}}}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"put":{"operationId":"configureDNSForSite","tags":["dnsZone"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"}}}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/deploys/{deploy_id}":{"get":{"operationId":"getDeploy","tags":["deploy"],"parameters":[{"name":"deploy_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/deploys/{deploy_id}/lock":{"post":{"operationId":"lockDeploy","tags":["deploy"],"parameters":[{"name":"deploy_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/deploys/{deploy_id}/unlock":{"post":{"operationId":"unlockDeploy","tags":["deploy"],"parameters":[{"name":"deploy_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/deploys/{deploy_id}/files/{path}":{"put":{"operationId":"uploadDeployFile","tags":["file"],"consumes":["application/octet-stream"],"parameters":[{"name":"deploy_id","type":"string","in":"path","required":true},{"name":"path","type":"string","in":"path","required":true},{"name":"size","type":"integer","in":"query"},{"name":"file_body","in":"body","schema":{"type":"string","format":"binary"},"required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"path":{"type":"string"},"sha":{"type":"string"},"mime_type":{"type":"string"},"size":{"type":"integer","format":"int64"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/deploys/{deploy_id}/functions/{name}":{"put":{"operationId":"uploadDeployFunction","tags":["function"],"consumes":["application/octet-stream"],"parameters":[{"name":"deploy_id","type":"string","in":"path","required":true},{"name":"name","type":"string","in":"path","required":true},{"name":"runtime","type":"string","in":"query"},{"name":"size","type":"integer","in":"query"},{"name":"file_body","in":"body","schema":{"type":"string","format":"binary"},"required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"sha":{"type":"string"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/forms":{"get":{"operationId":"listForms","tags":["form"],"parameters":[{"name":"site_id","in":"query","type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}},"submission_count":{"type":"integer","format":"int32"},"fields":{"type":"array","items":{"type":"object"}},"created_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/forms/{form_id}/submissions":{"get":{"operationId":"listFormSubmissions","tags":["submission"],"parameters":[{"name":"form_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"number":{"type":"integer","format":"int32"},"email":{"type":"string"},"name":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"company":{"type":"string"},"summary":{"type":"string"},"body":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"site_url":{"type":"string"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/hooks":{"get":{"operationId":"listHooksBySiteId","tags":["hook"],"parameters":[{"name":"site_id","in":"query","type":"string","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"type":{"type":"string"},"event":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"disabled":{"type":"boolean"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createHookBySiteId","tags":["hook"],"consumes":["application/json"],"parameters":[{"name":"site_id","type":"string","in":"query","required":true},{"name":"hook","in":"body","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"type":{"type":"string"},"event":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"disabled":{"type":"boolean"}}},"required":true}],"responses":{"201":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"type":{"type":"string"},"event":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"disabled":{"type":"boolean"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/hooks/{hook_id}":{"parameters":[{"name":"hook_id","type":"string","in":"path","required":true}],"get":{"operationId":"getHook","tags":["hook"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"type":{"type":"string"},"event":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"disabled":{"type":"boolean"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"put":{"operationId":"updateHook","tags":["hook"],"parameters":[{"name":"hook","in":"body","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"type":{"type":"string"},"event":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"disabled":{"type":"boolean"}}},"required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"type":{"type":"string"},"event":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"disabled":{"type":"boolean"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"deleteHookBySiteId","tags":["hook"],"responses":{"204":{"description":"No content"}}}},"/hooks/{hook_id}/enable":{"parameters":[{"name":"hook_id","type":"string","in":"path","required":true}],"post":{"operationId":"enableHook","tags":["hook"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"type":{"type":"string"},"event":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"disabled":{"type":"boolean"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/hooks/types":{"get":{"operationId":"listHookTypes","tags":["hookType"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"events":{"type":"array","items":{"type":"string"}},"fields":{"type":"array","items":{"type":"object"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/oauth/tickets":{"post":{"operationId":"createTicket","tags":["ticket"],"parameters":[{"name":"client_id","type":"string","in":"query","required":true}],"responses":{"201":{"description":"ok","schema":{"type":"object","properties":{"id":{"type":"string"},"client_id":{"type":"string"},"authorized":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/oauth/tickets/{ticket_id}":{"get":{"operationId":"showTicket","tags":["ticket"],"parameters":[{"name":"ticket_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"ok","schema":{"type":"object","properties":{"id":{"type":"string"},"client_id":{"type":"string"},"authorized":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/oauth/tickets/{ticket_id}/exchange":{"post":{"operationId":"exchangeTicket","tags":["accessToken"],"parameters":[{"name":"ticket_id","type":"string","in":"path","required":true}],"responses":{"201":{"description":"ok","schema":{"type":"object","properties":{"id":{"type":"string"},"access_token":{"type":"string"},"user_id":{"type":"string"},"user_email":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/deploy_keys":{"get":{"operationId":"listDeployKeys","tags":["deployKey"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"public_key":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createDeployKey","tags":["deployKey"],"consumes":["application/json"],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"public_key":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/deploy_keys/{key_id}":{"parameters":[{"name":"key_id","type":"string","in":"path","required":true}],"get":{"operationId":"getDeployKey","tags":["deployKey"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"public_key":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"deleteDeployKey","tags":["deployKey"],"responses":{"204":{"description":"Not Content"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/{account_slug}/sites":{"post":{"operationId":"createSiteInTeam","tags":["site"],"consumes":["application/json"],"parameters":[{"name":"site","in":"body","schema":{"allOf":[{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}},{"properties":{"repo":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"}}}}}]}},{"name":"configure_dns","type":"boolean","in":"query"},{"name":"account_slug","in":"path","type":"string","required":true}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"get":{"operationId":"listSitesForAccount","tags":["site"],"parameters":[{"name":"name","in":"query","type":"string"},{"name":"account_slug","in":"path","type":"string","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/{account_slug}/members":{"parameters":[{"name":"account_slug","in":"path","type":"string","required":true}],"get":{"operationId":"listMembersForAccount","tags":["member"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"full_name":{"type":"string"},"email":{"type":"string"},"avatar":{"type":"string"},"role":{"type":"string"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"addMemberToAccount","tags":["member"],"parameters":[{"name":"role","in":"query","type":"string","enum":["Owner","Collaborator","Controller"]},{"name":"email","in":"query","type":"string","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"full_name":{"type":"string"},"email":{"type":"string"},"avatar":{"type":"string"},"role":{"type":"string"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/billing/payment_methods":{"get":{"operationId":"listPaymentMethodsForUser","tags":["paymentMethod"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"method_name":{"type":"string"},"type":{"type":"string"},"state":{"type":"string"},"data":{"type":"object","properties":{"card_type":{"type":"string"},"last4":{"type":"string"},"email":{"type":"string"}}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/accounts/types":{"get":{"operationId":"listAccountTypesForUser","tags":["accountType"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"capabilities":{"type":"object"},"monthly_dollar_price":{"type":"integer"},"yearly_dollar_price":{"type":"integer"},"monthly_seats_addon_dollar_price":{"type":"integer"},"yearly_seats_addon_dollar_price":{"type":"integer"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/accounts":{"get":{"operationId":"listAccountsForUser","tags":["accountMembership"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"type":{"type":"string"},"capabilities":{"type":"object","properties":{"sites":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}},"collaborators":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}}}},"billing_name":{"type":"string"},"billing_email":{"type":"string"},"billing_details":{"type":"string"},"billing_period":{"type":"string"},"payment_method_id":{"type":"string"},"type_name":{"type":"string"},"type_id":{"type":"string"},"owner_ids":{"type":"array","items":{"type":"string"}},"roles_allowed":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createAccount","tags":["accountMembership"],"parameters":[{"name":"accountSetup","in":"body","schema":{"type":"object","required":["name","type_id"],"properties":{"name":{"type":"string"},"type_id":{"type":"string"},"payment_method_id":{"type":"string"},"period":{"type":"string","enum":["monthly","yearly"]},"extra_seats_block":{"type":"integer"}}},"required":true}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"type":{"type":"string"},"capabilities":{"type":"object","properties":{"sites":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}},"collaborators":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}}}},"billing_name":{"type":"string"},"billing_email":{"type":"string"},"billing_details":{"type":"string"},"billing_period":{"type":"string"},"payment_method_id":{"type":"string"},"type_name":{"type":"string"},"type_id":{"type":"string"},"owner_ids":{"type":"array","items":{"type":"string"}},"roles_allowed":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/accounts/{account_id}":{"parameters":[{"name":"account_id","type":"string","in":"path","required":true}],"get":{"operationId":"getAccount","tags":["accountMembership"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"type":{"type":"string"},"capabilities":{"type":"object","properties":{"sites":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}},"collaborators":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}}}},"billing_name":{"type":"string"},"billing_email":{"type":"string"},"billing_details":{"type":"string"},"billing_period":{"type":"string"},"payment_method_id":{"type":"string"},"type_name":{"type":"string"},"type_id":{"type":"string"},"owner_ids":{"type":"array","items":{"type":"string"}},"roles_allowed":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"put":{"operationId":"updateAccount","tags":["accountMembership"],"parameters":[{"name":"accountUpdateSetup","in":"body","schema":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"},"type_id":{"type":"string"},"extra_seats_block":{"type":"integer"},"billing_name":{"type":"string"},"billing_email":{"type":"string"},"billing_details":{"type":"string"}}}}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"type":{"type":"string"},"capabilities":{"type":"object","properties":{"sites":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}},"collaborators":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}}}},"billing_name":{"type":"string"},"billing_email":{"type":"string"},"billing_details":{"type":"string"},"billing_period":{"type":"string"},"payment_method_id":{"type":"string"},"type_name":{"type":"string"},"type_id":{"type":"string"},"owner_ids":{"type":"array","items":{"type":"string"}},"roles_allowed":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"cancelAccount","tags":["accountMembership"],"responses":{"204":{"description":"Not Content"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/accounts/{account_id}/audit":{"parameters":[{"name":"account_id","type":"string","in":"path","required":true}],"get":{"operationId":"listAccountAuditEvents","tags":["auditLog"],"parameters":[{"name":"query","type":"string","in":"query"},{"name":"log_type","type":"string","in":"query"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"account_id":{"type":"string"},"payload":{"type":"object","properties":{"actor_id":{"type":"string"},"actor_name":{"type":"string"},"actor_email":{"type":"string"},"action":{"type":"string"},"timestamp":{"type":"string","format":"dateTime"},"log_type":{"type":"string"}},"additionalProperties":{"type":"object"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/submissions/{submission_id}":{"parameters":[{"name":"submission_id","type":"string","in":"path","required":true}],"get":{"operationId":"listFormSubmission","tags":["submission"],"parameters":[{"name":"query","type":"string","in":"query"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"number":{"type":"integer","format":"int32"},"email":{"type":"string"},"name":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"company":{"type":"string"},"summary":{"type":"string"},"body":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"site_url":{"type":"string"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"deleteSubmission","tags":["submission"],"responses":{"204":{"description":"Deleted"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/services/{addon}/instances":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"addon","type":"string","in":"path","required":true}],"post":{"operationId":"createServiceInstance","tags":["serviceInstance"],"consumes":["application/json"],"parameters":[{"name":"config","in":"body","required":true,"schema":{"type":"object"}}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"config":{"type":"object"},"external_attributes":{"type":"object"},"service_slug":{"type":"string"},"service_path":{"type":"string"},"service_name":{"type":"string"},"env":{"type":"object"},"snippets":{"type":"array","items":{"type":"object"}},"auth_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"get":{"operationId":"showServiceInstance","tags":["serviceInstance"],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"config":{"type":"object"},"external_attributes":{"type":"object"},"service_slug":{"type":"string"},"service_path":{"type":"string"},"service_name":{"type":"string"},"env":{"type":"object"},"snippets":{"type":"array","items":{"type":"object"}},"auth_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"put":{"operationId":"updateServiceInstance","tags":["serviceInstance"],"consumes":["application/json"],"parameters":[{"name":"config","in":"body","required":true,"schema":{"type":"object"}}],"responses":{"204":{"description":"Created"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"deleteServiceInstance","tags":["serviceInstance"],"responses":{"204":{"description":"Deleted"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/services/":{"parameters":[{"name":"search","type":"string","in":"query"}],"get":{"operationId":"getServices","tags":["service"],"responses":{"200":{"description":"services","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"service_path":{"type":"string"},"long_description":{"type":"string"},"description":{"type":"string"},"events":{"type":"array","items":{"type":"object"}},"tags":{"type":"array","items":{"type":"string"}},"icon":{"type":"string"},"manifest_url":{"type":"string"},"environments":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/services/{addonName}":{"parameters":[{"name":"addonName","type":"string","in":"path","required":true}],"get":{"operationId":"showService","tags":["service"],"responses":{"200":{"description":"services","schema":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"config":{"type":"object"},"external_attributes":{"type":"object"},"service_slug":{"type":"string"},"service_path":{"type":"string"},"service_name":{"type":"string"},"env":{"type":"object"},"snippets":{"type":"array","items":{"type":"object"}},"auth_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/services/{addonName}/manifest":{"parameters":[{"name":"addonName","type":"string","in":"path","required":true}],"get":{"operationId":"showServiceManifest","tags":["service"],"responses":{"201":{"description":"retrieving from provider","schema":{"type":"object"}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/user":{"get":{"operationId":"getCurrentUser","tags":["user"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"uid":{"type":"string"},"full_name":{"type":"string"},"avatar_url":{"type":"string"},"email":{"type":"string"},"affiliate_id":{"type":"string"},"site_count":{"type":"integer","format":"int64"},"created_at":{"type":"string","format":"dateTime"},"last_login":{"type":"string","format":"dateTime"},"login_providers":{"type":"array","items":{"type":"string"}},"onboarding_progress":{"type":"object","properties":{"slides":{"type":"string"}}},"support_priority":{"type":"integer","format":"int64"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/site/{site_id}/traffic_splits":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"post":{"operationId":"createSplitTest","tags":["splitTest"],"consumes":["application/json"],"parameters":[{"name":"branch_tests","in":"body","required":true,"schema":{"type":"object","properties":{"branch_tests":{"type":"object"}}}}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"},"path":{"type":"string"},"branches":{"type":"array","items":{"type":"object"}},"active":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"unpublished_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"get":{"operationId":"getSplitTests","tags":["splitTest"],"responses":{"200":{"description":"split_tests","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"},"path":{"type":"string"},"branches":{"type":"array","items":{"type":"object"}},"active":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"unpublished_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/site/{site_id}/traffic_splits/{split_test_id}":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"split_test_id","type":"string","in":"path","required":true}],"put":{"operationId":"updateSplitTest","tags":["splitTest"],"consumes":["application/json"],"parameters":[{"name":"branch_tests","in":"body","required":true,"schema":{"type":"object","properties":{"branch_tests":{"type":"object"}}}}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"},"path":{"type":"string"},"branches":{"type":"array","items":{"type":"object"}},"active":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"unpublished_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"get":{"operationId":"getSplitTest","tags":["splitTest"],"responses":{"200":{"description":"split_test","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"},"path":{"type":"string"},"branches":{"type":"array","items":{"type":"object"}},"active":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"unpublished_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/site/{site_id}/traffic_splits/{split_test_id}/publish":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"split_test_id","type":"string","in":"path","required":true}],"post":{"operationId":"enableSplitTest","tags":["splitTest"],"responses":{"204":{"description":"enable"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/site/{site_id}/traffic_splits/{split_test_id}/unpublish":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"split_test_id","type":"string","in":"path","required":true}],"post":{"operationId":"disableSplitTest","tags":["splitTest"],"responses":{"204":{"description":"disabled"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}}},"definitions":{"splitTestSetup":{"type":"object","properties":{"branch_tests":{"type":"object"}}},"splitTests":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"},"path":{"type":"string"},"branches":{"type":"array","items":{"type":"object"}},"active":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"unpublished_at":{"type":"string","format":"dateTime"}}}},"splitTest":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"},"path":{"type":"string"},"branches":{"type":"array","items":{"type":"object"}},"active":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"unpublished_at":{"type":"string","format":"dateTime"}}},"serviceInstance":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"config":{"type":"object"},"external_attributes":{"type":"object"},"service_slug":{"type":"string"},"service_path":{"type":"string"},"service_name":{"type":"string"},"env":{"type":"object"},"snippets":{"type":"array","items":{"type":"object"}},"auth_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}},"service":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"service_path":{"type":"string"},"long_description":{"type":"string"},"description":{"type":"string"},"events":{"type":"array","items":{"type":"object"}},"tags":{"type":"array","items":{"type":"string"}},"icon":{"type":"string"},"manifest_url":{"type":"string"},"environments":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}},"site":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}},"siteSetup":{"allOf":[{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}},{"properties":{"repo":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"}}}}}]},"repoInfo":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"}}},"submission":{"type":"object","properties":{"id":{"type":"string"},"number":{"type":"integer","format":"int32"},"email":{"type":"string"},"name":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"company":{"type":"string"},"summary":{"type":"string"},"body":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"site_url":{"type":"string"}}},"form":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}},"submission_count":{"type":"integer","format":"int32"},"fields":{"type":"array","items":{"type":"object"}},"created_at":{"type":"string","format":"dateTime"}}},"hookType":{"type":"object","properties":{"name":{"type":"string"},"events":{"type":"array","items":{"type":"string"}},"fields":{"type":"array","items":{"type":"object"}}}},"hook":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"type":{"type":"string"},"event":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"disabled":{"type":"boolean"}}},"file":{"type":"object","properties":{"id":{"type":"string"},"path":{"type":"string"},"sha":{"type":"string"},"mime_type":{"type":"string"},"size":{"type":"integer","format":"int64"}}},"function":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"sha":{"type":"string"}}},"snippet":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"site_id":{"type":"string"},"title":{"type":"string"},"general":{"type":"string"},"general_position":{"type":"string"},"goal":{"type":"string"},"goal_position":{"type":"string"}}},"deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"deployFiles":{"type":"object","properties":{"files":{"type":"object"},"draft":{"type":"boolean"},"async":{"type":"boolean"},"functions":{"type":"object"}}},"build":{"type":"object","properties":{"id":{"type":"string"},"deploy_id":{"type":"string"},"sha":{"type":"string"},"done":{"type":"boolean"},"error":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}},"buildLogMsg":{"type":"object","properties":{"message":{"type":"string"},"error":{"type":"boolean"}}},"metadata":{"type":"object"},"dnsZone":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"}}}}}},"dnsRecord":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"}}},"sniCertificate":{"type":"object","properties":{"state":{"type":"string"},"domains":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"expires_at":{"type":"string","format":"dateTime"}}},"ticket":{"type":"object","properties":{"id":{"type":"string"},"client_id":{"type":"string"},"authorized":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"}}},"accessToken":{"type":"object","properties":{"id":{"type":"string"},"access_token":{"type":"string"},"user_id":{"type":"string"},"user_email":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}},"asset":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"creator_id":{"type":"string"},"name":{"type":"string"},"state":{"type":"string"},"content_type":{"type":"string"},"url":{"type":"string"},"key":{"type":"string"},"visibility":{"type":"string"},"size":{"type":"integer","format":"int64"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}},"assetForm":{"type":"object","properties":{"url":{"type":"string"},"fields":{"type":"object","additionalProperties":{"type":"string"}}}},"assetSignature":{"type":"object","properties":{"form":{"type":"object","properties":{"url":{"type":"string"},"fields":{"type":"object","additionalProperties":{"type":"string"}}}},"asset":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"creator_id":{"type":"string"},"name":{"type":"string"},"state":{"type":"string"},"content_type":{"type":"string"},"url":{"type":"string"},"key":{"type":"string"},"visibility":{"type":"string"},"size":{"type":"integer","format":"int64"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}}},"assetPublicSignature":{"type":"object","properties":{"url":{"type":"string"}}},"deployKey":{"type":"object","properties":{"id":{"type":"string"},"public_key":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}},"member":{"type":"object","properties":{"id":{"type":"string"},"full_name":{"type":"string"},"email":{"type":"string"},"avatar":{"type":"string"},"role":{"type":"string"}}},"paymentMethod":{"type":"object","properties":{"id":{"type":"string"},"method_name":{"type":"string"},"type":{"type":"string"},"state":{"type":"string"},"data":{"type":"object","properties":{"card_type":{"type":"string"},"last4":{"type":"string"},"email":{"type":"string"}}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}},"accountType":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"capabilities":{"type":"object"},"monthly_dollar_price":{"type":"integer"},"yearly_dollar_price":{"type":"integer"},"monthly_seats_addon_dollar_price":{"type":"integer"},"yearly_seats_addon_dollar_price":{"type":"integer"}}},"accountSetup":{"type":"object","required":["name","type_id"],"properties":{"name":{"type":"string"},"type_id":{"type":"string"},"payment_method_id":{"type":"string"},"period":{"type":"string","enum":["monthly","yearly"]},"extra_seats_block":{"type":"integer"}}},"accountUpdateSetup":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"},"type_id":{"type":"string"},"extra_seats_block":{"type":"integer"},"billing_name":{"type":"string"},"billing_email":{"type":"string"},"billing_details":{"type":"string"}}},"accountMembership":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"type":{"type":"string"},"capabilities":{"type":"object","properties":{"sites":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}},"collaborators":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}}}},"billing_name":{"type":"string"},"billing_email":{"type":"string"},"billing_details":{"type":"string"},"billing_period":{"type":"string"},"payment_method_id":{"type":"string"},"type_name":{"type":"string"},"type_id":{"type":"string"},"owner_ids":{"type":"array","items":{"type":"string"}},"roles_allowed":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}},"auditLog":{"type":"object","properties":{"id":{"type":"string"},"account_id":{"type":"string"},"payload":{"type":"object","properties":{"actor_id":{"type":"string"},"actor_name":{"type":"string"},"actor_email":{"type":"string"},"action":{"type":"string"},"timestamp":{"type":"string","format":"dateTime"},"log_type":{"type":"string"}},"additionalProperties":{"type":"object"}}}},"accountUsageCapability":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}},"minifyOptions":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"buildHook":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"branch":{"type":"string"},"url":{"type":"string"},"site_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}},"deployedBranch":{"type":"object","properties":{"id":{"type":"string"},"deploy_id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"}}},"user":{"type":"object","properties":{"id":{"type":"string"},"uid":{"type":"string"},"full_name":{"type":"string"},"avatar_url":{"type":"string"},"email":{"type":"string"},"affiliate_id":{"type":"string"},"site_count":{"type":"integer","format":"int64"},"created_at":{"type":"string","format":"dateTime"},"last_login":{"type":"string","format":"dateTime"},"login_providers":{"type":"array","items":{"type":"string"}},"onboarding_progress":{"type":"object","properties":{"slides":{"type":"string"}}},"support_priority":{"type":"integer","format":"int64"}}},"error":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}},"x-tagGroups":[{"name":"OAuth","tags":["ticket","accessToken"]},{"name":"User accounts","tags":["user","accountMembership","member","accountType","paymentMethod","auditLog"]},{"name":"Site","tags":["site","file","metadata","snippet"]},{"name":"Domain names","tags":["dnsZone","sniCertificate"]},{"name":"Deploys","tags":["deploy","deployedBranch","deployKey"]},{"name":"Builds","tags":["build","buildLogMsg"]},{"name":"Webhooks and notifications","tags":["hook","hookType","buildHook"]},{"name":"Services","tags":["service","serviceInstance"]},{"name":"Functions","tags":["function"]},{"name":"Forms","tags":["form","submission"]},{"name":"Split tests","tags":["splitTest"]},{"name":"Large media","tags":["asset","assetPublicSignature"]}],"tags":[{"name":"ticket","x-displayName":"Ticket"},{"name":"accessToken","x-displayName":"Access token"},{"name":"user","x-displayName":"User"},{"name":"accountMembership","x-displayName":"Accounts"},{"name":"member","x-displayName":"Member"},{"name":"accountType","x-displayName":"Access type"},{"name":"paymentMethod","x-displayName":"Payment method"},{"name":"auditLog","x-displayName":"Audit log"},{"name":"site","x-displayName":"Site"},{"name":"file","x-displayName":"File"},{"name":"metadata","x-displayName":"Metadata"},{"name":"snippet","x-displayName":"Snippet"},{"name":"dnsZone","x-displayName":"DNS zone"},{"name":"sniCertificate","x-displayName":"SNI certificate"},{"name":"deploy","x-displayName":"Deploy"},{"name":"deployedBranch","x-displayName":"Deployed branch"},{"name":"deployKey","x-displayName":"Deploy key"},{"name":"build","x-displayName":"Build"},{"name":"buildLogMsg","x-displayName":"Build log message"},{"name":"hook","x-displayName":"Hook"},{"name":"hookType","x-displayName":"Hook type"},{"name":"buildHook","x-displayName":"Build hook"},{"name":"service","x-displayName":"Service"},{"name":"serviceInstance","x-displayName":"Service instance"},{"name":"function","x-displayName":"Function"},{"name":"form","x-displayName":"Form"},{"name":"submission","x-displayName":"Form submission"},{"name":"splitTest","x-displayName":"Split test"},{"name":"asset","x-displayName":"Asset"},{"name":"assetPublicSignature","x-displayName":"Asset public signature"}]}; +module.exports = {"swagger":"2.0","info":{"version":"0.14.0","title":"Netlify's API documentation","description":"Netlify is a hosting service for the programmable web. It understands your documents and provides an API to handle atomic deploys of websites, manage form submissions, inject JavaScript snippets, and much more. This is a REST-style API that uses JSON for serialization and OAuth 2 for authentication.\n\nThis document is an OpenAPI reference for the Netlify API that you can explore. For more detailed instructions for common uses, please visit the [online documentation](https://www.netlify.com/docs/api/). Visit our Community forum to join the conversation about [understanding and using Netlify’s API](https://community.netlify.com/t/common-issue-understanding-and-using-netlifys-api/160).\n\nAdditionally, we have two API clients for your convenience:\n- [Go Client](https://github.com/netlify/open-api#go-client)\n- [JS Client](https://github.com/netlify/js-client)","termsOfService":"https://www.netlify.com/legal/terms-of-use/","x-logo":{"url":"netlify-logo.png","href":"https://www.netlify.com/docs/","altText":"Netlify"}},"externalDocs":{"url":"https://www.netlify.com/docs/api/","description":"Online documentation"},"securityDefinitions":{"netlifyAuth":{"type":"oauth2","flow":"implicit","authorizationUrl":"https://app.netlify.com/authorize"}},"security":[{"netlifyAuth":[]}],"consumes":["application/json"],"produces":["application/json"],"schemes":["https"],"responses":{"error":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}},"host":"api.netlify.com","basePath":"/api/v1","paths":{"/sites":{"get":{"operationId":"listSites","tags":["site"],"parameters":[{"name":"name","in":"query","type":"string"},{"name":"filter","in":"query","type":"string","enum":["all","owner","guest"]}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createSite","tags":["site"],"consumes":["application/json"],"parameters":[{"name":"site","in":"body","schema":{"allOf":[{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}},{"properties":{"repo":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}}}}]},"required":true},{"name":"configure_dns","type":"boolean","in":"query"}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"get":{"operationId":"getSite","tags":["site"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"patch":{"operationId":"updateSite","tags":["site"],"consumes":["application/json"],"parameters":[{"name":"site","in":"body","schema":{"allOf":[{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}},{"properties":{"repo":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}}}}]},"required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"deleteSite","tags":["site"],"responses":{"204":{"description":"Deleted"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/ssl":{"post":{"operationId":"provisionSiteTLSCertificate","tags":["sniCertificate"],"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"certificate","type":"string","in":"query"},{"name":"key","type":"string","in":"query"},{"name":"ca_certificates","type":"string","in":"query"}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"state":{"type":"string"},"domains":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"expires_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"get":{"operationId":"showSiteTLSCertificate","tags":["sniCertificate"],"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"state":{"type":"string"},"domains":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"expires_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/forms":{"get":{"operationId":"listSiteForms","tags":["form"],"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}},"submission_count":{"type":"integer","format":"int32"},"fields":{"type":"array","items":{"type":"object"}},"created_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/submissions":{"get":{"operationId":"listSiteSubmissions","tags":["submission"],"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"number":{"type":"integer","format":"int32"},"email":{"type":"string"},"name":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"company":{"type":"string"},"summary":{"type":"string"},"body":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"site_url":{"type":"string"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/files":{"get":{"operationId":"listSiteFiles","tags":["file"],"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"path":{"type":"string"},"sha":{"type":"string"},"mime_type":{"type":"string"},"size":{"type":"integer","format":"int64"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/assets":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"get":{"operationId":"listSiteAssets","tags":["asset"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"creator_id":{"type":"string"},"name":{"type":"string"},"state":{"type":"string"},"content_type":{"type":"string"},"url":{"type":"string"},"key":{"type":"string"},"visibility":{"type":"string"},"size":{"type":"integer","format":"int64"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createSiteAsset","tags":["asset"],"parameters":[{"name":"name","type":"string","in":"query","required":true},{"name":"size","type":"integer","format":"int64","in":"query","required":true},{"name":"content_type","type":"string","in":"query","required":true},{"name":"visibility","type":"string","in":"query"}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"form":{"type":"object","properties":{"url":{"type":"string"},"fields":{"type":"object","additionalProperties":{"type":"string"}}}},"asset":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"creator_id":{"type":"string"},"name":{"type":"string"},"state":{"type":"string"},"content_type":{"type":"string"},"url":{"type":"string"},"key":{"type":"string"},"visibility":{"type":"string"},"size":{"type":"integer","format":"int64"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/assets/{asset_id}":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"asset_id","type":"string","in":"path","required":true}],"get":{"operationId":"getSiteAssetInfo","tags":["asset"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"creator_id":{"type":"string"},"name":{"type":"string"},"state":{"type":"string"},"content_type":{"type":"string"},"url":{"type":"string"},"key":{"type":"string"},"visibility":{"type":"string"},"size":{"type":"integer","format":"int64"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"put":{"operationId":"updateSiteAsset","tags":["asset"],"parameters":[{"name":"state","type":"string","in":"query","required":true}],"responses":{"200":{"description":"Updated","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"creator_id":{"type":"string"},"name":{"type":"string"},"state":{"type":"string"},"content_type":{"type":"string"},"url":{"type":"string"},"key":{"type":"string"},"visibility":{"type":"string"},"size":{"type":"integer","format":"int64"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"deleteSiteAsset","tags":["asset"],"responses":{"204":{"description":"Deleted"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/assets/{asset_id}/public_signature":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"asset_id","type":"string","in":"path","required":true}],"get":{"operationId":"getSiteAssetPublicSignature","tags":["assetPublicSignature"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"url":{"type":"string"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/files/{file_path}":{"get":{"operationId":"getSiteFileByPathName","tags":["file"],"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"file_path","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"path":{"type":"string"},"sha":{"type":"string"},"mime_type":{"type":"string"},"size":{"type":"integer","format":"int64"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/snippets":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"get":{"operationId":"listSiteSnippets","tags":["snippet"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"site_id":{"type":"string"},"title":{"type":"string"},"general":{"type":"string"},"general_position":{"type":"string"},"goal":{"type":"string"},"goal_position":{"type":"string"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createSiteSnippet","tags":["snippet"],"consumes":["application/json"],"parameters":[{"name":"snippet","in":"body","schema":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"site_id":{"type":"string"},"title":{"type":"string"},"general":{"type":"string"},"general_position":{"type":"string"},"goal":{"type":"string"},"goal_position":{"type":"string"}}},"required":true}],"responses":{"201":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"site_id":{"type":"string"},"title":{"type":"string"},"general":{"type":"string"},"general_position":{"type":"string"},"goal":{"type":"string"},"goal_position":{"type":"string"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/snippets/{snippet_id}":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"snippet_id","type":"string","in":"path","required":true}],"get":{"operationId":"getSiteSnippet","tags":["snippet"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"site_id":{"type":"string"},"title":{"type":"string"},"general":{"type":"string"},"general_position":{"type":"string"},"goal":{"type":"string"},"goal_position":{"type":"string"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"put":{"operationId":"updateSiteSnippet","tags":["snippet"],"consumes":["application/json"],"parameters":[{"name":"snippet","in":"body","schema":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"site_id":{"type":"string"},"title":{"type":"string"},"general":{"type":"string"},"general_position":{"type":"string"},"goal":{"type":"string"},"goal_position":{"type":"string"}}},"required":true}],"responses":{"204":{"description":"No content"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"deleteSiteSnippet","tags":["snippet"],"responses":{"204":{"description":"No content"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/metadata":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"get":{"operationId":"getSiteMetadata","tags":["metadata"],"responses":{"200":{"description":"OK","schema":{"type":"object"}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"put":{"operationId":"updateSiteMetadata","tags":["metadata"],"parameters":[{"name":"metadata","in":"body","schema":{"type":"object"},"required":true}],"responses":{"204":{"description":"No content"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/build_hooks":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"get":{"operationId":"listSiteBuildHooks","tags":["buildHook"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"branch":{"type":"string"},"url":{"type":"string"},"site_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createSiteBuildHook","tags":["buildHook"],"consumes":["application/json"],"parameters":[{"name":"buildHook","in":"body","schema":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"branch":{"type":"string"},"url":{"type":"string"},"site_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}},"required":true}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"branch":{"type":"string"},"url":{"type":"string"},"site_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/build_hooks/{id}":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"id","type":"string","in":"path","required":true}],"get":{"operationId":"getSiteBuildHook","tags":["buildHook"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"branch":{"type":"string"},"url":{"type":"string"},"site_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"put":{"operationId":"updateSiteBuildHook","tags":["buildHook"],"consumes":["application/json"],"parameters":[{"name":"buildHook","in":"body","schema":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"branch":{"type":"string"},"url":{"type":"string"},"site_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}},"required":true}],"responses":{"204":{"description":"No content"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"deleteSiteBuildHook","tags":["buildHook"],"responses":{"204":{"description":"No content"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/deploys":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"get":{"operationId":"listSiteDeploys","tags":["deploy"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createSiteDeploy","tags":["deploy"],"parameters":[{"name":"title","type":"string","in":"query"},{"name":"deploy","in":"body","schema":{"type":"object","properties":{"files":{"type":"object"},"draft":{"type":"boolean"},"async":{"type":"boolean"},"functions":{"type":"object"}}},"required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/deploys/{deploy_id}":{"get":{"operationId":"getSiteDeploy","tags":["deploy"],"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"deploy_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"put":{"operationId":"updateSiteDeploy","tags":["deploy"],"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"deploy_id","type":"string","in":"path","required":true},{"name":"deploy","in":"body","schema":{"type":"object","properties":{"files":{"type":"object"},"draft":{"type":"boolean"},"async":{"type":"boolean"},"functions":{"type":"object"}}},"required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/deploys/{deploy_id}/cancel":{"post":{"operationId":"cancelSiteDeploy","tags":["deploy"],"parameters":[{"name":"deploy_id","type":"string","in":"path","required":true}],"responses":{"201":{"description":"Cancelled","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/deploys/{deploy_id}/restore":{"post":{"operationId":"restoreSiteDeploy","tags":["deploy"],"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"deploy_id","type":"string","in":"path","required":true}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/builds":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"get":{"operationId":"listSiteBuilds","tags":["build"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"deploy_id":{"type":"string"},"sha":{"type":"string"},"done":{"type":"boolean"},"error":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createSiteBuild","tags":["build"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"deploy_id":{"type":"string"},"sha":{"type":"string"},"done":{"type":"boolean"},"error":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/deployed-branches":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"get":{"operationId":"listSiteDeployedBranches","tags":["deployedBranch"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"deploy_id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/builds/{build_id}":{"parameters":[{"name":"build_id","type":"string","in":"path","required":true}],"get":{"operationId":"getSiteBuild","tags":["build"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"deploy_id":{"type":"string"},"sha":{"type":"string"},"done":{"type":"boolean"},"error":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/builds/{build_id}/log":{"parameters":[{"name":"build_id","type":"string","in":"path","required":true},{"name":"msg","in":"body","schema":{"type":"object","properties":{"message":{"type":"string"},"error":{"type":"boolean"}}},"required":true}],"post":{"operationId":"updateSiteBuildLog","tags":["buildLogMsg"],"responses":{"204":{"description":"No content"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/builds/{build_id}/start":{"parameters":[{"name":"build_id","type":"string","in":"path","required":true}],"post":{"operationId":"notifyBuildStart","tags":["build"],"responses":{"204":{"description":"No content"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/dns":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"get":{"operationId":"getDNSForSite","tags":["dnsZone"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"errors":{"type":"array","items":{"type":"string"}},"supported_record_types":{"type":"array","items":{"type":"string"}},"user_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"dns_zone_id":{"type":"string"},"site_id":{"type":"string"},"flag":{"type":"integer"},"tag":{"type":"string"},"managed":{"type":"boolean"}}}},"dns_servers":{"type":"array","items":{"type":"string"}},"account_id":{"type":"string"},"site_id":{"type":"string"},"account_slug":{"type":"string"},"account_name":{"type":"string"},"domain":{"type":"string"},"ipv6_enabled":{"type":"boolean"},"dedicated":{"type":"boolean"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"put":{"operationId":"configureDNSForSite","tags":["dnsZone"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"errors":{"type":"array","items":{"type":"string"}},"supported_record_types":{"type":"array","items":{"type":"string"}},"user_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"dns_zone_id":{"type":"string"},"site_id":{"type":"string"},"flag":{"type":"integer"},"tag":{"type":"string"},"managed":{"type":"boolean"}}}},"dns_servers":{"type":"array","items":{"type":"string"}},"account_id":{"type":"string"},"site_id":{"type":"string"},"account_slug":{"type":"string"},"account_name":{"type":"string"},"domain":{"type":"string"},"ipv6_enabled":{"type":"boolean"},"dedicated":{"type":"boolean"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/deploys/{deploy_id}":{"get":{"operationId":"getDeploy","tags":["deploy"],"parameters":[{"name":"deploy_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/deploys/{deploy_id}/lock":{"post":{"operationId":"lockDeploy","tags":["deploy"],"parameters":[{"name":"deploy_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/deploys/{deploy_id}/unlock":{"post":{"operationId":"unlockDeploy","tags":["deploy"],"parameters":[{"name":"deploy_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/deploys/{deploy_id}/files/{path}":{"put":{"operationId":"uploadDeployFile","tags":["file"],"consumes":["application/octet-stream"],"parameters":[{"name":"deploy_id","type":"string","in":"path","required":true},{"name":"path","type":"string","in":"path","required":true},{"name":"size","type":"integer","in":"query"},{"name":"file_body","in":"body","schema":{"type":"string","format":"binary"},"required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"path":{"type":"string"},"sha":{"type":"string"},"mime_type":{"type":"string"},"size":{"type":"integer","format":"int64"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/deploys/{deploy_id}/functions/{name}":{"put":{"operationId":"uploadDeployFunction","tags":["function"],"consumes":["application/octet-stream"],"parameters":[{"name":"deploy_id","type":"string","in":"path","required":true},{"name":"name","type":"string","in":"path","required":true},{"name":"runtime","type":"string","in":"query"},{"name":"size","type":"integer","in":"query"},{"name":"file_body","in":"body","schema":{"type":"string","format":"binary"},"required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"sha":{"type":"string"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/forms":{"get":{"operationId":"listForms","tags":["form"],"parameters":[{"name":"site_id","in":"query","type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}},"submission_count":{"type":"integer","format":"int32"},"fields":{"type":"array","items":{"type":"object"}},"created_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/forms/{form_id}/submissions":{"get":{"operationId":"listFormSubmissions","tags":["submission"],"parameters":[{"name":"form_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"number":{"type":"integer","format":"int32"},"email":{"type":"string"},"name":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"company":{"type":"string"},"summary":{"type":"string"},"body":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"site_url":{"type":"string"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/hooks":{"get":{"operationId":"listHooksBySiteId","tags":["hook"],"parameters":[{"name":"site_id","in":"query","type":"string","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"type":{"type":"string"},"event":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"disabled":{"type":"boolean"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createHookBySiteId","tags":["hook"],"consumes":["application/json"],"parameters":[{"name":"site_id","type":"string","in":"query","required":true},{"name":"hook","in":"body","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"type":{"type":"string"},"event":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"disabled":{"type":"boolean"}}},"required":true}],"responses":{"201":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"type":{"type":"string"},"event":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"disabled":{"type":"boolean"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/hooks/{hook_id}":{"parameters":[{"name":"hook_id","type":"string","in":"path","required":true}],"get":{"operationId":"getHook","tags":["hook"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"type":{"type":"string"},"event":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"disabled":{"type":"boolean"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"put":{"operationId":"updateHook","tags":["hook"],"parameters":[{"name":"hook","in":"body","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"type":{"type":"string"},"event":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"disabled":{"type":"boolean"}}},"required":true}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"type":{"type":"string"},"event":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"disabled":{"type":"boolean"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"deleteHook","tags":["hook"],"responses":{"204":{"description":"No content"}}}},"/hooks/{hook_id}/enable":{"parameters":[{"name":"hook_id","type":"string","in":"path","required":true}],"post":{"operationId":"enableHook","tags":["hook"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"type":{"type":"string"},"event":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"disabled":{"type":"boolean"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/hooks/types":{"get":{"operationId":"listHookTypes","tags":["hookType"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"events":{"type":"array","items":{"type":"string"}},"fields":{"type":"array","items":{"type":"object"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/oauth/tickets":{"post":{"operationId":"createTicket","tags":["ticket"],"parameters":[{"name":"client_id","type":"string","in":"query","required":true}],"responses":{"201":{"description":"ok","schema":{"type":"object","properties":{"id":{"type":"string"},"client_id":{"type":"string"},"authorized":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/oauth/tickets/{ticket_id}":{"get":{"operationId":"showTicket","tags":["ticket"],"parameters":[{"name":"ticket_id","type":"string","in":"path","required":true}],"responses":{"200":{"description":"ok","schema":{"type":"object","properties":{"id":{"type":"string"},"client_id":{"type":"string"},"authorized":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/oauth/tickets/{ticket_id}/exchange":{"post":{"operationId":"exchangeTicket","tags":["accessToken"],"parameters":[{"name":"ticket_id","type":"string","in":"path","required":true}],"responses":{"201":{"description":"ok","schema":{"type":"object","properties":{"id":{"type":"string"},"access_token":{"type":"string"},"user_id":{"type":"string"},"user_email":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/deploy_keys":{"get":{"operationId":"listDeployKeys","tags":["deployKey"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"public_key":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createDeployKey","tags":["deployKey"],"consumes":["application/json"],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"public_key":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/deploy_keys/{key_id}":{"parameters":[{"name":"key_id","type":"string","in":"path","required":true}],"get":{"operationId":"getDeployKey","tags":["deployKey"],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"public_key":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"deleteDeployKey","tags":["deployKey"],"responses":{"204":{"description":"Not Content"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/{account_slug}/sites":{"post":{"operationId":"createSiteInTeam","tags":["site"],"consumes":["application/json"],"parameters":[{"name":"site","in":"body","schema":{"allOf":[{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}},{"properties":{"repo":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}}}}]}},{"name":"configure_dns","type":"boolean","in":"query"},{"name":"account_slug","in":"path","type":"string","required":true}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"get":{"operationId":"listSitesForAccount","tags":["site"],"parameters":[{"name":"name","in":"query","type":"string"},{"name":"account_slug","in":"path","type":"string","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/{account_slug}/members":{"parameters":[{"name":"account_slug","in":"path","type":"string","required":true}],"get":{"operationId":"listMembersForAccount","tags":["member"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"full_name":{"type":"string"},"email":{"type":"string"},"avatar":{"type":"string"},"role":{"type":"string"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"addMemberToAccount","tags":["member"],"parameters":[{"name":"role","in":"query","type":"string","enum":["Owner","Collaborator","Controller"]},{"name":"email","in":"query","type":"string","required":true}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"full_name":{"type":"string"},"email":{"type":"string"},"avatar":{"type":"string"},"role":{"type":"string"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/billing/payment_methods":{"get":{"operationId":"listPaymentMethodsForUser","tags":["paymentMethod"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"method_name":{"type":"string"},"type":{"type":"string"},"state":{"type":"string"},"data":{"type":"object","properties":{"card_type":{"type":"string"},"last4":{"type":"string"},"email":{"type":"string"}}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/accounts/types":{"get":{"operationId":"listAccountTypesForUser","tags":["accountType"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"capabilities":{"type":"object"},"monthly_dollar_price":{"type":"integer"},"yearly_dollar_price":{"type":"integer"},"monthly_seats_addon_dollar_price":{"type":"integer"},"yearly_seats_addon_dollar_price":{"type":"integer"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/accounts":{"get":{"operationId":"listAccountsForUser","tags":["accountMembership"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"type":{"type":"string"},"capabilities":{"type":"object","properties":{"sites":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}},"collaborators":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}}}},"billing_name":{"type":"string"},"billing_email":{"type":"string"},"billing_details":{"type":"string"},"billing_period":{"type":"string"},"payment_method_id":{"type":"string"},"type_name":{"type":"string"},"type_id":{"type":"string"},"owner_ids":{"type":"array","items":{"type":"string"}},"roles_allowed":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createAccount","tags":["accountMembership"],"parameters":[{"name":"accountSetup","in":"body","schema":{"type":"object","required":["name","type_id"],"properties":{"name":{"type":"string"},"type_id":{"type":"string"},"payment_method_id":{"type":"string"},"period":{"type":"string","enum":["monthly","yearly"]},"extra_seats_block":{"type":"integer"}}},"required":true}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"type":{"type":"string"},"capabilities":{"type":"object","properties":{"sites":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}},"collaborators":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}}}},"billing_name":{"type":"string"},"billing_email":{"type":"string"},"billing_details":{"type":"string"},"billing_period":{"type":"string"},"payment_method_id":{"type":"string"},"type_name":{"type":"string"},"type_id":{"type":"string"},"owner_ids":{"type":"array","items":{"type":"string"}},"roles_allowed":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/accounts/{account_id}":{"parameters":[{"name":"account_id","type":"string","in":"path","required":true}],"get":{"operationId":"getAccount","tags":["accountMembership"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"type":{"type":"string"},"capabilities":{"type":"object","properties":{"sites":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}},"collaborators":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}}}},"billing_name":{"type":"string"},"billing_email":{"type":"string"},"billing_details":{"type":"string"},"billing_period":{"type":"string"},"payment_method_id":{"type":"string"},"type_name":{"type":"string"},"type_id":{"type":"string"},"owner_ids":{"type":"array","items":{"type":"string"}},"roles_allowed":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"put":{"operationId":"updateAccount","tags":["accountMembership"],"parameters":[{"name":"accountUpdateSetup","in":"body","schema":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"},"type_id":{"type":"string"},"extra_seats_block":{"type":"integer"},"billing_name":{"type":"string"},"billing_email":{"type":"string"},"billing_details":{"type":"string"}}}}],"responses":{"200":{"description":"OK","schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"type":{"type":"string"},"capabilities":{"type":"object","properties":{"sites":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}},"collaborators":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}}}},"billing_name":{"type":"string"},"billing_email":{"type":"string"},"billing_details":{"type":"string"},"billing_period":{"type":"string"},"payment_method_id":{"type":"string"},"type_name":{"type":"string"},"type_id":{"type":"string"},"owner_ids":{"type":"array","items":{"type":"string"}},"roles_allowed":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"cancelAccount","tags":["accountMembership"],"responses":{"204":{"description":"Not Content"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/accounts/{account_id}/audit":{"parameters":[{"name":"account_id","type":"string","in":"path","required":true}],"get":{"operationId":"listAccountAuditEvents","tags":["auditLog"],"parameters":[{"name":"query","type":"string","in":"query"},{"name":"log_type","type":"string","in":"query"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"account_id":{"type":"string"},"payload":{"type":"object","properties":{"actor_id":{"type":"string"},"actor_name":{"type":"string"},"actor_email":{"type":"string"},"action":{"type":"string"},"timestamp":{"type":"string","format":"dateTime"},"log_type":{"type":"string"}},"additionalProperties":{"type":"object"}}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/submissions/{submission_id}":{"parameters":[{"name":"submission_id","type":"string","in":"path","required":true}],"get":{"operationId":"listFormSubmission","tags":["submission"],"parameters":[{"name":"query","type":"string","in":"query"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"number":{"type":"integer","format":"int32"},"email":{"type":"string"},"name":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"company":{"type":"string"},"summary":{"type":"string"},"body":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"site_url":{"type":"string"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"deleteSubmission","tags":["submission"],"responses":{"204":{"description":"Deleted"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/sites/{site_id}/services/{addon}/instances":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"addon","type":"string","in":"path","required":true}],"post":{"operationId":"createServiceInstance","tags":["serviceInstance"],"consumes":["application/json"],"parameters":[{"name":"config","in":"body","required":true,"schema":{"type":"object"}}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"config":{"type":"object"},"external_attributes":{"type":"object"},"service_slug":{"type":"string"},"service_path":{"type":"string"},"service_name":{"type":"string"},"env":{"type":"object"},"snippets":{"type":"array","items":{"type":"object"}},"auth_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"get":{"operationId":"showServiceInstance","tags":["serviceInstance"],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"config":{"type":"object"},"external_attributes":{"type":"object"},"service_slug":{"type":"string"},"service_path":{"type":"string"},"service_name":{"type":"string"},"env":{"type":"object"},"snippets":{"type":"array","items":{"type":"object"}},"auth_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"put":{"operationId":"updateServiceInstance","tags":["serviceInstance"],"consumes":["application/json"],"parameters":[{"name":"config","in":"body","required":true,"schema":{"type":"object"}}],"responses":{"204":{"description":"Created"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"deleteServiceInstance","tags":["serviceInstance"],"responses":{"204":{"description":"Deleted"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/services/":{"parameters":[{"name":"search","type":"string","in":"query"}],"get":{"operationId":"getServices","tags":["service"],"responses":{"200":{"description":"services","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"service_path":{"type":"string"},"long_description":{"type":"string"},"description":{"type":"string"},"events":{"type":"array","items":{"type":"object"}},"tags":{"type":"array","items":{"type":"string"}},"icon":{"type":"string"},"manifest_url":{"type":"string"},"environments":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/services/{addonName}":{"parameters":[{"name":"addonName","type":"string","in":"path","required":true}],"get":{"operationId":"showService","tags":["service"],"responses":{"200":{"description":"services","schema":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"config":{"type":"object"},"external_attributes":{"type":"object"},"service_slug":{"type":"string"},"service_path":{"type":"string"},"service_name":{"type":"string"},"env":{"type":"object"},"snippets":{"type":"array","items":{"type":"object"}},"auth_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/services/{addonName}/manifest":{"parameters":[{"name":"addonName","type":"string","in":"path","required":true}],"get":{"operationId":"showServiceManifest","tags":["service"],"responses":{"201":{"description":"retrieving from provider","schema":{"type":"object"}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/user":{"get":{"operationId":"getCurrentUser","tags":["user"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"uid":{"type":"string"},"full_name":{"type":"string"},"avatar_url":{"type":"string"},"email":{"type":"string"},"affiliate_id":{"type":"string"},"site_count":{"type":"integer","format":"int64"},"created_at":{"type":"string","format":"dateTime"},"last_login":{"type":"string","format":"dateTime"},"login_providers":{"type":"array","items":{"type":"string"}},"onboarding_progress":{"type":"object","properties":{"slides":{"type":"string"}}},"support_priority":{"type":"integer","format":"int64"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/site/{site_id}/traffic_splits":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true}],"post":{"operationId":"createSplitTest","tags":["splitTest"],"consumes":["application/json"],"parameters":[{"name":"branch_tests","in":"body","required":true,"schema":{"type":"object","properties":{"branch_tests":{"type":"object"}}}}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"},"path":{"type":"string"},"branches":{"type":"array","items":{"type":"object"}},"active":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"unpublished_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"get":{"operationId":"getSplitTests","tags":["splitTest"],"responses":{"200":{"description":"split_tests","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"},"path":{"type":"string"},"branches":{"type":"array","items":{"type":"object"}},"active":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"unpublished_at":{"type":"string","format":"dateTime"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/site/{site_id}/traffic_splits/{split_test_id}":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"split_test_id","type":"string","in":"path","required":true}],"put":{"operationId":"updateSplitTest","tags":["splitTest"],"consumes":["application/json"],"parameters":[{"name":"branch_tests","in":"body","required":true,"schema":{"type":"object","properties":{"branch_tests":{"type":"object"}}}}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"},"path":{"type":"string"},"branches":{"type":"array","items":{"type":"object"}},"active":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"unpublished_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"get":{"operationId":"getSplitTest","tags":["splitTest"],"responses":{"200":{"description":"split_test","schema":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"},"path":{"type":"string"},"branches":{"type":"array","items":{"type":"object"}},"active":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"unpublished_at":{"type":"string","format":"dateTime"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/site/{site_id}/traffic_splits/{split_test_id}/publish":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"split_test_id","type":"string","in":"path","required":true}],"post":{"operationId":"enableSplitTest","tags":["splitTest"],"responses":{"204":{"description":"enable"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/site/{site_id}/traffic_splits/{split_test_id}/unpublish":{"parameters":[{"name":"site_id","type":"string","in":"path","required":true},{"name":"split_test_id","type":"string","in":"path","required":true}],"post":{"operationId":"disableSplitTest","tags":["splitTest"],"responses":{"204":{"description":"disabled"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/dns_zones":{"post":{"operationId":"createDnsZone","tags":["dnsZone"],"consumes":["application/json"],"parameters":[{"name":"DnsZoneParams","in":"body","required":true,"schema":{"type":"object","properties":{"account_slug":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"}}}}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"errors":{"type":"array","items":{"type":"string"}},"supported_record_types":{"type":"array","items":{"type":"string"}},"user_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"dns_zone_id":{"type":"string"},"site_id":{"type":"string"},"flag":{"type":"integer"},"tag":{"type":"string"},"managed":{"type":"boolean"}}}},"dns_servers":{"type":"array","items":{"type":"string"}},"account_id":{"type":"string"},"site_id":{"type":"string"},"account_slug":{"type":"string"},"account_name":{"type":"string"},"domain":{"type":"string"},"ipv6_enabled":{"type":"boolean"},"dedicated":{"type":"boolean"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"get":{"operationId":"getDnsZones","tags":["dnsZone"],"parameters":[{"name":"account_slug","in":"query","type":"string","required":false}],"responses":{"200":{"description":"get all DNS zones the user has access to","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"errors":{"type":"array","items":{"type":"string"}},"supported_record_types":{"type":"array","items":{"type":"string"}},"user_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"dns_zone_id":{"type":"string"},"site_id":{"type":"string"},"flag":{"type":"integer"},"tag":{"type":"string"},"managed":{"type":"boolean"}}}},"dns_servers":{"type":"array","items":{"type":"string"}},"account_id":{"type":"string"},"site_id":{"type":"string"},"account_slug":{"type":"string"},"account_name":{"type":"string"},"domain":{"type":"string"},"ipv6_enabled":{"type":"boolean"},"dedicated":{"type":"boolean"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/dns_zones/{zone_id}":{"parameters":[{"name":"zone_id","type":"string","in":"path","required":true}],"get":{"operationId":"getDnsZone","tags":["dnsZone"],"responses":{"200":{"description":"get a single DNS zone","schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"errors":{"type":"array","items":{"type":"string"}},"supported_record_types":{"type":"array","items":{"type":"string"}},"user_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"dns_zone_id":{"type":"string"},"site_id":{"type":"string"},"flag":{"type":"integer"},"tag":{"type":"string"},"managed":{"type":"boolean"}}}},"dns_servers":{"type":"array","items":{"type":"string"}},"account_id":{"type":"string"},"site_id":{"type":"string"},"account_slug":{"type":"string"},"account_name":{"type":"string"},"domain":{"type":"string"},"ipv6_enabled":{"type":"boolean"},"dedicated":{"type":"boolean"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"deleteDnsZone","tags":["dnsZone"],"responses":{"204":{"description":"delete a single DNS zone"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/dns_zones/{zone_id}/transfer":{"parameters":[{"name":"zone_id","type":"string","in":"path","required":true},{"name":"account_id","type":"string","in":"query","description":"the account of the dns zone","required":true},{"name":"transfer_account_id","type":"string","in":"query","description":"the account you want to transfer the dns zone to","required":true},{"name":"transfer_user_id","type":"string","in":"query","description":"the user you want to transfer the dns zone to","required":true}],"put":{"operationId":"transferDnsZone","tags":["dnsZone"],"responses":{"200":{"description":"transfer a DNS zone to another account","schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"errors":{"type":"array","items":{"type":"string"}},"supported_record_types":{"type":"array","items":{"type":"string"}},"user_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"dns_zone_id":{"type":"string"},"site_id":{"type":"string"},"flag":{"type":"integer"},"tag":{"type":"string"},"managed":{"type":"boolean"}}}},"dns_servers":{"type":"array","items":{"type":"string"}},"account_id":{"type":"string"},"site_id":{"type":"string"},"account_slug":{"type":"string"},"account_name":{"type":"string"},"domain":{"type":"string"},"ipv6_enabled":{"type":"boolean"},"dedicated":{"type":"boolean"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/dns_zones/{zone_id}/dns_records":{"parameters":[{"name":"zone_id","type":"string","in":"path","required":true}],"get":{"operationId":"getDnsRecords","tags":["dnsZone"],"responses":{"200":{"description":"get all DNS records for a single DNS zone","schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"dns_zone_id":{"type":"string"},"site_id":{"type":"string"},"flag":{"type":"integer"},"tag":{"type":"string"},"managed":{"type":"boolean"}}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"post":{"operationId":"createDnsRecord","tags":["dnsZone"],"consumes":["application/json"],"parameters":[{"name":"dns_record","in":"body","required":true,"schema":{"type":"object","properties":{"type":{"type":"string"},"hostname":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"weight":{"type":"integer","format":"int64"},"port":{"type":"integer","format":"int64"},"flag":{"type":"integer","format":"int64"},"tag":{"type":"string"}}}}],"responses":{"201":{"description":"Created","schema":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"dns_zone_id":{"type":"string"},"site_id":{"type":"string"},"flag":{"type":"integer"},"tag":{"type":"string"},"managed":{"type":"boolean"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}},"/dns_zones/{zone_id}/dns_records/{dns_record_id}":{"parameters":[{"name":"zone_id","type":"string","in":"path","required":true},{"name":"dns_record_id","type":"string","in":"path","required":true}],"get":{"operationId":"getIndividualDnsRecord","tags":["dnsZone"],"responses":{"200":{"description":"get a single DNS record","schema":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"dns_zone_id":{"type":"string"},"site_id":{"type":"string"},"flag":{"type":"integer"},"tag":{"type":"string"},"managed":{"type":"boolean"}}}},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}},"delete":{"operationId":"deleteDnsRecord","tags":["dnsZone"],"responses":{"204":{"description":"record deleted"},"default":{"description":"error","schema":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}}}}}},"definitions":{"splitTestSetup":{"type":"object","properties":{"branch_tests":{"type":"object"}}},"splitTests":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"},"path":{"type":"string"},"branches":{"type":"array","items":{"type":"object"}},"active":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"unpublished_at":{"type":"string","format":"dateTime"}}}},"splitTest":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"},"path":{"type":"string"},"branches":{"type":"array","items":{"type":"object"}},"active":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"unpublished_at":{"type":"string","format":"dateTime"}}},"serviceInstance":{"type":"object","properties":{"id":{"type":"string"},"url":{"type":"string"},"config":{"type":"object"},"external_attributes":{"type":"object"},"service_slug":{"type":"string"},"service_path":{"type":"string"},"service_name":{"type":"string"},"env":{"type":"object"},"snippets":{"type":"array","items":{"type":"object"}},"auth_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}},"service":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"service_path":{"type":"string"},"long_description":{"type":"string"},"description":{"type":"string"},"events":{"type":"array","items":{"type":"object"}},"tags":{"type":"array","items":{"type":"string"}},"icon":{"type":"string"},"manifest_url":{"type":"string"},"environments":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}},"site":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}},"siteSetup":{"allOf":[{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"plan":{"type":"string"},"name":{"type":"string"},"custom_domain":{"type":"string"},"domain_aliases":{"type":"array","items":{"type":"string"}},"password":{"type":"string"},"notification_email":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"screenshot_url":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"user_id":{"type":"string"},"session_id":{"type":"string"},"ssl":{"type":"boolean"},"force_ssl":{"type":"boolean"},"managed_dns":{"type":"boolean"},"deploy_url":{"type":"string"},"published_deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"account_name":{"type":"string"},"account_slug":{"type":"string"},"git_provider":{"type":"string"},"deploy_hook":{"type":"string"},"capabilities":{"type":"object","additionalProperties":{"type":"object"}},"processing_settings":{"type":"object","properties":{"skip":{"type":"boolean"},"css":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"js":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"images":{"type":"object","properties":{"optimize":{"type":"boolean"}}},"html":{"type":"object","properties":{"pretty_urls":{"type":"boolean"}}}}},"build_settings":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}},"id_domain":{"type":"string"},"default_hooks_data":{"type":"object","properties":{"access_token":{"type":"string"}}},"build_image":{"type":"string"}}},{"properties":{"repo":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}}}}]},"repoInfo":{"type":"object","properties":{"id":{"type":"integer"},"provider":{"type":"string"},"deploy_key_id":{"type":"string"},"repo_path":{"type":"string"},"repo_branch":{"type":"string"},"dir":{"type":"string"},"cmd":{"type":"string"},"allowed_branches":{"type":"array","items":{"type":"string"}},"public_repo":{"type":"boolean"},"private_logs":{"type":"boolean"},"repo_url":{"type":"string"},"env":{"type":"object","additionalProperties":{"type":"string"}},"installation_id":{"type":"integer"},"stop_builds":{"type":"boolean"}}},"submission":{"type":"object","properties":{"id":{"type":"string"},"number":{"type":"integer","format":"int32"},"email":{"type":"string"},"name":{"type":"string"},"first_name":{"type":"string"},"last_name":{"type":"string"},"company":{"type":"string"},"summary":{"type":"string"},"body":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"site_url":{"type":"string"}}},"form":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"},"paths":{"type":"array","items":{"type":"string"}},"submission_count":{"type":"integer","format":"int32"},"fields":{"type":"array","items":{"type":"object"}},"created_at":{"type":"string","format":"dateTime"}}},"hookType":{"type":"object","properties":{"name":{"type":"string"},"events":{"type":"array","items":{"type":"string"}},"fields":{"type":"array","items":{"type":"object"}}}},"hook":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"type":{"type":"string"},"event":{"type":"string"},"data":{"type":"object"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"disabled":{"type":"boolean"}}},"file":{"type":"object","properties":{"id":{"type":"string"},"path":{"type":"string"},"sha":{"type":"string"},"mime_type":{"type":"string"},"size":{"type":"integer","format":"int64"}}},"function":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"sha":{"type":"string"}}},"snippet":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"site_id":{"type":"string"},"title":{"type":"string"},"general":{"type":"string"},"general_position":{"type":"string"},"goal":{"type":"string"},"goal_position":{"type":"string"}}},"deploy":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"user_id":{"type":"string"},"build_id":{"type":"string"},"state":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"},"admin_url":{"type":"string"},"deploy_url":{"type":"string"},"deploy_ssl_url":{"type":"string"},"screenshot_url":{"type":"string"},"review_id":{"type":"number"},"draft":{"type":"boolean"},"required":{"type":"array","items":{"type":"string"}},"required_functions":{"type":"array","items":{"type":"string"}},"error_message":{"type":"string"},"branch":{"type":"string"},"commit_ref":{"type":"string"},"commit_url":{"type":"string"},"skipped":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"published_at":{"type":"string","format":"dateTime"},"title":{"type":"string"},"context":{"type":"string"},"locked":{"type":"boolean"},"review_url":{"type":"string"},"site_capabilities":{"type":"object","properties":{"large_media_enabled":{"type":"boolean"}}}}},"deployFiles":{"type":"object","properties":{"files":{"type":"object"},"draft":{"type":"boolean"},"async":{"type":"boolean"},"functions":{"type":"object"}}},"build":{"type":"object","properties":{"id":{"type":"string"},"deploy_id":{"type":"string"},"sha":{"type":"string"},"done":{"type":"boolean"},"error":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}},"buildLogMsg":{"type":"object","properties":{"message":{"type":"string"},"error":{"type":"boolean"}}},"metadata":{"type":"object"},"dnsZoneSetup":{"type":"object","properties":{"account_slug":{"type":"string"},"site_id":{"type":"string"},"name":{"type":"string"}}},"dnsZones":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"errors":{"type":"array","items":{"type":"string"}},"supported_record_types":{"type":"array","items":{"type":"string"}},"user_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"dns_zone_id":{"type":"string"},"site_id":{"type":"string"},"flag":{"type":"integer"},"tag":{"type":"string"},"managed":{"type":"boolean"}}}},"dns_servers":{"type":"array","items":{"type":"string"}},"account_id":{"type":"string"},"site_id":{"type":"string"},"account_slug":{"type":"string"},"account_name":{"type":"string"},"domain":{"type":"string"},"ipv6_enabled":{"type":"boolean"},"dedicated":{"type":"boolean"}}}},"dnsZone":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"errors":{"type":"array","items":{"type":"string"}},"supported_record_types":{"type":"array","items":{"type":"string"}},"user_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"records":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"dns_zone_id":{"type":"string"},"site_id":{"type":"string"},"flag":{"type":"integer"},"tag":{"type":"string"},"managed":{"type":"boolean"}}}},"dns_servers":{"type":"array","items":{"type":"string"}},"account_id":{"type":"string"},"site_id":{"type":"string"},"account_slug":{"type":"string"},"account_name":{"type":"string"},"domain":{"type":"string"},"ipv6_enabled":{"type":"boolean"},"dedicated":{"type":"boolean"}}},"dnsRecordCreate":{"type":"object","properties":{"type":{"type":"string"},"hostname":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"weight":{"type":"integer","format":"int64"},"port":{"type":"integer","format":"int64"},"flag":{"type":"integer","format":"int64"},"tag":{"type":"string"}}},"dnsRecords":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"dns_zone_id":{"type":"string"},"site_id":{"type":"string"},"flag":{"type":"integer"},"tag":{"type":"string"},"managed":{"type":"boolean"}}}},"dnsRecord":{"type":"object","properties":{"id":{"type":"string"},"hostname":{"type":"string"},"type":{"type":"string"},"value":{"type":"string"},"ttl":{"type":"integer","format":"int64"},"priority":{"type":"integer","format":"int64"},"dns_zone_id":{"type":"string"},"site_id":{"type":"string"},"flag":{"type":"integer"},"tag":{"type":"string"},"managed":{"type":"boolean"}}},"sniCertificate":{"type":"object","properties":{"state":{"type":"string"},"domains":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"},"expires_at":{"type":"string","format":"dateTime"}}},"ticket":{"type":"object","properties":{"id":{"type":"string"},"client_id":{"type":"string"},"authorized":{"type":"boolean"},"created_at":{"type":"string","format":"dateTime"}}},"accessToken":{"type":"object","properties":{"id":{"type":"string"},"access_token":{"type":"string"},"user_id":{"type":"string"},"user_email":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}},"asset":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"creator_id":{"type":"string"},"name":{"type":"string"},"state":{"type":"string"},"content_type":{"type":"string"},"url":{"type":"string"},"key":{"type":"string"},"visibility":{"type":"string"},"size":{"type":"integer","format":"int64"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}},"assetForm":{"type":"object","properties":{"url":{"type":"string"},"fields":{"type":"object","additionalProperties":{"type":"string"}}}},"assetSignature":{"type":"object","properties":{"form":{"type":"object","properties":{"url":{"type":"string"},"fields":{"type":"object","additionalProperties":{"type":"string"}}}},"asset":{"type":"object","properties":{"id":{"type":"string"},"site_id":{"type":"string"},"creator_id":{"type":"string"},"name":{"type":"string"},"state":{"type":"string"},"content_type":{"type":"string"},"url":{"type":"string"},"key":{"type":"string"},"visibility":{"type":"string"},"size":{"type":"integer","format":"int64"},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}}}},"assetPublicSignature":{"type":"object","properties":{"url":{"type":"string"}}},"deployKey":{"type":"object","properties":{"id":{"type":"string"},"public_key":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}},"member":{"type":"object","properties":{"id":{"type":"string"},"full_name":{"type":"string"},"email":{"type":"string"},"avatar":{"type":"string"},"role":{"type":"string"}}},"paymentMethod":{"type":"object","properties":{"id":{"type":"string"},"method_name":{"type":"string"},"type":{"type":"string"},"state":{"type":"string"},"data":{"type":"object","properties":{"card_type":{"type":"string"},"last4":{"type":"string"},"email":{"type":"string"}}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}},"accountType":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"capabilities":{"type":"object"},"monthly_dollar_price":{"type":"integer"},"yearly_dollar_price":{"type":"integer"},"monthly_seats_addon_dollar_price":{"type":"integer"},"yearly_seats_addon_dollar_price":{"type":"integer"}}},"accountSetup":{"type":"object","required":["name","type_id"],"properties":{"name":{"type":"string"},"type_id":{"type":"string"},"payment_method_id":{"type":"string"},"period":{"type":"string","enum":["monthly","yearly"]},"extra_seats_block":{"type":"integer"}}},"accountUpdateSetup":{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"},"type_id":{"type":"string"},"extra_seats_block":{"type":"integer"},"billing_name":{"type":"string"},"billing_email":{"type":"string"},"billing_details":{"type":"string"}}},"accountMembership":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"type":{"type":"string"},"capabilities":{"type":"object","properties":{"sites":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}},"collaborators":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}}}},"billing_name":{"type":"string"},"billing_email":{"type":"string"},"billing_details":{"type":"string"},"billing_period":{"type":"string"},"payment_method_id":{"type":"string"},"type_name":{"type":"string"},"type_id":{"type":"string"},"owner_ids":{"type":"array","items":{"type":"string"}},"roles_allowed":{"type":"array","items":{"type":"string"}},"created_at":{"type":"string","format":"dateTime"},"updated_at":{"type":"string","format":"dateTime"}}},"auditLog":{"type":"object","properties":{"id":{"type":"string"},"account_id":{"type":"string"},"payload":{"type":"object","properties":{"actor_id":{"type":"string"},"actor_name":{"type":"string"},"actor_email":{"type":"string"},"action":{"type":"string"},"timestamp":{"type":"string","format":"dateTime"},"log_type":{"type":"string"}},"additionalProperties":{"type":"object"}}}},"accountUsageCapability":{"type":"object","properties":{"included":{"type":"integer"},"used":{"type":"integer"}}},"minifyOptions":{"type":"object","properties":{"bundle":{"type":"boolean"},"minify":{"type":"boolean"}}},"buildHook":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"branch":{"type":"string"},"url":{"type":"string"},"site_id":{"type":"string"},"created_at":{"type":"string","format":"dateTime"}}},"deployedBranch":{"type":"object","properties":{"id":{"type":"string"},"deploy_id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"url":{"type":"string"},"ssl_url":{"type":"string"}}},"user":{"type":"object","properties":{"id":{"type":"string"},"uid":{"type":"string"},"full_name":{"type":"string"},"avatar_url":{"type":"string"},"email":{"type":"string"},"affiliate_id":{"type":"string"},"site_count":{"type":"integer","format":"int64"},"created_at":{"type":"string","format":"dateTime"},"last_login":{"type":"string","format":"dateTime"},"login_providers":{"type":"array","items":{"type":"string"}},"onboarding_progress":{"type":"object","properties":{"slides":{"type":"string"}}},"support_priority":{"type":"integer","format":"int64"}}},"error":{"type":"object","required":["message"],"properties":{"code":{"type":"integer","format":"int64"},"message":{"type":"string","x-nullable":false}}}},"x-tagGroups":[{"name":"OAuth","tags":["ticket","accessToken"]},{"name":"User accounts","tags":["user","accountMembership","member","accountType","paymentMethod","auditLog"]},{"name":"Site","tags":["site","file","metadata","snippet"]},{"name":"Domain names","tags":["dnsZone","sniCertificate"]},{"name":"Deploys","tags":["deploy","deployedBranch","deployKey"]},{"name":"Builds","tags":["build","buildLogMsg"]},{"name":"Webhooks and notifications","tags":["hook","hookType","buildHook"]},{"name":"Services","tags":["service","serviceInstance"]},{"name":"Functions","tags":["function"]},{"name":"Forms","tags":["form","submission"]},{"name":"Split tests","tags":["splitTest"]},{"name":"Large media","tags":["asset","assetPublicSignature"]}],"tags":[{"name":"ticket","x-displayName":"Ticket"},{"name":"accessToken","x-displayName":"Access token"},{"name":"user","x-displayName":"User"},{"name":"accountMembership","x-displayName":"Accounts"},{"name":"member","x-displayName":"Member"},{"name":"accountType","x-displayName":"Access type"},{"name":"paymentMethod","x-displayName":"Payment method"},{"name":"auditLog","x-displayName":"Audit log"},{"name":"site","x-displayName":"Site"},{"name":"file","x-displayName":"File"},{"name":"metadata","x-displayName":"Metadata"},{"name":"snippet","x-displayName":"Snippet"},{"name":"dnsZone","x-displayName":"DNS zone"},{"name":"sniCertificate","x-displayName":"SNI certificate"},{"name":"deploy","x-displayName":"Deploy"},{"name":"deployedBranch","x-displayName":"Deployed branch"},{"name":"deployKey","x-displayName":"Deploy key"},{"name":"build","x-displayName":"Build"},{"name":"buildLogMsg","x-displayName":"Build log message"},{"name":"hook","x-displayName":"Hook"},{"name":"hookType","x-displayName":"Hook type"},{"name":"buildHook","x-displayName":"Build hook"},{"name":"service","x-displayName":"Service"},{"name":"serviceInstance","x-displayName":"Service instance"},{"name":"function","x-displayName":"Function"},{"name":"form","x-displayName":"Form"},{"name":"submission","x-displayName":"Form submission"},{"name":"splitTest","x-displayName":"Split test"},{"name":"asset","x-displayName":"Asset"},{"name":"assetPublicSignature","x-displayName":"Asset public signature"}]}; /***/ }), /* 385 */ @@ -67474,7 +67103,7 @@ Object.defineProperty(exports, '__esModule', { value: true }); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var isPlainObject = _interopDefault(__webpack_require__(696)); -var universalUserAgent = __webpack_require__(562); +var universalUserAgent = __webpack_require__(796); function lowercaseKeys(object) { if (!object) { @@ -67824,7 +67453,7 @@ function withDefaults(oldDefaults, newDefaults) { }); } -const VERSION = "6.0.0"; +const VERSION = "6.0.1"; const userAgent = `octokit-endpoint.js/${VERSION} ${universalUserAgent.getUserAgent()}`; // DEFAULTS has all properties set that EndpointOptions has, except url. // So we use RequestParameters and add method as additional required property. @@ -68639,7 +68268,7 @@ module.exports = __webpack_require__(527).default; /* 415 */ /***/ (function(module, __unusedexports, __webpack_require__) { -const { JSONHTTPError, TextHTTPError } = __webpack_require__(433) +const { JSONHTTPError, TextHTTPError } = __webpack_require__(724) // Read and parse the HTTP response const parseResponse = async function(response) { @@ -68696,12 +68325,7 @@ module.exports = { parseResponse, getFetchError } module.exports = require("crypto"); /***/ }), -/* 418 */ -/***/ (function(module) { - -module.exports = require("module"); - -/***/ }), +/* 418 */, /* 419 */, /* 420 */, /* 421 */ @@ -68749,6 +68373,7 @@ module.exports = function(src, options = {}) { // Determine whether to skip "type-only" imports // https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-9.html#import-types + // https://www.typescriptlang.org/v2/docs/handbook/release-notes/typescript-3-8.html#type-only-imports-and-export const skipTypeImports = Boolean(options.skipTypeImports); // Remove skipTypeImports option, as this option may not be recognized by the walker/parser delete walkerOptions.skipTypeImports; @@ -68776,6 +68401,9 @@ module.exports = function(src, options = {}) { } break; case 'ImportDeclaration': + if (skipTypeImports && node.importKind == 'type') { + break; + } if (node.source && node.source.value) { dependencies.push(node.source.value); } @@ -68887,7 +68515,8 @@ const getOpts = function({ verb, parameters }, NetlifyApi, { body }, opts) { const optsA = addHttpMethod(verb, opts) const optsB = addDefaultHeaders(NetlifyApi, optsA) const optsC = addBody(body, parameters, optsB) - return optsC + const optsD = addAgent(NetlifyApi, optsC) + return optsD } // Add the HTTP method based on the OpenAPI definition @@ -68902,6 +68531,15 @@ const addDefaultHeaders = function(NetlifyApi, opts) { }) } +// Assign fetch agent (like for example HttpsProxyAgent) if there is one +const addAgent = function(NetlifyApi, opts) { + if (NetlifyApi.agent) { + return Object.assign({}, opts, { agent: NetlifyApi.agent }) + } else { + return opts + } +} + const makeRequestOrRetry = async function(url, opts) { for (let index = 0; index <= MAX_RETRY; index++) { const response = await makeRequest(url, opts) @@ -68947,54 +68585,7 @@ module.exports = function CheckObjectCoercible(value, optMessage) { /***/ }), -/* 425 */ -/***/ (function(module, __unusedexports, __webpack_require__) { - -var path = __webpack_require__(622); -var parse = path.parse || __webpack_require__(905); - -var getNodeModulesDirs = function getNodeModulesDirs(absoluteStart, modules) { - var prefix = '/'; - if ((/^([A-Za-z]:)/).test(absoluteStart)) { - prefix = ''; - } else if ((/^\\\\/).test(absoluteStart)) { - prefix = '\\\\'; - } - - var paths = [absoluteStart]; - var parsed = parse(absoluteStart); - while (parsed.dir !== paths[paths.length - 1]) { - paths.push(parsed.dir); - parsed = parse(parsed.dir); - } - - return paths.reduce(function (dirs, aPath) { - return dirs.concat(modules.map(function (moduleDir) { - return path.resolve(prefix, aPath, moduleDir); - })); - }, []); -}; - -module.exports = function nodeModulesPaths(start, opts, request) { - var modules = opts && opts.moduleDirectory - ? [].concat(opts.moduleDirectory) - : ['node_modules']; - - if (opts && typeof opts.paths === 'function') { - return opts.paths( - request, - start, - function () { return getNodeModulesDirs(start, modules); }, - opts - ); - } - - var dirs = getNodeModulesDirs(start, modules); - return opts && opts.paths ? dirs.concat(opts.paths) : dirs; -}; - - -/***/ }), +/* 425 */, /* 426 */, /* 427 */ /***/ (function(module, __unusedexports, __webpack_require__) { @@ -69292,14 +68883,28 @@ class Command { return cmdStr; } } +/** + * Sanitizes an input into a string so it can be passed into issueCommand safely + * @param input input to sanitize into a string + */ +function toCommandValue(input) { + if (input === null || input === undefined) { + return ''; + } + else if (typeof input === 'string' || input instanceof String) { + return input; + } + return JSON.stringify(input); +} +exports.toCommandValue = toCommandValue; function escapeData(s) { - return (s || '') + return toCommandValue(s) .replace(/%/g, '%25') .replace(/\r/g, '%0D') .replace(/\n/g, '%0A'); } function escapeProperty(s) { - return (s || '') + return toCommandValue(s) .replace(/%/g, '%25') .replace(/\r/g, '%0D') .replace(/\n/g, '%0A') @@ -69612,180 +69217,17 @@ function simpleEnd(buf) { /***/ }), /* 433 */ -/***/ (function(__unusedmodule, exports, __webpack_require__) { - -"use strict"; - - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.JSONHTTPError = exports.TextHTTPError = exports.HTTPError = exports.getPagination = undefined; - -var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; - -var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); - -var _pagination = __webpack_require__(27); - -Object.defineProperty(exports, "getPagination", { - enumerable: true, - get: function get() { - return _pagination.getPagination; - } -}); - -function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } - -function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } - -function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } - -function _extendableBuiltin(cls) { - function ExtendableBuiltin() { - var instance = Reflect.construct(cls, Array.from(arguments)); - Object.setPrototypeOf(instance, Object.getPrototypeOf(this)); - return instance; - } - - ExtendableBuiltin.prototype = Object.create(cls.prototype, { - constructor: { - value: cls, - enumerable: false, - writable: true, - configurable: true - } - }); - - if (Object.setPrototypeOf) { - Object.setPrototypeOf(ExtendableBuiltin, cls); - } else { - ExtendableBuiltin.__proto__ = cls; - } - - return ExtendableBuiltin; -} - -var HTTPError = exports.HTTPError = function (_extendableBuiltin2) { - _inherits(HTTPError, _extendableBuiltin2); - - function HTTPError(response) { - _classCallCheck(this, HTTPError); - - var _this = _possibleConstructorReturn(this, (HTTPError.__proto__ || Object.getPrototypeOf(HTTPError)).call(this, response.statusText)); - - _this.name = _this.constructor.name; - if (typeof Error.captureStackTrace === "function") { - Error.captureStackTrace(_this, _this.constructor); - } else { - _this.stack = new Error(response.statusText).stack; - } - _this.status = response.status; - return _this; - } - - return HTTPError; -}(_extendableBuiltin(Error)); - -var TextHTTPError = exports.TextHTTPError = function (_HTTPError) { - _inherits(TextHTTPError, _HTTPError); - - function TextHTTPError(response, data) { - _classCallCheck(this, TextHTTPError); - - var _this2 = _possibleConstructorReturn(this, (TextHTTPError.__proto__ || Object.getPrototypeOf(TextHTTPError)).call(this, response)); - - _this2.data = data; - return _this2; - } - - return TextHTTPError; -}(HTTPError); - -var JSONHTTPError = exports.JSONHTTPError = function (_HTTPError2) { - _inherits(JSONHTTPError, _HTTPError2); - - function JSONHTTPError(response, json) { - _classCallCheck(this, JSONHTTPError); - - var _this3 = _possibleConstructorReturn(this, (JSONHTTPError.__proto__ || Object.getPrototypeOf(JSONHTTPError)).call(this, response)); - - _this3.json = json; - return _this3; - } - - return JSONHTTPError; -}(HTTPError); - -var API = function () { - function API() { - var apiURL = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; - var options = arguments[1]; - - _classCallCheck(this, API); - - this.apiURL = apiURL; - if (this.apiURL.match(/\/[^\/]?/)) { - // eslint-disable-line no-useless-escape - this._sameOrigin = true; - } - this.defaultHeaders = options && options.defaultHeaders || {}; - } - - _createClass(API, [{ - key: "headers", - value: function headers() { - var _headers = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; - - return _extends({}, this.defaultHeaders, { - "Content-Type": "application/json" - }, _headers); - } - }, { - key: "parseJsonResponse", - value: function parseJsonResponse(response) { - return response.json().then(function (json) { - if (!response.ok) { - return Promise.reject(new JSONHTTPError(response, json)); - } - - var pagination = (0, _pagination.getPagination)(response); - return pagination ? { pagination: pagination, items: json } : json; - }); - } - }, { - key: "request", - value: function request(path) { - var _this4 = this; - - var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - - var headers = this.headers(options.headers || {}); - if (this._sameOrigin) { - options.credentials = options.credentials || "same-origin"; - } - return fetch(this.apiURL + path, _extends({}, options, { headers: headers })).then(function (response) { - var contentType = response.headers.get("Content-Type"); - if (contentType && contentType.match(/json/)) { - return _this4.parseJsonResponse(response); - } - - if (!response.ok) { - return response.text().then(function (data) { - return Promise.reject(new TextHTTPError(response, data)); - }); - } - return response.text().then(function (data) { - data; - }); - }); - } - }]); +/***/ (function(module) { - return API; -}(); +module.exports = function () { + // see https://code.google.com/p/v8/wiki/JavaScriptStackTraceApi + var origPrepareStackTrace = Error.prepareStackTrace; + Error.prepareStackTrace = function (_, stack) { return stack; }; + var stack = (new Error()).stack; + Error.prepareStackTrace = origPrepareStackTrace; + return stack[2].getFileName(); +}; -exports.default = API; /***/ }), /* 434 */, @@ -70829,7 +70271,7 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau var Stream = _interopDefault(__webpack_require__(413)); var http = _interopDefault(__webpack_require__(605)); var Url = _interopDefault(__webpack_require__(835)); -var https = _interopDefault(__webpack_require__(34)); +var https = _interopDefault(__webpack_require__(211)); var zlib = _interopDefault(__webpack_require__(761)); // Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js @@ -73689,20 +73131,7 @@ exports.RequestError = RequestError; /***/ }), /* 464 */, -/* 465 */ -/***/ (function(module) { - -module.exports = function () { - // see https://code.google.com/p/v8/wiki/JavaScriptStackTraceApi - var origPrepareStackTrace = Error.prepareStackTrace; - Error.prepareStackTrace = function (_, stack) { return stack; }; - var stack = (new Error()).stack; - Error.prepareStackTrace = origPrepareStackTrace; - return stack[2].getFileName(); -}; - - -/***/ }), +/* 465 */, /* 466 */ /***/ (function(module, __unusedexports, __webpack_require__) { @@ -73951,13 +73380,15 @@ class GitHub extends rest_1.Octokit { static getOctokitOptions(args) { const token = args[0]; const options = Object.assign({}, args[1]); // Shallow clone - don't mutate the object provided by the caller + // Base URL - GHES or Dotcom + options.baseUrl = options.baseUrl || this.getApiBaseUrl(); // Auth const auth = GitHub.getAuthString(token, options); if (auth) { options.auth = auth; } // Proxy - const agent = GitHub.getProxyAgent(options); + const agent = GitHub.getProxyAgent(options.baseUrl, options); if (agent) { // Shallow clone - don't mutate the object provided by the caller options.request = options.request ? Object.assign({}, options.request) : {}; @@ -73968,6 +73399,7 @@ class GitHub extends rest_1.Octokit { } static getGraphQL(args) { const defaults = {}; + defaults.baseUrl = this.getGraphQLBaseUrl(); const token = args[0]; const options = args[1]; // Authorization @@ -73978,7 +73410,7 @@ class GitHub extends rest_1.Octokit { }; } // Proxy - const agent = GitHub.getProxyAgent(options); + const agent = GitHub.getProxyAgent(defaults.baseUrl, options); if (agent) { defaults.request = { agent }; } @@ -73994,17 +73426,31 @@ class GitHub extends rest_1.Octokit { } return typeof options.auth === 'string' ? options.auth : `token ${token}`; } - static getProxyAgent(options) { + static getProxyAgent(destinationUrl, options) { var _a; if (!((_a = options.request) === null || _a === void 0 ? void 0 : _a.agent)) { - const serverUrl = 'https://api.github.com'; - if (httpClient.getProxyUrl(serverUrl)) { + if (httpClient.getProxyUrl(destinationUrl)) { const hc = new httpClient.HttpClient(); - return hc.getAgent(serverUrl); + return hc.getAgent(destinationUrl); } } return undefined; } + static getApiBaseUrl() { + return process.env['GITHUB_API_URL'] || 'https://api.github.com'; + } + static getGraphQLBaseUrl() { + let url = process.env['GITHUB_GRAPHQL_URL'] || 'https://api.github.com/graphql'; + // Shouldn't be a trailing slash, but remove if so + if (url.endsWith('/')) { + url = url.substr(0, url.length - 1); + } + // Remove trailing "/graphql" + if (url.toUpperCase().endsWith('/GRAPHQL')) { + url = url.substr(0, url.length - '/graphql'.length); + } + return url; + } } exports.GitHub = GitHub; //# sourceMappingURL=github.js.map @@ -74055,11 +73501,13 @@ var ExitCode; /** * Sets env variable for this action and future actions in the job * @param name the name of the variable to set - * @param val the value of the variable + * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any function exportVariable(name, val) { - process.env[name] = val; - command_1.issueCommand('set-env', { name }, val); + const convertedVal = command_1.toCommandValue(val); + process.env[name] = convertedVal; + command_1.issueCommand('set-env', { name }, convertedVal); } exports.exportVariable = exportVariable; /** @@ -74098,12 +73546,22 @@ exports.getInput = getInput; * Sets the value of an output. * * @param name name of the output to set - * @param value value to store + * @param value value to store. Non-string values will be converted to a string via JSON.stringify */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any function setOutput(name, value) { command_1.issueCommand('set-output', { name }, value); } exports.setOutput = setOutput; +/** + * Enables or disables the echoing of commands into stdout for the rest of the step. + * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set. + * + */ +function setCommandEcho(enabled) { + command_1.issue('echo', enabled ? 'on' : 'off'); +} +exports.setCommandEcho = setCommandEcho; //----------------------------------------------------------------------- // Results //----------------------------------------------------------------------- @@ -74137,18 +73595,18 @@ function debug(message) { exports.debug = debug; /** * Adds an error issue - * @param message error issue message + * @param message error issue message. Errors will be converted to string via toString() */ function error(message) { - command_1.issue('error', message); + command_1.issue('error', message instanceof Error ? message.toString() : message); } exports.error = error; /** * Adds an warning issue - * @param message warning issue message + * @param message warning issue message. Errors will be converted to string via toString() */ function warning(message) { - command_1.issue('warning', message); + command_1.issue('warning', message instanceof Error ? message.toString() : message); } exports.warning = warning; /** @@ -74206,8 +73664,9 @@ exports.group = group; * Saves state for current action, the state can only be retrieved by this action's post job execution. * * @param name name of the state to store - * @param value value to store + * @param value value to store. Non-string values will be converted to a string via JSON.stringify */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any function saveState(name, value) { command_1.issueCommand('save-state', { name }, value); } @@ -75189,7 +74648,7 @@ convert.rgb.gray = function (rgb) { * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -var base64 = __webpack_require__(782); +var base64 = __webpack_require__(562); // A single base 64 digit can contain 6 bits of data. For the base 64 variable // length quantities we use in the source map spec, the first bit is the sign, @@ -76024,7 +75483,7 @@ module.exports = setup; /* 487 */ /***/ (function(module) { -module.exports = {"name":"@typescript-eslint/typescript-estree","version":"2.27.0","description":"A parser that converts TypeScript source code into an ESTree compatible form","main":"dist/parser.js","types":"dist/parser.d.ts","files":["dist","README.md","LICENSE"],"engines":{"node":"^8.10.0 || ^10.13.0 || >=11.10.1"},"repository":{"type":"git","url":"https://github.com/typescript-eslint/typescript-eslint.git","directory":"packages/typescript-estree"},"bugs":{"url":"https://github.com/typescript-eslint/typescript-eslint/issues"},"license":"BSD-2-Clause","keywords":["ast","estree","ecmascript","javascript","typescript","parser","syntax"],"scripts":{"build":"tsc -b tsconfig.build.json","clean":"tsc -b tsconfig.build.json --clean","format":"prettier --write \"./**/*.{ts,js,json,md}\" --ignore-path ../../.prettierignore","lint":"eslint . --ext .js,.ts --ignore-path='../../.eslintignore'","test":"jest --coverage","typecheck":"tsc -p tsconfig.json --noEmit"},"dependencies":{"debug":"^4.1.1","eslint-visitor-keys":"^1.1.0","glob":"^7.1.6","is-glob":"^4.0.1","lodash":"^4.17.15","semver":"^6.3.0","tsutils":"^3.17.1"},"devDependencies":{"@babel/code-frame":"^7.8.3","@babel/parser":"^7.8.3","@babel/types":"^7.8.3","@types/babel__code-frame":"^7.0.1","@types/debug":"^4.1.5","@types/glob":"^7.1.1","@types/is-glob":"^4.0.1","@types/lodash":"^4.14.149","@types/semver":"^6.2.0","@types/tmp":"^0.1.0","@typescript-eslint/shared-fixtures":"2.27.0","tmp":"^0.1.0","typescript":"*"},"peerDependenciesMeta":{"typescript":{"optional":true}},"funding":{"type":"opencollective","url":"https://opencollective.com/typescript-eslint"},"gitHead":"bed774320f4f9196c98351754f74fbdbbe9309d8","_resolved":"https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.27.0.tgz","_integrity":"sha512-t2miCCJIb/FU8yArjAvxllxbTiyNqaXJag7UOpB5DVoM3+xnjeOngtqlJkLRnMtzaRcJhe3CIR9RmL40omubhg==","_from":"@typescript-eslint/typescript-estree@2.27.0"}; +module.exports = {"_from":"@typescript-eslint/typescript-estree@2.31.0","_id":"@typescript-eslint/typescript-estree@2.31.0","_inBundle":false,"_integrity":"sha512-vxW149bXFXXuBrAak0eKHOzbcu9cvi6iNcJDzEtOkRwGHxJG15chiAQAwhLOsk+86p9GTr/TziYvw+H9kMaIgA==","_location":"/@typescript-eslint/typescript-estree","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"@typescript-eslint/typescript-estree@2.31.0","name":"@typescript-eslint/typescript-estree","escapedName":"@typescript-eslint%2ftypescript-estree","scope":"@typescript-eslint","rawSpec":"2.31.0","saveSpec":null,"fetchSpec":"2.31.0"},"_requiredBy":["/@typescript-eslint/experimental-utils","/@typescript-eslint/parser","/detective-typescript"],"_resolved":"https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.31.0.tgz","_shasum":"ac536c2d46672aa1f27ba0ec2140d53670635cfd","_spec":"@typescript-eslint/typescript-estree@2.31.0","_where":"/Users/ryo/dev/actions/actions-netlify/node_modules/@typescript-eslint/parser","bugs":{"url":"https://github.com/typescript-eslint/typescript-eslint/issues"},"bundleDependencies":false,"dependencies":{"debug":"^4.1.1","eslint-visitor-keys":"^1.1.0","glob":"^7.1.6","is-glob":"^4.0.1","lodash":"^4.17.15","semver":"^6.3.0","tsutils":"^3.17.1"},"deprecated":false,"description":"A parser that converts TypeScript source code into an ESTree compatible form","devDependencies":{"@babel/code-frame":"^7.8.3","@babel/parser":"^7.8.3","@babel/types":"^7.8.3","@types/babel__code-frame":"^7.0.1","@types/debug":"^4.1.5","@types/glob":"^7.1.1","@types/is-glob":"^4.0.1","@types/lodash":"^4.14.149","@types/semver":"^6.2.0","@types/tmp":"^0.1.0","@typescript-eslint/shared-fixtures":"2.31.0","tmp":"^0.1.0","typescript":"*"},"engines":{"node":"^8.10.0 || ^10.13.0 || >=11.10.1"},"files":["dist","README.md","LICENSE"],"funding":{"type":"opencollective","url":"https://opencollective.com/typescript-eslint"},"gitHead":"176054c2171b682217d6855208e50b15e1712675","homepage":"https://github.com/typescript-eslint/typescript-eslint#readme","keywords":["ast","estree","ecmascript","javascript","typescript","parser","syntax"],"license":"BSD-2-Clause","main":"dist/parser.js","name":"@typescript-eslint/typescript-estree","peerDependenciesMeta":{"typescript":{"optional":true}},"repository":{"type":"git","url":"git+https://github.com/typescript-eslint/typescript-eslint.git","directory":"packages/typescript-estree"},"scripts":{"build":"tsc -b tsconfig.build.json","clean":"tsc -b tsconfig.build.json --clean","format":"prettier --write \"./**/*.{ts,js,json,md}\" --ignore-path ../../.prettierignore","lint":"eslint . --ext .js,.ts --ignore-path='../../.eslintignore'","test":"jest --coverage","typecheck":"tsc -p tsconfig.json --noEmit"},"types":"dist/parser.d.ts","version":"2.31.0"}; /***/ }), /* 488 */ @@ -76982,7 +76441,12 @@ var stringify = function stringify( } else if (obj instanceof Date) { obj = serializeDate(obj); } else if (generateArrayPrefix === 'comma' && isArray(obj)) { - obj = obj.join(','); + obj = utils.maybeMap(obj, function (value) { + if (value instanceof Date) { + return serializeDate(value); + } + return value; + }).join(','); } if (obj === null) { @@ -77017,44 +76481,31 @@ var stringify = function stringify( for (var i = 0; i < objKeys.length; ++i) { var key = objKeys[i]; + var value = obj[key]; - if (skipNulls && obj[key] === null) { + if (skipNulls && value === null) { continue; } - if (isArray(obj)) { - pushToArray(values, stringify( - obj[key], - typeof generateArrayPrefix === 'function' ? generateArrayPrefix(prefix, key) : prefix, - generateArrayPrefix, - strictNullHandling, - skipNulls, - encoder, - filter, - sort, - allowDots, - serializeDate, - formatter, - encodeValuesOnly, - charset - )); - } else { - pushToArray(values, stringify( - obj[key], - prefix + (allowDots ? '.' + key : '[' + key + ']'), - generateArrayPrefix, - strictNullHandling, - skipNulls, - encoder, - filter, - sort, - allowDots, - serializeDate, - formatter, - encodeValuesOnly, - charset - )); - } + var keyPrefix = isArray(obj) + ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(prefix, key) : prefix + : prefix + (allowDots ? '.' + key : '[' + key + ']'); + + pushToArray(values, stringify( + value, + keyPrefix, + generateArrayPrefix, + strictNullHandling, + skipNulls, + encoder, + filter, + sort, + allowDots, + serializeDate, + formatter, + encodeValuesOnly, + charset + )); } return values; @@ -80928,7 +80379,7 @@ module.exports = factory(); /* 534 */ /***/ (function(module, __unusedexports, __webpack_require__) { -module.exports = __webpack_require__(747).constants || __webpack_require__(619) +module.exports = __webpack_require__(747).constants || __webpack_require__(721) /***/ }), @@ -81074,7 +80525,7 @@ module.exports = crc32; Object.defineProperty(exports, "__esModule", { value: true }); const url = __webpack_require__(835); const http = __webpack_require__(605); -const https = __webpack_require__(34); +const https = __webpack_require__(211); const pm = __webpack_require__(950); let tunnel; var HttpCodes; @@ -81125,8 +80576,18 @@ function getProxyUrl(serverUrl) { return proxyUrl ? proxyUrl.href : ''; } exports.getProxyUrl = getProxyUrl; -const HttpRedirectCodes = [HttpCodes.MovedPermanently, HttpCodes.ResourceMoved, HttpCodes.SeeOther, HttpCodes.TemporaryRedirect, HttpCodes.PermanentRedirect]; -const HttpResponseRetryCodes = [HttpCodes.BadGateway, HttpCodes.ServiceUnavailable, HttpCodes.GatewayTimeout]; +const HttpRedirectCodes = [ + HttpCodes.MovedPermanently, + HttpCodes.ResourceMoved, + HttpCodes.SeeOther, + HttpCodes.TemporaryRedirect, + HttpCodes.PermanentRedirect +]; +const HttpResponseRetryCodes = [ + HttpCodes.BadGateway, + HttpCodes.ServiceUnavailable, + HttpCodes.GatewayTimeout +]; const RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD']; const ExponentialBackoffCeiling = 10; const ExponentialBackoffTimeSlice = 5; @@ -81251,18 +80712,22 @@ class HttpClient { */ async request(verb, requestUrl, data, headers) { if (this._disposed) { - throw new Error("Client has already been disposed."); + throw new Error('Client has already been disposed.'); } let parsedUrl = url.parse(requestUrl); let info = this._prepareRequest(verb, parsedUrl, headers); // Only perform retries on reads since writes may not be idempotent. - let maxTries = (this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1) ? this._maxRetries + 1 : 1; + let maxTries = this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1 + ? this._maxRetries + 1 + : 1; let numTries = 0; let response; while (numTries < maxTries) { response = await this.requestRaw(info, data); // Check if it's an authentication challenge - if (response && response.message && response.message.statusCode === HttpCodes.Unauthorized) { + if (response && + response.message && + response.message.statusCode === HttpCodes.Unauthorized) { let authenticationHandler; for (let i = 0; i < this.handlers.length; i++) { if (this.handlers[i].canHandleAuthentication(response)) { @@ -81280,21 +80745,32 @@ class HttpClient { } } let redirectsRemaining = this._maxRedirects; - while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1 - && this._allowRedirects - && redirectsRemaining > 0) { - const redirectUrl = response.message.headers["location"]; + while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1 && + this._allowRedirects && + redirectsRemaining > 0) { + const redirectUrl = response.message.headers['location']; if (!redirectUrl) { // if there's no location to redirect to, we won't break; } let parsedRedirectUrl = url.parse(redirectUrl); - if (parsedUrl.protocol == 'https:' && parsedUrl.protocol != parsedRedirectUrl.protocol && !this._allowRedirectDowngrade) { - 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."); + if (parsedUrl.protocol == 'https:' && + parsedUrl.protocol != parsedRedirectUrl.protocol && + !this._allowRedirectDowngrade) { + 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.'); } // we need to finish reading the response before reassigning response // which will leak the open socket. await response.readBody(); + // strip authorization header if redirected to a different hostname + if (parsedRedirectUrl.hostname !== parsedUrl.hostname) { + for (let header in headers) { + // header names are case insensitive + if (header.toLowerCase() === 'authorization') { + delete headers[header]; + } + } + } // let's make the request with the new redirectUrl info = this._prepareRequest(verb, parsedRedirectUrl, headers); response = await this.requestRaw(info, data); @@ -81345,8 +80821,8 @@ class HttpClient { */ requestRawWithCallback(info, data, onResult) { let socket; - if (typeof (data) === 'string') { - info.options.headers["Content-Length"] = Buffer.byteLength(data, 'utf8'); + if (typeof data === 'string') { + info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8'); } let callbackCalled = false; let handleResult = (err, res) => { @@ -81359,7 +80835,7 @@ class HttpClient { let res = new HttpClientResponse(msg); handleResult(null, res); }); - req.on('socket', (sock) => { + req.on('socket', sock => { socket = sock; }); // If we ever get disconnected, we want the socket to timeout eventually @@ -81374,10 +80850,10 @@ class HttpClient { // res should have headers handleResult(err, null); }); - if (data && typeof (data) === 'string') { + if (data && typeof data === 'string') { req.write(data, 'utf8'); } - if (data && typeof (data) !== 'string') { + if (data && typeof data !== 'string') { data.on('close', function () { req.end(); }); @@ -81404,31 +80880,34 @@ class HttpClient { const defaultPort = usingSsl ? 443 : 80; info.options = {}; info.options.host = info.parsedUrl.hostname; - info.options.port = info.parsedUrl.port ? parseInt(info.parsedUrl.port) : defaultPort; - info.options.path = (info.parsedUrl.pathname || '') + (info.parsedUrl.search || ''); + info.options.port = info.parsedUrl.port + ? parseInt(info.parsedUrl.port) + : defaultPort; + info.options.path = + (info.parsedUrl.pathname || '') + (info.parsedUrl.search || ''); info.options.method = method; info.options.headers = this._mergeHeaders(headers); if (this.userAgent != null) { - info.options.headers["user-agent"] = this.userAgent; + info.options.headers['user-agent'] = this.userAgent; } info.options.agent = this._getAgent(info.parsedUrl); // gives handlers an opportunity to participate if (this.handlers) { - this.handlers.forEach((handler) => { + this.handlers.forEach(handler => { handler.prepareRequest(info.options); }); } return info; } _mergeHeaders(headers) { - const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => (c[k.toLowerCase()] = obj[k], c), {}); + const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {}); if (this.requestOptions && this.requestOptions.headers) { return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers)); } return lowercaseKeys(headers || {}); } _getExistingOrDefaultHeader(additionalHeaders, header, _default) { - const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => (c[k.toLowerCase()] = obj[k], c), {}); + const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {}); let clientHeader; if (this.requestOptions && this.requestOptions.headers) { clientHeader = lowercaseKeys(this.requestOptions.headers)[header]; @@ -81466,7 +80945,7 @@ class HttpClient { proxyAuth: proxyUrl.auth, host: proxyUrl.hostname, port: proxyUrl.port - }, + } }; let tunnelAgent; const overHttps = proxyUrl.protocol === 'https:'; @@ -81493,7 +80972,9 @@ class HttpClient { // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options // we have to cast it to any and change it directly - agent.options = Object.assign(agent.options || {}, { rejectUnauthorized: false }); + agent.options = Object.assign(agent.options || {}, { + rejectUnauthorized: false + }); } return agent; } @@ -81554,7 +81035,7 @@ class HttpClient { msg = contents; } else { - msg = "Failed request: (" + statusCode + ")"; + msg = 'Failed request: (' + statusCode + ')'; } let err = new Error(msg); // attach statusCode and body obj (if available) to the error object @@ -82702,38 +82183,77 @@ module.exports = exports.default; /***/ }), -/* 561 */ -/***/ (function(module) { +/* 561 */, +/* 562 */ +/***/ (function(__unusedmodule, exports) { -module.exports = {"assert":true,"async_hooks":">= 8","buffer_ieee754":"< 0.9.7","buffer":true,"child_process":true,"cluster":true,"console":true,"constants":true,"crypto":true,"_debug_agent":">= 1 && < 8","_debugger":"< 8","dgram":true,"dns":true,"domain":true,"events":true,"freelist":"< 6","fs":true,"fs/promises":">= 10 && < 10.1","_http_agent":">= 0.11.1","_http_client":">= 0.11.1","_http_common":">= 0.11.1","_http_incoming":">= 0.11.1","_http_outgoing":">= 0.11.1","_http_server":">= 0.11.1","http":true,"http2":">= 8.8","https":true,"inspector":">= 8.0.0","_linklist":"< 8","module":true,"net":true,"node-inspect/lib/_inspect":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_client":">= 7.6.0 && < 12","node-inspect/lib/internal/inspect_repl":">= 7.6.0 && < 12","os":true,"path":true,"perf_hooks":">= 8.5","process":">= 1","punycode":true,"querystring":true,"readline":true,"repl":true,"smalloc":">= 0.11.5 && < 3","_stream_duplex":">= 0.9.4","_stream_transform":">= 0.9.4","_stream_wrap":">= 1.4.1","_stream_passthrough":">= 0.9.4","_stream_readable":">= 0.9.4","_stream_writable":">= 0.9.4","stream":true,"string_decoder":true,"sys":true,"timers":true,"_tls_common":">= 0.11.13","_tls_legacy":">= 0.11.3 && < 10","_tls_wrap":">= 0.11.3","tls":true,"trace_events":">= 10","tty":true,"url":true,"util":true,"v8/tools/arguments":">= 10 && < 12","v8/tools/codemap":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/consarray":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/csvparser":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/logreader":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/profile_view":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8/tools/splaytree":[">= 4.4.0 && < 5",">= 5.2.0 && < 12"],"v8":">= 1","vm":true,"wasi":">= 13.4 && < 13.5","worker_threads":">= 11.7","zlib":true}; +/* -*- Mode: js; js-indent-level: 2; -*- */ +/* + * Copyright 2011 Mozilla Foundation and contributors + * Licensed under the New BSD license. See LICENSE or: + * http://opensource.org/licenses/BSD-3-Clause + */ -/***/ }), -/* 562 */ -/***/ (function(__unusedmodule, exports, __webpack_require__) { +var intToCharMap = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split(''); -"use strict"; +/** + * Encode an integer in the range of 0 to 63 to a single base 64 digit. + */ +exports.encode = function (number) { + if (0 <= number && number < intToCharMap.length) { + return intToCharMap[number]; + } + throw new TypeError("Must be between 0 and 63: " + number); +}; + +/** + * Decode a single base 64 character code digit to an integer. Returns -1 on + * failure. + */ +exports.decode = function (charCode) { + var bigA = 65; // 'A' + var bigZ = 90; // 'Z' + var littleA = 97; // 'a' + var littleZ = 122; // 'z' -Object.defineProperty(exports, '__esModule', { value: true }); + var zero = 48; // '0' + var nine = 57; // '9' -function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } + var plus = 43; // '+' + var slash = 47; // '/' -var osName = _interopDefault(__webpack_require__(2)); + var littleOffset = 26; + var numberOffset = 52; -function getUserAgent() { - try { - return `Node.js/${process.version.substr(1)} (${osName()}; ${process.arch})`; - } catch (error) { - if (/wmic os get Caption/.test(error.message)) { - return "Windows "; - } + // 0 - 25: ABCDEFGHIJKLMNOPQRSTUVWXYZ + if (bigA <= charCode && charCode <= bigZ) { + return (charCode - bigA); + } - return ""; + // 26 - 51: abcdefghijklmnopqrstuvwxyz + if (littleA <= charCode && charCode <= littleZ) { + return (charCode - littleA + littleOffset); } -} -exports.getUserAgent = getUserAgent; -//# sourceMappingURL=index.js.map + // 52 - 61: 0123456789 + if (zero <= charCode && charCode <= nine) { + return (charCode - zero + numberOffset); + } + + // 62: + + if (charCode == plus) { + return 62; + } + + // 63: / + if (charCode == slash) { + return 63; + } + + // Invalid base64 digit. + return -1; +}; /***/ }), @@ -85456,7 +84976,22 @@ exports.SourceNode = SourceNode; /***/ }), /* 589 */, -/* 590 */, +/* 590 */ +/***/ (function(module) { + +module.exports = function (x, opts) { + /** + * This file is purposefully a passthrough. It's expected that third-party + * environments will override it at runtime in order to inject special logic + * into `resolve` (by manipulating the options). One such example is the PnP + * code path in Yarn. + */ + + return opts || {}; +}; + + +/***/ }), /* 591 */, /* 592 */ /***/ (function(module, __unusedexports, __webpack_require__) { @@ -85686,65 +85221,7 @@ module.exports = __webpack_require__(807).PassThrough /***/ }), -/* 595 */ -/***/ (function(module, __unusedexports, __webpack_require__) { - -var current = (process.versions && process.versions.node && process.versions.node.split('.')) || []; - -function specifierIncluded(specifier) { - var parts = specifier.split(' '); - var op = parts.length > 1 ? parts[0] : '='; - var versionParts = (parts.length > 1 ? parts[1] : parts[0]).split('.'); - - for (var i = 0; i < 3; ++i) { - var cur = Number(current[i] || 0); - var ver = Number(versionParts[i] || 0); - if (cur === ver) { - continue; // eslint-disable-line no-restricted-syntax, no-continue - } - if (op === '<') { - return cur < ver; - } else if (op === '>=') { - return cur >= ver; - } else { - return false; - } - } - return op === '>='; -} - -function matchesRange(range) { - var specifiers = range.split(/ ?&& ?/); - if (specifiers.length === 0) { return false; } - for (var i = 0; i < specifiers.length; ++i) { - if (!specifierIncluded(specifiers[i])) { return false; } - } - return true; -} - -function versionIncluded(specifierValue) { - if (typeof specifierValue === 'boolean') { return specifierValue; } - if (specifierValue && typeof specifierValue === 'object') { - for (var i = 0; i < specifierValue.length; ++i) { - if (matchesRange(specifierValue[i])) { return true; } - } - return false; - } - return matchesRange(specifierValue); -} - -var data = __webpack_require__(561); - -var core = {}; -for (var mod in data) { // eslint-disable-line no-restricted-syntax - if (Object.prototype.hasOwnProperty.call(data, mod)) { - core[mod] = versionIncluded(data[mod]); - } -} -module.exports = core; - - -/***/ }), +/* 595 */, /* 596 */, /* 597 */ /***/ (function(module, __unusedexports, __webpack_require__) { @@ -86725,9 +86202,32 @@ module.exports = require("events"); /* 617 */, /* 618 */, /* 619 */ -/***/ (function(module) { +/***/ (function(__unusedmodule, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, '__esModule', { value: true }); + +function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } + +var osName = _interopDefault(__webpack_require__(2)); + +function getUserAgent() { + try { + return `Node.js/${process.version.substr(1)} (${osName()}; ${process.arch})`; + } catch (error) { + if (/wmic os get Caption/.test(error.message)) { + return "Windows "; + } + + throw error; + } +} + +exports.getUserAgent = getUserAgent; +//# sourceMappingURL=index.js.map -module.exports = require("constants"); /***/ }), /* 620 */, @@ -87743,22 +87243,7 @@ function childrenIgnored (self, path) { /***/ }), -/* 645 */ -/***/ (function(module) { - -module.exports = function (x, opts) { - /** - * This file is purposefully a passthrough. It's expected that third-party - * environments will override it at runtime in order to inject special logic - * into `resolve` (by manipulating the options). One such example is the PnP - * code path in Yarn. - */ - - return opts || {}; -}; - - -/***/ }), +/* 645 */, /* 646 */ /***/ (function(module, __unusedexports, __webpack_require__) { @@ -88446,6 +87931,17 @@ 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, @@ -88455,17 +87951,209 @@ module.exports = { encode: encode, isBuffer: isBuffer, isRegExp: isRegExp, + maybeMap: maybeMap, merge: merge }; /***/ }), /* 659 */, -/* 660 */, +/* 660 */ +/***/ (function(__unusedmodule, exports) { + +"use strict"; + +Object.defineProperty(exports, "__esModule", { value: true }); +var AST_NODE_TYPES; +(function (AST_NODE_TYPES) { + AST_NODE_TYPES["ArrayExpression"] = "ArrayExpression"; + AST_NODE_TYPES["ArrayPattern"] = "ArrayPattern"; + AST_NODE_TYPES["ArrowFunctionExpression"] = "ArrowFunctionExpression"; + AST_NODE_TYPES["AssignmentExpression"] = "AssignmentExpression"; + AST_NODE_TYPES["AssignmentPattern"] = "AssignmentPattern"; + AST_NODE_TYPES["AwaitExpression"] = "AwaitExpression"; + AST_NODE_TYPES["BigIntLiteral"] = "BigIntLiteral"; + AST_NODE_TYPES["BinaryExpression"] = "BinaryExpression"; + AST_NODE_TYPES["BlockStatement"] = "BlockStatement"; + AST_NODE_TYPES["BreakStatement"] = "BreakStatement"; + AST_NODE_TYPES["CallExpression"] = "CallExpression"; + AST_NODE_TYPES["CatchClause"] = "CatchClause"; + AST_NODE_TYPES["ClassBody"] = "ClassBody"; + AST_NODE_TYPES["ClassDeclaration"] = "ClassDeclaration"; + AST_NODE_TYPES["ClassExpression"] = "ClassExpression"; + AST_NODE_TYPES["ClassProperty"] = "ClassProperty"; + AST_NODE_TYPES["ConditionalExpression"] = "ConditionalExpression"; + AST_NODE_TYPES["ContinueStatement"] = "ContinueStatement"; + AST_NODE_TYPES["DebuggerStatement"] = "DebuggerStatement"; + AST_NODE_TYPES["Decorator"] = "Decorator"; + AST_NODE_TYPES["DoWhileStatement"] = "DoWhileStatement"; + AST_NODE_TYPES["EmptyStatement"] = "EmptyStatement"; + AST_NODE_TYPES["ExportAllDeclaration"] = "ExportAllDeclaration"; + AST_NODE_TYPES["ExportDefaultDeclaration"] = "ExportDefaultDeclaration"; + AST_NODE_TYPES["ExportNamedDeclaration"] = "ExportNamedDeclaration"; + AST_NODE_TYPES["ExportSpecifier"] = "ExportSpecifier"; + AST_NODE_TYPES["ExpressionStatement"] = "ExpressionStatement"; + AST_NODE_TYPES["ForInStatement"] = "ForInStatement"; + AST_NODE_TYPES["ForOfStatement"] = "ForOfStatement"; + AST_NODE_TYPES["ForStatement"] = "ForStatement"; + AST_NODE_TYPES["FunctionDeclaration"] = "FunctionDeclaration"; + AST_NODE_TYPES["FunctionExpression"] = "FunctionExpression"; + AST_NODE_TYPES["Identifier"] = "Identifier"; + AST_NODE_TYPES["IfStatement"] = "IfStatement"; + AST_NODE_TYPES["Import"] = "Import"; + AST_NODE_TYPES["ImportDeclaration"] = "ImportDeclaration"; + AST_NODE_TYPES["ImportDefaultSpecifier"] = "ImportDefaultSpecifier"; + AST_NODE_TYPES["ImportNamespaceSpecifier"] = "ImportNamespaceSpecifier"; + AST_NODE_TYPES["ImportSpecifier"] = "ImportSpecifier"; + AST_NODE_TYPES["JSXAttribute"] = "JSXAttribute"; + AST_NODE_TYPES["JSXClosingElement"] = "JSXClosingElement"; + AST_NODE_TYPES["JSXClosingFragment"] = "JSXClosingFragment"; + AST_NODE_TYPES["JSXElement"] = "JSXElement"; + AST_NODE_TYPES["JSXEmptyExpression"] = "JSXEmptyExpression"; + AST_NODE_TYPES["JSXExpressionContainer"] = "JSXExpressionContainer"; + AST_NODE_TYPES["JSXFragment"] = "JSXFragment"; + AST_NODE_TYPES["JSXIdentifier"] = "JSXIdentifier"; + AST_NODE_TYPES["JSXMemberExpression"] = "JSXMemberExpression"; + AST_NODE_TYPES["JSXOpeningElement"] = "JSXOpeningElement"; + AST_NODE_TYPES["JSXOpeningFragment"] = "JSXOpeningFragment"; + AST_NODE_TYPES["JSXSpreadAttribute"] = "JSXSpreadAttribute"; + AST_NODE_TYPES["JSXSpreadChild"] = "JSXSpreadChild"; + AST_NODE_TYPES["JSXText"] = "JSXText"; + AST_NODE_TYPES["LabeledStatement"] = "LabeledStatement"; + AST_NODE_TYPES["Literal"] = "Literal"; + AST_NODE_TYPES["LogicalExpression"] = "LogicalExpression"; + AST_NODE_TYPES["MemberExpression"] = "MemberExpression"; + AST_NODE_TYPES["MetaProperty"] = "MetaProperty"; + AST_NODE_TYPES["MethodDefinition"] = "MethodDefinition"; + AST_NODE_TYPES["NewExpression"] = "NewExpression"; + AST_NODE_TYPES["ObjectExpression"] = "ObjectExpression"; + AST_NODE_TYPES["ObjectPattern"] = "ObjectPattern"; + AST_NODE_TYPES["OptionalCallExpression"] = "OptionalCallExpression"; + AST_NODE_TYPES["OptionalMemberExpression"] = "OptionalMemberExpression"; + AST_NODE_TYPES["Program"] = "Program"; + AST_NODE_TYPES["Property"] = "Property"; + AST_NODE_TYPES["RestElement"] = "RestElement"; + AST_NODE_TYPES["ReturnStatement"] = "ReturnStatement"; + AST_NODE_TYPES["SequenceExpression"] = "SequenceExpression"; + AST_NODE_TYPES["SpreadElement"] = "SpreadElement"; + AST_NODE_TYPES["Super"] = "Super"; + AST_NODE_TYPES["SwitchCase"] = "SwitchCase"; + AST_NODE_TYPES["SwitchStatement"] = "SwitchStatement"; + AST_NODE_TYPES["TaggedTemplateExpression"] = "TaggedTemplateExpression"; + AST_NODE_TYPES["TemplateElement"] = "TemplateElement"; + AST_NODE_TYPES["TemplateLiteral"] = "TemplateLiteral"; + AST_NODE_TYPES["ThisExpression"] = "ThisExpression"; + AST_NODE_TYPES["ThrowStatement"] = "ThrowStatement"; + AST_NODE_TYPES["TryStatement"] = "TryStatement"; + AST_NODE_TYPES["UnaryExpression"] = "UnaryExpression"; + AST_NODE_TYPES["UpdateExpression"] = "UpdateExpression"; + AST_NODE_TYPES["VariableDeclaration"] = "VariableDeclaration"; + AST_NODE_TYPES["VariableDeclarator"] = "VariableDeclarator"; + AST_NODE_TYPES["WhileStatement"] = "WhileStatement"; + AST_NODE_TYPES["WithStatement"] = "WithStatement"; + AST_NODE_TYPES["YieldExpression"] = "YieldExpression"; + /** + * TS-prefixed nodes + */ + AST_NODE_TYPES["TSAbstractClassProperty"] = "TSAbstractClassProperty"; + AST_NODE_TYPES["TSAbstractKeyword"] = "TSAbstractKeyword"; + AST_NODE_TYPES["TSAbstractMethodDefinition"] = "TSAbstractMethodDefinition"; + AST_NODE_TYPES["TSAnyKeyword"] = "TSAnyKeyword"; + AST_NODE_TYPES["TSArrayType"] = "TSArrayType"; + AST_NODE_TYPES["TSAsExpression"] = "TSAsExpression"; + AST_NODE_TYPES["TSAsyncKeyword"] = "TSAsyncKeyword"; + AST_NODE_TYPES["TSBooleanKeyword"] = "TSBooleanKeyword"; + AST_NODE_TYPES["TSBigIntKeyword"] = "TSBigIntKeyword"; + AST_NODE_TYPES["TSConditionalType"] = "TSConditionalType"; + AST_NODE_TYPES["TSConstructorType"] = "TSConstructorType"; + AST_NODE_TYPES["TSCallSignatureDeclaration"] = "TSCallSignatureDeclaration"; + AST_NODE_TYPES["TSClassImplements"] = "TSClassImplements"; + AST_NODE_TYPES["TSConstructSignatureDeclaration"] = "TSConstructSignatureDeclaration"; + AST_NODE_TYPES["TSDeclareKeyword"] = "TSDeclareKeyword"; + AST_NODE_TYPES["TSDeclareFunction"] = "TSDeclareFunction"; + AST_NODE_TYPES["TSEmptyBodyFunctionExpression"] = "TSEmptyBodyFunctionExpression"; + AST_NODE_TYPES["TSEnumDeclaration"] = "TSEnumDeclaration"; + AST_NODE_TYPES["TSEnumMember"] = "TSEnumMember"; + AST_NODE_TYPES["TSExportAssignment"] = "TSExportAssignment"; + AST_NODE_TYPES["TSExportKeyword"] = "TSExportKeyword"; + AST_NODE_TYPES["TSExternalModuleReference"] = "TSExternalModuleReference"; + AST_NODE_TYPES["TSImportType"] = "TSImportType"; + AST_NODE_TYPES["TSInferType"] = "TSInferType"; + AST_NODE_TYPES["TSLiteralType"] = "TSLiteralType"; + AST_NODE_TYPES["TSIndexedAccessType"] = "TSIndexedAccessType"; + AST_NODE_TYPES["TSIndexSignature"] = "TSIndexSignature"; + AST_NODE_TYPES["TSInterfaceBody"] = "TSInterfaceBody"; + AST_NODE_TYPES["TSInterfaceDeclaration"] = "TSInterfaceDeclaration"; + AST_NODE_TYPES["TSInterfaceHeritage"] = "TSInterfaceHeritage"; + AST_NODE_TYPES["TSImportEqualsDeclaration"] = "TSImportEqualsDeclaration"; + AST_NODE_TYPES["TSFunctionType"] = "TSFunctionType"; + AST_NODE_TYPES["TSMethodSignature"] = "TSMethodSignature"; + AST_NODE_TYPES["TSModuleBlock"] = "TSModuleBlock"; + AST_NODE_TYPES["TSModuleDeclaration"] = "TSModuleDeclaration"; + AST_NODE_TYPES["TSNamespaceExportDeclaration"] = "TSNamespaceExportDeclaration"; + AST_NODE_TYPES["TSNonNullExpression"] = "TSNonNullExpression"; + AST_NODE_TYPES["TSNeverKeyword"] = "TSNeverKeyword"; + AST_NODE_TYPES["TSNullKeyword"] = "TSNullKeyword"; + AST_NODE_TYPES["TSNumberKeyword"] = "TSNumberKeyword"; + AST_NODE_TYPES["TSMappedType"] = "TSMappedType"; + AST_NODE_TYPES["TSObjectKeyword"] = "TSObjectKeyword"; + AST_NODE_TYPES["TSParameterProperty"] = "TSParameterProperty"; + AST_NODE_TYPES["TSPrivateKeyword"] = "TSPrivateKeyword"; + AST_NODE_TYPES["TSPropertySignature"] = "TSPropertySignature"; + AST_NODE_TYPES["TSProtectedKeyword"] = "TSProtectedKeyword"; + AST_NODE_TYPES["TSPublicKeyword"] = "TSPublicKeyword"; + AST_NODE_TYPES["TSQualifiedName"] = "TSQualifiedName"; + AST_NODE_TYPES["TSReadonlyKeyword"] = "TSReadonlyKeyword"; + AST_NODE_TYPES["TSRestType"] = "TSRestType"; + AST_NODE_TYPES["TSStaticKeyword"] = "TSStaticKeyword"; + AST_NODE_TYPES["TSStringKeyword"] = "TSStringKeyword"; + AST_NODE_TYPES["TSSymbolKeyword"] = "TSSymbolKeyword"; + AST_NODE_TYPES["TSThisType"] = "TSThisType"; + AST_NODE_TYPES["TSTypeAnnotation"] = "TSTypeAnnotation"; + AST_NODE_TYPES["TSTypeAliasDeclaration"] = "TSTypeAliasDeclaration"; + AST_NODE_TYPES["TSTypeAssertion"] = "TSTypeAssertion"; + AST_NODE_TYPES["TSTypeLiteral"] = "TSTypeLiteral"; + AST_NODE_TYPES["TSTypeOperator"] = "TSTypeOperator"; + AST_NODE_TYPES["TSTypeParameter"] = "TSTypeParameter"; + AST_NODE_TYPES["TSTypeParameterDeclaration"] = "TSTypeParameterDeclaration"; + AST_NODE_TYPES["TSTypeParameterInstantiation"] = "TSTypeParameterInstantiation"; + AST_NODE_TYPES["TSTypePredicate"] = "TSTypePredicate"; + AST_NODE_TYPES["TSTypeReference"] = "TSTypeReference"; + AST_NODE_TYPES["TSTypeQuery"] = "TSTypeQuery"; + AST_NODE_TYPES["TSIntersectionType"] = "TSIntersectionType"; + AST_NODE_TYPES["TSTupleType"] = "TSTupleType"; + AST_NODE_TYPES["TSOptionalType"] = "TSOptionalType"; + AST_NODE_TYPES["TSParenthesizedType"] = "TSParenthesizedType"; + AST_NODE_TYPES["TSUnionType"] = "TSUnionType"; + AST_NODE_TYPES["TSUndefinedKeyword"] = "TSUndefinedKeyword"; + AST_NODE_TYPES["TSUnknownKeyword"] = "TSUnknownKeyword"; + AST_NODE_TYPES["TSVoidKeyword"] = "TSVoidKeyword"; +})(AST_NODE_TYPES = exports.AST_NODE_TYPES || (exports.AST_NODE_TYPES = {})); +var AST_TOKEN_TYPES; +(function (AST_TOKEN_TYPES) { + AST_TOKEN_TYPES["Boolean"] = "Boolean"; + AST_TOKEN_TYPES["Identifier"] = "Identifier"; + AST_TOKEN_TYPES["JSXIdentifier"] = "JSXIdentifier"; + AST_TOKEN_TYPES["JSXText"] = "JSXText"; + AST_TOKEN_TYPES["Keyword"] = "Keyword"; + AST_TOKEN_TYPES["Null"] = "Null"; + AST_TOKEN_TYPES["Numeric"] = "Numeric"; + AST_TOKEN_TYPES["Punctuator"] = "Punctuator"; + AST_TOKEN_TYPES["RegularExpression"] = "RegularExpression"; + AST_TOKEN_TYPES["String"] = "String"; + AST_TOKEN_TYPES["Template"] = "Template"; + // comment types + AST_TOKEN_TYPES["Block"] = "Block"; + AST_TOKEN_TYPES["Line"] = "Line"; +})(AST_TOKEN_TYPES = exports.AST_TOKEN_TYPES || (exports.AST_TOKEN_TYPES = {})); +//# sourceMappingURL=ast-node-types.js.map + +/***/ }), /* 661 */, /* 662 */ -/***/ (function(__unusedmodule, exports, __webpack_require__) { +/***/ (function(module, exports, __webpack_require__) { +/* module decorator */ module = __webpack_require__.nmd(module); var SourceMapConsumer = __webpack_require__(488).SourceMapConsumer; var path = __webpack_require__(622); @@ -88482,6 +88170,16 @@ try { var bufferFrom = __webpack_require__(501); +/** + * Requires a module which is protected against bundler minification. + * + * @param {NodeModule} mod + * @param {string} request + */ +function dynamicRequire(mod, request) { + return mod.require(request); +} + // Only install once if called multiple times var errorFormatterInstalled = false; var uncaughtShimInstalled = false; @@ -88994,12 +88692,8 @@ exports.install = function(options) { // Support runtime transpilers that include inline source maps if (options.hookRequire && !isInBrowser()) { - var Module; - try { - Module = __webpack_require__(418); - } catch (err) { - // NOP: Loading in catch block to convert webpack error to warning. - } + // Use dynamicRequire to avoid including in browser bundles + var Module = dynamicRequire(module, 'module'); var $compile = Module.prototype._compile; if (!$compile.__sourceMapSupport) { @@ -89029,6 +88723,17 @@ exports.install = function(options) { var installHandler = 'handleUncaughtExceptions' in options ? options.handleUncaughtExceptions : true; + // Do not override 'uncaughtException' with our own handler in Node.js + // Worker threads. Workers pass the error to the main thread as an event, + // rather than printing something to stderr and exiting. + try { + // We need to use `dynamicRequire` because `require` on it's own will be optimized by WebPack/Browserify. + var worker_threads = dynamicRequire(module, 'worker_threads'); + if (worker_threads.isMainThread === false) { + installHandler = false; + } + } catch(e) {} + // Provide the option to not install the uncaught exception handler. This is // to support other uncaught exception handlers (in test frameworks, for // example). If this handler is not installed and there are no other uncaught @@ -97456,195 +97161,7 @@ function done(stream, er, data) { } /***/ }), -/* 713 */ -/***/ (function(module, __unusedexports, __webpack_require__) { - -var isCore = __webpack_require__(153); -var fs = __webpack_require__(747); -var path = __webpack_require__(622); -var caller = __webpack_require__(465); -var nodeModulesPaths = __webpack_require__(425); -var normalizeOptions = __webpack_require__(645); - -var defaultIsFile = function isFile(file) { - try { - var stat = fs.statSync(file); - } catch (e) { - if (e && (e.code === 'ENOENT' || e.code === 'ENOTDIR')) return false; - throw e; - } - return stat.isFile() || stat.isFIFO(); -}; - -var defaultIsDir = function isDirectory(dir) { - try { - var stat = fs.statSync(dir); - } catch (e) { - if (e && (e.code === 'ENOENT' || e.code === 'ENOTDIR')) return false; - throw e; - } - return stat.isDirectory(); -}; - -var maybeUnwrapSymlink = function maybeUnwrapSymlink(x, opts) { - if (opts && opts.preserveSymlinks === false) { - try { - return fs.realpathSync(x); - } catch (realPathErr) { - if (realPathErr.code !== 'ENOENT') { - throw realPathErr; - } - } - } - return x; -}; - -var getPackageCandidates = function getPackageCandidates(x, start, opts) { - var dirs = nodeModulesPaths(start, opts, x); - for (var i = 0; i < dirs.length; i++) { - dirs[i] = path.join(dirs[i], x); - } - return dirs; -}; - -module.exports = function resolveSync(x, options) { - if (typeof x !== 'string') { - throw new TypeError('Path must be a string.'); - } - var opts = normalizeOptions(x, options); - - var isFile = opts.isFile || defaultIsFile; - var readFileSync = opts.readFileSync || fs.readFileSync; - var isDirectory = opts.isDirectory || defaultIsDir; - var packageIterator = opts.packageIterator; - - var extensions = opts.extensions || ['.js']; - var basedir = opts.basedir || path.dirname(caller()); - var parent = opts.filename || basedir; - - opts.paths = opts.paths || []; - - // ensure that `basedir` is an absolute path at this point, resolving against the process' current working directory - var absoluteStart = maybeUnwrapSymlink(path.resolve(basedir), opts); - - if ((/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/).test(x)) { - var res = path.resolve(absoluteStart, x); - if (x === '.' || x === '..' || x.slice(-1) === '/') res += '/'; - var m = loadAsFileSync(res) || loadAsDirectorySync(res); - if (m) return maybeUnwrapSymlink(m, opts); - } else if (isCore(x)) { - return x; - } else { - var n = loadNodeModulesSync(x, absoluteStart); - if (n) return maybeUnwrapSymlink(n, opts); - } - - var err = new Error("Cannot find module '" + x + "' from '" + parent + "'"); - err.code = 'MODULE_NOT_FOUND'; - throw err; - - function loadAsFileSync(x) { - var pkg = loadpkg(path.dirname(x)); - - if (pkg && pkg.dir && pkg.pkg && opts.pathFilter) { - var rfile = path.relative(pkg.dir, x); - var r = opts.pathFilter(pkg.pkg, x, rfile); - if (r) { - x = path.resolve(pkg.dir, r); // eslint-disable-line no-param-reassign - } - } - - if (isFile(x)) { - return x; - } - - for (var i = 0; i < extensions.length; i++) { - var file = x + extensions[i]; - if (isFile(file)) { - return file; - } - } - } - - function loadpkg(dir) { - if (dir === '' || dir === '/') return; - if (process.platform === 'win32' && (/^\w:[/\\]*$/).test(dir)) { - return; - } - if ((/[/\\]node_modules[/\\]*$/).test(dir)) return; - - var pkgfile = path.join(maybeUnwrapSymlink(dir, opts), 'package.json'); - - if (!isFile(pkgfile)) { - return loadpkg(path.dirname(dir)); - } - - var body = readFileSync(pkgfile); - - try { - var pkg = JSON.parse(body); - } catch (jsonErr) {} - - if (pkg && opts.packageFilter) { - // v2 will pass pkgfile - pkg = opts.packageFilter(pkg, /*pkgfile,*/ dir); // eslint-disable-line spaced-comment - } - - return { pkg: pkg, dir: dir }; - } - - function loadAsDirectorySync(x) { - var pkgfile = path.join(maybeUnwrapSymlink(x, opts), '/package.json'); - if (isFile(pkgfile)) { - try { - var body = readFileSync(pkgfile, 'UTF8'); - var pkg = JSON.parse(body); - } catch (e) {} - - if (pkg && opts.packageFilter) { - // v2 will pass pkgfile - pkg = opts.packageFilter(pkg, /*pkgfile,*/ x); // eslint-disable-line spaced-comment - } - - if (pkg && pkg.main) { - if (typeof pkg.main !== 'string') { - var mainError = new TypeError('package “' + pkg.name + '” `main` must be a string'); - mainError.code = 'INVALID_PACKAGE_MAIN'; - throw mainError; - } - if (pkg.main === '.' || pkg.main === './') { - pkg.main = 'index'; - } - try { - var m = loadAsFileSync(path.resolve(x, pkg.main)); - if (m) return m; - var n = loadAsDirectorySync(path.resolve(x, pkg.main)); - if (n) return n; - } catch (e) {} - } - } - - return loadAsFileSync(path.join(x, '/index')); - } - - function loadNodeModulesSync(x, start) { - var thunk = function () { return getPackageCandidates(x, start, opts); }; - var dirs = packageIterator ? packageIterator(x, start, thunk, opts) : thunk(); - - for (var i = 0; i < dirs.length; i++) { - var dir = dirs[i]; - if (isDirectory(path.dirname(dir))) { - var m = loadAsFileSync(dir); - if (m) return m; - var n = loadAsDirectorySync(dir); - if (n) return n; - } - } - } -}; - - -/***/ }), +/* 713 */, /* 714 */, /* 715 */ /***/ (function(__unusedmodule, exports, __webpack_require__) { @@ -98229,16 +97746,7 @@ module.exports = isPlainObject; /* 721 */ /***/ (function(module) { -"use strict"; - - -module.exports = (flag, argv = process.argv) => { - const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--'); - const position = argv.indexOf(prefix + flag); - const terminatorPosition = argv.indexOf('--'); - return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition); -}; - +module.exports = require("constants"); /***/ }), /* 722 */ @@ -98266,7 +97774,183 @@ module.exports.apply = function applyBind() { /***/ }), /* 723 */, -/* 724 */, +/* 724 */ +/***/ (function(__unusedmodule, exports, __webpack_require__) { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.JSONHTTPError = exports.TextHTTPError = exports.HTTPError = exports.getPagination = undefined; + +var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; + +var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); + +var _pagination = __webpack_require__(27); + +Object.defineProperty(exports, "getPagination", { + enumerable: true, + get: function get() { + return _pagination.getPagination; + } +}); + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } + +function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } + +function _extendableBuiltin(cls) { + function ExtendableBuiltin() { + var instance = Reflect.construct(cls, Array.from(arguments)); + Object.setPrototypeOf(instance, Object.getPrototypeOf(this)); + return instance; + } + + ExtendableBuiltin.prototype = Object.create(cls.prototype, { + constructor: { + value: cls, + enumerable: false, + writable: true, + configurable: true + } + }); + + if (Object.setPrototypeOf) { + Object.setPrototypeOf(ExtendableBuiltin, cls); + } else { + ExtendableBuiltin.__proto__ = cls; + } + + return ExtendableBuiltin; +} + +var HTTPError = exports.HTTPError = function (_extendableBuiltin2) { + _inherits(HTTPError, _extendableBuiltin2); + + function HTTPError(response) { + _classCallCheck(this, HTTPError); + + var _this = _possibleConstructorReturn(this, (HTTPError.__proto__ || Object.getPrototypeOf(HTTPError)).call(this, response.statusText)); + + _this.name = _this.constructor.name; + if (typeof Error.captureStackTrace === "function") { + Error.captureStackTrace(_this, _this.constructor); + } else { + _this.stack = new Error(response.statusText).stack; + } + _this.status = response.status; + return _this; + } + + return HTTPError; +}(_extendableBuiltin(Error)); + +var TextHTTPError = exports.TextHTTPError = function (_HTTPError) { + _inherits(TextHTTPError, _HTTPError); + + function TextHTTPError(response, data) { + _classCallCheck(this, TextHTTPError); + + var _this2 = _possibleConstructorReturn(this, (TextHTTPError.__proto__ || Object.getPrototypeOf(TextHTTPError)).call(this, response)); + + _this2.data = data; + return _this2; + } + + return TextHTTPError; +}(HTTPError); + +var JSONHTTPError = exports.JSONHTTPError = function (_HTTPError2) { + _inherits(JSONHTTPError, _HTTPError2); + + function JSONHTTPError(response, json) { + _classCallCheck(this, JSONHTTPError); + + var _this3 = _possibleConstructorReturn(this, (JSONHTTPError.__proto__ || Object.getPrototypeOf(JSONHTTPError)).call(this, response)); + + _this3.json = json; + return _this3; + } + + return JSONHTTPError; +}(HTTPError); + +var API = function () { + function API() { + var apiURL = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; + var options = arguments[1]; + + _classCallCheck(this, API); + + this.apiURL = apiURL; + if (this.apiURL.match(/\/[^\/]?/)) { + // eslint-disable-line no-useless-escape + this._sameOrigin = true; + } + this.defaultHeaders = options && options.defaultHeaders || {}; + } + + _createClass(API, [{ + key: "headers", + value: function headers() { + var _headers = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; + + return _extends({}, this.defaultHeaders, { + "Content-Type": "application/json" + }, _headers); + } + }, { + key: "parseJsonResponse", + value: function parseJsonResponse(response) { + return response.json().then(function (json) { + if (!response.ok) { + return Promise.reject(new JSONHTTPError(response, json)); + } + + var pagination = (0, _pagination.getPagination)(response); + return pagination ? { pagination: pagination, items: json } : json; + }); + } + }, { + key: "request", + value: function request(path) { + var _this4 = this; + + var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; + + var headers = this.headers(options.headers || {}); + if (this._sameOrigin) { + options.credentials = options.credentials || "same-origin"; + } + return fetch(this.apiURL + path, _extends({}, options, { headers: headers })).then(function (response) { + var contentType = response.headers.get("Content-Type"); + if (contentType && contentType.match(/json/)) { + return _this4.parseJsonResponse(response); + } + + if (!response.ok) { + return response.text().then(function (data) { + return Promise.reject(new TextHTTPError(response, data)); + }); + } + return response.text().then(function (data) { + data; + }); + }); + } + }]); + + return API; +}(); + +exports.default = API; + +/***/ }), /* 725 */, /* 726 */, /* 727 */ @@ -237531,12 +237215,12 @@ Object.defineProperty(exports, '__esModule', { value: true }); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var endpoint = __webpack_require__(385); -var universalUserAgent = __webpack_require__(211); +var universalUserAgent = __webpack_require__(796); var isPlainObject = _interopDefault(__webpack_require__(696)); var nodeFetch = _interopDefault(__webpack_require__(454)); var requestError = __webpack_require__(463); -const VERSION = "5.3.4"; +const VERSION = "5.4.2"; function getBufferResponse(response) { return response.arrayBuffer(); @@ -237910,7 +237594,7 @@ module.exports.sync = path => { const { paths } = __webpack_require__(384) -const { omit } = __webpack_require__(193) +const { omit } = __webpack_require__(106) // Retrieve all OpenAPI operations const getOperations = function() { @@ -239261,79 +238945,7 @@ module.exports = { zipFunctions, zipFunction } /***/ }), /* 781 */, -/* 782 */ -/***/ (function(__unusedmodule, exports) { - -/* -*- Mode: js; js-indent-level: 2; -*- */ -/* - * Copyright 2011 Mozilla Foundation and contributors - * Licensed under the New BSD license. See LICENSE or: - * http://opensource.org/licenses/BSD-3-Clause - */ - -var intToCharMap = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split(''); - -/** - * Encode an integer in the range of 0 to 63 to a single base 64 digit. - */ -exports.encode = function (number) { - if (0 <= number && number < intToCharMap.length) { - return intToCharMap[number]; - } - throw new TypeError("Must be between 0 and 63: " + number); -}; - -/** - * Decode a single base 64 character code digit to an integer. Returns -1 on - * failure. - */ -exports.decode = function (charCode) { - var bigA = 65; // 'A' - var bigZ = 90; // 'Z' - - var littleA = 97; // 'a' - var littleZ = 122; // 'z' - - var zero = 48; // '0' - var nine = 57; // '9' - - var plus = 43; // '+' - var slash = 47; // '/' - - var littleOffset = 26; - var numberOffset = 52; - - // 0 - 25: ABCDEFGHIJKLMNOPQRSTUVWXYZ - if (bigA <= charCode && charCode <= bigZ) { - return (charCode - bigA); - } - - // 26 - 51: abcdefghijklmnopqrstuvwxyz - if (littleA <= charCode && charCode <= littleZ) { - return (charCode - littleA + littleOffset); - } - - // 52 - 61: 0123456789 - if (zero <= charCode && charCode <= nine) { - return (charCode - zero + numberOffset); - } - - // 62: + - if (charCode == plus) { - return 62; - } - - // 63: / - if (charCode == slash) { - return 63; - } - - // Invalid base64 digit. - return -1; -}; - - -/***/ }), +/* 782 */, /* 783 */, /* 784 */ /***/ (function(module, __unusedexports, __webpack_require__) { @@ -239853,7 +239465,7 @@ function () { * throw new Error('This plugin works only with PostCSS 6') * } */ - this.version = '7.0.27'; + this.version = '7.0.29'; /** * Plugins added to this processor. * @@ -240075,7 +239687,7 @@ var _default = Processor; exports.default = _default; module.exports = exports.default; -//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInByb2Nlc3Nvci5lczYiXSwibmFtZXMiOlsiUHJvY2Vzc29yIiwicGx1Z2lucyIsInZlcnNpb24iLCJub3JtYWxpemUiLCJ1c2UiLCJwbHVnaW4iLCJjb25jYXQiLCJwcm9jZXNzIiwiY3NzIiwib3B0cyIsImxlbmd0aCIsInBhcnNlciIsInN0cmluZ2lmaWVyIiwiZW52IiwiTk9ERV9FTlYiLCJjb25zb2xlIiwid2FybiIsIkxhenlSZXN1bHQiLCJub3JtYWxpemVkIiwiaSIsInBvc3Rjc3MiLCJBcnJheSIsImlzQXJyYXkiLCJwdXNoIiwicGFyc2UiLCJzdHJpbmdpZnkiLCJFcnJvciJdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQTs7OztBQUVBOzs7Ozs7Ozs7SUFTTUEsUzs7O0FBQ0o7Ozs7QUFJQSxxQkFBYUMsT0FBYixFQUEyQjtBQUFBLFFBQWRBLE9BQWM7QUFBZEEsTUFBQUEsT0FBYyxHQUFKLEVBQUk7QUFBQTs7QUFDekI7Ozs7Ozs7Ozs7QUFVQSxTQUFLQyxPQUFMLEdBQWUsUUFBZjtBQUNBOzs7Ozs7Ozs7O0FBU0EsU0FBS0QsT0FBTCxHQUFlLEtBQUtFLFNBQUwsQ0FBZUYsT0FBZixDQUFmO0FBQ0Q7QUFFRDs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O1NBNkJBRyxHLEdBQUEsYUFBS0MsTUFBTCxFQUFhO0FBQ1gsU0FBS0osT0FBTCxHQUFlLEtBQUtBLE9BQUwsQ0FBYUssTUFBYixDQUFvQixLQUFLSCxTQUFMLENBQWUsQ0FBQ0UsTUFBRCxDQUFmLENBQXBCLENBQWY7QUFDQSxXQUFPLElBQVA7QUFDRDtBQUVEOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7U0FzQkFFLE87Ozs7Ozs7Ozs7SUFBQSxVQUFTQyxHQUFULEVBQWNDLElBQWQsRUFBMEI7QUFBQSxRQUFaQSxJQUFZO0FBQVpBLE1BQUFBLElBQVksR0FBTCxFQUFLO0FBQUE7O0FBQ3hCLFFBQUksS0FBS1IsT0FBTCxDQUFhUyxNQUFiLEtBQXdCLENBQXhCLElBQTZCRCxJQUFJLENBQUNFLE1BQUwsS0FBZ0JGLElBQUksQ0FBQ0csV0FBdEQsRUFBbUU7QUFDakUsVUFBSUwsT0FBTyxDQUFDTSxHQUFSLENBQVlDLFFBQVosS0FBeUIsWUFBN0IsRUFBMkM7QUFDekMsWUFBSSxPQUFPQyxPQUFQLEtBQW1CLFdBQW5CLElBQWtDQSxPQUFPLENBQUNDLElBQTlDLEVBQW9EO0FBQ2xERCxVQUFBQSxPQUFPLENBQUNDLElBQVIsQ0FDRSwwREFDQSw4REFEQSxHQUVBLGtFQUhGO0FBS0Q7QUFDRjtBQUNGOztBQUNELFdBQU8sSUFBSUMsbUJBQUosQ0FBZSxJQUFmLEVBQXFCVCxHQUFyQixFQUEwQkMsSUFBMUIsQ0FBUDtBQUNELEc7O1NBRUROLFMsR0FBQSxtQkFBV0YsT0FBWCxFQUFvQjtBQUNsQixRQUFJaUIsVUFBVSxHQUFHLEVBQWpCOztBQUNBLHlCQUFjakIsT0FBZCxrSEFBdUI7QUFBQTs7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBOztBQUFBLFVBQWRrQixDQUFjO0FBQ3JCLFVBQUlBLENBQUMsQ0FBQ0MsT0FBTixFQUFlRCxDQUFDLEdBQUdBLENBQUMsQ0FBQ0MsT0FBTjs7QUFFZixVQUFJLE9BQU9ELENBQVAsS0FBYSxRQUFiLElBQXlCRSxLQUFLLENBQUNDLE9BQU4sQ0FBY0gsQ0FBQyxDQUFDbEIsT0FBaEIsQ0FBN0IsRUFBdUQ7QUFDckRpQixRQUFBQSxVQUFVLEdBQUdBLFVBQVUsQ0FBQ1osTUFBWCxDQUFrQmEsQ0FBQyxDQUFDbEIsT0FBcEIsQ0FBYjtBQUNELE9BRkQsTUFFTyxJQUFJLE9BQU9rQixDQUFQLEtBQWEsVUFBakIsRUFBNkI7QUFDbENELFFBQUFBLFVBQVUsQ0FBQ0ssSUFBWCxDQUFnQkosQ0FBaEI7QUFDRCxPQUZNLE1BRUEsSUFBSSxPQUFPQSxDQUFQLEtBQWEsUUFBYixLQUEwQkEsQ0FBQyxDQUFDSyxLQUFGLElBQVdMLENBQUMsQ0FBQ00sU0FBdkMsQ0FBSixFQUF1RDtBQUM1RCxZQUFJbEIsT0FBTyxDQUFDTSxHQUFSLENBQVlDLFFBQVosS0FBeUIsWUFBN0IsRUFBMkM7QUFDekMsZ0JBQU0sSUFBSVksS0FBSixDQUNKLHFFQUNBLDJEQURBLEdBRUEsdUNBSEksQ0FBTjtBQUtEO0FBQ0YsT0FSTSxNQVFBO0FBQ0wsY0FBTSxJQUFJQSxLQUFKLENBQVVQLENBQUMsR0FBRywwQkFBZCxDQUFOO0FBQ0Q7QUFDRjs7QUFDRCxXQUFPRCxVQUFQO0FBQ0QsRzs7Ozs7ZUFHWWxCLFM7QUFFZjs7Ozs7OztBQU9BOzs7Ozs7Ozs7O0FBVUE7Ozs7Ozs7Ozs7QUFVQTs7Ozs7O0FBTUE7Ozs7O0FBS0E7Ozs7OztBQU1BOzs7OztBQUtBIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IExhenlSZXN1bHQgZnJvbSAnLi9sYXp5LXJlc3VsdCdcblxuLyoqXG4gKiBDb250YWlucyBwbHVnaW5zIHRvIHByb2Nlc3MgQ1NTLiBDcmVhdGUgb25lIGBQcm9jZXNzb3JgIGluc3RhbmNlLFxuICogaW5pdGlhbGl6ZSBpdHMgcGx1Z2lucywgYW5kIHRoZW4gdXNlIHRoYXQgaW5zdGFuY2Ugb24gbnVtZXJvdXMgQ1NTIGZpbGVzLlxuICpcbiAqIEBleGFtcGxlXG4gKiBjb25zdCBwcm9jZXNzb3IgPSBwb3N0Y3NzKFthdXRvcHJlZml4ZXIsIHByZWNzc10pXG4gKiBwcm9jZXNzb3IucHJvY2Vzcyhjc3MxKS50aGVuKHJlc3VsdCA9PiBjb25zb2xlLmxvZyhyZXN1bHQuY3NzKSlcbiAqIHByb2Nlc3Nvci5wcm9jZXNzKGNzczIpLnRoZW4ocmVzdWx0ID0+IGNvbnNvbGUubG9nKHJlc3VsdC5jc3MpKVxuICovXG5jbGFzcyBQcm9jZXNzb3Ige1xuICAvKipcbiAgICogQHBhcmFtIHtBcnJheS48UGx1Z2lufHBsdWdpbkZ1bmN0aW9uPnxQcm9jZXNzb3J9IHBsdWdpbnMgUG9zdENTUyBwbHVnaW5zLlxuICAgKiAgICAgICAgU2VlIHtAbGluayBQcm9jZXNzb3IjdXNlfSBmb3IgcGx1Z2luIGZvcm1hdC5cbiAgICovXG4gIGNvbnN0cnVjdG9yIChwbHVnaW5zID0gW10pIHtcbiAgICAvKipcbiAgICAgKiBDdXJyZW50IFBvc3RDU1MgdmVyc2lvbi5cbiAgICAgKlxuICAgICAqIEB0eXBlIHtzdHJpbmd9XG4gICAgICpcbiAgICAgKiBAZXhhbXBsZVxuICAgICAqIGlmIChyZXN1bHQucHJvY2Vzc29yLnZlcnNpb24uc3BsaXQoJy4nKVswXSAhPT0gJzYnKSB7XG4gICAgICogICB0aHJvdyBuZXcgRXJyb3IoJ1RoaXMgcGx1Z2luIHdvcmtzIG9ubHkgd2l0aCBQb3N0Q1NTIDYnKVxuICAgICAqIH1cbiAgICAgKi9cbiAgICB0aGlzLnZlcnNpb24gPSAnNy4wLjI3J1xuICAgIC8qKlxuICAgICAqIFBsdWdpbnMgYWRkZWQgdG8gdGhpcyBwcm9jZXNzb3IuXG4gICAgICpcbiAgICAgKiBAdHlwZSB7cGx1Z2luRnVuY3Rpb25bXX1cbiAgICAgKlxuICAgICAqIEBleGFtcGxlXG4gICAgICogY29uc3QgcHJvY2Vzc29yID0gcG9zdGNzcyhbYXV0b3ByZWZpeGVyLCBwcmVjc3NdKVxuICAgICAqIHByb2Nlc3Nvci5wbHVnaW5zLmxlbmd0aCAvLz0+IDJcbiAgICAgKi9cbiAgICB0aGlzLnBsdWdpbnMgPSB0aGlzLm5vcm1hbGl6ZShwbHVnaW5zKVxuICB9XG5cbiAgLyoqXG4gICAqIEFkZHMgYSBwbHVnaW4gdG8gYmUgdXNlZCBhcyBhIENTUyBwcm9jZXNzb3IuXG4gICAqXG4gICAqIFBvc3RDU1MgcGx1Z2luIGNhbiBiZSBpbiA0IGZvcm1hdHM6XG4gICAqICogQSBwbHVnaW4gY3JlYXRlZCBieSB7QGxpbmsgcG9zdGNzcy5wbHVnaW59IG1ldGhvZC5cbiAgICogKiBBIGZ1bmN0aW9uLiBQb3N0Q1NTIHdpbGwgcGFzcyB0aGUgZnVuY3Rpb24gYSBAe2xpbmsgUm9vdH1cbiAgICogICBhcyB0aGUgZmlyc3QgYXJndW1lbnQgYW5kIGN1cnJlbnQge0BsaW5rIFJlc3VsdH0gaW5zdGFuY2VcbiAgICogICBhcyB0aGUgc2Vjb25kLlxuICAgKiAqIEFuIG9iamVjdCB3aXRoIGEgYHBvc3Rjc3NgIG1ldGhvZC4gUG9zdENTUyB3aWxsIHVzZSB0aGF0IG1ldGhvZFxuICAgKiAgIGFzIGRlc2NyaWJlZCBpbiAjMi5cbiAgICogKiBBbm90aGVyIHtAbGluayBQcm9jZXNzb3J9IGluc3RhbmNlLiBQb3N0Q1NTIHdpbGwgY29weSBwbHVnaW5zXG4gICAqICAgZnJvbSB0aGF0IGluc3RhbmNlIGludG8gdGhpcyBvbmUuXG4gICAqXG4gICAqIFBsdWdpbnMgY2FuIGFsc28gYmUgYWRkZWQgYnkgcGFzc2luZyB0aGVtIGFzIGFyZ3VtZW50cyB3aGVuIGNyZWF0aW5nXG4gICAqIGEgYHBvc3Rjc3NgIGluc3RhbmNlIChzZWUgW2Bwb3N0Y3NzKHBsdWdpbnMpYF0pLlxuICAgKlxuICAgKiBBc3luY2hyb25vdXMgcGx1Z2lucyBzaG91bGQgcmV0dXJuIGEgYFByb21pc2VgIGluc3RhbmNlLlxuICAgKlxuICAgKiBAcGFyYW0ge1BsdWdpbnxwbHVnaW5GdW5jdGlvbnxQcm9jZXNzb3J9IHBsdWdpbiBQb3N0Q1NTIHBsdWdpblxuICAgKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBvciB7QGxpbmsgUHJvY2Vzc29yfVxuICAgKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB3aXRoIHBsdWdpbnMuXG4gICAqXG4gICAqIEBleGFtcGxlXG4gICAqIGNvbnN0IHByb2Nlc3NvciA9IHBvc3Rjc3MoKVxuICAgKiAgIC51c2UoYXV0b3ByZWZpeGVyKVxuICAgKiAgIC51c2UocHJlY3NzKVxuICAgKlxuICAgKiBAcmV0dXJuIHtQcm9jZXNzZXN9IEN1cnJlbnQgcHJvY2Vzc29yIHRvIG1ha2UgbWV0aG9kcyBjaGFpbi5cbiAgICovXG4gIHVzZSAocGx1Z2luKSB7XG4gICAgdGhpcy5wbHVnaW5zID0gdGhpcy5wbHVnaW5zLmNvbmNhdCh0aGlzLm5vcm1hbGl6ZShbcGx1Z2luXSkpXG4gICAgcmV0dXJuIHRoaXNcbiAgfVxuXG4gIC8qKlxuICAgKiBQYXJzZXMgc291cmNlIENTUyBhbmQgcmV0dXJucyBhIHtAbGluayBMYXp5UmVzdWx0fSBQcm9taXNlIHByb3h5LlxuICAgKiBCZWNhdXNlIHNvbWUgcGx1Z2lucyBjYW4gYmUgYXN5bmNocm9ub3VzIGl0IGRvZXNu4oCZdCBtYWtlXG4gICAqIGFueSB0cmFuc2Zvcm1hdGlvbnMuIFRyYW5zZm9ybWF0aW9ucyB3aWxsIGJlIGFwcGxpZWRcbiAgICogaW4gdGhlIHtAbGluayBMYXp5UmVzdWx0fSBtZXRob2RzLlxuICAgKlxuICAgKiBAcGFyYW0ge3N0cmluZ3x0b1N0cmluZ3xSZXN1bHR9IGNzcyBTdHJpbmcgd2l0aCBpbnB1dCBDU1Mgb3IgYW55IG9iamVjdFxuICAgKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB3aXRoIGEgYHRvU3RyaW5nKClgIG1ldGhvZCxcbiAgICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGlrZSBhIEJ1ZmZlci4gT3B0aW9uYWxseSwgc2VuZFxuICAgKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhIHtAbGluayBSZXN1bHR9IGluc3RhbmNlXG4gICAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFuZCB0aGUgcHJvY2Vzc29yIHdpbGwgdGFrZVxuICAgKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGUge0BsaW5rIFJvb3R9IGZyb20gaXQuXG4gICAqIEBwYXJhbSB7cHJvY2Vzc09wdGlvbnN9IFtvcHRzXSAgICAgIE9wdGlvbnMuXG4gICAqXG4gICAqIEByZXR1cm4ge0xhenlSZXN1bHR9IFByb21pc2UgcHJveHkuXG4gICAqXG4gICAqIEBleGFtcGxlXG4gICAqIHByb2Nlc3Nvci5wcm9jZXNzKGNzcywgeyBmcm9tOiAnYS5jc3MnLCB0bzogJ2Eub3V0LmNzcycgfSlcbiAgICogICAudGhlbihyZXN1bHQgPT4ge1xuICAgKiAgICAgIGNvbnNvbGUubG9nKHJlc3VsdC5jc3MpXG4gICAqICAgfSlcbiAgICovXG4gIHByb2Nlc3MgKGNzcywgb3B0cyA9IHsgfSkge1xuICAgIGlmICh0aGlzLnBsdWdpbnMubGVuZ3RoID09PSAwICYmIG9wdHMucGFyc2VyID09PSBvcHRzLnN0cmluZ2lmaWVyKSB7XG4gICAgICBpZiAocHJvY2Vzcy5lbnYuTk9ERV9FTlYgIT09ICdwcm9kdWN0aW9uJykge1xuICAgICAgICBpZiAodHlwZW9mIGNvbnNvbGUgIT09ICd1bmRlZmluZWQnICYmIGNvbnNvbGUud2Fybikge1xuICAgICAgICAgIGNvbnNvbGUud2FybihcbiAgICAgICAgICAgICdZb3UgZGlkIG5vdCBzZXQgYW55IHBsdWdpbnMsIHBhcnNlciwgb3Igc3RyaW5naWZpZXIuICcgK1xuICAgICAgICAgICAgJ1JpZ2h0IG5vdywgUG9zdENTUyBkb2VzIG5vdGhpbmcuIFBpY2sgcGx1Z2lucyBmb3IgeW91ciBjYXNlICcgK1xuICAgICAgICAgICAgJ29uIGh0dHBzOi8vd3d3LnBvc3Rjc3MucGFydHMvIGFuZCB1c2UgdGhlbSBpbiBwb3N0Y3NzLmNvbmZpZy5qcy4nXG4gICAgICAgICAgKVxuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICAgIHJldHVybiBuZXcgTGF6eVJlc3VsdCh0aGlzLCBjc3MsIG9wdHMpXG4gIH1cblxuICBub3JtYWxpemUgKHBsdWdpbnMpIHtcbiAgICBsZXQgbm9ybWFsaXplZCA9IFtdXG4gICAgZm9yIChsZXQgaSBvZiBwbHVnaW5zKSB7XG4gICAgICBpZiAoaS5wb3N0Y3NzKSBpID0gaS5wb3N0Y3NzXG5cbiAgICAgIGlmICh0eXBlb2YgaSA9PT0gJ29iamVjdCcgJiYgQXJyYXkuaXNBcnJheShpLnBsdWdpbnMpKSB7XG4gICAgICAgIG5vcm1hbGl6ZWQgPSBub3JtYWxpemVkLmNvbmNhdChpLnBsdWdpbnMpXG4gICAgICB9IGVsc2UgaWYgKHR5cGVvZiBpID09PSAnZnVuY3Rpb24nKSB7XG4gICAgICAgIG5vcm1hbGl6ZWQucHVzaChpKVxuICAgICAgfSBlbHNlIGlmICh0eXBlb2YgaSA9PT0gJ29iamVjdCcgJiYgKGkucGFyc2UgfHwgaS5zdHJpbmdpZnkpKSB7XG4gICAgICAgIGlmIChwcm9jZXNzLmVudi5OT0RFX0VOViAhPT0gJ3Byb2R1Y3Rpb24nKSB7XG4gICAgICAgICAgdGhyb3cgbmV3IEVycm9yKFxuICAgICAgICAgICAgJ1Bvc3RDU1Mgc3ludGF4ZXMgY2Fubm90IGJlIHVzZWQgYXMgcGx1Z2lucy4gSW5zdGVhZCwgcGxlYXNlIHVzZSAnICtcbiAgICAgICAgICAgICdvbmUgb2YgdGhlIHN5bnRheC9wYXJzZXIvc3RyaW5naWZpZXIgb3B0aW9ucyBhcyBvdXRsaW5lZCAnICtcbiAgICAgICAgICAgICdpbiB5b3VyIFBvc3RDU1MgcnVubmVyIGRvY3VtZW50YXRpb24uJ1xuICAgICAgICAgIClcbiAgICAgICAgfVxuICAgICAgfSBlbHNlIHtcbiAgICAgICAgdGhyb3cgbmV3IEVycm9yKGkgKyAnIGlzIG5vdCBhIFBvc3RDU1MgcGx1Z2luJylcbiAgICAgIH1cbiAgICB9XG4gICAgcmV0dXJuIG5vcm1hbGl6ZWRcbiAgfVxufVxuXG5leHBvcnQgZGVmYXVsdCBQcm9jZXNzb3JcblxuLyoqXG4gKiBAY2FsbGJhY2sgYnVpbGRlclxuICogQHBhcmFtIHtzdHJpbmd9IHBhcnQgICAgICAgICAgUGFydCBvZiBnZW5lcmF0ZWQgQ1NTIGNvbm5lY3RlZCB0byB0aGlzIG5vZGUuXG4gKiBAcGFyYW0ge05vZGV9ICAgbm9kZSAgICAgICAgICBBU1Qgbm9kZS5cbiAqIEBwYXJhbSB7XCJzdGFydFwifFwiZW5kXCJ9IFt0eXBlXSBOb2Rl4oCZcyBwYXJ0IHR5cGUuXG4gKi9cblxuLyoqXG4gKiBAY2FsbGJhY2sgcGFyc2VyXG4gKlxuICogQHBhcmFtIHtzdHJpbmd8dG9TdHJpbmd9IGNzcyAgIFN0cmluZyB3aXRoIGlucHV0IENTUyBvciBhbnkgb2JqZWN0XG4gKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgd2l0aCB0b1N0cmluZygpIG1ldGhvZCwgbGlrZSBhIEJ1ZmZlci5cbiAqIEBwYXJhbSB7cHJvY2Vzc09wdGlvbnN9IFtvcHRzXSBPcHRpb25zIHdpdGggb25seSBgZnJvbWAgYW5kIGBtYXBgIGtleXMuXG4gKlxuICogQHJldHVybiB7Um9vdH0gUG9zdENTUyBBU1RcbiAqL1xuXG4vKipcbiAqIEBjYWxsYmFjayBzdHJpbmdpZmllclxuICpcbiAqIEBwYXJhbSB7Tm9kZX0gbm9kZSAgICAgICBTdGFydCBub2RlIGZvciBzdHJpbmdpZmluZy4gVXN1YWxseSB7QGxpbmsgUm9vdH0uXG4gKiBAcGFyYW0ge2J1aWxkZXJ9IGJ1aWxkZXIgRnVuY3Rpb24gdG8gY29uY2F0ZW5hdGUgQ1NTIGZyb20gbm9kZeKAmXMgcGFydHNcbiAqICAgICAgICAgICAgICAgICAgICAgICAgICBvciBnZW5lcmF0ZSBzdHJpbmcgYW5kIHNvdXJjZSBtYXAuXG4gKlxuICogQHJldHVybiB7dm9pZH1cbiAqL1xuXG4vKipcbiAqIEB0eXBlZGVmIHtvYmplY3R9IHN5bnRheFxuICogQHByb3BlcnR5IHtwYXJzZXJ9IHBhcnNlICAgICAgICAgIEZ1bmN0aW9uIHRvIGdlbmVyYXRlIEFTVCBieSBzdHJpbmcuXG4gKiBAcHJvcGVydHkge3N0cmluZ2lmaWVyfSBzdHJpbmdpZnkgRnVuY3Rpb24gdG8gZ2VuZXJhdGUgc3RyaW5nIGJ5IEFTVC5cbiAqL1xuXG4vKipcbiAqIEB0eXBlZGVmIHtvYmplY3R9IHRvU3RyaW5nXG4gKiBAcHJvcGVydHkge2Z1bmN0aW9ufSB0b1N0cmluZ1xuICovXG5cbi8qKlxuICogQGNhbGxiYWNrIHBsdWdpbkZ1bmN0aW9uXG4gKiBAcGFyYW0ge1Jvb3R9IHJvb3QgICAgIFBhcnNlZCBpbnB1dCBDU1MuXG4gKiBAcGFyYW0ge1Jlc3VsdH0gcmVzdWx0IFJlc3VsdCB0byBzZXQgd2FybmluZ3Mgb3IgY2hlY2sgb3RoZXIgcGx1Z2lucy5cbiAqL1xuXG4vKipcbiAqIEB0eXBlZGVmIHtvYmplY3R9IFBsdWdpblxuICogQHByb3BlcnR5IHtmdW5jdGlvbn0gcG9zdGNzcyBQb3N0Q1NTIHBsdWdpbiBmdW5jdGlvbi5cbiAqL1xuXG4vKipcbiAqIEB0eXBlZGVmIHtvYmplY3R9IHByb2Nlc3NPcHRpb25zXG4gKiBAcHJvcGVydHkge3N0cmluZ30gZnJvbSAgICAgICAgICAgICBUaGUgcGF0aCBvZiB0aGUgQ1NTIHNvdXJjZSBmaWxlLlxuICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgWW91IHNob3VsZCBhbHdheXMgc2V0IGBmcm9tYCxcbiAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJlY2F1c2UgaXQgaXMgdXNlZCBpbiBzb3VyY2UgbWFwXG4gKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBnZW5lcmF0aW9uIGFuZCBzeW50YXggZXJyb3IgbWVzc2FnZXMuXG4gKiBAcHJvcGVydHkge3N0cmluZ30gdG8gICAgICAgICAgICAgICBUaGUgcGF0aCB3aGVyZSB5b3XigJlsbCBwdXQgdGhlIG91dHB1dFxuICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgQ1NTIGZpbGUuIFlvdSBzaG91bGQgYWx3YXlzIHNldCBgdG9gXG4gKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0byBnZW5lcmF0ZSBjb3JyZWN0IHNvdXJjZSBtYXBzLlxuICogQHByb3BlcnR5IHtwYXJzZXJ9IHBhcnNlciAgICAgICAgICAgRnVuY3Rpb24gdG8gZ2VuZXJhdGUgQVNUIGJ5IHN0cmluZy5cbiAqIEBwcm9wZXJ0eSB7c3RyaW5naWZpZXJ9IHN0cmluZ2lmaWVyIENsYXNzIHRvIGdlbmVyYXRlIHN0cmluZyBieSBBU1QuXG4gKiBAcHJvcGVydHkge3N5bnRheH0gc3ludGF4ICAgICAgICAgICBPYmplY3Qgd2l0aCBgcGFyc2VgIGFuZCBgc3RyaW5naWZ5YC5cbiAqIEBwcm9wZXJ0eSB7b2JqZWN0fSBtYXAgICAgICAgICAgICAgIFNvdXJjZSBtYXAgb3B0aW9ucy5cbiAqIEBwcm9wZXJ0eSB7Ym9vbGVhbn0gbWFwLmlubGluZSAgICAgICAgICAgICAgICAgICAgRG9lcyBzb3VyY2UgbWFwIHNob3VsZFxuICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBiZSBlbWJlZGRlZCBpbiB0aGUgb3V0cHV0XG4gKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIENTUyBhcyBhIGJhc2U2NC1lbmNvZGVkXG4gKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbW1lbnQuXG4gKiBAcHJvcGVydHkge3N0cmluZ3xvYmplY3R8ZmFsc2V8ZnVuY3Rpb259IG1hcC5wcmV2IFNvdXJjZSBtYXAgY29udGVudFxuICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmcm9tIGEgcHJldmlvdXNcbiAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcHJvY2Vzc2luZyBzdGVwXG4gKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChmb3IgZXhhbXBsZSwgU2FzcykuXG4gKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFBvc3RDU1Mgd2lsbCB0cnkgdG8gZmluZFxuICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwcmV2aW91cyBtYXAgYXV0b21hdGljYWxseSxcbiAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc28geW91IGNvdWxkIGRpc2FibGUgaXQgYnlcbiAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYGZhbHNlYCB2YWx1ZS5cbiAqIEBwcm9wZXJ0eSB7Ym9vbGVhbn0gbWFwLnNvdXJjZXNDb250ZW50ICAgICAgICAgICAgRG9lcyBQb3N0Q1NTIHNob3VsZCBzZXRcbiAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGhlIG9yaWdpbiBjb250ZW50IHRvIG1hcC5cbiAqIEBwcm9wZXJ0eSB7c3RyaW5nfGZhbHNlfSBtYXAuYW5ub3RhdGlvbiAgICAgICAgICAgRG9lcyBQb3N0Q1NTIHNob3VsZCBzZXRcbiAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYW5ub3RhdGlvbiBjb21tZW50IHRvIG1hcC5cbiAqIEBwcm9wZXJ0eSB7c3RyaW5nfSBtYXAuZnJvbSAgICAgICAgICAgICAgICAgICAgICAgT3ZlcnJpZGUgYGZyb21gIGluIG1hcOKAmXNcbiAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc291cmNlc2AuXG4gKi9cbiJdLCJmaWxlIjoicHJvY2Vzc29yLmpzIn0= +//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInByb2Nlc3Nvci5lczYiXSwibmFtZXMiOlsiUHJvY2Vzc29yIiwicGx1Z2lucyIsInZlcnNpb24iLCJub3JtYWxpemUiLCJ1c2UiLCJwbHVnaW4iLCJjb25jYXQiLCJwcm9jZXNzIiwiY3NzIiwib3B0cyIsImxlbmd0aCIsInBhcnNlciIsInN0cmluZ2lmaWVyIiwiZW52IiwiTk9ERV9FTlYiLCJjb25zb2xlIiwid2FybiIsIkxhenlSZXN1bHQiLCJub3JtYWxpemVkIiwiaSIsInBvc3Rjc3MiLCJBcnJheSIsImlzQXJyYXkiLCJwdXNoIiwicGFyc2UiLCJzdHJpbmdpZnkiLCJFcnJvciJdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQTs7OztBQUVBOzs7Ozs7Ozs7SUFTTUEsUzs7O0FBQ0o7Ozs7QUFJQSxxQkFBYUMsT0FBYixFQUEyQjtBQUFBLFFBQWRBLE9BQWM7QUFBZEEsTUFBQUEsT0FBYyxHQUFKLEVBQUk7QUFBQTs7QUFDekI7Ozs7Ozs7Ozs7QUFVQSxTQUFLQyxPQUFMLEdBQWUsUUFBZjtBQUNBOzs7Ozs7Ozs7O0FBU0EsU0FBS0QsT0FBTCxHQUFlLEtBQUtFLFNBQUwsQ0FBZUYsT0FBZixDQUFmO0FBQ0Q7QUFFRDs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O1NBNkJBRyxHLEdBQUEsYUFBS0MsTUFBTCxFQUFhO0FBQ1gsU0FBS0osT0FBTCxHQUFlLEtBQUtBLE9BQUwsQ0FBYUssTUFBYixDQUFvQixLQUFLSCxTQUFMLENBQWUsQ0FBQ0UsTUFBRCxDQUFmLENBQXBCLENBQWY7QUFDQSxXQUFPLElBQVA7QUFDRDtBQUVEOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7U0FzQkFFLE87Ozs7Ozs7Ozs7SUFBQSxVQUFTQyxHQUFULEVBQWNDLElBQWQsRUFBMEI7QUFBQSxRQUFaQSxJQUFZO0FBQVpBLE1BQUFBLElBQVksR0FBTCxFQUFLO0FBQUE7O0FBQ3hCLFFBQUksS0FBS1IsT0FBTCxDQUFhUyxNQUFiLEtBQXdCLENBQXhCLElBQTZCRCxJQUFJLENBQUNFLE1BQUwsS0FBZ0JGLElBQUksQ0FBQ0csV0FBdEQsRUFBbUU7QUFDakUsVUFBSUwsT0FBTyxDQUFDTSxHQUFSLENBQVlDLFFBQVosS0FBeUIsWUFBN0IsRUFBMkM7QUFDekMsWUFBSSxPQUFPQyxPQUFQLEtBQW1CLFdBQW5CLElBQWtDQSxPQUFPLENBQUNDLElBQTlDLEVBQW9EO0FBQ2xERCxVQUFBQSxPQUFPLENBQUNDLElBQVIsQ0FDRSwwREFDQSw4REFEQSxHQUVBLGtFQUhGO0FBS0Q7QUFDRjtBQUNGOztBQUNELFdBQU8sSUFBSUMsbUJBQUosQ0FBZSxJQUFmLEVBQXFCVCxHQUFyQixFQUEwQkMsSUFBMUIsQ0FBUDtBQUNELEc7O1NBRUROLFMsR0FBQSxtQkFBV0YsT0FBWCxFQUFvQjtBQUNsQixRQUFJaUIsVUFBVSxHQUFHLEVBQWpCOztBQUNBLHlCQUFjakIsT0FBZCxrSEFBdUI7QUFBQTs7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBOztBQUFBLFVBQWRrQixDQUFjO0FBQ3JCLFVBQUlBLENBQUMsQ0FBQ0MsT0FBTixFQUFlRCxDQUFDLEdBQUdBLENBQUMsQ0FBQ0MsT0FBTjs7QUFFZixVQUFJLE9BQU9ELENBQVAsS0FBYSxRQUFiLElBQXlCRSxLQUFLLENBQUNDLE9BQU4sQ0FBY0gsQ0FBQyxDQUFDbEIsT0FBaEIsQ0FBN0IsRUFBdUQ7QUFDckRpQixRQUFBQSxVQUFVLEdBQUdBLFVBQVUsQ0FBQ1osTUFBWCxDQUFrQmEsQ0FBQyxDQUFDbEIsT0FBcEIsQ0FBYjtBQUNELE9BRkQsTUFFTyxJQUFJLE9BQU9rQixDQUFQLEtBQWEsVUFBakIsRUFBNkI7QUFDbENELFFBQUFBLFVBQVUsQ0FBQ0ssSUFBWCxDQUFnQkosQ0FBaEI7QUFDRCxPQUZNLE1BRUEsSUFBSSxPQUFPQSxDQUFQLEtBQWEsUUFBYixLQUEwQkEsQ0FBQyxDQUFDSyxLQUFGLElBQVdMLENBQUMsQ0FBQ00sU0FBdkMsQ0FBSixFQUF1RDtBQUM1RCxZQUFJbEIsT0FBTyxDQUFDTSxHQUFSLENBQVlDLFFBQVosS0FBeUIsWUFBN0IsRUFBMkM7QUFDekMsZ0JBQU0sSUFBSVksS0FBSixDQUNKLHFFQUNBLDJEQURBLEdBRUEsdUNBSEksQ0FBTjtBQUtEO0FBQ0YsT0FSTSxNQVFBO0FBQ0wsY0FBTSxJQUFJQSxLQUFKLENBQVVQLENBQUMsR0FBRywwQkFBZCxDQUFOO0FBQ0Q7QUFDRjs7QUFDRCxXQUFPRCxVQUFQO0FBQ0QsRzs7Ozs7ZUFHWWxCLFM7QUFFZjs7Ozs7OztBQU9BOzs7Ozs7Ozs7O0FBVUE7Ozs7Ozs7Ozs7QUFVQTs7Ozs7O0FBTUE7Ozs7O0FBS0E7Ozs7OztBQU1BOzs7OztBQUtBIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IExhenlSZXN1bHQgZnJvbSAnLi9sYXp5LXJlc3VsdCdcblxuLyoqXG4gKiBDb250YWlucyBwbHVnaW5zIHRvIHByb2Nlc3MgQ1NTLiBDcmVhdGUgb25lIGBQcm9jZXNzb3JgIGluc3RhbmNlLFxuICogaW5pdGlhbGl6ZSBpdHMgcGx1Z2lucywgYW5kIHRoZW4gdXNlIHRoYXQgaW5zdGFuY2Ugb24gbnVtZXJvdXMgQ1NTIGZpbGVzLlxuICpcbiAqIEBleGFtcGxlXG4gKiBjb25zdCBwcm9jZXNzb3IgPSBwb3N0Y3NzKFthdXRvcHJlZml4ZXIsIHByZWNzc10pXG4gKiBwcm9jZXNzb3IucHJvY2Vzcyhjc3MxKS50aGVuKHJlc3VsdCA9PiBjb25zb2xlLmxvZyhyZXN1bHQuY3NzKSlcbiAqIHByb2Nlc3Nvci5wcm9jZXNzKGNzczIpLnRoZW4ocmVzdWx0ID0+IGNvbnNvbGUubG9nKHJlc3VsdC5jc3MpKVxuICovXG5jbGFzcyBQcm9jZXNzb3Ige1xuICAvKipcbiAgICogQHBhcmFtIHtBcnJheS48UGx1Z2lufHBsdWdpbkZ1bmN0aW9uPnxQcm9jZXNzb3J9IHBsdWdpbnMgUG9zdENTUyBwbHVnaW5zLlxuICAgKiAgICAgICAgU2VlIHtAbGluayBQcm9jZXNzb3IjdXNlfSBmb3IgcGx1Z2luIGZvcm1hdC5cbiAgICovXG4gIGNvbnN0cnVjdG9yIChwbHVnaW5zID0gW10pIHtcbiAgICAvKipcbiAgICAgKiBDdXJyZW50IFBvc3RDU1MgdmVyc2lvbi5cbiAgICAgKlxuICAgICAqIEB0eXBlIHtzdHJpbmd9XG4gICAgICpcbiAgICAgKiBAZXhhbXBsZVxuICAgICAqIGlmIChyZXN1bHQucHJvY2Vzc29yLnZlcnNpb24uc3BsaXQoJy4nKVswXSAhPT0gJzYnKSB7XG4gICAgICogICB0aHJvdyBuZXcgRXJyb3IoJ1RoaXMgcGx1Z2luIHdvcmtzIG9ubHkgd2l0aCBQb3N0Q1NTIDYnKVxuICAgICAqIH1cbiAgICAgKi9cbiAgICB0aGlzLnZlcnNpb24gPSAnNy4wLjI5J1xuICAgIC8qKlxuICAgICAqIFBsdWdpbnMgYWRkZWQgdG8gdGhpcyBwcm9jZXNzb3IuXG4gICAgICpcbiAgICAgKiBAdHlwZSB7cGx1Z2luRnVuY3Rpb25bXX1cbiAgICAgKlxuICAgICAqIEBleGFtcGxlXG4gICAgICogY29uc3QgcHJvY2Vzc29yID0gcG9zdGNzcyhbYXV0b3ByZWZpeGVyLCBwcmVjc3NdKVxuICAgICAqIHByb2Nlc3Nvci5wbHVnaW5zLmxlbmd0aCAvLz0+IDJcbiAgICAgKi9cbiAgICB0aGlzLnBsdWdpbnMgPSB0aGlzLm5vcm1hbGl6ZShwbHVnaW5zKVxuICB9XG5cbiAgLyoqXG4gICAqIEFkZHMgYSBwbHVnaW4gdG8gYmUgdXNlZCBhcyBhIENTUyBwcm9jZXNzb3IuXG4gICAqXG4gICAqIFBvc3RDU1MgcGx1Z2luIGNhbiBiZSBpbiA0IGZvcm1hdHM6XG4gICAqICogQSBwbHVnaW4gY3JlYXRlZCBieSB7QGxpbmsgcG9zdGNzcy5wbHVnaW59IG1ldGhvZC5cbiAgICogKiBBIGZ1bmN0aW9uLiBQb3N0Q1NTIHdpbGwgcGFzcyB0aGUgZnVuY3Rpb24gYSBAe2xpbmsgUm9vdH1cbiAgICogICBhcyB0aGUgZmlyc3QgYXJndW1lbnQgYW5kIGN1cnJlbnQge0BsaW5rIFJlc3VsdH0gaW5zdGFuY2VcbiAgICogICBhcyB0aGUgc2Vjb25kLlxuICAgKiAqIEFuIG9iamVjdCB3aXRoIGEgYHBvc3Rjc3NgIG1ldGhvZC4gUG9zdENTUyB3aWxsIHVzZSB0aGF0IG1ldGhvZFxuICAgKiAgIGFzIGRlc2NyaWJlZCBpbiAjMi5cbiAgICogKiBBbm90aGVyIHtAbGluayBQcm9jZXNzb3J9IGluc3RhbmNlLiBQb3N0Q1NTIHdpbGwgY29weSBwbHVnaW5zXG4gICAqICAgZnJvbSB0aGF0IGluc3RhbmNlIGludG8gdGhpcyBvbmUuXG4gICAqXG4gICAqIFBsdWdpbnMgY2FuIGFsc28gYmUgYWRkZWQgYnkgcGFzc2luZyB0aGVtIGFzIGFyZ3VtZW50cyB3aGVuIGNyZWF0aW5nXG4gICAqIGEgYHBvc3Rjc3NgIGluc3RhbmNlIChzZWUgW2Bwb3N0Y3NzKHBsdWdpbnMpYF0pLlxuICAgKlxuICAgKiBBc3luY2hyb25vdXMgcGx1Z2lucyBzaG91bGQgcmV0dXJuIGEgYFByb21pc2VgIGluc3RhbmNlLlxuICAgKlxuICAgKiBAcGFyYW0ge1BsdWdpbnxwbHVnaW5GdW5jdGlvbnxQcm9jZXNzb3J9IHBsdWdpbiBQb3N0Q1NTIHBsdWdpblxuICAgKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBvciB7QGxpbmsgUHJvY2Vzc29yfVxuICAgKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB3aXRoIHBsdWdpbnMuXG4gICAqXG4gICAqIEBleGFtcGxlXG4gICAqIGNvbnN0IHByb2Nlc3NvciA9IHBvc3Rjc3MoKVxuICAgKiAgIC51c2UoYXV0b3ByZWZpeGVyKVxuICAgKiAgIC51c2UocHJlY3NzKVxuICAgKlxuICAgKiBAcmV0dXJuIHtQcm9jZXNzZXN9IEN1cnJlbnQgcHJvY2Vzc29yIHRvIG1ha2UgbWV0aG9kcyBjaGFpbi5cbiAgICovXG4gIHVzZSAocGx1Z2luKSB7XG4gICAgdGhpcy5wbHVnaW5zID0gdGhpcy5wbHVnaW5zLmNvbmNhdCh0aGlzLm5vcm1hbGl6ZShbcGx1Z2luXSkpXG4gICAgcmV0dXJuIHRoaXNcbiAgfVxuXG4gIC8qKlxuICAgKiBQYXJzZXMgc291cmNlIENTUyBhbmQgcmV0dXJucyBhIHtAbGluayBMYXp5UmVzdWx0fSBQcm9taXNlIHByb3h5LlxuICAgKiBCZWNhdXNlIHNvbWUgcGx1Z2lucyBjYW4gYmUgYXN5bmNocm9ub3VzIGl0IGRvZXNu4oCZdCBtYWtlXG4gICAqIGFueSB0cmFuc2Zvcm1hdGlvbnMuIFRyYW5zZm9ybWF0aW9ucyB3aWxsIGJlIGFwcGxpZWRcbiAgICogaW4gdGhlIHtAbGluayBMYXp5UmVzdWx0fSBtZXRob2RzLlxuICAgKlxuICAgKiBAcGFyYW0ge3N0cmluZ3x0b1N0cmluZ3xSZXN1bHR9IGNzcyBTdHJpbmcgd2l0aCBpbnB1dCBDU1Mgb3IgYW55IG9iamVjdFxuICAgKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB3aXRoIGEgYHRvU3RyaW5nKClgIG1ldGhvZCxcbiAgICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbGlrZSBhIEJ1ZmZlci4gT3B0aW9uYWxseSwgc2VuZFxuICAgKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhIHtAbGluayBSZXN1bHR9IGluc3RhbmNlXG4gICAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFuZCB0aGUgcHJvY2Vzc29yIHdpbGwgdGFrZVxuICAgKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0aGUge0BsaW5rIFJvb3R9IGZyb20gaXQuXG4gICAqIEBwYXJhbSB7cHJvY2Vzc09wdGlvbnN9IFtvcHRzXSAgICAgIE9wdGlvbnMuXG4gICAqXG4gICAqIEByZXR1cm4ge0xhenlSZXN1bHR9IFByb21pc2UgcHJveHkuXG4gICAqXG4gICAqIEBleGFtcGxlXG4gICAqIHByb2Nlc3Nvci5wcm9jZXNzKGNzcywgeyBmcm9tOiAnYS5jc3MnLCB0bzogJ2Eub3V0LmNzcycgfSlcbiAgICogICAudGhlbihyZXN1bHQgPT4ge1xuICAgKiAgICAgIGNvbnNvbGUubG9nKHJlc3VsdC5jc3MpXG4gICAqICAgfSlcbiAgICovXG4gIHByb2Nlc3MgKGNzcywgb3B0cyA9IHsgfSkge1xuICAgIGlmICh0aGlzLnBsdWdpbnMubGVuZ3RoID09PSAwICYmIG9wdHMucGFyc2VyID09PSBvcHRzLnN0cmluZ2lmaWVyKSB7XG4gICAgICBpZiAocHJvY2Vzcy5lbnYuTk9ERV9FTlYgIT09ICdwcm9kdWN0aW9uJykge1xuICAgICAgICBpZiAodHlwZW9mIGNvbnNvbGUgIT09ICd1bmRlZmluZWQnICYmIGNvbnNvbGUud2Fybikge1xuICAgICAgICAgIGNvbnNvbGUud2FybihcbiAgICAgICAgICAgICdZb3UgZGlkIG5vdCBzZXQgYW55IHBsdWdpbnMsIHBhcnNlciwgb3Igc3RyaW5naWZpZXIuICcgK1xuICAgICAgICAgICAgJ1JpZ2h0IG5vdywgUG9zdENTUyBkb2VzIG5vdGhpbmcuIFBpY2sgcGx1Z2lucyBmb3IgeW91ciBjYXNlICcgK1xuICAgICAgICAgICAgJ29uIGh0dHBzOi8vd3d3LnBvc3Rjc3MucGFydHMvIGFuZCB1c2UgdGhlbSBpbiBwb3N0Y3NzLmNvbmZpZy5qcy4nXG4gICAgICAgICAgKVxuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICAgIHJldHVybiBuZXcgTGF6eVJlc3VsdCh0aGlzLCBjc3MsIG9wdHMpXG4gIH1cblxuICBub3JtYWxpemUgKHBsdWdpbnMpIHtcbiAgICBsZXQgbm9ybWFsaXplZCA9IFtdXG4gICAgZm9yIChsZXQgaSBvZiBwbHVnaW5zKSB7XG4gICAgICBpZiAoaS5wb3N0Y3NzKSBpID0gaS5wb3N0Y3NzXG5cbiAgICAgIGlmICh0eXBlb2YgaSA9PT0gJ29iamVjdCcgJiYgQXJyYXkuaXNBcnJheShpLnBsdWdpbnMpKSB7XG4gICAgICAgIG5vcm1hbGl6ZWQgPSBub3JtYWxpemVkLmNvbmNhdChpLnBsdWdpbnMpXG4gICAgICB9IGVsc2UgaWYgKHR5cGVvZiBpID09PSAnZnVuY3Rpb24nKSB7XG4gICAgICAgIG5vcm1hbGl6ZWQucHVzaChpKVxuICAgICAgfSBlbHNlIGlmICh0eXBlb2YgaSA9PT0gJ29iamVjdCcgJiYgKGkucGFyc2UgfHwgaS5zdHJpbmdpZnkpKSB7XG4gICAgICAgIGlmIChwcm9jZXNzLmVudi5OT0RFX0VOViAhPT0gJ3Byb2R1Y3Rpb24nKSB7XG4gICAgICAgICAgdGhyb3cgbmV3IEVycm9yKFxuICAgICAgICAgICAgJ1Bvc3RDU1Mgc3ludGF4ZXMgY2Fubm90IGJlIHVzZWQgYXMgcGx1Z2lucy4gSW5zdGVhZCwgcGxlYXNlIHVzZSAnICtcbiAgICAgICAgICAgICdvbmUgb2YgdGhlIHN5bnRheC9wYXJzZXIvc3RyaW5naWZpZXIgb3B0aW9ucyBhcyBvdXRsaW5lZCAnICtcbiAgICAgICAgICAgICdpbiB5b3VyIFBvc3RDU1MgcnVubmVyIGRvY3VtZW50YXRpb24uJ1xuICAgICAgICAgIClcbiAgICAgICAgfVxuICAgICAgfSBlbHNlIHtcbiAgICAgICAgdGhyb3cgbmV3IEVycm9yKGkgKyAnIGlzIG5vdCBhIFBvc3RDU1MgcGx1Z2luJylcbiAgICAgIH1cbiAgICB9XG4gICAgcmV0dXJuIG5vcm1hbGl6ZWRcbiAgfVxufVxuXG5leHBvcnQgZGVmYXVsdCBQcm9jZXNzb3JcblxuLyoqXG4gKiBAY2FsbGJhY2sgYnVpbGRlclxuICogQHBhcmFtIHtzdHJpbmd9IHBhcnQgICAgICAgICAgUGFydCBvZiBnZW5lcmF0ZWQgQ1NTIGNvbm5lY3RlZCB0byB0aGlzIG5vZGUuXG4gKiBAcGFyYW0ge05vZGV9ICAgbm9kZSAgICAgICAgICBBU1Qgbm9kZS5cbiAqIEBwYXJhbSB7XCJzdGFydFwifFwiZW5kXCJ9IFt0eXBlXSBOb2Rl4oCZcyBwYXJ0IHR5cGUuXG4gKi9cblxuLyoqXG4gKiBAY2FsbGJhY2sgcGFyc2VyXG4gKlxuICogQHBhcmFtIHtzdHJpbmd8dG9TdHJpbmd9IGNzcyAgIFN0cmluZyB3aXRoIGlucHV0IENTUyBvciBhbnkgb2JqZWN0XG4gKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgd2l0aCB0b1N0cmluZygpIG1ldGhvZCwgbGlrZSBhIEJ1ZmZlci5cbiAqIEBwYXJhbSB7cHJvY2Vzc09wdGlvbnN9IFtvcHRzXSBPcHRpb25zIHdpdGggb25seSBgZnJvbWAgYW5kIGBtYXBgIGtleXMuXG4gKlxuICogQHJldHVybiB7Um9vdH0gUG9zdENTUyBBU1RcbiAqL1xuXG4vKipcbiAqIEBjYWxsYmFjayBzdHJpbmdpZmllclxuICpcbiAqIEBwYXJhbSB7Tm9kZX0gbm9kZSAgICAgICBTdGFydCBub2RlIGZvciBzdHJpbmdpZmluZy4gVXN1YWxseSB7QGxpbmsgUm9vdH0uXG4gKiBAcGFyYW0ge2J1aWxkZXJ9IGJ1aWxkZXIgRnVuY3Rpb24gdG8gY29uY2F0ZW5hdGUgQ1NTIGZyb20gbm9kZeKAmXMgcGFydHNcbiAqICAgICAgICAgICAgICAgICAgICAgICAgICBvciBnZW5lcmF0ZSBzdHJpbmcgYW5kIHNvdXJjZSBtYXAuXG4gKlxuICogQHJldHVybiB7dm9pZH1cbiAqL1xuXG4vKipcbiAqIEB0eXBlZGVmIHtvYmplY3R9IHN5bnRheFxuICogQHByb3BlcnR5IHtwYXJzZXJ9IHBhcnNlICAgICAgICAgIEZ1bmN0aW9uIHRvIGdlbmVyYXRlIEFTVCBieSBzdHJpbmcuXG4gKiBAcHJvcGVydHkge3N0cmluZ2lmaWVyfSBzdHJpbmdpZnkgRnVuY3Rpb24gdG8gZ2VuZXJhdGUgc3RyaW5nIGJ5IEFTVC5cbiAqL1xuXG4vKipcbiAqIEB0eXBlZGVmIHtvYmplY3R9IHRvU3RyaW5nXG4gKiBAcHJvcGVydHkge2Z1bmN0aW9ufSB0b1N0cmluZ1xuICovXG5cbi8qKlxuICogQGNhbGxiYWNrIHBsdWdpbkZ1bmN0aW9uXG4gKiBAcGFyYW0ge1Jvb3R9IHJvb3QgICAgIFBhcnNlZCBpbnB1dCBDU1MuXG4gKiBAcGFyYW0ge1Jlc3VsdH0gcmVzdWx0IFJlc3VsdCB0byBzZXQgd2FybmluZ3Mgb3IgY2hlY2sgb3RoZXIgcGx1Z2lucy5cbiAqL1xuXG4vKipcbiAqIEB0eXBlZGVmIHtvYmplY3R9IFBsdWdpblxuICogQHByb3BlcnR5IHtmdW5jdGlvbn0gcG9zdGNzcyBQb3N0Q1NTIHBsdWdpbiBmdW5jdGlvbi5cbiAqL1xuXG4vKipcbiAqIEB0eXBlZGVmIHtvYmplY3R9IHByb2Nlc3NPcHRpb25zXG4gKiBAcHJvcGVydHkge3N0cmluZ30gZnJvbSAgICAgICAgICAgICBUaGUgcGF0aCBvZiB0aGUgQ1NTIHNvdXJjZSBmaWxlLlxuICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgWW91IHNob3VsZCBhbHdheXMgc2V0IGBmcm9tYCxcbiAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJlY2F1c2UgaXQgaXMgdXNlZCBpbiBzb3VyY2UgbWFwXG4gKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBnZW5lcmF0aW9uIGFuZCBzeW50YXggZXJyb3IgbWVzc2FnZXMuXG4gKiBAcHJvcGVydHkge3N0cmluZ30gdG8gICAgICAgICAgICAgICBUaGUgcGF0aCB3aGVyZSB5b3XigJlsbCBwdXQgdGhlIG91dHB1dFxuICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgQ1NTIGZpbGUuIFlvdSBzaG91bGQgYWx3YXlzIHNldCBgdG9gXG4gKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0byBnZW5lcmF0ZSBjb3JyZWN0IHNvdXJjZSBtYXBzLlxuICogQHByb3BlcnR5IHtwYXJzZXJ9IHBhcnNlciAgICAgICAgICAgRnVuY3Rpb24gdG8gZ2VuZXJhdGUgQVNUIGJ5IHN0cmluZy5cbiAqIEBwcm9wZXJ0eSB7c3RyaW5naWZpZXJ9IHN0cmluZ2lmaWVyIENsYXNzIHRvIGdlbmVyYXRlIHN0cmluZyBieSBBU1QuXG4gKiBAcHJvcGVydHkge3N5bnRheH0gc3ludGF4ICAgICAgICAgICBPYmplY3Qgd2l0aCBgcGFyc2VgIGFuZCBgc3RyaW5naWZ5YC5cbiAqIEBwcm9wZXJ0eSB7b2JqZWN0fSBtYXAgICAgICAgICAgICAgIFNvdXJjZSBtYXAgb3B0aW9ucy5cbiAqIEBwcm9wZXJ0eSB7Ym9vbGVhbn0gbWFwLmlubGluZSAgICAgICAgICAgICAgICAgICAgRG9lcyBzb3VyY2UgbWFwIHNob3VsZFxuICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBiZSBlbWJlZGRlZCBpbiB0aGUgb3V0cHV0XG4gKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIENTUyBhcyBhIGJhc2U2NC1lbmNvZGVkXG4gKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNvbW1lbnQuXG4gKiBAcHJvcGVydHkge3N0cmluZ3xvYmplY3R8ZmFsc2V8ZnVuY3Rpb259IG1hcC5wcmV2IFNvdXJjZSBtYXAgY29udGVudFxuICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBmcm9tIGEgcHJldmlvdXNcbiAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcHJvY2Vzc2luZyBzdGVwXG4gKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChmb3IgZXhhbXBsZSwgU2FzcykuXG4gKiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFBvc3RDU1Mgd2lsbCB0cnkgdG8gZmluZFxuICogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwcmV2aW91cyBtYXAgYXV0b21hdGljYWxseSxcbiAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc28geW91IGNvdWxkIGRpc2FibGUgaXQgYnlcbiAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYGZhbHNlYCB2YWx1ZS5cbiAqIEBwcm9wZXJ0eSB7Ym9vbGVhbn0gbWFwLnNvdXJjZXNDb250ZW50ICAgICAgICAgICAgRG9lcyBQb3N0Q1NTIHNob3VsZCBzZXRcbiAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdGhlIG9yaWdpbiBjb250ZW50IHRvIG1hcC5cbiAqIEBwcm9wZXJ0eSB7c3RyaW5nfGZhbHNlfSBtYXAuYW5ub3RhdGlvbiAgICAgICAgICAgRG9lcyBQb3N0Q1NTIHNob3VsZCBzZXRcbiAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYW5ub3RhdGlvbiBjb21tZW50IHRvIG1hcC5cbiAqIEBwcm9wZXJ0eSB7c3RyaW5nfSBtYXAuZnJvbSAgICAgICAgICAgICAgICAgICAgICAgT3ZlcnJpZGUgYGZyb21gIGluIG1hcOKAmXNcbiAqICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc291cmNlc2AuXG4gKi9cbiJdLCJmaWxlIjoicHJvY2Vzc29yLmpzIn0= /***/ }), @@ -240410,7 +240022,7 @@ function getUserAgent() { return "Windows "; } - throw error; + return ""; } } @@ -240959,7 +240571,31 @@ if (util && util.inspect && util.inspect.custom) { } /***/ }), -/* 801 */, +/* 801 */ +/***/ (function(module, __unusedexports, __webpack_require__) { + +const resolve = __webpack_require__(371) + +// Like `require.resolve()` but works with a custom base directory. +// We need to use `new Promise()` due to a bug with `utils.promisify()` on +// `resolve`: +// https://github.com/browserify/resolve/issues/151#issuecomment-368210310 +const resolveLocation = function(location, basedir) { + return new Promise((success, reject) => { + resolve(location, { basedir, preserveSymlinks: true }, (error, resolvedLocation) => { + if (error) { + return reject(error) + } + + success(resolvedLocation) + }) + }) +} + +module.exports = { resolveLocation } + + +/***/ }), /* 802 */ /***/ (function(module) { @@ -261038,7 +260674,7 @@ module.exports = require("tty"); /* 868 */ /***/ (function(module, __unusedexports, __webpack_require__) { -var Readable = __webpack_require__(247).Readable +var Readable = __webpack_require__(34).Readable var inherits = __webpack_require__(689) module.exports = from2 @@ -263899,7 +263535,7 @@ Object.defineProperty(exports, '__esModule', { value: true }); var request = __webpack_require__(753); var universalUserAgent = __webpack_require__(796); -const VERSION = "4.3.1"; +const VERSION = "4.4.0"; class GraphqlError extends Error { constructor(request, response) { @@ -263918,7 +263554,7 @@ class GraphqlError extends Error { } -const NON_VARIABLE_OPTIONS = ["method", "baseUrl", "url", "headers", "request", "query"]; +const NON_VARIABLE_OPTIONS = ["method", "baseUrl", "url", "headers", "request", "query", "mediaType"]; function graphql(request, query, options) { options = typeof query === "string" ? options = Object.assign({ query @@ -268570,7 +268206,7 @@ const checkPath = pth => { const processOptions = options => { // https://github.com/sindresorhus/make-dir/issues/18 const defaults = { - mode: 0o777 & (~process.umask()), + mode: 0o777, fs }; @@ -268983,7 +268619,316 @@ module.exports = function(fn) { } /***/ }), -/* 949 */, +/* 949 */ +/***/ (function(module, __unusedexports, __webpack_require__) { + +var fs = __webpack_require__(747); +var path = __webpack_require__(622); +var caller = __webpack_require__(433); +var nodeModulesPaths = __webpack_require__(194); +var normalizeOptions = __webpack_require__(590); +var isCore = __webpack_require__(127); + +var defaultIsFile = function isFile(file, cb) { + fs.stat(file, function (err, stat) { + if (!err) { + return cb(null, stat.isFile() || stat.isFIFO()); + } + if (err.code === 'ENOENT' || err.code === 'ENOTDIR') return cb(null, false); + return cb(err); + }); +}; + +var defaultIsDir = function isDirectory(dir, cb) { + fs.stat(dir, function (err, stat) { + if (!err) { + return cb(null, stat.isDirectory()); + } + if (err.code === 'ENOENT' || err.code === 'ENOTDIR') return cb(null, false); + return cb(err); + }); +}; + +var maybeUnwrapSymlink = function maybeUnwrapSymlink(x, opts, cb) { + if (!opts || !opts.preserveSymlinks) { + fs.realpath(x, function (realPathErr, realPath) { + if (realPathErr && realPathErr.code !== 'ENOENT') cb(realPathErr); + else cb(null, realPathErr ? x : realPath); + }); + } else { + cb(null, x); + } +}; + +var getPackageCandidates = function getPackageCandidates(x, start, opts) { + var dirs = nodeModulesPaths(start, opts, x); + for (var i = 0; i < dirs.length; i++) { + dirs[i] = path.join(dirs[i], x); + } + return dirs; +}; + +module.exports = function resolve(x, options, callback) { + var cb = callback; + var opts = options; + if (typeof options === 'function') { + cb = opts; + opts = {}; + } + if (typeof x !== 'string') { + var err = new TypeError('Path must be a string.'); + return process.nextTick(function () { + cb(err); + }); + } + + opts = normalizeOptions(x, opts); + + var isFile = opts.isFile || defaultIsFile; + var isDirectory = opts.isDirectory || defaultIsDir; + var readFile = opts.readFile || fs.readFile; + var packageIterator = opts.packageIterator; + + var extensions = opts.extensions || ['.js']; + var basedir = opts.basedir || path.dirname(caller()); + var parent = opts.filename || basedir; + + opts.paths = opts.paths || []; + + // ensure that `basedir` is an absolute path at this point, resolving against the process' current working directory + var absoluteStart = path.resolve(basedir); + + maybeUnwrapSymlink( + absoluteStart, + opts, + function (err, realStart) { + if (err) cb(err); + else validateBasedir(realStart); + } + ); + + function validateBasedir(basedir) { + if (opts.basedir) { + var dirError = new TypeError('Provided basedir "' + basedir + '" is not a directory' + (opts.preserveSymlinks ? '' : ', or a symlink to a directory')); + dirError.code = 'INVALID_BASEDIR'; + isDirectory(basedir, function (err, result) { + if (err) return cb(err); + if (!result) { return cb(dirError); } + validBasedir(basedir); + }); + } else { + validBasedir(basedir); + } + } + + var res; + function validBasedir(basedir) { + if ((/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/).test(x)) { + res = path.resolve(basedir, x); + if (x === '..' || x.slice(-1) === '/') res += '/'; + if ((/\/$/).test(x) && res === basedir) { + loadAsDirectory(res, opts.package, onfile); + } else loadAsFile(res, opts.package, onfile); + } else if (isCore(x)) { + return cb(null, x); + } else loadNodeModules(x, basedir, function (err, n, pkg) { + if (err) cb(err); + else if (n) { + return maybeUnwrapSymlink(n, opts, function (err, realN) { + if (err) { + cb(err); + } else { + cb(null, realN, pkg); + } + }); + } else { + var moduleError = new Error("Cannot find module '" + x + "' from '" + parent + "'"); + moduleError.code = 'MODULE_NOT_FOUND'; + cb(moduleError); + } + }); + } + + function onfile(err, m, pkg) { + if (err) cb(err); + else if (m) cb(null, m, pkg); + else loadAsDirectory(res, function (err, d, pkg) { + if (err) cb(err); + else if (d) { + maybeUnwrapSymlink(d, opts, function (err, realD) { + if (err) { + cb(err); + } else { + cb(null, realD, pkg); + } + }); + } else { + var moduleError = new Error("Cannot find module '" + x + "' from '" + parent + "'"); + moduleError.code = 'MODULE_NOT_FOUND'; + cb(moduleError); + } + }); + } + + function loadAsFile(x, thePackage, callback) { + var loadAsFilePackage = thePackage; + var cb = callback; + if (typeof loadAsFilePackage === 'function') { + cb = loadAsFilePackage; + loadAsFilePackage = undefined; + } + + var exts = [''].concat(extensions); + load(exts, x, loadAsFilePackage); + + function load(exts, x, loadPackage) { + if (exts.length === 0) return cb(null, undefined, loadPackage); + var file = x + exts[0]; + + var pkg = loadPackage; + if (pkg) onpkg(null, pkg); + else loadpkg(path.dirname(file), onpkg); + + function onpkg(err, pkg_, dir) { + pkg = pkg_; + if (err) return cb(err); + if (dir && pkg && opts.pathFilter) { + var rfile = path.relative(dir, file); + var rel = rfile.slice(0, rfile.length - exts[0].length); + var r = opts.pathFilter(pkg, x, rel); + if (r) return load( + [''].concat(extensions.slice()), + path.resolve(dir, r), + pkg + ); + } + isFile(file, onex); + } + function onex(err, ex) { + if (err) return cb(err); + if (ex) return cb(null, file, pkg); + load(exts.slice(1), x, pkg); + } + } + } + + function loadpkg(dir, cb) { + if (dir === '' || dir === '/') return cb(null); + if (process.platform === 'win32' && (/^\w:[/\\]*$/).test(dir)) { + return cb(null); + } + if ((/[/\\]node_modules[/\\]*$/).test(dir)) return cb(null); + + maybeUnwrapSymlink(dir, opts, function (unwrapErr, pkgdir) { + if (unwrapErr) return loadpkg(path.dirname(dir), cb); + var pkgfile = path.join(pkgdir, 'package.json'); + isFile(pkgfile, function (err, ex) { + // on err, ex is false + if (!ex) return loadpkg(path.dirname(dir), cb); + + readFile(pkgfile, function (err, body) { + if (err) cb(err); + try { var pkg = JSON.parse(body); } catch (jsonErr) {} + + if (pkg && opts.packageFilter) { + pkg = opts.packageFilter(pkg, pkgfile, dir); + } + cb(null, pkg, dir); + }); + }); + }); + } + + function loadAsDirectory(x, loadAsDirectoryPackage, callback) { + var cb = callback; + var fpkg = loadAsDirectoryPackage; + if (typeof fpkg === 'function') { + cb = fpkg; + fpkg = opts.package; + } + + maybeUnwrapSymlink(x, opts, function (unwrapErr, pkgdir) { + if (unwrapErr) return loadAsDirectory(path.dirname(x), fpkg, cb); + var pkgfile = path.join(pkgdir, 'package.json'); + isFile(pkgfile, function (err, ex) { + if (err) return cb(err); + if (!ex) return loadAsFile(path.join(x, 'index'), fpkg, cb); + + readFile(pkgfile, function (err, body) { + if (err) return cb(err); + try { + var pkg = JSON.parse(body); + } catch (jsonErr) {} + + if (pkg && opts.packageFilter) { + pkg = opts.packageFilter(pkg, pkgfile, pkgdir); + } + + if (pkg && pkg.main) { + if (typeof pkg.main !== 'string') { + var mainError = new TypeError('package “' + pkg.name + '” `main` must be a string'); + mainError.code = 'INVALID_PACKAGE_MAIN'; + return cb(mainError); + } + if (pkg.main === '.' || pkg.main === './') { + pkg.main = 'index'; + } + loadAsFile(path.resolve(x, pkg.main), pkg, function (err, m, pkg) { + if (err) return cb(err); + if (m) return cb(null, m, pkg); + if (!pkg) return loadAsFile(path.join(x, 'index'), pkg, cb); + + var dir = path.resolve(x, pkg.main); + loadAsDirectory(dir, pkg, function (err, n, pkg) { + if (err) return cb(err); + if (n) return cb(null, n, pkg); + loadAsFile(path.join(x, 'index'), pkg, cb); + }); + }); + return; + } + + loadAsFile(path.join(x, '/index'), pkg, cb); + }); + }); + }); + } + + function processDirs(cb, dirs) { + if (dirs.length === 0) return cb(null, undefined); + var dir = dirs[0]; + + isDirectory(path.dirname(dir), isdir); + + function isdir(err, isdir) { + if (err) return cb(err); + if (!isdir) return processDirs(cb, dirs.slice(1)); + loadAsFile(dir, opts.package, onfile); + } + + function onfile(err, m, pkg) { + if (err) return cb(err); + if (m) return cb(null, m, pkg); + loadAsDirectory(dir, opts.package, ondir); + } + + function ondir(err, n, pkg) { + if (err) return cb(err); + if (n) return cb(null, n, pkg); + processDirs(cb, dirs.slice(1)); + } + } + function loadNodeModules(x, start, cb) { + var thunk = function () { return getPackageCandidates(x, start, opts); }; + processDirs( + cb, + packageIterator ? packageIterator(x, start, thunk, opts) : thunk() + ); + } +}; + + +/***/ }), /* 950 */ /***/ (function(__unusedmodule, exports, __webpack_require__) { @@ -268999,12 +268944,10 @@ function getProxyUrl(reqUrl) { } let proxyVar; if (usingSsl) { - proxyVar = process.env["https_proxy"] || - process.env["HTTPS_PROXY"]; + proxyVar = process.env['https_proxy'] || process.env['HTTPS_PROXY']; } else { - proxyVar = process.env["http_proxy"] || - process.env["HTTP_PROXY"]; + proxyVar = process.env['http_proxy'] || process.env['HTTP_PROXY']; } if (proxyVar) { proxyUrl = url.parse(proxyVar); @@ -269016,7 +268959,7 @@ function checkBypass(reqUrl) { if (!reqUrl.hostname) { return false; } - let noProxy = process.env["no_proxy"] || process.env["NO_PROXY"] || ''; + let noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || ''; if (!noProxy) { return false; } @@ -269037,7 +268980,10 @@ function checkBypass(reqUrl) { upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`); } // Compare request host against noproxy - for (let upperNoProxyItem of noProxy.split(',').map(x => x.trim().toUpperCase()).filter(x => x)) { + for (let upperNoProxyItem of noProxy + .split(',') + .map(x => x.trim().toUpperCase()) + .filter(x => x)) { if (upperReqHosts.some(x => x === upperNoProxyItem)) { return true; } @@ -270818,18 +270764,7 @@ module.exports = options => { /***/ }), -/* 967 */ -/***/ (function(module, __unusedexports, __webpack_require__) { - -var async = __webpack_require__(104); -async.core = __webpack_require__(595); -async.isCore = __webpack_require__(153); -async.sync = __webpack_require__(713); - -module.exports = async; - - -/***/ }), +/* 967 */, /* 968 */, /* 969 */ /***/ (function(module, __unusedexports, __webpack_require__) { @@ -270902,10 +270837,10 @@ const { dirname } = __webpack_require__(622) const glob = __webpack_require__(120) const precinct = __webpack_require__(92) const requirePackageName = __webpack_require__(332) -const resolve = __webpack_require__(967) const promisify = __webpack_require__(799) -const pResolve = promisify(resolve) +const { resolveLocation } = __webpack_require__(801) + const pGlob = promisify(glob) // Retrieve all the files recursively required by a Node.js file @@ -270963,7 +270898,7 @@ const LOCAL_IMPORT_REGEXP = /^(\.|\/)/ // When a file requires another one, we apply the top-level logic recursively const getLocalImportDependencies = async function(dependency, basedir, packageJson, state) { - const dependencyPath = await pResolve(dependency, { basedir }) + const dependencyPath = await resolveLocation(dependency, basedir) const depsPath = await getFileDependencies(dependencyPath, packageJson, state) return [dependencyPath, ...depsPath] } @@ -270983,12 +270918,12 @@ const getModuleDependencies = async function(dependency, basedir, state, package const BACKSLASH_REGEXP = /\\/g const getModuleNameDependencies = async function(moduleName, basedir, state) { - if (EXCLUDED_MODULES.includes(moduleName)) { + if (isExludedModule(moduleName)) { return [] } // Find the Node.js module directory path - const packagePath = await pResolve(`${moduleName}/package.json`, { basedir }) + const packagePath = await resolveLocation(`${moduleName}/package.json`, basedir) const modulePath = dirname(packagePath) if (state.modulePaths.includes(modulePath)) { @@ -270999,15 +270934,34 @@ const getModuleNameDependencies = async function(moduleName, basedir, state) { const pkg = require(packagePath) - const [publishedFiles, depsPaths] = await Promise.all([ + const [publishedFiles, sideFiles, depsPaths] = await Promise.all([ getPublishedFiles(modulePath), + getSideFiles(modulePath, moduleName), getNestedModules(modulePath, state, pkg) ]) - return [...publishedFiles, ...depsPaths] + return [...publishedFiles, ...sideFiles, ...depsPaths] } +const isExludedModule = function(moduleName) { + return EXCLUDED_MODULES.includes(moduleName) || moduleName.startsWith('@types/') +} const EXCLUDED_MODULES = ['aws-sdk'] +// Some modules generate source files on `postinstall` that are not located +// inside the module's directory itself. +const getSideFiles = function(modulePath, moduleName) { + const sideFiles = SIDE_FILES[moduleName] + if (sideFiles === undefined) { + return [] + } + + return getPublishedFiles(`${modulePath}/${sideFiles}`) +} + +const SIDE_FILES = { + '@prisma/client': '../../.prisma' +} + // We use all the files published by the Node.js except some that are not needed const getPublishedFiles = async function(modulePath) { const ignore = getIgnoredFiles(modulePath) @@ -271065,7 +271019,7 @@ const shouldIncludePeerDependency = function(name) { return !EXCLUDED_PEER_DEPENDENCIES.includes(name) } -const EXCLUDED_PEER_DEPENDENCIES = ['prisma2'] +const EXCLUDED_PEER_DEPENDENCIES = ['@prisma/cli', 'prisma2'] // Modules can be required conditionally (inside an `if` or `try`/`catch` block). // When a `require()` statement is found but the module is not found, it is @@ -285084,7 +285038,199 @@ exports.tokTypes = types; /***/ }), /* 986 */, -/* 987 */, +/* 987 */ +/***/ (function(module, __unusedexports, __webpack_require__) { + +var isCore = __webpack_require__(127); +var fs = __webpack_require__(747); +var path = __webpack_require__(622); +var caller = __webpack_require__(433); +var nodeModulesPaths = __webpack_require__(194); +var normalizeOptions = __webpack_require__(590); + +var defaultIsFile = function isFile(file) { + try { + var stat = fs.statSync(file); + } catch (e) { + if (e && (e.code === 'ENOENT' || e.code === 'ENOTDIR')) return false; + throw e; + } + return stat.isFile() || stat.isFIFO(); +}; + +var defaultIsDir = function isDirectory(dir) { + try { + var stat = fs.statSync(dir); + } catch (e) { + if (e && (e.code === 'ENOENT' || e.code === 'ENOTDIR')) return false; + throw e; + } + return stat.isDirectory(); +}; + +var maybeUnwrapSymlink = function maybeUnwrapSymlink(x, opts) { + if (!opts || !opts.preserveSymlinks) { + try { + return fs.realpathSync(x); + } catch (realPathErr) { + if (realPathErr.code !== 'ENOENT') { + throw realPathErr; + } + } + } + return x; +}; + +var getPackageCandidates = function getPackageCandidates(x, start, opts) { + var dirs = nodeModulesPaths(start, opts, x); + for (var i = 0; i < dirs.length; i++) { + dirs[i] = path.join(dirs[i], x); + } + return dirs; +}; + +module.exports = function resolveSync(x, options) { + if (typeof x !== 'string') { + throw new TypeError('Path must be a string.'); + } + var opts = normalizeOptions(x, options); + + var isFile = opts.isFile || defaultIsFile; + var isDirectory = opts.isDirectory || defaultIsDir; + var readFileSync = opts.readFileSync || fs.readFileSync; + var packageIterator = opts.packageIterator; + + var extensions = opts.extensions || ['.js']; + var basedir = opts.basedir || path.dirname(caller()); + var parent = opts.filename || basedir; + + opts.paths = opts.paths || []; + + // ensure that `basedir` is an absolute path at this point, resolving against the process' current working directory + var absoluteStart = maybeUnwrapSymlink(path.resolve(basedir), opts); + + if (opts.basedir && !isDirectory(absoluteStart)) { + var dirError = new TypeError('Provided basedir "' + opts.basedir + '" is not a directory' + (opts.preserveSymlinks ? '' : ', or a symlink to a directory')); + dirError.code = 'INVALID_BASEDIR'; + throw dirError; + } + + if ((/^(?:\.\.?(?:\/|$)|\/|([A-Za-z]:)?[/\\])/).test(x)) { + var res = path.resolve(absoluteStart, x); + if (x === '..' || x.slice(-1) === '/') res += '/'; + var m = loadAsFileSync(res) || loadAsDirectorySync(res); + if (m) return maybeUnwrapSymlink(m, opts); + } else if (isCore(x)) { + return x; + } else { + var n = loadNodeModulesSync(x, absoluteStart); + if (n) return maybeUnwrapSymlink(n, opts); + } + + var err = new Error("Cannot find module '" + x + "' from '" + parent + "'"); + err.code = 'MODULE_NOT_FOUND'; + throw err; + + function loadAsFileSync(x) { + var pkg = loadpkg(path.dirname(x)); + + if (pkg && pkg.dir && pkg.pkg && opts.pathFilter) { + var rfile = path.relative(pkg.dir, x); + var r = opts.pathFilter(pkg.pkg, x, rfile); + if (r) { + x = path.resolve(pkg.dir, r); // eslint-disable-line no-param-reassign + } + } + + if (isFile(x)) { + return x; + } + + for (var i = 0; i < extensions.length; i++) { + var file = x + extensions[i]; + if (isFile(file)) { + return file; + } + } + } + + function loadpkg(dir) { + if (dir === '' || dir === '/') return; + if (process.platform === 'win32' && (/^\w:[/\\]*$/).test(dir)) { + return; + } + if ((/[/\\]node_modules[/\\]*$/).test(dir)) return; + + var pkgfile = path.join(isDirectory(dir) ? maybeUnwrapSymlink(dir, opts) : dir, 'package.json'); + + if (!isFile(pkgfile)) { + return loadpkg(path.dirname(dir)); + } + + var body = readFileSync(pkgfile); + + try { + var pkg = JSON.parse(body); + } catch (jsonErr) {} + + if (pkg && opts.packageFilter) { + pkg = opts.packageFilter(pkg, pkgfile, dir); + } + + return { pkg: pkg, dir: dir }; + } + + function loadAsDirectorySync(x) { + var pkgfile = path.join(isDirectory(x) ? maybeUnwrapSymlink(x, opts) : x, '/package.json'); + if (isFile(pkgfile)) { + try { + var body = readFileSync(pkgfile, 'UTF8'); + var pkg = JSON.parse(body); + } catch (e) {} + + if (pkg && opts.packageFilter) { + pkg = opts.packageFilter(pkg, pkgfile, x); + } + + if (pkg && pkg.main) { + if (typeof pkg.main !== 'string') { + var mainError = new TypeError('package “' + pkg.name + '” `main` must be a string'); + mainError.code = 'INVALID_PACKAGE_MAIN'; + throw mainError; + } + if (pkg.main === '.' || pkg.main === './') { + pkg.main = 'index'; + } + try { + var m = loadAsFileSync(path.resolve(x, pkg.main)); + if (m) return m; + var n = loadAsDirectorySync(path.resolve(x, pkg.main)); + if (n) return n; + } catch (e) {} + } + } + + return loadAsFileSync(path.join(x, '/index')); + } + + function loadNodeModulesSync(x, start) { + var thunk = function () { return getPackageCandidates(x, start, opts); }; + var dirs = packageIterator ? packageIterator(x, start, thunk, opts) : thunk(); + + for (var i = 0; i < dirs.length; i++) { + var dir = dirs[i]; + if (isDirectory(path.dirname(dir))) { + var m = loadAsFileSync(dir); + if (m) return m; + var n = loadAsDirectorySync(dir); + if (n) return n; + } + } + } +}; + + +/***/ }), /* 988 */ /***/ (function(module, __unusedexports, __webpack_require__) { @@ -287229,17 +287375,6 @@ var parseArrayValue = function (val, options) { return val; }; -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); -}; - // 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 @@ -287288,7 +287423,7 @@ var parseValues = function parseQueryStringValues(str, options) { val = options.strictNullHandling ? null : ''; } else { key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key'); - val = maybeMap( + val = utils.maybeMap( parseArrayValue(part.slice(pos + 1), options), function (encodedVal) { return options.decoder(encodedVal, defaults.decoder, charset, 'value'); diff --git a/package-lock.json b/package-lock.json index 6b515fa4..cd30e821 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,18 +1,18 @@ { "name": "actions-netlify", - "version": "1.0.12", + "version": "1.0.13", "lockfileVersion": 1, "requires": true, "dependencies": { "@actions/core": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.2.3.tgz", - "integrity": "sha512-Wp4xnyokakM45Uuj4WLUxdsa8fJjKVl1fDTsPbTEcTcuu0Nb26IPQbOtjmnfaCPGcaoPOOqId8H9NapZ8gii4w==" + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.2.4.tgz", + "integrity": "sha512-YJCEq8BE3CdN8+7HPZ/4DxJjk/OkZV2FFIf+DlZTC/4iBlzYCD5yjRR6eiOS5llO11zbRltIRuKAjMKaWTE6cg==" }, "@actions/github": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/@actions/github/-/github-2.1.1.tgz", - "integrity": "sha512-kAgTGUx7yf5KQCndVeHSwCNZuDBvPyxm5xKTswW2lofugeuC1AZX73nUUVDNaysnM9aKFMHv9YCdVJbg7syEyA==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@actions/github/-/github-2.2.0.tgz", + "integrity": "sha512-9UAZqn8ywdR70n3GwVle4N8ALosQs4z50N7XMXrSTUVOmVpaBC5kE3TRTT7qQdi3OaQV24mjGuJZsHUmhD+ZXw==", "requires": { "@actions/http-client": "^1.0.3", "@octokit/graphql": "^4.3.1", @@ -20,9 +20,9 @@ } }, "@actions/http-client": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-1.0.7.tgz", - "integrity": "sha512-PY3ys/XH5WMekkHyZhYSa/scYvlE5T/TV/T++vABHuY5ZRgtiBZkn2L2tV5Pv/xDCl59lSZb9WwRuWExDyAsSg==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-1.0.8.tgz", + "integrity": "sha512-G4JjJ6f9Hb3Zvejj+ewLLKLf99ZC+9v+yCxoYf9vSyH+WkzPLB2LuUtRMGNkooMqdugGBFStIKXOuvH1W+EctA==", "requires": { "tunnel": "0.0.6" } @@ -37,19 +37,19 @@ } }, "@babel/core": { - "version": "7.9.0", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.9.0.tgz", - "integrity": "sha512-kWc7L0fw1xwvI0zi8OKVBuxRVefwGOrKSQMvrQ3dW+bIIavBY3/NpXmpjMy7bQnLgwgzWQZ8TlM57YHpHNHz4w==", + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.9.6.tgz", + "integrity": "sha512-nD3deLvbsApbHAHttzIssYqgb883yU/d9roe4RZymBCDaZryMJDbptVpEpeQuRh4BJ+SYI8le9YGxKvFEvl1Wg==", "dev": true, "requires": { "@babel/code-frame": "^7.8.3", - "@babel/generator": "^7.9.0", + "@babel/generator": "^7.9.6", "@babel/helper-module-transforms": "^7.9.0", - "@babel/helpers": "^7.9.0", - "@babel/parser": "^7.9.0", + "@babel/helpers": "^7.9.6", + "@babel/parser": "^7.9.6", "@babel/template": "^7.8.6", - "@babel/traverse": "^7.9.0", - "@babel/types": "^7.9.0", + "@babel/traverse": "^7.9.6", + "@babel/types": "^7.9.6", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.1", @@ -58,6 +58,71 @@ "resolve": "^1.3.2", "semver": "^5.4.1", "source-map": "^0.5.0" + }, + "dependencies": { + "@babel/generator": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.9.6.tgz", + "integrity": "sha512-+htwWKJbH2bL72HRluF8zumBxzuX0ZZUFl3JLNyoUjM/Ho8wnVpPXM6aUz8cfKDqQ/h7zHqKt4xzJteUosckqQ==", + "dev": true, + "requires": { + "@babel/types": "^7.9.6", + "jsesc": "^2.5.1", + "lodash": "^4.17.13", + "source-map": "^0.5.0" + } + }, + "@babel/helper-function-name": { + "version": "7.9.5", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.9.5.tgz", + "integrity": "sha512-JVcQZeXM59Cd1qanDUxv9fgJpt3NeKUaqBqUEvfmQ+BCOKq2xUgaWZW2hr0dkbyJgezYuplEoh5knmrnS68efw==", + "dev": true, + "requires": { + "@babel/helper-get-function-arity": "^7.8.3", + "@babel/template": "^7.8.3", + "@babel/types": "^7.9.5" + } + }, + "@babel/helper-validator-identifier": { + "version": "7.9.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.5.tgz", + "integrity": "sha512-/8arLKUFq882w4tWGj9JYzRpAlZgiWUJ+dtteNTDqrRBz9Iguck9Rn3ykuBDoUwh2TO4tSAJlrxDUOXWklJe4g==", + "dev": true + }, + "@babel/parser": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.9.6.tgz", + "integrity": "sha512-AoeIEJn8vt+d/6+PXDRPaksYhnlbMIiejioBZvvMQsOjW/JYK6k/0dKnvvP3EhK5GfMBWDPtrxRtegWdAcdq9Q==", + "dev": true + }, + "@babel/traverse": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.9.6.tgz", + "integrity": "sha512-b3rAHSjbxy6VEAvlxM8OV/0X4XrG72zoxme6q1MOoe2vd0bEc+TwayhuC1+Dfgqh1QEG+pj7atQqvUprHIccsg==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.8.3", + "@babel/generator": "^7.9.6", + "@babel/helper-function-name": "^7.9.5", + "@babel/helper-split-export-declaration": "^7.8.3", + "@babel/parser": "^7.9.6", + "@babel/types": "^7.9.6", + "debug": "^4.1.0", + "globals": "^11.1.0", + "lodash": "^4.17.13" + } + }, + "@babel/types": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.9.6.tgz", + "integrity": "sha512-qxXzvBO//jO9ZnoasKF1uJzHd2+M6Q2ZPIVfnFps8JJvXy0ZBbwbNOmE6SGIY5XOY6d1Bo5lb9d9RJ8nv3WSeA==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.9.5", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + } } }, "@babel/generator": { @@ -141,15 +206,80 @@ "dev": true }, "@babel/helper-replace-supers": { - "version": "7.8.6", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.8.6.tgz", - "integrity": "sha512-PeMArdA4Sv/Wf4zXwBKPqVj7n9UF/xg6slNRtZW84FM7JpE1CbG8B612FyM4cxrf4fMAMGO0kR7voy1ForHHFA==", + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.9.6.tgz", + "integrity": "sha512-qX+chbxkbArLyCImk3bWV+jB5gTNU/rsze+JlcF6Nf8tVTigPJSI1o1oBow/9Resa1yehUO9lIipsmu9oG4RzA==", "dev": true, "requires": { "@babel/helper-member-expression-to-functions": "^7.8.3", "@babel/helper-optimise-call-expression": "^7.8.3", - "@babel/traverse": "^7.8.6", - "@babel/types": "^7.8.6" + "@babel/traverse": "^7.9.6", + "@babel/types": "^7.9.6" + }, + "dependencies": { + "@babel/generator": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.9.6.tgz", + "integrity": "sha512-+htwWKJbH2bL72HRluF8zumBxzuX0ZZUFl3JLNyoUjM/Ho8wnVpPXM6aUz8cfKDqQ/h7zHqKt4xzJteUosckqQ==", + "dev": true, + "requires": { + "@babel/types": "^7.9.6", + "jsesc": "^2.5.1", + "lodash": "^4.17.13", + "source-map": "^0.5.0" + } + }, + "@babel/helper-function-name": { + "version": "7.9.5", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.9.5.tgz", + "integrity": "sha512-JVcQZeXM59Cd1qanDUxv9fgJpt3NeKUaqBqUEvfmQ+BCOKq2xUgaWZW2hr0dkbyJgezYuplEoh5knmrnS68efw==", + "dev": true, + "requires": { + "@babel/helper-get-function-arity": "^7.8.3", + "@babel/template": "^7.8.3", + "@babel/types": "^7.9.5" + } + }, + "@babel/helper-validator-identifier": { + "version": "7.9.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.5.tgz", + "integrity": "sha512-/8arLKUFq882w4tWGj9JYzRpAlZgiWUJ+dtteNTDqrRBz9Iguck9Rn3ykuBDoUwh2TO4tSAJlrxDUOXWklJe4g==", + "dev": true + }, + "@babel/parser": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.9.6.tgz", + "integrity": "sha512-AoeIEJn8vt+d/6+PXDRPaksYhnlbMIiejioBZvvMQsOjW/JYK6k/0dKnvvP3EhK5GfMBWDPtrxRtegWdAcdq9Q==", + "dev": true + }, + "@babel/traverse": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.9.6.tgz", + "integrity": "sha512-b3rAHSjbxy6VEAvlxM8OV/0X4XrG72zoxme6q1MOoe2vd0bEc+TwayhuC1+Dfgqh1QEG+pj7atQqvUprHIccsg==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.8.3", + "@babel/generator": "^7.9.6", + "@babel/helper-function-name": "^7.9.5", + "@babel/helper-split-export-declaration": "^7.8.3", + "@babel/parser": "^7.9.6", + "@babel/types": "^7.9.6", + "debug": "^4.1.0", + "globals": "^11.1.0", + "lodash": "^4.17.13" + } + }, + "@babel/types": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.9.6.tgz", + "integrity": "sha512-qxXzvBO//jO9ZnoasKF1uJzHd2+M6Q2ZPIVfnFps8JJvXy0ZBbwbNOmE6SGIY5XOY6d1Bo5lb9d9RJ8nv3WSeA==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.9.5", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + } } }, "@babel/helper-simple-access": { @@ -178,14 +308,79 @@ "dev": true }, "@babel/helpers": { - "version": "7.9.2", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.9.2.tgz", - "integrity": "sha512-JwLvzlXVPjO8eU9c/wF9/zOIN7X6h8DYf7mG4CiFRZRvZNKEF5dQ3H3V+ASkHoIB3mWhatgl5ONhyqHRI6MppA==", + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.9.6.tgz", + "integrity": "sha512-tI4bUbldloLcHWoRUMAj4g1bF313M/o6fBKhIsb3QnGVPwRm9JsNf/gqMkQ7zjqReABiffPV6RWj7hEglID5Iw==", "dev": true, "requires": { "@babel/template": "^7.8.3", - "@babel/traverse": "^7.9.0", - "@babel/types": "^7.9.0" + "@babel/traverse": "^7.9.6", + "@babel/types": "^7.9.6" + }, + "dependencies": { + "@babel/generator": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.9.6.tgz", + "integrity": "sha512-+htwWKJbH2bL72HRluF8zumBxzuX0ZZUFl3JLNyoUjM/Ho8wnVpPXM6aUz8cfKDqQ/h7zHqKt4xzJteUosckqQ==", + "dev": true, + "requires": { + "@babel/types": "^7.9.6", + "jsesc": "^2.5.1", + "lodash": "^4.17.13", + "source-map": "^0.5.0" + } + }, + "@babel/helper-function-name": { + "version": "7.9.5", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.9.5.tgz", + "integrity": "sha512-JVcQZeXM59Cd1qanDUxv9fgJpt3NeKUaqBqUEvfmQ+BCOKq2xUgaWZW2hr0dkbyJgezYuplEoh5knmrnS68efw==", + "dev": true, + "requires": { + "@babel/helper-get-function-arity": "^7.8.3", + "@babel/template": "^7.8.3", + "@babel/types": "^7.9.5" + } + }, + "@babel/helper-validator-identifier": { + "version": "7.9.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.5.tgz", + "integrity": "sha512-/8arLKUFq882w4tWGj9JYzRpAlZgiWUJ+dtteNTDqrRBz9Iguck9Rn3ykuBDoUwh2TO4tSAJlrxDUOXWklJe4g==", + "dev": true + }, + "@babel/parser": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.9.6.tgz", + "integrity": "sha512-AoeIEJn8vt+d/6+PXDRPaksYhnlbMIiejioBZvvMQsOjW/JYK6k/0dKnvvP3EhK5GfMBWDPtrxRtegWdAcdq9Q==", + "dev": true + }, + "@babel/traverse": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.9.6.tgz", + "integrity": "sha512-b3rAHSjbxy6VEAvlxM8OV/0X4XrG72zoxme6q1MOoe2vd0bEc+TwayhuC1+Dfgqh1QEG+pj7atQqvUprHIccsg==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.8.3", + "@babel/generator": "^7.9.6", + "@babel/helper-function-name": "^7.9.5", + "@babel/helper-split-export-declaration": "^7.8.3", + "@babel/parser": "^7.9.6", + "@babel/types": "^7.9.6", + "debug": "^4.1.0", + "globals": "^11.1.0", + "lodash": "^4.17.13" + } + }, + "@babel/types": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.9.6.tgz", + "integrity": "sha512-qxXzvBO//jO9ZnoasKF1uJzHd2+M6Q2ZPIVfnFps8JJvXy0ZBbwbNOmE6SGIY5XOY6d1Bo5lb9d9RJ8nv3WSeA==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.9.5", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + } } }, "@babel/highlight": { @@ -256,6 +451,15 @@ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.9.4.tgz", "integrity": "sha512-bC49otXX6N0/VYhgOMh4gnP26E9xnDZK3TmbNpxYzzz9BQLBosQwfyOe9/cXUU3txYhTzLCbcqd5c8y/OmCjHA==" }, + "@babel/plugin-syntax-async-generators": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", + "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, "@babel/plugin-syntax-bigint": { "version": "7.8.3", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz", @@ -265,6 +469,51 @@ "@babel/helper-plugin-utils": "^7.8.0" } }, + "@babel/plugin-syntax-class-properties": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.8.3.tgz", + "integrity": "sha512-UcAyQWg2bAN647Q+O811tG9MrJ38Z10jjhQdKNAL8fsyPzE3cCN/uT+f55cFVY4aGO4jqJAvmqsuY3GQDwAoXg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-syntax-json-strings": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", + "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-logical-assignment-operators": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.8.3.tgz", + "integrity": "sha512-Zpg2Sgc++37kuFl6ppq2Q7Awc6E6AIW671x5PY8E/f7MCIyPPGK/EoeZXvvY3P42exZ3Q4/t3YOzP/HiN79jDg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-syntax-nullish-coalescing-operator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", + "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-numeric-separator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.8.3.tgz", + "integrity": "sha512-H7dCMAdN83PcCmqmkHB5dtp+Xa9a6LKSvA2hiFBC/5alSHxM5VgWZXFqDi0YFe8XNGT6iCa+z4V4zSt/PdZ7Dw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + } + }, "@babel/plugin-syntax-object-rest-spread": { "version": "7.8.3", "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", @@ -274,6 +523,24 @@ "@babel/helper-plugin-utils": "^7.8.0" } }, + "@babel/plugin-syntax-optional-catch-binding": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", + "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-optional-chaining": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", + "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, "@babel/runtime": { "version": "7.9.2", "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.9.2.tgz", @@ -424,45 +691,46 @@ "dev": true }, "@jest/console": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/@jest/console/-/console-25.2.6.tgz", - "integrity": "sha512-bGp+0PicZVCEhb+ifnW9wpKWONNdkhtJsRE7ap729hiAfTvCN6VhGx0s/l/V/skA2pnyqq+N/7xl9ZWfykDpsg==", + "version": "25.5.0", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-25.5.0.tgz", + "integrity": "sha512-T48kZa6MK1Y6k4b89sexwmSF4YLeZS/Udqg3Jj3jG/cHH+N/sLFCEoXEDMOKugJQ9FxPN1osxIknvKkxt6MKyw==", "dev": true, "requires": { - "@jest/source-map": "^25.2.6", + "@jest/types": "^25.5.0", "chalk": "^3.0.0", - "jest-util": "^25.2.6", + "jest-message-util": "^25.5.0", + "jest-util": "^25.5.0", "slash": "^3.0.0" } }, "@jest/core": { - "version": "25.2.7", - "resolved": "https://registry.npmjs.org/@jest/core/-/core-25.2.7.tgz", - "integrity": "sha512-Nd6ELJyR+j0zlwhzkfzY70m04hAur0VnMwJXVe4VmmD/SaQ6DEyal++ERQ1sgyKIKKEqRuui6k/R0wHLez4P+g==", + "version": "25.5.4", + "resolved": "https://registry.npmjs.org/@jest/core/-/core-25.5.4.tgz", + "integrity": "sha512-3uSo7laYxF00Dg/DMgbn4xMJKmDdWvZnf89n8Xj/5/AeQ2dOQmn6b6Hkj/MleyzZWXpwv+WSdYWl4cLsy2JsoA==", "dev": true, "requires": { - "@jest/console": "^25.2.6", - "@jest/reporters": "^25.2.6", - "@jest/test-result": "^25.2.6", - "@jest/transform": "^25.2.6", - "@jest/types": "^25.2.6", + "@jest/console": "^25.5.0", + "@jest/reporters": "^25.5.1", + "@jest/test-result": "^25.5.0", + "@jest/transform": "^25.5.1", + "@jest/types": "^25.5.0", "ansi-escapes": "^4.2.1", "chalk": "^3.0.0", "exit": "^0.1.2", - "graceful-fs": "^4.2.3", - "jest-changed-files": "^25.2.6", - "jest-config": "^25.2.7", - "jest-haste-map": "^25.2.6", - "jest-message-util": "^25.2.6", + "graceful-fs": "^4.2.4", + "jest-changed-files": "^25.5.0", + "jest-config": "^25.5.4", + "jest-haste-map": "^25.5.1", + "jest-message-util": "^25.5.0", "jest-regex-util": "^25.2.6", - "jest-resolve": "^25.2.6", - "jest-resolve-dependencies": "^25.2.7", - "jest-runner": "^25.2.7", - "jest-runtime": "^25.2.7", - "jest-snapshot": "^25.2.7", - "jest-util": "^25.2.6", - "jest-validate": "^25.2.6", - "jest-watcher": "^25.2.7", + "jest-resolve": "^25.5.1", + "jest-resolve-dependencies": "^25.5.4", + "jest-runner": "^25.5.4", + "jest-runtime": "^25.5.4", + "jest-snapshot": "^25.5.1", + "jest-util": "^25.5.0", + "jest-validate": "^25.5.0", + "jest-watcher": "^25.5.0", "micromatch": "^4.0.2", "p-each-series": "^2.1.0", "realpath-native": "^2.0.0", @@ -480,6 +748,12 @@ "type-fest": "^0.11.0" } }, + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true + }, "rimraf": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", @@ -497,65 +771,89 @@ "requires": { "ansi-regex": "^5.0.0" } + }, + "type-fest": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.11.0.tgz", + "integrity": "sha512-OdjXJxnCN1AvyLSzeKIgXTXxV+99ZuXl3Hpo9XpJAv9MBcHrrJOQ5kV7ypXOuQie+AmWG25hLbiKdwYTifzcfQ==", + "dev": true } } }, "@jest/environment": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-25.2.6.tgz", - "integrity": "sha512-17WIw+wCb9drRNFw1hi8CHah38dXVdOk7ga9exThhGtXlZ9mK8xH4DjSB9uGDGXIWYSHmrxoyS6KJ7ywGr7bzg==", + "version": "25.5.0", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-25.5.0.tgz", + "integrity": "sha512-U2VXPEqL07E/V7pSZMSQCvV5Ea4lqOlT+0ZFijl/i316cRMHvZ4qC+jBdryd+lmRetjQo0YIQr6cVPNxxK87mA==", "dev": true, "requires": { - "@jest/fake-timers": "^25.2.6", - "@jest/types": "^25.2.6", - "jest-mock": "^25.2.6" + "@jest/fake-timers": "^25.5.0", + "@jest/types": "^25.5.0", + "jest-mock": "^25.5.0" } }, "@jest/fake-timers": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-25.2.6.tgz", - "integrity": "sha512-A6qtDIA2zg/hVgUJJYzQSHFBIp25vHdSxW/s4XmTJAYxER6eL0NQdQhe4+232uUSviKitubHGXXirt5M7blPiA==", + "version": "25.5.0", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-25.5.0.tgz", + "integrity": "sha512-9y2+uGnESw/oyOI3eww9yaxdZyHq7XvprfP/eeoCsjqKYts2yRlsHS/SgjPDV8FyMfn2nbMy8YzUk6nyvdLOpQ==", "dev": true, "requires": { - "@jest/types": "^25.2.6", - "jest-message-util": "^25.2.6", - "jest-mock": "^25.2.6", - "jest-util": "^25.2.6", + "@jest/types": "^25.5.0", + "jest-message-util": "^25.5.0", + "jest-mock": "^25.5.0", + "jest-util": "^25.5.0", "lolex": "^5.0.0" } }, + "@jest/globals": { + "version": "25.5.2", + "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-25.5.2.tgz", + "integrity": "sha512-AgAS/Ny7Q2RCIj5kZ+0MuKM1wbF0WMLxbCVl/GOMoCNbODRdJ541IxJ98xnZdVSZXivKpJlNPIWa3QmY0l4CXA==", + "dev": true, + "requires": { + "@jest/environment": "^25.5.0", + "@jest/types": "^25.5.0", + "expect": "^25.5.0" + } + }, "@jest/reporters": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-25.2.6.tgz", - "integrity": "sha512-DRMyjaxcd6ZKctiXNcuVObnPwB1eUs7xrUVu0J2V0p5/aZJei5UM9GL3s/bmN4hRV8Mt3zXh+/9X2o0Q4ClZIA==", + "version": "25.5.1", + "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-25.5.1.tgz", + "integrity": "sha512-3jbd8pPDTuhYJ7vqiHXbSwTJQNavczPs+f1kRprRDxETeE3u6srJ+f0NPuwvOmk+lmunZzPkYWIFZDLHQPkviw==", "dev": true, "requires": { "@bcoe/v8-coverage": "^0.2.3", - "@jest/console": "^25.2.6", - "@jest/test-result": "^25.2.6", - "@jest/transform": "^25.2.6", - "@jest/types": "^25.2.6", + "@jest/console": "^25.5.0", + "@jest/test-result": "^25.5.0", + "@jest/transform": "^25.5.1", + "@jest/types": "^25.5.0", "chalk": "^3.0.0", "collect-v8-coverage": "^1.0.0", "exit": "^0.1.2", "glob": "^7.1.2", + "graceful-fs": "^4.2.4", "istanbul-lib-coverage": "^3.0.0", "istanbul-lib-instrument": "^4.0.0", "istanbul-lib-report": "^3.0.0", "istanbul-lib-source-maps": "^4.0.0", - "istanbul-reports": "^3.0.0", - "jest-haste-map": "^25.2.6", - "jest-resolve": "^25.2.6", - "jest-util": "^25.2.6", - "jest-worker": "^25.2.6", + "istanbul-reports": "^3.0.2", + "jest-haste-map": "^25.5.1", + "jest-resolve": "^25.5.1", + "jest-util": "^25.5.0", + "jest-worker": "^25.5.0", "node-notifier": "^6.0.0", "slash": "^3.0.0", "source-map": "^0.6.0", "string-length": "^3.1.0", "terminal-link": "^2.0.0", - "v8-to-istanbul": "^4.0.1" + "v8-to-istanbul": "^4.1.3" }, "dependencies": { + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true + }, "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -565,16 +863,22 @@ } }, "@jest/source-map": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-25.2.6.tgz", - "integrity": "sha512-VuIRZF8M2zxYFGTEhkNSvQkUKafQro4y+mwUxy5ewRqs5N/ynSFUODYp3fy1zCnbCMy1pz3k+u57uCqx8QRSQQ==", + "version": "25.5.0", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-25.5.0.tgz", + "integrity": "sha512-eIGx0xN12yVpMcPaVpjXPnn3N30QGJCJQSkEDUt9x1fI1Gdvb07Ml6K5iN2hG7NmMP6FDmtPEssE3z6doOYUwQ==", "dev": true, "requires": { "callsites": "^3.0.0", - "graceful-fs": "^4.2.3", + "graceful-fs": "^4.2.4", "source-map": "^0.6.0" }, "dependencies": { + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true + }, "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -584,45 +888,54 @@ } }, "@jest/test-result": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-25.2.6.tgz", - "integrity": "sha512-gmGgcF4qz/pkBzyfJuVHo2DA24kIgVQ5Pf/VpW4QbyMLSegi8z+9foSZABfIt5se6k0fFj/3p/vrQXdaOgit0w==", + "version": "25.5.0", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-25.5.0.tgz", + "integrity": "sha512-oV+hPJgXN7IQf/fHWkcS99y0smKLU2czLBJ9WA0jHITLst58HpQMtzSYxzaBvYc6U5U6jfoMthqsUlUlbRXs0A==", "dev": true, "requires": { - "@jest/console": "^25.2.6", - "@jest/types": "^25.2.6", + "@jest/console": "^25.5.0", + "@jest/types": "^25.5.0", "@types/istanbul-lib-coverage": "^2.0.0", "collect-v8-coverage": "^1.0.0" } }, "@jest/test-sequencer": { - "version": "25.2.7", - "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-25.2.7.tgz", - "integrity": "sha512-s2uYGOXONDSTJQcZJ9A3Zkg3hwe53RlX1HjUNqjUy3HIqwgwCKJbnAKYsORPbhxXi3ARMKA7JNBi9arsTxXoYw==", + "version": "25.5.4", + "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-25.5.4.tgz", + "integrity": "sha512-pTJGEkSeg1EkCO2YWq6hbFvKNXk8ejqlxiOg1jBNLnWrgXOkdY6UmqZpwGFXNnRt9B8nO1uWMzLLZ4eCmhkPNA==", "dev": true, "requires": { - "@jest/test-result": "^25.2.6", - "jest-haste-map": "^25.2.6", - "jest-runner": "^25.2.7", - "jest-runtime": "^25.2.7" + "@jest/test-result": "^25.5.0", + "graceful-fs": "^4.2.4", + "jest-haste-map": "^25.5.1", + "jest-runner": "^25.5.4", + "jest-runtime": "^25.5.4" + }, + "dependencies": { + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true + } } }, "@jest/transform": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-25.2.6.tgz", - "integrity": "sha512-rZnjCjZf9avPOf9q/w9RUZ9Uc29JmB53uIXNJmNz04QbDMD5cR/VjfikiMKajBsXe2vnFl5sJ4RTt+9HPicauQ==", + "version": "25.5.1", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-25.5.1.tgz", + "integrity": "sha512-Y8CEoVwXb4QwA6Y/9uDkn0Xfz0finGkieuV0xkdF9UtZGJeLukD5nLkaVrVsODB1ojRWlaoD0AJZpVHCSnJEvg==", "dev": true, "requires": { "@babel/core": "^7.1.0", - "@jest/types": "^25.2.6", + "@jest/types": "^25.5.0", "babel-plugin-istanbul": "^6.0.0", "chalk": "^3.0.0", "convert-source-map": "^1.4.0", "fast-json-stable-stringify": "^2.0.0", - "graceful-fs": "^4.2.3", - "jest-haste-map": "^25.2.6", + "graceful-fs": "^4.2.4", + "jest-haste-map": "^25.5.1", "jest-regex-util": "^25.2.6", - "jest-util": "^25.2.6", + "jest-util": "^25.5.0", "micromatch": "^4.0.2", "pirates": "^4.0.1", "realpath-native": "^2.0.0", @@ -631,6 +944,12 @@ "write-file-atomic": "^3.0.0" }, "dependencies": { + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true + }, "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -640,9 +959,9 @@ } }, "@jest/types": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.2.6.tgz", - "integrity": "sha512-myJTTV37bxK7+3NgKc4Y/DlQ5q92/NOwZsZ+Uch7OXdElxOg61QYc72fPYNAjlvbnJ2YvbXLamIsa9tj48BmyQ==", + "version": "25.5.0", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-25.5.0.tgz", + "integrity": "sha512-OXD0RgQ86Tu3MazKo8bnrkDRaDXXMGUqd+kTtLtK1Zb7CRzQcaSRPPPV37SvYTdevXEBVxe0HXylEjs8ibkmCw==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.0", @@ -652,14 +971,14 @@ } }, "@netlify/open-api": { - "version": "0.13.2", - "resolved": "https://registry.npmjs.org/@netlify/open-api/-/open-api-0.13.2.tgz", - "integrity": "sha512-OcA/IdyDv1JF4tsrb7sNu77otewa1G0mzBOcFOi9IL0CwAyGxQWolDptILFyrVQIbHban2b6l4LPFvdnVaF6bA==" + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@netlify/open-api/-/open-api-0.14.0.tgz", + "integrity": "sha512-epAbGVkUtFutiVDBqqepW/6Le619rGk79bnhEO7pMRMoVlPt3ga/hiFrqxozXI+QUvcHw6lvDSli6MLAonBIig==" }, "@netlify/zip-it-and-ship-it": { - "version": "0.4.0-13", - "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-0.4.0-13.tgz", - "integrity": "sha512-lisoSmrz+p52uMWCoNAgjWjA8GoYnfdlwysi0ZtmqwwlvrCM2hvPp6WanxXOixJs2kJv6XJYuJiVoSI0svW3sw==", + "version": "0.4.0-18", + "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-0.4.0-18.tgz", + "integrity": "sha512-UzmG6WWi8tspqQX3nwIw9qtN2i5HJin51KC25Y2DnRjUXj1QEX0OCa/NJEfjHD4tPd0tEjmhZ1k2vuZ5ndjZ7w==", "requires": { "archiver": "^3.0.0", "common-path-prefix": "^2.0.0", @@ -673,7 +992,7 @@ "pkg-dir": "^4.2.0", "precinct": "^6.2.0", "require-package-name": "^2.0.1", - "resolve": "^1.15.1", + "resolve": "^2.0.0-next.1", "unixify": "^1.0.0", "util.promisify": "^1.0.1", "yargs": "^15.3.1" @@ -729,6 +1048,14 @@ "requires": { "find-up": "^4.0.0" } + }, + "resolve": { + "version": "2.0.0-next.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.1.tgz", + "integrity": "sha512-ZGTmuLZAW++TDjgslfUMRZcv7kXHv8z0zwxvuRWOPjnqc56HVsn1lVaqsWOZeQ8MwiilPVJLrcPVKG909QsAfA==", + "requires": { + "path-parse": "^1.0.6" + } } } }, @@ -741,33 +1068,23 @@ } }, "@octokit/endpoint": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.0.tgz", - "integrity": "sha512-3nx+MEYoZeD0uJ+7F/gvELLvQJzLXhep2Az0bBSXagbApDvDW0LWwpnAIY/hb0Jwe17A0fJdz0O12dPh05cj7A==", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-6.0.1.tgz", + "integrity": "sha512-pOPHaSz57SFT/m3R5P8MUu4wLPszokn5pXcB/pzavLTQf2jbU+6iayTvzaY6/BiotuRS0qyEUkx3QglT4U958A==", "requires": { - "@octokit/types": "^2.0.0", + "@octokit/types": "^2.11.1", "is-plain-object": "^3.0.0", "universal-user-agent": "^5.0.0" - }, - "dependencies": { - "universal-user-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-5.0.0.tgz", - "integrity": "sha512-B5TPtzZleXyPrUMKCpEHFmVhMN6EhmJYjG5PQna9s7mXeSqGTLap4OpqLl5FCEFUI3UBmllkETwKf/db66Y54Q==", - "requires": { - "os-name": "^3.1.0" - } - } } }, "@octokit/graphql": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.3.1.tgz", - "integrity": "sha512-hCdTjfvrK+ilU2keAdqNBWOk+gm1kai1ZcdjRfB30oA3/T6n53UVJb7w0L5cR3/rhU91xT3HSqCd+qbvH06yxA==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-4.4.0.tgz", + "integrity": "sha512-Du3hAaSROQ8EatmYoSAJjzAz3t79t9Opj/WY1zUgxVUGfIKn0AEjg+hlOLscF6fv6i/4y/CeUvsWgIfwMkTccw==", "requires": { "@octokit/request": "^5.3.0", "@octokit/types": "^2.0.0", - "universal-user-agent": "^4.0.0" + "universal-user-agent": "^5.0.0" } }, "@octokit/plugin-paginate-rest": { @@ -793,28 +1110,18 @@ } }, "@octokit/request": { - "version": "5.3.4", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.3.4.tgz", - "integrity": "sha512-qyj8G8BxQyXjt9Xu6NvfvOr1E0l35lsXtwm3SopsYg/JWXjlsnwqLc8rsD2OLguEL/JjLfBvrXr4az7z8Lch2A==", + "version": "5.4.2", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-5.4.2.tgz", + "integrity": "sha512-zKdnGuQ2TQ2vFk9VU8awFT4+EYf92Z/v3OlzRaSh4RIP0H6cvW1BFPXq4XYvNez+TPQjqN+0uSkCYnMFFhcFrw==", "requires": { - "@octokit/endpoint": "^6.0.0", + "@octokit/endpoint": "^6.0.1", "@octokit/request-error": "^2.0.0", - "@octokit/types": "^2.0.0", + "@octokit/types": "^2.11.1", "deprecation": "^2.0.0", "is-plain-object": "^3.0.0", "node-fetch": "^2.3.0", "once": "^1.4.0", "universal-user-agent": "^5.0.0" - }, - "dependencies": { - "universal-user-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-5.0.0.tgz", - "integrity": "sha512-B5TPtzZleXyPrUMKCpEHFmVhMN6EhmJYjG5PQna9s7mXeSqGTLap4OpqLl5FCEFUI3UBmllkETwKf/db66Y54Q==", - "requires": { - "os-name": "^3.1.0" - } - } } }, "@octokit/request-error": { @@ -859,26 +1166,43 @@ "deprecation": "^2.0.0", "once": "^1.4.0" } + }, + "universal-user-agent": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-4.0.1.tgz", + "integrity": "sha512-LnST3ebHwVL2aNe4mejI9IQh2HfZ1RLo8Io2HugSif8ekzD1TlWpHpColOB/eh8JHMLkGH3Akqf040I+4ylNxg==", + "requires": { + "os-name": "^3.1.0" + } } } }, "@octokit/types": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.5.1.tgz", - "integrity": "sha512-q4Wr7RexkPRrkQpXzUYF5Fj/14Mr65RyOHj6B9d/sQACpqGcStkHZj4qMEtlMY5SnD/69jlL9ItGPbDM0dR/dA==", + "version": "2.15.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-2.15.0.tgz", + "integrity": "sha512-0mnpenB8rLhBVu8VUklp38gWi+EatjvcEcLWcdProMKauSaQWWepOAybZ714sOGsEyhXPlIcHICggn8HUsCXVw==", "requires": { "@types/node": ">= 8" } }, "@sinonjs/commons": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.7.1.tgz", - "integrity": "sha512-Debi3Baff1Qu1Unc3mjJ96MgpbwTn43S1+9yJ0llWygPwDNu2aaWBD6yc9y/Z8XDRNhx7U+u2UDg2OGQXkclUQ==", + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-1.7.2.tgz", + "integrity": "sha512-+DUO6pnp3udV/v2VfUWgaY5BIE1IfT7lLfeDzPVeMT1XKkaAp9LgSI9x5RtrFQoZ9Oi0PgXQQHPaoKu7dCjVxw==", "dev": true, "requires": { "type-detect": "4.0.8" } }, + "@sinonjs/fake-timers": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-6.0.1.tgz", + "integrity": "sha512-MZPUxrmFubI36XS1DI3qmI0YdN1gks62JtFZvxR67ljjSNCeK6U08Zx4msEWOXuofgqUt6zPHSi1H9fbjR/NRA==", + "dev": true, + "requires": { + "@sinonjs/commons": "^1.7.0" + } + }, "@types/babel__core": { "version": "7.1.7", "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.1.7.tgz", @@ -912,9 +1236,9 @@ } }, "@types/babel__traverse": { - "version": "7.0.10", - "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.0.10.tgz", - "integrity": "sha512-74fNdUGrWsgIB/V9kTO5FGHPWYY6Eqn+3Z7L6Hc4e/BxjYV7puvBqp5HwsVYYfLm6iURYBNCx4Ut37OF9yitCw==", + "version": "7.0.11", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.0.11.tgz", + "integrity": "sha512-ddHK5icION5U6q11+tV2f9Mo6CZVuT8GJKld2q9LqHSZbvLbH34Kcu2yFGckZut453+eQU6btIA3RihmnRgI+Q==", "dev": true, "requires": { "@babel/types": "^7.3.0" @@ -931,6 +1255,15 @@ "integrity": "sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag==", "dev": true }, + "@types/graceful-fs": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.3.tgz", + "integrity": "sha512-AiHRaEB50LQg0pZmm659vNBb9f4SJ0qrAnteuzhSeAUcJKxoYgEnprg/83kppCnc2zvtCKbdZry1a5pVY3lOTQ==", + "dev": true, + "requires": { + "@types/node": "*" + } + }, "@types/istanbul-lib-coverage": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.1.tgz", @@ -973,9 +1306,15 @@ "dev": true }, "@types/node": { - "version": "12.12.34", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.34.tgz", - "integrity": "sha512-BneGN0J9ke24lBRn44hVHNeDlrXRYF+VRp0HbSUNnEZahXGAysHZIqnf/hER6aabdBgzM4YOV4jrR8gj4Zfi0g==" + "version": "12.12.38", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.38.tgz", + "integrity": "sha512-75eLjX0pFuTcUXnnWmALMzzkYorjND0ezNEycaKesbUBg9eGZp4GHPuDmkRc4mQQvIpe29zrzATNRA6hkYqwmA==" + }, + "@types/normalize-package-data": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz", + "integrity": "sha512-f5j5b/Gf71L+dbqxIpQ4Z2WlmI/mPJ0fOkGGmFgtb6sAu97EPczzbS3/tJKxmcYDj55OX6ssqwDAWOHIYDRDGA==", + "dev": true }, "@types/prettier": { "version": "1.19.1", @@ -1066,33 +1405,33 @@ } }, "@typescript-eslint/experimental-utils": { - "version": "2.27.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-2.27.0.tgz", - "integrity": "sha512-vOsYzjwJlY6E0NJRXPTeCGqjv5OHgRU1kzxHKWJVPjDYGbPgLudBXjIlc+OD1hDBZ4l1DLbOc5VjofKahsu9Jw==", + "version": "2.31.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-2.31.0.tgz", + "integrity": "sha512-MI6IWkutLYQYTQgZ48IVnRXmLR/0Q6oAyJgiOror74arUMh7EWjJkADfirZhRsUMHeLJ85U2iySDwHTSnNi9vA==", "dev": true, "requires": { "@types/json-schema": "^7.0.3", - "@typescript-eslint/typescript-estree": "2.27.0", + "@typescript-eslint/typescript-estree": "2.31.0", "eslint-scope": "^5.0.0", "eslint-utils": "^2.0.0" } }, "@typescript-eslint/parser": { - "version": "2.27.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-2.27.0.tgz", - "integrity": "sha512-HFUXZY+EdwrJXZo31DW4IS1ujQW3krzlRjBrFRrJcMDh0zCu107/nRfhk/uBasO8m0NVDbBF5WZKcIUMRO7vPg==", + "version": "2.31.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-2.31.0.tgz", + "integrity": "sha512-uph+w6xUOlyV2DLSC6o+fBDzZ5i7+3/TxAsH4h3eC64tlga57oMb96vVlXoMwjR/nN+xyWlsnxtbDkB46M2EPQ==", "dev": true, "requires": { "@types/eslint-visitor-keys": "^1.0.0", - "@typescript-eslint/experimental-utils": "2.27.0", - "@typescript-eslint/typescript-estree": "2.27.0", + "@typescript-eslint/experimental-utils": "2.31.0", + "@typescript-eslint/typescript-estree": "2.31.0", "eslint-visitor-keys": "^1.1.0" } }, "@typescript-eslint/typescript-estree": { - "version": "2.27.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.27.0.tgz", - "integrity": "sha512-t2miCCJIb/FU8yArjAvxllxbTiyNqaXJag7UOpB5DVoM3+xnjeOngtqlJkLRnMtzaRcJhe3CIR9RmL40omubhg==", + "version": "2.31.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-2.31.0.tgz", + "integrity": "sha512-vxW149bXFXXuBrAak0eKHOzbcu9cvi6iNcJDzEtOkRwGHxJG15chiAQAwhLOsk+86p9GTr/TziYvw+H9kMaIgA==", "requires": { "debug": "^4.1.1", "eslint-visitor-keys": "^1.1.0", @@ -1160,9 +1499,9 @@ } }, "ajv": { - "version": "6.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.0.tgz", - "integrity": "sha512-D6gFiFA0RRLyUbvijN74DWAjXSFxWKaWP7mldxkVhyhAV3+SWA9HEJPHQ2c9soIeTFJqcSdFDGFgdqs1iUU2Hw==", + "version": "6.12.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.2.tgz", + "integrity": "sha512-k+V+hzjm5q/Mr8ef/1Y9goCmlsK4I6Sm74teeyGvFk1XrOsbsKLjEdrvny42CZ+a8sXbk8KWpY/bDwS+FLL2UQ==", "dev": true, "requires": { "fast-deep-equal": "^3.1.1", @@ -1414,18 +1753,27 @@ } }, "babel-jest": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-25.2.6.tgz", - "integrity": "sha512-MDJOAlwtIeIQiGshyX0d2PxTbV73xZMpNji40ivVTPQOm59OdRR9nYCkffqI7ugtsK4JR98HgNKbDbuVf4k5QQ==", + "version": "25.5.1", + "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-25.5.1.tgz", + "integrity": "sha512-9dA9+GmMjIzgPnYtkhBg73gOo/RHqPmLruP3BaGL4KEX3Dwz6pI8auSN8G8+iuEG90+GSswyKvslN+JYSaacaQ==", "dev": true, "requires": { - "@jest/transform": "^25.2.6", - "@jest/types": "^25.2.6", - "@types/babel__core": "^7.1.0", + "@jest/transform": "^25.5.1", + "@jest/types": "^25.5.0", + "@types/babel__core": "^7.1.7", "babel-plugin-istanbul": "^6.0.0", - "babel-preset-jest": "^25.2.6", + "babel-preset-jest": "^25.5.0", "chalk": "^3.0.0", + "graceful-fs": "^4.2.4", "slash": "^3.0.0" + }, + "dependencies": { + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true + } } }, "babel-plugin-istanbul": { @@ -1442,23 +1790,42 @@ } }, "babel-plugin-jest-hoist": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-25.2.6.tgz", - "integrity": "sha512-qE2xjMathybYxjiGFJg0mLFrz0qNp83aNZycWDY/SuHiZNq+vQfRQtuINqyXyue1ELd8Rd+1OhFSLjms8msMbw==", + "version": "25.5.0", + "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-25.5.0.tgz", + "integrity": "sha512-u+/W+WAjMlvoocYGTwthAiQSxDcJAyHpQ6oWlHdFZaaN+Rlk8Q7iiwDPg2lN/FyJtAYnKjFxbn7xus4HCFkg5g==", "dev": true, "requires": { + "@babel/template": "^7.3.3", + "@babel/types": "^7.3.3", "@types/babel__traverse": "^7.0.6" } }, + "babel-preset-current-node-syntax": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-0.1.2.tgz", + "integrity": "sha512-u/8cS+dEiK1SFILbOC8/rUI3ml9lboKuuMvZ/4aQnQmhecQAgPw5ew066C1ObnEAUmlx7dv/s2z52psWEtLNiw==", + "dev": true, + "requires": { + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/plugin-syntax-bigint": "^7.8.3", + "@babel/plugin-syntax-class-properties": "^7.8.3", + "@babel/plugin-syntax-json-strings": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.8.3", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.8.3", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3" + } + }, "babel-preset-jest": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-25.2.6.tgz", - "integrity": "sha512-Xh2eEAwaLY9+SyMt/xmGZDnXTW/7pSaBPG0EMo7EuhvosFKVWYB6CqwYD31DaEQuoTL090oDZ0FEqygffGRaSQ==", + "version": "25.5.0", + "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-25.5.0.tgz", + "integrity": "sha512-8ZczygctQkBU+63DtSOKGh7tFL0CeCuz+1ieud9lJ1WPQ9O6A1a/r+LGn6Y705PA6whHQ3T1XuB/PmpfNYf8Fw==", "dev": true, "requires": { - "@babel/plugin-syntax-bigint": "^7.0.0", - "@babel/plugin-syntax-object-rest-spread": "^7.0.0", - "babel-plugin-jest-hoist": "^25.2.6" + "babel-plugin-jest-hoist": "^25.5.0", + "babel-preset-current-node-syntax": "^0.1.2" } }, "backoff": { @@ -1629,9 +1996,9 @@ "integrity": "sha1-M3dm2hWAEhD92VbCLpxokaudAzc=" }, "buffer": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.5.0.tgz", - "integrity": "sha512-9FTEDjLjwoAkEwyMGDjYJQN2gfRgOKBKRfiglhvibGbpeeU/pQn1bJxQqm32OD/AIeEuHxU9roxXxg34Byp/Ww==", + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.6.0.tgz", + "integrity": "sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==", "requires": { "base64-js": "^1.0.2", "ieee754": "^1.1.4" @@ -2014,9 +2381,9 @@ "dev": true }, "cssstyle": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-2.2.0.tgz", - "integrity": "sha512-sEb3XFPx3jNnCAMtqrXPDeSgQr+jojtCeNf8cvMNMh1cG970+lljssvQDzPq6lmmJu2Vhqood/gtEomBiHOGnA==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-2.3.0.tgz", + "integrity": "sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==", "dev": true, "requires": { "cssom": "~0.3.6" @@ -2074,12 +2441,24 @@ "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=" }, + "decimal.js": { + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.2.0.tgz", + "integrity": "sha512-vDPw+rDgn3bZe1+F/pyEwb1oMG2XTlRVgAa6B4KccTEpYgF8w6eQllVbQcfIJnZyvzFtFpxnpGtx8dd7DJp/Rw==", + "dev": true + }, "decode-uri-component": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", "dev": true }, + "dedent": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", + "integrity": "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=", + "dev": true + }, "deep-is": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", @@ -2238,14 +2617,14 @@ "integrity": "sha1-UK7n24uruZA4HwEMY/q7pbWOVM0=" }, "detective-typescript": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/detective-typescript/-/detective-typescript-5.7.0.tgz", - "integrity": "sha512-4SQeACXWAjIOsd2kJykPL8gWC9nVA+z8w7KtAdtd/7BCpDfrpI2ZA7pdhsmHv/zxf3ofeqpYi72vCkZ65bAjtA==", + "version": "5.8.0", + "resolved": "https://registry.npmjs.org/detective-typescript/-/detective-typescript-5.8.0.tgz", + "integrity": "sha512-SrsUCfCaDTF64QVMHMidRal+kmkbIc5zP8cxxZPsomWx9vuEUjBlSJNhf7/ypE5cLdJJDI4qzKDmyzqQ+iz/xg==", "requires": { - "@typescript-eslint/typescript-estree": "^2.4.0", - "ast-module-types": "^2.5.0", + "@typescript-eslint/typescript-estree": "^2.29.0", + "ast-module-types": "^2.6.0", "node-source-walk": "^4.2.0", - "typescript": "^3.6.4" + "typescript": "^3.8.3" } }, "diff-sequences": { @@ -2713,9 +3092,9 @@ } }, "eslint-plugin-jest": { - "version": "23.8.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-23.8.2.tgz", - "integrity": "sha512-xwbnvOsotSV27MtAe7s8uGWOori0nUsrXh2f1EnpmXua8sDfY6VZhHAhHg2sqK7HBNycRQExF074XSZ7DvfoFg==", + "version": "23.10.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-23.10.0.tgz", + "integrity": "sha512-cHC//nesojSO1MLxVmFJR/bUaQQG7xvMHQD8YLbsQzevR41WKm8paKDUv2wMHlUy5XLZUmNcWuflOi4apS8D+Q==", "dev": true, "requires": { "@typescript-eslint/experimental-utils": "^2.5.0" @@ -2840,18 +3219,18 @@ "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" }, "esquery": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.2.0.tgz", - "integrity": "sha512-weltsSqdeWIX9G2qQZz7KlTRJdkkOCTPgLYJUz1Hacf48R4YOwGPHO3+ORfWedqJKbq5WQmsgK90n+pFLIKt/Q==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.3.1.tgz", + "integrity": "sha512-olpvt9QG0vniUBZspVRN6lwB7hOZoTRtT+jzR+tS4ffYx2mzbw+z0XCOk44aaLYKApNX5nMm+E+P6o25ip/DHQ==", "dev": true, "requires": { - "estraverse": "^5.0.0" + "estraverse": "^5.1.0" }, "dependencies": { "estraverse": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.0.0.tgz", - "integrity": "sha512-j3acdrMzqrxmJTNj5dbr1YbjacrYgAxVMeF0gK16E3j494mOe7xygM/ZLIguEQ0ETwAg2hlJCtHRGav+y0Ny5A==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.1.0.tgz", + "integrity": "sha512-FyohXK+R0vE+y1nHLoBM7ZTyqRpqAlhdZHCWIWEviFLiGB8b04H6bQs8G+XTthacvT8VuwvteiP7RJSxMs8UEw==", "dev": true } } @@ -2952,16 +3331,16 @@ } }, "expect": { - "version": "25.2.7", - "resolved": "https://registry.npmjs.org/expect/-/expect-25.2.7.tgz", - "integrity": "sha512-yA+U2Ph0MkMsJ9N8q5hs9WgWI6oJYfecdXta6LkP/alY/jZZL1MHlJ2wbLh60Ucqf3G+51ytbqV3mlGfmxkpNw==", + "version": "25.5.0", + "resolved": "https://registry.npmjs.org/expect/-/expect-25.5.0.tgz", + "integrity": "sha512-w7KAXo0+6qqZZhovCaBVPSIqQp7/UTcx4M9uKt2m6pd2VB1voyC8JizLRqeEqud3AAVP02g+hbErDu5gu64tlA==", "dev": true, "requires": { - "@jest/types": "^25.2.6", + "@jest/types": "^25.5.0", "ansi-styles": "^4.0.0", "jest-get-type": "^25.2.6", - "jest-matcher-utils": "^25.2.7", - "jest-message-util": "^25.2.6", + "jest-matcher-utils": "^25.5.0", + "jest-message-util": "^25.5.0", "jest-regex-util": "^25.2.6" } }, @@ -3277,9 +3656,9 @@ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" }, "fsevents": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.2.tgz", - "integrity": "sha512-R4wDiBwZ0KzpgOWetKDug1FZcYhqYnUYKtfZYt4mD5SBz76q0KR4Q9o7GIPamsVPGmW3EYPPJ0dOOjvx32ldZA==", + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz", + "integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==", "dev": true, "optional": true }, @@ -3886,6 +4265,13 @@ } } }, + "is-docker": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.0.0.tgz", + "integrity": "sha512-pJEdRugimx4fBMra5z2/5iRdZ63OhYV0vr0Dwm5+xtW4D1FvRkB8hamMIhnWfyJeDdyr/aa7BDyNbtG38VxgoQ==", + "dev": true, + "optional": true + }, "is-extendable": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", @@ -3931,6 +4317,12 @@ "isobject": "^4.0.0" } }, + "is-potential-custom-element-name": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.0.tgz", + "integrity": "sha1-DFLlS8yjkbssSUsh6GJtczbG45c=", + "dev": true + }, "is-promise": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", @@ -3982,11 +4374,14 @@ "dev": true }, "is-wsl": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.1.1.tgz", - "integrity": "sha512-umZHcSrwlDHo2TGMXv0DZ8dIUGunZ2Iv68YZnrmCiBPkZ4aaOhtv7pXJKeki9k3qJ3RJr0cDyitcl5wEH3AYog==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", "dev": true, - "optional": true + "optional": true, + "requires": { + "is-docker": "^2.0.0" + } }, "isarray": { "version": "1.0.0", @@ -4079,32 +4474,39 @@ } }, "jest": { - "version": "25.2.7", - "resolved": "https://registry.npmjs.org/jest/-/jest-25.2.7.tgz", - "integrity": "sha512-XV1n/CE2McCikl4tfpCY950RytHYvxdo/wvtgmn/qwA8z1s16fuvgFL/KoPrrmkqJTaPMUlLVE58pwiaTX5TdA==", + "version": "25.5.4", + "resolved": "https://registry.npmjs.org/jest/-/jest-25.5.4.tgz", + "integrity": "sha512-hHFJROBTqZahnO+X+PMtT6G2/ztqAZJveGqz//FnWWHurizkD05PQGzRZOhF3XP6z7SJmL+5tCfW8qV06JypwQ==", "dev": true, "requires": { - "@jest/core": "^25.2.7", + "@jest/core": "^25.5.4", "import-local": "^3.0.2", - "jest-cli": "^25.2.7" + "jest-cli": "^25.5.4" }, "dependencies": { + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true + }, "jest-cli": { - "version": "25.2.7", - "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-25.2.7.tgz", - "integrity": "sha512-OOAZwY4Jkd3r5WhVM5L3JeLNFaylvHUczMLxQDVLrrVyb1Cy+DNJ6MVsb5TLh6iBklB42m5TOP+IbOgKGGOtMw==", + "version": "25.5.4", + "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-25.5.4.tgz", + "integrity": "sha512-rG8uJkIiOUpnREh1768/N3n27Cm+xPFkSNFO91tgg+8o2rXeVLStz+vkXkGr4UtzH6t1SNbjwoiswd7p4AhHTw==", "dev": true, "requires": { - "@jest/core": "^25.2.7", - "@jest/test-result": "^25.2.6", - "@jest/types": "^25.2.6", + "@jest/core": "^25.5.4", + "@jest/test-result": "^25.5.0", + "@jest/types": "^25.5.0", "chalk": "^3.0.0", "exit": "^0.1.2", + "graceful-fs": "^4.2.4", "import-local": "^3.0.2", "is-ci": "^2.0.0", - "jest-config": "^25.2.7", - "jest-util": "^25.2.6", - "jest-validate": "^25.2.6", + "jest-config": "^25.5.4", + "jest-util": "^25.5.0", + "jest-validate": "^25.5.0", "prompts": "^2.0.1", "realpath-native": "^2.0.0", "yargs": "^15.3.1" @@ -4113,12 +4515,12 @@ } }, "jest-changed-files": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-25.2.6.tgz", - "integrity": "sha512-F7l2m5n55jFnJj4ItB9XbAlgO+6umgvz/mdK76BfTd2NGkvGf9x96hUXP/15a1K0k14QtVOoutwpRKl360msvg==", + "version": "25.5.0", + "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-25.5.0.tgz", + "integrity": "sha512-EOw9QEqapsDT7mKF162m8HFzRPbmP8qJQny6ldVOdOVBz3ACgPm/1nAn5fPQ/NDaYhX/AHkrGwwkCncpAVSXcw==", "dev": true, "requires": { - "@jest/types": "^25.2.6", + "@jest/types": "^25.5.0", "execa": "^3.2.0", "throat": "^5.0.0" }, @@ -4230,115 +4632,975 @@ } }, "jest-circus": { - "version": "25.2.7", - "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-25.2.7.tgz", - "integrity": "sha512-iwCyLrsMDivVbE3O5I1dtxWzqZX6h0r7EpJ3klqEsrBYp/AmdEBURI70GIwHCapaalcLSPjW3do+m8cQIx+SHw==", + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-26.0.1.tgz", + "integrity": "sha512-dp20V0Pi1N92Y7+ULPa3tNR9KCG0Sy19NiopyPmo5rNoQ4OGWmuzp1P0q1je2HV3fRD0BYE7wqh8aReGGENfUA==", "dev": true, "requires": { "@babel/traverse": "^7.1.0", - "@jest/environment": "^25.2.6", - "@jest/test-result": "^25.2.6", - "@jest/types": "^25.2.6", - "chalk": "^3.0.0", + "@jest/environment": "^26.0.1", + "@jest/test-result": "^26.0.1", + "@jest/types": "^26.0.1", + "chalk": "^4.0.0", "co": "^4.6.0", - "expect": "^25.2.7", + "dedent": "^0.7.0", + "expect": "^26.0.1", "is-generator-fn": "^2.0.0", - "jest-each": "^25.2.6", - "jest-matcher-utils": "^25.2.7", - "jest-message-util": "^25.2.6", - "jest-runtime": "^25.2.7", - "jest-snapshot": "^25.2.7", - "jest-util": "^25.2.6", - "pretty-format": "^25.2.6", - "stack-utils": "^1.0.1", + "jest-each": "^26.0.1", + "jest-matcher-utils": "^26.0.1", + "jest-message-util": "^26.0.1", + "jest-runtime": "^26.0.1", + "jest-snapshot": "^26.0.1", + "jest-util": "^26.0.1", + "pretty-format": "^26.0.1", + "stack-utils": "^2.0.2", "throat": "^5.0.0" - } - }, - "jest-config": { - "version": "25.2.7", - "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-25.2.7.tgz", - "integrity": "sha512-rIdPPXR6XUxi+7xO4CbmXXkE6YWprvlKc4kg1SrkCL2YV5m/8MkHstq9gBZJ19Qoa3iz/GP+0sTG/PcIwkFojg==", - "dev": true, - "requires": { - "@babel/core": "^7.1.0", - "@jest/test-sequencer": "^25.2.7", - "@jest/types": "^25.2.6", - "babel-jest": "^25.2.6", - "chalk": "^3.0.0", - "deepmerge": "^4.2.2", - "glob": "^7.1.1", - "jest-environment-jsdom": "^25.2.6", - "jest-environment-node": "^25.2.6", - "jest-get-type": "^25.2.6", - "jest-jasmine2": "^25.2.7", - "jest-regex-util": "^25.2.6", - "jest-resolve": "^25.2.6", - "jest-util": "^25.2.6", - "jest-validate": "^25.2.6", - "micromatch": "^4.0.2", - "pretty-format": "^25.2.6", - "realpath-native": "^2.0.0" - } - }, - "jest-diff": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-25.2.6.tgz", - "integrity": "sha512-KuadXImtRghTFga+/adnNrv9s61HudRMR7gVSbP35UKZdn4IK2/0N0PpGZIqtmllK9aUyye54I3nu28OYSnqOg==", - "dev": true, - "requires": { - "chalk": "^3.0.0", - "diff-sequences": "^25.2.6", - "jest-get-type": "^25.2.6", - "pretty-format": "^25.2.6" - } + }, + "dependencies": { + "@jest/console": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-26.0.1.tgz", + "integrity": "sha512-9t1KUe/93coV1rBSxMmBAOIK3/HVpwxArCA1CxskKyRiv6o8J70V8C/V3OJminVCTa2M0hQI9AWRd5wxu2dAHw==", + "dev": true, + "requires": { + "@jest/types": "^26.0.1", + "chalk": "^4.0.0", + "jest-message-util": "^26.0.1", + "jest-util": "^26.0.1", + "slash": "^3.0.0" + } + }, + "@jest/environment": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-26.0.1.tgz", + "integrity": "sha512-xBDxPe8/nx251u0VJ2dFAFz2H23Y98qdIaNwnMK6dFQr05jc+Ne/2np73lOAx+5mSBO/yuQldRrQOf6hP1h92g==", + "dev": true, + "requires": { + "@jest/fake-timers": "^26.0.1", + "@jest/types": "^26.0.1", + "jest-mock": "^26.0.1" + } + }, + "@jest/fake-timers": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-26.0.1.tgz", + "integrity": "sha512-Oj/kCBnTKhm7CR+OJSjZty6N1bRDr9pgiYQr4wY221azLz5PHi08x/U+9+QpceAYOWheauLP8MhtSVFrqXQfhg==", + "dev": true, + "requires": { + "@jest/types": "^26.0.1", + "@sinonjs/fake-timers": "^6.0.1", + "jest-message-util": "^26.0.1", + "jest-mock": "^26.0.1", + "jest-util": "^26.0.1" + } + }, + "@jest/globals": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-26.0.1.tgz", + "integrity": "sha512-iuucxOYB7BRCvT+TYBzUqUNuxFX1hqaR6G6IcGgEqkJ5x4htNKo1r7jk1ji9Zj8ZMiMw0oB5NaA7k5Tx6MVssA==", + "dev": true, + "requires": { + "@jest/environment": "^26.0.1", + "@jest/types": "^26.0.1", + "expect": "^26.0.1" + } + }, + "@jest/source-map": { + "version": "26.0.0", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-26.0.0.tgz", + "integrity": "sha512-S2Z+Aj/7KOSU2TfW0dyzBze7xr95bkm5YXNUqqCek+HE0VbNNSNzrRwfIi5lf7wvzDTSS0/ib8XQ1krFNyYgbQ==", + "dev": true, + "requires": { + "callsites": "^3.0.0", + "graceful-fs": "^4.2.4", + "source-map": "^0.6.0" + } + }, + "@jest/test-result": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-26.0.1.tgz", + "integrity": "sha512-oKwHvOI73ICSYRPe8WwyYPTtiuOAkLSbY8/MfWF3qDEd/sa8EDyZzin3BaXTqufir/O/Gzea4E8Zl14XU4Mlyg==", + "dev": true, + "requires": { + "@jest/console": "^26.0.1", + "@jest/types": "^26.0.1", + "@types/istanbul-lib-coverage": "^2.0.0", + "collect-v8-coverage": "^1.0.0" + } + }, + "@jest/test-sequencer": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-26.0.1.tgz", + "integrity": "sha512-ssga8XlwfP8YjbDcmVhwNlrmblddMfgUeAkWIXts1V22equp2GMIHxm7cyeD5Q/B0ZgKPK/tngt45sH99yLLGg==", + "dev": true, + "requires": { + "@jest/test-result": "^26.0.1", + "graceful-fs": "^4.2.4", + "jest-haste-map": "^26.0.1", + "jest-runner": "^26.0.1", + "jest-runtime": "^26.0.1" + } + }, + "@jest/transform": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-26.0.1.tgz", + "integrity": "sha512-pPRkVkAQ91drKGbzCfDOoHN838+FSbYaEAvBXvKuWeeRRUD8FjwXkqfUNUZL6Ke48aA/1cqq/Ni7kVMCoqagWA==", + "dev": true, + "requires": { + "@babel/core": "^7.1.0", + "@jest/types": "^26.0.1", + "babel-plugin-istanbul": "^6.0.0", + "chalk": "^4.0.0", + "convert-source-map": "^1.4.0", + "fast-json-stable-stringify": "^2.0.0", + "graceful-fs": "^4.2.4", + "jest-haste-map": "^26.0.1", + "jest-regex-util": "^26.0.0", + "jest-util": "^26.0.1", + "micromatch": "^4.0.2", + "pirates": "^4.0.1", + "slash": "^3.0.0", + "source-map": "^0.6.1", + "write-file-atomic": "^3.0.0" + } + }, + "@jest/types": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-26.0.1.tgz", + "integrity": "sha512-IbtjvqI9+eS1qFnOIEL7ggWmT+iK/U+Vde9cGWtYb/b6XgKb3X44ZAe/z9YZzoAAZ/E92m0DqrilF934IGNnQA==", + "dev": true, + "requires": { + "@types/istanbul-lib-coverage": "^2.0.0", + "@types/istanbul-reports": "^1.1.1", + "@types/yargs": "^15.0.0", + "chalk": "^4.0.0" + } + }, + "@types/prettier": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@types/prettier/-/prettier-2.0.0.tgz", + "integrity": "sha512-/rM+sWiuOZ5dvuVzV37sUuklsbg+JPOP8d+nNFlo2ZtfpzPiPvh1/gc8liWOLBqe+sR+ZM7guPaIcTt6UZTo7Q==", + "dev": true + }, + "acorn": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.1.1.tgz", + "integrity": "sha512-add7dgA5ppRPxCFJoAGfMDi7PIBXq1RtGo7BhbLaxwrXPOmw8gq48Y9ozT01hUKy9byMjlR20EJhu5zlkErEkg==", + "dev": true + }, + "acorn-globals": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-6.0.0.tgz", + "integrity": "sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==", + "dev": true, + "requires": { + "acorn": "^7.1.1", + "acorn-walk": "^7.1.1" + } + }, + "acorn-walk": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.1.1.tgz", + "integrity": "sha512-wdlPY2tm/9XBr7QkKlq0WQVgiuGTX6YWPyRyBviSoScBuLfTVQhvwg6wJ369GJ/1nPfTLMfnrFIfjqVg6d+jQQ==", + "dev": true + }, + "babel-jest": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-26.0.1.tgz", + "integrity": "sha512-Z4GGmSNQ8pX3WS1O+6v3fo41YItJJZsVxG5gIQ+HuB/iuAQBJxMTHTwz292vuYws1LnHfwSRgoqI+nxdy/pcvw==", + "dev": true, + "requires": { + "@jest/transform": "^26.0.1", + "@jest/types": "^26.0.1", + "@types/babel__core": "^7.1.7", + "babel-plugin-istanbul": "^6.0.0", + "babel-preset-jest": "^26.0.0", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.4", + "slash": "^3.0.0" + } + }, + "babel-plugin-jest-hoist": { + "version": "26.0.0", + "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-26.0.0.tgz", + "integrity": "sha512-+AuoehOrjt9irZL7DOt2+4ZaTM6dlu1s5TTS46JBa0/qem4dy7VNW3tMb96qeEqcIh20LD73TVNtmVEeymTG7w==", + "dev": true, + "requires": { + "@babel/template": "^7.3.3", + "@babel/types": "^7.3.3", + "@types/babel__traverse": "^7.0.6" + } + }, + "babel-preset-jest": { + "version": "26.0.0", + "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-26.0.0.tgz", + "integrity": "sha512-9ce+DatAa31DpR4Uir8g4Ahxs5K4W4L8refzt+qHWQANb6LhGcAEfIFgLUwk67oya2cCUd6t4eUMtO/z64ocNw==", + "dev": true, + "requires": { + "babel-plugin-jest-hoist": "^26.0.0", + "babel-preset-current-node-syntax": "^0.1.2" + } + }, + "camelcase": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.0.0.tgz", + "integrity": "sha512-8KMDF1Vz2gzOq54ONPJS65IvTUaB1cHJ2DMM7MbPmLZljDH1qpzzLsWdiN9pHh6qvkRVDTi/07+eNGch/oLU4w==", + "dev": true + }, + "chalk": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.0.0.tgz", + "integrity": "sha512-N9oWFcegS0sFr9oh1oz2d7Npos6vNoWW9HvtCg5N1KRFpUhaAhvTv5Y58g880fZaEYSNm3qDz8SU1UrGvp+n7A==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "data-urls": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-2.0.0.tgz", + "integrity": "sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==", + "dev": true, + "requires": { + "abab": "^2.0.3", + "whatwg-mimetype": "^2.3.0", + "whatwg-url": "^8.0.0" + } + }, + "diff-sequences": { + "version": "26.0.0", + "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-26.0.0.tgz", + "integrity": "sha512-JC/eHYEC3aSS0vZGjuoc4vHA0yAQTzhQQldXMeMF+JlxLGJlCO38Gma82NV9gk1jGFz8mDzUMeaKXvjRRdJ2dg==", + "dev": true + }, + "domexception": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/domexception/-/domexception-2.0.1.tgz", + "integrity": "sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==", + "dev": true, + "requires": { + "webidl-conversions": "^5.0.0" + }, + "dependencies": { + "webidl-conversions": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-5.0.0.tgz", + "integrity": "sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==", + "dev": true + } + } + }, + "escape-string-regexp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", + "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "dev": true + }, + "expect": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/expect/-/expect-26.0.1.tgz", + "integrity": "sha512-QcCy4nygHeqmbw564YxNbHTJlXh47dVID2BUP52cZFpLU9zHViMFK6h07cC1wf7GYCTIigTdAXhVua8Yl1FkKg==", + "dev": true, + "requires": { + "@jest/types": "^26.0.1", + "ansi-styles": "^4.0.0", + "jest-get-type": "^26.0.0", + "jest-matcher-utils": "^26.0.1", + "jest-message-util": "^26.0.1", + "jest-regex-util": "^26.0.0" + } + }, + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true + }, + "html-encoding-sniffer": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz", + "integrity": "sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ==", + "dev": true, + "requires": { + "whatwg-encoding": "^1.0.5" + } + }, + "jest-config": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-26.0.1.tgz", + "integrity": "sha512-9mWKx2L1LFgOXlDsC4YSeavnblN6A4CPfXFiobq+YYLaBMymA/SczN7xYTSmLaEYHZOcB98UdoN4m5uNt6tztg==", + "dev": true, + "requires": { + "@babel/core": "^7.1.0", + "@jest/test-sequencer": "^26.0.1", + "@jest/types": "^26.0.1", + "babel-jest": "^26.0.1", + "chalk": "^4.0.0", + "deepmerge": "^4.2.2", + "glob": "^7.1.1", + "graceful-fs": "^4.2.4", + "jest-environment-jsdom": "^26.0.1", + "jest-environment-node": "^26.0.1", + "jest-get-type": "^26.0.0", + "jest-jasmine2": "^26.0.1", + "jest-regex-util": "^26.0.0", + "jest-resolve": "^26.0.1", + "jest-util": "^26.0.1", + "jest-validate": "^26.0.1", + "micromatch": "^4.0.2", + "pretty-format": "^26.0.1" + } + }, + "jest-diff": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-26.0.1.tgz", + "integrity": "sha512-odTcHyl5X+U+QsczJmOjWw5tPvww+y9Yim5xzqxVl/R1j4z71+fHW4g8qu1ugMmKdFdxw+AtQgs5mupPnzcIBQ==", + "dev": true, + "requires": { + "chalk": "^4.0.0", + "diff-sequences": "^26.0.0", + "jest-get-type": "^26.0.0", + "pretty-format": "^26.0.1" + } + }, + "jest-docblock": { + "version": "26.0.0", + "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-26.0.0.tgz", + "integrity": "sha512-RDZ4Iz3QbtRWycd8bUEPxQsTlYazfYn/h5R65Fc6gOfwozFhoImx+affzky/FFBuqISPTqjXomoIGJVKBWoo0w==", + "dev": true, + "requires": { + "detect-newline": "^3.0.0" + } + }, + "jest-each": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-26.0.1.tgz", + "integrity": "sha512-OTgJlwXCAR8NIWaXFL5DBbeS4QIYPuNASkzSwMCJO+ywo9BEa6TqkaSWsfR7VdbMLdgYJqSfQcIyjJCNwl5n4Q==", + "dev": true, + "requires": { + "@jest/types": "^26.0.1", + "chalk": "^4.0.0", + "jest-get-type": "^26.0.0", + "jest-util": "^26.0.1", + "pretty-format": "^26.0.1" + } + }, + "jest-environment-jsdom": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-26.0.1.tgz", + "integrity": "sha512-u88NJa3aptz2Xix2pFhihRBAatwZHWwSiRLBDBQE1cdJvDjPvv7ZGA0NQBxWwDDn7D0g1uHqxM8aGgfA9Bx49g==", + "dev": true, + "requires": { + "@jest/environment": "^26.0.1", + "@jest/fake-timers": "^26.0.1", + "@jest/types": "^26.0.1", + "jest-mock": "^26.0.1", + "jest-util": "^26.0.1", + "jsdom": "^16.2.2" + } + }, + "jest-environment-node": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-26.0.1.tgz", + "integrity": "sha512-4FRBWcSn5yVo0KtNav7+5NH5Z/tEgDLp7VRQVS5tCouWORxj+nI+1tOLutM07Zb2Qi7ja+HEDoOUkjBSWZg/IQ==", + "dev": true, + "requires": { + "@jest/environment": "^26.0.1", + "@jest/fake-timers": "^26.0.1", + "@jest/types": "^26.0.1", + "jest-mock": "^26.0.1", + "jest-util": "^26.0.1" + } + }, + "jest-get-type": { + "version": "26.0.0", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-26.0.0.tgz", + "integrity": "sha512-zRc1OAPnnws1EVfykXOj19zo2EMw5Hi6HLbFCSjpuJiXtOWAYIjNsHVSbpQ8bDX7L5BGYGI8m+HmKdjHYFF0kg==", + "dev": true + }, + "jest-haste-map": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-26.0.1.tgz", + "integrity": "sha512-J9kBl/EdjmDsvyv7CiyKY5+DsTvVOScenprz/fGqfLg/pm1gdjbwwQ98nW0t+OIt+f+5nAVaElvn/6wP5KO7KA==", + "dev": true, + "requires": { + "@jest/types": "^26.0.1", + "@types/graceful-fs": "^4.1.2", + "anymatch": "^3.0.3", + "fb-watchman": "^2.0.0", + "fsevents": "^2.1.2", + "graceful-fs": "^4.2.4", + "jest-serializer": "^26.0.0", + "jest-util": "^26.0.1", + "jest-worker": "^26.0.0", + "micromatch": "^4.0.2", + "sane": "^4.0.3", + "walker": "^1.0.7", + "which": "^2.0.2" + } + }, + "jest-jasmine2": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-26.0.1.tgz", + "integrity": "sha512-ILaRyiWxiXOJ+RWTKupzQWwnPaeXPIoLS5uW41h18varJzd9/7I0QJGqg69fhTT1ev9JpSSo9QtalriUN0oqOg==", + "dev": true, + "requires": { + "@babel/traverse": "^7.1.0", + "@jest/environment": "^26.0.1", + "@jest/source-map": "^26.0.0", + "@jest/test-result": "^26.0.1", + "@jest/types": "^26.0.1", + "chalk": "^4.0.0", + "co": "^4.6.0", + "expect": "^26.0.1", + "is-generator-fn": "^2.0.0", + "jest-each": "^26.0.1", + "jest-matcher-utils": "^26.0.1", + "jest-message-util": "^26.0.1", + "jest-runtime": "^26.0.1", + "jest-snapshot": "^26.0.1", + "jest-util": "^26.0.1", + "pretty-format": "^26.0.1", + "throat": "^5.0.0" + } + }, + "jest-leak-detector": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-26.0.1.tgz", + "integrity": "sha512-93FR8tJhaYIWrWsbmVN1pQ9ZNlbgRpfvrnw5LmgLRX0ckOJ8ut/I35CL7awi2ecq6Ca4lL59bEK9hr7nqoHWPA==", + "dev": true, + "requires": { + "jest-get-type": "^26.0.0", + "pretty-format": "^26.0.1" + } + }, + "jest-matcher-utils": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-26.0.1.tgz", + "integrity": "sha512-PUMlsLth0Azen8Q2WFTwnSkGh2JZ8FYuwijC8NR47vXKpsrKmA1wWvgcj1CquuVfcYiDEdj985u5Wmg7COEARw==", + "dev": true, + "requires": { + "chalk": "^4.0.0", + "jest-diff": "^26.0.1", + "jest-get-type": "^26.0.0", + "pretty-format": "^26.0.1" + } + }, + "jest-message-util": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-26.0.1.tgz", + "integrity": "sha512-CbK8uQREZ8umUfo8+zgIfEt+W7HAHjQCoRaNs4WxKGhAYBGwEyvxuK81FXa7VeB9pwDEXeeKOB2qcsNVCAvB7Q==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "@jest/types": "^26.0.1", + "@types/stack-utils": "^1.0.1", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.4", + "micromatch": "^4.0.2", + "slash": "^3.0.0", + "stack-utils": "^2.0.2" + } + }, + "jest-mock": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-26.0.1.tgz", + "integrity": "sha512-MpYTBqycuPYSY6xKJognV7Ja46/TeRbAZept987Zp+tuJvMN0YBWyyhG9mXyYQaU3SBI0TUlSaO5L3p49agw7Q==", + "dev": true, + "requires": { + "@jest/types": "^26.0.1" + } + }, + "jest-regex-util": { + "version": "26.0.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-26.0.0.tgz", + "integrity": "sha512-Gv3ZIs/nA48/Zvjrl34bf+oD76JHiGDUxNOVgUjh3j890sblXryjY4rss71fPtD/njchl6PSE2hIhvyWa1eT0A==", + "dev": true + }, + "jest-resolve": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-26.0.1.tgz", + "integrity": "sha512-6jWxk0IKZkPIVTvq6s72RH735P8f9eCJW3IM5CX/SJFeKq1p2cZx0U49wf/SdMlhaB/anann5J2nCJj6HrbezQ==", + "dev": true, + "requires": { + "@jest/types": "^26.0.1", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.4", + "jest-pnp-resolver": "^1.2.1", + "jest-util": "^26.0.1", + "read-pkg-up": "^7.0.1", + "resolve": "^1.17.0", + "slash": "^3.0.0" + } + }, + "jest-runner": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-26.0.1.tgz", + "integrity": "sha512-CApm0g81b49Znm4cZekYQK67zY7kkB4umOlI2Dx5CwKAzdgw75EN+ozBHRvxBzwo1ZLYZ07TFxkaPm+1t4d8jA==", + "dev": true, + "requires": { + "@jest/console": "^26.0.1", + "@jest/environment": "^26.0.1", + "@jest/test-result": "^26.0.1", + "@jest/types": "^26.0.1", + "chalk": "^4.0.0", + "exit": "^0.1.2", + "graceful-fs": "^4.2.4", + "jest-config": "^26.0.1", + "jest-docblock": "^26.0.0", + "jest-haste-map": "^26.0.1", + "jest-jasmine2": "^26.0.1", + "jest-leak-detector": "^26.0.1", + "jest-message-util": "^26.0.1", + "jest-resolve": "^26.0.1", + "jest-runtime": "^26.0.1", + "jest-util": "^26.0.1", + "jest-worker": "^26.0.0", + "source-map-support": "^0.5.6", + "throat": "^5.0.0" + } + }, + "jest-runtime": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-26.0.1.tgz", + "integrity": "sha512-Ci2QhYFmANg5qaXWf78T2Pfo6GtmIBn2rRaLnklRyEucmPccmCKvS9JPljcmtVamsdMmkyNkVFb9pBTD6si9Lw==", + "dev": true, + "requires": { + "@jest/console": "^26.0.1", + "@jest/environment": "^26.0.1", + "@jest/fake-timers": "^26.0.1", + "@jest/globals": "^26.0.1", + "@jest/source-map": "^26.0.0", + "@jest/test-result": "^26.0.1", + "@jest/transform": "^26.0.1", + "@jest/types": "^26.0.1", + "@types/yargs": "^15.0.0", + "chalk": "^4.0.0", + "collect-v8-coverage": "^1.0.0", + "exit": "^0.1.2", + "glob": "^7.1.3", + "graceful-fs": "^4.2.4", + "jest-config": "^26.0.1", + "jest-haste-map": "^26.0.1", + "jest-message-util": "^26.0.1", + "jest-mock": "^26.0.1", + "jest-regex-util": "^26.0.0", + "jest-resolve": "^26.0.1", + "jest-snapshot": "^26.0.1", + "jest-util": "^26.0.1", + "jest-validate": "^26.0.1", + "slash": "^3.0.0", + "strip-bom": "^4.0.0", + "yargs": "^15.3.1" + } + }, + "jest-serializer": { + "version": "26.0.0", + "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-26.0.0.tgz", + "integrity": "sha512-sQGXLdEGWFAE4wIJ2ZaIDb+ikETlUirEOBsLXdoBbeLhTHkZUJwgk3+M8eyFizhM6le43PDCCKPA1hzkSDo4cQ==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.4" + } + }, + "jest-snapshot": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-26.0.1.tgz", + "integrity": "sha512-jxd+cF7+LL+a80qh6TAnTLUZHyQoWwEHSUFJjkw35u3Gx+BZUNuXhYvDqHXr62UQPnWo2P6fvQlLjsU93UKyxA==", + "dev": true, + "requires": { + "@babel/types": "^7.0.0", + "@jest/types": "^26.0.1", + "@types/prettier": "^2.0.0", + "chalk": "^4.0.0", + "expect": "^26.0.1", + "graceful-fs": "^4.2.4", + "jest-diff": "^26.0.1", + "jest-get-type": "^26.0.0", + "jest-matcher-utils": "^26.0.1", + "jest-message-util": "^26.0.1", + "jest-resolve": "^26.0.1", + "make-dir": "^3.0.0", + "natural-compare": "^1.4.0", + "pretty-format": "^26.0.1", + "semver": "^7.3.2" + } + }, + "jest-util": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-26.0.1.tgz", + "integrity": "sha512-byQ3n7ad1BO/WyFkYvlWQHTsomB6GIewBh8tlGtusiylAlaxQ1UpS0XYH0ngOyhZuHVLN79Qvl6/pMiDMSSG1g==", + "dev": true, + "requires": { + "@jest/types": "^26.0.1", + "chalk": "^4.0.0", + "graceful-fs": "^4.2.4", + "is-ci": "^2.0.0", + "make-dir": "^3.0.0" + } + }, + "jest-validate": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-26.0.1.tgz", + "integrity": "sha512-u0xRc+rbmov/VqXnX3DlkxD74rHI/CfS5xaV2VpeaVySjbb1JioNVOyly5b56q2l9ZKe7bVG5qWmjfctkQb0bA==", + "dev": true, + "requires": { + "@jest/types": "^26.0.1", + "camelcase": "^6.0.0", + "chalk": "^4.0.0", + "jest-get-type": "^26.0.0", + "leven": "^3.1.0", + "pretty-format": "^26.0.1" + } + }, + "jest-worker": { + "version": "26.0.0", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.0.0.tgz", + "integrity": "sha512-pPaYa2+JnwmiZjK9x7p9BoZht+47ecFCDFA/CJxspHzeDvQcfVBLWzCiWyo+EGrSiQMWZtCFo9iSvMZnAAo8vw==", + "dev": true, + "requires": { + "merge-stream": "^2.0.0", + "supports-color": "^7.0.0" + } + }, + "jsdom": { + "version": "16.2.2", + "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.2.2.tgz", + "integrity": "sha512-pDFQbcYtKBHxRaP55zGXCJWgFHkDAYbKcsXEK/3Icu9nKYZkutUXfLBwbD+09XDutkYSHcgfQLZ0qvpAAm9mvg==", + "dev": true, + "requires": { + "abab": "^2.0.3", + "acorn": "^7.1.1", + "acorn-globals": "^6.0.0", + "cssom": "^0.4.4", + "cssstyle": "^2.2.0", + "data-urls": "^2.0.0", + "decimal.js": "^10.2.0", + "domexception": "^2.0.1", + "escodegen": "^1.14.1", + "html-encoding-sniffer": "^2.0.1", + "is-potential-custom-element-name": "^1.0.0", + "nwsapi": "^2.2.0", + "parse5": "5.1.1", + "request": "^2.88.2", + "request-promise-native": "^1.0.8", + "saxes": "^5.0.0", + "symbol-tree": "^3.2.4", + "tough-cookie": "^3.0.1", + "w3c-hr-time": "^1.0.2", + "w3c-xmlserializer": "^2.0.0", + "webidl-conversions": "^6.0.0", + "whatwg-encoding": "^1.0.5", + "whatwg-mimetype": "^2.3.0", + "whatwg-url": "^8.0.0", + "ws": "^7.2.3", + "xml-name-validator": "^3.0.0" + } + }, + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "requires": { + "p-locate": "^4.1.0" + } + }, + "p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "requires": { + "p-limit": "^2.2.0" + } + }, + "p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true + }, + "parse-json": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.0.0.tgz", + "integrity": "sha512-OOY5b7PAEFV0E2Fir1KOkxchnZNCdowAJgQ5NuxjpBKTRP3pQhwkrkxqQjeoKJ+fO7bCpmIZaogI4eZGDMEGOw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1", + "lines-and-columns": "^1.1.6" + } + }, + "parse5": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.1.tgz", + "integrity": "sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==", + "dev": true + }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true + }, + "pretty-format": { + "version": "26.0.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-26.0.1.tgz", + "integrity": "sha512-SWxz6MbupT3ZSlL0Po4WF/KujhQaVehijR2blyRDCzk9e45EaYMVhMBn49fnRuHxtkSpXTes1GxNpVmH86Bxfw==", + "dev": true, + "requires": { + "@jest/types": "^26.0.1", + "ansi-regex": "^5.0.0", + "ansi-styles": "^4.0.0", + "react-is": "^16.12.0" + } + }, + "read-pkg": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", + "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "dev": true, + "requires": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" + }, + "dependencies": { + "type-fest": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", + "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "dev": true + } + } + }, + "read-pkg-up": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", + "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "dev": true, + "requires": { + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" + } + }, + "resolve": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz", + "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==", + "dev": true, + "requires": { + "path-parse": "^1.0.6" + } + }, + "saxes": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/saxes/-/saxes-5.0.1.tgz", + "integrity": "sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==", + "dev": true, + "requires": { + "xmlchars": "^2.2.0" + } + }, + "semver": { + "version": "7.3.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", + "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==", + "dev": true + }, + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true + }, + "stack-utils": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.2.tgz", + "integrity": "sha512-0H7QK2ECz3fyZMzQ8rH0j2ykpfbnd20BFtfg/SqVC2+sCTtcw0aDTGB7dk+de4U4uUeuz6nOtJcrkFFLG1B0Rg==", + "dev": true, + "requires": { + "escape-string-regexp": "^2.0.0" + } + }, + "strip-bom": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", + "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", + "dev": true + }, + "tr46": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/tr46/-/tr46-2.0.2.tgz", + "integrity": "sha512-3n1qG+/5kg+jrbTzwAykB5yRYtQCTqOGKq5U5PE3b0a1/mzo6snDhjGS0zJVJunO0NrT3Dg1MLy5TjWP/UJppg==", + "dev": true, + "requires": { + "punycode": "^2.1.1" + } + }, + "w3c-xmlserializer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-2.0.0.tgz", + "integrity": "sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA==", + "dev": true, + "requires": { + "xml-name-validator": "^3.0.0" + } + }, + "webidl-conversions": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz", + "integrity": "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==", + "dev": true + }, + "whatwg-url": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.1.0.tgz", + "integrity": "sha512-vEIkwNi9Hqt4TV9RdnaBPNt+E2Sgmo3gePebCRgZ1R7g6d23+53zCTnuB0amKI4AXq6VM8jj2DUAa0S1vjJxkw==", + "dev": true, + "requires": { + "lodash.sortby": "^4.7.0", + "tr46": "^2.0.2", + "webidl-conversions": "^5.0.0" + }, + "dependencies": { + "webidl-conversions": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-5.0.0.tgz", + "integrity": "sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==", + "dev": true + } + } + }, + "which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + } + } + }, + "jest-config": { + "version": "25.5.4", + "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-25.5.4.tgz", + "integrity": "sha512-SZwR91SwcdK6bz7Gco8qL7YY2sx8tFJYzvg216DLihTWf+LKY/DoJXpM9nTzYakSyfblbqeU48p/p7Jzy05Atg==", + "dev": true, + "requires": { + "@babel/core": "^7.1.0", + "@jest/test-sequencer": "^25.5.4", + "@jest/types": "^25.5.0", + "babel-jest": "^25.5.1", + "chalk": "^3.0.0", + "deepmerge": "^4.2.2", + "glob": "^7.1.1", + "graceful-fs": "^4.2.4", + "jest-environment-jsdom": "^25.5.0", + "jest-environment-node": "^25.5.0", + "jest-get-type": "^25.2.6", + "jest-jasmine2": "^25.5.4", + "jest-regex-util": "^25.2.6", + "jest-resolve": "^25.5.1", + "jest-util": "^25.5.0", + "jest-validate": "^25.5.0", + "micromatch": "^4.0.2", + "pretty-format": "^25.5.0", + "realpath-native": "^2.0.0" + }, + "dependencies": { + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true + } + } + }, + "jest-diff": { + "version": "25.5.0", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-25.5.0.tgz", + "integrity": "sha512-z1kygetuPiREYdNIumRpAHY6RXiGmp70YHptjdaxTWGmA085W3iCnXNx0DhflK3vwrKmrRWyY1wUpkPMVxMK7A==", + "dev": true, + "requires": { + "chalk": "^3.0.0", + "diff-sequences": "^25.2.6", + "jest-get-type": "^25.2.6", + "pretty-format": "^25.5.0" + } }, "jest-docblock": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-25.2.6.tgz", - "integrity": "sha512-VAYrljEq0upq0oERfIaaNf28gC6p9gORndhHstCYF8NWGNQJnzoaU//S475IxfWMk4UjjVmS9rJKLe5Jjjbixw==", + "version": "25.3.0", + "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-25.3.0.tgz", + "integrity": "sha512-aktF0kCar8+zxRHxQZwxMy70stc9R1mOmrLsT5VO3pIT0uzGRSDAXxSlz4NqQWpuLjPpuMhPRl7H+5FRsvIQAg==", "dev": true, "requires": { "detect-newline": "^3.0.0" } }, "jest-each": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-25.2.6.tgz", - "integrity": "sha512-OgQ01VINaRD6idWJOhCYwUc5EcgHBiFlJuw+ON2VgYr7HLtMFyCcuo+3mmBvuLUH4QudREZN7cDCZviknzsaJQ==", + "version": "25.5.0", + "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-25.5.0.tgz", + "integrity": "sha512-QBogUxna3D8vtiItvn54xXde7+vuzqRrEeaw8r1s+1TG9eZLVJE5ZkKoSUlqFwRjnlaA4hyKGiu9OlkFIuKnjA==", "dev": true, "requires": { - "@jest/types": "^25.2.6", + "@jest/types": "^25.5.0", "chalk": "^3.0.0", "jest-get-type": "^25.2.6", - "jest-util": "^25.2.6", - "pretty-format": "^25.2.6" + "jest-util": "^25.5.0", + "pretty-format": "^25.5.0" } }, "jest-environment-jsdom": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-25.2.6.tgz", - "integrity": "sha512-/o7MZIhGmLGIEG5j7r5B5Az0umWLCHU+F5crwfbm0BzC4ybHTJZOQTFQWhohBg+kbTCNOuftMcqHlVkVduJCQQ==", + "version": "25.5.0", + "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-25.5.0.tgz", + "integrity": "sha512-7Jr02ydaq4jaWMZLY+Skn8wL5nVIYpWvmeatOHL3tOcV3Zw8sjnPpx+ZdeBfc457p8jCR9J6YCc+Lga0oIy62A==", "dev": true, "requires": { - "@jest/environment": "^25.2.6", - "@jest/fake-timers": "^25.2.6", - "@jest/types": "^25.2.6", - "jest-mock": "^25.2.6", - "jest-util": "^25.2.6", + "@jest/environment": "^25.5.0", + "@jest/fake-timers": "^25.5.0", + "@jest/types": "^25.5.0", + "jest-mock": "^25.5.0", + "jest-util": "^25.5.0", "jsdom": "^15.2.1" } }, "jest-environment-node": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-25.2.6.tgz", - "integrity": "sha512-D1Ihj14fxZiMHGeTtU/LunhzSI+UeBvlr/rcXMTNyRMUMSz2PEhuqGbB78brBY6Dk3FhJDk7Ta+8reVaGjLWhA==", + "version": "25.5.0", + "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-25.5.0.tgz", + "integrity": "sha512-iuxK6rQR2En9EID+2k+IBs5fCFd919gVVK5BeND82fYeLWPqvRcFNPKu9+gxTwfB5XwBGBvZ0HFQa+cHtIoslA==", "dev": true, "requires": { - "@jest/environment": "^25.2.6", - "@jest/fake-timers": "^25.2.6", - "@jest/types": "^25.2.6", - "jest-mock": "^25.2.6", - "jest-util": "^25.2.6", + "@jest/environment": "^25.5.0", + "@jest/fake-timers": "^25.5.0", + "@jest/types": "^25.5.0", + "jest-mock": "^25.5.0", + "jest-util": "^25.5.0", "semver": "^6.3.0" }, "dependencies": { @@ -4357,25 +5619,32 @@ "dev": true }, "jest-haste-map": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-25.2.6.tgz", - "integrity": "sha512-nom0+fnY8jwzelSDQnrqaKAcDZczYQvMEwcBjeL3PQ4MlcsqeB7dmrsAniUw/9eLkngT5DE6FhnenypilQFsgA==", + "version": "25.5.1", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-25.5.1.tgz", + "integrity": "sha512-dddgh9UZjV7SCDQUrQ+5t9yy8iEgKc1AKqZR9YDww8xsVOtzPQSMVLDChc21+g29oTRexb9/B0bIlZL+sWmvAQ==", "dev": true, "requires": { - "@jest/types": "^25.2.6", + "@jest/types": "^25.5.0", + "@types/graceful-fs": "^4.1.2", "anymatch": "^3.0.3", "fb-watchman": "^2.0.0", "fsevents": "^2.1.2", - "graceful-fs": "^4.2.3", - "jest-serializer": "^25.2.6", - "jest-util": "^25.2.6", - "jest-worker": "^25.2.6", + "graceful-fs": "^4.2.4", + "jest-serializer": "^25.5.0", + "jest-util": "^25.5.0", + "jest-worker": "^25.5.0", "micromatch": "^4.0.2", "sane": "^4.0.3", "walker": "^1.0.7", "which": "^2.0.2" }, "dependencies": { + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", @@ -4388,74 +5657,83 @@ } }, "jest-jasmine2": { - "version": "25.2.7", - "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-25.2.7.tgz", - "integrity": "sha512-HeQxEbonp8fUvik9jF0lkU9ab1u5TQdIb7YSU9Fj7SxWtqHNDGyCpF6ZZ3r/5yuertxi+R95Ba9eA91GMQ38eA==", + "version": "25.5.4", + "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-25.5.4.tgz", + "integrity": "sha512-9acbWEfbmS8UpdcfqnDO+uBUgKa/9hcRh983IHdM+pKmJPL77G0sWAAK0V0kr5LK3a8cSBfkFSoncXwQlRZfkQ==", "dev": true, "requires": { "@babel/traverse": "^7.1.0", - "@jest/environment": "^25.2.6", - "@jest/source-map": "^25.2.6", - "@jest/test-result": "^25.2.6", - "@jest/types": "^25.2.6", + "@jest/environment": "^25.5.0", + "@jest/source-map": "^25.5.0", + "@jest/test-result": "^25.5.0", + "@jest/types": "^25.5.0", "chalk": "^3.0.0", "co": "^4.6.0", - "expect": "^25.2.7", + "expect": "^25.5.0", "is-generator-fn": "^2.0.0", - "jest-each": "^25.2.6", - "jest-matcher-utils": "^25.2.7", - "jest-message-util": "^25.2.6", - "jest-runtime": "^25.2.7", - "jest-snapshot": "^25.2.7", - "jest-util": "^25.2.6", - "pretty-format": "^25.2.6", + "jest-each": "^25.5.0", + "jest-matcher-utils": "^25.5.0", + "jest-message-util": "^25.5.0", + "jest-runtime": "^25.5.4", + "jest-snapshot": "^25.5.1", + "jest-util": "^25.5.0", + "pretty-format": "^25.5.0", "throat": "^5.0.0" } }, "jest-leak-detector": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-25.2.6.tgz", - "integrity": "sha512-n+aJUM+j/x1kIaPVxzerMqhAUuqTU1PL5kup46rXh+l9SP8H6LqECT/qD1GrnylE1L463/0StSPkH4fUpkuEjA==", + "version": "25.5.0", + "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-25.5.0.tgz", + "integrity": "sha512-rV7JdLsanS8OkdDpZtgBf61L5xZ4NnYLBq72r6ldxahJWWczZjXawRsoHyXzibM5ed7C2QRjpp6ypgwGdKyoVA==", "dev": true, "requires": { "jest-get-type": "^25.2.6", - "pretty-format": "^25.2.6" + "pretty-format": "^25.5.0" } }, "jest-matcher-utils": { - "version": "25.2.7", - "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-25.2.7.tgz", - "integrity": "sha512-jNYmKQPRyPO3ny0KY1I4f0XW4XnpJ3Nx5ovT4ik0TYDOYzuXJW40axqOyS61l/voWbVT9y9nZ1THL1DlpaBVpA==", + "version": "25.5.0", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-25.5.0.tgz", + "integrity": "sha512-VWI269+9JS5cpndnpCwm7dy7JtGQT30UHfrnM3mXl22gHGt/b7NkjBqXfbhZ8V4B7ANUsjK18PlSBmG0YH7gjw==", "dev": true, "requires": { "chalk": "^3.0.0", - "jest-diff": "^25.2.6", + "jest-diff": "^25.5.0", "jest-get-type": "^25.2.6", - "pretty-format": "^25.2.6" + "pretty-format": "^25.5.0" } }, "jest-message-util": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-25.2.6.tgz", - "integrity": "sha512-Hgg5HbOssSqOuj+xU1mi7m3Ti2nwSQJQf/kxEkrz2r2rp2ZLO1pMeKkz2WiDUWgSR+APstqz0uMFcE5yc0qdcg==", + "version": "25.5.0", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-25.5.0.tgz", + "integrity": "sha512-ezddz3YCT/LT0SKAmylVyWWIGYoKHOFOFXx3/nA4m794lfVUskMcwhip6vTgdVrOtYdjeQeis2ypzes9mZb4EA==", "dev": true, "requires": { "@babel/code-frame": "^7.0.0", - "@jest/types": "^25.2.6", + "@jest/types": "^25.5.0", "@types/stack-utils": "^1.0.1", "chalk": "^3.0.0", + "graceful-fs": "^4.2.4", "micromatch": "^4.0.2", "slash": "^3.0.0", "stack-utils": "^1.0.1" + }, + "dependencies": { + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true + } } }, "jest-mock": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-25.2.6.tgz", - "integrity": "sha512-vc4nibavi2RGPdj/MyZy/azuDjZhpYZLvpfgq1fxkhbyTpKVdG7CgmRVKJ7zgLpY5kuMjTzDYA6QnRwhsCU+tA==", + "version": "25.5.0", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-25.5.0.tgz", + "integrity": "sha512-eXWuTV8mKzp/ovHc5+3USJMYsTBhyQ+5A1Mak35dey/RG8GlM4YWVylZuGgVXinaW6tpvk/RSecmF37FKUlpXA==", "dev": true, "requires": { - "@jest/types": "^25.2.6" + "@jest/types": "^25.5.0" } }, "jest-pnp-resolver": { @@ -4471,90 +5749,217 @@ "dev": true }, "jest-resolve": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-25.2.6.tgz", - "integrity": "sha512-7O61GVdcAXkLz/vNGKdF+00A80/fKEAA47AEXVNcZwj75vEjPfZbXDaWFmAQCyXj4oo9y9dC9D+CLA11t8ieGw==", + "version": "25.5.1", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-25.5.1.tgz", + "integrity": "sha512-Hc09hYch5aWdtejsUZhA+vSzcotf7fajSlPA6EZPE1RmPBAD39XtJhvHWFStid58iit4IPDLI/Da4cwdDmAHiQ==", "dev": true, "requires": { - "@jest/types": "^25.2.6", + "@jest/types": "^25.5.0", "browser-resolve": "^1.11.3", "chalk": "^3.0.0", + "graceful-fs": "^4.2.4", "jest-pnp-resolver": "^1.2.1", + "read-pkg-up": "^7.0.1", "realpath-native": "^2.0.0", - "resolve": "^1.15.1" + "resolve": "^1.17.0", + "slash": "^3.0.0" + }, + "dependencies": { + "find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "requires": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + } + }, + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true + }, + "locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "requires": { + "p-locate": "^4.1.0" + } + }, + "p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "requires": { + "p-try": "^2.0.0" + } + }, + "p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "requires": { + "p-limit": "^2.2.0" + } + }, + "p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true + }, + "parse-json": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.0.0.tgz", + "integrity": "sha512-OOY5b7PAEFV0E2Fir1KOkxchnZNCdowAJgQ5NuxjpBKTRP3pQhwkrkxqQjeoKJ+fO7bCpmIZaogI4eZGDMEGOw==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1", + "lines-and-columns": "^1.1.6" + } + }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true + }, + "read-pkg": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", + "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", + "dev": true, + "requires": { + "@types/normalize-package-data": "^2.4.0", + "normalize-package-data": "^2.5.0", + "parse-json": "^5.0.0", + "type-fest": "^0.6.0" + }, + "dependencies": { + "type-fest": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", + "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", + "dev": true + } + } + }, + "read-pkg-up": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-7.0.1.tgz", + "integrity": "sha512-zK0TB7Xd6JpCLmlLmufqykGE+/TlOePD6qKClNW7hHDKFh/J7/7gCWGR7joEQEW1bKq3a3yUZSObOoWLFQ4ohg==", + "dev": true, + "requires": { + "find-up": "^4.1.0", + "read-pkg": "^5.2.0", + "type-fest": "^0.8.1" + } + }, + "resolve": { + "version": "1.17.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.17.0.tgz", + "integrity": "sha512-ic+7JYiV8Vi2yzQGFWOkiZD5Z9z7O2Zhm9XMaTxdJExKasieFCr+yXZ/WmXsckHiKl12ar0y6XiXDx3m4RHn1w==", + "dev": true, + "requires": { + "path-parse": "^1.0.6" + } + } } }, "jest-resolve-dependencies": { - "version": "25.2.7", - "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-25.2.7.tgz", - "integrity": "sha512-IrnMzCAh11Xd2gAOJL+ThEW6QO8DyqNdvNkQcaCticDrOAr9wtKT7yT6QBFFjqKFgjjvaVKDs59WdgUhgYnHnQ==", + "version": "25.5.4", + "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-25.5.4.tgz", + "integrity": "sha512-yFmbPd+DAQjJQg88HveObcGBA32nqNZ02fjYmtL16t1xw9bAttSn5UGRRhzMHIQbsep7znWvAvnD4kDqOFM0Uw==", "dev": true, "requires": { - "@jest/types": "^25.2.6", + "@jest/types": "^25.5.0", "jest-regex-util": "^25.2.6", - "jest-snapshot": "^25.2.7" + "jest-snapshot": "^25.5.1" } }, "jest-runner": { - "version": "25.2.7", - "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-25.2.7.tgz", - "integrity": "sha512-RFEr71nMrtNwcpoHzie5+fe1w3JQCGMyT2xzNwKe3f88+bK+frM2o1v24gEcPxQ2QqB3COMCe2+1EkElP+qqqQ==", + "version": "25.5.4", + "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-25.5.4.tgz", + "integrity": "sha512-V/2R7fKZo6blP8E9BL9vJ8aTU4TH2beuqGNxHbxi6t14XzTb+x90B3FRgdvuHm41GY8ch4xxvf0ATH4hdpjTqg==", "dev": true, "requires": { - "@jest/console": "^25.2.6", - "@jest/environment": "^25.2.6", - "@jest/test-result": "^25.2.6", - "@jest/types": "^25.2.6", + "@jest/console": "^25.5.0", + "@jest/environment": "^25.5.0", + "@jest/test-result": "^25.5.0", + "@jest/types": "^25.5.0", "chalk": "^3.0.0", "exit": "^0.1.2", - "graceful-fs": "^4.2.3", - "jest-config": "^25.2.7", - "jest-docblock": "^25.2.6", - "jest-haste-map": "^25.2.6", - "jest-jasmine2": "^25.2.7", - "jest-leak-detector": "^25.2.6", - "jest-message-util": "^25.2.6", - "jest-resolve": "^25.2.6", - "jest-runtime": "^25.2.7", - "jest-util": "^25.2.6", - "jest-worker": "^25.2.6", + "graceful-fs": "^4.2.4", + "jest-config": "^25.5.4", + "jest-docblock": "^25.3.0", + "jest-haste-map": "^25.5.1", + "jest-jasmine2": "^25.5.4", + "jest-leak-detector": "^25.5.0", + "jest-message-util": "^25.5.0", + "jest-resolve": "^25.5.1", + "jest-runtime": "^25.5.4", + "jest-util": "^25.5.0", + "jest-worker": "^25.5.0", "source-map-support": "^0.5.6", "throat": "^5.0.0" + }, + "dependencies": { + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true + } } }, "jest-runtime": { - "version": "25.2.7", - "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-25.2.7.tgz", - "integrity": "sha512-Gw3X8KxTTFylu2T/iDSNKRUQXQiPIYUY0b66GwVYa7W8wySkUljKhibQHSq0VhmCAN7vRBEQjlVQ+NFGNmQeBw==", - "dev": true, - "requires": { - "@jest/console": "^25.2.6", - "@jest/environment": "^25.2.6", - "@jest/source-map": "^25.2.6", - "@jest/test-result": "^25.2.6", - "@jest/transform": "^25.2.6", - "@jest/types": "^25.2.6", + "version": "25.5.4", + "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-25.5.4.tgz", + "integrity": "sha512-RWTt8LeWh3GvjYtASH2eezkc8AehVoWKK20udV6n3/gC87wlTbE1kIA+opCvNWyyPeBs6ptYsc6nyHUb1GlUVQ==", + "dev": true, + "requires": { + "@jest/console": "^25.5.0", + "@jest/environment": "^25.5.0", + "@jest/globals": "^25.5.2", + "@jest/source-map": "^25.5.0", + "@jest/test-result": "^25.5.0", + "@jest/transform": "^25.5.1", + "@jest/types": "^25.5.0", "@types/yargs": "^15.0.0", "chalk": "^3.0.0", "collect-v8-coverage": "^1.0.0", "exit": "^0.1.2", "glob": "^7.1.3", - "graceful-fs": "^4.2.3", - "jest-config": "^25.2.7", - "jest-haste-map": "^25.2.6", - "jest-message-util": "^25.2.6", - "jest-mock": "^25.2.6", + "graceful-fs": "^4.2.4", + "jest-config": "^25.5.4", + "jest-haste-map": "^25.5.1", + "jest-message-util": "^25.5.0", + "jest-mock": "^25.5.0", "jest-regex-util": "^25.2.6", - "jest-resolve": "^25.2.6", - "jest-snapshot": "^25.2.7", - "jest-util": "^25.2.6", - "jest-validate": "^25.2.6", + "jest-resolve": "^25.5.1", + "jest-snapshot": "^25.5.1", + "jest-util": "^25.5.0", + "jest-validate": "^25.5.0", "realpath-native": "^2.0.0", "slash": "^3.0.0", "strip-bom": "^4.0.0", "yargs": "^15.3.1" }, "dependencies": { + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true + }, "strip-bom": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", @@ -4564,33 +5969,51 @@ } }, "jest-serializer": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-25.2.6.tgz", - "integrity": "sha512-RMVCfZsezQS2Ww4kB5HJTMaMJ0asmC0BHlnobQC6yEtxiFKIxohFA4QSXSabKwSggaNkqxn6Z2VwdFCjhUWuiQ==", - "dev": true + "version": "25.5.0", + "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-25.5.0.tgz", + "integrity": "sha512-LxD8fY1lByomEPflwur9o4e2a5twSQ7TaVNLlFUuToIdoJuBt8tzHfCsZ42Ok6LkKXWzFWf3AGmheuLAA7LcCA==", + "dev": true, + "requires": { + "graceful-fs": "^4.2.4" + }, + "dependencies": { + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true + } + } }, "jest-snapshot": { - "version": "25.2.7", - "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-25.2.7.tgz", - "integrity": "sha512-Rm8k7xpGM4tzmYhB6IeRjsOMkXaU8/FOz5XlU6oYwhy53mq6txVNqIKqN1VSiexzpC80oWVxVDfUDt71M6XPOA==", + "version": "25.5.1", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-25.5.1.tgz", + "integrity": "sha512-C02JE1TUe64p2v1auUJ2ze5vcuv32tkv9PyhEb318e8XOKF7MOyXdJ7kdjbvrp3ChPLU2usI7Rjxs97Dj5P0uQ==", "dev": true, "requires": { "@babel/types": "^7.0.0", - "@jest/types": "^25.2.6", + "@jest/types": "^25.5.0", "@types/prettier": "^1.19.0", "chalk": "^3.0.0", - "expect": "^25.2.7", - "jest-diff": "^25.2.6", + "expect": "^25.5.0", + "graceful-fs": "^4.2.4", + "jest-diff": "^25.5.0", "jest-get-type": "^25.2.6", - "jest-matcher-utils": "^25.2.7", - "jest-message-util": "^25.2.6", - "jest-resolve": "^25.2.6", + "jest-matcher-utils": "^25.5.0", + "jest-message-util": "^25.5.0", + "jest-resolve": "^25.5.1", "make-dir": "^3.0.0", "natural-compare": "^1.4.0", - "pretty-format": "^25.2.6", + "pretty-format": "^25.5.0", "semver": "^6.3.0" }, "dependencies": { + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true + }, "semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", @@ -4600,42 +6023,51 @@ } }, "jest-util": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-25.2.6.tgz", - "integrity": "sha512-gpXy0H5ymuQ0x2qgl1zzHg7LYHZYUmDEq6F7lhHA8M0eIwDB2WteOcCnQsohl9c/vBKZ3JF2r4EseipCZz3s4Q==", + "version": "25.5.0", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-25.5.0.tgz", + "integrity": "sha512-KVlX+WWg1zUTB9ktvhsg2PXZVdkI1NBevOJSkTKYAyXyH4QSvh+Lay/e/v+bmaFfrkfx43xD8QTfgobzlEXdIA==", "dev": true, "requires": { - "@jest/types": "^25.2.6", + "@jest/types": "^25.5.0", "chalk": "^3.0.0", + "graceful-fs": "^4.2.4", "is-ci": "^2.0.0", "make-dir": "^3.0.0" + }, + "dependencies": { + "graceful-fs": { + "version": "4.2.4", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", + "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", + "dev": true + } } }, "jest-validate": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-25.2.6.tgz", - "integrity": "sha512-a4GN7hYbqQ3Rt9iHsNLFqQz7HDV7KiRPCwPgo5nqtTIWNZw7gnT8KchG+Riwh+UTSn8REjFCodGp50KX/fRNgQ==", + "version": "25.5.0", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-25.5.0.tgz", + "integrity": "sha512-okUFKqhZIpo3jDdtUXUZ2LxGUZJIlfdYBvZb1aczzxrlyMlqdnnws9MOxezoLGhSaFc2XYaHNReNQfj5zPIWyQ==", "dev": true, "requires": { - "@jest/types": "^25.2.6", + "@jest/types": "^25.5.0", "camelcase": "^5.3.1", "chalk": "^3.0.0", "jest-get-type": "^25.2.6", "leven": "^3.1.0", - "pretty-format": "^25.2.6" + "pretty-format": "^25.5.0" } }, "jest-watcher": { - "version": "25.2.7", - "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-25.2.7.tgz", - "integrity": "sha512-RdHuW+f49tahWtluTnUdZ2iPliebleROI2L/J5phYrUS6DPC9RB3SuUtqYyYhGZJsbvRSuLMIlY/cICJ+PIecw==", + "version": "25.5.0", + "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-25.5.0.tgz", + "integrity": "sha512-XrSfJnVASEl+5+bb51V0Q7WQx65dTSk7NL4yDdVjPnRNpM0hG+ncFmDYJo9O8jaSRcAitVbuVawyXCRoxGrT5Q==", "dev": true, "requires": { - "@jest/test-result": "^25.2.6", - "@jest/types": "^25.2.6", + "@jest/test-result": "^25.5.0", + "@jest/types": "^25.5.0", "ansi-escapes": "^4.2.1", "chalk": "^3.0.0", - "jest-util": "^25.2.6", + "jest-util": "^25.5.0", "string-length": "^3.1.0" }, "dependencies": { @@ -4647,13 +6079,19 @@ "requires": { "type-fest": "^0.11.0" } + }, + "type-fest": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.11.0.tgz", + "integrity": "sha512-OdjXJxnCN1AvyLSzeKIgXTXxV+99ZuXl3Hpo9XpJAv9MBcHrrJOQ5kV7ypXOuQie+AmWG25hLbiKdwYTifzcfQ==", + "dev": true } } }, "jest-worker": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-25.2.6.tgz", - "integrity": "sha512-FJn9XDUSxcOR4cwDzRfL1z56rUofNTFs539FGASpd50RHdb6EVkhxQqktodW2mI49l+W3H+tFJDotCHUQF6dmA==", + "version": "25.5.0", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-25.5.0.tgz", + "integrity": "sha512-/dsSmUkIy5EBGfv/IjjqmFxrNAUpBERfGs1oHROyD7yxjG/w+t0GOJDX8O1k32ySmd7+a5IhnJU2qQFcJ4n1vw==", "dev": true, "requires": { "merge-stream": "^2.0.0", @@ -4842,6 +6280,12 @@ "type-check": "~0.3.2" } }, + "lines-and-columns": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", + "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=", + "dev": true + }, "load-json-file": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", @@ -4966,9 +6410,9 @@ "integrity": "sha512-OHhSbtcviqMPt7yfw5ef5aghS2jzFVKEFyCJndQt2YpSQ9qRVSEv2axSJI1paVThEu+FFGs584h/1YhxjVqajA==" }, "make-dir": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.0.2.tgz", - "integrity": "sha512-rYKABKutXa6vXTXhoV18cBE7PaewPXHe/Bdq4v+ZLMhxbWApkFFplT0LcbMW+6BbjnQXzZ/sAvSE/JdguApG5w==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", + "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", "requires": { "semver": "^6.0.0" }, @@ -5032,18 +6476,18 @@ } }, "mime-db": { - "version": "1.43.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.43.0.tgz", - "integrity": "sha512-+5dsGEEovYbT8UY9yD7eE4XTc4UwJ1jBYlgaQQF38ENsKR3wj/8q8RFZrF9WIZpB2V1ArTVFUva8sAul1NzRzQ==", + "version": "1.44.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz", + "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==", "dev": true }, "mime-types": { - "version": "2.1.26", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.26.tgz", - "integrity": "sha512-01paPWYgLrkqAyrlDorC1uDwl2p3qZT7yl806vW7DvDoxwXi46jsjFbg+WdwotBIk6/MbEhO/dh5aZ5sNj/dWQ==", + "version": "2.1.27", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz", + "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==", "dev": true, "requires": { - "mime-db": "1.43.0" + "mime-db": "1.44.0" } }, "mimic-fn": { @@ -5161,12 +6605,12 @@ "integrity": "sha512-AO81vsIO1k1sM4Zrd6Hu7regmJN1NSiAja10gc4bX3F0wd+9rQmcuHQaHVQCYIEC8iFXnE+mavh23GOt7wBgug==" }, "netlify": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/netlify/-/netlify-4.0.4.tgz", - "integrity": "sha512-OyQdyLsuayicZShZv0xvYbpN3a1MoLvgVptK/xFW/yG3WjAIu5wLzTgSouShypJ/qgZ+zTT+oyTi4WwaP4poYw==", + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/netlify/-/netlify-4.1.5.tgz", + "integrity": "sha512-73OLoP60bc09fKXyOzTel+QALKJQS5Y9WYZphzTmkNTqXeq3vDVfaF7e50Cl7vppTxwpZ0r4YQVQt24TPu3UDw==", "requires": { - "@netlify/open-api": "^0.13.2", - "@netlify/zip-it-and-ship-it": "^0.4.0-13", + "@netlify/open-api": "^0.14.0", + "@netlify/zip-it-and-ship-it": "^0.4.0-18", "backoff": "^2.5.0", "clean-deep": "^3.3.0", "filter-obj": "^2.0.1", @@ -5192,9 +6636,9 @@ }, "dependencies": { "qs": { - "version": "6.9.3", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.3.tgz", - "integrity": "sha512-EbZYNarm6138UKKq46tdx08Yo/q9ZhFoAXAI1meAFd2GtbRDhbZY2WQSICskT0c5q99aFzLG1D4nvTk9tqfXIw==" + "version": "6.9.4", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.4.tgz", + "integrity": "sha512-A1kFqHekCTM7cz0udomYUoYNWjBebHm/5wzU/XqrBRBNWectVH0QIiN+NEcZ0Dte5hvzHwbr8+XQmguPhJ6WdQ==" }, "rimraf": { "version": "3.0.2", @@ -5701,9 +7145,9 @@ "dev": true }, "postcss": { - "version": "7.0.27", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.27.tgz", - "integrity": "sha512-WuQETPMcW9Uf1/22HWUWP9lgsIC+KEHg2kozMflKjbeUtw9ujvFX6QmIfozaErDkmLWS9WEnEdEe6Uo9/BNTdQ==", + "version": "7.0.29", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.29.tgz", + "integrity": "sha512-ba0ApvR3LxGvRMMiUa9n0WR4HjzcYm7tS+ht4/2Nd0NLtHpPIH77fuB9Xh1/yJVz9O/E/95Y/dn8ygWsyffXtw==", "requires": { "chalk": "^2.4.2", "source-map": "^0.6.1", @@ -5812,9 +7256,9 @@ "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=" }, "prettier": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.0.4.tgz", - "integrity": "sha512-SVJIQ51spzFDvh4fIbCLvciiDMCrRhlN3mbZvv/+ycjvmF5E73bKdGfU8QDLNmjYJf+lsGnDBC4UUnvTe5OO0w==", + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.0.5.tgz", + "integrity": "sha512-7PtVymN48hGcO4fGjybyBSIWDsLU4H4XlvOHfq91pz9kkGlonzwTfYkaIEwiRg/dAJF9YlbsduBAgtYLi+8cFg==", "dev": true }, "prettier-linter-helpers": { @@ -5827,12 +7271,12 @@ } }, "pretty-format": { - "version": "25.2.6", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-25.2.6.tgz", - "integrity": "sha512-DEiWxLBaCHneffrIT4B+TpMvkV9RNvvJrd3lY9ew1CEQobDzEXmYT1mg0hJhljZty7kCc10z13ohOFAE8jrUDg==", + "version": "25.5.0", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-25.5.0.tgz", + "integrity": "sha512-kbo/kq2LQ/A/is0PQwsEHM7Ca6//bGPPvU6UnsdDRSKTWxT/ru/xb88v4BJf6a69H+uTytOEsTusT9ksd/1iWQ==", "dev": true, "requires": { - "@jest/types": "^25.2.6", + "@jest/types": "^25.5.0", "ansi-regex": "^5.0.0", "ansi-styles": "^4.0.0", "react-is": "^16.12.0" @@ -6173,6 +7617,7 @@ "version": "1.15.1", "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.15.1.tgz", "integrity": "sha512-84oo6ZTtoTUpjgNEr5SJyzQhzL72gaRodsSfyxC/AXRvwu0Yse9H8eF9IpGo7b8YetZhlI6v7ZQ6bKBFV/6S7w==", + "dev": true, "requires": { "path-parse": "^1.0.6" } @@ -6711,9 +8156,9 @@ } }, "source-map-support": { - "version": "0.5.16", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.16.tgz", - "integrity": "sha512-efyLRJDr68D9hBBNIPWFjhpFzURh+KJykQwvMyW5UiZzYwoF6l4YMMDIJJEyFWxWCqfyxLzz6tSfUFR+kXXsVQ==", + "version": "0.5.19", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz", + "integrity": "sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==", "dev": true, "requires": { "buffer-from": "^1.0.0", @@ -7091,6 +8536,12 @@ "requires": { "type-fest": "^0.11.0" } + }, + "type-fest": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.11.0.tgz", + "integrity": "sha512-OdjXJxnCN1AvyLSzeKIgXTXxV+99ZuXl3Hpo9XpJAv9MBcHrrJOQ5kV7ypXOuQie+AmWG25hLbiKdwYTifzcfQ==", + "dev": true } } }, @@ -7249,9 +8700,9 @@ } }, "ts-jest": { - "version": "25.3.1", - "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-25.3.1.tgz", - "integrity": "sha512-O53FtKguoMUByalAJW+NWEv7c4tus5ckmhfa7/V0jBb2z8v5rDSLFC1Ate7wLknYPC1euuhY6eJjQq4FtOZrkg==", + "version": "25.5.0", + "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-25.5.0.tgz", + "integrity": "sha512-govrjbOk1UEzcJ5cX5k8X8IUtFuP3lp3mrF3ZuKtCdAOQzdeCM7qualhb/U8s8SWFwEDutOqfF5PLkJ+oaYD4w==", "dev": true, "requires": { "bs-logger": "0.x", @@ -7261,18 +8712,11 @@ "lodash.memoize": "4.x", "make-error": "1.x", "micromatch": "4.x", - "mkdirp": "1.x", - "resolve": "1.x", + "mkdirp": "0.x", "semver": "6.x", "yargs-parser": "18.x" }, "dependencies": { - "mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "dev": true - }, "semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", @@ -7329,9 +8773,9 @@ "dev": true }, "type-fest": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.11.0.tgz", - "integrity": "sha512-OdjXJxnCN1AvyLSzeKIgXTXxV+99ZuXl3Hpo9XpJAv9MBcHrrJOQ5kV7ypXOuQie+AmWG25hLbiKdwYTifzcfQ==", + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", "dev": true }, "typedarray-to-buffer": { @@ -7374,9 +8818,9 @@ } }, "universal-user-agent": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-4.0.1.tgz", - "integrity": "sha512-LnST3ebHwVL2aNe4mejI9IQh2HfZ1RLo8Io2HugSif8ekzD1TlWpHpColOB/eh8JHMLkGH3Akqf040I+4ylNxg==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-5.0.0.tgz", + "integrity": "sha512-B5TPtzZleXyPrUMKCpEHFmVhMN6EhmJYjG5PQna9s7mXeSqGTLap4OpqLl5FCEFUI3UBmllkETwKf/db66Y54Q==", "requires": { "os-name": "^3.1.0" } @@ -7489,9 +8933,9 @@ "dev": true }, "v8-to-istanbul": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-4.1.3.tgz", - "integrity": "sha512-sAjOC+Kki6aJVbUOXJbcR0MnbfjvBzwKZazEJymA2IX49uoOdEdk+4fBq5cXgYgiyKtAyrrJNtBZdOeDIF+Fng==", + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-4.1.4.tgz", + "integrity": "sha512-Rw6vJHj1mbdK8edjR7+zuJrpDtKIgNdAvTSAcpYfgMIw+u2dPDntD3dgN4XQFLU2/fvFQdzj+EeSGfd/jnY5fQ==", "dev": true, "requires": { "@types/istanbul-lib-coverage": "^2.0.1", @@ -7688,9 +9132,9 @@ } }, "ws": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.2.3.tgz", - "integrity": "sha512-HTDl9G9hbkNDk98naoR/cHDws7+EyYMOdL1BmjsZXRUjf7d+MficC4B7HLUPlSiho0vg+CWKrGIt/VJBd1xunQ==", + "version": "7.2.5", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.2.5.tgz", + "integrity": "sha512-C34cIU4+DB2vMyAbmEKossWq2ZQDr6QEyuuCzWrM9zfw1sGc0mYiJ0UnG9zzNykt49C2Fi34hvr2vssFQRS6EA==", "dev": true }, "xml-name-validator": { @@ -7816,9 +9260,9 @@ } }, "yargs-parser": { - "version": "18.1.2", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.2.tgz", - "integrity": "sha512-hlIPNR3IzC1YuL1c2UwwDKpXlNFBqD1Fswwh1khz5+d8Cq/8yc/Mn0i+rQXduu8hcrFKvO7Eryk+09NecTQAAQ==", + "version": "18.1.3", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", + "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", "requires": { "camelcase": "^5.0.0", "decamelize": "^1.2.0" diff --git a/package.json b/package.json index 6954d745..af6d396a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "actions-netlify", - "version": "1.0.12", + "version": "1.0.13", "private": true, "description": "GitHub Actions for Netlify", "main": "lib/main.js", @@ -24,23 +24,23 @@ "author": "Ryo Ota (https://github.com/nwtgck)", "license": "MIT", "dependencies": { - "@actions/core": "^1.2.3", - "@actions/github": "^2.1.1", - "netlify": "^4.0.4" + "@actions/core": "^1.2.4", + "@actions/github": "^2.2.0", + "netlify": "^4.1.5" }, "devDependencies": { "@types/jest": "^25.2.1", - "@types/node": "^12.12.34", - "@typescript-eslint/parser": "^2.27.0", + "@types/node": "^12.12.38", + "@typescript-eslint/parser": "^2.31.0", "@zeit/ncc": "^0.22.1", "eslint": "^5.16.0", "eslint-plugin-github": "^2.0.0", - "eslint-plugin-jest": "^23.8.2", - "jest": "^25.2.7", - "jest-circus": "^25.2.7", + "eslint-plugin-jest": "^23.10.0", + "jest": "^25.5.4", + "jest-circus": "^26.0.1", "js-yaml": "^3.13.1", - "prettier": "^2.0.4", - "ts-jest": "^25.3.1", + "prettier": "^2.0.5", + "ts-jest": "^25.5.0", "typescript": "^3.8.3" } } diff --git a/src/main.ts b/src/main.ts index 4cc08239..d02d1057 100644 --- a/src/main.ts +++ b/src/main.ts @@ -15,6 +15,12 @@ async function run(): Promise { const dir = core.getInput('publish-dir', {required: true}) const deployMessage = core.getInput('deploy-message') || undefined const productionBranch = core.getInput('production-branch') + // Default: true + const enablePullRequestComment: boolean = + (core.getInput('enable-pull-request-comment') || 'true') === 'true' + // Default: true + const enableCommitComment: boolean = + (core.getInput('enable-commit-comment') || 'true') === 'true' // NOTE: if production-branch is not specified, it is "", so isDraft is always true const isDraft: boolean = context.ref !== `refs/heads/${productionBranch}` @@ -46,24 +52,27 @@ async function run(): Promise { // Create GitHub client const githubClient = new GitHub(githubToken) - const commitCommentParams = { - owner: context.repo.owner, - repo: context.repo.repo, - // eslint-disable-next-line @typescript-eslint/camelcase - commit_sha: context.sha, - body: message - } - // TODO: Remove try - // NOTE: try-catch is experimentally used because commit message may not be done in some conditions. - try { - // Comment to the commit - await githubClient.repos.createCommitComment(commitCommentParams) - } catch (err) { - // eslint-disable-next-line no-console - console.error(err, JSON.stringify(commitCommentParams, null, 2)) + if (enableCommitComment) { + const commitCommentParams = { + owner: context.repo.owner, + repo: context.repo.repo, + // eslint-disable-next-line @typescript-eslint/camelcase + commit_sha: context.sha, + body: message + } + // TODO: Remove try + // NOTE: try-catch is experimentally used because commit message may not be done in some conditions. + try { + // Comment to the commit + await githubClient.repos.createCommitComment(commitCommentParams) + } catch (err) { + // eslint-disable-next-line no-console + console.error(err, JSON.stringify(commitCommentParams, null, 2)) + } } - // If it is a pull request - if (context.issue.number !== undefined) { + + // If it is a pull request and enable comment on pull request + if (context.issue.number !== undefined && enablePullRequestComment) { // Comment the deploy URL await githubClient.issues.createComment({ // eslint-disable-next-line @typescript-eslint/camelcase